From: pascale.noyret Date: Tue, 12 Jan 2021 17:08:19 +0000 (+0100) Subject: reacteur numerique v0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4a2671ca2c3203654565e1ae2495084307beec7;p=tools%2Feficas.git reacteur numerique v0 --- diff --git a/Accas/A_BLOC.py b/Accas/A_BLOC.py index badd8d9d..e46b9769 100644 --- a/Accas/A_BLOC.py +++ b/Accas/A_BLOC.py @@ -21,10 +21,11 @@ from __future__ import absolute_import from Noyau import N_BLOC from Ihm import I_ENTITE from Accas import A_MCBLOC -from Efi2Xsd.AccasXsd import X_BLOC +#from Efi2Xsd.AccasXsd import X_BLOC -class BLOC(N_BLOC.BLOC,X_BLOC,I_ENTITE.ENTITE): +#class BLOC(N_BLOC.BLOC,X_BLOC,I_ENTITE.ENTITE): +class BLOC(N_BLOC.BLOC,I_ENTITE.ENTITE): class_instance=A_MCBLOC.MCBLOC def __init__(self,*tup,**args): I_ENTITE.ENTITE.__init__(self) diff --git a/Accas/A_ETAPE.py b/Accas/A_ETAPE.py index a3dbd595..5453a4db 100644 --- a/Accas/A_ETAPE.py +++ b/Accas/A_ETAPE.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from Noyau import N_ETAPE from Validation import V_ETAPE from Ihm import I_ETAPE -from Efi2Xsd.MCAccasXsd import X_MCCOMPO +#from Efi2Xsd.MCAccasXsd import X_MCCOMPO -class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,X_MCCOMPO,N_ETAPE.ETAPE): +#class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,X_MCCOMPO,N_ETAPE.ETAPE): +class ETAPE(I_ETAPE.ETAPE,V_ETAPE.ETAPE,N_ETAPE.ETAPE): def __init__(self,oper=None,reuse=None,args={}): print ('------------- ETAPE accas', oper.nom, args) N_ETAPE.ETAPE.__init__(self,oper,reuse,args) diff --git a/Accas/A_FACT.py b/Accas/A_FACT.py index ebccc614..bd7ff1ba 100644 --- a/Accas/A_FACT.py +++ b/Accas/A_FACT.py @@ -22,10 +22,11 @@ from Noyau import N_FACT from Ihm import I_ENTITE from Accas import A_MCFACT from Accas import A_MCLIST -from Efi2Xsd.AccasXsd import X_FACT +#from Efi2Xsd.AccasXsd import X_FACT -class FACT(N_FACT.FACT,X_FACT,I_ENTITE.ENTITE): +#class FACT(N_FACT.FACT,X_FACT,I_ENTITE.ENTITE): +class FACT(N_FACT.FACT,I_ENTITE.ENTITE): class_instance=A_MCFACT.MCFACT list_instance=A_MCLIST.MCList def __init__(self,*tup,**args): diff --git a/Accas/A_JDC.py b/Accas/A_JDC.py index d17bd234..ae5a1bb8 100644 --- a/Accas/A_JDC.py +++ b/Accas/A_JDC.py @@ -22,14 +22,15 @@ from Noyau import N_JDC from Validation import V_JDC from Extensions import jdc from Ihm import I_JDC -from Efi2Xsd.MCAccasXsd import X_JDC +#from Efi2Xsd.MCAccasXsd import X_JDC -class JDC(jdc.JDC,I_JDC.JDC,X_JDC,V_JDC.JDC,N_JDC.JDC): +#class JDC(jdc.JDC,I_JDC.JDC,X_JDC,V_JDC.JDC,N_JDC.JDC): +class JDC(jdc.JDC,I_JDC.JDC,V_JDC.JDC,N_JDC.JDC): from .A_ASSD import CO,assd def __init__(self,*pos,**args): N_JDC.JDC.__init__(self,*pos,**args) - X_JDC.__init__(self) + #X_JDC.__init__(self) V_JDC.JDC.__init__(self) I_JDC.JDC.__init__(self) jdc.JDC.__init__(self) diff --git a/Accas/A_JDC_CATA.py b/Accas/A_JDC_CATA.py index fd8a248d..0880a694 100644 --- a/Accas/A_JDC_CATA.py +++ b/Accas/A_JDC_CATA.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from . import A_JDC from Noyau import N_JDC_CATA from Ihm import I_JDC_CATA -from Efi2Xsd.AccasXsd import X_JDC_CATA +#from Efi2Xsd.AccasXsd import X_JDC_CATA -class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA,X_JDC_CATA): +#class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA,X_JDC_CATA): +class JDC_CATA(I_JDC_CATA.JDC_CATA,N_JDC_CATA.JDC_CATA): class_instance=A_JDC.JDC def __init__(self,*pos,**kw): #print pos diff --git a/Accas/A_MACRO_ETAPE.py b/Accas/A_MACRO_ETAPE.py index 2bba807e..e881a4fc 100644 --- a/Accas/A_MACRO_ETAPE.py +++ b/Accas/A_MACRO_ETAPE.py @@ -22,10 +22,10 @@ from Noyau import N_MACRO_ETAPE from Validation import V_MACRO_ETAPE from Ihm import I_MACRO_ETAPE from .A_ASSD import CO -from Efi2Xsd.MCAccasXsd import X_MCCOMPO +#from Efi2Xsd.MCAccasXsd import X_MCCOMPO class MACRO_ETAPE(I_MACRO_ETAPE.MACRO_ETAPE, - X_MCCOMPO, +# X_MCCOMPO, V_MACRO_ETAPE.MACRO_ETAPE, N_MACRO_ETAPE.MACRO_ETAPE): typeCO=CO diff --git a/Accas/A_MCBLOC.py b/Accas/A_MCBLOC.py index df125d12..3b032a75 100644 --- a/Accas/A_MCBLOC.py +++ b/Accas/A_MCBLOC.py @@ -21,10 +21,11 @@ from __future__ import absolute_import from Noyau import N_MCBLOC from Validation import V_MCBLOC from Ihm import I_MCBLOC -from Efi2Xsd.MCAccasXsd import X_MCBLOC +#from Efi2Xsd.MCAccasXsd import X_MCBLOC -class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,X_MCBLOC,V_MCBLOC.MCBLOC): +#class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,X_MCBLOC,V_MCBLOC.MCBLOC): +class MCBLOC(I_MCBLOC.MCBLOC,N_MCBLOC.MCBLOC,V_MCBLOC.MCBLOC): def __init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=None): N_MCBLOC.MCBLOC.__init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=dicoPyxbDeConstruction) V_MCBLOC.MCBLOC.__init__(self) diff --git a/Accas/A_MCFACT.py b/Accas/A_MCFACT.py index 50fd1a8d..be90f609 100644 --- a/Accas/A_MCFACT.py +++ b/Accas/A_MCFACT.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from Noyau import N_MCFACT from Validation import V_MCFACT from Ihm import I_MCFACT -from Efi2Xsd.MCAccasXsd import X_MCFACT +#from Efi2Xsd.MCAccasXsd import X_MCFACT -class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,X_MCFACT,V_MCFACT.MCFACT): +#class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,X_MCFACT,V_MCFACT.MCFACT): +class MCFACT(I_MCFACT.MCFACT,N_MCFACT.MCFACT,V_MCFACT.MCFACT): def __init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=None): N_MCFACT.MCFACT.__init__(self,val,definition,nom,parent,dicoPyxbDeConstruction=dicoPyxbDeConstruction) V_MCFACT.MCFACT.__init__(self) diff --git a/Accas/A_MCLIST.py b/Accas/A_MCLIST.py index 5554f5ec..d197b80b 100644 --- a/Accas/A_MCLIST.py +++ b/Accas/A_MCLIST.py @@ -21,9 +21,9 @@ from __future__ import absolute_import from Noyau import N_MCLIST from Validation import V_MCLIST from Ihm import I_MCLIST -from Efi2Xsd.MCAccasXsd import X_MCLIST +#from Efi2Xsd.MCAccasXsd import X_MCLIST - -class MCList(I_MCLIST.MCList,N_MCLIST.MCList,X_MCLIST,V_MCLIST.MCList): +#class MCList(I_MCLIST.MCList,N_MCLIST.MCList,X_MCLIST,V_MCLIST.MCList): +class MCList(I_MCLIST.MCList,N_MCLIST.MCList,V_MCLIST.MCList): def __init__(self): N_MCLIST.MCList.__init__(self) diff --git a/Accas/A_MCSIMP.py b/Accas/A_MCSIMP.py index a3c63cb6..dd5d7e90 100644 --- a/Accas/A_MCSIMP.py +++ b/Accas/A_MCSIMP.py @@ -21,10 +21,10 @@ from __future__ import absolute_import from Noyau import N_MCSIMP from Validation import V_MCSIMP from Ihm import I_MCSIMP -from Efi2Xsd.MCAccasXsd import X_MCSIMP +#from Efi2Xsd.MCAccasXsd import X_MCSIMP -class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,X_MCSIMP,V_MCSIMP.MCSIMP): +#class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,X_MCSIMP,V_MCSIMP.MCSIMP): +class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,V_MCSIMP.MCSIMP): def __init__(self,val,definition,nom,parent,objPyxbDeConstruction=None): - #def __init__(self,val,definition,nom,parent,objPyxbDeConstruction) quand cela sera correct dans les update_etape. pour l instant on laisse le defaut a None : 9 Aout 18: N_MCSIMP.MCSIMP.__init__(self,val,definition,nom,parent,objPyxbDeConstruction) V_MCSIMP.MCSIMP.__init__(self) diff --git a/Accas/A_OPER.py b/Accas/A_OPER.py index c1a4f0a5..5db37a90 100644 --- a/Accas/A_OPER.py +++ b/Accas/A_OPER.py @@ -21,10 +21,11 @@ from __future__ import absolute_import from Noyau import N_OPER from Ihm import I_ENTITE from Accas import A_ETAPE -from Efi2Xsd.AccasXsd import X_OPER +#from Efi2Xsd.AccasXsd import X_OPER -class OPER(N_OPER.OPER,X_OPER,I_ENTITE.ENTITE): +#class OPER(N_OPER.OPER,X_OPER,I_ENTITE.ENTITE): +class OPER(N_OPER.OPER,I_ENTITE.ENTITE): class_instance=A_ETAPE.ETAPE def __init__(self,*tup,**args): I_ENTITE.ENTITE.__init__(self) diff --git a/Accas/A_PROC.py b/Accas/A_PROC.py index 0ae8bb48..d74d164f 100644 --- a/Accas/A_PROC.py +++ b/Accas/A_PROC.py @@ -21,13 +21,12 @@ from __future__ import absolute_import from Noyau import N_PROC from Ihm import I_ENTITE from Accas import A_PROC_ETAPE -from Efi2Xsd.AccasXsd import X_PROC +#from Efi2Xsd.AccasXsd import X_PROC -class PROC(N_PROC.PROC,X_PROC,I_ENTITE.ENTITE): +#class PROC(N_PROC.PROC,X_PROC,I_ENTITE.ENTITE): +class PROC(N_PROC.PROC,I_ENTITE.ENTITE): class_instance=A_PROC_ETAPE.PROC_ETAPE def __init__(self,*tup,**args): - #print (tup) - #print (args) I_ENTITE.ENTITE.__init__(self) N_PROC.PROC.__init__(self,*tup,**args) diff --git a/Accas/A_PROC_ETAPE.py b/Accas/A_PROC_ETAPE.py index 7db1db8b..36b13572 100644 --- a/Accas/A_PROC_ETAPE.py +++ b/Accas/A_PROC_ETAPE.py @@ -21,11 +21,11 @@ from __future__ import absolute_import from Noyau import N_PROC_ETAPE from Validation import V_PROC_ETAPE from Ihm import I_PROC_ETAPE -from Efi2Xsd.MCAccasXsd import X_MCCOMPO +#from Efi2Xsd.MCAccasXsd import X_MCCOMPO class PROC_ETAPE(I_PROC_ETAPE.PROC_ETAPE, V_PROC_ETAPE.PROC_ETAPE, - X_MCCOMPO, +# X_MCCOMPO, N_PROC_ETAPE.PROC_ETAPE): def __init__(self,oper=None,args={}): N_PROC_ETAPE.PROC_ETAPE.__init__(self,oper=oper,args=args) diff --git a/Accas/A_SIMP.py b/Accas/A_SIMP.py index 584627ed..90a0bf5b 100644 --- a/Accas/A_SIMP.py +++ b/Accas/A_SIMP.py @@ -21,9 +21,10 @@ from __future__ import absolute_import from Noyau import N_SIMP from Ihm import I_ENTITE from Accas import A_MCSIMP -from Efi2Xsd.AccasXsd import X_SIMP +#from Efi2Xsd.AccasXsd import X_SIMP -class SIMP(N_SIMP.SIMP,X_SIMP,I_ENTITE.ENTITE): +#class SIMP(N_SIMP.SIMP,X_SIMP,I_ENTITE.ENTITE): +class SIMP(N_SIMP.SIMP,I_ENTITE.ENTITE): class_instance=A_MCSIMP.MCSIMP def __init__(self,*tup,**args): #print tup diff --git a/Accas/CMakeLists.txt b/Accas/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Accas/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Adao/ADAO_Cata_V0_V7_7_0.py b/Adao/ADAO_Cata_V0_V7_7_0.py deleted file mode 100755 index b9e8c02b..00000000 --- a/Adao/ADAO_Cata_V0_V7_7_0.py +++ /dev/null @@ -1,1261 +0,0 @@ -#-*-coding:iso-8859-1-*- -# -# Copyright (C) 2008-2015 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D - -# -------------------------------------------------------- -# Generated by AdaoCatalogGenerator on 2015-10-08 07:57:55 -# -------------------------------------------------------- - -import os, re -import Accas -from Accas import * - -JdC = JDC_CATA ( - code = 'ADAO', - execmodul = None, - regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')), - ) -VERSION_CATALOGUE='V7_7_0' - -def NoCheckInNS(filename): - return 1 -NoCheckInNS.info = "" -def DirectOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*DirectOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^DirectOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -DirectOperatorInNS.info = u"The Python file has to contain explicitly a \"DirectOperator\" function definition with only one vector as argument." -def TangentOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*TangentOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^TangentOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -TangentOperatorInNS.info = u"The Python file has to contain explicitly a \"TangentOperator\" function definition with only one pair of vectors as argument." -def AdjointOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*AdjointOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^AdjointOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AdjointOperatorInNS.info = u"The Python file has to contain explicitly an \"AdjointOperator\" function definition with only one pair of vectors as argument." - -def F_VectorSerie(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si ariable interne de meme nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Function(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict", ), defaut="ScriptWithOneFunction"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Matrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_DiagonalSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Vector(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Dict(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_ScalarSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", defaut="1.", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def ObservationErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationErrorInNS.info = u"The Python file has to contain explicitly a \"ObservationError\" variable." -def F_ObservationError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Observation[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationInNS.info = u"The Python file has to contain explicitly a \"Observation\" variable." -def F_Observation(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^BackgroundError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundErrorInNS.info = u"The Python file has to contain explicitly a \"BackgroundError\" variable." -def F_BackgroundError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationOperatorInNS.info = u"The Python file has to contain explicitly a \"ObservationOperator\" variable." -def F_ObservationOperator(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def CheckingPointInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^CheckingPoint[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -CheckingPointInNS.info = u"The Python file has to contain explicitly a \"CheckingPoint\" variable." -def F_CheckingPoint(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - ) - -def ControlInputInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ControlInput[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ControlInputInNS.info = u"The Python file has to contain explicitly a \"ControlInput\" variable." -def F_ControlInput(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Background[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundInNS.info = u"The Python file has to contain explicitly a \"Background\" variable." -def F_Background(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly a \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionErrorInNS.info = u"The Python file has to contain explicitly a \"EvolutionError\" variable." -def F_EvolutionError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def UserDataInitInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^UserDataInit[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -UserDataInitInNS.info = u"The Python file has to contain explicitly a \"UserDataInit\" variable." -def F_UserDataInit(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionModelInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionModel[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionModelInNS.info = u"The Python file has to contain explicitly a \"EvolutionModel\" variable." -def F_EvolutionModel(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def F_UserPostAnalysis(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", "Template", ), defaut="Template"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_InitChoice() : return ("Background", - "BackgroundError", - "Observation", - "ObservationError", - "ObservationOperator", - "EvolutionModel", - "EvolutionError", - "AlgorithmParameters", - "UserPostAnalysis", - ) - -def F_Init(statut) : return FACT(statut = statut, - INIT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]), - TARGET_LIST = SIMP(statut = "o", typ = "TXM", min=1, max="**", into=F_InitChoice(), validators=(VerifExiste(2))), - ) - -def F_ObserverTemplate() : return BLOC(condition = " NodeType == 'Template' ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "ValuePrinter", into=("ValuePrinter", "ValueSeriePrinter", "ValueSaver", "ValueSerieSaver", "ValuePrinterAndSaver", "ValueSeriePrinterAndSaver", "ValueGnuPlotter", "ValueSerieGnuPlotter", "ValuePrinterAndGnuPlotter", "ValueSeriePrinterAndGnuPlotter", "ValuePrinterSaverAndGnuPlotter", "ValueSeriePrinterSaverAndGnuPlotter", "ValueMean", "ValueStandardError", "ValueVariance", "ValueL2Norm", "ValueRMS")), - ValuePrinter = BLOC (condition = " Template == 'ValuePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[-1]", fr="Imprime sur la sortie standard la valeur courante de la variable", ang="Print on standard output the current value of the variable" ), - ), - ValueSeriePrinter = BLOC (condition = " Template == 'ValueSeriePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[:]", fr="Imprime sur la sortie standard la série des valeurs de la variable", ang="Print on standard output the value serie of the variable" ), - ), - ValueSaver = BLOC (condition = " Template == 'ValueSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Enregistre la valeur courante de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape d'enregistrement", ang="Save the current value of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValueSerieSaver = BLOC (condition = " Template == 'ValueSerieSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Enregistre la série des valeurs de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape", ang="Save the value serie of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValuePrinterAndSaver = BLOC (condition = " Template == 'ValuePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nprint info,v\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier la valeur courante de la variable", ang="Print on standard output and, in the same time, save in a file the current value of the variable" ), - ), - ValueSeriePrinterAndSaver = BLOC (condition = " Template == 'ValueSeriePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nprint info,v\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier la série des valeurs de la variable", ang="Print on standard output and, in the same time, save in a file the value serie of the variable" ), - ), - ValueGnuPlotter = BLOC (condition = " Template == 'ValueGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSerieGnuPlotter = BLOC (condition = " Template == 'ValueSerieGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Graphically plot with Gnuplot the value serie of the variable" ), - ), - ValuePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[-1]\nimport numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSeriePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[:] \nimport numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the value serie of the variable" ), - ), - ValuePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[-1]\nimport numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la valeur courante de la variable ", ang="Print on standard output and, in the same, time save in a file and graphically plot the current value of the variable" ), - ), - ValueSeriePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print info, var[:] \nimport numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint 'Value saved in \"%s\"'%f\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la série des valeurs de la variable", ang="Print on standard output and, in the same, time save in a file and graphically plot the value serie of the variable" ), - ), - ValueMean = BLOC (condition = " Template == 'ValueMean' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint info, numpy.nanmean(var[-1])", fr="Imprime sur la sortie standard la moyenne de la valeur courante de la variable", ang="Print on standard output the mean of the current value of the variable" ), - ), - ValueStandardError = BLOC (condition = " Template == 'ValueStandardError' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint info, numpy.nanstd(var[-1])", fr="Imprime sur la sortie standard l'écart-type de la valeur courante de la variable", ang="Print on standard output the standard error of the current value of the variable" ), - ), - ValueVariance = BLOC (condition = " Template == 'ValueVariance' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint info, numpy.nanvar(var[-1])", fr="Imprime sur la sortie standard la variance de la valeur courante de la variable", ang="Print on standard output the variance of the current value of the variable" ), - ), - ValueL2Norm = BLOC (condition = " Template == 'ValueL2Norm' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint info, float( numpy.linalg.norm(v) )", fr="Imprime sur la sortie standard la norme L2 de la valeur courante de la variable", ang="Print on standard output the L2 norm of the current value of the variable" ), - ), - ValueRMS = BLOC (condition = " Template == 'ValueRMS' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint info, float( numpy.sqrt((1./v.size)*(v*v.T)) )", fr="Imprime sur la sortie standard la racine de la moyenne des carrés (RMS), ou moyenne quadratique, de la valeur courante de la variable", ang="Print on standard output the root mean square (RMS), or quadratic mean, of the current value of the variable" ), - ), - ) - -def F_Observers(statut) : return FACT( - statut=statut, - SELECTION = SIMP(statut="o", defaut=[], typ="TXM", min=0, max="**", validators=NoRepeat(), into=(['Analysis', 'Innovation', 'InnovationAtCurrentState', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'GradientOfCostFunctionJ', 'GradientOfCostFunctionJb', 'GradientOfCostFunctionJo', 'SigmaObs2', 'SigmaBck2', 'APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'Residu'])), - Analysis = BLOC (condition=" 'Analysis' in set(SELECTION) ", - Analysis_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Analysis"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Innovation = BLOC (condition=" 'Innovation' in set(SELECTION) ", - Innovation_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Innovation"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - InnovationAtCurrentState = BLOC (condition=" 'InnovationAtCurrentState' in set(SELECTION) ", - InnovationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "InnovationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentState = BLOC (condition=" 'CurrentState' in set(SELECTION) ", - CurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentOptimum = BLOC (condition=" 'CurrentOptimum' in set(SELECTION) ", - CurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - IndexOfOptimum = BLOC (condition=" 'IndexOfOptimum' in set(SELECTION) ", - IndexOfOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "IndexOfOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtBackground = BLOC (condition=" 'SimulatedObservationAtBackground' in set(SELECTION) ", - SimulatedObservationAtBackground_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtBackground"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentState = BLOC (condition=" 'SimulatedObservationAtCurrentState' in set(SELECTION) ", - SimulatedObservationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtOptimum = BLOC (condition=" 'SimulatedObservationAtOptimum' in set(SELECTION) ", - SimulatedObservationAtOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentOptimum = BLOC (condition=" 'SimulatedObservationAtCurrentOptimum' in set(SELECTION) ", - SimulatedObservationAtCurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - BMA = BLOC (condition=" 'BMA' in set(SELECTION) ", - BMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "BMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMA = BLOC (condition=" 'OMA' in set(SELECTION) ", - OMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMB = BLOC (condition=" 'OMB' in set(SELECTION) ", - OMB_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMB"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJ = BLOC (condition=" 'CostFunctionJ' in set(SELECTION) ", - CostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJb = BLOC (condition=" 'CostFunctionJb' in set(SELECTION) ", - CostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJo = BLOC (condition=" 'CostFunctionJo' in set(SELECTION) ", - CostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJ = BLOC (condition=" 'GradientOfCostFunctionJ' in set(SELECTION) ", - GradientOfCostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJb = BLOC (condition=" 'GradientOfCostFunctionJb' in set(SELECTION) ", - GradientOfCostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJo = BLOC (condition=" 'GradientOfCostFunctionJo' in set(SELECTION) ", - GradientOfCostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaObs2 = BLOC (condition=" 'SigmaObs2' in set(SELECTION) ", - SigmaObs2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaObs2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaBck2 = BLOC (condition=" 'SigmaBck2' in set(SELECTION) ", - SigmaBck2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaBck2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCorrelations = BLOC (condition=" 'APosterioriCorrelations' in set(SELECTION) ", - APosterioriCorrelations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCorrelations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCovariance = BLOC (condition=" 'APosterioriCovariance' in set(SELECTION) ", - APosterioriCovariance_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCovariance"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriStandardDeviations = BLOC (condition=" 'APosterioriStandardDeviations' in set(SELECTION) ", - APosterioriStandardDeviations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriStandardDeviations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriVariances = BLOC (condition=" 'APosterioriVariances' in set(SELECTION) ", - APosterioriVariances_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriVariances"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Residu = BLOC (condition=" 'Residu' in set(SELECTION) ", - Residu_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Residu"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly an \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, algos_names, fv=NoCheckInNS) : return FACT( - statut = statut, - Algorithm = SIMP(statut="o", typ = "TXM", into = algos_names ), - Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict") ), - Dict = BLOC ( condition = " Parameters == 'Dict' ", - statut="f", - data = F_Dict("o", fv), - ), - Parameters3DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '3DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'Innovation', 'InnovationAtCurrentState', 'CostFunctionJAtCurrentOptimum', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - Parameters4DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '4DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'CurrentState', 'CostFunctionJ', 'IndexOfOptimum', 'CurrentOptimum', 'CostFunctionJAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'Blue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersDerivativeFreeOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'DerivativeFreeOptimization') ", - statut="f", - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - MaximumNumberOfFunctionEvaluations = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de d'évaluations de la function"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="POWELL", into=['POWELL', 'SIMPLEX'], fr="Minimiseur utilisé"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'DA', 'WeightedLeastSquares', 'WLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - StateVariationTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=0.0001, fr="Variation relative maximale de l'état lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'CostFunctionJ', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersEnsembleBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'EnsembleBlue') ", - statut="f", - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedBlue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedKalmanFilter') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'KalmanFilter') ", - statut="f", - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearLeastSquares') ", - statut="f", - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['OMA', 'CurrentState', 'CostFunctionJ', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersNonLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'NonLinearLeastSquares') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS', 'LM'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersParticleSwarmOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ParticleSwarmOptimization') ", - statut="f", - BoxBounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes d'incréments de paramètres"), - GroupRecallRate = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Taux de rappel au meilleur insecte du groupe (entre 0 et 1)"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=50, fr="Nombre maximal de pas d'optimisation"), - NumberOfInsects = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=100, fr="Nombre d'insectes dans l'essaim"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - SwarmVelocity = SIMP(statut="f", typ="R", val_min=0.0, min=1, max=1, defaut=1.0, fr="Vitesse de groupe imposée par l'essaim"), - ), - ParametersQuantileRegression = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'QuantileRegression') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-06, fr="Maximum de variation de la fonction d'estimation lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="MMQR", into=['MMQR'], fr="Minimiseur utilisé"), - Quantile = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Quantile pour la regression de quantile"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersUnscentedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'UnscentedKalmanFilter') ", - statut="f", - Alpha = SIMP(statut="f", typ="R", val_min=0.0001, val_max=1.0, min=1, max=1, defaut=1.0, fr=""), - Beta = SIMP(statut="f", typ="R", min=1, max=1, defaut=2.0, fr=""), - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - Kappa = SIMP(statut="f", typ="I", val_max=2, min=1, max=1, defaut=0, fr=""), - Reconditioner = SIMP(statut="f", typ="R", val_min=0.001, val_max=10.0, min=1, max=1, defaut=1.0, fr=""), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersAdjointTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'AdjointTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="ScalarProduct", into=['ScalarProduct'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersFunctionTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'FunctionTest') ", - statut="f", - NumberOfPrintedDigits = SIMP(statut="f", typ="I", val_min=0, min=1, max=1, defaut=5, fr="Nombre de chiffres affichés pour les impressions de réels"), - NumberOfRepetition = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=1, fr="Nombre de fois où l'exécution de la fonction est répétée"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersGradientTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'GradientTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Norm', 'TaylorOnNorm', 'Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearityTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearityTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="CenteredDL", into=['CenteredDL', 'Taylor', 'NominalTaylor', 'NominalTaylorRMS'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersSamplingTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'SamplingTest') ", - statut="f", - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SampleAsExplicitHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable comme une liste"), - SampleAsIndependantRandomVariables = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont les points sur chaque axe proviennent de l'échantillonage indépendant de la variable selon la spécification ['distribution',[parametres],nombre]"), - SampleAsMinMaxStepHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable par un triplet [min,max,step]"), - SampleAsnUplet = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par une liste de n-uplet"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CostFunctionJ', 'CurrentState', 'InnovationAtCurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersTangentTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'TangentTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ) - -def F_variables(statut) : return FACT( - statut=statut, - regles = ( MEME_NOMBRE ('NAMES', 'SIZES')), - NAMES = SIMP(statut="o", typ="TXM", max="**", validators=NoRepeat()), - SIZES = SIMP(statut="o", typ="I", val_min=1, max="**") - ) -def ChDir(dirname): - os.chdir(os.path.abspath(dirname)) - return 1 -ChDir.info = u"This has to be a regular directory path." - -ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Calculation Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o",("3DVAR", "4DVAR", "Blue", "DerivativeFreeOptimization", "EnsembleBlue", "ExtendedBlue", "ExtendedKalmanFilter", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", "UnscentedKalmanFilter", ), AlgorithmParametersInNS), - Background = F_Background("o", BackgroundInNS), - BackgroundError = F_BackgroundError("o", BackgroundErrorInNS), - Observation = F_Observation("o", ObservationInNS), - ObservationError = F_ObservationError("o", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - EvolutionModel = F_EvolutionModel("f"), - EvolutionError = F_EvolutionError("f", EvolutionErrorInNS), - ControlInput = F_ControlInput("f"), - UserDataInit = F_Init("f"), - UserPostAnalysis = F_UserPostAnalysis("o"), - InputVariables = F_variables("f"), - OutputVariables = F_variables("f"), - Observers = F_Observers("f") - ) - -CHECKING_STUDY = PROC(nom="CHECKING_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Checking Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o", ("AdjointTest", "FunctionTest", "GradientTest", "LinearityTest", "ObserverTest", "SamplingTest", "TangentTest", ), AlgorithmParametersInNS), - CheckingPoint = F_CheckingPoint("o", CheckingPointInNS), - BackgroundError = F_BackgroundError("f", BackgroundErrorInNS), - Observation = F_Observation("f", ObservationInNS), - ObservationError = F_ObservationError("f", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - UserDataInit = F_Init("f"), - Observers = F_Observers("f") - ) diff --git a/Adao/ADAO_Cata_V0_V8_3_0_DEV.py b/Adao/ADAO_Cata_V0_V8_3_0_DEV.py deleted file mode 100755 index 78beda68..00000000 --- a/Adao/ADAO_Cata_V0_V8_3_0_DEV.py +++ /dev/null @@ -1,1270 +0,0 @@ -#-*-coding:iso-8859-1-*- -# -# Copyright (C) 2008-2017 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D - -# -------------------------------------------------------- -# Generated by AdaoCatalogGenerator on 2017-03-06 09:14:06 -# -------------------------------------------------------- - -import os, re -import Accas -from Accas import * - -JdC = JDC_CATA ( - code = 'ADAO', - execmodul = None, - regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')), - ) -VERSION_CATALOGUE='V8_3_0' - -def NoCheckInNS(filename): - return 1 -NoCheckInNS.info = "" -def DirectOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*DirectOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^DirectOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -DirectOperatorInNS.info = u"The Python file has to contain explicitly a \"DirectOperator\" function definition with only one vector as argument." -def TangentOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*TangentOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^TangentOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -TangentOperatorInNS.info = u"The Python file has to contain explicitly a \"TangentOperator\" function definition with only one pair of vectors as argument." -def AdjointOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^def[\s]*AdjointOperator[\s]*\(") - for ln in fc: - if cr.match(ln): return 1 - cr = re.compile("^AdjointOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AdjointOperatorInNS.info = u"The Python file has to contain explicitly an \"AdjointOperator\" function definition with only one pair of vectors as argument." - -def F_VectorSerie(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Function(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict", ), defaut="ScriptWithOneFunction"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Matrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_DiagonalSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Vector(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_Dict(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="Script"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_ScalarSparseMatrix(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", ), defaut="String"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", defaut="1.", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def ObservationErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationErrorInNS.info = u"The Python file has to contain explicitly a \"ObservationError\" variable." -def F_ObservationError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Observation[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationInNS.info = u"The Python file has to contain explicitly a \"Observation\" variable." -def F_Observation(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^BackgroundError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundErrorInNS.info = u"The Python file has to contain explicitly a \"BackgroundError\" variable." -def F_BackgroundError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def ObservationOperatorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ObservationOperator[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ObservationOperatorInNS.info = u"The Python file has to contain explicitly a \"ObservationOperator\" variable." -def F_ObservationOperator(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def CheckingPointInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^CheckingPoint[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -CheckingPointInNS.info = u"The Python file has to contain explicitly a \"CheckingPoint\" variable." -def F_CheckingPoint(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - ) - -def ControlInputInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^ControlInput[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -ControlInputInNS.info = u"The Python file has to contain explicitly a \"ControlInput\" variable." -def F_ControlInput(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def BackgroundInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^Background[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -BackgroundInNS.info = u"The Python file has to contain explicitly a \"Background\" variable." -def F_Background(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Vector", "VectorSerie", ), defaut="Vector"), - Vector = BLOC ( condition = " INPUT_TYPE in ( 'Vector', ) ", - data = F_Vector("o", fv), - ), - VectorSerie = BLOC ( condition = " INPUT_TYPE in ( 'VectorSerie', ) ", - data = F_VectorSerie("o", fv), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly a \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionErrorInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionError[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionErrorInNS.info = u"The Python file has to contain explicitly a \"EvolutionError\" variable." -def F_EvolutionError(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "ScalarSparseMatrix", "DiagonalSparseMatrix", ), defaut="ScalarSparseMatrix"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - ScalarSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'ScalarSparseMatrix', ) ", - data = F_ScalarSparseMatrix("o", fv), - ), - DiagonalSparseMatrix = BLOC ( condition = " INPUT_TYPE in ( 'DiagonalSparseMatrix', ) ", - data = F_DiagonalSparseMatrix("o", fv), - ), - ) - -def UserDataInitInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^UserDataInit[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -UserDataInitInNS.info = u"The Python file has to contain explicitly a \"UserDataInit\" variable." -def F_UserDataInit(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Dict", ), defaut="Dict"), - Dict = BLOC ( condition = " INPUT_TYPE in ( 'Dict', ) ", - data = F_Dict("o", fv), - ), - ) - -def EvolutionModelInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^EvolutionModel[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -EvolutionModelInNS.info = u"The Python file has to contain explicitly a \"EvolutionModel\" variable." -def F_EvolutionModel(statut, fv=NoCheckInNS) : return FACT( - statut=statut, - Stored = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - INPUT_TYPE = SIMP(statut="o", typ = "TXM", into=("Matrix", "Function", ), defaut="Function"), - Matrix = BLOC ( condition = " INPUT_TYPE in ( 'Matrix', ) ", - data = F_Matrix("o", fv), - ), - Function = BLOC ( condition = " INPUT_TYPE in ( 'Function', ) ", - data = F_Function("o", fv), - ), - ) - -def F_UserPostAnalysis(statut, fv=NoCheckInNS) : return FACT( - statut = statut, - FROM = SIMP(statut = "o", typ = "TXM", into=("String", "Script", "Template", ), defaut="Template"), - SCRIPT_DATA = BLOC ( condition = " FROM in ( 'Script', ) ", - SCRIPT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(fv)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant si nécessaire la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing if necessary the definition of an internal variable of the same name as the parent concept"), - ), - STRING_DATA = BLOC ( condition = " FROM in ( 'String', ) ", - STRING = SIMP(statut = "o", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur ou une matrice, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector or a matrix, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - SCRIPTWITHFUNCTIONS_DATA = BLOC ( condition = " FROM in ( 'ScriptWithFunctions', ) ", - SCRIPTWITHFUNCTIONS_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS), FunctionVal(TangentOperatorInNS), FunctionVal(AdjointOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variables internes trois fonctions de calcul nommées DirectOperator, TangentOperator et AdjointOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variables three computation functions named DirectOperator, TangentOperator and AdjointOperator"), - ), - SCRIPTWITHONEFUNCTION_DATA = BLOC ( condition = " FROM in ( 'ScriptWithOneFunction', ) ", - SCRIPTWITHONEFUNCTION_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py'), FunctionVal(DirectOperatorInNS)], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant en variable interne une seule fonction de calcul nommée DirectOperator", ang="Waiting for a script file name, with or without the full path to find it, containing as internal variable only one function named DirectOperator"), - DifferentialIncrement = SIMP(statut="o", typ = "R", val_min=0, val_max=1, defaut=0.01, fr="Incrément de la perturbation dX pour calculer la dérivée, construite en multipliant X par l'incrément en évitant les valeurs nulles", ang="Increment of dX perturbation to calculate the derivative, build multiplying X by the increment avoiding null values"), - CenteredFiniteDifference = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Formulation centrée (1) ou décentrée (0) pour la méthode des différences finies", ang="Centered (1) or uncentered (0) formulation for the finite differences method"), - EnableMultiProcessing = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0, fr="Calculs élémentaires effectués en séquentiel (0) ou en parallèle (1) dans la méthode des différences finies", ang="Elementary calculations done sequentially (0) or in parallel (1) in the finite differences method"), - NumberOfProcesses = SIMP(statut="f", typ = "I", val_min=0, defaut=0, fr="Nombre de processus parallèles, 0 pour un contrôle automatique", ang="Number of parallel processes, 0 for automatic control"), - ), - SCRIPTWITHSWITCH_DATA = BLOC ( condition = " FROM in ( 'ScriptWithSwitch', ) ", - SCRIPTWITHSWITCH_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')], fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant un switch pour les calculs direct, tangent et adjoint", ang="Waiting for a script file name, with or without the full path to find it, containing a switch for direct, tangent and adjoint computations"), - ), - TEMPLATE_DATA = BLOC (condition = " FROM in ( 'Template', ) ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "AnalysisPrinter", into=("AnalysisPrinter", "AnalysisSaver", "AnalysisPrinterAndSaver")), - AnalysisPrinter = BLOC (condition = " Template == 'AnalysisPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa" ), - ), - AnalysisSaver = BLOC (condition = " Template == 'AnalysisSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - AnalysisPrinterAndSaver = BLOC (condition = " Template == 'AnalysisPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nxa=numpy.ravel(ADD.get('Analysis')[-1])\nprint 'Analysis:',xa\nf='/tmp/analysis.txt'\nprint 'Analysis saved in \"%s\"'%f\nnumpy.savetxt(f,xa)" ), - ), - ), - ) - -def F_InitChoice() : return ("Background", - "BackgroundError", - "Observation", - "ObservationError", - "ObservationOperator", - "EvolutionModel", - "EvolutionError", - "AlgorithmParameters", - "UserPostAnalysis", - ) - -def F_Init(statut) : return FACT(statut = statut, - INIT_FILE = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]), - TARGET_LIST = SIMP(statut = "o", typ = "TXM", min=1, max="**", into=F_InitChoice(), validators=(VerifExiste(2))), - ) - -def F_ObserverTemplate() : return BLOC(condition = " NodeType == 'Template' ", - Template = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "ValuePrinter", into=("ValuePrinter", "ValueAndIndexPrinter", "ValueSeriePrinter", "ValueSaver", "ValueSerieSaver", "ValuePrinterAndSaver", "ValueIndexPrinterAndSaver", "ValueSeriePrinterAndSaver", "ValueGnuPlotter", "ValueSerieGnuPlotter", "ValuePrinterAndGnuPlotter", "ValueSeriePrinterAndGnuPlotter", "ValuePrinterSaverAndGnuPlotter", "ValueSeriePrinterSaverAndGnuPlotter", "ValueMean", "ValueStandardError", "ValueVariance", "ValueL2Norm", "ValueRMS")), - ValuePrinter = BLOC (condition = " Template == 'ValuePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[-1]))", fr="Imprime sur la sortie standard la valeur courante de la variable", ang="Print on standard output the current value of the variable" ), - ), - ValueAndIndexPrinter = BLOC (condition = " Template == 'ValueAndIndexPrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+(\" index %i:\"%(len(var)-1))+\" \"+str(var[-1]))", fr="Imprime sur la sortie standard la valeur courante de la variable, en ajoutant son index", ang="Print on standard output the current value of the variable, adding its index" ), - ), - ValueSeriePrinter = BLOC (condition = " Template == 'ValueSeriePrinter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[:]))", fr="Imprime sur la sortie standard la série des valeurs de la variable", ang="Print on standard output the value series of the variable" ), - ), - ValueSaver = BLOC (condition = " Template == 'ValueSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Enregistre la valeur courante de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape d'enregistrement", ang="Save the current value of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValueSerieSaver = BLOC (condition = " Template == 'ValueSerieSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Enregistre la série des valeurs de la variable dans un fichier du répertoire '/tmp' nommé 'value...txt' selon le nom de la variable et l'étape", ang="Save the value series of the variable in a file of the '/tmp' directory named 'value...txt' from the variable name and the saving step" ), - ), - ValuePrinterAndSaver = BLOC (condition = " Template == 'ValuePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nprint(str(info)+\" \"+str(v))\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps enregistre dans un fichier, la valeur courante de la variable", ang="Print on standard output and, in the same time save in a file, the current value of the variable" ), - ), - ValueIndexPrinterAndSaver = BLOC (condition = " Template == 'ValueIndexPrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[-1], ndmin=1)\nprint(str(info)+(\" index %i:\"%(len(var)-1))+\" \"+str(v))\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps enregistre dans un fichier, la valeur courante de la variable, en ajoutant son index", ang="Print on standard output and, in the same time save in a file, the current value of the variable, adding its index" ), - ), - ValueSeriePrinterAndSaver = BLOC (condition = " Template == 'ValueSeriePrinterAndSaver' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, re\nv=numpy.array(var[:], ndmin=1)\nprint(str(info)+\" \"+str(v))\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier la série des valeurs de la variable", ang="Print on standard output and, in the same time, save in a file the value series of the variable" ), - ), - ValueGnuPlotter = BLOC (condition = " Template == 'ValueGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSerieGnuPlotter = BLOC (condition = " Template == 'ValueSerieGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig, gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Graphically plot with Gnuplot the value series of the variable" ), - ), - ValuePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[-1]))\nimport numpy, Gnuplot\nv=numpy.array(var[-1], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la valeur courante de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the current value of the variable" ), - ), - ValueSeriePrinterAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[:]))\nimport numpy, Gnuplot\nv=numpy.array(var[:], ndmin=1)\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, affiche graphiquement avec Gnuplot la série des valeurs de la variable", ang="Print on standard output and, in the same time, graphically plot with Gnuplot the value series of the variable" ), - ), - ValuePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValuePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[-1]))\nimport numpy, re\nv=numpy.array(var[-1], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la valeur courante de la variable ", ang="Print on standard output and, in the same, time save in a file and graphically plot the current value of the variable" ), - ), - ValueSeriePrinterSaverAndGnuPlotter = BLOC (condition = " Template == 'ValueSeriePrinterSaverAndGnuPlotter' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "print(str(info)+\" \"+str(var[:]))\nimport numpy, re\nv=numpy.array(var[:], ndmin=1)\nglobal istep\ntry:\n istep += 1\nexcept:\n istep = 0\nf='/tmp/value_%s_%05i.txt'%(info,istep)\nf=re.sub('\s','_',f)\nprint('Value saved in \"%s\"'%f)\nnumpy.savetxt(f,v)\nimport Gnuplot\nglobal ifig,gp\ntry:\n ifig += 1\n gp(' set style data lines')\nexcept:\n ifig = 0\n gp = Gnuplot.Gnuplot(persist=1)\n gp(' set style data lines')\ngp('set title \"%s (Figure %i)\"'%(info,ifig))\ngp.plot( Gnuplot.Data( v, with_='lines lw 2' ) )", fr="Imprime sur la sortie standard et, en même temps, enregistre dans un fichier et affiche graphiquement la série des valeurs de la variable", ang="Print on standard output and, in the same, time save in a file and graphically plot the value series of the variable" ), - ), - ValueMean = BLOC (condition = " Template == 'ValueMean' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint(str(info)+\" \"+str(numpy.nanmean(var[-1])))", fr="Imprime sur la sortie standard la moyenne de la valeur courante de la variable", ang="Print on standard output the mean of the current value of the variable" ), - ), - ValueStandardError = BLOC (condition = " Template == 'ValueStandardError' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint(str(info)+\" \"+str(numpy.nanstd(var[-1])))", fr="Imprime sur la sortie standard l'écart-type de la valeur courante de la variable", ang="Print on standard output the standard error of the current value of the variable" ), - ), - ValueVariance = BLOC (condition = " Template == 'ValueVariance' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nprint(str(info)+\" \"+str(numpy.nanvar(var[-1])))", fr="Imprime sur la sortie standard la variance de la valeur courante de la variable", ang="Print on standard output the variance of the current value of the variable" ), - ), - ValueL2Norm = BLOC (condition = " Template == 'ValueL2Norm' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint(str(info)+\" \"+str(float( numpy.linalg.norm(v) )))", fr="Imprime sur la sortie standard la norme L2 de la valeur courante de la variable", ang="Print on standard output the L2 norm of the current value of the variable" ), - ), - ValueRMS = BLOC (condition = " Template == 'ValueRMS' ", - ValueTemplate = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "import numpy\nv = numpy.matrix( numpy.ravel( var[-1] ) )\nprint(str(info)+\" \"+str(float( numpy.sqrt((1./v.size)*(v*v.T)) )))", fr="Imprime sur la sortie standard la racine de la moyenne des carrés (RMS), ou moyenne quadratique, de la valeur courante de la variable", ang="Print on standard output the root mean square (RMS), or quadratic mean, of the current value of the variable" ), - ), - ) - -def F_Observers(statut) : return FACT( - statut=statut, - SELECTION = SIMP(statut="o", defaut=[], typ="TXM", min=0, max="**",homo="SansOrdreNiDoublon", validators=NoRepeat(), into=(['Analysis', 'Innovation', 'InnovationAtCurrentState', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'GradientOfCostFunctionJ', 'GradientOfCostFunctionJb', 'GradientOfCostFunctionJo', 'SigmaObs2', 'SigmaBck2', 'APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'Residu'])), - #SELECTION = SIMP(statut="o", defaut=[], typ="TXM", min=0, max="**", validators=NoRepeat(), into=(['Analysis', 'Innovation', 'InnovationAtCurrentState', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'GradientOfCostFunctionJ', 'GradientOfCostFunctionJb', 'GradientOfCostFunctionJo', 'SigmaObs2', 'SigmaBck2', 'APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'Residu'])), - Analysis = BLOC (condition=" 'Analysis' in set(SELECTION) ", - Analysis_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Analysis"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Innovation = BLOC (condition=" 'Innovation' in set(SELECTION) ", - Innovation_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Innovation"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - InnovationAtCurrentState = BLOC (condition=" 'InnovationAtCurrentState' in set(SELECTION) ", - InnovationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "InnovationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentState = BLOC (condition=" 'CurrentState' in set(SELECTION) ", - CurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CurrentOptimum = BLOC (condition=" 'CurrentOptimum' in set(SELECTION) ", - CurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - IndexOfOptimum = BLOC (condition=" 'IndexOfOptimum' in set(SELECTION) ", - IndexOfOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "IndexOfOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtBackground = BLOC (condition=" 'SimulatedObservationAtBackground' in set(SELECTION) ", - SimulatedObservationAtBackground_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtBackground"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentState = BLOC (condition=" 'SimulatedObservationAtCurrentState' in set(SELECTION) ", - SimulatedObservationAtCurrentState_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentState"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtOptimum = BLOC (condition=" 'SimulatedObservationAtOptimum' in set(SELECTION) ", - SimulatedObservationAtOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SimulatedObservationAtCurrentOptimum = BLOC (condition=" 'SimulatedObservationAtCurrentOptimum' in set(SELECTION) ", - SimulatedObservationAtCurrentOptimum_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SimulatedObservationAtCurrentOptimum"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - BMA = BLOC (condition=" 'BMA' in set(SELECTION) ", - BMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "BMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMA = BLOC (condition=" 'OMA' in set(SELECTION) ", - OMA_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMA"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - OMB = BLOC (condition=" 'OMB' in set(SELECTION) ", - OMB_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "OMB"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJ = BLOC (condition=" 'CostFunctionJ' in set(SELECTION) ", - CostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJb = BLOC (condition=" 'CostFunctionJb' in set(SELECTION) ", - CostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - CostFunctionJo = BLOC (condition=" 'CostFunctionJo' in set(SELECTION) ", - CostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "CostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJ = BLOC (condition=" 'GradientOfCostFunctionJ' in set(SELECTION) ", - GradientOfCostFunctionJ_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJ"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJb = BLOC (condition=" 'GradientOfCostFunctionJb' in set(SELECTION) ", - GradientOfCostFunctionJb_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJb"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - GradientOfCostFunctionJo = BLOC (condition=" 'GradientOfCostFunctionJo' in set(SELECTION) ", - GradientOfCostFunctionJo_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "GradientOfCostFunctionJo"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaObs2 = BLOC (condition=" 'SigmaObs2' in set(SELECTION) ", - SigmaObs2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaObs2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - SigmaBck2 = BLOC (condition=" 'SigmaBck2' in set(SELECTION) ", - SigmaBck2_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "SigmaBck2"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCorrelations = BLOC (condition=" 'APosterioriCorrelations' in set(SELECTION) ", - APosterioriCorrelations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCorrelations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriCovariance = BLOC (condition=" 'APosterioriCovariance' in set(SELECTION) ", - APosterioriCovariance_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriCovariance"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriStandardDeviations = BLOC (condition=" 'APosterioriStandardDeviations' in set(SELECTION) ", - APosterioriStandardDeviations_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriStandardDeviations"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - APosterioriVariances = BLOC (condition=" 'APosterioriVariances' in set(SELECTION) ", - APosterioriVariances_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "APosterioriVariances"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - Residu = BLOC (condition=" 'Residu' in set(SELECTION) ", - Residu_data = FACT(statut = "o", - Scheduler = SIMP(statut = "f", typ = "TXM"), - Info = SIMP(statut = "o", typ = "TXM", defaut = "Residu"), - NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "Template", into=("String", "Script", "Template")), - PythonScript = BLOC (condition = " NodeType == 'String' ", - Value = SIMP(statut = "o", typ = "TXM") - ), - UserFile = BLOC (condition = " NodeType == 'Script' ", - Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=[OnlyStr(), FileExtVal('py')]) - ), - ObserverTemplate = F_ObserverTemplate(), - ), - ), - ) - -def AlgorithmParametersInNS(filename): - if os.path.exists(filename): - fc = open(filename, 'r').readlines() - cr = re.compile("^AlgorithmParameters[\s]*=") - for ln in fc: - if cr.match(ln): return 1 - return 0 -AlgorithmParametersInNS.info = u"The Python file has to contain explicitly an \"AlgorithmParameters\" variable." -def F_AlgorithmParameters(statut, algos_names, fv=NoCheckInNS) : return FACT( - statut = statut, - Algorithm = SIMP(statut="o", typ = "TXM", into = algos_names ), - Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict") ), - Dict = BLOC ( condition = " Parameters == 'Dict' ", - statut="f", - data = F_Dict("o", fv), - ), - Parameters3DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '3DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'CurrentState', 'CurrentOptimum', 'IndexOfOptimum', 'Innovation', 'InnovationAtCurrentState', 'CostFunctionJAtCurrentOptimum', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum', 'SimulatedObservationAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - Parameters4DVAR = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == '4DVAR') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'IndexOfOptimum', 'CurrentOptimum', 'CostFunctionJAtCurrentOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'Blue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersDerivativeFreeOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'DerivativeFreeOptimization') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - MaximumNumberOfFunctionEvaluations = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal d'évaluations de la fonction"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="BOBYQA", into=['BOBYQA', 'COBYLA', 'NEWUOA', 'POWELL', 'SIMPLEX', 'SUBPLEX'], fr="Minimiseur utilisé"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'DA', 'WeightedLeastSquares', 'WLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - StateVariationTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=0.0001, fr="Variation relative maximale de l'état lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'CostFunctionJAtCurrentOptimum', 'CurrentOptimum', 'IndexOfOptimum', 'InnovationAtCurrentState', 'BMA', 'OMA', 'OMB', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentOptimum', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersEnsembleBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'EnsembleBlue') ", - statut="f", - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedBlue = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedBlue') ", - statut="f", - NumberOfSamplesForQuantiles = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=100, fr="Nombre d'échantillons simulés pour le calcul des quantiles"), - Quantiles = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Liste des valeurs de quantiles"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - SimulationForQuantiles = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Linear", into=['Linear', 'NonLinear'], fr="Type de simulation pour l'estimation des quantiles"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SigmaBck2', 'SigmaObs2', 'MahalanobisConsistency', 'SimulationQuantiles', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersExtendedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ExtendedKalmanFilter') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'KalmanFilter') ", - statut="f", - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearLeastSquares') ", - statut="f", - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['OMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersNonLinearLeastSquares = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'NonLinearLeastSquares') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-07, fr="Diminution relative minimale du cout lors de l'arrêt"), - GradientNormTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-05, fr="Maximum des composantes du gradient lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="LBFGSB", into=['LBFGSB', 'TNC', 'CG', 'NCG', 'BFGS', 'LM'], fr="Minimiseur utilisé"), - ProjectedGradientTolerance = SIMP(statut="f", typ="R", val_min=-1, min=1, max=1, defaut=-1.0, fr="Maximum des composantes du gradient projeté lors de l'arrêt"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersParticleSwarmOptimization = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'ParticleSwarmOptimization') ", - statut="f", - BoxBounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes d'incréments de paramètres"), - GroupRecallRate = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Taux de rappel au meilleur insecte du groupe (entre 0 et 1)"), - MaximumNumberOfFunctionEvaluations = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=15000, fr="Nombre maximal d'évaluations de la fonction"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=0, min=1, max=1, defaut=50, fr="Nombre maximal de pas d'optimisation"), - NumberOfInsects = SIMP(statut="f", typ="I", val_min=-1, min=1, max=1, defaut=100, fr="Nombre d'insectes dans l'essaim"), - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - SwarmVelocity = SIMP(statut="f", typ="R", val_min=0.0, min=1, max=1, defaut=1.0, fr="Vitesse de groupe imposée par l'essaim"), - ), - ParametersQuantileRegression = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'QuantileRegression') ", - statut="f", - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - CostDecrementTolerance = SIMP(statut="f", typ="R", min=1, max=1, defaut=1e-06, fr="Maximum de variation de la fonction d'estimation lors de l'arrêt"), - MaximumNumberOfSteps = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=15000, fr="Nombre maximal de pas d'optimisation"), - Minimizer = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="MMQR", into=['MMQR'], fr="Minimiseur utilisé"), - Quantile = SIMP(statut="f", typ="R", val_min=0.0, val_max=1.0, min=1, max=1, defaut=0.5, fr="Quantile pour la regression de quantile"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['BMA', 'OMA', 'OMB', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation', 'SimulatedObservationAtBackground', 'SimulatedObservationAtCurrentState', 'SimulatedObservationAtOptimum'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersUnscentedKalmanFilter = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'UnscentedKalmanFilter') ", - statut="f", - Alpha = SIMP(statut="f", typ="R", val_min=0.0001, val_max=1.0, min=1, max=1, defaut=1.0, fr=""), - Beta = SIMP(statut="f", typ="R", min=1, max=1, defaut=2.0, fr=""), - Bounds = SIMP(statut="f", typ="TXM", fr="Liste des valeurs de bornes"), - ConstrainedBy = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="EstimateProjection", into=['EstimateProjection'], fr="Prise en compte des contraintes"), - EstimationOf = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="State", into=['State', 'Parameters'], fr="Estimation d'etat ou de parametres"), - Kappa = SIMP(statut="f", typ="I", val_max=2, min=1, max=1, defaut=0, fr=""), - Reconditioner = SIMP(statut="f", typ="R", val_min=0.001, val_max=10.0, min=1, max=1, defaut=1.0, fr=""), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['APosterioriCorrelations', 'APosterioriCovariance', 'APosterioriStandardDeviations', 'APosterioriVariances', 'BMA', 'CurrentState', 'CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'Innovation'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersAdjointTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'AdjointTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="ScalarProduct", into=['ScalarProduct'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersFunctionTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'FunctionTest') ", - statut="f", - NumberOfPrintedDigits = SIMP(statut="f", typ="I", val_min=0, min=1, max=1, defaut=5, fr="Nombre de chiffres affichés pour les impressions de réels"), - NumberOfRepetition = SIMP(statut="f", typ="I", val_min=1, min=1, max=1, defaut=1, fr="Nombre de fois où l'exécution de la fonction est répétée"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersGradientTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'GradientTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Norm', 'TaylorOnNorm', 'Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersLinearityTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'LinearityTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="CenteredDL", into=['CenteredDL', 'Taylor', 'NominalTaylor', 'NominalTaylorRMS'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersSamplingTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'SamplingTest') ", - statut="f", - QualityCriterion = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="AugmentedWeightedLeastSquares", into=['AugmentedWeightedLeastSquares', 'AWLS', 'AugmentedPonderatedLeastSquares', 'APLS', 'DA', 'WeightedLeastSquares', 'WLS', 'PonderatedLeastSquares', 'PLS', 'LeastSquares', 'LS', 'L2', 'AbsoluteValue', 'L1', 'MaximumError', 'ME'], fr="Critère de qualité utilisé"), - SampleAsExplicitHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable comme une liste"), - SampleAsIndependantRandomVariables = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont les points sur chaque axe proviennent de l'échantillonage indépendant de la variable selon la spécification ['distribution',[parametres],nombre]"), - SampleAsMinMaxStepHyperCube = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par un hyper-cube dont on donne la liste des échantillonages de chaque variable par un triplet [min,max,step]"), - SampleAsnUplet = SIMP(statut="f", typ="TXM", max="**", into=None, fr="Points de calcul définis par une liste de n-uplet"), - SetDebug = SIMP(statut="f", typ="I", min=1, max=1, defaut=0, fr="Activation du mode debug lors de l'exécution"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CostFunctionJ', 'CostFunctionJb', 'CostFunctionJo', 'CurrentState', 'InnovationAtCurrentState', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ParametersTangentTest = BLOC (condition = " (Parameters == 'Defaults') and (Algorithm == 'TangentTest') ", - statut="f", - AmplitudeOfInitialDirection = SIMP(statut="f", typ="R", min=1, max=1, defaut=1.0, fr="Amplitude de la direction initiale de la dérivée directionnelle autour du point nominal"), - AmplitudeOfTangentPerturbation = SIMP(statut="f", typ="R", val_min=1e-10, val_max=1.0, min=1, max=1, defaut=0.01, fr="Amplitude de la perturbation pour le calcul de la forme tangente"), - EpsilonMinimumExponent = SIMP(statut="f", typ="I", val_min=-20, val_max=0, min=1, max=1, defaut=-8, fr="Exposant minimal en puissance de 10 pour le multiplicateur d'incrément"), - InitialDirection = SIMP(statut="f", typ="TXM", fr="Direction initiale de la dérivée directionnelle autour du point nominal"), - ResiduFormula = SIMP(statut="f", typ="TXM", min=1, max=1, defaut="Taylor", into=['Taylor'], fr="Formule de résidu utilisée"), - SetSeed = SIMP(statut="f", typ="TXM", fr="Graine fixée pour le générateur aléatoire"), - StoreSupplementaryCalculations = SIMP(statut="f", typ="TXM", max="**", into=['CurrentState', 'Residu', 'SimulatedObservationAtCurrentState'], fr="Liste de calculs supplémentaires à stocker et/ou effectuer"), - ), - ) - -def F_variables(statut) : return FACT( - statut=statut, - regles = ( MEME_NOMBRE ('NAMES', 'SIZES')), - NAMES = SIMP(statut="o", typ="TXM", max="**", validators=NoRepeat()), - SIZES = SIMP(statut="o", typ="I", val_min=1, max="**") - ) -def ChDir(dirname): - os.chdir(os.path.abspath(dirname)) - return 1 -ChDir.info = u"This has to be a regular directory path." - -ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Calculation Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o",("3DVAR", "4DVAR", "Blue", "DerivativeFreeOptimization", "EnsembleBlue", "ExtendedBlue", "ExtendedKalmanFilter", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", "UnscentedKalmanFilter", ), AlgorithmParametersInNS), - Background = F_Background("o", BackgroundInNS), - BackgroundError = F_BackgroundError("o", BackgroundErrorInNS), - Observation = F_Observation("o", ObservationInNS), - ObservationError = F_ObservationError("o", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - EvolutionModel = F_EvolutionModel("f"), - EvolutionError = F_EvolutionError("f", EvolutionErrorInNS), - ControlInput = F_ControlInput("f"), - UserDataInit = F_Init("f"), - UserPostAnalysis = F_UserPostAnalysis("o"), - InputVariables = F_variables("f"), - OutputVariables = F_variables("f"), - Observers = F_Observers("f") - ) - -CHECKING_STUDY = PROC(nom="CHECKING_STUDY", - op=None, - repetable = "n", - StudyName = SIMP(statut="o", typ = "TXM", defaut="ADAO Checking Case"), - StudyRepertory = SIMP(statut="f", typ = "Repertoire", validators=FunctionVal(ChDir), min=1, max=1), - Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0), - AlgorithmParameters = F_AlgorithmParameters("o", ("AdjointTest", "FunctionTest", "GradientTest", "LinearityTest", "ObserverTest", "SamplingTest", "TangentTest", ), AlgorithmParametersInNS), - CheckingPoint = F_CheckingPoint("o", CheckingPointInNS), - BackgroundError = F_BackgroundError("f", BackgroundErrorInNS), - Observation = F_Observation("f", ObservationInNS), - ObservationError = F_ObservationError("f", ObservationErrorInNS), - ObservationOperator = F_ObservationOperator("o"), - UserDataInit = F_Init("f"), - Observers = F_Observers("f") - ) diff --git a/Adao/README_CATALOGUE.txt b/Adao/README_CATALOGUE.txt deleted file mode 100644 index f4d3dbd0..00000000 --- a/Adao/README_CATALOGUE.txt +++ /dev/null @@ -1,4 +0,0 @@ -#-*-coding:iso-8859-1-*- -# -Les catalogues presents dans cette directory sont des catalogues de tests. -Le catalogue final utilisé dans le module Adao de Salome peut être différent diff --git a/Adao/configuration_Adao.py b/Adao/configuration_Adao.py deleted file mode 100644 index 735905fb..00000000 --- a/Adao/configuration_Adao.py +++ /dev/null @@ -1,64 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2008-2016 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -""" -""" -# Modules Python -# print "passage dans la surcharge de configuration pour Adao" -import os, sys, string, types, re - - -# Modules Eficas - - -#from Editeur import Eficas_utils -from InterfaceQT4 import configuration - -# Classe de base permettant de lire, afficher -# et sauvegarder les fichiers utilisateurs -class CONFIG(configuration.configBase): - - def __init__(self,appli,repIni): - - self.labels_eficas=['lang','rep_cata','catalogues','closeAutreCommande','closeFrameRechercheCommande','closeEntete','taille'] - configuration.configBase.__init__(self,appli,repIni) - - #self.rep_user = os.environ["HOME"] - self.rep_user = os.path.expanduser("~") - self.appli = appli - self.code = appli.code - # self.lang = "fr" - self.rep_ini = repIni - self.rep_mat=" " # Compatbilite Aster - self.savedir = self.rep_user - self.generator_module = "generator_adao" - self.convert_module = "convert_adao" - - # Format des catalogues... - # (code, version, catalogue, formatIn, formatOut) - # Il faut les mettre dans un tuple - #self.catalogues = (("ADAO", "V0", os.path.join(self.rep_ini, 'ADAO_Cata_V0.py'), "adao"),) - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/Adao/monCode_Cata.py b/Adao/monCode_Cata.py deleted file mode 100644 index 2f370716..00000000 --- a/Adao/monCode_Cata.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -from Accas import * - -JdC = JDC_CATA (code = 'ADAO', - execmodul = None, - ) -JdC = JDC_CATA (code = 'ADAO', - execmodul = None, - regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')), - ) - - -ASSIMILATION_STUDY = PROC(nom="ASSIMILATION_STUDY", op=None, repetable = "n", - Study_name = SIMP(statut="o", typ = "TXM"), - Study_repertory = SIMP(statut="f", typ = "Repertoire", min=1, max=1), - Debug = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0), - Algorithm = SIMP(statut="o", typ = "TXM", into=("3DVAR", "Blue", "EnsembleBlue", "KalmanFilter", "LinearLeastSquares", "NonLinearLeastSquares", "ParticleSwarmOptimization", "QuantileRegression", )), - Background = FACT(statut="o", - regles=(UN_PARMI('SCRIPT_DATA_FILE','VECTOR_STRING'),), - Stored = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0, fr="Choix de stockage interne ou non du concept parent", ang="Choice of the storage or not of the parent concept"), - SCRIPT_DATA_FILE = SIMP(statut = "f", typ = "FichierNoAbs", validators=(OnlyStr()), fr="En attente d'un nom de fichier script, avec ou sans le chemin complet pour le trouver, contenant la définition d'une variable interne de même nom que le concept parent", ang="Waiting for a script file name, with or without the full path to find it, containing the definition of an internal variable of the same name as the parent concept"), - VECTOR_STRING = SIMP(statut = "f", typ = "TXM", fr="En attente d'une chaine de caractères entre guillements. Pour construire un vecteur, ce doit être une suite de nombres, utilisant un espace ou une virgule pour séparer deux éléments et un point-virgule pour séparer deux lignes", ang="Waiting for a string in quotes. To build a vector, it has to be a float serie, using a space or comma to separate two elements in a line, a semi-colon to separate rows"), - ), - -) diff --git a/Adao/prefs.py b/Adao/prefs.py deleted file mode 100644 index 5cbdc263..00000000 --- a/Adao/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2017 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="Adao" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/Adao/prefs_Adao.py b/Adao/prefs_Adao.py deleted file mode 100644 index 4e758db6..00000000 --- a/Adao/prefs_Adao.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -import os,sys - -# repIni sert a localiser le fichier editeur.ini - -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# Choix des catalogues -# format du Tuple (code,version,catalogue,formatOut, finit par defaut eventuellement) -catalogues = ( -# ('Adao','V1',os.path.join(repIni,'ADAO_Cata_V1.py'),'python','python'), -# ('Adao','V770',os.path.join(repIni,'ADAO_Cata_V0_V7_7_0.py'),'python','python'), -# ('Adao','V83',os.path.join(repIni,'ADAO_Cata_V0_V8_3_0_DEV.py'),'dicoImbrique','dico'), -# ('Adao','dico',os.path.join(repIni,'ADAO_Cata_V0_V8_3_0_DEV.py'),'dico','dico'), - ('Adao','V83',os.path.join(repIni,'ADAO_Cata_V0_V8_3_0_DEV.py'),'python','python'), -# ('Adao','V83',os.path.join(repIni,'ADAO_Cata_PN.py'),'python','python'), -# ('Adao','V751',os.path.join(repIni,'ADAO_Cata_V0_V7_5_1.py'),'python','python'), -) - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang - -lang='fr' -closeAutreCommande = True -closeFrameRechercheCommande = True -#closeEntete = True -closeArbre = True -translatorFichier = os.path.join(repIni,'Adao') -nombreDeBoutonParLigne=1 -#dumpXSD=True - diff --git a/Adao/properties.py b/Adao/properties.py deleted file mode 100644 index f8ee7110..00000000 --- a/Adao/properties.py +++ /dev/null @@ -1,5 +0,0 @@ -# ====================================================================== -# VERSION DU CODE -#---------------------------------------------------------------------- -version = "6.6" -date = "19/09/2012" diff --git a/Adao/qtDico.py b/Adao/qtDico.py deleted file mode 100755 index 51156caa..00000000 --- a/Adao/qtDico.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2017 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert à lancer EFICAS configuré pour Code_Aster -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -from InterfaceQT4 import eficas_go - -dico=eficas_go.lanceEficas_param(code=prefs.code,fichier="/local00/home/A96028/GitEficas/eficas/Adao/exemple01.comm",version="V760",macro="ASSIMILATION_STUDY") -#print dico - -import pprint -pprint.pprint(dico) diff --git a/Adao/qtEficas_Adao.py b/Adao/qtEficas_Adao.py deleted file mode 100755 index 43605163..00000000 --- a/Adao/qtEficas_Adao.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2017 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -#import sys -#reload(sys) -#sys.setdefaultencoding('latin1') - -from InterfaceQT4 import eficas_go -eficas_go.lanceEficas(code=prefs.code) diff --git a/Aide/CMakeLists.txt b/Aide/CMakeLists.txt deleted file mode 100644 index 00d42795..00000000 --- a/Aide/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation des fichiers d'aide : Open TURNS -if (WITH_OPENTURNS) - install ( FILES eficas_OPENTURNS_STUDY.adp - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide - ) - add_subdirectory ( fichiers_OPENTURNS_STUDY ) -endif (WITH_OPENTURNS) - - -install ( - DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/fichiers_EFICAS - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide -) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Aide/eficas_OPENTURNS_STUDY.adp b/Aide/eficas_OPENTURNS_STUDY.adp deleted file mode 100644 index db67cb4e..00000000 --- a/Aide/eficas_OPENTURNS_STUDY.adp +++ /dev/null @@ -1,5 +0,0 @@ - - - - diff --git a/Aide/fichiers_ASTER/CMakeLists.txt b/Aide/fichiers_ASTER/CMakeLists.txt deleted file mode 100644 index b9b71c94..00000000 --- a/Aide/fichiers_ASTER/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation des fichiers d'aide : Aster -if (WITH_ASTER) - install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide - FILES_MATCHING PATTERN *.txt PATTERN *.html - PATTERN CMakeLists.txt EXCLUDE - PATTERN CVS EXCLUDE - ) -endif (WITH_ASTER) - -### Local Variables: -### mode: cmake -### End: diff --git a/Aide/fichiers_ASTER/INSTALL.txt b/Aide/fichiers_ASTER/INSTALL.txt deleted file mode 100644 index eb759325..00000000 --- a/Aide/fichiers_ASTER/INSTALL.txt +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Installation Standard d Eficas - - - - -

-1- Installation standard -

- -Pour installer EFICAS a partir de la distribution : .tgz
-faire :
-
tar xzvf .tgz

- -ce qui a pour effet de créer un répertoire de nom V1EficasV1_16a4AsterSTA9. -

- -Pour modifier l'emplacement de la doc, le chemin d'accès à Acrobat Reader, -les catalogues, il faut modifier le fichier -
editeur.ini
-dans le répertoire Aster ou utiliser le sous-menu "Parametres Eficas" du men Options . -

-ATTENTION :
-Si Eficas est installé dans un répertoire particulier d'administration -dans lequel les utilisateurs n'ont pas le droit d'écriture,
- il faut que l'administrateur lance Eficas pour générer -les fichiers et catalogues compilés .pyc -

- - -2- Utilisation d'Eficas -
-
-Pour utiliser Eficas, aller dans le répertoire Aster et faire : -
python eficas_aster.py -
-
-3- Installation avec un noyau pré-installé -
-
-Aller dans le répertoire Aster du répertoire Eficas -et modifier le fichier prefs.py comme suit : -Mettre dans la variable CODE_PATH le chemin absolu vers -le répertoire contenant les deux répertoires Noyau et Validation que vous voulez -utiliser à la place de ceux fournis dans la livraison d'Eficas -
-Pour changer les catalogues, modifier le fichier editeur.ini dans le répertoire Aster - - diff --git a/Aide/fichiers_ASTER/NEWS.txt b/Aide/fichiers_ASTER/NEWS.txt deleted file mode 100644 index 43eadb0e..00000000 --- a/Aide/fichiers_ASTER/NEWS.txt +++ /dev/null @@ -1,107 +0,0 @@ -Version 6.5 (05/2012): -
- Comptabible avec la version 6.5 de Salome -

-Version 6.4 (12/2011): -
- Le numero de version d Eficas est celui de Salome. Ainsi la version 6.4 d Eficas est livree avec Salome 6.4 et tourne -dans cette version. -

-Version 2.O (12/2009): - fusion des versions d Eficas pour Code_Aster, Outils Metiers et OpenTURNS -

-Version 1.17 (12/2009): -
- Mise en synchronisation avec la version 10.0 de Code_Aster de decembre 2009. -

- Version en QT4 -
- La version TK est figee -

- -Version 1.16 (6/2009): -
- Mise en synchronisation avec la version 9.3 de Code_Aster de mai 2007. -

- - -Version 1.13 (6/2008): -
- Mise en synchronisation avec la version 9.2 de Code_Aster de mai 2007. -

- -Version 1.12 (6/2007): -
- Mise en synchronisation avec la version 9.1 de Code_Aster de mai 2007. -

- -Version 1.11 (12/2006): -
- Mise en synchronisation avec la version 8.4 de Code_Aster de decembre 2006. - Première version du Traducteur de V7 en V8 -

- -Version 1.10 (6/2006): -
- Mise en synchronisation avec la version 8.3 de Code_Aster de juin 2006. -

- -Version 1.9 (12/2005): -
- Mise en synchronisation avec la version 8.2 de Code_Aster de decembre 2005. -

- -Version 1.8 (6/2005): -
- Mise en synchronisation avec la version 8.1 de Code_Aster de mai 2005. - Les includes et poursuites peuvent etre édités. Introduction de la notation - scientifique pour les flottants. -

- -Version 1.7 : (12/2004) -
- Mise en synchronisation avec la version STA7 de Code_Aster (7.4). - Les formules changent et deviennent des formules au sens python. - Disparition des PARAMETRE-EVAL - Les touches raccourcis (CtrlC par exple) sont activées et paramétrables dans prefs.py. -

- -Version 1.6 : (05/2004) -
- Mise en synchronisation avec la version STA7 de Code_Aster (7.2.26) - Evolution de la saisie des valeurs pour definir une fonction (EO2003-241) : - - Saisie des valeurs sous forme de tuple. - - Si une valeur est selectionnée, l'insertion se fera après cette valeur - et non en fin de liste -

- -Version 1.5 (10/2003): -
- Mise en synchronisation avec la version STA7 de Code_Aster d'octobre 2003 (7.2) - Introduction des validateurs de mots cles simples -

- -Version 1.4 (5/2003): -
- Mise en synchronisation avec la version STA7 de Code_Aster de mai 2003 (7.1) - Possibilité de donner un nom de fichier en argument lors de l'ouverture d'EFICAS (EO2003-060) - Correction d'une anomalie dans la fonctionnalité de commentarisation des commandes (AO2003-041) - Ajout du bouton de documentation dans le panneau FORMULE (AO2002-447) - Selection automatique du concept quand il n'en existe qu'un (EO2002-162) -

- -Version 1.3 (11/2002): -
- Mise en synchronisation avec la version STA6 de Code_Aster de septembre 2002 - Ajout de la possibilité de visualiser les INCLUDE, INCLUDE_MATERIAU et POURSUITE (popup - sur click droit de la souris sur l'icone de la commande) - Possibilité d'afficher la liste des commandes par groupe (menu option->affichage commandes) - Reprise profonde du mécanisme de gestion des fichiers inclus (voir menus d'AIDE pour plus de détails) - Corrections diverses -

- -Version 1.2 (5/2002): -
- Reconception de la version 1.1 : décomposition en packages Python - Mise en synchronisation avec la version STA6 de Code_Aster de fevrier 2002 -

diff --git a/Aide/fichiers_ASTER/cata.txt b/Aide/fichiers_ASTER/cata.txt deleted file mode 100644 index 0973bf9b..00000000 --- a/Aide/fichiers_ASTER/cata.txt +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -Personnaliser Eficas - - - - - -
-sous la directory $HOME/.eficas_install, dans le fichier editeur_salome.ini, l'utilisateur peut redefinir les variables suivantes : -:
-
exec_acrobat
Cette variable contient le chemin d 'acces au lecteur pdf. -
elle contient par exemple exec_acrobat = 'acroread'
-
savedir
Cette variable contient la directory initiale pour l ouverture de fichiers. -
elle contient par exemple savedir = '/local/noyret/Eficas_ASTER'
-
catalogue
-Cette variable permet de surcharger la liste des catalogues accessibles ou de changer le catalogue par defaut.
-C'est une liste de tuples (code,version,catalogue,formatOut avec éventuellement "defaut) -
Pour Code_Aster, elle sera par exemple de la forme :
-catalogues=[('ASTER','STA9.8', '/local/noyret/Eficas/Aster/Cata/cataSTA9', 'python'),
- ('ASTER','STA10.3', '/local/noyret/Eficas/Aster/Cata/cataSTA10', 'python'),
- ('ASTER','STA11', '/local/noyret/Eficas/Aster/Cata/cataSTA11', 'python', 'defaut')] -
-Attention : il est possible certes d ajouter un catalogue a la liste mais il est necessaire que la directory contienne -l'ensemble des elements constitutifs du catalogue ASTER : ops.py, macro, sd ... - diff --git a/Aide/fichiers_ASTER/faqs.txt b/Aide/fichiers_ASTER/faqs.txt deleted file mode 100644 index cb1a82d5..00000000 --- a/Aide/fichiers_ASTER/faqs.txt +++ /dev/null @@ -1,59 +0,0 @@ -
-------------------------------------------------------------------------------------------------------------- - FAQs et Limitations d'EFICAS -------------------------------------------------------------------------------------------------------------- - -
-
- -1. Mots réservés : -
- - Tous les mots du langage Python sont des mots réservés. - On ne peut donc pas appeler une variable ou un concept 'fin' ou 'dir' - Pour la liste complète de ces mots-clés, veuillez vous référer à la - documentation Python -
-
- -2. Concepts réentrants : -
- - Ne pas indiquer par un '&' devant son nom qu'un concept est utilisé comme - concept réentrant. En effet EFICAS le sait ! -

- -3. Carte commentaire : -
- - La carte commentaire est désormais le '#' (dièse) au lieu du '%' (pourcent) - Les commentaires sont gérés comme des objets de même niveau que les - commandes ; il n'est plus possible de placer des commentaires "dans" - une commande. Attention, lors de la traduction d'un fichier de version 5 - en 6, les commentaires "dans" les commandes seront perdus. - -

-4. Nommer le concept produit par un opérateur : -
- - Vous ne pouvez nommer le concept produit d'un opérateur que lorsque - celui-ci aura été entièrement et correctement rempli. - -

-5. Règle de rémanence dans les mots-clés facteurs répétés : - - La règle de rémanence qui permettait pour certains mots-clés facteurs - et pour certains de leurs mots-clés simples de ne pas répeter la valeur - de ces derniers dans toutes les occurrences du mot-clé facteur n'est pas - connue d'EFICAS. - En conséquence, vous devez répéter les mots-clés simples concernés dans - toutes les occurrences des mots-clés facteurs. - -

-6. Besoin d'aide ? -
- - La documentation d'utilisation d'EFICAS a pris un peu de retard sur le produit ... - Néanmoins, vous disposez sur la plupart des panneaux contextuels ( les panneaux à - droite de l'arbre) d'une aide en ligne que vous pouvez activer en maintenant le - bouton droit de votre souris enfoncé. diff --git a/Aide/fichiers_ASTER/includes.txt b/Aide/fichiers_ASTER/includes.txt deleted file mode 100644 index aadbb81d..00000000 --- a/Aide/fichiers_ASTER/includes.txt +++ /dev/null @@ -1,49 +0,0 @@ -Les macros INCLUDE, INCLUDE_MATERIAU et POURSUITE ont un fonctionnement spécial.
-Les concepts produits par ces macros sont obtenus par une interpretation séparée -du fichier de commandes correspondant. Les concepts produits sont ensuite inclus -dans le contexte du jeu de commandes principal.
-La mise à jour du jeu de commandes et de ses includes et poursuites -est presque complètement automatique. Cependant dans quelques cas particuliers -le mécanisme de mise à jour peut être pris en défaut. - -

-Les principes retenus sont les suivants : -

- -1- Un fichier invalide n'est pas du tout pris en compte meme si quelques -commandes de ce fichier sont valides -

- -2- Il est possible de visualiser (bouton droit de la souris sur l'icone de -la macro -> menu View) le contenu de ces types de macros. Le bouton (icone -loupe) permet de visualiser le source du fichier inclus. -

- -3- Les fichiers inclus sont mémorisés en fonction de leur UNITE -pour les INCLUDE, du nom de matériau pour les INCLUDE_MATERIAU et comme poursuite -pour une POURSUITE (il n'est pas possible d'avoir plus d'une POURSUITE par fichier). -ATTENTION : comme on s'appuie sur l'UNITE pour memoriser les fichers inclus il est -conseillé d'utiliser des numéros d'UNITE différents sinon la reactualisation sera -faite avec le meme fichier pour des INCLUDE différents. -

- -4- Pour changer les fichiers inclus, il faut passer par l'onglet FICHIER, modifier -le nom du fichier et appuyer sur le bouton Valider. Il est possible en passant par -cet onglet de forcer la prise en compte d'un fichier include partiellement valide -ce qui n'est pas possible lors de l'import initial. Pour changer un fichier INCLUDE -contenu dans un INCLUDE ou dans une POURSUITE, il faut editer l'INCLUDE ou la POURSUITE -englobante (voir 6.) et passer par l'onglet FICHIER. -

- -5- Le nom d'un fichier INCLUDE_MATERIAU est construit à partir des valeurs des mots-clés -de la commande, il n'est donc jamais demandé explicitement à l'utilisateur. - -

-6- Il est possible d'editer un fichier include ou poursuite. Pour cela, il suffit d'utiliser -l'entrée "Edit" du menu contextuel de l'étape en question (bouton droit de la souris). -Le fichier include ou poursuite en cours d'edition apparaitra dans un onglet distinct. -Les modifications dans un fichier include ou poursuite sont normalement propagées au fichier -principal et aux autres includes et poursuites. Il est cependant possible que quelques cas -tordus ne soient pas correctement traités. Dans le doute, une demande de rapport de validation -peut permettre de réactualiser l'état des différents fichiers. - diff --git a/Aide/fichiers_ASTER/index.html b/Aide/fichiers_ASTER/index.html deleted file mode 100644 index 500c7531..00000000 --- a/Aide/fichiers_ASTER/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - -EFICAS - - - - -

EFICAS

-
- -

Evolution des versions -

Personnaliser Eficas -

FAQ -

Macros INCLUDE, INCLUDE_MATERIAU et POURSUITE - - - diff --git a/Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt b/Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt deleted file mode 100644 index f5e9dc02..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation des fichiers d'aide : Open TURNS -if (WITH_OPENTURNS) - install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide - FILES_MATCHING PATTERN *.txt PATTERN *.html - PATTERN CMakeLists.txt EXCLUDE - PATTERN CVS EXCLUDE - ) -endif (WITH_OPENTURNS) - -### Local Variables: -### mode: cmake -### End: diff --git a/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt b/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt deleted file mode 100644 index b6a6ad18..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/EficasGui.txt +++ /dev/null @@ -1,38 +0,0 @@ - - - - What is the EFICAS Graphical User Interface? - - -

- What is the EFICAS Graphical User Interface? -

- -
-EFICAS is an open source software which proposes a graphical user interface to OpenTURNS.
-EFICAS enables to the User to lead an uncertainty study without having to learn the python statements.
-
-Eficas is structured in two parts :
-
    -
  • 1. Part 1 defines the calculus function (the wrapper definition);
  • -
  • 2. Part 2 defines the uncertainty study using a previously defined model.
  • -
-note that Part 1 must be fulfilled before Part 2.
-
-
-It has been made with the following objectives : -
    -
  • 1. to ease the use of Open TURNS, avoiding to the User writing the python statements;
  • -
  • 2. to ease the learning of the python statements by generating the python script after the study has been graphically defined.
  • -
-
-
-When used, the EFICAS GUI generates :
- -
  • 1. the file.comm which contains all the information declared in the EFICAS GUI.
  • -
  • 2. the file.py which is the python script associated to the study and that can be launched through a python session.
  • - - - - - diff --git a/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt b/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt deleted file mode 100644 index e3635625..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/UncertaintyStudy.txt +++ /dev/null @@ -1,190 +0,0 @@ - - - - DEFINITION OF THE UNCERTAINTY STUDY - - - - -

    - DEFINITION OF THE UNCERTAINTY STUDY -

    - - -

    -Limitations of the EFICAS GUI
    -

    -EFICAS version 2.0 has the following limitations : -
      -
    • on models :
        -
      • - the calculus fucntion f has to have a scalar output variable, which means that f : R^n --> R;
      • -
      • - only one model can be defined within a study;
      • - <\ul> -
      • on the input random vector : the probabilistic input variables must be independent or with a normal copula dependence structure;
      • -
      • on sample manipulation : there is no statistical functionalities except the evaluation of some correlation coefficients whithin the Central Uncertainty criteria evaluation;
      • -
      • on response surface tools : there is no possibility to create a polynomial response surface nor a polynomial chaos expansion.
      • -
      • on CRITERIA : only one criteria can be defined within a study. -
      -
      - -

      Define your uncertainty study

      - -To perform a uncertainty study through the EFICAS Graphical User Interface, you need to follow these steps. -As some concepts need other ones to be created, you have to respect the given order in the study definition. Note that only the two first steps (Step 1 and Step 2) may be exchanged. - - -
        -
      • Step 1 : Define the 1D distribution pool you'll need within the study.
        -This step defines all the 1D distributions that will be affected to probabilistic variables of the uncertainty study. To have information on distributions, see the Use Cases guide or User Manual Guide. -
        -
        • - create a DISTRIBUTION : -
          • 1. click on SansNom (which is the case study which still has no named until you save it);
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on DISTRIBUTION. -
        • -
          -
        • - fulfill the DISTRIBUTION : -
          • 1. click on Kind and choose a probabilistic distribution;
          • -
          • 2. click on the just created field named by the chosen distribution;
          • -
          • 3. give some values to each parameter of the distribution. In the Histogram case, give one by one the couples (class bandwith, class height) by typing : class bandwith, class height.
          • -
        • -
          -
        • name the DISTRIBUTION : -
          • 1. click on DISTRIBUTION;
          • -
          • 2. click on "Name Concept" on the upright of the board;
          • -
          • 3. give a name to the DISTRIBUTION
          • -
        • -
          -
        • - create another DISTRIBUTION :
          • 1. click on the last DISTRIBUTION you created;
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on DISTRIBUTION.
          • -
        • -
          -
        • - visualise the probabilistic density function of the DISTRIBUTION : -
          • 1. right click on DISTRIBUTION;
          • -
          • 2. click on Graphique.
          • -
        • -
        -
        -
        - - -
      • Step 2 : Define your model.
        -This step gives the link towards the calculus function through which uncertainties will be propagated. The model is described thanks to an xml file To have information on wrappers, see Wrapper Guide. -
        • - create a MODEL : -
          • 1. click on the last DISTRIBUTION you created;
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on MODEL.
          -
        • -
          -
        • - fulfill the MODEL : -
          • 1. click on FileName;
          • -
          • 2. give the adress of the file.xml corresponding to your calculus function. -
        • -
        - -
        -
        - - -
      • Step 3 : Define the probabilistic input variables.
        -This step associates a probabilistic distribution function previously defined in Step 1 to each variable defined in the model. -
        • - create a VARIABLE : -
          • 1. click on the last DISTRIBUTION you created;
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on VARIABLE.
          • -

        • -
        • - fulfill the VARIABLE : -
          • 1. click on ModelVariable;
          • -
          • 2. choose a variable within the list of the variables coming from the previously defined model;
          • -
          • 3. click on Distribution;
          • -
          • 4. choose a distribution among the ones previously defined in Step 1 (correctly fulfilled and named).
          • -

        • -
        • - create another VARIABLE : -
          • 1. click on the last VARIABLE you created;
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on VARIABLE.
          • -
        • -

        - -
      • Step 4 : Define the dependance structure of the probabilistic input variables.
        -This step defines the structure dependence of the probabilistic input variables previously declared. -
          -
        • - create a CORRELATION :
          • 1. click on the last VARIABLE you created;
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on CORRELATION.

          -
        • - fulfill the CORRELATION :
          • 1. click on Copula;
          • -
          • 2. choose a copula within Normal copula and Independent one;
          • -
          • 3. In case of Normal copula, give the correlation matrix by clicking on CorrelationMatrix.
          • -

        - - -
      • Step 5 : Define the criteria you will evaluate.
        -This step defines the criteria which will be evakluated by the uncertainty study. To have more information on criterias, see the Reference Guide.
        -
        • - - create a CRITERIA :
          • 1. click on the last VaRIABLE you created;
          • -
          • 2. click on "Nouvelle Commande" on the upright of the board;
          • -
          • 3. click on CRITERIA;
          -
        • - fulfill the CRITERIA :
          • 1. click on CRITERIA;
          • -
          • 2. choose a specific criteria among the three proposed ones.

          -The following steps are described just below.

        • - -
        • CRITERIA MinMax :
          -This criteria aims at evaluating some extreme values of the output variable of interest, which is the output variable of the model. To have more information on the different methods, see the Use Cases Guide. -
            -
          • - 3. click on MinMax;
          • -
          • - 4. click on the just created field Method which defines how input probabilistic variables will be generated;
          • -
          • - 5. click on the just created field corresponding to the chosen Method;
          • -
          • - 6. fulfill the required fields;
          • -
          • - 7. The Results are the extreme values evaluated on the output variable onf interest.
          • -

        • - -
        • CRITERIA Central Uncertainty :
          -This criteria aims at evaluating some central probabilistic carateristics of the output variable of interest. To have more information on the different methods, see the Use Cases Guide. -
          • - 3. click on CentralUncertainty;
          • -
          • - 4. click on the just created field Method which defines how the central probabilistic caracteristics will be evaluated and choose one;
          • -
          • - 5. click on the just created field corresponding to the chosen Method;
          • -
          • - 6. fulfill the required fields;
          • -
          • - 7. The Results are the mean, standard deviation whatever the chosen Method and in the case of a Radom sampling Method, also some empirical quantiles previoulsy defined, the evaluation of some correlation coefficients (PCC, PRCC, SRC and SRRC) and the kernel smoothing of the probabilistic density function of the output variable of interest.
          • -

        • - - -
        • CRITERIA Threshold Exceedance :
          -This criteria aims at evaluating the probability that the ouput variable of interest exceeds or remaines under a define threshold. To have more information on the different methods, see the Use Cases Guide. -
          • - 3. click on Threshold Exceedence;
          • -
          • - 4. click on the just created field Method which defines how the central probabilistic caracteristics will be evaluated;
          • -
          • - 5. define the Event : click on Threshold and fulfill it; click on the ComparisonOperator and fulfill it;
          • -
          • - 6. define the probability evaluation Method : click on Method and choose one;
          • -
          • - 7. fulfill the required fields. In the FORM and SORM cases, it is possible to perform some importance sampling around the design point : the importance distribution is the standard Normal distribution defined int he stansard space, with independent components, unit variance and centered around the design point.
          • -
          • - 8. The Results are the following ones :
            in the case of a Simulation Method, the probability evaluation with the standard deviation and the coefficient of vrariation of its estimator, the confidence interval defined previously, the final number of simulation used for the evaluation, the convergence graph of the estimator; in the case of a FORM Method, the probability evaluation, the associated design point, the Hasofer reliability index, the importance factors also drawed in a graph, the sensitivity factors evaluated on the FORM probability estimation and on the Hasofer reliability index and the calls number of the model; in the case of a SORM Method, the probability evaluation, the associated design point, the Hasofer, Tvedt and HohenBichler reliability indexes, the importance factors also drawed in a graph, the sensitivity factors evaluated on the Hasofer reliability index and the calls number of the model. -
          • -

        - -

        -General rules -

        -
          -
        • To erase a concept, right click on it and click on Supprimer.
        • -
        • While the concept is not colored in green, you have not completely fulfilled the concepts. The orange color means a concept needs to be named.
        • -
        • To fulfill a list of values (v1, v2, ..., vn), type the whole values separated by coma. For example, to fulfill (1,2,3) in the field Levels of an Experiment plane, type : 1,2,3.
        • -
        • To fulfill a list of list of values, type one by one each list of values as previously described. For example, ((v1,v2), (v3,v4)), type : v1,v2 then "entered", v3,v4 then 'entered". This is the case in the Histogramm distribution.
        • -
        • Files names or graphics impression are given without their extensions. Open TURNS will authomatically provide the .eps, .png and .fig formats.
        • -
        -

        - - -

        -Save and Run your uncertainty study -

        -Once correctly fulfilled, the study can be saved under a specific name chosen by the User, for example "myStudy".
        -Then, two files are authomatically created : -
          -
        • - a myStudy.comm which contains all the information declared in the EFICAS GUI. This file myStudy.comm may be opened once more within EFICAS.
        • -
        • - a myStudy.py which is the corresponding python script. The python script is generated given that each concept has been correctly and entirely fulfilled.
        • -
        -To run your uncertainty analyses, you nedd to type "python myStudy.py" or "python -i myStudy.py" in your shell. All the graphs are created in the repertory where the python session has been launched. -To have more information on how to modify the python script, see the Use Cases Guide. -
        - - - diff --git a/Aide/fichiers_OPENTURNS_STUDY/index.html b/Aide/fichiers_OPENTURNS_STUDY/index.html deleted file mode 100644 index 0d5bf822..00000000 --- a/Aide/fichiers_OPENTURNS_STUDY/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - -EFICAS - - - - -

        EFICAS

        -
        - -

        What is the EFICAS Graphical User Interface -

        Definition of the uncertainty study - - - diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 164af95d..00000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -cmake_minimum_required ( VERSION 2.8 ) - -project ( Eficas CXX C ) - -# Definition du chemin d'acces aux modules additionnels -set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules" ) - -# Detection de Python -find_package ( PythonInterp REQUIRED ) -if (PYTHONINTERP_FOUND) - string ( RANDOM tmpPyScript ) - set ( tmpPyScript "${tmpPyScript}.py" ) - file ( WRITE ${tmpPyScript} -"# Automaticaly generated by CMake. Do NOT edit. Changes will be lost -import sys -print ('%d.%d' % ( sys.version_info[0], sys.version_info[1] )) -" ) - get_source_file_property ( PYSCRIPT_LOC ${tmpPyScript} LOCATION ) - execute_process ( COMMAND ${PYTHON_EXECUTABLE} ${PYSCRIPT_LOC} - OUTPUT_VARIABLE PYTHON_VERSION - #ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE ) - file ( REMOVE ${tmpPyScript} ) -endif (PYTHONINTERP_FOUND) -message ( STATUS "Using Python version ${PYTHON_VERSION}" ) -# Detection de QT5 -find_package ( Qt5 COMPONENTS Core REQUIRED ) - -FIND_PACKAGE(Qt5LinguistTools) -GET_TARGET_PROPERTY(QT_LRELEASE_EXECUTABLE Qt5::lrelease LOCATION) -MARK_AS_ADVANCED(QT_LRELEASE_EXECUTABLE) - -# Detection de PyQt5 -if (NOT PYQT5_FOUND) - execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "\"import PyQt5\"" - RESULT_VARIABLE _res - OUTPUT_VARIABLE _trashout - ERROR_VARIABLE _trasherr - ) - if (NOT _res) - message ( STATUS "Looking for Python package PyQt5 - found" ) - set ( PYQT5_FOUND 1 CACHE INTERNAL "True if Python package PyQt5 is here" ) - else (NOT _res) - message ( STATUS "Looking for Python package PyQt5 - not found" ) - set ( PYQT5_FOUND 0 CACHE INTERNAL "True if Python package PyQt5 is here" ) - endif (NOT _res) -endif (NOT PYQT5_FOUND) - -if (NOT PYQT5_FOUND) - message ( FATAL_ERROR "Python package PyQt5 is REQUIRED" ) -endif (NOT PYQT5_FOUND) - -# Detection de PYUIC5 -find_program ( PYUIC5 NAMES pyuic5 - DOC "Path to the pyuic5 compilation tool" - ) -if (NOT PYUIC5) - message ( FATAL_ERROR "pyuic5 tool is REQUIRED" ) -endif (NOT PYUIC5) - -# Definition des options de CMake -option ( WITH_ALL_PACKAGES "Install all package files" OFF ) -option ( WITH_CARMEL "Install CARMEL files" OFF ) -option ( WITH_SEP "Install SEP files" OFF ) -option ( WITH_ZCRACKS "Install ZCRACKS files" OFF ) -option ( WITH_TELEMAC_CATA "Install TELEMAC files" OFF ) -option ( IN_SALOME_CONTEXT "Configure Eficas for use in Salome" OFF ) - -set ( _OPTIONLIST - WITH_CARMEL - WITH_TELEMAC_CATA - ) - -if (WITH_ALL_PACKAGES) - foreach ( _opt ${_OPTIONLIST} ) - set ( ${_opt} ON ) - endforeach ( _opt ) -endif (WITH_ALL_PACKAGES) - - -# Verification: au moins une option doit etre selectionnee -set ( _VALIDOPT FALSE ) -foreach ( _opt ${_OPTIONLIST} ) - if ( ${_opt} ) - set ( _VALIDOPT TRUE ) - string ( REPLACE WITH_ "" _opt2 ${_opt} ) - message ( STATUS "Will install package ${_opt2}" ) - endif ( ${_opt} ) -endforeach ( _opt ) -if ( NOT ${_VALIDOPT} ) - message ( FATAL_ERROR "At least one option within ${_OPTIONLIST} must be selected" ) -endif ( NOT ${_VALIDOPT} ) - - - -# Parcours recursif des sous-repertoires -add_subdirectory ( Accas ) -add_subdirectory ( Aide ) -add_subdirectory ( Editeur ) -add_subdirectory ( Efi2Xsd ) -add_subdirectory ( Extensions ) -add_subdirectory ( Ihm ) -install ( DIRECTORY InterfaceQT4 DESTINATION ${CMAKE_INSTALL_PREFIX} ) -add_subdirectory ( Noyau ) -add_subdirectory ( UiQT5 ) -add_subdirectory ( Validation ) -add_subdirectory ( convert ) -add_subdirectory ( generator ) -add_subdirectory ( Traducteur ) - - -# Installation des fichiers : CARMEL -if (WITH_CARMEL) - add_subdirectory ( Carmel3D ) - add_subdirectory ( CarmelCND ) - add_subdirectory ( CarmelCS ) -endif (WITH_CARMEL) - - -# Installation des fichiers : ZCracks -if (WITH_ZCRACKS) - add_subdirectory ( ZCracks ) -endif (WITH_ZCRACKS) - -# Installation des fichiers : Telemac -if (WITH_TELEMAC_CATA) - add_subdirectory ( Telemac ) -endif (WITH_TELEMAC_CATA) - -if (BUILD_DOC) - add_subdirectory ( Doc ) -endif (BUILD_DOC) - -### Local Variables: -### mode: cmake -### End: diff --git a/CMakeModules/FindOpenTURNS.cmake b/CMakeModules/FindOpenTURNS.cmake deleted file mode 100644 index c16a56e6..00000000 --- a/CMakeModules/FindOpenTURNS.cmake +++ /dev/null @@ -1,235 +0,0 @@ -# - Try to find OpenTURNS -# Once done this will define -# -# OpenTURNS_FOUND - system has OT -# OpenTURNS_INCLUDE_DIR - the OT include directory -# OpenTURNS_INCLUDE_DIRS - the OT include directory and dependencies include directories -# OpenTURNS_LIBRARY - Where to find the OT library -# OpenTURNS_LIBRARIES - Link these to use OT -# OpenTURNS_WRAPPER_DIR - Wrappers directory -# OpenTURNS_WRAPPER_DEFINITIONS - Compiler switches required for using OT wrapper -# OpenTURNS_MODULE_DIR - OT module directory -# OpenTURNS_MODULE_DEFINITIONS - Compiler switches required for using OT module -# OpenTURNS_SWIG_INCLUDE_DIR - the OT include directory to swig interface -# -# Copyright (c) 2009 Mathieu Lapointe -# Copyright (c) 2010 Julien Schueller -# -# Redistribution and use is allowed according to the terms of the New -# BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. -# - -include (CheckFunctionExists) -include (CheckIncludeFile) -include (CheckIncludeFileCXX) -include (FindPackageHandleStandardArgs) - -# check dependencies -find_package(LibXml2 2.6.27) -find_package(PythonLibs ${PYTHON_VERSION}) - -# test if variables are not already in cache -if (NOT (OpenTURNS_INCLUDE_DIR - AND OpenTURNS_SWIG_INCLUDE_DIR - AND OpenTURNS_INCLUDE_DIRS - AND OpenTURNS_LIBRARY - AND OpenTURNS_LIBRARIES - AND OpenTURNS_WRAPPER_DIR - AND OpenTURNS_PYTHON_MODULE_DIR - AND OpenTURNS_MODULE_DIR)) - - # set include dir - if (NOT OpenTURNS_INCLUDE_DIR) - find_path (OpenTURNS_INCLUDE_DIR - NAMES - OT.hxx - HINTS - ${OPENTURNS_DIR} - /usr - /usr/local - /opt - PATH_SUFFIXES - include/openturns - DOC - "OpenTURNS include directory" - ) - endif () - - # set swig include dir - if (NOT OpenTURNS_SWIG_INCLUDE_DIR) - set(OpenTURNS_SWIG_INCLUDE_DIR "${OpenTURNS_INCLUDE_DIR}/swig") - endif () - - # dependencies includes - if (NOT OpenTURNS_INCLUDE_DIRS) - set (OpenTURNS_INCLUDE_DIRS ${OpenTURNS_INCLUDE_DIR}) - list (APPEND OpenTURNS_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIR}) - list (APPEND OpenTURNS_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS}) - endif () - - # check for library directory - if (NOT OpenTURNS_LIBRARY) - find_library (OpenTURNS_LIBRARY - NAMES - OT - HINTS - ${OPENTURNS_DIR} - /usr - /usr/local - /opt - PATH_SUFFIXES - lib/openturns - DOC - "OpenTURNS library location" - ) - endif () - - # find dependent libraries - if (NOT OpenTURNS_LIBRARIES) - set (OpenTURNS_LIBRARIES ${OpenTURNS_LIBRARY} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES}) - list (APPEND OpenTURNS_LIBRARIES ${LIBXML2_LIBRARIES}) - list (APPEND OpenTURNS_LIBRARIES ${PYTHON_LIBRARIES}) - endif () - - # retrieve path to lib - get_filename_component (OpenTURNS_LIBRARY_PATH ${OpenTURNS_LIBRARY} PATH) - - # retrieve install path - set (OpenTURNS_INSTALL_PATH "${OpenTURNS_LIBRARY_PATH}/../..") - - # find wrappers dir - if (NOT OpenTURNS_WRAPPER_DIR) - find_path (OpenTURNS_WRAPPER_DIR - NAMES - wrapper.xml wrapper.dtd - HINTS - ${OPENTURNS_DIR} - ${OpenTURNS_INSTALL_PATH} - /usr - /usr/local - /opt - PATH_SUFFIXES - share/openturns/wrappers - DOC - "OpenTURNS wrappers location" - ) - endif () - - # set wrapper definitions - if (NOT OpenTURNS_WRAPPER_DEFINITIONS) - set(OpenTURNS_WRAPPER_DEFINITIONS) - check_include_file_cxx (pthread.h HAVE_PTHREAD_H) - if (HAVE_PTHREAD_H) - list (APPEND OpenTURNS_WRAPPER_DEFINITIONS -DHAVE_PTHREAD_H) - endif () - endif () - - # find python module dir - if (NOT OpenTURNS_PYTHON_MODULE_DIR) - find_path (OpenTURNS_PYTHON_MODULE_DIR - NAMES - openturns.pth - HINTS - ${OPENTURNS_DIR} - ${OpenTURNS_INSTALL_PATH} - /usr - /usr/local - /opt - PATH_SUFFIXES - lib/python${PYTHON_VERSION}/site-packages - DOC - "OpenTURNS python module location" - ) - endif () - - - # find module directory - if (NOT OpenTURNS_MODULE_DIR) - set (OpenTURNS_MODULE_DIR - ${OpenTURNS_LIBRARY_PATH}/module - ) - endif () - - # set module definitions - if (NOT OpenTURNS_MODULE_DEFINITIONS) - set (OpenTURNS_MODULE_DEFINITIONS) - - # check for STDC_HEADERS - check_include_file (stdlib.h HAVE_STDLIB_H) - check_include_file (stdarg.h HAVE_STDARG_H) - check_include_file (string.h HAVE_STRING_H) - check_include_file (float.h HAVE_FLOAT_H) - check_function_exists (memchr HAVE_MEMCHR) - check_function_exists (free HAVE_FREE) - check_include_file (ctype.h HAVE_CTYPE_H) - if(HAVE_STDLIB_H AND HAVE_STDARG_H AND HAVE_STRING_H AND HAVE_FLOAT_H AND HAVE_MEMCHR AND HAVE_FREE AND HAVE_CTYPE_H) - list (APPEND OpenTURNS_MODULE_DEFINITIONS -DSTDC_HEADERS_H=1) - else () - list (APPEND OpenTURNS_MODULE_DEFINITIONS -DSTDC_HEADERS_H=0) - endif () - - # this macro checks a header and defines the corresponding macro - macro(check_include_files_define_macro header_file) - # get macro name from header_file - string(TOUPPER ${header_file} macro_name) - string(REGEX REPLACE "[/.]" "_" macro_name ${macro_name}) - set(macro_name HAVE_${macro_name}) - # check for header - check_include_file(${header_file} ${macro_name}) - # define macro - if(${macro_name}) - list (APPEND OpenTURNS_MODULE_DEFINITIONS -D${macro_name}=1) - else() - list (APPEND OpenTURNS_MODULE_DEFINITIONS -D${macro_name}=0) - endif() - endmacro() - - # check for some headers - check_include_files_define_macro(sys/types.h) - check_include_files_define_macro(sys/stat.h) - check_include_files_define_macro(stdlib.h) - check_include_files_define_macro(string.h) - check_include_files_define_macro(memory.h) - check_include_files_define_macro(strings.h) - check_include_files_define_macro(inttypes.h) - check_include_files_define_macro(stdint.h) - check_include_files_define_macro(unistd.h) - check_include_files_define_macro(dlfcn.h) - check_include_files_define_macro(stdbool.h) - check_include_files_define_macro(regex.h) - - endif () - -endif () - -# handle the QUIETLY and REQUIRED arguments and set OpenTURNS_FOUND to TRUE if -# all listed variables are TRUE -find_package_handle_standard_args (OpenTURNS DEFAULT_MSG - OpenTURNS_LIBRARY - OpenTURNS_INCLUDE_DIR - OpenTURNS_SWIG_INCLUDE_DIR - OpenTURNS_INCLUDE_DIRS - OpenTURNS_LIBRARIES - OpenTURNS_WRAPPER_DIR - OpenTURNS_PYTHON_MODULE_DIR - OpenTURNS_MODULE_DIR -) - -mark_as_advanced ( - OpenTURNS_LIBRARY - OpenTURNS_INCLUDE_DIR - OpenTURNS_SWIG_INCLUDE_DIR - OpenTURNS_INCLUDE_DIRS - OpenTURNS_LIBRARIES - OpenTURNS_WRAPPER_DIR - OpenTURNS_WRAPPER_DEFINITIONS - OpenTURNS_MODULE_DIR - OpenTURNS_PYTHON_MODULE_DIR - OpenTURNS_MODULE_DEFINITIONS -) - - -### Local Variables: -### mode: cmake -### End: diff --git a/CMakeModules/FindSphinx.cmake b/CMakeModules/FindSphinx.cmake deleted file mode 100644 index fa0bc8e9..00000000 --- a/CMakeModules/FindSphinx.cmake +++ /dev/null @@ -1,11 +0,0 @@ -find_program(SPHINX_EXECUTABLE NAMES sphinx-build - HINTS - $ENV{SPHINX_DIR} - PATH_SUFFIXES bin - DOC "Sphinx documentation generator" -) -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Sphinx DEFAULT_MSG - SPHINX_EXECUTABLE -) -mark_as_advanced(SPHINX_EXECUTABLE) diff --git a/Carmel3D/CMakeLists.txt b/Carmel3D/CMakeLists.txt deleted file mode 100644 index 2f241464..00000000 --- a/Carmel3D/CMakeLists.txt +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES - qtEficas_Carmel3D.py prefs_CARMEL3D.py prefs.py configuration_CARMEL3D.py - Carmel3D_Cata_frequentiel_V0.py opsCarmel.py ajoutGroupe.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/Carmel3D - ) - -add_subdirectory (materiaux) - -### Local Variables: -### mode: cmake -### End: diff --git a/Carmel3D/Carmel3D_Cata_V0.py b/Carmel3D/Carmel3D_Cata_V0.py deleted file mode 100644 index 6fe6de90..00000000 --- a/Carmel3D/Carmel3D_Cata_V0.py +++ /dev/null @@ -1,553 +0,0 @@ -# -*- coding: utf-8 -*- -# -------------------------------------------------- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# -------------------------------------------------- - -import os -import sys -from Accas import * -import types -from decimal import Decimal -# repertoire ou sont stockés le catalogue carmel3d -# et les fichiers de donnees des materiaux de reference -from prefs_CARMEL3D import repIni - -#print "catalogue carmel" -#print "repIni = ", repIni - -# Version du catalogue -VERSION_CATA = "2.3.1 for harmonic problems" -# -------------------------------------------------- -# definition d une classe pour les materiaux -# definition d une classe pour les sources -# definition d une classe pour les groupes de mailles -# -------------------------------------------------- -class material ( ASSD ) : pass -class source ( ASSD ) : pass -class grmaille ( ASSD ) : pass - -#CONTEXT.debug = 1 -# -------------------------------------------------- -# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire -#--------------------------------------------------- - -JdC = JDC_CATA ( code = 'CARMEL3D', -# execmodul = None, - regles =( - AU_MOINS_UN ('MATERIAL','INCLUDE'), - ENSEMBLE ('SOURCE','MESHGROUP'), - ), - ) # Fin JDC_CATA -##========================================================= -# création d'une macro pour traiter les INCLUDE -# -#---------------------------------------------------------- - -import opsCarmel -INCLUDE = MACRO ( nom = "INCLUDE", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - sd_prod = opsCarmel.INCLUDE, - op_init = opsCarmel.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'comm Files (*.comm);;All Files (*)',), - fr = u"bibliothèque des matériaux", - ang = "material library file", - ), - - ) # Fin MACRO - -# -------------------------------------------------- -# definition de groupe de mailles -# il est associe a un materiau ou a une source -#--------------------------------------------------- - -MESHGROUP = OPER (nom = "MESHGROUP", - op = None, - repetable = 'n', - UIinfo= {"groupes":("Definition",)}, - fr= u"attribution d'un matériau ou d'une source à un groupe du maillage", - ang = "mesh group association to material or source", - sd_prod= grmaille, - regles =( - EXCLUS ('MATERIAL','SOURCE'), - ), - -# ---------------------------------------------------------- -# le mot cle SIMP doit etre facultatif sinon la recuperation -# des groupes de mailles sous SALOME ne fonctionne pas car -# le concept ne peut pas etre nomme car non valide -#----------------------------------------------------------- - MATERIAL = SIMP (statut="f", - typ=(material,), - ang="name of the linked material", - fr =u"nom du matériau associé", - ), - SOURCE = SIMP (statut="f", - typ=(source,), - ang="name of the linked source", - fr =u"nom de la source associée", - ), - ) - - -#====================================================================== -# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs -# -#====================================================================== -# 1er bloc : bloc VERSION -# ce bloc est volontairement cache dans l IHM -#=================================================== - -VERSION = PROC ( nom = "VERSION", - op = None, - repetable = 'n', - UIinfo= {"groupes":("CACHE",)}, - ang= "version block definition", - -#---------------------- -# Liste des parametres -#---------------------- - - NUM = SIMP (statut="o", - typ="I", - defaut=1, - ang="version number of the physical model", - into=( 1,), - ), - FILETYPE = SIMP (statut="o", - typ="TXM", - defaut="PHYS", - ang="file type", - into=( "PHYS",), - ), - -) # Fin PROC VERSION - -#=================================================================== -# 2eme bloc : bloc MATERIALS -#=================================================================== -# definition des matériaux utilisateurs -# a partir des materiaux de reference ou de materiaux generiques -#------------------------------------------------------------------- -# -MATERIAL = OPER (nom = "MATERIAL", - op = None, - repetable = 'n', - ang= "material block definition", - fr= u"définition d'un matériau", - sd_prod= material, - regles=EXCLUS('PERMITTIVITY','CONDUCTIVITY'), - -#--------------------------------------------------------------------- -# liste des matériaux de reference fournis par THEMIS et des -# materiaux generiques (les materiaux generiques peuvent etre utilises -# si aucun materiau de reference ne convient) -#--------------------------------------------------------------------- -# debut commentaire PN pour que le fichier materiaux soit valide -# TYPE = SIMP(statut='o', - MAT_REF = SIMP(statut='f', - typ='TXM', - into=( -# matériaux génériques - "DIELECTRIC", - "CONDUCTOR", - "ZINSULATOR","ZSURFACIC", - "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC", - ), - ang = "generic materials list", - fr = u"liste des matériaux génériques", - ), - -############################################################################## -# Remarque generale a tous les materiaux : -# pour conserver l'affichage scientifique le nombre derriere l'exposant doit -# etre strictement superieur au nombre de decimales -# - -##---------------------------------------------------------------------------------------------- -# Données de perméabilité, utilisée pour les diélectriques, conducteurs et impédances de surface -#----------------------------------------------------------------------------------------------- - #HAS_PERMEABILITY = BLOC(condition="TYPE in ('DIELECTRIC','CONDUCTOR','ZSURFACIC')", - -#------------------------------------------------ -# sous bloc niveau 2 : PERMEABILITY -#------------------------------------------------ -# - PERMEABILITY = FACT ( statut="f", - ang ="Permeability properties", - fr =u"propriétés de perméabilité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - TYPE_LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR_REAL", - into = ("LINEAR_REAL","NONLINEAR"), - ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials", - fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=('RI',1,0), - ang = "Relative linear permeability value, also used at first nonlinear iteration", - fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire", - ), - NONLINEAR_LAW_PROPERTIES = BLOC (condition="LAW=='NONLINEAR'", - NATURE = SIMP (statut="o", - typ="TXM", - defaut="MARROCCO", - into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"), - ang = "nature law", - fr = u"nature de la loi", - ), - SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'", - FILENAME = SIMP (statut="o", - typ=("FichierNoAbs",'All Files (*)',), # l'existence du fichier n'est pas vérifiée - ang="data file name", - fr =u"nom du fichier contenant les mesures expérimentales B(H)", - ), - ), # Fin BLOC SPLINE_PROPERTIES - MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')", - ALPHA = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="alpha parameter", - fr =u"paramètre alpha de la loi de Marrocco" , - ), - TAU = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="tau parameter", - fr =u"paramètre tau de la loi de Marrocco" , - ), - C = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="c parameter", - fr =u"paramètre c de la loi de Marrocco" , - ), - EPSILON = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="epsilon parameter", - fr =u"paramètre epsilon de la loi de Marrocco" , - ), - ), # Fin BLOC MARROCCO_LAW_PROPERTIES - SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'", - BMAX = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="intersection B", - fr = u"valeur de B marquant la fin de la loi de Marrocco et le début du raccord à la loi de saturation", - ), - HSAT = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="H value", - fr = u"valeur de H définissant la loi de saturation", - ), - BSAT = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="B value", - fr = u"valeur de B définissant la loi de saturation", - ), - JOIN = SIMP (statut="o", - typ="TXM", - defaut="SPLINE", - into= ("SPLINE","PARABOLIC","LINEAR"), - ang="type of join between laws", - fr =u"type de raccord entre la loi choisie et la loi de saturation" , - ), - ), # Fin BLOC SATURATION_LAW_PROPERTIES - APPLIEDTO = SIMP (statut="o", - typ="TXM", - into=("B(H)&H(B)","B(H)","H(B)"), - defaut="B(H)&H(B)", - ang="join applied to", - fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.", - ), - ), # Fin BLOC NONLINEAR_LAW_PROPERTIES - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), # fin FACT PERMEABILITY - #), # Fin BLOC HAS_PERMEABILITY - -##------------------------------------------------------------------ -# Données de permittivité, utilisée pour les diélectriques seulement -#------------------------------------------------------------------- - #HAS_PERMITTIVITY = BLOC(condition="TYPE == 'DIELECTRIC'", - -#------------------------------------------------ -# sous bloc niveau 2 : PERMITTIVITY -#------------------------------------------------ - PERMITTIVITY = FACT ( statut="f", - ang ="Permittivity properties", - fr = u"propriétés de permittivité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR",), - ang = "linear law", - fr = u"loi linéaire", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=('RI',1,0), - ang = "enter a complex relative value", - fr = u"saisir une valeur complexe relative", - ), - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), # fin FACT PERMITTIVITY - - #), # Fin BLOC HAS_PERMITTIVITY - -##---------------------------------------------------------------------------------------------- -# Données de conductivité, utilisée pour les conducteurs et impédances de surface -#----------------------------------------------------------------------------------------------- - #HAS_CONDUCTIVITY = BLOC(condition="TYPE in ('CONDUCTOR','ZSURFACIC')", -#------------------------------------------------ -# sous bloc niveau 2 : CONDUCTIVITY -#------------------------------------------------ - CONDUCTIVITY = FACT ( statut="f", - ang ="Permittivity properties", - fr = u"propriétés de permittivité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR",), - ang = "linear law", - fr = u"loi linéaire", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=('RI',1,0), - ang = "enter a complex relative value", - fr = u"saisir une valeur complexe relative", - ), - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), # fin FACT CONDUCTIVITY - - #), # Fin BLOC HAS_CONDUCTICITY - -################################################################################################### -#--------------------------------------------- -# sous bloc niveau 1 -#--------------------------------------- -# matériau generique de type ZINSULATOR -#--------------------------------------- - -# aucun parametre a saisir pour ce materiau - - -################################################################################################### -#--------------------------------------------- -# sous bloc niveau 1 -#--------------------------------------------- -# matériau generique de type NILMAT (fictif) -#--------------------------------------------- - -# aucun parametre a saisir pour ce materiau - - -################################################################################################### -#---------------------------------------------------------- -# sous bloc niveau 1 : EM_ISOTROPIC_FILES -#------------------------------------------------- -# matériau isotropique non homogene generique -#------------------------------------------------- - EM_ISOTROPIC_properties=BLOC(condition="TYPE=='EM_ISOTROPIC'", - - CONDUCTIVITY_File = SIMP (statut="o", - typ=("FichierNoAbs",'MED Files (*.med)',), - ang="CONDUCTIVITY MED data file name", - fr = u"nom du fichier MED CONDUCTIVITY", - ), - PERMEABILITY_File = SIMP (statut="o", - typ=("FichierNoAbs",'MED Files (*.med)',), - ang="PERMEABILITY MED data file name", - fr = u"nom du fichier MED PERMEABILITY", - ), - ), # fin bloc EM_ISOTROPIC_properties - - -#--------------------------------------------------- -# matériau anisotropique non homogene generique -#--------------------------------------------------- - EM_ANISOTROPIC_properties=BLOC(condition="TYPE=='EM_ANISOTROPIC'", - - PERMEABILITY_File = SIMP (statut="o", - #typ=("Fichier",'.mater Files (*.mater)'), # le fichier doit exister dans le répertoire d'où on lancer Eficas si le fichier est défini par un nom relatif, ce qui est trop contraignant - #typ=("Fichier",'.mater Files (*.mater)','Sauvegarde'), # Le fichier peut ne pas exister, mais on propose de le sauvegarder et d'écraser un fichier existant : pas approprié - typ=("FichierNoAbs",'.mater Files (*.mater)'), # l'existence du fichier n'est pas vérifiée, mais on peut le sélectionner quand même via la navigateur. C'est suffisant et permet une bibliothèque de matériaux. - ang="PERMEABILITY .mater data file name", - fr ="nom du fichier .mater PERMEABILITY", - ), - CONDUCTIVITY_File = SIMP (statut="o", - typ=("FichierNoAbs",'.mater Files (*.mater)'), - ang="CONDUCTIVITY .mater data file name", - fr ="nom du fichier .mater CONDUCTIVITY", - ), - ), # fin bloc EM_ANISOTROPIC_properties - - -) # fin OPER MATERIAL - -#=================================================================== -# 3eme bloc : bloc SOURCES -#==================================================================== -# definition des differentes sources qui seront dans le bloc SOURCES -#------------------------------------------------------------------- -# - -SOURCE = OPER ( nom = "SOURCE", - op = None, - repetable = 'n', - ang = "source definition", - fr = u"définition d'une source", - sd_prod = source, - regles = (UN_PARMI('STRANDED_INDUCTOR','HPORT','EPORT'), # choix d'un type de source - UN_PARMI('WAVEFORM_CONSTANT','WAVEFORM_SINUS'), # choix d'une forme de source - ), - -#---------------------------------------------------------- -# sous bloc niveau 1 : stranded inductor source -##--------------------------------------------------------- - STRANDED_INDUCTOR = FACT(statut='f', - ang="Stranded inductor source", - fr=u"source de type inducteur bobiné", - NTURNS = SIMP (statut="o", - typ="I", - defaut=1, - ang="number of turns in the inductor", - fr= u"nombre de tours dans l'inducteur bobiné", - ), - TYPE = SIMP (statut="o", - typ="TXM", - defaut="CURRENT", - into=("CURRENT",), - fr= u"source de type courant", - ang="current source type", - ), - ), # FIN de FACT STRANDED_INDUCTOR - HPORT = FACT(statut='f', - ang="Magnetic port source", - fr=u"source de type port magnétique", - TYPE = SIMP (statut="o", - typ="TXM", - into=("VOLTAGE","CURRENT"), - fr= u"source de type tension ou courant", - ang="voltage or current source type", - ), - ), # FIN de FACT HPORT - EPORT = FACT(statut='f', - ang="Electric port source", - fr=u"source de type port électrique", - TYPE = SIMP (statut="o", - typ="TXM", - into=("VOLTAGE","CURRENT"), - fr= u"source de type tension ou courant", - ang="voltage or current source type", - ), - ), # FIN de FACT EPORT - WAVEFORM_CONSTANT = FACT(statut='f', - ang="constant source", - fr=u"source constante", - AMPLITUDE = SIMP (statut="o", - typ="R", - defaut=1, - ang = "enter the source magnitude value, in A or V units", - fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V", - ), - ), # FIN de FACT WAVEFORM_CONSTANT - WAVEFORM_SINUS = FACT(statut='f', - ang="sinus variation source", - fr=u"source variant avec une forme sinusoïdale, définie par son amplitude, sa fréquence et sa phase", - AMPLITUDE = SIMP (statut="o", - typ="R", - defaut=1, - ang = "enter the source magnitude value, in A or V units", - fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V", - ), - FREQUENCY = SIMP (statut="o", - typ="R", - defaut=50.0, - ang = "enter the source frequency value, in Hz units", - fr = u"saisir la valeur de la fréquence de la source, en Hz", - ), - PHASE = SIMP (statut="o", - typ="R", - defaut=0.0, - ang = "enter the source phase value, in degrees units", - fr = u"saisir la valeur de la phase de la source, en degrés", - ), - ), # FIN de FACT WAVEFORM_SINUS -) # Fin OPER SOURCE diff --git a/Carmel3D/Carmel3D_Cata_frequentiel_V0.py b/Carmel3D/Carmel3D_Cata_frequentiel_V0.py deleted file mode 100755 index a90c5626..00000000 --- a/Carmel3D/Carmel3D_Cata_frequentiel_V0.py +++ /dev/null @@ -1,552 +0,0 @@ -# -*- coding: utf-8 -*- -# -------------------------------------------------- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# -------------------------------------------------- - -import os -import sys -from Accas import * -import types -from decimal import Decimal -# repertoire ou sont stockés le catalogue carmel3d -# et les fichiers de donnees des materiaux de reference -from prefs_CARMEL3D import repIni - -#print "catalogue carmel" -#print "repIni = ", repIni - -# Version du catalogue -VERSION_CATA = "2.3.1 for harmonic problems" -# -------------------------------------------------- -# definition d une classe pour les materiaux -# definition d une classe pour les sources -# definition d une classe pour les groupes de mailles -# -------------------------------------------------- -class material ( ASSD ) : pass -class source ( ASSD ) : pass -class grmaille ( ASSD ) : pass - -#CONTEXT.debug = 1 -# -------------------------------------------------- -# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire -#--------------------------------------------------- - -##========================================================= -JdC = JDC_CATA ( code = 'CARMEL3D', -# execmodul = None, - regles =( - AU_MOINS_UN ('MATERIAL','INCLUDE'), - AU_MOINS_UN ('SOURCE','INCLUDE'), - AU_MOINS_UN ('MESHGROUP'), - ), - ) # Fin JDC_CATA -##========================================================= -# création d'une macro pour traiter les INCLUDE -# -#---------------------------------------------------------- - -import opsCarmel -INCLUDE = MACRO ( nom = "INCLUDE", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - sd_prod = opsCarmel.INCLUDE, - op_init = opsCarmel.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'comm Files (*.comm);;All Files (*)',), - fr = u"bibliothèque des matériaux", - ang = "material library file", - ), - - ) # Fin MACRO -# -------------------------------------------------- -# definition de groupe de mailles -# il est associe a un materiau ou a une source -#--------------------------------------------------- - -MESHGROUP = OPER (nom = "MESHGROUP", - op = None, - repetable = 'n', - UIinfo= {"groupes":("Definition",)}, - fr= u"attribution d'un matériau ou d'une source à un groupe du maillage", - ang = "mesh group association to material or source", - sd_prod= grmaille, - regles =( - EXCLUS ('MATERIAL','SOURCE'), - ), - -# ---------------------------------------------------------- -# le mot cle SIMP doit etre facultatif sinon la recuperation -# des groupes de mailles sous SALOME ne fonctionne pas car -# le concept ne peut pas etre nomme car non valide -#----------------------------------------------------------- - MATERIAL = SIMP (statut="f", - typ=(material,), - ang="name of the linked material", - fr =u"nom du matériau associé", - ), - SOURCE = SIMP (statut="f", - typ=(source,), - ang="name of the linked source", - fr =u"nom de la source associée", - ), - ) - - -#====================================================================== -# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs -# -#====================================================================== -# 1er bloc : bloc VERSION -# ce bloc est volontairement cache dans l IHM -#=================================================== - -VERSION = PROC ( nom = "VERSION", - op = None, - repetable = 'n', - UIinfo= {"groupes":("CACHE",)}, - ang= "version block definition", - -#---------------------- -# Liste des parametres -#---------------------- - - NUM = SIMP (statut="o", - typ="I", - defaut=1, - ang="version number of the physical model", - into=( 1,), - ), - FILETYPE = SIMP (statut="o", - typ="TXM", - defaut="PHYS", - ang="file type", - into=( "PHYS",), - ), - -) # Fin PROC VERSION - -#=================================================================== -# 2eme bloc : bloc MATERIALS -#=================================================================== -# definition des matériaux utilisateurs -# a partir des materiaux de reference ou de materiaux generiques -#------------------------------------------------------------------- -# -MATERIAL = OPER (nom = "MATERIAL", - op = None, - repetable = 'n', - ang= "material block definition", - fr= u"définition d'un matériau", - sd_prod= material, - regles=EXCLUS('PERMITTIVITY','CONDUCTIVITY'), - -#--------------------------------------------------------------------- -# liste des matériaux de reference fournis par THEMIS et des -# materiaux generiques (les materiaux generiques peuvent etre utilises -# si aucun materiau de reference ne convient) -#--------------------------------------------------------------------- - TYPE = SIMP(statut='o', - typ='TXM', - into=( -# matériaux génériques - "DIELECTRIC", - "CONDUCTOR", - "ZINSULATOR","ZSURFACIC", - "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC", - ), - ang = "generic materials list", - fr = u"liste des matériaux génériques", - ), - -############################################################################## -# Remarque generale a tous les materiaux : -# pour conserver l'affichage scientifique le nombre derriere l'exposant doit -# etre strictement superieur au nombre de decimales -# - -##---------------------------------------------------------------------------------------------- -# Données de perméabilité, utilisée pour les diélectriques, conducteurs et impédances de surface -#----------------------------------------------------------------------------------------------- - #HAS_PERMEABILITY = BLOC(condition="TYPE in ('DIELECTRIC','CONDUCTOR','ZSURFACIC')", - -#------------------------------------------------ -# sous bloc niveau 2 : PERMEABILITY -#------------------------------------------------ -# - PERMEABILITY = FACT ( statut="f", - ang ="Permeability properties", - fr =u"propriétés de perméabilité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR","NONLINEAR"), - ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials", - fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=('RI',1,0), - ang = "Relative linear permeability value, also used at first nonlinear iteration", - fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire", - ), - NONLINEAR_LAW_PROPERTIES = BLOC (condition="LAW=='NONLINEAR'", - NATURE = SIMP (statut="o", - typ="TXM", - defaut="MARROCCO", - into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"), - ang = "nature law", - fr = u"nature de la loi", - ), - SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'", - FILENAME = SIMP (statut="o", - typ=("FichierNoAbs",'All Files (*)',), # l'existence du fichier n'est pas vérifiée - ang="data file name", - fr =u"nom du fichier contenant les mesures expérimentales B(H)", - ), - ), # Fin BLOC SPLINE_PROPERTIES - MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')", - ALPHA = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="alpha parameter", - fr =u"paramètre alpha de la loi de Marrocco" , - ), - TAU = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="tau parameter", - fr =u"paramètre tau de la loi de Marrocco" , - ), - C = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="c parameter", - fr =u"paramètre c de la loi de Marrocco" , - ), - EPSILON = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="epsilon parameter", - fr =u"paramètre epsilon de la loi de Marrocco" , - ), - ), # Fin BLOC MARROCCO_LAW_PROPERTIES - SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'", - BMAX = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="intersection B", - fr = u"valeur de B marquant la fin de la loi de Marrocco et le début du raccord à la loi de saturation", - ), - HSAT = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="H value", - fr = u"valeur de H définissant la loi de saturation", - ), - BSAT = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="B value", - fr = u"valeur de B définissant la loi de saturation", - ), - JOIN = SIMP (statut="o", - typ="TXM", - defaut="SPLINE", - into= ("SPLINE","PARABOLIC","LINEAR"), - ang="type of join between laws", - fr =u"type de raccord entre la loi choisie et la loi de saturation" , - ), - ), # Fin BLOC SATURATION_LAW_PROPERTIES - APPLIEDTO = SIMP (statut="o", - typ="TXM", - into=("B(H)&H(B)","B(H)","H(B)"), - defaut="B(H)&H(B)", - ang="join applied to", - fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.", - ), - ), # Fin BLOC NONLINEAR_LAW_PROPERTIES - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), # fin FACT PERMEABILITY - #), # Fin BLOC HAS_PERMEABILITY - -##------------------------------------------------------------------ -# Données de permittivité, utilisée pour les diélectriques seulement -#------------------------------------------------------------------- - #HAS_PERMITTIVITY = BLOC(condition="TYPE == 'DIELECTRIC'", - -#------------------------------------------------ -# sous bloc niveau 2 : PERMITTIVITY -#------------------------------------------------ - PERMITTIVITY = FACT ( statut="f", - ang ="Permittivity properties", - fr = u"propriétés de permittivité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR",), - ang = "linear law", - fr = u"loi linéaire", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=('RI',1,0), - ang = "enter a complex relative value", - fr = u"saisir une valeur complexe relative", - ), - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), # fin FACT PERMITTIVITY - - #), # Fin BLOC HAS_PERMITTIVITY - -##---------------------------------------------------------------------------------------------- -# Données de conductivité, utilisée pour les conducteurs et impédances de surface -#----------------------------------------------------------------------------------------------- - #HAS_CONDUCTIVITY = BLOC(condition="TYPE in ('CONDUCTOR','ZSURFACIC')", -#------------------------------------------------ -# sous bloc niveau 2 : CONDUCTIVITY -#------------------------------------------------ - CONDUCTIVITY = FACT ( statut="f", - ang ="Permittivity properties", - fr = u"propriétés de permittivité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR",), - ang = "linear law", - fr = u"loi linéaire", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=('RI',1,0), - ang = "enter a complex relative value", - fr = u"saisir une valeur complexe relative", - ), - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), # fin FACT CONDUCTIVITY - - #), # Fin BLOC HAS_CONDUCTICITY - -################################################################################################### -#--------------------------------------------- -# sous bloc niveau 1 -#--------------------------------------- -# matériau generique de type ZINSULATOR -#--------------------------------------- - -# aucun parametre a saisir pour ce materiau - - -################################################################################################### -#--------------------------------------------- -# sous bloc niveau 1 -#--------------------------------------------- -# matériau generique de type NILMAT (fictif) -#--------------------------------------------- - -# aucun parametre a saisir pour ce materiau - - -################################################################################################### -#---------------------------------------------------------- -# sous bloc niveau 1 : EM_ISOTROPIC_FILES -#------------------------------------------------- -# matériau isotropique non homogene generique -#------------------------------------------------- - EM_ISOTROPIC_properties=BLOC(condition="TYPE=='EM_ISOTROPIC'", - - CONDUCTIVITY_File = SIMP (statut="o", - typ=("FichierNoAbs",'MED Files (*.med)',), - ang="CONDUCTIVITY MED data file name", - fr = u"nom du fichier MED CONDUCTIVITY", - ), - PERMEABILITY_File = SIMP (statut="o", - typ=("FichierNoAbs",'MED Files (*.med)',), - ang="PERMEABILITY MED data file name", - fr = u"nom du fichier MED PERMEABILITY", - ), - ), # fin bloc EM_ISOTROPIC_properties - - -#--------------------------------------------------- -# matériau anisotropique non homogene generique -#--------------------------------------------------- - EM_ANISOTROPIC_properties=BLOC(condition="TYPE=='EM_ANISOTROPIC'", - - PERMEABILITY_File = SIMP (statut="o", - #typ=("Fichier",'.mater Files (*.mater)'), # le fichier doit exister dans le répertoire d'où on lancer Eficas si le fichier est défini par un nom relatif, ce qui est trop contraignant - #typ=("Fichier",'.mater Files (*.mater)','Sauvegarde'), # Le fichier peut ne pas exister, mais on propose de le sauvegarder et d'écraser un fichier existant : pas approprié - typ=("FichierNoAbs",'.mater Files (*.mater)'), # l'existence du fichier n'est pas vérifiée, mais on peut le sélectionner quand même via la navigateur. C'est suffisant et permet une bibliothèque de matériaux. - ang="PERMEABILITY .mater data file name", - fr ="nom du fichier .mater PERMEABILITY", - ), - CONDUCTIVITY_File = SIMP (statut="o", - typ=("FichierNoAbs",'.mater Files (*.mater)'), - ang="CONDUCTIVITY .mater data file name", - fr ="nom du fichier .mater CONDUCTIVITY", - ), - ), # fin bloc EM_ANISOTROPIC_properties - - -) # fin OPER MATERIAL - -#=================================================================== -# 3eme bloc : bloc SOURCES -#==================================================================== -# definition des differentes sources qui seront dans le bloc SOURCES -#------------------------------------------------------------------- -# - -SOURCE = OPER ( nom = "SOURCE", - op = None, - repetable = 'n', - ang = "source definition", - fr = u"définition d'une source", - sd_prod = source, - regles = (UN_PARMI('STRANDED_INDUCTOR','HPORT','EPORT'), # choix d'un type de source - UN_PARMI('WAVEFORM_CONSTANT','WAVEFORM_SINUS'), # choix d'une forme de source - ), - -#---------------------------------------------------------- -# sous bloc niveau 1 : stranded inductor source -##--------------------------------------------------------- - STRANDED_INDUCTOR = FACT(statut='f', - ang="Stranded inductor source", - fr=u"source de type inducteur bobiné", - NTURNS = SIMP (statut="o", - typ="I", - defaut=1, - ang="number of turns in the inductor", - fr= u"nombre de tours dans l'inducteur bobiné", - ), - TYPE = SIMP (statut="o", - typ="TXM", - defaut="CURRENT", - into=("CURRENT",), - fr= u"source de type courant", - ang="current source type", - ), - ), # FIN de FACT STRANDED_INDUCTOR - HPORT = FACT(statut='f', - ang="Magnetic port source", - fr=u"source de type port magnétique", - TYPE = SIMP (statut="o", - typ="TXM", - into=("VOLTAGE","CURRENT"), - fr= u"source de type tension ou courant", - ang="voltage or current source type", - ), - ), # FIN de FACT HPORT - EPORT = FACT(statut='f', - ang="Electric port source", - fr=u"source de type port électrique", - TYPE = SIMP (statut="o", - typ="TXM", - into=("VOLTAGE","CURRENT"), - fr= u"source de type tension ou courant", - ang="voltage or current source type", - ), - ), # FIN de FACT EPORT - WAVEFORM_CONSTANT = FACT(statut='f', - ang="constant source", - fr=u"source constante", - AMPLITUDE = SIMP (statut="o", - typ="R", - defaut=1, - ang = "enter the source magnitude value, in A or V units", - fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V", - ), - ), # FIN de FACT WAVEFORM_CONSTANT - WAVEFORM_SINUS = FACT(statut='f', - ang="sinus variation source", - fr=u"source variant avec une forme sinusoïdale, définie par son amplitude, sa fréquence et sa phase", - AMPLITUDE = SIMP (statut="o", - typ="R", - defaut=1, - ang = "enter the source magnitude value, in A or V units", - fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V", - ), - FREQUENCY = SIMP (statut="o", - typ="R", - defaut=50.0, - ang = "enter the source frequency value, in Hz units", - fr = u"saisir la valeur de la fréquence de la source, en Hz", - ), - PHASE = SIMP (statut="o", - typ="R", - defaut=0.0, - ang = "enter the source phase value, in degrees units", - fr = u"saisir la valeur de la phase de la source, en degrés", - ), - ), # FIN de FACT WAVEFORM_SINUS -) # Fin OPER SOURCE diff --git a/Carmel3D/Carmel3D_Cata_frequentiel_V1.py b/Carmel3D/Carmel3D_Cata_frequentiel_V1.py deleted file mode 100644 index b70bb964..00000000 --- a/Carmel3D/Carmel3D_Cata_frequentiel_V1.py +++ /dev/null @@ -1,903 +0,0 @@ -# -*- coding: utf-8 -*- -# -------------------------------------------------- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# -------------------------------------------------- - -import os -import sys -from Accas import * -import types -from decimal import Decimal -# repertoire ou sont stockés le catalogue carmel3d -# et les fichiers de donnees des materiaux de reference -from prefs_CARMEL3D import repIni - -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -#print "catalogue carmel" -#print "repIni = ", repIni - -# Version du catalogue -VERSION_CATA = "Code_Carmel3D 2.4.0 for harmonic problems" -# -------------------------------------------------- -# definition d une classe pour les materiaux -# definition d une classe pour les sources -# definition d une classe pour les groupes de mailles -# -------------------------------------------------- -class material ( ASSD ) : pass -class source ( ASSD ) : pass -class grmaille ( ASSD ) : pass -class stranded_inductor_geometry ( ASSD ) : pass -class macro_groupe ( ASSD ) : pass - -#CONTEXT.debug = 1 -# -------------------------------------------------- -# déclaration du jeu de commandes : 1ere instruction du catalogue obligatoire -#--------------------------------------------------- - -##========================================================= -JdC = JDC_CATA ( code = 'CARMEL3D', - execmodul = None, - regles =( - AU_MOINS_UN ('PARAMETERS'), - AU_PLUS_UN ('PARAMETERS'), - AU_MOINS_UN ('SOLVEUR'), - AU_PLUS_UN ('SOLVEUR'), - AU_MOINS_UN ('POST_COMMANDS'), - AU_PLUS_UN ('POST_COMMANDS'), - AU_MOINS_UN ('MATERIAL','INCLUDE'), - AU_MOINS_UN ('SOURCE','INCLUDE'), - AU_MOINS_UN ('MESHGROUP'), - ), - ) # Fin JDC_CATA - -import opsCarmel - -#====================================================================== -# 1er bloc : bloc VERSION -# ce bloc est volontairement cache dans l IHM -#=================================================== - -VERSION = PROC ( nom = "VERSION", - op = None, - repetable = 'n', - UIinfo= {"groupes":("CACHE",)}, - ang= "version block definition", - -#---------------------- -# Liste des parametres -#---------------------- - - NUM = SIMP (statut="o", - typ="I", - defaut=1, - ang="version number of the physical model", - into=( 1,), - ), - FILETYPE = SIMP (statut="o", - typ="TXM", - defaut="PHYS", - ang="file type", - into=( "PHYS",), - ), - -) # Fin PROC VERSION - -PARAMETERS= PROC ( nom = "PARAMETERS", - op = None, - repetable = 'n', - UIinfo = { "groupes" : ( "1) Parametres", ) }, - ang= "General parameters for this study", - fr= u"Paramètres généraux de l'étude", -#---------------------- -# Liste des parametres -#---------------------- - RepCarmel=SIMP(typ='Repertoire', statut='o', - ang= "Code_Carmel3D executables directory", - fr= u"Répertoire contenant les programmes de Code_Carmel3D", - ), - Fichier_maillage = SIMP (statut="o", typ=("FichierNoAbs",'All Files (*)',), # l'existence du fichier n'est pas vérifiée - ang="Mesh file path (relative, aka file name, or absolute path).", - fr =u"Emplacement du fichier contenant le maillage (relatif, i.e., nom du fichier, ou absolu, i.e., chemin complet).", - ), - - Echelle_du_maillage = SIMP (statut='o', typ="TXM", defaut= "Millimetre", into = ("Metre", "Millimetre"), - ang="Mesh geometry units.", - fr =u"Unités géométriques du maillage.", - ), - - Formulation=SIMP(statut='o', typ='TXM', into=("TOMEGA","APHI"), - ang="Problem formulation.", - fr =u"Formulation du problème.", - ), - - FREQUENCY = SIMP (statut="o", - typ="R", - defaut=50.0, - ang = "enter the source frequency value, in Hz units", - fr = u"saisir la valeur de la fréquence de la source, en Hz", - val_min=0.0, - ), - - Realiser_topologie_gendof = SIMP (statut='o', typ="TXM", defaut="TRUE", into=("TRUE", "FALSE"), - ang="Build topology (.car file) using gendof.exe.", - fr =u"Construction de la topologie (fichier .car) en éxécutant gendof.exe.", - ), - Resoudre_probleme = SIMP (statut='o', typ="TXM", defaut="TRUE", into=("TRUE", "FALSE"), - ang="Solve the problem using fcarmel.exe.", - fr =u"Résolution du problème en éxécutant fcarmel.exe.", - ), - - Realiser_post_traitement_aposteriori = SIMP (statut='o', typ="TXM", defaut="TRUE", into=("TRUE", "FALSE"), - ang="Make post-processing using postprocess.exe.", - fr =u"Réalisation du post-traitement en éxécutant postprocess.exe.", - ), -) # Fin PROC PARAMETERS - -SOLVEUR = PROC ( nom ="SOLVEUR", - op=None, - repetable = 'n', - UIinfo= {"groupes":("1) Parametres",)}, - ang= "Solver parameters for this study", - fr= u"Paramètres liés au solveur de l'étude", - - Type= SIMP (statut="o", - typ="TXM", - into=("Solveur_lineaire"), - defaut='Solveur_lineaire', - ang="Linear solver only for harmonic problems.", - fr =u"Solveur linéaire seulement pour les problèmes fréquentiels.", - ), - - Solveur_lineaire=BLOC(condition="Type=='Solveur_lineaire'", - ang="This block contains whole linear solver properties.", - fr =u"Ce bloc contient toutes les propriétés du solveur linéaire.", - Methode_lineaire=SIMP(statut='o', typ='TXM', into=("Methode iterative BICGCR", "Methode directe MUMPS"), - ang="Algorithm used for this linear solver.", - fr =u"Méthode (algorithme) utilisée par ce solveur linéaire.", - ), - - Parametres_methode_iterative_BICGCR=BLOC(condition="Methode_lineaire=='Methode iterative BICGCR'", - ang="This block contains whole BICGCR algorithm properties used for the linear solver.", - fr =u"Ce bloc contient toutes les propriétés de la méthode BICGCR utilisée par le solveur linéaire.", - Precision=SIMP(statut='o', typ='R', defaut=1e-9, - ang="Accuracy on linear computations.", - fr =u"Précision du calcul linéaire.", - ), - Nombre_iterations_max=SIMP(statut='o', typ='I',defaut=10000, - ang="Maximal number of iterations.", - fr =u"Nombre maximal d'itérations.", - ), - Preconditionneur=SIMP(statut='f', typ='TXM', into=("Jacobi"), defaut='Jacobi', - ang="Preconditioner choice. Jacobi only.", - fr =u"Choix du préconditioneur. Jacobi disponible seulement.", - ), - ), - - Parametres_methode_directe_MUMPS=BLOC(condition="Methode_lineaire=='Methode directe MUMPS'", - ang="This block contains whole MUMPS properties used for the linear solver.", - fr =u"Ce bloc contient toutes les propriétés de la méthode MUMPS utilisée par le solveur linéaire.", - Type_de_matrice=SIMP(statut='o', typ='I', defaut=2, - ang="Matrix type (symetry). 2: symetric. Please refer to MUMPS documentation.", - fr =u"Type de matrice (symétrie). Choisir 2 pour une matrice symétrique. Expliqué dans la documentation MUMPS.", - ), - ICNTL_Control_Parameters=SIMP(statut='o', typ='I', defaut=7, - ang="ICNTL control parameter. Please refer to MUMPS documentation.", - fr =u"Paramètre de contrôle ICNTL. Expliqué dans la documentation MUMPS.", - ), - CNTL_Control_Parameters=SIMP(statut='o', typ='I', defaut=5, - ang="CNTL control parameter. Please refer to MUMPS documentation.", - fr =u"Paramètre de contrôle CNTL. Expliqué dans la documentation MUMPS.", - ), - ), - ), - ) - -POST_COMMANDS = PROC ( nom = "POST_COMMANDS", - op = None, - repetable = 'n', - UIinfo = { "groupes" : ( "1) Parametres", ) }, - ang= "post-processing commands .cmd or .post file", - fr= u"fichiers .cmd ou .post de commandes de post-traitement", - # Sous-parties, moins indentées pour améliorer la lisibilité - # Grandeurs globales - GLOBAL = FACT ( statut="f", - ang ="Post-processing of global quantities", - fr =u"Post-traitement des grandeurs globales", - ), - # Carte de tous les champs possibles - VISU = FACT ( statut="f", - ang ="Post-processing of field maps", - fr =u"Post-traitement des cartes de champ", - VISU_Format=SIMP(statut='o', typ='TXM', into=("MED", "VTK"), defaut="MED"), - VISU_Type=SIMP(statut='o', typ='TXM', into=("ELEMENT", "NOEUD"), defaut="ELEMENT"), - ), - # Ligne de coupe - CUTLINE = FACT ( statut="f", - ang = "Post-processing of one cutline", - fr = u"Post-traitement d'une ligne de coupe", - first_point = SIMP(statut='o', - typ = Tuple(3),validators = VerifTypeTuple(('R','R','R')), - ang="First point of the cutline (cartesian coordinates).", - fr=u"Point de départ (premier point) de la ligne de coupe (coordonnées cartésiennes).", - ), - - last_point = SIMP(statut='o', typ='R', min=3, max=3, - ang="Last point of the cutline (cartesian coordinates).", - fr=u"Point d'arrivée (dernier point) de la ligne de coupe (coordonnées cartésiennes)." - ), - number_of_points = SIMP(statut='o', typ='I', - ang="Number of points of the cutline.", - fr=u"Nombre de points de la ligne de coupe." - ), - name = SIMP(statut='o', typ='TXM', - ang="Name of the cutline, used in the output filename.", - fr=u"Nom de la ligne de coupe, utilisé dans le nom du fichier de sortie." - ), - field = SIMP(statut='o', typ='TXM', into=("H", "B", "J", "E"), - ang="Field on which the cutline is applied.", - fr=u"Champ pour lequel la ligne de coupe est définie." - ), - ), - # Plan de coupe - CUTPLANE = FACT ( statut="f", - ang = "Post-processing of one cutplane", - fr = u"Post-traitement d'un plan de coupe", - normal_vector = SIMP(statut='o', typ='TXM', into=("Ox", "Oy", "Oz"), - ang="Cutplane normal vector, i.e., perpendicular axis, 3 possible cartesian values: Ox, Oy, Oz.", - fr=u"Vecteur normal au plan de coupe, i.e., son axe perpendiculaire, parmi les 3 valeurs cartésiennes Ox, Oy et Oz." - ), - plane_position = SIMP(statut='o', typ='R', - ang="Cutplane position, i.e., its coordinate along the normal vector axis.", - fr=u"Position du plan de coupe, i.e., coordonnée le long de l'axe de vecteur normal." - ), - number_of_points = SIMP(statut='o', typ='I', min=2, max=2, - ang="Number of points on the cutplane, which define a cartesian grid along its canonical directions, e.g., Ox and Oy if plane normal to Oz.", - fr=u"Nombre de points sur le plan de coupe dans les deux directions (grille cartésienne), e.g., Ox et Oy si le plan est normal à Oz." - ), - name = SIMP(statut='o', typ='TXM', - ang="Name of the cutplane, used in the output filename.", - fr=u"Nom du plan de coupe, utilisé dans le nom du fichier de sortie." - ), - field = SIMP(statut='o', typ='TXM', into=("H", "B", "J", "E"), - ang="Field on which the cutplane is applied.", - fr=u"Champ pour lequel le plan de coupe est défini." - ), - ), - -) # Fin PROC POST_COMMANDS - - -#====================================================================== -# le fichier .PHYS contient 3 blocs et jusqu'a 3 niveaux de sous-blocs -# -#====================================================================== - -#=================================================================== -# 2eme bloc : bloc MATERIALS -#=================================================================== -# definition des matériaux utilisateurs -# a partir des materiaux de reference ou de materiaux generiques -#------------------------------------------------------------------- - -MATERIAL = OPER (nom = "MATERIAL", - op = None, - repetable = 'n', - UIinfo = { "groupes" : ( "2) Proprietes", ) }, - ang= "real material block definition", - fr= u"définition d'un matériau réel", - sd_prod= material, - # regles=EXCLUS('PERMITTIVITY','CONDUCTIVITY'), - -#--------------------------------------------------------------------- -# liste des matériaux de reference fournis par THEMIS et des -# materiaux generiques (les materiaux generiques peuvent etre utilises -# si aucun materiau de reference ne convient) -#--------------------------------------------------------------------- - TYPE = SIMP(statut='o', - typ='TXM', - into=( -# matériaux génériques - "DIELECTRIC", - "CONDUCTOR", - "ZINSULATOR","ZSURFACIC", - "NILMAT","EM_ISOTROPIC","EM_ANISOTROPIC", - ), - ang = "generic materials list", - fr = u"liste des matériaux génériques", - ), - -############################################################################## -# Remarque generale a tous les materiaux : -# pour conserver l'affichage scientifique le nombre derriere l'exposant doit -# etre strictement superieur au nombre de decimales -# - -##---------------------------------------------------------------------------------------------- -# Données de perméabilité, utilisée pour les diélectriques, conducteurs et impédances de surface -#----------------------------------------------------------------------------------------------- - #HAS_PERMEABILITY = BLOC(condition="TYPE in ('DIELECTRIC','CONDUCTOR','ZSURFACIC')", - -#------------------------------------------------ -# sous bloc niveau 2 : PERMEABILITY -#------------------------------------------------ -# - PERMEABILITY_properties = BLOC (condition="TYPE=='DIELECTRIC' or TYPE=='CONDUCTOR'", - PERMEABILITY = FACT ( statut="o", - ang ="Permeability properties", - fr =u"propriétés de perméabilité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR","NONLINEAR"), - ang = "harmonic or time-domain linear or nonlinear law only for homogeneous and isotropic materials", - fr = u"loi linéaire (fréquentielle ou temporelle) ou non (homogène et isotrope seulement)", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=1, - ang = "Relative linear permeability value, also used at first nonlinear iteration", - fr = u"Valeur de la perméabilité relative à l'air utilisée pour une loi linéaire ou pour la première itération non-linéaire", - ), - - NONLINEAR_LAW_PROPERTIES = BLOC (condition="LAW=='NONLINEAR'", - NATURE = SIMP (statut="o", - typ="TXM", - defaut="MARROCCO", - into = ("SPLINE","MARROCCO","MARROCCO+SATURATION"), - ang = "nature law", - fr = u"nature de la loi", - ), - SPLINE_LAW_PROPERTIES = BLOC (condition="NATURE=='SPLINE'", - FILENAME = SIMP (statut="o", - typ=("FichierNoAbs",'All Files (*)',), # l'existence du fichier n'est pas vérifiée - ang="data file name", - fr =u"nom du fichier contenant les mesures expérimentales B(H)", - ), - ), # Fin BLOC SPLINE_PROPERTIES - MARROCCO_LAW_PROPERTIES = BLOC (condition="NATURE in ('MARROCCO','MARROCCO+SATURATION')", - ALPHA = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="alpha parameter", - fr =u"paramètre alpha de la loi de Marrocco" , - ), - TAU = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="tau parameter", - fr =u"paramètre tau de la loi de Marrocco" , - ), - C = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="c parameter", - fr =u"paramètre c de la loi de Marrocco" , - ), - EPSILON = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="epsilon parameter", - fr =u"paramètre epsilon de la loi de Marrocco" , - ), - ), # Fin BLOC MARROCCO_LAW_PROPERTIES - SATURATION_LAW_PROPERTIES = BLOC (condition="NATURE=='MARROCCO+SATURATION'", - BMAX = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="intersection B", - fr = u"valeur de B marquant la fin de la loi de Marrocco et le début du raccord à la loi de saturation", - ), - HSAT = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="H value", - fr = u"valeur de H définissant la loi de saturation", - ), - BSAT = SIMP (statut="o", - typ="R", - defaut=0, - val_min=0, - ang="B value", - fr = u"valeur de B définissant la loi de saturation", - ), - JOIN = SIMP (statut="o", - typ="TXM", - defaut="SPLINE", - into= ("SPLINE","PARABOLIC","LINEAR"), - ang="type of join between laws", - fr =u"type de raccord entre la loi choisie et la loi de saturation" , - ), - ), # Fin BLOC SATURATION_LAW_PROPERTIES - APPLIEDTO = SIMP (statut="o", - typ="TXM", - into=("B(H)&H(B)","B(H)","H(B)"), - defaut="B(H)&H(B)", - ang="join applied to", - fr =u"Le raccord tel que défini est appliqué à la courbe B(H) seulement, à la courbe H(B) seulement ou aux deux courbes à la fois. Dans les deux premiers cas, le raccord de la courbe H(B) est inversé numériquement à partir du raccord défini pour la courbe B(H), et vice-versa.", - ), - ), # Fin BLOC NONLINEAR_LAW_PROPERTIES - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), - ),# fin FACT PERMEABILITY - - -##---------------------------------------------------------------------------------------------- -# Données de conductivité, utilisée pour les conducteurs et impédances de surface -#----------------------------------------------------------------------------------------------- - #HAS_CONDUCTIVITY = BLOC(condition="TYPE in ('CONDUCTOR','ZSURFACIC')", -#------------------------------------------------ -# sous bloc niveau 2 : CONDUCTIVITY -#------------------------------------------------ - - CONDUCTIVITY_properties= BLOC (condition="TYPE=='CONDUCTOR'", - CONDUCTIVITY = FACT ( statut="o", - ang ="Permittivity properties", - fr = u"propriétés de permittivité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR",), - ang = "linear law", - fr = u"loi linéaire", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=1, - ang = "enter a complex relative value", - fr = u"saisir une valeur complexe relative", - ), - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), - - ), - - - # fin FACT CONDUCTIVITY - - - -################################################################################################### -#--------------------------------------------- -# sous bloc niveau 1 -#--------------------------------------- -# matériau generique de type ZINSULATOR -#--------------------------------------- - -# aucun parametre a saisir pour ce materiau - - -################################################################################################### -#--------------------------------------------- -# sous bloc niveau 1 -#--------------------------------------------- -# matériau generique de type NILMAT (fictif) -#--------------------------------------------- - -# aucun parametre a saisir pour ce materiau - - -################################################################################################### -#---------------------------------------------------------- -# sous bloc niveau 1 : EM_ISOTROPIC_FILES -#------------------------------------------------- -# matériau isotropique non homogene generique -#------------------------------------------------- - EM_ISOTROPIC_properties=BLOC(condition="TYPE=='EM_ISOTROPIC'", - regles =( - AU_MOINS_UN ('CONDUCTIVITY_File','PERMEABILITY_File'), - ), - CONDUCTIVITY_File = SIMP (statut="f", - typ=("FichierNoAbs",'MED Files (*.med)',), - ang="CONDUCTIVITY MED data file name", - fr = u"nom du fichier MED CONDUCTIVITY", - ), - PERMEABILITY_File = SIMP (statut="f", - typ=("FichierNoAbs",'MED Files (*.med)',), - ang="PERMEABILITY MED data file name", - fr = u"nom du fichier MED PERMEABILITY", - ), - ), # fin bloc EM_ISOTROPIC_properties - - -#--------------------------------------------------- -# matériau anisotropique non homogene generique -#--------------------------------------------------- - EM_ANISOTROPIC_properties=BLOC(condition="TYPE=='EM_ANISOTROPIC'", - regles =( - AU_MOINS_UN ('CONDUCTIVITY_File','PERMEABILITY_File'), - ), - PERMEABILITY_File = SIMP (statut="f", - #typ=("Fichier",'.mater Files (*.mater)'), # le fichier doit exister dans le répertoire d'où on lancer Eficas si le fichier est défini par un nom relatif, ce qui est trop contraignant - #typ=("Fichier",'.mater Files (*.mater)','Sauvegarde'), # Le fichier peut ne pas exister, mais on propose de le sauvegarder et d'écraser un fichier existant : pas approprié - typ=("FichierNoAbs",'.mater Files (*.mater)'), # l'existence du fichier n'est pas vérifiée, mais on peut le sélectionner quand même via la navigateur. C'est suffisant et permet une bibliothèque de matériaux. - ang="PERMEABILITY .mater data file name", - fr ="nom du fichier .mater PERMEABILITY", - ), - CONDUCTIVITY_File = SIMP (statut="f", - typ=("FichierNoAbs",'.mater Files (*.mater)'), - ang="CONDUCTIVITY .mater data file name", - fr ="nom du fichier .mater CONDUCTIVITY", - ), - ), # fin bloc EM_ANISOTROPIC_properties - - -#------------------------------------------------------------------ -# Données de permittivité, utilisée pour les diélectriques seulement -#------------------------------------------------------------------- - #HAS_PERMITTIVITY = BLOC(condition="TYPE == 'DIELECTRIC'", - -#------------------------------------------------ -# sous bloc niveau 2 : PERMITTIVITY -#------------------------------------------------ - - Utiliser_la_permittivite = SIMP (statut='o', - typ='TXM', - into = ("OUI","NON"), - defaut="NON", - ang ="Optionnaly use permittivity or not (default)", - fr = u"Utilisation optionnelle de la permittivité du matériau. Pas d'utilisation par défaut.", - ), - PERMITTIVITY_properties = BLOC (condition="Utiliser_la_permittivite=='OUI'", - PERMITTIVITY = FACT ( statut="o", - ang ="Permittivity properties", - fr = u"propriétés de permittivité du matériau", - HOMOGENEOUS = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is homogeneous or not", - fr = u"le matériau est homogène ou non", - ), - ISOTROPIC = SIMP (statut="o", - typ="TXM", - defaut="TRUE", - into = ("TRUE","FALSE"), - ang = "the material is isotropic or not", - fr = u"le matériau est isotrope ou non", - ), - HOMOGENEOUS_ISOTROPIC_PROPERTIES = BLOC (condition="HOMOGENEOUS=='TRUE' and ISOTROPIC=='TRUE'", - LAW = SIMP (statut="o", - typ="TXM", - defaut="LINEAR", - into = ("LINEAR",), - ang = "linear law", - fr = u"loi linéaire", - ), - VALUE = SIMP (statut="o", - typ="C", - defaut=1, - ang = "enter a complex relative value", - fr = u"saisir une valeur complexe relative", - ), - ), # Fin BLOC HOMOGENEOUS_ISOTROPIC_PROPERTIES - ), - ),# fin FACT PERMITTIVITY - - ) # fin OPER MATERIAL - - - -############################################################################## -# Remarque generale a tous les materiaux : -# pour conserver l'affichage scientifique le nombre derriere l'exposant doit -# etre strictement superieur au nombre de decimales - - -#=================================================================== -# 3eme bloc : bloc SOURCES -#==================================================================== -# definition des differentes sources qui seront dans le bloc SOURCES -#------------------------------------------------------------------- - - - -SOURCE = OPER ( nom = "SOURCE", - op = None, - repetable = 'n', - UIinfo = { "groupes" : ( "2) Proprietes", ) }, - ang = "source definition", - fr = u"définition d'une source", - sd_prod = source, -# regles = (UN_PARMI('STRANDED_INDUCTOR','HPORT','EPORT'), # choix d'un type de source -# UN_PARMI('WAVEFORM_CONSTANT','WAVEFORM_SINUS'), # choix d'une forme de source - - -#---------------------------------------------------------- -# sous bloc niveau 1 : stranded inductor source -##--------------------------------------------------------- - Type=SIMP(statut='o', - typ='TXM', - into=("STRANDED_INDUCTOR", "HPORT", "EPORT"), - ang = "Source type", - fr = u"Type de source", - ), - - STRANDED_INDUCTOR_properties = BLOC (condition="Type=='STRANDED_INDUCTOR'", - STRANDED_INDUCTOR = FACT(statut='o', - ang="Stranded inductor source", - fr=u"source de type inducteur bobiné", - NTURNS = SIMP (statut="o", - typ="I", - defaut=1, - ang="number of turns in the inductor", - fr= u"nombre de tours dans l'inducteur bobiné", - ), - TYPE = SIMP (statut="o", - typ="TXM", - defaut="CURRENT", - into=("CURRENT",), - fr= u"source de type courant", - ang="current source type", - ), - ), - ),# FIN de FACT STRANDED_INDUCTOR - HPORT_properties = BLOC (condition="Type=='HPORT'", - HPORT = FACT(statut='o', - ang="Magnetic port source", - fr=u"source de type port magnétique", - TYPE = SIMP (statut="o", - typ="TXM", - into=("VOLTAGE","CURRENT"), - fr= u"source de type tension ou courant", - ang="voltage or current source type", - ), - ), - ),# FIN de FACT HPORT - EPORT_properties = BLOC (condition="Type=='EPORT'", - EPORT = FACT(statut='o', - ang="Electric port source", - fr=u"source de type port électrique", - TYPE = SIMP (statut="o", - typ="TXM", - into=("VOLTAGE","CURRENT"), - fr= u"source de type tension ou courant", - ang="voltage or current source type", - ), - ), - ),# FIN de FACT EPORT - - Signal=SIMP(statut='o', - typ='TXM', - into=("WAVEFORM_CONSTANT", "WAVEFORM_SINUS"), - ang = "Signal type, i.e., source evolution shape", - fr = u"Type de signal, i.e., forme de la source", - ), - WAVEFORM_CONSTANT_properties = BLOC (condition="Signal=='WAVEFORM_CONSTANT'", - WAVEFORM_CONSTANT = FACT(statut='o', - ang="constant source", - fr=u"source constante", - AMPLITUDE = SIMP (statut="o", - typ="R", - defaut=1, - ang = "enter the source magnitude value, in A or V units", - fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V", - ), - ), - ),# FIN de FACT WAVEFORM_CONSTANT - - WAVEFORM_SINUS_properties = BLOC (condition="Signal=='WAVEFORM_SINUS'", - WAVEFORM_SINUS = FACT(statut='o', - ang="sinus variation source", - fr=u"source variant avec une forme sinusoïdale, définie par son amplitude, sa fréquence et sa phase", - AMPLITUDE = SIMP (statut="o", - typ="R", - defaut=1, - ang = "enter the source magnitude value, in A or V units", - fr = u"saisir la valeur de l'amplitude de la source, en unités A ou V", - ), - FREQUENCY = SIMP (statut="o", - typ="R", - defaut=0.0, - ang = "enter the source frequency value, in Hz units", - fr = u"saisir la valeur de la fréquence de la source, en Hz", - ), - PHASE = SIMP (statut="o", - typ="R", - defaut=0.0, - ang = "enter the source phase value, in degrees units", - fr = u"saisir la valeur de la phase de la source, en degrés", - ), - ), - ),# FIN de FACT WAVEFORM_SINUS - - -)# Fin OPER SOURCE - - -STRANDED_INDUCTOR_GEOMETRY=OPER(nom="STRANDED_INDUCTOR_GEOMETRY", - op=None, - repetable = 'n', - sd_prod=stranded_inductor_geometry, - UIinfo = { "groupes" : ( "2) Proprietes", ) }, - ang = "Geometry properties (shape, direction, etc.) for this stranded inductor", - fr = u"Propriétés géométriques de cet inducteur bobiné, e.g., forme, direction, sens", - - Forme=SIMP(statut='o', typ="TXM", into=("Droit", "Circulaire"), - ang = "Stranded inductor shape. Straight or circular.", - fr = u"Forme de l'inducteur bobiné (complet ou morceau) : droit ou circulaire.", - ), - Propriete= BLOC (condition="Forme=='Circulaire'", - Centre=SIMP(statut='o',typ='R',min=3,max=3, - ang = "Circular stranded inductor rotation center (cartesian coordinates).", - fr = u"Centre de rotation, en coordonnées cartésiennes, de l'inducteur bobiné (complet ou morceau) circulaire.", - ), - ), - Direction=SIMP(statut='o',typ='R',min=3,max=3, - ang = "Stranded inductor direction (or rotation) axis for the straight (circular) inductor (cartesian coordinates).", - fr = u"Axe indiquant la direction de l'inducteur bobiné droit, ou l'axe de rotation (support : Centre) de l'inducteur circulaire, en coordonnées cartésiennes.", - ), - Section=SIMP(statut='o', typ='R', - ang = "Stranded inductor section (m^2).", - fr = u"Section de l'inducteur bobiné, en m^2.", - ), -) - -#========================================================= -# création d'une macro pour traiter les INCLUDE -# -#---------------------------------------------------------- - -INCLUDE = MACRO ( nom = "INCLUDE", - op = None, - UIinfo = { "groupes" : ( "3) Bibliotheque", ) }, - sd_prod = opsCarmel.INCLUDE, - op_init = opsCarmel.INCLUDE_context, - fichier_ini = 1, - ang = "Used in order to add external material, source, etc. libraries to the study.", - fr = u"Permet d'utiliser des bibliothèques de matériaux, sources, etc., dans l'étude.", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'comm Files (*.comm);;All Files (*)',), - fr = u"Emplacement du fichier (chemin absolu ou relatif) contenant la bibliothèque des matériaux, etc.", - ang = "material library file (full or relative path)", - ), - - ) # Fin MACRO - -MESHGROUP = OPER (nom = "MESHGROUP", - op = None, - repetable = 'n', - UIinfo= {"groupes":("4) Maillage",)}, - fr= u"attribution d'un matériau ou d'une source à un groupe du maillage", - ang = "mesh group association to material or source", - sd_prod= grmaille, - regles =( - EXCLUS ('MATERIAL','SOURCE'), - ), - -# ---------------------------------------------------------- -# le mot cle SIMP doit etre facultatif sinon la recuperation -# des groupes de mailles sous SALOME ne fonctionne pas car -# le concept ne peut pas etre nomme car non valide -#----------------------------------------------------------- - Domaine = SIMP (statut="f", - typ=(grmaille, 'TXM'), - defaut="default", - ang="Domain used with stranded inductors or topological holes.", - fr =u"Domaine utilisé par les inducteurs bobinés ou les trous topologiques.", - ), - - MATERIAL = SIMP (statut="f", - typ=(material), - ang="name of the linked real or imaginary material", - fr =u"nom du matériau réel ou imaginaire associé", - ), - SOURCE = SIMP (statut="f", - typ=(source,), - ang="name of the linked source", - fr =u"nom de la source associée", - ), - STRANDED_INDUCTOR_GEOMETRY = SIMP ( statut="f", - typ=(stranded_inductor_geometry), - ang="name of the linked stranded inductor geometry", - fr =u"nom de la géométrie d'inducteur bobiné associée", - ) - ) - -# -------------------------------------------------- -# definition de macro-groupe de mailles -# il est associe a un materiau, source ou inducteur bobiné en morceaux -#--------------------------------------------------- - -MACRO_GROUPE = OPER (nom="MACRO_GROUPE", - op=None, - repetable='n', - sd_prod=macro_groupe, - UIinfo = { "groupes" : ( "4) Maillage", ) }, - fr=u"Macro-groupe = liste de groupes de maillage, e.g., inducteur bobiné en morceaux.", - ang=u"Macro-groupe = liste of mesh groups, e.g., stranded inductor defined as several parts.", - regles =( - EXCLUS ('MATERIAL','SOURCE'), - ), - Domaine = SIMP (statut='f', - typ=(grmaille, 'TXM'), - defaut="default", - ang="Domain used with stranded inductors or topological holes.", - fr =u"Domaine utilisé par les inducteurs bobinés ou les trous topologiques.", - ), - - MATERIAL = SIMP (statut="f", - typ=(material,), - ang="name of the linked real or imaginary material", - fr =u"nom du matériau réel ou imaginaire associé", - ), - SOURCE = SIMP (statut="f", - typ=(source,), - ang="name of the linked source", - fr =u"nom de la source associée", - ), - LISTE_MESHGROUP=SIMP(statut='f',# facultatif pour l'acquisition automatique des groupes du maillage - typ=(grmaille,), - min=1,max=100, - ang="Ordered list of associated mesh groups, e.g., stranded inductor parts or topological hole parts.", - fr =u"Liste ordonnée de groupes de maillage associés entre eux, e.g., morceaux d'un inducteur bobiné ou d'un trou topologique.", - ), -) # Fin OPER diff --git a/Carmel3D/E24 b/Carmel3D/E24 deleted file mode 100644 index bc906b35..00000000 --- a/Carmel3D/E24 +++ /dev/null @@ -1,13 +0,0 @@ - 0. 0. - 1000.000 1.200000 - 1200.000 1.270000 - 1600.000 1.350000 - 3000.000 1.520000 - 6000.000 1.660000 - 10000.00 1.750000 - 20000.00 1.900000 - 30000.00 2.000000 - 49944.66 2.101082 - 80000.00 2.200000 - 132000.0 2.300000 - 250000.0 2.400000 diff --git a/Carmel3D/FEV1000 b/Carmel3D/FEV1000 deleted file mode 100644 index 7324073a..00000000 --- a/Carmel3D/FEV1000 +++ /dev/null @@ -1,31 +0,0 @@ - 0.0000000 0.0000000 - 54.38605 0.5687161 - 125.0879 0.9107189 - 217.0004 1.133191 - 336.4865 1.285649 - 491.8185 1.394206 - 693.7501 1.474002 - 956.2611 1.534492 - 1297.525 1.581962 - 1741.169 1.620847 - 2317.906 1.654481 - 3067.663 1.685556 - 4042.348 1.716430 - 5309.438 1.749361 - 6956.655 1.786698 - 9098.037 1.831067 - 11881.83 1.882414 - 15500.77 1.931322 - 20205.39 1.976478 - 26321.39 2.017967 - 34272.19 2.056381 - 44608.23 2.092746 - 58045.08 2.128448 - 75512.98 2.165203 - 98221.27 2.205061 - 127742.0 2.250466 - 166119.0 2.304362 - 216009.1 2.370358 - 280866.3 2.452947 - 308952.9 2.488242 - diff --git a/Carmel3D/FEV470 b/Carmel3D/FEV470 deleted file mode 100644 index d3281a2f..00000000 --- a/Carmel3D/FEV470 +++ /dev/null @@ -1,31 +0,0 @@ - 0. 0. - 40.28202 0.3233068 - 80.56404 0.6466137 - 133.2969 0.8959763 - 196.5763 1.092960 - 272.5116 1.235844 - 363.6339 1.322937 - 472.9807 1.364753 - 604.1969 1.403417 - 761.6563 1.442002 - 950.6076 1.479882 - 1177.349 1.516478 - 1449.439 1.551293 - 1775.947 1.583937 - 2167.756 1.614135 - 2637.928 1.641730 - 3202.133 1.666674 - 3879.180 1.689014 - 4691.636 1.708866 - 5666.584 1.726406 - 6836.521 1.741841 - 8240.445 1.755403 - 9925.154 1.767332 - 11946.81 1.777868 - 14372.79 1.787249 - 17283.96 1.795704 - 20777.38 1.803454 - 24969.48 1.810715 - 30000.00 1.817699 - 33000.00 1.821469 - diff --git a/Carmel3D/FEV600 b/Carmel3D/FEV600 deleted file mode 100644 index 5281d05d..00000000 --- a/Carmel3D/FEV600 +++ /dev/null @@ -1,31 +0,0 @@ - 0. 0. - 40.28202 0.5217850 - 80.56404 1.043570 - 133.2969 1.219489 - 196.5763 1.330541 - 272.5116 1.406615 - 363.6339 1.461884 - 472.9807 1.503975 - 604.1969 1.537396 - 761.6563 1.565024 - 950.6076 1.588824 - 1177.349 1.610226 - 1449.439 1.630343 - 1775.947 1.650098 - 2167.756 1.670444 - 2637.928 1.693085 - 3202.133 1.718405 - 3879.180 1.746379 - 4691.636 1.776860 - 5666.584 1.809549 - 6836.521 1.843973 - 8240.445 1.879470 - 9925.154 1.915191 - 11946.81 1.950107 - 14372.79 1.983036 - 17283.96 2.012676 - 20777.38 2.037636 - 24969.48 2.056473 - 30000.00 2.067699 - 33000.00 2.071469 - diff --git a/Carmel3D/FEV800 b/Carmel3D/FEV800 deleted file mode 100644 index 810c3ab6..00000000 --- a/Carmel3D/FEV800 +++ /dev/null @@ -1,30 +0,0 @@ - 0. 0. - 40.28202 0.3324555 - 80.56404 0.6649110 - 133.2969 0.9138392 - 196.5763 1.111536 - 272.5116 1.260901 - 363.6339 1.364212 - 472.9807 1.422949 - 604.1969 1.451498 - 761.6563 1.480342 - 950.6076 1.510200 - 1177.349 1.540614 - 1449.439 1.571091 - 1775.947 1.601134 - 2167.756 1.630277 - 2637.928 1.658111 - 3202.133 1.684309 - 3879.180 1.708632 - 4691.636 1.730937 - 5666.584 1.751169 - 6836.521 1.769348 - 8240.445 1.785560 - 9925.154 1.799934 - 11946.81 1.812635 - 14372.79 1.823846 - 17283.96 1.833761 - 20777.38 1.842578 - 24969.48 1.850493 - 30000.00 1.857699 - 33000.00 1.861469 diff --git a/Carmel3D/HA600 b/Carmel3D/HA600 deleted file mode 100644 index 4c4a877c..00000000 --- a/Carmel3D/HA600 +++ /dev/null @@ -1,30 +0,0 @@ - 0. 0. - 40.28202 0.3951843 - 80.56404 0.7903686 - 133.2969 0.9716319 - 196.5763 1.095780 - 272.5116 1.185383 - 363.6339 1.252692 - 472.9807 1.304966 - 604.1969 1.346809 - 761.6563 1.381319 - 950.6076 1.410688 - 1177.349 1.436551 - 1449.439 1.460186 - 1775.947 1.483959 - 2167.756 1.510788 - 2637.928 1.540831 - 3202.133 1.574084 - 3879.180 1.610407 - 4691.636 1.649490 - 5666.584 1.690835 - 6836.521 1.733738 - 8240.445 1.777294 - 9925.154 1.820413 - 11946.81 1.861850 - 14372.79 1.900252 - 17283.96 1.934193 - 20777.38 1.962221 - 24969.48 1.982877 - 30000.00 1.994699 - 33000.00 1.998469 diff --git a/Carmel3D/M600_65 b/Carmel3D/M600_65 deleted file mode 100644 index cfc3f3ba..00000000 --- a/Carmel3D/M600_65 +++ /dev/null @@ -1,30 +0,0 @@ - 0. 0. - 0.1676396E-03 0.2082807E-05 - 0.3352792E-03 0.4165609E-05 - 0.7823178E-03 0.9719718E-05 - 0.1676395E-02 0.2082782E-04 - 0.3464548E-02 0.4304356E-04 - 0.7040854E-02 0.8747321E-04 - 0.1419346E-01 0.1763252E-03 - 0.2849867E-01 0.3540000E-03 - 0.5710909E-01 0.7092333E-03 - 0.1143299 0.1419235E-02 - 0.2287715 0.2837381E-02 - 0.4576545 0.5666269E-02 - 0.9154205 0.1129461E-01 - 1.830952 0.2243500E-01 - 3.662015 0.4426165E-01 - 7.324139 0.8618276E-01 - 14.64838 0.1637067 - 29.29687 0.2975280 - 58.59383 0.5032464 - 117.1877 0.7693985 - 234.3755 1.046909 - 468.7509 1.279960 - 937.5016 1.447085 - 1875.003 1.563602 - 3750.004 1.671697 - 7500.005 1.775926 - 15000.00 1.854134 - 30000.00 1.897699 - 33000.00 1.901469 diff --git a/Carmel3D/M6X2ISO1 b/Carmel3D/M6X2ISO1 deleted file mode 100644 index e6facc82..00000000 --- a/Carmel3D/M6X2ISO1 +++ /dev/null @@ -1,16 +0,0 @@ - 0. 0. - 477.0000 1.100000 - 922.9141 1.633186 - 1337.513 1.756419 - 4292.604 1.852735 - 6366.000 1.880000 - 7958.000 1.900000 - 15915.00 1.980000 - 23873.00 2.020000 - 31830.00 2.045000 - 47746.00 2.080000 - 64329.63 2.111715 - 86767.84 2.145308 - 148638.1 2.239294 - 238700.0 2.355000 - 318300.0 2.420000 diff --git a/Carmel3D/M6X_epsilon.mater b/Carmel3D/M6X_epsilon.mater deleted file mode 100644 index c1c50ef0..00000000 --- a/Carmel3D/M6X_epsilon.mater +++ /dev/null @@ -1 +0,0 @@ - 1.0 diff --git a/Carmel3D/M6X_homog_mu.mater b/Carmel3D/M6X_homog_mu.mater deleted file mode 100644 index 57d6c245..00000000 --- a/Carmel3D/M6X_homog_mu.mater +++ /dev/null @@ -1 +0,0 @@ - 1.5331206E4-j.1.6906576E4 1.9440262E3-j.2.6880635E1 1.6315E1 diff --git a/Carmel3D/M6X_homog_sigma.mater b/Carmel3D/M6X_homog_sigma.mater deleted file mode 100644 index 6597c154..00000000 --- a/Carmel3D/M6X_homog_sigma.mater +++ /dev/null @@ -1 +0,0 @@ - 0.0 diff --git a/Carmel3D/M6X_lineaire_mu.mater b/Carmel3D/M6X_lineaire_mu.mater deleted file mode 100644 index 8698c6b7..00000000 --- a/Carmel3D/M6X_lineaire_mu.mater +++ /dev/null @@ -1 +0,0 @@ - 1.60000E4 2.0000E3 3.0000E1 diff --git a/Carmel3D/M6X_lineaire_sigma.mater b/Carmel3D/M6X_lineaire_sigma.mater deleted file mode 100644 index a4cfcedc..00000000 --- a/Carmel3D/M6X_lineaire_sigma.mater +++ /dev/null @@ -1 +0,0 @@ - 1.492537313E6. diff --git a/Carmel3D/M6X_mu.mater b/Carmel3D/M6X_mu.mater deleted file mode 100644 index fa1141c2..00000000 --- a/Carmel3D/M6X_mu.mater +++ /dev/null @@ -1,22 +0,0 @@ - 0. 0. 0. 0. - 625.9739 1.572659 477.0000 0.7020000 - 796.0000 1.665000 796.0000 1.170000 - 1719.099 1.786521 1591.000 1.310000 - 3183.000 1.810000 3183.000 1.430000 - 3979.000 1.830000 3979.000 1.475000 - 4775.000 1.850000 4775.000 1.510000 - 5570.000 1.865000 5570.000 1.540000 - 6366.000 1.880000 6366.000 1.570000 - 7958.000 1.900000 7958.000 1.620000 - 11937.00 1.950000 11937.00 1.695000 - 15915.00 1.980000 15915.00 1.760000 - 19098.00 2.000000 19098.00 1.810000 - 31830.00 2.045000 31830.00 1.930000 - 47746.00 2.080000 47746.00 2.010000 - 63662.00 2.110000 63662.00 2.070000 - 79577.00 2.145000 79577.00 2.120000 - 111041.0 2.200000 111041.0 2.190000 - 143200.0 2.240000 143200.0 2.255000 - 198900.0 2.310000 198900.0 2.325000 - 238700.0 2.355000 238700.0 2.360000 - 318300.0 2.420000 318300.0 2.420000 diff --git a/Carmel3D/__init__.py b/Carmel3D/__init__.py deleted file mode 100644 index 40a96afc..00000000 --- a/Carmel3D/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# -*- coding: utf-8 -*- diff --git a/Carmel3D/ajoutGroupe.py b/Carmel3D/ajoutGroupe.py deleted file mode 100644 index 7179c9e3..00000000 --- a/Carmel3D/ajoutGroupe.py +++ /dev/null @@ -1,203 +0,0 @@ -# -*- coding: iso-8859-1 -*- - -import re # module interne utilisé pour vérifier la validité du nom du maillage - -concept_re=re.compile(r'[a-zA-Z_]\w*$') # nom de maillage valide s'il correspond à un identifiant (variable) Python possible. Basé sur Ihm/I_Etape.py:nomme_sd, qui fait foi - -def handleAjoutGroupSansFiltre(editor,listeGroup): - """code_Carmel temporel : obtention des groupes de maille du maillage selectionne dans Salome - Les groupes de mailles ne sont pas filtrés. - La creation du MESH_GROUPE n'est donc pas typé. - ATTENTION! Le nom devenant un concept, i.e. une variable Python, certains signes sont interdits dans le nom du groupe, - e.g. les signes moins (-), plus (+), etc. Une erreur est retournee en ce cas. - """ - # retourne le dernier element du JdC, ou None si le JdC est vide, afin de savoir a quelle place ajouter les MESH_GROUPE (en dernier) - debug = True - try: - dernier=editor.tree.racine.children[-1] - except: - dernier=None - for groupe in listeGroup: # parcours de la liste de tous les groupes de maille trouves (volumiques et les autres), puis ecriture du MESHGROUP systématique sans analyse de nom multiple - if debug: print 'groupe=', groupe - if not concept_re.match(groupe): # Le nom du groupe de maillage doit etre un identificateur Python - raise ValueError, "Ce nom de groupe ("+groupe+") ne peut pas etre utilise car il ne peut pas servir de concept a cause de caracteres interdits, e.g. signes moins (-), plus (+), etc." - try: # test de conformite du nom pour un concept, i.e. une variable Python - #exec(groupe+'=None') # le test consiste a tenter de creer une variable, initialisee a None, a partir du nom, e.g. toto=None est bon mais toto-foo=None ne fonctionne pas. - # creation du groupe MESH_GROUPE - if dernier != None: - new_node = dernier.append_brother("MESHGROUP",'after') - else: - new_node=editor.tree.racine.append_child("MESHGROUP",pos='first') - test,mess = new_node.item.nomme_sd(groupe) # precision du nom (de concept) du groupe - if debug: print u"ce nom de groupe ("+groupe+") est utilise..." - dernier=new_node # mise a jour du dernier noeud du JdC, afin de rajouter les autres MESH_GROUPE eventuels a sa suite - except: - raise ValueError, "Ce nom de groupe ("+groupe+") pose un probleme inconnu" - -def handleAjoutGroupAvecFiltre(editor,listeGroup): - """CARMEL3D : obtention des groupes de maille du maillage selectionne dans Salome - Les groupes de mailles sont filtres en utilisant une liste des prefixes autorises pour code Code_Carmel3D, - i.e. un nom de groupe de mailles est DIEL_toto_foo par exemple, qui deviendra toto_foo. - La creation du MESH_GROUPE est type (materiau ou source), d'après le prefixe. - ATTENTION! Le nom devenant un concept, i.e. une variable Python, certains signes sont interdits dans le nom du groupe, - e.g. les signes moins (-), plus (+), etc. Une erreur est retournee en ce cas. - """ - from string import join - debug = False #True - listePrefixesMateriaux = ('DIEL', 'NOCOND','COND', 'ZS', 'ZJ', 'NILMAT') # liste des prefixes pour les materiaux - listePrefixesSourcesHorsInducteur = ('EPORT', 'HPORT') # liste des prefixes pour les sources - listePrefixesInducteurBobine = ('CURRENT', ) # listes des prefixes autorises pour definir la geometrie d'un inducteur bobiné complet ou en morceaux - listePrefixesTrous = ('TOPO', ) # listes des prefixes autorises pour definir la geometrie d'un trou complet ou en morceaux - listePrefixesBBK = ('BBK', ) # listes des prefixes autorises pour definir le groupe d'éléments servant de boîte englobante dans laquelle est calculée K (inducteur bobiné ou topo). - listePrefixes = listePrefixesMateriaux + listePrefixesSourcesHorsInducteur +listePrefixesInducteurBobine + listePrefixesTrous + listePrefixesBBK # liste de tous les prefixes autorises - listePrefixesGroupesMultiples = ('CURRENT', 'TOPO' ) # listes des prefixes autorises pour groupes multiples, i.e. plusieurs groupes de mailles associes en une seule caracteistique materiau ou source - if debug: - print "listePrefixes=", listePrefixes - print "listePrefixesGroupesMultiples=", listePrefixesGroupesMultiples - sep = '_' # separateur entre le prefixe et le nom reel du groupe (qui peut lui aussi contenir ce separateur) - dictGroupesMultiples = {} # dictionnaire contenant les noms reels possibles de groupes multiples et leur occurence dans la liste, i.e. 1 par defaut et > 1 pour une groupe multiple, e.g. pour un inducteur bobine en plusieurs morceaux CURRENT_toto_1, CURRENT_toto_2, ce dictionnaire contiendra 'toto':2 - for groupe in listeGroup: - partiesGroupe = groupe.split(sep) # parties du nom, separees initialement par le separateur du prefixe, e.g. 'CURRENT_toto_foo' devient ['CURRENT','toto','foo'] et 'toto' devient ['toto'] - prefix = partiesGroupe[0] # prefixe possible de ce nom, ou nom lui-meme - if len(partiesGroupe) >= 3 and prefix in listePrefixesGroupesMultiples: # prefixe existant et autorise - nomGroupeMultiple = partiesGroupe[1] # nom possible d'un groupe multiple - if dictGroupesMultiples.has_key(nomGroupeMultiple): # comptage du nombre d'occurrences de ce nom de groupe multiple possible - dictGroupesMultiples[nomGroupeMultiple]['nombre'] += 1 - dictGroupesMultiples[nomGroupeMultiple]['membres'].append(join(partiesGroupe[1:], sep)) - else: - dictGroupesMultiples[nomGroupeMultiple] = {'type': prefix,'nombre':1, 'membres':[join(partiesGroupe[1:], sep)]} - for groupe in dictGroupesMultiples.keys(): # recherche de tous les groupes multiples. Boucle ignorée si aucun groupe multiple. - dictGroupesMultiples[groupe]['membres'].sort() # tri alphabétique des membres du groupe multiple, qui est l'ordre lu par gendof.exe/MED (ordre lexicographique). - dictGroupesMultiples[groupe]['membres'] = tuple(dictGroupesMultiples[groupe]['membres']) # transformation en tuple, qui est le format attendu par le catalogue (LISTE_MESHGROUP) - if debug: - print "dictGroupesMultiples=", dictGroupesMultiples - # retourne le dernier element du JdC, ou None si le JdC est vide, afin de savoir a quelle place ajouter les MESH_GROUPE (en dernier) - try: - dernier=editor.tree.racine.children[-1] - except: - dernier=None - for groupe in listeGroup: # parcours de la liste de tous les groupes de maille trouves (volumiques et les autres), puis ecriture du MESHGROUP systématique sans analyse de nom multiple - if debug: print 'groupe=', groupe - partiesGroupe = groupe.split(sep) # parties du nom, separees initialement par le separateur du prefixe, e.g. 'CURRENT_toto_foo' devient ['CURRENT','toto','foo'] et 'toto' devient ['toto'] - if len(partiesGroupe) == 1: # pas de prefixe - print u"ERREUR: ce nom de groupe ("+groupe+") ne peut pas etre utilise car il n'a pas de prefixe" - elif len(partiesGroupe) >= 2 and partiesGroupe[0] in listePrefixes: # prefixe existant et autorise - prefix = partiesGroupe[0] # prefixe possible de ce nom, ou nom lui-meme - nom = partiesGroupe[1] # nom du groupe ou du macro-groupe si défini. - nomReel = join(partiesGroupe[1:], sep) # reconstruction du nom reel, i.e. sans le prefixe, pour la plupart des groupes - if prefix in listePrefixesBBK: nomReel = groupe # pour la boite englobante, il faut le nom avec préfixe - if not concept_re.match(nomReel): # Le nom du groupe de maillage doit etre un identificateur Python - raise ValueError, "Ce nom de groupe ("+nomReel+") ne peut pas etre utilise car il ne peut pas servir de concept a cause de caracteres interdits, e.g. signes moins (-), plus (+), etc." - try: # test de conformite du nom pour un concept, i.e. une variable Python - #exec(nomReel+'=None') # le test consiste a tenter de creer une variable, initialisee a None, a partir du nom, e.g. toto=None est bon mais toto-foo=None ne fonctionne pas. - # creation du groupe MESH_GROUPE - if dernier != None: - new_node = dernier.append_brother("MESHGROUP",'after') - else: - new_node=editor.tree.racine.append_child("MESHGROUP",pos='first') - test,mess = new_node.item.nomme_sd(nomReel) # precision du nom (de concept) du groupe - if debug: print u"ce nom de groupe ("+nomReel+") est utilise..." - if prefix in listePrefixesMateriaux: # ce groupe est associe a un materiau - new_node.append_child('MATERIAL') # on rajoute la propriete de materiau, qu'il suffit d'associer ensuite a la liste des materiaux presents - if debug: print u" et c'est un materiau." - elif prefix in listePrefixesSourcesHorsInducteur: # ce groupe est associe a une source - new_node.append_child('SOURCE') # on rajoute la propriete de la source, qu'il suffit d'associer ensuite a la liste des sources presentes - if debug: print u" et c'est une source." - elif prefix in listePrefixesInducteurBobine: # ce groupe est associe a une source - new_node.append_child('STRANDED_INDUCTOR_GEOMETRY') # on rajoute la propriete de géométrie de l'inducteur bobiné - if debug: print u" et c'est un inducteur bobine dont on definit la geometrie." - if nom not in dictGroupesMultiples.keys(): # il ne fait pas partie d'un macro-groupe. La source est définie ici, ainsi que le domaine. - new_node.append_child('SOURCE') # on rajoute la propriete de la source, qu'il suffit d'associer ensuite a la liste des sources presentes - new_node.append_child('Domaine') # on rajoute la propriete du domaine (default automatique), qu'il suffit d'associer ensuite a la liste des domaines présents - if debug: print u" et c'est une source en un seul morceau." - else: # ce cas ne devrait pas se produire - pass - dernier=new_node # mise a jour du dernier noeud du JdC, afin de rajouter les autres MESH_GROUPE eventuels a sa suite - except: - raise ValueError, "Ce nom de groupe ("+nomReel+") pose un probleme inconnu" - #print u"ERREUR: ce nom de groupe ("+nomReel+") ne peut pas etre utilise car il ne peut pas servir de concept a cause de caractères interdits, e.g. signes moins (-), plus (+), etc." - else: # prefixe existant mais non autorise - print u"ERREUR: ce nom de groupe ("+groupe+") ne peut pas etre utilise car son prefixe ("+partiesGroupe[0]+") n'est pas dans la liste autorisee "+str(listePrefixes) - if len(dictGroupesMultiples) > 0: # on a des groupes à nom multiples, e.g., inducteur bobiné en morceaux. - for groupe, contenu in dictGroupesMultiples.iteritems(): # parcours de la liste de tous les groupes de maille trouves (volumiques et les autres), et sélection des groupes à nom multiple - if debug: print 'groupe, contenu=', groupe, contenu - nomReel = groupe - prefix = contenu['type'] - try: # test de conformite du nom pour un concept, i.e. une variable Python - exec(nomReel+'=None') # le test consiste a tenter de creer une variable, initialisee a None, a partir du nom, e.g. toto=None est bon mais toto-foo=None ne fonctionne pas. - # creation du groupe MACRO_GROUPE - if dernier != None: - new_node = dernier.append_brother("MACRO_GROUPE",'after') - else: - new_node=editor.tree.racine.append_child("MACRO_GROUPE",pos='first') - test,mess = new_node.item.nomme_sd(nomReel) # precision du nom (de concept) du groupe - if debug: print u"ce nom de groupe ("+nomReel+") est utilise..." - if debug: print u" et on ajoute la liste LISTE_MESHGROUP." - node_list=new_node.append_child('LISTE_MESHGROUP') # Ajout de la liste des membres du groupe multiple - if debug: - print 'Liste possible pour LISTE_MESHGROUP :' - print '_____________________' - print node_list.item.get_liste_possible(()) - print '_____________________' - print dir(node_list.item) - listeNom=node_list.item.get_sd_avant_du_bon_type() - listeObjet=[] - for nom in listeNom: - if nom in dictGroupesMultiples[groupe]['membres']: - #--> transformation du nom en objet - obj,valide=node_list.item.eval_valeur(nom) - listeObjet.append(obj) - node_list.item.set_valeur(listeObjet) - node_list.affichePanneau() - if prefix in listePrefixesMateriaux: # ce groupe est associe a un materiau - new_node.append_child('MATERIAL') # on rajoute la propriete de materiau, qu'il suffit d'associer ensuite a la liste des materiaux presents - if debug: print u" et c'est un materiau." - elif prefix in listePrefixesSourcesHorsInducteur: # ce groupe est associe a une source - new_node.append_child('SOURCE') # on rajoute la propriete de la source, qu'il suffit d'associer ensuite a la liste des sources presentes - if debug: print u" et c'est une source hors inducteur." - elif prefix in listePrefixesInducteurBobine: # ce groupe est associe a une source - new_node.append_child('SOURCE') # on rajoute la propriete de la source, qu'il suffit d'associer ensuite a la liste des sources presentes - new_node.append_child('Domaine') # on rajoute la propriete du domaine (default automatique), qu'il suffit d'associer ensuite a la liste des domaines présents - if debug: print u" et c'est une source inducteur." - elif prefix in listePrefixesTrous: # ce groupe est associe a un trou - new_node.append_child('Domaine') # on rajoute la propriete du domaine (default automatique), qu'il suffit d'associer ensuite a la liste des domaines présents - if debug: print u" et c'est un trou." - else: # ce cas ne devrait pas se produire - pass - dernier=new_node # mise a jour du dernier noeud du JdC, afin de rajouter les autres MESH_GROUPE eventuels a sa suite - except: - print u"ERREUR: ce nom de groupe ("+nomReel+") ne peut pas etre utilise car il ne peut pas servir de concept a cause de caractères interdits, e.g. signes moins (-), plus (+), etc." - -def handleAjoutGroupFiltre(editor,listeGroup): - """CARMEL3D : obtention des groupes de maille du maillage selectionne dans Salome - Les groupes de mailles sont filtres en utilisant une liste des prefixes autorises pour code Code_Carmel3D, - i.e. un nom de groupe de mailles est DIEL_toto_foo par exemple, qui deviendra toto_foo. - La creation du MESH_GROUPE est type (materiau ou source), d'après le prefixe. - ATTENTION! Le nom devenant un concept, i.e. une variable Python, certains signes sont interdits dans le nom du groupe, - e.g. les signes moins (-), plus (+), etc. Une erreur est retournee en ce cas. - """ - from string import join - debug = True - #print 'DEBUG listeGroup manuel' # Il faut aussi commenter la ligne Msg,listeGroup=self.ChercheGrpMailleInSalome() dans la routine ChercheGrpMaille de qtEficas.py - #listeGroup = ['DIEL_air', 'COND_plaque', 'CURRENT_bobine' ] # cas-test plaque Rodger avec DIEL_ - #listeGroup = ['NOCOND_air', 'COND_plaque', 'CURRENT_bobine' ] # cas-test plaque Rodger - #listeGroup = ['DIEL_air', 'COND_plaque', 'NOCOND_noyau', 'CURRENT_bobine_1', 'CURRENT_bobine_2', 'CURRENT_bobine_3' ] - #listeGroup = ['DIEL_air', 'COND_plaque', 'NOCOND_noyau', 'CURRENT_bobine' ] - #listeGroup = ['BBK_bobine', 'DIEL_air', 'COND_plaque', 'NOCOND_noyau', 'CURRENT_bobine' ] # avec BBK - #listeGroup = ['EPORT+_dom', 'EPORT-_dom', 'H', 'COND_cyl', 'EPORT_dom'] # cas-test CSS_Tempimpo - #listeGroup= ['BBK_spire', 'CURRENT_spire_4', 'NOCOND_air', 'CURRENT_spire_3', 'CURRENT_spire_1', 'CURRENT_spire_2'] # cas-test spire_dans l'air en 4 morceaux - #listeGroup= ['BBK_bobine', 'CURRENT_ind_2', 'DIEL_air', 'CURRENT_ind_8', 'CURRENT_ind_6', 'CURRENT_ind_1', 'CURRENT_ind_3', 'CURRENT_ind_7', 'CURRENT_ind_5', 'CURRENT_ind_4', 'BBK_topo', 'COND_plaque', 'TOPO_trou_1', 'TOPO_trou_3', 'TOPO_trou_2', 'TOPO_trou_8', 'TOPO_trou_4', 'TOPO_trou_7', 'TOPO_trou_5', 'TOPO_trou_6'] # cas-test T.E.A.M. Workshop 7 - if debug: - print "listeGroup=", listeGroup - version_catalogue = editor.CONFIGURATION.appli.readercata.version_code # détermination si le catalogue est fréquentiel ou temporel, d'après la deuxième entrée de la liste catalogues dans prefs_CARMEL3D.py - if debug: - print "Version catalogue=", version_catalogue - type_code = version_catalogue.split(' ')[0] # on garde le premier mot de la version du catalogue : 'frequentiel' ou 'temporel' - if debug: - print "Type de code=", type_code - if type_code not in ('frequentiel', 'temporel'): # test de cohérence du type de code - raise ValueError("Ce catalogue n'est ni frequentiel ni temporel") - if type_code == 'frequentiel': - handleAjoutGroupAvecFiltre(editor, listeGroup) - if type_code == 'temporel': - handleAjoutGroupSansFiltre(editor, listeGroup) diff --git a/Carmel3D/configuration_CARMEL3D.py b/Carmel3D/configuration_CARMEL3D.py deleted file mode 100644 index e5597115..00000000 --- a/Carmel3D/configuration_CARMEL3D.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['exec_acrobat', 'catalogues','savedir'] - self.labels_eficas=['path_doc','exec_acrobat','lang','rep_cata','catalogues'] - - self.INSTALLDIR =os.path.dirname(__file__) - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/Carmel3D/materiaux/ACIER_TEAM13 b/Carmel3D/materiaux/ACIER_TEAM13 deleted file mode 100644 index 27b9f3b3..00000000 --- a/Carmel3D/materiaux/ACIER_TEAM13 +++ /dev/null @@ -1,28 +0,0 @@ -# B(H) curve from T.E.A.M. Workshop 13 -# New measures, last table from the notice (COMPEL 1995) -# Measures from B=0 to 1.8 T, saturation J_s=2.16T -# Hmod Bmod -0.0 0.0 -45.0 0.0250 -75.0 0.0500 -120.0 0.1000 -173.0 0.2000 -201.0 0.3000 -222.0 0.4000 -240.0 0.5000 -250.0 0.6000 -265.0 0.7000 -280.0 0.8000 -300.0 0.9000 -330.0 1.0000 -365.0 1.1000 -415.0 1.2000 -500.0 1.3000 -640.0 1.4000 -890.0 1.5000 -1150.0 1.5500 -1940.0 1.6000 -3100.0 1.6500 -4370.0 1.7000 -6347.0 1.7500 -8655.0 1.8000 diff --git a/Carmel3D/materiaux/CMakeLists.txt b/Carmel3D/materiaux/CMakeLists.txt deleted file mode 100644 index f6163590..00000000 --- a/Carmel3D/materiaux/CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES - ACIER_TEAM13 E24 FEV470 FEV600 FEV800 FEV1000 HA600 M600_65 M6X2ISO1 - M6X_epsilon.mater M6X_mu.mater M6X_sigma.mater - M6X_homogene_mu.mater M6X_homogene_sigma.mater - M6X_lineaire_mu.mater M6X_lineaire_sigma.mater - materiaux.comm - DESTINATION ${CMAKE_INSTALL_PREFIX}/Carmel3D/materiaux - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Carmel3D/materiaux/E24 b/Carmel3D/materiaux/E24 deleted file mode 100644 index bc906b35..00000000 --- a/Carmel3D/materiaux/E24 +++ /dev/null @@ -1,13 +0,0 @@ - 0. 0. - 1000.000 1.200000 - 1200.000 1.270000 - 1600.000 1.350000 - 3000.000 1.520000 - 6000.000 1.660000 - 10000.00 1.750000 - 20000.00 1.900000 - 30000.00 2.000000 - 49944.66 2.101082 - 80000.00 2.200000 - 132000.0 2.300000 - 250000.0 2.400000 diff --git a/Carmel3D/materiaux/FEV1000 b/Carmel3D/materiaux/FEV1000 deleted file mode 100644 index 7324073a..00000000 --- a/Carmel3D/materiaux/FEV1000 +++ /dev/null @@ -1,31 +0,0 @@ - 0.0000000 0.0000000 - 54.38605 0.5687161 - 125.0879 0.9107189 - 217.0004 1.133191 - 336.4865 1.285649 - 491.8185 1.394206 - 693.7501 1.474002 - 956.2611 1.534492 - 1297.525 1.581962 - 1741.169 1.620847 - 2317.906 1.654481 - 3067.663 1.685556 - 4042.348 1.716430 - 5309.438 1.749361 - 6956.655 1.786698 - 9098.037 1.831067 - 11881.83 1.882414 - 15500.77 1.931322 - 20205.39 1.976478 - 26321.39 2.017967 - 34272.19 2.056381 - 44608.23 2.092746 - 58045.08 2.128448 - 75512.98 2.165203 - 98221.27 2.205061 - 127742.0 2.250466 - 166119.0 2.304362 - 216009.1 2.370358 - 280866.3 2.452947 - 308952.9 2.488242 - diff --git a/Carmel3D/materiaux/FEV470 b/Carmel3D/materiaux/FEV470 deleted file mode 100644 index d3281a2f..00000000 --- a/Carmel3D/materiaux/FEV470 +++ /dev/null @@ -1,31 +0,0 @@ - 0. 0. - 40.28202 0.3233068 - 80.56404 0.6466137 - 133.2969 0.8959763 - 196.5763 1.092960 - 272.5116 1.235844 - 363.6339 1.322937 - 472.9807 1.364753 - 604.1969 1.403417 - 761.6563 1.442002 - 950.6076 1.479882 - 1177.349 1.516478 - 1449.439 1.551293 - 1775.947 1.583937 - 2167.756 1.614135 - 2637.928 1.641730 - 3202.133 1.666674 - 3879.180 1.689014 - 4691.636 1.708866 - 5666.584 1.726406 - 6836.521 1.741841 - 8240.445 1.755403 - 9925.154 1.767332 - 11946.81 1.777868 - 14372.79 1.787249 - 17283.96 1.795704 - 20777.38 1.803454 - 24969.48 1.810715 - 30000.00 1.817699 - 33000.00 1.821469 - diff --git a/Carmel3D/materiaux/FEV600 b/Carmel3D/materiaux/FEV600 deleted file mode 100644 index 5281d05d..00000000 --- a/Carmel3D/materiaux/FEV600 +++ /dev/null @@ -1,31 +0,0 @@ - 0. 0. - 40.28202 0.5217850 - 80.56404 1.043570 - 133.2969 1.219489 - 196.5763 1.330541 - 272.5116 1.406615 - 363.6339 1.461884 - 472.9807 1.503975 - 604.1969 1.537396 - 761.6563 1.565024 - 950.6076 1.588824 - 1177.349 1.610226 - 1449.439 1.630343 - 1775.947 1.650098 - 2167.756 1.670444 - 2637.928 1.693085 - 3202.133 1.718405 - 3879.180 1.746379 - 4691.636 1.776860 - 5666.584 1.809549 - 6836.521 1.843973 - 8240.445 1.879470 - 9925.154 1.915191 - 11946.81 1.950107 - 14372.79 1.983036 - 17283.96 2.012676 - 20777.38 2.037636 - 24969.48 2.056473 - 30000.00 2.067699 - 33000.00 2.071469 - diff --git a/Carmel3D/materiaux/FEV800 b/Carmel3D/materiaux/FEV800 deleted file mode 100644 index 810c3ab6..00000000 --- a/Carmel3D/materiaux/FEV800 +++ /dev/null @@ -1,30 +0,0 @@ - 0. 0. - 40.28202 0.3324555 - 80.56404 0.6649110 - 133.2969 0.9138392 - 196.5763 1.111536 - 272.5116 1.260901 - 363.6339 1.364212 - 472.9807 1.422949 - 604.1969 1.451498 - 761.6563 1.480342 - 950.6076 1.510200 - 1177.349 1.540614 - 1449.439 1.571091 - 1775.947 1.601134 - 2167.756 1.630277 - 2637.928 1.658111 - 3202.133 1.684309 - 3879.180 1.708632 - 4691.636 1.730937 - 5666.584 1.751169 - 6836.521 1.769348 - 8240.445 1.785560 - 9925.154 1.799934 - 11946.81 1.812635 - 14372.79 1.823846 - 17283.96 1.833761 - 20777.38 1.842578 - 24969.48 1.850493 - 30000.00 1.857699 - 33000.00 1.861469 diff --git a/Carmel3D/materiaux/HA600 b/Carmel3D/materiaux/HA600 deleted file mode 100644 index 4c4a877c..00000000 --- a/Carmel3D/materiaux/HA600 +++ /dev/null @@ -1,30 +0,0 @@ - 0. 0. - 40.28202 0.3951843 - 80.56404 0.7903686 - 133.2969 0.9716319 - 196.5763 1.095780 - 272.5116 1.185383 - 363.6339 1.252692 - 472.9807 1.304966 - 604.1969 1.346809 - 761.6563 1.381319 - 950.6076 1.410688 - 1177.349 1.436551 - 1449.439 1.460186 - 1775.947 1.483959 - 2167.756 1.510788 - 2637.928 1.540831 - 3202.133 1.574084 - 3879.180 1.610407 - 4691.636 1.649490 - 5666.584 1.690835 - 6836.521 1.733738 - 8240.445 1.777294 - 9925.154 1.820413 - 11946.81 1.861850 - 14372.79 1.900252 - 17283.96 1.934193 - 20777.38 1.962221 - 24969.48 1.982877 - 30000.00 1.994699 - 33000.00 1.998469 diff --git a/Carmel3D/materiaux/M600_65 b/Carmel3D/materiaux/M600_65 deleted file mode 100644 index cfc3f3ba..00000000 --- a/Carmel3D/materiaux/M600_65 +++ /dev/null @@ -1,30 +0,0 @@ - 0. 0. - 0.1676396E-03 0.2082807E-05 - 0.3352792E-03 0.4165609E-05 - 0.7823178E-03 0.9719718E-05 - 0.1676395E-02 0.2082782E-04 - 0.3464548E-02 0.4304356E-04 - 0.7040854E-02 0.8747321E-04 - 0.1419346E-01 0.1763252E-03 - 0.2849867E-01 0.3540000E-03 - 0.5710909E-01 0.7092333E-03 - 0.1143299 0.1419235E-02 - 0.2287715 0.2837381E-02 - 0.4576545 0.5666269E-02 - 0.9154205 0.1129461E-01 - 1.830952 0.2243500E-01 - 3.662015 0.4426165E-01 - 7.324139 0.8618276E-01 - 14.64838 0.1637067 - 29.29687 0.2975280 - 58.59383 0.5032464 - 117.1877 0.7693985 - 234.3755 1.046909 - 468.7509 1.279960 - 937.5016 1.447085 - 1875.003 1.563602 - 3750.004 1.671697 - 7500.005 1.775926 - 15000.00 1.854134 - 30000.00 1.897699 - 33000.00 1.901469 diff --git a/Carmel3D/materiaux/M6X2ISO1 b/Carmel3D/materiaux/M6X2ISO1 deleted file mode 100644 index e6facc82..00000000 --- a/Carmel3D/materiaux/M6X2ISO1 +++ /dev/null @@ -1,16 +0,0 @@ - 0. 0. - 477.0000 1.100000 - 922.9141 1.633186 - 1337.513 1.756419 - 4292.604 1.852735 - 6366.000 1.880000 - 7958.000 1.900000 - 15915.00 1.980000 - 23873.00 2.020000 - 31830.00 2.045000 - 47746.00 2.080000 - 64329.63 2.111715 - 86767.84 2.145308 - 148638.1 2.239294 - 238700.0 2.355000 - 318300.0 2.420000 diff --git a/Carmel3D/materiaux/M6X_epsilon.mater b/Carmel3D/materiaux/M6X_epsilon.mater deleted file mode 100644 index c1c50ef0..00000000 --- a/Carmel3D/materiaux/M6X_epsilon.mater +++ /dev/null @@ -1 +0,0 @@ - 1.0 diff --git a/Carmel3D/materiaux/M6X_homogene_mu.mater b/Carmel3D/materiaux/M6X_homogene_mu.mater deleted file mode 100644 index 57d6c245..00000000 --- a/Carmel3D/materiaux/M6X_homogene_mu.mater +++ /dev/null @@ -1 +0,0 @@ - 1.5331206E4-j.1.6906576E4 1.9440262E3-j.2.6880635E1 1.6315E1 diff --git a/Carmel3D/materiaux/M6X_homogene_sigma.mater b/Carmel3D/materiaux/M6X_homogene_sigma.mater deleted file mode 100644 index 6597c154..00000000 --- a/Carmel3D/materiaux/M6X_homogene_sigma.mater +++ /dev/null @@ -1 +0,0 @@ - 0.0 diff --git a/Carmel3D/materiaux/M6X_lineaire_mu.mater b/Carmel3D/materiaux/M6X_lineaire_mu.mater deleted file mode 100644 index 8698c6b7..00000000 --- a/Carmel3D/materiaux/M6X_lineaire_mu.mater +++ /dev/null @@ -1 +0,0 @@ - 1.60000E4 2.0000E3 3.0000E1 diff --git a/Carmel3D/materiaux/M6X_lineaire_sigma.mater b/Carmel3D/materiaux/M6X_lineaire_sigma.mater deleted file mode 100644 index a4cfcedc..00000000 --- a/Carmel3D/materiaux/M6X_lineaire_sigma.mater +++ /dev/null @@ -1 +0,0 @@ - 1.492537313E6. diff --git a/Carmel3D/materiaux/M6X_mu.mater b/Carmel3D/materiaux/M6X_mu.mater deleted file mode 100644 index fa1141c2..00000000 --- a/Carmel3D/materiaux/M6X_mu.mater +++ /dev/null @@ -1,22 +0,0 @@ - 0. 0. 0. 0. - 625.9739 1.572659 477.0000 0.7020000 - 796.0000 1.665000 796.0000 1.170000 - 1719.099 1.786521 1591.000 1.310000 - 3183.000 1.810000 3183.000 1.430000 - 3979.000 1.830000 3979.000 1.475000 - 4775.000 1.850000 4775.000 1.510000 - 5570.000 1.865000 5570.000 1.540000 - 6366.000 1.880000 6366.000 1.570000 - 7958.000 1.900000 7958.000 1.620000 - 11937.00 1.950000 11937.00 1.695000 - 15915.00 1.980000 15915.00 1.760000 - 19098.00 2.000000 19098.00 1.810000 - 31830.00 2.045000 31830.00 1.930000 - 47746.00 2.080000 47746.00 2.010000 - 63662.00 2.110000 63662.00 2.070000 - 79577.00 2.145000 79577.00 2.120000 - 111041.0 2.200000 111041.0 2.190000 - 143200.0 2.240000 143200.0 2.255000 - 198900.0 2.310000 198900.0 2.325000 - 238700.0 2.355000 238700.0 2.360000 - 318300.0 2.420000 318300.0 2.420000 diff --git a/Carmel3D/materiaux/M6X_sigma.mater b/Carmel3D/materiaux/M6X_sigma.mater deleted file mode 100644 index e69de29b..00000000 diff --git a/Carmel3D/materiaux/materiaux.comm b/Carmel3D/materiaux/materiaux.comm deleted file mode 100644 index 3a5f08f8..00000000 --- a/Carmel3D/materiaux/materiaux.comm +++ /dev/null @@ -1,270 +0,0 @@ - -AIR=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=1,), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=1,),); - -ALU=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=1,), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('3.448E+7'),),); - -ACIER_NOIR=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0E+2'),), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('6.00000E+6'),),); - -ACIER_CIMBLOT=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('50.0000'),), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('3.00000E+6'),),); - -ACIER_PE=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('70'),), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.75000E+6'),),); - -ACIER_TEAM13_mesures=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=2376, - NATURE='SPLINE', - FILENAME='ACIER_TEAM13', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=('RI',1,0,),),); - -ACIER_TEAM13_Marrocco=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=2376, - NATURE='MARROCCO+SATURATION', - ALPHA=9.98, - TAU=106000.0, - C=0.0119, - EPSILON=0.000467, - BMAX=1.85, - HSAT=47732.7, - BSAT=2.22, - JOIN='PARABOLIC', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=('RI',1,0,),),); - -BRONZE=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=3.0,), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.00000E+6'),),); - -CUIVRE=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=1.0,), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('5.85E+7'),),); - -E24=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='E24', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -HA600=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='HA600', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -INCONEL600=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=1.01,), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('9.7000E+5'),),); - -FERRITEB30=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.10E+3'),), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=1.0,),); - -FERRITE_Ni_Zn=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('15.0000'),), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('0.0000010000'),),); - -FERRITE_Mn_Zn=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.25E+3'),), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('10'),),); - -FEV470=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='FEV470', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -FEV600=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='FEV600', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -FEV800=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='FEV800', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -FEV1000=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='FEV1000', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -M600_65=MATERIAL(TYPE='DIELECTRIC', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='M600_65', - APPLIEDTO='B(H)&H(B)',), - PERMITTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),),); - -#M6X=MATERIAL(TYPE='EM_ANISOTROPIC', -# PERMEABILITY_File='M6X_mu.mater', -# CONDUCTIVITY_File='M6X_sigma.mater',); - -M6X2ISO1=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='NONLINEAR', - VALUE=Decimal('1.0'), - NATURE='SPLINE', - FILENAME='M6X2ISO1', - APPLIEDTO='B(H)&H(B)',), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.724E+6'),),); - -#M6X_LINEAIRE=MATERIAL(TYPE='EM_ANISOTROPIC', -# PERMEABILITY_File='M6X_lineaire_mu.mater', -# CONDUCTIVITY_File='M6X_lineaire_sigma.mater',); - -#M6X_HOMOGENE=MATERIAL(TYPE='EM_ANISOTROPIC', -# PERMEABILITY_File='M6X_homogene_mu.mater', -# CONDUCTIVITY_File='M6X_homogene_sigma.mater',); - -POTASSE=MATERIAL(TYPE='CONDUCTOR', - PERMEABILITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('1.0'),), - CONDUCTIVITY=_F(HOMOGENEOUS='TRUE', - ISOTROPIC='TRUE', - LAW='LINEAR', - VALUE=Decimal('71.43'),),); -#CHECKSUM:614994a51cd56f24959331e5ef1c7a98 -:FIN CHECKSUM diff --git a/Carmel3D/opsCarmel.py b/Carmel3D/opsCarmel.py deleted file mode 100644 index 8270d474..00000000 --- a/Carmel3D/opsCarmel.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -def INCLUDE(self,FileName,**args): - """ - Fonction sd_prod pour la macro INCLUDE - """ - if hasattr(self,'change_fichier'): - delattr(self,'change_fichier') - delattr(self,'fichier_ini') - - self.make_includeCarmel(fichier=FileName) - -def INCLUDE_context(self,d): - """ - Fonction op_init pour macro INCLUDE - """ - for k,v in self.g_context.items(): - d[k]=v - - diff --git a/Carmel3D/prefs.py b/Carmel3D/prefs.py deleted file mode 100644 index a69b761b..00000000 --- a/Carmel3D/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="CARMEL3D" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/Carmel3D/prefs_CARMEL3D.py b/Carmel3D/prefs_CARMEL3D.py deleted file mode 100644 index 41e26ee1..00000000 --- a/Carmel3D/prefs_CARMEL3D.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -import os - -# repIni sert a localiser le fichier editeur.ini -repIni=os.path.dirname(os.path.abspath(__file__)) - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='utf-8' - -# Choix des catalogues -# format du Tuple (code,version,catalogue,formatOut, finit par defaut Ăventuellement) -catalogues = ( - -# catalogue avec generation Phys et materiaux reels - ('CARMEL3D','temporel (dev)',os.path.join(repIni,'Carmel3D_Cata_temporel_V0.py'),'CARMEL3DTV0','defaut'), - ('CARMEL3D','frequentiel',os.path.join(repIni,'Carmel3D_Cata_frequentiel_V1.py'),'CARMEL3DFV0','defaut') -) diff --git a/Carmel3D/properties.py b/Carmel3D/properties.py deleted file mode 100644 index 3db8254b..00000000 --- a/Carmel3D/properties.py +++ /dev/null @@ -1,25 +0,0 @@ -#@ MODIF properties Accas DATE 02/06/2010 AUTEUR aster M.ADMINISTRATEUR -# CONFIGURATION MANAGEMENT OF EDF VERSION -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "10.1.27" -date = "02/06/2010" -exploit = False diff --git a/Carmel3D/qtEficas_Carmel3D.py b/Carmel3D/qtEficas_Carmel3D.py deleted file mode 100755 index d38a9984..00000000 --- a/Carmel3D/qtEficas_Carmel3D.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -""" - Ce module sert à lancer EFICAS configuré pour Carmel -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/Carmel3D/style.py b/Carmel3D/style.py deleted file mode 100644 index d4855725..00000000 --- a/Carmel3D/style.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Pour modifier le style d'EFICAS il faut ajouter un fichier style.py qui contiendra les -informations sur le style voulu dans son repertoire Eficas_install. - -La methode la plus simple consiste à modifier directement les attributs de l'objet style dans le -fichier style.py d'Eficas_install. Exemple:: - - style.background='yellow' - -pour modifier la couleur du background. - -Il existe une autre méthode qui peut être utilisée quand on veut modifier plusieurs propriétés à la fois. - -Le fichier style.py doit définir une nouvelle classe qui dérive de la classe de base STYLE avec des attributs -de classe qui définiront le nouveau style (par exemple, si on veut modifier le background):: - - class STYLE(STYLE): - background='yellow' - -Il faut ensuite instancier cette classe, dans ce meme fichier, en donnant le nom style à l'objet cree:: - - style=STYLE() - -Tous les attributs de classe possibles sont visibles dans le module Editeur/basestyle.py:: - - background='gray90' - foreground='black' - entry_background='white' - list_background='white' - list_select_background='#00008b' - list_select_foreground='grey' - tooltip_background="yellow" - - standard = ("Helvetica",12) - standard_italique = ("Helvetica",12,'italic') - standard_gras = ("Helvetica",12,'bold') - standard_gras_souligne = ("Helvetica",12,'bold','underline') - - canvas = ('Helvetica',10) - canvas_italique = ('Helvetica',10,'italic') - canvas_gras = ("Helvetica",10,'bold') - canvas_gras_italique = ("Helvetica",12,'bold','italic') - - standard12 = ("Helvetica",14) - standard12_gras = ("Helvetica",14,'bold') - standard12_gras_italique = ( "Helvetica",14,'bold','italic') - - -Le fichier style.py contenu dans le répertoire Aster permet de spécifier des propriétés globales pour une installation. -Les modifications de style contenues dans ce fichier et dans le fichier style.py d'Eficas_install -sont prises en compte dans cet ordre. -""" - -p1=10 -p2=14 -f1="Helvetica" - -style.background='gray90' -style.foreground='black' -style.standard = (f1,p1) -style.standard_italique = (f1,p1,'italic') -style.standard_gras = (f1,p1,'bold') -style.canvas_italique = (f1,p1,'italic') -style.canvas_gras = (f1,p1,'bold') -style.statusfont = (f1,p2) diff --git a/Doc/CMakeLists.txt b/Doc/CMakeLists.txt deleted file mode 100755 index da7ad195..00000000 --- a/Doc/CMakeLists.txt +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright (C) 2001-2020 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com - -find_package(Sphinx REQUIRED) - -# configured documentation tools and intermediate build results -set(BINARY_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/_build") - -# Sphinx cache with pickled ReST documents -set(SPHINX_CACHE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees") - -# HTML output directory -set(SPHINX_HTML_DIR "${CMAKE_CURRENT_BINARY_DIR}/html") - -add_custom_target(EFICAS_NOUVEAUdoc ALL - ${SPHINX_EXECUTABLE} - -q -b html - -d "${SPHINX_CACHE_DIR}" - "${CMAKE_CURRENT_SOURCE_DIR}" - "${SPHINX_HTML_DIR}" - COMMENT "Building HTML documentation with Sphinx") - -INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${CMAKE_INSTALL_PREFIX}/Doc/) diff --git a/Doc/Makefile b/Doc/Makefile deleted file mode 100644 index d4a29d88..00000000 --- a/Doc/Makefile +++ /dev/null @@ -1,153 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = _build - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . -# the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . - -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext - -help: - @echo "Please use \`make ' where is one of" - @echo " html to make standalone HTML files" - @echo " dirhtml to make HTML files named index.html in directories" - @echo " singlehtml to make a single large HTML file" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " qthelp to make HTML files and a qthelp project" - @echo " devhelp to make HTML files and a Devhelp project" - @echo " epub to make an epub" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " text to make text files" - @echo " man to make manual pages" - @echo " texinfo to make Texinfo files" - @echo " info to make Texinfo files and run them through makeinfo" - @echo " gettext to make PO message catalogs" - @echo " changes to make an overview of all changed/added/deprecated items" - @echo " linkcheck to check all external links for integrity" - @echo " doctest to run all doctests embedded in the documentation (if enabled)" - -clean: - -rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - -dirhtml: - $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." - -singlehtml: - $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml - @echo - @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." - -pickle: - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -json: - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in $(BUILDDIR)/htmlhelp." - -qthelp: - $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp - @echo - @echo "Build finished; now you can run "qcollectiongenerator" with the" \ - ".qhcp project file in $(BUILDDIR)/qthelp, like this:" - @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/EFICASdoc.qhcp" - @echo "To view the help file:" - @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/EFICASdoc.qhc" - -devhelp: - $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp - @echo - @echo "Build finished." - @echo "To view the help file:" - @echo "# mkdir -p $$HOME/.local/share/devhelp/EFICASdoc" - @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/EFICASdoc" - @echo "# devhelp" - -epub: - $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub - @echo - @echo "Build finished. The epub file is in $(BUILDDIR)/epub." - -latex: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo - @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." - @echo "Run \`make' in that directory to run these through (pdf)latex" \ - "(use \`make latexpdf' here to do that automatically)." - -latexpdf: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through pdflatex..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -text: - $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text - @echo - @echo "Build finished. The text files are in $(BUILDDIR)/text." - -man: - $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man - @echo - @echo "Build finished. The manual pages are in $(BUILDDIR)/man." - -texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo - @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." - @echo "Run \`make' in that directory to run these through makeinfo" \ - "(use \`make info' here to do that automatically)." - -info: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo "Running Texinfo files through makeinfo..." - make -C $(BUILDDIR)/texinfo info - @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." - -gettext: - $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale - @echo - @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." - -changes: - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes - @echo - @echo "The overview file is in $(BUILDDIR)/changes." - -linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in $(BUILDDIR)/linkcheck/output.txt." - -doctest: - $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest - @echo "Testing of doctests in the sources finished, look at the " \ - "results in $(BUILDDIR)/doctest/output.txt." diff --git a/Doc/ajouter_une_commande.rst b/Doc/ajouter_une_commande.rst deleted file mode 100644 index d33ee01a..00000000 --- a/Doc/ajouter_une_commande.rst +++ /dev/null @@ -1,88 +0,0 @@ -Add a command -============= - -Eficas allows you to create or edit a dataset. Remember it is always possible to save (or read) invalid datasets. -Building dataset consists of adding new commands, entering parameter values and if necessary naming concepts. -see : :ref:`concept-label`. -| -Eficas provides two different widgets : first one allows you to manage commands, second one to enter values for each command. -You can navigate between widgets using arrows or pushbutton. - -.. image:: images/CommandeBouton.png - :align: right - -Command widget shows up at file creation (if the new file is created empty ) or when clicking on : - - - - - - - - - - - - - - -Enter commands ---------------- - -Eficas main widget provided two distinct areas: The left side always contains the dataset explorer as a tree view. The right widget contains all commands the user is allowed to select. -If a dataset consists of a single command, tree view area is not displayed. - -.. image:: images/ChoixCommande.png - :align: center - -| - -To have command's **documentation** (if available), **simple-click** on the command. - -.. image:: images/Documentation1.png - :align: center - -| - - -To **add** the command **click twice.** The new command is added after the current command (highlighted in the tree view). In case of impossibility, a message is displayed. - -.. image:: images/Ordre.png - :align: center - -| - - - -If the dataset must comply with building :ref:`rules-label`, a specific icon appears in the command widget. - -.. image:: images/Regles.png - :align: center - -| - - -The user also can choose the way the commands are sorted, either by alphabetical order, either by fonctionnalities. -Last type of sorting commands is called 'by modelisation' that is to say logical order to prepare data for the code. - -.. image:: images/Groupes.png - :align: center - -| - - -The content filtering system is very simple : only commands containing the expression are shown. - -.. image:: images/FiltreCommande.png - :align: center - -| - - - -The user can use "Find", which is a filter widget to find a concept or command position in the dataset. The pushbutton "next/suivant" shows the next matching concept/command. - -.. image:: images/FindConcept.png - :align: center - - diff --git a/Doc/color_chart.rst b/Doc/color_chart.rst deleted file mode 100644 index 74b5eef4..00000000 --- a/Doc/color_chart.rst +++ /dev/null @@ -1,24 +0,0 @@ -Color chart -=========== - -a very simple colors chart helps the user to know if a item is valid or not : - -* In the Dataset tree view - - - green square : valid objects (Dataset, Command, Concept ...) - - red square : unvalid objects - - **yellow square** : valid **Concept** the user must name - - green diamond : valid group keywords - - red diamond : unvalid group keywords - - green circle : valid keywords - - red circle : unvalid keywords - -* In the input data form widget - - green circle : valid keywords or unvalid objects - - red circle : unvalid keywords or unvalid objects - -* In the rules part - - - red is for unobserved rules - - black is for observed rules - diff --git a/Doc/commentaires_parametres.rst b/Doc/commentaires_parametres.rst deleted file mode 100644 index 65928bc3..00000000 --- a/Doc/commentaires_parametres.rst +++ /dev/null @@ -1,46 +0,0 @@ -Parameters and comments -======================== - -Parameters ------------ -The users can define parameters. As parameters, Eficas accepts : - -- Real -- String -- Integer -- List - -A parameter's definition can use existing parameters such as : -eps=sqrt((((W / NX) ** 2) + ((H / NY) ** 2))) - -right-click menus on tree items allows you to add a parameter. - -.. image:: images/Parametres.png - :align: center - - -Pushing on "Parametres" Pushbutton opens a dialog containing all already existing parameters. You can define as many parameters as needed -at once. - -.. image:: images/Parametres1.png - :align: center - - -to use a parameter, just type its name. - -.. image:: images/Parametres2.png - :align: center - - -Comments ---------- - -Comments may refer to : - -- user annotation. In this case, background label is white. -- generated comment. In this case, background label is light grey. - - -.. image:: images/Commentaire.png - :align: center - diff --git a/Doc/conf.py b/Doc/conf.py deleted file mode 100644 index 819c52a2..00000000 --- a/Doc/conf.py +++ /dev/null @@ -1,139 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2001-2020 EDF R&D -# -# This file is part of SALOME EFICAS module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D - -import sys, os, time, sphinx, logging - -# -- Module version information -------------------------------------------------- - -if "module_version" not in locals(): - module_version = lambda : None - module_version.name = "EFICAS_NOUVEAU" - module_version.year = "%s"%(time.localtime()[0],) - module_version.version = "" - logging.warning('Using fallback "module_version" because none was found') - -# -- Project information ------------------------------------------------------- - -project = u'%s'%module_version.name -author = u'Pascale NOYRET' -copyright = u'2001-%s, EDF R&D, %s'%(module_version.year,author) -version = '%s'%module_version.version -release = '%s'%module_version.version -doctitle = u"%s documentation"%module_version.name -docfull = u"Editeur de FIchier de Commandes et Analyseur Sémantique" - -# -- General configuration ----------------------------------------------------- - -from distutils.version import LooseVersion #, StrictVersion -__lv = LooseVersion(sphinx.__version__) -if __lv < LooseVersion("1.4.0"): - extensions = ['sphinx.ext.pngmath'] -else: - extensions = ['sphinx.ext.imgmath'] -try: - import sphinx_rtd_theme - extensions += ['sphinx_rtd_theme'] - use_rtd_theme = True - logging.debug('Using "sphinx_rtd_theme" that was found') -except: - use_rtd_theme = False - logging.debug('Not using "sphinx_rtd_theme" because none was found') -# -source_suffix = '.rst' -source_encoding = 'utf-8' -master_doc = 'index' -language = 'en' -exclude_patterns = [ - '_build', - 'Thumbs.db', - '.DS_Store', - ] -pygments_style = None -templates_path = ['_templates'] - -# -- Options for HTML output --------------------------------------------------- - -if use_rtd_theme: - html_theme = "sphinx_rtd_theme" -else: - html_theme = 'default' if __lv < LooseVersion("1.3.0") else 'classic' -# -html_title = doctitle -html_static_path = ['_static'] -html_show_sourcelink = False -html_search_language = language - -# -- Options for HTMLHelp output ----------------------------------------------- - -htmlhelp_basename = module_version.name+'doc' - -# -- Options for LaTeX output -------------------------------------------------- - -latex_elements = { - 'papersize': 'a4paper', - 'pointsize': '10pt', - 'figure_align': 'htbp', -} -latex_documents = [ - ('index', '%s.tex'%module_version.name, doctitle, - author, 'manual'), -] - -# -- Options for manual page output -------------------------------------------- - -man_pages = [ - (master_doc, '%s'%module_version.name, doctitle, - [author], 1) -] - -# -- Options for Texinfo output ------------------------------------------------ - -texinfo_documents = [ - (master_doc, '%s'%module_version.name, doctitle, - author, '%s'%module_version.name, docfull, - 'Miscellaneous'), -] - -# -- Options for Epub output --------------------------------------------------- - -epub_title = doctitle -epub_author = author -epub_publisher = author -epub_copyright = copyright -epub_exclude_files = ['search.html'] - -# -- Options for PDF output ---------------------------------------------------- - -pdf_documents = [( - 'contents', - u'%s'%module_version.name, - u'%s'%module_version.name, - author, - dict(pdf_compressed = True), -),] -pdf_stylesheets = ['sphinx','kerning','a4'] -pdf_compressed = True -pdf_inline_footnotes = True - -# -- Extension configuration --------------------------------------------------- diff --git a/Doc/eficas_icons.rst b/Doc/eficas_icons.rst deleted file mode 100644 index 8766460d..00000000 --- a/Doc/eficas_icons.rst +++ /dev/null @@ -1,28 +0,0 @@ -.. _icons-label: - -======================= -Using icons in Eficas -======================= - -Icons ------ - -Icons are used because they are presumed to save time, but all actions can be accessed from menus. -Eficas use a small set of icons. Hopefully, users are familiar with. However, all icons are labelled. - - -.. image:: images/Icons.png - :align: center - - - - -Shortcuts ---------- - -Eficas keybord shortcuts require the user to press a sequence of keys. -These sequences contain 'Ctrl' for common shortcuts as "Ctrl+C", Alt for accessing action of menu, and 'Shift' for specific actions. Note that 'Shift D' allows expanding/collapsing items - - - - diff --git a/Doc/eficas_in_salome.rst b/Doc/eficas_in_salome.rst deleted file mode 100644 index 6dbe7da1..00000000 --- a/Doc/eficas_in_salome.rst +++ /dev/null @@ -1,40 +0,0 @@ -.. _salome-label: - -Eficas in Salome (For Aster) -============================ - -Launching Eficas in Salome ---------------------------- -First activate Eficas module - -.. image:: images/LctDsSalome.png - :align: center - - -Use Eficas. When a file is saved, Eficas will create an associated entry in the object browser. -It is possible to use the file in other modules (see appropriate module's documentation). - -.. image:: images/ArbreSalome.png - :align: center - -Structural Element -------------------- - -Eficas is able to create "structural element" in GEOM or in SMESH in order to -validate data. - -- Create your geometry - -.. image:: images/SalomePylone.png - :align: center - -- Create your Eficas dataseat, and define for example a beam , with AFFE-CARA-ELEM. - -- Click on "View3D". Eficas shows you the result in GEOM and creates "beams" . - Be aware : these "structural elements" are not "geometry elements". You can't use it. - It's also possible to verify normals orientation. - -.. image:: images/SalomePyloneSE.png - :align: center - - diff --git a/Doc/eficas_notions.rst b/Doc/eficas_notions.rst deleted file mode 100644 index ec2e75af..00000000 --- a/Doc/eficas_notions.rst +++ /dev/null @@ -1,67 +0,0 @@ -.. _concept-label: - -Eficas Concepts -================ - -Commands in the Data Set (or JDC Jeu De Commandes ) ---------------------------------------------------- - -A dataset is made of a collection of commands. Each command have parameters (keywords). They can return concept or not: - -* Command not returning concept : they are described as "PROC" in catalogs. - - - example: - - DEBUT() is a proc. - - for ASTER, it initializes memory and files. - -* Command returning a concept : - The concept has a specific type (defined in the catalog) and a name (given by the user). These commandes are described as "OPER" in catalogs. - - - example : - - MONMAIL=LIRE_MAILLAGE(UNITE=20); - - This line creates a new concept MONMAIL of type "maillage", which can be re-used as entry for another keyword. - - When an object is valid, the user has to named it. In tree view, a yellow square shows valid objects that have to be nammed. - -Commands are composed of keywords, or groups of keywords. These items are associated according to rules or conditions. -They are described in the catalog. - - -Keywords ---------- - -* Group of keywords (mot-clef facteur ) - - This is a list of keywords which jointly have a meaning for the code. - It is composed of group of keywords and simple keywords. - Some are mandatory, repeatable. - This list can depend on conditionnal rules. - - -* Simple keyword (mot-clef simple) . - - This is a parameter. It also can be mandatory or not. - It has attributes. - - -Attributes of a keyword ---------------------------- - -a parameter (simple keyword or "mot-clef simple") has : - -- a type : real, string, complex, integer, matrix, file (existing or allready existing), directory or a concept class which is defined in the catalog. -- a cardinality. - -a parameter (simple keyword or "mot-clef simple") should have : - -- a default value -- a short documentation -- a long documentation -- an interval of values -- a set of discrete values - - -Input data panel depends on both these attributes. Eficas ensures that data are valid. It forces the user to enter a list if needed, it verifies the input type. It displays only possible values. - - - diff --git a/Doc/eficas_presentation.rst b/Doc/eficas_presentation.rst deleted file mode 100644 index 45357f53..00000000 --- a/Doc/eficas_presentation.rst +++ /dev/null @@ -1,26 +0,0 @@ -What's Eficas -============== - -Name's origin -------------- -Eficas is the acronym of ' **E**\ diteur de **FI**\ chier de **C**\ ommandes et **A**\ nalyseur **S**\ émantique'. -That means that Eficas allows users to write a parameter file for a code. -It handles with syntax and semantic. -It avoids misuse of commands which are not allowed in a given context. -It insures integrity of the file. - -General Behaviour ------------------- -* Catalogs - -Eficas can be used by multiple codes and handles with multiple versions of each code. It is customized with files named "Catalogs (or Catalogues)" : It contains all commands for a code. Each command has a name and parameters which are defined by developpers. - - -* Outputs - -Eficas's output is a commands file (dataset file or Jeux De Données) ".comm". It may be able to produce various file formats such as .xml, .py or specific format. However, you always must have a '.comm" output: this is the only format Eficas is able to reread. - -Both commands Files and Catalogs are python file. So you have to remind some -:ref:`python-label` - - diff --git a/Doc/eficas_rules.rst b/Doc/eficas_rules.rst deleted file mode 100644 index 63c71df8..00000000 --- a/Doc/eficas_rules.rst +++ /dev/null @@ -1,119 +0,0 @@ -.. _rules-label: - -=============================== -Eficas rules -=============================== - -All the rules can be combinated, creating more complicated rules. - -AU_MOINS_UN ------------ - - AU_MOINS_UN rule obliges the user to create at least one concept of the list. More than one can be created. - -- Example - - Keyword POUTRE in OPER AFFE_CARA_ELEM contains the rule : - - regles=(AU_MOINS_UN( - 'POUTRE','COQUE','DISCRET','CABLE','BARRE','MASSIF','ASSE_GRIL','GRILLE'),) - -- That means if AFFE_CARA_ELEM is used in the JDC, the user must select one at least of the Keyword between POUTRE, COQUE, DISCRET, CABLE, BARRE, MASSIF, ASSE_GRIL, GRILLE : - - * If the user doesn't select any of these keywords, AFFE_CARA_ELEM is unvalid. - * If he selects POUTRE, AFFE_CARA_ELEM is valid. - * If he selects both POUTRE and DISCRET, AFFE_CARA_ELEM is valid. - - -UN_PARMI --------- - - AU_MOINS_UN rule obliges the user to create one and only one concept of the list. - -- Example - - Oper AFFE_CHAR_MECA contains the rules : - - regles=(UN_PARMI('VECT_Y','ANGL_VRIL'), - -- That means if AFFE_CHAR_MECA is used in the JDC, the user must select VECT_Y or ANGL_VRIL. - - * If the user doesn't select any of these keywords, DEFI_GROUP is unvalid. - * If he selects only VECT_Y, DEFI_GROUP is valid. - * Eficas will not proposed the keyword ANGL_VRIL if VECT_Y already exists. - - -EXCLUS --------- - - EXCLUS means that, if one of the keyword is created, the other won't be allowed. - - - Example : - DEFI_SQUELETTE contains the rules : - - EXCLUS('SOUS_STRUC','SECTEUR') - -- That means if DEFI_SQUELETTE is used in the JDC - - * If the user doesn't select any of these keywords, DEFI_SQUELETTE is valid. - * If he selects only SOUS_STRUC, DEFI_SQUELETTE is valid. - * If he selects only SECTEUR, DEFI_SQUELETTE is valid. - * Eficas will not proposed the keyword SECTEUR if SOUS_STRUC already exists. - -ENSEMBLE --------- - - the rule means that if one keyword is selected, the others have to be also. - the keywords order is not meaningful. - -- Example - - GRILLE in AFFE_CARA_ELEM, contains : - - ENSEMBLE('ORIG_AXE','AXE') - -- That means if GRILLE is used in the JDC - - * If the user doesn't select any of these keywords, GRILLE is valid. - * If he selects only ORIG_AXE, GRILLE is invalid. - * If he selects both ORIG_AXE and AXE, GRILLE is valid. - -PRESENT_PRESENT ---------------- - - the rule means that if the FIRST keyword is selected, the others have to be also. - -- Example - - MACRO_MISS_3D contains the rule - - PRESENT_PRESENT('FREQ_MIN','FREQ_MAX','FREQ_PAS') - -- That means if MACRO_MISS_3D is used in the JDC - - * If the user doesn't select any of these keywords, GRILLE is valid. - * If he selects only FREQ_MAX, GRILLE is valid. - * If he selects only FREQ_PAS, GRILLE is valid. - * If he selects only FREQ_MIN, GRILLE is invalid. - * If he selects both FREQ_MIN, FREQ_MAX and FREQ_PAS, GRILLE is valid. - - -PRESENT_ABSENT ---------------- - - the rule means that if the FIRST keyword is selected, the others aren't allowed. - -- Example - FORCE_COQUE in AFFE_CHAR_MECA contains - - regles=( PRESENT_ABSENT('FX','PRES','F1','F2','F3','MF1','MF2'), - -- That means if FORCE_COQUE is used in the JDC - - * If the user doesn't select any of these keywords, FORCE_COQUE is valid. - * If he selects only FX, FORCE_COQUE is valid. - * If he selects both PRES and F1, FORCE_COQUE is valid. - - - - diff --git a/Doc/images/ArbreSalome.png b/Doc/images/ArbreSalome.png deleted file mode 100644 index f9819f07..00000000 Binary files a/Doc/images/ArbreSalome.png and /dev/null differ diff --git a/Doc/images/ChoixCata.png b/Doc/images/ChoixCata.png deleted file mode 100644 index adc17bf4..00000000 Binary files a/Doc/images/ChoixCata.png and /dev/null differ diff --git a/Doc/images/ChoixCode.png b/Doc/images/ChoixCode.png deleted file mode 100644 index 0f265322..00000000 Binary files a/Doc/images/ChoixCode.png and /dev/null differ diff --git a/Doc/images/ChoixCommande.png b/Doc/images/ChoixCommande.png deleted file mode 100644 index 737ee735..00000000 Binary files a/Doc/images/ChoixCommande.png and /dev/null differ diff --git a/Doc/images/CommandeBouton.png b/Doc/images/CommandeBouton.png deleted file mode 100644 index 990f8831..00000000 Binary files a/Doc/images/CommandeBouton.png and /dev/null differ diff --git a/Doc/images/Commentaire.png b/Doc/images/Commentaire.png deleted file mode 100644 index 22dc4e99..00000000 Binary files a/Doc/images/Commentaire.png and /dev/null differ diff --git a/Doc/images/DataMenu.png b/Doc/images/DataMenu.png deleted file mode 100644 index 5376bd40..00000000 Binary files a/Doc/images/DataMenu.png and /dev/null differ diff --git a/Doc/images/DblClickOnOptional.png b/Doc/images/DblClickOnOptional.png deleted file mode 100644 index 333d79fc..00000000 Binary files a/Doc/images/DblClickOnOptional.png and /dev/null differ diff --git a/Doc/images/Documentation1.png b/Doc/images/Documentation1.png deleted file mode 100644 index f332d959..00000000 Binary files a/Doc/images/Documentation1.png and /dev/null differ diff --git a/Doc/images/DoubleFleche.png b/Doc/images/DoubleFleche.png deleted file mode 100644 index 7834570e..00000000 Binary files a/Doc/images/DoubleFleche.png and /dev/null differ diff --git a/Doc/images/Duplication.png b/Doc/images/Duplication.png deleted file mode 100644 index ca22d72d..00000000 Binary files a/Doc/images/Duplication.png and /dev/null differ diff --git a/Doc/images/Erreur.png b/Doc/images/Erreur.png deleted file mode 100644 index 8be418e1..00000000 Binary files a/Doc/images/Erreur.png and /dev/null differ diff --git a/Doc/images/FichiersEtRepertoires.png b/Doc/images/FichiersEtRepertoires.png deleted file mode 100644 index 5f38cf95..00000000 Binary files a/Doc/images/FichiersEtRepertoires.png and /dev/null differ diff --git a/Doc/images/FiltreCommande.png b/Doc/images/FiltreCommande.png deleted file mode 100644 index 6ebf78c1..00000000 Binary files a/Doc/images/FiltreCommande.png and /dev/null differ diff --git a/Doc/images/FindConcept.png b/Doc/images/FindConcept.png deleted file mode 100644 index d2d55ec7..00000000 Binary files a/Doc/images/FindConcept.png and /dev/null differ diff --git a/Doc/images/GererFichiers.png b/Doc/images/GererFichiers.png deleted file mode 100644 index 3434e230..00000000 Binary files a/Doc/images/GererFichiers.png and /dev/null differ diff --git a/Doc/images/GererMCS.png b/Doc/images/GererMCS.png deleted file mode 100644 index 67a72591..00000000 Binary files a/Doc/images/GererMCS.png and /dev/null differ diff --git a/Doc/images/Groupes.png b/Doc/images/Groupes.png deleted file mode 100644 index 9abcf80d..00000000 Binary files a/Doc/images/Groupes.png and /dev/null differ diff --git a/Doc/images/Icons.png b/Doc/images/Icons.png deleted file mode 100644 index f6582e62..00000000 Binary files a/Doc/images/Icons.png and /dev/null differ diff --git a/Doc/images/Import.png b/Doc/images/Import.png deleted file mode 100644 index 2b932552..00000000 Binary files a/Doc/images/Import.png and /dev/null differ diff --git a/Doc/images/LctDsSalome.png b/Doc/images/LctDsSalome.png deleted file mode 100644 index 59057700..00000000 Binary files a/Doc/images/LctDsSalome.png and /dev/null differ diff --git a/Doc/images/ListeEtTuple.png b/Doc/images/ListeEtTuple.png deleted file mode 100644 index 807771dd..00000000 Binary files a/Doc/images/ListeEtTuple.png and /dev/null differ diff --git a/Doc/images/Main.png b/Doc/images/Main.png deleted file mode 100644 index 003ca74b..00000000 Binary files a/Doc/images/Main.png and /dev/null differ diff --git a/Doc/images/Matrice.png b/Doc/images/Matrice.png deleted file mode 100644 index 0d2ec7a3..00000000 Binary files a/Doc/images/Matrice.png and /dev/null differ diff --git a/Doc/images/Menus.png b/Doc/images/Menus.png deleted file mode 100644 index d19eff3c..00000000 Binary files a/Doc/images/Menus.png and /dev/null differ diff --git a/Doc/images/Multi.png b/Doc/images/Multi.png deleted file mode 100644 index 0c500fbd..00000000 Binary files a/Doc/images/Multi.png and /dev/null differ diff --git a/Doc/images/NomPython.png b/Doc/images/NomPython.png deleted file mode 100644 index d24e6f0a..00000000 Binary files a/Doc/images/NomPython.png and /dev/null differ diff --git a/Doc/images/NommerObjet.png b/Doc/images/NommerObjet.png deleted file mode 100644 index 5bb63fe8..00000000 Binary files a/Doc/images/NommerObjet.png and /dev/null differ diff --git a/Doc/images/Nouveau.png b/Doc/images/Nouveau.png deleted file mode 100644 index 0ef1e48a..00000000 Binary files a/Doc/images/Nouveau.png and /dev/null differ diff --git a/Doc/images/OptionnelCommande.png b/Doc/images/OptionnelCommande.png deleted file mode 100644 index e76a567f..00000000 Binary files a/Doc/images/OptionnelCommande.png and /dev/null differ diff --git a/Doc/images/OptionnelCommande1.png b/Doc/images/OptionnelCommande1.png deleted file mode 100644 index a6395998..00000000 Binary files a/Doc/images/OptionnelCommande1.png and /dev/null differ diff --git a/Doc/images/OptionnelParametersAdao.png b/Doc/images/OptionnelParametersAdao.png deleted file mode 100644 index e04ffc03..00000000 Binary files a/Doc/images/OptionnelParametersAdao.png and /dev/null differ diff --git a/Doc/images/OptionnelParametersAdao1.png b/Doc/images/OptionnelParametersAdao1.png deleted file mode 100644 index e6dfc05a..00000000 Binary files a/Doc/images/OptionnelParametersAdao1.png and /dev/null differ diff --git a/Doc/images/Ordre.png b/Doc/images/Ordre.png deleted file mode 100644 index 6c1c4252..00000000 Binary files a/Doc/images/Ordre.png and /dev/null differ diff --git a/Doc/images/Ouvrir.png b/Doc/images/Ouvrir.png deleted file mode 100644 index 1ad549ec..00000000 Binary files a/Doc/images/Ouvrir.png and /dev/null differ diff --git a/Doc/images/Parametres.png b/Doc/images/Parametres.png deleted file mode 100644 index 185fed8a..00000000 Binary files a/Doc/images/Parametres.png and /dev/null differ diff --git a/Doc/images/Parametres1.png b/Doc/images/Parametres1.png deleted file mode 100644 index 6c9029d9..00000000 Binary files a/Doc/images/Parametres1.png and /dev/null differ diff --git a/Doc/images/Parametres2.png b/Doc/images/Parametres2.png deleted file mode 100644 index 7561fcb4..00000000 Binary files a/Doc/images/Parametres2.png and /dev/null differ diff --git a/Doc/images/Poubelle.png b/Doc/images/Poubelle.png deleted file mode 100644 index 26cd6cc4..00000000 Binary files a/Doc/images/Poubelle.png and /dev/null differ diff --git a/Doc/images/Recents.png b/Doc/images/Recents.png deleted file mode 100644 index 09365701..00000000 Binary files a/Doc/images/Recents.png and /dev/null differ diff --git a/Doc/images/Regles.png b/Doc/images/Regles.png deleted file mode 100644 index 508f0109..00000000 Binary files a/Doc/images/Regles.png and /dev/null differ diff --git a/Doc/images/Roue.png b/Doc/images/Roue.png deleted file mode 100644 index bcabda6d..00000000 Binary files a/Doc/images/Roue.png and /dev/null differ diff --git a/Doc/images/Run.png b/Doc/images/Run.png deleted file mode 100644 index d4ce89ae..00000000 Binary files a/Doc/images/Run.png and /dev/null differ diff --git a/Doc/images/SalomePylone.png b/Doc/images/SalomePylone.png deleted file mode 100644 index 3aff78cd..00000000 Binary files a/Doc/images/SalomePylone.png and /dev/null differ diff --git a/Doc/images/SalomePyloneSE.png b/Doc/images/SalomePyloneSE.png deleted file mode 100644 index 1be99b77..00000000 Binary files a/Doc/images/SalomePyloneSE.png and /dev/null differ diff --git a/Doc/images/Scripts.png b/Doc/images/Scripts.png deleted file mode 100644 index e49a2b56..00000000 Binary files a/Doc/images/Scripts.png and /dev/null differ diff --git a/Doc/images/SelectAllInList.png b/Doc/images/SelectAllInList.png deleted file mode 100644 index 2bd91a57..00000000 Binary files a/Doc/images/SelectAllInList.png and /dev/null differ diff --git a/Doc/images/ShowAllValues.png b/Doc/images/ShowAllValues.png deleted file mode 100644 index b9ca58e9..00000000 Binary files a/Doc/images/ShowAllValues.png and /dev/null differ diff --git a/Doc/images/TPXO.png b/Doc/images/TPXO.png deleted file mode 100644 index fbc67540..00000000 Binary files a/Doc/images/TPXO.png and /dev/null differ diff --git a/Doc/images/ToolTipOnButton.png b/Doc/images/ToolTipOnButton.png deleted file mode 100644 index 1861b2d3..00000000 Binary files a/Doc/images/ToolTipOnButton.png and /dev/null differ diff --git a/Doc/images/ToolTipOnLabel.png b/Doc/images/ToolTipOnLabel.png deleted file mode 100644 index 2e369c6d..00000000 Binary files a/Doc/images/ToolTipOnLabel.png and /dev/null differ diff --git a/Doc/images/ToolTipOnLineEdit.png b/Doc/images/ToolTipOnLineEdit.png deleted file mode 100644 index c2ab10d8..00000000 Binary files a/Doc/images/ToolTipOnLineEdit.png and /dev/null differ diff --git a/Doc/images/ToolTipOnRed.png b/Doc/images/ToolTipOnRed.png deleted file mode 100644 index 441d51c3..00000000 Binary files a/Doc/images/ToolTipOnRed.png and /dev/null differ diff --git a/Doc/images/Zero.png b/Doc/images/Zero.png deleted file mode 100644 index 96381c7b..00000000 Binary files a/Doc/images/Zero.png and /dev/null differ diff --git a/Doc/index.rst b/Doc/index.rst deleted file mode 100644 index d67712ea..00000000 --- a/Doc/index.rst +++ /dev/null @@ -1,35 +0,0 @@ -.. EFICAS documentation master file, created by sphinx-quickstart on Wed Sep 14 11:40:32 2011. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -Welcome to EFICAS's documentation! -================================== - -This documentation covers the usage of Eficas as data setting tool. -This is intended for end users who want to use Eficas and not for developpers who want to write a catalog. - -The usage of Eficas for a particular code is not described in this guide. Refer to -code documentation to know how to use Eficas more specifically. - -Contents: - -.. toctree:: - :maxdepth: 1 - - eficas_presentation - lancer_eficas - nouveau_JDC - ajouter_une_commande - parametrer_une_commande - color_chart - commentaires_parametres - eficas_icons - widgetInDetails - eficas_notions - eficas_rules - python_rules - eficas_in_salome - - - - diff --git a/Doc/lancer_eficas.rst b/Doc/lancer_eficas.rst deleted file mode 100644 index 1eab8dd7..00000000 --- a/Doc/lancer_eficas.rst +++ /dev/null @@ -1,33 +0,0 @@ -Running Eficas -============== - -In Eficas, many common commands can be invoked via menus, toolbar buttons as well as keyboard shortcuts. -As in many GUI, a menu widget can be either a pull-down menu or a standalone context menu. Pull-down menus are shown by the menu bar when the user clicks on the respective item or presses the specified shortcut key. Context menus are usually invoked by some special keyboard key or by right-clicking. -Eficas allows you to write (and reread) an unvalid file. At any time, you can save your works. - - -- Eficas is mainly available in Salome, and often from code's modules (for example for Aster or Adao). Otherwise, see how to launch : :ref:`salome-label`. -- To run Eficas standalone, use command line : python Code/qtEficas_Code. -- On Windows, use .bat to run Eficas. - -*If Eficas is installed on your machine only for one specific code and one specific version of this code, skeep the two next steps.* - - - -Choose a Code ... ------------------- - -Unless you have started Eficas for a specific code, Eficas will ask you to choose the code you want to work with, -each time you click on "Nouveau/New" or "Ouvrir/Open" in the "Fichier/File" menu. - -.. image:: images/ChoixCode.png - :align: center - -and a version of the Code ----------------------------- - -if many catalogs (ie many versions ) are available, Eficas will ask you to select one. - -.. image:: images/ChoixCata.png - :align: center - diff --git a/Doc/nouveau_JDC.rst b/Doc/nouveau_JDC.rst deleted file mode 100644 index cc2dc9f9..00000000 --- a/Doc/nouveau_JDC.rst +++ /dev/null @@ -1,79 +0,0 @@ -First step -=========== - -Build a new dataset. ---------------------- -Launch Eficas and choose "Nouveau/New" in "File" menu. - -.. image:: images/Nouveau.png - :align: center - -For some codes (Telemac or PSEN), simulation dataset are pre-filled with mandatory keywords. Users complete the dataset with values -and add new commands if needed. In this case, the window that allows to :ref:`form-label` appears. - - -Open an existing dataset. ---------------------------- -Launch Eficas and choose "Open/Ouvrir" in "File" menu. It shows up a file Open/Save dialog window. - -.. image:: images/Ouvrir.png - :align: center - -Open a "Recently Used" dataset. --------------------------------- -To open a document that you recently used, click "File" , point to "Recently Opened", and then click the item that you want to open. - -.. image:: images/Recents.png - :align: center - -To clear the contents of the list, click 'Delete' item. - - -Data/Jdc Menu. ----------------- - -.. image:: images/DataMenu.png - :align: center - -- Why is dataset unvalid? - Click on Validation Report item. - -- "Rules for dataset" displays the rules you have to respect when building a dataset - - -- "Source File" item allows to check the source file. - -- "Result File" item allows to check the .comm result. - It allows you to save the dataset in a file (for Adao Study for example) - -- "Comment" item add a comment at the beginning of the dataset. - -- "Parameters" allows you to manage parameters for the dataset. - -Open Multiple dataset. ----------------------- - -You can open multiple datasets. Each file is associated with a different page and is shown by clicking on its tab. - -.. image:: images/Multi.png - :align: center - - -Open twice the same dataset. ----------------------------- -You can open twice the same dataset (in order to create a copy and rename it). Eficas warns you : - -.. image:: images/Duplication.png - :align: center - -In case of duplication, Eficas does not assure coherency between the two copies. - - -The dataset is valid. ---------------------- -Once the dataset is valid, you can lauch your code (in particulary PSEN, Carmel). Use 'run' icon -or choose "Run" in the menubar. - -.. image:: images/Run.png - :align: center - diff --git a/Doc/parametrer_une_commande.rst b/Doc/parametrer_une_commande.rst deleted file mode 100644 index d4368876..00000000 --- a/Doc/parametrer_une_commande.rst +++ /dev/null @@ -1,171 +0,0 @@ -.. _form-label: - -=============== -Edit a command -=============== - -Each command has to be setted up. Eficas generates a data entry form. -This form varies dynamicaly, depending on the context : rules and already existing values. - -This widget appears by selecting (clicking) on a command (first level in the tree view). - -.. image:: images/DoubleFleche.png - :align: right - -You can navigate from command to command using the arrows buttons: - - -The command widget --------------------- - -this widget is divided vertically into three separate areas : - - the tree view, - - the form widget - - the optional keywords. - -When needed, views provide scrollbar so that the entire information can be viewed. - -A bottom widget provides a horizontal bar for presenting documentation as the status bar is used to display error or warning messages. - -.. image:: images/Main.png - :align: center - -| -| - -Edit values -------------- - -Eficas uses many different widgets in order to help you to choose values : - -- Line editors for simple values -- Entry lists widgets -- Popup lists -- Group boxes of button - -see :ref:`features-label` to know more about each widget. - - -.. image:: images/Erreur.png - :align: center -Eficas does not let you enter invalid values. It checks the type and the cardinality of the value. -It ensures that the value is in the value domain or proposes a set of discrete values. -Data entered is checked against a set of rules. Errors are displayed in red to draw attention. - - -Form construction is dynamic ----------------------------- - -The form is updated according to values. It asks for the field depending on what's selected. - -In the example below: - -- if value of 'Initial_Conditions' is 'Zero Elevation', no additional data is needed - -.. image:: images/Zero.png - :align: center - -- if value of 'Initial_Conditions' is 'TPXO satellite altimetry', you have to fill 'Ascii_Database_For_Tide' - -.. image:: images/TPXO.png - :align: center - -Displaying optional keyword ------------------------------- - -When you create a new command, the widget opens with the optional keywords of this command. - -.. image:: images/OptionnelCommande.png - :align: center - -When entering in a "group keyword", the optional keywords list is updated to show optional keyword for this specific "group keyword". - -.. image:: images/OptionnelCommande1.png - :align: center - - -By clicking on command label ("INITIALIZATION") or on keyword label ("Input_files"), the corresponding optional keywords list is displayed. - -Sometimes, when a user enters a value for a keyword, optional keywords are dependents on this value. Optional keywords list is updated. -This is the case for conditionnal keywords - -.. image:: images/OptionnelParametersAdao.png - :align: center - - -.. image:: images/OptionnelParametersAdao1.png - :align: center - -Adding/Deleting an optional keyword ------------------------------------- - -Optional keywords (if any) are in the right part of the "command window". Just double-click on the checkbox to add the keyword. -The input data form is redisplayed and the list of possible optional keywords will be updated (for example, if two keywords cannot be simultaneously present). - -.. image:: images/DblClickOnOptional.png - :align: center - -.. image:: images/Poubelle.png - :align: right -To delete a keyword (or a command), just click the garbage icon : - -| -Naming Concepts ---------------- - -The icon for a command may be one of three colors: green, yellow or red. These colors represent the status of the command and the color meanings is : - - red for unvalid command, - - green for valid command, - - yellow for commands which have to be named. - -.. image:: images/NommerObjet.png - :align: center - -Tooltips --------- - -**Use tooltips to have information.** - -- Tooltips on **labels** display **information about the keyword**. Double-click on the label to display this information in the comment area, at the bottom of the window. This is useful for long text. *(You also can double-click on the keyword in the tree dataset.)* - -.. image:: images/ToolTipOnLabel.png - :align: center - -- Tooltips on **lineEdit** (one-line text editor) display **suggestion** for the input value. Suggestion are not very frequent. They are not default values, because you have to enter it explicitely. - -.. image:: images/ToolTipOnLineEdit.png - :align: center - -- Tooltips on **Red point** display **information about the validity** for the keyword or for the group of keywords. -By double-clicking on the "red point" a window displaying the same information appears. It should be usefull if text -is too long to be read at one sitting. - -.. image:: images/ToolTipOnRed.png - :align: center - -- Tooltips on **Commands Button** explain what the icon/button represents, and which action is activated by clicking. - -.. image:: images/ToolTipOnButton.png - :align: center - - -Context Menus --------------- -In the dataset tree, context menus (invoked by right-clicking) allow user to : - -- create comments in the tree -- create parameter -- comment the command itself -- delete the node - -.. image:: images/Menus.png - :align: center - -Some commands have associated scripts. They are easy to identify because the "run" icon is present : - -.. image:: images/Roue.png - :align: right - - -.. image:: images/Scripts.png - :align: center diff --git a/Doc/python_rules.rst b/Doc/python_rules.rst deleted file mode 100644 index 19a8ee34..00000000 --- a/Doc/python_rules.rst +++ /dev/null @@ -1,39 +0,0 @@ -.. _python-label: - -=============================== -rules for python syntax -=============================== - -Variable names and identifiers are similar to those in many other languages : ----------------------------------------------------------------------------- - -* They start with a letter (A_Z or a-z) or underscore "_"". -* They are followed by letters, numbers or underscores. -* They are case-sensitive. -* A string is a sequence of caracters enclosed by a matching pair of single or double quotes. - -Eficas does not allow you to use uncorrect names : - -.. image:: images/NomPython.png - -Some identifiers are reserved words : -------------------------------------- - -* You can't use words of the python language as identifiers. -* Eficas itself uses identifiers which become reserved words. For example, you can't use the following words, even if it would make some interesting names: - - BLOC, EXCLUS, OPER, ASSD, - - EVAL, FACT, FORM, JDC, - - REGLE, VALIDATOR, - - ETAPE, ENTITE - -Python's way for assigning values to variables: -------------------------------------------------- - -* Keep in mind that ".comm" are python files. The simplest form of assignement is : variable = value -* The hash character (#) starts a comment -* Tuples are enclosed in parentheses. -* Lists are enclosed in bracked. -* In tuples or lists, a ',' follows each item especially the last one. - -.. image:: images/ListeEtTuple.png - diff --git a/Doc/widgetInDetails.rst b/Doc/widgetInDetails.rst deleted file mode 100644 index ae4dbe1f..00000000 --- a/Doc/widgetInDetails.rst +++ /dev/null @@ -1,70 +0,0 @@ -.. _features-label: - -======================== -Some Widgets Features -======================== - -File or Directory ------------------ - -+-------------------------------------+--------------------------------------------------+ -| a File parameter has to be : | if catalog's description is : | -+=====================================+==================================================+ -|an existing file | type='Fichier' | -+-------------------------------------+--------------------------------------------------+ -|a directory | type='Repertoire' | -+-------------------------------------+--------------------------------------------------+ -|an existing file with specific suffix| type='Fichier','JDC Files (*.comm);;All Files (*)| -+-------------------------------------+--------------------------------------------------+ -|a non-allready existing file | type=('Fichier',"",'Sauvegarde'), | -+-------------------------------------+--------------------------------------------------+ -|a simple string | type='FichierNoAbs' | -+-------------------------------------+--------------------------------------------------+ - -The following widget allows users to enter a directory (first) or a file. Magnifier icon is not avalaible when a directory is required. - -.. image:: images/FichiersEtRepertoires.png - -- to open a file explorer, click on the corresponding icon. If a file suffix is required, content of the directory is filtered before being shown in the dialog, using a semicolon-separated list of filters specified. - -- to view file content, click on magnifier icon. It uses xdg-open, which is a desktop-independent tool for opening files (according to suffix convention). - - -List ------ -List widgets have a toolbar down, under values area. - -.. image:: images/ShowAllValues.png - -- Use the Up or Down arrows to move the selection in the list -- Use the Plus (or Minus) icon to add (delete) a new line -- Use the magnifier icon to see all the values in a modal widget - -| - -If lists are not ordered, it is possible to select all values by clicking the button on the right. - -.. image:: images/SelectAllInList.png - - - -Import data from file ------------------------ - -Data import icon provide access to data from ASCII text files. -Select the character that separates values in your text file and values you want to import. - -.. image:: images/Import.png - :align: center - - -Matrix -------- -Sometimes, matrix dimensions depend on the number of others parameters (for example, correlation matrix). -If a new variable is entered or if the name changes, matrix becomes invalid. -Users have to redisplay the header by pushing the refresh icon. - -.. image:: images/Matrice.png - - - diff --git a/Editeur/CMakeLists.txt b/Editeur/CMakeLists.txt deleted file mode 100644 index 3be146e4..00000000 --- a/Editeur/CMakeLists.txt +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 2007 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python, texte et images du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py PATTERN *.txt PATTERN *.gif PATTERN *.png PATTERN *.ppm - PATTERN CMakeLists.txt EXCLUDE - PATTERN Patrons EXCLUDE - PATTERN CVS EXCLUDE - ) - -### Local Variables: -### mode: cmake -### End: diff --git a/Editeur/Patrons/CMakeLists.txt b/Editeur/Patrons/CMakeLists.txt deleted file mode 100644 index a9788deb..00000000 --- a/Editeur/Patrons/CMakeLists.txt +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Question : Doit-on installer le repertoire Patrons meme s'il est vide ? - -# Installation des fichiers d'aide : Open TURNS -#if (WITH_OPENTURNS) -# install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/OPENTURNS_STUDY -# DESTINATION ${CMAKE_INSTALL_PREFIX}/Editeur/Patrons -# FILES_MATCHING PATTERN *.comm -# PATTERN CVS EXCLUDE -# ) -#endif (WITH_OPENTURNS) - -# Installation des fichiers d'aide : Aster -if (WITH_ASTER) - install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ASTER - DESTINATION ${CMAKE_INSTALL_PREFIX}/Editeur/Patrons - FILES_MATCHING PATTERN *.comm - PATTERN CVS EXCLUDE - ) -endif (WITH_ASTER) - -### Local Variables: -### mode: cmake -### End: diff --git a/Efi2Xsd/AccasXsd.py b/Efi2Xsd/AccasXsd.py deleted file mode 100755 index a9d7e576..00000000 --- a/Efi2Xsd/AccasXsd.py +++ /dev/null @@ -1,281 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -import sys,os -import types - -# CONTEXT est accessible (__init__.py de Noyau) - -#import raw.efficas as efficas -sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..'))) - -# ds l init du SIMP il manque siValide et fenetreIhm - -from .mapDesTypes import dictSIMPEficasXML, dictSIMPXMLEficas -from .mapDesTypes import dictFACTEficasXML, dictFACTXMLEficas -from .mapDesTypes import dictPROCEficasXML, dictPROCXMLEficas -from .mapDesTypes import dictOPEREficasXML, dictOPERXMLEficas -from .mapDesTypes import dictBLOCEficasXML, dictBLOCXMLEficas -from .mapDesTypes import dictPourCast, dictNomsDesTypes -from .mapDesTypes import listeParamDeTypeTypeAttendu, listeParamDeTypeStr, dictPourCast -from .mapDesTypes import listeParamTjsSequence, listeParamSelonType -from .mapDesTypes import Tuple - - -from .balises import * - -# ----------------- -class X_definition: -# ----------------- - - def getCode(self): - if hasattr(self,'code') : return - obj=self - while ( not hasattr(obj,'code') ): obj=obj.pere - self.code = obj.code - - #def genealogie(self,n): - # texte=self.nom - # obj=self - # j=1 - # while ( hasattr(obj,'pere') ): - # texte=obj.pere.nom+'_'+texte - # obj=obj.pere - # j=j+1 - # if j > n : return (True, 'T_'+texte) - # return (False, 'T_'+texte) - - def definitNomDuTypePyxb(self): - self.aCreer = True - cata = CONTEXT.getCurrentCata() - nom='T_'+self.nom - if not (nom in cata.dictTypesXSD.keys()) : - cata.dictTypesXSD[nom] = [self,] - return nom - self.aCreer = False - if nom == 'T_Consigne' : return nom - listePossible=cata.dictTypesXSD[nom] - indice=0 - while (indice < len(listePossible)) : - objAComparer=listePossible[indice] - if self.compare(objAComparer) : return objAComparer.nomDuTypePyxb - indice += 1 - self.aCreer = True - cata.dictTypesXSD[nom].append(self) - nomAlter='T_'+self.nom+'_'+str(indice) - return nomAlter - - # def existeDeja(self,nom): - # if nom in cata.dictTypesXSD.keys() : - # self.aCreer = False - # return cata.dictTypesXSD[nom] - # else : - # cata.dictTypesXSD[nom] = self - # return None - -# ---------------------------------------- -class X_definitionComposee (X_definition): -# ---------------------------------------- - - def CreeTexteComplexeVenantDesFils(self): - texteComplexeVenantDesFils="" - for nom in self.ordre_mc: - mcFils = self.entites[nom] - mcFils.dumpXsd() - self.texteComplexe += mcFils.texteElt - self.texteSimple += mcFils.texteSimple - texteComplexeVenantDesFils += mcFils.texteComplexe - return texteComplexeVenantDesFils - - def dumpXsd(self): - #print ('------------------------------------------------') - #print ('dumpXsd de ' , self.nom) - - self.getCode() - self.nomDuTypePyxb = self.definitNomDuTypePyxb() - self.texteSimple = "" # on n ajoute pas de type simple - - self.traduitMinMax() - # pour accepter les PROC et ... - # - if self.aCreer : - self.texteComplexe = debutTypeCompo.format(self.nomDuTypePyxb,self.minOccurs,self.maxOccurs) - texteComplexeVenantDesFils=self.CreeTexteComplexeVenantDesFils() - self.texteComplexe = texteComplexeVenantDesFils + self.texteComplexe - self.texteComplexe += finTypeCompo - else : - self.texteComplexe = "" - - minDsSequence=0 - if hasattr(self, 'statut') and self.statut=='f' : minDsSequence=0 - maxDsSequence=1 - if self.label in ('BLOC', 'FACT'): - self.texteElt=eltCompoDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minDsSequence,maxDsSequence) - else : - self.texteElt=eltCompoDsSequenceSiProc.format(self.nom,self.code,self.nomDuTypePyxb) - #print (self.texteComplexe) - #print ('------------------------------------------------') - - def traduitMinMax(self): - # ____________________ - # valable pour bloc, proc et oper - self.minOccurs = 0 - self.maxOccurs = 1 - - def compare(self,autreMC): - if self.label != autreMC.label : return False - for attr in ( 'regles', 'fr', 'defaut', 'min' ,'max', 'position' , 'docu' ) : - val1=getattr(self,attr) - val2=getattr(autreMC,attr) - if val1 != val2 : return False - for defFille in self.entites.keys(): - if defFille not in autreMC.entites.keys() : return False - if not self.entites[defFille].compare(autreMC.entites[defFille]) : return False - return True - -# --------------------------------- -class X_FACT (X_definitionComposee): -#--------- ------------------------ - def traduitMinMax(self): - if self.max == '**' or self.max == float('inf') : self.maxOccurs="unbounded" - else : self.maxOccurs = self.max - self.minOccurs = self.min - if self.statut =='f' : self.minOccurs=0 - -# --------------------------------- -class X_OPER (X_definitionComposee): -# --------------------------------- - pass - -# ---------------------------------- -class X_PROC (X_definitionComposee): -#----------------------------------- - pass - -#----------------------------------- -class X_BLOC (X_definitionComposee): -#----------------------------------- - def dumpXsd(self): - #print ('------------------------------------------------') - #print ('dumpXsd de ' , self.nom) - - self.getCode() - self.nomDuTypePyxb = self.definitNomDuTypePyxb() - self.texteSimple = "" # on n ajoute pas de type simple - - # Pour les blocs le minOccurs vaut 0 et le max 1 - if self.aCreer : - self.texteComplexe = debutTypeSubst.format(self.nomDuTypePyxb) - texteComplexeVenantDesFils=self.CreeTexteComplexeVenantDesFils() - self.texteComplexe = texteComplexeVenantDesFils + self.texteComplexe - self.texteComplexe += finTypeSubst - else : - self.texteComplexe = "" - - self.texteElt=substDsSequence.format(self.code,self.nomDuTypePyxb,0,1) - - #print ('------------------------------------------------') - - def compare(self,autreMC): - if self.label != autreMC.label : return False - for attr in ( 'condition', 'regles', ): - val1=getattr(self,attr) - val2=getattr(autreMC,attr) - if val1 != val2 : return False - for defFille in self.entites.keys(): - if defFille not in autreMC.entites.keys() : return False - if not self.entites[defFille].compare(autreMC.entites[defFille]) : return False - return True - - -#-------------------------------- -class X_SIMP (X_definition): -#-------------------------------- - def dumpXsd(self): - #print ('exploreObjet SIMP') - self.getCode() - self.aCreer = True - - # --> homonymie on peut utiliser genealogie - #self.traduitMinMax() - #self.traduitValMinValMax() - self.nomDuTypeDeBase = self.traduitType() - self.nomDuTypePyxb = self.definitNomDuTypePyxb() - if self.aCreer == True : - if self.into != None: - self.texteSimple = debutTypeSimpleWithInto.format (self.nomDuTypePyxb, self.nomDuTypeDeBase) - for val in self.into : - self.texteSimple += typeSimpleWithInto.format(val) - self.texteSimple += finTypeSimpleWithInto - else : - self.texteSimple = typeSimple.format(self.nomDuTypePyxb, self.nomDuTypeDeBase) - else : - # le type existe deja - self.texteSimple="" - self.texteComplexe = "" - - # on se sert des listes si maxOccurs est > 0 - # a gerer dans le dump - if self.statut =='f' : minOccurs = 0 - else : minOccurs = 1 - self.texteElt = eltDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minOccurs,1) - - - def traduitType(self): - # il faut traduire le min et le max - # il faut ajouter les regles - # il faut gerer les types tuple et fichier - - if hasattr(self.type[0], 'label') and self.type[0].label == "Tuple" : return ('XXXXXXXX') - return dictNomsDesTypes[self.type[0]] - - def traduitValMinValMax(self): - self.maxInclusive=self.val_max - self.minInclusive=self.val_min - if self.val_min == float('-inf') and val_max== float('inf') : return - print ('il faut affiner le type du SIMP ', self.nom) - if self.val_max == '**' or self.val_max == float('inf') : self.maxInclusive=None - else : self.maxInclusive = self.val_max - if self.val_min == '**' or self.val_max == float('-inf') : self.maxInclusive=None - else : self.minInclusive = self.val_min - - def traduitMinMax(self): - if self.min == 1 and self.max == 1 : return - print ('il faut creer une liste ' , self.nom) - - def compare(self,autreMC): - if self.label != autreMC.label : return False - for attr in ( 'type', 'ang', 'fr', 'into', 'intoSug' , 'siValide', 'defaut', 'min' ,'max' ,'homo' ,'position' ,'val_min' , 'val_max' , 'docu' , 'validators' , 'sug' ) : - val1=getattr(self,attr) - val2=getattr(autreMC,attr) - if val1 != val2 : return False - return True - -#----------------- -class X_JDC_CATA : -#----------------- - - def dumpXsd(self): - - self.texteSimple = "" - self.texteComplexe = "" - self.nomDuTypePyxb='T_'+self.code - self.texteCata = debutTypeCata.format(self.nomDuTypePyxb) - for commande in self.commandes : - commande.code=self.code - commande.dumpXsd() - self.texteSimple += commande.texteSimple - self.texteSimple += commande.texteComplexe - self.texteCata += commande.texteElt - self.texteCata += finTypeCata - self.texteElt=eltCata.format(self.code,self.code, self.nomDuTypePyxb) - - self.texteXSD = texteDebut.format(self.code,self.code,self.code) - self.texteXSD += self.texteSimple - self.texteXSD += self.texteCata - self.texteXSD += self.texteElt - self.texteXSD += texteFin - #print (self.texteSimple) - #print (self.texteCata) - #print (self.texteElt) - print (self.texteXSD) - diff --git a/Efi2Xsd/CMakeLists.txt b/Efi2Xsd/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Efi2Xsd/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Efi2Xsd/MCAccasXsd.py b/Efi2Xsd/MCAccasXsd.py deleted file mode 100644 index 13656852..00000000 --- a/Efi2Xsd/MCAccasXsd.py +++ /dev/null @@ -1,408 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -import sys,os -import traceback -#import raw.efficas as efficas -import types - -sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..'))) - -try : - import pyxb - import pyxb.binding - import pyxb.binding.basis -except : - pass -#import pyxb.utils.utility -#import pyxb.utils.domutils - -class X_OBJECT: -# ------------- - - def deletePyxbObject(self): - if not self.cata or not self.cata.modeleMetier : return - print ('----------- deletePyxbObject', self.nom) - indice = 0 - trouve = False - for i in self.perePyxb.objPyxb.orderedContent(): - if id(self.objPyxb) == id(i._Content__value) : trouve = True ;break - indice = indice + 1 - if not trouve : print ('objet pas trouve') - print (self.perePyxb.objPyxb.description) - del self.perePyxb.objPyxb.__dict__[self.nom] - print (self.perePyxb.objPyxb.__delattr__) - #delattr(self.perePyxb.objPyxb,self.nom) - # PNPN - - print ('delattr', self.perePyxb.objPyxb,self.nom) - del self.perePyxb.objPyxb.orderedContent()[indice] - - -class X_MCSIMP(X_OBJECT): -# ----------------------- - - def buildObjPyxb(self) : - # self.valeur tient compte de la valeur par defaut - # utiliser getValeur ? expression numpy - if not self.cata or not self.cata.modeleMetier : return - #print ('X_MCSIMP buildObjPyxb', self.nom, self,self.valeur) - #if self.nom == 'diameter' : - # traceback.print_stack() - # print ('****************************************************') - # print ('objPyxbDeConstruction', self.objPyxbDeConstruction) - #if self.objPyxbDeConstruction == None : print (self.nom, ' pas de pyxb') - if self.objPyxbDeConstruction != None : - self.objPyxb = self.objPyxbDeConstruction - self.maClasseModeleMetier =type(self.objPyxb) - #print (self.maClasseModeleMetier) - self.objPyxbDeConstruction = None - else : - self.monNomClasseModeleMetier='T_'+self.nom - self.maClasseModeleMetier=getattr(self.cata.modeleMetier,self.monNomClasseModeleMetier) - #print (self.maClasseModeleMetier) - #print (self.valeur) - #print (type(self.valeur)) - if self.valeur != None : self.objPyxb=self.maClasseModeleMetier(self.valeur) - elif self.definition.into != None and 'TXM' in self.definition.type : self.objPyxb = None - else : self.objPyxb=self.maClasseModeleMetier(); - self.filsPyxb=None - #print ('X_MCSIMP', self.nom, self.objPyxb) - #print ('fin X_MCSIMP', self.objPyxb, self.nom,self) - - - def setValeurObjPyxb(self,newVal): - if not self.cata or not self.cata.modeleMetier : return - print ('dans setValeurObjPyxb MCSIMP') - # print (self.nom , ' a pour pere', self.perePyxb, self.perePyxb.nom, self.perePyxb.objPyxb) - if newVal != None : nvlObj=self.maClasseModeleMetier(newVal) - else : nvlObj=self.maClasseModeleMetier() - self.val=newVal - setattr(self.perePyxb.objPyxb,self.nom,nvlObj) - print ('setattr', self.perePyxb.objPyxb,self.nom) - trouve=False - indice=0 - for i in self.perePyxb.objPyxb.orderedContent(): - if isinstance(i._Content__value, self.maClasseModeleMetier) : - self.perePyxb.objPyxb.orderedContent()[indice]=self.perePyxb.objPyxb.orderedContent()[-1] - del(self.perePyxb.objPyxb.orderedContent()[-1]) - trouve=True - break - indice+=1 - if not trouve : print ('Attention souci au changement de valeur de ', self.nom) - self.objPyxb=nvlObj - print ('iiiiiiiiiiiiiiiiiiiiiiiiiiiiii', nvlObj, id(nvlObj)) - #for i in self.perePyxb.objPyxb.orderedContent(): - # print ('ds le for pour i') - # print (i._Content__value) - # print (id(i._Content__value)) - # print (type((i._Content__value))) - # if id(i._Content__value) == id(self.objPyxb) : break - # indexOC +=1 - - #maValeur = getattr(self.perePyxb.objPyxb, self.nom) - #print ('je change', indexOC) - #if isinstance(maValeur, pyxb.binding.basis.simpleTypeDefinition): - #if 1 : - # print ('jkjkljkljklj') - # setattr(self.perePyxb.objPyxb,self.nom,nvlObj) - # self.perePyxb.objPyxb.orderedContent()[indexOC]=self.perePyxb.objPyxb.orderedContent()[-1] - # del(self.perePyxb.objPyxb.orderedContent()[-1]) - #print ('apres',self.nom, self.perePyxb.objPyxb.orderedContent()) - #else : - # index=0 - # trouve=False - # try : - # for i in maValeur: - # if id(i) == id(self.objPyxb) :trouve = True ; break - # index=index+1 - # maValeur[index]=nvlObj - # self.perePyxb.objPyxb.orderedContent()[indexOC]._Content__value=nvlObj - # except : pass - # if not trouve : print (self.nom , 'pas trouve') - - #print ('arret programme'); exit() - - #print ('id objPyxb',id(self.objPyxb)) - #print ('id objPyxb[0]',id(self.objPyxb[0])) - #print ('id elt ', id(self.objPyxb._element), self.objPyxb._element, type(self.objPyxb._element), type(self.objPyxb._element())) - #print (' perePyxb _ElementMap') - #print (self.perePyxb.objPyxb._ElementMap) - #index=0 - #for i in self.perePyxb.objPyxb._ElementMap.keys() : - # print (id(i), ' ', id(self.perePyxb.objPyxb._ElementMap[i])) - #print (dir(self.perePyxb.objPyxb._ElementMap[i])) - # print (id(self.perePyxb.objPyxb._ElementMap[i])) -# index=index+1 - #print (' objPyxb monBinding id') - #monBinding = getattr(self.perePyxb.objPyxb, self.nom) - #for i in monBinding : print id(i) - #print (' perePyxb orderedContent') - #for i in self.perePyxb.objPyxb.orderedContent(): - # print id(i._Content__value) - # print (i._Content__value, type(i._Content__value)) - #print (' perePyxb orderedContent') - #for i in self.perePyxb.objPyxb.content(): print id(i) - - #print (self.perePyxb.objPyxb.orderedContent()) - #print (monBinding) - - - def addPyxbObject(self, indiceDsLeContenu): - if not self.cata or not self.cata.modeleMetier : return - - # adherence Accas sur le parent - parent=self.parent - while (parent.isBLOC() ): parent=parent.parent - self.perePyxb=parent - - self.monNomClasseModeleMetier='T_'+self.nom - self.maClasseModeleMetier=getattr(self.cata.modeleMetier,self.monNomClasseModeleMetier) - nvlObj=self.maClasseModeleMetier() - print ('setattr', self.perePyxb.objPyxb,self.nom) - setattr(self.perePyxb.objPyxb,self.nom,nvlObj) - tampon=self.perePyxb.objPyxb.orderedContent()[-1] - self.objPyxb = nvlObj - indexOC=-1 - longueur=len(self.perePyxb.objPyxb.orderedContent()) - for i in reversed(range(longueur)): - self.perePyxb.objPyxb.orderedContent()[i]=self.perePyxb.objPyxb.orderedContent()[i-1] - if i == indiceDsLeContenu + 1 : break - self.perePyxb.objPyxb.orderedContent()[indiceDsLeContenu]=tampon - - - #for i in self.perePyxb.objPyxb.orderedContent() : - # print (i._Content__value, type(i._Content__value)) - #print ('----------------') - - #print self.perePyxb.objPyxb.orderedContent() - #for i in self.perePyxb.objPyxb.orderedContent(): - # print ('valeur de ', i) - # print (i._Content__value) - # print (type(i._Content__value)) - # if isinstance(i._Content__value, self.maClasseModeleMetier) : - # print dir(i._Content__value) - # self.objPyxb = i._Content__value - # setattr(self.perePyxb.objPyxb, self.nom, nvlObj) - # self.perePyxb.objPyxb.orderedContent()[indexOC]=self.perePyxb.objPyxb.orderedContent()[-1] - # del(self.perePyxb.objPyxb.orderedContent()[-1]) - # indexOC+=1 - #PNPNPNPNPNPNPNPNP - -class X_MCCOMPO(X_OBJECT) : -# ------------------------- -# - def buildObjPyxb(self,mc_list) : - #print ('________________________________________________') - #print ('X_MCCOMPO buildObjPyxb', self.nom, self, mc_list) - if not self.cata or not self.cata.modeleMetier : return - - self.listArg=[] - for objAccas in mc_list : - if objAccas.nature == 'MCBLOC' : - self.exploreBLOC(objAccas) - elif objAccas.nature == 'MCList' : - for fils in objAccas : - fils.perePyxb=self - self.listArg.append(fils.objPyxb) - else : - self.listArg.append(objAccas.objPyxb) - objAccas.perePyxb=self - print (objAccas.nom ,' a pour pere Pyxb', self, self.nom) - - self.monNomClasseModeleMetier='T_'+self.nom - self.maClasseModeleMetier=getattr(self.cata.modeleMetier,self.monNomClasseModeleMetier) - if self.objPyxbDeConstruction != None : - self.objPyxb = self.objPyxbDeConstruction - self.objPyxbDeConstruction = None - #print ('je passe dans le if pour ', self.nom, self.objPyxb, self) - else : - self.objPyxb=self.maClasseModeleMetier(*self.listArg) - #print ('Fin __________ ', self.nom, self.objPyxb) - #print ('X_MCCOMPO', self.nom, self.objPyxb) - #print ('_______________________________________') - - def deletePyxbObject(self): - if not self.cata or not self.cata.modeleMetier : return - print ('******************************************') - print ('je passe ds deletePyxbObject pour ', self, self.nom) - print (self.perePyxb) - print (dir(self)) - print ('******************************************') - - def exploreBLOC(self,objAccas): - if not self.cata or not self.cata.modeleMetier : return - laListeSsLesBlocs=[] - for fils in objAccas.mcListe: - if fils.nature == 'MCBLOC' : - self.exploreBLOC(fils) - elif fils.nature == 'MCList' : - for objFils in fils : - fils.perePyxb=self - self.listArg.append(fils.objPyxb) - #print (fils.nom ,' a pour pere Pyxb', self, self.nom) - else : - self.listArg.append(fils.objPyxb) - fils.perePyxb=self - #print (fils.nom ,' a pour pere Pyxb', self, self.nom) - - - - -class X_MCBLOC (X_MCCOMPO): -# -------------------------- - def buildObjPyxb(self,mc_list): - if not self.cata or not self.cata.modeleMetier : return - # mise a none ? le bloc n a pas d existence en pyxb - self.perePyxb=None - #print ('_______________________________________') - #print ('X_MCBLOC buildObjPyxb', self.nom, self, mc_list) - # on rattache ses fils au bloc mais leur pere sera ensuite le MCCOMPO qui contient le bloc - # Pas sur d en avoir besoin du filsPyxb - self.filsPyxb=[] - self.objPyxb=None - for objAccas in mc_list : - self.filsPyxb.append(objAccas.objPyxb) - #print (self.filsPyxb) - #print ('Fin ', self.nom, self.objPyxb) - #print ('_______________________________________') - - - - -class X_MCLIST (X_MCCOMPO): -# -------------------------- - - def buildObjPyxb(self,mc_list): - #print ('__________________________________________________________________') - #print ('X_MCLIST buildObjPyxb traite ds X_MCLIST', self.nom, self) - #print ('on ne fait rien pour les MCLISTs, cela sera fait dans chaque MCFACT') - #print ('__________________________________________________________________') - pass - - -class X_MCFACT (X_MCCOMPO): -# ------------------------- -# on gere au niveau du MCCOMPO - pass - - -class X_JDC (X_MCCOMPO): -# --------------------- - - def __init__(self): - #print ('_______________________________________') - #print ('X_JDC buildObjPyxb', self) - if not self.cata or not self.cata.modeleMetier : return - self.monNomClasseModeleMetier=self.code - self.maClasseModeleMetier=getattr(self.cata.modeleMetier,self.monNomClasseModeleMetier) - self.objPyxb=self.maClasseModeleMetier() - pyxb.GlobalValidationConfig._setContentInfluencesGeneration(pyxb.GlobalValidationConfig.ALWAYS) - pyxb.GlobalValidationConfig._setInvalidElementInContent(pyxb.GlobalValidationConfig.RAISE_EXCEPTION) - pyxb.GlobalValidationConfig._setOrphanElementInContent(pyxb.GlobalValidationConfig.RAISE_EXCEPTION) - #print ('fin buildObjPyxb _______________________________________') - - def enregistreEtapePyxb(self,etape): - # OK seulement si sequence (choice ? ...) - if not self.cata or not self.cata.modeleMetier : return - print ('enregistreEtapePyxb' , etape) - self.objPyxb.append(etape.objPyxb) - etape.perePyxb = self - #self.toXml() - - def toXml(self): - if not self.cata or not self.cata.modeleMetier : return - print ('***************',self.objPyxb,'***************',) - print ('***************',self.objPyxb.orderedContent(),'***************',) - print(self.objPyxb.toDOM().toprettyxml()) - print(self.objPyxb.toxml()) - return (self.objPyxb.toDOM().toprettyxml()) - - - def analyseFromXML(self): - print ("je suis ds analyseFromXML -- > appel ds analyse de I_JDC.py") - if not self.cata or not self.cata.modeleMetier : return - if self.procedure == "" : return - self.objPyxb=self.cata.modeleMetier.CreateFromDocument(self.procedure) - for objEtape in self.objPyxb.content(): - objEtape.dictArgs= (self.pyxbToDict(objEtape)) - objEtape.monNomClasseAccas=objEtape._ExpandedName.localName() - objEtape.monNomClasseAccas=objEtape.monNomClasseAccas[2:] - objEtape.dictPyxb['objEnPyxb']=objEtape - objEtape.dictArgs['dicoPyxbDeConstruction']=objEtape.dictPyxb - maClasseAccas=getattr(self.cata,objEtape.monNomClasseAccas) - objAccasEtape=maClasseAccas(**(objEtape.dictArgs)) - # attention objAccasEtape = None normal (cf buildSd) - - #print ( 'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh') - #print (objEtape , type(objEtape)) - #print (objEtape.dictPyxb) - #print (maClasseAccas) - #print (objAccasEtape) - - #print (objEtape.monNomClasseAccas, type(objEtape.monNomClasseAccas)) - #print (objEtape._ExpandedName, type(objEtape._ExpandedName)) - #print (objEtape.dictPyxb[u'experience']) - #print (objEtape.dictArgs) - #print (objEtape.dictPyxb) - #print ( 'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh') - #exit() - - - def pyxbToDict(self,objAAnalyser): - # la transformation de l objAAnalyser en type lu par eficas ne fonctionne pas pour tout - # faudrait - il travailler sur les types des objets ? - # c est a revoir -> fonction cast a prevoir ds les 2 sens - if not self.cata or not self.cata.modeleMetier : return - if objAAnalyser is None: return - #print ('debut pour ',objAAnalyser) - dictArgs = {} - if isinstance(objAAnalyser, pyxb.binding.basis.simpleTypeDefinition): - objAAnalyser.dictPyxb=objAAnalyser - #print (objAAnalyser.dictPyxb , type(objAAnalyser.dictPyxb)) - if isinstance(objAAnalyser, pyxb.binding.basis.enumeration_mixin): return str(objAAnalyser) - if isinstance(objAAnalyser, types.StringTypes): return str(objAAnalyser) - if isinstance(objAAnalyser, types.FloatType): return float(objAAnalyser) - if isinstance(objAAnalyser, (types.IntType, types.LongType)): return int(objAAnalyser) - #if isinstance(objAAnalyser, (types.NoneType, types.BooleanType, types.FloatType, types.IntType, types.LongType)): - return repr(objAAnalyser) - # ou ? return objAAnalyser - #if isinstance(objAAnalyser, types.StringTypes): return pyxb.utils.utility.QuotedEscaped(objAAnalyser,) - #pour une enum getattr(value dans le type) - # return pythonLiteral(ReferenceFacet(facet=value, **kw)) - objAAnalyser.dictPyxb = {} - for expandedName, elementDeclaration in objAAnalyser._ElementMap.items(): - objPyxbName = expandedName.localName() - objPyxbValue = getattr(objAAnalyser, objPyxbName) - if objPyxbValue == None or objPyxbValue == [] : continue - if elementDeclaration.isPlural(): - dictArgs[objPyxbName] = [] - #objAAnalyser.dictPyxb[objPyxbName]={} - objAAnalyser.dictPyxb[objPyxbName]=[] - #objAAnalyser.dictPyxb['objEnPyxb']=objAAnalyser - for objPyxb in objPyxbValue : - #print ('-------------',objPyxb) - dictArgs[objPyxbName].append(self.pyxbToDict(objPyxb)) - objPyxb.dictPyxb['objEnPyxb'] = objPyxb - objAAnalyser.dictPyxb[objPyxbName].append(objPyxb.dictPyxb) - else: - dictArgs[objPyxbName] = self.pyxbToDict(getattr(objAAnalyser, objPyxbName)) - #print ('ajout ds dico de ', objAAnalyser , 'de', objPyxbName, objPyxbValue) - objAAnalyser.dictPyxb[objPyxbName] = objPyxbValue.dictPyxb - #print ('ajout ds dico de ', objPyxbValue.dictPyxb, 'de', objPyxbName) - objAAnalyser.dictPyxb['objEnPyxb']=objAAnalyser - #print ("***********************************") - #print ('pyxbToDict fin pour ********** ', objAAnalyser) - #print ('pyxbToDict ', objAAnalyser, objAAnalyser.dictPyxb) - #print ('pyxbToDict fin pour ********** ', objAAnalyser) - #print ("***********************************") - #print (dictArgs) - #print (dictPyxb) - #for i in dictArgs.keys(): print (i, " ", dictArgs[i], " ", type(dictArgs[i])) - #print ('fin pour ',objAAnalyser) - return dictArgs - - - - -if __name__ == "__main__": - print ('a faire') diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6 ext.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6 ext.xsd deleted file mode 100755 index 22e488ec..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6 ext.xsd +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6.xsd deleted file mode 100755 index 2492a38b..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v6.xsd +++ /dev/null @@ -1,732 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Référence une position dans un fichier maître contenant une liste de références à des pages de documentations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7 ext.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7 ext.xsd deleted file mode 100755 index 0b531868..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7 ext.xsd +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7.xsd deleted file mode 100755 index 0f1838fc..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v7.xsd +++ /dev/null @@ -1,731 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Référence une position dans un fichier maître contenant une liste de références à des pages de documentations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8 ext.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8 ext.xsd deleted file mode 100755 index f6db1fc5..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8 ext.xsd +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8.xsd deleted file mode 100755 index 822cf3b4..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v8.xsd +++ /dev/null @@ -1,724 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Référence une position dans un fichier maître contenant une liste de références à des pages de documentations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9 ext.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9 ext.xsd deleted file mode 100755 index 39322ca8..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9 ext.xsd +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9.xsd b/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9.xsd deleted file mode 100755 index 42f4f0f8..00000000 --- a/Efi2Xsd/ModeleEficas/Model Efficas (1.1) v9.xsd +++ /dev/null @@ -1,741 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valeur -1 equivaut à oo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Référence une position dans un fichier maître contenant une liste de références à des pages de documentations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - les TXM peuvent contenir des espaces, pour créer une liste de TXM, il faut donc répéter le nom de la balise. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/README.txt b/Efi2Xsd/README.txt deleted file mode 100644 index 7c4bb864..00000000 --- a/Efi2Xsd/README.txt +++ /dev/null @@ -1,7 +0,0 @@ -pyxbgen -u model.xsd -m efficas --write-for-customization -/local/PyXB-1.2.6/scripts/pyxbgen -u model.xsd -m efficas --write-for-customization -/local/PyXB-1.2.6/scripts/pyxbgen -u model_ext.xsd -m efficas_ext --write-for-customization - - -/local/PyXB-1.2.6/scripts/pyxbgen -u model.xsd -m efficas --write-for-customization --default-namespace-public --archive-to-file=model.wxsd -/local/PyXB-1.2.6/scripts/pyxbgen -u model_ext.xsd -m efficas_ext --write-for-customization --archive-path=.:+ diff --git a/Efi2Xsd/ReadMe.txt b/Efi2Xsd/ReadMe.txt deleted file mode 100644 index 4c1dd01d..00000000 --- a/Efi2Xsd/ReadMe.txt +++ /dev/null @@ -1,7 +0,0 @@ -Pyxb --> accas -si simp on ne passe rien -sinon un dictPyxb avec valeur dict des objets clef=nom -et un objpyxb dans objpyxb - -il faut mettre à jour la liste en cohérence avec l ordered content -Attention aux blocs diff --git a/Efi2Xsd/ReadmeFichiers.txt b/Efi2Xsd/ReadmeFichiers.txt deleted file mode 100644 index 3294b362..00000000 --- a/Efi2Xsd/ReadmeFichiers.txt +++ /dev/null @@ -1,17 +0,0 @@ -AccasXsd.py - contient les classes qui font le lien entre les classes de definition Accas et les classes pyxb generees a partir du XSD genere a partir du catalogue - -balises.py - contient les balises necessaires pour generer le xsd metier a partir du catalogue eficas (ou .py ou en .xsd) - -efficas.py - contient le modele genere par pyxb a partir du XSD eficas - -mapDesTypes.py - fait le lien bidirectionnel entre les types ACCAS et les types XSD - -MCAccasXsd.py - contient les classes qui font le lien entre les classes objet Accas et les classes pyxb generees a partir du XSD genere a partir du catalogue - -readerEfiXsd.py - contient les classes qui font le lien entre les classes de definition Accas et les classes pyxb generees a partir du modele eficas XSD diff --git a/Efi2Xsd/XMLSchema(1.1)_efv1.xsd b/Efi2Xsd/XMLSchema(1.1)_efv1.xsd deleted file mode 100644 index e451b844..00000000 --- a/Efi2Xsd/XMLSchema(1.1)_efv1.xsd +++ /dev/null @@ -1,1901 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - Part 1 version: structures.xsd (rec-20120405) - Part 2 version: datatypes.xsd (rec-20120405) - - - - - The schema corresponding to this document is normative, - with respect to the syntactic constraints it expresses in the - XML Schema Definition Language. The documentation (within 'documentation' elements) - below, is not normative, but rather highlights important aspects of - the W3C Recommendation of which this is a part. - - See below (at the bottom of this document) for information about - the revision and namespace-versioning policy governing this - schema document. - - - - - - The simpleType element and all of its members are defined - towards the end of this schema document. - - - - - Get access to the xml: attribute groups for xml:lang - as declared on 'schema' and 'documentation' below - - - - - - - This type is extended by almost all schema types - to allow attributes from other namespaces to be - added to user schemas. - - - - - - - - - - - - This type is extended by all types which allow annotation - other than <schema> itself - - - - - - - - - - - - - - - - - - - - - - - - This group is for the - elements which occur freely at the top level of schemas. - All of their types are based on the "annotated" type by extension. - - - - - - - - - - - - This group is for the - elements which can self-redefine (see <redefine> below). - - - - - - - - - - - - A utility type, not for public use - - - - - - - - - - A utility type, not for public use - - - - - - - - - - A utility type, not for public use - - #all or (possibly empty) subset of {extension, restriction} - - - - - - - - - - - - - - - - A utility type, not for public use - - - - - - - - - - - - A utility type, not for public use - - #all or (possibly empty) subset of {extension, restriction, list, union} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - for maxOccurs - - - - - - - - - - - - - for all particles - - - - - - - - for element, group and attributeGroup, - which both define and reference - - - - - - - - 'complexType' uses this - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This branch is short for - <complexContent> - <restriction base="xs:anyType"> - ... - </restriction> - </complexContent> - - - - - - - - - - - - - - - - Will be restricted to required or prohibited - - - - - - Not allowed if simpleContent child is chosen. - May be overridden by setting on complexContent child. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This choice is added simply to - make this a valid restriction per the REC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Overrides any setting on complexType parent. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This choice is added simply to - make this a valid restriction per the REC - - - - - - - - - - - - - - - - - No typeDefParticle group reference - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A utility type, not for public use - - #all or (possibly empty) subset of {substitution, extension, - restriction} - - - - - - - - - - - - - - - - - - - - - - - - The element element can be used either - at the top level to define an element-type binding globally, - or within a content model to either reference a globally-defined - element or type or declare an element-type binding locally. - The ref form is not allowed at the top level. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This type is used for 'alternative' elements. - - - - - - - - - - - - - - - - - - group type for explicit groups, named top-level groups and - group references - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - group type for the three kinds of group - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This choice with min/max is here to - avoid a pblm with the Elt:All/Choice/Seq - Particle derivation constraint - - - - - - - - - - - - - - - - - - - - - - - Only elements allowed inside - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - simple type for the value of the 'namespace' attr of - 'any' and 'anyAttribute' - - - - Value is - ##any - - any non-conflicting WFXML/attribute at all - - ##other - - any non-conflicting WFXML/attribute from - namespace other than targetNS - - ##local - - any unqualified non-conflicting WFXML/attribute - - one or - - any non-conflicting WFXML/attribute from - more URI the listed namespaces - references - (space separated) - - ##targetNamespace or ##local may appear in the above list, to - refer to the targetNamespace of the enclosing - schema or an absent targetNamespace respectively - - - - - A utility type, not for public use - - - - - - - A utility type, not for public use - - - - - - - - - - - - - - - - - - A utility type, not for public use - - - - - - - - - - A utility type, not for public use - - - - - - - - - - - - - - - - - - - A utility type, not for public use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A subset of XPath expressions for use -in selectors - A utility type, not for public -use - - - - - - - - - - - - - - - - - - - - A subset of XPath expressions for use -in fields - A utility type, not for public -use - - - - - - - - - - - - - - - - - - - - - - - - The three kinds of identity constraints, all with - type of or derived from 'keybase'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A utility type, not for public use - - A public identifier, per ISO 8879 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - notations for use within schema documents - - - - - - - Not the real urType, but as close an approximation as we can - get in the XML representation - - - - - - - - - In keeping with the XML Schema WG's standard versioning policy, - the material in this schema document will persist at the URI - http://www.w3.org/2012/04/XMLSchema.xsd. - - At the date of issue it can also be found at the URI - http://www.w3.org/2009/XMLSchema/XMLSchema.xsd. - - The schema document at that URI may however change in the future, - in order to remain compatible with the latest version of XSD - and its namespace. In other words, if XSD or the XML Schema - namespace change, the version of this document at - http://www.w3.org/2009/XMLSchema/XMLSchema.xsd will change accordingly; - the version at http://www.w3.org/2012/04/XMLSchema.xsd will not change. - - Previous dated (and unchanging) versions of this schema document - include: - - http://www.w3.org/2012/01/XMLSchema.xsd - (XSD 1.1 Proposed Recommendation) - - http://www.w3.org/2011/07/XMLSchema.xsd - (XSD 1.1 Candidate Recommendation) - - http://www.w3.org/2009/04/XMLSchema.xsd - (XSD 1.1 Candidate Recommendation) - - http://www.w3.org/2004/10/XMLSchema.xsd - (XSD 1.0 Recommendation, Second Edition) - - http://www.w3.org/2001/05/XMLSchema.xsd - (XSD 1.0 Recommendation, First Edition) - - - - - - - - A utility type, not for public use - - - - - - - - - - - - - - - - - - - - #all or (possibly empty) subset of {restriction, extension, union, list} - - - A utility type, not for public use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Can be restricted to required or forbidden - - - - - - - - - - - - - - - - - Required at the top level - - - - - - - - - - - - - - - - - - Forbidden when nested - - - - - - - - - - - - - - - - - An abstract element, representing facets in general. - The facets defined by this spec are substitutable for - this element, and implementation-defined facets should - also name this as a substitution-group head. - - - - - - - - - - - - - - - - - base attribute and simpleType child are mutually - exclusive, but one or other is required - - - - - - - - - - - - - - - itemType attribute and simpleType child are mutually - exclusive, but one or other is required - - - - - - - - - - - - - - - - - memberTypes attribute must be non-empty or there must be - at least one simpleType child - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In keeping with the XML Schema WG's standard versioning policy, - this schema document will persist at the URI - http://www.w3.org/2012/04/datatypes.xsd. - - At the date of issue it can also be found at the URI - http://www.w3.org/2009/XMLSchema/datatypes.xsd. - - The schema document at that URI may however change in the future, - in order to remain compatible with the latest version of XSD - and its namespace. In other words, if XSD or the XML Schema - namespace change, the version of this document at - http://www.w3.org/2009/XMLSchema/datatypes.xsd will change accordingly; - the version at http://www.w3.org/2012/04/datatypes.xsd will not change. - - Previous dated (and unchanging) versions of this schema document - include: - - http://www.w3.org/2012/01/datatypes.xsd - (XSD 1.1 Proposed Recommendation) - - http://www.w3.org/2011/07/datatypes.xsd - (XSD 1.1 Candidate Recommendation) - - http://www.w3.org/2009/04/datatypes.xsd - (XSD 1.1 Candidate Recommendation) - - http://www.w3.org/2004/10/datatypes.xsd - (XSD 1.0 Recommendation, Second Edition) - - http://www.w3.org/2001/05/datatypes.xsd - (XSD 1.0 Recommendation, First Edition) - - - - diff --git a/Efi2Xsd/XSL/Eficas2Xsd.xslt b/Efi2Xsd/XSL/Eficas2Xsd.xslt deleted file mode 100755 index 92a75f72..00000000 --- a/Efi2Xsd/XSL/Eficas2Xsd.xslt +++ /dev/null @@ -1,789 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/XSL/MED_FAM_gen.xsd b/Efi2Xsd/XSL/MED_FAM_gen.xsd deleted file mode 100644 index 4dc86bd7..00000000 --- a/Efi2Xsd/XSL/MED_FAM_gen.xsd +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Efi2Xsd/XSL/MED_FAM_v2_gen.xsd b/Efi2Xsd/XSL/MED_FAM_v2_gen.xsd deleted file mode 100644 index cce4d5b6..00000000 --- a/Efi2Xsd/XSL/MED_FAM_v2_gen.xsd +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Efi2Xsd/XSL/MappingMapToXMLSchema_1_1__ef.xslt b/Efi2Xsd/XSL/MappingMapToXMLSchema_1_1__ef.xslt deleted file mode 100755 index 92a75f72..00000000 --- a/Efi2Xsd/XSL/MappingMapToXMLSchema_1_1__ef.xslt +++ /dev/null @@ -1,789 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Efi2Xsd/XSL/Saxon.cmd b/Efi2Xsd/XSL/Saxon.cmd deleted file mode 100644 index 50048709..00000000 --- a/Efi2Xsd/XSL/Saxon.cmd +++ /dev/null @@ -1 +0,0 @@ -saxonb-xslt -s:../Cata_MED_FAM.xml -xsl:MappingMapToXMLSchema_1_1__ef.xslt PrefixName=med UserNameSpace='http://chercheurs.edf.com/logiciels/' diff --git a/Efi2Xsd/__init__.py b/Efi2Xsd/__init__.py deleted file mode 100644 index df53d551..00000000 --- a/Efi2Xsd/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# diff --git a/Efi2Xsd/balises.py b/Efi2Xsd/balises.py deleted file mode 100644 index 4f2a4636..00000000 --- a/Efi2Xsd/balises.py +++ /dev/null @@ -1,53 +0,0 @@ -texteDebut='\n' -texteFin='' - -# SIMP -typeSimple = '\t\n\t\t\n\t\n' -debutTypeSimpleWithInto = '\t\n\t\t\n' -typeSimpleWithInto = '\t\t\t\n' -finTypeSimpleWithInto = '\t\t\n\t\n' -eltDsSequence = '\t\t\t\n' - -# COMPO -debutTypeCompo = '\t\n\t\t\n' -finTypeCompo = '\t\t\n\t\n' -eltCompoDsSequence = '\t\t\t\n' -eltCompoDsSequenceSiProc = '\t\t\t\n' - -# BLOC -debutTypeSubst = '\t \n\t\t\n' -finTypeSubst = '\t\t\n\t\n' -substDsSequence = '\t\t\t\n' - - -# CATA -debutTypeCata = '\t\n\t\t\n' -finTypeCata = '\t\t\n\t ' -eltCata = '\t\n' - - -if __name__ == '__main__' : - nomElt='Simple' - nomDuType='T_Simple' - nomDuTypeBase='int' - nomDuComplexe='T_Complexe' - nomDuCode='monCode' - minOccurs=1 - maxOccurs=1 - - texteSimple=typeSimple.format(nomDuType, nomDuTypeBase) - texteElt=eltDsSequence.format(nomElt,nomDuCode,nomDuType,minOccurs,maxOccurs) - - minOccurs=0 - texteComplexe=debutTypeComplexe.format(nomDuComplexe) - texteComplexe+=texteElt - texteComplexe+=finTypeComplexe - texteEltComplexe=eltDsSequence.format(nomElt,nomDuCode,nomDuType,minOccurs,maxOccurs) - - texteCata=debutTypeCata.format(nomDuCode) - texteCata+=texteEltComplexe - texteCata+=finTypeCata - - eltRacine=eltCata.format(nomDuCode, 'T_'+nomDuCode) - print (texteSimple+texteComplexe+texteCata+eltRacine) - diff --git a/Efi2Xsd/efficas.py b/Efi2Xsd/efficas.py deleted file mode 100644 index 3304e8af..00000000 --- a/Efi2Xsd/efficas.py +++ /dev/null @@ -1,2 +0,0 @@ -# -*- coding: utf-8 -*- -from raw.efficas import * diff --git a/Efi2Xsd/introspect.py b/Efi2Xsd/introspect.py deleted file mode 100644 index cf099b11..00000000 --- a/Efi2Xsd/introspect.py +++ /dev/null @@ -1,109 +0,0 @@ -# Demonstrate alternatives for bindings customization -import sys, os -sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),".."))) - -# Introspection-based customization. -#from raw.custom import * -#import raw.custom as raw_custom -from Atmo.raw.atmo_test3 import * -import Atmo.raw.atmo_test3 as raw_custom - -#class ta04 (raw_custom.ta04): -# def xa04 (self): -# return 'extend ta04' -#raw_custom.ta04._SetSupersedingClass(ta04) - -import inspect -def creationAccasSimp(c): - print c - -class toto -def __init__(self,*args): - print dir(self) - mro = type(self).mro() - for next_class in mro[mro.index(ChildB) + 1:] : - if hasattr(next_class, '__init__'): - next_class.__init__(self,args) - -# Utility function to identify classes of interest -def _isSupersedable (cls): - return inspect.isclass(cls) and issubclass(cls, pyxb.binding.basis._DynamicCreate_mixin) - -def _injectClasses (): - import sys - import pyxb.binding.basis - - # All PyXB complex type definitions in the original module - raw_classes = set([_o for (_, _o) in inspect.getmembers(raw_custom) if _isSupersedable(_o)]) - raw_classes_compo=set() - raw_classes_simp=set() - for c in raw_classes : - if issubclass(c,pyxb.binding.basis.complexTypeDefinition) : raw_classes_compo.add(c) - else : raw_classes_simp.add(c) - #print 'Original classes complex type: %s' % (raw_classes_compo,) - print 'Original classes simple type: %s' % (raw_classes_simp,) - for c in raw_classes_simp: - setattr(c,'creationAccasSimp',creationAccasSimp) - oldInit=c.__init__ - print c.__class__ - #setattr(c,'__init__',__init__) - print c.__mro__ - - # PyXB complex type definitions in this module that did not come - # from the original import *. - this_module = sys.modules[__name__] - this_classes = set([_o for (_, _o) in inspect.getmembers(this_module) if _isSupersedable(_o) and _o not in raw_classes]) - this_classes_tuple = tuple(this_classes) - #print 'This classes: %s' % (this_classes,) - - # Raw classes superseded by something in this module - superseded_classes = set([ _o for _o in raw_classes if _o._SupersedingClass() in this_classes ]) - superseded_classes_tuple = tuple(superseded_classes) - print 'Superseded classes: %s' % (superseded_classes,) - - # Raw classes that are subclasses of something superseded by this - # module, but that are not themselves superseded by this module - need_supersedure_classes = set([_o for _o in raw_classes if issubclass(_o, superseded_classes_tuple) and _o not in superseded_classes]) - print 'Need supersedure classes: %s' % (need_supersedure_classes,) - - # Add local definitions to supersede classes all of whose - # ancestors have been superseded as necessary. - while need_supersedure_classes: - did_replacement = False - new_need_supersedure_classes = set() - for o in need_supersedure_classes: - candidate = True - # Build the new sequence of base classes while we check them. - new_mro = [] - for super_o in o.__mro__: - if super_o == o: - # Put the superseded class in its original position (probably first) - new_mro.append(o) - continue - if super_o in need_supersedure_classes: - # Subclass of a class we haven't gotten to yet; put it off - candidate = False - break - # Append the replacement or the original, as needed - if super_o in superseded_classes: - new_mro.append(super_o._SupersedingClass()) - else: - new_mro.append(super_o) - if not candidate: - new_need_supersedure_classes.add(o) - continue - # Create a new class that subclasses the replacements - name = o.__name__ - new_o = type(name, tuple(new_mro), o.__dict__.copy()) - # Install it in the module - setattr(this_module, name, new_o) - # Tell PyXB to use it as the superseding class - o._SetSupersedingClass(new_o) - # Record it so future passes will find it - superseded_classes.add(o) - assert need_supersedure_classes != new_need_supersedure_classes - need_supersedure_classes = new_need_supersedure_classes - -_injectClasses() -m=T_Unit1(1) -print m diff --git a/Efi2Xsd/mapDesTypes.py b/Efi2Xsd/mapDesTypes.py deleted file mode 100755 index d90cbc12..00000000 --- a/Efi2Xsd/mapDesTypes.py +++ /dev/null @@ -1,122 +0,0 @@ -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - - -def inverseDico(dicoSource) : -#--------------------------- - dicoInverse = {} - for (clef,valeur) in dicoSource.items(): - if not(type(valeur) is tuple): - dicoInverse[valeur]=clef - continue - (elt,att)=valeur - if elt not in dicoInverse : dicoInverse[elt]={} - dicoInverse[elt][att]=clef - return dicoInverse - -dictSIMPEficasXML= { 'typ' : 'nomTypeAttendu', - 'statut' : 'statut', - 'min' : 'minOccurences', - 'max' : 'maxOccurences', - 'homo' : 'homo' , - 'position' : 'portee', - 'validators' : 'validators' , - 'sug' : 'valeurSugg', - 'defaut' : 'valeurDef' , - 'into' : ('plageValeur','into'), - 'val_min' : ('plageValeur','borneInf'), - 'val_max' : ('plageValeur','borneSup'), - 'ang' : ('doc','ang'), - 'fr' : ('doc','fr',), - 'docu' : ('doc','docu'), - } - -dictSIMPXMLEficas= inverseDico(dictSIMPEficasXML) - - - -dictFACTEficasXML = { 'statut' : 'statut', - 'min' : 'minOccurences', - 'max' : 'maxOccurences', - 'ang' : ('doc','ang'), - 'fr' : ('doc','fr',), - 'docu' : ('doc','docu'), - 'regles' : 'regles', - 'validators' : 'validators' , - } - -dictFACTXMLEficas = inverseDico(dictFACTEficasXML) - -dictBLOCEficasXML = { 'statut' : 'statut', - 'ang' : ('doc','ang'), - 'fr' : ('doc','fr',), - 'regles' : 'regles', - 'condition' : 'condition' , - } - -dictBLOCXMLEficas = inverseDico(dictBLOCEficasXML) - -dictPROCEficasXML = { 'nom' : 'nom', - 'regles' : 'regles', - 'ang' : ('doc','ang'), - 'fr' : ('doc','fr',), - 'docu' : ('doc','docu'), - } - # 'UIinfo' : 'UIinfo' - # 'reentrant' - # 'repetable' - # 'op_init' - # 'fenetreIhm' : 'fenetreIhm' - -dictPROCXMLEficas = inverseDico(dictPROCEficasXML) - -dictOPEREficasXML = dictPROCEficasXML -dictOPERXMLEficas = dictPROCXMLEficas - -dictPourCast = { 'I' : int, 'R' : float, 'bool' : bool , } -dictNomsDesTypes = { 'I' : 'int', 'R' : 'float', bool : 'boolean' , 'TXM' : 'string', 'Fichier' : 'string', 'Repertoire':'string', 'FichierNoAbs' : 'string', 'FichierOuRepertoire':'string' } - -listeParamDeTypeTypeAttendu = ( 'defaut', 'sug', 'val_min', 'val_max', 'into', 'intoSug') -listeParamDeTypeStr = ('fr', 'docu', 'ang', 'nom' ) - -listeParamTjsSequence = ('into' , 'intoSug') -listeParamSelonType = ('defaut', 'sug', 'into', 'intoSug') - -if __name__ == "__main__": - import pprint - pp=pprint.PrettyPrinter(indent=4) - print ('dictSIMPEficasXML') - pp.pprint(dictSIMPEficasXML) - print ('\n\n') - print ('dictSIMPXMLEficas') - pp.pprint(dictSIMPXMLEficas) - print ('\n\n') - print ('dictFACTEficasXML') - pp.pprint(dictFACTEficasXML) - print ('\n\n') - print ('dictFACTXMLEficas') - pp.pprint(dictFACTXMLEficas) - print ('\n\n') - print ('dictPROCEficasXML') - pp.pprint(dictPROCEficasXML) - print ('\n\n') - print ('dictPROCXMLEficas') - pp.pprint(dictPROCXMLEficas) - print ('\n\n') - print ('dictNomsDesTypes') - pp.pprint(dictNomsDesTypes ) diff --git a/Efi2Xsd/readerEfiXsd.py b/Efi2Xsd/readerEfiXsd.py deleted file mode 100755 index c98a16cd..00000000 --- a/Efi2Xsd/readerEfiXsd.py +++ /dev/null @@ -1,310 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -import sys,os -import raw.efficas as efficas -import types - -sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..'))) - - -from Accas import * - - -# ds l init du SIMP il manque siValide et fenetreIhm - -from mapDesTypes import dictSIMPEficasXML, dictSIMPXMLEficas -from mapDesTypes import dictFACTEficasXML, dictFACTXMLEficas -from mapDesTypes import dictPROCEficasXML, dictPROCXMLEficas -from mapDesTypes import dictOPEREficasXML, dictOPERXMLEficas -from mapDesTypes import dictBLOCEficasXML, dictBLOCXMLEficas -from mapDesTypes import dictPourCast -from mapDesTypes import listeParamDeTypeTypeAttendu, listeParamDeTypeStr, dictPourCast -from mapDesTypes import listeParamTjsSequence, listeParamSelonType - - -# ------------------------------ -class objetDefinitionAccas: -# ------------------------------ - - def argumentXMLToEficas(self): - # --------------------------- - # Attention, pas de validation pour l instant - # il faut verifier la coherence entre les types contenus dans defaut, sug ... et le typeAttendu - # tout cela dans une fonction verifie pas faite -) - - # Recuperation parametres - self.dictArgsEficas={} - for nomXMLArg in dir(self) : - if nomXMLArg in self.dictATraiter : - nomEficasArg=self.dictATraiter[nomXMLArg] - argu=getattr(self,nomXMLArg) - if argu==None : continue - - if type(nomEficasArg) == types.DictionaryType: - for nomXML in list(nomEficasArg.keys()): - arguDecoupe=getattr(argu,nomXML) - nomEficasDecoupe=nomEficasArg[nomXML] - if arguDecoupe == None : continue - self.dictArgsEficas[nomEficasDecoupe]=arguDecoupe - else : - self.dictArgsEficas[nomEficasArg] = argu - - # Cast dans le bon type des parametres si necessaire - if 'min' in list(self.dictArgsEficas.keys()): - self.dictArgsEficas['min']=int(self.dictArgsEficas['min']) - - if 'max' in list(self.dictArgsEficas.keys()): - if self.dictArgsEficas['max']== -1 : self.dictArgsEficas['max']="**" - else : self.dictArgsEficas['max']=int(self.dictArgsEficas['max']) - - for param in list(self.dictArgsEficas.keys()): - if param in listeParamDeTypeStr : - self.dictArgsEficas[param]=unicode(self.dictArgsEficas[param]) - - # En 2.7 a revoir en 3 ? necessaire - self.nomObj=str(self.nom) - - def getAccasEquivalent(self): - # --------------------------- - return self.nomObj, self.objAccas -# - -# --------------------------------------------------------- -class objetComposeDefinitionAccas (objetDefinitionAccas): -# --------------------------------------------------------- - def exploreArbre(self,cata): - # -------------------------- - liste=[] - for obj in self.content(): liste.append(obj) - #liste.reverse() - # PNPNPN essayer de comprendre reverse ou non - - for obj in liste: - if hasattr(obj,'explore') : obj.explore(cata) - if hasattr(obj,'getAccasEquivalent') : - nom,objetAccas=obj.getAccasEquivalent() - self.dictArgsEficas[nom]=objetAccas - -# ---------------------------------------------------- -class monSIMP (efficas.T_SIMP, objetDefinitionAccas): -# ---------------------------------------------------- - - def explore(self,cata): - # -------------------- - #print ("je passe dans explore pour SIMP ", self.nom) - self.dictATraiter= dictSIMPXMLEficas - self.argumentXMLToEficas() - #print (self.dictArgsEficas) - - - self.objAccas=A_SIMP.SIMP(**self.dictArgsEficas) - self.objAccas.nom=self.nomObj - - def argumentXMLToEficas(self): - # ---------------------------- - #print self.nom - objetDefinitionAccas.argumentXMLToEficas(self) - - if self.attendTuple() : - #nbDElts=type(listeDElt[0]) - print self.nomTypeAttendu - - - self.traiteLesSequences() - #self.convertitLesTypes() - - def attendListe(self): - # --------------- - if 'max' in self.dictArgsEficas : - if self.dictArgsEficas['max'] > 1 : return True - if self.dictArgsEficas['max'] == "**" : return True - return False - - def attendTuple(self): - # ----------------- - if self.dictArgsEficas['typ'] != 'tuple' : return False - return True - - def attendTXM(self): - # ---------------- - if self.dictArgsEficas['typ'] == 'TXM' : return True - return False - - - def traiteLesSequences(self): - # --------------------------- - listeDeListe=self.attendListe() - for param in listeParamTjsSequence : - if param in self.dictArgsEficas : - if listeDeListe == False: - #print ('________________________________') - listeDElt=[] - for i in range(len(self.dictArgsEficas[param])): - # ou typesimple ? - # ici on ne sait pas si on est un type simple ou complexe ? - listeDElt.append(self.dictArgsEficas[param][i].content()[0]) - listeRetour=self.convertitListeDsLeBonType(listeDElt) - #print (listeRetour) - #print ('________________________________') - self.dictArgsEficas[param]=listeRetour - else : - listeResultat=[] - # on transforme en liste pour traiter chaque elt de la liste - for i in range(len(self.dictArgsEficas[param])): - if self.dictArgsEficas[param][i].typesimple != None : - lesElts=self.dictArgsEficas[param][i].typesimple - else : - lesElts=self.dictArgsEficas[param][i].content() - if (not(isinstance(lesElts,list)) and not (isinstance(lesElts,tuple))): - lesElts=(lesElts,) - lesEltsTransformes=self.convertitListeDsLeBonType(lesElts) - lesEltsTransformes=self.convertitListeDsLeBonType(lesElts) - listeResultat.append(lesEltsTransformes) - self.dictArgsEficas[param]=listeResultat - #print ('fin de traiteLesSequences pour', self.nom, ' param :', param, 'listeResultat',self.dictArgsEficas[param]) - - - def convertitListeDsLeBonType(self,listeDElt): - # ------------------------------------------- - # Cas des Tuples non traites - typeAttendu = self.dictArgsEficas['typ'] - if typeAttendu in list(dictPourCast.keys()): - nouvelleListe=[] - castDsLeTypeAttendu=dictPourCast[typeAttendu] - for valeurACaster in listeDElt : - val=castDsLeTypeAttendu(valeurACaster) - nouvelleListe.append(val) - return nouvelleListe - elif self.attendTuple() : - nbDElts=type(listeDElt[0]).n - - else : return listeDElt - - - - def convertitLesTypes(self): - # ------------------------ - # Cas des Tuples non traites - # Cas des fonctions utilisateurs non traites - - typeAttendu = self.dictArgsEficas['typ'] - if typeAttendu in list(dictPourCast.keys()): - castDsLeTypeAttendu=dictPourCast[typeAttendu] - for param in listeParamDeTypeTypeAttendu : - if param in list(self.dictArgsEficas.keys()): - if param in listeParamEnListeSelonType or param in listeParamTjsEnListe : - print ('typeAttendu',typeAttendu) - print (self.dictArgsEficas[param]) - print (self.dictArgsEficas[param].content()) - print (self.dictArgsEficas[param].content()) - return - valeurACaster=self.dictArgsEficas[param].typesimple - if not isinstance(valeurACaster, (list, tuple)) : - val=castDsLeTypeAttendu(valeurACaster) - self.dictArgsEficas[param]=val - else : - liste=[] - for val in valeurACaster : liste.append(castDsLeTypeAttendu(val)) - self.dictArgsEficas[param]=liste - - -# ------------------------------------------------------- -class monFACT(efficas.T_FACT, objetComposeDefinitionAccas): -# ------------------------------------------------------- - def explore(self,cata): - # -------------------- - #print "je passe dans explore pour FACT ", self.nom - - self.dictATraiter= dictFACTXMLEficas - self.argumentXMLToEficas() - self.exploreArbre(cata) - self.objAccas=A_FACT.FACT(**self.dictArgsEficas) - - -# --------------------------------------------------------- -class monPROC(efficas.T_PROC, objetComposeDefinitionAccas): -# --------------------------------------------------------- - def explore(self,cata): - # -------------------- - print "je passe dans explore pour PROC ", self.nom - self.dictATraiter= dictPROCXMLEficas - self.argumentXMLToEficas() - self.exploreArbre(cata) - self.dictArgsEficas['op']=None - - self.objAccas=A_PROC.PROC(**self.dictArgsEficas) - setattr(cata, self.nomObj,self.objAccas) - cata.contexteXML[self.nomObj]=self.objAccas - -# --------------------------------------------------------- -class monOPER(efficas.T_OPER, objetComposeDefinitionAccas): -# --------------------------------------------------------- - def explore(self,cata): -# ------------------------ - print "je passe dans explore pour OPER", self.nom - self.cata=cata - self.dictATraiter= dictOPERXMLEficas - self.argumentXMLToEficas() - self.exploreArbre(cata) - - textCreationClasse='class '+str(self.typeCree)+'(ASSD): pass\n' - exec(textCreationClasse,globals()) - maClasseCreee=globals()[self.typeCree] - self.dictArgsEficas['sd_prod'] = maClasseCreee - cata.contexteXML[self.typeCree] = maClasseCreee - - self.dictArgsEficas['op'] = None - self.objAccas=A_OPER.OPER(**self.dictArgsEficas) - setattr(cata, self.nomObj,self.objAccas) - cata.contexteXML[self.nomObj] = self.objAccas - -# --------------------------------------------------------- -class monBLOC(efficas.T_BLOC, objetComposeDefinitionAccas): -# --------------------------------------------------------- - def explore(self,cata): -# ------------------------ - print ('je passe dans explore pour BLOC', self.nom) - self.cata=cata - self.dictATraiter= dictBLOCXMLEficas - self.argumentXMLToEficas() - self.exploreArbre(cata) - self.objAccas=A_BLOC.BLOC(**self.dictArgsEficas) - setattr(cata, self.nomObj,self.objAccas) - cata.contexteXML[self.nomObj] = self.objAccas - -# ------------------------------ -class monCata(efficas.T_cata): -# ------------------------------ - def exploreCata(self): - # PNPNPN --> il faut revoir ce mecanisme - self.modeleMetier = None - # On positionne le contexte ACCAS - self.JdC = JDC_CATA (code = 'Atmo', execmodul = None,) - self.contexteXML={} - objAExplorer=self.commandes[0] - for obj in objAExplorer.content(): - if hasattr(obj,'explore') : obj.explore(self) - #print dir(self.JdC) - - - #def dumpXSD(self): - # for etape in self.contexteXML.values() : - # etape.dumpXSD() - -efficas.T_SIMP._SetSupersedingClass(monSIMP) -efficas.T_FACT._SetSupersedingClass(monFACT) -efficas.T_PROC._SetSupersedingClass(monPROC) -efficas.T_OPER._SetSupersedingClass(monOPER) -efficas.T_BLOC._SetSupersedingClass(monBLOC) -efficas.T_cata._SetSupersedingClass(monCata) - -if __name__ == "__main__": -# print dir(efficas) -# print dir(efficas.T_SIMP) - - #xml = open('cata_test1.xml').read() - xml = open('cata.xml').read() - SchemaMed = efficas.CreateFromDocument(xml) - SchemaMed.exploreCata() - #SchemaMed.dumpXSD() - diff --git a/EssaiInit/Cata_MED_FAM.xml b/EssaiInit/Cata_MED_FAM.xml deleted file mode 100755 index 75acb49a..00000000 --- a/EssaiInit/Cata_MED_FAM.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - TXM - - - TXM - TXM - - I - TXM - I - I - - - I - TXM - - - - - - diff --git a/EssaiInit/Cata_MED_FAM.xml.mini b/EssaiInit/Cata_MED_FAM.xml.mini deleted file mode 100755 index 75acb49a..00000000 --- a/EssaiInit/Cata_MED_FAM.xml.mini +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - TXM - - - TXM - TXM - - I - TXM - I - I - - - I - TXM - - - - - - diff --git a/EssaiInit/Cata_MED_FAM.xml.origin b/EssaiInit/Cata_MED_FAM.xml.origin deleted file mode 100755 index 75acb49a..00000000 --- a/EssaiInit/Cata_MED_FAM.xml.origin +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - TXM - - - TXM - TXM - - I - TXM - I - I - - - I - TXM - - - - - - diff --git a/EssaiInit/README.txt b/EssaiInit/README.txt deleted file mode 100644 index a167a899..00000000 --- a/EssaiInit/README.txt +++ /dev/null @@ -1 +0,0 @@ -pyxbgen -u model.xsd -m efficas --write-for-customization diff --git a/EssaiInit/aide1 b/EssaiInit/aide1 deleted file mode 100644 index 96187efc..00000000 --- a/EssaiInit/aide1 +++ /dev/null @@ -1,256 +0,0 @@ -Factory - -OPER - -PROC - -_Abstract - -_AddElement - -_AlternativeConstructor - -_AttributeMap - -_AttributeWildcard - -_Automaton - -_CT_ELEMENT_ONLY - -_CT_EMPTY - -_CT_MIXED - -_CT_SIMPLE - -_CompatibleValue - -_ContentTypeTag - -_DynamicCreate - -_DynamicCreate_mixin__AlternativeConstructorAttribute - -_DynamicCreate_mixin__SupersedingClassAttribute - -_ElementBindingDeclForName - -_ElementMap - -_ExpandedName - -_GetValidationConfig - -_HasWildcardElement - -_IsMixed - -_IsSimpleTypeContent - -_IsUrType - -_Locatable_mixin__location - -_Name - -_PerformValidation - -_PreFactory_vx - -_PyXBFactoryKeywords - -_RequireXSIType - -_ReservedSymbols - -_SetAlternativeConstructor - -_SetSupersedingClass - -_SetValidationConfig - -_SupersedingClass - -_T_commandes__OPER - -_T_commandes__PROC - -_TypeBinding_mixin__AttributesFromDOM - -_TypeBinding_mixin__WarnedUnassociatedElement - -_TypeBinding_mixin__checkNilCtor - -_TypeBinding_mixin__constructedWithValue - -_TypeBinding_mixin__element - -_TypeBinding_mixin__getValidationConfig - -_TypeBinding_mixin__namespaceContext - -_TypeBinding_mixin__xsiNil - -_TypeDefinition - -_UseForTag - -_XSDLocation - -__class__ - -__delattr__ - -__dict__ - -__doc__ - -__format__ - -__getattribute__ - -__hash__ - -__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasOPER - -__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasPROC - -__init__ - -__module__ - -__new__ - -__reduce__ - -__reduce_ex__ - -__repr__ - -__setattr__ - -__sizeof__ - -__str__ - -__subclasshook__ - -__weakref__ - -_addContent - -_appendWildcardElement - -_automatonConfiguration - -_complexTypeDefinition__NeedWarnOnContent - -_complexTypeDefinition__WarnOnContent - -_complexTypeDefinition__automatonConfiguration - -_complexTypeDefinition__childrenForDOM - -_complexTypeDefinition__content - -_complexTypeDefinition__setContent - -_complexTypeDefinition__wildcardAttributeMap - -_complexTypeDefinition__wildcardElements - -_constructedWithValue - -_description - -_diagnosticName - -_element - -_finalizeContentModel - -_isNil - -_location - -_namespaceContext - -_performValidation - -_postDOMValidate - -_postFactory_vx - -_resetAutomaton - -_resetContent - -_setAttribute - -_setAttributesFromKeywordsAndDOM - -_setDOMFromAttributes - -_setElement - -_setIsNil - -_setLocation - -_setNamespaceContext - -_setValidationConfig - -_substitutesFor - -_symbolSet - -_toDOM_csc - -_validateAttributes - -_validateBinding_vx - -_validatedChildren - -_validationConfig - -_validationConfig_ - -append - -content - -extend - -orderedContent - -reset - -toDOM - -toxml - -validateBinding - -value - -wildcardAttributeMap - -wildcardElements - -xsdConstraintsOK - -_______________________ -je passe ds CreerAccas -PlageValeur -ValeurDef -doc -portee -statut -o -typeAttendu -TXM -validators -_______________________ diff --git a/EssaiInit/efficas.py b/EssaiInit/efficas.py deleted file mode 100644 index 3304e8af..00000000 --- a/EssaiInit/efficas.py +++ /dev/null @@ -1,2 +0,0 @@ -# -*- coding: utf-8 -*- -from raw.efficas import * diff --git a/EssaiInit/model.xsd b/EssaiInit/model.xsd deleted file mode 100755 index 53fe25af..00000000 --- a/EssaiInit/model.xsd +++ /dev/null @@ -1,595 +0,0 @@ - - - - - - - - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - SIMP devrait être selectionné que si .//SIMP[portee='Global'] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - La valuer -1 equivaut à oo - - - - - - - - - - - - - - - - - - - - - - - - - - La portée pouurait devenir un attribut de SIMP. Une autre solution consisterait a créer un SIMPG pour distinguer les @nom uniques des SIMP a portée globale des autres. - - - - - - - - - - - - - - La valuer -1 equivaut à oo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Référence une position dans un fichier maître contenant une liste de références à des pages de documentations - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/EssaiInit/raw/__init__.py b/EssaiInit/raw/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/EssaiInit/raw/efficas.py b/EssaiInit/raw/efficas.py deleted file mode 100644 index de150a9a..00000000 --- a/EssaiInit/raw/efficas.py +++ /dev/null @@ -1,2685 +0,0 @@ -# ./raw/efficas.py -# -*- coding: utf-8 -*- -# PyXB bindings for NM:759f40938b7670cd6d5941e706557eb2115fb17f -# Generated 2016-11-23 16:51:37.568270 by PyXB version 1.2.3 -# Namespace http://chercheurs.edf.com/logiciels/efficas - -import pyxb -import pyxb.binding -import pyxb.binding.saxer -import io -import pyxb.utils.utility -import pyxb.utils.domutils -import sys - -# Unique identifier for bindings created at the same time -_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:b79c3f70-b194-11e6-bb0f-b05adafd94d6') - -# Version of PyXB used to generate the bindings -_PyXBVersion = '1.2.3' -# Generated bindings are not compatible across PyXB versions -if pyxb.__version__ != _PyXBVersion: - raise pyxb.PyXBVersionError(_PyXBVersion) - -# Import bindings for namespaces imported into schema -import pyxb.binding.datatypes - -# NOTE: All namespace declarations are reserved within the binding -Namespace = pyxb.namespace.NamespaceForURI(u'http://chercheurs.edf.com/logiciels/efficas', create_if_missing=True) -Namespace.configureCategories(['typeBinding', 'elementBinding']) - -def CreateFromDocument (xml_text, default_namespace=None, location_base=None): - """Parse the given XML and use the document element to create a - Python instance. - - @param xml_text An XML document. This should be data (Python 2 - str or Python 3 bytes), or a text (Python 2 unicode or Python 3 - str) in the L{pyxb._InputEncoding} encoding. - - @keyword default_namespace The L{pyxb.Namespace} instance to use as the - default namespace where there is no default namespace in scope. - If unspecified or C{None}, the namespace of the module containing - this function will be used. - - @keyword location_base: An object to be recorded as the base of all - L{pyxb.utils.utility.Location} instances associated with events and - objects handled by the parser. You might pass the URI from which - the document was obtained. - """ - - if pyxb.XMLStyle_saxer != pyxb._XMLStyle: - dom = pyxb.utils.domutils.StringToDOM(xml_text) - return CreateFromDOM(dom.documentElement) - if default_namespace is None: - default_namespace = Namespace.fallbackNamespace() - saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base) - handler = saxer.getContentHandler() - xmld = xml_text - if isinstance(xmld, unicode): - xmld = xmld.encode(pyxb._InputEncoding) - saxer.parse(io.BytesIO(xmld)) - instance = handler.rootObject() - return instance - -def CreateFromDOM (node, default_namespace=None): - """Create a Python instance from the given DOM node. - The node tag must correspond to an element declaration in this module. - - @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.""" - if default_namespace is None: - default_namespace = Namespace.fallbackNamespace() - return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace) - - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_fonction_python -class T_fonction_python (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_fonction_python') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 154, 1) - _Documentation = None -T_fonction_python._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_fonction_python', T_fonction_python) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_statut -class AT_statut (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_statut') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 190, 1) - _Documentation = None -AT_statut._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=AT_statut, enum_prefix=None) -AT_statut.f = AT_statut._CF_enumeration.addEnumeration(unicode_value=u'f', tag=u'f') -AT_statut.o = AT_statut._CF_enumeration.addEnumeration(unicode_value=u'o', tag=u'o') -AT_statut._InitializeFacetMap(AT_statut._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'AT_statut', AT_statut) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_portee -class T_portee (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_portee') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 202, 1) - _Documentation = None -T_portee._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_portee, enum_prefix=None) -T_portee.None_ = T_portee._CF_enumeration.addEnumeration(unicode_value=u'None', tag=u'None_') -T_portee.Global = T_portee._CF_enumeration.addEnumeration(unicode_value=u'Global', tag=u'Global') -T_portee._InitializeFacetMap(T_portee._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'T_portee', T_portee) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_max_occurs -class AT_max_occurs (pyxb.binding.datatypes.long): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_max_occurs') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 208, 1) - _Documentation = None -AT_max_occurs._CF_minInclusive = pyxb.binding.facets.CF_minInclusive(value_datatype=AT_max_occurs, value=pyxb.binding.datatypes.long(-1L)) -AT_max_occurs._InitializeFacetMap(AT_max_occurs._CF_minInclusive) -Namespace.addCategoryObject('typeBinding', u'AT_max_occurs', AT_max_occurs) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_min_occurs -class AT_min_occurs (pyxb.binding.datatypes.long): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_min_occurs') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 213, 1) - _Documentation = None -AT_min_occurs._CF_minExclusive = pyxb.binding.facets.CF_minExclusive(value_datatype=pyxb.binding.datatypes.long, value=pyxb.binding.datatypes.integer(0L)) -AT_min_occurs._InitializeFacetMap(AT_min_occurs._CF_minExclusive) -Namespace.addCategoryObject('typeBinding', u'AT_min_occurs', AT_min_occurs) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_ag -class AT_ag (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_ag') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 226, 1) - _Documentation = None -AT_ag._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=AT_ag, enum_prefix=None) -AT_ag.No_comment = AT_ag._CF_enumeration.addEnumeration(unicode_value=u'No comment', tag=u'No_comment') -AT_ag._InitializeFacetMap(AT_ag._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'AT_ag', AT_ag) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_docu -class AT_docu (pyxb.binding.datatypes.string): - - """Référence une position dans un fichier maître contenant une liste de références à des pages de documentations""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_docu') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 231, 1) - _Documentation = u'R\xe9f\xe9rence une position dans un fichier ma\xeetre contenant une liste de r\xe9f\xe9rences \xe0 des pages de documentations' -AT_docu._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'AT_docu', AT_docu) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_valeur_sugg -class AT_valeur_sugg (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_valeur_sugg') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 237, 1) - _Documentation = None -AT_valeur_sugg._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'AT_valeur_sugg', AT_valeur_sugg) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_nom -class AT_nom (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_nom') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 241, 1) - _Documentation = None -AT_nom._CF_pattern = pyxb.binding.facets.CF_pattern() -AT_nom._CF_pattern.addPattern(pattern=u'([A-Z]|[a-z]|_)([A-Z]|[a-z]|_|[0-9])*') -AT_nom._InitializeFacetMap(AT_nom._CF_pattern) -Namespace.addCategoryObject('typeBinding', u'AT_nom', AT_nom) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_validators -class T_validators (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_validators') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 303, 1) - _Documentation = None -T_validators._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_validators, enum_prefix=None) -T_validators.NoRepeat = T_validators._CF_enumeration.addEnumeration(unicode_value=u'NoRepeat', tag=u'NoRepeat') -T_validators.OnlyStr = T_validators._CF_enumeration.addEnumeration(unicode_value=u'OnlyStr', tag=u'OnlyStr') -T_validators.VerifExiste = T_validators._CF_enumeration.addEnumeration(unicode_value=u'VerifExiste', tag=u'VerifExiste') -T_validators.VerifTypeTuple = T_validators._CF_enumeration.addEnumeration(unicode_value=u'VerifTypeTuple', tag=u'VerifTypeTuple') -T_validators._InitializeFacetMap(T_validators._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'T_validators', T_validators) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_Bool -class T_Bool (pyxb.binding.datatypes.boolean): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Bool') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 311, 1) - _Documentation = None -T_Bool._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_Bool', T_Bool) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_I -class T_I (pyxb.binding.datatypes.int): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_I') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 317, 1) - _Documentation = None -T_I._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_I', T_I) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_R -class T_R (pyxb.binding.datatypes.double): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_R') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 323, 1) - _Documentation = None -T_R._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_R', T_R) - -# List simple type: [anonymous] -# superclasses pyxb.binding.datatypes.anySimpleType -class STD_ANON (pyxb.binding.basis.STD_list): - - """Simple type that is a list of pyxb.binding.datatypes.double.""" - - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 338, 3) - _Documentation = None - - _ItemType = pyxb.binding.datatypes.double -STD_ANON._InitializeFacetMap() - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_C -# superclasses pyxb.binding.datatypes.anySimpleType -class T_list_C (pyxb.binding.basis.STD_list): - - """Simple type that is a list of pyxb.binding.datatypes.double.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_C') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 347, 1) - _Documentation = None - - _ItemType = pyxb.binding.datatypes.double -T_list_C._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_list_C', T_list_C) - -# Atomic simple type: [anonymous] -class STD_ANON_ (pyxb.binding.datatypes.string): - - """An atomic simple type.""" - - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 402, 3) - _Documentation = None -STD_ANON_._CF_whiteSpace = pyxb.binding.facets.CF_whiteSpace(value=pyxb.binding.facets._WhiteSpace_enum.preserve) -STD_ANON_._InitializeFacetMap(STD_ANON_._CF_whiteSpace) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_double -# superclasses pyxb.binding.datatypes.anySimpleType -class T_list_double (pyxb.binding.basis.STD_list): - - """Simple type that is a list of pyxb.binding.datatypes.double.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_double') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 428, 1) - _Documentation = None - - _ItemType = pyxb.binding.datatypes.double -T_list_double._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_list_double', T_list_double) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_predicat1 -# superclasses pyxb.binding.datatypes.anySimpleType -class T_predicat1 (pyxb.binding.basis.STD_list): - - """Simple type that is a list of AT_nom.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_predicat1') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 246, 1) - _Documentation = None - - _ItemType = AT_nom -T_predicat1._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_predicat1', T_predicat1) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}AT_subroutine -class AT_subroutine (AT_nom): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'AT_subroutine') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 300, 1) - _Documentation = None -AT_subroutine._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'AT_subroutine', AT_subroutine) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_Bool -# superclasses pyxb.binding.datatypes.anySimpleType -class T_list_Bool (pyxb.binding.basis.STD_list): - - """Simple type that is a list of T_Bool.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_Bool') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 314, 1) - _Documentation = None - - _ItemType = T_Bool -T_list_Bool._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_list_Bool', T_list_Bool) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_I -# superclasses pyxb.binding.datatypes.anySimpleType -class T_list_I (pyxb.binding.basis.STD_list): - - """Simple type that is a list of T_I.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_I') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 320, 1) - _Documentation = None - - _ItemType = T_I -T_list_I._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_list_I', T_list_I) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_R -# superclasses pyxb.binding.datatypes.anySimpleType -class T_list_R (pyxb.binding.basis.STD_list): - - """Simple type that is a list of T_R.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_R') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 326, 1) - _Documentation = None - - _ItemType = T_R -T_list_R._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_list_R', T_list_R) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_TXM -class T_TXM (AT_nom): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_TXM') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 329, 1) - _Documentation = None -T_TXM._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_TXM', T_TXM) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_C -# superclasses STD_ANON -class T_C (pyxb.binding.basis.STD_list): - - """Simple type that is a list of pyxb.binding.datatypes.double.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_C') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 336, 1) - _Documentation = None - - _ItemType = pyxb.binding.datatypes.double -T_C._CF_maxLength = pyxb.binding.facets.CF_maxLength(value=pyxb.binding.datatypes.nonNegativeInteger(2L)) -T_C._CF_minLength = pyxb.binding.facets.CF_minLength(value=pyxb.binding.datatypes.nonNegativeInteger(2L)) -T_C._InitializeFacetMap(T_C._CF_maxLength, - T_C._CF_minLength) -Namespace.addCategoryObject('typeBinding', u'T_C', T_C) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_name_base -class T_name_base (AT_nom): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_name_base') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 350, 1) - _Documentation = None -T_name_base._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_name_base', T_name_base) - -# Atomic simple type: [anonymous] -class STD_ANON_2 (AT_nom, pyxb.binding.basis.enumeration_mixin): - - """An atomic simple type.""" - - _ExpandedName = None - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 385, 3) - _Documentation = None -STD_ANON_2._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=STD_ANON_2, enum_prefix=None) -STD_ANON_2.T_Matrice_double = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_Matrice_double', tag=u'T_Matrice_double') -STD_ANON_2.T_Matrice_Symetrique_double = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_Matrice_Symetrique_double', tag=u'T_Matrice_Symetrique_double') -STD_ANON_2.T_tuple = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_tuple', tag=u'T_tuple') -STD_ANON_2.T_classe_utilisateur = STD_ANON_2._CF_enumeration.addEnumeration(unicode_value=u'T_classe_utilisateur', tag=u'T_classe_utilisateur') -STD_ANON_2._InitializeFacetMap(STD_ANON_2._CF_enumeration) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_Repertoire -# superclasses pyxb.binding.datatypes.anySimpleType -class T_Repertoire (pyxb.binding.basis.STD_list): - - """Simple type that is a list of STD_ANON_.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Repertoire') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 400, 1) - _Documentation = None - - _ItemType = STD_ANON_ -T_Repertoire._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_Repertoire', T_Repertoire) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur -class T_classe_utilisateur (AT_nom): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 461, 1) - _Documentation = None -T_classe_utilisateur._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur', T_classe_utilisateur) - -# List simple type: {http://chercheurs.edf.com/logiciels/efficas}T_list_TXM -# superclasses pyxb.binding.datatypes.anySimpleType -class T_list_TXM (pyxb.binding.basis.STD_list): - - """Simple type that is a list of T_TXM.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_list_TXM') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 332, 1) - _Documentation = None - - _ItemType = T_TXM -T_list_TXM._InitializeFacetMap() -Namespace.addCategoryObject('typeBinding', u'T_list_TXM', T_list_TXM) - -# Atomic simple type: {http://chercheurs.edf.com/logiciels/efficas}T_simple_name -class T_simple_name (T_name_base, pyxb.binding.basis.enumeration_mixin): - - """An atomic simple type.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_simple_name') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 353, 1) - _Documentation = None -T_simple_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_simple_name, enum_prefix=None) -T_simple_name.Fichier = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Fichier', tag=u'Fichier') -T_simple_name.Repertoire = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Repertoire', tag=u'Repertoire') -T_simple_name.TXM = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'TXM', tag=u'TXM') -T_simple_name.I = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'I', tag=u'I') -T_simple_name.R = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'R', tag=u'R') -T_simple_name.C = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'C', tag=u'C') -T_simple_name.Bool = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'Bool', tag=u'Bool') -T_simple_name.grma = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'grma', tag=u'grma') -T_simple_name.grno = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'grno', tag=u'grno') -T_simple_name.SalomeEntry = T_simple_name._CF_enumeration.addEnumeration(unicode_value=u'SalomeEntry', tag=u'SalomeEntry') -T_simple_name._InitializeFacetMap(T_simple_name._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'T_simple_name', T_simple_name) - -# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_name -# superclasses pyxb.binding.datatypes.anySimpleType -class T_name (pyxb.binding.basis.STD_union): - - """Simple type that is a union of T_simple_name, STD_ANON_2.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_name') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 383, 1) - _Documentation = None - - _MemberTypes = ( T_simple_name, STD_ANON_2, ) -T_name._CF_pattern = pyxb.binding.facets.CF_pattern() -T_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_name) -T_name.Fichier = u'Fichier' # originally T_simple_name.Fichier -T_name.Repertoire = u'Repertoire' # originally T_simple_name.Repertoire -T_name.TXM = u'TXM' # originally T_simple_name.TXM -T_name.I = u'I' # originally T_simple_name.I -T_name.R = u'R' # originally T_simple_name.R -T_name.C = u'C' # originally T_simple_name.C -T_name.Bool = u'Bool' # originally T_simple_name.Bool -T_name.grma = u'grma' # originally T_simple_name.grma -T_name.grno = u'grno' # originally T_simple_name.grno -T_name.SalomeEntry = u'SalomeEntry' # originally T_simple_name.SalomeEntry -T_name.T_Matrice_double = u'T_Matrice_double' # originally STD_ANON_2.T_Matrice_double -T_name.T_Matrice_Symetrique_double = u'T_Matrice_Symetrique_double'# originally STD_ANON_2.T_Matrice_Symetrique_double -T_name.T_tuple = u'T_tuple' # originally STD_ANON_2.T_tuple -T_name.T_classe_utilisateur = u'T_classe_utilisateur'# originally STD_ANON_2.T_classe_utilisateur -T_name._InitializeFacetMap(T_name._CF_pattern, - T_name._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'T_name', T_name) - -# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_simple -# superclasses pyxb.binding.datatypes.anySimpleType -class T_simple (pyxb.binding.basis.STD_union): - - """Simple type that is a union of T_I, T_list_I, T_R, T_list_R, T_C, T_list_C, T_TXM, T_list_TXM, T_Bool, T_list_Bool, T_Repertoire.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_simple') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 409, 1) - _Documentation = None - - _MemberTypes = ( T_I, T_list_I, T_R, T_list_R, T_C, T_list_C, T_TXM, T_list_TXM, T_Bool, T_list_Bool, T_Repertoire, ) -T_simple._CF_pattern = pyxb.binding.facets.CF_pattern() -T_simple._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_simple) -T_simple._InitializeFacetMap(T_simple._CF_pattern, - T_simple._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'T_simple', T_simple) - -# Union simple type: {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_name -# superclasses T_name, pyxb.binding.basis.enumeration_mixin -class T_classe_utilisateur_name (pyxb.binding.basis.STD_union): - - """Simple type that is a union of T_simple_name, STD_ANON_2.""" - - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur_name') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 371, 1) - _Documentation = None - - _MemberTypes = ( T_simple_name, STD_ANON_2, ) -T_classe_utilisateur_name._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=T_classe_utilisateur_name, enum_prefix=None) -T_classe_utilisateur_name.T_classe_utilisateur = T_classe_utilisateur_name._CF_enumeration.addEnumeration(unicode_value=u'T_classe_utilisateur', tag=u'T_classe_utilisateur') -T_classe_utilisateur_name._InitializeFacetMap(T_classe_utilisateur_name._CF_enumeration) -Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur_name', T_classe_utilisateur_name) - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_cata with content type ELEMENT_ONLY -class T_cata (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_cata with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_cata') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 66, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}commandes uses Python identifier commandes - __commandes = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'commandes'), 'commandes', '__httpchercheurs_edf_comlogicielsefficas_T_cata_httpchercheurs_edf_comlogicielsefficascommandes', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 11, 1), ) - - - commandes = property(__commandes.value, __commandes.set, None, None) - - _ElementMap.update({ - __commandes.name() : __commandes - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_cata', T_cata) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_commandes with content type ELEMENT_ONLY -class T_commandes (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_commandes with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_commandes') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 71, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}OPER uses Python identifier OPER - __OPER = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'OPER'), 'OPER', '__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasOPER', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 99, 1), ) - - - OPER = property(__OPER.value, __OPER.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}PROC uses Python identifier PROC - __PROC = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PROC'), 'PROC', '__httpchercheurs_edf_comlogicielsefficas_T_commandes_httpchercheurs_edf_comlogicielsefficasPROC', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 110, 1), ) - - - PROC = property(__PROC.value, __PROC.set, None, None) - - _ElementMap.update({ - __OPER.name() : __OPER, - __PROC.name() : __PROC - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_commandes', T_commandes) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Cardinalite with content type EMPTY -class T_Cardinalite (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Cardinalite with content type EMPTY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Cardinalite') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 77, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - _ElementMap.update({ - - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_Cardinalite', T_Cardinalite) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PlageValeur with content type ELEMENT_ONLY -class T_PlageValeur (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PlageValeur with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_PlageValeur') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 78, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}borne_sup uses Python identifier borne_sup - __borne_sup = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), 'borne_sup', '__httpchercheurs_edf_comlogicielsefficas_T_PlageValeur_httpchercheurs_edf_comlogicielsefficasborne_sup', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 46, 1), ) - - - borne_sup = property(__borne_sup.value, __borne_sup.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}borne_inf uses Python identifier borne_inf - __borne_inf = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), 'borne_inf', '__httpchercheurs_edf_comlogicielsefficas_T_PlageValeur_httpchercheurs_edf_comlogicielsefficasborne_inf', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 47, 1), ) - - - borne_inf = property(__borne_inf.value, __borne_inf.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}into uses Python identifier into - __into = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'into'), 'into', '__httpchercheurs_edf_comlogicielsefficas_T_PlageValeur_httpchercheurs_edf_comlogicielsefficasinto', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 49, 1), ) - - - into = property(__into.value, __into.set, None, None) - - _ElementMap.update({ - __borne_sup.name() : __borne_sup, - __borne_inf.name() : __borne_inf, - __into.name() : __into - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_PlageValeur', T_PlageValeur) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_predicat2 with content type ELEMENT_ONLY -class T_predicat2 (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_predicat2 with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_predicat2') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 250, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}p1 uses Python identifier p1 - __p1 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'p1'), 'p1', '__httpchercheurs_edf_comlogicielsefficas_T_predicat2_httpchercheurs_edf_comlogicielsefficasp1', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 252, 3), ) - - - p1 = property(__p1.value, __p1.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}p2 uses Python identifier p2 - __p2 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'p2'), 'p2', '__httpchercheurs_edf_comlogicielsefficas_T_predicat2_httpchercheurs_edf_comlogicielsefficasp2', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 253, 3), ) - - - p2 = property(__p2.value, __p2.set, None, None) - - _ElementMap.update({ - __p1.name() : __p1, - __p2.name() : __p2 - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_predicat2', T_predicat2) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_regles with content type ELEMENT_ONLY -class T_regles (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_regles with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_regles') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 291, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}A_CLASSER uses Python identifier A_CLASSER - __A_CLASSER = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), 'A_CLASSER', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasA_CLASSER', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 257, 1), ) - - - A_CLASSER = property(__A_CLASSER.value, __A_CLASSER.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}AU_MOINS_UN uses Python identifier AU_MOINS_UN - __AU_MOINS_UN = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), 'AU_MOINS_UN', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasAU_MOINS_UN', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 258, 1), ) - - - AU_MOINS_UN = property(__AU_MOINS_UN.value, __AU_MOINS_UN.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}AU_PLUS_UN uses Python identifier AU_PLUS_UN - __AU_PLUS_UN = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), 'AU_PLUS_UN', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasAU_PLUS_UN', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 259, 1), ) - - - AU_PLUS_UN = property(__AU_PLUS_UN.value, __AU_PLUS_UN.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}ENSEMBLE uses Python identifier ENSEMBLE - __ENSEMBLE = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), 'ENSEMBLE', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasENSEMBLE', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 260, 1), ) - - - ENSEMBLE = property(__ENSEMBLE.value, __ENSEMBLE.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}EXCLUS uses Python identifier EXCLUS - __EXCLUS = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), 'EXCLUS', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasEXCLUS', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 261, 1), ) - - - EXCLUS = property(__EXCLUS.value, __EXCLUS.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}PRESENT_ABSENT uses Python identifier PRESENT_ABSENT - __PRESENT_ABSENT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), 'PRESENT_ABSENT', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasPRESENT_ABSENT', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 269, 1), ) - - - PRESENT_ABSENT = property(__PRESENT_ABSENT.value, __PRESENT_ABSENT.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}PRESENT_PRESENT uses Python identifier PRESENT_PRESENT - __PRESENT_PRESENT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), 'PRESENT_PRESENT', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasPRESENT_PRESENT', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 270, 1), ) - - - PRESENT_PRESENT = property(__PRESENT_PRESENT.value, __PRESENT_PRESENT.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}UN_PARMI uses Python identifier UN_PARMI - __UN_PARMI = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), 'UN_PARMI', '__httpchercheurs_edf_comlogicielsefficas_T_regles_httpchercheurs_edf_comlogicielsefficasUN_PARMI', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 271, 1), ) - - - UN_PARMI = property(__UN_PARMI.value, __UN_PARMI.set, None, None) - - _ElementMap.update({ - __A_CLASSER.name() : __A_CLASSER, - __AU_MOINS_UN.name() : __AU_MOINS_UN, - __AU_PLUS_UN.name() : __AU_PLUS_UN, - __ENSEMBLE.name() : __ENSEMBLE, - __EXCLUS.name() : __EXCLUS, - __PRESENT_ABSENT.name() : __PRESENT_ABSENT, - __PRESENT_PRESENT.name() : __PRESENT_PRESENT, - __UN_PARMI.name() : __UN_PARMI - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_regles', T_regles) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grma with content type EMPTY -class T_grma (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grma with content type EMPTY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_grma') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 395, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - _ElementMap.update({ - - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_grma', T_grma) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grno with content type EMPTY -class T_grno (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_grno with content type EMPTY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_grno') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 396, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - _ElementMap.update({ - - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_grno', T_grno) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SalomeEntry with content type EMPTY -class T_SalomeEntry (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SalomeEntry with content type EMPTY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_SalomeEntry') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 397, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - _ElementMap.update({ - - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_SalomeEntry', T_SalomeEntry) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Fichier with content type EMPTY -class T_Fichier (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Fichier with content type EMPTY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Fichier') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 398, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - _ElementMap.update({ - - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_Fichier', T_Fichier) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_tuple with content type SIMPLE -class T_tuple (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_tuple with content type SIMPLE""" - _TypeDefinition = pyxb.binding.datatypes.anySimpleType - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_tuple') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 454, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anySimpleType - - # Attribute n uses Python identifier n - __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_tuple_n', pyxb.binding.datatypes.int, required=True) - __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 457, 4) - __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 457, 4) - - n = property(__n.value, __n.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __n.name() : __n - }) -Namespace.addCategoryObject('typeBinding', u'T_tuple', T_tuple) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_into with content type ELEMENT_ONLY -class T_into (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_into with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_into') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 501, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}fonction_utilisateur uses Python identifier fonction_utilisateur - __fonction_utilisateur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), 'fonction_utilisateur', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasfonction_utilisateur', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 10, 1), ) - - - fonction_utilisateur = property(__fonction_utilisateur.value, __fonction_utilisateur.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}typesimple uses Python identifier typesimple - __typesimple = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), 'typesimple', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficastypesimple', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 464, 1), ) - - - typesimple = property(__typesimple.value, __typesimple.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}matrice_double uses Python identifier matrice_double - __matrice_double = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), 'matrice_double', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasmatrice_double', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 465, 1), ) - - - matrice_double = property(__matrice_double.value, __matrice_double.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}matrice_symetrique_double uses Python identifier matrice_symetrique_double - __matrice_symetrique_double = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), 'matrice_symetrique_double', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasmatrice_symetrique_double', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 466, 1), ) - - - matrice_symetrique_double = property(__matrice_symetrique_double.value, __matrice_symetrique_double.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}tuple uses Python identifier tuple - __tuple = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'tuple'), 'tuple', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficastuple', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 467, 1), ) - - - tuple = property(__tuple.value, __tuple.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}classe_utilisateur uses Python identifier classe_utilisateur - __classe_utilisateur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), 'classe_utilisateur', '__httpchercheurs_edf_comlogicielsefficas_T_into_httpchercheurs_edf_comlogicielsefficasclasse_utilisateur', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 468, 1), ) - - - classe_utilisateur = property(__classe_utilisateur.value, __classe_utilisateur.set, None, None) - - _ElementMap.update({ - __fonction_utilisateur.name() : __fonction_utilisateur, - __typesimple.name() : __typesimple, - __matrice_double.name() : __matrice_double, - __matrice_symetrique_double.name() : __matrice_symetrique_double, - __tuple.name() : __tuple, - __classe_utilisateur.name() : __classe_utilisateur - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_into', T_into) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_doc with content type EMPTY -class T_doc (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_doc with content type EMPTY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_doc') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 61, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}fr uses Python identifier fr - __fr = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'fr'), 'fr', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasfr', pyxb.binding.datatypes.string) - __fr._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 53, 1) - __fr._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 62, 2) - - fr = property(__fr.value, __fr.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}ang uses Python identifier ang - __ang = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'ang'), 'ang', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasang', pyxb.binding.datatypes.string) - __ang._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 54, 1) - __ang._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 63, 2) - - ang = property(__ang.value, __ang.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}docu uses Python identifier docu - __docu = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'docu'), 'docu', '__httpchercheurs_edf_comlogicielsefficas_T_doc_httpchercheurs_edf_comlogicielsefficasdocu', AT_docu) - __docu._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 55, 1) - __docu._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 64, 2) - - docu = property(__docu.value, __docu.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __fr.name() : __fr, - __ang.name() : __ang, - __docu.name() : __docu - }) -Namespace.addCategoryObject('typeBinding', u'T_doc', T_doc) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common with content type ELEMENT_ONLY -class T_Accas_Common (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Accas.Common') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 87, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}doc uses Python identifier doc - __doc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'doc'), 'doc', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasdoc', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1), ) - - - doc = property(__doc.value, __doc.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}regles uses Python identifier regles - __regles = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'regles'), 'regles', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasregles', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 6, 1), ) - - - regles = property(__regles.value, __regles.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}SIMP uses Python identifier SIMP - __SIMP = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), 'SIMP', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasSIMP', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 43, 1), ) - - - SIMP = property(__SIMP.value, __SIMP.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}FACT uses Python identifier FACT - __FACT = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'FACT'), 'FACT', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasFACT', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 123, 1), ) - - - FACT = property(__FACT.value, __FACT.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}BLOC uses Python identifier BLOC - __BLOC = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), 'BLOC', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasBLOC', True, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 157, 1), ) - - - BLOC = property(__BLOC.value, __BLOC.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom - __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_Accas_Common_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True) - __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 51, 1) - __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 97, 2) - - nom = property(__nom.value, __nom.set, None, None) - - _ElementMap.update({ - __doc.name() : __doc, - __regles.name() : __regles, - __SIMP.name() : __SIMP, - __FACT.name() : __FACT, - __BLOC.name() : __BLOC - }) - _AttributeMap.update({ - __nom.name() : __nom - }) -Namespace.addCategoryObject('typeBinding', u'T_Accas.Common', T_Accas_Common) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SIMP with content type ELEMENT_ONLY -class T_SIMP (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_SIMP with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_SIMP') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 167, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is pyxb.binding.datatypes.anyType - - # Element {http://chercheurs.edf.com/logiciels/efficas}doc uses Python identifier doc - __doc = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'doc'), 'doc', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasdoc', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1), ) - - - doc = property(__doc.value, __doc.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}ValeurDef uses Python identifier ValeurDef - __ValeurDef = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef'), 'ValeurDef', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasValeurDef', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 8, 1), ) - - - ValeurDef = property(__ValeurDef.value, __ValeurDef.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}ValeurSugg uses Python identifier ValeurSugg - __ValeurSugg = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg'), 'ValeurSugg', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasValeurSugg', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 9, 1), ) - - - ValeurSugg = property(__ValeurSugg.value, __ValeurSugg.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}validators uses Python identifier validators - __validators = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'validators'), 'validators', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasvalidators', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 39, 1), ) - - - validators = property(__validators.value, __validators.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}PlageValeur uses Python identifier PlageValeur - __PlageValeur = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur'), 'PlageValeur', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasPlageValeur', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 40, 1), ) - - - PlageValeur = property(__PlageValeur.value, __PlageValeur.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}typeAttendu uses Python identifier typeAttendu - __typeAttendu = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), 'typeAttendu', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficastypeAttendu', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 41, 1), ) - - - typeAttendu = property(__typeAttendu.value, __typeAttendu.set, None, None) - - - # Element {http://chercheurs.edf.com/logiciels/efficas}portee uses Python identifier portee - __portee = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'portee'), 'portee', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasportee', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 44, 1), ) - - - portee = property(__portee.value, __portee.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom - __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True) - __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 51, 1) - __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 181, 2) - - nom = property(__nom.value, __nom.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}statut uses Python identifier statut - __statut = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'statut'), 'statut', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasstatut', AT_statut, unicode_default=u'o') - __statut._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 57, 1) - __statut._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 182, 2) - - statut = property(__statut.value, __statut.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}max_occurs uses Python identifier max_occurs - __max_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'max_occurs'), 'max_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasmax_occurs', AT_max_occurs, unicode_default=u'1') - __max_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 58, 1) - __max_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 184, 2) - - max_occurs = property(__max_occurs.value, __max_occurs.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}min_occurs uses Python identifier min_occurs - __min_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'min_occurs'), 'min_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_SIMP_httpchercheurs_edf_comlogicielsefficasmin_occurs', AT_min_occurs, unicode_default=u'1') - __min_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 59, 1) - __min_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 183, 2) - - min_occurs = property(__min_occurs.value, __min_occurs.set, None, None) - - _ElementMap.update({ - __doc.name() : __doc, - __ValeurDef.name() : __ValeurDef, - __ValeurSugg.name() : __ValeurSugg, - __validators.name() : __validators, - __PlageValeur.name() : __PlageValeur, - __typeAttendu.name() : __typeAttendu, - __portee.name() : __portee - }) - _AttributeMap.update({ - __nom.name() : __nom, - __statut.name() : __statut, - __max_occurs.name() : __max_occurs, - __min_occurs.name() : __min_occurs - }) -Namespace.addCategoryObject('typeBinding', u'T_SIMP', T_SIMP) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_double with content type SIMPLE -class T_Matrice_double (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_double with content type SIMPLE""" - _TypeDefinition = T_list_double - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Matrice_double') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 432, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is T_list_double - - # Attribute n uses Python identifier n - __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_double_n', pyxb.binding.datatypes.integer, required=True) - __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 435, 4) - __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 435, 4) - - n = property(__n.value, __n.set, None, None) - - - # Attribute m uses Python identifier m - __m = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'm'), 'm', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_double_m', pyxb.binding.datatypes.integer, required=True) - __m._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 436, 4) - __m._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 436, 4) - - m = property(__m.value, __m.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __n.name() : __n, - __m.name() : __m - }) -Namespace.addCategoryObject('typeBinding', u'T_Matrice_double', T_Matrice_double) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_Symetrique_double with content type SIMPLE -class T_Matrice_Symetrique_double (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_Matrice_Symetrique_double with content type SIMPLE""" - _TypeDefinition = T_list_double - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_Matrice_Symetrique_double') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 441, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is T_list_double - - # Attribute n uses Python identifier n - __n = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'n'), 'n', '__httpchercheurs_edf_comlogicielsefficas_T_Matrice_Symetrique_double_n', pyxb.binding.datatypes.int, required=True) - __n._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 444, 4) - __n._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 444, 4) - - n = property(__n.value, __n.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __n.name() : __n - }) -Namespace.addCategoryObject('typeBinding', u'T_Matrice_Symetrique_double', T_Matrice_Symetrique_double) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_typeAttendu with content type ELEMENT_ONLY -class T_typeAttendu (T_into): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_typeAttendu with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_typeAttendu') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 512, 1) - _ElementMap = T_into._ElementMap.copy() - _AttributeMap = T_into._AttributeMap.copy() - # Base type is T_into - - # Element typesimple ({http://chercheurs.edf.com/logiciels/efficas}typesimple) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into - - # Element matrice_double ({http://chercheurs.edf.com/logiciels/efficas}matrice_double) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into - - # Element matrice_symetrique_double ({http://chercheurs.edf.com/logiciels/efficas}matrice_symetrique_double) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into - - # Element tuple ({http://chercheurs.edf.com/logiciels/efficas}tuple) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into - - # Element classe_utilisateur ({http://chercheurs.edf.com/logiciels/efficas}classe_utilisateur) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_into - _ElementMap.update({ - - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_typeAttendu', T_typeAttendu) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_OPER with content type ELEMENT_ONLY -class T_OPER (T_Accas_Common): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_OPER with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_OPER') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 100, 1) - _ElementMap = T_Accas_Common._ElementMap.copy() - _AttributeMap = T_Accas_Common._AttributeMap.copy() - # Base type is T_Accas_Common - - # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element {http://chercheurs.edf.com/logiciels/efficas}typeCree uses Python identifier typeCree - __typeCree = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), 'typeCree', '__httpchercheurs_edf_comlogicielsefficas_T_OPER_httpchercheurs_edf_comlogicielsefficastypeCree', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 7, 1), ) - - - typeCree = property(__typeCree.value, __typeCree.set, None, None) - - - # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}subroutine uses Python identifier subroutine - __subroutine = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'subroutine'), 'subroutine', '__httpchercheurs_edf_comlogicielsefficas_T_OPER_httpchercheurs_edf_comlogicielsefficassubroutine', AT_subroutine, unicode_default=u'None') - __subroutine._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 60, 1) - __subroutine._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 106, 4) - - subroutine = property(__subroutine.value, __subroutine.set, None, None) - - _ElementMap.update({ - __typeCree.name() : __typeCree - }) - _AttributeMap.update({ - __subroutine.name() : __subroutine - }) -Namespace.addCategoryObject('typeBinding', u'T_OPER', T_OPER) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PROC with content type ELEMENT_ONLY -class T_PROC (T_Accas_Common): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_PROC with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_PROC') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 116, 1) - _ElementMap = T_Accas_Common._ElementMap.copy() - _AttributeMap = T_Accas_Common._AttributeMap.copy() - # Base type is T_Accas_Common - - # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}subroutine uses Python identifier subroutine - __subroutine = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'subroutine'), 'subroutine', '__httpchercheurs_edf_comlogicielsefficas_T_PROC_httpchercheurs_edf_comlogicielsefficassubroutine', AT_subroutine, unicode_default=u'None') - __subroutine._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 60, 1) - __subroutine._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 119, 4) - - subroutine = property(__subroutine.value, __subroutine.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __subroutine.name() : __subroutine - }) -Namespace.addCategoryObject('typeBinding', u'T_PROC', T_PROC) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_FACT with content type ELEMENT_ONLY -class T_FACT (T_Accas_Common): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_FACT with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_FACT') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 139, 1) - _ElementMap = T_Accas_Common._ElementMap.copy() - _AttributeMap = T_Accas_Common._AttributeMap.copy() - # Base type is T_Accas_Common - - # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}statut uses Python identifier statut - __statut = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'statut'), 'statut', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasstatut', AT_statut, unicode_default=u'o') - __statut._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 57, 1) - __statut._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 142, 4) - - statut = property(__statut.value, __statut.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}max_occurs uses Python identifier max_occurs - __max_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'max_occurs'), 'max_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasmax_occurs', AT_max_occurs, unicode_default=u'1') - __max_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 58, 1) - __max_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 144, 4) - - max_occurs = property(__max_occurs.value, __max_occurs.set, None, None) - - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}min_occurs uses Python identifier min_occurs - __min_occurs = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'min_occurs'), 'min_occurs', '__httpchercheurs_edf_comlogicielsefficas_T_FACT_httpchercheurs_edf_comlogicielsefficasmin_occurs', AT_min_occurs, unicode_default=u'1') - __min_occurs._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 59, 1) - __min_occurs._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 143, 4) - - min_occurs = property(__min_occurs.value, __min_occurs.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __statut.name() : __statut, - __max_occurs.name() : __max_occurs, - __min_occurs.name() : __min_occurs - }) -Namespace.addCategoryObject('typeBinding', u'T_FACT', T_FACT) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_BLOC with content type ELEMENT_ONLY -class T_BLOC (T_Accas_Common): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_BLOC with content type ELEMENT_ONLY""" - _TypeDefinition = None - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_BLOC') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 158, 1) - _ElementMap = T_Accas_Common._ElementMap.copy() - _AttributeMap = T_Accas_Common._AttributeMap.copy() - # Base type is T_Accas_Common - - # Element doc ({http://chercheurs.edf.com/logiciels/efficas}doc) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element regles ({http://chercheurs.edf.com/logiciels/efficas}regles) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element SIMP ({http://chercheurs.edf.com/logiciels/efficas}SIMP) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element {http://chercheurs.edf.com/logiciels/efficas}condition uses Python identifier condition - __condition = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'condition'), 'condition', '__httpchercheurs_edf_comlogicielsefficas_T_BLOC_httpchercheurs_edf_comlogicielsefficascondition', False, pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 45, 1), ) - - - condition = property(__condition.value, __condition.set, None, None) - - - # Element FACT ({http://chercheurs.edf.com/logiciels/efficas}FACT) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Element BLOC ({http://chercheurs.edf.com/logiciels/efficas}BLOC) inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - - # Attribute nom inherited from {http://chercheurs.edf.com/logiciels/efficas}T_Accas.Common - _ElementMap.update({ - __condition.name() : __condition - }) - _AttributeMap.update({ - - }) -Namespace.addCategoryObject('typeBinding', u'T_BLOC', T_BLOC) - - -# Complex type {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_username with content type SIMPLE -class T_classe_utilisateur_username (pyxb.binding.basis.complexTypeDefinition): - """Complex type {http://chercheurs.edf.com/logiciels/efficas}T_classe_utilisateur_username with content type SIMPLE""" - _TypeDefinition = T_classe_utilisateur_name - _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_SIMPLE - _Abstract = False - _ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'T_classe_utilisateur_username') - _XSDLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 376, 1) - _ElementMap = {} - _AttributeMap = {} - # Base type is T_classe_utilisateur_name - - # Attribute {http://chercheurs.edf.com/logiciels/efficas}nom uses Python identifier nom - __nom = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(Namespace, u'nom'), 'nom', '__httpchercheurs_edf_comlogicielsefficas_T_classe_utilisateur_username_httpchercheurs_edf_comlogicielsefficasnom', AT_nom, required=True) - __nom._DeclarationLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 51, 1) - __nom._UseLocation = pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 379, 4) - - nom = property(__nom.value, __nom.set, None, None) - - _ElementMap.update({ - - }) - _AttributeMap.update({ - __nom.name() : __nom - }) -Namespace.addCategoryObject('typeBinding', u'T_classe_utilisateur_username', T_classe_utilisateur_username) - - -cata = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'cata'), T_cata, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 5, 1)) -Namespace.addCategoryObject('elementBinding', cata.name().localName(), cata) - -regles = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'regles'), T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 6, 1)) -Namespace.addCategoryObject('elementBinding', regles.name().localName(), regles) - -fonction_utilisateur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), T_fonction_python, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 10, 1)) -Namespace.addCategoryObject('elementBinding', fonction_utilisateur.name().localName(), fonction_utilisateur) - -commandes = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'commandes'), T_commandes, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 11, 1)) -Namespace.addCategoryObject('elementBinding', commandes.name().localName(), commandes) - -validators = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'validators'), T_validators, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 39, 1)) -Namespace.addCategoryObject('elementBinding', validators.name().localName(), validators) - -PlageValeur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur'), T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 40, 1)) -Namespace.addCategoryObject('elementBinding', PlageValeur.name().localName(), PlageValeur) - -portee = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'portee'), T_portee, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 44, 1), unicode_default=u'None') -Namespace.addCategoryObject('elementBinding', portee.name().localName(), portee) - -condition = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'condition'), T_fonction_python, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 45, 1)) -Namespace.addCategoryObject('elementBinding', condition.name().localName(), condition) - -into = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'into'), T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 49, 1)) -Namespace.addCategoryObject('elementBinding', into.name().localName(), into) - -A_CLASSER = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 257, 1)) -Namespace.addCategoryObject('elementBinding', A_CLASSER.name().localName(), A_CLASSER) - -tuple = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'tuple'), T_tuple, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 467, 1)) -Namespace.addCategoryObject('elementBinding', tuple.name().localName(), tuple) - -doc = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1)) -Namespace.addCategoryObject('elementBinding', doc.name().localName(), doc) - -typeCree = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), T_classe_utilisateur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 7, 1)) -Namespace.addCategoryObject('elementBinding', typeCree.name().localName(), typeCree) - -ValeurDef = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 8, 1)) -Namespace.addCategoryObject('elementBinding', ValeurDef.name().localName(), ValeurDef) - -ValeurSugg = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 9, 1)) -Namespace.addCategoryObject('elementBinding', ValeurSugg.name().localName(), ValeurSugg) - -SIMP = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 43, 1)) -Namespace.addCategoryObject('elementBinding', SIMP.name().localName(), SIMP) - -borne_sup = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 46, 1)) -Namespace.addCategoryObject('elementBinding', borne_sup.name().localName(), borne_sup) - -borne_inf = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), T_typeAttendu, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 47, 1)) -Namespace.addCategoryObject('elementBinding', borne_inf.name().localName(), borne_inf) - -AU_MOINS_UN = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 258, 1)) -Namespace.addCategoryObject('elementBinding', AU_MOINS_UN.name().localName(), AU_MOINS_UN) - -AU_PLUS_UN = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 259, 1)) -Namespace.addCategoryObject('elementBinding', AU_PLUS_UN.name().localName(), AU_PLUS_UN) - -ENSEMBLE = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 260, 1)) -Namespace.addCategoryObject('elementBinding', ENSEMBLE.name().localName(), ENSEMBLE) - -EXCLUS = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 261, 1)) -Namespace.addCategoryObject('elementBinding', EXCLUS.name().localName(), EXCLUS) - -PRESENT_ABSENT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 269, 1)) -Namespace.addCategoryObject('elementBinding', PRESENT_ABSENT.name().localName(), PRESENT_ABSENT) - -PRESENT_PRESENT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 270, 1)) -Namespace.addCategoryObject('elementBinding', PRESENT_PRESENT.name().localName(), PRESENT_PRESENT) - -UN_PARMI = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), T_predicat1, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 271, 1)) -Namespace.addCategoryObject('elementBinding', UN_PARMI.name().localName(), UN_PARMI) - -matrice_double = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), T_Matrice_double, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 465, 1)) -Namespace.addCategoryObject('elementBinding', matrice_double.name().localName(), matrice_double) - -matrice_symetrique_double = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), T_Matrice_Symetrique_double, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 466, 1)) -Namespace.addCategoryObject('elementBinding', matrice_symetrique_double.name().localName(), matrice_symetrique_double) - -classe_utilisateur = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), T_classe_utilisateur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 468, 1)) -Namespace.addCategoryObject('elementBinding', classe_utilisateur.name().localName(), classe_utilisateur) - -OPER = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'OPER'), T_OPER, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 99, 1)) -Namespace.addCategoryObject('elementBinding', OPER.name().localName(), OPER) - -PROC = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PROC'), T_PROC, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 110, 1)) -Namespace.addCategoryObject('elementBinding', PROC.name().localName(), PROC) - -FACT = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'FACT'), T_FACT, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 123, 1)) -Namespace.addCategoryObject('elementBinding', FACT.name().localName(), FACT) - -BLOC = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), T_BLOC, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 157, 1)) -Namespace.addCategoryObject('elementBinding', BLOC.name().localName(), BLOC) - -typeAttendu = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), T_name, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 41, 1)) -Namespace.addCategoryObject('elementBinding', typeAttendu.name().localName(), typeAttendu) - -typesimple = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), T_simple, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 464, 1)) -Namespace.addCategoryObject('elementBinding', typesimple.name().localName(), typesimple) - -classeUtilisateurName = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classeUtilisateurName'), T_classe_utilisateur_username, abstract=pyxb.binding.datatypes.boolean(1), location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 42, 1)) -Namespace.addCategoryObject('elementBinding', classeUtilisateurName.name().localName(), classeUtilisateurName) - - - -T_cata._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'commandes'), T_commandes, scope=T_cata, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 11, 1))) - -def _BuildAutomaton (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton - del _BuildAutomaton - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 68, 3)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(T_cata._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'commandes')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 68, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -T_cata._Automaton = _BuildAutomaton() - - - - -T_commandes._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'OPER'), T_OPER, scope=T_commandes, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 99, 1))) - -T_commandes._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PROC'), T_PROC, scope=T_commandes, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 110, 1))) - -def _BuildAutomaton_ (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_ - del _BuildAutomaton_ - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 72, 2)) - counters.add(cc_0) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(T_commandes._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'OPER')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 73, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(T_commandes._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PROC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 74, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, True) ])) - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -T_commandes._Automaton = _BuildAutomaton_() - - - - -T_PlageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_sup'), T_typeAttendu, scope=T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 46, 1))) - -T_PlageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'borne_inf'), T_typeAttendu, scope=T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 47, 1))) - -T_PlageValeur._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'into'), T_into, scope=T_PlageValeur, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 49, 1))) - -def _BuildAutomaton_2 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_2 - del _BuildAutomaton_2 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 81, 4)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 82, 4)) - counters.add(cc_1) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(T_PlageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'borne_sup')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 81, 4)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(T_PlageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'borne_inf')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 82, 4)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_PlageValeur._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'into')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 84, 3)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - st_1._set_transitionSet(transitions) - transitions = [] - st_2._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -T_PlageValeur._Automaton = _BuildAutomaton_2() - - - - -T_predicat2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'p1'), T_predicat1, scope=T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 252, 3))) - -T_predicat2._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'p2'), AT_nom, scope=T_predicat2, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 253, 3))) - -def _BuildAutomaton_3 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_3 - del _BuildAutomaton_3 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_predicat2._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'p1')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 252, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_predicat2._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'p2')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 253, 3)) - st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - transitions = [] - transitions.append(fac.Transition(st_1, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - st_1._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_predicat2._Automaton = _BuildAutomaton_3() - - - - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER'), T_predicat2, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 257, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 258, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 259, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 260, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 261, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 269, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 270, 1))) - -T_regles._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI'), T_predicat1, scope=T_regles, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 271, 1))) - -def _BuildAutomaton_4 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_4 - del _BuildAutomaton_4 - import pyxb.utils.fac as fac - - counters = set() - states = [] - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'A_CLASSER')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 274, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'AU_MOINS_UN')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 275, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'AU_PLUS_UN')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 276, 3)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ENSEMBLE')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 277, 3)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'EXCLUS')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 278, 3)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_ABSENT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 286, 3)) - st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PRESENT_PRESENT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 287, 3)) - st_6 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_regles._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'UN_PARMI')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 288, 3)) - st_7 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_7) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_6._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_0, [ - ])) - transitions.append(fac.Transition(st_1, [ - ])) - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - transitions.append(fac.Transition(st_6, [ - ])) - transitions.append(fac.Transition(st_7, [ - ])) - st_7._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_regles._Automaton = _BuildAutomaton_4() - - - - -T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur'), T_fonction_python, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 10, 1))) - -T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typesimple'), T_simple, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 464, 1))) - -T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_double'), T_Matrice_double, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 465, 1))) - -T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double'), T_Matrice_Symetrique_double, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 466, 1))) - -T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'tuple'), T_tuple, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 467, 1))) - -T_into._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur'), T_classe_utilisateur, scope=T_into, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 468, 1))) - -def _BuildAutomaton_5 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_5 - del _BuildAutomaton_5 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 504, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 505, 3)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 506, 3)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 507, 3)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 508, 3)) - counters.add(cc_4) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typesimple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 504, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 505, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 506, 3)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'tuple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 507, 3)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_4, False)) - symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 508, 3)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_into._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'fonction_utilisateur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 509, 3)) - st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_2, True) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_3, True) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_4, True) ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_5, [ - ])) - st_5._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -T_into._Automaton = _BuildAutomaton_5() - - - - -T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1))) - -T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'regles'), T_regles, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 6, 1))) - -T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'SIMP'), T_SIMP, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 43, 1))) - -T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'FACT'), T_FACT, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 123, 1))) - -T_Accas_Common._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'BLOC'), T_BLOC, scope=T_Accas_Common, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 157, 1))) - -def _BuildAutomaton_6 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_6 - del _BuildAutomaton_6 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_Accas_Common._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_Accas_Common._Automaton = _BuildAutomaton_6() - - - - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'doc'), T_doc, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 4, 1))) - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef'), T_typeAttendu, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 8, 1))) - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg'), T_typeAttendu, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 9, 1))) - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'validators'), T_validators, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 39, 1))) - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur'), T_PlageValeur, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 40, 1))) - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu'), T_name, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 41, 1))) - -T_SIMP._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'portee'), T_portee, scope=T_SIMP, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 44, 1), unicode_default=u'None')) - -def _BuildAutomaton_7 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_7 - del _BuildAutomaton_7 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 169, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 170, 3)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 175, 3)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 176, 3)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 177, 3)) - counters.add(cc_4) - cc_5 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 179, 3)) - counters.add(cc_5) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 169, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'portee')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 170, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ValeurDef')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 175, 3)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'ValeurSugg')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 176, 3)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'PlageValeur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 177, 3)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typeAttendu')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 178, 3)) - st_5 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_5, False)) - symbol = pyxb.binding.content.ElementUse(T_SIMP._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'validators')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 179, 3)) - st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_6) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_2, True) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_2, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_2, False) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_3, True) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_3, False) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_3, False) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_4, True) ])) - transitions.append(fac.Transition(st_5, [ - fac.UpdateInstruction(cc_4, False) ])) - st_4._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - ])) - st_5._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_6, [ - fac.UpdateInstruction(cc_5, True) ])) - st_6._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_SIMP._Automaton = _BuildAutomaton_7() - - - - -def _BuildAutomaton_8 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_8 - del _BuildAutomaton_8 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 516, 5)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 517, 5)) - counters.add(cc_1) - cc_2 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 518, 5)) - counters.add(cc_2) - cc_3 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 519, 5)) - counters.add(cc_3) - cc_4 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 520, 5)) - counters.add(cc_4) - states = [] - final_update = set() - final_update.add(fac.UpdateInstruction(cc_0, False)) - symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typesimple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 516, 5)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_1, False)) - symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 517, 5)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_2, False)) - symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'matrice_symetrique_double')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 518, 5)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_3, False)) - symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'tuple')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 519, 5)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - final_update.add(fac.UpdateInstruction(cc_4, False)) - symbol = pyxb.binding.content.ElementUse(T_typeAttendu._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'classe_utilisateur')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 520, 5)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_2, True) ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_3, True) ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_4, True) ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, True, containing_state=None) -T_typeAttendu._Automaton = _BuildAutomaton_8() - - - - -T_OPER._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'typeCree'), T_classe_utilisateur, scope=T_OPER, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 7, 1))) - -def _BuildAutomaton_9 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_9 - del _BuildAutomaton_9 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_OPER._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'typeCree')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 104, 5)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - st_5._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_OPER._Automaton = _BuildAutomaton_9() - - - - -def _BuildAutomaton_10 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_10 - del _BuildAutomaton_10 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_PROC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_PROC._Automaton = _BuildAutomaton_10() - - - - -def _BuildAutomaton_11 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_11 - del _BuildAutomaton_11 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_FACT._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - st_4._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_FACT._Automaton = _BuildAutomaton_11() - - - - -T_BLOC._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'condition'), T_fonction_python, scope=T_BLOC, location=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 45, 1))) - -def _BuildAutomaton_12 (): - # Remove this helper function from the namespace after it is invoked - global _BuildAutomaton_12 - del _BuildAutomaton_12 - import pyxb.utils.fac as fac - - counters = set() - cc_0 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - counters.add(cc_0) - cc_1 = fac.CounterCondition(min=0L, max=1, metadata=pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - counters.add(cc_1) - states = [] - final_update = None - symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'regles')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 89, 3)) - st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_0) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'doc')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 90, 3)) - st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_1) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'BLOC')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 92, 4)) - st_2 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_2) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'FACT')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 93, 4)) - st_3 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_3) - final_update = None - symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'SIMP')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 94, 4)) - st_4 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False) - states.append(st_4) - final_update = set() - symbol = pyxb.binding.content.ElementUse(T_BLOC._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'condition')), pyxb.utils.utility.Location('/home/A96028/EchangesEric/EssaiExt/model.xsd', 162, 5)) - st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False) - states.append(st_5) - transitions = [] - transitions.append(fac.Transition(st_0, [ - fac.UpdateInstruction(cc_0, True) ])) - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_0, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_0, False) ])) - st_0._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_1, [ - fac.UpdateInstruction(cc_1, True) ])) - transitions.append(fac.Transition(st_2, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_3, [ - fac.UpdateInstruction(cc_1, False) ])) - transitions.append(fac.Transition(st_4, [ - fac.UpdateInstruction(cc_1, False) ])) - st_1._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_2._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_3._set_transitionSet(transitions) - transitions = [] - transitions.append(fac.Transition(st_2, [ - ])) - transitions.append(fac.Transition(st_3, [ - ])) - transitions.append(fac.Transition(st_4, [ - ])) - transitions.append(fac.Transition(st_5, [ - ])) - st_4._set_transitionSet(transitions) - transitions = [] - st_5._set_transitionSet(transitions) - return fac.Automaton(states, counters, False, containing_state=None) -T_BLOC._Automaton = _BuildAutomaton_12() - - -classeUtilisateurName._setSubstitutionGroup(typeAttendu) diff --git a/EssaiInit/readerEfficas.py b/EssaiInit/readerEfficas.py deleted file mode 100755 index afd12497..00000000 --- a/EssaiInit/readerEfficas.py +++ /dev/null @@ -1,129 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -import sys,os -import raw.efficas as efficas -import types - -sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..'))) -sys.path.insert(0,os.path.abspath(os.path.join(os.getcwd(),'..','UiQT5'))) - - -from Accas import * - - -# Attention pas d heritage possible (cf doc pyxbe) - -dictSIMPEficasXML= { 'typ' : 'typeAttendu', 'statut' : 'statut', - 'min_occurs': 'min' , 'max_occurs' : 'max', - 'homo' : 'homo' , 'position' : 'portee', - 'validators': 'validators' , 'sug' : 'valeur_sugg', - 'defaut' : 'ValeurDef' , 'into' : ('PlageValeur','into'), - 'val_min' : ('PlageValeur','borne_inf') , 'val_max' : ('PlageValeur','borne_sup'), - 'ang' : ('doc','ang') , 'fr' : ('doc','fr',) , - 'docu' : ('doc','docu'),} - -dictSIMPXMLEficas = {'doc' : {'fr' : 'fr' , 'ang' : 'ang' , 'docu' : 'docu' }, - 'PlageValeur' : {'borne_sup' : 'val_max' , 'into' : 'into' , 'borne_inf' : 'val_min' ,}, - 'statut' : 'statut' , 'validators' : 'validators' , 'homo' : 'homo' , - 'ValeurDef' : 'defaut' , 'min' : 'min_occurs' , - 'valeur_sugg' : 'sug' , 'portee' : 'position' , 'max' : 'max_occurs' , } - - -# ------------------------------ -class monSIMP (efficas.T_SIMP): -# ------------------------------ - - def explore(self): - print "je passe dans explore pour SIMP ", self.nom - self.dictArgsEficas={} - self.dictArgsEficas['typ']=self.typeAttendu - for nomXMLArg in dir(self) : - if nomXMLArg in dictSIMPXMLEficas.keys() : - nomEficasArg=dictSIMPXMLEficas[nomXMLArg] - argu=getattr(self,nomXMLArg) - if argu==None : continue - if type(nomEficasArg) == types.DictionaryType: - for nomXML in nomEficasArg.keys(): - arguDecoupe=getattr(argu,nomXML) - nomEficasDecoupe=nomEficasArg[nomXML] - self.dictArgsEficas[nomEficasDecoupe]=arguDecoupe - else : - self.dictArgsEficas[nomEficasArg] = argu - - #if argNew != None : print argNew - self.objAccas=A_SIMP.SIMP(**self.dictArgsEficas) - self.objAccas.nom=self.nom - - def getAccasEquivalent(self): - return self.nom, self.objAccas - -# ------------------------------ -class monPROC(efficas.T_PROC): -# ------------------------------ - def explore(self): - print "je passe dans explore pour PROC ", self.nom - self.dictConstruction={} - self.dictConstruction['nom']=self.nom - - for obj in self.content(): - if hasattr(obj,'explore') : obj.explore () - if hasattr(obj,'getAccasEquivalent') : - nom,objetAccas=obj.getAccasEquivalent() - self.dictConstruction[nom]=objetAccas - self.dictConstruction['op']=None - self.objAccas=A_PROC.PROC(**self.dictConstruction) - print dir(self.objAccas) - print self.objAccas.entites - - -# ------------------------------ -class monFACT(efficas.T_FACT): -# ------------------------------ - def explore(self): - #print "je passe dans explore pour FACT ", self.nom - self.dictConstruction={} - for obj in self.content(): - if hasattr(obj,'explore') : obj.explore - if hasattr(obj,'creeAccasEquivalent') : - nom,objetAccas=obj.creeAccasEquivalent() - self.dictConstruction[nom]=objetAccas - self.objAccas=A_FACT.FACT(**self.dictConstruction) - - def getAccasEquivalent(self): - return self.nom, self.objAccas - - -# ------------------------------ -class monCata(efficas.T_cata): -# ------------------------------ - def exploreCata(self): - # On positionne le contexte ACCAS - self.JdC = JDC_CATA (code = 'MED', execmodul = None,) - objAExplorer=self.commandes[0] - for obj in objAExplorer.content(): - if hasattr(obj,'explore') : obj.explore() - - - -efficas.T_SIMP._SetSupersedingClass(monSIMP) -efficas.T_FACT._SetSupersedingClass(monFACT) -efficas.T_PROC._SetSupersedingClass(monPROC) -efficas.T_cata._SetSupersedingClass(monCata) - -if __name__ == "__main__": -# print dir(efficas) -# print dir(efficas.T_SIMP) - - - xml = open('Cata_MED_FAM.xml').read() - SchemaMed = efficas.CreateFromDocument(xml) - SchemaMed.exploreCata() - - #print dir(efficas.T_SIMP) - #print dir(efficas.T_SIMP) - - #for maCommande in monCata.commandes : - # for monProc in maCommande.PROC: - # for monFact in monProc.FACT: - # for simp in monFact.SIMP: - # simp.creeAccasEquivalent() diff --git a/Extensions/CMakeLists.txt b/Extensions/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Extensions/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Ihm/CMakeLists.txt b/Ihm/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Ihm/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/Ihm/I_MCSIMP.py b/Ihm/I_MCSIMP.py index 15462a1d..56bdbdb7 100644 --- a/Ihm/I_MCSIMP.py +++ b/Ihm/I_MCSIMP.py @@ -450,14 +450,14 @@ class MCSIMP(I_OBJECT.OBJECT): self.valeur=None self.val=None self.finModif() - # Glut Horrible pour les matrices ??? - if sd.__class__.__name__== "variable": - for type_permis in self.definition.type: + # Glut Horrible pour les matrices OT ??? + #if sd.__class__.__name__== "variable": + # for type_permis in self.definition.type: #if type(type_permis) == types.InstanceType: # a voir en python 3 - if type_permis.__class__.__name__ == 'Matrice' : - self.state="changed" - self.isValid() + # if type_permis.__class__.__name__ == 'Matrice' : + # self.state="changed" + # self.isValid() def replaceConcept(self,old_sd,sd): @@ -636,6 +636,37 @@ class MCSIMP(I_OBJECT.OBJECT): return valid,comment def valideMatrice(self,cr): + ok=1 + if self.monType.methodeCalculTaille != None : + MCSIMP.__dict__[self.monType.methodeCalculTaille](*(self,)) + if len(self.valeur) == self.monType.nbLigs : + for i in range(len(self.valeur)): + if len(self.valeur[i]) != self.monType.nbCols: ok=0 + if not ok : + self.setValid(0) + if cr == 'oui' : + self.cr.fatal(tr("La matrice n'est pas une matrice %(n_lign)d sur %(n_col)d", \ + {'n_lign': self.monType.nbLigs, 'n_col': self.monType.nbCols})) + return 0 + for i in range(self.monType.nbLigs): + for j in range(self.monType.nbCols): + val=self.valeur[i][j] + if self.monType.typElt == 'R' : + try : val=float(str(val)) + except : ok=0 + if self.monType.typElt == 'TXM' : + if self.monType.typEltInto != None and val not in self.monType.typEltInto : ok=0 + if not ok : + self.setValid(0) + if cr == 'oui' : + self.cr.fatal(tr("Les elements de la matrice ne sont pas d un bon type")) + return 0 + self.setValid(1) + return 1 + + + + def valideMatriceOT(self,cr): #Attention, la matrice contient comme dernier tuple l ordre des variables if self.valideEnteteMatrice()==False : self.setValid(0) diff --git a/InterfaceQT4/monWidgetMatrice.py b/InterfaceQT4/monWidgetMatrice.py index 0acfb209..601051e7 100644 --- a/InterfaceQT4/monWidgetMatrice.py +++ b/InterfaceQT4/monWidgetMatrice.py @@ -34,10 +34,10 @@ from .feuille import Feuille from desWidgetMatrice import Ui_desWidgetMatrice -from six.moves import range from PyQt5.QtCore import QSize, Qt -from PyQt5.QtWidgets import QTableWidgetItem +from PyQt5.QtWidgets import QTableWidgetItem, QTableWidget from PyQt5.QtGui import QIcon +from PyQt5.QtWidgets import QMessageBox class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille): @@ -45,34 +45,117 @@ class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille): def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande): Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande) - self.monType= self.node.item.object.definition.type[0] + self.monType = self.node.item.object.definition.type[0] parentQt.commandesLayout.insertWidget(-1,self) self.nbLigs=0 self.nbCols=0 - self.nomVariables={} self.creeColonnes() self.connecterSignaux() - if self.node.item.getValeur()== None: self.initialSsValeur() - else : - try : self.initialValeur() - except : self.initialSsValeur() - if sys.platform[0:5]!="linux" : - repIcon=self.node.editor.appliEficas.repIcon - fichier=os.path.join(repIcon, 'update.png') - icon = QIcon(fichier) - self.PBrefresh.setIcon(icon) - self.PBrefresh.setIconSize(QSize(32, 32)) + self.initialValeur() + def connecterSignaux(self) : + self.TBMatrice.itemChanged.connect(self.itemChanged) + self.PBrefresh.clicked.connect( self.acceptVal) + self.TBMatrice.focusOutEvent=self.monFocusOutEvent + + + def monFocusOutEvent(self,event): + self.acceptVal() + QTableWidget.focusInEvent(self.TBMatrice,event) + + + def itemChanged(self): + monItem=self.TBMatrice.currentItem() + if monItem==None : return + texte=monItem.text() + if texte=="" : return + if self.monType.typElt == 'R' : + try : val=float(str(texte)); ok=True + except : ok=False + if ok == False : + self.editor.afficheInfos(tr("Entrer un float SVP"),Qt.red) + monItem.setText("") + return + if self.monType.valSup != None : + if val > self.monType.valSup : + self.editor.afficheInfos(tr("Entrer un float inferieur a ") + repr(self.monType.valSup),Qt.red) + monItem.setText("") + return + if self.monType.valMin != None : + if val < self.monType.valMin : + self.editor.afficheInfos(tr("Entrer un float superieur a ") + repr(self.monType.valMin),Qt.red) + monItem.setText("") + return + self.editor.afficheInfos("") + if self.monType.structure != None: MonWidgetMatrice.__dict__[self.monType.structure](*(self,)) + if self.monType.typElt == 'TXM' : + if self.monType.typEltInto != None and texte not in self.monType.typEltInto : + self.editor.afficheInfos(tr("Entrer une valeur qui est ") + str(self.monType.typEltInto),Qt.red) + monItem.setText("") + return + + + def creeColonnes(self): + if self.monType.methodeCalculTaille != None : + try: + MonWidgetMatrice.__dict__[self.monType.methodeCalculTaille](*(self,)) + except : + QMessageBox.critical( self, tr("Mauvaise execution "),tr( "impossible d executer la methode ") + monType.methodeCalculTaille ) + return + else : + self.nbLigs=self.monType.nbLigs + self.nbCols=self.monType.nbCols + self.TBMatrice.setColumnCount(self.nbLigs) + self.TBMatrice.setRowCount(self.nbCols) + if self.monType.listeHeaders != None : + self.TBMatrice.setVerticalHeaderLabels(self.monType.listeHeaders[0]) + self.TBMatrice.setHorizontalHeaderLabels(self.monType.listeHeaders[1]) + else : + self.TBMatrice.verticalHeader().hide() + self.TBMatrice.horizontalHeader().hide() + + + def initialValeur(self): + liste=self.node.item.getValeur() + if liste == None : return + dejaAffiche=0 + if (len(liste)) != self.nbLigs : + QMessageBox.critical( self,tr( "Mauvaise dimension de matrice"),tr( "le nombre de ligne n est pas egal a ") + str(self.nbLigs)) + for i in range(self.nbLigs): + inter=liste[i] + if (len(inter)) != self.nbCols : + QMessageBox.critical( self, tr("Mauvaise dimension de matrice"), tr("le nombre de colonne n est pas egal a ") + str(self.nbCols)) + raise EficasException('dimension') + for j in range(self.nbCols): + self.TBMatrice.setItem(i,j,QTableWidgetItem(str(liste[i][j]))) + + def acceptVal(self): + liste=[] + for i in range(self.nbLigs): + listeCol=[] + for j in range(self.nbCols): + monItem=self.TBMatrice.item(i,j) + texte=monItem.text() + if self.monType.typElt == 'R' : + try : val=float(str(texte)) + except : val=None + val=texte + listeCol.append(val) + liste.append(listeCol) + self.node.item.setValeur(liste) - def connecterSignauxQT4(self) : - self.connect(self.TBMatrice,SIGNAL("itemChanged(QTableWidgetItem *)"),self.itemChanged) - self.connect(self.PBrefresh,SIGNAL("clicked()"), self.afficheEntete) + +class MonWidgetMatriceOT (MonWidgetMatrice): + + def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande): + monWidgetMatrice.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande) def connecterSignaux(self) : self.TBMatrice.itemChanged.connect(self.itemChanged) self.PBrefresh.clicked.connect( self.afficheEntete) + def afficheEntete(self): self.objSimp.changeEnteteMatrice() self.TBMatrice.clear() @@ -92,25 +175,23 @@ class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille): if monItem==None : return texte=monItem.text() if texte=="" : return - #try : - if 1 : + try : val=float(str(texte)) ok=True - #except : - else : + except : ok=False if ok == False : - self.editor.afficheInfos(tr("Entrer un float SVP"),Qt.red) + self.editor.afficheInfos(tr("Entrer un float SVP"),Qt.red) monItem.setText("") return if self.monType.valSup != None : if val > self.monType.valSup : - self.editor.afficheInfos(tr("Entrer un float inferieur a ") + repr(self.monType.valSup),Qt.red) + self.editor.afficheInfos(tr("Entrer un float inferieur a ") + repr(self.monType.valSup),Qt.red) monItem.setText("") return if self.monType.valMin != None : if val < self.monType.valMin : - self.editor.afficheInfos(tr("Entrer un float superieur a ") + repr(self.monType.valMin),Qt.red) + self.editor.afficheInfos(tr("Entrer un float superieur a ") + repr(self.monType.valMin),Qt.red) monItem.setText("") return self.editor.afficheInfos("") @@ -118,21 +199,12 @@ class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille): self.acceptVal() - def symetrique(self): - monItem=self.TBMatrice.currentItem() - texte=monItem.text() - if monItem.row() != monItem.column(): - print(monItem.row(), monItem.column()) - monItemSym=self.TBMatrice.item(monItem.column(), monItem.row()) - monItemSym.setText(texte) def creeColonnes(self): if self.monType.methodeCalculTaille != None : - #try: - if 1 : + try: MonWidgetMatrice.__dict__[self.monType.methodeCalculTaille](*(self,)) - else : - #except : + except : QMessageBox.critical( self, tr("Mauvaise execution "),tr( "impossible d executer la methode ") + monType.methodeCalculTaille ) return else : @@ -141,6 +213,7 @@ class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille): def nbDeVariables(self): + # uniquement pour OT jdc=self.node.item.object.jdc etape=self.node.item.object.etape self.listeVariables=jdc.getVariables(etape) @@ -152,76 +225,38 @@ class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille): self.nbLigs=len(self.listeVariables) self.nbCols=len(self.listeVariables) - def nNbDeDistributions(self): - jdc=self.node.item.object.jdc - etape=self.node.item.object.etape - self.listeVariables=jdc.getDistributions(etape) - if self.listeVariables == [] : - QMessageBox.critical( self, tr("Mauvaise Commande "),tr( "Aucune variable connue")) - return - self.TBMatrice.setColumnCount(len(self.listeVariables)) - self.TBMatrice.setRowCount(len(self.listeVariables)) - self.nbLigs=len(self.listeVariables) - self.nbCols=len(self.listeVariables) def initialSsValeur(self): + # uniquement pour OT + self.listeVariables=[] for row in range(self.nbLigs): - for column in range(self.nbCols): - if row == column : - initialFloat=1 + for column in range(self.nbCols): + if row == column : + initialFloat=1 else : - initialFloat=0 + initialFloat=0 self.TBMatrice.setItem(row,column,QTableWidgetItem(str(initialFloat))) - #header=QStringList() - header=[] - for var in self.listeVariables : -# header << var - header.append(var) + header =[] + for var in liste[0]: header .append(str(var)) self.TBMatrice.setVerticalHeaderLabels(header) self.TBMatrice.setHorizontalHeaderLabels(header) def initialValeur(self): + # uniquement pour OT liste=self.node.item.getValeur() dejaAffiche=0 - if (len(liste)) != self.nbLigs +1 : + if (len(liste)) != self.nbLigs +1 : QMessageBox.critical( self,tr( "Mauvaise dimension de matrice"),tr( "le nombre de ligne n est pas egal a ") + str(self.nbLigs)) - dejaAffiche=1 raise EficasException('dimension') for i in range(self.nbLigs): inter=liste[i+1] - if (len(inter)) != self.nbCols and (dejaAffiche == 0 ) : + if (len(inter)) != self.nbCols : QMessageBox.critical( self, tr("Mauvaise dimension de matrice"), tr("le nombre de colonne n est pas egal a ") + str(self.nbCols)) - dejaAffiche=1 raise EficasException('dimension') for j in range(self.nbCols): - self.TBMatrice.setItem(i,j,QTableWidgetItem(str(liste[i+1][j]))) - header=QStringList() - for var in liste[0]: - header << var + self.TBMatrice.setItem(i,j,QTableWidgetItem(str(liste[i][j]))) + header =[] + for var in liste[0]: header .append(str(var)) self.TBMatrice.setVerticalHeaderLabels(header) self.TBMatrice.setHorizontalHeaderLabels(header) - def acceptVal(self): - liste=[] - liste.append(self.listeVariables) - if self.TBMatrice.rowCount() != self.nbLigs : - QMessageBox.critical( self, tr("Mauvaise dimension de matrice"),tr( "le nombre de ligne n est pas egal a ") + str(self.nbLigs)) - if self.TBMatrice.columnCount() != self.nbCols : - QMessageBox.critical( self, tr("Mauvaise dimension de matrice"), tr("le nombre de colonne n est pas egal a ") + str(self.nbCols)) - for i in range(self.nbLigs): - listeCol=[] - for j in range(self.nbCols): - monItem=self.TBMatrice.item(i,j) - texte=monItem.text() - try : - val=float(str(texte)) - ok=True - except : - ok=False - #val,ok=texte.toDouble() - if ok == False : - QMessageBox.critical( self, tr("Mauvaise Valeur"),tr( "l element ") + str(i) + "," +str(j) +tr("n est pas correct")) - listeCol.append(val) - liste.append(listeCol) - # on ajoute l ordre des variables aux valeurs - self.node.item.setValeur(liste) diff --git a/MAP/CMakeLists.txt b/MAP/CMakeLists.txt deleted file mode 100644 index f65a4429..00000000 --- a/MAP/CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES qtEficas_map.py - prefs.py - style.py - prefs_MAP.py - configuration_MAP.py - mapcata.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/MAP - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/MAP/configuration_MAP.py b/MAP/configuration_MAP.py deleted file mode 100644 index 6c997677..00000000 --- a/MAP/configuration_MAP.py +++ /dev/null @@ -1,60 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert pour charger les parametres de configuration d'EFICAS -""" -# Modules Python -import os -import sys -import configuration - -# Modules Eficas -from Editeur import utils - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - self.ssCode=appli.ssCode - self.INSTALLDIR =os.path.dirname(__file__) - self.adresse="ftp://ftp.pleiade.edf.fr/projets/MAP/OnlineDoc/MAP2014.1/components" - - self.labels_user=['exec_acrobat','savedir','path_doc'] - self.labels_eficas=['exec_acrobat','savedir','path_doc','catalogues','closeAutreCommande','closeFrameRechercheCommande','taille'] - - #self.cataFile="catalogues_MAP.ini" - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - def make_ssCode(self,ssCode): - if ssCode == None : return - try : - name='prefs_'+ssCode - prefs_ssCode=__import__(name) - prefs_ssCode.ajout(self) - except : - pass - - -def make_config(appli,rep): - return CONFIG(appli,rep) - - - diff --git a/MAP/mapcata.py b/MAP/mapcata.py deleted file mode 100755 index 80de7820..00000000 --- a/MAP/mapcata.py +++ /dev/null @@ -1,2283 +0,0 @@ - -from Accas import * - -JdC = JDC_CATA (code = 'MAP', - execmodul = None, - ) - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -# ====================================================================== -# Catalog entry for the MAP function : c_solver_primary_chemistry -# ====================================================================== -C_SOLVER_PRIMARY_CHEMISTRY_DATA=PROC(nom='C_SOLVER_PRIMARY_CHEMISTRY_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -input_temp=SIMP(typ='R',fr= "value of the temperature in Celsius",ang= "value of the temperature in Celsius",docu= "",statut= "o",into=None,min=1,max=1,val_min=20.0,val_max=320.0,defaut=None), -input_bore=SIMP(typ='R',fr= "boron content (in ppm) in the primary water",ang= "boron content (in ppm) in the primary water",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=2000.0,defaut=None), -input_lithium=SIMP(typ='R',fr= "lithium content (in ppm) in the primary water",ang= "lithium content (in ppm) in the primary water",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1000.0,defaut=None), -save_out=SIMP(typ=bool,fr= "boolean, if true output results in an output file",ang= "boolean, if true output results in an output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Pathname for the ouput file",ang= "Pathname for the ouput file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_polymer_graphic -# ====================================================================== -C_POST_POLYMER_GRAPHIC_DATA=PROC(nom='C_POST_POLYMER_GRAPHIC_DATA',op=None, -UIinfo ={'groupes':('post',)}, -study_name=SIMP(typ='TXM',fr= "Describes the name of the study",ang= "Describes the name of the study",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_directory=SIMP(typ='TXM',fr= "Name of directory where input data are located.",ang= "Name of directory where input data are located.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "Name of file where input data are stored.",ang= "Name of file where input data are stored.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "Names of graphics",ang= "Names of graphics",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of the nodes that have to be plot.if graphic_nodes is a list, all the nodes in the list will be plot for each graph. If the list contain only 'all', all the nodes will be plot. If the nodes are differents for each graph, graphic_nodes will be a list of list. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the nodes for the graph",ang= "List of the nodes that have to be plot.if graphic_nodes is a list, all the nodes in the list will be plot for each graph. If the list contain only 'all', all the nodes will be plot. If the nodes are differents for each graph, graphic_nodes will be a list of list. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the nodes for the graph",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "list of the boolean that indiacte if the X and Y axes will be plot in log. if graphic_log is a list of 1 boolean, ex True, the log will be applied for the 2 axes of all the graphs. if graphic_log is a list of 2 boolean, the 1st boolean will be link to the X axe, the second to the Y axe of all the graphs, If the log information is different for each graph, graphic_log will be a list of list. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the same information as the 2 previous options",ang= "list of the boolean that indiacte if the X and Y axes will be plot in log. if graphic_log is a list of 1 boolean, ex True, the log will be applied for the 2 axes of all the graphs. if graphic_log is a list of 2 boolean, the 1st boolean will be link to the X axe, the second to the Y axe of all the graphs, If the log information is different for each graph, graphic_log will be a list of list. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the same information as the 2 previous options",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "list of parameter name on which graph we wish to add other plots",ang= "list of parameter name on which graph we wish to add other plots",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "list of list of name of the experiemental plot that will be add. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the experiemental names for the graph",ang= "list of list of name of the experiemental plot that will be add. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the experiemental names for the graph",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "list of list of file name of the experiemental data that will be add. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the experiemental file names",ang= "list of list of file name of the experiemental data that will be add. The first list level will have the same lenth as graphic_names (same order) the second list level will contain the experiemental file names",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "list of parameter name that have to be plot",ang= "list of parameter name that have to be plot",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "list of the nodes that have to be plot. if graphic_nodes is a list, all the nodes in the list will be plot for each graph. If the list contain only 'all', all the nodes will be plot. If the nodes are differents for each graph, graphic_nodes will be a list of list. The first list level will have the same lenth as graphic_space_names (same order) the second list level will contain the nodes for the graph",ang= "list of the nodes that have to be plot. if graphic_nodes is a list, all the nodes in the list will be plot for each graph. If the list contain only 'all', all the nodes will be plot. If the nodes are differents for each graph, graphic_nodes will be a list of list. The first list level will have the same lenth as graphic_space_names (same order) the second list level will contain the nodes for the graph",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "list of the time that have to be plot. if graphic_time is a list, all the time in the list will be plot for each graph. If the list contain only 'all', all the times will be plot. If the times are differents for each graph, graphic_nodes will be a list of list. The first list level will have the same lenth as graphic_space_names (same order) the second list level will contain the times for the graph",ang= "list of the time that have to be plot. if graphic_time is a list, all the time in the list will be plot for each graph. If the list contain only 'all', all the times will be plot. If the times are differents for each graph, graphic_nodes will be a list of list. The first list level will have the same lenth as graphic_space_names (same order) the second list level will contain the times for the graph",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "list of the boolean that indiacte if the X and Y axes will be plot in log. +if graphic_log is a list of 1 boolean, ex True, the log will be applied for the 2 axes of all the graphs if graphic_log is a list of 2 boolean, the 1st boolean will be link to the X axe, the second to the Y axe of all the graphs. If the log information is different for each graph, graphic_log will be a list of list. The first list level will have the same lenth as graphic_space_names (same order) the second list level will contain the same information as the 2 previous options",ang= "list of the boolean that indiacte if the X and Y axes will be plot in log. +if graphic_log is a list of 1 boolean, ex True, the log will be applied for the 2 axes of all the graphs if graphic_log is a list of 2 boolean, the 1st boolean will be link to the X axe, the second to the Y axe of all the graphs. If the log information is different for each graph, graphic_log will be a list of list. The first list level will have the same lenth as graphic_space_names (same order) the second list level will contain the same information as the 2 previous options",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_grid_field -# ====================================================================== -C_POST_GRID_FIELD_DATA=PROC(nom='C_POST_GRID_FIELD_DATA',op=None, -UIinfo ={'groupes':('post',)}, -study_name=SIMP(typ='TXM',fr= "the name of your study",ang= "the name of your study",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_directory=SIMP(typ='Repertoire',fr= "the name of the output directory",ang= "the name of the output directory",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -prior_strain_dat_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "first Stereo output file",ang= "first Stereo output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -second_strain_dat_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "second Stereo output file",ang= "second Stereo output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -mesh_size_in_micron=SIMP(typ='R',fr= "grid mesh size in microns",ang= "grid mesh size in microns",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -mesh_size_in_pixel=SIMP(typ='I',fr= "grid mesh size in pixels",ang= "grid mesh size in pixels",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -matlab=SIMP(typ=bool,fr= "formatting output for matlab",ang= "formatting output for matlab",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -accuracy=SIMP(typ='I',fr= "number of subdivision",ang= "number of subdivision",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -bin_number=SIMP(typ='I',fr= "number of bins in histogram",ang= "number of bins in histogram",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -histograms=SIMP(typ=bool,fr= "save histograms",ang= "save histograms",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -prior_strain=SIMP(typ=bool,fr= "save the prior strain",ang= "save the prior strain",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -second_strain=SIMP(typ=bool,fr= "save the second strain",ang= "save the second strain",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -strain_path_beta=SIMP(typ=bool,fr= "save the strain path beta",ang= "save the strain path beta",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -peek=SIMP(typ=bool,fr= "save the peek",ang= "save the peek",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -oxydation_map=SIMP(typ=bool,fr= "save the oxydation map",ang= "save the oxydation map",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_generalised_corrosion -# ====================================================================== -C_SOLVER_GENERALISED_CORROSION_DATA=PROC(nom='C_SOLVER_GENERALISED_CORROSION_DATA',op=None, -UIinfo ={'groupes':('transverse',)}, -input_grid_field_csv=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the grid field csv file with metal thickness field",ang= "name of the grid field csv file with metal thickness field",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the grid field metadata file with metal thickness field",ang= "name of the grid field metadata file with metal thickness field",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -corrosion_speed_profile=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the file describing corrosion speed profile with thickness",ang= "name of the file describing corrosion speed profile with thickness",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_csv=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "resulting thickness field csv file (grid field format)",ang= "resulting thickness field csv file (grid field format)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_metadata=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "resulting thickness field metadata file (grid field format)",ang= "resulting thickness field metadata file (grid field format)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_pdf=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pdf report including intermediate thickness fields",ang= "pdf report including intermediate thickness fields",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_steps=SIMP(typ='I',fr= "number of time steps",ang= "number of time steps",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max=100,defaut=10), -computation_time_step=SIMP(typ='R',fr= "amplitude of the time steps",ang= "amplitude of the time steps",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -display=SIMP(typ=bool,fr= "turn it on to display fields",ang= "turn it on to display fields",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -initial_thickness=SIMP(typ='R',fr= "initial metal thickness",ang= "initial metal thickness",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_ct_specimen_mesh -# ====================================================================== -C_PRE_CT_SPECIMEN_MESH_DATA=PROC(nom='C_PRE_CT_SPECIMEN_MESH_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -ct_scale=SIMP(typ='R',fr= "Scale factor of the CT specimen, with respect to a CT 12.5 model",ang= "Scale factor of the CT specimen, with respect to a CT 12.5 model",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.5,val_max=2.0,defaut=1.0), -crack_depth_ratio=SIMP(typ='R',fr= "Conventional a/w ratio of crack depth over specimen thickness",ang= "Conventional a/w ratio of crack depth over specimen thickness",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.3,val_max=0.6,defaut=0.5), -output_mesh=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pathname of the file where the output MED mesh is generated",ang= "pathname of the file where the output MED mesh is generated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_info=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pathname of the file where the output information about the mesh is generated",ang= "pathname of the file where the output information about the mesh is generated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_scatterplot_sensitivity -# ====================================================================== -C_POST_SCATTERPLOT_SENSITIVITY_DATA=PROC(nom='C_POST_SCATTERPLOT_SENSITIVITY_DATA',op=None, -UIinfo ={'groupes':('post',)}, -xsample=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of the file that contains the input experimental design",ang= "Name of the file that contains the input experimental design",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -ysample=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of the file that contains the output experimental design",ang= "Name of the file that contains the output experimental design",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -degree=SIMP(typ='I',fr= "Maximum degree of the polynomial fit.If the parameter is not set, no fit is attempted",ang= "Maximum degree of the polynomial fit.If the parameter is not set, no fit is attempted",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -file_output=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of the output file containing the analysis results",ang= "Name of the output file containing the analysis results",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_2d_uncurtain -# ====================================================================== -C_IMAGE_2D_UNCURTAIN_DATA=PROC(nom='C_IMAGE_2D_UNCURTAIN_DATA',op=None, -UIinfo ={'groupes':('image',)}, -image_name=SIMP(typ='TXM',fr= "pathname of the files of input images ; globing (wild card) is allowed",ang= "pathname of the files of input images ; globing (wild card) is allowed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -mask_width=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise) dark bands width of the mask",ang= "(optional if GUI is used, mandatory otherwise) dark bands width of the mask",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -core_width=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise)center size not to be darken in the fourier transform image",ang= "(optional if GUI is used, mandatory otherwise)center size not to be darken in the fourier transform image",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -mask_blur=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise)gaussian blur sigma applied on the mask",ang= "(optional if GUI is used, mandatory otherwise)gaussian blur sigma applied on the mask",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -gui=SIMP(typ=bool,fr= "Run the Graphical User Interface if set to True",ang= "Run the Graphical User Interface if set to True",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_prefix=SIMP(typ='TXM',fr= "Prefix appended before the output file name",ang= "Prefix appended before the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_suffix=SIMP(typ='TXM',fr= "Suffix appended after the output file name",ang= "Suffix appended after the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_directory=SIMP(typ='Repertoire',fr= "path where each output file is written",ang= "path where each output file is written",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='refs'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_2d_brightness_equalizer -# ====================================================================== -C_IMAGE_2D_BRIGHTNESS_EQUALIZER_DATA=PROC(nom='C_IMAGE_2D_BRIGHTNESS_EQUALIZER_DATA',op=None, -UIinfo ={'groupes':('image',)}, -mask_shape=SIMP(typ='TXM',fr= "(optional in standalone mode if gui parameter is set to True, mandatory otherwise) technic used to create the mask shape",ang= "(optional in standalone mode if gui parameter is set to True, mandatory otherwise) technic used to create the mask shape",docu= "",statut= "o",into=['gaussian', 'parabolic', 'planar'],min=1,max=1,val_min='**',val_max='**',defaut='gaussian'), -mask_shape_gaussian=BLOC(condition="(mask_shape=='gaussian')", -image_name=SIMP(typ='TXM',fr= "pathname of the files of input images ; globing (wild card) is allowed",ang= "pathname of the files of input images ; globing (wild card) is allowed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -gui=SIMP(typ=bool,fr= "Run the Graphical User Interface if set to True",ang= "Run the Graphical User Interface if set to True",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_prefix=SIMP(typ='TXM',fr= "Prefix appended before the output file name",ang= "Prefix appended before the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_suffix=SIMP(typ='TXM',fr= "Suffix appended after the output file name",ang= "Suffix appended after the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -gaussian_blur_sigma=SIMP(typ='R',fr= "standard variation of the gaussian blur applied to the input image to create the mask",ang= "standard variation of the gaussian blur applied to the input image to create the mask",docu= "",statut= "f",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -), -output_directory=SIMP(typ='Repertoire',fr= "(optional, default : /refs) path where each output file is written",ang= "(optional, default : /refs) path where each output file is written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -mask_shape_parabolic=BLOC(condition="(mask_shape=='parabolic')", -image_name=SIMP(typ='TXM',fr= "pathname of the files of input images ; globing (wild card) is allowed",ang= "pathname of the files of input images ; globing (wild card) is allowed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -gui=SIMP(typ=bool,fr= "Run the Graphical User Interface if set to True",ang= "Run the Graphical User Interface if set to True",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_prefix=SIMP(typ='TXM',fr= "Prefix appended before the output file name",ang= "Prefix appended before the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_suffix=SIMP(typ='TXM',fr= "Suffix appended after the output file name",ang= "Suffix appended after the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -relative_steepness=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise) Set the steepness of the 2D parabola. The mask maximum value is computed as multiplied by the difference between input image minimum and maximum value divided by 100",ang= "(optional if GUI is used, mandatory otherwise) Set the steepness of the 2D parabola. The mask maximum value is computed as multiplied by the difference between input image minimum and maximum value divided by 100",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -mask_shape_planar=BLOC(condition="(mask_shape=='planar')", -image_name=SIMP(typ='TXM',fr= "pathname of the files of input images ; globing (wild card) is allowed",ang= "pathname of the files of input images ; globing (wild card) is allowed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -gui=SIMP(typ=bool,fr= "Run the Graphical User Interface if set to True",ang= "Run the Graphical User Interface if set to True",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_prefix=SIMP(typ='TXM',fr= "Prefix appended before the output file name",ang= "Prefix appended before the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_suffix=SIMP(typ='TXM',fr= "Suffix appended after the output file name",ang= "Suffix appended after the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -relative_tilt=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise) set the plan tilt. In the direction, the mask value is decreased by multiplied by the difference between the input image maximum and minimum values divided by 100 times the image length",ang= "(optional if GUI is used, mandatory otherwise) set the plan tilt. In the direction, the mask value is decreased by multiplied by the difference between the input image maximum and minimum values divided by 100 times the image length",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -orientation=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise) direction toward which the plan is tilting in degrees",ang= "(optional if GUI is used, mandatory otherwise) direction toward which the plan is tilting in degrees",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_corrosion_evolution -# ====================================================================== -C_SOLVER_CORROSION_EVOLUTION_DATA=PROC(nom='C_SOLVER_CORROSION_EVOLUTION_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -model=SIMP(typ='TXM',fr= "determines the physical model used in the code (must belong to the following list [Seyeux_2010, Leistner_2012])",ang= "determines the physical model used in the code (must belong to the following list [Seyeux_2010, Leistner_2012])",docu= "",statut= "o",into=['Seyeux_2010', 'Leistner_2012'],min=1,max=1,val_min='**',val_max='**',defaut='Seyeux_2010'), -model_Seyeux_2010=BLOC(condition="(model=='Seyeux_2010')", -temperature_in_K=SIMP(typ='R',fr= "it determines the value of the temperature in Kelvin degrees (must be >0)",ang= "it determines the value of the temperature in Kelvin degrees (must be >0)",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=603.0), -pH_temperature=SIMP(typ='R',fr= "it determines the value of the pH for the herebove determined temperature (must be >0)",ang= "it determines the value of the pH for the herebove determined temperature (must be >0)",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=7.2), -x_Cr=SIMP(typ='R',fr= "the fraction of Cr in the alloy (non dimensional unit : must be between 0 and 1 (x_Cr = 0.3 <=> 30% Cr in the alloy))",ang= "the fraction of Cr in the alloy (non dimensional unit : must be between 0 and 1 (x_Cr = 0.3 <=> 30% Cr in the alloy))",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=0.3), -x_Fe=SIMP(typ='R',fr= "the fraction of Fe in the alloy (non dimensional unit : must be between 0 and 1 (x_Fe = 0.1 <=> 10% Fe in the alloy))",ang= "the fraction of Fe in the alloy (non dimensional unit : must be between 0 and 1 (x_Fe = 0.1 <=> 10% Fe in the alloy))",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=0.1), -x_Ni=SIMP(typ='R',fr= "the fraction of Ni in the alloy (non dimensional unit : must be between 0 and 1 (x_Ni = 0.58 <=> 58% Ni in the alloy))",ang= "the fraction of Ni in the alloy (non dimensional unit : must be between 0 and 1 (x_Ni = 0.58 <=> 58% Ni in the alloy))",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=0.58), -alpha=SIMP(typ='R',fr= "interface polarisability (between 0 and 1)",ang= "interface polarisability (between 0 and 1)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DV=SIMP(typ='R',fr= "potential change with respect to a stationnary state",ang= "potential change with respect to a stationnary state",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -F_0f=SIMP(typ='R',fr= "potential drop in the film",ang= "potential drop in the film",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -F_0mf=SIMP(typ='R',fr= "potential drop at film-solution interface",ang= "potential drop at film-solution interface",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -F_0fs=SIMP(typ='R',fr= "potential drop at film-solution interface",ang= "potential drop at film-solution interface",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -D_vO=SIMP(typ='R',fr= "diffusion coefficient of oxygen vacancies",ang= "diffusion coefficient of oxygen vacancies",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG1=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 1 (Cr_M -> Cr3+_ox + 3e- + 3/2 V_o with V_o = oxygen vacancy)",ang= "Gibbs energy of formation of reaction 1 (Cr_M -> Cr3+_ox + 3e- + 3/2 V_o with V_o = oxygen vacancy)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=10000.0), -time_in_seconds=SIMP(typ='R',fr= "the duration of the physical time experiment",ang= "the duration of the physical time experiment",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=36000.0), -save_history=SIMP(typ=bool,fr= "must be set to yes if you want to save the integration times into the output file",ang= "must be set to yes if you want to save the integration times into the output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -output_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "the name of the text file where the results are written",ang= "the name of the text file where the results are written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_corrosion_evolution.output'), -), -model_Leistner_2012=BLOC(condition="(model=='Leistner_2012')", -temperature_in_K=SIMP(typ='R',fr= "it determines the value of the temperature in Kelvin degrees (must be >0)",ang= "it determines the value of the temperature in Kelvin degrees (must be >0)",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=603.0), -pH_temperature=SIMP(typ='R',fr= "it determines the value of the pH for the herebove determined temperature (must be >0)",ang= "it determines the value of the pH for the herebove determined temperature (must be >0)",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=7.2), -x_Cr=SIMP(typ='R',fr= "the fraction of Cr in the alloy (non dimensional unit : must be between 0 and 1 (x_Cr = 0.3 <=> 30% Cr in the alloy))",ang= "the fraction of Cr in the alloy (non dimensional unit : must be between 0 and 1 (x_Cr = 0.3 <=> 30% Cr in the alloy))",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=0.3), -x_Fe=SIMP(typ='R',fr= "the fraction of Fe in the alloy (non dimensional unit : must be between 0 and 1 (x_Fe = 0.1 <=> 10% Fe in the alloy))",ang= "the fraction of Fe in the alloy (non dimensional unit : must be between 0 and 1 (x_Fe = 0.1 <=> 10% Fe in the alloy))",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=0.1), -x_Ni=SIMP(typ='R',fr= "the fraction of Ni in the alloy (non dimensional unit : must be between 0 and 1 (x_Ni = 0.58 <=> 58% Ni in the alloy))",ang= "the fraction of Ni in the alloy (non dimensional unit : must be between 0 and 1 (x_Ni = 0.58 <=> 58% Ni in the alloy))",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=0.58), -alpha=SIMP(typ='R',fr= "interface polarisability (between 0 and 1)",ang= "interface polarisability (between 0 and 1)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DV=SIMP(typ='R',fr= "potential change with respect to a stationnary state",ang= "potential change with respect to a stationnary state",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -F_0f=SIMP(typ='R',fr= "potential drop in the film",ang= "potential drop in the film",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -F_0mf=SIMP(typ='R',fr= "potential drop at film-solution interface",ang= "potential drop at film-solution interface",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -F_0fs=SIMP(typ='R',fr= "potential drop at film-solution interface",ang= "potential drop at film-solution interface",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -D_vO=SIMP(typ='R',fr= "diffusion coefficient of oxygen vacancies",ang= "diffusion coefficient of oxygen vacancies",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG1=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 1 (Cr_M -> Cr3+_ox + 3e- + 3/2 V_o with V_o = oxygen vacancy)",ang= "Gibbs energy of formation of reaction 1 (Cr_M -> Cr3+_ox + 3e- + 3/2 V_o with V_o = oxygen vacancy)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=10000.0), -time_in_seconds=SIMP(typ='R',fr= "the duration of the physical time experiment",ang= "the duration of the physical time experiment",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=36000.0), -save_history=SIMP(typ=bool,fr= "must be set to yes if you want to save the integration times into the output file",ang= "must be set to yes if you want to save the integration times into the output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -output_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "the name of the text file where the results are written",ang= "the name of the text file where the results are written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_corrosion_evolution.output'), -DG8=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 8 (V_o + H2O -> 2 H+ + O_ox)",ang= "Gibbs energy of formation of reaction 8 (V_o + H2O -> 2 H+ + O_ox)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -D_mCr=SIMP(typ='R',fr= "diffusion coefficient of Cr ions in metal",ang= "diffusion coefficient of Cr ions in metal",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -D_ICr=SIMP(typ='R',fr= " diffusion coefficient of Cr3+ cation",ang= " diffusion coefficient of Cr3+ cation",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -decay_length=SIMP(typ='R',fr= "length caracterising the influence zone of the potential",ang= "length caracterising the influence zone of the potential",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -charge_number=SIMP(typ='R',fr= "number of electrons transferred during dissolution reaction",ang= "number of electrons transferred during dissolution reaction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -dissol_order=SIMP(typ='R',fr= "order of dissolution reaction",ang= "order of dissolution reaction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -dissol_preexp=SIMP(typ='R',fr= "first order factor of dissolution reaction",ang= "first order factor of dissolution reaction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -dissol_Ea=SIMP(typ='R',fr= "dissolution reaction activation energy",ang= "dissolution reaction activation energy",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG2=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 2 (Cr_M + V_Cr -> Cr3+_ox + 3e)",ang= "Gibbs energy of formation of reaction 2 (Cr_M + V_Cr -> Cr3+_ox + 3e)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG3=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 3 (Cr_M + V_I -> I_Cr + 3e)",ang= "Gibbs energy of formation of reaction 3 (Cr_M + V_I -> I_Cr + 3e)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG4=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 4 (Fe_M + V_Cr -> Fe3+_ox + 3e)",ang= "Gibbs energy of formation of reaction 4 (Fe_M + V_Cr -> Fe3+_ox + 3e)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG5=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 5 (Fe_M + V_I -> I_Fe + 3e)",ang= "Gibbs energy of formation of reaction 5 (Fe_M + V_I -> I_Fe + 3e)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG6=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 6 (Ni_M + 2/3 V_Cr -> Ni2+_ox + 2e-)",ang= "Gibbs energy of formation of reaction 6 (Ni_M + 2/3 V_Cr -> Ni2+_ox + 2e-)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG7=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 7 (Ni_M + V_I -> I_Ni + 2e)",ang= "Gibbs energy of formation of reaction 7 (Ni_M + V_I -> I_Ni + 2e)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG9=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 9 (Cr3+_ox + 3/2 H2O -> 3/2 O_ox + Cr3+_ox + V_Cr)",ang= "Gibbs energy of formation of reaction 9 (Cr3+_ox + 3/2 H2O -> 3/2 O_ox + Cr3+_ox + V_Cr)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG10=SIMP(typ='R',fr= " Gibbs energy of formation of reaction 10 (I_Cr + 3/2 H2O -> 3/2 O_ox + Cr3+_ox + 3H+ + V_I)",ang= " Gibbs energy of formation of reaction 10 (I_Cr + 3/2 H2O -> 3/2 O_ox + Cr3+_ox + 3H+ + V_I)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG11=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 11 (Fe3+_ox -> V_Cr + Fe3+_aq)",ang= "Gibbs energy of formation of reaction 11 (Fe3+_ox -> V_Cr + Fe3+_aq)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG12=SIMP(typ='R',fr= " Gibbs energy of formation of reaction 12 (I_Fe -> V_I + Fe3+_aq)",ang= " Gibbs energy of formation of reaction 12 (I_Fe -> V_I + Fe3+_aq)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG13=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 14 (M_Ni -> 2/3 V_Cr + Ni2+_aq)",ang= "Gibbs energy of formation of reaction 14 (M_Ni -> 2/3 V_Cr + Ni2+_aq)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DG14=SIMP(typ='R',fr= "Gibbs energy of formation of reaction 14 (I_Ni -> V_I + Ni2+_aq)",ang= "Gibbs energy of formation of reaction 14 (I_Ni -> V_I + Ni2+_aq)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -CtotM_mf=SIMP(typ='R',fr= "total cation concentration in oxide at the metal-film interface",ang= "total cation concentration in oxide at the metal-film interface",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_image2mesh_2d -# ====================================================================== -C_PRE_IMAGE2MESH_2D_DATA=PROC(nom='C_PRE_IMAGE2MESH_2D_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -study_path=SIMP(typ='Repertoire',fr= "determines the name of the directory where intermediate files produced by PINK library are written.",ang= "determines the name of the directory where intermediate files produced by PINK library are written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='/tmp'), -study_name=SIMP(typ='TXM',fr= "determines the name of the study to determine the name of the intermediate files produced by PINK library are written",ang= "determines the name of the study to determine the name of the intermediate files produced by PINK library are written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='study_c_pre_image2mesh_2d'), -input_image=SIMP(typ=('Fichier', 'All Files (*)'),fr= " name of the image input file name (pgm format only)",ang= " name of the image input file name (pgm format only)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_mesh=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the mesh output file name",ang= "name of the mesh output file name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='output_c_pre_image2mesh_2d.med'), -mesh_size=SIMP(typ='R',fr= "size of the mesh elements",ang= "size of the mesh elements",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.2), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_image_correlation -# ====================================================================== -C_POST_IMAGE_CORRELATION_DATA=PROC(nom='C_POST_IMAGE_CORRELATION_DATA',op=None, -UIinfo ={'groupes':('post',)}, -computation=SIMP(typ='TXM',fr= "Type of computation in the sequence RBM, Displacement, Deformation",ang= "Type of computation in the sequence RBM, Displacement, Deformation",docu= "",statut= "o",into=['RBM', 'Displacement', 'Deformation'],min=1,max=1,val_min='**',val_max='**',defaut='RBM'), -computation_RBM=BLOC(condition="(computation=='RBM')", -print_image=SIMP(typ=bool,fr= "true to print results in image format, false otherwise. ignored if computation is RBM.",ang= "true to print results in image format, false otherwise. ignored if computation is RBM.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_directory=SIMP(typ='Repertoire',fr= "directory where the output files will be written.",ang= "directory where the output files will be written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -displacement_method=SIMP(typ='TXM',fr= "when computation = 'RBM', values can be 'direct' or 'direct_with_random_shifts'; when computation = 'Displacement', values can be 'direct', 'direct_with_random_shifts', 'Iterative' or 'IterativeFFT'.",ang= "when computation = 'RBM', values can be 'direct' or 'direct_with_random_shifts'; when computation = 'Displacement', values can be 'direct', 'direct_with_random_shifts', 'Iterative' or 'IterativeFFT'.",docu= "",statut= "o",into=('Direct', 'DirectWithRandomShifts', 'Iterative', 'IterativeFFT'),min=1,max=1,val_min='**',val_max='**',defaut='Direct'), -randomfile=SIMP(typ=('Fichier', 'All Files (*)'),fr= "('Name of the file where a random displacement field ', 'is stored. This parameter is mainly used ', 'for non-regression tests.')",ang= "('Name of the file where a random displacement field ', 'is stored. This parameter is mainly used ', 'for non-regression tests.')",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_type=SIMP(typ='TXM',fr= "type of input where data files have been stored.",ang= "type of input where data files have been stored.",docu= "",statut= "o",into=['archive', 'directory'],min=1,max=1,val_min='**',val_max='**',defaut=None), -input_directory=SIMP(typ='Repertoire',fr= "directory where the grayscale images are located.",ang= "directory where the grayscale images are located.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_archive=SIMP(typ=('Fichier', 'All Files (*)'),fr= ".zip archive where the grayscale images are located.",ang= ".zip archive where the grayscale images are located.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file_root=SIMP(typ='TXM',fr= "string precising the generic root of the image name",ang= "string precising the generic root of the image name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file_extension=SIMP(typ='TXM',fr= "string precising the extension associated with the image type, e.g. bmp, tiff,png.",ang= "string precising the extension associated with the image type, e.g. bmp, tiff,png.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file_first_index=SIMP(typ='I',fr= "index of the first image of the set",ang= "index of the first image of the set",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file_last_index=SIMP(typ='I',fr= "index of the last image of the set",ang= "index of the last image of the set",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -step_between_images=SIMP(typ='I',fr= "ncrement between two consecutive images to be treated",ang= "ncrement between two consecutive images to be treated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -step_between_updates=SIMP(typ='I',fr= "increment needed to update reference image.",ang= "increment needed to update reference image.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DIC_subset_size=SIMP(typ='I',fr= "displacement calculation: size in pixel of the subset size.",ang= "displacement calculation: size in pixel of the subset size.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -research_area_vmax=SIMP(typ='I',fr= "displacement calculation: size in pixel of the research area.",ang= "displacement calculation: size in pixel of the research area.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -grid_step=SIMP(typ='I',fr= "displacement calculation: spacing in pixel between the subset centers. Smaller values will correspond to higher densities of displacement field.",ang= "displacement calculation: spacing in pixel between the subset centers. Smaller values will correspond to higher densities of displacement field.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DIC_big_subset_size=SIMP(typ='I',fr= "central point displacement: a large central subset is used to get an estimate of the global translation between two images. Should be about two times the maximum translation value in pixels up to the image dimension.",ang= "central point displacement: a large central subset is used to get an estimate of the global translation between two images. Should be about two times the maximum translation value in pixels up to the image dimension.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DIC_big_subset_area_vmax=SIMP(typ='I',fr= "central point displacement: parameter identical to 'research_area_vmax' but specific to the big subset.",ang= "central point displacement: parameter identical to 'research_area_vmax' but specific to the big subset.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -ZOI_upper_left_corner=SIMP(typ='TXM',fr= "[, ] in pixelscoordinates (, ) in pixels of the upper left corner of the rectangular Zone of Interest where the calculation is performed.",ang= "[, ] in pixelscoordinates (, ) in pixels of the upper left corner of the rectangular Zone of Interest where the calculation is performed.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -ZOI_bottom_right_corner=SIMP(typ='TXM',fr= "[, ] in pixelsZone of Interest bottom right coordinates ",ang= "[, ] in pixelsZone of Interest bottom right coordinates ",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -computation_Displacement=BLOC(condition="(computation=='Displacement')", -print_image=SIMP(typ=bool,fr= "true to print results in image format, false otherwise. ignored if computation is RBM.",ang= "true to print results in image format, false otherwise. ignored if computation is RBM.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_directory=SIMP(typ='Repertoire',fr= "directory where the output files will be written.",ang= "directory where the output files will be written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -displacement_method=SIMP(typ='TXM',fr= "when computation = 'RBM', values can be 'direct' or 'direct_with_random_shifts'; when computation = 'Displacement', values can be 'direct', 'direct_with_random_shifts', 'Iterative' or 'IterativeFFT'.",ang= "when computation = 'RBM', values can be 'direct' or 'direct_with_random_shifts'; when computation = 'Displacement', values can be 'direct', 'direct_with_random_shifts', 'Iterative' or 'IterativeFFT'.",docu= "",statut= "o",into=('Direct', 'DirectWithRandomShifts', 'Iterative', 'IterativeFFT'),min=1,max=1,val_min='**',val_max='**',defaut='Direct'), -randomfile=SIMP(typ=('Fichier', 'All Files (*)'),fr= "('Name of the file where a random displacement field ', 'is stored. This parameter is mainly used ', 'for non-regression tests.')",ang= "('Name of the file where a random displacement field ', 'is stored. This parameter is mainly used ', 'for non-regression tests.')",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -RBM_parameters_input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Mandatory if computation is Displacement or Deformation. path of the input file used for the initial RBM calculations. ",ang= "Mandatory if computation is Displacement or Deformation. path of the input file used for the initial RBM calculations. ",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -DIC_subset_size=SIMP(typ='I',fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -research_area_vmax=SIMP(typ='I',fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -grid_step=SIMP(typ='I',fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -max_iteration_number=SIMP(typ='I',fr= "if displacement_method is Iterative or IterativeFFTmaximum iteration number tolerated before exiting the Iterative resolution",ang= "if displacement_method is Iterative or IterativeFFTmaximum iteration number tolerated before exiting the Iterative resolution",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -iteration_convergence_criterion=SIMP(typ='R',fr= "if displacement_method is Iterative or IterativeFFTconvergence criterion of the iteration scheme",ang= "if displacement_method is Iterative or IterativeFFTconvergence criterion of the iteration scheme",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -polynomial_degree_of_transformation=SIMP(typ='I',fr= "if displacement_method is Iterativethe transformation between subsets can be a not purely rigid body motion but a more general polynomial transformation. The polynomial degree is given by this parameter.",ang= "if displacement_method is Iterativethe transformation between subsets can be a not purely rigid body motion but a more general polynomial transformation. The polynomial degree is given by this parameter.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -computation_Deformation=BLOC(condition="(computation=='Deformation')", -print_image=SIMP(typ=bool,fr= "true to print results in image format, false otherwise. ignored if computation is RBM.",ang= "true to print results in image format, false otherwise. ignored if computation is RBM.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_directory=SIMP(typ='Repertoire',fr= "directory where the output files will be written.",ang= "directory where the output files will be written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -RBM_parameters_input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Mandatory if computation is Displacement or Deformation. path of the input file used for the initial RBM calculations. ",ang= "Mandatory if computation is Displacement or Deformation. path of the input file used for the initial RBM calculations. ",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_directory_with_displacement_fields=SIMP(typ='Repertoire',fr= " directory where displacement fields can be found",ang= " directory where displacement fields can be found",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -deformation_type_of_calculation=SIMP(typ='TXM',fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=('Deformation', 'Deformation_Rate'),min=1,max=1,val_min='**',val_max='**',defaut=None), -deformation_model=SIMP(typ='TXM',fr= "can be chosen between 'Euler', 'Lagrange' (standard) or 'Hencky' (logarithmic).",ang= "can be chosen between 'Euler', 'Lagrange' (standard) or 'Hencky' (logarithmic).",docu= "",statut= "o",into=('Euler', 'Lagrange', 'Hencky'),min=1,max=1,val_min='**',val_max='**',defaut=None), -deformation_calculation_method=SIMP(typ='TXM',fr= "'FiniteDifference' (rough), 'Polynomial' (in this case the space and time approximations are independant) or 'SpaceTimePolynomial' (total space-time approximation)",ang= "'FiniteDifference' (rough), 'Polynomial' (in this case the space and time approximations are independant) or 'SpaceTimePolynomial' (total space-time approximation)",docu= "",statut= "o",into=('FiniteDifference', 'Polynomial', 'SpaceTimePolynomial'),min=1,max=1,val_min='**',val_max='**',defaut=None), -polynomial_deformation_space_degree=SIMP(typ='I',fr= "if deformation_calculation_method is Polynomial or SpaceTimePolynomialdegree of the polynomial approximation in space allowing to obtain the deformation by derivation.",ang= "if deformation_calculation_method is Polynomial or SpaceTimePolynomialdegree of the polynomial approximation in space allowing to obtain the deformation by derivation.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -polynomial_deformation_time_degree=SIMP(typ='I',fr= "if deformation_calculation_method is Polynomial or SpaceTimePolynomial",ang= "if deformation_calculation_method is Polynomial or SpaceTimePolynomial",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -polynomial_deformation_space_step=SIMP(typ='I',fr= "if deformation_calculation_method is Polynomial or SpaceTimePolynomialnumber of displacement points to be used in space at each side of a reference point to compute the deformation approximation. For example, if set to= k, the polynomial function will approximate the displacement values over (k+1+k)*(k+1+k) points.",ang= "if deformation_calculation_method is Polynomial or SpaceTimePolynomialnumber of displacement points to be used in space at each side of a reference point to compute the deformation approximation. For example, if set to= k, the polynomial function will approximate the displacement values over (k+1+k)*(k+1+k) points.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -polynomial_deformation_time_step=SIMP(typ='I',fr= "if deformation_calculation_method is Polynomial or SpaceTimePolynomialnumber of displacement points to be used in time at each side of a reference point to compute the deformation approximation.",ang= "if deformation_calculation_method is Polynomial or SpaceTimePolynomialnumber of displacement points to be used in time at each side of a reference point to compute the deformation approximation.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_transverse_empty_python -# ====================================================================== -C_TRANSVERSE_EMPTY_PYTHON_DATA=PROC(nom='C_TRANSVERSE_EMPTY_PYTHON_DATA',op=None, -UIinfo ={'groupes':('transverse',)}, -a_string=SIMP(typ='TXM',fr= "simply print in verbose mode",ang= "simply print in verbose mode",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='Hello world of MAP'), -an_integer=SIMP(typ='I',fr= "number of lines in the output file",ang= "number of lines in the output file",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max=100,defaut=4), -a_float=SIMP(typ='R',fr= "simply print in verbose mode",ang= "simply print in verbose mode",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=5.3), -file_output=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_transverse_empty_python.output'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_morphology_synthesis_fractal_interface -# ====================================================================== -C_PRE_MORPHOLOGY_SYNTHESIS_FRACTAL_INTERFACE_DATA=PROC(nom='C_PRE_MORPHOLOGY_SYNTHESIS_FRACTAL_INTERFACE_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -nx=SIMP(typ='I',fr= "Even number of grid points along x",ang= "Even number of grid points along x",docu= "",statut= "o",into=None,min=1,max=1,val_min=2,val_max='**',defaut=2), -ny=SIMP(typ='I',fr= "Even number of grid points along y",ang= "Even number of grid points along y",docu= "",statut= "o",into=None,min=1,max=1,val_min=2,val_max='**',defaut=2), -Df=SIMP(typ='R',fr= "Fractal dimension",ang= "Fractal dimension",docu= "",statut= "o",into=None,min=1,max=1,val_min=2,val_max=3,defaut=2.6), -Ra=SIMP(typ='R',fr= "Surface rugosity Ra value (in z units)",ang= "Surface rugosity Ra value (in z units)",docu= "",statut= "o",into=None,min=1,max=1,val_min=0,val_max='**',defaut=1.0), -Lx=SIMP(typ='R',fr= "Total length of surface along x",ang= "Total length of surface along x",docu= "",statut= "o",into=None,min=1,max=1,val_min=0,val_max='**',defaut=1.0), -Ly=SIMP(typ='R',fr= "Total length of surface along y",ang= "Total length of surface along y",docu= "",statut= "o",into=None,min=1,max=1,val_min=0,val_max='**',defaut=1.0), -seed=SIMP(typ='R',fr= "Seed of random generator",ang= "Seed of random generator",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -wc=SIMP(typ='R',fr= "Minimal cut frequency",ang= "Minimal cut frequency",docu= "",statut= "o",into=None,min=1,max=1,val_min=0,val_max='**',defaut=0), -output_csv_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of a file describing the synthesized grid surface with coordinates x,y,z in CSV format. Coordinate columns x and y define the grid. Length units are implicitly: the units of lx and ly for the grid, the units of Ra for the heights.",ang= "name of a file describing the synthesized grid surface with coordinates x,y,z in CSV format. Coordinate columns x and y define the grid. Length units are implicitly: the units of lx and ly for the grid, the units of Ra for the heights.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='surface.csv'), -output_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the metadata file for output_csv_file_name",ang= "name of the metadata file for output_csv_file_name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='surface.metadata'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_polymer_kinetics -# ====================================================================== -C_POST_POLYMER_KINETICS_DATA=PROC(nom='C_POST_POLYMER_KINETICS_DATA',op=None, -UIinfo ={'groupes':('post',)}, -study_name=SIMP(typ='TXM',fr= "Describes the name of the study",ang= "Describes the name of the study",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_directory=SIMP(typ='TXM',fr= "Name of directory where input data are located.",ang= "Name of directory where input data are located.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of the csv filename where results are written in the grid field csv format.",ang= "Name of the csv filename where results are written in the grid field csv format.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -equations=SIMP(typ='TXM',fr= "list of equations used to produce ",ang= "list of equations used to produce ",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of names of the post-treated fields",ang= "List of names of the post-treated fields",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integer=SIMP(typ='TXM',fr= "List of booleans that define if post-treatment has to be integrated",ang= "List of booleans that define if post-treatment has to be integrated",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names=SIMP(typ='TXM',fr= "Names of coefficients which follow Arrhenius law. This list MUST have the same number of parameters as Arrhenius_A and Arrhenius_Ea.",ang= "Names of coefficients which follow Arrhenius law. This list MUST have the same number of parameters as Arrhenius_A and Arrhenius_Ea.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "Arrhenius law pre exponential factors. This list MUST have the same number of parameter as Arrhenius_names and Arrhenius_Ea.",ang= "Arrhenius law pre exponential factors. This list MUST have the same number of parameter as Arrhenius_names and Arrhenius_Ea.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "Arrhenius law activation energy. This list MUST have the same number of parameter as Arrhenius_name and Arrhenius_A.",ang= "Arrhenius law activation energy. This list MUST have the same number of parameter as Arrhenius_name and Arrhenius_A.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -results_units=SIMP(typ='TXM',fr= "equation reslut units",ang= "equation reslut units",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_morphology_inclusions -# ====================================================================== -C_PRE_MORPHOLOGY_INCLUSIONS_DATA=PROC(nom='C_PRE_MORPHOLOGY_INCLUSIONS_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -sphere=SIMP(typ='I',fr= "chose 1 to for spheres, chose 0 for polyhedra",ang= "chose 1 to for spheres, chose 0 for polyhedra",docu= "",statut= "o",into=[0, 1],min=1,max=1,val_min='**',val_max='**',defaut=1), -box_dimension=SIMP(typ='TXM',fr= "list of three float numbers to determine box dimensions along the three axis",ang= "list of three float numbers to determine box dimensions along the three axis",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -box_discretize=SIMP(typ='TXM',fr= "list of three integers to determine the number of voxels along the three axis",ang= "list of three integers to determine the number of voxels along the three axis",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -fraction=SIMP(typ='R',fr= "inclusion volume fraction",ang= "inclusion volume fraction",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.15), -sieve_curve=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the file where inclusion sieve curve is defined",ang= "name of the file where inclusion sieve curve is defined",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -poisson_vertex_number=SIMP(typ='I',fr= "number of vertices used in the Poisson process",ang= "number of vertices used in the Poisson process",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=12), -lognormal_average=SIMP(typ='R',fr= "average of lognormal distribution of ???",ang= "average of lognormal distribution of ???",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -lognormal_sigma=SIMP(typ='R',fr= "standard deviation of lognormal distribution of ???",ang= "standard deviation of lognormal distribution of ???",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -aspect_ratio=SIMP(typ='R',fr= "inclusion aspect_ratio",ang= "inclusion aspect_ratio",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=1.0), -seed=SIMP(typ='I',fr= "random seed",ang= "random seed",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_morphology_synthesis_voronoi -# ====================================================================== -C_PRE_MORPHOLOGY_SYNTHESIS_VORONOI_DATA=PROC(nom='C_PRE_MORPHOLOGY_SYNTHESIS_VORONOI_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -study_name=SIMP(typ='TXM',fr= "name given to the study, which will be used as the root to define output file names, e.g. 'my_aggregate_with_40_grains",ang= "name given to the study, which will be used as the root to define output file names, e.g. 'my_aggregate_with_40_grains",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='my_aggregate_with_xx_grains'), -folder_out=SIMP(typ='Repertoire',fr= "name of the folder where output files will be written",ang= "name of the folder where output files will be written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='/tmp'), -printbrep=SIMP(typ=bool,fr= "boolean used to ask the print of the .brep file",ang= "boolean used to ask the print of the .brep file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -maillage=SIMP(typ=bool,fr= "boolean used to ask the print of the mesh in MED format",ang= "boolean used to ask the print of the mesh in MED format",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -printhist=SIMP(typ=bool,fr= "boolean that will trigger the print of an .hist histogram datafile for garn sizes, volumes and surfaces",ang= "boolean that will trigger the print of an .hist histogram datafile for garn sizes, volumes and surfaces",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -param_volumes=SIMP(typ='TXM',fr= "list of 3 values used to generate the histogram to specify the minimum value, maximum value and step numbers for the histogram. In cas the value is not specified for min and max, a void field [] can be used and the default value of 0. will be used for the min while the max is automatically calculated, a few examples follow: param_volumes = [0.,[],20] will correspond to a 20-bar histogram of min value 0. and automatic max value, param_volumes = [[],[],20] will give the same result, param_volumes = [2.,10.,20] will correspond to a 20-bar histogram of min value 2. and max value 10.",ang= "list of 3 values used to generate the histogram to specify the minimum value, maximum value and step numbers for the histogram. In cas the value is not specified for min and max, a void field [] can be used and the default value of 0. will be used for the min while the max is automatically calculated, a few examples follow: param_volumes = [0.,[],20] will correspond to a 20-bar histogram of min value 0. and automatic max value, param_volumes = [[],[],20] will give the same result, param_volumes = [2.,10.,20] will correspond to a 20-bar histogram of min value 2. and max value 10.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='[0.,[],20]'), -param_surfaces=SIMP(typ='TXM',fr= "list of 3 values used to generate the histogram to specify the minimum value, maximum value and step numbers for the histogram. In cas the value is not specified for min and max, a void field [] can be used and the default value of 0. will be used for the min while the max is automatically calculated, a few examples follow: param_volumes = [0.,[],20] will correspond to a 20-bar histogram of min value 0. and automatic max value, param_volumes = [[],[],20] will give the same result, param_volumes = [2.,10.,20] will correspond to a 20-bar histogram of min value 2. and max value 10.",ang= "list of 3 values used to generate the histogram to specify the minimum value, maximum value and step numbers for the histogram. In cas the value is not specified for min and max, a void field [] can be used and the default value of 0. will be used for the min while the max is automatically calculated, a few examples follow: param_volumes = [0.,[],20] will correspond to a 20-bar histogram of min value 0. and automatic max value, param_volumes = [[],[],20] will give the same result, param_volumes = [2.,10.,20] will correspond to a 20-bar histogram of min value 2. and max value 10.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='[0.,[],20]'), -param_dg=SIMP(typ='TXM',fr= "list of 3 values used to generate the histogram to specify the minimum value, maximum value and step numbers for the histogram. In cas the value is not specified for min and max, a void field [] can be used and the default value of 0. will be used for the min while the max is automatically calculated, a few examples follow: param_volumes = [0.,[],20] will correspond to a 20-bar histogram of min value 0. and automatic max value, param_volumes = [[],[],20] will give the same result, param_volumes = [2.,10.,20] will correspond to a 20-bar histogram of min value 2. and max value 10.",ang= "list of 3 values used to generate the histogram to specify the minimum value, maximum value and step numbers for the histogram. In cas the value is not specified for min and max, a void field [] can be used and the default value of 0. will be used for the min while the max is automatically calculated, a few examples follow: param_volumes = [0.,[],20] will correspond to a 20-bar histogram of min value 0. and automatic max value, param_volumes = [[],[],20] will give the same result, param_volumes = [2.,10.,20] will correspond to a 20-bar histogram of min value 2. and max value 10.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='[0.,[],20]'), -random_seed=SIMP(typ='I',fr= "Integer parameter, when set to -1 the random seed will be set by the alea parameter. For any different value, the random seed is arbitrary.",ang= "Integer parameter, when set to -1 the random seed will be set by the alea parameter. For any different value, the random seed is arbitrary.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=-1), -ngrains=SIMP(typ='I',fr= "number of grains in the generated aggregate",ang= "number of grains in the generated aggregate",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -alea=SIMP(typ='I',fr= "integer parameter specifying the initial seed for the random algorithm used to distribute the germs of the voronoi cells. It will only be active when random_seed=-1. This situation is useful to reproduce the generation of similar aggregates.",ang= "integer parameter specifying the initial seed for the random algorithm used to distribute the germs of the voronoi cells. It will only be active when random_seed=-1. This situation is useful to reproduce the generation of similar aggregates.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -puis=SIMP(typ='R',fr= "float ranging between 0. an 1. used to control the repulsion between germs. Indeed, a random germ distribution can sometimes give unexpected results when two germs are too close to each other. Setting a strictly positive repulsion distance will produce an aggregate of more homogeneous grain sizes.",ang= "float ranging between 0. an 1. used to control the repulsion between germs. Indeed, a random germ distribution can sometimes give unexpected results when two germs are too close to each other. Setting a strictly positive repulsion distance will produce an aggregate of more homogeneous grain sizes.",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=1.0), -predef=SIMP(typ='R',fr= "float used to control the pre-strain in the aggregate ?",ang= "float used to control the pre-strain in the aggregate ?",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -homot=SIMP(typ='R',fr= "float used to control the size of the aggregate ?",ang= "float used to control the size of the aggregate ?",docu= "",statut= "f",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=1.0), -sdec=SIMP(typ=bool,fr= "boolean used to determine ?",ang= "boolean used to determine ?",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -symet=SIMP(typ=bool,fr= "boolean used to determine the symetry",ang= "boolean used to determine the symetry",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_polycrystal_orientation -# ====================================================================== -C_PRE_POLYCRYSTAL_ORIENTATION_DATA=PROC(nom='C_PRE_POLYCRYSTAL_ORIENTATION_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -material_symmetry=SIMP(typ='TXM',fr= "symetry of the orientation distribution",ang= "symetry of the orientation distribution",docu= "",statut= "o",into=['isotropic', 'transverse_isotropic', 'dispersed_transverse_isotropic'],min=1,max=1,val_min='**',val_max='**',defaut='isotropic'), -material_symmetry_isotropic=BLOC(condition="(material_symmetry=='isotropic')", -input_format=SIMP(typ='TXM',fr= "determines the format of the microstructure geometry file : BREP for SALOME geometry or TESS for NEPER tesselation",ang= "determines the format of the microstructure geometry file : BREP for SALOME geometry or TESS for NEPER tesselation",docu= "",statut= "o",into=['BREP', 'TESS'],min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the file that describes the microstructure geometry",ang= "name of the file that describes the microstructure geometry",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xao_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "('name of the XAO output file describing ', 'geometry, material and orientation fields')",ang= "('name of the XAO output file describing ', 'geometry, material and orientation fields')",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -material_index=SIMP(typ='I',fr= "material index in the microstructure",ang= "material index in the microstructure",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -random_seed=SIMP(typ='I',fr= "random seed is used to control random process",ang= "random seed is used to control random process",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -material_symmetry_transverse_isotropic=BLOC(condition="(material_symmetry=='transverse_isotropic')", -input_format=SIMP(typ='TXM',fr= "determines the format of the microstructure geometry file : BREP for SALOME geometry or TESS for NEPER tesselation",ang= "determines the format of the microstructure geometry file : BREP for SALOME geometry or TESS for NEPER tesselation",docu= "",statut= "o",into=['BREP', 'TESS'],min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the file that describes the microstructure geometry",ang= "name of the file that describes the microstructure geometry",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xao_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "('name of the XAO output file describing ', 'geometry, material and orientation fields')",ang= "('name of the XAO output file describing ', 'geometry, material and orientation fields')",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -material_index=SIMP(typ='I',fr= "material index in the microstructure",ang= "material index in the microstructure",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -random_seed=SIMP(typ='I',fr= "random seed is used to control random process",ang= "random seed is used to control random process",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -axis_projection_angle_1=SIMP(typ='R',fr= "angle that determines the first projection of the axis",ang= "angle that determines the first projection of the axis",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -axis_projection_angle_2=SIMP(typ='R',fr= "angle that determines the second projection of the axis",ang= "angle that determines the second projection of the axis",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -material_symmetry_dispersed_transverse_isotropic=BLOC(condition="(material_symmetry=='dispersed_transverse_isotropic')", -input_format=SIMP(typ='TXM',fr= "determines the format of the microstructure geometry file : BREP for SALOME geometry or TESS for NEPER tesselation",ang= "determines the format of the microstructure geometry file : BREP for SALOME geometry or TESS for NEPER tesselation",docu= "",statut= "o",into=['BREP', 'TESS'],min=1,max=1,val_min='**',val_max='**',defaut=None), -input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the file that describes the microstructure geometry",ang= "name of the file that describes the microstructure geometry",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xao_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "('name of the XAO output file describing ', 'geometry, material and orientation fields')",ang= "('name of the XAO output file describing ', 'geometry, material and orientation fields')",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -material_index=SIMP(typ='I',fr= "material index in the microstructure",ang= "material index in the microstructure",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -random_seed=SIMP(typ='I',fr= "random seed is used to control random process",ang= "random seed is used to control random process",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -axis_projection_angle_1=SIMP(typ='R',fr= "angle that determines the first projection of the axis",ang= "angle that determines the first projection of the axis",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -axis_projection_angle_2=SIMP(typ='R',fr= "angle that determines the second projection of the axis",ang= "angle that determines the second projection of the axis",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -dispersion_width=SIMP(typ='R',fr= "angle angle of the three orientation angles",ang= "angle angle of the three orientation angles",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_transverse_display_map -# ====================================================================== -C_TRANSVERSE_DISPLAY_MAP_DATA=PROC(nom='C_TRANSVERSE_DISPLAY_MAP_DATA',op=None, -UIinfo ={'groupes':('transverse',)}, -input_datafile=SIMP(typ=('Fichier', 'All Files (*)'),fr= "contains the data the display_map should be made on",ang= "contains the data the display_map should be made on",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -x_axis=SIMP(typ='TXM',fr= "the identifier of the x axis column",ang= "the identifier of the x axis column",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -y_axis=SIMP(typ='TXM',fr= "the identifier of the y axis column",ang= "the identifier of the y axis column",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -z_axis=SIMP(typ='TXM',fr= "the identifier of the z axis column",ang= "the identifier of the z axis column",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -palette=SIMP(typ='TXM',fr= "defines the color scale",ang= "defines the color scale",docu= "",statut= "o",into=['color', 'gray'],min=1,max=1,val_min='**',val_max='**',defaut=None), -color_scale=SIMP(typ='TXM',fr= "defines implicitely the number of colors to be used",ang= "defines implicitely the number of colors to be used",docu= "",statut= "o",into=['continuum', 'discrete'],min=1,max=1,val_min='**',val_max='**',defaut=None), -interpolation=SIMP(typ='TXM',fr= "defines how to interpolate the color levels between the given data",ang= "defines how to interpolate the color levels between the given data",docu= "",statut= "o",into=['nearest', 'bilinear', 'bicubic'],min=1,max=1,val_min='**',val_max='**',defaut=None), -show_grid=SIMP(typ=bool,fr= "display grid",ang= "display grid",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -contour_lines=SIMP(typ=bool,fr= "display color lines",ang= "display color lines",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -main_title=SIMP(typ='TXM',fr= "Graphic Main Title",ang= "Graphic Main Title",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -x_title=SIMP(typ='TXM',fr= "X-axis title",ang= "X-axis title",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -y_title=SIMP(typ='TXM',fr= "Y-axis title",ang= "Y-axis title",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -z_title=SIMP(typ='TXM',fr= "Z-axis title",ang= "Z-axis title",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -save_img=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Save the plot result",ang= "Save the plot result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_img=SIMP(typ=bool,fr= "Show the plot result",ang= "Show the plot result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -profile=SIMP(typ=bool,fr= "Eval profile along a line",ang= "Eval profile along a line",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -save_profile=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Save calculated profile as a text file",ang= "Save calculated profile as a text file",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -start=SIMP(typ='TXM',fr= "Start point coordinates",ang= "Start point coordinates",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -stop=SIMP(typ='TXM',fr= "End point coordinates",ang= "End point coordinates",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_transverse_interpolation -# ====================================================================== -C_TRANSVERSE_INTERPOLATION_DATA=PROC(nom='C_TRANSVERSE_INTERPOLATION_DATA',op=None, -UIinfo ={'groupes':('transverse',)}, -interpolation=SIMP(typ='TXM',fr= "the type of interpolation the user wants",ang= "the type of interpolation the user wants",docu= "",statut= "o",into=['user_defined', 'standard'],min=1,max=1,val_min='**',val_max='**',defaut='standard'), -interpolation_user_defined=BLOC(condition="(interpolation=='user_defined')", -input_datafile=SIMP(typ=('Fichier', 'All Files (*)'),fr= "contains the data the interpolation should be made on",ang= "contains the data the interpolation should be made on",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show=SIMP(typ=bool,fr= "show plot of the result",ang= "show plot of the result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -save_out=SIMP(typ=bool,fr= "save interpolation result",ang= "save interpolation result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -save_img=SIMP(typ=bool,fr= "save plot of the result",ang= "save plot of the result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_basename=SIMP(typ='TXM',fr= "user defined output basename (for use in CADEEX)",ang= "user defined output basename (for use in CADEEX)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -function=SIMP(typ='TXM',fr= "user defined function",ang= "user defined function",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -initial_guess=SIMP(typ='TXM',fr= "initial guess for the adjustable parameters",ang= "initial guess for the adjustable parameters",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -interpolation_standard=BLOC(condition="(interpolation=='standard')", -input_datafile=SIMP(typ=('Fichier', 'All Files (*)'),fr= "contains the data the interpolation should be made on",ang= "contains the data the interpolation should be made on",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show=SIMP(typ=bool,fr= "show plot of the result",ang= "show plot of the result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -save_out=SIMP(typ=bool,fr= "save interpolation result",ang= "save interpolation result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -save_img=SIMP(typ=bool,fr= "save plot of the result",ang= "save plot of the result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_basename=SIMP(typ='TXM',fr= "user defined output basename (for use in CADEEX)",ang= "user defined output basename (for use in CADEEX)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -function=SIMP(typ='TXM',fr= "name of standard interpolation method to be used",ang= "name of standard interpolation method to be used",docu= "",statut= "o",into=['poly1', 'poly2', 'poly3', 'poly4', 'poly5', 'poly6', 'poly7', 'poly8', 'poly9', 'inverse1', 'inverse2', 'inverse3', 'inverse4', 'inverse5', 'inverse6', 'inverse7', 'inverse8', 'inverse9', 'power', 'expo', 'logn', 'gauss', 'poisson', 'double_gauss', 'double_poisson', 'weibull2', 'weibull3', 'gumbel', 'logn_affin'],min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_experimental_loops -# ====================================================================== -C_POST_EXPERIMENTAL_LOOPS_DATA=PROC(nom='C_POST_EXPERIMENTAL_LOOPS_DATA',op=None, -UIinfo ={'groupes':('post',)}, -mode=SIMP(typ='TXM',fr= "execution mode",ang= "execution mode",docu= "",statut= "o",into=['map', 'cadeex'],min=1,max=1,val_min='**',val_max='**',defaut='cadeex'), -mode_map=BLOC(condition="(mode=='map')", -post_processing=SIMP(typ='TXM',fr= "post processing level",ang= "post processing level",docu= "",statut= "o",into=['classic', 'advanced', 'expert'],min=1,max=1,val_min='**',val_max='**',defaut='classic'), -spectra_zip=SIMP(typ=('Fichier', 'All Files (*)'),fr= "archive with all spectra",ang= "archive with all spectra",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -start_cycle=SIMP(typ='TXM',fr= "starting cycle",ang= "starting cycle",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_release=SIMP(typ=bool,fr= "to it on to get a graphic output of release curve",ang= "to it on to get a graphic output of release curve",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -x_axis=SIMP(typ='TXM',fr= "name of the axis on graphs",ang= "name of the axis on graphs",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -release=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "output csv file containing final release vs time",ang= "output csv file containing final release vs time",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='out.release'), -summary=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "output text file containing details on calculations",ang= "output text file containing details on calculations",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -y_scale=SIMP(typ='TXM',fr= "scale for y axis",ang= "scale for y axis",docu= "",statut= "f",into=['log', 'linear'],min=1,max=1,val_min='**',val_max='**',defaut='log'), -show_dead_time=SIMP(typ=bool,fr= "show dead time",ang= "show dead time",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_channel_max=SIMP(typ=bool,fr= "show channel max",ang= "show channel max",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_centroid=SIMP(typ=bool,fr= "show centroid",ang= "show centroid",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_FWHM=SIMP(typ=bool,fr= "show FWHM",ang= "show FWHM",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_counting=SIMP(typ=bool,fr= "show counting",ang= "show counting",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_spectra=SIMP(typ='TXM',fr= "spectra number the user wants to be displayed",ang= "spectra number the user wants to be displayed",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_background=SIMP(typ='TXM',fr= "spectra slice number with calculated background the user wants to be displayed",ang= "spectra slice number with calculated background the user wants to be displayed",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -dead_time_correction=SIMP(typ=bool,fr= "apply dead correction or not",ang= "apply dead correction or not",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -ROI1_BG_length=SIMP(typ='TXM',fr= "must be auto or a positive an odd integer",ang= "must be auto or a positive an odd integer",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='auto'), -ROI2_BG_length=SIMP(typ='TXM',fr= "must be auto or a positive an odd integer",ang= "must be auto or a positive an odd integer",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='auto'), -BG_half_width=SIMP(typ='TXM',fr= "must be auto or a positive integer",ang= "must be auto or a positive integer",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='auto'), -BG_sum_factor=SIMP(typ='TXM',fr= "must be auto or a positive integer",ang= "must be auto or a positive integer",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='auto'), -), -mode_cadeex=BLOC(condition="(mode=='cadeex')", -spectra_zip=SIMP(typ=('Fichier', 'All Files (*)'),fr= "archive with all spectra",ang= "archive with all spectra",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -start_cycle=SIMP(typ='TXM',fr= "starting cycle",ang= "starting cycle",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -release=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "output csv file containing final release vs time",ang= "output csv file containing final release vs time",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='out.release'), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_2d_fouling_rate -# ====================================================================== -C_IMAGE_2D_FOULING_RATE_DATA=PROC(nom='C_IMAGE_2D_FOULING_RATE_DATA',op=None, -UIinfo ={'groupes':('image',)}, -input_image_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "input image filename",ang= "input image filename",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -spatial_bandwidth=SIMP(typ='I',fr= "spatial bandwith parameter for Meanshift segmentation",ang= "spatial bandwith parameter for Meanshift segmentation",docu= "",statut= "o",into=[3, 5, 7, 9],min=1,max=1,val_min='**',val_max='**',defaut=5), -use_biasfield_correction=SIMP(typ='I',fr= "boolean to switch on or off the biasfield correction during the classification step",ang= "boolean to switch on or off the biasfield correction during the classification step",docu= "",statut= "o",into=[0, 1],min=1,max=1,val_min='**',val_max='**',defaut=1), -meanshift_image_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "output filename for the intermediate segmented image by Meanshift to be written",ang= "output filename for the intermediate segmented image by Meanshift to be written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -segmented_image_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "output filename for the segmented image with crystals in green to be written",ang= "output filename for the segmented image with crystals in green to be written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -text_output_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "text output filename where the results of the component: fouling rate",ang= "text output filename where the results of the component: fouling rate",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_elasticity_fdvgrid -# ====================================================================== -C_SOLVER_ELASTICITY_FDVGRID_DATA=PROC(nom='C_SOLVER_ELASTICITY_FDVGRID_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -number_pixel_row_cube=SIMP(typ='I',fr= "number of voxel in a row, all produced images will be NxNxN large",ang= "number of voxel in a row, all produced images will be NxNxN large",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -easy_solve=SIMP(typ='TXM',fr= "Choose the solver !",ang= "Choose the solver !",docu= "",statut= "o",into=('LOW_RAM', 'MATRIX_FREE', 'LOW_CPU', 'CG_SOR', 'MULTIGRID', 'NONE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -input_path=SIMP(typ='Repertoire',fr= "path to the input directory (ex : input/)",ang= "path to the input directory (ex : input/)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_path=SIMP(typ='Repertoire',fr= "path to the output directory",ang= "path to the output directory",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -ratio_filename_dat=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the input file describing the local volumic ratio of inclusion (3d image), ex micro_dis.dat",ang= "name of the input file describing the local volumic ratio of inclusion (3d image), ex micro_dis.dat",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -E_inclusion=SIMP(typ='R',fr= "Young modulus in inclusions",ang= "Young modulus in inclusions",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nu_inclusion=SIMP(typ='R',fr= "Poisson ratio in inclusions",ang= "Poisson ratio in inclusions",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -E_matrice=SIMP(typ='R',fr= "Young modulus in matrix",ang= "Young modulus in matrix",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nu_matrice=SIMP(typ='R',fr= "Poisson ratio in matrix",ang= "Poisson ratio in matrix",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -number_proc_micro=SIMP(typ='I',fr= "number of processus used for computing the 3d image of conductivity starting from the 3d image of local volumic ratio of inclusion in each voxel.",ang= "number of processus used for computing the 3d image of conductivity starting from the 3d image of local volumic ratio of inclusion in each voxel.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -number_proc_solver=SIMP(typ='I',fr= "number of processus used for solving the diffusion problem",ang= "number of processus used for solving the diffusion problem",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -number_proc_post=SIMP(typ='I',fr= "number of processus used for post porcessing",ang= "number of processus used for post porcessing",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -multigrid_max_level_number=SIMP(typ='I',fr= "maximum number of level if a MULTIGIRD solver is used",ang= "maximum number of level if a MULTIGIRD solver is used",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=42), -configuration_file=SIMP(typ='TXM',fr= "path and name of the configuration file than the python interface will produce for the various .exe",ang= "path and name of the configuration file than the python interface will produce for the various .exe",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_diffusion_fdvgrid.ini'), -kind_of_run=SIMP(typ='TXM',fr= "this component is runable sequential, parallel or as a PBS_job",ang= "this component is runable sequential, parallel or as a PBS_job",docu= "",statut= "f",into=('sequential', 'parallel', 'PBS_job'),min=1,max=1,val_min='**',val_max='**',defaut='sequential'), -start_run=SIMP(typ=bool,fr= "if yes, the conponent will run. It will only produce a batch script otherwise",ang= "if yes, the conponent will run. It will only produce a batch script otherwise",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -exp_id=SIMP(typ='I',fr= "this will be printed in the name of every produced image",ang= "this will be printed in the name of every produced image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -petsc_option=SIMP(typ='TXM',fr= "add options for PETSC here",ang= "add options for PETSC here",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -all_stdout_in_file=SIMP(typ=bool,fr= "if yes, all logs, profiling issues and errors will be redirected to a file",ang= "if yes, all logs, profiling issues and errors will be redirected to a file",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -grey_element=SIMP(typ='TXM',fr= "How to choose the mechanical behaviour of voxels that are neither in inclusions nor in the matrice ?",ang= "How to choose the mechanical behaviour of voxels that are neither in inclusions nor in the matrice ?",docu= "",statut= "f",into=('REUSS', 'VOIGT'),min=1,max=1,val_min='**',val_max='**',defaut='REUSS'), -x_start=SIMP(typ='I',fr= "offset in x direction when reading the 3D image of local volumic ratio of inclusion",ang= "offset in x direction when reading the 3D image of local volumic ratio of inclusion",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -y_start=SIMP(typ='I',fr= "offset in y direction when reading the 3D image of local volumic ratio of inclusion",ang= "offset in y direction when reading the 3D image of local volumic ratio of inclusion",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -z_start=SIMP(typ='I',fr= "offset in z direction when reading the 3D image of local volumic ratio of inclusion",ang= "offset in z direction when reading the 3D image of local volumic ratio of inclusion",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -number_nodes=SIMP(typ='I',fr= "number of nodes used (cluster)",ang= "number of nodes used (cluster)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -number_proc_per_node=SIMP(typ='I',fr= "number of processors used per node (cluster)",ang= "number of processors used per node (cluster)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -walltime=SIMP(typ='TXM',fr= "if the job did not end by this time, it will be killed by job manager (format 10:00:00 (hms))",ang= "if the job did not end by this time, it will be killed by job manager (format 10:00:00 (hms))",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -memory=SIMP(typ='TXM',fr= "the memory given here must be larger than the needed one (format 32gb",ang= "the memory given here must be larger than the needed one (format 32gb",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -source_environement=SIMP(typ='TXM',fr= "command to load environnement at start of job (ex: source /logiciels/openmpi/profile",ang= "command to load environnement at start of job (ex: source /logiciels/openmpi/profile",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -periodic_X=SIMP(typ=bool,fr= "if yes, periodic boundary conditions will be applied on corresponding x faces",ang= "if yes, periodic boundary conditions will be applied on corresponding x faces",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -periodic_Y=SIMP(typ=bool,fr= "if yes, periodic boundary conditions will be applied on corresponding y faces",ang= "if yes, periodic boundary conditions will be applied on corresponding y faces",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -periodic_Z=SIMP(typ=bool,fr= "if yes, periodic boundary conditions will be applied on corresponding z faces",ang= "if yes, periodic boundary conditions will be applied on corresponding z faces",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -eps11=SIMP(typ='R',fr= "Average of deformation direction xx (periodic BC)",ang= "Average of deformation direction xx (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -eps22=SIMP(typ='R',fr= "Average of deformation direction yy (periodic BC)",ang= "Average of deformation direction yy (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -eps33=SIMP(typ='R',fr= "Average of deformation direction zz (periodic BC)",ang= "Average of deformation direction zz (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -eps12=SIMP(typ='R',fr= "Average of deformation direction xy (periodic BC)",ang= "Average of deformation direction xy (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -eps13=SIMP(typ='R',fr= "Average of deformation direction xz (periodic BC)",ang= "Average of deformation direction xz (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -eps23=SIMP(typ='R',fr= "Average of deformation direction yz (periodic BC)",ang= "Average of deformation direction yz (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_cx=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.5), -boundary_condition_x_plus_cy=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_x_plus_cz=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_x_minus_cx=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=-0.5), -boundary_condition_x_minus_cy=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_x_minus_cz=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_y_plus_cx=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_y_plus_cy=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.5), -boundary_condition_y_plus_cz=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_y_minus_cx=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_y_minus_cy=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=-0.5), -boundary_condition_y_minus_cz=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_z_plus_cx=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_z_plus_cy=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_z_plus_cz=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.5), -boundary_condition_z_minus_cx=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_z_minus_cy=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -boundary_condition_z_minus_cz=SIMP(typ='R',fr= "position of center of face",ang= "position of center of face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=-0.5), -norm_2_RHS_per_sqrt_pixel=SIMP(typ='R',fr= "norm_2_RHS_per_sqrt(pixel) at start",ang= "norm_2_RHS_per_sqrt(pixel) at start",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -MAP_c_solver_diffusion_fdvgrid_successful=SIMP(typ=bool,fr= "MAP_c_solver_diffusion_fdvgrid_successful",ang= "MAP_c_solver_diffusion_fdvgrid_successful",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -norm_2_residual_per_sqrt_pixel=SIMP(typ='R',fr= "norm_2_residual_per_sqrt(pixel) last",ang= "norm_2_residual_per_sqrt(pixel) last",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -ratio_is=SIMP(typ='R',fr= "ratio between residual and RHS",ang= "ratio between residual and RHS",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -number_of_iteration=SIMP(typ='I',fr= "number_of_iteration",ang= "number_of_iteration",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -time_solver_s=SIMP(typ='R',fr= "time_solver (seconds)",ang= "time_solver (seconds)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -GTx=SIMP(typ='R',fr= "average gradient GTx",ang= "average gradient GTx",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -GTy=SIMP(typ='R',fr= "average gradient GTy",ang= "average gradient GTy",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -GTz=SIMP(typ='R',fr= "average gradient GTz",ang= "average gradient GTz",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -flux_x=SIMP(typ='R',fr= "average flux x direction",ang= "average flux x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -flux_y=SIMP(typ='R',fr= "average flux y direction",ang= "average flux y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -flux_z=SIMP(typ='R',fr= "average flux z direction",ang= "average flux z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -minux_int_TxF=SIMP(typ='R',fr= "minux_int_TxF (-volume integral of Temperature X Flux)",ang= "minux_int_TxF (-volume integral of Temperature X Flux)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x plus face, dir x",ang= "kind of bondary conditions on the x plus face, dir x",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the x direction",ang= "Imposed displacement at the center of the face along the x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_dudy=SIMP(typ='R',fr= " rac{du_x}{dy} on this face",ang= " rac{du_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_dudz=SIMP(typ='R',fr= " rac{du_x}{dz} on this face",ang= " rac{du_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_T=SIMP(typ='R',fr= "force per area at the center of face along x direction",ang= "force per area at the center of face along x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_dTdy=SIMP(typ='R',fr= " rac{dT_x}{dy} on this face",ang= " rac{dT_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_x_dTdz=SIMP(typ='R',fr= " rac{dT_x}{dz} on this face",ang= " rac{dT_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y plus face, dir x",ang= "kind of bondary conditions on the y plus face, dir x",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the x direction",ang= "Imposed displacement at the center of the face along the x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_dudx=SIMP(typ='R',fr= " rac{du_x}{dx} on this face",ang= " rac{du_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_dudz=SIMP(typ='R',fr= " rac{du_x}{dz} on this face",ang= " rac{du_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_T=SIMP(typ='R',fr= "force per area at the center of face along x direction",ang= "force per area at the center of face along x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_dTdx=SIMP(typ='R',fr= " rac{dT_x}{dx} on this face",ang= " rac{dT_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_x_dTdz=SIMP(typ='R',fr= " rac{dT_x}{dz} on this face",ang= " rac{dT_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z plus face, dir x",ang= "kind of bondary conditions on the z plus face, dir x",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the x direction",ang= "Imposed displacement at the center of the face along the x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_dudx=SIMP(typ='R',fr= " rac{du_x}{dx} on this face",ang= " rac{du_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_dudy=SIMP(typ='R',fr= " rac{du_x}{dy} on this face",ang= " rac{du_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_T=SIMP(typ='R',fr= "force per area at the center of face along x direction",ang= "force per area at the center of face along x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_dTdx=SIMP(typ='R',fr= " rac{dT_x}{dx} on this face",ang= " rac{dT_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_x_dTdy=SIMP(typ='R',fr= " rac{dT_x}{dy} on this face",ang= " rac{dT_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x plus face, dir y",ang= "kind of bondary conditions on the x plus face, dir y",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the y direction",ang= "Imposed displacement at the center of the face along the y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_dudy=SIMP(typ='R',fr= " rac{du_y}{dy} on this face",ang= " rac{du_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_dudz=SIMP(typ='R',fr= " rac{du_y}{dz} on this face",ang= " rac{du_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_T=SIMP(typ='R',fr= "force per area at the center of face along y direction",ang= "force per area at the center of face along y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_dTdy=SIMP(typ='R',fr= " rac{dT_y}{dy} on this face",ang= " rac{dT_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_y_dTdz=SIMP(typ='R',fr= " rac{dT_y}{dz} on this face",ang= " rac{dT_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y plus face, dir y",ang= "kind of bondary conditions on the y plus face, dir y",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the y direction",ang= "Imposed displacement at the center of the face along the y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_dudx=SIMP(typ='R',fr= " rac{du_y}{dx} on this face",ang= " rac{du_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_dudz=SIMP(typ='R',fr= " rac{du_y}{dz} on this face",ang= " rac{du_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_T=SIMP(typ='R',fr= "force per area at the center of face along y direction",ang= "force per area at the center of face along y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_dTdx=SIMP(typ='R',fr= " rac{dT_y}{dx} on this face",ang= " rac{dT_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_y_dTdz=SIMP(typ='R',fr= " rac{dT_y}{dz} on this face",ang= " rac{dT_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z plus face, dir y",ang= "kind of bondary conditions on the z plus face, dir y",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the y direction",ang= "Imposed displacement at the center of the face along the y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_dudx=SIMP(typ='R',fr= " rac{du_y}{dx} on this face",ang= " rac{du_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_dudy=SIMP(typ='R',fr= " rac{du_y}{dy} on this face",ang= " rac{du_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_T=SIMP(typ='R',fr= "force per area at the center of face along y direction",ang= "force per area at the center of face along y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_dTdx=SIMP(typ='R',fr= " rac{dT_y}{dx} on this face",ang= " rac{dT_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_y_dTdy=SIMP(typ='R',fr= " rac{dT_y}{dy} on this face",ang= " rac{dT_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x plus face, dir z",ang= "kind of bondary conditions on the x plus face, dir z",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the z direction",ang= "Imposed displacement at the center of the face along the z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_dudy=SIMP(typ='R',fr= " rac{du_z}{dy} on this face",ang= " rac{du_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_dudz=SIMP(typ='R',fr= " rac{du_z}{dz} on this face",ang= " rac{du_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_T=SIMP(typ='R',fr= "force per area at the center of face along z direction",ang= "force per area at the center of face along z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_dTdy=SIMP(typ='R',fr= " rac{dT_z}{dy} on this face",ang= " rac{dT_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_z_dTdz=SIMP(typ='R',fr= " rac{dT_z}{dz} on this face",ang= " rac{dT_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y plus face, dir z",ang= "kind of bondary conditions on the y plus face, dir z",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the z direction",ang= "Imposed displacement at the center of the face along the z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_dudx=SIMP(typ='R',fr= " rac{du_z}{dx} on this face",ang= " rac{du_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_dudz=SIMP(typ='R',fr= " rac{du_z}{dz} on this face",ang= " rac{du_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_T=SIMP(typ='R',fr= "force per area at the center of face along z direction",ang= "force per area at the center of face along z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_dTdx=SIMP(typ='R',fr= " rac{dT_z}{dx} on this face",ang= " rac{dT_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_z_dTdz=SIMP(typ='R',fr= " rac{dT_z}{dz} on this face",ang= " rac{dT_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z plus face, dir z",ang= "kind of bondary conditions on the z plus face, dir z",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the z direction",ang= "Imposed displacement at the center of the face along the z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_dudx=SIMP(typ='R',fr= " rac{du_z}{dx} on this face",ang= " rac{du_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_dudy=SIMP(typ='R',fr= " rac{du_z}{dy} on this face",ang= " rac{du_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_T=SIMP(typ='R',fr= "force per area at the center of face along z direction",ang= "force per area at the center of face along z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_dTdx=SIMP(typ='R',fr= " rac{dT_z}{dx} on this face",ang= " rac{dT_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_z_dTdy=SIMP(typ='R',fr= " rac{dT_z}{dy} on this face",ang= " rac{dT_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x minus face, dir x",ang= "kind of bondary conditions on the x minus face, dir x",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the x direction",ang= "Imposed displacement at the center of the face along the x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_dudy=SIMP(typ='R',fr= " rac{du_x}{dy} on this face",ang= " rac{du_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_dudz=SIMP(typ='R',fr= " rac{du_x}{dz} on this face",ang= " rac{du_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_T=SIMP(typ='R',fr= "force per area at the center of face along x direction",ang= "force per area at the center of face along x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_dTdy=SIMP(typ='R',fr= " rac{dT_x}{dy} on this face",ang= " rac{dT_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_x_dTdz=SIMP(typ='R',fr= " rac{dT_x}{dz} on this face",ang= " rac{dT_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y minus face, dir x",ang= "kind of bondary conditions on the y minus face, dir x",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the x direction",ang= "Imposed displacement at the center of the face along the x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_dudx=SIMP(typ='R',fr= " rac{du_x}{dx} on this face",ang= " rac{du_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_dudz=SIMP(typ='R',fr= " rac{du_x}{dz} on this face",ang= " rac{du_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_T=SIMP(typ='R',fr= "force per area at the center of face along x direction",ang= "force per area at the center of face along x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_dTdx=SIMP(typ='R',fr= " rac{dT_x}{dx} on this face",ang= " rac{dT_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_x_dTdz=SIMP(typ='R',fr= " rac{dT_x}{dz} on this face",ang= " rac{dT_x}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z minus face, dir x",ang= "kind of bondary conditions on the z minus face, dir x",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the x direction",ang= "Imposed displacement at the center of the face along the x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_dudx=SIMP(typ='R',fr= " rac{du_x}{dx} on this face",ang= " rac{du_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_dudy=SIMP(typ='R',fr= " rac{du_x}{dy} on this face",ang= " rac{du_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_T=SIMP(typ='R',fr= "force per area at the center of face along x direction",ang= "force per area at the center of face along x direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_dTdx=SIMP(typ='R',fr= " rac{dT_x}{dx} on this face",ang= " rac{dT_x}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_x_dTdy=SIMP(typ='R',fr= " rac{dT_x}{dy} on this face",ang= " rac{dT_x}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x minus face, dir y",ang= "kind of bondary conditions on the x minus face, dir y",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the y direction",ang= "Imposed displacement at the center of the face along the y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_dudy=SIMP(typ='R',fr= " rac{du_y}{dy} on this face",ang= " rac{du_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_dudz=SIMP(typ='R',fr= " rac{du_y}{dz} on this face",ang= " rac{du_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_T=SIMP(typ='R',fr= "force per area at the center of face along y direction",ang= "force per area at the center of face along y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_dTdy=SIMP(typ='R',fr= " rac{dT_y}{dy} on this face",ang= " rac{dT_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_y_dTdz=SIMP(typ='R',fr= " rac{dT_y}{dz} on this face",ang= " rac{dT_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y minus face, dir y",ang= "kind of bondary conditions on the y minus face, dir y",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the y direction",ang= "Imposed displacement at the center of the face along the y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_dudx=SIMP(typ='R',fr= " rac{du_y}{dx} on this face",ang= " rac{du_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_dudz=SIMP(typ='R',fr= " rac{du_y}{dz} on this face",ang= " rac{du_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_T=SIMP(typ='R',fr= "force per area at the center of face along y direction",ang= "force per area at the center of face along y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_dTdx=SIMP(typ='R',fr= " rac{dT_y}{dx} on this face",ang= " rac{dT_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_y_dTdz=SIMP(typ='R',fr= " rac{dT_y}{dz} on this face",ang= " rac{dT_y}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z minus face, dir y",ang= "kind of bondary conditions on the z minus face, dir y",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the y direction",ang= "Imposed displacement at the center of the face along the y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_dudx=SIMP(typ='R',fr= " rac{du_y}{dx} on this face",ang= " rac{du_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_dudy=SIMP(typ='R',fr= " rac{du_y}{dy} on this face",ang= " rac{du_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_T=SIMP(typ='R',fr= "force per area at the center of face along y direction",ang= "force per area at the center of face along y direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_dTdx=SIMP(typ='R',fr= " rac{dT_y}{dx} on this face",ang= " rac{dT_y}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_y_dTdy=SIMP(typ='R',fr= " rac{dT_y}{dy} on this face",ang= " rac{dT_y}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x minus face, dir z",ang= "kind of bondary conditions on the x minus face, dir z",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the z direction",ang= "Imposed displacement at the center of the face along the z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_dudy=SIMP(typ='R',fr= " rac{du_z}{dy} on this face",ang= " rac{du_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_dudz=SIMP(typ='R',fr= " rac{du_z}{dz} on this face",ang= " rac{du_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_T=SIMP(typ='R',fr= "force per area at the center of face along z direction",ang= "force per area at the center of face along z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_dTdy=SIMP(typ='R',fr= " rac{dT_z}{dy} on this face",ang= " rac{dT_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_z_dTdz=SIMP(typ='R',fr= " rac{dT_z}{dz} on this face",ang= " rac{dT_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y minus face, dir z",ang= "kind of bondary conditions on the y minus face, dir z",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the z direction",ang= "Imposed displacement at the center of the face along the z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_dudx=SIMP(typ='R',fr= " rac{du_z}{dx} on this face",ang= " rac{du_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_dudz=SIMP(typ='R',fr= " rac{du_z}{dz} on this face",ang= " rac{du_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_T=SIMP(typ='R',fr= "force per area at the center of face along z direction",ang= "force per area at the center of face along z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_dTdx=SIMP(typ='R',fr= " rac{dT_z}{dx} on this face",ang= " rac{dT_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_z_dTdz=SIMP(typ='R',fr= " rac{dT_z}{dz} on this face",ang= " rac{dT_z}{dz} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z minus face, dir z",ang= "kind of bondary conditions on the z minus face, dir z",docu= "",statut= "f",into=('DISPLACEMENT', 'FORCE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_u0=SIMP(typ='R',fr= "Imposed displacement at the center of the face along the z direction",ang= "Imposed displacement at the center of the face along the z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_dudx=SIMP(typ='R',fr= " rac{du_z}{dx} on this face",ang= " rac{du_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_dudy=SIMP(typ='R',fr= " rac{du_z}{dy} on this face",ang= " rac{du_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_T=SIMP(typ='R',fr= "force per area at the center of face along z direction",ang= "force per area at the center of face along z direction",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_dTdx=SIMP(typ='R',fr= " rac{dT_z}{dx} on this face",ang= " rac{dT_z}{dx} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_z_dTdy=SIMP(typ='R',fr= " rac{dT_z}{dy} on this face",ang= " rac{dT_z}{dy} on this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -Av_EPS11=SIMP(typ='R',fr= "Average of EPS11",ang= "Average of EPS11",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_EPS22=SIMP(typ='R',fr= "Average of EPS22",ang= "Average of EPS22",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_EPS33=SIMP(typ='R',fr= "Average of EPS33",ang= "Average of EPS33",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_EPS12=SIMP(typ='R',fr= "Average of EPS12",ang= "Average of EPS12",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_EPS13=SIMP(typ='R',fr= "Average of EPS13",ang= "Average of EPS13",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_EPS23=SIMP(typ='R',fr= "Average of EPS23",ang= "Average of EPS23",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_SIG11=SIMP(typ='R',fr= "Average of SIG11",ang= "Average of SIG11",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_SIG22=SIMP(typ='R',fr= "Average of SIG22",ang= "Average of SIG22",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_SIG33=SIMP(typ='R',fr= "Average of SIG33",ang= "Average of SIG33",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_SIG12=SIMP(typ='R',fr= "Average of SIG12",ang= "Average of SIG12",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_SIG13=SIMP(typ='R',fr= "Average of SIG13",ang= "Average of SIG13",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -Av_SIG23=SIMP(typ='R',fr= "Average of SIG23",ang= "Average of SIG23",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_morphology_gravel -# ====================================================================== -C_PRE_MORPHOLOGY_GRAVEL_DATA=PROC(nom='C_PRE_MORPHOLOGY_GRAVEL_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -multiscale=SIMP(typ='TXM',fr= "determine, in the case of the microstructure computation if it is multiscale or no",ang= "determine, in the case of the microstructure computation if it is multiscale or no",docu= "",statut= "o",into=['yes', 'no'],min=1,max=1,val_min='**',val_max='**',defaut='no'), -multiscale_yes=BLOC(condition="(multiscale=='yes')", -random_seed=SIMP(typ='I',fr= "gives the value of the seed used to initialize the random process. This parameter is optional, if it is not given, random is initialised with time. The parameter is mainly used for non-regression tests purpose.",ang= "gives the value of the seed used to initialize the random process. This parameter is optional, if it is not given, random is initialised with time. The parameter is mainly used for non-regression tests purpose.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1332150941), -computation=SIMP(typ='TXM',fr= "determines the type of computation",ang= "determines the type of computation",docu= "",statut= "o",into=['microstructure'],min=1,max=1,val_min='**',val_max='**',defaut='microstructure'), -size=SIMP(typ='I',fr= "size of the image (discretization in the case of the covariance measurment)",ang= "size of the image (discretization in the case of the covariance measurment)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=250), -lambda_poisson=SIMP(typ='R',fr= "density planes for buiding microstructures for class 1 polyhedra",ang= "density planes for buiding microstructures for class 1 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.035), -fraction=SIMP(typ='R',fr= "volume fraction for class 1 polyhedra",ang= "volume fraction for class 1 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.15), -voxel_side=SIMP(typ='R',fr= "resolution of the output image",ang= "resolution of the output image",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=1.0), -raw_type=SIMP(typ='TXM',fr= "unused",ang= "unused",docu= "",statut= "o",into=['image'],min=1,max=1,val_min='**',val_max='**',defaut='image'), -file_out_txt=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "text ascii file output that describes the list of polyhedra",ang= "text ascii file output that describes the list of polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_pre_morphology_gravel.txt'), -file_out_raw=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "binary file output for binarized image",ang= "binary file output for binarized image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_pre_morphology_gravel.raw'), -lambda_poisson2=SIMP(typ='R',fr= "density planes for buiding microstructures for class 2 polyhedra",ang= "density planes for buiding microstructures for class 2 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -lambda_poisson3=SIMP(typ='R',fr= "density planes for buiding microstructures for class 3 polyhedra",ang= "density planes for buiding microstructures for class 3 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -fraction2=SIMP(typ='R',fr= "volume fraction for class 2 polyhedra",ang= "volume fraction for class 2 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -fraction3=SIMP(typ='R',fr= "volume fraction for class 3 polyhedra",ang= "volume fraction for class 3 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -r0=SIMP(typ='R',fr= "smaller radius of lambda_Poisson polyhedra",ang= "smaller radius of lambda_Poisson polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -r1=SIMP(typ='R',fr= "larger radius of lambda_Poisson polyhedra, smaller of lambda_poisson2",ang= "larger radius of lambda_Poisson polyhedra, smaller of lambda_poisson2",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -r2=SIMP(typ='R',fr= "larger radius of lambda_Poisson2 polyhedra, smaller of lambda_poisson3",ang= "larger radius of lambda_Poisson2 polyhedra, smaller of lambda_poisson3",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -r3=SIMP(typ='R',fr= "larger radius of lambda_Poisson polyhedra3",ang= "larger radius of lambda_Poisson polyhedra3",docu= "",statut= "f",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -step=SIMP(typ='R',fr= "translation step used in displacement process when intersection occurs",ang= "translation step used in displacement process when intersection occurs",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -voids=SIMP(typ='R',fr= "fraction of voids according to experimental pore distribution",ang= "fraction of voids according to experimental pore distribution",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -), -multiscale_no=BLOC(condition="(multiscale=='no')", -random_seed=SIMP(typ='I',fr= "gives the value of the seed used to initialize the random process. This parameter is optional, if it is not given, random is initialised with time. The parameter is mainly used for non-regression tests purpose.",ang= "gives the value of the seed used to initialize the random process. This parameter is optional, if it is not given, random is initialised with time. The parameter is mainly used for non-regression tests purpose.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1332150941), -computation=SIMP(typ='TXM',fr= "determines the type of computation",ang= "determines the type of computation",docu= "",statut= "o",into=['microstructure'],min=1,max=1,val_min='**',val_max='**',defaut='microstructure'), -size=SIMP(typ='I',fr= "size of the image (discretization in the case of the covariance measurment)",ang= "size of the image (discretization in the case of the covariance measurment)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=250), -lambda_poisson=SIMP(typ='R',fr= "density planes for buiding microstructures for class 1 polyhedra",ang= "density planes for buiding microstructures for class 1 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.035), -fraction=SIMP(typ='R',fr= "volume fraction for class 1 polyhedra",ang= "volume fraction for class 1 polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.15), -voxel_side=SIMP(typ='R',fr= "resolution of the output image",ang= "resolution of the output image",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=1.0), -raw_type=SIMP(typ='TXM',fr= "unused",ang= "unused",docu= "",statut= "o",into=['image'],min=1,max=1,val_min='**',val_max='**',defaut='image'), -file_out_txt=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "text ascii file output that describes the list of polyhedra",ang= "text ascii file output that describes the list of polyhedra",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_pre_morphology_gravel.txt'), -file_out_raw=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "binary file output for binarized image",ang= "binary file output for binarized image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_pre_morphology_gravel.raw'), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_weld_orientation -# ====================================================================== -C_IMAGE_WELD_ORIENTATION_DATA=PROC(nom='C_IMAGE_WELD_ORIENTATION_DATA',op=None, -UIinfo ={'groupes':('image',)}, -work_process=SIMP(typ='TXM',fr= "Which computations are made : Orientation, Reparation, Domain, VisualizationEx: OR means Orientation + Reparation",ang= "Which computations are made : Orientation, Reparation, Domain, VisualizationEx: OR means Orientation + Reparation",docu= "",statut= "o",into=['O', 'R', 'D', 'V', 'OR', 'OD', 'OV', 'RD', 'RV', 'DV', 'ORD', 'ORV', 'ODV', 'RDV', 'ORDV'],min=1,max=1,val_min='**',val_max='**',defaut='O'), -work_process_O=BLOC(condition="(work_process=='O')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['sample', 'pixel'],min=1,max=1,val_min='**',val_max='**',defaut='sample'), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -), -work_process_R=BLOC(condition="(work_process=='R')", -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Confidence image",ang= "Confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -), -work_process_D=BLOC(condition="(work_process=='D')", -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -), -work_process_V=BLOC(condition="(work_process=='V')", -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_OR=BLOC(condition="(work_process=='OR')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['sample', 'pixel'],min=1,max=1,val_min='**',val_max='**',defaut='sample'), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -), -work_process_OD=BLOC(condition="(work_process=='OD')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['sample', 'pixel'],min=1,max=1,val_min='**',val_max='**',defaut='sample'), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -), -work_process_OV=BLOC(condition="(work_process=='OV')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['sample', 'pixel'],min=1,max=1,val_min='**',val_max='**',defaut='sample'), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_RD=BLOC(condition="(work_process=='RD')", -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Confidence image",ang= "Confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -), -work_process_RV=BLOC(condition="(work_process=='RV')", -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Confidence image",ang= "Confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_DV=BLOC(condition="(work_process=='DV')", -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_ORD=BLOC(condition="(work_process=='ORD')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -), -work_process_ORV=BLOC(condition="(work_process=='ORV')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['sample', 'pixel'],min=1,max=1,val_min='**',val_max='**',defaut='sample'), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_ODV=BLOC(condition="(work_process=='ODV')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_RDV=BLOC(condition="(work_process=='RDV')", -orientation_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Orientation image",ang= "Orientation image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Confidence image",ang= "Confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -level_number=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -work_process_ORDV=BLOC(condition="(work_process=='ORDV')", -weld_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Weld image",ang= "Weld image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -sample_size=SIMP(typ='I',fr= "Sample size",ang= "Sample size",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=40), -orientation_accuracy=SIMP(typ='I',fr= "Orientation accuracy (in degree)",ang= "Orientation accuracy (in degree)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -confidence_level=SIMP(typ='R',fr= "Used to threshold the confidence image",ang= "Used to threshold the confidence image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=2.0), -computation_mode=SIMP(typ='TXM',fr= "Computation mode",ang= "Computation mode",docu= "",statut= "o",into=['domain'],min=1,max=1,val_min='**',val_max='**',defaut='domain'), -level_number=SIMP(typ='I',fr= "Number of color levels",ang= "Number of color levels",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=4), -smoothing_level=SIMP(typ='R',fr= "More smoothing means smoother boundaries",ang= "More smoothing means smoother boundaries",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0.0), -streamlines_pitch=SIMP(typ='I',fr= "Number of level",ang= "Number of level",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=20), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_2d_align -# ====================================================================== -C_IMAGE_2D_ALIGN_DATA=PROC(nom='C_IMAGE_2D_ALIGN_DATA',op=None, -UIinfo ={'groupes':('image',)}, -input_directory=SIMP(typ='Repertoire',fr= "directory where the input images are read",ang= "directory where the input images are read",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -essai=SIMP(typ='TXM',fr= "directory where the aligned images are to be written",ang= "directory where the aligned images are to be written",docu= "",statut= "o",into=None,min=4,max=5,val_min='**',val_max='**',defaut=None), -essaiListeInto=SIMP(typ='TXM',fr= "directory where the aligned images are to be written",ang= "directory where the aligned images are to be written",docu= "",statut= "o",min=4,max=5,val_min='**',val_max='**',into=['a','b','c','d']), -essaiListeInto2=SIMP(typ='TXM',fr= "directory where the aligned images are to be written",ang= "directory where the aligned images are to be written",docu= "",statut= "o",min=4,max=5,val_min='**',val_max='**',into=['a','b','c','d'],homo="SansOrdreNiDoublon"), -output_directory=SIMP(typ='Repertoire',fr= "directory where the aligned images are to be written",ang= "directory where the aligned images are to be written",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -shift=SIMP(typ='R',fr= "number of pixel each image is to be shifted from the previous one",ang= "number of pixel each image is to be shifted from the previous one",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -gui=SIMP(typ=bool,fr= "Run the Graphical User Interface if set to True",ang= "Run the Graphical User Interface if set to True",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -ExempleTuple3 = SIMP(statut = 'o',typ = Tuple(3),validators = VerifTypeTuple(('R','R','R')),), -ExempleTuple2 = SIMP(statut = 'o',typ = Tuple(2),validators = VerifTypeTuple(('R','R')),), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_2d_threshold -# ====================================================================== -C_IMAGE_2D_THRESHOLD_DATA=PROC(nom='C_IMAGE_2D_THRESHOLD_DATA',op=None, -UIinfo ={'groupes':('image',)}, -image_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "input image",ang= "input image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -threshold_level=SIMP(typ='R',fr= "(optional if GUI is used, mandatory otherwise) Threshold level applied to each input image file",ang= "(optional if GUI is used, mandatory otherwise) Threshold level applied to each input image file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=120.0), -gui=SIMP(typ=bool,fr= "Run the Graphical User Interface if set to True",ang= "Run the Graphical User Interface if set to True",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -background_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "background image for GUI preview",ang= "background image for GUI preview",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_prefix=SIMP(typ='TXM',fr= "Prefix appended before the output file name",ang= "Prefix appended before the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_suffix=SIMP(typ='TXM',fr= "Suffix appended after the output file name",ang= "Suffix appended after the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='_thresholded'), -output_directory=SIMP(typ='Repertoire',fr= "path where each output file is written",ang= "path where each output file is written",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='.'), -output_format=SIMP(typ='TXM',fr= "output format",ang= "output format",docu= "",statut= "f",into=['png', 'tif', 'csv', 'raw', 'edf'],min=1,max=1,val_min='**',val_max='**',defaut='png'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_stiff_ode_1d -# ====================================================================== -C_SOLVER_STIFF_ODE_1D_DATA=PROC(nom='C_SOLVER_STIFF_ODE_1D_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -study_name=SIMP(typ='TXM',fr= "Describes the name of the study, is used in the metadata of the output, ...",ang= "Describes the name of the study, is used in the metadata of the output, ...",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of the text file where the resulting fields are written at different time steps.",ang= "Name of the text file where the resulting fields are written at different time steps.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -calculation_parameter_names=SIMP(typ='TXM',fr= "Names of the calculation parameters such as the calculation time, number of node, agings conditions ... This list MUST have the same number of parameters as calculation_parameters.",ang= "Names of the calculation parameters such as the calculation time, number of node, agings conditions ... This list MUST have the same number of parameters as calculation_parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -calculation_parameters=SIMP(typ='TXM',fr= "Calculation parameters values. This list MUST have the same number of parameters as calculation_parameter_names.",ang= "Calculation parameters values. This list MUST have the same number of parameters as calculation_parameter_names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names=SIMP(typ='TXM',fr= "Names of coefficients which follow Arrhenius law. This list MUST have the same number of parameters as Arrhenius_A and Arrhenius_Ea.",ang= "Names of coefficients which follow Arrhenius law. This list MUST have the same number of parameters as Arrhenius_A and Arrhenius_Ea.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "Arrhenius law pre exponential factors. This list MUST have the same number of parameter as Arrhenius_names and Arrhenius_Ea.",ang= "Arrhenius law pre exponential factors. This list MUST have the same number of parameter as Arrhenius_names and Arrhenius_Ea.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "Arrhenius law activation energy. This list MUST have the same number of parameter as Arrhenius_name and Arrhenius_A.",ang= "Arrhenius law activation energy. This list MUST have the same number of parameter as Arrhenius_name and Arrhenius_A.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "Names of coefficients which do not follow Arrhenius law. This list MUST have the same number of parameter as non_Arrhenius_coef.",ang= "Names of coefficients which do not follow Arrhenius law. This list MUST have the same number of parameter as non_Arrhenius_coef.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coefs=SIMP(typ='TXM',fr= "Non Arrhenius coefficients values. This list MUST have the same number of parameter as Non_Arrhenius_coef_names.",ang= "Non Arrhenius coefficients values. This list MUST have the same number of parameter as Non_Arrhenius_coef_names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "Names of the differential equation unknowns. This list MUST have the same number of parameter as initial_values and equation.",ang= "Names of the differential equation unknowns. This list MUST have the same number of parameter as initial_values and equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "Initial value of the differential equation unknow. This list MUST have the same number of parameter as initial_value_names and equation.",ang= "Initial value of the differential equation unknow. This list MUST have the same number of parameter as initial_value_names and equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "Diffential equation system written in a mathematic form. This list MUST have the same number of parameter as initial_value_names and initial_values.",ang= "Diffential equation system written in a mathematic form. This list MUST have the same number of parameter as initial_value_names and initial_values.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where boundary conditions are applied.",ang= "List of nodes where boundary conditions are applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of boundary conditions types.",ang= "List of boundary conditions types.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of Boundary conditions parameter.",ang= "List of Boundary conditions parameter.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values used to define boundary conditions.",ang= "List of values used to define boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_random_experimental_design -# ====================================================================== -C_PRE_RANDOM_EXPERIMENTAL_DESIGN_DATA=PROC(nom='C_PRE_RANDOM_EXPERIMENTAL_DESIGN_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -random_seed=SIMP(typ='I',fr= "Random seed",ang= "Random seed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -distributions=SIMP(typ='TXM',fr= "Distribution of each parameter",ang= "Distribution of each parameter",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -dependancy_relationship=SIMP(typ='TXM',fr= "Dependancy relationship for input random parameters",ang= "Dependancy relationship for input random parameters",docu= "",statut= "f",into=['Independent', 'Normal'],min=1,max=1,val_min='**',val_max='**',defaut='Independent'), -corr_matrix_filename=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Correlation matrix filename",ang= "Correlation matrix filename",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -size=SIMP(typ='I',fr= "Size of the experimental design",ang= "Size of the experimental design",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -design_type=SIMP(typ='TXM',fr= "Design type",ang= "Design type",docu= "",statut= "o",into=['MC', 'LHS', 'QMC_Sobol', 'QMC_Halton'],min=1,max=1,val_min='**',val_max='**',defaut=None), -template_file=SIMP(typ='TXM',fr= "Template filename (an empty string means no template)",ang= "Template filename (an empty string means no template)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "csv_output_filename readable with a text editor",ang= "csv_output_filename readable with a text editor",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xml_output_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "xml_output_filename readable by OpenTURNS with input distribution information",ang= "xml_output_filename readable by OpenTURNS with input distribution information",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_interface_mesh -# ====================================================================== -C_PRE_INTERFACE_MESH_DATA=PROC(nom='C_PRE_INTERFACE_MESH_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -surface_type=SIMP(typ='TXM',fr= "nature of the input surface, select how it is interpreted by the component",ang= "nature of the input surface, select how it is interpreted by the component",docu= "",statut= "o",into=['rectangle_grid', 'crack_fit'],min=1,max=1,val_min='**',val_max='**',defaut='rectangle_grid'), -surface_type_rectangle_grid=BLOC(condition="(surface_type=='rectangle_grid')", -input_surface_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_surface_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "input surface field metadata file name. Required if the input surface field file is in CSV format, ignored if metadata is contained in the input surface field file.",ang= "input surface field metadata file name. Required if the input surface field file is in CSV format, ignored if metadata is contained in the input surface field file.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_surf=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pathname of the file where the output BREP surface is generated",ang= "pathname of the file where the output BREP surface is generated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_mesh=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pathname of the file where the output MED mesh is generated",ang= "pathname of the file where the output MED mesh is generated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -surface_type_crack_fit=BLOC(condition="(surface_type=='crack_fit')", -input_surface_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_surface_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "input surface field metadata file name. Required if the input surface field file is in CSV format, ignored if metadata is contained in the input surface field file.",ang= "input surface field metadata file name. Required if the input surface field file is in CSV format, ignored if metadata is contained in the input surface field file.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_surf=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pathname of the file where the output BREP surface is generated",ang= "pathname of the file where the output BREP surface is generated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_mesh=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "pathname of the file where the output MED mesh is generated",ang= "pathname of the file where the output MED mesh is generated",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -coeff_polyfit=SIMP(typ='TXM',fr= "tuple coerced to numpy array of shape length 2 (required only if surface_type = crack_fit)",ang= "tuple coerced to numpy array of shape length 2 (required only if surface_type = crack_fit)",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -front_shape=SIMP(typ='TXM',fr= "list of the coefficients of the 1D polynome describing the front shape (required only if surface_type = crack_fit)",ang= "list of the coefficients of the 1D polynome describing the front shape (required only if surface_type = crack_fit)",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_cobwebplot -# ====================================================================== -C_POST_COBWEBPLOT_DATA=PROC(nom='C_POST_COBWEBPLOT_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -input_ed_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of the file that content the input experimental design",ang= "Name of the file that content the input experimental design",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_ed_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of the file that content the output experimental design",ang= "Name of the file that content the output experimental design",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -high_level=SIMP(typ='R',fr= "High quantile of output to highlight, greater than low_level",ang= "High quantile of output to highlight, greater than low_level",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=None), -low_level=SIMP(typ='R',fr= "Low quantile of output to highlight, lower than high_level",ang= "Low quantile of output to highlight, lower than high_level",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=None), -image_file_name_prefix=SIMP(typ='TXM',fr= "Prefix to ouput images file names",ang= "Prefix to ouput images file names",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='cobWeb-'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_polymer_kinetics_study -# ====================================================================== -C_PRE_POLYMER_KINETICS_STUDY_DATA=PROC(nom='C_PRE_POLYMER_KINETICS_STUDY_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -model=SIMP(typ=bool,fr= "Determines if solver input will be created from a model.",ang= "Determines if solver input will be created from a model.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -applied_post=SIMP(typ=bool,fr= "Determines if a post treatement input will be created.",ang= "Determines if a post treatement input will be created.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -applied_graph=SIMP(typ=bool,fr= "Determines if a graphical treatement input will be created.",ang= "Determines if a graphical treatement input will be created.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_True_applied_post_True_applied_graph_True=BLOC(condition="(model==True and applied_post==True and applied_graph==True)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_True_applied_post_True_applied_graph_False=BLOC(condition="(model==True and applied_post==True and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_True_applied_post_False_applied_graph_True=BLOC(condition="(model==True and applied_post==False and applied_graph==True)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_True_applied_post_False_applied_graph_False=BLOC(condition="(model==True and applied_post==False and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_True_applied_graph_True=BLOC(condition="(model==False and applied_post==True and applied_graph==True)", -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_True_applied_graph_False=BLOC(condition="(model==False and applied_post==True and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_False_applied_graph_True=BLOC(condition="(model==False and applied_post==False and applied_graph==True)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_False_applied_graph_False=BLOC(condition="(model==False and applied_post==False and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_3d_altitude_thickness -# ====================================================================== -C_IMAGE_3D_ALTITUDE_THICKNESS_DATA=PROC(nom='C_IMAGE_3D_ALTITUDE_THICKNESS_DATA',op=None, -UIinfo ={'groupes':('image',)}, -calculation=SIMP(typ='TXM',fr= "The calculation type",ang= "The calculation type",docu= "",statut= "o",into=['altitude', 'thickness'],min=1,max=1,val_min='**',val_max='**',defaut='altitude'), -calculation_altitude=BLOC(condition="(calculation=='altitude')", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_csv=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "CVS formated grid",ang= "CVS formated grid",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_csv_metadata=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "CVS formated grid metadata",ang= "CVS formated grid metadata",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_pgm=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "PGM file containing the 3d image",ang= "PGM file containing the 3d image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness=BLOC(condition="(calculation=='thickness')", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_csv=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "CVS formated grid",ang= "CVS formated grid",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_csv_metadata=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "CVS formated grid metadata",ang= "CVS formated grid metadata",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_grid_field_pgm=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "PGM file containing the 3d image",ang= "PGM file containing the 3d image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_image_2d_inclusion_statistics -# ====================================================================== -C_IMAGE_2D_INCLUSION_STATISTICS_DATA=PROC(nom='C_IMAGE_2D_INCLUSION_STATISTICS_DATA',op=None, -UIinfo ={'groupes':('image',)}, -image_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "pathname of the file of input image",ang= "pathname of the file of input image",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -border_inclusion_option=SIMP(typ='I',fr= "0 : border inclusion area is doubled and their center of mass is set at the boundary, 1 : no special treatment for border inclusion, 2 : border inclusions are discarded",ang= "0 : border inclusion area is doubled and their center of mass is set at the boundary, 1 : no special treatment for border inclusion, 2 : border inclusions are discarded",docu= "",statut= "f",into=[0, 1, 2],min=1,max=1,val_min='**',val_max='**',defaut=0), -output_prefix=SIMP(typ='TXM',fr= "Prefix appended before the output file name",ang= "Prefix appended before the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_suffix=SIMP(typ='TXM',fr= "Suffix appended after the output file name",ang= "Suffix appended after the output file name",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -output_directory=SIMP(typ='Repertoire',fr= "path where each output file is written",ang= "path where each output file is written",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='refs'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_polymer_data_management -# ====================================================================== -C_PRE_POLYMER_DATA_MANAGEMENT_DATA=PROC(nom='C_PRE_POLYMER_DATA_MANAGEMENT_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -gui=SIMP(typ=bool,fr= "Determines if component dedicated GUI is launched.",ang= "Determines if component dedicated GUI is launched.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -folder_output=SIMP(typ='TXM',fr= "Determines the name of the output folder",ang= "Determines the name of the output folder",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model=SIMP(typ=bool,fr= "Determines if model if modified.",ang= "Determines if model if modified.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Determines the study name.",ang= "Determines the study name.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "Name of the study ?",ang= "Name of the study ?",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base ?",ang= "Name of the data base ?",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -comments=SIMP(typ='TXM',fr= "Comments to precise the nature of the study",ang= "Comments to precise the nature of the study",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -comment=SIMP(typ='TXM',fr= "Comments to precise the nature of the study",ang= "Comments to precise the nature of the study",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_name=SIMP(typ='TXM',fr= "Model name.",ang= "Model name.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -applied_post=SIMP(typ=bool,fr= "Determines if a post treatement input will be created.",ang= "Determines if a post treatement input will be created.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_num=SIMP(typ='TXM',fr= "Reference number of the post treatement model in data-base.",ang= "Reference number of the post treatement model in data-base.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -doc=SIMP(typ='TXM',fr= "reference document name.",ang= "reference document name.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_treatement=SIMP(typ=bool,fr= "Determines if post treatement will be ask.",ang= "Determines if post treatement will be ask.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -chemical_reaction_representation=SIMP(typ='TXM',fr= "Textual representation of chemical reaction.",ang= "Textual representation of chemical reaction.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -backup=SIMP(typ=bool,fr= "Set True if you want to edit data-base into an ASCII text file.",ang= "Set True if you want to edit data-base into an ASCII text file.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -equation_add=SIMP(typ='TXM',fr= "List of equations number which will be add in the model.",ang= "List of equations number which will be add in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation_removed=SIMP(typ='TXM',fr= "List of equations number which will be removed from the model.",ang= "List of equations number which will be removed from the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -diffusion=SIMP(typ='TXM',fr= "Determines if the diffusion is taken into account by the model.",ang= "Determines if the diffusion is taken into account by the model.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -diffusion_removed=SIMP(typ='TXM',fr= "List of the equations unkown parameter name from which the diffusion ability has been removed form the inital model.",ang= "List of the equations unkown parameter name from which the diffusion ability has been removed form the inital model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -material_name=SIMP(typ='TXM',fr= "Material simulated by the model.",ang= "Material simulated by the model.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -ageing_type=SIMP(typ='TXM',fr= "Aging type simulated by the model.",ang= "Aging type simulated by the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -technical_use=SIMP(typ='TXM',fr= "Determines the technical use for which the model has been developped.",ang= "Determines the technical use for which the model has been developped.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -EDF=SIMP(typ='TXM',fr= "Determines if the model has been developped for EDF.",ang= "Determines if the model has been developped for EDF.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -modification_representation=SIMP(typ='TXM',fr= "Modifed textual representation of chemical reaction.",ang= "Modifed textual representation of chemical reaction.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -reaction_type=SIMP(typ='TXM',fr= "List of reaction type which use this chemical reaction.",ang= "List of reaction type which use this chemical reaction.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -aging_type=SIMP(typ='TXM',fr= "List of aging type which use this chemical reaction.",ang= "List of aging type which use this chemical reaction.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -reactants=SIMP(typ='TXM',fr= "List of chemical reactants used in this chemical reaction.",ang= "List of chemical reactants used in this chemical reaction.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -reactants_add=SIMP(typ='TXM',fr= "List of chemical reactants added in this chemical reaction.",ang= "List of chemical reactants added in this chemical reaction.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -reactants_removed=SIMP(typ='TXM',fr= "List of chemical reactants removed in this chemical reaction.",ang= "List of chemical reactants removed in this chemical reaction.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -solubility_name=SIMP(typ='TXM',fr= "List of the equations unkown parameter name for which the solubility parameter have to be calculated from the aging parameter.",ang= "List of the equations unkown parameter name for which the solubility parameter have to be calculated from the aging parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -solubility=SIMP(typ='TXM',fr= "List of solubility parameter.",ang= "List of solubility parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -evaporation=SIMP(typ='TXM',fr= "Determines if the evaporation is taken into account by the model.",ang= "Determines if the evaporation is taken into account by the model.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -constant_names=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant_names_add=SIMP(typ='TXM',fr= "List of cinetic parameter names which will be add.",ang= "List of cinetic parameter names which will be add.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant_names_removed=SIMP(typ='TXM',fr= "List of cinetic parameter names which has been removed.",ang= "List of cinetic parameter names which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius=SIMP(typ='TXM',fr= "Determines if the cinetic parameter follows Arrhenius law.",ang= "Determines if the cinetic parameter follows Arrhenius law.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -Arrhenius_add=SIMP(typ='TXM',fr= "List of cinetic parameter names which follows the Arrhenius law.",ang= "List of cinetic parameter names which follows the Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -stabilizer=SIMP(typ='TXM',fr= "Determines if the stabilisation is taken into account by the model.",ang= "Determines if the stabilisation is taken into account by the model.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -arrhenius=SIMP(typ='TXM',fr= "Determines if the cinetic parameter follows Arrhenius law.",ang= "Determines if the cinetic parameter follows Arrhenius law.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of cinetic parameter names which will be add.",ang= "List of cinetic parameter names which will be add.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coefs=SIMP(typ='TXM',fr= "List of cinetic parameter which will be add.",ang= "List of cinetic parameter which will be add.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names=SIMP(typ='TXM',fr= "Determines if the cinetic parameter follows Arrhenius law.",ang= "Determines if the cinetic parameter follows Arrhenius law.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "Determines if pre exponantial factor.",ang= "Determines if pre exponantial factor.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "Determines if activation energy factor.",ang= "Determines if activation energy factor.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -equation_addition=SIMP(typ='TXM',fr= "new eqaution.",ang= "new eqaution.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -add_equation=SIMP(typ='TXM',fr= "new eqaution.",ang= "new eqaution.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -constituant=SIMP(typ='TXM',fr= "List of post treatment equations parameters names.",ang= "List of post treatment equations parameters names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -name=SIMP(typ='TXM',fr= "post treatment name.",ang= "post treatment name.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equation=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -calculation_results=SIMP(typ='TXM',fr= "List of post treatment equations symbol.",ang= "List of post treatment equations symbol.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -results_units=SIMP(typ='TXM',fr= "List of post treatment equations units.",ang= "List of post treatment equations units.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -remove_equations=SIMP(typ='TXM',fr= "List of post treatment equations which has been removed.",ang= "List of post treatment equations which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -remove_calculation_results=SIMP(typ='TXM',fr= "List of post treatment equations symbol which has been removed.",ang= "List of post treatment equations symbol which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -remove_results_units=SIMP(typ='TXM',fr= "List of post treatment equations units which has been removed.",ang= "List of post treatment equations units which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -remove_prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation has been removed.",ang= "List of parameter list which are prerequisite for the post treatement equation has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -type=SIMP(typ='TXM',fr= "List of type post treatement types.",ang= "List of type post treatement types.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -remove_constituant=SIMP(typ='TXM',fr= "List of post treatment equations parameters names which has been removed.",ang= "List of post treatment equations parameters names which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -const_cine_nom=SIMP(typ='TXM',fr= "List of parameter names which not follow Arrhenius law.",ang= "List of parameter names which not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -remove_arrhenius=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law which has been removed.",ang= "List of parameter names which follow Arrhenius law which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -remove_const_cine_nom=SIMP(typ='TXM',fr= "List of parameter names which not follow Arrhenius law which has been removed.",ang= "List of parameter names which not follow Arrhenius law which has been removed.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_distribution_properties -# ====================================================================== -C_POST_DISTRIBUTION_PROPERTIES_DATA=PROC(nom='C_POST_DISTRIBUTION_PROPERTIES_DATA',op=None, -UIinfo ={'groupes':('post',)}, -post=SIMP(typ='TXM',fr= "the value must be included into the following list: CDF (Cumulative Density Function), PDF (Probability Density Function), dgb (distance to grain boundary graph : needs a distance_grain_boundary column in the data file), quantification (computes the optimised distribution in a family of distributions and estimates its parameter)",ang= "the value must be included into the following list: CDF (Cumulative Density Function), PDF (Probability Density Function), dgb (distance to grain boundary graph : needs a distance_grain_boundary column in the data file), quantification (computes the optimised distribution in a family of distributions and estimates its parameter)",docu= "",statut= "o",into=['CDF', 'PDF', 'dgb', 'quantification'],min=1,max=1,val_min='**',val_max='**',defaut='PDF'), -post_CDF=BLOC(condition="(post=='CDF')", -variable_name=SIMP(typ='TXM',fr= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",ang= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -interactive=SIMP(typ=bool,fr= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",ang= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -input_grid_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the csv format input file (grid_field data read by the component)",ang= "name of the csv format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the metadata format input file (grid_field data read by the component)",ang= "name of the metadata format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_distribution_properties_text_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.csv'), -output_distribution_properties_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.png'), -), -post_PDF=BLOC(condition="(post=='PDF')", -variable_name=SIMP(typ='TXM',fr= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",ang= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -interactive=SIMP(typ=bool,fr= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",ang= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -input_grid_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the csv format input file (grid_field data read by the component)",ang= "name of the csv format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the metadata format input file (grid_field data read by the component)",ang= "name of the metadata format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_distribution_properties_text_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.csv'), -output_distribution_properties_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.png'), -), -post_dgb=BLOC(condition="(post=='dgb')", -variable_name=SIMP(typ='TXM',fr= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",ang= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -interactive=SIMP(typ=bool,fr= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",ang= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -input_grid_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the csv format input file (grid_field data read by the component)",ang= "name of the csv format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the metadata format input file (grid_field data read by the component)",ang= "name of the metadata format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_distribution_properties_text_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.csv'), -output_distribution_properties_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.png'), -), -post_quantification=BLOC(condition="(post=='quantification')", -variable_name=SIMP(typ='TXM',fr= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",ang= "must be the name of one of the columns of the csv file whose name is given by input_grid_field_csv_name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -interactive=SIMP(typ=bool,fr= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",ang= "True -> an interactive window appears when graphs are created.False -> no window.name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -input_grid_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the csv format input file (grid_field data read by the component)",ang= "name of the csv format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the metadata format input file (grid_field data read by the component)",ang= "name of the metadata format input file (grid_field data read by the component)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_distribution_properties_text_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.csv'), -output_distribution_properties_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_post_distribution_properties.output.png'), -quantification_options=SIMP(typ='TXM',fr= "this parameter is optional, it is only read in the case where post=quantification. This parameter is given as an enumeration of strings included into the following enumeration : Normal, Weibull, Lognormal, Gamma, Beta, Exponential, Gumbel, Truncatednormal. If the parameter is missing or empty then it is set by default as: Normal, Weibull, Gamma, Beta.",ang= "this parameter is optional, it is only read in the case where post=quantification. This parameter is given as an enumeration of strings included into the following enumeration : Normal, Weibull, Lognormal, Gamma, Beta, Exponential, Gumbel, Truncatednormal. If the parameter is missing or empty then it is set by default as: Normal, Weibull, Gamma, Beta.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_poly_chaos -# ====================================================================== -C_POST_POLY_CHAOS_DATA=PROC(nom='C_POST_POLY_CHAOS_DATA',op=None, -UIinfo ={'groupes':('post',)}, -random_seed=SIMP(typ='I',fr= "Random seed",ang= "Random seed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_sample=SIMP(typ=('Fichier', 'All Files (*)'),fr= "csv or xml input filename",ang= "csv or xml input filename",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_sample=SIMP(typ=('Fichier', 'All Files (*)'),fr= "csv or xml output filename",ang= "csv or xml output filename",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -distributions=SIMP(typ='TXM',fr= "Distribution of each input parameter",ang= "Distribution of each input parameter",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -polynomial_degree=SIMP(typ='I',fr= "Polynomial degree for PCE",ang= "Polynomial degree for PCE",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -truncature_method=SIMP(typ='R',fr= "Degree of quasi-norm used to retain PCE coefs",ang= "Degree of quasi-norm used to retain PCE coefs",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max=1,defaut=1), -coefficient_computation_method=SIMP(typ='TXM',fr= "Coefficient computation method",ang= "Coefficient computation method",docu= "",statut= "f",into=['LAR', 'OLS'],min=1,max=1,val_min='**',val_max='**',defaut='LAR'), -validation_percentage=SIMP(typ='R',fr= "Input sample percentage used for validation",ang= "Input sample percentage used for validation",docu= "",statut= "o",into=None,min=1,max=1,val_min=5,val_max=50,defaut=None), -validation_graphic=SIMP(typ=bool,fr= "Validation graphics printing",ang= "Validation graphics printing",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -metamodel_sample_size=SIMP(typ='I',fr= "Sample size for metamodel",ang= "Sample size for metamodel",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -csv_metamodel_sample_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "csv metamodel output sample filename",ang= "csv metamodel output sample filename",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xml_metamodel_sample_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "xml metamodel output sample filename",ang= "xml metamodel output sample filename",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -covariance_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "text file containing covariances",ang= "text file containing covariances",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -pce_validation_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the validation output file",ang= "name of the validation output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -pce_post_pro_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the postprocessing file",ang= "name of the postprocessing file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xml_pc_result=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "xml file containing input distributions, experimental design and PC result",ang= "xml file containing input distributions, experimental design and PC result",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_transverse_empty_c -# ====================================================================== -C_TRANSVERSE_EMPTY_C_DATA=PROC(nom='C_TRANSVERSE_EMPTY_C_DATA',op=None, -UIinfo ={'groupes':('transverse',)}, -a_string=SIMP(typ='TXM',fr= "simply print in verbose mode",ang= "simply print in verbose mode",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='Hello world of MAP'), -an_integer=SIMP(typ='I',fr= "number of lines in the output file",ang= "number of lines in the output file",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max=100,defaut=4), -fibo_nb_elements=SIMP(typ='I',fr= "number of values to compute in Fibonnacci sequence",ang= "number of values to compute in Fibonnacci sequence",docu= "",statut= "o",into=None,min=1,max=1,val_min=3,val_max=90,sug=20), -a_float=SIMP(typ='R',fr= "simply print in verbose mode",ang= "simply print in verbose mode",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=5.3), -file_output=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives the name of the output file of the component",ang= "gives the name of the output file of the component",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_transverse_empty_c.output'), -) -# ====================================================================== -# Catalog entry for the MAP function : c_post_table_fft -# ====================================================================== -C_POST_TABLE_FFT_DATA=PROC(nom='C_POST_TABLE_FFT_DATA',op=None, -UIinfo ={'groupes':('post',)}, -input_surface_grid_field_csv_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of a file describing the grid surface with coordinates x,y,z in CSV format.",ang= "name of a file describing the grid surface with coordinates x,y,z in CSV format.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_surface_grid_field_csv_metadata_file_name=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the metadata file for input_csv_file_name",ang= "name of the metadata file for input_csv_file_name",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -show_image=SIMP(typ=bool,fr= "if True : an isocontour heights graph of the analyzed surface is produced.",ang= "if True : an isocontour heights graph of the analyzed surface is produced.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -show_spectr=SIMP(typ=bool,fr= "if True : a spectral density graph of the analyzed surface is produced",ang= "if True : a spectral density graph of the analyzed surface is produced",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -interactive=SIMP(typ=bool,fr= "if True, an interactive window appears when graphs are created.",ang= "if True, an interactive window appears when graphs are created.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -output_spectr_x_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "spectral density graph of the analyzed surface along x",ang= "spectral density graph of the analyzed surface along x",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_spectr_y_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "spectral density graph of the analyzed surface along y",ang= "spectral density graph of the analyzed surface along y",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_surface_grid_field_png_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Isocontour heights graph of the analyzed surface",ang= "Isocontour heights graph of the analyzed surface",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_surface_properties_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "file containing calculated properties of the input surface",ang= "file containing calculated properties of the input surface",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_computation_unit -# ====================================================================== -C_SOLVER_COMPUTATION_UNIT_DATA=PROC(nom='C_SOLVER_COMPUTATION_UNIT_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -computation_script=SIMP(typ=('Fichier', 'All Files (*)'),fr= "A Python script to be run",ang= "A Python script to be run",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_input_data_filename=SIMP(typ=('Fichier', 'All Files (*)'),fr= "A CSV file that contains NxP values",ang= "A CSV file that contains NxP values",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_data_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "A CSV file that contains NxS values",ang= "A CSV file that contains NxS values",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_morphology_synthesis_spheres -# ====================================================================== -C_PRE_MORPHOLOGY_SYNTHESIS_SPHERES_DATA=PROC(nom='C_PRE_MORPHOLOGY_SYNTHESIS_SPHERES_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -rve_size=SIMP(typ='R',fr= "size of the RVE.",ang= "size of the RVE.",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -sieve_curve_in=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the input sieve curve. This sieve curve is the ideal distribution of inclusions you want to build your volume.",ang= "name of the input sieve curve. This sieve curve is the ideal distribution of inclusions you want to build your volume.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -sieve_curve_out=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the output sieve curve. This output gives an idea of the way the code has been able to respect the wanted sieve curve.",ang= "name of the output sieve curve. This output gives an idea of the way the code has been able to respect the wanted sieve curve.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -repulsion_distance=SIMP(typ='R',fr= "Minimum distance between two inclusions.",ang= "Minimum distance between two inclusions.",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -file_result_inclusions=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the inclusion list output file",ang= "name of the inclusion list output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -result_log_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "gives some more details on the result of the process : rve_size, volume fraction.",ang= "gives some more details on the result of the process : rve_size, volume fraction.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_diffusion_fdvgrid -# ====================================================================== -C_SOLVER_DIFFUSION_FDVGRID_DATA=PROC(nom='C_SOLVER_DIFFUSION_FDVGRID_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -type_source=SIMP(typ='TXM',fr= "format of input image describing local volumic ratio of inclusion per voxel (3d image)",ang= "format of input image describing local volumic ratio of inclusion per voxel (3d image)",docu= "",statut= "o",into=('DAT', 'RAW'),min=1,max=1,val_min='**',val_max='**',defaut=None), -lambda_inclusion=SIMP(typ='R',fr= "conductivity in inclusions",ang= "conductivity in inclusions",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -lambda_matrice=SIMP(typ='R',fr= "conductivity in the matrix",ang= "conductivity in the matrix",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -number_pixel_row_cube=SIMP(typ='I',fr= "number of voxel in a row, all produced images will be NxNxN large",ang= "number of voxel in a row, all produced images will be NxNxN large",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -easy_solve=SIMP(typ='TXM',fr= "Choose the solver !",ang= "Choose the solver !",docu= "",statut= "o",into=('LOW_RAM', 'MATRIX_FREE', 'LOW_CPU', 'MULTIGRID', 'NONE'),min=1,max=1,val_min='**',val_max='**',defaut=None), -input_path=SIMP(typ='Repertoire',fr= "path to the input directory (ex : input/)",ang= "path to the input directory (ex : input/)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_path=SIMP(typ='Repertoire',fr= "path to the output directory",ang= "path to the output directory",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -ratio_filename_dat=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the input file describing the local volumic ratio of inclusion (3d image), ex micro_dis.dat",ang= "name of the input file describing the local volumic ratio of inclusion (3d image), ex micro_dis.dat",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -number_proc_micro=SIMP(typ='I',fr= "number of processus used for computing the 3d image of conductivity starting from the 3d image of local volumic ratio of inclusion in each voxel.",ang= "number of processus used for computing the 3d image of conductivity starting from the 3d image of local volumic ratio of inclusion in each voxel.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -number_proc_solver=SIMP(typ='I',fr= "number of processus used for solving the diffusion problem",ang= "number of processus used for solving the diffusion problem",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -number_proc_post=SIMP(typ='I',fr= "number of processus used for post porcessing",ang= "number of processus used for post porcessing",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=1), -configuration_file=SIMP(typ='TXM',fr= "path and name of the configuration file than the python interface will produce for the various .exe",ang= "path and name of the configuration file than the python interface will produce for the various .exe",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_diffusion_fdvgrid.ini'), -kind_of_run=SIMP(typ='TXM',fr= "this component is runable sequential, parallel or as a PBS_job",ang= "this component is runable sequential, parallel or as a PBS_job",docu= "",statut= "f",into=('sequential', 'parallel', 'PBS_job'),min=1,max=1,val_min='**',val_max='**',defaut='sequential'), -start_run=SIMP(typ=bool,fr= "if yes, the conponent will run. It will only produce a batch script otherwise",ang= "if yes, the conponent will run. It will only produce a batch script otherwise",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -exp_id=SIMP(typ='I',fr= "this will be printed in the name of every produced image",ang= "this will be printed in the name of every produced image",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -petsc_option=SIMP(typ='TXM',fr= "add options for PETSC here",ang= "add options for PETSC here",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=''), -all_stdout_in_file=SIMP(typ=bool,fr= "if yes, all logs, profiling issues and errors will be redirected to a file",ang= "if yes, all logs, profiling issues and errors will be redirected to a file",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -VTK=SIMP(typ=bool,fr= "if yes, some VTK files( 3d images) will be printed",ang= "if yes, some VTK files( 3d images) will be printed",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -number_nodes=SIMP(typ='I',fr= "number of nodes used (cluster)",ang= "number of nodes used (cluster)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -number_proc_per_node=SIMP(typ='I',fr= "number of processors used per node (cluster)",ang= "number of processors used per node (cluster)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -walltime=SIMP(typ='TXM',fr= "if the job did not end by this time, it will be killed by job manager (format 10:00:00 (hms))",ang= "if the job did not end by this time, it will be killed by job manager (format 10:00:00 (hms))",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -memory=SIMP(typ='TXM',fr= "the memory given here must be larger than the needed one (format 32gb",ang= "the memory given here must be larger than the needed one (format 32gb",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -source_environement=SIMP(typ='TXM',fr= "command to load environnement at start of job (ex: source /logiciels/openmpi/profile",ang= "command to load environnement at start of job (ex: source /logiciels/openmpi/profile",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -periodic_X=SIMP(typ=bool,fr= "if yes, periodic boundary conditions will be applied on corresponding x faces",ang= "if yes, periodic boundary conditions will be applied on corresponding x faces",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -periodic_Y=SIMP(typ=bool,fr= "if yes, periodic boundary conditions will be applied on corresponding y faces",ang= "if yes, periodic boundary conditions will be applied on corresponding y faces",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -periodic_Z=SIMP(typ=bool,fr= "if yes, periodic boundary conditions will be applied on corresponding z faces",ang= "if yes, periodic boundary conditions will be applied on corresponding z faces",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -boundary_condition_x_delta_T=SIMP(typ='R',fr= "gap of temperature between corresponding points of faces x_plus and x_minus (periodic BC)",ang= "gap of temperature between corresponding points of faces x_plus and x_minus (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_delta_T=SIMP(typ='R',fr= "gap of temperature between corresponding points of faces y_plus and y_minus (periodic BC)",ang= "gap of temperature between corresponding points of faces y_plus and y_minus (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_delta_T=SIMP(typ='R',fr= "gap of temperature between corresponding points of faces z_plus and z_minus (periodic BC)",ang= "gap of temperature between corresponding points of faces z_plus and z_minus (periodic BC)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the x plus face",ang= "kind of bondary conditions on the x plus face",docu= "",statut= "f",into=('DIRICHLET', 'NEUMANN', 'NEWTON'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_T_center_face=SIMP(typ='R',fr= "temperature at the center of the face",ang= "temperature at the center of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_gTy=SIMP(typ='R',fr= "frac(dT)(dy) of the face",ang= "frac(dT)(dy) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_gTz=SIMP(typ='R',fr= "frac(dT)(dz) of the face",ang= "frac(dT)(dz) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_F=SIMP(typ='R',fr= "thermic flux going through this face",ang= "thermic flux going through this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_h=SIMP(typ='R',fr= "heat transfert coefficient",ang= "heat transfert coefficient",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_plus_Text=SIMP(typ='R',fr= "external temperature",ang= "external temperature",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y minus face",ang= "kind of bondary conditions on the y minus face",docu= "",statut= "f",into=('DIRICHLET', 'NEUMANN', 'NEWTON'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_T_center_face=SIMP(typ='R',fr= "temperature at the center of the face",ang= "temperature at the center of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_gTy=SIMP(typ='R',fr= "frac(dT)(dy) of the face",ang= "frac(dT)(dy) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_gTz=SIMP(typ='R',fr= "frac(dT)(dz) of the face",ang= "frac(dT)(dz) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_F=SIMP(typ='R',fr= "thermic flux going through this face",ang= "thermic flux going through this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_h=SIMP(typ='R',fr= "heat transfert coefficient",ang= "heat transfert coefficient",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_x_minus_Text=SIMP(typ='R',fr= "external temperature",ang= "external temperature",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y plus face",ang= "kind of bondary conditions on the y plus face",docu= "",statut= "f",into=('DIRICHLET', 'NEUMANN', 'NEWTON'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_T_center_face=SIMP(typ='R',fr= "temperature at the center of the face",ang= "temperature at the center of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_gTx=SIMP(typ='R',fr= "frac(dT)(dx) of the face",ang= "frac(dT)(dx) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_gTz=SIMP(typ='R',fr= "frac(dT)(dz) of the face",ang= "frac(dT)(dz) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_F=SIMP(typ='R',fr= "thermic flux going through this face",ang= "thermic flux going through this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_h=SIMP(typ='R',fr= "heat transfert coefficient",ang= "heat transfert coefficient",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_plus_Text=SIMP(typ='R',fr= "external temperature",ang= "external temperature",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the y minus face",ang= "kind of bondary conditions on the y minus face",docu= "",statut= "f",into=('DIRICHLET', 'NEUMANN', 'NEWTON'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_T_center_face=SIMP(typ='R',fr= "temperature at the center of the face",ang= "temperature at the center of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_gTx=SIMP(typ='R',fr= "frac(dT)(dx) of the face",ang= "frac(dT)(dx) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_gTz=SIMP(typ='R',fr= "frac(dT)(dz) of the face",ang= "frac(dT)(dz) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_F=SIMP(typ='R',fr= "thermic flux going through this face",ang= "thermic flux going through this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_h=SIMP(typ='R',fr= "heat transfert coefficient",ang= "heat transfert coefficient",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_y_minus_Text=SIMP(typ='R',fr= "external temperature",ang= "external temperature",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z plus face",ang= "kind of bondary conditions on the z plus face",docu= "",statut= "f",into=('DIRICHLET', 'NEUMANN', 'NEWTON'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_T_center_face=SIMP(typ='R',fr= "temperature at the center of the face",ang= "temperature at the center of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_gTx=SIMP(typ='R',fr= "frac(dT)(dx) of the face",ang= "frac(dT)(dx) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_gTy=SIMP(typ='R',fr= "frac(dT)(dy) of the face",ang= "frac(dT)(dy) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_F=SIMP(typ='R',fr= "thermic flux going through this face",ang= "thermic flux going through this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_h=SIMP(typ='R',fr= "heat transfert coefficient",ang= "heat transfert coefficient",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_plus_Text=SIMP(typ='R',fr= "external temperature",ang= "external temperature",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_type=SIMP(typ='TXM',fr= "kind of bondary conditions on the z minus face",ang= "kind of bondary conditions on the z minus face",docu= "",statut= "f",into=('DIRICHLET', 'NEUMANN', 'NEWTON'),min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_T_center_face=SIMP(typ='R',fr= "temperature at the center of the face",ang= "temperature at the center of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_gTx=SIMP(typ='R',fr= "frac(dT)(dx) of the face",ang= "frac(dT)(dx) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_gTy=SIMP(typ='R',fr= "frac(dT)(dy) of the face",ang= "frac(dT)(dy) of the face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_F=SIMP(typ='R',fr= "thermic flux going through this face",ang= "thermic flux going through this face",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_h=SIMP(typ='R',fr= "heat transfert coefficient",ang= "heat transfert coefficient",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -boundary_condition_z_minus_Text=SIMP(typ='R',fr= "external temperature",ang= "external temperature",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -norm_2_RHS_per_sqrt_pixel=SIMP(typ='R',fr= "norm_2_RHS_per_sqrt(pixel) at start",ang= "norm_2_RHS_per_sqrt(pixel) at start",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -MAP_c_solver_diffusion_fdvgrid_successful=SIMP(typ=bool,fr= "MAP_c_solver_diffusion_fdvgrid_successful",ang= "MAP_c_solver_diffusion_fdvgrid_successful",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -norm_2_residual_per_sqrt_pixel=SIMP(typ='R',fr= "norm_2_residual_per_sqrt(pixel) last",ang= "norm_2_residual_per_sqrt(pixel) last",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -ratio_is=SIMP(typ='R',fr= "ratio between residual and RHS",ang= "ratio between residual and RHS",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -number_of_iteration=SIMP(typ='I',fr= "number_of_iteration",ang= "number_of_iteration",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -time_solver_s=SIMP(typ='R',fr= "time_solver (seconds)",ang= "time_solver (seconds)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -GTx=SIMP(typ='R',fr= "Average of GTx",ang= "Average of GTx",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -GTy=SIMP(typ='R',fr= "Average of GTy",ang= "Average of GTy",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -GTz=SIMP(typ='R',fr= "Average of GTz",ang= "Average of GTz",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -flux_x=SIMP(typ='R',fr= "Average of flux_x",ang= "Average of flux_x",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -flux_y=SIMP(typ='R',fr= "Average of flux_y",ang= "Average of flux_y",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -flux_z=SIMP(typ='R',fr= "Average of flux_z",ang= "Average of flux_z",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -minux_int_TxF=SIMP(typ='R',fr= "Average of minux_int_TxF",ang= "Average of minux_int_TxF",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=0), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_homogenisation_mechanics -# ====================================================================== -C_SOLVER_HOMOGENISATION_MECHANICS_DATA=PROC(nom='C_SOLVER_HOMOGENISATION_MECHANICS_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -microstructure_composition_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "microstructure's description",ang= "microstructure's description",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -phase_input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "phases description",ang= "phases description",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -homogenisation_scheme=SIMP(typ='TXM',fr= "homogenisation scheme",ang= "homogenisation scheme",docu= "",statut= "o",into=['Voigt', 'Reuss', 'Self-Consistent', 'Hashin-Shtrikman'],min=1,max=1,val_min='**',val_max='**',defaut=None), -reference_phase_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "reference phase description",ang= "reference phase description",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -effective_properties_text_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "computed effective properties",ang= "computed effective properties",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -effective_properties_visualisation_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "visualisation of effective properties",ang= "visualisation of effective properties",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_morphology_grid_projection -# ====================================================================== -C_PRE_MORPHOLOGY_GRID_PROJECTION_DATA=PROC(nom='C_PRE_MORPHOLOGY_GRID_PROJECTION_DATA',op=None, -UIinfo ={'groupes':('pre',)}, -phase_scan=SIMP(typ=bool,fr= "switch to scan phase at midpoints of cells edges (for FD codes) [default is to evaluate volume fraction in cells (for FEM, FV, FFT codes)]",ang= "switch to scan phase at midpoints of cells edges (for FD codes) [default is to evaluate volume fraction in cells (for FEM, FV, FFT codes)]",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -radius_first=SIMP(typ=bool,fr= "switch to indicate that in f_micro, radius is on the first column [default: radius is on the last column]",ang= "switch to indicate that in f_micro, radius is on the first column [default: radius is on the last column]",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -n_samples=SIMP(typ='TXM',fr= "number of sample points over cell edges (no space around commas) [default: 8,8[,8]]",ang= "number of sample points over cell edges (no space around commas) [default: 8,8[,8]]",docu= "",statut= "n",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -n_cells=SIMP(typ='TXM',fr= "number of cells along each axis of the RVE (no space around commas), example: 64,64,64",ang= "number of cells along each axis of the RVE (no space around commas), example: 64,64,64",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -f_micro=SIMP(typ=('Fichier', 'All Files (*)'),fr= "file describing microstructure (RVE+inclusions)",ang= "file describing microstructure (RVE+inclusions)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -f_output=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "file to store volume fraction of inclusions for every cell or microstructure phase found at midpoints of cell edges",ang= "file to store volume fraction of inclusions for every cell or microstructure phase found at midpoints of cell edges",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -f_image=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "file to store a (raw) image of the discretized microstructure",ang= "file to store a (raw) image of the discretized microstructure",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_crystal_alloy_behaviour -# ====================================================================== -C_SOLVER_CRYSTAL_ALLOY_BEHAVIOUR_DATA=PROC(nom='C_SOLVER_CRYSTAL_ALLOY_BEHAVIOUR_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -loading_type=SIMP(typ='TXM',fr= "Determines the type of loading",ang= "Determines the type of loading",docu= "",statut= "o",into=['tension', 'creep', 'none'],min=1,max=1,val_min='**',val_max='**',defaut='tension'), -loading_type_tension=BLOC(condition="(loading_type=='tension')", -loading_direction=SIMP(typ='TXM',fr= "Determines the direction of loading",ang= "Determines the direction of loading",docu= "",statut= "o",into=['sensT', 'sensL'],min=1,max=1,val_min='**',val_max='**',defaut='sensT'), -temperature=SIMP(typ='R',fr= "Set experimental temperature",ang= "Set experimental temperature",docu= "",statut= "o",into=None,min=1,max=1,val_min=273.0,val_max=873.0,defaut=673.0), -RX_RV=SIMP(typ='I',fr= "Active or not microstructure evolution",ang= "Active or not microstructure evolution",docu= "",statut= "o",into=[0, 1],min=1,max=1,val_min='**',val_max='**',defaut=0), -recristalisation_fraction=SIMP(typ='R',fr= "Set recristallisation fraction",ang= "Set recristallisation fraction",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=1.0), -D0=SIMP(typ='R',fr= "Set grain size",ang= "Set grain size",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-06,val_max=2e-05,defaut=5e-06), -omega=SIMP(typ='R',fr= "Set distance effect of dialocation to grain boundary",ang= "Set distance effect of dialocation to grain boundary",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-06,val_max=2e-05,defaut=1e-06), -nsg=SIMP(typ='I',fr= "Number of active gliding system",ang= "Number of active gliding system",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max=21,defaut=21), -ngr=SIMP(typ='I',fr= "Number of macro-grain",ang= "Number of macro-grain",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max='**',defaut=4), -mechanical_behaviour_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of input file for mechanical parameters",ang= "Name of input file for mechanical parameters",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='mechanical_behaviour.dat'), -SR0=SIMP(typ='R',fr= "Set applied strain rate number 0",ang= "Set applied strain rate number 0",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR1=SIMP(typ='R',fr= "Set applied strain rate number 1",ang= "Set applied strain rate number 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR2=SIMP(typ='R',fr= "Set applied strain rate number 2",ang= "Set applied strain rate number 2",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=2e-05), -SR3=SIMP(typ='R',fr= "Set applied strain rate number 3",ang= "Set applied strain rate number 3",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR4=SIMP(typ='R',fr= "Set applied strain rate number 4",ang= "Set applied strain rate number 4",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR5=SIMP(typ='R',fr= "Set applied strain rate number 5",ang= "Set applied strain rate number 5",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=2e-05), -SR6=SIMP(typ='R',fr= "Set applied strain rate number 6",ang= "Set applied strain rate number 6",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR7=SIMP(typ='R',fr= "Set applied strain rate number 7",ang= "Set applied strain rate number 7",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR8=SIMP(typ='R',fr= "Set applied strain rate number 8",ang= "Set applied strain rate number 8",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -e_saut_1=SIMP(typ='R',fr= "strain jump number 1",ang= "strain jump number 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0244), -e_saut_2=SIMP(typ='R',fr= "strain jump number 2",ang= "strain jump number 2",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0293), -e_saut_3=SIMP(typ='R',fr= "strain jump number 3",ang= "strain jump number 3",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0336), -e_saut_4=SIMP(typ='R',fr= "strain jump number 4",ang= "strain jump number 4",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0384), -e_saut_5=SIMP(typ='R',fr= "strain jump number 5",ang= "strain jump number 5",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.043), -e_saut_6=SIMP(typ='R',fr= "strain jump number 6",ang= "strain jump number 6",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.047), -e_saut_7=SIMP(typ='R',fr= "strain jump number 7",ang= "strain jump number 7",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0522), -e_saut_8=SIMP(typ='R',fr= "strain jump number 8",ang= "strain jump number 8",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0566), -strain_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of output file",ang= "Name of output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='test_400detT.txt'), -fraction_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of microstructural output file",ang= "Name of microstructural output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='Rx_RV.txt'), -jump=SIMP(typ='I',fr= "tensile test test with or without strain rate jumps",ang= "tensile test test with or without strain rate jumps",docu= "",statut= "o",into=[0, 1],min=1,max=1,val_min='**',val_max='**',defaut=0), -), -loading_type_creep=BLOC(condition="(loading_type=='creep')", -loading_direction=SIMP(typ='TXM',fr= "Determines the direction of loading",ang= "Determines the direction of loading",docu= "",statut= "o",into=['sensT', 'sensL'],min=1,max=1,val_min='**',val_max='**',defaut='sensT'), -temperature=SIMP(typ='R',fr= "Set experimental temperature",ang= "Set experimental temperature",docu= "",statut= "o",into=None,min=1,max=1,val_min=273.0,val_max=873.0,defaut=673.0), -RX_RV=SIMP(typ='I',fr= "Active or not microstructure evolution",ang= "Active or not microstructure evolution",docu= "",statut= "o",into=[0, 1],min=1,max=1,val_min='**',val_max='**',defaut=0), -recristalisation_fraction=SIMP(typ='R',fr= "Set recristallisation fraction",ang= "Set recristallisation fraction",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=1.0), -D0=SIMP(typ='R',fr= "Set grain size",ang= "Set grain size",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-06,val_max=2e-05,defaut=5e-06), -omega=SIMP(typ='R',fr= "Set distance effect of dialocation to grain boundary",ang= "Set distance effect of dialocation to grain boundary",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-06,val_max=2e-05,defaut=1e-06), -nsg=SIMP(typ='I',fr= "Number of active gliding system",ang= "Number of active gliding system",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max=21,defaut=21), -ngr=SIMP(typ='I',fr= "Number of macro-grain",ang= "Number of macro-grain",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max='**',defaut=4), -mechanical_behaviour_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of input file for mechanical parameters",ang= "Name of input file for mechanical parameters",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='mechanical_behaviour.dat'), -SR0=SIMP(typ='R',fr= "Set applied strain rate number 0",ang= "Set applied strain rate number 0",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR1=SIMP(typ='R',fr= "Set applied strain rate number 1",ang= "Set applied strain rate number 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR2=SIMP(typ='R',fr= "Set applied strain rate number 2",ang= "Set applied strain rate number 2",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=2e-05), -SR3=SIMP(typ='R',fr= "Set applied strain rate number 3",ang= "Set applied strain rate number 3",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR4=SIMP(typ='R',fr= "Set applied strain rate number 4",ang= "Set applied strain rate number 4",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR5=SIMP(typ='R',fr= "Set applied strain rate number 5",ang= "Set applied strain rate number 5",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=2e-05), -SR6=SIMP(typ='R',fr= "Set applied strain rate number 6",ang= "Set applied strain rate number 6",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR7=SIMP(typ='R',fr= "Set applied strain rate number 7",ang= "Set applied strain rate number 7",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR8=SIMP(typ='R',fr= "Set applied strain rate number 8",ang= "Set applied strain rate number 8",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -e_saut_1=SIMP(typ='R',fr= "strain jump number 1",ang= "strain jump number 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0244), -e_saut_2=SIMP(typ='R',fr= "strain jump number 2",ang= "strain jump number 2",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0293), -e_saut_3=SIMP(typ='R',fr= "strain jump number 3",ang= "strain jump number 3",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0336), -e_saut_4=SIMP(typ='R',fr= "strain jump number 4",ang= "strain jump number 4",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0384), -e_saut_5=SIMP(typ='R',fr= "strain jump number 5",ang= "strain jump number 5",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.043), -e_saut_6=SIMP(typ='R',fr= "strain jump number 6",ang= "strain jump number 6",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.047), -e_saut_7=SIMP(typ='R',fr= "strain jump number 7",ang= "strain jump number 7",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0522), -e_saut_8=SIMP(typ='R',fr= "strain jump number 8",ang= "strain jump number 8",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0566), -strain_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of output file",ang= "Name of output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='test_400detT.txt'), -fraction_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of microstructural output file",ang= "Name of microstructural output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='Rx_RV.txt'), -applied_stress=SIMP(typ='R',fr= "Set applied stress",ang= "Set applied stress",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=250.0,defaut=80.0), -), -loading_type_none=BLOC(condition="(loading_type=='none')", -loading_direction=SIMP(typ='TXM',fr= "Determines the direction of loading",ang= "Determines the direction of loading",docu= "",statut= "o",into=['sensT', 'sensL'],min=1,max=1,val_min='**',val_max='**',defaut='sensT'), -temperature=SIMP(typ='R',fr= "Set experimental temperature",ang= "Set experimental temperature",docu= "",statut= "o",into=None,min=1,max=1,val_min=273.0,val_max=873.0,defaut=673.0), -RX_RV=SIMP(typ='I',fr= "Active or not microstructure evolution",ang= "Active or not microstructure evolution",docu= "",statut= "o",into=[0, 1],min=1,max=1,val_min='**',val_max='**',defaut=0), -recristalisation_fraction=SIMP(typ='R',fr= "Set recristallisation fraction",ang= "Set recristallisation fraction",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max=1.0,defaut=1.0), -D0=SIMP(typ='R',fr= "Set grain size",ang= "Set grain size",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-06,val_max=2e-05,defaut=5e-06), -omega=SIMP(typ='R',fr= "Set distance effect of dialocation to grain boundary",ang= "Set distance effect of dialocation to grain boundary",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-06,val_max=2e-05,defaut=1e-06), -nsg=SIMP(typ='I',fr= "Number of active gliding system",ang= "Number of active gliding system",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max=21,defaut=21), -ngr=SIMP(typ='I',fr= "Number of macro-grain",ang= "Number of macro-grain",docu= "",statut= "o",into=None,min=1,max=1,val_min=1,val_max='**',defaut=4), -mechanical_behaviour_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Name of input file for mechanical parameters",ang= "Name of input file for mechanical parameters",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='mechanical_behaviour.dat'), -SR0=SIMP(typ='R',fr= "Set applied strain rate number 0",ang= "Set applied strain rate number 0",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR1=SIMP(typ='R',fr= "Set applied strain rate number 1",ang= "Set applied strain rate number 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR2=SIMP(typ='R',fr= "Set applied strain rate number 2",ang= "Set applied strain rate number 2",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=2e-05), -SR3=SIMP(typ='R',fr= "Set applied strain rate number 3",ang= "Set applied strain rate number 3",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR4=SIMP(typ='R',fr= "Set applied strain rate number 4",ang= "Set applied strain rate number 4",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR5=SIMP(typ='R',fr= "Set applied strain rate number 5",ang= "Set applied strain rate number 5",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=2e-05), -SR6=SIMP(typ='R',fr= "Set applied strain rate number 6",ang= "Set applied strain rate number 6",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -SR7=SIMP(typ='R',fr= "Set applied strain rate number 7",ang= "Set applied strain rate number 7",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.002), -SR8=SIMP(typ='R',fr= "Set applied strain rate number 8",ang= "Set applied strain rate number 8",docu= "",statut= "o",into=None,min=1,max=1,val_min=2e-06,val_max=0.002,defaut=0.0002), -e_saut_1=SIMP(typ='R',fr= "strain jump number 1",ang= "strain jump number 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0244), -e_saut_2=SIMP(typ='R',fr= "strain jump number 2",ang= "strain jump number 2",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0293), -e_saut_3=SIMP(typ='R',fr= "strain jump number 3",ang= "strain jump number 3",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0336), -e_saut_4=SIMP(typ='R',fr= "strain jump number 4",ang= "strain jump number 4",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0384), -e_saut_5=SIMP(typ='R',fr= "strain jump number 5",ang= "strain jump number 5",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.043), -e_saut_6=SIMP(typ='R',fr= "strain jump number 6",ang= "strain jump number 6",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.047), -e_saut_7=SIMP(typ='R',fr= "strain jump number 7",ang= "strain jump number 7",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0522), -e_saut_8=SIMP(typ='R',fr= "strain jump number 8",ang= "strain jump number 8",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=0.0566), -strain_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of output file",ang= "Name of output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='test_400detT.txt'), -fraction_output_file=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "Name of microstructural output file",ang= "Name of microstructural output file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='Rx_RV.txt'), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_transverse_cadeex2map -# ====================================================================== -C_TRANSVERSE_CADEEX2MAP_DATA=PROC(nom='C_TRANSVERSE_CADEEX2MAP_DATA',op=None, -UIinfo ={'groupes':('transverse',)}, -function=SIMP(typ='TXM',fr= "determines the CADEEX function used, the value is a string that must belong to the following list [connection_test, material] - connection_test : test the connection to CADEEX server - material : get data corresponding to a given material reference",ang= "determines the CADEEX function used, the value is a string that must belong to the following list [connection_test, material] - connection_test : test the connection to CADEEX server - material : get data corresponding to a given material reference",docu= "",statut= "o",into=['connection_test', 'material'],min=1,max=1,val_min='**',val_max='**',defaut=None), -function_connection_test=BLOC(condition="(function=='connection_test')", -CADEEX_machine=SIMP(typ='TXM',fr= "IP adress or name ot the machine where CADEEX server is installed.",ang= "IP adress or name ot the machine where CADEEX server is installed.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='cadeex.der.edf.fr'), -CADEEX_user=SIMP(typ='TXM',fr= "id in CADEEX data-base (NNI for EDF users). If you don't mention the id, it is automatically computed from your CALIBRE $USER environnement variable.",ang= "id in CADEEX data-base (NNI for EDF users). If you don't mention the id, it is automatically computed from your CALIBRE $USER environnement variable.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "the file path of the result",ang= "the file path of the result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -function_material=BLOC(condition="(function=='material')", -CADEEX_machine=SIMP(typ='TXM',fr= "IP adress or name ot the machine where CADEEX server is installed.",ang= "IP adress or name ot the machine where CADEEX server is installed.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut='cadeex.der.edf.fr'), -CADEEX_user=SIMP(typ='TXM',fr= "id in CADEEX data-base (NNI for EDF users). If you don't mention the id, it is automatically computed from your CALIBRE $USER environnement variable.",ang= "id in CADEEX data-base (NNI for EDF users). If you don't mention the id, it is automatically computed from your CALIBRE $USER environnement variable.",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -output_file_name=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "the file path of the result",ang= "the file path of the result",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -reference=SIMP(typ='TXM',fr= "reference name of material in CADEEX",ang= "reference name of material in CADEEX",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -simple=SIMP(typ=bool,fr= "determines in output is simple (i.e. short) or no",ang= "determines in output is simple (i.e. short) or no",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -), -) -# ====================================================================== -# Catalog entry for the MAP function : c_solver_concrete_asr -# ====================================================================== -C_SOLVER_CONCRETE_ASR_DATA=PROC(nom='C_SOLVER_CONCRETE_ASR_DATA',op=None, -UIinfo ={'groupes':('solver',)}, -sieve_curve_input_file=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the sieve curve file decribing aggregate classes",ang= "name of the sieve curve file decribing aggregate classes",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "name of the csv file containing mechanical results",ang= "name of the csv file containing mechanical results",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -matlab_filename=SIMP(typ=('Fichier', 'All Files (*)'),fr= "name of the file with matlab thesis code result for a sake of comparison",ang= "name of the file with matlab thesis code result for a sake of comparison",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -plot_curves=SIMP(typ=bool,fr= "plot detailed evolution of variables with respect to attack depth",ang= "plot detailed evolution of variables with respect to attack depth",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -trace_study=SIMP(typ=bool,fr= "plot detailed evolution of variables with respect to time",ang= "plot detailed evolution of variables with respect to time",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=False), -time_scale=SIMP(typ='R',fr= "conversion from attack depth to time with a square root law",ang= "conversion from attack depth to time with a square root law",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -number_of_time_steps=SIMP(typ='I',fr= "number of numerical time steps: is used to compute the size of the first time step, but then time step adaptation guides the actual number of time steps",ang= "number of numerical time steps: is used to compute the size of the first time step, but then time step adaptation guides the actual number of time steps",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -minimum_step_size=SIMP(typ='R',fr= "minimum step size for the attack depth, as fraction of the smallest aggregate size",ang= "minimum step size for the attack depth, as fraction of the smallest aggregate size",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -initial_attacked_fraction_of_biggest_grain=SIMP(typ='R',fr= "initial fraction of the biggest grains attacked",ang= "initial fraction of the biggest grains attacked",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-08,val_max='**',defaut=None), -final_attacked_fraction_of_biggest_grain=SIMP(typ='R',fr= "final fraction of biggest grains attacked",ang= "final fraction of biggest grains attacked",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max=1,defaut=None), -ring_young_modulus=SIMP(typ='R',fr= "Young modulus of ring",ang= "Young modulus of ring",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -ring_poisson=SIMP(typ='R',fr= "Poisson ratio of ring",ang= "Poisson ratio of ring",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -sample_radius=SIMP(typ='R',fr= "radius of the sample",ang= "radius of the sample",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -ring_thickness=SIMP(typ='R',fr= "thickness of the ring",ang= "thickness of the ring",docu= "",statut= "o",into=None,min=1,max=1,val_min=1e-20,val_max='**',defaut=None), -imposed_strain=SIMP(typ='TXM',fr= "imposed strain (must be given as a list of float, ex. [0 0 0 0 0 0])",ang= "imposed strain (must be given as a list of float, ex. [0 0 0 0 0 0])",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -imposed_stress=SIMP(typ='TXM',fr= "imposed stress (must be given as a list of float, ex. [0 0 0 0 0 0])",ang= "imposed stress (must be given as a list of float, ex. [0 0 0 0 0 0])",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -directions_of_imposed_stress=SIMP(typ='TXM',fr= "directions of imposed stress (list of 0 and 1, ex. [0 0 0 0 0 0], 0 means this component of the stress is not imposed, 1 means it is.)",ang= "directions of imposed stress (list of 0 and 1, ex. [0 0 0 0 0 0], 0 means this component of the stress is not imposed, 1 means it is.)",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -directions_of_rings=SIMP(typ='TXM',fr= "directions of strain imposed by the ring (must be given as a list of loat, ex. [0 0 0 0 0 0], 0 means there is no ring in this direction, 1 means there is. )",ang= "directions of strain imposed by the ring (must be given as a list of loat, ex. [0 0 0 0 0 0], 0 means there is no ring in this direction, 1 means there is. )",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -symmetry_of_solution=SIMP(typ='I',fr= "imposes the symmetry of the solution : -1 means no symmetry assumed, 0 means all 3 directions behave identically, 1 means axial symmetry around axis 1",ang= "imposes the symmetry of the solution : -1 means no symmetry assumed, 0 means all 3 directions behave identically, 1 means axial symmetry around axis 1",docu= "",statut= "o",into=None,min=1,max=1,val_min=-1,val_max='**',defaut=None), -aggregate_young_modulus=SIMP(typ='R',fr= "Young modulus of aggregates",ang= "Young modulus of aggregates",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -aggregate_poisson=SIMP(typ='R',fr= "Poisson ratio of aggregates",ang= "Poisson ratio of aggregates",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -cement_paste_young_modulus=SIMP(typ='R',fr= "Young modulus of cement paste ",ang= "Young modulus of cement paste ",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -cement_paste_poisson=SIMP(typ='R',fr= "Poisson ratio of cement paste",ang= "Poisson ratio of cement paste",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -itz_porosity=SIMP(typ='R',fr= "porosity of cement paste/aggregate interface",ang= "porosity of cement paste/aggregate interface",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -itz_thickness=SIMP(typ='R',fr= "thickness of cement paste/aggregate interface",ang= "thickness of cement paste/aggregate interface",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -gel_bulk_modulus=SIMP(typ='R',fr= "bulk modulus of asr gel",ang= "bulk modulus of asr gel",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -gel_expansion_factor=SIMP(typ='R',fr= "expansion factor of asr gel",ang= "expansion factor of asr gel",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -decohesion_energy=SIMP(typ='R',fr= "value of the decohesion energy between paste and aggregate",ang= "value of the decohesion energy between paste and aggregate",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -fracture_energy=SIMP(typ='R',fr= "value of the fracture energy in cracks",ang= "value of the fracture energy in cracks",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -crack_aspect_ratio=SIMP(typ='R',fr= "aspect ratio of cracks",ang= "aspect ratio of cracks",docu= "",statut= "o",into=None,min=1,max=1,val_min=0.0,val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : s_probabilistic_study -# ====================================================================== -S_PROBABILISTIC_STUDY_DATA=PROC(nom='S_PROBABILISTIC_STUDY_DATA',op=None, -UIinfo ={'groupes':('concrete',)}, -random_seed=SIMP(typ='I',fr= "Random seed",ang= "Random seed",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -#distributions=SIMP(typ='TXM',into=['Independent', 'Normal','hhh','hjk'],fr= "Distribution of each parameter",ang= "Distribution of each parameter",docu= "",statut= "o",min=1,max=6,val_min='**',val_max='**'), -distributions=SIMP(typ='I',into=[1,2,3,4],fr= "Distribution of each parameter",homo="SansOrdreNiDoublon",ang= "Distribution of each parameter",docu= "",statut= "o",min=1,max=6,val_min='**',val_max='**'), -#distributions=SIMP(typ='I',fr= "Distribution of each parameter",ang= "Distribution of each parameter",docu= "",statut= "o",min=3,max=6,val_min='**',val_max='**'), -#distributions=SIMP(typ='TXM',into=['Independent', 'Normal','hhh','hjk'],fr= "Distribution of each parameter",ang= "Distribution of each parameter",docu= "",statut= "o",min=1,max='**',val_min='**',val_max='**'), -dependancy_relationship=SIMP(typ='TXM',fr= "Dependancy relationship for input random parameters",ang= "Dependancy relationship for input random parameters",docu= "",statut= "f",into=['Independent', 'Normal'],min=1,max=1,val_min='**',val_max='**',defaut='Independent'), -corr_matrix_filename=SIMP(typ=('Fichier', 'All Files (*)'),fr= "Correlation matrix filename",ang= "Correlation matrix filename",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -size=SIMP(typ='I',fr= "Size of the experimental design",ang= "Size of the experimental design",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -design_type=SIMP(typ='TXM',fr= "Design type",ang= "Design type",docu= "",statut= "o",into=['MC', 'LHS', 'QMC_Sobol', 'QMC_Halton'],min=1,max=1,val_min='**',val_max='**',defaut=None), -template_file=SIMP(typ='TXM',fr= "Template filename (an empty string means no template)",ang= "Template filename (an empty string means no template)",docu= "",statut= "f",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "csv_output_filename readable with a text editor",ang= "csv_output_filename readable with a text editor",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -xml_output_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "xml_output_filename readable by OpenTURNS with input distribution information",ang= "xml_output_filename readable by OpenTURNS with input distribution information",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -computation_script=SIMP(typ=('Fichier', 'All Files (*)'),fr= "A Python script to be run",ang= "A Python script to be run",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_data_filename=SIMP(typ=('Fichier', 'All Files ()', 'Sauvegarde'),fr= "A CSV file that contains NxS values",ang= "A CSV file that contains NxS values",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -) -# ====================================================================== -# Catalog entry for the MAP function : s_polymers_study -# ====================================================================== -S_POLYMERS_STUDY_DATA=PROC(nom='S_POLYMERS_STUDY_DATA',op=None, -UIinfo ={'groupes':('polymers',)}, -model=SIMP(typ=bool,fr= "Determines if solver input will be created from a model.",ang= "Determines if solver input will be created from a model.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -applied_post=SIMP(typ=bool,fr= "Determines if a post treatement input will be created.",ang= "Determines if a post treatement input will be created.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -applied_graph=SIMP(typ=bool,fr= "Determines if a graphical treatement input will be created.",ang= "Determines if a graphical treatement input will be created.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_True_applied_post_True_applied_graph_True=BLOC(condition="(model==True and applied_post==True and applied_graph==True)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_True_applied_post_True_applied_graph_False=BLOC(condition="(model==True and applied_post==True and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_True_applied_post_False_applied_graph_True=BLOC(condition="(model==True and applied_post==False and applied_graph==True)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_True_applied_post_False_applied_graph_False=BLOC(condition="(model==True and applied_post==False and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -job=SIMP(typ='TXM',fr= "type of treatement",ang= "type of treatement",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -solver_input_filename=SIMP(typ='TXM',fr= "Name of the input file given to the solver.",ang= "Name of the input file given to the solver.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut='c_solver_stiff_ode_1d.input'), -computation_parameters=SIMP(typ='TXM',fr= "List of computation parameters.",ang= "List of computation parameters.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -computation_parameter_names=SIMP(typ='TXM',fr= "List of computation parameter names",ang= "List of computation parameter names",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -non_Arrhenius_coef_names=SIMP(typ='TXM',fr= "List of parameters which do not follow Arrhenius law.",ang= "List of parameters which do not follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_value_names=SIMP(typ='TXM',fr= "List of the equations unkown parameter.",ang= "List of the equations unkown parameter.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -initial_values=SIMP(typ='TXM',fr= "List of the equations unkown initial values.",ang= "List of the equations unkown initial values.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -equation=SIMP(typ='TXM',fr= "List of equations number which is be used in the model.",ang= "List of equations number which is be used in the model.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_nodes=SIMP(typ='TXM',fr= "List of nodes where the boundary conditions will be applied.",ang= "List of nodes where the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_parameter=SIMP(typ='TXM',fr= "List of species to whom the boundary conditions will be applied.",ang= "List of species to whom the boundary conditions will be applied.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_types=SIMP(typ='TXM',fr= "List of type of boundary conditions.",ang= "List of type of boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -boundary_condition_values=SIMP(typ='TXM',fr= "List of values for the defiend boundary conditions.",ang= "List of values for the defiend boundary conditions.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_True_applied_graph_True=BLOC(condition="(model==False and applied_post==True and applied_graph==True)", -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_True_applied_graph_False=BLOC(condition="(model==False and applied_post==True and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -model_reference_number=SIMP(typ='I',fr= "Reference number of the model in data-base",ang= "Reference number of the model in data-base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -csv_output_file_name=SIMP(typ='TXM',fr= "define the output file name.",ang= "define the output file name.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -post_equations=SIMP(typ='TXM',fr= "List of post treatment equations.",ang= "List of post treatment equations.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -integrate=SIMP(typ='TXM',fr= "List of boolean which define if the equation have to be intergrated.",ang= "List of boolean which define if the equation have to be intergrated.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -post_treatment_names=SIMP(typ='TXM',fr= "List of post treatment names.",ang= "List of post treatment names.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -constant=SIMP(typ='TXM',fr= "List of cinetic parameter names.",ang= "List of cinetic parameter names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -forced_param=SIMP(typ='TXM',fr= "List of cinetic parameter names with a different value than the one used for the solver computation.",ang= "List of cinetic parameter names with a different value than the one used for the solver computation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -prerequisite=SIMP(typ='TXM',fr= "List of parameter list which are prerequisite for the post treatement equation.",ang= "List of parameter list which are prerequisite for the post treatement equation.",docu= "",statut= "o",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_names_post=SIMP(typ='TXM',fr= "List of parameter names which follow Arrhenius law.",ang= "List of parameter names which follow Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_A=SIMP(typ='TXM',fr= "List of pre exponetial parameters for Arrhenius law.",ang= "List of pre exponetial parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -Arrhenius_Ea=SIMP(typ='TXM',fr= "List of activation energy parameters for Arrhenius law.",ang= "List of activation energy parameters for Arrhenius law.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -data_base=SIMP(typ='TXM',fr= "Name of the data base",ang= "Name of the data base",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_False_applied_graph_True=BLOC(condition="(model==False and applied_post==False and applied_graph==True)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -model_False_applied_post_False_applied_graph_False=BLOC(condition="(model==False and applied_post==False and applied_graph==False)", -folder_output=SIMP(typ='TXM',fr= "Name of the forder where output is written.",ang= "Name of the forder where output is written.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -study_name=SIMP(typ='TXM',fr= "Name of the computation.",ang= "Name of the computation.",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -graphic_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_graphic_name=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_name=SIMP(typ='TXM',fr= "List of experimental data names.",ang= "List of experimental data names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -experimental_file=SIMP(typ='TXM',fr= "List of experimental data files.",ang= "List of experimental data files.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_names=SIMP(typ='TXM',fr= "List of graphic names.",ang= "List of graphic names.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_nodes=SIMP(typ='TXM',fr= "List of nodes.",ang= "List of nodes.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_times=SIMP(typ='TXM',fr= "List of time.",ang= "List of time.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -graphic_space_log=SIMP(typ='TXM',fr= "List of boolean.",ang= "List of boolean.",docu= "",statut= "f",into=None,min=1,max='**',val_min='**',val_max='**',defaut=None), -), -) -# ====================================================================== -# Catalog entry for the MAP function : s_scc_3d_analysis -# ====================================================================== -S_SCC_3D_ANALYSIS_DATA=PROC(nom='S_SCC_3D_ANALYSIS_DATA',op=None, -UIinfo ={'groupes':('scc',)}, -calculation=SIMP(typ='TXM',fr= "The calculation type",ang= "The calculation type",docu= "",statut= "o",into=['altitude', 'thickness'],min=1,max=1,val_min='**',val_max='**',defaut='altitude'), -surface_type=SIMP(typ='TXM',fr= "nature of the input surface, select how it is interpreted by the component",ang= "nature of the input surface, select how it is interpreted by the component",docu= "",statut= "o",into=['rectangle_grid', 'crack_fit'],min=1,max=1,val_min='**',val_max='**',defaut='rectangle_grid'), -post=SIMP(typ='TXM',fr= "the value must be included into the following list: CDF (Cumulative Density Function), PDF (Probability Density Function), dgb (distance to grain boundary graph : needs a distance_grain_boundary column in the data file), quantification (computes the optimised distribution in a family of distributions and estimates its parameter)",ang= "the value must be included into the following list: CDF (Cumulative Density Function), PDF (Probability Density Function), dgb (distance to grain boundary graph : needs a distance_grain_boundary column in the data file), quantification (computes the optimised distribution in a family of distributions and estimates its parameter)",docu= "",statut= "o",into=['CDF', 'PDF', 'dgb', 'quantification'],min=1,max=1,val_min='**',val_max='**',defaut='PDF'), -statistics=SIMP(typ=bool,fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -spectrum_analysis=SIMP(typ=bool,fr= "Not documented",ang= "Not documented",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=True), -calculation_altitude_surface_type_rectangle_grid_post_CDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='CDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_CDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='CDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_CDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='CDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_CDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='CDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_PDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='PDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_PDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='PDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_PDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='PDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_PDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='PDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_dgb_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='dgb' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_dgb_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='dgb' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_dgb_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='dgb' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_dgb_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='dgb' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_quantification_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='quantification' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_quantification_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='quantification' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_quantification_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='quantification' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_rectangle_grid_post_quantification_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='rectangle_grid' and post=='quantification' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_CDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='CDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_CDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='CDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_CDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='CDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_CDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='CDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_PDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='PDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_PDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='PDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_PDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='PDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_PDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='PDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_dgb_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='dgb' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_dgb_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='dgb' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_dgb_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='dgb' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_dgb_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='dgb' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_quantification_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='quantification' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_quantification_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='quantification' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_quantification_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='quantification' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_altitude_surface_type_crack_fit_post_quantification_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='altitude' and surface_type=='crack_fit' and post=='quantification' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_CDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='CDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_CDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='CDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_CDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='CDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_CDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='CDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_PDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='PDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_PDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='PDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_PDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='PDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_PDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='PDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_dgb_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='dgb' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_dgb_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='dgb' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_dgb_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='dgb' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_dgb_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='dgb' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_quantification_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='quantification' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_quantification_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='quantification' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_quantification_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='quantification' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_rectangle_grid_post_quantification_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='rectangle_grid' and post=='quantification' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_CDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='CDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_CDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='CDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_CDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='CDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_CDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='CDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_PDF_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='PDF' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_PDF_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='PDF' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_PDF_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='PDF' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_PDF_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='PDF' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_dgb_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='dgb' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_dgb_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='dgb' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_dgb_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='dgb' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_dgb_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='dgb' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_quantification_statistics_True_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='quantification' and statistics==True and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_quantification_statistics_True_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='quantification' and statistics==True and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_quantification_statistics_False_spectrum_analysis_True=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='quantification' and statistics==False and spectrum_analysis==True)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -calculation_thickness_surface_type_crack_fit_post_quantification_statistics_False_spectrum_analysis_False=BLOC(condition="(calculation=='thickness' and surface_type=='crack_fit' and post=='quantification' and statistics==False and spectrum_analysis==False)", -direction=SIMP(typ='I',fr= "The direction type",ang= "The direction type",docu= "",statut= "o",into=[1, -1, 2, -2, 3, -3],min=1,max=1,val_min='**',val_max='**',defaut=1), -alt_min=SIMP(typ='I',fr= "The minimum altitude",ang= "The minimum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -alt_max=SIMP(typ='I',fr= "The maximum altitude",ang= "The maximum altitude",docu= "",statut= "f",into=None,min=1,max=1,val_min=0,val_max='**',defaut=None), -input_grid_field_raw=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field data file",ang= "field data file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -input_grid_field_raw_metadata=SIMP(typ=('Fichier', 'All Files (*)'),fr= "field metadata file",ang= "field metadata file",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -nb_segments=SIMP(typ='I',fr= "number of 1D segments for each elementary face of the surface in the resulting mesh",ang= "number of 1D segments for each elementary face of the surface in the resulting mesh",docu= "",statut= "o",into=None,min=1,max=1,val_min='**',val_max='**',defaut=None), -), -) - -# This text should be dump into a file named 'map_cata.py' to be -# copied in the eficas directory $EFICAS_ROOT/MAP/. -# Then run 'qtEficas_map.py -s maquettemap'. The key name -# maquettemap is the name defined in prefs_MAP.py diff --git a/MAP/prefs.py b/MAP/prefs.py deleted file mode 100644 index 549c9696..00000000 --- a/MAP/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code='MAP' -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/MAP/prefs_MAP.py b/MAP/prefs_MAP.py deleted file mode 100644 index f134bd1d..00000000 --- a/MAP/prefs_MAP.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -import os, sys -# Les variables pouvant positionnees sont : -#print "import des prefs de MAP" - -# repIni sert a localiser le fichier -# initialdir sert comme directory initial des QFileDialog -# positionnee a repin au debut mise a jour dans configuration -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') - - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' -encoding='iso-8859-1' - -# Acces a la documentation -path_doc = os.path.join(repIni,'Doc') -exec_acrobat = "/usr/bin/xpdf" -savedir = os.environ['HOME'] -affiche = "groupe" -taille = 1400 - -rep_cata=os.path.dirname(os.path.abspath(__file__)) - -catalogues=( -# ('MAP','Solver',os.path.join(rep_cata,'cata_solver1.py'),'solver1'), -# ('MAP','Test',os.path.join(rep_cata,'cata_s_test03.py'),'s_test03'), -# ('MAP','Exemple python',os.path.join(rep_cata,'cata_c_transverse_empty_python.py'),'c_transverse_empty_python'), -# ('MAP','Image 3D',os.path.join(rep_cata,'cata_c_image_3d_altitude_thickness.py'),'c_image_3d_altitude_thickness'), -# ('MAP','Table FFT',os.path.join(rep_cata,'cata_c_post_table_fft.py'), 'c_post_table_fft'), -# ('MAP','PRE Mesh',os.path.join(rep_cata,'cata_c_pre_interface_mesh.py'), 'c_pre_interface_mesh'), -# ('MAP','Analyse 3D',os.path.join(rep_cata,'cata_s_scc_3d_analysis.py'), 's_scc_3d_analysis'), - ('MAP','Map',os.path.join(rep_cata,'mapcata.py'), 'essai'), -) - -closeAutreCommande = True -closeFrameRechercheCommande = True - diff --git a/MAP/properties.py b/MAP/properties.py deleted file mode 100644 index ce5f1a2e..00000000 --- a/MAP/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "7.1.0" -date = "23/04/2003" diff --git a/MAP/qtEficas_map.py b/MAP/qtEficas_map.py deleted file mode 100755 index e02b8c74..00000000 --- a/MAP/qtEficas_map.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour MAP -""" -# Modules Python -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/MAP/style.py b/MAP/style.py deleted file mode 100644 index d5961788..00000000 --- a/MAP/style.py +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# Necessaire pour compatibilite avec Aster diff --git a/MED/CataAZ.py b/MED/CataAZ.py deleted file mode 100755 index b6e6494e..00000000 --- a/MED/CataAZ.py +++ /dev/null @@ -1,210 +0,0 @@ -# coding: utf-8 -import types -from Accas import * - -class grno(GEOM): - """ - Classe servant à définir le nom d'un groupe de noeuds dans le fichier de commande - En clair : un chaine de longueur 24. - """ - def __convert__(cls,valeur): - """ - Fonction de verification de la longueur de la chaine - """ - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 24: - return valeur.strip() - raise ValueError(_(u'On attend une chaine de caractères (de longueur <= 24).')) - __convert__ = classmethod(__convert__) - -class grma(GEOM): - """ - Classe servant à définir le nom d'un groupe de mailles dans le fichier de commande - En clair : un chaine de longueur 24. - """ - def __convert__(cls,valeur): - """ - Fonction de verification de la longueur de la chaine - """ - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 24: - return valeur.strip() - raise ValueError(_(u'On attend une chaine de caractères (de longueur <= 24).')) - __convert__ = classmethod(__convert__) - - -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class ObjetUtilisateur(ASSD): pass - - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - ) - - -EXAMPLE = PROC (nom = 'EXAMPLE', - op=None, - - TITRE = SIMP(statut ='o', typ = 'TXM', defaut = 'Mon Etude',), - TITRE2 = SIMP(statut ='f', typ = 'TXM', ), -) -CREEOBJET = OPER (nom="CREEOBJET", - op=None, - sd_prod=ObjetUtilisateur, - UIinfo={"groupes":("Group1",)}, - - TITLE = SIMP(statut ='o', typ = 'TXM', defaut = '',), - RB1 = SIMP(statut ='o', typ = 'I', into = [1,2,3],), - RB2 = SIMP(statut ='o', typ = 'I', into = [1,2,3,4,5,6,],), - CB = SIMP(statut ='o', typ = 'I', into = [1,2,3,4,5,6,7,8,9],), - MBool = SIMP(statut ='o', typ = bool,), - MFile = SIMP(statut ='o', typ = ('Fichier','All Files (*)')), - MDir = SIMP(statut ='o', typ = 'Repertoire'), - Reel1 = SIMP(statut ='o', typ = 'R'), - Compl = SIMP(statut ='o', typ = 'C'), - Tuple2 = SIMP(statut ='o', typ = Tuple(2), validators=VerifTypeTuple(('R','R'))), - Tuple3 = SIMP(statut ='o', typ = Tuple(3), validators=VerifTypeTuple(('R','R','R'))), - InSalome = SIMP(statut ='o', typ = SalomeEntry), - - LTITLE = SIMP(statut ='o', typ = 'TXM', max='**', defaut = '',), - LRB2 = SIMP(statut ='o', typ = 'I', max = '**', into = [1,2,3,4,5,6,],), - LCB = SIMP(statut ='o', typ = 'I', max = '**', homo="SansOrdreNiDoublon", into = [1,2,3,4,5,6,7,8,9],), - LReel1 = SIMP(statut ='o', typ = 'R', max = "**"), - LCompl = SIMP(statut ='o', typ = 'C', max = "**"), - LTuple2 = SIMP(statut ='o', typ = Tuple(2), validators=VerifTypeTuple(('R','R')), max = "**"), - LTuple3 = SIMP(statut ='o', typ = Tuple(3), validators=VerifTypeTuple(('R','R','R')), max = "**"), - LInSalome = SIMP(statut ='o', typ = SalomeEntry, max="**"), - - LREEL = SIMP(statut ='f', typ = 'R', max='**', defaut = '',), -) - -UTILISEOBJET = PROC (nom="UTILISEOBJET", - op=None, - UIinfo={"groupes":("Group1",)}, - Obj = SIMP (statut ='o', typ = ObjetUtilisateur,) -) - -ESSAI_FACT=OPER(nom="ESSAI_FACT", - sd_prod=ObjetUtilisateur, - op=None, - fr="Affectation de caractéristiques à des éléments de structure", - regles = (AU_MOINS_UN('Poutre','Barre'), - EXCLUS('Discret','Discret_2D'),), - Info = SIMP(statut='f',typ='I', defaut= 1 ,into=(1,2) ), - Verif = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=("Maille","Noeud") ), -# -# ============================================================================== - Poutre = FACT(statut= 'f',max= '**', - Section = SIMP(statut= 'o',typ= 'TXM' ,into= ("GENERALE","RECTANGLE","CERCLE") ), - - b_generale = BLOC(condition = " Section == 'GENERALE'", - regles = (UN_PARMI('Maille','GroupeMailles'),), - Maille = SIMP(statut= 'f',typ= 'TXM' ,validators= NoRepeat(),max= '**'), - GroupeMailles = SIMP(statut= 'f',typ= grma,validators= NoRepeat(),max= '**'), - - Vari = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE"),defaut= "CONSTANT"), - - b_constant = BLOC(condition = "Vari == 'CONSTANT'", - regles = (PRESENT_ABSENT('Table','Cara'), - PRESENT_PRESENT('Table','Nom'), - PRESENT_PRESENT('Cara','Valeur'),), - Table = SIMP(statut= 'f',typ='TXM'), - Nom = SIMP(statut= 'f',typ= 'TXM'), - Cara = SIMP(statut= 'o',typ= 'TXM',min= 4 ,max= 5, - fr= "A,IY,IZ,JX sont des paramètres obligatoires", - validators= [NoRepeat(), Compulsory(['A','IY','IZ','JX'])], - into= ("A","IY","IZ","AY","AZ","EY","EZ","JX","RY","RZ","RT","JG","IYR2","IZR2","AI") ), - Valeur = SIMP(statut= 'f',typ= 'R',min= 4 ,max= 15), - ), - ), - b_rectangle = BLOC(condition = "Section == 'RECTANGLE'", - regles = (UN_PARMI('Maille','GroupeMailles'),), - Maille = SIMP(statut= 'f',typ= 'TXM' ,validators= NoRepeat(),max= '**'), - GroupeMailles = SIMP(statut= 'f',typ= grma,validators= NoRepeat(),max= '**'), - Vari = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE","AFFINE"),defaut= "CONSTANT"), - b_constant = BLOC(condition = "Vari == 'CONSTANT'", - Cara = SIMP(statut= 'o',typ= 'TXM',min= 1 ,max= 4, - validators = [NoRepeat(), - OrVal( [AndVal( [Compulsory(['H']),Absent(['HY','HZ','EPY','EPZ'])] ), - AndVal( [Compulsory(['HY','HZ']),Together(['EPY','EPZ']),Absent(['H','EP'])] )] )], - into= ("H","EP", "HY","HZ","EPY","EPZ"),), - Valeur = SIMP(statut= 'o',typ= 'R',min= 1 ,max= 4), - ), - - Metrique = SIMP(statut= 'f',typ= 'TXM',defaut= "NON",into= ("OUI","NON") ), - Fcx = SIMP(statut= 'f',typ= 'R'), - Tuyau = SIMP(statut= 'f',typ= 'I',val_max= 10,defaut= 3), - ), - ), -# -# ============================================================================== - Barre = FACT(statut='f',max='**', - regles = (UN_PARMI('Maille','GroupeMailles'),), - Maille = SIMP(statut='f',typ='TXM' ,validators=NoRepeat(),max='**'), - GroupeMailles = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - Section = SIMP(statut='o',typ='TXM',into=("GENERALE","RECTANGLE","CERCLE") ), - b_generale = BLOC(condition = "Section=='GENERALE'", - regles = (PRESENT_ABSENT('Table','Cara'), - PRESENT_PRESENT('Table','Nom'), - PRESENT_PRESENT('Cara','Valeur')), - Table = SIMP(statut='f',typ='TXM'), - Nom = SIMP(statut='f',typ='TXM',validators=LongStr(1,24) ), - Cara = SIMP(statut='f',typ='TXM',into=("A",) ), - Valeur = SIMP(statut='f',typ='R',min=1,max=1 ), - ), - b_rectangle = BLOC(condition = "Section=='RECTANGLE'", - Cara = SIMP(statut='o',typ='TXM', min=1, max=4, - validators = [NoRepeat(), - OrVal( [AndVal( [Compulsory(['H']),Absent(['HY','HZ','EPY','EPZ'])] ), - AndVal( [Compulsory(['HY','HZ']),Together(['EPY','EPZ']),Absent(['H','EP'])] )] )], - into=("H","EP","HZ","HY","EPY","EPZ"), ), - Valeur = SIMP(statut='o',typ='R',min=1,max=4 ), ), - b_cercle = BLOC(condition = "Section=='CERCLE'", - Cara = SIMP(statut='o',typ='TXM',validators=[NoRepeat(),Compulsory(['R'])],min=1,max=2,into=("R","EP") ), - Valeur = SIMP(statut='o',typ='R',min=1,max=2 ), ), - ), -# -# ============================================================================== - Discret = FACT(statut='f',max='**', - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - AMOR_HYST = SIMP(statut='f',typ='R' ), - SYME = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - b_SYME_OUI = BLOC(condition="SYME=='OUI'", - fr="SYMETRIQUE: Affectation de matrices de rigidité, de masse ou d'amortissement à des mailles ou noeuds", - Cara = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1,defaut="None", - into = ("K_T_D_N", "K_T_D_L", "K_TR_D_N", "K_TR_D_L", "K_T_N", "K_T_L", "K_TR_N", "K_TR_L", - "M_T_D_N", "M_T_D_L", "M_TR_D_N", "M_TR_D_L", "M_T_N", "M_T_L", "M_TR_N", "M_TR_L", - "A_T_D_N", "A_T_D_L", "A_TR_D_N", "A_TR_D_L", "A_T_N", "A_T_L", "A_TR_N", "A_TR_L",),), - # Affection des caractéristiques de RIGIDITE/AMORTISSEMENT/MASSE - b_AK_T_D_N = BLOC(condition = "((Cara=='K_T_D_N')or(Cara=='A_T_D_N'))", - fr = "Noeud: 3 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('Maille','GroupeMailles','Noeud','GROUP_NO'),), - Noeud = SIMP(statut='f',typ='TXM' ,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - Maille = SIMP(statut='f',typ='TXM' ,validators=NoRepeat(),max='**'), - GroupeMailles = SIMP(statut='f',typ=grma,validators=NoRepeat(),homo='SansOrdreNiDoublon',max='**'), - Valeur = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - ), - ), -# -# ============================================================================== - Discret_2D = FACT(statut='f',max='**', - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - AMOR_HYST = SIMP(statut='f',typ='R' ), - SYME = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - ), -) - - diff --git a/MED/Elementary_Lists_52996_Cata.py b/MED/Elementary_Lists_52996_Cata.py deleted file mode 100644 index f3cc11c8..00000000 --- a/MED/Elementary_Lists_52996_Cata.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -from Accas import * - -#class myMesh(ASSD): pass -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(#AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('ALL_LISTS'), - #AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN') - ) -) - -class grma(): - def __convert__(cls,valeur): - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 24 : #and ("item" in (valeur.strip())) - return valeur.strip() - raise ValueError("Name length does not contain \"test\" and is longer than allowed, 24") - __convert__ = classmethod(__convert__) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=True #change 'o' to 'f' of some widgets in the loop -#empty_defauts=True - -def myBloc(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - defauts0=["","",True,"'phenomena_"+myNum+"'",mySeveral(list_item_body,2)] #presence of default values - defauts_mask=[False,False,True,True,True] #switch off defaults of some types - defauts=list() - for id0 in range(len(defauts0)): - if defauts_mask[id0]: - item=", defaut="+str(defauts0[id0]) - else: - item="" - defauts.append(item) - #print defauts - - opt=['o','o','o','o','o'] #initial default obligation of items in FACT groups - #make different widgets optional, one by one: - myLen=len(opt) - if switch_facultatif: - make_f=(num)%myLen - opt[make_f]='f' - #print opt - #if empty_defauts: - # clean_defaut=num%myLen - - myString="BLOC(condition=\"MESH==\'mesh_"+myNum+"'\""+defauts[0]+", AFFE=FACT(statut='"+opt[1]+"'"+defauts[1]+", ALL=SIMP(statut='"+opt[2]+"', typ=bool,ang='ALL "+myNum+" help EN'"+defauts[2]+"),PHENOMENA=SIMP(statut='"+opt[3]+"',typ='TXM',into=mySeveral('phenomena_',"+str(num)+")"+defauts[3]+"), MODELISATION=SIMP(statut='"+opt[4]+"',typ='TXM', min=2,max='**',into=mySeveral('"+list_item_body+"',"+str(num*4)+")"+defauts[4]+", ang='Input "+myNum+" list EN', fr='Input "+myNum+" list FR'),),)" - print myString - return eval(myString) - -ALL_LISTS=OPER(nom="ALL_LISTS",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - ang="Model mesh definition EN", - reentrant='n', - #regles=(AU_MOINS_UN('LIST_O_CHECKTEXT','LIST_F_CHECKTEXT','LIST_O_ANY','LIST_F_ANY')), - - #LIST_O_NOREPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,validators=NoRepeat(),min=3, max='**'), - #LIST_F_NOREPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,validators=NoRepeat(),min=3, max='**'), - #LIST_F_REPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,min=3, max='**'), - #LIST_O_REPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,min=3, max='**'), - - #LIST_F_NOREPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',validators=NoRepeat(),min=3, max='**'), - #LIST_O_NOREPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3,validators=NoRepeat(), max='**'), - #LIST_O_REPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3, max='**'), - #LIST_F_REPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',min=3, max='**'), - - #LIST_O_NOREPEAT_CHECKTEXT_ADD=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**'), - #LIST_F_REPEAT_ANYTEXT_ADD=SIMP(statut='f',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**'), - - LIST_O_NOREPEAT_CHECKTEXT_ADD_NODEFAUT=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03","item04","text04",), min=3, max='**'), - #LIST_O_NOREPEAT_CHECKTEXT_ADD_DEFAUT=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), defaut=('item01','item02','item03'), min=3, max='**'), -) - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','ALL_LISTS','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','ALL_LISTS','FIN') diff --git a/MED/Elementary_Lists_53000_Cata.py b/MED/Elementary_Lists_53000_Cata.py deleted file mode 100644 index 0dbba473..00000000 --- a/MED/Elementary_Lists_53000_Cata.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 -from Accas import * - -#class myMesh(ASSD): pass -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(#AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('ALL_LISTS'), - #AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN') - ) -) - - -ALL_LISTS=OPER(nom="ALL_LISTS",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - ang="Model mesh definition EN", - reentrant='n', - LIST_O_NOREPEAT_CHECKTEXT_ADD_DEFAUT=SIMP(statut='o',typ="TXM",validators=NoRepeat(), - into=("item01","text01","item02","text02","item03","text03","item04","text04","item05","text05",), - defaut=('item01','item02','item03'), - homo="SansOrdreNiDoublon", - min=3, max='**'), - - #regles=(AU_MOINS_UN('LIST_O_CHECKTEXT','LIST_F_CHECKTEXT','LIST_O_ANY','LIST_F_ANY')), - - #LIST_O_NOREPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,validators=NoRepeat(),min=3, max='**'), - #LIST_F_NOREPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,validators=NoRepeat(),min=3, max='**'), - #LIST_F_REPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,min=3, max='**'), - #LIST_O_REPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,min=3, max='**'), - - #LIST_F_NOREPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',validators=NoRepeat(),min=3, max='**'), - #LIST_O_NOREPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3,validators=NoRepeat(), max='**'), - #LIST_O_REPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3, max='**'), - #LIST_F_REPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',min=3, max='**'), - - #LIST_O_NOREPEAT_CHECKTEXT_ADD=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**'), - #LIST_F_REPEAT_ANYTEXT_ADD=SIMP(statut='f',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**'), - - #LIST_O_NOREPEAT_CHECKTEXT_ADD_NODEFAUT=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03","item04","text04",), min=3, max='**'), - - - #LIST_O_SANSORDRENODOUBLON_CHECKTEXT_DEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), defaut=('item01','item02','item03'), min=3, max='**'), -) - - - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','ALL_LISTS','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','ALL_LISTS','FIN') diff --git a/MED/Elementary_Lists_53013_Cata.py b/MED/Elementary_Lists_53013_Cata.py deleted file mode 100644 index cf371ff2..00000000 --- a/MED/Elementary_Lists_53013_Cata.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 -from Accas import * - -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(#AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('ALL_LISTS'), - #AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN') - ) -) - -class grma(): - def __convert__(cls,valeur): - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 12 and ("item" in (valeur.strip()).lower()): # - return valeur.strip() - raise ValueError("Name length does not contain \"test\" and is longer than allowed, 12") - __convert__ = classmethod(__convert__) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -ALL_LISTS=OPER(nom="ALL_LISTS",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - fr="All lists definition FR", - ang="All lists definition EN", - reentrant='n', - #regles=(AU_MOINS_UN('LIST_O_CHECKTEXT','LIST_F_CHECKTEXT','LIST_O_ANY','LIST_F_ANY')), - - L1_LIST_O_NOREPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,validators=NoRepeat(),min=3, max='**', ang='Obligatory, No Repetitions, checked text, EN'), - L2_LIST_F_NOREPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,validators=NoRepeat(),min=3, max='**', ang='Optional, No Repetitions, checked text, EN'), - L3_LIST_F_REPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,min=3, max='**',ang='Optional, Allowed Repetitions, checked text, EN'), - L4_LIST_O_REPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,min=3, max='**',ang='Obligatory, Allowed Repetitions, checked text, EN'), - - L5_LIST_F_NOREPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',validators=NoRepeat(),min=3, max='**',ang='Optional, No Repetitions, any text, EN'), - L6_LIST_O_NOREPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3,validators=NoRepeat(), max='**',ang='Obligatory, No Repetitions, any text, EN'), - L7_LIST_O_REPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3, max='**',ang='Obligatory, Allowed Repetitions, any text, EN'), - L8_LIST_F_REPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',min=3, max='**',ang='Optional, Allowed Repetitions, any text, EN'), - - L9_LIST_O_NOREPEAT_CHECKTEXT_ADD=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With spare list, Obligatory, No Repetitions, checked text, EN',), - L10_LIST_F_REPEAT_ANYTEXT_ADD=SIMP(statut='f',typ='TXM', into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With spare list, Optional, Allowed Repetitions, any text, EN'), - L11_LIST_O_REPEAT_CHECKTEXT_ADD_NODEFAUT=SIMP(statut='o',typ=grma, into=("item01","text01","item02","text02","item03","text03","item04","text04"),ang='With spare list, obligatory, No Repetitions, checked text, no default values, EN', min=3, max='**'), - L12_LIST_O_NOREPEAT_CHECKTEXT_ADD_DEFAUT=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03","item04","text04","item05","text05",), defaut=('item01','item02','item03'), min=3, max='**',ang='With spare list, Obligatory, No Repetitions, checked text, with default values EN'), - - L13_LIST_F_SANSORDRENODOUBLON_ANYTEXT_NODEFAUT=SIMP(statut='f',typ='TXM',homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With check boxes, Optional, any text, no defaults, EN'), - L14_LIST_O_SANSORDRENODOUBLON_CHECKTEXT_NODEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With check boxes, Obligatory, checked text, EN'), - L15_LIST_O_SANSORDRENODOUBLON_CHECKTEXT_DEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03","item02","text02","item01","text01",), defaut=('item01','item02','item03'), min=3, max='**', ang='With check boxes, Obligatory, checked text, with default values, EN'), -) - - - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','ALL_LISTS','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','ALL_LISTS','FIN') diff --git a/MED/Elementary_Lists_53036_Cata.py b/MED/Elementary_Lists_53036_Cata.py deleted file mode 100644 index 5cdc0faa..00000000 --- a/MED/Elementary_Lists_53036_Cata.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 -from Accas import * - -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(#AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('ALL_LISTS'), - #AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN') - ) -) - -class grma(): - def __convert__(cls,valeur): - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 12 and ("item" in (valeur.strip()).lower()): # - return valeur.strip() - raise ValueError("Name length does not contain \"item\" and is longer than allowed, 12") - __convert__ = classmethod(__convert__) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -ALL_LISTS=OPER(nom="ALL_LISTS",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - fr="All lists definition FR", - ang="All lists definition EN", - reentrant='n', - #regles=(AU_MOINS_UN('LIST_O_CHECKTEXT','LIST_F_CHECKTEXT','LIST_O_ANY','LIST_F_ANY')), - - L1_LIST_O_NOREPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,validators=NoRepeat(),min=3, max='**', ang='Obligatory, No Repetitions, checked text, EN'), - L2_LIST_F_NOREPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,validators=NoRepeat(),min=3, max='**', ang='Optional, No Repetitions, checked text, EN'), - L3_LIST_F_REPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,min=3, max='**',ang='Optional, Allowed Repetitions, checked text, EN'), - L4_LIST_O_REPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,min=3, max='**',ang='Obligatory, Allowed Repetitions, checked text, EN'), - - L5_LIST_F_NOREPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',validators=NoRepeat(),min=3, max='**',ang='Optional, No Repetitions, any text, EN'), - L6_LIST_O_NOREPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3,validators=NoRepeat(), max='**',ang='Obligatory, No Repetitions, any text, EN'), - L7_LIST_O_REPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3, max='**',ang='Obligatory, Allowed Repetitions, any text, EN'), - L8_LIST_F_REPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',min=3, max='**',ang='Optional, Allowed Repetitions, any text, EN'), - - L9_LIST_O_NOREPEAT_CHECKTEXT_ADD=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With spare list, Obligatory, No Repetitions, checked text, EN',), - L10_LIST_F_REPEAT_ANYTEXT_ADD=SIMP(statut='f',typ='TXM', into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With spare list, Optional, Allowed Repetitions, any text, EN'), - L11_LIST_O_REPEAT_CHECKTEXT_ADD_NODEFAUT=SIMP(statut='o',typ=grma, into=("item01","text01","item02","text02","item03","text03","item04","text04"),ang='With spare list, obligatory, No Repetitions, checked text, no default values, EN', min=3, max='**'), - L12_LIST_O_NOREPEAT_CHECKTEXT_ADD_DEFAUT=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03","item04","text04","item05","text05",), defaut=('item01','item02','item03'), min=3, max='**',ang='With spare list, Obligatory, No Repetitions, checked text, with default values EN'), - - L13_LIST_F_SANSORDRENODOUBLON_ANYTEXT_NODEFAUT=SIMP(statut='f',typ='TXM',homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With check boxes, Optional, any text, no defaults, EN'), - L14_LIST_O_SANSORDRENODOUBLON_CHECKTEXT_NODEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With check boxes, Obligatory, checked text, EN'), - L15_LIST_O_SANSORDRENODOUBLON_CHECKTEXT_NOREPEAT_DEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03","item03","text03","item02","text02","item01","text01",), defaut=('item01','item02','item03'), min=3, max='**', ang='With check boxes, Obligatory, checked text, with default values, EN'), #validators=NoRepeat(), -) - - - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','ALL_LISTS','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','ALL_LISTS','FIN') diff --git a/MED/Elementary_Lists_Cata.py b/MED/Elementary_Lists_Cata.py deleted file mode 100755 index 92d20b35..00000000 --- a/MED/Elementary_Lists_Cata.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 -from Accas import * - -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(#AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('ALL_LISTS'), - #AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN') - ) -) - -class grma(): - def __convert__(cls,valeur): - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 12 and ("item" in (valeur.strip()).lower()): # - return valeur.strip() - raise ValueError("Name length does not contain \"test\" and is longer than allowed, 12") - __convert__ = classmethod(__convert__) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -ALL_LISTS=OPER(nom="ALL_LISTS",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - fr="All lists definition FR", - ang="All lists definition EN", - reentrant='n', - #regles=(AU_MOINS_UN('LIST_O_CHECKTEXT','LIST_F_CHECKTEXT','LIST_O_ANY','LIST_F_ANY')), - - L1_LIST_O_NOREPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,validators=NoRepeat(),min=3, max='**', ang='Obligatory, No Repetitions, checked text, EN'), - L2_LIST_F_NOREPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,validators=NoRepeat(),min=3, max='**', ang='Optional, No Repetitions, checked text, EN'), - L3_LIST_F_REPEAT_CHECKTEXT=SIMP(statut='f',typ=grma,min=3, max='**',ang='Optional, Allowed Repetitions, checked text, EN'), - L4_LIST_O_REPEAT_CHECKTEXT=SIMP(statut='o',typ=grma,min=3, max='**',ang='Obligatory, Allowed Repetitions, checked text, EN'), - - L5_LIST_F_NOREPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',validators=NoRepeat(),min=3, max='**',ang='Optional, No Repetitions, any text, EN'), - L6_LIST_O_NOREPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3,validators=NoRepeat(), max='**',ang='Obligatory, No Repetitions, any text, EN'), - L7_LIST_O_REPEAT_ANYTEXT=SIMP(statut='o',typ='TXM',min=3, max='**',ang='Obligatory, Allowed Repetitions, any text, EN'), - L8_LIST_F_REPEAT_ANYTEXT=SIMP(statut='f',typ='TXM',min=3, max='**',ang='Optional, Allowed Repetitions, any text, EN'), - - L9_LIST_O_NOREPEAT_CHECKTEXT_ADD=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With spare list, Obligatory, No Repetitions, checked text, EN',), - L10_LIST_F_REPEAT_ANYTEXT_ADD=SIMP(statut='f',typ='TXM', into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With spare list, Optional, Allowed Repetitions, any text, EN'), - L11_LIST_O_REPEAT_CHECKTEXT_ADD_NODEFAUT=SIMP(statut='o',typ=grma, into=("item01","text01","item02","text02","item03","text03","item04","text04"),ang='With spare list, obligatory, No Repetitions, checked text, no default values, EN', min=3, max='**'), - L12_LIST_O_NOREPEAT_CHECKTEXT_ADD_DEFAUT=SIMP(statut='o',typ=grma,validators=NoRepeat(), into=("item01","text01","item02","text02","item03","text03","item04","text04","item05","text05",), defaut=('item01','item02','item03'), min=3, max='**',ang='With spare list, Obligatory, No Repetitions, checked text, with default values EN'), - - L13_LIST_F_SANSORDRENODOUBLON_ANYTEXT_NODEFAUT=SIMP(statut='f',typ='TXM',homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With check boxes, Optional, any text, no defaults, EN'), - L14_LIST_O_SANSORDRENODOUBLON_CHECKTEXT_NODEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), min=3, max='**',ang='With check boxes, Obligatory, checked text, EN'), - L15_LIST_O_SANSORDRENODOUBLON_CHECKTEXT_DEFAUT=SIMP(statut='o',typ=grma,homo="SansOrdreNiDoublon", into=("item01","text01","item02","text02","item03","text03",), defaut=('item01','item02','item03'), min=3, max='**', ang='With check boxes, Obligatory, checked text, with default values, EN'), -) - - - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','ALL_LISTS','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','ALL_LISTS','FIN') diff --git a/MED/Global_Condition_Cata.py b/MED/Global_Condition_Cata.py deleted file mode 100755 index 02396340..00000000 --- a/MED/Global_Condition_Cata.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 -from Accas import * -#class myModel(ASSD): pass - -JdC = JDC_CATA(code='GLOB_COND', - execmodul=None, - regles=(AU_PLUS_UN('TYPES',), - AU_PLUS_UN('INITS',), - AU_PLUS_UN('DATAS',), - #A_CLASSER('TYPES','INITS','DATAS') - ) -); - -TYPES=PROC(nom='TYPES',op=None,UIinfo={"groupes":("Global_Workflow",)}, #sd_prod=myModel, - MODE=SIMP( - typ='TXM', - statut='o', - position='global_jdc', - into=("MANUAL","AUTOMATIC","MIXED"), - defaut="AUTOMATIC", - ), -); - -liste_condition=('INITS', 'DATAS') - -INITS=PROC(nom='INITS',op=None,UIinfo={"groupes":("INI_param",)}, - ini_manual=BLOC(condition="MODE == 'MANUAL'", - Informer=SIMP(statut='o',typ='TXM', defaut="INITS MANUAL"), - ), - ini_auto=BLOC(condition="MODE == 'AUTOMATIC'", - Informer=SIMP(statut='o', typ='TXM', defaut="INITS AUTOMATIC",), - ), - ini_mixed=BLOC(condition="MODE == 'MIXED'", - Informer=SIMP(statut='o',typ='TXM', defaut="INITS MIXED",), - ), -); -DATAS=PROC(nom='DATAS',op=None,UIinfo={"groupes":("DATAS",)}, - data_manual=BLOC(condition="MODE == 'MANUAL'", - Informer=SIMP(statut='o',typ='TXM', defaut="DATAS MANUAL", - ), - ), - data_auto=BLOC(condition="MODE == 'AUTOMATIC'", - Informer=SIMP(statut='o', typ='TXM', defaut="DATAS AUTOMATIC", - ), - ), - data_mixed=BLOC(condition="MODE == 'MIXED'", - Informer=SIMP(statut='o',typ='TXM', defaut="DATAS MIXED", - ), - ), -); - -Classement_Commandes_Ds_Arbre=('TYPES','INITS','DATAS') -Ordre_Des_Commandes = ('TYPES','INITS','DATAS') diff --git a/MED/Many_Concepts_52983_Cata.py b/MED/Many_Concepts_52983_Cata.py deleted file mode 100644 index 70f099ac..00000000 --- a/MED/Many_Concepts_52983_Cata.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -from Accas import * - -#class myMesh(ASSD): pass -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(UN_PARMI('DEBUT', 'POURSUITE'), - AU_MOINS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN'))) - -DEBUT=PROC(nom="DEBUT", op=68, repetable='n', UIinfo={"groupes":("Group1",)}, ang="Debut Eng help", - PAR_LOT=SIMP(ang="Debut Par Lot help En",statut='o',typ=bool, defaut=True), -) -AFFE_MODELE=OPER(nom="AFFE_MODELE",op=None,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - ang="Model mesh definition EN", - MESH=SIMP(statut='o',typ='TXM',into=("mesh_01","mesh_02","mesh_03","mesh_04",) , defaut="mesh_01"), - #reentrant='n', - #regles=(AU_MOINS_UN('AFFE','AFFE_SOUS_STRUC'),UN_PARMI('MAILLAGE','GRILLE')), - - - block_mesh_01=BLOC(condition="MESH=='mesh_01'", - AFFE=FACT(statut='o', - ALL=SIMP(statut='o', typ=bool,ang='ALL 01 help EN', defaut=True), - PHENOMENA=SIMP(statut='o',typ='TXM',into=('phenomena_01','phenomena_02',), defaut='phenomena_01'), - #MODELISATION=SIMP(statut='o',typ='TXM', min=2,max='**', into=("mesh_01","mesh_02","mesh_03","mesh_04",) ,ang='Input 01 list EN', fr='Input 01 list FR'), - MODELISATION=SIMP(statut='o',typ='TXM', min=2,max='**', into=('Item_01_01','Item_01_02',) ,ang='Input 01 list EN', fr='Input 01 list FR'), - ), - ), -) -FIN=PROC(nom="FIN",op=9999,repetable='n',ang="Finish help EN",UIinfo={"groupes":("Group1",)}, - FORMAT_HDF =SIMP(ang="Save HDF EN",statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), -) - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH','AFFE_MODELE','FIN') -Ordre_Des_Commandes = ('DEBUT','MESH','AFFE_MODELE','FIN') diff --git a/MED/Many_Concepts_52988_Cata.py b/MED/Many_Concepts_52988_Cata.py deleted file mode 100644 index 52d4f10f..00000000 --- a/MED/Many_Concepts_52988_Cata.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -from Accas import * - -class myMesh(ASSD): pass -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('AFFE_MODELE'), - AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN'))) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=True #change 'o' to 'f' of some widgets in the loop -empty_defauts=True - -def myBloc(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - defauts0=["","",True,"'phenomena_"+myNum+"'",mySeveral(list_item_body,2)] #presence of default values - defauts_mask=[False,False,True,True,True] #switch off defaults of some types - defauts=list() - for id0 in range(len(defauts0)): - if defauts_mask[id0]: - item=", defaut="+str(defauts0[id0]) - else: - item="" - defauts.append(item) - #print defauts - - opt=['o','o','o','o','o'] #initial default obligation of items in FACT groups - #make some widgets optional: - myLen=len(opt) - if switch_facultatif: - make_f=(num)%myLen - opt[make_f]='f' - #print opt - if empty_defauts: - clean_defaut=num%myLen - - myString="BLOC(condition=\"MESH==\'mesh_"+myNum+"'\""+defauts[0]+", AFFE=FACT(statut='"+opt[1]+"'"+defauts[1]+", ALL=SIMP(statut='"+opt[2]+"', typ=bool,ang='ALL "+myNum+" help EN'"+defauts[2]+"),PHENOMENA=SIMP(statut='"+opt[3]+"',typ='TXM',into=mySeveral('phenomena_',"+str(num)+")"+defauts[3]+"), MODELISATION=SIMP(statut='"+opt[4]+"',typ='TXM', min=2,max='**',into=mySeveral('"+list_item_body+"',"+str(num*4)+")"+defauts[4]+", ang='Input "+myNum+" list EN', fr='Input "+myNum+" list FR'),),)" - print myString - return eval(myString) - -DEBUT=PROC(nom="DEBUT", op=10, repetable='n', UIinfo={"groupes":("Group1",)}, ang="Debut Eng help", - PAR_LOT=SIMP(ang="Debut Par Lot help En",statut='o',typ=bool, defaut=True), -); - -AFFE_MODELE=OPER(nom="AFFE_MODELE",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - ang="Model mesh definition EN", - reentrant='n', - regles=(AU_MOINS_UN('APPROVED')), - MESH=SIMP(statut='o',typ='TXM',into=mySeveral("mesh_",4) ,defaut="mesh_01"), - APPROVED=SIMP(statut="o", typ=bool), - block_mesh_01=myBloc(1), - block_mesh_02=myBloc(2), - block_mesh_03=myBloc(3), - block_mesh_04=myBloc(4), -) - - -FIN=PROC(nom="FIN",op=9999,repetable='n',ang="Finish help EN",UIinfo={"groupes":("Group1",)}, - FORMAT_HDF =SIMP(ang="Save HDF EN",statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), -); - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','AFFE_MODELE','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','AFFE_MODELE','FIN') diff --git a/MED/Many_Concepts_52989_Cata.py b/MED/Many_Concepts_52989_Cata.py deleted file mode 100644 index 930d9e89..00000000 --- a/MED/Many_Concepts_52989_Cata.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -from Accas import * - -#class myMesh(ASSD): pass -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('AFFE_MODELE'), - AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN'))) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=True #change 'o' to 'f' of some widgets in the loop -#empty_defauts=True - -def myBloc(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - defauts0=["","",True,"'phenomena_"+myNum+"'",mySeveral(list_item_body,2)] #presence of default values - defauts_mask=[False,False,True,True,True] #switch off defaults of some types - defauts=list() - for id0 in range(len(defauts0)): - if defauts_mask[id0]: - item=", defaut="+str(defauts0[id0]) - else: - item="" - defauts.append(item) - #print defauts - - opt=['o','o','o','o','o'] #initial default obligation of items in FACT groups - #make different widgets optional, one by one: - myLen=len(opt) - if switch_facultatif: - make_f=(num)%myLen - opt[make_f]='f' - #print opt - #if empty_defauts: - # clean_defaut=num%myLen - - myString="BLOC(condition=\"MESH==\'mesh_"+myNum+"'\""+defauts[0]+", AFFE=FACT(statut='"+opt[1]+"'"+defauts[1]+", ALL=SIMP(statut='"+opt[2]+"', typ=bool,ang='ALL "+myNum+" help EN'"+defauts[2]+"),PHENOMENA=SIMP(statut='"+opt[3]+"',typ='TXM',into=mySeveral('phenomena_',"+str(num)+")"+defauts[3]+"), MODELISATION=SIMP(statut='"+opt[4]+"',typ='TXM', min=2,max='**',into=mySeveral('"+list_item_body+"',"+str(num*4)+")"+defauts[4]+", ang='Input "+myNum+" list EN', fr='Input "+myNum+" list FR'),),)" - print myString - return eval(myString) - -DEBUT=PROC(nom="DEBUT", op=10, repetable='n', UIinfo={"groupes":("Group1",)}, ang="Debut Eng help", - PAR_LOT=SIMP(ang="Debut Par Lot help En",statut='o',typ=bool, defaut=True), -); - -AFFE_MODELE=OPER(nom="AFFE_MODELE",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - ang="Model mesh definition EN", - reentrant='n', - regles=(AU_MOINS_UN('APPROVED')), - MESH=SIMP(statut='o',typ='TXM',into=mySeveral("mesh_",4) ,defaut="mesh_01"), - APPROVED=SIMP(statut="f", typ=bool), # presence of this item will validate the whole group - PAR_LOT=SIMP(ang="Debut Par Lot help En",statut='o',typ='I', defaut=True), - block_mesh_01=myBloc(1), - block_mesh_02=myBloc(2), - block_mesh_03=myBloc(3), - block_mesh_04=myBloc(4), -) - - -FIN=PROC(nom="FIN",op=9999,repetable='n',ang="Finish help EN",UIinfo={"groupes":("Group1",)}, - FORMAT_HDF =SIMP(ang="Save HDF EN",statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), -); - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','AFFE_MODELE','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','AFFE_MODELE','FIN') diff --git a/MED/Many_Concepts_52992_Cata.py b/MED/Many_Concepts_52992_Cata.py deleted file mode 100644 index 13145b96..00000000 --- a/MED/Many_Concepts_52992_Cata.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -from Accas import * - -#class myMesh(ASSD): pass -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(AU_PLUS_UN('DEBUT', 'POURSUITE'), - AU_PLUS_UN('AFFE_MODELE'), - AU_PLUS_UN('FIN'), - A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN'))) - -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=True #change 'o' to 'f' of some widgets in the loop -#empty_defauts=True - -def myBloc(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - defauts0=["","",True,"'phenomena_"+myNum+"'",mySeveral(list_item_body,2)] #presence of default values - defauts_mask=[False,False,True,True,False] #switch off defaults of some types - defauts=list() - for id0 in range(len(defauts0)): - if defauts_mask[id0]: - item=", defaut="+str(defauts0[id0]) - else: - item="" - defauts.append(item) - #print defauts - - opt=['o','o','o','o','o'] #initial default obligation of items in FACT groups - #make different widgets optional, one by one: - myLen=len(opt) - if switch_facultatif: - make_f=(num)%myLen - opt[make_f]='f' - #print opt - #if empty_defauts: - # clean_defaut=num%myLen - - myString="BLOC(condition=\"MESH==\'mesh_"+myNum+"'\""+defauts[0]+", AFFE=FACT(statut='"+opt[1]+"'"+defauts[1]+", ALL=SIMP(statut='"+opt[2]+"', typ=bool,ang='ALL "+myNum+" help EN'"+defauts[2]+"),PHENOMENA=SIMP(statut='"+opt[3]+"',typ='TXM',into=mySeveral('phenomena_',"+str(num)+")"+defauts[3]+"), MODELISATION=SIMP(statut='"+opt[4]+"',typ='TXM', min=4,max='**',into=mySeveral('"+list_item_body+"',"+str(num*4)+")"+defauts[4]+", ang='Input "+myNum+" list EN', fr='Input "+myNum+" list FR'),),)" - print myString - return eval(myString) - -DEBUT=PROC(nom="DEBUT", op=10, repetable='n', UIinfo={"groupes":("Group1",)}, ang="Debut Eng help", - PAR_LOT=SIMP(ang="Debut Par Lot help En",statut='o',typ=bool, defaut=True), -); - -AFFE_MODELE=OPER(nom="AFFE_MODELE",op=18,sd_prod=myModel, - UIinfo={"groupes":("Group1",)}, - ang="Model mesh definition EN", - reentrant='n', - regles=(AU_MOINS_UN('APPROVED')), - MESH=SIMP(statut='o',typ='TXM',into=mySeveral("mesh_",4) ,defaut="mesh_01"), - APPROVED=SIMP(statut="f", typ=bool), # presence of this item will validate the whole group - block_mesh_01=myBloc(1), - block_mesh_02=myBloc(2), - block_mesh_03=myBloc(3), - block_mesh_04=myBloc(4), -) - - -FIN=PROC(nom="FIN",op=9999,repetable='n',ang="Finish help EN",UIinfo={"groupes":("Group1",)}, - FORMAT_HDF =SIMP(ang="Save HDF EN",statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), -); - -Classement_Commandes_Ds_Arbre=('DEBUT','MESH_TYPES','AFFE_MODELE','FIN') - -Ordre_Des_Commandes = ('DEBUT','MESH_TYPES','AFFE_MODELE','FIN') diff --git a/MED/Matrix_Cata.py b/MED/Matrix_Cata.py deleted file mode 100644 index 268a77bf..00000000 --- a/MED/Matrix_Cata.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - - -class myModel(ASSD): pass - -JdC = JDC_CATA(code='PATTERNS', - execmodul=None, - regles=(AU_MOINS_UN ( 'CORRELATION' ), - ) -) - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', typ = "TXM", fr = "Nom", ang = "Name", defaut = "Var1" ), - T = SIMP ( statut = 'o', defaut = "in", into = ( "in" , "out", ), typ = "TXM", fr = "Type", ang = "Type" ), - R = SIMP ( statut = 'o', defaut = 0, typ = "I", fr = "Rang", ang = "Rank" ), -) - -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - R = SIMP ( statut = "o", typ = "R", max = 1, val_min = 0., fr = "Parametre R de la loi | R > 0", ang = "R parameter | R > 0", defaut = 0.5 ), - # T > R - T = SIMP ( statut = "o", typ = "R", max = 1, val_min = 0., fr = "Parametre T de la loi | T > R", ang = "T parameter | T > R", defaut = 0.7 ), - A = SIMP ( statut = "o", typ = "R", max = 1, fr = "Borne inferieure du support de la loi", ang = "Support lower bound", defaut = 0.1 ), - # B > A - B = SIMP ( statut = "o", typ = "R", max = 1, fr = "Borne superieure du support de la loi", ang = "Support upper bound", defaut = 0.3 ), -) - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", typ = ( variable, ), fr = "Variable d'entrée du modèle", ang = "Input variable of the model" ), - Distribution = SIMP ( statut = "o", typ = ( loi, ), fr = "Modélisation probabiliste", ang = "Probabilistic modelisation" ), -) - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - CorrelationMatrix = SIMP ( statut = "o", typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeVariables', - valSup=1, - valMin=-1, - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables" ), -) diff --git a/MED/Nested_Cond_52945_Cata.py b/MED/Nested_Cond_52945_Cata.py deleted file mode 100644 index 9d3b119d..00000000 --- a/MED/Nested_Cond_52945_Cata.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -from Accas import * - -class loi(): pass - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -use_and=False #switch off second condition about MAX_ROWS while it does not work for blocks greater than 2 -def cond2(myMax=False): - if use_and: - if myMax: - out= " and MAX_ROWS>="+str(myMax) - else: - out="" - else: - out="" - print out - return out - -PROC_01 = PROC(nom = "PROC_01",op = None, ang="Help for PROC_01 EN", - MAX_ROWS=SIMP(statut='o',typ='I',val_min=1,val_max=8, defaut=8), - PROCGROUP1=SIMP(statut='o',typ='TXM',into=("1A","2A","add new row",)), - wideblock1=BLOC(condition='PROCGROUP1=="add new row"'+cond2(1), - PROCGROUP2=SIMP(statut='o',typ='TXM',into=("1A","add new row","3A",)), - wideblock2=BLOC(condition='PROCGROUP2=="add new row"'+cond2(2), - PROCGROUP3=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - PROCGROUP689=SIMP(statut='o',typ='TXM',), - wideblock3=BLOC(condition='PROCGROUP3=="add new row"'+cond2(3), - PROCGROUP4=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock4=BLOC(condition='PROCGROUP4=="add new row"'+cond2(4), - PROCGROUP5=SIMP(statut='o',typ='TXM',into=("add new row","2","3",)), - wideblock5=BLOC(condition='PROCGROUP5=="add new row"'+cond2(5), - PROCGROUP6=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock6=BLOC(condition='PROCGROUP6=="add new row"'+cond2(6), - PROCGROUP7=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock7=BLOC(condition='PROCGROUP7=="add new row"'+cond2(7), - PROCGROUP8=SIMP(statut='o',typ='TXM',into=("add new row","2","3",)), - wideblock8=BLOC(condition='PROCGROUP8=="add new row"'+cond2(8), - ) - ) - ) - ) - ) - ) - ) - ) -) - -#LEV1 = OPER( nom = "LEV1", -# sd_prod=loi, -# op=68, -# fr='LEV1 FR', -# Boolean01=SIMP( statut = 'o',typ = bool, defaut=True, fr = 'Bool mandatory FR', ang = 'Bool mandatory EN'), -# SelectedItem=SIMP(statut = 'o',typ = 'TXM', into=["01_01","01_02","01_03","01_04"], fr="FR"), -#) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Nested_Cond_52946_Cata.py b/MED/Nested_Cond_52946_Cata.py deleted file mode 100644 index fef5edf0..00000000 --- a/MED/Nested_Cond_52946_Cata.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -from Accas import * - -class loi(): pass - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -use_and=True #switch off second condition about MAX_ROWS while it does not work for blocks greater than 2 -def cond2(myMax=False): - if use_and: - if myMax: - out= " and MAX_ROWS>="+str(myMax) - else: - out="" - else: - out="" - print out - return out - -PROC_01 = PROC(nom = "PROC_01",op = None, ang="Help for PROC_01 EN", - MAX_ROWS=SIMP(statut='o',typ='I',val_min=1,val_max=8, defaut=8), - PROCGROUP1=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock1=BLOC(condition='PROCGROUP1=="add new row"'+cond2(1), - PROCGROUP2=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - #wideblock2=BLOC(condition='PROCGROUP2=="add new row"', - wideblock2=BLOC(condition='MAX_ROWS == 8', - #wideblock2=BLOC(condition='PROCGROUP2=="add new row" and (MAX_ROWS > 2)', - PROCGROUP3=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock3=BLOC(condition='PROCGROUP3=="add new row"'+cond2(3), - PROCGROUP4=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock4=BLOC(condition='PROCGROUP4=="add new row"'+cond2(4), - PROCGROUP5=SIMP(statut='o',typ='TXM',into=("add new row","2","3",)), - wideblock5=BLOC(condition='PROCGROUP5=="add new row"'+cond2(5), - PROCGROUP6=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock6=BLOC(condition='PROCGROUP6=="add new row"'+cond2(6), - PROCGROUP7=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock7=BLOC(condition='PROCGROUP7=="add new row"'+cond2(7), - PROCGROUP8=SIMP(statut='o',typ='TXM',into=("add new row","2","3",)), - wideblock8=BLOC(condition='PROCGROUP8=="add new row"'+cond2(8), - ) - ) - ) - ) - ) - ) - ) - ) -) - -#LEV1 = OPER( nom = "LEV1", -# sd_prod=loi, -# op=68, -# fr='LEV1 FR', -# Boolean01=SIMP( statut = 'o',typ = bool, defaut=True, fr = 'Bool mandatory FR', ang = 'Bool mandatory EN'), -# SelectedItem=SIMP(statut = 'o',typ = 'TXM', into=["01_01","01_02","01_03","01_04"], fr="FR"), -#) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Nested_Cond_52947_Cata.py b/MED/Nested_Cond_52947_Cata.py deleted file mode 100644 index bf3be39e..00000000 --- a/MED/Nested_Cond_52947_Cata.py +++ /dev/null @@ -1,17 +0,0 @@ -# coding: utf-8 - -from Accas import * - -class loi(): pass - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) - -PROC_01 = PROC(nom = "PROC_01",op = None, ang="Help for PROC_01 EN", - PROCGROUP1=SIMP(statut='o',typ='TXM',into=("a1","a2","a3",)), -) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Nested_Cond_52948_Cata.py b/MED/Nested_Cond_52948_Cata.py deleted file mode 100644 index 81f216f8..00000000 --- a/MED/Nested_Cond_52948_Cata.py +++ /dev/null @@ -1,21 +0,0 @@ -# coding: utf-8 - -from Accas import * - -class loi(ASSD): pass - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) - -PER_01 = OPER( nom = "PER_01", - sd_prod=loi, - op=68, - fr='LEV1 FR', - Boolean01=SIMP( statut = 'o',typ = bool, defaut=True, fr = 'Bool mandatory FR', ang = 'Bool mandatory EN'), - SelectedItem=SIMP(statut = 'o',typ = 'TXM', into=["01_01","01_02","01_03","01_04"], fr="FR"), -) - -#Classement_Commandes_Ds_Arbre=('OPER_01',) - -#Ordre_Des_Commandes = ('OPER_01',) diff --git a/MED/Nested_Cond_52949_Cata.py b/MED/Nested_Cond_52949_Cata.py deleted file mode 100644 index d09011a3..00000000 --- a/MED/Nested_Cond_52949_Cata.py +++ /dev/null @@ -1,19 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) - -PROC_01 = PROC(nom = "PROC_01",op = None, ang="Help for PROC_01 EN", - MAX_ROWS=SIMP(statut='o',typ='I',val_min=1,val_max=8, defaut=8), - PROCGROUP1=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock1=BLOC(condition='PROCGROUP1 in "add new row"', - PROCGROUP2=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - ) -) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Nested_Cond_52952_Cata.py b/MED/Nested_Cond_52952_Cata.py deleted file mode 100644 index 47a8d7c5..00000000 --- a/MED/Nested_Cond_52952_Cata.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -from Accas import * - -class loi(): pass - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -use_and=False #switch off second condition about MAX_ROWS while it does not work for blocks greater than 2 -def cond2(myMax=False): - if use_and: - if myMax: - out= " and MAX_ROWS>="+str(myMax) - else: - out="" - else: - out="" - #print out - return out - -PROC_01 = PROC(nom = "PROC_01",op = None, ang="Help for PROC_01 EN", - MAX_ROWS=SIMP(statut='o',typ='I',val_min=1,val_max=8, defaut=8), - PROCGROUP1=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock1=BLOC(condition='PROCGROUP1=="add new row"'+cond2(1), - PROCGROUP2=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock2=BLOC(condition='PROCGROUP2=="add new row"'+cond2(2), - PROCGROUP3=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock3=BLOC(condition='PROCGROUP3=="add new row"'+cond2(3), - PROCGROUP4=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock4=BLOC(condition='PROCGROUP4=="add new row"'+cond2(4), - PROCGROUP5=SIMP(statut='o',typ='TXM',into=("add new row","2","3",)), - wideblock5=BLOC(condition='PROCGROUP5=="add new row"'+cond2(5), - PROCGROUP6=SIMP(statut='o',typ='TXM',into=("1","2","add new row",)), - wideblock6=BLOC(condition='PROCGROUP6=="add new row"'+cond2(6), - PROCGROUP7=SIMP(statut='o',typ='TXM',into=("1","add new row","3",)), - wideblock7=BLOC(condition='PROCGROUP7=="add new row"'+cond2(7), - PROCGROUP8=SIMP(statut='o',typ='TXM',into=("add new row","2","3",)), - wideblock8=BLOC(condition='PROCGROUP8=="add new row"'+cond2(8), - ) - ) - ) - ) - ) - ) - ) - ) -) - -#LEV1 = OPER( nom = "LEV1", -# sd_prod=loi, -# op=68, -# fr='LEV1 FR', -# Boolean01=SIMP( statut = 'o',typ = bool, defaut=True, fr = 'Bool mandatory FR', ang = 'Bool mandatory EN'), -# SelectedItem=SIMP(statut = 'o',typ = 'TXM', into=["01_01","01_02","01_03","01_04"], fr="FR"), -#) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Separate_Blocks_52958_Cata.py b/MED/Separate_Blocks_52958_Cata.py deleted file mode 100644 index 1327a3fb..00000000 --- a/MED/Separate_Blocks_52958_Cata.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -def several(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -NUMERICAL_PARAMETERS=PROC(nom = "NUMERICAL_PARAMETERS", op=None, ang="Help for NUMERICAL_PARAMETERS, English version", - #Equations=SIMP(statut = 'o',typ = 'TXM',into=("EF","VF","BS"),defaut="EF"), - Solver_definition=FACT(statut = 'o', - Solver = SIMP(statut = 'o',typ = 'TXM', into=several("Solver_",12), defaut="Solver_06"), - ) -) -PASCALE=PROC(nom = "PASCALE", op=None, ang="Help for NUMERICAL_PARAMETERS, English version", - Equations=SIMP(statut = 'o',typ = 'TXM',into=("EF","VF","BS"),defaut="EF"), - Solver_definition=FACT(statut = 'o', - Solver = SIMP(statut = 'o',typ = 'TXM', into=several("Solver_",12), defaut="Solver_06"), - ) -) - -Classement_Commandes_Ds_Arbre=('NUMERICAL_PARAMETERS',) - -Ordre_Des_Commandes = ('NUMERICAL_PARAMETERS',) diff --git a/MED/Separate_Blocks_52963_Cata.py b/MED/Separate_Blocks_52963_Cata.py deleted file mode 100644 index c115196f..00000000 --- a/MED/Separate_Blocks_52963_Cata.py +++ /dev/null @@ -1,40 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -def myFact(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - myString="FACT(statut = 'f', List_"+myNum+" = SIMP(statut = 'o',typ = 'TXM', into=mySeveral('"+list_item_body+"',12), defaut='"+list_item_body+myNum+"'),Real_"+myNum+" = SIMP(statut = 'o',typ = 'R', defaut = "+str(num/100.)+", ang='Real "+myNum+" help EN'),Integer_"+myNum+" = SIMP(statut = 'o',typ = 'I', defaut = "+str(100+num)+",ang='Max_Iter "+myNum+" help EN'))" - print myString - return eval(myString) - - -PROC_01=PROC(nom = "PROC_01", op=None, ang="Help for PROC_01, English version",fr="Help for PROC_01, French version", docu="", - Radio_01=SIMP(statut = 'f',typ = 'TXM',into=("EF","VF","BS"),defaut="EF"), - FACT_01=myFact(1), - FACT_02=myFact(2), - FACT_03=myFact(3), - FACT_04=myFact(4), - FACT_05=myFact(5), - FACT_06=myFact(6), - FACT_07=myFact(7), - FACT_08=myFact(8), - FACT_09=myFact(9), - FACT_10=myFact(10), - FACT_11=myFact(11), - FACT_12=myFact(12), -) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Separate_Blocks_52966_Cata.py b/MED/Separate_Blocks_52966_Cata.py deleted file mode 100644 index baef1eb1..00000000 --- a/MED/Separate_Blocks_52966_Cata.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=False #change 'o' to 'f' of some widgets in the loop - -def myFact(num): - opt=['o','f','o','o'] - if switch_facultatif: - myLen=len(opt) - make_f=(num-1)%myLen - opt[make_f]='f' - #print opt - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - myString="FACT(statut = '"+opt[0]+"', List_"+myNum+" = SIMP(statut = '"+opt[1]+"',typ = 'TXM', into=mySeveral('"+list_item_body+"',12), defaut='"+list_item_body+myNum+"'),Real_"+myNum+" = SIMP(statut = '"+opt[2]+"',typ = 'R', defaut = "+str(num/100.)+", ang='Real "+myNum+" help EN'),Integer_"+myNum+" = SIMP(statut = '"+opt[3]+"',typ = 'I', defaut = "+str(100+num)+",ang='Max_Iter "+myNum+" help EN'))" - print myString - return eval(myString) - - -PROC_01=PROC(nom = "PROC_01", op=None, ang="Help for PROC_01, English version",fr="Help for PROC_01, French version", docu="", - Radio_01=SIMP(statut = 'o',typ = 'TXM',into=("EF","VF","BS"),defaut="EF"), - FACT_01=myFact(1), - FACT_02=myFact(2), - FACT_03=myFact(3), - FACT_04=myFact(4), - FACT_05=myFact(5), - FACT_06=myFact(6), - FACT_07=myFact(7), - FACT_08=myFact(8), - FACT_09=myFact(9), - FACT_10=myFact(10), - FACT_11=myFact(11), - FACT_12=myFact(12), -) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Separate_Blocks_52972_Cata.py b/MED/Separate_Blocks_52972_Cata.py deleted file mode 100644 index 88927e49..00000000 --- a/MED/Separate_Blocks_52972_Cata.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=True #change 'o' to 'f' of some widgets in the loop -empty_defauts=True - -def myFact(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - - defauts0=["","'"+list_item_body+myNum+"'", str(num/100.), str(100+num), "'Text_"+myNum+"'" ] #presence of default values - defauts_mask=[False,True,True,False,True] #switch off defaults of some types - defauts=list() - for id0 in range(len(defauts0)): - if defauts_mask[id0]: - item=", defaut="+defauts0[id0] - else: - item="" - defauts.append(item) - print defauts - - opt=['o','o','o','o','o'] #initial default obligation of items in FACT groups - #make some widgets optional: - myLen=len(opt) - if switch_facultatif: - make_f=(num)%myLen - opt[make_f]='f' - #print opt - if empty_defauts: - clean_defaut=num%myLen - - - myString="FACT(statut = '"+opt[0]+"', List_"+myNum+" = SIMP(statut = '"+opt[1]+"',typ = 'TXM', into=mySeveral('"+list_item_body+"',12)"+defauts[1]+"),Real_"+myNum+" = SIMP(statut = '"+opt[2]+"',typ = 'R'"+defauts[2]+", ang='Real "+myNum+" help EN'),Integer_"+myNum+" = SIMP(statut = '"+opt[3]+"',typ = 'I'"+defauts[3]+",ang='Integer "+myNum+" help EN'),Text_"+myNum+" = SIMP(statut = '"+opt[4]+"',typ = 'TXM'"+defauts[4]+",ang='Text "+myNum+" help EN'))" - print myString - return eval(myString) - - -PROC_01=PROC(nom = "PROC_01", op=None, ang="Help for PROC_01, English version",fr="Help for PROC_01, French version", docu="", - Radio_01=SIMP(statut = 'o',typ = 'TXM',into=("EF","VF","BS"),defaut="EF"), - FACT_01=myFact(1), - FACT_02=myFact(2), - FACT_03=myFact(3), - FACT_04=myFact(4), - FACT_05=myFact(5), - #FACT_06=myFact(6), - #FACT_07=myFact(7), - #FACT_08=myFact(8), - #FACT_09=myFact(9), - #FACT_10=myFact(10), - #FACT_11=myFact(11), - #FACT_12=myFact(12), -) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/Separate_Blocks_52975_Cata.py b/MED/Separate_Blocks_52975_Cata.py deleted file mode 100644 index 88927e49..00000000 --- a/MED/Separate_Blocks_52975_Cata.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'PATTERNS', - execmodul = None, - ) -def mySeveral(suffix,num): - out=list() - for i in range(1,num+1): - out.append(suffix+str(i).zfill(2)) - return out - -switch_facultatif=True #change 'o' to 'f' of some widgets in the loop -empty_defauts=True - -def myFact(num): - myNum=str(num).zfill(2) - list_item_body="Item_"+myNum+"_" - - defauts0=["","'"+list_item_body+myNum+"'", str(num/100.), str(100+num), "'Text_"+myNum+"'" ] #presence of default values - defauts_mask=[False,True,True,False,True] #switch off defaults of some types - defauts=list() - for id0 in range(len(defauts0)): - if defauts_mask[id0]: - item=", defaut="+defauts0[id0] - else: - item="" - defauts.append(item) - print defauts - - opt=['o','o','o','o','o'] #initial default obligation of items in FACT groups - #make some widgets optional: - myLen=len(opt) - if switch_facultatif: - make_f=(num)%myLen - opt[make_f]='f' - #print opt - if empty_defauts: - clean_defaut=num%myLen - - - myString="FACT(statut = '"+opt[0]+"', List_"+myNum+" = SIMP(statut = '"+opt[1]+"',typ = 'TXM', into=mySeveral('"+list_item_body+"',12)"+defauts[1]+"),Real_"+myNum+" = SIMP(statut = '"+opt[2]+"',typ = 'R'"+defauts[2]+", ang='Real "+myNum+" help EN'),Integer_"+myNum+" = SIMP(statut = '"+opt[3]+"',typ = 'I'"+defauts[3]+",ang='Integer "+myNum+" help EN'),Text_"+myNum+" = SIMP(statut = '"+opt[4]+"',typ = 'TXM'"+defauts[4]+",ang='Text "+myNum+" help EN'))" - print myString - return eval(myString) - - -PROC_01=PROC(nom = "PROC_01", op=None, ang="Help for PROC_01, English version",fr="Help for PROC_01, French version", docu="", - Radio_01=SIMP(statut = 'o',typ = 'TXM',into=("EF","VF","BS"),defaut="EF"), - FACT_01=myFact(1), - FACT_02=myFact(2), - FACT_03=myFact(3), - FACT_04=myFact(4), - FACT_05=myFact(5), - #FACT_06=myFact(6), - #FACT_07=myFact(7), - #FACT_08=myFact(8), - #FACT_09=myFact(9), - #FACT_10=myFact(10), - #FACT_11=myFact(11), - #FACT_12=myFact(12), -) - -Classement_Commandes_Ds_Arbre=('PROC_01',) - -Ordre_Des_Commandes = ('PROC_01',) diff --git a/MED/a b/MED/a deleted file mode 100644 index 0018d1d5..00000000 --- a/MED/a +++ /dev/null @@ -1,110 +0,0 @@ -ESSAI_FACT=OPER(nom="ESSAI_FACT", - sd_prod=ObjetUtilisateur, - op=None, - fr=tr("Affectation de caractéristiques à des éléments de structure"), - regles = (AU_MOINS_UN('Poutre','Barre'), - EXCLUS('Discret','Discret_2D'),), - Info = SIMP(statut='f',typ='I', defaut= 1 ,into=(1,2) ), - Verif = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=("Maille","Noeud") ), -# -# ============================================================================== - Poutre = FACT(statut= 'f',max= '**', - Section = SIMP(statut= 'o',typ= 'TXM' ,into= ("GENERALE","RECTANGLE","CERCLE") ), - - b_generale = BLOC(condition = " Section == 'GENERALE'", - regles = (UN_PARMI('Maille','GroupeMailles'),), - Maille = SIMP(statut= 'f',typ= ma ,validators= NoRepeat(),max= '**'), - GroupeMailles = SIMP(statut= 'f',typ= grma,validators= NoRepeat(),max= '**'), - - Vari = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE"),defaut= "CONSTANT"), - - b_constant = BLOC(condition = "Vari == 'CONSTANT'", - regles = (PRESENT_ABSENT('Table','Cara'), - PRESENT_PRESENT('Table','Nom'), - PRESENT_PRESENT('Cara','Valeur'),), - Table = SIMP(statut= 'f',typ='TXM'), - Nom = SIMP(statut= 'f',typ= 'TXM'), - Cara = SIMP(statut= 'o',typ= 'TXM',min= 4 ,max= 5, - fr= tr("A,IY,IZ,JX sont des paramètres obligatoires"), - validators= [NoRepeat(), Compulsory(['A','IY','IZ','JX'])], - into= ("A","IY","IZ","AY","AZ","EY","EZ","JX","RY","RZ","RT","JG","IYR2","IZR2","AI") ), - Valeur = SIMP(statut= 'f',typ= 'R',min= 4 ,max= 15), - ), - ), - b_rectangle = BLOC(condition = "Section == 'RECTANGLE'", - regles = (UN_PARMI('Maille','GroupeMailles'),), - Maille = SIMP(statut= 'f',typ= ma ,validators= NoRepeat(),max= '**'), - GroupeMailles = SIMP(statut= 'f',typ= grma,validators= NoRepeat(),max= '**'), - Vari = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE","AFFINE"),defaut= "CONSTANT"), - b_constant = BLOC(condition = "Vari == 'CONSTANT'", - Cara = SIMP(statut= 'o',typ= 'TXM',min= 1 ,max= 4, - validators = [NoRepeat(), - OrVal( [AndVal( [Compulsory(['H']),Absent(['HY','HZ','EPY','EPZ'])] ), - AndVal( [Compulsory(['HY','HZ']),Together(['EPY','EPZ']),Absent(['H','EP'])] )] )], - into= ("H","EP", "HY","HZ","EPY","EPZ"),), - Valeur = SIMP(statut= 'o',typ= 'R',min= 1 ,max= 4), - ), - - Metrique = SIMP(statut= 'f',typ= 'TXM',defaut= "NON",into= ("OUI","NON") ), - Fcx = SIMP(statut= 'f',typ= 'R'), - Tuyau = SIMP(statut= 'f',typ= 'I',val_max= 10,defaut= 3), - ), - ), -# -# ============================================================================== - Barre = FACT(statut='f',max='**', - regles = (UN_PARMI('Maille','GroupeMailles'),), - Maille = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GroupeMailles = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - Section = SIMP(statut='o',typ='TXM',into=("GENERALE","RECTANGLE","CERCLE") ), - b_generale = BLOC(condition = "Section=='GENERALE'", - regles = (PRESENT_ABSENT('Table','Cara'), - PRESENT_PRESENT('Table','Nom'), - PRESENT_PRESENT('Cara','Valeur')), - Table = SIMP(statut='f',typ=table_sdaster), - Nom = SIMP(statut='f',typ='TXM',validators=LongStr(1,24) ), - Cara = SIMP(statut='f',typ='TXM',into=("A",) ), - Valeur = SIMP(statut='f',typ='R',min=1,max=1 ), - ), - b_rectangle = BLOC(condition = "Section=='RECTANGLE'", - Cara = SIMP(statut='o',typ='TXM', min=1, max=4, - validators = [NoRepeat(), - OrVal( [AndVal( [Compulsory(['H']),Absent(['HY','HZ','EPY','EPZ'])] ), - AndVal( [Compulsory(['HY','HZ']),Together(['EPY','EPZ']),Absent(['H','EP'])] )] )], - into=("H","EP","HZ","HY","EPY","EPZ"), ), - Valeur = SIMP(statut='o',typ='R',min=1,max=4 ), ), - b_cercle = BLOC(condition = "Section=='CERCLE'", - Cara = SIMP(statut='o',typ='TXM',validators=[NoRepeat(),Compulsory(['R'])],min=1,max=2,into=("R","EP") ), - Valeur = SIMP(statut='o',typ='R',min=1,max=2 ), ), - ), -# -# ============================================================================== - Discret = FACT(statut='f',max='**', - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - AMOR_HYST = SIMP(statut='f',typ='R' ), - SYME = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - b_SYME_OUI = BLOC(condition="SYME=='OUI'", - fr=tr("SYMETRIQUE: Affectation de matrices de rigidité, de masse ou d'amortissement à des mailles ou noeuds"), - Cara = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1,defaut="None", - into = ("K_T_D_N", "K_T_D_L", "K_TR_D_N", "K_TR_D_L", "K_T_N", "K_T_L", "K_TR_N", "K_TR_L", - "M_T_D_N", "M_T_D_L", "M_TR_D_N", "M_TR_D_L", "M_T_N", "M_T_L", "M_TR_N", "M_TR_L", - "A_T_D_N", "A_T_D_L", "A_TR_D_N", "A_TR_D_L", "A_T_N", "A_T_L", "A_TR_N", "A_TR_L",),), - # Affection des caractéristiques de RIGIDITE/AMORTISSEMENT/MASSE - b_AK_T_D_N = BLOC(condition = "((Cara=='K_T_D_N')or(Cara=='A_T_D_N'))", - fr = tr("Noeud: 3 valeurs (triangulaire supérieure par colonne)"), - regles = (UN_PARMI('Maille','GroupeMailles','Noeud','GROUP_NO'),), - Noeud = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - Maille = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GroupeMailles = SIMP(statut='f',typ=grma,validators=NoRepeat(),homo='SansOrdreNiDoublon',max='**'), - Valeur = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - ), - ), -# -# ============================================================================== - Discret_2D = FACT(statut='f',max='**', - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - AMOR_HYST = SIMP(statut='f',typ='R' ), - SYME = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - ), -) diff --git a/MED/cata_diapo.py b/MED/cata_diapo.py deleted file mode 100644 index 0c5268ef..00000000 --- a/MED/cata_diapo.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -from Accas import * -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - import types - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - - -class forme ( ASSD ) : pass - -JdC = JDC_CATA (code = 'MED', - execmodul = None, - ) - -FORME_GEOMETRIQUE=OPER(nom='FORME_GEOMETRIQUE',sd_prod =forme ,op=None, - Forme=SIMP(statut="o",typ='TXM',into=[ 'carre', 'cercle', 'triangle' ],defaut='carre'), - bloc_pour_Carre = BLOC (condition = "Forme=='carre'", - Cote=SIMP(statut="o",typ='I'), ) , # fin bloc_pour_carre - bloc_pour_cercle = BLOC (condition ="Forme=='cercle'", - rayon=SIMP(statut="o",typ='I'), ) , # fin bloc_pour_cercle - - DE_NOMBREUSES_WIDGETS= FACT(statut="o", - Stop_Criteria = SIMP(statut = 'o',typ = Tuple(3),validators = VerifTypeTuple(('R','R','R'))), - Fichier_Med = SIMP( statut = 'o', typ = ('Fichier', 'Med Files (*.med);;All Files (*)',),), - ListeDeChoixPlusGrande=SIMP(statut="o",typ='TXM',into=['a','b,','c','d','e','f','g','h'], - homo="SansOrdreNiDoublon",), - Un_Parametre_Facultatif=SIMP(statut="f",typ='TXM') - - ), - Couleur=SIMP(statut = 'f',typ='TXM'), - Matiere=SIMP(statut = 'f',typ='TXM'), -); - diff --git a/MED/cata_med.py b/MED/cata_med.py deleted file mode 100644 index 4640f81e..00000000 --- a/MED/cata_med.py +++ /dev/null @@ -1,29 +0,0 @@ -# coding: utf-8 - -from Accas import * - -JdC = JDC_CATA (code = 'MED', - execmodul = None, - ) -FAS=PROC(nom='FAS',op=None, - FAMILY_MESH_NAME_REF = FACT(statut='o', max='**', - - NAME=SIMP(statut="o",typ='TXM'), - ELEM=FACT(statut="f", max="**", - NUM=SIMP(statut="o",typ='TXM',), - NAME=SIMP(statut="o",typ='TXM',), - ATT=FACT(statut="f", - NBR=SIMP(statut="o", max=1 , typ = 'I'), - DES=SIMP(statut="o", max="**", typ = 'TXM'), - IDE=SIMP(statut="o", max="**", typ = 'I'), - VAL=SIMP(statut="o", max="**", typ = 'I'), - ), - GRO=FACT(statut="f", - NBR=SIMP(statut="o", max=1 , typ = 'I'), - NOM=SIMP(statut="o", max="**", typ='TXM'), - ), - ), - ), -); - - diff --git a/MED/configuration_MED.py b/MED/configuration_MED.py deleted file mode 100644 index 4ab64b85..00000000 --- a/MED/configuration_MED.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/MED/images/essaiAster.png b/MED/images/essaiAster.png deleted file mode 100644 index d01c5de8..00000000 Binary files a/MED/images/essaiAster.png and /dev/null differ diff --git a/MED/items_integer_space.txt b/MED/items_integer_space.txt deleted file mode 100644 index 8e17136e..00000000 --- a/MED/items_integer_space.txt +++ /dev/null @@ -1,2 +0,0 @@ -"4" "3" "2" "1" -"4" "5" "6" "7" \ No newline at end of file diff --git a/MED/monCode_qtEficas.py b/MED/monCode_qtEficas.py deleted file mode 100755 index b1254f2c..00000000 --- a/MED/monCode_qtEficas.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -from PyQt4.QtCore import * -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/MED/prefs.py b/MED/prefs.py deleted file mode 100644 index 2e9d0a2e..00000000 --- a/MED/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="MED" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/MED/prefs_MED.py b/MED/prefs_MED.py deleted file mode 100644 index 220dc3f0..00000000 --- a/MED/prefs_MED.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='en' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni - -# -catalogues=( - #('med','med',os.path.join(repIni,'cata_med.py'),'dico','python'), - ('med','med',os.path.join(repIni,'CataAZ.py'),'python','python'), -) - -simpleClic=True -nombreDeBoutonParLigne = 4 -dicoImages={ -'CREEOBJET' : os.path.join(repIni,'images/essaiAster.png') -} - diff --git a/MED/prefs_monCode.py b/MED/prefs_monCode.py deleted file mode 100644 index b9e513fc..00000000 --- a/MED/prefs_monCode.py +++ /dev/null @@ -1,68 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='en' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni - -# -catalogues=( - ('monCode','med',os.path.join(repIni,'CataAZ.py'),'python','python'), -# ('monCode','53036',os.path.join(repIni,'Elementary_Lists_53036_Cata.py'),'dico','python'), -# ('monCode','53033',os.path.join(repIni,'Tuples_Cata.py'),'dico','python'), -# ('monCode','53031',os.path.join(repIni,'Tuples_Cata.py'),'dico','python'), -# ('monCode','53030',os.path.join(repIni,'Tuples_Cata.py'),'dico','python'), -# ('monCode','53020',os.path.join(repIni,'Nested_Cond_52945_Cata.py'),'dico','python'), -# ('monCode','53013',os.path.join(repIni,'Elementary_Lists_53013_Cata.py'),'dico','python'), -# ('monCode','53000',os.path.join(repIni,'Elementary_Lists_53030_Cata.py'),'dico','python'), -# ('monCode','52996',os.path.join(repIni,'Elementary_Lists_52996_Cata.py'),'dico','python'), -# ('monCode','52992',os.path.join(repIni,'Many_Concepts_52992_Cata.py'),'dico','python'), -# ('monCode','52989',os.path.join(repIni,'Many_Concepts_52989_Cata.py'),'dico','python'), -# ('monCode','52988',os.path.join(repIni,'Many_Concepts_52988_Cata.py'),'dico','python'), -# ('monCode','52985',os.path.join(repIni,'fin_52985_Cata.py'),'dico','python'), -# ('monCode','52983',os.path.join(repIni,'Many_Concepts_52983_Cata.py'),'dico','python'), -# ('monCode','52975',os.path.join(repIni,'Separate_Blocks_52975_Cata.py'),'dico','python'), -# ('monCode','52972',os.path.join(repIni,'Separate_Blocks_52972_Cata.py'),'dico','python'), -# ('monCode','52958',os.path.join(repIni,'Separate_Blocks_52958_Cata.py'),'dico','python'), -# ('monCode','52952',os.path.join(repIni,'Nested_Cond_52952_Cata.py'),'dico','python'), -# ('monCode','52949',os.path.join(repIni,'Nested_Cond_52949_Cata.py'),'dico','python'), -# ('monCode','52947',os.path.join(repIni,'Nested_Cond_52947_Cata.py'),'dico','python'), -# ('monCode','52946',os.path.join(repIni,'Nested_Cond_52946_Cata.py'),'dico','python'), -# ('monCode','52945',os.path.join(repIni,'Nested_Cond_52945_Cata.py'),'dico','python'), -# ('monCode','Global',os.path.join(repIni,'Global_Condition_Cata.py'),'dico','python'), -## resolu ('monCode','52948',os.path.join(repIni,'Nested_Cond_52948_Cata.py'),'dico','python'), -# pb d afffichage des optionnels ('monCode','52963',os.path.join(repIni,'Separate_Blocks_52963_Cata.py'),'dico','python'), -# pb d afffichage des optionnels ('monCode','52966',os.path.join(repIni,'Separate_Blocks_52966_Cata.py'),'dico','python'), - -# ('monCode','test',os.path.join(repIni,'monCode_Cata1.py'),'dico','python'), -) - diff --git a/MED/properties.py b/MED/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/MED/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/MED/qtEficas_AZ.py b/MED/qtEficas_AZ.py deleted file mode 100755 index f49b9bcb..00000000 --- a/MED/qtEficas_AZ.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/MED/qtEficas_Med.py b/MED/qtEficas_Med.py deleted file mode 100755 index f49b9bcb..00000000 --- a/MED/qtEficas_Med.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/MED/typescript b/MED/typescript deleted file mode 100644 index f070be17..00000000 --- a/MED/typescript +++ /dev/null @@ -1,34 +0,0 @@ -Le script a débuté sur mar. 29 nov. 2016 15:37:06 CET -]0;A96028@dsp0780471: ~/QT5GitEficasTravail/eficas/monCodeA96028@dsp0780471:~/QT5GitEficasTravail/eficas/monCode$ ./qtEficas_Med.py /tmp/a.commoo.comm -eficas_en /home/A96028/QT5GitEficasTravail/eficas/monCode/../Extensions/../UiQT4 -() -{'typ': 'TXM', 'statut': 'o'} -() -{'typ': 'TXM', 'statut': 'o'} -() -{'typ': 'TXM', 'statut': 'o'} -() -{'max': 1, 'typ': 'I', 'statut': 'o'} -() -{'max': '**', 'typ': 'TXM', 'statut': 'o'} -() -{'max': '**', 'typ': 'I', 'statut': 'o'} -() -{'max': '**', 'typ': 'I', 'statut': 'o'} -() -{'NBR': , 'IDE': , 'DES': , 'VAL': , 'statut': 'f'} -() -{'max': 1, 'typ': 'I', 'statut': 'o'} -() -{'max': '**', 'typ': 'TXM', 'statut': 'o'} -() -{'NOM': , 'NBR': , 'statut': 'f'} -() -{'NAME': , 'statut': 'f', 'max': '**', 'ATT': , 'NUM': , 'GRO': } -() -{'NAME': , 'ELEM': , 'statut': 'o'} -() -{'nom': 'FAS', 'FAMILY_MESH_NAME_REF': , 'op': None} -]0;A96028@dsp0780471: ~/QT5GitEficasTravail/eficas/monCodeA96028@dsp0780471:~/QT5GitEficasTravail/eficas/monCode$ exit - -Script terminé sur mar. 29 nov. 2016 15:37:13 CET diff --git a/MT/MT_Cata_V1.py b/MT/MT_Cata_V1.py deleted file mode 100644 index fed6cb09..00000000 --- a/MT/MT_Cata_V1.py +++ /dev/null @@ -1,944 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -# 20120510 : suppression de la valeur par defaut de MATERIAU->PARAMETRES_MAT->NU -# changement du nom MATERIAU->PARAMETRES_MAT->MASS_VOL en MATERIAU->PARAMETRES_MAT->RHO -# -# 20120619 : changement ordre d'affichage des macros -> ordre de création -# 20120725 : modification definition (matrices A,K,M) palier et support -# 20130411 : ajout elements dans palier generalise (mail tdg + comm tdg) -# -# todo : supprimer les noeuds -> definir les elements par leur longueur -# -# -# -# -# - - - - - - - - -from Accas import * -# - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA(code = 'MT', - execmodul = None, - regles = (AU_MOINS_UN ( 'LIGNE_ARBRE',), - AU_PLUS_UN ( 'LIGNE_ARBRE',)), - ) # Fin JDC_CATA - -class Direction(ASSD): pass -class Materiau(ASSD): pass -#class Masse(ASSD): pass -class Zone(ASSD): pass -class Palier(ASSD): pass -#class Masse(ASSD): pass -#class ConditionsAuxLimites(ASSD): pass -class LigneArbre(ASSD): pass -class Support(ASSD): pass -#class Noeud(ASSD): pass - -## def macro_noeuds(self, NOEUD, **args): -## """ -## """ -## if NOEUD is not None: -## self.type_sdprod(NOEUD, Noeud) -## pass -## else: -## raise AsException("Impossible de typer les concepts resultats") - -## return Noeuds - -############################# DIRECTION ######################################## -DIRECTION = OPER(nom = "DIRECTION", - op = None, - sd_prod = Direction, - reentrant = 'n', - UIinfo = {"groupes": ("Machine tournante",)}, - fr = "Direction de la ligne d'arbre", - AXE = SIMP(statut = 'o', - typ = 'TXM', - fr = "Choix de la direction \n de l'axe de la ligne d'arbre (horizontal = Z, vertical = X)", - ang = "Choix de la direction \n de l'axe de la ligne d'arbre (horizontal = Z, vertical = X)", - min=1, - max=1, - into = ('HORIZONTAL','VERTICAL'), - defaut = 'HORIZONTAL', - ), # end AXE - ) # end DIRECTION - - -############################# MATERIAUX ######################################## -# @todo -# introduction manuelle => dans ce cas l'utilisateur definit le -# materiau comme ci-dessous -# recuperation depuis une bibliothèque de materiau => sera specife -# plus tard -MATERIAUX = OPER(nom = 'MATERIAUX', - op = None, - sd_prod = Materiau, - reentrant = 'n', - UIinfo = {"groupes": ("Machine tournante",)}, - fr = "Description materiau MT ", - TYPE_INTRO = SIMP(statut='o', - typ='TXM', - into=('MANUELLE','FICHIER'), - min=1, - max=1, - defaut='MANUELLE', - ), # end TYPE_INTRO - PARAMETRES_MAT = BLOC(condition = "((TYPE_INTRO == 'MANUELLE') )", - #MASS_VOL = SIMP(statut='o', typ='R', min=1, max=1, fr='masse volumique'), - RHO = SIMP(statut='o', - typ='R', - min=1, - max=1, - fr='masse volumique (en kg/m**3)', - ), # end RHO - E = SIMP(statut='o', - typ='R', - min=1, - max=1, - fr='module de Young (en Pa)', - ), # end E - NU = SIMP(statut='o', - typ='R', - min=1, - max=1, - val_min=-1.0, - val_max=0.5, - fr='coefficient de cisaillement (-1.0 <= NU <= 0.5)', - ), # end NU - ALPHA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "coefficient permettant de construire une matrice d'amortissement visqueux proportionnel a la rigidite", - ), # end ALPHA - BETA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "coefficient permettant de construire une matrice d'amortissement visqueux proportionnel a la masse", - ), # end BETA - GAMA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "coefficient d'amortissement hysteretique permettant de definir le module d'Young complexe", - ), # end GAMA - ), # end PARAMETRES_MAT - FICHIER_MAT = BLOC(condition = "((TYPE_INTRO == 'FICHIER') )", - MATERIAU_CATALOGUE = SIMP(statut='o', - min=1, - max=1, - typ=('Fichier','Fichier materiau (*.*)'), - fr="Format du fichier : CSV.", - ), # end MATERIAU_CATALOGUE - ), # end FICHIER_MAT - #SIMP(typ=('Fichier','JDC Files (*.comm)'),docu='',min=1,max=1,statut='o',defaut=None) - ) # end MATERIAU - - - -############################# ZONES ######################################## -ZONE = OPER(nom = 'ZONE', - op = None, - sd_prod = Zone, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description zone MT ", - regles = (PRESENT_PRESENT("MASSE","TOTO","TITI")), - TOTO=SIMP(typ="TXM",statut='f'), - TITI=SIMP(typ="TXM",statut='f'), - MASSE = FACT(statut='f', - min=0, - max='**', - fr = "Definition des masses", - #POSITION = SIMP(statut='o', - NOEUD = SIMP(statut='o', - typ='TXM', - defaut=None, - fr = "Definition de la position de la masse par l'étiquette du noeud", - ), # end POSITION - TYPE_MASSE = SIMP(statut='o', - typ='TXM', - fr = "Choix du type de masse", - into=('DISQUE','AILETTE','QUELCONQUE'), - ), # end TYPE_MASSE - DISQUE = BLOC(condition = "((TYPE_MASSE == 'DISQUE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - fr = "Choix du type de saisie des parametres de la masse", - into = ('MECANIQUE','GEOMETRIQUE'), - defaut = 'MECANIQUE' - ), # end TYPE_SAISIE - PARAMETRES_MECANIQUE = BLOC(condition = "TYPE_SAISIE == 'MECANIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres mecanique pour Masse de type DISQUE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "magnitude de la masse disque (en kg)", - ), # end MASSE_DISQUE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "inertie en x (en kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "inertie en y (en kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "inertie en z (en kg.m**2)", - ), # end INERTIEZ - ) # nd PARAMETRES_DISQUE_M - ), # end PARAMETRES_MECANIQUE - PARAMETRES_GEOMETRIQUE = BLOC(condition = "TYPE_SAISIE == 'GEOMETRIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres geometrique pour Masse de type DISQUE", - DIAMETRE_EXT = SIMP(statut='o', - typ='R', - val_min=0, - fr = "diametre exterieur de la masse disque (en m)", - ), # end MASSE_DISQUE - DIAMETRE_INT = SIMP(statut='o', - typ='R', - fr = "diametre interieur de la masse disque (en m). Verifier le diametre de la section avant saisie", - ), # end INERTIEX - EPAISSEUR = SIMP(statut='o', - typ='R', - val_min=0, - fr = "epaisseur (largeur) de la masse disque (en m)", - ), # end INERTIEY - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr = "materiau defini par le concept MATERIAU", - ), # end INERTIEZ - ) # nd PARAMETRES_DISQUE_G - ), # end PARAMETRES_MECANIQUE - ), # end DISQUE - AILETTE = BLOC(condition = "((TYPE_MASSE == 'AILETTE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - fr = "Choix du type de saisie des parametres de la masse", - into = ('MECANIQUE','GEOMETRIQUE'), - defaut = 'MECANIQUE' - ), # end TYPE_SAISIE - PARAMETRES_MECANIQUE = BLOC(condition = "TYPE_SAISIE == 'MECANIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres mecanique pour Masse de type AILETTE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "magnitude de la masse ailette (en kg)", - ), # end MASSE_AILETTE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "inertie en x (en kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "inertie en y (en kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "inertie en z (en kg.m**2)", - ), # end INERTIEZ - ) # nd PARAMETRES_AILETTE_M - ), # end PARAMETRES_MECANIQUE - PARAMETRES_GEOMETRIQUE = BLOC(condition = "TYPE_SAISIE == 'GEOMETRIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres geometrique pour Masse de type AILETTE", - MASSE_AILETTE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Renseignement de la masse d'une ailette (en kg)", - ), # end MASSE_AILETTE - RAYON = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Renseignement de la distance entre le pied de l'ailette et le centre de rotation (en m). Verifier le diametre de la section avant saisie", - ), # end RAYON - HAUTEUR = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Renseignement de la distance entre les deux extremites de l'ailette (en m)", - ), # end HAUTEUR - BASE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Renseignement de la largeur du pied de l'ailette (en m)", - ), # end BASE - NOMBRE = SIMP(statut='o', - typ='I', - val_min=1, - fr = "renseignement du nombre d'ailette sur le disque", - ), - ) # end PARAMETRES_DISQUE - ), # end PARAMETRES_MECANIQUE - ), # end AILETTE - QUELCONQUE = BLOC(condition = "((TYPE_MASSE == 'QUELCONQUE') )", - #TYPE_SAISIE = SIMP(statut='c',typ='TXM',defaut="MECANIQUE"), # cf 20120622 test : mot-clé caché - PARAMETRES = FACT(statut = 'o', - fr = "Parametres pour Masse de type QUELCONQUE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "magnitude de la masse quelconque (en m)", - ), # end MASSE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "inertie en x (en kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "inertie en y (en kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "inertie en z (en kg.m**2)", - ), # end INERTIEZ - ), # end PARAMETRES_QUELCONQUE - ), # end QUELCONQUE - ), # end MASSE - NOEUDS = FACT(fr = "abscisse curviligne du noeud", - statut='o', - min=2, - max='**', - NOM = SIMP(statut='o', - typ='TXM', - fr="nom du noeud", - ), # end NOM - X = SIMP(statut='o', - typ='R', - defaut=0.0, - val_min=0.0, - fr = "abscisse curviligne du noeud", - ), # end X - ), # end NOEUDS - ELEMENTS = FACT(statut='o', - min=1, - max='**', - NOM = SIMP(statut='o', - typ='TXM', - fr="Nom de l'element" - ), # end NOM - DEBUT = SIMP(statut='o', - typ='TXM', - fr= "Noeud de debut de l'element (etiquette d'un noeud)" - ), # end DEBUT - FIN = SIMP(statut='o', - typ='TXM', - fr= "Noeud de fin de l'element (etiquette d'un noeud)" - ), # end FIN - RAFFINAGE = SIMP(statut='o', - typ='TXM', - into=('OUI','NON'), - defaut='NON' - ), # end RAFFINAGE - PARAM_RAFFINAGE = BLOC(condition = "((RAFFINAGE == 'OUI') )", - NB_POINTS_SUPPL = SIMP(statut='o', - typ='I' - ), # end NB_POINTS_SUPPL - ), # end PARAM_RAFFINAGE - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr= "Choix du Materiau de l'element" - ), # end MATERIAU - SECTION_MASSE = FACT(statut='o', - fr = "Section liee à la masse ", - TYPE_SECTION = SIMP(statut='o', - typ='TXM', - into=('CONSTANTE','VARIABLE'), - defaut='CONSTANTE', - ), # end TYPE_SECTION - DIAM_EXTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "diametre exterieur en debut de section (en m)", - ), # end DIAM_EXTERN_DEBUT - DIAM_INTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "diametre interieur en debut de section (en m)", - ), # end DIAM_INTERN_DEBUT - PARAMETRE_SECT_VAR = BLOC(condition = "((TYPE_SECTION == 'VARIABLE') )", - DIAM_EXTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "diametre exterieur en fin de section (en m)", - ), # end DIAM_EXTERN_SORTIE - DIAM_INTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "diametre interieur en fin de section (en m)", - ), # DIAM_INTERN_SORTIE - ), - ), # end SECTION_MASSE - SECTION_RIGIDITE = FACT(statut='f', - fr = "Section liee à la rigidite ", - TYPE_SECTION = SIMP(statut='o', - typ='TXM', - into=('CONSTANTE','VARIABLE'), - defaut='CONSTANTE', - ), # end TYPE_SECTION - DIAM_EXTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "diametre exterieur en debut de section (en m)", - ), # end DIAM_EXTERN_DEBUT - DIAM_INTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "diametre interieur en debut de section (en m)", - ), # end DIAM_INTERN_DEBUT - PARAMETRE_SECT_VAR = BLOC(condition = "((TYPE_SECTION == 'VARIABLE') )", - DIAM_EXTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "diametre exterieur en fin de section (en m)", - ), # end DIAM_EXTERN_SORTIE - DIAM_INTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "diametre interieur en fin de section (en m)", - ), # end DIAM_INTERN_SORTIE - ), # end PARAMETRE_SECT_VAR - ), # end SECTION_RIGIDITE - ), # end ELEMENTS - FISSURE = FACT(statut='f', - fr="Saisie de la presence d'une fissure (uniquement sur section constante a droite et a gauche)", - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr="Renseignement du materiau a la position de la fissure" - ), # end MATERIAU - NOEUD_FISSURE = SIMP(statut='o', - typ='TXM', - fr="Renseignement de l'etiquette du noeud de la fissure", - ), # end POSITION_FISSURE - ORIENTATION_FISSURE = SIMP(statut='o', - typ='R', - fr="Renseignement de la position angulaire de la fissure (en degres)", - ), # end ORIENTATION_FISSURE - FICHIER_RAIDEUR = SIMP(statut='o', - typ=('Fichier','Fichier loi de raideur (*.*)'), - fr="Renseignement du fichier contenant la loi de raideur", - ), # end FICHIER_RAIDEUR - DIAMETRE = SIMP(statut='o', - typ='R', - fr="Renseignement du diametre (pour la proportion par rapport à l'eprouvette)", - ), # end DIAMETRE - ), # end FISSURE - - ) # end ZONE - -############################# PALIERS ######################################## -PALIER = OPER(nom = 'PALIER', - op = None, - sd_prod = Palier, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description palier MT ", - POSITION = SIMP(statut='o', - typ='R', - defaut=0.0, - fr = "position (absolue) du palier", - ), # end POSITION - TYPE_PALIER = SIMP(statut='o', - typ='TXM', - into=('PALIER LINEAIRE','PALIER NON-LINEAIRE','PALIER DE TORSION','LAME FLUIDE'), - ), # end TYPE_PALIER - PALIER_LINEAIRE = BLOC(condition = "((TYPE_PALIER == 'PALIER LINEAIRE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - into=('MANUELLE', 'CATALOGUE'), - ), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - CARAC_PALIER = FACT(statut = 'o',max='**',fr = "Saisie des caracteristiques du palier par vitesse de rotation de l'arbre", - VITESSE_ROTATION = SIMP(statut='o', - typ='R', - fr= "Vitesse de rotation", - ), # end VITESSE_ROTATION - SYME = SIMP(statut = 'o', - typ = 'TXM', - max = 1, - fr = "Symetrie des matrices du palier", - into = ('OUI','NON'), - defaut = 'OUI', - ), # end SYME - RIGIDITE_NS = BLOC(condition="(SYME=='NON')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques de rigidite du palier", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxx dans la matrice de rigidite", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxy dans la matrice de rigidite", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyx dans la matrice de rigidite", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyy dans la matrice de rigidite", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_S - RIGIDITE_S = BLOC(condition="(SYME=='OUI')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de rigidite du palier", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxx dans la matrice de rigidite", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxy dans la matrice de rigidite", - ),# end KXY - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyy dans la matrice de rigidite", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_NS - AMORTISSEMENT_NS = BLOC(condition="(SYME=='NON')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques d'amortissement du palier", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axx dans la matrice d'amortissement", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axy dans la matrice d'amortissement", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayx dans la matrice d'amortissement", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayy dans la matrice d'amortissement", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYME=='OUI')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques symetriques d'amortissement du palier", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axx dans la matrice d'amortissement", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axy dans la matrice d'amortissement", - ),# end AXY - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayy dans la matrice d'amortissement", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_S - ), # end CARAC_PALIER - ), # end MANUELLE - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - CATALOGUE_AMORTISSEMENT = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Format du fichier : CSV.", - ), # end CATALOGUE_AMORTISSEMENT - CATALOGUE_RIGIDITE = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Format du fichier : CSV.", - ), # end CATALOGUE_RIGIDITE - ), # end CATALOGUE - ), # end PALIER_LINEAIRE - LAME_FLUIDE = BLOC(condition = "((TYPE_PALIER == 'LAME FLUIDE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - into=('MANUELLE', 'CATALOGUE'), - ), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - CARAC_PALIER = FACT(statut = 'o',max='**',fr = "Saisie des caracteristiques du palier par vitesse de rotation de l'arbre", - SYME = SIMP(statut = 'o', - typ = 'TXM', - max = 1, - fr = "Symetrie des matrices du palier", - into = ('OUI','NON'), - defaut = 'OUI', - ), # end SYME - RIGIDITE_NS = BLOC(condition="(SYME=='NON')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques de rigidite du palier", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxx dans la matrice de rigidite", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxy dans la matrice de rigidite", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyx dans la matrice de rigidite", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyy dans la matrice de rigidite", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_NS - RIGIDITE_S = BLOC(condition="(SYME=='OUI')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de rigidite du palier", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxx dans la matrice de rigidite", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxy dans la matrice de rigidite", - ),# end KXY - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyy dans la matrice de rigidite", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_S - AMORTISSEMENT_NS = BLOC(condition="(SYME=='NON')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques d'amortissement du palier", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axx dans la matrice d'amortissement", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axy dans la matrice d'amortissement", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayx dans la matrice d'amortissement", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayy dans la matrice d'amortissement", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYME=='OUI')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques symetriques d'amortissement du palier", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axx dans la matrice d'amortissement", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axy dans la matrice d'amortissement", - ),# end AXY - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayy dans la matrice d'amortissement", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_S - MASSE_NS = BLOC(condition="(SYME=='NON')", - MASSE=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques de masse du palier", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Mxx dans la matrice de masse", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Mxy dans la matrice de masse", - ),# end MXY - MYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Myx dans la matrice de masse", - ),# end MYX - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Myy dans la matrice de masse", - ),# end MYY - ), # end MASSE - ), # end MASSE_NS - MASSE_S = BLOC(condition="(SYME=='OUI')", - MASSE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de masse du palier", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Mxx dans la matrice de masse", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Mxy dans la matrice de masse", - ),# end MXY - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Myy dans la matrice de masse", - ),# end MYY - ), # end MASSE - ), # end MASSE_S - VITESSE_ROTATION = SIMP(statut='o', - typ='R', - fr= "Vitesse de rotation", - ), # end VITESSE_ROTATION - ), # end CARAC_PALIER - ), # end MANUELLE - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - PALIERS_CATALOGUE = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Format du fichier : CSV.", - ), # end PALIERS_CATALOGUE - ), # end CATALOGUE - - ), # end LAME_FLUIDE - PALIER_NON_LINEAIRE = BLOC(condition = "((TYPE_PALIER == 'PALIER NON-LINEAIRE') )", - # 20121126 : reception spec du calcul transitoire accidentel - # - TYPE = SIMP(statut='o', - typ='TXM', - into=('PAPANL','PAFINL','PAHYNL','PACONL'), - defaut=None, - fr="Le choix d'un palier non-lineaire n'est valide que lors d'un calcul Aster/Edyos", - ), # end TYPE - REPERTOIRE_EDYOS = SIMP(statut='o', - typ=('Repertoire'), - defaut=None, - fr="Renseigement du repertoire contenant le fichier DONNEES_YACS (il faudra choisir ce repertoire au moment de la creation du cas de calcul)", - ), # end REPERTOIRE_EDYOS - ), # end PALIER_NON_LINEAIRE - PALIER_DE_TORSION = BLOC(condition = "((TYPE_PALIER == 'PALIER DE TORSION') )", - # ce type de palier sera implémenté dans la version 2 ... - ), # end PALIER_DE_TORSION - ) # end PALIER - - -############################# SUPPORT ######################################## -SUPPORT = OPER(nom = "SUPPORT", - op = None, - sd_prod = Support, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'un support ", - TYPE_SUPPORT = SIMP(statut='o', - typ='TXM', - defaut="RIGIDE", - into=("RIGIDE", "SIMPLIFIE", "GENERALISE", ), - ), # end TYPE_SUPPORT - SIMPLIFIE = BLOC(condition = "((TYPE_SUPPORT == 'SIMPLIFIE') )", - RIGIDITE = FACT(statut='o', fr = "Matrice de rigidite", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxx dans la matrice de rigidite", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kxy dans la matrice de rigidite", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyx dans la matrice de rigidite", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Kyy dans la matrice de rigidite", - ),# end KYY - ), # end RIGIDITE - AMORTISSEMENT = FACT(statut='o', fr= "Matrice d'amortissement", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axx dans la matrice d'amortissement", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Axy dans la matrice d'amortissement", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayx dans la matrice d'amortissement", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Ayy dans la matrice d'amortissement", - ),# end AYY - ), # end AMORTISSEMENT - MASSE = FACT(statut='o', fr= "Matrice d'amortissement", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Mxx dans la matrice de masse", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Mxy dans la matrice de masse", - ),# end MXY - MYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Myx dans la matrice de masse", - ),# end MYX - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de Myy dans la matrice de masse", - ),# end MYY - ), # end MASSE - ), # end SIMPLIFIE - GENERALISE = BLOC(condition = "((TYPE_SUPPORT == 'GENERALISE') )", - # cft 20130422 modif - ANGL_NAUT = SIMP(statut='f', - fr="Renseignement de la rotation du modele de la table de groupe a effectuer (X,Y,Z)", - typ='R', - min=3,max=3, - ), # end ANGL_NAUT - TRANS = SIMP(statut='f', - fr="Renseignement de la translation du modele de la table de groupe a effectuer (X,Y,Z)", - typ='R', - min=3,max=3, - ), # end TRANS - MAIL_TDG = SIMP(statut='o', - fr="Maillage de la table de groupe", - typ=("Fichier","Fichier maillage TdG (*.*)"), - min=1,max=1, - ), # end MAIL_TDG - COMM_TDG = SIMP(statut='o', - fr="Mise en données de la table de groupe", - typ=("Fichier","Fichier commande TdG (*.*)"), - min=1,max=1, - ), # end COMM_TDG - NOM_MACRO_ELEMENT_DYNAMIQUE = SIMP(statut='o', - fr="Renseignement du nom du macro element dynamique cree dans le fichier importe", - typ='TXM', - min=1,max=1, - ), # end NOM_MACRO_ELEMENT_DYNAMIQUE - NOM_INTERFACE = SIMP(statut='o', - fr="Renseignement du nom de l'interface cree dans le fichier importe", - typ='TXM', - min=1,max=1, - ), # end NOM_INTERFACE - NOM_GROUP_MA_MASSIF = SIMP(statut='o', - fr="Renseignement du nom du groupe de maille du massif cree dans le fichier importe", - typ='TXM', - min=1,max=1, - ), # end NOM_GROUP_MA_MASSIF - REDUIT = SIMP(statut='f', - fr="Introduction du mot-cle REDUIT pour le cas ou le nombre d'interface n'est pas identique entre le support et le ligne d'arbre", - typ='TXM', - into=("OUI"), - defaut="OUI", - ), # end REDUIT - # fin cft 20130422 modif - #MODELE_COMPLET = SIMP(statut = 'o', - # fr = "Parametres pour support generalisee", - # typ='Fichier', - # min=1, - # max=1, - # ), # end MODELE_COMPLET - ), # end GENERALISE - ) # end SUPPORT - -############################# LIGNE_ARBRE ######################################## -LIGNE_ARBRE = OPER(nom = 'LIGNE_ARBRE', - op = None, - sd_prod = LigneArbre, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description Ligne d'arbre ", - DIRECTION = SIMP(statut='o', - typ=Direction, - min=1, - max=1, - ), # end DIRECTION - ZONES = SIMP(statut='o', - typ=Zone, - min=1, - max='**', - ), # end ZONES - PALIERS = SIMP(statut='o', - typ=Palier, - min=2, - max='**', - ), # end PALIERS - #MASSES = SIMP(statut='f', - #typ=Masse, - #max='**', - #), # end MASSES - #POIDS_PROPRE = SIMP(statut='f', - #fr= "Poids propre", - #typ='TXM', - #into=('OUI', 'NON'), - #defaut='NON', - #), # end POIDS_PROPRE - SUPPORTS = SIMP(statut='o', - typ=Support, - min=1, - max='**', - ), # end SUPPORTS - ) # end LIGNE_ARBRE - diff --git a/MT/MT_Cata_V2016.py b/MT/MT_Cata_V2016.py deleted file mode 100644 index 4a95c880..00000000 --- a/MT/MT_Cata_V2016.py +++ /dev/null @@ -1,1065 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -# 20120510 : suppression de la valeur par defaut de MATERIAU->PARAMETRES_MAT->NU -# changement du nom MATERIAU->PARAMETRES_MAT->MASS_VOL en MATERIAU->PARAMETRES_MAT->RHO -# -# 20120619 : changement ordre d'affichage des macros -> ordre de crtion -# 20120725 : modification definition (matrices A,K,M) palier et support -# 20130411 : ajout elements dans palier generalise (mail tdg + comm tdg) -# -# todo : supprimer les noeuds -> definir les elements par leur longueur -# -# -# -# -# - - - - -from Accas import * -# - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -VERSION_CATALOGUE="2016.0.0"; -JdC = JDC_CATA(code = 'MT', - execmodul = None, - regles = (AU_MOINS_UN ( 'LIGNE_ARBRE',), - AU_PLUS_UN ( 'LIGNE_ARBRE',)), - ) # Fin JDC_CATA - -class Direction(ASSD): pass -class Materiau(ASSD): pass -#class Masse(ASSD): pass -class Zone(ASSD): pass -class Palier(ASSD): pass -#class Masse(ASSD): pass -#class ConditionsAuxLimites(ASSD): pass -class LigneArbre(ASSD): pass -class Support(ASSD): pass -class Butee(ASSD): pass -class PalTor(ASSD):pass -#class Noeud(ASSD): pass - -## def macro_noeuds(self, NOEUD, **args): -## """ -## """ -## if NOEUD is not None: -## self.type_sdprod(NOEUD, Noeud) -## pass -## else: -## raise AsException("Impossible de typer les concepts resultats") - -## return Noeuds - -############################# DIRECTION ######################################## -DIRECTION = MACRO(nom = "DIRECTION", - op = None, - sd_prod = Direction, - reentrant = 'n', - UIinfo = {"groupes": ("Machine tournante",)}, - fr = "Renseignement de la direction de la ligne d'arbres", - AXE = SIMP(statut = 'o', - typ = 'TXM', - fr = "Direction de l'axe de la ligne d'arbres", - min=1, - max=1, - into = ('HORIZONTAL','VERTICAL'), - defaut = 'HORIZONTAL', - ), # end AXE - ) # end DIRECTION - - -############################# MATERIAUX ######################################## -# @todo -# introduction manuelle => dans ce cas l'utilisateur definit le -# materiau comme ci-dessous -# recuperation depuis une bibliothque de materiau => sera specife -# plus tard -MATERIAUX = MACRO(nom = 'MATERIAUX', - op = None, - sd_prod = Materiau, - reentrant = 'n', - UIinfo = {"groupes": ("Machine tournante",)}, - fr = "Renseignement des caracteristiques des materiaux", - TYPE_INTRO = SIMP(statut='o', - fr = "Mode de description des caracteristiques des materiaux", - typ='TXM', - into=('MANUELLE','FICHIER'), - min=1, - max=1, - defaut='MANUELLE', - ), # end TYPE_INTRO - PARAMETRES_MAT = BLOC(condition = "((TYPE_INTRO == 'MANUELLE') )", - #MASS_VOL = SIMP(statut='o', typ='R', min=1, max=1, fr='masse volumique'), - fr = "Saisie manuelle des caracteristiques du materiau", - RHO = SIMP(statut='o', - typ='R', - min=1, - fr='Masse volumique (kg/m**3)', - ), # end RHO - E = SIMP(statut='o', - typ='R', - min=1, - max=1, - fr="Module d'Young (Pa)", - ), # end E - NU = SIMP(statut='o', - typ='R', - min=1, - max=1, - val_min=-1.0, - val_max=0.5, - fr='Coefficient de cisaillement (-1.0 <= NU <= 0.5)', - ), # end NU - ALPHA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "Coefficient permettant de construire une matrice d'amortissement visqueux proportionnel a la rigidite", - ), # end ALPHA - BETA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "Coefficient permettant de construire une matrice d'amortissement visqueux proportionnel a la masse", - ), # end BETA - GAMA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "Coefficient d'amortissement hysteretique permettant de definir le module d'Young complexe", - ), # end GAMA - ), # end PARAMETRES_MAT - FICHIER_MAT = BLOC(condition = "((TYPE_INTRO == 'FICHIER') )", - MATERIAU_CATALOGUE = SIMP(statut='o', - fr="Fichier decrivant les caracteristiques materiaux (format decrit dans le Manuel Utilisateur)", - min=1, - max=1, - typ=('Fichier','Fichier materiau (*.*)'), - ), # end MATERIAU_CATALOGUE - ), # end FICHIER_MAT - #SIMP(typ=('Fichier','JDC Files (*.comm)'),docu='',min=1,max=1,statut='o',defaut=None) - ) # end MATERIAU - - - -############################# ZONES ######################################## -ZONE = MACRO(nom = 'ZONE', - op = None, - sd_prod = Zone, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'une zone (comportant noeuds et elements, et en option masses ponctuelles et fissures)", - regles = (AU_MOINS_UN("ELEMENTS")), - MASSE = FACT(statut='f', - min=0, - max='**', - #POSITION = SIMP(statut='o', - NOEUD = SIMP(statut='o', - typ='TXM', - defaut=None, - fr = "Definition de la position axiale de la masse (label du noeud de la ligne d'arbres en vis-a-vis)", - ), # end POSITION - TYPE_MASSE = SIMP(statut='o', - typ='TXM', - fr = "Renseignement du type de masse consideree", - into=('DISQUE','AILETTE','QUELCONQUE'), - ), # end TYPE_MASSE - DISQUE = BLOC(condition = "((TYPE_MASSE == 'DISQUE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - fr = "Type de saisie des parametres du DISQUE", - into = ('MECANIQUE','GEOMETRIQUE'), - defaut = 'MECANIQUE' - ), # end TYPE_SAISIE - PARAMETRES_MECANIQUE = BLOC(condition = "TYPE_SAISIE == 'MECANIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres mecaniques pour un DISQUE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse du DISQUE (kg)", - ), # end MASSE_DISQUE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "Inertie du DISQUE en X (kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "Inertie du DISQUE en Y (kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "Inertie du DISQUE en Z (axe de rotation de la ligne d'arbres)(kg.m**2)", - ), # end INERTIEZ - ) # end PARAMETRES_DISQUE_M - ), # end PARAMETRES_MECANIQUE - PARAMETRES_GEOMETRIQUE = BLOC(condition = "TYPE_SAISIE == 'GEOMETRIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres geometriques pour un DISQUE", - DIAMETRE_EXT = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Diametre exterieur du DISQUE (m)", - ), # end MASSE_DISQUE - DIAMETRE_INT = SIMP(statut='o', - typ='R', - fr = "Diametre interieur du DISQUE (m). Verifier le diametre exterieur du rotor avant saisie", - ), # end INERTIEX - EPAISSEUR = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Epaisseur (dans la direction axiale) du DISQUE (m)", - ), # end INERTIEY - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr = "Materiau constituant le DISQUE (doit avoir ete defini via une entree MATERIAUX)", - ), # end INERTIEZ - ) # nd PARAMETRES_DISQUE_G - ), # end PARAMETRES_MECANIQUE - ), # end DISQUE - AILETTE = BLOC(condition = "((TYPE_MASSE == 'AILETTE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - fr = "Type de saisie des parametres de la rangee d'AILETTES", - into = ('MECANIQUE','GEOMETRIQUE'), - defaut = 'MECANIQUE' - ), # end TYPE_SAISIE - PARAMETRES_MECANIQUE = BLOC(condition = "TYPE_SAISIE == 'MECANIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres mecaniques de la rangee d'AILETTES", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse de la rangee d'AILETTES (kg)", - ), # end MASSE_AILETTE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "Inertie de la rangee d'AILETTES en X (kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "Inertie de la rangee d'AILETTES en Y (kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "Inertie de la rangee d'AILETTES en Z (axe de rotation de la ligne d'arbres) (kg.m**2)", - ), # end INERTIEZ - ) # nd PARAMETRES_AILETTE_M - ), # end PARAMETRES_MECANIQUE - PARAMETRES_GEOMETRIQUE = BLOC(condition = "TYPE_SAISIE == 'GEOMETRIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres geometriques d'une AILETTE", - MASSE_AILETTE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse d'une AILETTE (kg)", - ), # end MASSE_AILETTE - RAYON = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Distance entre le pied de l'AILETTE et le centre de rotation (m). Verifier le diametre exterieur du rotor avant saisie", - ), # end RAYON - HAUTEUR = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Distance entre les deux extremites de l'AILETTE (m)", - ), # end HAUTEUR - BASE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Largeur du pied de l'AILETTE (m)", - ), # end BASE - NOMBRE = SIMP(statut='o', - typ='I', - val_min=1, - fr = "Nombre d'AILETTES dans la rangee", - ), - ) # end PARAMETRES_DISQUE - ), # end PARAMETRES_MECANIQUE - ), # end AILETTE - QUELCONQUE = BLOC(condition = "((TYPE_MASSE == 'QUELCONQUE') )", - #TYPE_SAISIE = SIMP(statut='c',typ='TXM',defaut="MECANIQUE"), # cf 20120622 test : mot-cl cach - PARAMETRES = FACT(statut = 'o', - fr = "Parametres pour masse de type QUELCONQUE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse (m)", - ), # end MASSE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "Inertie en X (kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "Inertie en Y (kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "Inertie en Z (axe de rotation de la ligne d'arbres) (kg.m**2)", - ), # end INERTIEZ - ), # end PARAMETRES_QUELCONQUE - ), # end QUELCONQUE - ), # end MASSE - ESSAI=SIMP(typ = Tuple(2), - max = '**', - validators=VerifTypeTuple(('TXM','R')),), - - NOEUDS = FACT(fr = "Definition des noeuds de la zone (2 noeuds minimum)", - statut='o', - min=2, - max='**', - NOM = SIMP(statut='o', - typ='TXM', - fr="Label du noeud", - ), # end NOM - POSITION_AXIALE = SIMP(statut='o', - typ='R', - defaut=0.0, - val_min=0.0, - fr = "Position axiale du noeud (relative par rapport au debut de la zone (1er noeud a 0m)) (m)", - ), # end X - ), # end NOEUDS - ELEMENTS = FACT(fr = "Definition des elements poutre de la zone", - statut='o', - min=1, - max='**', - NOM = SIMP(statut='o', - typ='TXM', - fr="Label de l'element" - ), # end NOM - NOEUD_DEBUT = SIMP(statut='o', - typ='TXM', - fr= "Noeud de debut de l'element poutre (label d'un noeud)" - ), # end DEBUT - NOEUD_FIN = SIMP(statut='o', - typ='TXM', - fr= "Noeud de fin de l'element poutre (label d'un noeud)" - ), # end FIN - RAFFINEMENT = SIMP(fr = "Choix de raffiner l'element poutre", - statut='o', - typ='TXM', - into=('OUI','NON'), - defaut='NON' - ), # end RAFFINEMENT - PARAM_RAFFINEMENT = BLOC(fr = "Nombre de points supplementaires a ajouter pour le raffinement (nombre elements : 1 -> nb points + 1)", - condition = "((RAFFINEMENT == 'OUI') )", - NB_POINTS_SUPPL = SIMP(statut='o', - typ='I' - ), # end NB_POINTS_SUPPL - ), # end PARAM_RAFFINEMENT - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr= "Materiau constituant l'element poutre (doit avoir ete defini via une entree MATERIAUX)" - ), # end MATERIAU - SECTION_MASSE = FACT(statut='o', - fr = "Section a partir de laquelle est determinee la masse de l'element poutre", - TYPE_SECTION = SIMP(statut='o', - fr = "Choix d'une section de dimensions constantes ou variables", - typ='TXM', - into=('CONSTANTE','VARIABLE'), - defaut='CONSTANTE', - ), # end TYPE_SECTION - DIAM_EXTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en debut d'element poutre (m)", - ), # end DIAM_EXTERN_DEBUT - DIAM_INTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en debut d'element poutre (m) (different de 0 si element creux)", - ), # end DIAM_INTERN_DEBUT - PARAMETRE_SECT_VAR = BLOC(condition = "((TYPE_SECTION == 'VARIABLE') )", - fr = "Renseignement des dimensions de fin d'element (variation lineaire entre le debut et la fin)", - DIAM_EXTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en fin d'element (m)", - ), # end DIAM_EXTERN_SORTIE - DIAM_INTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en fin d'element (m)", - ), # DIAM_INTERN_SORTIE - ), - ), # end SECTION_MASSE - SECTION_RIGIDITE = FACT(statut='f', - fr = "Section a partir de laquelle est determinee la rigidite de l'element poutre", - TYPE_SECTION = SIMP(statut='o', - fr = "Choix d'une section de dimensions constantes ou variables", - typ='TXM', - into=('CONSTANTE','VARIABLE'), - defaut='CONSTANTE', - ), # end TYPE_SECTION - DIAM_EXTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en debut d'element poutre (m)", - ), # end DIAM_EXTERN_DEBUT - DIAM_INTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en debut d'element poutre (m) (different de 0 si element creux)", - ), # end DIAM_INTERN_DEBUT - PARAMETRE_SECT_VAR = BLOC(condition = "((TYPE_SECTION == 'VARIABLE') )", - fr = "Renseignement des dimensions de fin d'element (variation lineaire entre le debut et la fin)", - DIAM_EXTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en fin d'element (m)", - ), # end DIAM_EXTERN_SORTIE - DIAM_INTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en fin d'element (m)", - ), # end DIAM_INTERN_SORTIE - ), # end PARAMETRE_SECT_VAR - ), # end SECTION_RIGIDITE - ), # end ELEMENTS - FISSURE = FACT(statut='f', - fr="Description d'une fissure sur un noeud de l'arbre (licite uniquement si les elements poutres a gauche et a droite du noeud ont des sections masse et rigidite constantes)", - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr="Materiau a la position de la fissure (doit avoir ete defini via une entree MATERIAUX)" - ), # end MATERIAU - NOEUD_FISSURE = SIMP(statut='o', - typ='TXM', - fr="Label du noeud ou est positionnee la fissure", - ), # end POSITION_FISSURE - ORIENTATION_FISSURE = SIMP(statut='o', - typ='R', - fr="Angle initial du fond de fissure par rapport a sa definition dans la loi de comportement de fissure (0. par defaut)(degres)", - ), # end ORIENTATION_FISSURE - FICHIER_RAIDEUR = SIMP(statut='o', - typ=('Fichier','Fichier loi de raideur (*.*)'), - fr="Fichier contenant la loi de comportement en raideur de la fissure", - ), # end FICHIER_RAIDEUR - DIAMETRE = SIMP(statut='o', - typ='R', - fr="Diametre du rotor a l'emplacement de la fissure (m)", - ), # end DIAMETRE - ), # end FISSURE - - ) # end ZONE - -############################# PALIERS ######################################## -PALIER = MACRO(nom = 'PALIER', - op = None, - sd_prod = Palier, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'un palier radial", - POSITION = SIMP(statut='o', - typ='R', - defaut=0.0, - fr = "Position axiale (absolue) du palier radial (m)", - ), # end POSITION - TYPE_PALIER = SIMP(statut='o', - fr = "Type de palier radial", - typ='TXM', - into=('PALIER LINEAIRE','PALIER NON-LINEAIRE','LAME FLUIDE'), - ), # end TYPE_PALIER - PALIER_LINEAIRE = BLOC(condition = "((TYPE_PALIER == 'PALIER LINEAIRE') )", - fr = "Description d'un palier radial lineaire", - TYPE_SAISIE = SIMP(statut='o', - fr = "Mode de description des caracteristiques du palier radial lineaire", - typ='TXM', - into=('MANUELLE', 'CATALOGUE'), - ), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - fr = "Saisie manuelle des caracteristiques du palier radial lineaire", - CARAC_PALIER = FACT(statut = 'o',max='**',fr = "Caracteristiques du palier par vitesse de rotation de la ligne d'arbres", - VITESSE_ROTATION = SIMP(statut='o', - typ='R', - fr= "Vitesse de rotation (tr/min)", - ), # end VITESSE_ROTATION - SYME = SIMP(statut = 'o', - typ = 'TXM', - max = 1, - fr = "Symetrie des matrices du palier radial lineaire (KXY=KYX et AXY=AYX)", - into = ('OUI','NON'), - defaut = 'OUI', - ), # end SYME - RIGIDITE_NS = BLOC(condition="(SYME=='NON')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques de rigidite du palier radial lineaire", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYX dans la matrice de rigidite (N/m)", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_S - RIGIDITE_S = BLOC(condition="(SYME=='OUI')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de rigidite du palier radial lineaire", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_NS - AMORTISSEMENT_NS = BLOC(condition="(SYME=='NON')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques d'amortissement du palier radial lineaire", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYX dans la matrice d'amortissement (N.s/m)", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYME=='OUI')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques symetriques d'amortissement du palier radial lineaire", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_S - ), # end CARAC_PALIER - ),# end MANUELLE - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - fr = "Renseignement des fichiers contenant les caracteristiques du palier radial lineaire", - CATALOGUE_AMORTISSEMENT = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Fichier decrivant les caracteristiques d'amortissement (N.s/m) du palier radial lineaire (format decrit dans le Manuel Utilisateur)", - ), # end CATALOGUE_AMORTISSEMENT - CATALOGUE_RIGIDITE = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Fichier decrivant les caracteristiques de rigidite (N/m) du palier radial lineaire (format decrit dans le Manuel Utilisateur)", - ), # end CATALOGUE_RIGIDITE - ), # end CATALOGUE - ), # end PALIER_LINEAIRE - LAME_FLUIDE = BLOC(condition = "((TYPE_PALIER == 'LAME FLUIDE') )", - fr = "Description d'une lame fluide", - TYPE_SAISIE = SIMP(statut='o', - fr = "Mode de description des caracteristiques de la lame fluide", - typ='TXM', - defaut = 'MANUELLE', - #into=('MANUELLE', 'CATALOGUE'), #Fonctionnalite catalogue non encore implementee - into=('MANUELLE',), - ), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - fr = "Saisie manuelle des caracteristiques de la lame fluide", - CARAC_PALIER = FACT(statut = 'o',max='**',fr = "Caracteristiques de la lame fluide par vitesse de rotation de la ligne d'arbres", - SYME = SIMP(statut = 'o', - typ = 'TXM', - max = 1, - fr = "Symetrie des matrices de la lame fluide (KXY=KYX et AXY=AYX)", - into = ('OUI','NON'), - defaut = 'OUI', - ), # end SYME - RIGIDITE_NS = BLOC(condition="(SYME=='NON')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques de rigidite de la lame fluide", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYX dans la matrice de rigidite (N/m)", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE_NS - RIGIDITE_S = BLOC(condition="(SYME=='OUI')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de rigidite de la lame fluide", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_S - AMORTISSEMENT_NS = BLOC(condition="(SYME=='NON')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques d'amortissement de la lame fluide", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYX dans la matrice d'amortissement (N.s/m)", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYME=='OUI')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques symetriques d'amortissement de la lame fluide", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_S - MASSE_NS = BLOC(condition="(SYME=='NON')", - MASSE=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques de masse de la lame fluide", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXX dans la matrice de masse (kg)", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXY dans la matrice de masse (kg)", - ),# end MXY - MYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYX dans la matrice de masse (kg)", - ),# end MYX - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYY dans la matrice de masse (kg)", - ),# end MYY - ), # end MASSE - ), # end MASSE_NS - MASSE_S = BLOC(condition="(SYME=='OUI')", - MASSE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de masse de la lame fluide", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXX dans la matrice de masse (kg)", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXY dans la matrice de masse (kg)", - ),# end MXY - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYY dans la matrice de masse (kg)", - ),# end MYY - ), # end MASSE - ), # end MASSE_S - VITESSE_ROTATION = SIMP(statut='o', - typ='R', - fr= "Vitesse de rotation (tr/min)", - ), # end VITESSE_ROTATION - ), # end CARAC_PALIER - ), # end MANUELLE - #Fonctionnalite non encore implementee - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - PALIERS_CATALOGUE = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Format du fichier : CSV.", - ), # end PALIERS_CATALOGUE - ), # end CATALOGUE - - ), # end LAME_FLUIDE - PALIER_NON_LINEAIRE = BLOC(condition = "((TYPE_PALIER == 'PALIER NON-LINEAIRE') )", - fr = "Description d'un palier non-lineaire (licite uniquement en cas d'analyse de type 'TRANSITOIRE ACCIDENTEL'", - TYPE = SIMP(statut='o', - typ='TXM', - into=('PAPANL','PAFINL','PAHYNL','PACONL'), - defaut=None, - fr="Type de palier non-lineaire parmi ceux proposes dans Edyos", - ), # end TYPE - REPERTOIRE_EDYOS = SIMP(statut='o', - typ=('Repertoire'), - defaut=None, - fr="Repertoire 'CDC' du palier non-lineaire utilise (les fichiers Geometrie et Donnees doivent exister dans les repertoires parents respectivement de niveau 2 et 1 de CDC)", - ), # end REPERTOIRE_EDYOS - ), # end PALIER_NON_LINEAIRE - ) # end PALIER - -PALIER_TORSION=MACRO(nom="PALIER_TORSION", - op=None, - sd_prod=PalTor, - reentrant='n', - UIinfo={"groupes":("Machine tournante",)}, - fr="Description d'un palier de torsion", - POSITION = SIMP(statut='o',typ='R',defaut=0.0,fr = "Position axiale (absolue) du palier de torsion (m)",), # end POSITION - TYPE_SAISIE = SIMP(statut='o',typ='TXM',into=('MANUELLE',),fr = "Mode de description des caracteristiques du palier de torsion",), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - fr = "Saisie manuelle des caracteristiques du palier de torsion", - CARAC_PALIER = FACT(statut = 'o',max=1,fr = "Caracteristiques du palier par vitesse de rotation de l'arbre", - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',fr= "Liste des vitesses de rotation (tr/min)",), # end VITESSE_ROTATION - KRZ = SIMP(statut = 'o',typ = 'R',min=1,max = '**',fr = "Liste des caracteristiques de rigidite (N/m) du palier de torsion en fonction de la vitesse de rotation",),# end KRZ - ARZ = SIMP(statut = 'o',typ = 'R',min=1,max = '**',fr = "Liste des caracteristiques d'amortissement (N.s/m) du palier de torsion en fonction de la vitesse de rotation",),# end ARZ - MRZ = SIMP(statut = 'f',typ = 'R',min=1,max = '**',fr = "Liste des caracteristiques de masse ajoutee (kg) du palier de torsion en fonction de la vitesse de rotation",),# end MRZ - ),#end CARAC_PALIER - ), # end MANUELLE - #Fonctionnalite pas encore implementee - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - fr = "Renseignement des fichiers contenant les caracteristiques du palier de torsion", - CATA_PALIER = SIMP(statut='o',min=1,max=1,typ='Fichier',fr="Format du fichier : CSV.",), # end CATA_PALIER - ), # end CATALOGUE - )#end PALIER TORSION - -BUTEE=MACRO(nom="BUTEE", - op=None, - sd_prod=Butee, - reentrant='n', - UIinfo={"groupes":("Machine tournante",)}, - fr="Description d'une butee", - POSITION = SIMP(statut='o',typ='R',defaut=0.0,fr = "Position axiale (absolue) de la butee (m)",), # end POSITION - TYPE_BUTEE = SIMP(statut='o',typ='TXM',into=('BUTEE LINEAIRE',),fr = "Type de butee",), # end TYPE_BUTEE, BUTEE NON LINEAIRE reintegrable - BUTEE_LINEAIRE=BLOC(condition="TYPE_BUTEE=='BUTEE LINEAIRE'", - fr = "Description d'une butee lineaire", - TYPE_SAISIE = SIMP(statut='o',typ='TXM',into=('MANUELLE',),fr = "Mode de description des caracteristiques de la butee lineaire",), # end TYPE_SAISIE; 'CATALOGUE' reintegrable - MANUELLE=BLOC(condition="TYPE_SAISIE=='MANUELLE'", - fr = "Saisie manuelle des caracteristiques de la butee lineaire", - CARAC_BUTEE=FACT(statut='o',max=1,fr="Caracteristiques de la butee en fonction de la vitesse de rotation", - VITESSE_ROTATION=SIMP(statut='o',typ='R',min=1,max='**',fr="Liste des vitesses de rotation (tr/min)",), - SYMETRIQUE=SIMP(statut='o',typ='TXM',min=1,max=1,into=("OUI","NON"),defaut="OUI",fr="Symetrie des matrices de la butee (KRXRY=KRYRX , ARXRY=ARYRX et MRXRY=MRYRX)",), - - RIGIDITE_NS = BLOC(condition="(SYMETRIQUE=='NON')", - RIGIDITE=FACT(statut='o',max=1,fr="Caracteristiques non-symetriques de rigidite de la butee lineaire en fonction de la vitesse de rotation", - KZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Rigidite axiale (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite croisee de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRYRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite croisee de rotation autour de l'axe Y (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe Y (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - ), #END RIGIDITE - ),#END RIGIDITE_NS - RIGIDITE_S = BLOC(condition="(SYMETRIQUE=='OUI')", - RIGIDITE=FACT(statut='o',max=1,fr="Caracteristiques symetriques de rigidite de la butee lineaire en fonction de la vitesse de rotation", - KZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Rigidite axiale (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite croisee de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe Y (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - ), #END RIGIDITE - ),#END RIGIDITE_S - - AMORTISSEMENT_NS = BLOC(condition="(SYMETRIQUE=='NON')", - AMORTISSEMENT=FACT(statut='o',max=1,fr="Caracteristiques non-symetriques d'amortissement de la butee lineaire en fonction de la vitesse de rotation", - AZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Amortissement axial (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement direct de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARYRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe Y (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe Y (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END AMORTISSEMENT - ),#END AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYMETRIQUE=='OUI')", - AMORTISSEMENT=FACT(statut='o',max=1,fr="Caracteristiques symetriques d'amortissement de la butee lineaire en fonction de la vitesse de rotation", - AZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Amortissement axial (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement direct de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe Y (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END AMORTISSEMENT - ),#END AMORTISSEMENT_S - - INERTIE_NS = BLOC(condition="(SYMETRIQUE=='NON')", - INERTIE=FACT(statut='f',max=1,fr="Caracteristiques non-symetriques de masse ajoutee de la butee lineaire en fonction de la vitesse de rotation", - MZZ=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee axiale (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee directe de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRYRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe Y (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe Y (kg) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END INERTIE - ),#END INERTIE_NS - INERTIE_S = BLOC(condition="(SYMETRIQUE=='OUI')", - INERTIE=FACT(statut='f',max=1,fr="Caracteristiques symetriques de masse ajoutee de la butee lineaire en fonction de la vitesse de rotation", - MZZ=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee axiale (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee directe de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe Y (kg) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END INERTIE - ),#END INERTIE_S - - ),#END CARA_BUTEE - ),#end MANUELLE - CATALOGUE=BLOC(condition="TYPE_SAISIE=='CATALOGUE'", - fr = "Renseignement des fichiers contenant les caracteristiques de la butee lineaire", - ),#END CATALOGUE - ),#END BUTEE LINEAIRE - - BUTEE_NON_LINEAIRE=BLOC(condition="TYPE_BUTEE=='BUTEE NON LINEAIRE'", - fr = "Description d'une butee non-lineaire", - ),#END BUTEE NON LINEAIRE - - );#END BUTEE - -############################# SUPPORT ######################################## -SUPPORT = MACRO(nom = "SUPPORT", - op = None, - sd_prod = Support, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'un support ", - TYPE_SUPPORT = SIMP(statut='o', - fr = "Type de support", - typ='TXM', - defaut="RIGIDE", - into=("RIGIDE", "SIMPLIFIE", "GENERALISE", ), - ), # end TYPE_SUPPORT - SIMPLIFIE = BLOC(condition = "((TYPE_SUPPORT == 'SIMPLIFIE') )", - fr = "Description d'un support simplifie", - RIGIDITE = FACT(statut='o', fr = "Renseignement des caracteristiques de rigidite du support simplifie", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYX dans la matrice de rigidite (N/m)", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - AMORTISSEMENT = FACT(statut='o', fr= "Renseignement des caracteristiques d'amortissement du support simplifie", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYX dans la matrice d'amortissement (N.s/m)", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - MASSE = FACT(statut='o', fr= "Renseignement des caracteristiques de masse du support simplifie", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXX dans la matrice de masse (kg)", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXY dans la matrice de masse (kg)", - ),# end MXY - MYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYX dans la matrice de masse (kg)", - ),# end MYX - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYY dans la matrice de masse (kg)", - ),# end MYY - ), # end MASSE - ), # end SIMPLIFIE - GENERALISE = BLOC(condition = "((TYPE_SUPPORT == 'GENERALISE') )", - fr = "Description d'un support generalise", - ANGL_NAUT = SIMP(statut='f', - fr="Rotation du modele du support generalise a effectuer pour coincider avec le repere de la ligne d'arbres (rotation autour de X, puis Y, puis Z (degres))", - typ='R', - min=3,max=3, - ), # end ANGL_NAUT - TRANS = SIMP(statut='f', - fr="Translation du modele du support generalise a effectuer pour que ses noeuds de connexion soient confondus avec ceux de la ligne d'arbres (translation suivant X, Y et Z (m))", - typ='R', - min=3,max=3, - ), # end TRANS - MAIL_TDG = SIMP(statut='o', - fr="Fichier du maillage du support generalise", - typ=("Fichier","Fichier maillage TdG (*.*)"), - min=1,max=1, - ), # end MAIL_TDG - COMM_TDG = SIMP(statut='o', - fr="Fichier de la mise en donnees du support generalise", - typ=("Fichier","Fichier commande TdG (*.*)"), - min=1,max=1, - ), # end COMM_TDG - NOM_MACRO_ELEMENT_DYNAMIQUE = SIMP(statut='o', - fr="Nom du macro element dynamique cree pour le support generalise", - typ='TXM', - min=1,max=1, - ), # end NOM_MACRO_ELEMENT_DYNAMIQUE - NOM_INTERFACE = SIMP(statut='o', - fr="Nom de l'interface cree pour le support generalise", - typ='TXM', - min=1,max=1, - ), # end NOM_INTERFACE - NOM_GROUP_MA_MASSIF = SIMP(statut='o', - fr="Nom du groupe de maille representant le support generalise", - typ='TXM', - min=1,max=1, - ), # end NOM_GROUP_MA_MASSIF - REDUIT = SIMP(statut='f', - fr="Introduction du mot-cle REDUIT pour le cas ou le nombre d'interfaces n'est pas identique entre le support generalise et la ligne d'arbres", - typ='TXM', - into=("OUI",), - defaut="OUI", - ), # end REDUIT - ), # end GENERALISE - ) # end SUPPORT - -############################# LIGNE_ARBRE ######################################## -LIGNE_ARBRE = MACRO(nom = 'LIGNE_ARBRE', - op = None, - sd_prod = LigneArbre, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description de la ligne d'arbres", - DIRECTION = SIMP(statut='o', - fr = "Direction de la ligne d'arbres consideree (choisir une des entrees DIRECTION creees)", - typ=Direction, - min=1, - max=1, - ), # end DIRECTION - ZONES = SIMP(statut='o', - fr = "Zone(s) composant la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees ZONE creees)", - typ=Zone, - min=1, - max='**', - ), # end ZONES - PALIERS = SIMP(statut='o', - fr = "Paliers supportant la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees PALIER creees)", - typ=Palier, - min=2, - max='**', - ), # end PALIERS - - BUTEES = SIMP(statut='f', - fr = "Butee(s) guidant axialement la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees BUTEES creees)", - typ=Butee, - max='**' - ),#end BUTEE - PALIERS_TORSION=SIMP(statut='f', - fr = "Palier(s) de torsion de la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees PALIERS_TORSION creees)", - typ=PalTor, - max='**' - ),#end PALIERS_TORSION - SUPPORTS = SIMP(statut='o', - fr = "Supports sous les paliers (choisir, en faisant attention a l'ordre, parmi les entrees SUPPORTS creees)", - typ=Support, - min=1, - max='**', - ), # end SUPPORTS - ) # end LIGNE_ARBRE - diff --git a/MT/MT_Cata_V2020.py b/MT/MT_Cata_V2020.py deleted file mode 100644 index c1df53fe..00000000 --- a/MT/MT_Cata_V2020.py +++ /dev/null @@ -1,1041 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -# 20120510 : suppression de la valeur par defaut de MATERIAU->PARAMETRES_MAT->NU -# changement du nom MATERIAU->PARAMETRES_MAT->MASS_VOL en MATERIAU->PARAMETRES_MAT->RHO -# -# 20120619 : changement ordre d'affichage des macros -> ordre de création -# 20120725 : modification definition (matrices A,K,M) palier et support -# 20130411 : ajout elements dans palier generalise (mail tdg + comm tdg) -# -# todo : supprimer les noeuds -> definir les elements par leur longueur -# -# -# -# -# - - - - - - - - -from Accas import * -# - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == bytes: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -VERSION_CATALOGUE="2019.0.0"; -JdC = JDC_CATA(code = 'MT', - execmodul = None, - regles = (AU_MOINS_UN ( 'LIGNE_ARBRE',), - AU_PLUS_UN ( 'LIGNE_ARBRE',)), - ) # Fin JDC_CATA - -class Direction(ASSD): pass -class Materiau(ASSD): pass -#class Masse(ASSD): pass -class Zone(ASSD): pass -class Palier(ASSD): pass -#class Masse(ASSD): pass -#class ConditionsAuxLimites(ASSD): pass -class LigneArbre(ASSD): pass -class Support(ASSD): pass -class Butee(ASSD): pass -class PalTor(ASSD):pass -#class Noeud(ASSD): pass - -## def macro_noeuds(self, NOEUD, **args): -## """ -## """ -## if NOEUD is not None: -## self.type_sdprod(NOEUD, Noeud) -## pass -## else: -## raise AsException("Impossible de typer les concepts resultats") - -## return Noeuds - -############################# MATERIAUX ######################################## -# @todo -# introduction manuelle => dans ce cas l'utilisateur definit le -# materiau comme ci-dessous -# recuperation depuis une bibliothÚque de materiau => sera specife -# plus tard -MATERIAUX = MACRO(nom = 'MATERIAUX', - op = None, - sd_prod = Materiau, - reentrant = 'n', - UIinfo = {"groupes": ("Machine tournante",)}, - fr = "Renseignement des caracteristiques des materiaux", - TYPE_INTRO = SIMP(statut='o', - fr = "Mode de description des caracteristiques des materiaux", - typ='TXM', - into=('MANUELLE','FICHIER'), - min=1, - max=1, - defaut='MANUELLE', - ), # end TYPE_INTRO - PARAMETRES_MAT = BLOC(condition = "((TYPE_INTRO == 'MANUELLE') )", - #MASS_VOL = SIMP(statut='o', typ='R', min=1, max=1, fr='masse volumique'), - fr = "Saisie manuelle des caracteristiques du materiau", - RHO = SIMP(statut='o', - typ='R', - min=1, - max=1, - fr='Masse volumique (kg/m**3)', - ), # end RHO - E = SIMP(statut='o', - typ='R', - min=1, - max=1, - fr="Module d'Young (Pa)", - ), # end E - NU = SIMP(statut='o', - typ='R', - min=1, - max=1, - val_min=-1.0, - val_max=0.5, - fr='Coefficient de cisaillement (-1.0 <= NU <= 0.5)', - ), # end NU - ALPHA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "Coefficient permettant de construire une matrice d'amortissement visqueux proportionnel a la rigidite", - ), # end ALPHA - BETA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "Coefficient permettant de construire une matrice d'amortissement visqueux proportionnel a la masse", - ), # end BETA - GAMMA = SIMP(statut='f', - typ='R', - min=1, - max=1, - fr = "Coefficient d'amortissement hysteretique permettant de definir le module d'Young complexe", - ), # end GAMMA - ), # end PARAMETRES_MAT - FICHIER_MAT = BLOC(condition = "((TYPE_INTRO == 'FICHIER') )", - MATERIAU_CATALOGUE = SIMP(statut='o', - fr="Fichier decrivant les caracteristiques materiaux (format decrit dans le Manuel Utilisateur)", - min=1, - max=1, - typ=('Fichier','Fichier materiau (*.*)'), - ), # end MATERIAU_CATALOGUE - ), # end FICHIER_MAT - #SIMP(typ=('Fichier','JDC Files (*.comm)'),docu='',min=1,max=1,statut='o',defaut=None) - ) # end MATERIAU - - - -############################# ZONES ######################################## -ZONE = MACRO(nom = 'ZONE', - op = None, - sd_prod = Zone, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'une zone (comportant noeuds et elements, et en option masses ponctuelles et fissures)", - regles = (AU_MOINS_UN("ELEMENTS")), - fenetreIhm='deplie1Niveau', - MASSE = FACT(statut='f', - min=0, - max='**', - fr = "Description des masses ponctuelles", - #POSITION = SIMP(statut='o', - NOEUD = SIMP(statut='o', - typ='TXM', - defaut=None, - fr = "Definition de la position axiale de la masse (label du noeud de la ligne d'arbres en vis-a-vis)", - ), # end POSITION - TYPE_MASSE = SIMP(statut='o', - typ='TXM', - fr = "Renseignement du type de masse consideree", - into=('DISQUE','AILETTE','QUELCONQUE'), - ), # end TYPE_MASSE - DISQUE = BLOC(condition = "((TYPE_MASSE == 'DISQUE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - fr = "Type de saisie des parametres du DISQUE", - into = ('MECANIQUE','GEOMETRIQUE'), - defaut = 'MECANIQUE' - ), # end TYPE_SAISIE - PARAMETRES_MECANIQUE = BLOC(condition = "TYPE_SAISIE == 'MECANIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres mecaniques pour un DISQUE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse du DISQUE (kg)", - ), # end MASSE_DISQUE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "Inertie du DISQUE en X (kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "Inertie du DISQUE en Y (kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "Inertie du DISQUE en Z (axe de rotation de la ligne d'arbres)(kg.m**2)", - ), # end INERTIEZ - ) # end PARAMETRES_DISQUE_M - ), # end PARAMETRES_MECANIQUE - PARAMETRES_GEOMETRIQUE = BLOC(condition = "TYPE_SAISIE == 'GEOMETRIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres geometriques pour un DISQUE", - DIAMETRE_EXT = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Diametre exterieur du DISQUE (m)", - ), # end MASSE_DISQUE - DIAMETRE_INT = SIMP(statut='o', - typ='R', - fr = "Diametre interieur du DISQUE (m). Verifier le diametre exterieur du rotor avant saisie", - ), # end INERTIEX - EPAISSEUR = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Epaisseur (dans la direction axiale) du DISQUE (m)", - ), # end INERTIEY - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr = "Materiau constituant le DISQUE (doit avoir ete defini via une entree MATERIAUX)", - ), # end INERTIEZ - ) # nd PARAMETRES_DISQUE_G - ), # end PARAMETRES_MECANIQUE - ), # end DISQUE - AILETTE = BLOC(condition = "((TYPE_MASSE == 'AILETTE') )", - TYPE_SAISIE = SIMP(statut='o', - typ='TXM', - fr = "Type de saisie des parametres de la rangee d'AILETTES", - into = ('MECANIQUE','GEOMETRIQUE'), - defaut = 'MECANIQUE' - ), # end TYPE_SAISIE - PARAMETRES_MECANIQUE = BLOC(condition = "TYPE_SAISIE == 'MECANIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres mecaniques de la rangee d'AILETTES", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse de la rangee d'AILETTES (kg)", - ), # end MASSE_AILETTE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "Inertie de la rangee d'AILETTES en X (kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "Inertie de la rangee d'AILETTES en Y (kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "Inertie de la rangee d'AILETTES en Z (axe de rotation de la ligne d'arbres) (kg.m**2)", - ), # end INERTIEZ - ) # nd PARAMETRES_AILETTE_M - ), # end PARAMETRES_MECANIQUE - PARAMETRES_GEOMETRIQUE = BLOC(condition = "TYPE_SAISIE == 'GEOMETRIQUE'", - PARAMETRES = FACT(statut = 'o', - fr = "Parametres geometriques d'une AILETTE", - MASSE_AILETTE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse d'une AILETTE (kg)", - ), # end MASSE_AILETTE - RAYON = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Distance entre le pied de l'AILETTE et le centre de rotation (m). Verifier le diametre exterieur du rotor avant saisie", - ), # end RAYON - HAUTEUR = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Distance entre les deux extremites de l'AILETTE (m)", - ), # end HAUTEUR - BASE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Largeur du pied de l'AILETTE (m)", - ), # end BASE - NOMBRE = SIMP(statut='o', - typ='I', - val_min=1, - fr = "Nombre d'AILETTES dans la rangee", - ), - ) # end PARAMETRES_DISQUE - ), # end PARAMETRES_MECANIQUE - ), # end AILETTE - QUELCONQUE = BLOC(condition = "((TYPE_MASSE == 'QUELCONQUE') )", - #TYPE_SAISIE = SIMP(statut='c',typ='TXM',defaut="MECANIQUE"), # cf 20120622 test : mot-clé caché - PARAMETRES = FACT(statut = 'o', - fr = "Parametres pour masse de type QUELCONQUE", - MASSE = SIMP(statut='o', - typ='R', - val_min=0, - fr = "Masse (m)", - ), # end MASSE - INERTIEX = SIMP(statut='o', - typ='R', - fr = "Inertie en X (kg.m**2)", - ), # end INERTIEX - INERTIEY = SIMP(statut='o', - typ='R', - fr = "Inertie en Y (kg.m**2)", - ), # end INERTIEY - INERTIEZ = SIMP(statut='o', - typ='R', - fr = "Inertie en Z (axe de rotation de la ligne d'arbres) (kg.m**2)", - ), # end INERTIEZ - ), # end PARAMETRES_QUELCONQUE - ), # end QUELCONQUE - ), # end MASSE - NOEUDS = SIMP(fr = "Definition des noeuds de la zone (2 noeuds minimum)", - fenetreIhm='Tableau', - homo = ('NOM','POSITION_AXIALE'), - statut='o', - min=2, - max='**', - typ = Tuple(2), - validators=VerifTypeTuple(('TXM','R')), - ), # end NOEUDS - ELEMENTS = FACT(fr = "Definition des elements poutre de la zone", - statut='o', - min=1, - max='**', - NOM = SIMP(statut='o', - typ='TXM', - fr="Label de l'element" - ), # end NOM - NOEUD_DEBUT = SIMP(statut='o', - typ='TXM', - fr= "Noeud de debut de l'element poutre (label d'un noeud)" - ), # end DEBUT - NOEUD_FIN = SIMP(statut='o', - typ='TXM', - fr= "Noeud de fin de l'element poutre (label d'un noeud)" - ), # end FIN - RAFFINEMENT = SIMP(fr = "Choix de raffiner l'element poutre", - statut='o', - typ='TXM', - into=('OUI','NON'), - defaut='NON' - ), # end RAFFINEMENT - PARAM_RAFFINEMENT = BLOC(fr = "Nombre de points supplementaires a ajouter pour le raffinement (nombre elements : 1 -> nb points + 1)", - condition = "((RAFFINEMENT == 'OUI') )", - NB_POINTS_SUPPL = SIMP(statut='o', - typ='I' - ), # end NB_POINTS_SUPPL - ), # end PARAM_RAFFINEMENT - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr= "Materiau constituant l'element poutre (doit avoir ete defini via une entree MATERIAUX)" - ), # end MATERIAU - SECTION_MASSE = FACT(statut='o', - fr = "Section a partir de laquelle est determinee la masse de l'element poutre", - TYPE_SECTION = SIMP(statut='o', - fr = "Choix d'une section de dimensions constantes ou variables", - typ='TXM', - into=('CONSTANTE','VARIABLE'), - defaut='CONSTANTE', - ), # end TYPE_SECTION - DIAM_EXTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en debut d'element poutre (m)", - ), # end DIAM_EXTERN_DEBUT - DIAM_INTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en debut d'element poutre (m) (different de 0 si element creux)", - ), # end DIAM_INTERN_DEBUT - PARAMETRE_SECT_VAR = BLOC(condition = "((TYPE_SECTION == 'VARIABLE') )", - fr = "Renseignement des dimensions de fin d'element (variation lineaire entre le debut et la fin)", - DIAM_EXTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en fin d'element (m)", - ), # end DIAM_EXTERN_SORTIE - DIAM_INTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en fin d'element (m)", - ), # DIAM_INTERN_SORTIE - ), - ), # end SECTION_MASSE - SECTION_RIGIDITE = FACT(statut='f', - fr = "Section a partir de laquelle est determinee la rigidite de l'element poutre", - TYPE_SECTION = SIMP(statut='o', - fr = "Choix d'une section de dimensions constantes ou variables", - typ='TXM', - into=('CONSTANTE','VARIABLE'), - defaut='CONSTANTE', - ), # end TYPE_SECTION - DIAM_EXTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en debut d'element poutre (m)", - ), # end DIAM_EXTERN_DEBUT - DIAM_INTERN_DEBUT = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en debut d'element poutre (m) (different de 0 si element creux)", - ), # end DIAM_INTERN_DEBUT - PARAMETRE_SECT_VAR = BLOC(condition = "((TYPE_SECTION == 'VARIABLE') )", - fr = "Renseignement des dimensions de fin d'element (variation lineaire entre le debut et la fin)", - DIAM_EXTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre exterieur en fin d'element (m)", - ), # end DIAM_EXTERN_SORTIE - DIAM_INTERN_SORTIE = SIMP(statut='o', - typ='R', - fr = "Diametre interieur en fin d'element (m)", - ), # end DIAM_INTERN_SORTIE - ), # end PARAMETRE_SECT_VAR - ), # end SECTION_RIGIDITE - ), # end ELEMENTS - FISSURE = FACT(statut='f', - fr="Description d'une fissure sur un noeud de l'arbre (licite uniquement si les elements poutres a gauche et a droite du noeud ont des sections masse et rigidite constantes)", - MATERIAU = SIMP(statut='o', - typ=Materiau, - fr="Materiau a la position de la fissure (doit avoir ete defini via une entree MATERIAUX)" - ), # end MATERIAU - NOEUD_FISSURE = SIMP(statut='o', - typ='TXM', - fr="Label du noeud ou est positionnee la fissure", - ), # end POSITION_FISSURE - ORIENTATION_FISSURE = SIMP(statut='o', - typ='R', - fr="Angle initial du fond de fissure par rapport à sa définition dans la loi de comportement de fissure (0. par defaut)(degres)", - ), # end ORIENTATION_FISSURE - FICHIER_RAIDEUR = SIMP(statut='o', - typ=('Fichier','Fichier loi de raideur (*.*)'), - fr="Fichier contenant la loi de comportement en raideur de la fissure", - ), # end FICHIER_RAIDEUR - DIAMETRE = SIMP(statut='o', - typ='R', - fr="Diametre du rotor a l'emplacement de la fissure (m)", - ), # end DIAMETRE - ), # end FISSURE - - ) # end ZONE - -############################# PALIERS ######################################## -PALIER = MACRO(nom = 'PALIER', - op = None, - sd_prod = Palier, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'un palier radial", - POSITION = SIMP(statut='o', - typ='R', - defaut=0.0, - fr = "Position axiale (absolue) du palier radial (m)", - ), # end POSITION - NOM_NOEUD = SIMP(statut='f', - typ='TXM', - fr="Nom du noeud dans le cas où plusieurs noeuds se trouvent à la même position axiale"), - TYPE_PALIER = SIMP(statut='o', - fr = "Type de palier radial", - typ='TXM', - into=('PALIER LINEAIRE','PALIER NON-LINEAIRE','LAME FLUIDE'), - ), # end TYPE_PALIER - PALIER_LINEAIRE = BLOC(condition = "((TYPE_PALIER == 'PALIER LINEAIRE') )", - fr = "Description d'un palier radial lineaire", - TYPE_SAISIE = SIMP(statut='o', - fr = "Mode de description des caracteristiques du palier radial lineaire", - typ='TXM', - into=('MANUELLE', 'CATALOGUE'), - ), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - fr = "Saisie manuelle des caracteristiques du palier radial lineaire", - CARAC_PALIER = FACT(statut = 'o',max='**',fr = "Caracteristiques du palier par vitesse de rotation de la ligne d'arbres", - VITESSE_ROTATION = SIMP(statut='o', - typ='R', - fr= "Vitesse de rotation (tr/min)", - ), # end VITESSE_ROTATION - SYME = SIMP(statut = 'o', - typ = 'TXM', - max = 1, - fr = "Symetrie des matrices du palier radial lineaire (KXY=KYX et AXY=AYX)", - into = ('OUI','NON'), - defaut = 'OUI', - ), # end SYME - RIGIDITE_NS = BLOC(condition="(SYME=='NON')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques de rigidite du palier radial lineaire", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYX dans la matrice de rigidite (N/m)", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_S - RIGIDITE_S = BLOC(condition="(SYME=='OUI')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de rigidite du palier radial lineaire", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_NS - AMORTISSEMENT_NS = BLOC(condition="(SYME=='NON')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques d'amortissement du palier radial lineaire", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYX dans la matrice d'amortissement (N.s/m)", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYME=='OUI')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques symetriques d'amortissement du palier radial lineaire", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_S - ), # end CARAC_PALIER - ), # end MANUELLE - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - fr = "Renseignement des fichiers contenant les caracteristiques du palier radial lineaire", - CATALOGUE_AMORTISSEMENT = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Fichier decrivant les caracteristiques d'amortissement (N.s/m) du palier radial lineaire (format decrit dans le Manuel Utilisateur)", - ), # end CATALOGUE_AMORTISSEMENT - CATALOGUE_RIGIDITE = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Fichier decrivant les caracteristiques de rigidite (N/m) du palier radial lineaire (format decrit dans le Manuel Utilisateur)", - ), # end CATALOGUE_RIGIDITE - ), # end CATALOGUE - ), # end PALIER_LINEAIRE - LAME_FLUIDE = BLOC(condition = "((TYPE_PALIER == 'LAME FLUIDE') )", - fr = "Description d'une lame fluide", - TYPE_SAISIE = SIMP(statut='o', - fr = "Mode de description des caracteristiques de la lame fluide", - typ='TXM', - defaut = 'MANUELLE', - #into=('MANUELLE', 'CATALOGUE'), #Fonctionnalite catalogue non encore implementee - into=('MANUELLE',), - ), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - fr = "Saisie manuelle des caracteristiques de la lame fluide", - CARAC_PALIER = FACT(statut = 'o',max='**',fr = "Caracteristiques de la lame fluide par vitesse de rotation de la ligne d'arbres", - SYME = SIMP(statut = 'o', - typ = 'TXM', - max = 1, - fr = "Symetrie des matrices de la lame fluide (KXY=KYX et AXY=AYX)", - into = ('OUI','NON'), - defaut = 'OUI', - ), # end SYME - RIGIDITE_NS = BLOC(condition="(SYME=='NON')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques de rigidite de la lame fluide", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYX dans la matrice de rigidite (N/m)", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ),# end RIGIDITE - ), # end RIGIDITE_NS - RIGIDITE_S = BLOC(condition="(SYME=='OUI')", - RIGIDITE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de rigidite de la lame fluide", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - ), # end RIGIDITE_S - AMORTISSEMENT_NS = BLOC(condition="(SYME=='NON')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques non-symetriques d'amortissement de la lame fluide", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYX dans la matrice d'amortissement (N.s/m)", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT - #), # end AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYME=='OUI')", - AMORTISSEMENT=FACT(statut='o',fr="Renseignement des caracteristiques symetriques d'amortissement de la lame fluide", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - ), # end AMORTISSEMENT_S - MASSE_NS = BLOC(condition="(SYME=='NON')", - MASSE=FACT(statut='o',fr="Renseignement des caracteristiques non symetriques de masse de la lame fluide", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXX dans la matrice de masse (kg)", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXY dans la matrice de masse (kg)", - ),# end MXY - MYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYX dans la matrice de masse (kg)", - ),# end MYX - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYY dans la matrice de masse (kg)", - ),# end MYY - ), # end MASSE - ), # end MASSE_NS - MASSE_S = BLOC(condition="(SYME=='OUI')", - MASSE=FACT(statut='o',fr="Renseignement des caracteristiques symetriques de masse de la lame fluide", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXX dans la matrice de masse (kg)", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXY dans la matrice de masse (kg)", - ),# end MXY - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYY dans la matrice de masse (kg)", - ),# end MYY - ), # end MASSE - ), # end MASSE_S - VITESSE_ROTATION = SIMP(statut='o', - typ='R', - fr= "Vitesse de rotation (tr/min)", - ), # end VITESSE_ROTATION - ), # end CARAC_PALIER - ), # end MANUELLE - #Fonctionnalite non encore implementee - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - PALIERS_CATALOGUE = SIMP(statut='o', - min=1, - max=1, - typ='Fichier', - fr="Format du fichier : CSV.", - ), # end PALIERS_CATALOGUE - ), # end CATALOGUE - - ), # end LAME_FLUIDE - PALIER_NON_LINEAIRE = BLOC(condition = "((TYPE_PALIER == 'PALIER NON-LINEAIRE') )", - fr = "Description d'un palier non-lineaire (licite uniquement en cas d'analyse de type 'TRANSITOIRE ACCIDENTEL'", - TYPE = SIMP(statut='o', - typ='TXM', - into=('PAPANL','PAFINL','PAHYNL','PACONL'), - defaut=None, - fr="Type de palier non-lineaire parmi ceux proposes dans Edyos", - ), # end TYPE - REPERTOIRE_EDYOS = SIMP(statut='o', - typ=('Repertoire'), - defaut=None, - fr="Repertoire 'CDC' du palier non-lineaire utilise (les fichiers Geometrie et Donnees doivent exister dans les repertoires parents respectivement de niveau 2 et 1 de CDC)", - ), # end REPERTOIRE_EDYOS - ), # end PALIER_NON_LINEAIRE - ) # end PALIER - -PALIER_TORSION=MACRO(nom="PALIER_TORSION", - op=None, - sd_prod=PalTor, - reentrant='n', - UIinfo={"groupes":("Machine tournante",)}, - fr="Description d'un palier de torsion", - POSITION = SIMP(statut='o',typ='R',defaut=0.0,fr = "Position axiale (absolue) du palier de torsion (m)",), # end POSITION - TYPE_SAISIE = SIMP(statut='o',typ='TXM',into=('MANUELLE',),fr = "Mode de description des caracteristiques du palier de torsion",), # end TYPE_SAISIE - MANUELLE = BLOC(condition = "((TYPE_SAISIE == 'MANUELLE') )", - fr = "Saisie manuelle des caracteristiques du palier de torsion", - CARAC_PALIER = FACT(statut = 'o',max=1,fr = "Caracteristiques du palier par vitesse de rotation de l'arbre", - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',fr= "Liste des vitesses de rotation (tr/min)",), # end VITESSE_ROTATION - KRZ = SIMP(statut = 'o',typ = 'R',min=1,max = '**',fr = "Liste des caracteristiques de rigidite (N/m) du palier de torsion en fonction de la vitesse de rotation",),# end KRZ - ARZ = SIMP(statut = 'o',typ = 'R',min=1,max = '**',fr = "Liste des caracteristiques d'amortissement (N.s/m) du palier de torsion en fonction de la vitesse de rotation",),# end ARZ - MRZ = SIMP(statut = 'f',typ = 'R',min=1,max = '**',fr = "Liste des caracteristiques de masse ajoutee (kg) du palier de torsion en fonction de la vitesse de rotation",),# end MRZ - ),#end CARAC_PALIER - ), # end MANUELLE - #Fonctionnalite pas encore implementee - CATALOGUE = BLOC(condition = "((TYPE_SAISIE == 'CATALOGUE') )", - fr = "Renseignement des fichiers contenant les caracteristiques du palier de torsion", - CATA_PALIER = SIMP(statut='o',min=1,max=1,typ='Fichier',fr="Format du fichier : CSV.",), # end CATA_PALIER - ), # end CATALOGUE - )#end PALIER TORSION - -BUTEE=MACRO(nom="BUTEE", - op=None, - sd_prod=Butee, - reentrant='n', - UIinfo={"groupes":("Machine tournante",)}, - fr="Description d'une butee", - POSITION = SIMP(statut='o',typ='R',defaut=0.0,fr = "Position axiale (absolue) de la butee (m)",), # end POSITION - TYPE_BUTEE = SIMP(statut='o',typ='TXM',into=('BUTEE LINEAIRE',),fr = "Type de butee",), # end TYPE_BUTEE, BUTEE NON LINEAIRE reintegrable - BUTEE_LINEAIRE=BLOC(condition="TYPE_BUTEE=='BUTEE LINEAIRE'", - fr = "Description d'une butee lineaire", - TYPE_SAISIE = SIMP(statut='o',typ='TXM',into=('MANUELLE',),fr = "Mode de description des caracteristiques de la butee lineaire",), # end TYPE_SAISIE; 'CATALOGUE' reintegrable - MANUELLE=BLOC(condition="TYPE_SAISIE=='MANUELLE'", - fr = "Saisie manuelle des caracteristiques de la butee lineaire", - CARAC_BUTEE=FACT(statut='o',max=1,fr="Caracteristiques de la butee en fonction de la vitesse de rotation", - VITESSE_ROTATION=SIMP(statut='o',typ='R',min=1,max='**',fr="Liste des vitesses de rotation (tr/min)",), - SYMETRIQUE=SIMP(statut='o',typ='TXM',min=1,max=1,into=("OUI","NON"),defaut="OUI",fr="Symetrie des matrices de la butee (KRXRY=KRYRX , ARXRY=ARYRX et MRXRY=MRYRX)",), - - RIGIDITE_NS = BLOC(condition="(SYMETRIQUE=='NON')", - RIGIDITE=FACT(statut='o',max=1,fr="Caracteristiques non-symetriques de rigidite de la butee lineaire en fonction de la vitesse de rotation", - KZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Rigidite axiale (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite croisee de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRYRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite croisee de rotation autour de l'axe Y (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe Y (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - ), #END RIGIDITE - ),#END RIGIDITE_NS - RIGIDITE_S = BLOC(condition="(SYMETRIQUE=='OUI')", - RIGIDITE=FACT(statut='o',max=1,fr="Caracteristiques symetriques de rigidite de la butee lineaire en fonction de la vitesse de rotation", - KZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Rigidite axiale (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite croisee de rotation autour de l'axe X (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - KRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Rigidite directe de rotation autour de l'axe Y (N/m) de la butee lineaire en fonction de la vitesse de rotation"), - ), #END RIGIDITE - ),#END RIGIDITE_S - - AMORTISSEMENT_NS = BLOC(condition="(SYMETRIQUE=='NON')", - AMORTISSEMENT=FACT(statut='o',max=1,fr="Caracteristiques non-symetriques d'amortissement de la butee lineaire en fonction de la vitesse de rotation", - AZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Amortissement axial (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement direct de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARYRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe Y (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe Y (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END AMORTISSEMENT - ),#END AMORTISSEMENT_NS - AMORTISSEMENT_S = BLOC(condition="(SYMETRIQUE=='OUI')", - AMORTISSEMENT=FACT(statut='o',max=1,fr="Caracteristiques symetriques d'amortissement de la butee lineaire en fonction de la vitesse de rotation", - AZZ=SIMP(statut='o',typ='R',min=1,max='**',fr="Amortissement axial (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement direct de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe X (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ARYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Amortissement croise de rotation autour de l'axe Y (N.s/m) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END AMORTISSEMENT - ),#END AMORTISSEMENT_S - - INERTIE_NS = BLOC(condition="(SYMETRIQUE=='NON')", - INERTIE=FACT(statut='f',max=1,fr="Caracteristiques non-symetriques de masse ajoutee de la butee lineaire en fonction de la vitesse de rotation", - MZZ=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee axiale (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee directe de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRYRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe Y (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe Y (kg) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END INERTIE - ),#END INERTIE_NS - INERTIE_S = BLOC(condition="(SYMETRIQUE=='OUI')", - INERTIE=FACT(statut='f',max=1,fr="Caracteristiques symetriques de masse ajoutee de la butee lineaire en fonction de la vitesse de rotation", - MZZ=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee axiale (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRX=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee directe de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRXRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe X (kg) de la butee lineaire en fonction de la vitesse de rotation"), - MRYRY=SIMP(statut='f',typ='R',min=1,max='**',fr="Masse ajoutee croisee de rotation autour de l'axe Y (kg) de la butee lineaire en fonction de la vitesse de rotation"), - ),#END INERTIE - ),#END INERTIE_S - - ),#END CARA_BUTEE - ),#end MANUELLE - CATALOGUE=BLOC(condition="TYPE_SAISIE=='CATALOGUE'", - fr = "Renseignement des fichiers contenant les caracteristiques de la butee lineaire", - ),#END CATALOGUE - ),#END BUTEE LINEAIRE - - BUTEE_NON_LINEAIRE=BLOC(condition="TYPE_BUTEE=='BUTEE NON LINEAIRE'", - fr = "Description d'une butee non-lineaire", - ),#END BUTEE NON LINEAIRE - - );#END BUTEE - -############################# SUPPORT ######################################## -SUPPORT = MACRO(nom = "SUPPORT", - op = None, - sd_prod = Support, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description d'un support ", - TYPE_SUPPORT = SIMP(statut='o', - fr = "Type de support", - typ='TXM', - defaut="RIGIDE", - into=("RIGIDE", "SIMPLIFIE", "GENERALISE", ), - ), # end TYPE_SUPPORT - SIMPLIFIE = BLOC(condition = "((TYPE_SUPPORT == 'SIMPLIFIE') )", - fr = "Description d'un support simplifie", - RIGIDITE = FACT(statut='o', fr = "Renseignement des caracteristiques de rigidite du support simplifie", - KXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXX dans la matrice de rigidite (N/m)", - ),# end KXX - KXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KXY dans la matrice de rigidite (N/m)", - ),# end KXY - KYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYX dans la matrice de rigidite (N/m)", - ),# end KYX - KYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de KYY dans la matrice de rigidite (N/m)", - ),# end KYY - ), # end RIGIDITE - AMORTISSEMENT = FACT(statut='o', fr= "Renseignement des caracteristiques d'amortissement du support simplifie", - AXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXX dans la matrice d'amortissement (N.s/m)", - ),# end AXX - AXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AXY dans la matrice d'amortissement (N.s/m)", - ),# end AXY - AYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYX dans la matrice d'amortissement (N.s/m)", - ),# end AYX - AYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de AYY dans la matrice d'amortissement (N.s/m)", - ),# end AYY - ), # end AMORTISSEMENT - MASSE = FACT(statut='o', fr= "Renseignement des caracteristiques de masse du support simplifie", - MXX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXX dans la matrice de masse (kg)", - ),# end MXX - MXY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MXY dans la matrice de masse (kg)", - ),# end MXY - MYX = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYX dans la matrice de masse (kg)", - ),# end MYX - MYY = SIMP(statut = 'o', - typ = 'R', - max = 1, - fr = "Valeur de MYY dans la matrice de masse (kg)", - ),# end MYY - ), # end MASSE - ), # end SIMPLIFIE - GENERALISE = BLOC(condition = "((TYPE_SUPPORT == 'GENERALISE') )", - fr = "Description d'un support generalise", - ANGL_NAUT = SIMP(statut='f', - fr="Rotation du modele du support generalise a effectuer pour coincider avec le repere de la ligne d'arbres (rotation autour de X, puis Y, puis Z (degres))", - typ='R', - min=3,max=3, - ), # end ANGL_NAUT - TRANS = SIMP(statut='f', - fr="Translation du modele du support generalise a effectuer pour que ses noeuds de connexion soient confondus avec ceux de la ligne d'arbres (translation suivant X, Y et Z (m))", - typ='R', - min=3,max=3, - ), # end TRANS - MAIL_TDG = SIMP(statut='o', - fr="Fichier du maillage du support generalise", - typ=("Fichier","Fichier maillage TdG (*.*)"), - min=1,max=1, - ), # end MAIL_TDG - COMM_TDG = SIMP(statut='o', - fr="Fichier de la mise en donnees du support generalise", - typ=("Fichier","Fichier commande TdG (*.*)"), - min=1,max=1, - ), # end COMM_TDG - NOM_MACRO_ELEMENT_DYNAMIQUE = SIMP(statut='o', - fr="Nom du macro element dynamique cree pour le support generalise", - typ='TXM', - min=1,max=1, - ), # end NOM_MACRO_ELEMENT_DYNAMIQUE - NOM_INTERFACE = SIMP(statut='o', - fr="Nom de l'interface cree pour le support generalise", - typ='TXM', - min=1,max=1, - ), # end NOM_INTERFACE - NOM_GROUP_MA_MASSIF = SIMP(statut='o', - fr="Nom du groupe de maille representant le support generalise", - typ='TXM', - min=1,max=1, - ), # end NOM_GROUP_MA_MASSIF - REDUIT = SIMP(statut='f', - fr="Introduction du mot-cle REDUIT pour le cas ou le nombre d'interfaces n'est pas identique entre le support generalise et la ligne d'arbres", - typ='TXM', - into=("OUI",), - defaut="OUI", - ), # end REDUIT - ), # end GENERALISE - ) # end SUPPORT - -############################# LIGNE_ARBRE ######################################## -LIGNE_ARBRE = MACRO(nom = 'LIGNE_ARBRE', - op = None, - sd_prod = LigneArbre, - reentrant = 'n', - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Description de la ligne d'arbres", - ZONES = SIMP(statut='o', - fr = "Zone(s) composant la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees ZONE creees)", - typ=Zone, - min=1, - max='**', - ), # end ZONES - PALIERS = SIMP(statut='o', - fr = "Paliers supportant la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees PALIER creees)", - typ=Palier, - min=2, - max='**', - ), # end PALIERS - BUTEES = SIMP(statut='f', - fr = "Butee(s) guidant axialement la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees BUTEES creees)", - typ=Butee, - max='**' - ),#end BUTEE - PALIERS_TORSION=SIMP(statut='f', - fr = "Palier(s) de torsion de la ligne d'arbres (choisir, en faisant attention a l'ordre, parmi les entrees PALIERS_TORSION creees)", - typ=PalTor, - max='**' - ),#end PALIERS_TORSION - SUPPORTS = SIMP(statut='o', - fr = "Supports sous les paliers (choisir, en faisant attention a l'ordre, parmi les entrees SUPPORTS creees)", - typ=Support, - min=1, - max='**', - ), # end SUPPORTS - ) # end LIGNE_ARBRE - diff --git a/MT/configuration_MT.py b/MT/configuration_MT.py deleted file mode 100644 index b4ca36bd..00000000 --- a/MT/configuration_MT.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.configBase): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.configBase.__init__(self,appli,repIni) - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/MT/images/443-3.jpg b/MT/images/443-3.jpg deleted file mode 100644 index 88424b2b..00000000 Binary files a/MT/images/443-3.jpg and /dev/null differ diff --git a/MT/images/Bouquet_PN.jpg b/MT/images/Bouquet_PN.jpg deleted file mode 100755 index 50e5295c..00000000 Binary files a/MT/images/Bouquet_PN.jpg and /dev/null differ diff --git a/MT/images/__init__.py b/MT/images/__init__.py deleted file mode 100644 index 6e9bbe36..00000000 --- a/MT/images/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -# -# diff --git a/MT/images/cymbidium-atropurpureum-f2.jpg b/MT/images/cymbidium-atropurpureum-f2.jpg deleted file mode 100644 index 33c427ee..00000000 Binary files a/MT/images/cymbidium-atropurpureum-f2.jpg and /dev/null differ diff --git a/MT/images/dicoDesIcones.py b/MT/images/dicoDesIcones.py deleted file mode 100644 index 3327825d..00000000 --- a/MT/images/dicoDesIcones.py +++ /dev/null @@ -1,8 +0,0 @@ -dicoIcones={ - 'MATERIAUX' : "/home/A96028/QT5GitEficasTravail/eficas/MT/images/443-3.jpg", - 'ZONE' : "/home/A96028/QT5GitEficasTravail/eficas/MT/images/Bouquet_PN.jpg", - 'PALIER' : "/home/A96028/QT5GitEficasTravail/eficas/MT/images/cymbidium-atropurpureum-f2.jpg", - 'PALIER_TORSION' : "/home/A96028/QT5GitEficasTravail/eficas/MT/images/images.jpeg", - 'BUTEE' : "/home/A96028/QT5GitEficasTravail/eficas/MT/images/rose.JPG", -} -dicoImages={} diff --git a/MT/images/images.jpeg b/MT/images/images.jpeg deleted file mode 100644 index 02b96306..00000000 Binary files a/MT/images/images.jpeg and /dev/null differ diff --git a/MT/images/rose.JPG b/MT/images/rose.JPG deleted file mode 100755 index d91a4e98..00000000 Binary files a/MT/images/rose.JPG and /dev/null differ diff --git a/MT/mesScripts_MT.py b/MT/mesScripts_MT.py deleted file mode 100644 index 010ea2d6..00000000 --- a/MT/mesScripts_MT.py +++ /dev/null @@ -1,70 +0,0 @@ -def view_zone(listeparam) : - item=listeparam[0] - from mt.visu import visu_geom - visu_zone = visu_geom.VisuGeom(from_eficas=True, - eficas_item=item, - ligne_arbre=False) - visu_zone.visualize() - -def view_ligne_arbre(listeparam) : - item=listeparam[0] - from mt.visu import visu_geom - visu_arbre = visu_geom.VisuGeom(from_eficas=True, - eficas_item=item, - ligne_arbre=True) - visu_arbre.visualize() - -def import_zone_MT(listeparam): - from PyQt5.QtWidgets import QFileDialog - - # selection fichier - fn = QFileDialog.getOpenFileName() - if not fn : return - FichieraTraduire=str(fn[0]) - - # lancement traduction - from mt.visu import traduire_catalogue_zone - tr=traduire_catalogue_zone.TraductionZone(file1=FichieraTraduire) - result,texte=tr.traduireZone() - - if result==True : - txt="sansnom="+texte - editor=listeparam[0] - itemWidget=listeparam[1] - editor.updateJdcEtape(itemWidget,txt) - - -def import_zone(listeparam): - #texte="ZONE(NOEUDS=(_F(NOM='N1',POSITION_AXIALE=0.0,), _F(NOM='N2',POSITION_AXIALE=0.1,), _F(NOM='N3',POSITION_AXIALE=0.2,), _F(NOM='N4',POSITION_AXIALE=0.3,),),)," - from txtZone import texte - #texte="sansnom="+texte - editor=listeparam[0] - itemWidget=listeparam[1] - itemParent=itemWidget.vraiParent - index = itemWidget.vraiParent.children.index(itemWidget) - - #print editor.updateJdc - #editor.updateJdc(itemWidget,txt) - retour = editor.updateJdcEtape(itemWidget,texte) - if retour : - - oldItem=itemParent.children[index] - oldItem.select() - oldItem.supprimeNoeud() - - -# le dictionnaire des commandes a la structure suivante : -# la clef est la commande qui va proposer l action -# puis un tuple qui contient -# - la fonction a appeler -# - le label dans le menu du clic droit -# - un tuple contenant les parametres attendus par la fonction -# - appelable depuis Salome uniquement -) -# - appelable depuis un item valide uniquement -# - toolTip -dict_commandes={ - 'LIGNE_ARBRE':((view_ligne_arbre,"View",('item',),False,True,"affiche dans Geom la representation de la ligne d'arbre"),), - 'ZONE':( - (view_zone,"View",('item',),False,True,"affiche dans Geom la representation de la zone "), - (import_zone,"import_zone",('editor','self'),False,False,"import de fichier zone"),) - } diff --git a/MT/prefs.py b/MT/prefs.py deleted file mode 100644 index 7f8d8fa1..00000000 --- a/MT/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="MT" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/MT/prefs_MT.py b/MT/prefs_MT.py deleted file mode 100644 index 47eaa47c..00000000 --- a/MT/prefs_MT.py +++ /dev/null @@ -1,46 +0,0 @@ -# -*- coding: utf-8 -*- -# maConfiguration MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# -catalogues=( - #('MT','V2017',os.path.join(repIni,'MT_Cata_V2017.py'),'python','python'), - ('MT','V2020',os.path.join(repIni,'MT_Cata_V2020.py'),'python','python'), -) -nombreDeBoutonParLigne=4 -simpleClic=True -#closeFrameRechercheCommande=True -closeParenthese=True -boutonDsMenuBar=True -ficIcones='images.dicoDesIcones' diff --git a/MT/properties.py b/MT/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/MT/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/MT/qtEficasMT.py b/MT/qtEficasMT.py deleted file mode 100755 index 3fa63c87..00000000 --- a/MT/qtEficasMT.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour MAP -""" -# Modules Python -# Modules Eficas -import sys -import prefs -name='prefs_'+prefs.code -__import__(name) - -import os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lanceEficas(code=prefs.code) diff --git a/MT/reecrit_comm.py_VOprofile.py b/MT/reecrit_comm.py_VOprofile.py deleted file mode 100755 index 2ea327f2..00000000 --- a/MT/reecrit_comm.py_VOprofile.py +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -""" -""" -# Modules Python -from __future__ import absolute_import - -import sys,os - -# Modules Eficas -import prefs -if hasattr(prefs,'encoding'): - # Hack pour changer le codage par defaut des strings - import sys - reload(sys) - sys.setdefaultencoding(prefs.encoding) - del sys.setdefaultencoding - # Fin hack - - -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -from InterfaceQT4 import eficas_go - -from PyQt5.QtWidgets import QApplication -app = QApplication(sys.argv) -# on veut ouvrir un fichier directement au lancement d'Eficas - - -import cProfile, pstats, StringIO -pr = cProfile.Profile() -pr.enable() -eficas_go.lance_eficas_ssIhm_reecrit(code='MT',fichier = 'gros_modele_MT.comm',ou = 'toto',cr=True) -pr.disable() -s = StringIO.StringIO() -sortby = 'cumulative' -ps = pstats.Stats(pr, stream=s).sort_stats(sortby) -ps.print_stats() -print s.getvalue() diff --git a/MT/sdll124a.machine b/MT/sdll124a.machine deleted file mode 100644 index ecc40046..00000000 --- a/MT/sdll124a.machine +++ /dev/null @@ -1,207 +0,0 @@ - -DIRE=DIRECTION(AXE='HORIZONTAL',); - -MAT=MATERIAUX(TYPE_INTRO='MANUELLE', - RHO=7800.0, - E=2e+11, - NU=0.3,); - -P1=PALIER(POSITION=0.0, - TYPE_PALIER='PALIER LINEAIRE', - TYPE_SAISIE='MANUELLE', - CARAC_PALIER=( - _F(VITESSE_ROTATION=0.0, - SYME='NON', - RIGIDITE=_F(KXX=70000000.0, - KXY=0.0, - KYX=0.0, - KYY=50000000.0,), - AMORTISSEMENT=_F(AXX=700.0, - AXY=0.0, - AYX=0.0, - AYY=500.0,),), - _F(VITESSE_ROTATION=None, - SYME='OUI', - RIGIDITE=_F(KXX=None, - KXY=None, - KYY=None,), - AMORTISSEMENT=_F(AXX=None, - AXY=None, - AYY=None,),),),); - -P2=PALIER(POSITION=1.3, - TYPE_PALIER='PALIER LINEAIRE', - TYPE_SAISIE='MANUELLE', - CARAC_PALIER=_F(VITESSE_ROTATION=0.0, - SYME='NON', - RIGIDITE=_F(KXX=70000000.0, - KXY=0.0, - KYX=0.0, - KYY=50000000.0,), - AMORTISSEMENT=_F(AXX=700.0, - AXY=0.0, - AYX=0.0, - AYY=500.0,),),); - -Z=ZONE(MASSE=(_F(NOEUD='N3', - TYPE_MASSE='DISQUE', - TYPE_SAISIE='GEOMETRIQUE', - PARAMETRES=_F(DIAMETRE_EXT=0.24, - DIAMETRE_INT=0.1, - EPAISSEUR=0.05, - MATERIAU=MAT,),), - _F(NOEUD='N6', - TYPE_MASSE='DISQUE', - TYPE_SAISIE='GEOMETRIQUE', - PARAMETRES=_F(DIAMETRE_EXT=0.4, - DIAMETRE_INT=0.1, - EPAISSEUR=0.05, - MATERIAU=MAT,),), - _F(NOEUD='N11', - TYPE_MASSE='DISQUE', - TYPE_SAISIE='GEOMETRIQUE', - PARAMETRES=_F(DIAMETRE_EXT=0.4, - DIAMETRE_INT=0.1, - EPAISSEUR=0.06, - MATERIAU=MAT,),),), - NOEUDS=(_F(NOM='N1', - POSITION_AXIALE=0.0,), - _F(NOM='N2', - POSITION_AXIALE=0.0,), - _F(NOM='N3', - POSITION_AXIALE=0.0,), - _F(NOM='N4', - POSITION_AXIALE=0.0,), - _F(NOM='N5', - POSITION_AXIALE=0.0,), - _F(NOM='N6', - POSITION_AXIALE=0.0,), - _F(NOM='N7', - POSITION_AXIALE=0.0,), - _F(NOM='N8', - POSITION_AXIALE=0.0,), - _F(NOM='N9', - POSITION_AXIALE=0.0,), - _F(NOM='N10', - POSITION_AXIALE=0.0,), - _F(NOM='N11', - POSITION_AXIALE=0.0,), - _F(NOM='N12', - POSITION_AXIALE=0.0,), - _F(NOM='N13', - POSITION_AXIALE=0.0,), - _F(NOM='N14', - POSITION_AXIALE=0.0,),), - ELEMENTS=(_F(NOM='E1', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E2', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E3', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E4', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E5', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E6', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E7', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E8', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E9', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E10', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E11', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E12', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),), - _F(NOM='E13', - NOEUD_DEBUT=None, - NOEUD_FIN=None, - RAFFINEMENT='NON', - MATERIAU=MAT, - SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', - DIAM_EXTERN_DEBUT=0.1, - DIAM_INTERN_DEBUT=0.0,),),),); - -SUPP=SUPPORT(TYPE_SUPPORT='RIGIDE',); - -LA=LIGNE_ARBRE(DIRECTION=DIRE, - ZONES=Z, - PALIERS=(P1,P2,), - SUPPORTS=SUPP,); -#VERSION_CATALOGUE:2016.0.0:FIN VERSION_CATALOGUE -#CHECKSUM:285dfc315d1960bb4f61ff9617312f36 -:FIN CHECKSUM \ No newline at end of file diff --git a/MT/txtZone.py b/MT/txtZone.py deleted file mode 100644 index 89f4204f..00000000 --- a/MT/txtZone.py +++ /dev/null @@ -1,227 +0,0 @@ -texte="ZONE(NOEUDS=(_F(NOM='N1',POSITION_AXIALE=0.0,),\ - _F(NOM='N2',POSITION_AXIALE=0.1,),\ - _F(NOM='N3',POSITION_AXIALE=0.2,),\ - _F(NOM='N4',POSITION_AXIALE=0.3,),\ - _F(NOM='N5',POSITION_AXIALE=0.4,),\ - _F(NOM='N6',POSITION_AXIALE=0.5,),\ - _F(NOM='N7',POSITION_AXIALE=0.6,),\ - _F(NOM='N8',POSITION_AXIALE=0.7,),\ - _F(NOM='N9',POSITION_AXIALE=0.8,),\ - _F(NOM='N10',POSITION_AXIALE=0.9,),\ - _F(NOM='N11',POSITION_AXIALE=1.0,),\ - _F(NOM='N12',POSITION_AXIALE=1.1,),\ - _F(NOM='N13',POSITION_AXIALE=1.2,),\ - _F(NOM='N14',POSITION_AXIALE=1.3,),\ -),\ - ELEMENTS=(_F(NOM='E1',\ - NOEUD_DEBUT='N1',\ - NOEUD_FIN='N2',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E2',\ - NOEUD_DEBUT='N2',\ - NOEUD_FIN='N3',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E3',\ - NOEUD_DEBUT='N3',\ - NOEUD_FIN='N4',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E4',\ - NOEUD_DEBUT='N4',\ - NOEUD_FIN='N5',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E5',\ - NOEUD_DEBUT='N5',\ - NOEUD_FIN='N6',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E6',\ - NOEUD_DEBUT='N6',\ - NOEUD_FIN='N7',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E7',\ - NOEUD_DEBUT='N7',\ - NOEUD_FIN='N8',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.05,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.05,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.05,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.05,),),\ - _F(NOM='E8',\ - NOEUD_DEBUT='N8',\ - NOEUD_FIN='N9',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E9',\ - NOEUD_DEBUT='N9',\ - NOEUD_FIN='N10',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E10',\ - NOEUD_DEBUT='N10',\ - NOEUD_FIN='N11',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E11',\ - NOEUD_DEBUT='N11',\ - NOEUD_FIN='N12',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E12',\ - NOEUD_DEBUT='N12',\ - NOEUD_FIN='N13',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E13',\ - NOEUD_DEBUT='N13',\ - NOEUD_FIN='N14',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ -),\ - MASSE=(_F(NOEUD='N5',\ - TYPE_MASSE='AILETTE',\ - TYPE_SAISIE='MECANIQUE',\ - PARAMETRES=_F(MASSE=1.3,\ - INERTIEX=0.1,\ - INERTIEY=0.1,\ - INERTIEZ=0.05,),),\ - _F(NOEUD='N8',\ - TYPE_MASSE='QUELCONQUE',\ - PARAMETRES=_F(MASSE=1.2,\ - INERTIEX=0.0,\ - INERTIEY=0.0,\ - INERTIEZ=0.0,),),\ -),\ -),\ -" diff --git a/MT/txtZonePN.py b/MT/txtZonePN.py deleted file mode 100644 index 89f4204f..00000000 --- a/MT/txtZonePN.py +++ /dev/null @@ -1,227 +0,0 @@ -texte="ZONE(NOEUDS=(_F(NOM='N1',POSITION_AXIALE=0.0,),\ - _F(NOM='N2',POSITION_AXIALE=0.1,),\ - _F(NOM='N3',POSITION_AXIALE=0.2,),\ - _F(NOM='N4',POSITION_AXIALE=0.3,),\ - _F(NOM='N5',POSITION_AXIALE=0.4,),\ - _F(NOM='N6',POSITION_AXIALE=0.5,),\ - _F(NOM='N7',POSITION_AXIALE=0.6,),\ - _F(NOM='N8',POSITION_AXIALE=0.7,),\ - _F(NOM='N9',POSITION_AXIALE=0.8,),\ - _F(NOM='N10',POSITION_AXIALE=0.9,),\ - _F(NOM='N11',POSITION_AXIALE=1.0,),\ - _F(NOM='N12',POSITION_AXIALE=1.1,),\ - _F(NOM='N13',POSITION_AXIALE=1.2,),\ - _F(NOM='N14',POSITION_AXIALE=1.3,),\ -),\ - ELEMENTS=(_F(NOM='E1',\ - NOEUD_DEBUT='N1',\ - NOEUD_FIN='N2',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E2',\ - NOEUD_DEBUT='N2',\ - NOEUD_FIN='N3',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E3',\ - NOEUD_DEBUT='N3',\ - NOEUD_FIN='N4',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E4',\ - NOEUD_DEBUT='N4',\ - NOEUD_FIN='N5',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E5',\ - NOEUD_DEBUT='N5',\ - NOEUD_FIN='N6',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E6',\ - NOEUD_DEBUT='N6',\ - NOEUD_FIN='N7',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E7',\ - NOEUD_DEBUT='N7',\ - NOEUD_FIN='N8',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.05,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.05,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.05,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.05,),),\ - _F(NOM='E8',\ - NOEUD_DEBUT='N8',\ - NOEUD_FIN='N9',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E9',\ - NOEUD_DEBUT='N9',\ - NOEUD_FIN='N10',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E10',\ - NOEUD_DEBUT='N10',\ - NOEUD_FIN='N11',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E11',\ - NOEUD_DEBUT='N11',\ - NOEUD_FIN='N12',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E12',\ - NOEUD_DEBUT='N12',\ - NOEUD_FIN='N13',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ - _F(NOM='E13',\ - NOEUD_DEBUT='N13',\ - NOEUD_FIN='N14',\ - RAFFINEMENT='NON',\ - MATERIAU=MAT,\ - SECTION_MASSE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.1,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.1,\ - DIAM_INTERN_SORTIE=0.0,),\ - SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE',\ - DIAM_EXTERN_DEBUT=0.11,\ - DIAM_INTERN_DEBUT=0.0,\ - DIAM_EXTERN_SORTIE=0.11,\ - DIAM_INTERN_SORTIE=0.0,),),\ -),\ - MASSE=(_F(NOEUD='N5',\ - TYPE_MASSE='AILETTE',\ - TYPE_SAISIE='MECANIQUE',\ - PARAMETRES=_F(MASSE=1.3,\ - INERTIEX=0.1,\ - INERTIEY=0.1,\ - INERTIEZ=0.05,),),\ - _F(NOEUD='N8',\ - TYPE_MASSE='QUELCONQUE',\ - PARAMETRES=_F(MASSE=1.2,\ - INERTIEX=0.0,\ - INERTIEY=0.0,\ - INERTIEZ=0.0,),),\ -),\ -),\ -" diff --git a/Noyau/CMakeLists.txt b/Noyau/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Noyau/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/Aster/CMakeLists.txt b/OldCodes/Aster/CMakeLists.txt deleted file mode 100644 index a4e9ae01..00000000 --- a/OldCodes/Aster/CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python, texte et images du repertoire et des sous-repertoires (sauf CVS) -install ( - FILES - configuration_ASTER.py __init__.py prefs_ASTER.py prefs.py - qtEficas_aster.py qtGroup.py style.py - #editeur_salome.ini editeur.ini properties.py - eficas_aster.py - LICENSE.TERMS - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aster - ) -add_subdirectory (Cata) - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/Aster/Cata/CMakeLists.txt b/OldCodes/Aster/Cata/CMakeLists.txt deleted file mode 100644 index 00c30d3f..00000000 --- a/OldCodes/Aster/Cata/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python, texte et images du repertoire et des sous-repertoires (sauf CVS) -install ( - FILES - __init__.py cataSTA8c_clefs_docu cataSTA9c_clefs_docu - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aster/Cata - ) -install ( - DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Utilitai - ${CMAKE_CURRENT_SOURCE_DIR}/cataSTA10 - ${CMAKE_CURRENT_SOURCE_DIR}/cataSTA9 - ${CMAKE_CURRENT_SOURCE_DIR}/cataSTA11 - DESTINATION ${CMAKE_INSTALL_PREFIX}/Aster/Cata -) - - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/Aster/Cata/__init__.py b/OldCodes/Aster/Cata/__init__.py deleted file mode 100644 index fda01819..00000000 --- a/OldCodes/Aster/Cata/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -#@ MODIF __init__ Cata DATE 20/09/2004 AUTEUR DURAND C.DURAND -# -*- coding: iso-8859-1 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== diff --git a/OldCodes/Aster/Cata/cataSTA11/__init__.py b/OldCodes/Aster/Cata/cataSTA11/__init__.py deleted file mode 100644 index 3cdb1caf..00000000 --- a/OldCodes/Aster/Cata/cataSTA11/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -import os,sys -sys.modules["Cata"]=sys.modules[__name__] -rep_macro = os.path.dirname(__file__) -sys.path.insert(0,rep_macro) -rep_macro=os.path.join(rep_macro,'Macro') -sys.path.insert(0,rep_macro) - -if sys.modules.has_key("SD"): - del sys.modules["SD"] -for k in sys.modules.keys(): - if k[0:3] == "SD.": - del sys.modules[k] - - -from cata import * -from math import ceil -from Extensions import param2 -pi=param2.Variable('pi',pi) diff --git a/OldCodes/Aster/Cata/cataSTA11/cata.py b/OldCodes/Aster/Cata/cataSTA11/cata.py deleted file mode 100755 index 484fc518..00000000 --- a/OldCodes/Aster/Cata/cataSTA11/cata.py +++ /dev/null @@ -1,34413 +0,0 @@ -# coding: utf-8 -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -import os -from math import sin, cos, tan, asin, acos, atan2, atan, sinh, cosh, tanh -from math import pi ,exp,log, log10, sqrt - -import Accas -from Accas import * -from Accas import _F -import ops - -try: - import aster - aster_exists = True -except ImportError: - aster = None - aster_exists = False - -# Le catalogue est constitué par concaténation des fichiers .capy -# de catapy/{entete,commun,commande}. - -# Tous les imports globaux devraient être faits ici dans accas.capy. -# Veillez à limiter les imports dans la définition des concepts (co_*.capy) -# au strict nécessaire et les faire sous les méthodes qui en ont -# expressément besoin. - -JdC = JDC_CATA(code='ASTER', - execmodul=None, -# regles=(AU_MOINS_UN('DEBUT', 'POURSUITE'), -# AU_MOINS_UN('FIN'), -# A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN')) - ) - -# Types géométriques -class no(GEOM): - """ - Classe servant à définir le nom d'un noeud dans le fichier de commande - En clair : un chaine de longueur 8. - """ - pass - -class grno(GEOM): - """ - Classe servant à définir le nom d'un groupe de noeuds dans le fichier de commande - En clair : un chaine de longueur 24. - """ - def __convert__(cls,valeur): - """ - Fonction de verification de la longueur de la chaine - """ - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 24: - return valeur.strip() - raise ValueError(_(u'On attend une chaine de caractères (de longueur <= 24).')) - __convert__ = classmethod(__convert__) - -class ma(GEOM): - """ - Classe servant à définir le nom d'une maille dans le fichier de commande - En clair : un chaine de longueur 8. - """ - pass - -class grma(GEOM): - """ - Classe servant à définir le nom d'un groupe de mailles dans le fichier de commande - En clair : un chaine de longueur 24. - """ - def __convert__(cls,valeur): - """ - Fonction de verification de la longueur de la chaine - """ - if isinstance(valeur, (str,unicode)) and len(valeur.strip()) <= 24: - return valeur.strip() - raise ValueError(_(u'On attend une chaine de caractères (de longueur <= 24).')) - __convert__ = classmethod(__convert__) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class cabl_precont(ASSD): - cata_sdj = "SD.sd_cabl_precont.sd_cabl_precont" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class cara_elem(ASSD): - cata_sdj = "SD.sd_cara_elem.sd_cara_elem" - - def toEPX(self): - - # Raideurs - ressorts = {} - - try: - EPXnoeud = self.sdj.CARRIGXN.get() - EPXval = self.sdj.CARRIGXV.get() - lenEPXval = len(EPXval) - lenEPXnoeud = len(EPXnoeud)*6 - except: - # s'il y a un problème sur la structure de données ==> - from Utilitai.Utmess import UTMESS - UTMESS('F','MODELISA9_98') - # Vérification de la déclaration qui est faite dans 'acearp' - if ( lenEPXval != lenEPXnoeud ): - from Utilitai.Utmess import UTMESS - UTMESS('F','MODELISA9_97') - # Tout est OK - i=0 - for no in EPXnoeud : - ressorts[no] = EPXval[i:i+6] - i+=6 - - # Amortissements - amorts = {} - try: - EPXnoeud = self.sdj.CARAMOXN.get() - EPXval = self.sdj.CARAMOXV.get() - lenEPXval = len(EPXval) - lenEPXnoeud = len(EPXnoeud)*6 - except: - # s'il y a un problème sur la structure de données ==> - from Utilitai.Utmess import UTMESS - UTMESS('F','MODELISA9_98') - # Vérification de la déclaration qui est faite dans 'acearp' - if ( lenEPXval != lenEPXnoeud ): - from Utilitai.Utmess import UTMESS - UTMESS('F','MODELISA9_97') - # Tout est OK - i=0 - for no in EPXnoeud : - amorts[no] = EPXval[i:i+6] - i+=6 - - return ressorts, amorts - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -class cham_gd_sdaster(ASSD): - cata_sdj = "SD.sd_champ.sd_champ" - -class carte_sdaster(cham_gd_sdaster): - cata_sdj = "SD.sd_champ.sd_carte_class" - -class cham_elem(cham_gd_sdaster): - cata_sdj = "SD.sd_champ.sd_cham_elem_class" - - def EXTR_COMP(self,comp,lgma,topo=0) : - """ retourne les valeurs de la composante comp du champ sur la liste - de groupes de mailles lgma avec eventuellement l'info de la - topologie si topo>0. Si lgma est une liste vide, c'est equivalent - a un TOUT='OUI' dans les commandes aster - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs - Si on a demande la topo : - - self.maille : numero de mailles - - self.point : numero du point dans la maille - - self.sous_point : numero du sous point dans la maille """ - import numpy - if not self.accessible() : - raise Accas.AsException("Erreur dans cham_elem.EXTR_COMP en PAR_LOT='OUI'") - - ncham=self.get_name() - ncham=ncham+(8-len(ncham))*' ' - nchams=ncham[0:7]+'S' - ncmp=comp+(8-len(comp))*' ' - - aster.prepcompcham(ncham,nchams,ncmp,"EL ",topo,lgma) - - valeurs=numpy.array(aster.getvectjev(nchams+(19-len(ncham))*' '+'.V')) - - if (topo>0) : - maille=(aster.getvectjev(nchams+(19-len(ncham))*' '+'.M')) - point=(aster.getvectjev(nchams+(19-len(ncham))*' '+'.P')) - sous_point=(aster.getvectjev(nchams+(19-len(ncham))*' '+'.SP')) - else : - maille=None - point=None - sous_point=None - - aster.prepcompcham("__DETR__",nchams,ncmp,"EL ",topo,lgma) - - return post_comp_cham_el(valeurs,maille,point,sous_point) - -class cham_no_sdaster(cham_gd_sdaster): - cata_sdj = "SD.sd_champ.sd_cham_no_class" - - def EXTR_COMP(self,comp=' ',lgno=[],topo=0) : - """ retourne les valeurs de la composante comp du champ sur la liste - de groupes de noeuds lgno avec eventuellement l'info de la - topologie si topo>0. Si lgno est une liste vide, c'est equivalent - a un TOUT='OUI' dans les commandes aster - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs - Si on a demande la topo (i.e. self.topo = 1) : - - self.noeud : numero de noeud - Si on demande toutes les composantes (comp = ' ') : - - self.comp : les composantes associees a chaque grandeur pour chaque noeud - """ - import numpy - if not self.accessible() : - raise Accas.AsException("Erreur dans cham_no.EXTR_COMP en PAR_LOT='OUI'") - - ncham=self.get_name() - ncham=ncham+(8-len(ncham))*' ' - nchams=ncham[0:7]+'S' - ncmp=comp+(8-len(comp))*' ' - - aster.prepcompcham(ncham,nchams,ncmp,"NO ",topo,lgno) - - valeurs=numpy.array(aster.getvectjev(nchams+(19-len(ncham))*' '+'.V')) - - if (topo>0) : - noeud=(aster.getvectjev(nchams+(19-len(ncham))*' '+'.N')) - else : - noeud=None - - if comp[:1] == ' ': - comp=(aster.getvectjev(nchams+(19-len(ncham))*' '+'.C')) - aster.prepcompcham("__DETR__",nchams,ncmp,"NO ",topo,lgno) - return post_comp_cham_no(valeurs,noeud,comp) - else: - aster.prepcompcham("__DETR__",nchams,ncmp,"NO ",topo,lgno) - return post_comp_cham_no(valeurs,noeud) - - def __add__(self, other): - from SD.sd_nume_equa import sd_nume_equa - # on recupere le type - __nume_ddl=sd_nume_equa(self.sdj.REFE.get()[1]) - __gd=__nume_ddl.REFN.get()[1].strip() - __type='NOEU_'+__gd - # on recupere le nom du maillage - __nomMaillage=self.sdj.REFE.get()[0].strip() - # on recupere l'objet du maillage - __maillage=CONTEXT.get_current_step().get_concept(__nomMaillage) - __CHAM = CREA_CHAMP(OPERATION='ASSE', - MAILLAGE=__maillage, - TYPE_CHAM=__type, - INFO=1, - ASSE=(_F(CHAM_GD=self, - TOUT='OUI', - CUMUL='OUI', - COEF_R=1.), - _F(CHAM_GD=other, - TOUT='OUI', - CUMUL='OUI', - COEF_R=1.), - )) - return __CHAM - -# post-traitement : -class post_comp_cham_no : - def __init__(self, valeurs, noeud=None, comp=None) : - self.valeurs = valeurs - self.noeud = noeud - self.comp = comp - -class post_comp_cham_el : - def __init__(self, valeurs, maille=None, point=None, sous_point=None) : - self.valeurs = valeurs - self.maille = maille - self.point = point - self.sous_point = sous_point - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -class cham_mater(ASSD): - cata_sdj = "SD.sd_cham_mater.sd_cham_mater" - - def get_vale_ref(self, nom_varc): - """Retourne la valeur de référence de `nom_varc`.""" - from SD.sd_carte import sd_carte - nom_varc = nom_varc.strip() - varc = self.sdj.varc - nom = [sv.strip() for sv in varc.CVRCNOM.get()] - assert nom_varc in nom, (nom_varc, nom) - idx = nom.index(nom_varc) - novarc = [sv for sv in varc.CVRCVARC.get()] - assert len(novarc) > idx, novarc - nomch = novarc[idx] - # accès à la carte - cartref = sd_carte("%-8s.%-8s.1" % (self.nom, nomch)) - valref = cartref.VALE.get()[0] - return valref - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_acou(ASSD): - cata_sdj = "SD.sd_char_acou.sd_char_acou" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_cine_acou(ASSD): - cata_sdj = "SD.sd_char_cine.sd_char_cine" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_cine_meca(ASSD): - cata_sdj = "SD.sd_char_cine.sd_char_cine" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_cine_ther(ASSD): - cata_sdj = "SD.sd_char_cine.sd_char_cine" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_contact(ASSD): - cata_sdj = "SD.sd_contact.sd_contact" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_meca(ASSD): - cata_sdj = "SD.sd_char_meca.sd_char_meca" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class char_ther(ASSD): - cata_sdj = "SD.sd_char_ther.sd_char_ther" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class compor_sdaster(ASSD): - cata_sdj = "SD.sd_compor.sd_compor" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class corresp_2_mailla(ASSD): - cata_sdj = "SD.sd_corresp_2_mailla.sd_corresp_2_mailla" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class courbe_sdaster(ASSD): - cata_sdj = "SD.sd_courbe.sd_courbe" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -class entier(ASSD): - cata_sdj = "SD.AsBase" - - def __init__(self, valeur=None, **args): - ASSD.__init__(self, **args) - self.valeur = valeur - - def __adapt__(self, validator): - if validator.name == "list": - # validateur liste,cardinalité - return (self, ) - elif validator.name == "type": - # validateur type - return validator.adapt(self.valeur or 0) - else: - # validateur into et valid - return self - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class fiss_xfem(ASSD): - cata_sdj = "SD.sd_xfem.sd_fiss_xfem" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -# types 'fonction' : -class fonction_class(ASSD): - cata_sdj = "SD.sd_fonction.sd_fonction_aster" - - def Valeurs(self): - pass - - def Parametres(self): - """ - Retourne un dictionnaire contenant les parametres de la fonction ; - le type jeveux (FONCTION, FONCT_C, NAPPE) n'est pas retourne, - le dictionnaire peut ainsi etre fourni a CALC_FONC_INTERP tel quel. - """ - from Utilitai.Utmess import UTMESS - if self.accessible(): - TypeProl={'E':'EXCLU', 'L':'LINEAIRE', 'C':'CONSTANT' } - objev = '%-19s.PROL' % self.get_name() - prol = self.sdj.PROL.get() - if prol == None: - UTMESS('F', 'SDVERI_2', valk=[objev]) - dico={ - 'INTERPOL' : [prol[1][0:3],prol[1][4:7]], - 'NOM_PARA' : prol[2][0:16].strip(), - 'NOM_RESU' : prol[3][0:16].strip(), - 'PROL_DROITE' : TypeProl[prol[4][1]], - 'PROL_GAUCHE' : TypeProl[prol[4][0]], - } - elif hasattr(self,'etape') and self.etape.nom=='DEFI_FONCTION' : - dico={ - 'INTERPOL' : self.etape['INTERPOL'], - 'NOM_PARA' : self.etape['NOM_PARA'], - 'NOM_RESU' : self.etape['NOM_RESU'], - 'PROL_DROITE' : self.etape['PROL_DROITE'], - 'PROL_GAUCHE' : self.etape['PROL_GAUCHE'], - } - if type(dico['INTERPOL']) == tuple: - dico['INTERPOL']=list(dico['INTERPOL']) - elif type(dico['INTERPOL']) == str: - dico['INTERPOL']=[dico['INTERPOL'],] - if len(dico['INTERPOL'])==1 : - dico['INTERPOL']=dico['INTERPOL']*2 - else: - raise Accas.AsException("Erreur dans fonction.Parametres en PAR_LOT='OUI'") - return dico - - def Trace(self,FORMAT='TABLEAU',**kargs): - """Tracé d'une fonction""" - if not self.accessible() : - raise Accas.AsException("Erreur dans fonction.Trace en PAR_LOT='OUI'") - from Utilitai.Graph import Graph - gr=Graph() - gr.AjoutCourbe(Val=self.Valeurs(), - Lab=[self.Parametres()['NOM_PARA'],self.Parametres()['NOM_RESU']], - Leg=os.linesep.join(self.sdj.TITR.get()) ) - gr.Trace(FORMAT=FORMAT,**kargs) - -class fonction_sdaster(fonction_class): - - def convert(self, arg='real'): - """ - Retourne un objet de la classe t_fonction - représentation python de la fonction - """ - from Cata_Utils.t_fonction import t_fonction, t_fonction_c - class_fonction = t_fonction - if arg == 'complex': - class_fonction = t_fonction_c - absc, ordo = self.Valeurs() - return class_fonction(absc, ordo, self.Parametres(), nom=self.nom) - - def Valeurs(self) : - """ - Retourne deux listes de valeurs : abscisses et ordonnees - """ - from Utilitai.Utmess import UTMESS - if self.accessible(): - vale = '%-19s.VALE' % self.get_name() - lbl = self.sdj.VALE.get() - if lbl == None: - UTMESS('F', 'SDVERI_2', valk=[vale]) - lbl = list(lbl) - dim = len(lbl)/2 - lx = lbl[0:dim] - ly = lbl[dim:2*dim] - elif hasattr(self, 'etape') and self.etape.nom == 'DEFI_FONCTION' : - if self.etape['VALE'] is not None: - lbl = list(self.etape['VALE']) - dim = len(lbl) - lx = [lbl[i] for i in range(0,dim,2)] - ly = [lbl[i] for i in range(1,dim,2)] - elif self.etape['VALE_PARA'] is not None: - lx = self.etape['VALE_PARA'].Valeurs() - ly = self.etape['VALE_FONC'].Valeurs() - elif self.etape['ABSCISSE'] is not None: - lx = self.etape['ABSCISSE'] - ly = self.etape['ORDONNEE'] - else: - raise Accas.AsException("Erreur (fonction.Valeurs) : ne fonctionne en " \ - "PAR_LOT='OUI' que sur des fonctions produites par DEFI_FONCTION " \ - "dans le fichier de commandes courant.") - else: - raise Accas.AsException("Erreur (fonction.Valeurs) : ne fonctionne en " \ - "PAR_LOT='OUI' que sur des fonctions produites par DEFI_FONCTION " \ - "dans le fichier de commandes courant.") - return [lx, ly] - - def Absc(self): - """Retourne la liste des abscisses""" - return self.Valeurs()[0] - - def Ordo(self): - """Retourne la liste des ordonnées""" - return self.Valeurs()[1] - - def __call__(self, val, tol=1.e-6): - """Evaluate a function at 'val'. If provided, 'tol' is a relative - tolerance to match an abscissa value.""" - # Pour EFICAS : substitution de l'instance de classe - # parametre par sa valeur - if isinstance(val, ASSD): - val=val.valeur - __ff=self.convert() - return __ff(val, tol=tol) - - -class fonction_c(fonction_class): - - def convert(self,arg='real'): - """ - Retourne un objet de la classe t_fonction ou t_fonction_c, - représentation python de la fonction complexe - """ - import numpy - from Cata_Utils.t_fonction import t_fonction, t_fonction_c - class_fonction = t_fonction - if arg == 'complex': - class_fonction = t_fonction_c - absc = self.Absc() - para = self.Parametres() - if arg == 'real': - ordo = self.Ordo() - elif arg == 'imag': - ordo = self.OrdoImg() - elif arg == 'modul': - ordo = numpy.sqrt(numpy.array(self.Ordo())**2 + numpy.array(self.OrdoImg())**2) - elif arg == 'phase': - ordo = numpy.arctan2(numpy.array(self.OrdoImg()), numpy.array(self.Ordo())) * 180. / pi - elif arg == 'complex': - ordo = map(complex,self.Ordo(),self.OrdoImg()) - else: - assert False, 'unexpected value for arg: %r' % arg - return class_fonction(self.Absc(), ordo, self.Parametres(), nom=self.nom) - - def Valeurs(self) : - """ - Retourne trois listes de valeurs : abscisses, parties reelles et imaginaires. - """ - from Utilitai.Utmess import UTMESS - if self.accessible(): - vale = '%-19s.VALE' % self.get_name() - lbl = self.sdj.VALE.get() - if lbl == None: - UTMESS('F', 'SDVERI_2', valk=[vale]) - lbl = list(lbl) - dim=len(lbl)/3 - lx=lbl[0:dim] - lr=[] - li=[] - for i in range(dim): - lr.append(lbl[dim+2*i]) - li.append(lbl[dim+2*i+1]) - elif hasattr(self, 'etape') and self.etape.nom == 'DEFI_FONCTION' \ - and self.etape['VALE_C'] is not None: - lbl=list(self.etape['VALE_C']) - dim=len(lbl) - lx=[lbl[i] for i in range(0,dim,3)] - lr=[lbl[i] for i in range(1,dim,3)] - li=[lbl[i] for i in range(2,dim,3)] - else: - raise Accas.AsException("Erreur (fonction_c.Valeurs) : ne fonctionne en " \ - "PAR_LOT='OUI' que sur des fonctions produites par DEFI_FONCTION " \ - "dans le jdc courant.") - return [lx, lr, li] - - def Absc(self): - """Retourne la liste des abscisses""" - return self.Valeurs()[0] - - def Ordo(self): - """Retourne la liste des parties réelles des ordonnées""" - return self.Valeurs()[1] - - def OrdoImg(self): - """Retourne la liste des parties imaginaires des ordonnées""" - return self.Valeurs()[2] - - def Trace(self,FORMAT='TABLEAU',**kargs): - """Tracé d'une fonction complexe""" - if not self.accessible(): - raise Accas.AsException("Erreur dans fonction_c.Trace en PAR_LOT='OUI'") - from Utilitai.Graph import Graph - para = self.Parametres() - gr=Graph() - gr.AjoutCourbe(Val=self.Valeurs(), - Lab=[para['NOM_PARA'], '%s_R' % para['NOM_RESU'], '%s_I' % para['NOM_RESU']], - Leg=os.linesep.join(self.sdj.TITR.get()) ) - gr.Trace(FORMAT=FORMAT,**kargs) - - def __call__(self, val, tol=1.e-6): - """Evaluate a function at 'val'. If provided, 'tol' is a relative - tolerance to match an abscissa value.""" - # Pour EFICAS : substitution de l'instance de classe - # parametre par sa valeur - if isinstance(val, ASSD): - val=val.valeur - __ff=self.convert(arg='complex') - return __ff(val, tol=tol) - - -class nappe_sdaster(fonction_class): - - def convert(self): - """ - Retourne un objet de la classe t_nappe, représentation python de la nappe - """ - from Cata_Utils.t_fonction import t_fonction, t_nappe - para = self.Parametres() - vale = self.Valeurs() - l_fonc = [] - i = 0 - for pf in para[1] : - para_f = {'INTERPOL' : pf['INTERPOL_FONC'], - 'PROL_DROITE' : pf['PROL_DROITE_FONC'], - 'PROL_GAUCHE' : pf['PROL_GAUCHE_FONC'], - 'NOM_PARA' : para[0]['NOM_PARA_FONC'], - 'NOM_RESU' : para[0]['NOM_RESU'], - } - l_fonc.append(t_fonction(vale[1][i][0],vale[1][i][1],para_f)) - i += 1 - return t_nappe(vale[0], l_fonc, para[0], nom=self.nom) - - def Valeurs(self): - """ - Retourne la liste des valeurs du parametre, - et une liste de couples (abscisses,ordonnees) de chaque fonction. - """ - from Utilitai.Utmess import UTMESS - if not self.accessible(): - raise Accas.AsException("Erreur dans nappe.Valeurs en PAR_LOT='OUI'") - nsd = '%-19s' % self.get_name() - dicv=aster.getcolljev(nsd+'.VALE') - # les cles de dicv sont 1,...,N (indice du parametre) - lpar=aster.getvectjev(nsd+'.PARA') - if lpar == None: - UTMESS('F', 'SDVERI_2', valk=[nsd+'.PARA']) - lval=[] - for k in range(len(dicv)): - lbl=dicv[k+1] - dim=len(lbl)/2 - lval.append([lbl[0:dim],lbl[dim:2*dim]]) - return [list(lpar),lval] - - def Parametres(self): - """ - Retourne un dictionnaire contenant les parametres de la nappe, - le type jeveux (NAPPE) n'est pas retourne, - le dictionnaire peut ainsi etre fourni a CALC_FONC_INTERP tel quel, - et une liste de dictionnaire des parametres de chaque fonction. - """ - from Utilitai.Utmess import UTMESS - if not self.accessible(): - raise Accas.AsException("Erreur dans nappe.Parametres en PAR_LOT='OUI'") - TypeProl={'E':'EXCLU', 'L':'LINEAIRE', 'C':'CONSTANT' } - objev = '%-19s.PROL' % self.get_name() - prol=aster.getvectjev(objev) - if prol == None: - UTMESS('F', 'SDVERI_2', valk=[objev]) - dico={ - 'INTERPOL' : [prol[1][0:3],prol[1][4:7]], - 'NOM_PARA' : prol[2][0:16].strip(), - 'NOM_RESU' : prol[3][0:16].strip(), - 'PROL_DROITE' : TypeProl[prol[4][1]], - 'PROL_GAUCHE' : TypeProl[prol[4][0]], - 'NOM_PARA_FONC' : prol[6][0:4].strip(), - } - lparf=[] - nbf=(len(prol)-7)/2 - for i in range(nbf): - dicf={ - 'INTERPOL_FONC' : [prol[7+i*2][0:3],prol[7+i*2][4:7]], - 'PROL_DROITE_FONC' : TypeProl[prol[8+i*2][1]], - 'PROL_GAUCHE_FONC' : TypeProl[prol[8+i*2][0]], - } - lparf.append(dicf) - return [dico,lparf] - - def Absc(self): - """Retourne la liste des abscisses""" - return self.Valeurs()[0] - - def Trace(self,FORMAT='TABLEAU',**kargs): - """Tracé d'une nappe""" - if not self.accessible(): - raise Accas.AsException("Erreur dans nappe.Trace en PAR_LOT='OUI'") - from Utilitai.Graph import Graph - gr=Graph() - lv=self.Valeurs()[1] - dp=self.Parametres()[0] - for lx,ly in lv: - gr.AjoutCourbe(Val=[lx,ly], Lab=[dp['NOM_PARA_FONC'],dp['NOM_RESU']], - Leg=os.linesep.join(self.sdj.TITR.get()) ) - gr.Trace(FORMAT=FORMAT,**kargs) - - def __call__(self, val1, val2, tol=1.e-6): - """Evaluate a function at 'val'. If provided, 'tol' is a relative - tolerance to match an abscissa value.""" - # Pour EFICAS : substitution de l'instance de classe - # parametre par sa valeur - if isinstance(val1, ASSD): - val1=val1.valeur - if isinstance(val2, ASSD): - val2=val2.valeur - __ff=self.convert() - return __ff(val1, val2, tol=tol) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class fond_fiss(ASSD): - cata_sdj = "SD.sd_fond_fiss.sd_fond_fiss" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class gfibre_sdaster(ASSD): - cata_sdj = "SD.sd_gfibre.sd_gfibre" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class interf_dyna_clas(ASSD): - cata_sdj = "SD.sd_interf_dyna_clas.sd_interf_dyna_clas" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr - - -class interspectre(ASSD): - cata_sdj = "SD.sd_interspectre.sd_interspectre" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class list_inst(ASSD): - cata_sdj = "SD.sd_list_inst.sd_list_inst" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class listis_sdaster(ASSD): - cata_sdj = "SD.sd_listis.sd_listis" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class listr8_sdaster(ASSD): - cata_sdj = "SD.sd_listr8.sd_listr8" - - def Valeurs(self) : - """ - Retourne la liste des valeurs : [val1, ..., valN] - """ - if not self.accessible(): - raise Accas.AsException("Erreur dans listr8.Valeurs en PAR_LOT='OUI'") - from Utilitai.Utmess import UTMESS - t_vale = self.sdj.VALE.get() - if t_vale == None: - UTMESS('F', 'SDVERI_2', valk=[vale]) - return list(t_vale) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -def VALE_triang2array(vect_VALE, dim, dtype=None): - """Conversion (par recopie) de l'objet .VALE decrivant une matrice pleine - par sa triangulaire sup en numpy.array plein. - """ - import numpy - triang_sup = numpy.array(vect_VALE) - assert dim*(dim+1)/2 == len(triang_sup), \ - 'Matrice non pleine : %d*(%d+1)/2 != %d' % (dim, dim, len(triang_sup)) - - valeur = numpy.zeros([dim, dim], dtype=dtype) - for i in range(1, dim+1): - for j in range(1, i+1): - k = i*(i-1)/2 + j - valeur[j-1, i-1]=triang_sup[k-1] - valeur = valeur + numpy.transpose(valeur) - for i in range(dim): - valeur[i, i] = 0.5 * valeur[i, i] - return valeur - -class macr_elem_dyna(ASSD): - cata_sdj = "SD.sd_macr_elem_dyna.sd_macr_elem_dyna" - - def EXTR_MATR_GENE(self,typmat) : - """ retourne les valeurs des matrices generalisees reelles - dans un format numpy - typmat='MASS_GENE' pour obtenir la matrice de masse generalisee - typmat='RIGI_GENE' pour obtenir la matrice de raideur generalisee - typmat='AMOR_GENE' pour obtenir la matrice d'amortissement generalisee - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans macr_elem_dyna.EXTR_MATR_GENE en PAR_LOT='OUI'") - - if (typmat=='MASS_GENE') : - macr_elem = self.sdj.MAEL_MASS - elif (typmat=='RIGI_GENE') : - macr_elem = self.sdj.MAEL_RAID - elif (typmat=='AMOR_GENE') : - macr_elem = self.sdj.MAEL_AMOR - else: - raise Accas.AsException("Le type de la matrice est incorrect") - - desc=numpy.array(macr_elem.DESC.get()) - # On teste si le DESC du vecteur existe - if (desc==None): - raise Accas.AsException("L'objet matrice n'existe pas ou est mal cree par Code Aster") - - matrice = VALE_triang2array(macr_elem.VALE.get(), desc[1]) - return matrice - - def RECU_MATR_GENE(self,typmat,matrice) : - """ envoie les valeurs d'un tableau numpy dans des matrices generalisees - reelles definies dans jeveux - typmat='MASS_GENE' pour obtenir la matrice de masse generalisee - typmat='RIGI_GENE' pour obtenir la matrice de raideur generalisee - typmat='AMOR_GENE' pour obtenir la matrice d'amortissement generalisee - Attributs ne retourne rien """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans macr_elem_dyna.RECU_MATR_GENE en PAR_LOT='OUI'") - - nommacr=self.get_name() - if (typmat=='MASS_GENE') : - macr_elem = self.sdj.MAEL_MASS - elif (typmat=='RIGI_GENE') : - macr_elem = self.sdj.MAEL_RAID - elif (typmat=='AMOR_GENE') : - macr_elem = self.sdj.MAEL_AMOR - else: - raise Accas.AsException("Le type de la matrice est incorrect") - nom_vale = macr_elem.VALE.nomj() - desc=numpy.array(macr_elem.DESC.get()) - - # On teste si le DESC de la matrice jeveux existe - if (desc==None): - raise Accas.AsException("L'objet matrice n'existe pas ou est mal cree par Code Aster") - numpy.asarray(matrice) - - # On teste si la matrice python est de dimension 2 - if (len(numpy.shape(matrice))<>2): - raise Accas.AsException("La dimension de la matrice est incorrecte") - - # On teste si les tailles de la matrice jeveux et python sont identiques - if (tuple([desc[1],desc[1]])<>numpy.shape(matrice)) : - raise Accas.AsException("La dimension de la matrice est incorrecte") - taille=desc[1]*desc[1]/2.0+desc[1]/2.0 - tmp=numpy.zeros([int(taille)]) - for j in range(desc[1]+1): - for i in range(j): - k=j*(j-1)/2+i - tmp[k]=matrice[j-1,i] - aster.putvectjev(nom_vale,len(tmp),tuple(( - range(1,len(tmp)+1))),tuple(tmp),tuple(tmp),1) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class macr_elem_stat(ASSD): - cata_sdj = "SD.sd_macr_elem_stat.sd_macr_elem_stat" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class maillage_sdaster(ASSD): - cata_sdj = "SD.sd_maillage.sd_maillage" - - def LIST_GROUP_NO(self) : - """ retourne la liste des groupes de noeuds sous la forme : - [ (gno1, nb noeuds gno1), ...] """ - if not self.accessible(): - raise Accas.AsException("Erreur dans maillage.LIST_GROUP_NO en PAR_LOT='OUI'") - dic_gpno = self.sdj.GROUPENO.get() - if dic_gpno is None: - return [] - return [(gpno.strip(),len(dic_gpno[gpno])) for gpno in dic_gpno] - - def LIST_GROUP_MA(self) : - """ retourne la liste des groupes de mailles sous la forme : - [ (gma1, nb mailles gma1, dime max des mailles gma1), ...] """ - if not self.accessible(): - raise Accas.AsException("Erreur dans maillage.LIST_GROUP_MA en PAR_LOT='OUI'") - ltyma = aster.getvectjev("&CATA.TM.NOMTM") - catama = aster.getcolljev("&CATA.TM.TMDIM") - dic_gpma = self.sdj.GROUPEMA.get() - if dic_gpma is None: - return [] - dimama = [catama[ltyma[ma-1].ljust(24)][0] for ma in self.sdj.TYPMAIL.get()] - ngpma = [] - for grp in dic_gpma.keys(): - dim = max([dimama[ma-1] for ma in dic_gpma[grp]]) - ngpma.append((grp.strip(), len(dic_gpma[grp]),dim)) - return ngpma - -class grille_sdaster(maillage_sdaster): - cata_sdj = "SD.sd_grille.sd_grille" - -class squelette(maillage_sdaster): - cata_sdj = "SD.sd_squelette.sd_squelette" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class mater_sdaster(ASSD): - cata_sdj = "SD.sd_mater.sd_mater" - - def RCVALE(self, phenomene, nompar=(), valpar=(), nomres=(), stop=1): - """Appel à la routine fortran RCVALE pour récupérer les valeurs des - propriétés du matériau. - """ - if not self.accessible(): - raise Accas.AsException("Erreur dans mater.RCVALE en PAR_LOT='OUI'") - from Utilitai.Utmess import UTMESS - # vérification des arguments - if not type(nompar) in (list, tuple): - nompar = [nompar,] - if not type(valpar) in (list, tuple): - valpar = [valpar,] - if not type(nomres) in (list, tuple): - nomres = [nomres,] - nompar = tuple(nompar) - valpar = tuple(valpar) - nomres = tuple(nomres) - if len(nompar) != len(valpar): - vk1=', '.join(nompar) - vk2=', '.join([repr(v) for v in valpar]) - UTMESS('F','SDVERI_4',valk=[vk1,vk2]) - if len(nomres) < 1: - UTMESS('F', 'SDVERI_5') - # appel à l'interface Python/C - return aster.rcvale(self.nom, phenomene, nompar, valpar, nomres, stop) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -class matr_asse(ASSD): - cata_sdj = "SD.sd_matr_asse.sd_matr_asse" - - def EXTR_MATR(self) : - """ retourne les valeurs de la matrice dans un format numpy - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs """ - import numpy - from SD.sd_stoc_morse import sd_stoc_morse - - if not self.accessible(): - raise Accas.AsException("Erreur dans matr_asse.EXTR_MATR en PAR_LOT='OUI'") - - refa = numpy.array(self.sdj.REFA.get()) - ma=refa[0] - nu=refa[1] - smos = sd_stoc_morse(nu[:14]+'.SMOS') - - valm=self.sdj.VALM.get() - smhc=smos.SMHC.get() - smdi=smos.SMDI.get() - - sym=len(valm)==1 - dim=len(smdi) - nnz=smdi[dim-1] - - triang_sup = numpy.array(valm[1]) - if sym: - triang_inf = triang_sup - else: - triang_inf = numpy.array(valm[2]) - - if type(valm[1][0]) == type(1.j) : - dtype=complex - else : - dtype=float - valeur=numpy.zeros([dim, dim], dtype=dtype) - - jcol=1 - for kterm in range(1,nnz+1): - ilig=smhc[kterm-1] - if (smdi[jcol-1] < kterm): - jcol=jcol+1 - valeur[jcol-1,ilig-1]=triang_inf[kterm-1] - valeur[ilig-1,jcol-1]=triang_sup[kterm-1] - - return valeur - -class matr_asse_gd(matr_asse): - cata_sdj = "SD.sd_matr_asse.sd_matr_asse" - -class matr_asse_depl_c(matr_asse_gd): - pass - -class matr_asse_depl_r(matr_asse_gd): - pass - -class matr_asse_pres_c(matr_asse_gd): - pass - -class matr_asse_pres_r(matr_asse_gd): - pass - -class matr_asse_temp_c(matr_asse_gd): - pass - -class matr_asse_temp_r(matr_asse_gd): - pass - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -def VALM_triang2array(dict_VALM, dim, dtype=None): - """Conversion (par recopie) de l'objet .VALM decrivant une matrice pleine - par sa triangulaire inf (et parfois triang sup) en numpy.array plein. - """ - import numpy - # stockage symetrique ou non (triang inf+sup) - sym = len(dict_VALM) == 1 - triang_sup = numpy.array(dict_VALM[1]) - assert dim*(dim+1)/2 == len(triang_sup), \ - 'Matrice non pleine : %d*(%d+1)/2 != %d' % (dim, dim, len(triang_sup)) - if sym: - triang_inf = triang_sup - else: - triang_inf = numpy.array(dict_VALM[2]) - valeur=numpy.zeros([dim, dim], dtype=dtype) - for i in range(1, dim+1): - for j in range(1, i+1): - k = i*(i-1)/2 + j - valeur[i-1, j-1]=triang_inf[k-1] - valeur[j-1, i-1]=triang_sup[k-1] - return valeur - -def VALM_diag2array(dict_VALM, dim, dtype=None): - """Conversion (par recopie) de l'objet .VALM decrivant une matrice - diagonale en numpy.array plein. - """ - import numpy - diag = numpy.array(dict_VALM[1]) - assert dim == len(diag), 'Dimension incorrecte : %d != %d' % (dim, len(diag)) - valeur=numpy.zeros([dim, dim], dtype=dtype) - for i in range(dim): - valeur[i,i] = diag[i] - return valeur - -class matr_asse_gene(ASSD): - cata_sdj = "SD.sd_matr_asse_gene.sd_matr_asse_gene" - -class matr_asse_gene_r(matr_asse_gene): - def EXTR_MATR_GENE(self) : - """ retourne les valeurs de la matrice generalisee reelle - dans un format numpyal Array - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs """ - if not self.accessible(): - raise Accas.AsException("Erreur dans matr_asse_gene.EXTR_MATR_GENE en PAR_LOT='OUI'") - import numpy - - desc=numpy.array(self.sdj.DESC.get()) - # On teste si le DESC de la matrice existe - if (desc==None): - raise Accas.AsException("L'objet matrice n'existe pas ou est mal cree par Code Aster") - # Si le stockage est plein - if desc[2]==2 : - valeur = VALM_triang2array(self.sdj.VALM.get(), desc[1]) - - # Si le stockage est diagonal - elif desc[2]==1 : - valeur = VALM_diag2array(self.sdj.VALM.get(), desc[1]) - - # Sinon on arrete tout - else: - raise KeyError - return valeur - - def RECU_MATR_GENE(self,matrice) : - """ envoie les valeurs d'un tableau numpy dans des matrices - generalisees reelles definies dans jeveux - Attributs ne retourne rien """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans matr_asse_gene.RECU_MATR_GENE en PAR_LOT='OUI'") - - ncham=self.get_name() - desc=numpy.array(self.sdj.DESC.get()) - - # On teste si le DESC de la matrice existe - if (desc==None): - raise Accas.AsException("L'objet matrice n'existe pas ou est mal cree par Code Aster") - numpy.asarray(matrice) - - # On teste si la dimension de la matrice python est 2 - if (len(numpy.shape(matrice))<>2) : - raise Accas.AsException("La dimension de la matrice est incorrecte ") - - # On teste si les tailles des matrices jeveux et python sont identiques - if (tuple([desc[1],desc[1]])<>numpy.shape(matrice)) : - raise Accas.AsException("La taille de la matrice est incorrecte ") - - # Si le stockage est plein - if desc[2]==2 : - taille=desc[1]*desc[1]/2.0+desc[1]/2.0 - tmp=numpy.zeros([int(taille)]) - for j in range(desc[1]+1): - for i in range(j): - k=j*(j-1)/2+i - tmp[k]=matrice[j-1,i] - aster.putcolljev('%-19s.VALM' % ncham,len(tmp),tuple((\ - range(1,len(tmp)+1))),tuple(tmp),tuple(tmp),1) - # Si le stockage est diagonal - elif desc[2]==1 : - tmp=numpy.zeros(desc[1]) - for j in range(desc[1]): - tmp[j]=matrice[j,j] - aster.putcolljev('%-19s.VALM' % ncham,len(tmp),tuple((\ - range(1,len(tmp)+1))),tuple(tmp),tuple(tmp),1) - # Sinon on arrete tout - else: - raise KeyError - return - -class matr_asse_gene_c(matr_asse_gene): - def EXTR_MATR_GENE(self) : - """ retourne les valeurs de la matrice generalisee complexe - dans un format numpy - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans matr_asse_gene_c.EXTR_MATR_GENE en PAR_LOT='OUI'") - - desc = numpy.array(self.sdj.DESC.get()) - if desc == None: - raise Accas.AsException("L'objet matrice n'existe pas ou est mal cree par Code Aster ") - # Si le stockage est plein - if desc[2] == 2 : - valeur = VALM_triang2array(self.sdj.VALM.get(), desc[1], complex) - - # Si le stockage est diagonal - elif desc[2]==1 : - valeur = VALM_diag2array(self.sdj.VALM.get(), desc[1], complex) - - # Sinon on arrete tout - else: - raise KeyError - return valeur - - def RECU_MATR_GENE(self,matrice) : - """ envoie les valeurs d'un tableau numpy dans des matrices - generalisees reelles definies dans jeveux - Attributs ne retourne rien """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans matr_asse_gene_c.RECU_MATR_GENE en PAR_LOT='OUI'") - - numpy.asarray(matrice) - ncham=self.get_name() - desc=numpy.array(self.sdj.DESC.get()) - - # On teste si le DESC de la matrice existe - if (desc==None): - raise Accas.AsException("L'objet matrice n'existe pas ou est mal cree par Code Aster") - numpy.asarray(matrice) - - # On teste si la dimension de la matrice python est 2 - if (len(numpy.shape(matrice))<>2) : - raise Accas.AsException("La dimension de la matrice est incorrecte ") - - # On teste si la taille de la matrice jeveux et python est identique - if (tuple([desc[1],desc[1]])<>numpy.shape(matrice)) : - raise Accas.AsException("La taille de la matrice est incorrecte ") - - # Si le stockage est plein - if desc[2]==2 : - taille=desc[1]*desc[1]/2.0+desc[1]/2.0 - tmpr=numpy.zeros([int(taille)]) - tmpc=numpy.zeros([int(taille)]) - for j in range(desc[1]+1): - for i in range(j): - k=j*(j-1)/2+i - tmpr[k]=matrice[j-1,i].real - tmpc[k]=matrice[j-1,i].imag - aster.putvectjev('%-19s.VALM' % ncham, len(tmpr), tuple((\ - range(1,len(tmpr)+1))),tuple(tmpr),tuple(tmpc),1) - # Si le stockage est diagonal - elif desc[2]==1 : - tmpr=numpy.zeros(desc[1]) - tmpc=numpy.zeros(desc[1]) - for j in range(desc[1]): - tmpr[j]=matrice[j,j].real - tmpc[j]=matrice[j,j].imag - aster.putvectjev('%-19s.VALM' % ncham,len(tmpr),tuple((\ - range(1,len(tmpr)+1))),tuple(tmpr),tuple(tmpc),1) - # Sinon on arrete tout - else: - raise KeyError - return - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class matr_elem(ASSD): - cata_sdj = "SD.sd_matr_elem.sd_matr_elem" - -class matr_elem_depl_c(matr_elem): - pass - -class matr_elem_depl_r(matr_elem): - pass - -class matr_elem_pres_c(matr_elem): - pass - -class matr_elem_temp_r(matr_elem): - pass - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class melasflu_sdaster(ASSD): - cata_sdj = "SD.sd_melasflu.sd_melasflu" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class mode_cycl(ASSD): - cata_sdj = "SD.sd_mode_cycl.sd_mode_cycl" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class modele_gene(ASSD): - cata_sdj = "SD.sd_modele_gene.sd_modele_gene" - - def LIST_SOUS_STRUCT(self) : - """ retourne la liste des sous structures du modele generalise - la liste des macro-elements sous-jacents""" - if not self.accessible(): - raise Accas.AsException("Erreur dans modele_gene.LIST_SOUS_STRUCT en PAR_LOT='OUI'") - nommodgen=self.get_name() - ncham=nommodgen+(8-len(nommodgen))*' ' - ssno=aster.getvectjev(ncham+(14-len(ncham))*' '+'.MODG.SSNO') - ssme=aster.getcolljev(ncham+(14-len(ncham))*' '+'.MODG.SSME') - return [([ssno[ind], ssme[ind+1]]) for ind in range(len(ssno))] - - def LIST_LIAIS_STRUCT(self) : - """ retourne la liste des liaisons entre sous structures du modele generalise sous la forme : - [ (ss1, nom_liais1, ss2 , nom_liais2), ...] """ - if not self.accessible() : - raise Accas.AsException("Erreur dans modele_gene.LIST_LIAIS_STRUCT en PAR_LOT='OUI'") - nommodgen=self.get_name() - ncham=nommodgen+(8-len(nommodgen))*' ' - lidf=aster.getcolljev(ncham+(14-len(ncham))*' '+'.MODG.LIDF') - return [([(lidf[ind][indb]) for indb in range(4)]) for ind in lidf] - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class modele_sdaster(ASSD): - cata_sdj = "SD.sd_modele.sd_modele" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class nume_ddl_gene(ASSD): - cata_sdj = "SD.sd_nume_ddl.sd_nume_ddl" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class nume_ddl_sdaster(ASSD): - cata_sdj = "SD.sd_nume_ddl.sd_nume_ddl" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -class reel(ASSD): - cata_sdj = "SD.AsBase" - - def __init__(self, valeur=None, **args): - ASSD.__init__(self, **args) - self.valeur = valeur - - def __call__(self): - return self.valeur - - def __adapt__(self, validator): - if validator.name == "list": - # validateur liste,cardinalité - return (self, ) - elif validator.name == "type": - # validateur type - return validator.adapt(self.valeur or 0.) - else: - # validateur into et valid - return self - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class resultat_sdaster(ASSD): - cata_sdj = "SD.sd_resultat.sd_resultat" - - def LIST_CHAMPS (self) : - if not self.accessible(): - raise Accas.AsException("Erreur dans resultat.LIST_CHAMPS en PAR_LOT='OUI'") - return aster.GetResu(self.get_name(), "CHAMPS") - - def LIST_NOM_CMP (self) : - if not self.accessible(): - raise Accas.AsException("Erreur dans resultat.LIST_NOM_CMP en PAR_LOT='OUI'") - return aster.GetResu(self.get_name(), "COMPOSANTES") - - def LIST_VARI_ACCES (self) : - if not self.accessible(): - raise Accas.AsException("Erreur dans resultat.LIST_VARI_ACCES en PAR_LOT='OUI'") - return aster.GetResu(self.get_name(), "VARI_ACCES") - - def LIST_PARA (self) : - if not self.accessible(): - raise Accas.AsException("Erreur dans resultat.LIST_PARA en PAR_LOT='OUI'") - return aster.GetResu(self.get_name(), "PARAMETRES") - -class resultat_jeveux(resultat_sdaster): - """Classe permettant d'accéder à un resultat jeveux qui n'a pas d'ASSD associée, - c'est le cas des concepts résultats (table, evol_xxxx) dérivés.""" - def __init__(self, nom_jeveux): - resultat_sdaster.__init__(self) - self.set_name(nom_jeveux) - -class comb_fourier(resultat_sdaster): pass -class fourier_elas(resultat_sdaster): pass -class fourier_ther(resultat_sdaster): pass -class mult_elas(resultat_sdaster): pass -class theta_geom(resultat_sdaster): pass - -# resultat_sdaster/evol_sdaster : -class evol_sdaster(resultat_sdaster): pass -class evol_char(evol_sdaster): pass -class evol_elas(evol_sdaster): pass -class evol_noli(evol_sdaster): pass -class evol_ther(evol_sdaster): pass -class evol_varc(evol_sdaster): pass - - - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: hassan.berro at edf.fr - -class dyna_gene(ASSD): - cata_sdj = "SD.sd_dyna_gene.sd_dyna_gene" - -class dyna_phys(resultat_sdaster): - cata_sdj="SD.sd_dyna_phys.sd_dyna_phys" - -# Concepts généralisés -class harm_gene (dyna_gene) : pass -class tran_gene (dyna_gene) : pass - -# Concepts physiques -class acou_harmo (dyna_phys) : pass -class dyna_harmo (dyna_phys) : pass -class dyna_trans (dyna_phys) : pass -class mode_acou (dyna_phys) : pass -class mode_flamb (dyna_phys) : pass -class mode_meca (dyna_phys) : pass -class mode_meca_c(mode_meca) : pass - -# TODO : convertir mode_gene en format généralisé -class mode_gene (dyna_phys) : pass -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class sd_partit(ASSD): - cata_sdj = "SD.sd_partition.sd_partit" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class spectre_sdaster(ASSD): - cata_sdj = "SD.sd_spectre.sd_spectre" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class surface_sdaster(ASSD): - cata_sdj = "SD.sd_surface.sd_surface" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class table_sdaster(ASSD): - cata_sdj = "SD.sd_table.sd_table" - - def __getitem__(self, key): - """Retourne la valeur d'une cellule de la table. - Exemple : TAB['INST', 1] retourne la 1ère valeur de la colonne 'INST'.""" - from Utilitai.Utmess import UTMESS - if not self.accessible(): - raise Accas.AsException("Erreur dans table.__getitem__ en PAR_LOT='OUI'") - assert len(key) == 2 - para, numlign = key - tabnom = self.sdj.TBLP.get() - try: - i = tabnom.index('%-24s' % para) - resu = aster.getvectjev(tabnom[i + 2]) - exist = aster.getvectjev(tabnom[i + 3]) - assert resu is not None - assert exist is not None - assert exist[numlign - 1] != 0 - res = resu[numlign - 1] - except (IndexError, AssertionError): - # pour __getitem__, il est plus logique de retourner KeyError. - raise KeyError - return res - - def TITRE(self): - """Retourne le titre d'une table Aster - (Utile pour récupérer le titre et uniquement le titre d'une table dont - on souhaite manipuler la dérivée). - """ - if not self.accessible(): - raise Accas.AsException("Erreur dans table.TITRE en PAR_LOT='OUI'") - #titj = aster.getvectjev('%-19s.TITR' % self.get_name()) - titj = self.sdj.TITR.get() - if titj != None: - titr = '\n'.join(titj) - else: - titr = '' - return titr - - def EXTR_TABLE(self, para=None) : - """Produit un objet Table à partir du contenu d'une table Aster. - On peut limiter aux paramètres listés dans 'para'. - """ - def Nonefy(l1,l2) : - if l2 == 0: - return None - else: - return l1 - if not self.accessible(): - raise Accas.AsException("Erreur dans table.EXTR_TABLE en PAR_LOT='OUI'") - from Utilitai.Table import Table - # titre - titr = self.TITRE() - # récupération des paramètres - #v_tblp = aster.getvectjev('%-19s.TBLP' % self.get_name()) - v_tblp = self.sdj.TBLP.get() - if v_tblp == None: - # retourne une table vide - return Table(titr=titr, nom=self.nom) - tabnom=list(v_tblp) - nparam=len(tabnom)/4 - lparam=[tabnom[4*i:4*i+4] for i in range(nparam)] - # restriction aux paramètres demandés - if para is not None: - if type(para) not in (list, tuple): - para = [para, ] - para = [p.strip() for p in para] - restr = [] - for ip in lparam: - if ip[0].strip() in para: - restr.append(ip) - lparam = restr - dval={} - # liste des paramètres et des types - lpar=[] - ltyp=[] - for i in lparam : - value=list(aster.getvectjev(i[2])) - exist=aster.getvectjev(i[3]) - dval[i[0].strip()] = map(Nonefy, value, exist) - lpar.append(i[0].strip()) - ltyp.append(i[1].strip()) - n=len(dval[lpar[0]]) - # contenu : liste de dict - lisdic=[] - for i in range(n) : - d={} - for p in lpar: - d[p]=dval[p][i] - lisdic.append(d) - return Table(lisdic, lpar, ltyp, titr, self.nom) - -class table_fonction(table_sdaster): - """Table contenant en plus une colonne FONCTION et/ou FONCTION_C dont les - valeurs des cellules sont des noms de fonction_sdaster ou fonction_c.""" - -class table_jeveux(table_sdaster): - """Classe permettant d'accéder à une table jeveux qui n'a pas d'ASSD associée, - c'est le cas des concepts résultats (table, evol_xxxx) dérivés.""" - def __init__(self, nom_jeveux): - table_sdaster.__init__(self) - self.set_name(nom_jeveux) - -class table_fonction(table_sdaster): - """Table contenant une colonne FONCTION et/ou FONCTION_C dont les - valeurs des cellules sont des noms de fonction_sdaster ou - fonction_c.""" - cata_sdj = "SD.sd_table_fonction.sd_table_fonction" - -class table_container(table_sdaster): - """Table contenant les colonnes NOM_OBJET, TYPE_OBJET et NOM_SD.""" - cata_sdj = "SD.sd_table_container.sd_table_container" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class type_flui_stru(ASSD): - cata_sdj = "SD.sd_type_flui_stru.sd_type_flui_stru" - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class vect_asse_gene(ASSD): - cata_sdj = "SD.sd_cham_gene.sd_cham_gene" - - def EXTR_VECT_GENE_R(self) : - """ retourne les valeurs du vecteur generalisee - dans un format numpy - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans vect_asse_gene_r.EXTR_VECT_GENE en PAR_LOT='OUI'") - #ncham=self.get_name() - #ncham=ncham+(8-len(ncham))*' ' - #valeur=numpy.array(aster.getvectjev(ncham+(19-len(ncham))*' '+'.VALE')) - valeur = numpy.array(self.sdj.VALE.get()) - return valeur - - def RECU_VECT_GENE_R(self, vecteur) : - """ envoie les valeurs d'un tableau numpy dans un vecteur generalise - reel definie dans jeveux - Attributs ne retourne rien """ - if not self.accessible(): - raise Accas.AsException("Erreur dans vect_asse_gene_r.RECU_VECT_GENE en PAR_LOT='OUI'") - import numpy - numpy.asarray(vecteur) - ncham=self.get_name() - ncham=ncham+(8-len(ncham))*' ' - #desc=numpy.array(aster.getvectjev(ncham+(19-len(ncham))*' '+'.DESC')) - desc = numpy.array(self.sdj.DESC.get()) - # On teste si le DESC du vecteur existe - if (desc==None): - raise Accas.AsException("L'objet vecteur n'existe pas ou \ - est mal cree par Code Aster") - # On teste si la taille du vecteur jeveux et python est identique - if desc[1] != numpy.shape(vecteur)[0] : - raise Accas.AsException("La taille du vecteur python est incorrecte") - aster.putvectjev(ncham+(19-len(ncham))*' '+'.VALE', - len(vecteur), - tuple(range(1, len(vecteur)+1)), - tuple(vecteur), - tuple(vecteur), - 1) - return - - def EXTR_VECT_GENE_C(self) : - """ retourne les valeurs du vecteur generalisee - dans un format numpy - Attributs retourne - - self.valeurs : numpy.array contenant les valeurs """ - import numpy - if not self.accessible(): - raise Accas.AsException("Erreur dans vect_asse_gene_c.EXTR_VECT_GENE en PAR_LOT='OUI'") - - #ncham=self.get_name() - #ncham=ncham+(8-len(ncham))*' ' - #valeur=numpy.array(aster.getvectjev(ncham+(19-len(ncham))*' '+'.VALE'), complex) - valeur=numpy.array(self.sdj.VALE.get(), complex) - - return valeur - - def RECU_VECT_GENE_C(self,vecteur) : - """ envoie les valeurs d'un tableau numpy dans un vecteur generalise - complexe definie dans jeveux - Attributs ne retourne rien """ - if not self.accessible(): - raise Accas.AsException("Erreur dans vect_asse_gene_c.RECU_VECT_GENE en PAR_LOT='OUI'") - import numpy - numpy.asarray(vecteur) - ncham=self.get_name() - ncham=ncham+(8-len(ncham))*' ' - desc=numpy.array(aster.getvectjev(ncham+(19-len(ncham))*' '+'.DESC')) - # On teste si le DESC de la matrice existe - if (desc==None): - raise Accas.AsException("L'objet vecteur n'existe pas ou \ - est mal cree par Code Aster") - # On teste si la taille de la matrice jeveux et python est identique - if desc[1]<>numpy.shape(vecteur)[0] : - raise Accas.AsException("La taille du vecteur python est incorrecte") - tmpr=vecteur.real - tmpc=vecteur.imag - aster.putvectjev(ncham+(19-len(ncham))*' '+'.VALE', - len(tmpr), - tuple(range(1, len(tmpr)+1)), - tuple(tmpr), - tuple(tmpc), - 1) - return - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -class vect_elem(ASSD): - cata_sdj = "SD.sd_vect_elem.sd_vect_elem" - -class vect_elem_depl_r(vect_elem): - pass - -class vect_elem_pres_r(vect_elem): - pass - -class vect_elem_pres_c(vect_elem): - pass - -class vect_elem_temp_r(vect_elem): - pass - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr - -def C_AFFICHAGE() : return FACT(statut='f',max=1, - INFO_RESIDU = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - INFO_TEMPS = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - UNITE = SIMP(statut='f',typ='I',val_min=1), - PAS = SIMP(statut='f',typ='I',val_min=1), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -def C_ARCHIVAGE() : return FACT(statut='d',max=1, - regles = (EXCLUS('PAS_ARCH','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_ARCH = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - CHAM_EXCLU = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-michel.proix at edf.fr -def C_COMPORTEMENT(COMMAND=None) : #COMMUN# - - assert COMMAND in ('MACR_ASCOUF_CALC','MACR_ASPIC_CALC','CALC_G','POST_GP','CALC_ESSAI_GEOMECA','CALC_EUROPLEXUS', - 'CALC_POINT_MAT','SIMU_POINT_MAT', 'DYNA_NON_LINE','STAT_NON_LINE','CALCUL','CALC_FORC_NONL', - 'CALC_IFS_DNL','CALC_PRECONT','CREA_RESU','LIRE_RESU','MACR_ECREVISSE','TEST_COMPOR',None) - - if COMMAND !='CALC_EUROPLEXUS': - mcfact = FACT(statut='f',min=1,max='**', - - RELATION =SIMP( statut='o',typ='TXM',defaut="ELAS",into=C_RELATION(COMMAND)), - b_monox = BLOC(condition = "RELATION == 'MONOCRISTAL' ", - fr="SD issue de DEFI_COMPOR", - COMPOR =SIMP(statut='o',typ=compor_sdaster,max=1),), - b_polyx = BLOC(condition = "RELATION == 'POLYCRISTAL' ", - fr="SD issue de DEFI_COMPOR", - COMPOR =SIMP(statut='o',typ=compor_sdaster,max=1),), - b_zmat = BLOC(condition = "RELATION == 'ZMAT' ", - fr="Comportement de la bibliotheque Zmat", - NB_VARI =SIMP(statut='o',typ='I',max=1), - UNITE =SIMP(statut='o',typ='I',max=1),), - b_umat = BLOC(condition = "RELATION == 'UMAT' ", - fr="Comportement utilisateur de type UMAT", - NB_VARI =SIMP(statut='o',typ='I',max=1,fr="Nombre de variables internes"), - LIBRAIRIE = SIMP(statut='o', typ='TXM',validators=LongStr(1,128), - fr="Chemin vers la bibliothèque dynamique définissant le comportement UMAT"), - NOM_ROUTINE = SIMP(statut='o', typ='TXM', - fr="Nom de la routine UMAT dans la bibliothèque"),), - b_mfront = BLOC(condition = "RELATION == 'MFRONT' ", - fr="Comportement utilisateur de type MFRONT", - NB_VARI =SIMP(statut='o',typ='I',max=1,fr="Nombre de variables internes"), - LIBRAIRIE = SIMP(statut='o', typ='TXM',validators=LongStr(1,128), - fr="Chemin vers la bibliothèque dynamique définissant le comportement MFRONT"), - NOM_ROUTINE = SIMP(statut='o', typ='TXM', - fr="Nom de la routine MFRONT dans la bibliothèque"),), - -# KITs - b_kit_ddi = BLOC(condition = "RELATION == 'KIT_DDI' ", - fr="relations de couplage fluage-plasticite", - RELATION_KIT =SIMP(statut='o',typ='TXM',min=2,max=2,validators=NoRepeat(), - into=( - "VMIS_CINE_LINE", - "VMIS_ISOT_TRAC", - "VMIS_ISOT_LINE", - "VMIS_ISOT_PUIS", - "GLRC_DM", - "GRANGER_FP", - "GRANGER_FP_INDT", - "GRANGER_FP_V", - "BETON_UMLV_FP", - "ROUSS_PR", - "BETON_DOUBLE_DP", - "ENDO_ISOT_BETON", - "MAZARS" - ),), - ), - b_kit_cg= BLOC(condition = "RELATION == 'KIT_CG' ", - fr="relations pour elements cables gaines", - RELATION_KIT =SIMP(statut='o',typ='TXM',min=2,max=2,validators=NoRepeat(), - into=( - "CABLE_GAINE_FROT", - "VMIS_ISOT_LINE", - "VMIS_ISOT_TRAC", - "VMIS_CINE_LINE", - "PINTO_MENEGOTTO", - "ELAS", - "SANS" - ),), - ), - - b_kit_thm = BLOC(condition = "RELATION in ['KIT_HHM','KIT_HH','KIT_H','KIT_HM','KIT_THHM', \ - 'KIT_THH','KIT_THM','KIT_THV']", - fr="lois de comportements thermo-hydro-mecaniques", - RELATION_KIT =SIMP(statut='o',typ='TXM',max=9,validators=NoRepeat(), - into=( -# MECA - "ELAS", - "CJS", - "HUJEUX", - "CAM_CLAY", - "BARCELONE", - "LAIGLE", - "LETK", - "DRUCK_PRAGER", - "DRUCK_PRAG_N_A", - "VISC_DRUC_PRAG", - "ELAS_GONF", - "HOEK_BROWN_EFF", - "HOEK_BROWN_TOT", - "MAZARS", - "ENDO_ISOT_BETON", - "JOINT_BANDIS", - "CZM_LIN_REG", - "CZM_EXP_REG", -# THMC - "GAZ", - "LIQU_SATU", - "LIQU_GAZ_ATM", - "LIQU_VAPE_GAZ", - "LIQU_AD_GAZ_VAPE", - "LIQU_AD_GAZ", - "LIQU_VAPE", - "LIQU_GAZ", -# HYDR - "HYDR_UTIL", - "HYDR_VGM", - "HYDR_VGC", - "HYDR", - "HYDR_ENDO", - ),), - ), - b_kit_meta = BLOC(condition = "RELATION in ('META_LEMA_ANI','META_P_CL_PT_RE','META_P_CL_PT','META_P_CL_RE','META_P_CL',\ - 'META_P_IL_PT_RE','META_P_IL_PT','META_P_IL_RE','META_P_IL','META_P_INL_PT_RE','META_P_INL_PT','META_P_INL_RE','META_P_INL',\ - 'META_V_CL_PT_RE','META_V_CL_PT','META_V_CL_RE','META_V_CL','META_V_IL_PT_RE','META_V_IL_PT','META_V_IL_RE','META_V_IL',\ - 'META_V_INL_PT_RE','META_V_INL_PT','META_V_INL_RE','META_V_INL')", - fr="nombre de phases metallurgiques", - RELATION_KIT =SIMP(statut='o',typ='TXM',max=1,validators=NoRepeat(), - into=("ACIER","ZIRC"),), - ), - - DEFORMATION =SIMP(statut='f',typ='TXM',defaut="PETIT", - into=("PETIT","PETIT_REAC","GROT_GDEP","SIMO_MIEHE","GDEF_HYPO_ELAS","GDEF_LOG")), - - # gestion des contraintes planes par la méthode itérative - - RESI_CPLAN_MAXI =SIMP(statut='f',typ='R', - fr="Critère d'arret absolu pour assurer la condition de contraintes planes"), - - b_resi_cplan =BLOC(condition = " RESI_CPLAN_MAXI == None ", - - RESI_CPLAN_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-6, - fr="Critère d'arret relatif pour assurer la condition de contraintes planes"), - ), - - ITER_CPLAN_MAXI =SIMP(statut='f',typ='I',defaut= 1, - fr="Nombre d'itérations maxi pour assurer la condition de contraintes planes"), - # - RESI_INTE_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-6), - ITER_INTE_MAXI =SIMP(statut='f',typ='I',defaut= 20 ), - - b_redec_local = BLOC(condition = "DEFORMATION in ('PETIT','PETIT_REAC','GROT_GDEP')", - fr="Nombre de redécoupages internes du pas de temps", - ITER_INTE_PAS =SIMP(statut='f',typ='I',defaut= 0 ), - ), - - ALGO_INTE =SIMP(statut='f',typ='TXM',into=("ANALYTIQUE", "SECANTE", "DEKKER", "NEWTON_1D","BRENT", - "NEWTON", "NEWTON_RELI", "NEWTON_PERT", "RUNGE_KUTTA", - "SPECIFIQUE", "SANS_OBJET")), - - TYPE_MATR_TANG =SIMP(statut='f',typ='TXM',into=("PERTURBATION","VERIFICATION","TANGENTE_SECANTE")), - - b_perturb =BLOC(condition = " (TYPE_MATR_TANG != None) and (TYPE_MATR_TANG != 'TANGENTE_SECANTE') ", - fr="Calcul de la matrice tangente par perturbation, valeur de la perturbation", - VALE_PERT_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-5), - ), - - b_tangsec = BLOC(condition = " TYPE_MATR_TANG == 'TANGENTE_SECANTE' ", - fr="Modification evolutive de la matrice tangente/secante", - SEUIL =SIMP(statut='f',typ='R',defaut= 3. ), - AMPLITUDE =SIMP(statut='f',typ='R',defaut= 1.5 ), - TAUX_RETOUR =SIMP(statut='f',typ='R',defaut= 0.05 ), - ), - - b_crirupt = BLOC(condition = - " RELATION in ('VMIS_ISOT_LINE','VMIS_ISOT_TRAC','VISCOCHAB','VISC_ISOT_LINE','VISC_ISOT_TRAC',)", - fr="Critere de rupture selon une contrainte critique", - POST_ITER =SIMP(statut='f',typ='TXM',into=("CRIT_RUPT",), ), - ), - - PARM_THETA =SIMP(statut='f',typ='R',val_min=0.,val_max=1., defaut= 1.), - PARM_ALPHA =SIMP(statut='f',typ='R',defaut= 1. ), - - b_radi =BLOC(condition = "TYPE_MATR_TANG == None", - RESI_RADI_RELA =SIMP(statut='f',typ='R', ), - ), - - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - ) - - else: - mcfact = FACT(statut='o',min=1,max='**', #COMMUN# - - RELATION = SIMP( statut='o',typ='TXM',defaut="ELAS",into=('ELAS','GLRC_DAMAGE')), - GROUP_MA = SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - ) - - - return mcfact - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -def C_CONVERGENCE() : return FACT(statut='d', - regles=(PRESENT_ABSENT('RESI_REFE_RELA','RESI_GLOB_MAXI','RESI_GLOB_RELA','RESI_COMP_RELA'),), - b_refe_rela =BLOC(condition = "RESI_REFE_RELA != None", - regles=(AU_MOINS_UN('SIGM_REFE','EPSI_REFE','FLUX_THER_REFE','FORC_REFE', - 'FLUX_HYD1_REFE','FLUX_HYD2_REFE','VARI_REFE','DEPL_REFE','LAGR_REFE'),), - FORC_REFE =SIMP(statut='f',typ='R',min=2,max=2, - fr="Force et Moment de référence pour les éléments de structure."), - SIGM_REFE =SIMP(statut='f',typ='R'), - DEPL_REFE =SIMP(statut='f',typ='R'), - EPSI_REFE =SIMP(statut='f',typ='R'), - FLUX_THER_REFE =SIMP(statut='f',typ='R'), - FLUX_HYD1_REFE =SIMP(statut='f',typ='R'), - FLUX_HYD2_REFE =SIMP(statut='f',typ='R'), - VARI_REFE =SIMP(statut='f',typ='R'), - LAGR_REFE =SIMP(statut='f',typ='R'), - ), - RESI_REFE_RELA =SIMP(statut='f',typ='R'), - RESI_GLOB_MAXI =SIMP(statut='f',typ='R'), - RESI_GLOB_RELA =SIMP(statut='f',typ='R'), - RESI_COMP_RELA =SIMP(statut='f',typ='R'), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut=10), - ITER_GLOB_ELAS =SIMP(statut='f',typ='I',defaut=25), - ARRET =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -def C_INCREMENT(TYPE_CMD) : #COMMUN# -# - assert TYPE_CMD in ('THERMIQUE','MECANIQUE',) - kwargs = {} - statut_liste_inst = ' ' - -# La liste d'instants est facultative en thermique et obligatoire en mecanique - - if TYPE_CMD in ('THERMIQUE'): - statut_liste_inst = 'f' - elif TYPE_CMD in ('MECANIQUE'): - statut_liste_inst = 'o' - - kwargs['LIST_INST'] =SIMP(statut=statut_liste_inst,typ=(listr8_sdaster,list_inst)) - kwargs['NUME_INST_INIT'] =SIMP(statut='f',typ='I') - kwargs['INST_INIT'] =SIMP(statut='f',typ='R') - kwargs['NUME_INST_FIN'] =SIMP(statut='f',typ='I') - kwargs['INST_FIN'] =SIMP(statut='f',typ='R') - kwargs['PRECISION'] =SIMP(statut='f',typ='R',defaut=1.0E-6 ) - - mcfact = FACT(statut=statut_liste_inst,max='**', - regles=(EXCLUS('NUME_INST_INIT','INST_INIT'), - EXCLUS('NUME_INST_FIN','INST_FIN'),), - **kwargs) - - return mcfact - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -def C_NEWTON() : return FACT(statut='d', - REAC_INCR =SIMP(statut='f',typ='I',defaut= 1,val_min=0), - PREDICTION =SIMP(statut='f',typ='TXM',into=("DEPL_CALCULE","TANGENTE","ELASTIQUE","EXTRAPOLE") ), - MATRICE =SIMP(statut='f',typ='TXM',defaut="TANGENTE",into=("TANGENTE","ELASTIQUE") ), - PAS_MINI_ELAS =SIMP(statut='f',typ='R',val_min=0.0), - REAC_ITER =SIMP(statut='f',typ='I',defaut=0,val_min=0), - REAC_ITER_ELAS =SIMP(statut='f',typ='I',defaut=0,val_min=0), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: josselin.delmas at edf.fr - -class NOM_CHAM_INTO: #COMMUN# - """ - """ - def Tous(self): - """ Tous les champs - """ - self.all_phenomenes = ('CONTRAINTE', 'DEFORMATION', 'ENERGIE', 'CRITERES', - 'VARI_INTERNE', 'HYDRAULIQUE', 'THERMIQUE', - 'ACOUSTIQUE', 'FORCE', 'ERREUR', 'DEPLACEMENT', - 'METALLURGIE', 'AUTRES') - d = {} - d['CONTRAINTE'] = { - "EFGE_ELGA": ( ("lin", "nonlin",), - _(u"Efforts généralisés aux points de Gauss"), ), - "EFGE_ELNO": ( ("lin", "nonlin",), - _(u"Efforts généralisés aux noeuds par élément"), ), - "EFGE_NOEU": ( ("lin", "nonlin",), - _(u"Efforts généralisés aux noeuds"), ), - "SIEF_ELGA": ( ("lin",), - _(u"Contraintes et efforts aux points de Gauss"), ), - "SIEF_ELNO": ( ("lin", "nonlin",), - _(u"Contraintes et efforts aux noeuds par élément"), ), - "SIEF_NOEU": ( ("lin", "nonlin",), - _(u"Contraintes et efforts aux noeuds"), ), - "SIGM_ELGA": ( ("lin", "nonlin",), - _(u"Contraintes aux points de Gauss"), ), - "SIGM_ELNO": ( ("lin", "nonlin",), - _(u"Contraintes aux noeuds par élément"), ), - "SIGM_NOEU": ( ("lin", "nonlin",), - _(u"Contraintes aux noeuds"), ), - "SIPM_ELNO": ( ("lin","nonlin"), - _(u"Contraintes aux noeuds par élément pour les éléments de poutre"), ), - "SIPO_ELNO": ( ("lin", "nonlin",), - _(u"Contraintes aux noeuds par élément pour les éléments de poutre"), ), - "SIPO_NOEU": ( ("lin", "nonlin",), - _(u"Contraintes aux noeuds pour les éléments de poutre"), ), - "SIRO_ELEM": ( ("lin", "nonlin",), - _(u"Contraintes de rosette par élément"), ), - } - d['DEFORMATION'] = { - "DEGE_ELGA": ( ("lin", "nonlin",), - _(u"Déformations généralisées aux points de Gauss"), ), - "DEGE_ELNO": ( ("lin", "nonlin",), - _(u"Déformations généralisées aux noeuds par élément"), ), - "DEGE_NOEU": ( ("lin", "nonlin",), - _(u"Déformations généralisées aux noeuds"), ), - "EPFD_ELGA": ( ("nonlin",), - _(u"Déformations de fluage de déssication aux points de Gauss"), ), - "EPFD_ELNO": ( ("nonlin",), - _(u"Déformations de fluage de déssication aux noeuds par élément"), ), - "EPFD_NOEU": ( ("nonlin",), - _(u"Déformations de fluage de déssication aux noeuds"), ), - "EPFP_ELGA": ( ("nonlin",), - _(u"Déformations de fluage propre aux points de Gauss"), ), - "EPFP_ELNO": ( ("nonlin",), - _(u"Déformations de fluage propre aux noeuds par élément"), ), - "EPFP_NOEU": ( ("nonlin",), - _(u"Déformations de fluage propre aux noeuds"), ), - "EPME_ELGA": ( ("lin", "nonlin",), - _(u"Déformations mécaniques en petits déplacements aux points de Gauss"), ), - "EPME_ELNO": ( ("lin", "nonlin",), - _(u"Déformations mécaniques en petits déplacements aux noeuds par élément"), ), - "EPME_NOEU": ( ("lin", "nonlin",), - _(u"Déformations mécaniques en petits déplacements aux noeuds"), ), - "EPMG_ELGA": ( ("nonlin",), - _(u"Déformations mécaniques en grands déplacements aux points de Gauss"), ), - "EPMG_ELNO": ( ("nonlin",), - _(u"Déformations mécaniques en grands déplacements aux noeuds par élément"), ), - "EPMG_NOEU": ( ("nonlin",), - _(u"Déformations mécaniques en grands déplacements aux noeuds"), ), - "EPSG_ELGA": ( ("lin","nonlin",), - _(u"Déformations de Green-Lagrange aux points de Gauss"), ), - "EPSG_ELNO": ( ("lin","nonlin",), - _(u"Déformations de Green-Lagrange aux noeuds par élément"), ), - "EPSG_NOEU": ( ("lin","nonlin",), - _(u"Déformations de Green-Lagrange aux noeuds"), ), - "EPSI_ELGA": ( ("lin", "nonlin",), - _(u"Déformations aux points de Gauss"), ), - "EPSI_ELNO": ( ("lin", "nonlin",), - _(u"Déformations aux noeuds par élément"), ), - "EPSI_NOEU": ( ("lin", "nonlin",), - _(u"Déformations aux noeuds"), ), - "EPSP_ELGA": ( ("nonlin",), - _(u"Déformations anélastique aux points de Gauss"), ), - "EPSP_ELNO": ( ("nonlin",), - _(u"Déformations anélastique aux noeuds par élément"), ), - "EPSP_NOEU": ( ("nonlin",), - _(u"Déformations anélastique aux noeuds"), ), - "EPVC_ELGA": ( ("lin", "nonlin",), - _(u"Déformations dues aux variables de commande aux points de Gauss"), ), - "EPVC_ELNO": ( ("lin", "nonlin",), - _(u"Déformations dues aux variables de commande aux noeuds par élément"), ), - "EPVC_NOEU": ( ("lin", "nonlin",), - _(u"Déformations dues aux variables de commande aux noeuds"), ), - } - d['ENERGIE'] = { - "DISS_ELEM": ( ("lin", "nonlin",), - _(u"Énergie de dissipation par élément"), ), - "DISS_ELGA": ( ("lin", "nonlin",), - _(u"Densité d'énergie de dissipation aux points de Gauss"), ), - "DISS_ELNO": ( ("lin", "nonlin",), - _(u"Densité d'énergie de dissipation aux noeuds par élément"), ), - "DISS_NOEU": ( ("lin", "nonlin",), - _(u"Densité d'énergie de dissipation aux noeuds"), ), - "ECIN_ELEM": ( ("lin",), - _(u"Énergie cinétique par élément"), ), - "ENEL_ELEM": ( ("lin", "nonlin",), - _(u"Énergie élastique par élément"), ), - "ENEL_ELGA": ( ("lin", "nonlin",), - _(u"Densité d'énergie élastique aux points de Gauss"), ), - "ENEL_ELNO": ( ("lin", "nonlin",), - _(u"Densité d'énergie élastique aux noeuds par élément"), ), - "ENEL_NOEU": ( ("lin", "nonlin",), - _(u"Densité d'énergie élastique aux noeuds"), ), - "EPOT_ELEM": ( ("lin",), - _(u"Énergie potentielle de déformation élastique par élément"), ), - "ETOT_ELEM": ( ("lin", "nonlin",), - _(u"Incrément d'énergie de déformation totale par élément"), ), - "ETOT_ELGA": ( ("lin", "nonlin",), - _(u"Incrément de densité d'énergie de déformation totale aux points de Gauss"), ), - "ETOT_ELNO": ( ("lin", "nonlin",), - _(u"Incrément de densité d'énergie de déformation totale aux noeuds par élément"), ), - "ETOT_NOEU": ( ("lin", "nonlin",), - _(u"Incrément de densité d'énergie de déformation totale aux noeuds"), ), - } - d['CRITERES'] = { - "DERA_ELGA": ( ("nonlin",), - _(u"Indicateur local de décharge et de perte de radialité aux points de Gauss"), ), - "DERA_ELNO": ( ("nonlin",), - _(u"Indicateur local de décharge et de perte de radialité aux noeuds par élément"), ), - "DERA_NOEU": ( ("nonlin",), - _(u"Indicateur local de décharge et de perte de radialité aux noeuds"), ), - "ENDO_ELGA": ( ("nonlin",), - _(u"Dommage de Lemaître-Sermage aux points de Gauss"), ), - "ENDO_ELNO": ( ("nonlin",), - _(u"Dommage de Lemaître-Sermage aux noeuds par élément"), ), - "ENDO_NOEU": ( ("nonlin",), - _(u"Dommage de Lemaître-Sermage aux noeuds"), ), - "EPEQ_ELGA": ( ("lin", "nonlin",), - _(u"Déformations équivalentes aux points de Gauss"), ), - "EPEQ_ELNO": ( ("lin", "nonlin",), - _(u"Déformations équivalentes aux noeuds par élément"), ), - "EPEQ_NOEU": ( ("lin", "nonlin",), - _(u"Déformations équivalentes aux noeuds"), ), - "EPMQ_ELGA": ( ("lin", "nonlin",), - _(u"Déformations mécaniques équivalentes aux points de Gauss"), ), - "EPMQ_ELNO": ( ("lin", "nonlin",), - _(u"Déformations mécaniques équivalentes aux noeuds par élément"), ), - "EPMQ_NOEU": ( ("lin", "nonlin",), - _(u"Déformations mécaniques équivalentes aux noeuds"), ), - "INDL_ELGA": ( ("nonlin",), - _(u"Indicateur de localisation aux points de Gauss"), ), - "PDIL_ELGA": ( ("nonlin",), - _(u"Module de rigidité de micro-dilatation"), ), - "SIEQ_ELGA": ( ("lin", "nonlin",), - _(u"Contraintes équivalentes aux points de Gauss"), ), - "SIEQ_ELNO": ( ("lin", "nonlin",), - _(u"Contraintes équivalentes aux noeuds par élément"), ), - "SIEQ_NOEU": ( ("lin", "nonlin",), - _(u"Contraintes équivalentes aux noeuds"), ), - } - d['VARI_INTERNE'] = { - "VAEX_ELGA": ( ("nonlin",), - _(u"Extraction d'une variable interne aux points de Gauss"), ), - "VAEX_ELNO": ( ("nonlin",), - _(u"Extraction d'une variable interne aux noeuds pas élément"), ), - "VAEX_NOEU": ( ("nonlin",), - _(u"Extraction d'une variable interne aux noeuds"), ), - "VARC_ELGA": ( ("lin", "nonlin",), - _(u"Variables de commande aux points de Gauss"), ), - "VARI_ELNO": ( ("nonlin",), - _(u"Variables internes aux noeuds pas élément"), ), - "VARI_NOEU": ( ("nonlin",), - _(u"Variables internes aux noeuds"), ), - } - d['HYDRAULIQUE'] = { - "FLHN_ELGA": ( ("nonlin",), - _(u"Flux hydrauliques aux points de Gauss"), ), - } - d['THERMIQUE'] = { - "TEMP_ELGA": ( (), - _(u"Température aux points de Gauss"), ), - "FLUX_ELGA": ( (), - _(u"Flux thermique aux points de Gauss"), ), - "FLUX_ELNO": ( (), - _(u"Flux thermique aux noeuds par élément"), ), - "FLUX_NOEU": ( (), - _(u"Flux thermique aux noeuds"), ), - "HYDR_NOEU": ( (), - _(u"Hydratation aux noeuds"), ), - "SOUR_ELGA": ( (), - _(u"Source de chaleur à partir d'un potentiel électrique"), ), - "ETHE_ELEM": ( (), - _(u"Énergie dissipée thermiquement"), ), - } - d['ACOUSTIQUE'] = { - "PRAC_ELNO": ( (), - _(u"Pression acoustique aux noeuds par élément"), ), - "PRAC_NOEU": ( (), - _(u"Pression acoustique aux noeuds"), ), - "PRME_ELNO": ( (), - _(u"Pression aux noeuds par élément pour les éléments FLUIDE"), ), - "INTE_ELNO": ( (), - _(u"Intensité acoustique aux noeuds par élément"), ), - "INTE_NOEU": ( (), - _(u"Intensité acoustique aux noeuds"), ), - } - d['FORCE'] = { - "FORC_NODA": ( (), - _(u"Forces nodales"), ), - "REAC_NODA": ( (), - _(u"Réactions nodales"), ), - } - d['ERREUR'] = { - "SIZ1_NOEU": ( (), - _(u"Contraintes lissées de Zhu-Zienkiewicz version 1 aux noeuds"), ), - "ERZ1_ELEM": ( (), - _(u"Indicateur d'erreur de Zhu-Zienkiewicz version 1 par élément"), ), - "SIZ2_NOEU": ( (), - _(u"Contraintes lissées de Zhu-Zienkiewicz version 2 aux noeuds"), ), - "ERZ2_ELEM": ( (), - _(u"Indicateur d'erreur de Zhu-Zienkiewicz version 2 par élément"), ), - "ERME_ELEM": ( (), - _(u"Indicateur d'erreur en résidu en mécanique par élément"), ), - "ERME_ELNO": ( (), - _(u"Indicateur d'erreur en résidu en mécanique aux noeuds par élément"), ), - "ERME_NOEU": ( (), - _(u"Indicateur d'erreur en résidu en mécanique aux noeuds"), ), - "QIRE_ELEM": ( (), - _(u"Indicateur d'erreur en quantités d'intérêt en résidu par élément"), ), - "QIRE_ELNO": ( (), - _(u"Indicateur d'erreur en quantités d'intérêt en résidu aux noeuds par élément"), ), - "QIRE_NOEU": ( (), - _(u"Indicateur d'erreur en quantités d'intérêt en résidu aux noeuds"), ), - "QIZ1_ELEM": ( (), - _(u"Indicateur d'erreur en quantités d'intérêt de Zhu-Zienkiewicz version 1 par élément"), ), - "QIZ2_ELEM": ( (), - _(u"Indicateur d'erreur en quantités d'intérêt de Zhu-Zienkiewicz version 2 par élément"), ), - "SING_ELEM": ( (), - _(u"Degré de singularité par élément"), ), - "SING_ELNO": ( (), - _(u"Degré de singularité aux noeuds par élément"), ), - "ERTH_ELEM": ( (), - _(u"Indicateur d'erreur en résidu en thermique par élément"), ), - "ERTH_ELNO": ( (), - _(u"Indicateur d'erreur en résidu en thermique aux noeuds par élément"), ), - "ERTH_NOEU": ( (), - _(u"Indicateur d'erreur en résidu en thermique aux noeuds"), ), - } - d['METALLURGIE'] = { - "DURT_ELNO": ( (), - _(u"Dureté aux noeuds par élément"), ), - "DURT_NOEU": ( (), - _(u"Dureté aux noeuds"), ), - "META_ELNO": ( (), - _(u"Proportion de phases métallurgiques aux noeuds par élément"), ), - "META_NOEU": ( (), - _(u"Proportion de phases métallurgiques aux noeuds"), ), - } - d['DEPLACEMENT'] = { - "ACCE": ( (), - _(u"Accélération aux noeuds"), ), - "ACCE_ABSOLU": ( (), - _(u"Accélération absolue aux noeuds"), ), - "DEPL": ( (), - _(u"Déplacements aux noeuds"), ), - "DEPL_ABSOLU": ( (), - _(u"Déplacements absolus aux noeuds"), ), - "STRX_ELGA": ( (), - _(u"Efforts généralisés à partir des déplacements en linéaire aux points de Gauss"), ), - "TEMP": ( (), - _(u"Température aux noeuds"), ), - "VITE": ( (), - _(u"Vitesse aux noeuds"), ), - "VALE_CONT": ( (), - _(u"Statuts de contact"), ), - "VARI_ELGA": ( (), - _(u"Variables internes aux points de Gauss"), ), - "VITE_ABSOLU": ( (), - _(u"Vitesse absolue aux noeuds"), ), - } - d['AUTRES'] = { - "COMPORTEMENT": ( (), - _(u"Carte de comportement mécanique"), ), - "COMPORTHER": ( (), - _(u"Carte de comportement thermique"), ), - "DEPL_VIBR": ( (), - _(u"Déplacement pour mode vibratoire"), ), - "DIVU": ( (), - _(u"Déformation volumique en THM"), ), - "EPSA_ELNO": ( (), - _(u"Déformations anélastique aux noeuds par élément"), ), - "EPSA_NOEU": ( (), - _(u"Déformations anélastique aux noeuds"), ), - "FERRAILLAGE": ( ("lin",), - _(u"Densité de ferraillage"), ), - "FSUR_2D": ( (), - _(u"Chargement de force surfacique en 2D"), ), - "FSUR_3D": ( (), - _(u"Chargement de force surfacique en 3D"), ), - "FVOL_2D": ( (), - _(u"Chargement de force volumique en 2D"), ), - "FVOL_3D": ( (), - _(u"Chargement de force volumique en 3D"), ), - "HYDR_ELNO": ( (), - _(u"Hydratation aux noeuds par élément"), ), - "IRRA": ( (), - _(u"Irradition aux noeuds"), ), - "MODE_FLAMB": ( (), - _(u"Mode de flambement"), ), - "MODE_STAB": ( (), - _(u"Mode de stabilité"), ), - "NEUT": ( (), - _(u"Variable de commande 'neutre'"), ), - "PRES": ( (), - _(u"Chargement de pression"), ), - "PTOT": ( (), - _(u"Pression totale de fluide en THM"), ), - "SISE_ELNO": ( (), - _(u"Contraintes aux noeuds par sous-élément"), ), - "SPMX_ELGA": ( (), - _(u"Valeurs maximum sur un sous-point"), ), - "THETA": ( (), - _(u"Champ theta"), ), - "VITE_VENT": ( (), - _(u"Chargement vitesse du vent"), ), - } - for typ in ('ELGA', 'ELNO', 'ELEM', 'NOEU', 'CART'): - for i in range(1, 11): - d['AUTRES']['UT%02d_%s' % (i, typ)]=( (), - _(u"Champ utilisateur numéro %02d_%s" % (i, typ)), ) - self.d_all = d - return - - def CheckPhenom(self): - """ Vérification de la cohérence entre les phenomènes et les clés - """ - l_keys = list(self.d_all.keys()) - l_phen = list(self.all_phenomenes) - uniq_keys = set(l_keys) - uniq_phen = set(l_phen) - if len(l_keys) != len(uniq_keys) or len(l_phen) != len(uniq_phen) : - for i in uniq_keys : - l_keys.remove(i) - assert len(l_keys) == 0, 'Keys must be unique: %s' % l_keys - for i in uniq_phen : - l_phen.remove(i) - assert len(l_phen) == 0, 'Phenomenon must be unique: %s' % l_phen - if len(l_keys) > len(l_phen) : - for i in l_phen : - l_keys.remove(i) - assert len(l_keys) == 0, 'Key %s not listed in the list of phenomenons' % l_keys - if len(l_keys) < len(l_phen) : - for i in l_keys: - l_phen.remove(i) - assert len(l_phen) == 0, 'Phenomenon %s not known as a key' % l_phen - - - def CheckField(self): - """ Vérification des doublons dans les noms des champs - """ - l_cham = [] - for phen in self.all_phenomenes: - l_cham.extend(self.d_all[phen].keys()) - uniq = set(l_cham) - if len(l_cham) != len(uniq): - for i in uniq: - l_cham.remove(i) - assert len(l_cham) == 0, 'Field names must be unique: %s' % l_cham - - - def InfoChamps(self, l_nom_cham): - """ on renvoie juste les informations relatives au(x) champ(s) - """ - d_cham = {}.fromkeys( l_nom_cham, ( '', '', '' ) ) - for nom_cham in l_nom_cham: - for phen in self.all_phenomenes: - for cham in self.d_all[phen].keys(): - if nom_cham == cham: - cate = self.d_all[phen][cham][0] - helptxt = self.d_all[phen][cham][1] - d_cham[nom_cham] = ( phen, cate, helptxt ) - return d_cham - - def Filtre(self, *l_typ_cham, **kwargs): - """ Check des doublons - """ - phenomene = kwargs.get('phenomene') - categorie = kwargs.get('categorie') - # Construction de la liste des champs en tenant compte des eventuels filtre (phenomene, categorie, l_typ_cham) - # ------------------------------------------------------------------------------------------------------------ - l_cham = [] - # Filtre par phenomene - if phenomene is None: - l_phen = self.all_phenomenes - else: - l_phen = [ phenomene ] - for phen in l_phen: - # parcours de tous les champs - for cham in self.d_all[phen].keys(): - isok = True - # Filtre par categorie - if categorie is not None: - lcat = self.d_all[phen][cham][0] - if type(lcat) not in (tuple, list): - lcat = [lcat, ] - if categorie in lcat: - isok = True - else: - isok = False - if isok: - l_cham.append(cham) - l_cham.sort() - # Filtre sur les types de champs - if len(l_typ_cham) == 0: - return tuple(l_cham) - l_ncham = [] - for typ in l_typ_cham : - for cham in l_cham : - if typ in cham.split('_'): - l_ncham.append(cham) - return tuple(l_ncham) - - def __init__(self): - self.Tous() - # check les doublons (fonctionnalite developpeur permettant de detecter les doublons dans les champs) - if 1: - self.CheckPhenom() - self.CheckField() - - def __call__(self, *l_typ_cham, **kwargs): - """Cette fonction retourne la liste des "into" possibles pour le mot-clé NOM_CHAM. - C'est à dire les noms de champs des SD RESULTAT (DATA de la routine RSCRSD). - l_typ_cham : rien ou un ou plusieurs parmi 'ELGA', 'ELNO', 'NOEU', 'ELEM'. - kwargs : un dictionnaire de mot-cles, les cles parmis : - 'phenomene' : retourne la liste des champs en filtrant par le phenomene (eventuellement mixe avec le suivant) - 'categorie' : retourne la liste des champs en filtrant par le phenomene (eventuellement mixe avec le precedent) - 'l_nom_cham' : (une liste ou un string) retourne uniqement les informations relatives au champ precise en argument - """ - l_nom_cham = kwargs.get('l_nom_cham') - if type(l_nom_cham) == str: - l_nom_cham = [ l_nom_cham ] - if l_nom_cham: - return self.InfoChamps(l_nom_cham) - else: - return self.Filtre(*l_typ_cham, **kwargs) - - -C_NOM_CHAM_INTO = NOM_CHAM_INTO() - -# person_in_charge: xavier.desroches at edf.fr -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# ce fichier contient la liste des noms des grandeurs de CODE_ASTER -def C_NOM_GRANDEUR() : return ( #COMMUN# -"ABSC_R", -"ADRSJEVE", -"ADRSJEVN", -"CAARPO", -"CACABL", -"CACOQU", -"CADISA", -"CADISK", -"CADISM", -"CAFI_R", -"CAGEBA", -"CAGEPO", -"CAGNBA", -"CAGNPO", -"CAMASS", -"CAORIE", -"CAPOUF", -"CARCRI", -"CASECT", -"CHLI_R", -"CODE_I", -"COEH_F", -"COEH_R", -"COMPOR", -"CORR_R", -"CRRU_R", -"DBEL_R", -"DCEL_I", -"DDLI_C", -"DDLI_F", -"DDLI_R", -"DDLM_C", -"DDLM_R", -"DEPL_C", -"DEPL_F", -"DEPL_R", -"DISS_R", -"DOMA_R", -"DURT_R", -"ENDO_R", -"ENER_R", -"EPSI_C", -"EPSI_F", -"EPSI_R", -"ERRE_R", -"FACY_R", -"FELECR", -"FER2_R", -"FISS_R", -"FLAPLA", -"FLUN_F", -"FLUN_R", -"FLUX_F", -"FLUX_R", -"FORC_C", -"FORC_F", -"FORC_R", -"FREQ_R", -"FTHM_F", -"FTHM_R", -"G", -"GEOM_R", -"G_DEPL_R", -"HARMON", -"HYDR_R", -"IMPE_C", -"IMPE_F", -"IMPE_R", -"INDL_R", -"INFC_R", -"INST_R", -"INTE_R", -"INTLOC", -"IRRA_R", -"ITECREL", -"ITEDEC", -"J", -"LISTMA", -"MACOMP", -"MASS_R", -"MATE_F", -"NBSP_I", -"NEUT_F", -"NEUT_I", -"NEUT_K16", -"NEUT_K24", -"NEUT_K8", -"NEUT_R", -"NUMC_I", -"NUMMOD", -"ONDE_F", -"ONDE_R", -"PESA_R", -"PDIL_R", -"PILO_K", -"PILO_R", -"POSI", -"PREC", -"PRES_C", -"PRES_F", -"PRES_R", -"RAYO_F", -"RAYO_R", -"RCCM_K", -"RCCM_R", -"RESCREL", -"RICE_TRA", -"ROTA_R", -"SECTION", -"SIEF_C", -"SIEF_R", -"SIZZ_R", -"SOUR_F", -"SOUR_R", -"SPMX_R", -"STRX_R", -"STAOUDYN", -"TEMP_C", -"TEMP_F", -"TEMP_R", -"THETA", -"VALO_R", -"VANL_R", -"VAR2_R", -"VARI_R", -"VENTCX_F", -"VNOR_C", -"VNOR_F", -"VOISIN", -"WEIBULL", -"XCONTAC", - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr - -def C_OBSERVATION() : return FACT(statut='f',max=99, - TITRE =SIMP(statut='f',typ='TXM',max=1), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1, - into=("VALE_CONT","FORC_NODA", - "DEPL","VITE","ACCE","TEMP", - "SIEF_ELGA","VARI_ELGA", - "DEPL_ABSOLU","VITE_ABSOLU","ACCE_ABSOLU",)), - - EVAL_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=1,defaut='VALE', - into=("MIN","MAX","MOY","MAXI_ABS","MINI_ABS","VALE",),), - - NOM_CMP =SIMP(statut='o',typ='TXM',max=20), - EVAL_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=1,defaut='VALE', - into=("VALE","FORMULE",),), - - b_formule =BLOC(condition="(EVAL_CMP=='FORMULE')", - FORMULE = SIMP(statut='o',typ=formule,max=1), - ), - - b_cham_no =BLOC(condition="(NOM_CHAM=='DEPL') or \ - (NOM_CHAM=='VITE') or \ - (NOM_CHAM=='ACCE') or \ - (NOM_CHAM=='TEMP') or \ - (NOM_CHAM=='FORC_NODA') or \ - (NOM_CHAM=='VALE_CONT') or \ - (NOM_CHAM=='DEPL_ABSOLU') or \ - (NOM_CHAM=='VITE_ABSOLU') or \ - (NOM_CHAM=='ACCE_ABSOLU')", - regles =(UN_PARMI('NOEUD','GROUP_NO','GROUP_MA','MAILLE','TOUT')), - TOUT =SIMP(statut='d',typ='TXM',into=("OUI",) ), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - - - b_cham_elga =BLOC(condition="(NOM_CHAM=='SIEF_ELGA') or \ - (NOM_CHAM=='VARI_ELGA')", - regles =(UN_PARMI('GROUP_MA','MAILLE','TOUT')), - TOUT =SIMP(statut='d',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - EVAL_ELGA =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=1,defaut='VALE', - into=("MIN","MAX","VALE",),), - b_elga_vale =BLOC(condition="(EVAL_ELGA=='VALE')", - POINT =SIMP(statut='o',typ='I' ,validators=NoRepeat(),max='**'), - SOUS_POINT =SIMP(statut='f',typ='I' ,validators=NoRepeat(),max='**'), - ), - ), - - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - PAS_OBSE =SIMP(statut='f',typ='I'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - - - ); - -# person_in_charge: mathieu.courtois at edf.fr -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# ce fichier contient la liste des PARA possibles pour les fonctions et les nappes -def C_PARA_FONCTION() : return ( #COMMUN# - "DX","DY","DZ","DRX","DRY","DRZ","TEMP","TSEC", - "INST","X","Y","Z","EPSI","META","FREQ","PULS","DSP", - "AMOR","ABSC","ABSC_CURV","SIGM","HYDR","SECH","PORO","SAT", - "PGAZ","PCAP","PLIQ","PVAP","PAD","VITE","ENDO", - "NORM","EPAIS","NEUT1","NEUT2",) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: kyrylo.kazymyrenko at edf.fr -def C_PILOTAGE() : return FACT(statut='f', - regles=(EXCLUS('NOEUD','GROUP_NO'),PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TYPE =SIMP(statut='o',typ='TXM',into=("DDL_IMPO","LONG_ARC","PRED_ELAS","DEFORMATION", - "ANA_LIM","SAUT_IMPO","SAUT_LONG_ARC") ), - COEF_MULT =SIMP(statut='f',typ='R',defaut= 1.0E+0), - EVOL_PARA =SIMP(statut='f',typ='TXM',defaut="SANS", into=("SANS","CROISSANT","DECROISSANT") ), - ETA_PILO_MAX =SIMP(statut='f',typ='R'), - ETA_PILO_MIN =SIMP(statut='f',typ='R'), - ETA_PILO_R_MAX=SIMP(statut='f',typ='R'), - ETA_PILO_R_MIN=SIMP(statut='f',typ='R'), - PROJ_BORNES =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - SELECTION =SIMP(statut='f',typ='TXM',defaut="NORM_INCR_DEPL", - into=("RESIDU","MIXTE","ANGL_INCR_DEPL","NORM_INCR_DEPL")), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - FISSURE =SIMP(statut='f',typ=fiss_xfem ,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - DIRE_PILO =SIMP(statut='f',typ='TXM',max='**'), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -def C_RECH_LINEAIRE() : return FACT(statut='f', - METHODE =SIMP(statut='f',typ='TXM',defaut="CORDE",into=("CORDE","MIXTE","PILOTAGE") ), - RESI_LINE_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-1 ), - ITER_LINE_MAXI =SIMP(statut='f',typ='I',defaut= 3,val_max=999), - RHO_MIN =SIMP(statut='f',typ='R',defaut=1.0E-2), - RHO_MAX =SIMP(statut='f',typ='R',defaut=1.0E+1), - RHO_EXCL =SIMP(statut='f',typ='R',defaut=0.9E-2,val_min=0.), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-michel.proix@edf.fr -# -def C_RELATION( COMMAND ): - - if COMMAND in ('CALC_G',): - return ( "ELAS", #COMMUN# - "ELAS_VMIS_LINE", - "ELAS_VMIS_TRAC", - "ELAS_VMIS_PUIS", - "ELAS_HYPER", - "VMIS_ISOT_LINE", - "VMIS_ISOT_TRAC", - # relations interdites depuis issue21711, elles - # devront etre introduites dans le F90 si besoin - #"VMIS_CINE_LINE", - #"VMIS_ISOT_PUIS", - ) - elif COMMAND in ('MACR_ASCOUF_CALC','MACR_ASPIC_CALC',): - return ( "ELAS", - "ELAS_VMIS_TRAC", - "VMIS_ISOT_TRAC", - ) - elif COMMAND =='DEFI_COMPOR' : - return ( "ELAS", #uniquement ce qui a du sens (cf doc) et qui fait l'objet d'un test - "BETON_UMLV_FP", - "BETON_DOUBLE_DP", - "CORR_ACIER", - "GRANGER_FP", - "GRANGER_FP_V", - "GRANGER_FP_INDT", - "GRAN_IRRA_LOG", - "MAZARS_GC", - "VISC_IRRA_LOG", - "VMIS_CINE_GC", - "VMIS_CINE_LINE", - "VMIS_ISOT_LINE", - "VMIS_ISOT_TRAC", - "VMIS_ISOT_PUIS", - ) - else : - return ( "ELAS", - "ELAS_VMIS_LINE", - "ELAS_VMIS_TRAC", - "ELAS_VMIS_PUIS", - "ELAS_HYPER", - "ELAS_POUTRE_GR", - "CABLE", - "ARME", - "ASSE_CORN", - "BARCELONE", - "BETON_BURGER_FP", - "BETON_DOUBLE_DP", - "BETON_RAG", - "BETON_REGLE_PR", - "BETON_UMLV_FP", - "CABLE_GAINE_FROT", - "CAM_CLAY", - "CJS", - "CORR_ACIER", - "CZM_EXP", - "CZM_EXP_REG", - "CZM_FAT_MIX", - "CZM_LIN_REG", - "CZM_OUV_MIX", - "CZM_TAC_MIX", - "CZM_LAB_MIX", - "CZM_TRA_MIX", - "DIS_BILI_ELAS", - "DIS_CHOC", - "DIS_ECRO_CINE", - "DIS_GOUJ2E_ELAS", - "DIS_GOUJ2E_PLAS", - "DIS_GRICRA", - "DIS_VISC", - "DRUCK_PRAGER", - "DRUCK_PRAG_N_A", - "ELAS_GONF", - "ELAS_HYPER", - "ENDO_CARRE", - "ENDO_FISS_EXP", - "ENDO_FRAGILE", - "ENDO_HETEROGENE", - "ENDO_ISOT_BETON", - "ENDO_ORTH_BETON", - "ENDO_SCALAIRE", - "GATT_MONERIE", - "GLRC_DAMAGE", - "GLRC_DM", - "DHRC", - "GRANGER_FP", - "GRANGER_FP_INDT", - "GRANGER_FP_V", - "GRAN_IRRA_LOG", - "GRILLE_CINE_LINE", - "GRILLE_ISOT_LINE", - "GRILLE_PINTO_MEN", - "HAYHURST", - "HOEK_BROWN", - "HOEK_BROWN_EFF", - "HOEK_BROWN_TOT", - "HUJEUX", - "IRRAD3M", - "JOINT_BA", - "JOINT_BANDIS", - "JOINT_MECA_RUPT", - "JOINT_MECA_FROT", - "KIT_CG", - "KIT_DDI", - "KIT_HH", - "KIT_H", - "KIT_HHM", - "KIT_HM", - "KIT_THH", - "KIT_THHM", - "KIT_THM", - "KIT_THV", - "LAIGLE", - "LEMAITRE", - "LEMAITRE_IRRA", - "LEMA_SEUIL", - "LETK", - "LMARC_IRRA", - "MAZARS", - "MAZARS_GC", - "META_LEMA_ANI", - "META_P_CL", - "META_P_CL_PT", - "META_P_CL_PT_RE", - "META_P_CL_RE", - "META_P_IL", - "META_P_IL_PT", - "META_P_IL_PT_RE", - "META_P_IL_RE", - "META_P_INL", - "META_P_INL_PT", - "META_P_INL_PT_RE", - "META_P_INL_RE", - "META_V_CL", - "META_V_CL_PT", - "META_V_CL_PT_RE", - "META_V_CL_RE", - "META_V_IL", - "META_V_IL_PT", - "META_V_IL_PT_RE", - "META_V_IL_RE", - "META_V_INL", - "META_V_INL_PT", - "META_V_INL_PT_RE", - "META_V_INL_RE", - "MOHR_COULOMB", - "MONOCRISTAL", - "MULTIFIBRE", - "NORTON", - "NORTON_HOFF", - "PINTO_MENEGOTTO", - "POLYCRISTAL", - "ROUSSELIER", - "ROUSS_PR", - "ROUSS_VISC", - "RUPT_FRAG", - "SANS", - "VENDOCHAB", - "VISC_ENDO_LEMA", - "VISCOCHAB", - "VISC_CIN1_CHAB", - "VISC_CIN2_CHAB", - "VISC_CIN2_MEMO", - "VISC_CIN2_NRAD", - "VISC_MEMO_NRAD", - "VISC_DRUC_PRAG", - "VISC_IRRA_LOG", - "VISC_ISOT_LINE", - "VISC_ISOT_TRAC", - "VISC_TAHERI", - "VMIS_ASYM_LINE", - "VMIS_CIN1_CHAB", - "VMIS_CIN2_CHAB", - "VMIS_CINE_GC", - "VMIS_CIN2_MEMO", - "VMIS_CIN2_NRAD", - "VMIS_MEMO_NRAD", - "VMIS_CINE_LINE", - "VMIS_ECMI_LINE", - "VMIS_ECMI_TRAC", - "VMIS_ISOT_LINE", - "VMIS_ISOT_PUIS", - "VMIS_ISOT_TRAC", - "VMIS_JOHN_COOK", - "ZMAT", - "UMAT", - "MFRONT", - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: olivier.boiteau at edf.fr - -def C_SOLVEUR( COMMAND, BASE=None ) : #COMMUN# - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# VERIFICATIONS -# -# ---------------------------------------------------------------------------------------------------------------------------------- - - assert COMMAND in ('CALC_ERREUR', - 'CALC_FORC_AJOU', - 'CALC_IFS_DNL', - 'CALC_MATR_AJOU', - 'CALC_PRECONT', - 'CREA_ELEM_SSD', - 'DEFI_BASE_MODALE', - 'DYNA_LINE_HARM', - 'DYNA_LINE_TRAN', - 'DYNA_NON_LINE', - 'DYNA_TRAN_MODAL', - 'INFO_MODE', - 'MACR_ASCOUF_CALC', - 'MACR_ASPIC_CALC', - 'MACRO_BASCULE_SCHEMA', - 'MACRO_MATR_AJOU', - 'MECA_STATIQUE', - 'MODE_ITER_SIMULT', - 'MODE_ITER_INV', - 'MODE_STATIQUE', - 'MODE_NON_LINE', - 'STAT_NON_LINE', - 'THER_LINEAIRE', - 'THER_NON_LINE', - 'THER_NON_LINE_MO', - ) - - if BASE != None: - assert COMMAND == 'DYNA_LINE_HARM' - assert BASE in ('GENE','PHYS') - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# CLASSIFICATION EN 3 CATEGORIES : -# - solveurs directs uniquement -# - solveurs pour le linéaire -# - solveurs pour le non-linéaire -# -# GESTION DES EXCEPTIONS -# -# ---------------------------------------------------------------------------------------------------------------------------------- - - _type = None - -# Classification ('SD'/'LIN'/'NL') - if COMMAND in ('CREA_ELEM_SSD', - 'DEFI_BASE_MODALE', - 'DYNA_LINE_HARM', - 'DYNA_TRAN_MODAL', - 'INFO_MODE', - 'MODE_ITER_SIMULT', - 'MODE_ITER_INV', - ): - _type = 'SD' - elif COMMAND in ('CALC_ERREUR', - 'CALC_FORC_AJOU', - 'CALC_MATR_AJOU', - 'DYNA_LINE_TRAN', - 'MACRO_MATR_AJOU', - 'MECA_STATIQUE', - 'MODE_STATIQUE', - 'THER_LINEAIRE', - 'THER_NON_LINE_MO', - ): - _type = 'LIN' - elif COMMAND in ('CALC_IFS_DNL', - 'CALC_PRECONT', - 'DYNA_NON_LINE', - 'MACR_ASCOUF_CALC', - 'MACR_ASPIC_CALC', - 'MACRO_BASCULE_SCHEMA', - 'STAT_NON_LINE', - 'THER_NON_LINE', - 'MODE_NON_LINE', - ): - _type = 'NL' - else: - assert False - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _dist = False - -# MATR_DISTRIBUEE ne fonctionnent que dans MECA_STATIQUE et MECA_NON_LINE - if COMMAND in ('CALC_IFS_DNL', - 'CALC_PRECONT', - 'DYNA_NON_LINE', - 'MACR_ASCOUF_CALC', - 'MACR_ASPIC_CALC', - 'MACRO_BASCULE_SCHEMA', - 'MECA_STATIQUE', - 'STAT_NON_LINE', - ): - _dist = True - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _gene = False - _ldlt = False - -# Avec des matrices généralisées, MULT_FRONT n'est pas permis, LDLT est donc par défaut - if BASE == 'GENE': - _gene = True - _ldlt = True - -# LDLT est le solveur par défaut dans DYNA_TRAN_MODAL (systèmes linéaires petits) - if COMMAND == 'DYNA_TRAN_MODAL': - _ldlt = True - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _syme = False - -# Seuls les opérateurs non-linéaires produisent des matrices non-symétriques - if _type == 'NL': - _syme = True - if COMMAND == 'THER_NON_LINE_MO': - _syme = True - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _singu = True - _rcmk = True - _resol = True - _cmodal = False - -# Avec les solveurs modaux STOP_SINGULIER n'existe pas, de plus RCMK n'est pas disponible - if COMMAND in ('INFO_MODE','MODE_ITER_INV','MODE_ITER_SIMULT'): - _cmodal= True - _singu = False - _rcmk = False -# Dans INFO_MODE on ne fait que factoriser - if COMMAND == 'INFO_MODE': - _resol = False - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _singu_non = False - -# Dans DEFI_BASE_MODALE, NON est le défaut de STOP_SINGULIER - if COMMAND == 'DEFI_BASE_MODALE': - _singu_non = True - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# INITIALISATIONS -# -# ---------------------------------------------------------------------------------------------------------------------------------- - -# Mot-clés simples - _MotCleSimples={} - -# Solveurs - _BlocMF={} - _BlocLD={} - _BlocMU={} - _BlocGC={} - _BlocPE={} - -# Préconditionneurs - _BlocGC_INC={} - _BlocPE_INC={} - _BlocXX_SP={} - _BlocPE_ML={} - _BlocPE_BOOMER={} - _BlocXX_Autres={} - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# MOT-CLES SIMPLES : METHODE -# SYME -# -# ---------------------------------------------------------------------------------------------------------------------------------- - -# METHODE - if (_ldlt): - _defaut = "LDLT" - else: - _defaut = "MULT_FRONT" - - if _type == 'SD': - _into = ("MULT_FRONT", "LDLT", "MUMPS", ) - if _gene: - _into = ("LDLT", "MUMPS", ) - else: - _into = ("MULT_FRONT", "LDLT", "MUMPS", "GCPC", "PETSC", ) - - if COMMAND =='MODE_NON_LINE': - _defaut = "MUMPS" - _into = ("MUMPS",) - - _MotCleSimples['METHODE'] = SIMP(statut='f', typ='TXM', defaut=_defaut, into=_into, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - -# SYME - if _syme: - _MotCleSimples['SYME'] = SIMP(statut='f', typ='TXM', defaut="NON", into=("OUI", "NON", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# MULT_FRONT/LDLT/MUMPS (RENUM/NPREC/STOP_SINGULIER) -# -# ---------------------------------------------------------------------------------------------------------------------------------- - -# RENUM - _BlocMF['RENUM'] = SIMP(statut='f', typ='TXM', defaut="METIS", into=("MD", "MDA", "METIS", ), ) - - if _rcmk: - _into = ("RCMK", "SANS", ) - _defaut = "RCMK" - else: - _into = ("SANS",) - _defaut = "SANS" - - _BlocLD['RENUM'] = SIMP(statut='f', typ='TXM', defaut=_defaut, into=_into, ) - - _BlocMU['RENUM'] = SIMP(statut='f', typ='TXM', defaut="AUTO", into=("AMD", "AMF", "PORD", "METIS", "QAMD", "SCOTCH", "AUTO", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- -# NPREC - _BlocMF['NPREC'] = SIMP(statut='f', typ='I', defaut=8, ) - _BlocLD['NPREC'] = SIMP(statut='f', typ='I', defaut=8, ) - _BlocMU['NPREC'] = SIMP(statut='f', typ='I', defaut=8, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- -# ELIM_LAGR - - if not _cmodal : - _BlocPE['ELIM_LAGR' ] = SIMP(statut='f', typ='TXM', defaut="NON" , into=("OUI", "NON"), ) - _BlocMF['ELIM_LAGR' ] = SIMP(statut='f', typ='TXM', defaut="NON" , into=("OUI", "NON"), ) - _BlocLD['ELIM_LAGR' ] = SIMP(statut='f', typ='TXM', defaut="NON" , into=("OUI", "NON"), ) - _BlocMU['ELIM_LAGR' ] = SIMP(statut='f', typ='TXM', defaut="LAGR2" , into=("OUI", "NON", "LAGR2"), ) - else : - _BlocMU['ELIM_LAGR' ] = SIMP(statut='f', typ='TXM', defaut="LAGR2" , into=("NON", "LAGR2"), ) - - -# ---------------------------------------------------------------------------------------------------------------------------------- -# STOP_SINGULIER - _into = ("OUI", "NON", ) - _defaut = "OUI" - - if _singu_non: - _defaut = "NON" - - if _singu: - _BlocMF['STOP_SINGULIER'] = SIMP(statut='f', typ='TXM', defaut=_defaut, into=_into, ) - _BlocLD['STOP_SINGULIER'] = SIMP(statut='f', typ='TXM', defaut=_defaut, into=_into, ) - _BlocMU['STOP_SINGULIER'] = SIMP(statut='f', typ='TXM', defaut=_defaut, into=_into, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# MUMPS (MOT-CLES RESTANT) -# -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocMU['TYPE_RESOL' ] = SIMP(statut='f', typ='TXM', defaut="AUTO", into=("NONSYM", "SYMGEN", "SYMDEF", "AUTO", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocMU['PRETRAITEMENTS' ] = SIMP(statut='f', typ='TXM', defaut="AUTO", into=("SANS", "AUTO", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - if _resol: - _BlocMU['POSTTRAITEMENTS'] = SIMP(statut='f', typ='TXM', defaut="AUTO", into=("SANS", "AUTO", "FORCE", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocMU['PCENT_PIVOT' ] = SIMP(statut='f', typ='I' , defaut=20, val_min=1, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - if _resol: - if _type == 'LIN': - _BlocMU['RESI_RELA'] = SIMP(statut='f', typ='R', defaut=1.0E-6, ) - else: - _BlocMU['RESI_RELA'] = SIMP(statut='f', typ='R', defaut=-1.0, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocMU['GESTION_MEMOIRE'] = SIMP(statut='f', typ='TXM', defaut="AUTO", into=("IN_CORE", "OUT_OF_CORE", "AUTO", "EVAL"), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - if _type == 'NL': - _BlocMU['FILTRAGE_MATRICE'] = SIMP(statut='f', typ='R' , defaut=-1.0, ) - _BlocMU['MIXER_PRECISION' ] = SIMP(statut='f', typ='TXM', defaut="NON", into=("OUI", "NON", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - if _dist: - _BlocMU['MATR_DISTRIBUEE' ] = SIMP(statut='f', typ='TXM', defaut="NON", into=("OUI", "NON", ), ) - _BlocPE['MATR_DISTRIBUEE' ] = SIMP(statut='f', typ='TXM', defaut="NON", into=("OUI", "NON", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# GCPC/PETSC -# -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocPE['ALGORITHME'] = SIMP(statut='f', typ='TXM', defaut="GMRES", into=("CG", "CR", "GMRES", "GCR", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocGC['PRE_COND'] = SIMP(statut='f', typ='TXM', defaut="LDLT_INC", into=("LDLT_INC", "LDLT_SP", ), ) - _BlocPE['PRE_COND'] = SIMP(statut='f', typ='TXM', defaut="LDLT_SP" , - into=("LDLT_INC", "LDLT_SP", "JACOBI", "SOR", "ML", "BOOMER", "SANS", ), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocGC['RESI_RELA'] = SIMP(statut='f', typ='R', defaut= 1.E-6, ) - _BlocPE['RESI_RELA'] = SIMP(statut='f', typ='R', defaut= 1.E-6, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocGC['NMAX_ITER'] = SIMP(statut='f', typ='I', defaut= 0, ) - _BlocPE['NMAX_ITER'] = SIMP(statut='f', typ='I', defaut= 0, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- -# Mot-cle cache pour desactiver le critere en norme non preconditionnee dans PETSC - - if _type == 'NL': - _BlocPE['RESI_RELA_PC'] = SIMP(statut='c', typ='R', defaut= -1.0, ) - else: - _BlocPE['RESI_RELA_PC'] = SIMP(statut='c', typ='R', defaut= 0.0, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocGC_INC['RENUM'] = SIMP(statut='f', typ='TXM', defaut="RCMK", into=("SANS","RCMK"), ) - _BlocPE_INC['RENUM'] = SIMP(statut='f', typ='TXM', defaut="RCMK", into=("SANS","RCMK"), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocGC_INC['NIVE_REMPLISSAGE'] = SIMP(statut='f', typ='I', defaut= 0, ) - _BlocPE_INC['NIVE_REMPLISSAGE'] = SIMP(statut='f', typ='I', defaut= 0, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocPE_INC['REMPLISSAGE'] = SIMP(statut='f', typ='R', defaut= 1.0, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocXX_SP['RENUM'] = SIMP(statut='f', typ='TXM', defaut="SANS", into=("SANS",), ) - _BlocXX_SP['REAC_PRECOND'] = SIMP(statut='f', typ='I', defaut=30, ) - _BlocXX_SP['PCENT_PIVOT' ] = SIMP(statut='f', typ='I', defaut=20, val_min=1, ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocPE_ML['RENUM'] = SIMP(statut='f', typ='TXM', defaut="SANS", into=("SANS",), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocPE_BOOMER['RENUM'] = SIMP(statut='f', typ='TXM', defaut="SANS", into=("SANS",), ) - -# ---------------------------------------------------------------------------------------------------------------------------------- - - _BlocXX_Autres['RENUM'] = SIMP(statut='f', typ='TXM', defaut="SANS", into=("SANS","RCMK", ), ) - - -# ---------------------------------------------------------------------------------------------------------------------------------- -# -# PREPARATION DU MOT-CLE FACTEUR -# -# ---------------------------------------------------------------------------------------------------------------------------------- - - mcfact = FACT(statut='d', - b_mult_front = BLOC(condition = "METHODE == 'MULT_FRONT' ", - fr="Paramètres de la méthode multi frontale", - **_BlocMF - ), - b_ldlt = BLOC(condition = "METHODE == 'LDLT' ", - fr="Paramètres de la méthode LDLT", - **_BlocLD - ), - b_mumps = BLOC(condition = "METHODE == 'MUMPS' ", - fr="Paramètres de la méthode MUMPS", - **_BlocMU - ), - b_gcpc = BLOC(condition = "METHODE == 'GCPC' ", - fr="Paramètres de la méthode du gradient conjugué", - b_ldltinc = BLOC(condition = "PRE_COND == 'LDLT_INC' ", - fr="Paramètres de la factorisation incomplète", - **_BlocGC_INC - ), - b_simple = BLOC(condition = "PRE_COND == 'LDLT_SP' ", - fr="Paramètres de la factorisation simple précision", - **_BlocXX_SP - ), - **_BlocGC - ), - b_petsc = BLOC(condition = "METHODE == 'PETSC' ", - fr="Paramètres de la méthode PETSC", - b_ldltinc = BLOC(condition = "PRE_COND == 'LDLT_INC' ", - fr="Paramètres de la factorisation incomplète", - **_BlocPE_INC - ), - b_simple = BLOC(condition = "PRE_COND == 'LDLT_SP' ", - fr="Paramètres de la factorisation simple précision", - **_BlocXX_SP - ), - b_ml = BLOC(condition = "PRE_COND == 'ML' ", - fr="Paramètres du multigrille algébrique ML", - **_BlocPE_ML - ), - b_boomer = BLOC(condition = "PRE_COND == 'BOOMER' ", - fr="Paramètres du multigrille algébrique HYPRE", - **_BlocPE_BOOMER - ), - b_autres = BLOC(condition = "PRE_COND == 'JACOBI' or \ - PRE_COND == 'SOR' or \ - PRE_COND == 'SANS'", - **_BlocXX_Autres - ), - **_BlocPE - ), - **_MotCleSimples - ) - - return mcfact - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr - -def C_SUIVI_DDL() : return FACT(statut='f',max=4, - - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1, - into=("DEPL","VITE","ACCE", - "FORC_NODA", - "SIEF_ELGA","VARI_ELGA",)), - - EVAL_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=1,defaut='VALE', - into=("MIN","MAX","MOY","MAXI_ABS","MINI_ABS","VALE",),), - - NOM_CMP =SIMP(statut='o',typ='TXM',max=20), - EVAL_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=1,defaut='VALE', - into=("VALE","FORMULE",),), - - b_formule =BLOC(condition="(EVAL_CMP=='FORMULE')", - FORMULE = SIMP(statut='o',typ=formule,max=1), - ), - - b_cham_no =BLOC(condition="(NOM_CHAM=='DEPL') or \ - (NOM_CHAM=='VITE') or \ - (NOM_CHAM=='ACCE') or \ - (NOM_CHAM=='FORC_NODA') or \ - (NOM_CHAM=='VALE_CONT')", - regles =(UN_PARMI('NOEUD','GROUP_NO','GROUP_MA','MAILLE','TOUT')), - TOUT =SIMP(statut='d',typ='TXM',into=("OUI",) ), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - - b_cham_elga =BLOC(condition="(NOM_CHAM=='SIEF_ELGA') or \ - (NOM_CHAM=='VARI_ELGA')", - regles =(UN_PARMI('GROUP_MA','MAILLE','TOUT')), - TOUT =SIMP(statut='d',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - EVAL_ELGA =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=1,defaut='VALE', - into=("MIN","MAX","VALE",),), - b_elga_vale =BLOC(condition="(EVAL_ELGA=='VALE')", - POINT =SIMP(statut='o',typ='I' ,validators=NoRepeat(),max='**'), - SOUS_POINT =SIMP(statut='f',typ='I' ,validators=NoRepeat(),max='**'), - ), - ), - - TITRE = SIMP(statut='f',typ='TXM',max=3), - - - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def C_TEST_REFERENCE(keyword, max=1): #COMMUN# - """Mots-clés communs pour TEST_RESU, TEST_TABLE, TEST_FONCTION. - On retourne un bloc pour ajouter la règle UN_PARMI.""" - assert keyword in ('CHAM_NO', 'CHAM_ELEM', 'CARTE', 'RESU', 'GENE', 'OBJET', - 'TABLE', 'FONCTION', 'FICHIER') - with_int = keyword not in ('FONCTION', 'FICHIER') - with_complex = keyword not in ('OBJET', 'FICHIER') - with_string = keyword in ('FICHIER', 'TABLE') - vale_abs = keyword not in ('CARTE', 'FICHIER') - type_test = keyword not in ('CARTE', 'GENE', 'OBJET') - multi_prec = keyword in ('RESU', 'GENE') - reference = keyword not in ('FICHIER', ) - un_parmi = keyword not in ('FICHIER', ) - - opts = {} - opts_ref = {} - types = ['',] - def add_type(typ): - ttyp = typ == 'K' and 'TXM' or typ - types.append('_' + typ) - opts['VALE_CALC_' + typ] = SIMP(statut='f',typ=ttyp,max=max) - opts_ref['VALE_REFE_' + typ] = SIMP(statut='f',typ=ttyp,max=max) - if with_int: - add_type('I') - if with_complex: - add_type('C') - if with_string: - add_type('K') - if vale_abs: - opts['VALE_ABS'] = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")) - if type_test: - opts['TYPE_TEST'] = SIMP(statut='f',typ='TXM',into=("SOMM_ABS","SOMM","MAX","MIN")) - if not multi_prec: - opts['TOLE_MACHINE'] = SIMP(statut='f',typ='R',defaut=1.e-6) - opts['CRITERE'] = SIMP(statut='f',typ='TXM',defaut='RELATIF',into=("RELATIF","ABSOLU")) - else: - opts['TOLE_MACHINE'] = SIMP(statut='f',typ='R',max=2) - opts['CRITERE'] = SIMP(statut='f',typ='TXM',max=2,into=("RELATIF","ABSOLU")) - if un_parmi: - opts['regles'] = (UN_PARMI(*['VALE_CALC' + t for t in types])) - opts_ref['regles'] = (UN_PARMI(*['VALE_REFE' + t for t in types])) - if reference: - opts['b_reference'] = BLOC(condition = "REFERENCE != None", - VALE_REFE = SIMP(statut='f',typ='R',max=max), - PRECISION = SIMP(statut='f',typ='R',defaut=1.e-3), - **opts_ref) - opts['REFERENCE'] = SIMP(statut='f',typ='TXM', - into=("ANALYTIQUE","SOURCE_EXTERNE","AUTRE_ASTER","NON_DEFINI")) - kwargs = { - 'b_values' : BLOC(condition = "True", - VALE_CALC = SIMP(statut='f',typ='R',max=max), - LEGENDE = SIMP(statut='f',typ='TXM'), - **opts - ) - } - return kwargs - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: gerald.nicolas at edf.fr -# -# ce fichier contient la liste des "into" possibles pour le mot cle TYPE_CHAM -def C_TYPE_CHAM_INTO( type_cham=None ) : #COMMUN# -# Si aucun argument n'est passe, on utilise tous les types de champs possibles - if ( type_cham is None ) : - l_cham = ["ELEM", "ELNO", "ELGA", "CART", "NOEU"] -# Sinon, on n'utilise que les types passes en argument - else : - l_cham = [] - for typ in type_cham : - l_cham.append(typ) - - l = [] - for gd in C_NOM_GRANDEUR() : - if gd != "VARI_R" : - for typ in l_cham : - l.append(typ+"_"+gd) - else : - # il ne peut pas exister NOEU_VARI_R ni CART_VARI_R (il faut utiliser VAR2_R): - for typ in l_cham : - if typ not in ("CART", "NOEU") : - l.append(typ+"_"+gd) - - return tuple(l) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-luc.flejou at edf.fr -AFFE_CARA_ELEM=OPER(nom="AFFE_CARA_ELEM",op= 19,sd_prod=cara_elem, - fr="Affectation de caracteristiques a des elements de structure", - reentrant='n', - UIinfo ={"groupes":("Modélisation",)}, - regles = (AU_MOINS_UN('POUTRE','BARRE','COQUE','CABLE','DISCRET','DISCRET_2D','MASSIF', - 'GRILLE','MEMBRANE','MULTIFIBRE','RIGI_PARASOL'), - PRESENT_PRESENT('MULTIFIBRE','GEOM_FIBRE'), - EXCLUS('DISCRET','DISCRET_2D'),), - MODELE = SIMP(statut='o',typ=modele_sdaster ), - INFO = SIMP(statut='f',typ='I', defaut= 1 ,into=(1,2) ), - VERIF = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=("MAILLE","NOEUD") ), - -# ============================================================================ - POUTRE = FACT(statut= 'f',max= '**', - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut= 'f',typ= ma ,validators= NoRepeat(),max= '**'), - GROUP_MA = SIMP(statut= 'f',typ= grma,validators= NoRepeat(),max= '**'), - SECTION = SIMP(statut= 'o',typ= 'TXM' ,into= ("GENERALE","RECTANGLE","CERCLE") ), - b_generale = BLOC(condition = " SECTION == 'GENERALE'", - VARI_SECT = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE"),defaut= "CONSTANT"), - b_constant = BLOC(condition = "VARI_SECT == 'CONSTANT'", - regles = (PRESENT_ABSENT('TABLE_CARA','CARA'), - PRESENT_PRESENT('TABLE_CARA','NOM_SEC'),PRESENT_PRESENT('CARA','VALE')), - TABLE_CARA = SIMP(statut= 'f',typ=table_sdaster), - NOM_SEC = SIMP(statut= 'f',typ= 'TXM'), - CARA = SIMP(statut= 'f',typ= 'TXM',validators= NoRepeat(),min= 4 ,max= 15, - fr= "A,IY,IZ,JX sont des paramètres obligatoires", - into= ("A","IY","IZ","AY","AZ","EY","EZ","JX","RY","RZ","RT", - "JG","IYR2","IZR2","AI") ), - VALE = SIMP(statut= 'f',typ= 'R',min= 4 ,max= 15), ), - b_homothetique = BLOC(condition = "VARI_SECT == 'HOMOTHETIQUE'", - CARA = SIMP(statut= 'o',typ= 'TXM',validators= NoRepeat(),min= 8 ,max= 30, - fr= "A1,A2,IY1,IY2,IZ1,IZ2,JX1,JX2 sont des paramètres obligatoires", - into= ("A1","IY1","IZ1","AY1","AZ1","EY1","EZ1","JX1","RY1", - "RZ1","RT1","JG1","IYR21","IZR21","AI1", - "A2","IY2","IZ2","AY2","AZ2","EY2","EZ2","JX2","RY2", - "RZ2","RT2","JG2","IYR22","IZR22","AI2") ), - VALE = SIMP(statut= 'o',typ= 'R',min= 8 ,max= 30),), - ), - b_rectangle = BLOC(condition = "SECTION == 'RECTANGLE'", - VARI_SECT = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE","AFFINE"),defaut= "CONSTANT"), - b_constant = BLOC(condition = "VARI_SECT == 'CONSTANT'", - CARA = SIMP(statut= 'o',typ= 'TXM',validators= NoRepeat(),min= 1 ,max= 4, - into= ("H","EP", "HY","HZ","EPY","EPZ") ), - VALE = SIMP(statut= 'o',typ= 'R',min= 1 ,max= 4), ), - b_homothetique = BLOC(condition = "VARI_SECT == 'HOMOTHETIQUE'", - CARA = SIMP(statut= 'o',typ= 'TXM',validators= NoRepeat(),min= 2 ,max= 8, - into= ("H1","HZ1","HY1","EP1","EPY1","EPZ1", - "H2","HZ2","HY2","EP2","EPY2","EPZ2") ), - VALE = SIMP(statut= 'o',typ= 'R',min= 2 ,max= 8), ), - b_affine = BLOC(condition = "VARI_SECT == 'AFFINE'", - CARA = SIMP(statut= 'o',typ= 'TXM',validators= NoRepeat(),min= 3 ,max= 6, - into= ("HY","EPY", "HZ1","EPZ1","HZ2","EPZ2") ), - VALE = SIMP(statut= 'o',typ= 'R',min= 3 ,max= 6), ), - ), - b_cercle = BLOC(condition = " SECTION == 'CERCLE'", - VARI_SECT = SIMP(statut= 'f',typ= 'TXM',into= ("CONSTANT","HOMOTHETIQUE"),defaut= "CONSTANT"), - b_constant = BLOC(condition = "VARI_SECT == 'CONSTANT'", - CARA = SIMP(statut= 'o',typ= 'TXM',validators= NoRepeat(),min= 1 ,max= 2, - fr= "R est un paramètre obligatoire", - into= ("R","EP") ), - VALE = SIMP(statut= 'o',typ= 'R',min= 1 ,max= 2), ), - b_homothetique = BLOC(condition = "VARI_SECT == 'HOMOTHETIQUE'", - CARA = SIMP(statut= 'o',typ= 'TXM',validators= NoRepeat(),min= 2 ,max= 4, - fr= "R1, R2 sont des paramètres obligatoires", - into= ("R1","R2","EP1","EP2") ), - VALE = SIMP(statut= 'o',typ= 'R',min= 2 ,max= 4), ), - MODI_METRIQUE = SIMP(statut= 'f',typ= 'TXM',defaut= "NON",into= ("OUI","NON") ), - FCX = SIMP(statut= 'f',typ= (fonction_sdaster,nappe_sdaster,formule) ), - TUYAU_NSEC = SIMP(statut= 'f',typ= 'I',val_max= 32,defaut= 16), - TUYAU_NCOU = SIMP(statut= 'f',typ= 'I',val_max= 10,defaut= 3), - ), - ), - -# ============================================================================ - BARRE = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SECTION = SIMP(statut='o',typ='TXM',into=("GENERALE","RECTANGLE","CERCLE") ), - b_generale = BLOC(condition = "SECTION=='GENERALE'", - regles = (PRESENT_ABSENT('TABLE_CARA','CARA'), - PRESENT_PRESENT('TABLE_CARA','NOM_SEC'),PRESENT_PRESENT('CARA','VALE')), - TABLE_CARA = SIMP(statut= 'f',typ=table_sdaster), - NOM_SEC = SIMP(statut= 'f',typ= 'TXM'), - CARA = SIMP(statut='f',typ='TXM',into=("A",) ), - VALE = SIMP(statut='f',typ='R',min=1,max=1 ), ), - b_rectangle = BLOC(condition = "SECTION=='RECTANGLE'", - CARA = SIMP(statut='o',typ='TXM', - into=("H","EP","HZ","HY","EPY","EPZ"), - validators=NoRepeat(),min=1,max=4 ), - VALE = SIMP(statut='o',typ='R',min=1,max=4 ), ), - b_cercle = BLOC(condition = "SECTION=='CERCLE'", - CARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),min=1,max=2,into=("R","EP") ), - VALE = SIMP(statut='o',typ='R',min=1,max=2 ), ), - FCX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - -# ============================================================================ - COQUE = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA' ), - EXCLUS('ANGL_REP','VECTEUR'), - PRESENT_PRESENT( 'EXCENTREMENT', 'INER_ROTA' ), - PRESENT_PRESENT( 'EXCENTREMENT_FO','INER_ROTA' ), - UN_PARMI('EPAIS','EPAIS_FO' ), - EXCLUS('EXCENTREMENT','EXCENTREMENT_FO'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - EPAIS = SIMP(statut='f',typ='R' ), - EPAIS_FO = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ANGL_REP = SIMP(statut='f',typ='R',min=2,max=2), - VECTEUR = SIMP(statut='f',typ='R',min=3,max=3), - A_CIS = SIMP(statut='f',typ='R',defaut= 0.8333333E0), - COEF_RIGI_DRZ = SIMP(statut='f',typ='R',defaut= 1.0E-5 ), - COQUE_NCOU = SIMP(statut='f',typ='I',defaut= 1 ), - EXCENTREMENT = SIMP(statut='f',typ='R' ), - EXCENTREMENT_FO = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - INER_ROTA = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MODI_METRIQUE = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - -# ============================================================================ - CABLE = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - N_INIT = SIMP(statut='f',typ='R',defaut= 5000. ), - SECTION = SIMP(statut='f',typ='R' ), - FCX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - -# ============================================================================ - DISCRET = FACT(statut='f',max='**', - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - AMOR_HYST = SIMP(statut='f',typ='R' ), - - SYME = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - b_SYME_OUI = BLOC(condition="SYME=='OUI'", - fr="SYMETRIQUE: Affectation de matrices de rigidité, de masse ou d'amortissement à des mailles ou noeuds", - CARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1,defaut="None", - into=("K_T_D_N", "K_T_D_L", "K_TR_D_N", "K_TR_D_L", "K_T_N", "K_T_L", "K_TR_N", "K_TR_L", - "M_T_D_N", "M_T_D_L", "M_TR_D_N", "M_TR_D_L", "M_T_N", "M_T_L", "M_TR_N", "M_TR_L", - "A_T_D_N", "A_T_D_L", "A_TR_D_N", "A_TR_D_L", "A_T_N", "A_T_L", "A_TR_N", "A_TR_L",),), - # Affection des caractéristiques de RIGIDITE/AMORTISSEMENT/MASSE - b_AK_T_D_N = BLOC(condition = "((CARA=='K_T_D_N')or(CARA=='A_T_D_N'))", - fr="NOEUD: 3 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - b_AK_T_D_L = BLOC(condition = "((CARA=='K_T_D_L')or(CARA=='A_T_D_L'))", - fr="SEGMENT: 3 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - b_AK_TR_D_N = BLOC(condition = "((CARA=='K_TR_D_N')or(CARA=='A_TR_D_N'))", - fr="NOEUD: 6 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=6 ,max=6 ),), - b_AK_TR_D_L = BLOC(condition = "((CARA=='K_TR_D_L')or(CARA=='A_TR_D_L'))", - fr="SEGMENT: 6 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=6 ,max=6 ),), - b_MAK_T_N = BLOC(condition = "((CARA=='K_T_N')or(CARA=='A_T_N')or(CARA=='M_T_N'))", - fr="NOEUD: 6 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=6 ,max=6 ),), - b_MAK_T_L = BLOC(condition = "((CARA=='K_T_L')or(CARA=='A_T_L')or(CARA=='M_T_L'))", - fr="SEGMENT: 21 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=21,max=21),), - b_MAK_TR_N = BLOC(condition = "((CARA=='K_TR_N')or(CARA=='A_TR_N')or(CARA=='M_TR_N'))", - fr="NOEUD: 21 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=21,max=21),), - b_MAK_TR_L = BLOC(condition = "((CARA=='K_TR_L')or(CARA=='A_TR_L')or(CARA=='M_TR_L'))", - fr="SEGMENT: 78 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=78,max=78),), - # Affection des caractéristiques de MASSE - b_M_T_D_N = BLOC(condition = "(CARA=='M_T_D_N')", - fr="NOEUD: 1 valeur de masse", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=1 ,max=1 ),), - b_M_T_D_L = BLOC(condition = "(CARA=='M_T_D_L')", - fr="SEGMENT: 1 valeur de masse", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=1 ,max=1 ),), - b_M_TR_D_N = BLOC(condition = "(CARA=='M_TR_D_N')", - fr="NOEUD: 1 valeur de masse, 6 valeurs du tenseur d'inertie, 3 composantes du vecteur d'excentrement", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=10,max=10),), - b_M_TR_D_L = BLOC(condition = "(CARA=='M_TR_D_L')", - fr="SEGMENT: 1 valeur de masse, 3 valeurs du tenseur d'inertie", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=4,max=4),), - ), - # éléments à matrice non-symétrique - # b_MAK_T_N_NS 'K_T_N' 'A_T_N' 'M_T_N' - # b_MAK_T_L_NS 'K_T_L' 'A_T_L' 'M_T_L' - # b_MAK_TR_N_NS 'K_TR_N' 'A_TR_N' 'M_TR_N' - # b_MAK_TR_L_NS 'K_TR_L' 'A_TR_L' 'M_TR_L' - b_SYME_NON = BLOC(condition="SYME=='NON'", - fr="NON-SYMETRIQUE: Affectation de matrices de rigidité, de masse ou d'amortissement à des mailles ou noeuds", - CARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1,defaut="None", - into=("K_T_N", "K_T_L", "K_TR_N", "K_TR_L", - "M_T_N", "M_T_L", "M_TR_N", "M_TR_L", - "A_T_N", "A_T_L", "A_TR_N", "A_TR_L",),), - # Affection des caractéristiques de RIGIDITE/AMORTISSEMENT/MASSE : NON-SYMETRIQUE - b_MAK_T_N_NS = BLOC(condition = "((CARA=='K_T_N')or(CARA=='A_T_N')or(CARA=='M_T_N'))", - fr="NOEUD: 9 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=9 ,max=9 ),), - b_MAK_T_L_NS = BLOC(condition = "((CARA=='K_T_L')or(CARA=='A_T_L')or(CARA=='M_T_L'))", - fr="SEGMENT: 36 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=36,max=36),), - b_MAK_TR_N_NS = BLOC(condition = "((CARA=='K_TR_N')or(CARA=='A_TR_N')or(CARA=='M_TR_N'))", - fr="NOEUD: 36 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=36,max=36),), - b_MAK_TR_L_NS = BLOC(condition = "((CARA=='K_TR_L')or(CARA=='A_TR_L')or(CARA=='M_TR_L'))", - fr="SEGMENT: 144 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=144,max=144),), - ), - ), -# ============================================================================ - DISCRET_2D = FACT(statut='f',max='**', - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - AMOR_HYST = SIMP(statut='f',typ='R' ), - SYME = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - b_SYME_OUI = BLOC(condition="SYME=='OUI'", - fr="SYMETRIQUE: Affectation de matrices de rigidité, de masse ou d'amortissement à des mailles ou noeuds", - CARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1,defaut="None", - into=("K_T_D_N", "K_T_D_L", "K_TR_D_N", "K_TR_D_L", "K_T_N", "K_T_L", "K_TR_N", "K_TR_L", - "M_T_D_N", "M_T_D_L", "M_TR_D_N", "M_TR_D_L", "M_T_N", "M_T_L", "M_TR_N", "M_TR_L", - "A_T_D_N", "A_T_D_L", "A_TR_D_N", "A_TR_D_L", "A_T_N", "A_T_L", "A_TR_N", "A_TR_L",),), - # Affection des caractéristiques de RIGIDITE/AMORTISSEMENT/MASSE - b_AK_T_D_N = BLOC(condition = "((CARA=='K_T_D_N')or(CARA=='A_T_D_N'))", - fr="NOEUD: 2 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=2 ,max=2 ),), - b_AK_T_D_L = BLOC(condition = "((CARA=='K_T_D_L')or(CARA=='A_T_D_L'))", - fr="SEGMENT: 2 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=2 ,max=2 ),), - b_AK_TR_D_N = BLOC(condition = "((CARA=='K_TR_D_N')or(CARA=='A_TR_D_N'))", - fr="NOEUD: 3 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - b_AK_TR_D_L = BLOC(condition = "((CARA=='K_TR_D_L')or(CARA=='A_TR_D_L'))", - fr="SEGMENT: 3 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - b_MAK_T_N = BLOC(condition = "((CARA=='K_T_N')or(CARA=='A_T_N')or(CARA=='M_T_N'))", - fr="NOEUD: 3 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=3 ,max=3 ),), - b_MAK_T_L = BLOC(condition = "((CARA=='K_T_L')or(CARA=='A_T_L')or(CARA=='M_T_L'))", - fr="SEGMENT: 10 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=10,max=10),), - b_MAK_TR_N = BLOC(condition = "((CARA=='K_TR_N')or(CARA=='A_TR_N')or(CARA=='M_TR_N'))", - fr="NOEUD: 6 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=6 ,max=6),), - b_MAK_TR_L = BLOC(condition = "((CARA=='K_TR_L')or(CARA=='A_TR_L')or(CARA=='M_TR_L'))", - fr="SEGMENT: 21 valeurs (triangulaire supérieure par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=21,max=21),), - # Affection des caractéristiques de MASSE - b_M_T_D_N = BLOC(condition = "(CARA=='M_T_D_N')", - fr="NOEUD: 1 valeur de masse", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=1 ,max=1 ),), - b_M_T_D_L = BLOC(condition = "(CARA=='M_T_D_L')", - fr="SEGMENT: 1 valeur de masse", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=1 ,max=1 ),), - b_M_TR_D_N = BLOC(condition = "(CARA=='M_TR_D_N')", - fr="NOEUD: 1 valeur de masse, 1 valeur d'inertie, 2 composantes du vecteur d'excentrement", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=4 ,max=4 ),), - b_M_TR_D_L = BLOC(condition = "(CARA=='M_TR_D_L')", - fr="SEGMENT: 1 valeur de masse, 1 valeur d'inertie", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=2 ,max=2 ),), - ), - # éléments à matrice non-symétrique - # b_MAK_T_N_NS 'K_T_N' 'A_T_N' 'M_T_N' - # b_MAK_T_L_NS 'K_T_L' 'A_T_L' 'M_T_L' - # b_MAK_TR_N_NS 'K_TR_N' 'A_TR_N' 'M_TR_N' - # b_MAK_TR_L_NS 'K_TR_L' 'A_TR_L' 'M_TR_L' - b_SYME_NON = BLOC(condition="SYME=='NON'", - fr="NON-SYMETRIQUE: Affectation de matrices de rigidité, de masse ou d'amortissement à des mailles ou noeuds", - CARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1,defaut="None", - into=("K_T_N", "K_T_L", "K_TR_N", "K_TR_L", - "M_T_N", "M_T_L", "M_TR_N", "M_TR_L", - "A_T_N", "A_T_L", "A_TR_N", "A_TR_L",),), - # Affection des caractéristiques de RIGIDITE/AMORTISSEMENT/MASSE : NON-SYMETRIQUE - b_MAK_T_N_NS = BLOC(condition = "((CARA=='K_T_N')or(CARA=='A_T_N')or(CARA=='M_T_N'))", - fr="NOEUD: 4 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=4 ,max=4 ),), - b_MAK_T_L_NS = BLOC(condition = "((CARA=='K_T_L')or(CARA=='A_T_L')or(CARA=='M_T_L'))", - fr="SEGMENT: 16 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=16,max=16),), - b_MAK_TR_N_NS = BLOC(condition = "((CARA=='K_TR_N')or(CARA=='A_TR_N')or(CARA=='M_TR_N'))", - fr="NOEUD: 9 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=9 ,max=9),), - b_MAK_TR_L_NS = BLOC(condition = "((CARA=='K_TR_L')or(CARA=='A_TR_L')or(CARA=='M_TR_L'))", - fr="SEGMENT: 36 valeurs (matrice pleine par colonne)", - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - VALE = SIMP(statut='o',typ='R',min=36,max=36),), - ), - ), -# ============================================================================ - ORIENTATION = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA','NOEUD','GROUP_NO' ),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - CARA = SIMP(statut='o',typ='TXM', - into=("VECT_Y","ANGL_VRIL","VECT_X_Y","ANGL_NAUT","GENE_TUYAU") ), - VALE = SIMP(statut='o',typ='R',max='**'), - PRECISION = SIMP(statut='f',typ='R',defaut= 1.0E-4 ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - -# ============================================================================ - DEFI_ARC = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'), - UN_PARMI('ORIE_ARC','CENTRE','NOEUD_CENTRE','GROUP_NO_CENTRE', - 'POIN_TANG','NOEUD_POIN_TANG','GROUP_NO_POIN_TG'), - PRESENT_PRESENT('ORIE_ARC','RAYON'), - EXCLUS('COEF_FLEX','COEF_FLEX_XY'), - EXCLUS('COEF_FLEX','COEF_FLEX_XZ'), - EXCLUS('INDI_SIGM','INDI_SIGM_XY'), - EXCLUS('INDI_SIGM','INDI_SIGM_XZ'), - PRESENT_PRESENT('COEF_FLEX_XY','COEF_FLEX_XZ'), - PRESENT_PRESENT('INDI_SIGM_XY','INDI_SIGM_XZ'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ORIE_ARC = SIMP(statut='f',typ='R'), - CENTRE = SIMP(statut='f',typ='R',max='**'), - NOEUD_CENTRE = SIMP(statut='f',typ=no), - GROUP_NO_CENTRE = SIMP(statut='f',typ=grno), - POIN_TANG = SIMP(statut='f',typ='R',max='**'), - NOEUD_POIN_TANG = SIMP(statut='f',typ=no), - GROUP_NO_POIN_TG = SIMP(statut='f',typ=grno), - RAYON = SIMP(statut='f',typ='R'), - COEF_FLEX = SIMP(statut='f',typ='R'), - INDI_SIGM = SIMP(statut='f',typ='R'), - COEF_FLEX_XY = SIMP(statut='f',typ='R'), - INDI_SIGM_XY = SIMP(statut='f',typ='R'), - COEF_FLEX_XZ = SIMP(statut='f',typ='R'), - INDI_SIGM_XZ = SIMP(statut='f',typ='R'), - PRECISION = SIMP(statut='f',typ='R',defaut= 1.0E-3), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - -#============================================================================ - MASSIF = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'), - UN_PARMI('ANGL_REP','ANGL_AXE','ANGL_EULER'), - EXCLUS('ANGL_REP','ANGL_EULER'), - EXCLUS('ANGL_REP','ANGL_AXE'), - EXCLUS('ANGL_REP','ORIG_AXE'), - PRESENT_PRESENT('ANGL_AXE','ORIG_AXE'), ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ANGL_REP = SIMP(statut='f',typ='R',max=3), - ANGL_EULER = SIMP(statut='f',typ='R',min=3,max=3), - ANGL_AXE = SIMP(statut='f',typ='R',max=2), - ORIG_AXE = SIMP(statut='f',typ='R',max=3), - ), - -# ============================================================================ - POUTRE_FLUI = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - B_T = SIMP(statut='o',typ='R'), - B_N = SIMP(statut='o',typ='R'), - B_TN = SIMP(statut='o',typ='R',defaut= 0.E+0 ), - A_FLUI = SIMP(statut='o',typ='R'), - A_CELL = SIMP(statut='o',typ='R'), - COEF_ECHELLE = SIMP(statut='o',typ='R'), - ), - -# ============================================================================ - GRILLE = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'), - EXCLUS('ANGL_REP','AXE'), - UN_PARMI('SECTION','SECTION_FO' ), - EXCLUS('EXCENTREMENT','EXCENTREMENT_FO'), ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SECTION = SIMP(statut='f',typ='R'), - SECTION_FO = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ANGL_REP = SIMP(statut='f',typ='R',max=2), - EXCENTREMENT = SIMP(statut='f',typ='R'), - EXCENTREMENT_FO = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - AXE = SIMP(statut='f',typ='R',max='**'), - COEF_RIGI_DRZ = SIMP(statut='f',typ='R',defaut= 1.0E-10 ), - ), - -# ============================================================================ - MEMBRANE = FACT(statut='f',max='**', - regles = (UN_PARMI('MAILLE','GROUP_MA'), - EXCLUS('ANGL_REP','AXE'), - ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ANGL_REP = SIMP(statut='f',typ='R',max=2), - AXE = SIMP(statut='f',typ='R',max='**'), - ), - -#============================================================================ - RIGI_PARASOL = FACT(statut='f',max='**', - regles = (UN_PARMI('COEF_GROUP','FONC_GROUP'), - UN_PARMI('COOR_CENTRE','NOEUD_CENTRE','GROUP_NO_CENTRE'), - EXCLUS('GROUP_MA_POI1','GROUP_MA_SEG2'),), - GROUP_MA = SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**', - fr="Surface servant à répartir les caractéristiques des discrets"), - GROUP_MA_POI1 = SIMP(statut='f',typ=grma,validators=NoRepeat(),max=1, - fr="Mailles de type point correspondant aux discrets"), - GROUP_MA_SEG2 = SIMP(statut='f',typ=grma,validators=NoRepeat(),max=1, - fr="Mailles de type seg2 correspondant aux discrets"), - FONC_GROUP = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_GROUP = SIMP(statut='f',typ='R',max='**'), - REPERE = SIMP(statut='f',typ='TXM',into=("LOCAL","GLOBAL") ), - CARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=2, - into=("K_TR_D_N","K_T_D_N","K_TR_D_L","K_T_D_L", - "A_TR_D_N","A_T_D_N","A_TR_D_L","A_T_D_L"), - fr="Choix des types de discrets du tapis de ressorts." ), - b_cara= BLOC(condition =""" au_moins_un(CARA, ["K_TR_D_N","K_T_D_N","K_TR_D_L","K_T_D_L", - "A_TR_D_N","A_T_D_N","A_TR_D_L","A_T_D_L"]) or \ - (len(CARA)==2 and CARA[0][2:]==CARA[1][2:])""", - fr="Valeurs pour les discrets du tapis de ressorts.", - VALE = SIMP(statut='o',typ='R',max='**', - fr="Valeurs pour les discrets du tapis de ressorts.",), - ), - GROUP_NO_CENTRE = SIMP(statut='f',typ=grno), - NOEUD_CENTRE = SIMP(statut='f',typ=no), - COOR_CENTRE = SIMP(statut='f',typ='R',min=2,max=3), - EUROPLEXUS = SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON"), - UNITE = SIMP(statut='f',typ='I',val_min=1), - ), - -#============================================================================ - RIGI_MISS_3D = FACT(statut='f',max='**', - GROUP_MA_POI1 = SIMP(statut='o',typ=grma,max=1), - GROUP_MA_SEG2 = SIMP(statut='f',typ=grma,max=1), - FREQ_EXTR = SIMP(statut='o',typ='R',max=1), - UNITE_RESU_IMPE = SIMP(statut='f',typ='I',defaut=30), - ), - -#============================================================================ - MASS_AJOU = FACT(statut='f',max='**', - GROUP_MA = SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**', - fr="Surface servant à répartir les caractéristiques des discrets"), - GROUP_MA_POI1 = SIMP(statut='o',typ=grma,validators=NoRepeat(),max=1, - fr="Mailles de type point correspondant aux discrets"), - FONC_GROUP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - -#============================================================================ - GEOM_FIBRE = SIMP(statut='f',max=1,typ=gfibre_sdaster, - fr="Donner le nom de la SD regroupant tous les groupes de fibres (issue de DEFI_GEOM_FIBRE)"), - - MULTIFIBRE = FACT(statut='f',max='**', - regles = (AU_MOINS_UN('GROUP_MA','MAILLE'),), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_FIBRE = SIMP(statut='o',typ='TXM',max='**'), - PREC_AIRE = SIMP(statut= 'f',typ= 'R',defaut= 0.01), - PREC_INERTIE = SIMP(statut= 'f',typ= 'R',defaut= 0.1), - ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# -AFFE_CHAR_ACOU=OPER(nom="AFFE_CHAR_ACOU",op= 68,sd_prod=char_acou, - fr="Affectation de charges et conditions aux limites acoustiques constantes", - reentrant='n', - UIinfo={"groupes":("Chargements","Acoustique",)}, - regles=(AU_MOINS_UN('PRES_IMPO','VITE_FACE','IMPE_FACE','LIAISON_UNIF' ),), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - METHODE =SIMP(statut='c',typ='TXM',fr="Stratégie de résolution pour les pressions imposées", - into=('DUALISATION',),defaut='DUALISATION',), - # METHODE='ELIMINATION' est traité dans le fortran mais dangereux actuellement - PRES_IMPO =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='o',typ='C' ), - ), - VITE_FACE =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - VNOR =SIMP(statut='o',typ='C' ), - ), - IMPE_FACE =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - IMPE =SIMP(statut='o',typ='C' ), - ), - LIAISON_UNIF =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE' ),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - DDL =SIMP(statut='o',typ='TXM',max='**'), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def affe_char_cine_prod(MECA_IMPO,THER_IMPO,ACOU_IMPO,EVOL_IMPO,**args): - if MECA_IMPO != None : return char_cine_meca - if THER_IMPO != None : return char_cine_ther - if ACOU_IMPO != None : return char_cine_acou - if EVOL_IMPO != None : - if AsType(EVOL_IMPO) in (evol_elas,evol_noli) : - return char_cine_meca - elif AsType(EVOL_IMPO) in (evol_ther,) : - return char_cine_ther - else : - raise AsException("Extension à faire ...") - - raise AsException("type de concept resultat non prevu") - - -AFFE_CHAR_CINE=OPER(nom="AFFE_CHAR_CINE",op= 101,sd_prod=affe_char_cine_prod - ,fr="Affectation de conditions aux limites cinématiques (U=U0) pour un traitement sans dualisation", - reentrant='n', - UIinfo={"groupes":("Chargements","Mécanique",)}, - regles=(UN_PARMI('MECA_IMPO','THER_IMPO','ACOU_IMPO','EVOL_IMPO'), - ), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - - MECA_IMPO =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF', - 'H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21', - 'PRES22','PRES23','PRES31','PRES32','PRES33','LH1','GLIS'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - DRX =SIMP(statut='f',typ='R' ), - DRY =SIMP(statut='f',typ='R' ), - DRZ =SIMP(statut='f',typ='R' ), - GRX =SIMP(statut='f',typ='R' ), - PRES =SIMP(statut='f',typ='R' ), - PHI =SIMP(statut='f',typ='R' ), - TEMP =SIMP(statut='f',typ='R' ), - PRE1 =SIMP(statut='f',typ='R' ), - PRE2 =SIMP(statut='f',typ='R' ), - UI2 =SIMP(statut='f',typ='R' ), - UI3 =SIMP(statut='f',typ='R' ), - UI4 =SIMP(statut='f',typ='R' ), - UI5 =SIMP(statut='f',typ='R' ), - UI6 =SIMP(statut='f',typ='R' ), - UO2 =SIMP(statut='f',typ='R' ), - UO3 =SIMP(statut='f',typ='R' ), - UO4 =SIMP(statut='f',typ='R' ), - UO5 =SIMP(statut='f',typ='R' ), - UO6 =SIMP(statut='f',typ='R' ), - VI2 =SIMP(statut='f',typ='R' ), - VI3 =SIMP(statut='f',typ='R' ), - VI4 =SIMP(statut='f',typ='R' ), - VI5 =SIMP(statut='f',typ='R' ), - VI6 =SIMP(statut='f',typ='R' ), - VO2 =SIMP(statut='f',typ='R' ), - VO3 =SIMP(statut='f',typ='R' ), - VO4 =SIMP(statut='f',typ='R' ), - VO5 =SIMP(statut='f',typ='R' ), - VO6 =SIMP(statut='f',typ='R' ), - WI2 =SIMP(statut='f',typ='R' ), - WI3 =SIMP(statut='f',typ='R' ), - WI4 =SIMP(statut='f',typ='R' ), - WI5 =SIMP(statut='f',typ='R' ), - WI6 =SIMP(statut='f',typ='R' ), - WO2 =SIMP(statut='f',typ='R' ), - WO3 =SIMP(statut='f',typ='R' ), - WO4 =SIMP(statut='f',typ='R' ), - WO5 =SIMP(statut='f',typ='R' ), - WO6 =SIMP(statut='f',typ='R' ), - WO =SIMP(statut='f',typ='R' ), - WI1 =SIMP(statut='f',typ='R' ), - WO1 =SIMP(statut='f',typ='R' ), - GONF =SIMP(statut='f',typ='R' ), - H1X =SIMP(statut='f',typ='R' ), - H1Y =SIMP(statut='f',typ='R' ), - H1Z =SIMP(statut='f',typ='R' ), - E1X =SIMP(statut='f',typ='R' ), - E1Y =SIMP(statut='f',typ='R' ), - E1Z =SIMP(statut='f',typ='R' ), - E2X =SIMP(statut='f',typ='R' ), - E2Y =SIMP(statut='f',typ='R' ), - E2Z =SIMP(statut='f',typ='R' ), - E3X =SIMP(statut='f',typ='R' ), - E3Y =SIMP(statut='f',typ='R' ), - E3Z =SIMP(statut='f',typ='R' ), - E4X =SIMP(statut='f',typ='R' ), - E4Y =SIMP(statut='f',typ='R' ), - E4Z =SIMP(statut='f',typ='R' ), - V11 =SIMP(statut='f',typ='R' ), - V12 =SIMP(statut='f',typ='R' ), - V13 =SIMP(statut='f',typ='R' ), - V21 =SIMP(statut='f',typ='R' ), - V22 =SIMP(statut='f',typ='R' ), - V23 =SIMP(statut='f',typ='R' ), - V31 =SIMP(statut='f',typ='R' ), - V32 =SIMP(statut='f',typ='R' ), - V33 =SIMP(statut='f',typ='R' ), - PRES11 =SIMP(statut='f',typ='R' ), - PRES12 =SIMP(statut='f',typ='R' ), - PRES13 =SIMP(statut='f',typ='R' ), - PRES21 =SIMP(statut='f',typ='R' ), - PRES22 =SIMP(statut='f',typ='R' ), - PRES23 =SIMP(statut='f',typ='R' ), - PRES31 =SIMP(statut='f',typ='R' ), - PRES32 =SIMP(statut='f',typ='R' ), - PRES33 =SIMP(statut='f',typ='R' ), - LH1 =SIMP(statut='f',typ='R' ), - GLIS =SIMP(statut='f',typ='R' ), - ), - - THER_IMPO =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('TEMP','TEMP_MIL','TEMP_INF','TEMP_SUP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TEMP =SIMP(statut='f',typ='R' ), - TEMP_MIL =SIMP(statut='f',typ='R' ), - TEMP_SUP =SIMP(statut='f',typ='R' ), - TEMP_INF =SIMP(statut='f',typ='R' ), - ), - - ACOU_IMPO =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='o',typ='C' ), - ), - - EVOL_IMPO =SIMP(statut='f',typ=(evol_noli,evol_elas,evol_ther),fr="Pour imposer les ddls d'un evol_xxx"), - b_evol_impo = BLOC ( condition = "EVOL_IMPO != None", - NOM_CMP =SIMP(statut='f',typ='TXM',max='**',), # pour n'imposer que certaines CMPS (par défaut : toutes) - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def affe_char_cine_f_prod(MECA_IMPO,THER_IMPO,**args): - if MECA_IMPO != None : return char_cine_meca - if THER_IMPO != None : return char_cine_ther - raise AsException("type de concept resultat non prevu") - -AFFE_CHAR_CINE_F=OPER(nom="AFFE_CHAR_CINE_F",op= 101,sd_prod=affe_char_cine_f_prod, - fr="Affectation de conditions aux limites cinématiques fonction d'un (ou plusieurs) paramètres" - +" pour un traitement sans dualisation", - reentrant='n', - UIinfo={"groupes":("Chargements","Mécanique",)}, - regles=(UN_PARMI('MECA_IMPO','THER_IMPO')), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - MECA_IMPO =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF', - 'H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21', - 'PRES22','PRES23','PRES31','PRES32','PRES33','LH1','GLIS'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - DX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PHI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRE1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRE2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UI2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UI3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UI4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UI5 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UI6 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UO2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UO3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UO4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UO5 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - UO6 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VI2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VI3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VI4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VI5 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VI6 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VO2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VO3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VO4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VO5 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VO6 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WI2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WI3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WI4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WI5 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WI6 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO5 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO6 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WI1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - WO1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GONF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - H1X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - H1Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - H1Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E1X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E1Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E1Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E2X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E2Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E2Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E3X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E3Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E3Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E4X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E4Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E4Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V11 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V12 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V13 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V21 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V22 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V23 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V31 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V32 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - V33 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES11=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES12=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES13=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES21=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES22=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES23=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES31=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES32=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES33=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - LH1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GLIS =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - - ), - THER_IMPO =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('TEMP','TEMP_MIL','TEMP_INF','TEMP_SUP' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_MIL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_SUP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_INF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -AFFE_CHAR_MECA=OPER(nom="AFFE_CHAR_MECA",op= 7,sd_prod=char_meca, - fr="Affectation de charges et conditions aux limites mécaniques constantes", - reentrant='n', - UIinfo={"groupes":("Chargements","Mécanique",)}, - regles=(AU_MOINS_UN('EVOL_CHAR','PESANTEUR','ROTATION','DDL_IMPO','DDL_POUTRE','FACE_IMPO', - 'CHAMNO_IMPO','ARETE_IMPO', - 'LIAISON_DDL','LIAISON_OBLIQUE','LIAISON_GROUP','LIAISON_MAIL', - 'LIAISON_CYCL','LIAISON_SOLIDE','LIAISON_ELEM','LIAISON_UNIF', - 'LIAISON_CHAMNO','LIAISON_RBE3','LIAISON_INTERF', - 'VECT_ASSE', - 'FORCE_NODALE','FORCE_FACE','FORCE_ARETE','FORCE_CONTOUR','FORCE_INTERNE', - 'PRE_SIGM','PRES_REP','EFFE_FOND','PRE_EPSI','FORCE_POUTRE','FORCE_TUYAU', - 'FORCE_COQUE','LIAISON_COQUE','RELA_CINE_BP','FORCE_ELEC','INTE_ELEC', - 'IMPE_FACE','VITE_FACE','ONDE_FLUI','FLUX_THM_REP','FORCE_SOL',), - ), - VERI_NORM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - EVOL_CHAR =SIMP(statut='f',fr="Champ de pression issu d'un autre calcul", - typ=evol_char ), - - PESANTEUR =FACT(statut='f',max=1,fr="Champ de pesanteur", - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GRAVITE =SIMP(statut='o',typ='R',min=1,max=1), - DIRECTION =SIMP(statut='o',typ='R',min=3,max=3),), - - METHODE =SIMP(statut='c',typ='TXM',fr="Stratégie de résolution pour les déplacements imposés", - into=('DUALISATION',),defaut='DUALISATION',), - # METHODE='ELIMINATION' est traité dans le fortran mais dangereux actuellement - - ROTATION =FACT(statut='f', max=1, - fr="Définition d'un chargement de rotation", - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(), max='**'), - MAILLE =SIMP(statut='f',typ=ma, validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - VITESSE =SIMP(statut='o', typ='R',min=1,max=1), - AXE =SIMP(statut='o', typ='R',min=2, max=3), - CENTRE =SIMP(statut='f',typ='R',min=2, max=3), - b_rotation_tout=BLOC(condition="(GROUP_MA == None) and (MAILLE ==None)", - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",),),), - - DDL_IMPO =FACT(statut='f',max='**', - fr="Impose à des noeuds une ou plusieurs valeurs de déplacement (ou de certaines grandeurs asscociées)", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON', - 'H1X','H1Y','H1Z','H2X','H2Y','H2Z','H3X','H3Y','H3Z','H4X','H4Y','H4Z', - 'E1X','E1Y','E1Z','E2X','E2Y','E2Z','E3X','E3Y','E3Z','E4X','E4Y','E4Z', - 'LAGS_C','LAGS_F1','LAGS_F2','LAG2_C','LAG2_F1','LAG2_F2','LAG3_C','LAG3_F1', - 'V11','V12','V13','V21','V22','V23','V31','V32','V33', - 'PRES11','PRES12','PRES13','PRES21','PRES22','PRES23','PRES31','PRES32','PRES33','LH1','GLIS'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - LIAISON =SIMP(statut='f',typ='TXM',into=('ENCASTRE',)), - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - DRX =SIMP(statut='f',typ='R' ), - DRY =SIMP(statut='f',typ='R' ), - DRZ =SIMP(statut='f',typ='R' ), - GRX =SIMP(statut='f',typ='R' ), - PRES =SIMP(statut='f',typ='R' ), - PHI =SIMP(statut='f',typ='R' ), - TEMP =SIMP(statut='f',typ='R' ), - PRE1 =SIMP(statut='f',typ='R' ), - PRE2 =SIMP(statut='f',typ='R' ), - UI2 =SIMP(statut='f',typ='R' ), - UI3 =SIMP(statut='f',typ='R' ), - UI4 =SIMP(statut='f',typ='R' ), - UI5 =SIMP(statut='f',typ='R' ), - UI6 =SIMP(statut='f',typ='R' ), - UO2 =SIMP(statut='f',typ='R' ), - UO3 =SIMP(statut='f',typ='R' ), - UO4 =SIMP(statut='f',typ='R' ), - UO5 =SIMP(statut='f',typ='R' ), - UO6 =SIMP(statut='f',typ='R' ), - VI2 =SIMP(statut='f',typ='R' ), - VI3 =SIMP(statut='f',typ='R' ), - VI4 =SIMP(statut='f',typ='R' ), - VI5 =SIMP(statut='f',typ='R' ), - VI6 =SIMP(statut='f',typ='R' ), - VO2 =SIMP(statut='f',typ='R' ), - VO3 =SIMP(statut='f',typ='R' ), - VO4 =SIMP(statut='f',typ='R' ), - VO5 =SIMP(statut='f',typ='R' ), - VO6 =SIMP(statut='f',typ='R' ), - WI2 =SIMP(statut='f',typ='R' ), - WI3 =SIMP(statut='f',typ='R' ), - WI4 =SIMP(statut='f',typ='R' ), - WI5 =SIMP(statut='f',typ='R' ), - WI6 =SIMP(statut='f',typ='R' ), - WO2 =SIMP(statut='f',typ='R' ), - WO3 =SIMP(statut='f',typ='R' ), - WO4 =SIMP(statut='f',typ='R' ), - WO5 =SIMP(statut='f',typ='R' ), - WO6 =SIMP(statut='f',typ='R' ), - WO =SIMP(statut='f',typ='R' ), - WI1 =SIMP(statut='f',typ='R' ), - WO1 =SIMP(statut='f',typ='R' ), - GONF =SIMP(statut='f',typ='R' ), - H1X =SIMP(statut='f',typ='R' ), - H1Y =SIMP(statut='f',typ='R' ), - H1Z =SIMP(statut='f',typ='R' ), - H2X =SIMP(statut='f',typ='R' ), - H2Y =SIMP(statut='f',typ='R' ), - H2Z =SIMP(statut='f',typ='R' ), - H3X =SIMP(statut='f',typ='R' ), - H3Y =SIMP(statut='f',typ='R' ), - H3Z =SIMP(statut='f',typ='R' ), - H4X =SIMP(statut='f',typ='R' ), - H4Y =SIMP(statut='f',typ='R' ), - H4Z =SIMP(statut='f',typ='R' ), - E1X =SIMP(statut='f',typ='R' ), - E1Y =SIMP(statut='f',typ='R' ), - E1Z =SIMP(statut='f',typ='R' ), - E2X =SIMP(statut='f',typ='R' ), - E2Y =SIMP(statut='f',typ='R' ), - E2Z =SIMP(statut='f',typ='R' ), - E3X =SIMP(statut='f',typ='R' ), - E3Y =SIMP(statut='f',typ='R' ), - E3Z =SIMP(statut='f',typ='R' ), - E4X =SIMP(statut='f',typ='R' ), - E4Y =SIMP(statut='f',typ='R' ), - E4Z =SIMP(statut='f',typ='R' ), - LAGS_C =SIMP(statut='f',typ='R' ), - LAGS_F1 =SIMP(statut='f',typ='R' ), - LAGS_F2 =SIMP(statut='f',typ='R' ), - LAG2_C =SIMP(statut='f',typ='R' ), - LAG2_F1 =SIMP(statut='f',typ='R' ), - LAG2_F2 =SIMP(statut='f',typ='R' ), - LAG3_C =SIMP(statut='f',typ='R' ), - LAG3_F1 =SIMP(statut='f',typ='R' ), - V11 =SIMP(statut='f',typ='R' ), - V12 =SIMP(statut='f',typ='R' ), - V13 =SIMP(statut='f',typ='R' ), - V21 =SIMP(statut='f',typ='R' ), - V22 =SIMP(statut='f',typ='R' ), - V23 =SIMP(statut='f',typ='R' ), - V31 =SIMP(statut='f',typ='R' ), - V32 =SIMP(statut='f',typ='R' ), - V33 =SIMP(statut='f',typ='R' ), - PRES11 =SIMP(statut='f',typ='R' ), - PRES12 =SIMP(statut='f',typ='R' ), - PRES13 =SIMP(statut='f',typ='R' ), - PRES21 =SIMP(statut='f',typ='R' ), - PRES22 =SIMP(statut='f',typ='R' ), - PRES23 =SIMP(statut='f',typ='R' ), - PRES31 =SIMP(statut='f',typ='R' ), - PRES32 =SIMP(statut='f',typ='R' ), - PRES33 =SIMP(statut='f',typ='R' ), - LH1 =SIMP(statut='f',typ='R' ), - GLIS =SIMP(statut='f',typ='R' ), - ), - - - - DDL_POUTRE =FACT(statut='f',max='**', - fr="Bloque des DDLs dans un repère local d'une poutre", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ'), - UN_PARMI('VECT_Y','ANGL_VRIL'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - DRX =SIMP(statut='f',typ='R' ), - DRY =SIMP(statut='f',typ='R' ), - DRZ =SIMP(statut='f',typ='R' ), -# définition du repère local - VECT_Y =SIMP(statut='f',typ='R',min=3,max=3), - ANGL_VRIL =SIMP(statut='f',typ='R',), -# restriction sur les mailles servant à définir le repère local - GROUP_MA_REPE =SIMP(statut='f',typ=grma,), - MAILLE_REPE =SIMP(statut='f',typ=ma,), - ), - - - - FACE_IMPO =FACT(statut='f',max='**', - fr="Impose à tous les noeuds d'une face une ou plusieurs valeurs de déplacement (ou de certaines grandeurs associées)", - regles=(UN_PARMI('GROUP_MA','MAILLE',), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','DNOR','DTAN'), - EXCLUS('DNOR','DX'), - EXCLUS('DNOR','DY'), - EXCLUS('DNOR','DZ'), - EXCLUS('DNOR','DRX'), - EXCLUS('DNOR','DRY'), - EXCLUS('DNOR','DRZ'), - EXCLUS('DTAN','DX'), - EXCLUS('DTAN','DY'), - EXCLUS('DTAN','DZ'), - EXCLUS('DTAN','DRX'), - EXCLUS('DTAN','DRY'), - EXCLUS('DTAN','DRZ'),), -# rajout d'un mot clé REPERE :/ LOCAL /GLOBAL - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - DRX =SIMP(statut='f',typ='R' ), - DRY =SIMP(statut='f',typ='R' ), - DRZ =SIMP(statut='f',typ='R' ), - DNOR =SIMP(statut='f',typ='R' ), - DTAN =SIMP(statut='f',typ='R' ), - GRX =SIMP(statut='f',typ='R' ), - PRES =SIMP(statut='f',typ='R' ), - PHI =SIMP(statut='f',typ='R' ), - TEMP =SIMP(statut='f',typ='R' ), - PRE1 =SIMP(statut='f',typ='R' ), - PRE2 =SIMP(statut='f',typ='R' ), - ), - - CHAMNO_IMPO =FACT(statut='f',max='**', - fr="Impose des DDLs aux valeurs d'un concept cham_no_sdaster", -# type de cham_no_sdaster CO() - CHAM_NO =SIMP(statut='o',typ=cham_no_sdaster), #CO() - COEF_MULT =SIMP(statut='o',typ='R' ), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - ARETE_IMPO =FACT(statut='f',max='**', - fr="Impose à tous les noeuds d'une arete des elements 3D une ou plusieurs valeurs de déplacement", - regles=(UN_PARMI('GROUP_MA','MAILLE',), - AU_MOINS_UN('DX','DY','DZ','DTAN','PRES','PHI','TEMP','PRE1','PRE2'), - EXCLUS('DTAN','DX'), - EXCLUS('DTAN','DY'), - EXCLUS('DTAN','DZ'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - DTAN =SIMP(statut='f',typ='R' ), - PRE1 =SIMP(statut='f',typ='R' ), - PRE2 =SIMP(statut='f',typ='R' ), - PRES =SIMP(statut='f',typ='R' ), - PHI =SIMP(statut='f',typ='R' ), - TEMP =SIMP(statut='f',typ='R' ), - ), - - LIAISON_DDL =FACT(statut='f',max='**', - fr="Définit une relation linéaire entre des DDLs de deux ou plusieurs noeuds", - regles=(UN_PARMI('GROUP_NO','NOEUD'),), - GROUP_NO =SIMP(statut='f',typ=grno ,max='**'), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - DDL =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT =SIMP(statut='o',typ='R' ,max='**'), - COEF_IMPO =SIMP(statut='o',typ='R' ), - ), - - LIAISON_OBLIQUE =FACT(statut='f',max='**', - fr="Applique à des noeuds la meme valeur de déplacement définie composante par composante" - +" dans un repère oblique quelconque", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ANGL_NAUT =SIMP(statut='o',typ='R',max=3), - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - DRX =SIMP(statut='f',typ='R' ), - DRY =SIMP(statut='f',typ='R' ), - DRZ =SIMP(statut='f',typ='R' ), - ), - - LIAISON_GROUP =FACT(statut='f',max='**', - fr="Définit la meme relation linéaire entre certains DDLs de couples de noeuds", - regles=(UN_PARMI('GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - UN_PARMI('GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'), - EXCLUS('GROUP_MA_1','GROUP_NO_2'), - EXCLUS('GROUP_MA_1','NOEUD_2'), - EXCLUS('GROUP_NO_1','GROUP_MA_2'), - EXCLUS('GROUP_NO_1','MAILLE_2'), - EXCLUS('MAILLE_1','GROUP_NO_2'), - EXCLUS('MAILLE_1','NOEUD_2'), - EXCLUS('NOEUD_1','GROUP_MA_2'), - EXCLUS('NOEUD_1','MAILLE_2'), - EXCLUS('SANS_NOEUD','SANS_GROUP_NO'),), - - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - DDL_1 =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT_1 =SIMP(statut='o',typ='R' ,max='**'), - DDL_2 =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT_2 =SIMP(statut='o',typ='R' ,max='**'), - COEF_IMPO =SIMP(statut='o',typ='R' ), - SOMMET =SIMP(statut='f',typ='TXM',into=("OUI",) ), - TRAN =SIMP(statut='f',typ='R',max=3), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - CENTRE =SIMP(statut='f',typ='R',max=3), - ), - - LIAISON_MAIL =FACT(statut='f',max='**', - fr="Définit des relations linéaires permettant de recoller deux bords d'une structure", - regles=(AU_MOINS_UN('GROUP_MA_MAIT','MAILLE_MAIT'), - AU_MOINS_UN('GROUP_MA_ESCL','MAILLE_ESCL','GROUP_NO_ESCL','NOEUD_ESCL')), - GROUP_MA_MAIT =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_ESCL =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_ESCL =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_ESCL =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_ESCL =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - TYPE_RACCORD =SIMP(statut='o',typ='TXM',defaut="MASSIF",into=("MASSIF","COQUE","COQUE_MASSIF","MASSIF_COQUE",)), - - b_MASSIF =BLOC ( condition = "TYPE_RACCORD == 'MASSIF'", - regles=( PRESENT_PRESENT('DDL_MAIT','DDL_ESCL'),), - TRAN =SIMP(statut='f',typ='R',max=3 ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3 ), - CENTRE =SIMP(statut='f',typ='R',max=3 ), - DDL_MAIT =SIMP(statut='f',typ='TXM',into=("DNOR",) ), - DDL_ESCL =SIMP(statut='f',typ='TXM',into=("DNOR",) ), - ), - b_COQUE_MASSIF =BLOC ( condition = "TYPE_RACCORD == 'COQUE_MASSIF'", - EPAIS =SIMP(statut='o',typ='R'), - CHAM_NORMALE =SIMP(statut='o',typ=cham_no_sdaster), - ), - ELIM_MULT =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - - LIAISON_CYCL =FACT(statut='f',max='**', - fr="Définit des relations linéaires permettant de recoller les bords de deux parties symétriquement cycliques", - regles=(AU_MOINS_UN('GROUP_MA_MAIT1','MAILLE_MAIT1'), - AU_MOINS_UN('GROUP_MA_ESCL','MAILLE_ESCL','GROUP_NO_ESCL','NOEUD_ESCL'), - PRESENT_PRESENT('DDL_MAIT','DDL_ESCL'), - ), - GROUP_MA_MAIT1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_MAIT2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_ESCL =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_ESCL =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_ESCL =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_ESCL =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TRAN =SIMP(statut='f',typ='R',max=3 ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3 ), - CENTRE =SIMP(statut='f',typ='R',max=3 ), - COEF_MAIT1 =SIMP(statut='f',typ='R',max=1 ), - COEF_MAIT2 =SIMP(statut='f',typ='R',max=1 ), - COEF_ESCL =SIMP(statut='f',typ='R',max=1 ), - DDL_MAIT =SIMP(statut='f',typ='TXM',into=("DNOR",) ), - DDL_ESCL =SIMP(statut='f',typ='TXM',into=("DNOR",) ), - ), - - - LIAISON_SOLIDE =FACT(statut='f',max='**', - fr="Modélise une partie indéformable d'une structure." - +" Le mot clé TRAN permettent d'imposer le déplacement de la partie indéformable.", - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - TRAN =SIMP(statut='f',typ='R',max=3 ), - DIST_MIN =SIMP(statut='f',typ='R'), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - LIAISON_ELEM =FACT(statut='f',max='**', - fr="Modélise le raccord : d'une partie massive 3D avec une poutre ou avec un tuyau, d'une coque" - +" avec une poutre ou avec un tuyau, d'une plaque avec une poutre", - regles =(UN_PARMI('GROUP_MA_1','MAILLE_1'), UN_PARMI('GROUP_NO_2','NOEUD_2'),), - OPTION =SIMP(statut='o',typ='TXM',into=("3D_TUYAU","3D_POU","2D_POU","COQ_POU","COQ_TUYAU","PLAQ_POUT_ORTH") ), - - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - b_plaq_pout_orth =BLOC( condition = "OPTION == 'PLAQ_POUT_ORTH'", - VERIF_EXCENT =SIMP(statut='o',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - - b_cara_pout =BLOC( condition = "OPTION == 'COQ_POU' or OPTION == '3D_TUYAU' or OPTION == 'COQ_TUYAU'", - CARA_ELEM =SIMP(statut='o',typ=(cara_elem) ), - AXE_POUTRE =SIMP(statut='o',typ='R',max=3), - ), - - - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ANGL_MAX =SIMP(statut='f',typ='R',defaut= 1. ), - - ), - - LIAISON_UNIF =FACT(statut='f',max='**', - fr="Impose une meme valeur (inconnue) à des DDLs d'un ensemble de noeuds", - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - DDL =SIMP(statut='o',typ='TXM',max='**'), - ), - - LIAISON_CHAMNO =FACT(statut='f',max='**', - fr="Définit une relation linéaire entre tous les DDLs présents dans un concept CHAM_NO", -# type de cham_no_sdaster CO() - CHAM_NO =SIMP(statut='o',typ=cham_no_sdaster), #CO() - COEF_IMPO =SIMP(statut='o',typ='R' ), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - LIAISON_RBE3 =FACT(statut='f',max='**', - fr="""Modélise des relations linéaires de type RBE3 entre - les degrés de liberté d'un noeud maître et des noeuds esclaves.""", - regles =(UN_PARMI('GROUP_NO_MAIT','NOEUD_MAIT'), UN_PARMI('GROUP_NO_ESCL','NOEUD_ESCL'),), - GROUP_NO_MAIT =SIMP(statut='f',typ=grno,max=1), - NOEUD_MAIT =SIMP(statut='f',typ=no ,max=1), - DDL_MAIT =SIMP(statut='o',typ='TXM',validators=NoRepeat(),min=1,max=6,into=('DX','DY','DZ','DRX','DRY','DRZ')), - GROUP_NO_ESCL =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_ESCL =SIMP(statut='f',typ=no ,validators=NoRepeat(),min=1,max='**'), - DDL_ESCL =SIMP(statut='o',typ='TXM',min=1,max='**'), - COEF_ESCL =SIMP(statut='f',typ='R',min=1,max='**'), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - LIAISON_INTERF =FACT(statut='f',max='**', - fr="Définit une relation linéaire entre les DDLs d'interface à partir d'un MACRELEM", - MACR_ELEM_DYNA =SIMP(statut='o',typ=macr_elem_dyna), - TYPE_LIAISON =SIMP(statut='f',typ='TXM',defaut="RIGIDE",into=("RIGIDE","SOUPLE") ), - ), - -# SIMP(statut='f',typ='TXM',defaut="NON" ), - - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster ), -# -# FORCES -# - FORCE_NODALE =FACT(statut='f',fr="Applique à des noeuds des forces nodales",max='**', - regles=(AU_MOINS_UN('GROUP_NO','NOEUD'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ' ),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - MX =SIMP(statut='f',typ='R' ), - MY =SIMP(statut='f',typ='R' ), - MZ =SIMP(statut='f',typ='R' ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - ), - - FORCE_FACE =FACT(statut='f',max='**', - fr="Applique des forces surfaciques sur une face d'élément volumique", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - ), - - FORCE_ARETE =FACT(statut='f',max='**', - fr="Applique des forces linéiques à une arete d'élément volumique ou de coque", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE',), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ' ),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - MX =SIMP(statut='f',typ='R' ), - MY =SIMP(statut='f',typ='R' ), - MZ =SIMP(statut='f',typ='R' ), - ), - - FORCE_CONTOUR =FACT(statut='f',max='**', - fr="Applique des forces linéiques au bord d'un domaine 2D ou AXIS ou AXIS_FOURIER", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - MX =SIMP(statut='f',typ='R' ), - MY =SIMP(statut='f',typ='R' ), - MZ =SIMP(statut='f',typ='R' ), - ), - - FORCE_INTERNE =FACT(statut='f',max='**', - fr="Applique des forces volumiques (2D ou 3D) à un domaine volumique", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - ), - - PRE_SIGM =FACT(statut='f',max='**', - fr="Applique des contraintes volumiques (2D ou 3D) à un domaine volumique", - #INST =SIMP(statut='f',typ='R' ), - SIGM =SIMP(statut='o',typ=(cham_elem,carte_sdaster)), - ), - - PRES_REP =FACT(statut='f',max='**', - fr="Applique une pression à un domaine de milieu continu 2D ou 3D, ou à un domaine de coques et tuyaux", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','FISSURE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE','FISSURE'), - AU_MOINS_UN('PRES','CISA_2D' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FISSURE =SIMP(statut='f',typ=fiss_xfem,min=1,max=100,), - PRES =SIMP(statut='f',typ='R' ), - CISA_2D =SIMP(statut='f',typ='R' ), - ), - - EFFE_FOND =FACT(statut='f',max='**', - fr="Calcul l'effet de fond sur une branche de tuyauterie (modélisation 3D) soumise à une pression", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'),), - GROUP_MA_INT =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='o',typ='R' ), - ), - - PRE_EPSI =FACT(statut='f',max='**', - fr="Applique un chargement de déformation initiale à un élément 2D, 3D ou de structure", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('EPXX','EPYY','EPZZ','EPXY','EPXZ','EPYZ','EPX', - 'KY','KZ','EXX','EYY','EXY','KXX','KYY','KXY'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - EPXX =SIMP(statut='f',typ='R' ), - EPYY =SIMP(statut='f',typ='R' ), - EPZZ =SIMP(statut='f',typ='R' ), - EPXY =SIMP(statut='f',typ='R' ), - EPXZ =SIMP(statut='f',typ='R' ), - EPYZ =SIMP(statut='f',typ='R' ), - EPX =SIMP(statut='f',typ='R' ), - KY =SIMP(statut='f',typ='R' ), - KZ =SIMP(statut='f',typ='R' ), - EXX =SIMP(statut='f',typ='R' ), - EYY =SIMP(statut='f',typ='R' ), - EXY =SIMP(statut='f',typ='R' ), - KXX =SIMP(statut='f',typ='R' ), - KYY =SIMP(statut='f',typ='R' ), - KXY =SIMP(statut='f',typ='R' ), - ), - - FORCE_POUTRE =FACT(statut='f',max='**', - fr="Applique des forces linéiques sur des éléments de type poutre", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FORCE",into=("VENT","FORCE",) ), -# rajour d'un mot clé REPERE :/ LOCAL /GLOBAL - b_force = BLOC(condition = "TYPE_CHARGE == 'FORCE'", - regles=( - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('FX','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('FY','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('FZ','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('MX','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('MY','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('MZ','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('N','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('VY','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('VZ','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MT','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MFY','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MFZ','FX','FY','FZ','MX','MY','MZ'),), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - MX =SIMP(statut='f',typ='R' ), - MY =SIMP(statut='f',typ='R' ), - MZ =SIMP(statut='f',typ='R' ), - N =SIMP(statut='f',typ='R' ), - VY =SIMP(statut='f',typ='R' ), - VZ =SIMP(statut='f',typ='R' ), - MT =SIMP(statut='f',typ='R' ), - MFY =SIMP(statut='f',typ='R' ), - MFZ =SIMP(statut='f',typ='R' ), - ), - b_vent = BLOC(condition = "TYPE_CHARGE == 'VENT'", - regles=( - AU_MOINS_UN('FX','FY','FZ','N','VY','VZ',), - PRESENT_ABSENT('FX','N','VY','VZ',), - PRESENT_ABSENT('FY','N','VY','VZ',), - PRESENT_ABSENT('FZ','N','VY','VZ',), - PRESENT_ABSENT('N','FX','FY','FZ',), - PRESENT_ABSENT('VY','FX','FY','FZ',), - PRESENT_ABSENT('VZ','FX','FY','FZ',),), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - ), - - FORCE_TUYAU =FACT(statut='f',max='**', - fr="Applique une pression sur des éléments TUYAU", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='f',typ='R' ), - ), - - FORCE_COQUE =FACT(statut='f',max='**', - fr="Applique des forces surfaciques sur des éléments de types coques", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('FX','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('FY','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('FZ','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('MX','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('MY','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('MZ','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('F1','FX','FY','FZ','MX','MY','MZ','PRES'), - PRESENT_ABSENT('F2','FX','FY','FZ','MX','MY','MZ','PRES'), - PRESENT_ABSENT('F3','FX','FY','FZ','MX','MY','MZ','PRES'), - PRESENT_ABSENT('MF1','FX','FY','FZ','MX','MY','MZ','PRES'), - PRESENT_ABSENT('MF2','FX','FY','FZ','MX','MY','MZ','PRES'), - PRESENT_ABSENT('PRES','FX','FY','FZ','MX','MY','MZ','F1','F2','F3','MF1','MF2'),), -# rajour d'un mot clé REPERE :/ LOCAL /GLOBAL - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - MX =SIMP(statut='f',typ='R' ), - MY =SIMP(statut='f',typ='R' ), - MZ =SIMP(statut='f',typ='R' ), - - F1 =SIMP(statut='f',typ='R' ), - F2 =SIMP(statut='f',typ='R' ), - F3 =SIMP(statut='f',typ='R' ), - MF1 =SIMP(statut='f',typ='R' ), - MF2 =SIMP(statut='f',typ='R' ), - - PRES =SIMP(statut='f',typ='R' ), - PLAN =SIMP(statut='f',typ='TXM',defaut="MAIL",into=("SUP","INF","MOY","MAIL",) ), - ), - - LIAISON_COQUE =FACT(statut='f',max='**', - fr="Permet de représenter le raccord entre des éléments de coques au moyen des relations linéaires", - regles=(AU_MOINS_UN('GROUP_MA_1','MAILLE_1','GROUP_MA_2','MAILLE_2', - 'GROUP_NO_1','NOEUD_1','GROUP_NO_2','NOEUD_2',),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - RELA_CINE_BP =FACT(statut='f',max='**', - fr="Etablir des relations cinématiques permettant de relier les noeuds cable aux noeuds du béton, et spécifier" - +" la prise en compte des contraintes initiales dans les cables", - CABLE_BP =SIMP(statut='o',typ=cabl_precont ), - SIGM_BPEL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - RELA_CINE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - DIST_MIN =SIMP(statut='f',typ='R'), - ), - - FORCE_ELEC =FACT(statut='f',max='**', - fr="Appliquer la force de LAPLACE agissant sur un conducteur principal, due à la présence d'un conducteur" - +" secondaire droit", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - POSITION =SIMP(statut='f',typ='TXM',fr="Direction prédéfinie",into=("PARA","INFI","FINI",) ), - b_fxyz =BLOC ( condition = "POSITION == None", - FX =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FY =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FZ =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - - b_para =BLOC ( condition = "POSITION == 'PARA'", - regles=(UN_PARMI('TRANS','DIST'),), - TRANS =SIMP(statut='f',typ='R',max=3), - DIST =SIMP(statut='f',typ='R' ), - b_point2 =BLOC ( condition = "DIST != None", - POINT2 =SIMP(statut='o',typ='R',max=3), - ), - ), - b_fini_infi =BLOC ( condition = "(POSITION == 'FINI') or (POSITION == 'INFI')", - POINT1 =SIMP(statut='o',typ='R',max=3), - POINT2 =SIMP(statut='o',typ='R',max=3), - ), - ), - - - - - INTE_ELEC =FACT(statut='f',max='**', - fr="Appliquer la force de LAPLACE agissant sur un conducteur principal, due à la présence d'un conducteur" - +" secondaire non nécessairement droit", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('GROUP_MA_2','MAILLE_2','TRANS','SYME'), - EXCLUS('TRANS','SYME'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - TRANS =SIMP(statut='f',typ='R' ,max='**'), - SYME =SIMP(statut='f',typ='R' ,max='**'), - ), - - - IMPE_FACE =FACT(statut='f',fr="Applique une impédance acoustique à une face",max='**', - regles=(AU_MOINS_UN('GROUP_MA','MAILLE' ),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - IMPE =SIMP(statut='o',typ='R' ), - ), - - VITE_FACE =FACT(statut='f',fr="Impose des vitesses normales à une face (phénomène ACOUSTIQUE), ",max='**', - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - VNOR =SIMP(statut='o',typ='R' ), - ), - - - - ONDE_FLUI =FACT(statut='f',max='**', - fr="Applique une amplitude de pression d'onde incidente sinusoidale arrivant normalement à une face", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='o',typ='R' ), - ), - - FLUX_THM_REP =FACT(statut='f',max='**', - fr="Applique à un domaine de milieu continu 2D ou 3D un flux de chaleur et/ou un apport de masse fluide" - +" (flux hydraulique)", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FLUN','FLUN_HYDR1','FLUN_HYDR2'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUN =SIMP(statut='f',typ='R' ), - FLUN_HYDR1 =SIMP(statut='f',typ='R' ), - FLUN_HYDR2 =SIMP(statut='f',typ='R' ), - ), - FORCE_SOL =FACT(statut='f',max=1, - fr="Définition des impédances et forces de sol temporelles", - regles=(UN_PARMI('GROUP_NO_INTERF','SUPER_MAILLE'), - AU_MOINS_UN('UNITE_RESU_MASS','UNITE_RESU_RIGI','UNITE_RESU_AMOR'),), - GROUP_NO_INTERF =SIMP(statut='f',typ=grno,), - SUPER_MAILLE =SIMP(statut='f',typ=ma,), - UNITE_RESU_MASS =SIMP(statut='f',typ='I', ), - UNITE_RESU_RIGI =SIMP(statut='f',typ='I', ), - UNITE_RESU_AMOR =SIMP(statut='f',typ='I', ), - UNITE_RESU_FORC =SIMP(statut='f',typ='I', ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -AFFE_CHAR_MECA_C=OPER(nom="AFFE_CHAR_MECA_C",op= 7,sd_prod=char_meca, - fr="Affectation de charges et conditions aux limites mécaniques complexes", - reentrant='n', - UIinfo={"groupes":("Chargements","Mécanique",)}, - regles=(AU_MOINS_UN('DDL_IMPO','FORCE_POUTRE','LIAISON_DDL', ),), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - METHODE =SIMP(statut='c',typ='TXM',fr="Stratégie de résolution pour les déplacements imposés", - into=('DUALISATION',),defaut='DUALISATION',), - # METHODE='ELIMINATION' est traité dans le fortran mais dangereux actuellement - DDL_IMPO =FACT(statut='f',max='**', - fr="Impose à des noeuds une ou plusieurs valeurs de déplacement (ou de certaines grandeurs asscociées)", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD',), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI','LIAISON','GLIS' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - LIAISON =SIMP(statut='f',typ='TXM',into=('ENCASTRE',)), - DX =SIMP(statut='f',typ='C' ), - DY =SIMP(statut='f',typ='C' ), - DZ =SIMP(statut='f',typ='C' ), - DRX =SIMP(statut='f',typ='C' ), - DRY =SIMP(statut='f',typ='C' ), - DRZ =SIMP(statut='f',typ='C' ), - GRX =SIMP(statut='f',typ='C' ), - PRES =SIMP(statut='f',typ='C' ), - PHI =SIMP(statut='f',typ='C' ), - GLIS =SIMP(statut='f',typ='C' ), - ), - FORCE_POUTRE =FACT(statut='f',max='**', - fr="Applique des forces linéiques sur des éléments de type poutre", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ','N','VY','VZ',), - PRESENT_ABSENT('FX','N','VY','VZ',), - PRESENT_ABSENT('FY','N','VY','VZ',), - PRESENT_ABSENT('FZ','N','VY','VZ',), - PRESENT_ABSENT('N','FX','FY','FZ',), - PRESENT_ABSENT('VY', 'FX','FY','FZ',), - PRESENT_ABSENT('VZ','FX','FY','FZ', ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FORCE",into=("VENT","FORCE") ), - FX =SIMP(statut='f',typ='C' ), - FY =SIMP(statut='f',typ='C' ), - FZ =SIMP(statut='f',typ='C' ), - N =SIMP(statut='f',typ='C' ), - VY =SIMP(statut='f',typ='C' ), - VZ =SIMP(statut='f',typ='C' ), - ), - LIAISON_DDL =FACT(statut='f',max='**', - fr="Définit une relation linéaire entre les DDLs de deux ou plusieurs noeuds", - regles=(UN_PARMI('GROUP_NO','NOEUD', ),), - GROUP_NO =SIMP(statut='f',typ=grno,max='**'), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - DDL =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT =SIMP(statut='o',typ='R' ,max='**'), - COEF_IMPO =SIMP(statut='o',typ='C' ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -AFFE_CHAR_MECA_F=OPER(nom="AFFE_CHAR_MECA_F",op=7,sd_prod=char_meca, - fr="Affectation de charges et conditions aux limites mécaniques fonction d'un (ou plusieurs) paramètres", - reentrant='n', - UIinfo={"groupes":("Chargements","Mécanique",)}, - regles=(AU_MOINS_UN('DDL_IMPO','FACE_IMPO','LIAISON_DDL','FORCE_NODALE', - 'FORCE_FACE','FORCE_ARETE','FORCE_CONTOUR','FORCE_INTERNE', - 'PRES_REP','FORCE_POUTRE','VITE_FACE','IMPE_FACE','ONDE_PLANE', - 'LIAISON_OBLIQUE','PRE_EPSI','LIAISON_GROUP','LIAISON_UNIF', - 'LIAISON_SOLIDE','FORCE_COQUE','LIAISON_COQUE','FORCE_TUYAU', - 'EFFE_FOND','FLUX_THM_REP',),), - VERI_NORM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - MODELE =SIMP(statut='o',typ=modele_sdaster), - METHODE =SIMP(statut='c',typ='TXM',fr="Stratégie de résolution pour les déplacements imposés", - into=('DUALISATION',),defaut='DUALISATION',), - # METHODE='ELIMINATION' est traité dans le fortran mais dangereux actuellement - - DDL_IMPO =FACT(statut='f',max='**', - fr="Impose à des noeuds une ou plusieurs valeurs de déplacement (ou de certaines grandeurs asscociées) fournies" - +" par l'intermédiaire d'un concept fonction ", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','GONF','LIAISON','H1X', - 'H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','GLIS'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - LIAISON =SIMP(statut='f',typ='TXM',into=('ENCASTRE',)), - DX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PHI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRE1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRE2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GONF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - H1X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - H1Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - H1Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E1X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E1Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E1Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E2X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E2Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E2Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E3X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E3Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E3Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E4X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E4Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - E4Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - LAGS_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GLIS =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - FACE_IMPO =FACT(statut='f',max='**', - fr="Impose à tous les noeuds d'une face une ou plusieurs valeurs de déplacement (ou de certaines grandeurs associées)" - +" fournies par l'intérmédiaire d'un concept fonction", - regles=(UN_PARMI('GROUP_MA','MAILLE'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI','TEMP','PRE1','PRE2','DNOR','DTAN'), - EXCLUS('DNOR','DX'), - EXCLUS('DNOR','DY'), - EXCLUS('DNOR','DZ'), - EXCLUS('DNOR','DRX'), - EXCLUS('DNOR','DRY'), - EXCLUS('DNOR','DRZ'), - EXCLUS('DTAN','DX'), - EXCLUS('DTAN','DY'), - EXCLUS('DTAN','DZ'), - EXCLUS('DTAN','DRX'), - EXCLUS('DTAN','DRY'), - EXCLUS('DTAN','DRZ'),), -# rajout d un mot cle REPERE : / GLOBAL / LOCAL - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - DX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - GRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PHI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRE1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRE2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DNOR =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DTAN =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - LIAISON_DDL =FACT(statut='f',max='**', - fr="Définit une relation linéaire entre des DDLs de deux ou plusieurs noeuds, les valeurs sont fournies par" - +" l'intermediaire d'un concept de type fonction", - regles=(UN_PARMI('GROUP_NO','NOEUD'),UN_PARMI('COEF_MULT','COEF_MULT_FONC'),), - GROUP_NO =SIMP(statut='f',typ=grno,max='**'), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - DDL =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT =SIMP(statut='f',typ='R',max='**'), - COEF_MULT_FONC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),max='**'), - COEF_IMPO =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - LIAISON_OBLIQUE =FACT(statut='f',max='**', - fr="Applique à des noeuds la meme valeur de déplacement définie composante par composante dans un repère oblique" - +" quelconque, les valeurs sont fournis par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('DX','DY','DZ','DRX','DRY','DRZ'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ANGL_NAUT =SIMP(statut='o',typ='R',max=3), - DX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DRZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - LIAISON_GROUP =FACT(statut='f',max='**', - fr="Définit la meme relation linéaire entre certains DDLs de couples de noeuds, les valeurs sont fournies par" - +" l'intermédiaire de concept fonction", - regles=(UN_PARMI('GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - UN_PARMI('GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'), - EXCLUS('GROUP_MA_1','GROUP_NO_2'), - EXCLUS('GROUP_MA_1','NOEUD_2'), - EXCLUS('GROUP_NO_1','GROUP_MA_2'), - EXCLUS('GROUP_NO_1','MAILLE_2'), - EXCLUS('MAILLE_1','GROUP_NO_2'), - EXCLUS('MAILLE_1','NOEUD_2'), - EXCLUS('NOEUD_1','GROUP_MA_2'), - EXCLUS('NOEUD_1','MAILLE_2'), - EXCLUS('SANS_NOEUD','SANS_GROUP_NO'),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - DDL_1 =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT_1 =SIMP(statut='o',typ='R',max='**'), - DDL_2 =SIMP(statut='o',typ='TXM',max='**'), - COEF_MULT_2 =SIMP(statut='o',typ='R',max='**'), - COEF_IMPO =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SOMMET =SIMP(statut='f',typ='TXM',into=("OUI",) ), - TRAN =SIMP(statut='f',typ='R',max=3), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - CENTRE =SIMP(statut='f',typ='R',max=3), - ), - - LIAISON_UNIF =FACT(statut='f',max='**', - fr="Impose une meme valeur (inconnue) à des DDLs d'un ensemble de noeuds", - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - DDL =SIMP(statut='o',typ='TXM',max='**'), - ), - - - LIAISON_SOLIDE =FACT(statut='f',max='**', - fr="Modélise une partie indéformable d'une structure." - +" Le mot clé TRAN permettent d'imposer le déplacement de la partie indéformable.", - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - TRAN =SIMP(statut='f',typ='R',max=3 ), - DIST_MIN =SIMP(statut='f',typ='R'), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - - - FORCE_NODALE =FACT(statut='f',max='**', - fr="Applique à des noeuds des forces nodales dont les valeurs des composantes sont fournies par l'intermédiaire" - +" d'un concept fonction", - regles=(UN_PARMI('GROUP_NO','NOEUD'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ANGL_NAUT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),max=3 ), - ), - - FORCE_FACE =FACT(statut='f',max='**', - fr="Applique des forces surfaciques sur une face d'élément volumique dont les valeurs des composantes sont fournies" - +" par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - FORCE_ARETE =FACT(statut='f',max='**', - fr="Applique des forces linéiques à une arete d'élément volumique ou de coque dont les valeurs des composantes sont" - +" fournies par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - FORCE_CONTOUR =FACT(statut='f',max='**', - fr="Applique des forces linéiques au bord d'un domaine 2D ou AXIS ou AXIS_FOURIER, dont les valeurs des composantes" - +" sont fournies par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - FORCE_INTERNE =FACT(statut='f',max='**', - fr="Applique des forces volumiques (2D ou 3D) à un domaine volumique, dont les valeurs des composantes sont fournies" - +" par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - PRES_REP =FACT(statut='f',max='**', - fr="Applique une pression à un domaine de milieu continu 2D ou 3D ou à un domaine de coques et tuyaux, dont les" - +" valeurs imposées (pression et/ou cisaillement) sont fournies par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','FISSURE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE','FISSURE'), - AU_MOINS_UN('PRES','CISA_2D'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FISSURE =SIMP(statut='f',typ=fiss_xfem,min=1,max=100,), - PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - CISA_2D =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - EFFE_FOND =FACT(statut='f',max='**', - fr="Calcul l'effet de fond sur une branche de tuyauterie (modélisation 3D) soumise" - +" à une pression dont la valeur est fournie par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'),), - GROUP_MA_INT =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - PRE_EPSI =FACT(statut='f',max='**', - fr="Applique un chargement de déformation initiale à un élément 2D, 3D ou de structure dont les composantes" - +" du tenseur de déformation sont fournies par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('EPXX','EPYY','EPZZ','EPXY','EPXZ','EPYZ'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - EPXX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPZZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - FORCE_POUTRE =FACT(statut='f',max='**', - fr="Applique des forces linéiques sur des éléments de type poutre dont les valeurs sont fournies par" - +" l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - - ), -# rajout d un mot cle REPERE : / GLOBAL / LOCAL - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FORCE",into=("VENT","FORCE") ), - # moment interdit avec VENT - b_force = BLOC(condition = "TYPE_CHARGE == 'FORCE'", - regles=( - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('FX','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('FY','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('FZ','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('MX','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('MY','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('MZ','N','VY','VZ','MT','MFY','MFZ'), - PRESENT_ABSENT('N','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('VY','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('VZ','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MT','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MFY','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MFZ','FX','FY','FZ','MX','MY','MZ'),), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MFY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MFZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - b_vent = BLOC(condition = "TYPE_CHARGE == 'VENT'", - regles=( - AU_MOINS_UN('FX','FY','FZ','N','VY','VZ',), - PRESENT_ABSENT('FX','N','VY','VZ',), - PRESENT_ABSENT('FY','N','VY','VZ',), - PRESENT_ABSENT('FZ','N','VY','VZ',), - PRESENT_ABSENT('N','FX','FY','FZ',), - PRESENT_ABSENT('VY','FX','FY','FZ',), - PRESENT_ABSENT('VZ','FX','FY','FZ',),), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - ), - - FORCE_TUYAU =FACT(statut='f',max='**', - fr="Applique une pression sur des éléments TUYAU, la valeur est fournie par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - FORCE_COQUE =FACT(statut='f',max='**', - fr="Applique des forces surfaciques sur des éléments de types coques dont les valeurs sont fournies par" - +" l'intermédiaires d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('FX','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('FY','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('FZ','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('MX','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('MY','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('MZ','PRES','F1','F2','F3','MF1','MF2'), - PRESENT_ABSENT('F1','PRES','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('F2','PRES','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('F3','PRES','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MF1','PRES','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('MF2','PRES','FX','FY','FZ','MX','MY','MZ'), - PRESENT_ABSENT('PRES','FX','FY','FZ','MX','MY','MZ','F1','F2','F3','MF1','MF2'),), -# rajout d un mot cle REPERE : / GLOBAL / LOCAL - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MF1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MF2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PLAN =SIMP(statut='f',typ='TXM',defaut="MAIL", - into=("SUP","INF","MOY","MAIL") ), - ), - - LIAISON_COQUE =FACT(statut='f',max='**', - fr="Permet de représenter le raccord entre des éléments de coques au moyen des relations linéaires", - regles=(AU_MOINS_UN('GROUP_MA_1','MAILLE_1','GROUP_MA_2','MAILLE_2', - 'GROUP_NO_1','NOEUD_1','GROUP_NO_2','NOEUD_2',),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES",) ), - ), - - - VITE_FACE =FACT(statut='f',max='**', - fr="Impose des vitesses normales à une face (phénomène ACOUSTIQUE) dont les valeurs sont fournies par" - +" l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - PRESENT_ABSENT('GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - VNOR =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - IMPE_FACE =FACT(statut='f',max='**', - fr="Applique à une face une impédance acoustique dont la valeur est fournie par l'intermédiaire" - +" d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - PRESENT_ABSENT('GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - IMPE =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - ONDE_PLANE =FACT(statut='f',max=1, - fr="Impose un chargement sismique par onde plane dont la valeur est fournie par l'intermédiaire" - +" d'un concept fonction", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE'), - PRESENT_ABSENT('GROUP_MA','MAILLE'),), - DIRECTION =SIMP(statut='o',typ='R',min=3, max=3), - TYPE_ONDE =SIMP(statut='o',typ='TXM', into=("S", "P", "SV", "SH",) ), - FONC_SIGNAL =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - - - - FLUX_THM_REP =FACT(statut='f',max='**', - fr="Applique à un domaine continue 2D ou 3D un flux de chaleur et/ou un apport de masse fluide (flux hydraulique)" - +" dont les valeurs des flux sont fournies par l'intermédiaire d'un concept fonction", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FLUN','FLUN_HYDR1','FLUN_HYDR2'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUN =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUN_HYDR1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUN_HYDR2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -AFFE_CHAR_THER=OPER(nom="AFFE_CHAR_THER",op=34,sd_prod=char_ther - ,fr="Affectation de charges et conditions aux limites thermiques constantes", - reentrant='n', - UIinfo={"groupes":("Chargements","Thermique",)}, - regles=(AU_MOINS_UN('TEMP_IMPO','SOURCE','FLUX_REP','ECHANGE', - 'ECHANGE_PAROI','PRE_GRAD_TEMP','LIAISON_DDL','LIAISON_GROUP', - 'LIAISON_UNIF','LIAISON_CHAMNO','RAYONNEMENT','LIAISON_MAIL' ),), - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - METHODE =SIMP(statut='c',typ='TXM',fr="Stratégie de résolution pour les températures imposées", - into=('DUALISATION',),defaut='DUALISATION',), - # METHODE='ELIMINATION' est traité dans le fortran mais dangereux actuellement - - TEMP_IMPO =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('TEMP','TEMP_MIL','TEMP_SUP','TEMP_INF'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TEMP =SIMP(statut='f',typ='R'), - TEMP_MIL =SIMP(statut='f',typ='R'), - TEMP_INF =SIMP(statut='f',typ='R'), - TEMP_SUP =SIMP(statut='f',typ='R'), ), - - FLUX_REP =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - PRESENT_PRESENT('CARA_TORSION','GROUP_MA'), - AU_MOINS_UN('FLUN','FLUN_INF','FLUN_SUP','CARA_TORSION') ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUN =SIMP(statut='f',typ='R'), - FLUN_INF =SIMP(statut='f',typ='R'), - FLUN_SUP =SIMP(statut='f',typ='R'), - CARA_TORSION =SIMP(statut='f',typ=table_sdaster), - ), - - - RAYONNEMENT =FACT(statut='f',max='**', - fr="Attention, exprimer les températures en Celsius si rayonnement", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SIGMA =SIMP(statut='o',typ='R'), - EPSILON =SIMP(statut='o',typ='R'), - TEMP_EXT =SIMP(statut='o',typ='R'), - ), - - ECHANGE =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('COEF_H','COEF_H_INF','COEF_H_SUP'), - ENSEMBLE('COEF_H','TEMP_EXT',), - ENSEMBLE('COEF_H_INF','TEMP_EXT_INF'), - ENSEMBLE('COEF_H_SUP','TEMP_EXT_SUP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - COEF_H =SIMP(statut='f',typ='R'), - TEMP_EXT =SIMP(statut='f',typ='R'), - COEF_H_INF =SIMP(statut='f',typ='R'), - TEMP_EXT_INF =SIMP(statut='f',typ='R'), - COEF_H_SUP =SIMP(statut='f',typ='R'), - TEMP_EXT_SUP =SIMP(statut='f',typ='R'), - ), - - SOURCE =FACT(statut='f',max='**', - regles=(UN_PARMI('SOUR','SOUR_CALCULEE',), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('SOUR_CALCULEE','TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SOUR =SIMP(statut='f',typ='R'), - SOUR_CALCULEE =SIMP(statut='f',typ=(cham_elem) ), - ), - - PRE_GRAD_TEMP =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FLUX_X','FLUX_Y','FLUX_Z'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUX_X =SIMP(statut='f',typ='R' ), - FLUX_Y =SIMP(statut='f',typ='R' ), - FLUX_Z =SIMP(statut='f',typ='R' ), - ), - - LIAISON_DDL =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_NO','NOEUD', ),), - GROUP_NO =SIMP(statut='f',typ=grno,max='**'), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - DDL =SIMP(statut='f',typ='TXM',max='**', - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - COEF_MULT =SIMP(statut='o',typ='R',max='**'), - COEF_IMPO =SIMP(statut='o',typ='R' ), - ), - - LIAISON_GROUP =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - UN_PARMI('GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'), - EXCLUS('GROUP_MA_1','GROUP_NO_2'), - EXCLUS('GROUP_MA_1','NOEUD_2'), - EXCLUS('GROUP_NO_1','GROUP_MA_2'), - EXCLUS('GROUP_NO_1','MAILLE_2'), - EXCLUS('MAILLE_1','GROUP_NO_2'), - EXCLUS('MAILLE_1','NOEUD_2'), - EXCLUS('NOEUD_1','GROUP_MA_2'), - EXCLUS('NOEUD_1','MAILLE_2'), - EXCLUS('SANS_NOEUD','SANS_GROUP_NO'),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - DDL_1 =SIMP(statut='f',typ='TXM',max='**',defaut="TEMP", - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - COEF_MULT_1 =SIMP(statut='o',typ='R',max='**'), - DDL_2 =SIMP(statut='f',typ='TXM',max='**',defaut="TEMP", - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP",) ), - COEF_MULT_2 =SIMP(statut='o',typ='R',max='**'), - COEF_IMPO =SIMP(statut='o',typ='R' ), - SOMMET =SIMP(statut='f',typ='TXM',into=("OUI",) ), - TRAN =SIMP(statut='f',typ='R',max='**'), - ANGL_NAUT =SIMP(statut='f',typ='R',max='**'), - CENTRE =SIMP(statut='f',typ='R',max='**'), - ), - - LIAISON_MAIL =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('GROUP_MA_MAIT','MAILLE_MAIT'), - AU_MOINS_UN('GROUP_MA_ESCL','MAILLE_ESCL','GROUP_NO_ESCL', - 'NOEUD_ESCL'),), - GROUP_MA_MAIT =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_ESCL =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_ESCL =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_ESCL =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_ESCL =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TRAN =SIMP(statut='f',typ='R',max='**' ), - ANGL_NAUT =SIMP(statut='f',typ='R',max='**' ), - CENTRE =SIMP(statut='f',typ='R',max='**' ), - ELIM_MULT =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - - ECHANGE_PAROI =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_MA_1','MAILLE_1','FISSURE'), - UN_PARMI('GROUP_MA_2','MAILLE_2','FISSURE'),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FISSURE =SIMP(statut='f',typ=fiss_xfem,validators=NoRepeat(),min=1,max=100,), -# ---------------------- - b_paroi_maillee =BLOC( - condition = "FISSURE == None", - COEF_H =SIMP(statut='o',typ='R'), - TRAN =SIMP(statut='f',typ='R',min=2,max=3), - ), -# ---------------------- - b_xfem =BLOC( - condition = "FISSURE != None", - regles =(UN_PARMI('COEF_H','TEMP_CONTINUE'),), - COEF_H =SIMP(statut='f',typ='R'), - TEMP_CONTINUE =SIMP(statut='f',typ='TXM',into=("OUI",)), - ), - ), - - LIAISON_UNIF =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - DDL =SIMP(statut='f',typ='TXM',max='**',defaut="TEMP", - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - ), - - LIAISON_CHAMNO =FACT(statut='f',max='**', - CHAM_NO =SIMP(statut='o',typ=cham_no_sdaster),# CO()# "il faut definir une structure de donnee generique chamno" - COEF_IMPO =SIMP(statut='o',typ='R' ), - NUME_LAGR =SIMP(statut='f',typ='TXM',defaut="NORMAL",into=("NORMAL","APRES") ), - ), - - CONVECTION =FACT(statut='f',max='**', - VITESSE =SIMP(statut='o',typ=(cham_no_sdaster) ), - ), - - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -AFFE_CHAR_THER_F=OPER(nom="AFFE_CHAR_THER_F",op=34,sd_prod=char_ther, - fr="Affectation de charges et conditions aux limites thermiques fonction d'un (ou plusieurs)" - +" paramètres (temps, ...)", - reentrant='n', - UIinfo={"groupes":("Chargements","Thermique",)}, - regles=(AU_MOINS_UN('TEMP_IMPO','SOURCE','SOUR_NL','FLUX_REP','FLUX_NL','ECHANGE', - 'ECHANGE_PAROI','LIAISON_DDL','LIAISON_GROUP','LIAISON_UNIF', - 'PRE_GRAD_TEMP','RAYONNEMENT'),), - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - - TEMP_IMPO =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'), - AU_MOINS_UN('TEMP','TEMP_MIL','TEMP_SUP','TEMP_INF'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_MIL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_INF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_SUP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - FLUX_REP =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FLUN','FLUN_INF','FLUN_SUP','FLUX_X','FLUX_Y','FLUX_Z'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUN =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUN_INF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUN_SUP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUX_X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUX_Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUX_Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - FLUX_NL =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - - RAYONNEMENT =FACT(statut='f',max='**', - fr="Attention, exprimer les températures en Celsius si rayonnement", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SIGMA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPSILON =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_EXT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - - - ECHANGE =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('COEF_H','COEF_H_INF','COEF_H_SUP'), - ENSEMBLE('COEF_H','TEMP_EXT'), - ENSEMBLE('COEF_H_INF','TEMP_EXT_INF'), - ENSEMBLE('COEF_H_SUP','TEMP_EXT_SUP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - COEF_H =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_EXT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_H_INF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_EXT_INF =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_H_SUP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_EXT_SUP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - - SOURCE =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SOUR =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - SOUR_NL =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SOUR =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - PRE_GRAD_TEMP =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('FLUX_X','FLUX_Y','FLUX_Z'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FLUX_X =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUX_Y =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FLUX_Z =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - ECHANGE_PAROI =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_MA_1','MAILLE_1','FISSURE'), - UN_PARMI('GROUP_MA_2','MAILLE_2','FISSURE'),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - FISSURE =SIMP(statut='f',typ=fiss_xfem,validators=NoRepeat(),min=1,max=100,), -# ---------------------- - b_paroi_maillee =BLOC( - condition = "FISSURE == None", - COEF_H =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - TRAN =SIMP(statut='f',typ='R',min=2,max=3), - ), -# ---------------------- - b_xfem =BLOC( - condition = "FISSURE != None", - regles =(UN_PARMI('COEF_H','TEMP_CONTINUE'),), - COEF_H =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TEMP_CONTINUE =SIMP(statut='f',typ='TXM',into=("OUI",)), - ), - ), - - LIAISON_DDL =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_NO','NOEUD'),), - GROUP_NO =SIMP(statut='f',typ=grno,max='**'), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - DDL =SIMP(statut='f',typ='TXM',max='**',into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - COEF_MULT =SIMP(statut='o',typ='R',max='**'), - COEF_IMPO =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - LIAISON_GROUP =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - UN_PARMI('GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'), - EXCLUS('GROUP_MA_1','GROUP_NO_2'), - EXCLUS('GROUP_MA_1','NOEUD_2'), - EXCLUS('GROUP_NO_1','GROUP_MA_2'), - EXCLUS('GROUP_NO_1','MAILLE_2'), - EXCLUS('MAILLE_1','GROUP_NO_2'), - EXCLUS('MAILLE_1','NOEUD_2'), - EXCLUS('NOEUD_1','GROUP_MA_2'), - EXCLUS('NOEUD_1','MAILLE_2'), - EXCLUS('SANS_NOEUD','SANS_GROUP_NO'),), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - DDL_1 =SIMP(statut='f',typ='TXM',max='**',defaut="TEMP", - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - COEF_MULT_1 =SIMP(statut='o',typ='R',max='**'), - DDL_2 =SIMP(statut='f',typ='TXM',max='**',defaut="TEMP", - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - COEF_MULT_2 =SIMP(statut='o',typ='R',max='**'), - COEF_IMPO =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SOMMET =SIMP(statut='f',typ='TXM',into=("OUI",) ), - TRAN =SIMP(statut='f',typ='R',max='**'), - ANGL_NAUT =SIMP(statut='f',typ='R',max='**'), - CENTRE =SIMP(statut='f',typ='R',max='**'), - ), - - LIAISON_UNIF =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - DDL =SIMP(statut='f',typ='TXM',defaut="TEMP", - into=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP") ), - ), - - CONVECTION =FACT(statut='f',max='**', - VITESSE =SIMP(statut='o',typ=cham_no_sdaster ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -AFFE_MATERIAU=OPER(nom="AFFE_MATERIAU",op=6,sd_prod=cham_mater, - fr="Affecter des matériaux à des zones géométriques d'un maillage", - reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - MODELE =SIMP(statut='f',typ=modele_sdaster), - - # affectation du nom du matériau (par mailles): - # ---------------------------------------------- - AFFE =FACT(statut='o',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - MATER =SIMP(statut='o',typ=mater_sdaster,max=30), - ), - - # affectation de comportement (multifibres pour l'instant): - # ---------------------------------------------- - AFFE_COMPOR =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - COMPOR =SIMP(statut='o',typ=compor_sdaster,max=1), - ), - - # affectation des variables de commande : - # -------------------------------------------------- - # un mot clé caché qui ne sert qu'à boucler sur les VARC possibles : - LIST_NOM_VARC =SIMP(statut='c',typ='TXM', defaut=("TEMP","GEOM","CORR","IRRA","HYDR","SECH","EPSA", - "M_ACIER","M_ZIRC","NEUT1","NEUT2","PTOT","DIVU",)), - - AFFE_VARC =FACT(statut='f',max='**', - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - PRESENT_ABSENT('GROUP_MA','TOUT'), - PRESENT_ABSENT('MAILLE','TOUT'), - # La règle suivante permet de donner VALE_REF sans donner EVOL ni CHAM_GD - # Elle est nécessaire pour la THM (voir doc U4.43.03) - # Mais on ne peut plus l'écrire depuis de VALE_REF est dans un bloc - # AU_MOINS_UN('EVOL','CHAM_GD','VALE_REF'), - EXCLUS('EVOL','CHAM_GD'), - ), - - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), # [défaut] - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - NOM_VARC =SIMP(statut='o',typ='TXM', into=("TEMP","GEOM","CORR","IRRA","HYDR","SECH","EPSA", - "M_ACIER","M_ZIRC","NEUT1","NEUT2","PTOT","DIVU",)), - CHAM_GD =SIMP(statut='f',typ=cham_gd_sdaster,), - EVOL =SIMP(statut='f',typ=evol_sdaster,), - - B_EVOL =BLOC(condition="EVOL!=None", - NOM_CHAM =SIMP(statut='f',typ='TXM',into=("TEMP","CORR","IRRA","NEUT","GEOM", - "HYDR_ELNO","HYDR_NOEU", - "META_ELNO","META_NOEU", - "EPSA_ELNO","EPSA_NOEU","PTOT","DIVU",)), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - FONC_INST =SIMP(statut='f',typ=(fonction_sdaster,formule)), - ), - - # VALE_REF est nécessaire pour certaines VARC : - B_VALE_REF =BLOC(condition="NOM_VARC in ('TEMP','SECH')", - VALE_REF =SIMP(statut='o',typ='R'), - ), - - ), - - # mots clés cachés pour les variables de commande NEUT1/NEUT2 : - # -------------------------------------------------------------- - VARC_NEUT1 =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="NEUT1"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="NEUT_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("X1")), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("NEUT1")), - ), - VARC_NEUT2 =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="NEUT2"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="NEUT_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("X1")), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("NEUT2")), - ), - - # mots clés cachés pour variable de commande TEMP : - # -------------------------------------------------- - VARC_TEMP =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="TEMP"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="TEMP_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=4,min=4,defaut=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=4,min=4,defaut=("TEMP","TEMP_MIL","TEMP_INF","TEMP_SUP",)), - ), - - # mots clés cachés pour variable de commande GEOM : - # -------------------------------------------------- - VARC_GEOM =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="GEOM"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="GEOM_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=3,min=3,defaut=("X","Y","Z",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=3,min=3,defaut=("X","Y","Z",)), - ), - - # mots clés cachés pour variable de commande PTOT : - # ------------------------------------------------- - VARC_PTOT =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="PTOT"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="DEPL_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("PTOT",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("PTOT",)), - ), - - # mots clés cachés pour variable de commande SECH : - # -------------------------------------------------- - VARC_SECH =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="SECH"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="TEMP_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("TEMP",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("SECH",)), - ), - - # mots clés cachés pour variable de commande HYDR : - # -------------------------------------------------- - VARC_HYDR =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="HYDR"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="HYDR_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("HYDR",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("HYDR",)), - ), - - # mots clés cachés pour variable de commande CORR : - # -------------------------------------------------- - VARC_CORR =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="CORR"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="CORR_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("CORR",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("CORR",)), - ), - - # mots clés cachés pour variable de commande IRRA : - # -------------------------------------------------- - VARC_IRRA =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="IRRA"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="IRRA_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("IRRA",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("IRRA",)), - ), - - # mots clés cachés pour variable de commande DIVU : - # -------------------------------------------------- - VARC_DIVU =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="DIVU"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="EPSI_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("DIVU",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=1,min=1,defaut=("DIVU",)), - ), - - # mots clés cachés pour variable de commande EPSA : - # -------------------------------------------------- - VARC_EPSA =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="EPSA"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="EPSI_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=6,min=6,defaut=("EPXX","EPYY","EPZZ","EPXY","EPXZ","EPYZ",)), - CMP_VARC =SIMP(statut='c',typ='TXM',max=6,min=6,defaut=("EPSAXX","EPSAYY","EPSAZZ","EPSAXY","EPSAXZ","EPSAYZ",)), - ), - # mots clés cachés pour variable de commande metallurgique ACIER : - # ----------------------------------------------------------------- - VARC_M_ACIER =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="M_ACIER"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="VARI_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=7,min=7,defaut=("V1","V2","V3","V4","V5","V6","V7")), - CMP_VARC =SIMP(statut='c',typ='TXM',max=7,min=7,defaut=("PFERRITE","PPERLITE","PBAINITE", - "PMARTENS","TAUSTE","TRANSF","TACIER",)), - ), - # mots clés cachés pour variable de commande metallurgique ZIRCALOY : - # -------------------------------------------------------------------- - VARC_M_ZIRC =FACT(statut='d', - NOM_VARC =SIMP(statut='c',typ='TXM',defaut="M_ZIRC"), - GRANDEUR =SIMP(statut='c',typ='TXM',defaut="VARI_R"), - CMP_GD =SIMP(statut='c',typ='TXM',max=4,min=4,defaut=("V1","V2","V3","V4")), - CMP_VARC =SIMP(statut='c',typ='TXM',max=4,min=4,defaut=("ALPHPUR","ALPHBETA","TZIRC","TEMPS")), - ), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -AFFE_MODELE=OPER(nom="AFFE_MODELE",op=18,sd_prod=modele_sdaster, - UIinfo={"groupes":("Modélisation",)}, - fr="Définir le phénomène physique modélisé et le type d'éléments finis sur le maillage",reentrant='n', - regles=(AU_MOINS_UN('AFFE','AFFE_SOUS_STRUC'),UN_PARMI('MAILLAGE','GRILLE')), - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster), - GRILLE =SIMP(statut='f',typ=grille_sdaster), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - VERIF =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=2,into=("MAILLE","NOEUD") ), -# -#==== -# Définition des grandeurs caractéristiques -#==== -# - GRANDEUR_CARA =FACT(statut='f',max=1, - fr="Grandeurs caractéristiques pour l'adimensionnement des indicateurs d'erreur HM", - ang="Characteristic data for HM error estimators adimensionalisation", -# - LONGUEUR =SIMP(statut='f',typ='R',val_min=0, - fr ="Longueur caractéristique", - ang="Characteristic length",), - PRESSION =SIMP(statut='f',typ='R',val_min=0, - fr ="Pression caractéristique", - ang="Characteristic pressure",), - TEMPERATURE =SIMP(statut='f',typ='R',val_min=0, - fr ="Température caractéristique", - ang="Characteristic temperature",),), -# - AFFE_SOUS_STRUC =FACT(statut='f', - regles=(UN_PARMI('TOUT','SUPER_MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - SUPER_MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - PHENOMENE =SIMP(statut='f',typ='TXM',defaut="MECANIQUE",into=("MECANIQUE",) ), - ), - AFFE =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','GROUP_NO','MAILLE','NOEUD'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - PHENOMENE =SIMP(statut='o',typ='TXM', - into=("MECANIQUE","THERMIQUE","ACOUSTIQUE") ), - b_mecanique =BLOC( condition = "PHENOMENE=='MECANIQUE'", - fr="modélisations mécaniques", - MODELISATION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=( - "2D_DIS_T", # RESP. : FLEJOU J.L.FLEJOU - "2D_DIS_TR", # RESP. : FLEJOU J.L.FLEJOU - "2D_FLUI_ABSO", # RESP. : DEVESA G.DEVESA - "2D_FLUI_PESA", # RESP. : GREFFET N.GREFFET - "2D_FLUI_STRU", # RESP. : GREFFET N.GREFFET - "2D_FLUIDE", # RESP. : GREFFET N.GREFFET - "3D", # RESP. : DESROCHES X.DESROCHES - "3D_ABSO", # RESP. : DEVESA G.DEVESA - "3D_FAISCEAU", # RESP. : VOLDOIRE F.VOLDOIRE - "3D_FLUI_ABSO", # RESP. : DEVESA G.DEVESA - "3D_FLUIDE", # RESP. : GREFFET N.GREFFET - "3D_INCO", # RESP. : SFAYOLLE S.FAYOLLE - "3D_INCO_UP", # RESP. : SFAYOLLE S.FAYOLLE - "3D_INCO_OSGS", # RESP. : SFAYOLLE S.FAYOLLE - "3D_INCO_GD", # RESP. : SFAYOLLE S.FAYOLLE - "3D_INCO_LOG", # RESP. : SFAYOLLE S.FAYOLLE - "3D_INCO_LUP", # RESP. : SFAYOLLE S.FAYOLLE - "3D_SI", # RESP. : DESROCHES X.DESROCHES - "3D_GRAD_EPSI", # RESP. : MICHEL S.MICHEL - "3D_GRAD_VARI", # RESP. : MICHEL S.MICHEL - "3D_GVNO", # RESP. : BEAURAIN J.BEAURAIN - "3D_JOINT", # RESP. : LAVERNE J.LAVERNE - "3D_JOINT_HYME", # RESP. : LAVERNE J.LAVERNE - "3D_INTERFACE", # RESP. : LAVERNE J.LAVERNE - "3D_INTERFACE_S", # RESP. : LAVERNE J.LAVERNE - "AXIS", # RESP. : LEFEBVRE J.P.LEFEBVRE - "AXIS_FLUI_STRU", # RESP. : GREFFET N.GREFFET - "AXIS_FLUIDE", # RESP. : GREFFET N.GREFFET - "AXIS_FOURIER", # RESP. : DESROCHES X.DESROCHES - "AXIS_INCO", # RESP. : SFAYOLLE S.FAYOLLE - "AXIS_INCO_UP", # RESP. : SFAYOLLE S.FAYOLLE - "AXIS_INCO_OSGS", # RESP. : SFAYOLLE S.FAYOLLE - "AXIS_INCO_GD", # RESP. : SFAYOLLE S.FAYOLLE - "AXIS_INCO_LOG", # RESP. : SFAYOLLE S.FAYOLLE - "AXIS_INCO_LUP", # RESP. : SFAYOLLE S.FAYOLLE - "AXIS_SI", # RESP. : DESROCHES X.DESROCHES - "AXIS_GRAD_VARI", # RESP. : MICHEL S.MICHEL - "AXIS_GVNO", # RESP. : BEAURAIN J.BEAURAIN - "AXIS_JOINT", # RESP. : LAVERNE J.LAVERNE - "AXIS_INTERFACE", # RESP. : LAVERNE J.LAVERNE - "AXIS_INTERFACE_S",# RESP. : LAVERNE J.LAVERNE - "AXIS_ELDI", # RESP. : LAVERNE J.LAVERNE - "BARRE", # RESP. : FLEJOU J.L.FLEJOU - "CABLE_GAINE", # RESP. : - "2D_BARRE", # RESP. : FLEJOU J.L.FLEJOU - "C_PLAN", # RESP. : LEFEBVRE J.P.LEFEBVRE - "C_PLAN_SI", # RESP. : DESROCHES X.DESROCHES - "C_PLAN_GRAD_EPSI",# RESP. : MICHEL S.MICHEL - "CABLE", # RESP. : FLEJOU J.L.FLEJOU - "CABLE_POULIE", # RESP. : None - "COQUE_3D", # RESP. : DESROCHES X.DESROCHES - "COQUE_AXIS", # RESP. : DESROCHES X.DESROCHES - "COQUE_C_PLAN", # RESP. : DESROCHES X.DESROCHES - "COQUE_D_PLAN", # RESP. : DESROCHES X.DESROCHES - "D_PLAN", # RESP. : LEFEBVRE J.P.LEFEBVRE - "D_PLAN_GRAD_EPSI",# RESP. : MICHEL S.MICHEL - "D_PLAN_GRAD_VARI",# RESP. : MICHEL S.MICHEL - "D_PLAN_GVNO", # RESP. : BEAURAIN J.BEAURAIN - "D_PLAN_GRAD_SIGM",# RESP. : GRANET S.GRANET - "PLAN_JOINT", # RESP. : LAVERNE J.LAVERNE - "PLAN_JOINT_HYME", # RESP. : LAVERNE J.LAVERNE - "PLAN_INTERFACE", # RESP. : LAVERNE J.LAVERNE - "PLAN_INTERFACE_S",# RESP. : LAVERNE J.LAVERNE - "PLAN_ELDI", # RESP. : LAVERNE J.LAVERNE - "D_PLAN_ABSO", # RESP. : DEVESA G.DEVESA - "D_PLAN_INCO", # RESP. : SFAYOLLE S.FAYOLLE - "D_PLAN_INCO_UP", # RESP. : SFAYOLLE S.FAYOLLE - "D_PLAN_INCO_OSGS",# RESP. : SFAYOLLE S.FAYOLLE - "D_PLAN_INCO_GD", # RESP. : SFAYOLLE S.FAYOLLE - "D_PLAN_INCO_LOG", # RESP. : SFAYOLLE S.FAYOLLE - "D_PLAN_INCO_LUP", # RESP. : SFAYOLLE S.FAYOLLE - "D_PLAN_SI", # RESP. : DESROCHES X.DESROCHES - "DIS_T", # RESP. : FLEJOU J.L.FLEJOU - "DIS_TR", # RESP. : FLEJOU J.L.FLEJOU - "DKT", # RESP. : DESROCHES X.DESROCHES - "DKTG", # RESP. : MARKOVIC D.MARKOVIC - "DST", # RESP. : DESROCHES X.DESROCHES - "FLUI_STRU", # RESP. : GREFFET N.GREFFET - "GRILLE_EXCENTRE", # RESP. : ROSPARS C.ROSPARS - "GRILLE_MEMBRANE", # RESP. : ROSPARS C.ROSPARS - "MEMBRANE", # RESP. : ROSPARS C.ROSPARS - "POU_C_T", # RESP. : FLEJOU J.L.FLEJOU - "POU_D_E", # RESP. : FLEJOU J.L.FLEJOU - "POU_D_EM", # RESP. : FLEJOU J.L.FLEJOU - "POU_D_T", # RESP. : FLEJOU J.L.FLEJOU - "POU_D_T_GD", # RESP. : FLEJOU J.L.FLEJOU - "POU_D_TG", # RESP. : FLEJOU J.L.FLEJOU - "POU_D_TGM", # RESP. : FLEJOU J.L.FLEJOU - "Q4G", # RESP. : DESROCHES X.DESROCHES - "Q4GG", # RESP. : DESROCHES X.DESROCHES - "TUYAU_3M", # RESP. : PROIX J.M.PROIX - "TUYAU_6M", # RESP. : PROIX J.M.PROIX - "SHB", # RESP. : DESROCHES X.DESROCHES - "D_PLAN_HHM", # RESP. : GRANET S.GRANET - "D_PLAN_HM", # RESP. : GRANET S.GRANET - "D_PLAN_HM_SI", # RESP. : GRANET S.GRANET - "D_PLAN_THM", # RESP. : GRANET S.GRANET - "D_PLAN_HHMD", # RESP. : GRANET S.GRANET - "D_PLAN_HH2MD", # RESP. : GRANET S.GRANET - "D_PLAN_HMD", # RESP. : GRANET S.GRANET - "D_PLAN_THHD", # RESP. : GRANET S.GRANET - "D_PLAN_THH2D", # RESP. : GRANET S.GRANET - "D_PLAN_THVD", # RESP. : GRANET S.GRANET - "D_PLAN_THH2MD", # RESP. : GRANET S.GRANET - "D_PLAN_THHMD", # RESP. : GRANET S.GRANET - "D_PLAN_THMD", # RESP. : GRANET S.GRANET - "D_PLAN_HHMS", # RESP. : GRANET S.GRANET - "D_PLAN_HH2MS", # RESP. : GRANET S.GRANET - "D_PLAN_HMS", # RESP. : GRANET S.GRANET - "D_PLAN_THHS", # RESP. : GRANET S.GRANET - "D_PLAN_THH2S", # RESP. : GRANET S.GRANET - "D_PLAN_THVS", # RESP. : GRANET S.GRANET - "D_PLAN_THH2MS", # RESP. : GRANET S.GRANET - "D_PLAN_THHMS", # RESP. : GRANET S.GRANET - "D_PLAN_THMS", # RESP. : GRANET S.GRANET - "D_PLAN_HM_P", # RESP. : GRANET S.GRANET - "D_PLAN_HS", # RESP. : GRANET S.GRANET - "D_PLAN_HHD", # RESP. : GRANET S.GRANET - "D_PLAN_HHS", # RESP. : GRANET S.GRANET - "D_PLAN_HH2D", # RESP. : GRANET S.GRANET - "D_PLAN_HH2S", # RESP. : GRANET S.GRANET - "D_PLAN_2DG", # RESP. : GRANET S.GRANET - "D_PLAN_DIL", # RESP. : GRANET S.GRANET - "3D_DIL", # RESP. : GRANET S.GRANET - "AXIS_THM", # RESP. : GRANET S.GRANET - "AXIS_HHM", # RESP. : GRANET S.GRANET - "AXIS_HM", # RESP. : GRANET S.GRANET - "AXIS_HH2MD", # RESP. : GRANET S.GRANET - "AXIS_HHMD", # RESP. : GRANET S.GRANET - "AXIS_HMD", # RESP. : GRANET S.GRANET - "AXIS_THHD", # RESP. : GRANET S.GRANET - "AXIS_THH2D", # RESP. : GRANET S.GRANET - "AXIS_THVD", # RESP. : GRANET S.GRANET - "AXIS_THHMD", # RESP. : GRANET S.GRANET - "AXIS_THH2MD", # RESP. : GRANET S.GRANET - "AXIS_THMD", # RESP. : GRANET S.GRANET - "AXIS_HH2MS", # RESP. : GRANET S.GRANET - "AXIS_HHMS", # RESP. : GRANET S.GRANET - "AXIS_HMS", # RESP. : GRANET S.GRANET - "AXIS_THHS", # RESP. : GRANET S.GRANET - "AXIS_THH2S", # RESP. : GRANET S.GRANET - "AXIS_THVS", # RESP. : GRANET S.GRANET - "AXIS_THHMS", # RESP. : GRANET S.GRANET - "AXIS_THH2MS", # RESP. : GRANET S.GRANET - "AXIS_THMS", # RESP. : GRANET S.GRANET - "AXIS_HHD", # RESP. : GRANET S.GRANET - "AXIS_HHS", # RESP. : GRANET S.GRANET - "AXIS_HH2D", # RESP. : GRANET S.GRANET - "AXIS_HH2S", # RESP. : GRANET S.GRANET - "3D_HHM" , # RESP. : GRANET S.GRANET - "3D_HM", # RESP. : GRANET S.GRANET - "3D_HM_SI", # RESP. : GRANET S.GRANET - "3D_THHM", # RESP. : GRANET S.GRANET - "3D_THM", # RESP. : GRANET S.GRANET - "3D_HHMD", # RESP. : GRANET S.GRANET - "3D_HMD", # RESP. : GRANET S.GRANET - "3D_THHD", # RESP. : GRANET S.GRANET - "3D_THVD", # RESP. : GRANET S.GRANET - "3D_THHMD", # RESP. : GRANET S.GRANET - "3D_THMD", # RESP. : GRANET S.GRANET - "3D_HHMS", # RESP. : GRANET S.GRANET - "3D_HMS", # RESP. : GRANET S.GRANET - "3D_THHS", # RESP. : GRANET S.GRANET - "3D_THVS", # RESP. : GRANET S.GRANET - "3D_THHMS", # RESP. : GRANET S.GRANET - "3D_THMS", # RESP. : GRANET S.GRANET - "3D_THH2MD", # RESP. : GRANET S.GRANET - "3D_THH2MS", # RESP. : GRANET S.GRANET - "3D_HH2MD", # RESP. : GRANET S.GRANET - "3D_HH2MS", # RESP. : GRANET S.GRANET - "3D_THH2S", # RESP. : GRANET S.GRANET - "3D_THH2D", # RESP. : GRANET S.GRANET - "3D_HS", # RESP. : GRANET S.GRANET - "3D_HHD", # RESP. : GRANET S.GRANET - "3D_HHS", # RESP. : GRANET S.GRANET - "3D_HH2D", # RESP. : GRANET S.GRANET - "3D_HH2S", # RESP. : GRANET S.GRANET - "VF1", # RESP. : GRANET S.GRANET - "3D_HH2SUDM", # RESP. : GRANET S.GRANET - "3D_HH2SUDA", # RESP. : GRANET S.GRANET - "3D_HH2SUC", # RESP. : GRANET S.GRANET - "D_PLAN_HH2SUDM", # RESP. : GRANET S.GRANET - "D_PLAN_HH2SUC", # RESP. : GRANET S.GRANET - "D_PLAN_HH2SUDA", # RESP. : GRANET S.GRANET - "PLAN_JHMS", - "AXIS_JHMS", - ) ) ), - - b_thermique =BLOC( condition = "PHENOMENE=='THERMIQUE'", - fr="modélisations thermiques", - MODELISATION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=( - "3D", # RESP. : DURAND C.DURAND - "3D_DIAG", # RESP. : DURAND C.DURAND - "AXIS", # RESP. : DURAND C.DURAND - "AXIS_DIAG", # RESP. : DURAND C.DURAND - "AXIS_FOURIER", # RESP. : DESROCHES X.DESROCHES - "COQUE", # RESP. : DESROCHES X.DESROCHES - "COQUE_AXIS", # RESP. : DESROCHES X.DESROCHES - "COQUE_PLAN", # RESP. : DESROCHES X.DESROCHES - "PLAN", # RESP. : DURAND C.DURAND - "PLAN_DIAG", # RESP. : DURAND C.DURAND - ),),), - - b_acoustique =BLOC( condition = "PHENOMENE=='ACOUSTIQUE'", - fr="modélisations acoustiques", - MODELISATION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=( - "3D", # RESP. : None - "PLAN" # RESP. : None - ), ),), - - ), - - PARTITION =FACT(statut='d', - PARALLELISME =SIMP(statut='f',typ='TXM',defaut="GROUP_ELEM", - into=("MAIL_CONTIGU","MAIL_DISPERSE","CENTRALISE","GROUP_ELEM")), - b_dist_maille =BLOC(condition = "PARALLELISME in ('MAIL_DISPERSE','MAIL_CONTIGU')", - CHARGE_PROC0_MA =SIMP(statut='f',typ='I',defaut=100,val_min=0,val_max=100), - ), - ), - - VERI_JACOBIEN =SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='OUI', - fr ="Vérification de la forme des mailles (jacobiens tous de meme signe).",), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def appl_cine_matr_prod(MATR_ASSE,**args): - if AsType(MATR_ASSE) == matr_asse_depl_r : return matr_asse_depl_r - if AsType(MATR_ASSE) == matr_asse_depl_c : return matr_asse_depl_c - if AsType(MATR_ASSE) == matr_asse_temp_r : return matr_asse_temp_r - if AsType(MATR_ASSE) == matr_asse_temp_c : return matr_asse_temp_c - if AsType(MATR_ASSE) == matr_asse_pres_r : return matr_asse_pres_r - if AsType(MATR_ASSE) == matr_asse_pres_c : return matr_asse_pres_c - raise AsException("type de concept resultat non prevu") - -APPL_CINE_MATR=OPER(nom="APPL_CINE_MATR",op=158,sd_prod=appl_cine_matr_prod, - fr="Appliquer les C.L. cinématiques sur la matrice", - reentrant='f', UIinfo={"groupes":("Résolution",)}, - MATR_ASSE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r, - matr_asse_temp_c,matr_asse_pres_r,matr_asse_pres_c) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -APPL_CINE_SCMB=OPER(nom="APPL_CINE_SCMB",op=159,sd_prod=cham_no_sdaster,reentrant='f', - fr="Application des C.L. cinématiques au second membre", - UIinfo={"groupes":("Résolution",)}, - CHAM_NO =SIMP(statut='o',typ=cham_no_sdaster), - MATR =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r, - matr_asse_temp_c,matr_asse_pres_r,matr_asse_pres_c) ), - CHAM_CINE =SIMP(statut='f',typ=cham_no_sdaster), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr - - -def asse_elem_ssd_prod(self,RESU_ASSE_SSD,**args): - MTYPES = { - 'MODELE' : modele_gene, - 'NUME_DDL_GENE' : nume_ddl_gene, - 'RIGI_GENE' : matr_asse_gene_r, - 'MASS_GENE' : matr_asse_gene_r, - } - for res in RESU_ASSE_SSD: - for mc, typ in MTYPES.items(): - if res[mc]: - self.type_sdprod(res[mc], typ) - return None - -ASSE_ELEM_SSD=MACRO(nom="ASSE_ELEM_SSD", - op=OPS('Macro.asse_elem_ssd_ops.asse_elem_ssd_ops'), - sd_prod=asse_elem_ssd_prod, - reentrant='n', - fr="Enchainer les commandes DEFI_MODELE_GENE, NUME_DDL_GENE et ASSE_MATR_GENE", - UIinfo={"groupes":("Matrices/vecteurs",)}, - -# pour les concepts de sortie - RESU_ASSE_SSD = FACT( statut='o', max=1, - regles=(PRESENT_PRESENT('RIGI_GENE','NUME_DDL_GENE'), - PRESENT_PRESENT('MASS_GENE','NUME_DDL_GENE'),), - MODELE=SIMP(statut='o',typ=CO,defaut=None), - NUME_DDL_GENE=SIMP(statut='f',typ=CO,defaut=None), - RIGI_GENE=SIMP(statut='f',typ=CO,defaut=None), - MASS_GENE=SIMP(statut='f',typ=CO,defaut=None), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - -# pour DEFI_MODELE_GENE - SOUS_STRUC =FACT(statut='o',max='**', - NOM =SIMP(statut='o',typ='TXM' ), - MACR_ELEM_DYNA =SIMP(statut='o',typ=macr_elem_dyna ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - TRANS =SIMP(statut='f',typ='R',max=3), - ), - LIAISON =FACT(statut='o',max='**', - SOUS_STRUC_1 =SIMP(statut='o',typ='TXM' ), - INTERFACE_1 =SIMP(statut='o',typ='TXM' ), - SOUS_STRUC_2 =SIMP(statut='o',typ='TXM' ), - INTERFACE_2 =SIMP(statut='o',typ='TXM' ), - regles=(EXCLUS('GROUP_MA_MAIT_1','GROUP_MA_MAIT_2','MAILLE_MAIT_2'), - EXCLUS('MAILLE_MAIT_1','GROUP_MA_MAIT_2','MAILLE_MAIT_2'),), - GROUP_MA_MAIT_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_MAIT_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - OPTION =SIMP(statut='f',typ='TXM',defaut="CLASSIQUE",into=("REDUIT","CLASSIQUE") ), - ), - VERIF =FACT(statut='d',max=1, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - - -# pour NUME_DDL_GENE - METHODE =SIMP(statut='f',typ='TXM',defaut="CLASSIQUE",into=("CLASSIQUE","ELIMINE") ), - STOCKAGE =SIMP(statut='f',typ='TXM',defaut="LIGN_CIEL",into=("LIGN_CIEL","PLEIN") ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -ASSE_MAILLAGE=OPER(nom="ASSE_MAILLAGE",op= 105,sd_prod=maillage_sdaster, - fr="Assembler deux maillages pour en former un nouveau", - reentrant='n', - UIinfo={"groupes":("Maillage",)}, - MAILLAGE_1 = SIMP(statut='o',typ=maillage_sdaster,), - MAILLAGE_2 = SIMP(statut='o',typ=maillage_sdaster,), - OPERATION = SIMP(statut='o',typ='TXM',into=("SOUS_STR","SUPERPOSE","COLLAGE"),), - b_collage = BLOC(condition = "OPERATION == 'COLLAGE'", - COLLAGE = FACT(statut='o', - GROUP_MA_1 =SIMP(statut='o',typ=grma), - GROUP_MA_2 =SIMP(statut='o',typ=grma), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -def asse_matr_gene_prod(METHODE,**args): - if (METHODE=="INITIAL") : return matr_asse_gene_r - elif (args['OPTION']=="RIGI_GENE_C") : return matr_asse_gene_c - else : return matr_asse_gene_r - -ASSE_MATR_GENE=OPER(nom="ASSE_MATR_GENE",op= 128,sd_prod=asse_matr_gene_prod, - fr="Assemblage des matrices généralisées de macro éléments pour construction de la matrice globale généralisée", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - METHODE =SIMP(statut='f',typ='TXM',defaut="CLASSIQUE",into=("CLASSIQUE","INITIAL") ), - b_option =BLOC(condition = "METHODE == 'CLASSIQUE'", - OPTION =SIMP(statut='o',typ='TXM',into=("RIGI_GENE","RIGI_GENE_C","MASS_GENE","AMOR_GENE") ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def asse_matrice_prod(MATR_ELEM,**args): - if AsType(MATR_ELEM) == matr_elem_depl_r : return matr_asse_depl_r - if AsType(MATR_ELEM) == matr_elem_depl_c : return matr_asse_depl_c - if AsType(MATR_ELEM) == matr_elem_temp_r : return matr_asse_temp_r - if AsType(MATR_ELEM) == matr_elem_pres_c : return matr_asse_pres_c - raise AsException("type de concept resultat non prevu") - -ASSE_MATRICE=OPER(nom="ASSE_MATRICE",op=12,sd_prod=asse_matrice_prod, - fr="Construction d'une matrice assemblée",reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - MATR_ELEM =SIMP(statut='o', - typ=(matr_elem_depl_r,matr_elem_depl_c,matr_elem_temp_r,matr_elem_pres_c) ), - NUME_DDL =SIMP(statut='o',typ=nume_ddl_sdaster), - SYME =SIMP(statut='f',typ='TXM',into=("OUI",) ), - CHAR_CINE =SIMP(statut='f',typ=(char_cine_meca,char_cine_ther,char_cine_acou) ), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -ASSE_VECT_GENE=OPER(nom="ASSE_VECT_GENE",op= 140,sd_prod=vect_asse_gene, - fr="Projection des chargements sur la base modale d'une sous structure", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - METHODE =SIMP(statut='f',typ='TXM',defaut="CLASSIQUE",into=("CLASSIQUE","INITIAL") ), - b_nume =BLOC(condition = "METHODE == 'CLASSIQUE'", - CHAR_SOUS_STRUC =FACT(statut='o',max='**', - SOUS_STRUC =SIMP(statut='o',typ='TXM' ), - VECT_ASSE =SIMP(statut='o',typ=cham_no_sdaster ), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -ASSE_VECTEUR=OPER(nom="ASSE_VECTEUR",op=13,sd_prod=cham_no_sdaster, - fr="Construire un champ aux noeuds par assemblage de vecteurs élémentaires",reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - VECT_ELEM =SIMP(statut='o',typ=vect_elem,max='**'), - NUME_DDL =SIMP(statut='o',typ=nume_ddl_sdaster ), - INFO =SIMP(statut='f',typ='I',into=(1,2,) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: albert.alarcon at edf.fr - -def assemblage_prod(self,NUME_DDL,MATR_ASSE,VECT_ASSE,**args): - if ((not MATR_ASSE) and (not VECT_ASSE)): raise AsException("Aucun concept a assembler") - if not NUME_DDL : raise AsException("Impossible de typer les concepts resultats") - if NUME_DDL.is_typco(): - self.type_sdprod(NUME_DDL,nume_ddl_sdaster) - - if MATR_ASSE !=None: - for m in MATR_ASSE: - opti=m['OPTION'] - if opti in ( "RIGI_MECA","RIGI_FLUI_STRU", - "MASS_MECA" , "MASS_FLUI_STRU" ,"RIGI_GEOM" ,"RIGI_ROTA", - "AMOR_MECA","IMPE_MECA","ONDE_FLUI","MASS_MECA_DIAG", - "MECA_GYRO","RIGI_GYRO" ) : t=matr_asse_depl_r - - if opti in ( "RIGI_ACOU","MASS_ACOU","AMOR_ACOU",) : t=matr_asse_pres_c - - if opti in ( "RIGI_THER","RIGI_THER_CONV" , - "RIGI_THER_CONV_D",) : t=matr_asse_temp_r - - if opti == "RIGI_MECA_HYST" : t= matr_asse_depl_c - - self.type_sdprod(m['MATRICE'],t) - - if VECT_ASSE !=None: - for v in VECT_ASSE: - self.type_sdprod(v['VECTEUR'],cham_no_sdaster) - - return None - -ASSEMBLAGE=MACRO(nom="ASSEMBLAGE", - op=OPS('Macro.assemblage_ops.assemblage_ops'), - UIinfo={"groupes":("Matrices et vecteurs",)}, - sd_prod=assemblage_prod, - regles=(AU_MOINS_UN('MATR_ASSE','VECT_ASSE'),), - fr="Calcul des matrices et vecteurs assemblés ", - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - INST =SIMP(statut='f',typ='R',defaut=0.), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHARGE =SIMP(statut='f',typ=(char_meca,char_ther,char_acou),validators=NoRepeat(),max='**'), - CHAR_CINE =SIMP(statut='f',typ=(char_cine_meca,char_cine_ther,char_cine_acou) ), - NUME_DDL =SIMP(statut='o',typ=(nume_ddl_sdaster,CO)), - SOLVEUR =FACT(statut='d', - METHODE =SIMP(statut='f',typ='TXM',defaut="MULT_FRONT",into=("MULT_FRONT","LDLT","GCPC","MUMPS","PETSC") ), - b_mult_front =BLOC(condition="METHODE=='MULT_FRONT'",fr="Paramètres associés à la méthode multifrontale", - RENUM =SIMP(statut='f',typ='TXM',into=("MD","MDA","METIS"),defaut="METIS" ), - ), - b_ldlt =BLOC(condition="METHODE=='LDLT'",fr="Paramètres associés à la méthode LDLT", - RENUM =SIMP(statut='f',typ='TXM',into=("RCMK","SANS"),defaut="RCMK" ), - ), - b_mumps =BLOC(condition = "METHODE == 'MUMPS' ",fr="Paramètres de la méthode MUMPS", - RENUM =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("AMD","AMF","PORD","METIS","QAMD","SCOTCH","AUTO")), - ), - b_gcpc =BLOC(condition="METHODE=='GCPC'",fr="Paramètres associés à la méthode gradient conjugué", - RENUM =SIMP(statut='f',typ='TXM',into=("RCMK","SANS"),defaut="RCMK" ), - ), - b_petsc =BLOC(condition = "METHODE == 'PETSC'",fr="Paramètres de la méthode PETSC", - RENUM =SIMP(statut='f',typ='TXM',defaut="RCMK",into=("SANS","RCMK") ), - ), - ), - - MATR_ASSE =FACT(statut='f',max='**', - MATRICE =SIMP(statut='o',typ=CO), - OPTION =SIMP(statut='o',typ='TXM', - into=("RIGI_MECA","MASS_MECA","MASS_MECA_DIAG", - "AMOR_MECA","RIGI_MECA_HYST","IMPE_MECA", - "ONDE_FLUI","RIGI_FLUI_STRU","MASS_FLUI_STRU", - "RIGI_ROTA","RIGI_GEOM","MECA_GYRO","RIGI_GYRO", - "RIGI_THER","RIGI_ACOU","MASS_ACOU","AMOR_ACOU",) - ), - - b_rigi_meca = BLOC( condition = "OPTION=='RIGI_MECA'", - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0), - ), - - b_rigi_geom = BLOC( condition = "OPTION=='RIGI_GEOM'", - SIEF_ELGA =SIMP(statut='o',typ=cham_elem), - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0), - ), - - b_rigi_ther = BLOC( condition = "OPTION=='RIGI_THER'", - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0), - ), -# - ), # fin MATR_ASSE -# - VECT_ASSE =FACT(statut='f',max='**', - VECTEUR =SIMP(statut='o',typ=CO), - OPTION =SIMP(statut='o',typ='TXM',into=("CHAR_MECA","CHAR_ACOU","CHAR_THER") ), - b_char_meca =BLOC(condition = "OPTION == 'CHAR_MECA'", fr="chargement mécanique", - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0 ), - ), - - b_char_ther =BLOC(condition = "OPTION=='CHAR_THER'", fr="chargement thermique", - CHARGE =SIMP(statut='f',typ=char_ther,validators=NoRepeat(),max='**'), - ), - - b_char_acou =BLOC(condition = "OPTION=='CHAR_ACOU'", fr="chargement acoustique", - CHARGE =SIMP(statut='f',typ=char_acou,validators=NoRepeat(),max='**'), - ), -# - ), # fin VECT_ASSE -# - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr -CALC_AMOR_MODAL=OPER(nom="CALC_AMOR_MODAL",op= 172,sd_prod=listr8_sdaster, - fr="Création d'une liste d'amortissements modaux calculés selon la règle du RCC-G", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - regles=(EXCLUS('AMOR_RAYLEIGH','ENER_SOL',), - EXCLUS('AMOR_RAYLEIGH','AMOR_INTERNE',), - EXCLUS('AMOR_RAYLEIGH','AMOR_SOL',), - PRESENT_PRESENT('ENER_SOL','AMOR_INTERNE'), - PRESENT_PRESENT('ENER_SOL','AMOR_SOL'), - ), - AMOR_RAYLEIGH =FACT(statut='f', - AMOR_ALPHA =SIMP(statut='o',typ='R'), - AMOR_BETA =SIMP(statut='o',typ='R'), - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - ), - ENER_SOL =FACT(statut='f', - regles=(UN_PARMI('GROUP_NO_RADIER','GROUP_MA_RADIER'), - PRESENT_ABSENT('COEF_GROUP','FONC_GROUP'), -# Peut-on remplacer les deux règles suivantes par un ENSEMBLE_('KRX','KRY','KRZ') - PRESENT_PRESENT('KRX','KRY'), - PRESENT_PRESENT('KRX','KRZ'), - PRESENT_ABSENT('COOR_CENTRE','NOEUD_CENTRE'), - PRESENT_ABSENT('GROUP_NO_CENTRE','NOEUD_CENTRE'), - PRESENT_ABSENT('GROUP_NO_CENTRE','COOR_CENTRE'),), - METHODE =SIMP(statut='f',typ='TXM',defaut="DEPL",into=("DEPL","RIGI_PARASOL") ), - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - GROUP_NO_RADIER =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - GROUP_MA_RADIER =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - FONC_GROUP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_GROUP =SIMP(statut='f',typ='R',max='**'), - KX =SIMP(statut='o',typ='R' ), - KY =SIMP(statut='o',typ='R' ), - KZ =SIMP(statut='o',typ='R' ), - KRX =SIMP(statut='f',typ='R' ), - KRY =SIMP(statut='f',typ='R' ), - KRZ =SIMP(statut='f',typ='R' ), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno), - NOEUD_CENTRE =SIMP(statut='f',typ=no), - COOR_CENTRE =SIMP(statut='f',typ='R',max=3), - ), - AMOR_INTERNE =FACT(statut='f', - ENER_POT =SIMP(statut='o',typ=table_sdaster ), - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - AMOR_REDUIT =SIMP(statut='o',typ='R',max='**'), - ), - AMOR_SOL =FACT(statut='f', - AMOR_REDUIT =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FONC_AMOR_GEO =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule),max='**' ), - HOMOGENE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 0.3 ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: josselin.delmas at edf.fr - -CALC_CHAM_ELEM=OPER(nom="CALC_CHAM_ELEM",op=38,sd_prod=cham_elem, - fr="Calculer un champ élémentaire en thermique et en accoustique à partir de champs déjà calculés", - reentrant='n', - UIinfo={"groupes":("Résultats et champs","Post-traitements",)}, - MODELE =SIMP(statut='o',typ=modele_sdaster), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - - regles=(EXCLUS('TOUT','GROUP_MA',),EXCLUS('TOUT','MAILLE',),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - INST =SIMP(statut='f',typ='R',defaut= 0.E+0), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - MODE_FOURIER =SIMP(statut='f',typ='I',), - - OPTION =SIMP(statut='o',typ='TXM', - into=("FLUX_ELGA","FLUX_ELNO", - "PRAC_ELNO", - "COOR_ELGA"), ), - - b_thermique =BLOC(condition="OPTION in ('FLUX_ELNO','FLUX_ELGA',)", - TEMP =SIMP(statut='o',typ=(cham_no_sdaster,)), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - ), - - b_acoustique =BLOC(condition="OPTION in ('PRAC_ELNO',)", - PRES =SIMP(statut='o',typ=(cham_no_sdaster,)), - ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.sellenet at edf.fr -def calc_champ_prod(RESULTAT,**args): - if AsType(RESULTAT) != None : return AsType(RESULTAT) - raise AsException("type de concept resultat non prevu : RESULTAT=%s (type %s)" \ - % (RESULTAT, type(RESULTAT))) - -CALC_CHAMP=OPER(nom="CALC_CHAMP",op=52,sd_prod=calc_champ_prod,reentrant='f', - UIinfo={"groupes":("Post traitements",)}, - fr="Completer ou creer un resultat en calculant des champs par elements ou aux noeuds", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - - RESULTAT = SIMP(statut='o',typ=resultat_sdaster,position='global', - fr="Resultat d'une commande globale"), - - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_INST','LIST_FREQ','LIST_ORDRE','NOM_CAS'), - PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - ), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NOEUD_CMP = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS = SIMP(statut='f',typ='TXM' ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - FREQ = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - LIST_FREQ = SIMP(statut='f',typ=listr8_sdaster), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela = BLOC(condition="(CRITERE=='RELATIF')", - PRECISION = SIMP(statut='f',typ='R',defaut= 1.E-6),), - b_prec_abso = BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION = SIMP(statut='o',typ='R'),), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",), - fr="le calcul sera effectue sur toutes les mailles"), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="le calcul ne sera effectue que sur ces groupes de mailles"), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**', - fr="le calcul ne sera effectue que sur ces mailles"), - - EXCIT = FACT(statut='f',max='**', - fr="Charges contenant les temperatures, les efforts repartis pour les poutres...", - regles=(EXCLUS('FONC_MULT','COEF_MULT',),), - CHARGE = SIMP(statut='o',typ=(char_meca,char_cine_meca),), - FONC_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),), - COEF_MULT = SIMP(statut='f',typ='R'), - TYPE_CHARGE = SIMP(statut='f',typ='TXM',defaut="FIXE",into=("FIXE",),),), - - # Bloc lineaire - b_lineaire = BLOC(condition = "AsType(RESULTAT) in (evol_elas,dyna_trans,dyna_harmo,mode_meca,\ - comb_fourier,mult_elas,fourier_elas,mode_flamb)", - CONTRAINTE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de contraintes et efforts generalises", - into=C_NOM_CHAM_INTO(phenomene='CONTRAINTE',categorie='lin'),), - - DEFORMATION = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de deformations", - into=C_NOM_CHAM_INTO(phenomene='DEFORMATION',categorie='lin'),), - - ENERGIE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul d'energies", - into=C_NOM_CHAM_INTO(phenomene='ENERGIE',categorie='lin'),), - - CRITERES = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de criteres", - into=C_NOM_CHAM_INTO(phenomene='CRITERES',categorie='lin'),), - - VARI_INTERNE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de variables internes", - into=C_NOM_CHAM_INTO(phenomene='VARI_INTERNE',categorie='lin'),), - ), - - # Bloc non-lineaire - b_non_lin = BLOC(condition = "AsType(RESULTAT) in (evol_noli,)", - CONTRAINTE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de contraintes et efforts generalises", - into=C_NOM_CHAM_INTO(phenomene='CONTRAINTE',categorie='nonlin'),), - - DEFORMATION = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de deformations", - into=C_NOM_CHAM_INTO(phenomene='DEFORMATION',categorie='nonlin'),), - - ENERGIE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul d'energies", - into=C_NOM_CHAM_INTO(phenomene='ENERGIE',categorie='nonlin'),), - - CRITERES = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de criteres", - into=C_NOM_CHAM_INTO(phenomene='CRITERES',categorie='nonlin'),), - - VARI_INTERNE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de variables internes", - into=C_NOM_CHAM_INTO(phenomene='VARI_INTERNE',categorie='nonlin'),), - - b_nom_vari = BLOC(condition = "au_moins_un(VARI_INTERNE, ('VAEX_ELNO','VAEX_ELGA','VAEX_NOEU'))", - NOM_VARI = SIMP(statut='o',typ='TXM',min= 1,max='**', - fr="nom de la variable a extraire", - into=("DPORO","DRHOLQ","DPVP","SATLIQ","EVP","IND_ETA","D","IND_END","TEMP_MAX", - "GAMP","PCR","SEUIL_HYD","IND_HYD","PCOHE","COMP_ROC","SEUIL_ISO","ANG_DEV", - "X11","X22","X33","X12","X13","X23","DIST_DEV","DEV_SUR_CRIT","DIST_ISO", - "NB_ITER","ARRET","NB_REDE","SIGNE","RDEV_1","RDEV_2","RDEV_3","RISO","EPSIVPLA", - "IND_1","IND_2","IND_3","IND_4", - ), - ),), - - HYDRAULIQUE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour le calcul de flux hydraulique", - into=C_NOM_CHAM_INTO(phenomene='HYDRAULIQUE',categorie='nonlin'),), - ), - - # Bloc Thermique - b_ther = BLOC(condition = "AsType(RESULTAT) in (evol_ther,fourier_ther,)" , - THERMIQUE = SIMP(statut='f',typ='TXM',validators=NoRepeat(), max='**', - fr="Options pour le calcul de champs en thermique", - into=C_NOM_CHAM_INTO(phenomene='THERMIQUE',),), - ), - - # Bloc acoustique - b_acou = BLOC(condition = "AsType(RESULTAT) in (acou_harmo,mode_acou,dyna_harmo)", - ACOUSTIQUE = SIMP(statut='f',typ='TXM',validators=NoRepeat(), max='**', - fr="Options pour le calcul de champs en acoustique", - into=C_NOM_CHAM_INTO(phenomene='ACOUSTIQUE',),), - ), - - # Bloc FORC_NODA et REAC_NODA - FORCE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**', - fr="Options pour des forces nodales et des reactions nodales", - into=C_NOM_CHAM_INTO(phenomene='FORCE',),), - - # Mot-cle facteur CHAMp UTILisateur - CHAM_UTIL = FACT(statut='f', max='**', - regles = (UN_PARMI('FORMULE', 'CRITERE', 'NORME'), ), - NOM_CHAM = SIMP(statut='o', typ='TXM', - fr="Nom du champ utilisé en donnée",), - FORMULE = SIMP(statut='f', typ=formule, max='**', - fr="Formule permet d'obtenir le critère",), - CRITERE = SIMP(statut='f', typ='TXM', max=1, - into=('TRACE', 'VMIS', 'INVA_2'), - fr="Calcul d'un critère pré-défini",), - NORME = SIMP(statut='f', typ='TXM', max=1, - into=('L2', 'FROBENIUS', ), - fr="Calcul d'une norme pré-définie",), - NUME_CHAM_RESU = SIMP(statut='o', typ='I', val_min=1, val_max=20, - fr="Numéro du champ produit. Exemple: 6 produit le champ UT06",), - ), - - INFO = SIMP(statut='f',typ='I',defaut= 1,into=(1,2)), - - TITRE = SIMP(statut='f',typ='TXM',max='**'), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -CALC_CHAR_CINE=OPER(nom="CALC_CHAR_CINE",op= 102,sd_prod=cham_no_sdaster, - fr="Calcul des seconds membres associés à des charges cinématiques (conditions aux limites non dualisées)", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - NUME_DDL =SIMP(statut='o',typ=nume_ddl_sdaster ), - CHAR_CINE =SIMP(statut='o',typ=(char_cine_meca,char_cine_ther,char_cine_acou ),validators=NoRepeat(),max='**' ), - INST =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr -def calc_char_seisme_prod(MATR_MASS,**args ): - if AsType(MATR_MASS) == matr_asse_depl_r : return cham_no_sdaster - raise AsException("type de concept resultat non prevu") - -CALC_CHAR_SEISME=OPER(nom="CALC_CHAR_SEISME",op= 92,sd_prod=calc_char_seisme_prod, - reentrant='n',fr="Calcul du chargement sismique", - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(UN_PARMI('MONO_APPUI','MODE_STAT' ),), - MATR_MASS =SIMP(statut='o',typ=matr_asse_depl_r,fr="Matrice de masse" ), - DIRECTION =SIMP(statut='o',typ='R',max=6,fr="Directions du séisme imposé"), - MONO_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MODE_STAT =SIMP(statut='f',typ=(mode_meca,) ), - b_mode_stat =BLOC ( condition = "MODE_STAT != None", - regles=(UN_PARMI('NOEUD','GROUP_NO' ),), - NOEUD =SIMP(statut='f',typ=no,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -CALC_CORR_SSD=OPER(nom="CALC_CORR_SSD",op= 91,sd_prod=table_container, - fr="Qualite d'un modele reduit en dynamique", - reentrant='n', - UIinfo={"groupes":("Dynamique",)}, - MODELE_GENE =SIMP(statut='o',typ=modele_gene), - RESU_GENE =SIMP(statut='o',typ=mode_gene ), - UNITE =SIMP(statut='f',typ='I',defaut=6,), - SHIFT =SIMP(statut='f',typ='R',defaut= 1. ), - VERIF =FACT(statut='f',max='**', - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: marina.bottoni at edf.fr - - -def calc_ecrevisse_prod(self,CHARGE_MECA,CHARGE_THER1,CHARGE_THER2,TABLE,DEBIT,**args): - - self.type_sdprod(CHARGE_MECA,char_meca) - self.type_sdprod(CHARGE_THER1,char_ther) - self.type_sdprod(CHARGE_THER2,char_ther) - self.type_sdprod(TABLE,table_sdaster) - self.type_sdprod(DEBIT,table_sdaster) - return None - - - -CALC_ECREVISSE=MACRO(nom="CALC_ECREVISSE", - op=OPS('Macro.calc_ecrevisse_ops.calc_ecrevisse_ops'), - sd_prod=calc_ecrevisse_prod, - reentrant='n', - UIinfo={"groupes":("Outils-métier",)},fr="Procedure de couplage avec Ecrevisse", - regles = (UN_PARMI('LOGICIEL','VERSION'),), - -# CONCEPTS SORTANTS : 2 CHARGEMENTS THERMIQUE + 1 MECANIQUE + 2 TABLES POUR LE POST-TRAITEMENT -# ******************************************** - CHARGE_MECA =SIMP(statut='o',typ=CO), - CHARGE_THER1 =SIMP(statut='o',typ=CO), - CHARGE_THER2 =SIMP(statut='o',typ=CO), - TABLE =SIMP(statut='o',typ=CO), - DEBIT =SIMP(statut='o',typ=CO), - - -# MODELES MECANIQUES -# ******************************************** - MODELE_MECA =SIMP(statut='o',typ=modele_sdaster), - MODELE_THER =SIMP(statut='o',typ=modele_sdaster), - - -# DONNEES GEOMETRIQUES RELATIVES AUX RESULTATS -# ******************************************** - RESULTAT =FACT(statut='o',min=1,max=1, - MECANIQUE =SIMP(statut='o',typ=resultat_sdaster), - THERMIQUE =SIMP(statut='o',typ=resultat_sdaster), - regles=(EXCLUS('NUME_ORDRE','INST'),), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),), - ), - -# DONNEES GEOMETRIQUES RELATIVES A LA FISSURE -# ******************************************* - - FISSURE =FACT(statut='o',min=1,max='**', - PREFIXE_FICHIER =SIMP(statut='f',typ='TXM',validators=LongStr(1,8),), - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),min=2,max=2, - fr="Groupe(s) des noeuds definissant les levres de la fissure"), - GROUP_NO_ORIG =SIMP(statut='o',typ=grno,validators=NoRepeat(),min=2,max=2), - GROUP_NO_EXTR =SIMP(statut='o',typ=grno,validators=NoRepeat(),min=2,max=2), - ZETA =SIMP(statut='o',typ='R',fr="Coefficient de la perte de charge singuliere a l'entree [zeta]" ), - RUGOSITE =SIMP(statut='o',typ='R',fr="Rugosite absolu (metres) [eps]" ), - OUVERT_REMANENTE =SIMP(statut='o',typ='R',val_min=0.,fr="Ouverture remanente"), - TORTUOSITE =SIMP(statut='f',typ='R',defaut=1.0, val_min=0., val_max=1.0, - fr="Coefficient de tortuosite de la fissure" ), - SECTION =SIMP(statut='o',typ='TXM',into=("ELLIPSE","RECTANGLE"),fr="Type de section [is]" ), - b_section_ellipse =BLOC(condition="SECTION=='ELLIPSE'",fr="Fissure a section elliptique", - LISTE_COTES_BL =SIMP(statut='f',typ='R',max='**', - fr="Liste des cotes des points definissant le petit axe de la section", - validators=NoRepeat() ), - LISTE_VAL_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant le petit axe de la section", ), - ), - b_section_rectangle =BLOC(condition="SECTION=='RECTANGLE'",fr="Fissure a section rectangulaire", - LISTE_COTES_BL =SIMP(statut='f',typ='R',max='**', - fr="Liste des cotes des points definissant la largeur de la section", - validators=NoRepeat() ), - LISTE_VAL_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant la largeur de la section", ), - ), - ), - - -# DONNEES RELATIVES A L"ECOULEMENT -# ******************************** - - ECOULEMENT =FACT(statut='o',min=1,max=1, - PRES_ENTREE =SIMP(statut='o',typ='R',fr="Pression de stagnation a l'entree (Pa) [pe]" ), - PRES_SORTIE =SIMP(statut='o',typ='R',fr="Pression de stagnation a la sortie (Pa) [ps]" ), - FLUIDE_ENTREE =SIMP(statut='o',typ='I',into=(1,2,3,4,5,6),fr="Condition du fluide a l'entree [iflow]" ), - b_condition_1 =BLOC(condition="FLUIDE_ENTREE==1",fr="Eau sous-refroidie ou saturee", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - ), - b_condition_2 =BLOC(condition="FLUIDE_ENTREE==2",fr="Fluide diphasique", - TITR_MASS =SIMP(statut='o',typ='R',fr="Titre massique eau vap/eau tot a l'entree [xe]" ), - ), - b_condition_3 =BLOC(condition="FLUIDE_ENTREE==3",fr="Vapeur saturee ou surchauffee", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - ), - b_condition_4 =BLOC(condition="FLUIDE_ENTREE==4",fr="Air + vapeur surchauffee", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - PRES_PART =SIMP(statut='o',typ='R',fr="Pression partielle air en entree (Pa) [pae]" ), - ), - b_condition_5 =BLOC(condition="FLUIDE_ENTREE==5",fr="Air + vapeur saturee", - TITR_MASS =SIMP(statut='o',typ='R',fr="Titre massique eau vap/eau tot a l'entree [xe]" ), - PRES_PART =SIMP(statut='o',typ='R',fr="Pression partielle air en entree (Pa) [pae]" ), - ), - b_condition_6 =BLOC(condition="FLUIDE_ENTREE==6",fr="Air seul", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - ), - ), - - -# CHOIX DES MODELES -# ***************** - - MODELE_ECRE =FACT(statut='o',min=1,max=1, - IVENAC =SIMP(statut='f', typ='I', into=(0,1), defaut=0, - fr="Calcul ECREVISSE avec prise en compte de la vena contracta"), - ECOULEMENT =SIMP(statut='o',typ='TXM',into=("SATURATION","GELE"), - fr="Type de modele d'ecoulement diphasique [imod]" ), - b_ecou_gele =BLOC(condition="ECOULEMENT=='GELE'",fr="Modele d'ecoulement gele", - PRESS_EBULLITION =SIMP(statut='o',typ='R',fr="Pression d'ebullition [corrp*psat(t)]" ), - ), - FROTTEMENT =SIMP(statut='o',typ='I',into=(-4,-3,-2,-1,0,1,2,3,4,11,12,13,14),fr="Correlation de frottement [ifrot]" ), - b_frottement =BLOC(condition="FROTTEMENT<0",fr="Modele d'ecoulement gele", - REYNOLDS_LIM =SIMP(statut='o',typ='R',fr="Coefficient de Reynolds limite [relim]" ), - FROTTEMENT_LIM =SIMP(statut='o',typ='R',fr="Coefficient de frottement impose [frtlim]" ), - ), - - TRANSFERT_CHAL =SIMP(statut='o',typ='I',into=(-12,-11,-2,-1,0,1,2,11,12),fr="Transfert de chaleur [ichal]" ), - b_transchal =BLOC(condition="TRANSFERT_CHAL<0", fr="Cas diphasique", - XMINCH =SIMP(statut='o',typ='R',fr="Titre massique gazeux min [xminch]"), - XMAXCH =SIMP(statut='o',typ='R',fr="Titre massique gazeux max [xmaxch]"), - ), - ), - - -# DONNEES RELATIVES A LA CONVERGENCE NUMERIQUE -# ******************************************** - - CONVERGENCE =FACT(statut='o',min=1,max=1, - KGTEST =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=1.E+0,defaut= 0.5E+0, - fr="Parametre de l'algorithme iteratif [kgtest]" ), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut= 400, - fr="Nombre maximum d'iterations de la methode de Newton [itnmax]" ), - CRIT_CONV_DEBI =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=1.E+0,defaut= 1.E-5, - fr="Critere de convergence en debit [precdb]" ), - ), - -# GENERAL -# ******* - - COURBES =SIMP(statut='f',typ='TXM',into=("INTERACTIF","POSTSCRIPT","AUCUNE"),defaut="AUCUNE", - fr="Generation eventuelle des courbes" ), - LOGICIEL =SIMP(statut='f',typ='TXM',validators=LongStr(1,255),), - VERSION =SIMP(statut='f',typ='TXM',into = ("3.2.1",) ), - ENTETE =SIMP(statut='f',typ='TXM',max='**',defaut="Titre du calcul Ecrevisse" ), - IMPRESSION =SIMP(statut='f',typ='TXM',defaut='NON',into=( 'OUI','NON') ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: josselin.delmas at edf.fr -def calc_erreur_prod(RESULTAT,**args): - if AsType(RESULTAT) != None : return AsType(RESULTAT) - raise AsException("type de concept resultat non prevu") - -CALC_ERREUR=OPER(nom="CALC_ERREUR",op=42,sd_prod=calc_erreur_prod,reentrant='f', - UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - fr="Compléter ou créer un résultat en calculant des champs d'erreur", - MODELE =SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - - RESULTAT =SIMP(statut='o',typ=resultat_sdaster, - fr="Résultat d'une commande globale"), - - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_INST','LIST_FREQ','LIST_ORDRE','NOM_CAS'), - ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM' ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI"), - -#----------------------------------------------------------------------- -# pour conserver la compatibilité mais ne sert à rien -#----------------------------------------------------------------------- - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - EXCIT =FACT(statut='f',max='**', - fr="Charges contenant les températures, les efforts répartis pour les poutres...", - regles=(EXCLUS('FONC_MULT','COEF_MULT',),), - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca),), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),), - COEF_MULT =SIMP(statut='f',typ='R'),), -#----------------------------------------------------------------------- - - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO(phenomene='ERREUR',),), - - b_erre_qi =BLOC(condition = "au_moins_un(OPTION, ('QIRE_ELEM','QIZ1_ELEM','QIZ2_ELEM','QIRE_ELNO','QIRE_NOEU'))", - RESU_DUAL=SIMP(statut='o',typ=resultat_sdaster,fr="Résultat du problème dual"),), - - b_sing =BLOC(condition= "au_moins_un(OPTION, 'SING_ELEM')", - PREC_ERR=SIMP(statut='o',typ='R',val_min= 0., - fr="Précision demandée pour calculer la carte de taille des éléments"), - TYPE_ESTI=SIMP(statut='f',typ='TXM',into=("ERME_ELEM","ERZ1_ELEM","ERZ2_ELEM", - "QIRE_ELEM","QIZ1_ELEM","QIZ2_ELEM",), - fr="Choix de l'estimateur d'erreur"),), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR (utilisé actuellement pour estimateur d'erreur ZZ1) - SOLVEUR =C_SOLVEUR('CALC_ERREUR'), -#------------------------------------------------------------------- - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== - -# person_in_charge: albert.alarcon at edf.fr - - -def calc_essai_prod(self,RESU_IDENTIFICATION, - RESU_MODIFSTRU, - **args): - - if RESU_IDENTIFICATION != None: - for res in RESU_IDENTIFICATION: - self.type_sdprod(res['TABLE'],interspectre) - - MTYPES = { - 'MODELE' : modele_sdaster, - 'MODE_MECA' : mode_meca, - 'NUME_DDL' : nume_ddl_sdaster, - 'MAILLAGE' : maillage_sdaster, - 'MASS_MECA' : matr_asse_depl_r, - 'RIGI_MECA' : matr_asse_depl_r, - 'AMOR_MECA' : matr_asse_depl_r, - 'MACR_ELEM' : macr_elem_stat, - 'PROJ_MESU' : mode_gene, - 'BASE_ES' : mode_meca, - 'BASE_LMME' : mode_meca, - 'MODE_STA' : mode_meca, - } - if RESU_MODIFSTRU != None: - for res in RESU_MODIFSTRU: - for mc, typ in MTYPES.items(): - if res[mc]: - self.type_sdprod(res[mc], typ) - return None - - -CALC_ESSAI = MACRO(nom = 'CALC_ESSAI', - op = OPS('Macro.calc_essai_ops.calc_essai_ops'), - sd_prod = calc_essai_prod, - reentrant = 'n', - UIinfo = {"groupes":("Outils-métier","Dynamique",)}, - fr = "Outil de post-traitement interactif pour Meidee ", - INTERACTIF = SIMP( statut='f',typ='TXM',into=('OUI','NON'),defaut='OUI' ), - RESU_IDENTIFICATION = FACT( statut='f',max='**', - TABLE = SIMP(statut='f', typ=CO), - ), - RESU_MODIFSTRU = FACT( statut='f', max=1, - MODELE=SIMP(statut='f',typ=CO,defaut=None), - MODE_MECA=SIMP(statut='f',typ=CO,defaut=None), - MAILLAGE=SIMP(statut='f',typ=CO,defaut=None), - NUME_DDL=SIMP(statut='f',typ=CO,defaut=None), - MASS_MECA=SIMP(statut='f',typ=CO,defaut=None), - RIGI_MECA=SIMP(statut='f',typ=CO,defaut=None), - AMOR_MECA=SIMP(statut='f',typ=CO,defaut=None), - MACR_ELEM=SIMP(statut='f',typ=CO,defaut=None), - PROJ_MESU=SIMP(statut='f',typ=CO,defaut=None), - BASE_ES=SIMP(statut='f',typ=CO,defaut=None), - BASE_LMME=SIMP(statut='f',typ=CO,defaut=None), - MODE_STA=SIMP(statut='f',typ=CO,defaut=None), - ), - - b_inter = BLOC( condition="INTERACTIF=='NON'", - - EXPANSION = FACT( statut='f',max='**', - CALCUL = SIMP(statut='o',typ=mode_meca), - NUME_MODE_CALCUL = SIMP(statut='f',typ='I',validators=NoRepeat(), - max='**',defaut=0), - MESURE = SIMP(statut='o',typ=mode_meca), - NUME_MODE_MESURE = SIMP(statut='f',typ='I',validators=NoRepeat(), - max='**',defaut=0), - RESOLUTION = SIMP(statut='f',typ='TXM',defaut='SVD',into=('SVD','LU')), - b_reso = BLOC(condition = "RESOLUTION=='SVD'", - EPS = SIMP(statut='f',typ='R', defaut = 0.) - ) - ), - IDENTIFICATION = FACT( statut='f',max='**', - ALPHA = SIMP(statut='f',typ='R', defaut = 0.), - EPS = SIMP(statut='f',typ='R', defaut = 0.), - OBSERVABILITE = SIMP(statut='o',typ=mode_meca), - COMMANDABILITE = SIMP(statut='o',typ=mode_meca), - INTE_SPEC = SIMP(statut='o',typ=interspectre), - RESU_EXPANSION = SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON')), - BASE = SIMP(statut='o',typ=mode_meca), - ), - MODIFSTRUCT = FACT( statut='f', max=1, - MESURE = SIMP(statut='o', typ=mode_meca), - MODELE_SUP = SIMP(statut='o', typ=modele_sdaster), - MATR_RIGI = SIMP(statut='o', typ=matr_asse_depl_r), - RESOLUTION = SIMP(statut='f', typ='TXM', - into=('ES', 'LMME'), defaut='ES'), - b_resol = BLOC( condition = "RESOLUTION=='LMME'", - MATR_MASS = SIMP(statut='o', typ=matr_asse_depl_r), - ), - NUME_MODE_MESU = SIMP(statut='o', typ='I',max='**'), - NUME_MODE_CALCUL = SIMP(statut='o', typ='I',max='**'), - MODELE_MODIF = SIMP(statut='o', typ=modele_sdaster), - ), - # Si on realise une modification structurale, on donne les DDL capteurs et interface - b_modif = BLOC( condition="MODIFSTRUCT!=None", - GROUP_NO_CAPTEURS = FACT( statut='f', max='**', - GROUP_NO = SIMP(statut='o',typ=grno,), - NOM_CMP = SIMP(statut='o',typ='TXM', max='**'), - ), - GROUP_NO_EXTERIEUR = FACT( statut='f', max='**', - GROUP_NO = SIMP(statut='o',typ=grno,), - NOM_CMP = SIMP(statut='o',typ='TXM', max='**'), - ), - ), - ), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sam.cuvilliez at edf.fr - -def calc_essai_geomeca_prod(self, - ESSAI_TD, - ESSAI_TND, - ESSAI_CISA_C, - ESSAI_TND_C, - #ESSAI_XXX, - **args): - List_essais = [] - if ESSAI_TD != None : List_essais += ESSAI_TD.List_F() - if ESSAI_TND != None : List_essais += ESSAI_TND.List_F() - if ESSAI_CISA_C != None : List_essais += ESSAI_CISA_C.List_F() - if ESSAI_TND_C != None : List_essais += ESSAI_TND_C.List_F() - #if ESSAI_XXX != None : List_essais += ESSAI_XXX.List_F() - for DicoEssai in List_essais : - if DicoEssai.has_key('TABLE_RESU'): - for Table in DicoEssai['TABLE_RESU']: - self.type_sdprod(Table,table_sdaster) - return None - - -CALC_ESSAI_GEOMECA = MACRO(nom="CALC_ESSAI_GEOMECA", - op=OPS('Macro.calc_essai_geomeca_ops.calc_essai_geomeca_ops'), - sd_prod=calc_essai_geomeca_prod, - UIinfo={"groupes":("",)}, - reentrant='n', - fr="", - MATER = SIMP(statut='o',typ=mater_sdaster), - COMPORTEMENT = C_COMPORTEMENT(), - CONVERGENCE = C_CONVERGENCE(), - regles=(AU_MOINS_UN('COMPORTEMENT'), # car COMPORTEMENT est facultatif dans C_COMPORTEMENT - AU_MOINS_UN( - 'ESSAI_TD' , - 'ESSAI_TND' , - 'ESSAI_CISA_C', - 'ESSAI_TND_C' , - #'ESSAI_XXX' , - ),), - # --- - # Essai Triaxial Monotone Draine ('TD') - # --- - ESSAI_TD = FACT(statut='f',max='**', - - PRES_CONF = SIMP(statut='o',typ='R',max='**',), - EPSI_IMPOSE = SIMP(statut='o',typ='R',max='**',), - NB_INST = SIMP(statut='f',typ='I',val_min=100,defaut=100), - - TABLE_RESU = SIMP(statut='f',typ=CO,max='**',validators=NoRepeat(),), - GRAPHIQUE = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into= ('P-Q','EPS_AXI-Q','EPS_AXI-EPS_VOL',), - defaut=('P-Q','EPS_AXI-Q','EPS_AXI-EPS_VOL',),), - TABLE_REF = SIMP(statut='f',typ=table_sdaster,max='**',), - - ), - - # --- - # Essai Triaxial Monotone Non Draine ('TND') - # --- - ESSAI_TND = FACT(statut='f',max='**', - - PRES_CONF = SIMP(statut='o',typ='R',max='**',), - EPSI_IMPOSE = SIMP(statut='o',typ='R',max='**',), - BIOT_COEF = SIMP(statut='f',typ='R',defaut=1.,), - NB_INST = SIMP(statut='f',typ='I',val_min=100,defaut=100), - - TABLE_RESU = SIMP(statut='f',typ=CO,max='**',validators=NoRepeat(),), - GRAPHIQUE = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into= ('P-Q','EPS_AXI-Q','EPS_AXI-PRE_EAU',), - defaut=('P-Q','EPS_AXI-Q','EPS_AXI-PRE_EAU',),), - TABLE_REF = SIMP(statut='f',typ=table_sdaster,max='**',), - - ), - - # --- - # Essai de Cisaillement Cyclique Draine ('CISA_C') - # --- - ESSAI_CISA_C = FACT(statut='f',max='**', - - PRES_CONF = SIMP(statut='o',typ='R',max='**',), - EPSI_IMPOSE = SIMP(statut='o',typ='R',max='**',), - EPSI_ELAS = SIMP(statut='f',typ='R',defaut=1.E-7,val_max=1.E-7), - NB_CYCLE = SIMP(statut='o',typ='I',val_min=1), - NB_INST = SIMP(statut='f',typ='I',val_min=25,defaut=25), - - TABLE_RESU = SIMP(statut='f',typ=CO,max='**',validators=NoRepeat(),), - GRAPHIQUE = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into= ('EPSXY-SIGXY','EPSXY-G','EPSXY-D',), - defaut=('EPSXY-SIGXY','EPSXY-G','EPSXY-D',),), - TABLE_REF = SIMP(statut='f',typ=table_sdaster,max='**',), - - ), - - # --- - # Essai Triaxial Non Draine Cyclique ('TND_C') - # --- - ESSAI_TND_C = FACT(statut='f',max='**', - - PRES_CONF = SIMP(statut='o',typ='R',max='**',), - SIGM_IMPOSE = SIMP(statut='o',typ='R',max='**',), - BIOT_COEF = SIMP(statut='f',typ='R',defaut=1.,), - UN_SUR_K = SIMP(statut='o',typ='R',), - NB_CYCLE = SIMP(statut='o',typ='I',val_min=1), - NB_INST = SIMP(statut='f',typ='I',val_min=25,defaut=25), - - TABLE_RESU = SIMP(statut='f',typ=CO,max='**',validators=NoRepeat(),), - GRAPHIQUE = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into= ('NCYCL-DSIGM','P-Q','SIG_AXI-PRE_EAU',), - defaut=('NCYCL-DSIGM','P-Q','SIG_AXI-PRE_EAU',),), - TABLE_REF = SIMP(statut='f',typ=table_sdaster,max='**',), - - ), - - # --- - # Essai ... ('XXX') - # --- - #ESSAI_XXX = FACT(statut='f',max='**', - # - # PRES_CONF = SIMP(statut='o',typ='R',max='**',), - # ... - # - # TABLE_RESU = SIMP(statut='f',typ=CO,max='**',validators=NoRepeat(),), - # GRAPHIQUE = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - # into= ('XXX','XXX','XXX',), - # defaut=('XXX','XXX','XXX',),), - # TABLE_REF = SIMP(statut='f',typ=table_sdaster,max='**',), - # - # ), - - INFO = SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ),) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aimery.assire at edf.fr - -def calc_europlexus_prod(self,COURBE=None,**args): - if COURBE is not None: - self.type_sdprod(args['TABLE_COURBE'],table_sdaster) - return evol_noli - -CALC_EUROPLEXUS = MACRO(nom="CALC_EUROPLEXUS", - op=OPS('Macro.calc_europlexus_ops.calc_europlexus_ops'), - sd_prod=calc_europlexus_prod, - reentrant='n', - UIinfo={"groupes":("Outils-métier","Dynamique",)}, - fr="Chainage Code_Aster-Europlexus", - regles=(PRESENT_ABSENT('ETAT_INIT','MODELE'), - PRESENT_ABSENT('ETAT_INIT','CARA_ELEM'), - PRESENT_ABSENT('ETAT_INIT','CHAM_MATER'), - EXCLUS('ETAT_INIT','FONC_PARASOL'), - AU_MOINS_UN('COMPORTEMENT'),), - LOGICIEL = SIMP(statut='f', typ='TXM', defaut='/home/europlex/EPXD/bin/europlexus'), - LANCEMENT = SIMP(statut='f', typ='TXM', defaut='OUI',into=('OUI','NON')), - - ETAT_INIT = FACT(statut='f', - RESULTAT = SIMP(statut='o',typ=evol_noli), - CONTRAINTE = SIMP(statut='f', typ='TXM', defaut='NON',into=('OUI','NON')), - EQUILIBRE = SIMP(statut='f', typ='TXM', defaut='OUI',into=('OUI','NON')), - b_niter =BLOC(condition = "CONTRAINTE == 'NON' ", - NITER = SIMP(statut='f',typ='I',defaut=1), - ), - ), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - - FONC_PARASOL = FACT(statut='f', - regles=(PRESENT_PRESENT('NFKT','NFKR'),), - NFKT = SIMP(statut='f',typ=(fonction_sdaster,)), - NFKR = SIMP(statut='f',typ=(fonction_sdaster,)), - NFAT = SIMP(statut='f',typ=(fonction_sdaster,)), - NFAR = SIMP(statut='f',typ=(fonction_sdaster,)), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - - - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - COMPORTEMENT =C_COMPORTEMENT('CALC_EUROPLEXUS'), - - EXCIT = FACT(statut='o',max='**', - CHARGE = SIMP(statut='o',typ=(char_meca,)), - FONC_MULT = SIMP(statut='f',typ=(fonction_sdaster,)), - ), - - DIME = FACT(statut='f', regles=(AU_MOINS_UN('UNITE_DIME','Q4GS','FORCE', - 'PT6L','ZONE','POUT','ECRO', - 'APPU','BLOQ','PRESS','PMAT', - 'DKT3','DEPL','FNOM','TABLE','FTAB', - 'MTTI','NEPE','LIAI',), ), - UNITE_DIME=SIMP(statut='f',typ='I'), - - Q4GS = SIMP(statut='f',typ='I'), - FORCE = SIMP(statut='f',typ='I'), - PT6L = SIMP(statut='f',typ='I'), - ZONE = SIMP(statut='f',typ='I'), - POUT = SIMP(statut='f',typ='I'), - ECRO = SIMP(statut='f',typ='I'), - APPU = SIMP(statut='f',typ='I'), - BLOQ = SIMP(statut='f',typ='I'), - PRESS = SIMP(statut='f',typ='I',min=2,max=2,), - PMAT = SIMP(statut='f',typ='I'), - DKT3 = SIMP(statut='f',typ='I'), - DEPL = SIMP(statut='f',typ='I'), - FNOM = SIMP(statut='f',typ='I'), - TABLE = SIMP(statut='f',typ='I',min=2,max=2,), - FTAB = SIMP(statut='f',typ='I'), - MTTI = SIMP(statut='f',typ='I'), - NEPE = SIMP(statut='f',typ='I'), - LIAI = SIMP(statut='f',typ='I'), - ), - - CALCUL = FACT(statut='o', - TYPE_DISCRETISATION = SIMP(statut='o',typ='TXM',defaut='AUTO',into=('AUTO','UTIL')), - INST_FIN = SIMP(statut='o',typ='R'), - INST_INIT = SIMP(statut='o',typ='R'), - NMAX = SIMP(statut='f',typ='R'), - - b_auto =BLOC( condition = "TYPE_DISCRETISATION=='AUTO'", - CSTAB = SIMP(statut='o',typ='R',defaut=0.3), -# DTMAX = SIMP(statut='f',typ='R'), - ), - - b_util =BLOC( condition = "TYPE_DISCRETISATION=='UTIL'", - PASFIX = SIMP(statut='o',typ='R'), - ), - ), - - - OBSERVATION =FACT(statut='f',max='**', - SUIVI_DDL = SIMP(statut='o',typ='TXM',defaut="OUI",max=1,into=("OUI","NON")), - b_suivi =BLOC(condition = "SUIVI_DDL == 'OUI' ", - regles=( AU_MOINS_UN('PAS_NBRE','PAS_INST',), - EXCLUS('PAS_NBRE','PAS_INST',), - EXCLUS('GROUP_NO','TOUT_GROUP_NO',), - EXCLUS('GROUP_MA','TOUT_GROUP_MA',), ), - NOM_CHAM = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',defaut=('DEPL',),into=('DEPL' - ,'VITE','ACCE','SIEF_ELGA','EPSI_ELGA','VARI_ELGA'),), - PAS_INST = SIMP(statut='f',typ='R'), - PAS_NBRE = SIMP(statut='f',typ='I'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TOUT_GROUP_NO = SIMP(statut='f',typ='TXM',into=('OUI',),), - TOUT_GROUP_MA = SIMP(statut='f',typ='TXM',into=('OUI',),), - ), - ), - - - ARCHIVAGE =FACT(statut='o', regles=( AU_MOINS_UN('PAS_NBRE','PAS_INST',), EXCLUS('PAS_NBRE','PAS_INST',), ), - PAS_INST = SIMP(statut='f',typ='R'), - PAS_NBRE = SIMP(statut='f',typ='I'), - CONT_GENER = SIMP(statut='o',typ='TXM',defaut="OUI",max=1,into=("OUI","NON")), - ), - COURBE = FACT(statut='f',max='**', regles=(EXCLUS('GROUP_NO','GROUP_MA')), - UNITE_ALIT = SIMP(statut='f',typ='I'), - NOM_CHAM = SIMP(statut='f',typ='TXM'), - NOM_CMP = SIMP(statut='f',typ='TXM'), -# NOEUD = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), -# MAILLE = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max=1), - - b_maille = BLOC(condition = "GROUP_MA != None", regles=(AU_MOINS_UN('NUM_GAUSS')), - NUM_GAUSS = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'),), - ), - b_courbe = BLOC(condition = "COURBE != None", - regles=(AU_MOINS_UN('PAS_NBRE_COURBE','PAS_INST_COURBE',), - AU_MOINS_UN('TABLE_COURBE',)), - PAS_INST_COURBE = SIMP(statut='f',typ='R'), - PAS_NBRE_COURBE = SIMP(statut='f',typ='I'), - TABLE_COURBE = SIMP(statut='f', typ=CO), - ), - DOMAINES = FACT(statut='f',max='**', - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - IDENTIFIANT = SIMP(statut='f',typ='I'),), - INTERFACES = FACT(statut='f',max='**', - GROUP_MA_1 = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA_2 = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TOLE = SIMP(statut='f',typ='R'), - IDENT_DOMAINE_1 = SIMP(statut='f',typ='I'), - IDENT_DOMAINE_2 = SIMP(statut='f',typ='I'),), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=( 1, 2 ) ), - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: van-xuan.tran at edf.fr -def calc_fatigue_prod(TYPE_CALCUL,OPTION,**args): - if TYPE_CALCUL == "CUMUL_DOMMAGE" : return cham_elem - if TYPE_CALCUL == "FATIGUE_MULTI" and OPTION == "DOMA_ELGA": return cham_elem - if TYPE_CALCUL == "FATIGUE_MULTI" and OPTION == "DOMA_NOEUD": return cham_no_sdaster - if TYPE_CALCUL == "FATIGUE_VIBR" : return cham_elem - raise AsException("type de calcul non prevu") - -CALC_FATIGUE=OPER(nom="CALC_FATIGUE",op= 151,sd_prod=calc_fatigue_prod,reentrant='n', - fr="Calculer un champ de dommage de fatigue subit par une structure et déterminer le plan critique" - +" dans lequel le cisaillement est maximal.", - UIinfo={"groupes":("Post-traitements","Rupture",)}, - - TYPE_CALCUL = SIMP(statut='o',typ='TXM', - into=("CUMUL_DOMMAGE","FATIGUE_MULTI","FATIGUE_VIBR") ), - - b_cumul_domma =BLOC(condition = "TYPE_CALCUL == 'CUMUL_DOMMAGE'", - fr="Calcul d un champ de dommage subi par une structure.", - regles=(PRESENT_PRESENT('DOMMAGE','MATER', ),), - OPTION =SIMP(statut='o',typ='TXM', - into=("DOMA_ELNO_SIGM","DOMA_ELGA_SIGM", - "DOMA_ELNO_EPSI","DOMA_ELGA_EPSI", - "DOMA_ELNO_EPME","DOMA_ELGA_EPME") ), - - b_sigm =BLOC(condition = "OPTION == 'DOMA_ELNO_SIGM' or OPTION == 'DOMA_ELGA_SIGM'", - fr="Calcul a partir d un champ de contraintes.", - HISTOIRE =FACT(statut='o', - RESULTAT =SIMP(statut='o',typ=(evol_elas,dyna_trans, - evol_noli) ), - EQUI_GD =SIMP(statut='f',typ='TXM',defaut="VMIS_SG", - into=("VMIS_SG",) ), - ), - ), - b_epsi =BLOC(condition = "OPTION != 'DOMA_ELNO_SIGM' and OPTION != 'DOMA_ELGA_SIGM'", - fr="Calcul a partir d un champ de déformations.", - HISTOIRE =FACT(statut='o', - RESULTAT =SIMP(statut='o',typ=(evol_elas,dyna_trans, - evol_noli) ), - EQUI_GD =SIMP(statut='o',typ='TXM',defaut="INVA_2_SG", - into=("INVA_2_SG",) ), - ), - ), - DOMMAGE =SIMP(statut='o',typ='TXM', - into=("WOHLER","MANSON_COFFIN","TAHERI_MANSON", - "TAHERI_MIXTE",) ), - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - TAHERI_NAPPE =SIMP(statut='f',typ=(nappe_sdaster,formule) ), - TAHERI_FONC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - b_domma_moda =BLOC(condition = "TYPE_CALCUL == 'FATIGUE_VIBR'", - fr="Calcul d un champ de dommage en dynamique vibratoire", - regles=(PRESENT_PRESENT('DOMMAGE','MATER', ),), - OPTION =SIMP(statut='o',typ='TXM', - into=("DOMA_ELNO_SIGM","DOMA_ELGA_SIGM",) ), - CORR_SIGM_MOYE = SIMP(statut='o',typ='TXM',into=("GOODMAN","GERBER")), - HISTOIRE =FACT(statut='o', - RESULTAT =SIMP(statut='o',typ=(evol_elas, evol_noli) ), - MODE_MECA =SIMP(statut='o',typ=(mode_meca) ), - NUME_MODE =SIMP(statut='o',typ='I',min=1 ,max='**'), - FACT_PARTICI =SIMP(statut='o',typ='R',min=1, max='**',defaut=1. ), - EQUI_GD =SIMP(statut='f',typ='TXM',defaut="VMIS_SG", - into=("VMIS_SG",) ), - ), - DOMMAGE =SIMP(statut='o',typ='TXM', - into=("WOHLER",) ), - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - ), - - b_fatigue_multi =BLOC(condition = "TYPE_CALCUL == 'FATIGUE_MULTI'", - fr="Plan critique dans le cas de la fatigue multiaxiale à grand nombre de cycles.", - TYPE_CHARGE =SIMP(statut='o',typ='TXM',into=("PERIODIQUE","NON_PERIODIQUE") ), - OPTION =SIMP(statut='o',typ='TXM',into=("DOMA_ELGA","DOMA_NOEUD") ), - RESULTAT =SIMP(statut='o',typ=(evol_elas, evol_noli) ), - CHAM_MATER =SIMP(statut='f',typ=(cham_mater) ), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster ), - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**' ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**' ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**' ), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**' ), - COEF_PREECROU =SIMP(statut='f',typ='R',defaut= 1.0E+0), - b_period =BLOC(condition = "TYPE_CHARGE == 'PERIODIQUE'", - CRITERE =SIMP(statut='o',typ='TXM',into=("MATAKE_MODI_AC", - "DANG_VAN_MODI_AC","VMIS_TRESCA","FORMULE_CRITERE") ), - b_fati_p =BLOC(condition = "(CRITERE == 'MATAKE_MODI_AC' or CRITERE == 'DANG_VAN_MODI_AC')", - METHODE =SIMP(statut='o',typ='TXM',into=("CERCLE_EXACT",) ), - ), - - b_fati_pf =BLOC(condition = "(CRITERE == 'FORMULE_CRITERE')", - FORMULE_GRDEQ = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - COURBE_GRD_VIE = SIMP(statut='o',typ='TXM',into=("WOHLER","MANSON_C","FORM_VIE") ), - FORMULE_CRITIQUE = SIMP(statut='f',typ=(fonction_sdaster,formule) ), - b_fati_pfvie = BLOC(condition = "(COURBE_GRD_VIE == 'FORM_VIE')", - FORMULE_VIE =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - ), - - INST_INIT_CYCL =SIMP(statut='f',typ='R',min=1, max=1), - INST_CRIT =SIMP(statut='f',typ='TXM',into=("RELATIF","ABSOLU",) ), - regles=(PRESENT_PRESENT('INST_INIT_CYCL','INST_CRIT', ),), - b_prec_rela=BLOC(condition="(INST_CRIT=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6),), - b_prec_abso=BLOC(condition="(INST_CRIT=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - ), - b_non_period =BLOC(condition = "TYPE_CHARGE == 'NON_PERIODIQUE'", - CRITERE =SIMP(statut='o',typ='TXM', - into=("MATAKE_MODI_AV","DANG_VAN_MODI_AV","FATESOCI_MODI_AV","FORMULE_CRITERE","VMIS_TRESCA") ), - b_fati_np =BLOC(condition = - "(CRITERE != 'VMIS_TRESCA')", - PROJECTION =SIMP(statut='o',typ='TXM',into=("UN_AXE", "DEUX_AXES") ), - DELTA_OSCI =SIMP(statut='f',typ='R',defaut= 0.0E+0), - ), - b_fati_npf =BLOC(condition = "(CRITERE == 'FORMULE_CRITERE')", - FORMULE_GRDEQ =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - COURBE_GRD_VIE = SIMP(statut='o',typ='TXM',into=("WOHLER","MANSON_C","FORM_VIE") ), - b_fati_npfvie = BLOC(condition = "(COURBE_GRD_VIE == 'FORM_VIE')", - FORMULE_VIE =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - ), - ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def calc_ferraillage_prod(RESULTAT,**args): - if AsType(RESULTAT) != None : return AsType(RESULTAT) - raise AsException("type de concept resultat non prevu") - - -CALC_FERRAILLAGE=OPER(nom="CALC_FERRAILLAGE",op=175,sd_prod=calc_ferraillage_prod, reentrant='o', - UIinfo={"groupes":("Post-traitements","Outils-métier",)}, - fr="calcul de cartes de densité de ferraillage ", - - RESULTAT =SIMP(statut='o',typ=(evol_elas,evol_noli,dyna_trans,) ), - - -#==== -# Sélection des numéros d'ordre pour lesquels on fait le calcul : -#==== - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - - b_acce_reel =BLOC(condition="(FREQ != None)or(LIST_FREQ != None)or(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - - -# -#==== -# Définition des grandeurs caractéristiques -#==== -# - TYPE_COMB =SIMP(statut='o',typ='TXM',into=('ELU','ELS')), - -# mot clé facteur répétable pour assigner les caractéristiques locales par zones topologiques (GROUP_MA) - AFFE =FACT(statut='o',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - ENROBG =SIMP(statut='o',typ='R'), # enrobage - CEQUI =SIMP(statut='f',typ='R'), # coefficient d'équivalence acier/béton (pour ELS) - SIGM_ACIER =SIMP(statut='o',typ='R'), # contrainte admissible dans l'acier - SIGM_BETON =SIMP(statut='o',typ='R'), # contrainte admissible dans le béton - PIVA =SIMP(statut='f',typ='R'), # valeur du pivot a (pour ELU) - PIVB =SIMP(statut='f',typ='R'), # valeur du pivot b (pour ELU) - ES =SIMP(statut='f',typ='R'), # valeur du Module d'Young de l'acier (pour ELU) - ), - ) - - -############################################################################################################## -# Remarques : -#----------- -# l'épaisseur des coques sera récupérée automatiquement -# via le cara_elem sous-jacent au résultat - -# Le résultat produit est un champ constant par éléments associé à la grandeur FER2_R -# qui comporte les composantes : -# -# DNSXI densité d'acier longitudinal suivant X, peau inf -# DNSXS densité d'acier longitudinal suivant X, peau sup -# DNSYI densité d'acier longitudinal suivant Y, peau inf -# DNSYS densité d'acier longitudinal suivant Y, peau sup -# DNST densité d'acier transversal à l'ELU -# SIGMBE contrainte beton -# EPSIBE deformation béton - -# arrêt en erreur si: -# - EFGE_ELNO n'a pas été précédemment calculé et n'est donc pas présent dans la structure de données RESULTAT -# - si aucun CARA_ELEM n'est récupérable via la structure de données RESULTAT - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -CALC_FLUI_STRU=OPER(nom="CALC_FLUI_STRU",op= 144,sd_prod=melasflu_sdaster, - reentrant='n', - fr="Calculer les paramètres modaux d'une structure soumise à un écoulement", - UIinfo={"groupes":("Matrices et vecteurs",)}, - VITE_FLUI =FACT(statut='f', - fr="Définir la plage de vitesse fluide étudiée", - VITE_MIN =SIMP(statut='f',typ='R' ), - VITE_MAX =SIMP(statut='f',typ='R' ), - NB_POIN =SIMP(statut='f',typ='I' ), - ), - BASE_MODALE =FACT(statut='o', - - regles=(AU_MOINS_UN('AMOR_REDUIT','AMOR_UNIF','AMOR_REDUIT_CONN'),), - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - NUME_ORDRE =SIMP(statut='f',typ='I',max='**'), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**',val_min=0.E+00), - AMOR_UNIF =SIMP(statut='f',typ='R',val_min=0.E+00 ), - AMOR_REDUIT_CONN=SIMP(statut='f',typ='R',max='**',val_min=0.E+00), - ), - TYPE_FLUI_STRU =SIMP(statut='o',typ=type_flui_stru ), - IMPRESSION =FACT(statut='f', - fr="Choix des informations à imprimer dans le fichier RESULTAT", - PARA_COUPLAGE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - DEFORMEE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def calc_fonc_interp_prod(FONCTION, NOM_PARA_FONC, **args): - if AsType(FONCTION) == nappe_sdaster: - return nappe_sdaster - elif AsType(FONCTION) == fonction_sdaster: - return fonction_sdaster - elif AsType(FONCTION) == fonction_c: - return fonction_c - elif AsType(FONCTION) == formule_c: - return fonction_c - elif AsType(FONCTION) == formule: - if NOM_PARA_FONC != None: - return nappe_sdaster - return fonction_sdaster - raise AsException("type de concept resultat non prevu") - -CALC_FONC_INTERP=OPER(nom="CALC_FONC_INTERP",op= 134,sd_prod=calc_fonc_interp_prod, - docu="U4.32.01",reentrant='n', - fr="Définit une fonction (ou une nappe) à partir d'une fonction FORMULE à 1 ou 2 variables", - UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('VALE_PARA','LIST_PARA'),), - FONCTION =SIMP(statut='o',typ=(formule,fonction_sdaster,nappe_sdaster,fonction_c) ), - VALE_PARA =SIMP(statut='f',typ='R',max='**'), - LIST_PARA =SIMP(statut='f',typ=listr8_sdaster ), - NOM_RESU =SIMP(statut='f',typ='TXM'), - NOM_PARA =SIMP(statut='f',typ='TXM'), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',into=("EXCLU","CONSTANT","LINEAIRE") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',into=("EXCLU","CONSTANT","LINEAIRE") ), - NOM_PARA_FONC =SIMP(statut='f',typ='TXM'), - b_eval_nappe =BLOC(condition = "NOM_PARA_FONC != None", - regles=(UN_PARMI('VALE_PARA_FONC','LIST_PARA_FONC'),), - VALE_PARA_FONC =SIMP(statut='f',typ='R',max='**'), - LIST_PARA_FONC =SIMP(statut='f',typ=listr8_sdaster ), - INTERPOL_FONC =SIMP(statut='f',typ='TXM',max=2,into=("NON","LIN","LOG")), - PROL_DROITE_FONC=SIMP(statut='f',typ='TXM',into=("EXCLU","CONSTANT","LINEAIRE") ), - PROL_GAUCHE_FONC=SIMP(statut='f',typ='TXM',into=("EXCLU","CONSTANT","LINEAIRE") ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def calc_fonction_prod(self, DERIVE, EXTRACTION, INTEGRE, INVERSE, COMB, COMB_C, MULT, - ENVELOPPE, FRACTILE, SPEC_OSCI, ASSE, FFT, COMPOSE, CORR_ACCE, - PUISSANCE, LISS_ENVELOP, ABS, REGR_POLYNOMIALE, DSP, **args): - - if (INTEGRE != None): return fonction_sdaster - if (DERIVE != None): return fonction_sdaster - if (INVERSE != None): return fonction_sdaster - if (COMB != None): - type_vale=AsType(COMB[0]['FONCTION']) - for mcfact in COMB : - if(AsType(mcfact['FONCTION'])!=type_vale): - raise AsException("CALC_FONCTION/COMB : pas de types hétérogènes nappe/fonction") - return type_vale - if (COMB_C != None): - vale=COMB_C[0]['FONCTION'] - if(AsType(vale) == nappe_sdaster): - for mcfact in COMB_C[1:] : - if(AsType(mcfact['FONCTION'])!=nappe_sdaster): - raise AsException("CALC_FONCTION/COMB_C : pas de types hétérogènes nappe/fonction") - return nappe_sdaster - else: - for mcfact in COMB_C : - if(AsType(mcfact['FONCTION'])==nappe_sdaster): - raise AsException("CALC_FONCTION/COMB_C : pas de types hétérogènes nappe/fonction") - return fonction_c - if (ENVELOPPE != None): return AsType(ENVELOPPE[0]['FONCTION']) - if (FRACTILE != None): return AsType(FRACTILE[0] ['FONCTION']) - if (EXTRACTION != None): return fonction_sdaster - if (SPEC_OSCI != None): return nappe_sdaster - if (DSP != None): return fonction_sdaster - if (COMPOSE != None): return fonction_sdaster - if (ASSE != None): return fonction_sdaster - if (MULT != None): - type_vale = AsType(MULT[0]['FONCTION']) - for mcfact in MULT: - if(AsType(mcfact['FONCTION']) != type_vale): - raise AsException("CALC_FONCTION/MULT : pas de types hétérogènes nappe/fonction") - return type_vale - if (FFT != None): - vale=FFT[0]['FONCTION'] - if (AsType(vale) == fonction_sdaster ) : return fonction_c - if (AsType(vale) == fonction_c) : return fonction_sdaster - if (CORR_ACCE != None): return fonction_sdaster - if (LISS_ENVELOP!= None): return nappe_sdaster - if (REGR_POLYNOMIALE != None): return fonction_sdaster - if (PUISSANCE != None): return AsType(PUISSANCE[0]['FONCTION']) - if (ABS != None): return fonction_sdaster - raise AsException("type de concept resultat non prevu") - - -CALC_FONCTION=MACRO(nom="CALC_FONCTION", - op=OPS('Macro.calc_fonction_ops.calc_fonction_ops'), - sd_prod=calc_fonction_prod, - fr="Effectue des opérations mathématiques sur des concepts de type fonction", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('DERIVE', 'INTEGRE', 'SPEC_OSCI', 'DSP', 'FFT', 'CORR_ACCE', - 'COMB', 'COMB_C', 'MULT', 'ASSE', 'INVERSE', 'ABS', - 'ENVELOPPE', 'COMPOSE', 'EXTRACTION', 'PUISSANCE', - 'LISS_ENVELOP', 'FRACTILE', 'REGR_POLYNOMIALE'),), - FFT =FACT(statut='f',fr="Transformée de Fourier ou de son inverse", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,fonction_c) ), - METHODE =SIMP(statut='f',typ='TXM',defaut="PROL_ZERO",into=("PROL_ZERO","TRONCATURE","COMPLET") ), - b_syme =BLOC ( condition = " AsType(FONCTION)==fonction_c ", - SYME =SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='OUI' ), - ), - ), - DERIVE =FACT(statut='f',fr="Dérivée d une fonction", - METHODE =SIMP(statut='f',typ='TXM',defaut="DIFF_CENTREE",into=("DIFF_CENTREE",) ), - FONCTION =SIMP(statut='o',typ=fonction_sdaster ), - ), - INTEGRE =FACT(statut='f',fr="Intégrale d'une fonction", - METHODE =SIMP(statut='f',typ='TXM',defaut="TRAPEZE",into=("SIMPSON","TRAPEZE") ), - FONCTION =SIMP(statut='o',typ=fonction_sdaster), - COEF =SIMP(statut='f',typ='R',defaut= 0.E+0,fr="Valeur de la constante d intégration" ), - ), - LISS_ENVELOP = FACT(statut='f',fr="Lissage d une enveloppe", - NAPPE =SIMP(statut='o',typ=nappe_sdaster ), - FREQ_MIN =SIMP(statut='f',typ='R',defaut =0.2), - FREQ_MAX =SIMP(statut='f',typ='R',defaut =35.5), - ELARG =SIMP(statut='f',typ='R',defaut =0.1 ), - TOLE_LISS =SIMP(statut='f',typ='R',defaut =0.25 ), - ), - REGR_POLYNOMIALE = FACT(statut='f',fr="Régression polynomiale d'une fonction", - FONCTION =SIMP(statut='o',typ=fonction_sdaster), - DEGRE =SIMP(statut='o',typ='I'), - ), - SPEC_OSCI =FACT(statut='f',fr="Spectre d'oscillateur", - METHODE =SIMP(statut='f',typ='TXM',defaut="NIGAM",into=("NIGAM","HARMO","RICE") ), - FONCTION =SIMP(statut='o',typ=fonction_sdaster ), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - FREQ =SIMP(statut='f',typ='R', max='**'), - NORME =SIMP(statut='o',typ='R',fr="Valeur de la norme du spectre d oscillateur" ), - NATURE =SIMP(statut='f',typ='TXM',defaut="ACCE",into=("DEPL","VITE","ACCE") ), - b_methode =BLOC(condition = "METHODE !='RICE' ", - NATURE_FONC =SIMP(statut='f', typ='TXM', defaut="ACCE", into=("ACCE",),),), - b_rice =BLOC(condition = "METHODE =='RICE' ", - DUREE =SIMP(statut='o', typ='R', val_min=0., - fr="durée de la phase forte pour facteur de pic"), - NATURE_FONC =SIMP(statut='f', typ='TXM', defaut="DSP", into=("DSP",),),), - ), - DSP =FACT(statut='f', fr="Densité spectrale", - FONCTION =SIMP(statut='o', typ=fonction_sdaster ), - AMOR_REDUIT =SIMP(statut='o', typ='R', val_min=0., val_max=1.), - NORME =SIMP(statut='o', typ='R'), - LIST_FREQ =SIMP(statut='f', typ=listr8_sdaster ), - FREQ_PAS =SIMP(statut='f', typ='R'), - regles=(UN_PARMI('FREQ_PAS','LIST_FREQ'),), - FREQ_COUP =SIMP(statut='o', typ='R', fr="fréquence de coupure" ), - DUREE =SIMP(statut='o', typ='R', val_min=0., - fr="durée de la phase forte pour facteur de peak"), - FRACT =SIMP(statut='o', typ='R', defaut=0.5, val_min=0., val_max=1., fr="fractile" ), - ), - ABS =FACT(statut='f',fr="Valeur absolue d'une fonction", - FONCTION =SIMP(statut='o',typ=fonction_sdaster,), - ), - COMB =FACT(statut='f',max='**',fr="Combinaison linéaire réelle de fonctions", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster) ), - COEF =SIMP(statut='o',typ='R',fr="Coefficient réel de la combinaison linéaire associée à la fonction" ), - ), - COMB_C =FACT(statut='f',max='**',fr="Combinaison linéaire complexe de fonctions", - regles=(UN_PARMI('COEF_R','COEF_C'),), - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,fonction_c,nappe_sdaster) ), - COEF_R =SIMP(statut='f',typ='R',fr="Coefficient réel de la combinaison linéaire associée à la fonction" ), - COEF_C =SIMP(statut='f',typ='C',fr="Coefficient complexe de la combinaison linéaire associée à la fonction" ), - ), - MULT =FACT(statut='f',max='**',fr="Produit de fonctions réelles", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,fonction_c,nappe_sdaster) ), - ), - b_comb =BLOC ( condition = "COMB != None or COMB_C != None " \ - "or REGR_POLYNOMIALE != None or MULT != None", - LIST_PARA =SIMP(statut='f',typ=listr8_sdaster ), - ), - COMPOSE =FACT(statut='f',fr="Composition de deux fonctions FONC_RESU(FONC_PARA)", - FONC_RESU =SIMP(statut='o',typ=fonction_sdaster), - FONC_PARA =SIMP(statut='o',typ=fonction_sdaster), - ), - EXTRACTION =FACT(statut='f',fr="Extraction sur une fonction complexe", - FONCTION =SIMP(statut='o',typ=fonction_c), - PARTIE =SIMP(statut='o',typ='TXM',into=("REEL","IMAG","MODULE","PHASE"),fr="Partie à extraire"), - ), - ENVELOPPE =FACT(statut='f',fr="Enveloppe d une famille de fonctions", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster),max='**' ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="SUP",into=("SUP","INF"),fr="Type de l enveloppe" ), - ), - FRACTILE =FACT(statut='f',fr="Fractile d une famille de fonctions ou de nappes", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster),max='**' ), - FRACT =SIMP(statut='o',typ='R',defaut=1.,val_min=0.,val_max=1.,fr="Valeur du fractile" ), - ), - ASSE =FACT(statut='f',fr="Concatenation de fonctions", - FONCTION =SIMP(statut='o',typ=fonction_sdaster,min=2,max=2 ), - SURCHARGE =SIMP(statut='f',typ='TXM',defaut="DROITE",into=("DROITE","GAUCHE")), - ), - CORR_ACCE =FACT(statut='f',fr="Correction d un accelerogramme reel", - CORR_DEPL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - FONCTION =SIMP(statut='o',typ=fonction_sdaster ), - ), - PUISSANCE =FACT(statut='f',fr="Fonction élevée à une puissance", - FONCTION =SIMP(statut='o', typ=(fonction_sdaster,nappe_sdaster) ), - EXPOSANT =SIMP(statut='f', typ='I', defaut=1 ), - ), - INVERSE =FACT(statut='f',fr="Inverse d'une fonction", - FONCTION =SIMP(statut='o', typ=fonction_sdaster), - ), - NOM_PARA =SIMP(statut='f',typ='TXM',into=C_PARA_FONCTION() ), - NOM_RESU =SIMP(statut='f',typ='TXM' ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,into=("NON","LIN","LOG"), - fr="Type d'interpolation pour les abscisses et les ordonnées de la " \ - "fonction ou bien pour le paramètre de la nappe."), - PROL_DROITE =SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - NOM_PARA_FONC =SIMP(statut='f',typ='TXM',into=C_PARA_FONCTION() ), - INTERPOL_FONC =SIMP(statut='f',typ='TXM',max=2,into=("NON","LIN","LOG"), - fr="Type d'interpolation pour les abscisses et les ordonnées de la fonction"), - PROL_DROITE_FONC=SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE_FONC=SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -CALC_FORC_AJOU=OPER(nom="CALC_FORC_AJOU",op=199,sd_prod=vect_asse_gene, - fr="Calculer l'effet de surpression hydrodynamique due au mouvement d'entrainement de la structure" - +" en analyse sismique", - reentrant ='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - - regles=(EXCLUS('MODE_MECA','MODELE_GENE'), - PRESENT_PRESENT( 'MODELE_GENE','NUME_DDL_GENE'), - UN_PARMI('MONO_APPUI', 'NOEUD','GROUP_NO'), - UN_PARMI('MONO_APPUI','MODE_STAT')), - - MODELE_FLUIDE =SIMP(statut='o',typ=modele_sdaster ), - MODELE_INTERFACE=SIMP(statut='o',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='o',typ=char_ther ), - MODE_MECA =SIMP(statut='f',typ=mode_meca ), - MODELE_GENE =SIMP(statut='f',typ=modele_gene ), - NUME_DDL_GENE =SIMP(statut='f',typ=nume_ddl_gene ), - DIST_REFE =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - AVEC_MODE_STAT =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - NUME_MODE_MECA =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - POTENTIEL =SIMP(statut='f',typ=evol_ther ), - NOEUD_DOUBLE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - - DIRECTION =SIMP(statut='o',typ='R',max=3), - MONO_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MODE_STAT =SIMP(statut='f',typ=mode_meca,), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('CALC_FORC_AJOU'), -#------------------------------------------------------------------- - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2010 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr - -CALC_FORC_NONL=OPER(nom="CALC_FORC_NONL",op= 183,sd_prod=dyna_trans,reentrant='n', - fr="Créer un dyna_trans contenant des champs nommés 'DEPL' correspondant à 'FONL_NOEU' ", - UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - RESULTAT =SIMP(statut='o',typ=resultat_sdaster), - - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_INST','LIST_FREQ','LIST_ORDRE','NOM_CAS'), - ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM' ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1, defaut="FONL_NOEU", - into=("FONL_NOEU",) ), - - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - - COMPORTEMENT =C_COMPORTEMENT(), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr -CALC_G=OPER(nom="CALC_G",op=100,sd_prod=table_sdaster, - fr="Calcul du taux de restitution d'énergie par la méthode theta en thermo-élasticité" - +" et les facteurs d'intensité de contraintes.", - reentrant='f', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - - THETA =FACT(statut='o', - THETA =SIMP(statut='f',typ=(theta_geom,cham_no_sdaster),), - FOND_FISS =SIMP(statut='f',typ=fond_fiss,max=1), - FISSURE =SIMP(statut='f',position='global',typ=fiss_xfem,max=1), - NB_POINT_FOND =SIMP(statut='f',typ='I',val_min=2), - regles=( - EXCLUS('FOND_FISS','NB_POINT_FOND'), - UN_PARMI('THETA','FOND_FISS','FISSURE') - ), - b_theta =BLOC(condition="THETA == None",fr="calcul de theta", - regles=(PRESENT_PRESENT('R_INF','R_SUP'), - PRESENT_PRESENT('R_INF_FO','R_SUP_FO'), ), - NUME_FOND =SIMP(statut='f',typ='I',defaut=1), - R_INF =SIMP(statut='f',typ='R'), - R_SUP =SIMP(statut='f',typ='R'), - MODULE =SIMP(statut='f',typ='R',defaut=1.), - DIRE_THETA =SIMP(statut='f',typ=cham_no_sdaster ), - DIRECTION =SIMP(statut='f',typ='R',max=3,min=3), - R_INF_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_SUP_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MODULE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - b_no_fond_fiss =BLOC(condition="FOND_FISS== None", - SYME =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - ), - - RESULTAT =SIMP(statut='o',typ=(evol_elas,evol_noli,dyna_trans,mode_meca,mult_elas),), - - b_no_mult =BLOC(condition="(AsType(RESULTAT) != mult_elas)", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST', - 'TOUT_MODE','NUME_MODE','LIST_MODE','FREQ','LIST_FREQ'),), - - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - TOUT_MODE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_MODE =SIMP(statut='f',typ=listis_sdaster), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - - b_acce_reel =BLOC(condition="(INST != None)or(LIST_INST != None)or(FREQ != None)or(LIST_FREQ != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - ), - ), - - b_mult_elas =BLOC(condition="(AsType(RESULTAT) == mult_elas)", - NOM_CAS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**' ), - ), - - b_no_mult_elas =BLOC(condition="(AsType(RESULTAT) != mult_elas)", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='f',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE",into=("FIXE",) ), - ), - ), - - COMPORTEMENT =FACT(statut='f', - RELATION =SIMP( statut='o',typ='TXM',into=C_RELATION('CALC_G')), - DEFORMATION =SIMP(statut='f',typ='TXM',defaut="PETIT",into=("PETIT","PETIT_REAC") ), - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - - b_init =BLOC(condition="RELATION=='ELAS'",), - SIGM_INIT=SIMP(statut='f', typ=(cham_no_sdaster,cham_elem)), - ), - -# ETAT_INIT =FACT(statut='f', -# SIGM =SIMP(statut='f',typ=cham_elem), -# DEPL =SIMP(statut='f',typ=cham_no_sdaster), -# ), - LISSAGE =FACT(statut='d', - LISSAGE_THETA =SIMP(statut='f',typ='TXM',defaut="LEGENDRE",into=("LEGENDRE","LAGRANGE","LAGRANGE_REGU"),), - LISSAGE_G =SIMP(statut='f',typ='TXM',defaut="LEGENDRE",into=("LEGENDRE","LAGRANGE", - "LAGRANGE_NO_NO","LAGRANGE_REGU"),), - b_legen =BLOC(condition="(LISSAGE_THETA=='LEGENDRE') or (LISSAGE_G=='LEGENDRE')", - DEGRE =SIMP(statut='f',typ='I',defaut=5,into=(0,1,2,3,4,5,6,7) ), - ), - ), - - OPTION =SIMP(statut='o',typ='TXM',max=1,defaut='CALC_G', - into=("CALC_G", - "CALC_G_GLOB", - "CALC_K_G", - "G_MAX", - "G_MAX_GLOB", - "G_BILI", - "G_BILI_GLOB", - "CALC_K_MAX"), - ), - - b_g_max =BLOC(condition="(OPTION=='G_MAX') or (OPTION=='G_MAX_GLOB')", - BORNES =FACT(statut='o',max='**', - NUME_ORDRE =SIMP(statut='o',typ='I'), - VALE_MIN =SIMP(statut='o',typ='R'), - VALE_MAX =SIMP(statut='o',typ='R'), - ), - ), - b_k_max =BLOC(condition="(OPTION=='CALC_K_MAX')", - SIGNES =FACT(statut='o',max=1, - CHARGE_S =SIMP(statut='o',typ='I',validators=NoRepeat(),max='**'), - CHARGE_NS =SIMP(statut='o',typ='I',validators=NoRepeat(),max='**'), - ), - ), - - b_cal_contrainte =BLOC(condition="(COMPORTEMENT!=None and (OPTION=='CALC_G' or OPTION=='CALC_G_GLOB'))", - CALCUL_CONTRAINTE =SIMP(statut='f',typ='TXM',into=("NON",),), - ), - - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: renaud.bargellini at edf.fr -#Quoi qu'il en soit, on sort la table GP -#Si on est sans copeau et que l'utilisateur souhaite verifier -#les copeaux automatiquement crees, il peut grace a CHAMP_COP -def calc_gp_prod(self,TRANCHE_2D,GPMAX, **args): - """Typage des sd_prod - """ - if TRANCHE_2D!=None: - if TRANCHE_2D['ZONE_MAIL']== "NON": - for ss_cop in TRANCHE_2D: - if ss_cop['CHAMP_VISU']!= None: - self.type_sdprod(ss_cop['CHAMP_VISU'], cham_elem) - if GPMAX !=None: - self.type_sdprod(GPMAX, table_sdaster) - return table_sdaster - - -CALC_GP =MACRO(nom="CALC_GP", - op=OPS('Macro.calc_gp_ops.calc_gp_ops'), - sd_prod=calc_gp_prod, -# sd_prod=table_sdaster, - UIinfo={"groupes":("Outils-métier","Rupture",)}, - reentrant='n', - fr="calcul du parametre de clivage energetique Gp en 2D et en 3D", - regles=UN_PARMI('TRANCHE_2D','TRANCHE_3D'), - RESULTAT =SIMP(statut='o',typ=resultat_sdaster, - fr="Resultat d'une commande globale STAT_NON_LINE"), - LIST_INST = SIMP(statut='o',typ=(listr8_sdaster) ), - PRECISION = SIMP(statut='f',typ='R',validators=NoRepeat(),val_min=0.,val_max=1E-3,defaut=1E-6), - CRITERE = SIMP(statut='f',typ='TXM',defaut="ABSOLU",into=("RELATIF","ABSOLU") ), - TRANCHE_2D = FACT(statut='f',max = 1, - ZONE_MAIL = SIMP(statut='o',typ='TXM',into=("NON","OUI") ), - b_cop= BLOC(condition = "ZONE_MAIL=='OUI'", - fr="Les copeaux sont mailles", - GROUP_MA = SIMP(statut='o', typ=grma, validators=NoRepeat(), max='**'), - TAILLE =SIMP(statut='o',typ=listr8_sdaster),), - b_ss_cop = BLOC(condition="ZONE_MAIL=='NON'", - fr="Les copeaux ne sont pas mailles", - CENTRE =SIMP(statut='o',typ='R',max=2), - RAYON =SIMP(statut='o',typ='R',max=1), - ANGLE =SIMP(statut='o',typ='R',max=1), - TAILLE =SIMP(statut='o',typ='R',max=1), - NB_ZONE =SIMP(statut='o',typ='I',), - CHAMP_VISU =SIMP(statut='f',typ=CO),), - ), - TRANCHE_3D = FACT(statut='f',max ='**', - GROUP_MA = SIMP(statut='o', typ=grma, validators=NoRepeat(), max='**'), - ), - b_tranche_2d = BLOC(condition="TRANCHE_2D!=None", - SYME =SIMP(statut='o',typ='TXM',into=("NON","OUI"), - fr="multiplication par 2 si SYME=OUI"),), - b_tranche_3d = BLOC(condition="TRANCHE_3D!=None", - FOND_FISS =SIMP(statut='o',typ=fond_fiss,max=1,),), - GPMAX = SIMP(statut='f',typ=CO,), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -# -# MACRO DE COUPLAGE IFS AVEC SATURNE VIA YACS -# -CALC_IFS_DNL= MACRO(nom='CALC_IFS_DNL', - op=OPS("Macro.calc_ifs_dnl_ops.calc_ifs_dnl_ops"), - sd_prod=evol_noli, - reentrant='f', - fr="Calcul de l'évolution dynamique d'une structure couplée à un "\ - "domaine fluide (résolu avec le code Saturne) via YACS", - UIinfo={"groupes":("Résolution","Dynamique",)}, - -#IFS -#=> - GROUP_MA_IFS =SIMP(statut='o',typ=grma,max='**'), - NOM_CMP_IFS =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**'), - UNITE_NOEUD =SIMP(statut='f',typ='I',defaut= 81 ), - UNITE_ELEM =SIMP(statut='f',typ='I',defaut= 82 ), - PAS_INIT =SIMP(statut='o',typ='R' ), -#<= -#IFS - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - MODE_STAT =SIMP(statut='f',typ=mode_meca), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - MASS_DIAG =SIMP(statut='f',typ='TXM',into=("OUI","NON",) ), -#IFS -#=> -#(une charge force nodale est fournie par le couplage avec code_saturne - EXCIT =FACT(statut='f',max='**', -#<= -#IFS - regles=(PRESENT_ABSENT('FONC_MULT','ACCE'), - PRESENT_PRESENT('ACCE','VITE','DEPL'), - ), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE","SUIV","DIDI")), -#IFS -#=> -#(une charge force nodale est fournie par le couplage avec code_saturne -# CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - CHARGE =SIMP(statut='f',typ=(char_meca,char_cine_meca)), -#<= -#IFS - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MULT_APPUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - EXCIT_GENE =FACT(statut='f',max='**', - FONC_MULT =SIMP(statut='f',typ=fonction_sdaster,max='**' ), - VECT_GENE =SIMP(statut='f',typ=vect_asse_gene,max='**' ), - ), - CONTACT =SIMP(statut='f',typ=char_contact), - SOUS_STRUC =FACT(statut='f',min=01,max='**', - regles=(UN_PARMI('TOUT','SUPER_MAILLE'),), - CAS_CHARGE =SIMP(statut='o',typ='TXM' ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - SUPER_MAILLE=SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**',), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - AMOR_RAYL_RIGI = SIMP(statut='f',typ='TXM',defaut="TANGENTE",into=("TANGENTE","ELASTIQUE"),), - AMOR_MODAL =FACT(statut='f', - regles=(EXCLUS('AMOR_REDUIT','LIST_AMOR'),), - MODE_MECA =SIMP(statut='f',typ=mode_meca), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**' ), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - NB_MODE =SIMP(statut='f',typ='I',defaut= 9999 ), - REAC_VITE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - PROJ_MODAL =FACT(statut='f',max='**', - MODE_MECA =SIMP(statut='o',typ=mode_meca), - NB_MODE =SIMP(statut='f',typ='I',defaut= 9999 ), - regles=(PRESENT_PRESENT('MASS_GENE','RIGI_GENE'),), - MASS_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - RIGI_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - AMOR_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - DEPL_INIT_GENE =SIMP(statut='f',typ=vect_asse_gene), - VITE_INIT_GENE =SIMP(statut='f',typ=vect_asse_gene), - ACCE_INIT_GENE =SIMP(statut='f',typ=vect_asse_gene), - ), -#------------------------------------------------------------------- - COMPORTEMENT =C_COMPORTEMENT('DYNA_NON_LINE'), -#------------------------------------------------------------------- - b_reuse =BLOC(condition = "reuse",fr="en mode concept reentrant : ETAT_INIT obligatoire", - ETAT_INIT =FACT(statut='o', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','VITE','ACCE','SIGM','VARI',), - EXCLUS('EVOL_NOLI','DEPL',), - EXCLUS('EVOL_NOLI','VITE'), - EXCLUS('EVOL_NOLI','ACCE'), - EXCLUS('EVOL_NOLI','SIGM',), - EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - VITE =SIMP(statut='f',typ=cham_no_sdaster), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(cham_elem,carte_sdaster)), - VARI =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ),), - b_not_reuse =BLOC(condition = "not reuse",fr="en mode concept non reentrant : ETAT_INIT facultatif", - ETAT_INIT =FACT(statut='f', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','VITE','ACCE','SIGM','VARI',), - EXCLUS('EVOL_NOLI','DEPL',), - EXCLUS('EVOL_NOLI','VITE'), - EXCLUS('EVOL_NOLI','ACCE'), - EXCLUS('EVOL_NOLI','SIGM',), - EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - VITE =SIMP(statut='f',typ=cham_no_sdaster), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(cham_elem,carte_sdaster)), - VARI =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ),), -#------------------------------------------------------------------- -#IFS : pas besoin d'INCREMENT -# INCREMENT =C_INCREMENT('MECANIQUE'), -#------------------------------------------------------------------- - SCHEMA_TEMPS =FACT(statut='o', - SCHEMA =SIMP(statut='o',min=1,max=1,typ='TXM', - into=("DIFF_CENT","TCHAMWA","NEWMARK","HHT","THETA_METHODE","KRENK"),), - COEF_MASS_SHIFT =SIMP(statut='f',typ='R',defaut= 0.0E+0 ), - b_tchamwa = BLOC(condition="SCHEMA=='TCHAMWA'", - PHI =SIMP(statut='f',typ='R',defaut= 1.05),), - - b_newmark = BLOC(condition="SCHEMA=='NEWMARK'", - BETA =SIMP(statut='f',typ='R',defaut= 0.25), - GAMMA =SIMP(statut='f',typ='R',defaut= 0.5),), - - b_hht = BLOC(condition="SCHEMA=='HHT'", - ALPHA =SIMP(statut='f',typ='R',defaut= -0.3 ), - MODI_EQUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"),),), - - b_theta = BLOC(condition="SCHEMA=='THETA_METHODE'", - THETA =SIMP(statut='f',typ='R',defaut= 1.,val_min=0.5,val_max=100. ),), - - b_krenk = BLOC(condition="SCHEMA=='KRENK'", - KAPPA =SIMP(statut='f',typ='R',defaut= 1.0,val_min=1.0,val_max=100. ),), - - b_explicit= BLOC(condition="SCHEMA=='TCHAMWA'or SCHEMA=='DIFF_CENT'", - STOP_CFL =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - FORMULATION =SIMP(statut='o',typ='TXM',into=("ACCELERATION",),),), - - b_implicit= BLOC(condition="SCHEMA!='TCHAMWA'and SCHEMA!='DIFF_CENT'", - FORMULATION =SIMP(statut='o',max=1,typ='TXM',into=("DEPLACEMENT","VITESSE","ACCELERATION"),),), - ), -#------------------------------------------------------------------- - NEWTON =C_NEWTON(), -#------------------------------------------------------------------- - RECH_LINEAIRE =C_RECH_LINEAIRE(), -#------------------------------------------------------------------- - CONVERGENCE =C_CONVERGENCE(), -#------------------------------------------------------------------- - SOLVEUR =C_SOLVEUR('CALC_IFS_DNL'), -#------------------------------------------------------------------- - OBSERVATION =C_OBSERVATION(), -#------------------------------------------------------------------- - SUIVI_DDL =C_SUIVI_DDL(), -#------------------------------------------------------------------- - AFFICHAGE =C_AFFICHAGE(), -#------------------------------------------------------------------- - ARCHIVAGE =C_ARCHIVAGE(), -#------------------------------------------------------------------- - CRIT_STAB =FACT(statut='f',min=1,max=1, - NB_FREQ =SIMP(statut='f',typ='I',max=1,val_min=1,defaut=3), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I',max=1,val_min=2,defaut=5), - RIGI_GEOM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - b_char_crit=BLOC(condition="(RIGI_GEOM=='OUI')", - CHAR_CRIT =SIMP(statut='f',typ='R',min=2,max=2, - fr="Valeur des deux charges critiques délimitant la bande de recherche en HPP"),), - MODI_RIGI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - TYPE =SIMP(statut='f',typ='TXM',defaut="FLAMBEMENT",into=("FLAMBEMENT","STABILITE")), - PREC_INSTAB =SIMP(statut='f',typ='R',defaut=1.E-6,max=1,), - SIGNE =SIMP(statut='f',typ='TXM',defaut=("POSITIF_NEGATIF"),into=("NEGATIF","POSITIF","POSITIF_NEGATIF"),max=1,), - bloc_rigi_geom=BLOC(condition="(RIGI_GEOM=='NON'or MODI_RIGI=='OUI')", - DDL_EXCLUS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=40, - into=('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON','DCX', - 'DCY','DCZ','H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21','PRES22','PRES23', - 'PRES31','PRES32','PRES33','VARI','LAG_GV','DAMG','DH')), - bloc_type_stab =BLOC(condition= "TYPE == 'STABILITE' and RIGI_GEOM == 'NON'", - DDL_STAB =SIMP(statut='o',typ='TXM',validators=NoRepeat(),min=1,max=40, - into=('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON','DCX', - 'DCY','DCZ','H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21','PRES22','PRES23', - 'PRES31','PRES32','PRES33','VARI','LAG_GV','DAMG','DH')),), - ), - regles = (EXCLUS('PAS_CALC','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_CALC = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - MODE_VIBR =FACT(statut='f',min=1,max=1, - MATR_RIGI =SIMP(statut='f',typ='TXM',defaut="ELASTIQUE",into=("ELASTIQUE","TANGENTE","SECANTE",) ), - NB_FREQ =SIMP(statut='f',typ='I',max=1,val_min=1,defaut=3, - fr="Nombre de fréquences propres à calculer"), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I',max=1,val_min=2,defaut=5), - BANDE =SIMP(statut='f',typ='R',min=2,max=2, - fr="Valeur des deux fréquences délimitant la bande de recherche",), - regles = (EXCLUS('PAS_CALC','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_CALC = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), -#------------------------------------------------------------------- - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - b_info=BLOC(condition="(INFO==2)", - fr="filtre les messages émis dans le .mess selon le type de message demandé", - INFO_DBG = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into=("CONTACT", - "MECA_NON_LINE", - "PILOTAGE", - "FACTORISATION", - "APPARIEMENT"), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -CALC_INTE_SPEC=OPER(nom="CALC_INTE_SPEC",op= 120,sd_prod=interspectre, - fr="Calcul d'une matrice interspectrale à partir d'une fonction du temps", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - INST_INIT =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - INST_FIN =SIMP(statut='o',typ='R' ), - DUREE_ANALYSE =SIMP(statut='f',typ='R' ), - DUREE_DECALAGE =SIMP(statut='f',typ='R' ), - NB_POIN =SIMP(statut='o',typ='I' ), - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule),max='**' ), - TITRE =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: romeo.fernandes at edf.fr - - -CALC_MAC3COEUR = MACRO(nom="CALC_MAC3COEUR", - op=OPS("Mac3coeur.calc_mac3coeur_ops.calc_mac3coeur_ops"), - sd_prod=evol_noli, - - TYPE_COEUR = SIMP(statut='o',typ='TXM',into=("MONO","TEST","900","1300","N4","EPR"),position='global' ), - # TYPE DE COEUR A CONSIDERER - TABLE_N = SIMP(statut='o',typ=table_sdaster), # TABLE INITIALE DES DAMAC A L INSTANT N - MAILLAGE_N = SIMP(statut='f',typ=maillage_sdaster), # MAILLAGE EN ATTENDANT MIEUX ??? - - LAME = FACT(statut='f',max=1, - fr="Estimation des lames d'eau entre AC", - TABLE_NP1 = SIMP(statut='o',typ=table_sdaster), # TABLE INITIALE DES DAMAC A L INSTANT N+1 - MAILLAGE_NP1 = SIMP(statut='o',typ=maillage_sdaster),), # MAILLAGE EN ATTENDANT MIEUX ??? - - DEFORMATION = FACT(statut='f',max=1, - fr="Estimation des deformations des AC", - RESU_INIT = SIMP(statut='f',typ=resultat_sdaster), - NIVE_FLUENCE = SIMP(statut='o',typ='R',validators=NoRepeat(),max=1), # FLUENCE MAXIMALE DANS LE COEUR - UNITE_THYC = SIMP(statut='o',typ='I', max=1), - - # choix du maintien dans le cas mono-assemblage - b_maintien_mono = BLOC(condition = "TYPE_COEUR == 'MONO'", - - TYPE_MAINTIEN = SIMP(statut='o',typ='TXM',into=("FORCE","DEPL_PSC"), ), - - b_maintien_mono_force = BLOC(condition = "TYPE_MAINTIEN == 'FORCE'", - fr="valeur de l'effort de maintien imposée", - FORCE_MAINTIEN =SIMP(statut='o',typ='R', max=1),), - - ), - - # choix du maintien dans le cas d'un coeur à plusieurs assemblages - b_maintien_coeur = BLOC(condition = "TYPE_COEUR != 'MONO'", - - TYPE_MAINTIEN = SIMP(statut='f',typ='TXM',into=("DEPL_PSC",),defaut="DEPL_PSC" ), - - ), - - ), - -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -CALC_MATR_AJOU=OPER(nom="CALC_MATR_AJOU",op= 152,sd_prod=matr_asse_gene_r, - fr="Calcul des matrices de masse, d'amortissement ou de rigidité ajoutés", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(EXCLUS('MODE_MECA','CHAM_NO','MODELE_GENE'), - PRESENT_ABSENT('NUME_DDL_GENE','CHAM_NO'), - PRESENT_PRESENT('MODELE_GENE','NUME_DDL_GENE'),), - MODELE_FLUIDE =SIMP(statut='o',typ=modele_sdaster ), - MODELE_INTERFACE=SIMP(statut='o',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='o',typ=char_ther ), - MODE_MECA =SIMP(statut='f',typ=mode_meca ), - CHAM_NO =SIMP(statut='f',typ=cham_no_sdaster ), - MODELE_GENE =SIMP(statut='f',typ=modele_gene ), - NUME_DDL_GENE =SIMP(statut='f',typ=nume_ddl_gene ), - DIST_REFE =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - AVEC_MODE_STAT =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - NUME_MODE_MECA =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - OPTION =SIMP(statut='o',typ='TXM',into=("MASS_AJOU","AMOR_AJOU","RIGI_AJOU") ), - POTENTIEL =SIMP(statut='f',typ=evol_ther ), - NOEUD_DOUBLE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('CALC_MATR_AJOU'), -#------------------------------------------------------------------- -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def calc_matr_elem_prod(OPTION,**args): - if OPTION == "RIGI_MECA" : return matr_elem_depl_r - if OPTION == "RIGI_FLUI_STRU" : return matr_elem_depl_r - if OPTION == "MASS_MECA" : return matr_elem_depl_r - if OPTION == "MASS_FLUI_STRU" : return matr_elem_depl_r - if OPTION == "RIGI_GEOM" : return matr_elem_depl_r - if OPTION == "RIGI_ROTA" : return matr_elem_depl_r - if OPTION == "MECA_GYRO" : return matr_elem_depl_r - if OPTION == "RIGI_GYRO" : return matr_elem_depl_r - if OPTION == "AMOR_MECA" : return matr_elem_depl_r - if OPTION == "IMPE_MECA" : return matr_elem_depl_r - if OPTION == "ONDE_FLUI" : return matr_elem_depl_r - if OPTION == "AMOR_MECA_ABSO" : return matr_elem_depl_r - if OPTION == "RIGI_MECA_HYST" : return matr_elem_depl_c - if OPTION == "RIGI_THER" : return matr_elem_temp_r - if OPTION == "MASS_MECA_DIAG" : return matr_elem_depl_r - if OPTION == "RIGI_ACOU" : return matr_elem_pres_c - if OPTION == "MASS_ACOU" : return matr_elem_pres_c - if OPTION == "AMOR_ACOU" : return matr_elem_pres_c - raise AsException("type de concept resultat non prevu") - -CALC_MATR_ELEM=OPER(nom="CALC_MATR_ELEM",op= 9,sd_prod=calc_matr_elem_prod - ,fr="Calcul des matrices élémentaires",reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - - OPTION =SIMP(statut='o',typ='TXM', - into=("RIGI_MECA","MASS_MECA","RIGI_GEOM", - "AMOR_MECA","RIGI_THER","IMPE_MECA", - "ONDE_FLUI","AMOR_MECA_ABSO","MASS_FLUI_STRU","RIGI_FLUI_STRU", - "RIGI_ROTA","MECA_GYRO","RIGI_GYRO","MASS_MECA_DIAG","RIGI_ACOU", - "MASS_ACOU","AMOR_ACOU","RIGI_MECA_HYST") ), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - - # mots clés facultatifs que l'on a du mal à mettre dans les blocs - # sans gener MACRO_MATR_ASSE : - #------------------------------------------------------------------ - INST=SIMP(statut='f',typ='R',defaut= 0.E+0 ), - - - b_rigi_meca = BLOC( condition = "OPTION=='RIGI_MECA'", - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0 ), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**' ), - ), - - b_mass_meca =BLOC(condition = "(OPTION=='MASS_MECA') or (OPTION=='MASS_MECA_DIAG')", - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - ), - - b_rigi_geom =BLOC(condition = "OPTION=='RIGI_GEOM'", - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - SIEF_ELGA =SIMP(statut='o',typ=cham_elem ), - STRX_ELGA =SIMP(statut='f',typ=cham_elem ), - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0 ), - ), - - b_rigi_rota =BLOC(condition = "OPTION=='RIGI_ROTA'", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - CHARGE =SIMP(statut='o',typ=char_meca,validators=NoRepeat(),max='**' ), - ), - - b_meca_gyro = BLOC( condition = "OPTION=='MECA_GYRO'", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**' ), - ), - - b_rigi_gyro = BLOC( condition = "OPTION=='RIGI_GYRO'", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**' ), - ), - - b_amor_meca =BLOC(condition = "OPTION=='AMOR_MECA'", - regles=(AU_MOINS_UN('CARA_ELEM','RIGI_MECA'), - ENSEMBLE('RIGI_MECA','MASS_MECA','CHAM_MATER'), ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - RIGI_MECA =SIMP(statut='f',typ=matr_elem_depl_r ), - MASS_MECA =SIMP(statut='f',typ=matr_elem_depl_r ), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - ), - - b_amor_meca_abso =BLOC(condition = "OPTION=='AMOR_MECA_ABSO'", - regles=(AU_MOINS_UN('CARA_ELEM','RIGI_MECA'), - ENSEMBLE('RIGI_MECA','MASS_MECA','CHAM_MATER'), ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - RIGI_MECA =SIMP(statut='f',typ=matr_elem_depl_r ), - MASS_MECA =SIMP(statut='f',typ=matr_elem_depl_r ), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - ), - - b_rigi_meca_hyst =BLOC( condition = "OPTION=='RIGI_MECA_HYST'", - CHARGE =SIMP(statut='f',typ=char_meca ,validators=NoRepeat(),max='**' ), - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - RIGI_MECA =SIMP(statut='o',typ=matr_elem_depl_r ), - ), - - b_rigi_ther =BLOC(condition = "OPTION=='RIGI_THER'", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0 ), - CHARGE =SIMP(statut='f',typ=char_ther,validators=NoRepeat(),max='**' ), - ), - - b_rigi_acou =BLOC(condition = "OPTION=='RIGI_ACOU'", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='f',typ=char_acou ,validators=NoRepeat(),max='**' ), - ), - - b_mass_acou =BLOC(condition = "(OPTION=='MASS_ACOU') or (OPTION=='AMOR_ACOU')", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='f',typ=char_acou ,validators=NoRepeat(),max='**' ), - ), - - b_rigi_flui =BLOC(condition = "OPTION=='RIGI_FLUI_STRU'", - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='o',typ=char_meca ,validators=NoRepeat(),max='**' ), - ), - - b_mass_flui =BLOC(condition = "OPTION=='MASS_FLUI_STRU'", - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='o',typ=char_meca ,validators=NoRepeat(),max='**'), - ), - - b_impe_meca =BLOC(condition = "(OPTION=='IMPE_MECA') or (OPTION=='ONDE_FLUI')", - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CHARGE =SIMP(statut='o',typ=char_meca,validators=NoRepeat(),max='**' ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: renaud.bargellini at edf.fr -CALC_META=OPER(nom="CALC_META",op=194,sd_prod=evol_ther,reentrant='o', - UIinfo={"groupes":("Post-traitements","Thermique",)}, - fr="Calcule l'évolution métallurgique à partir du résultat d'un calcul thermique", - - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - - MODELE =SIMP(statut='f',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - RESULTAT =SIMP(statut='o',typ=evol_ther ), - - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO(phenomene='METALLURGIE',),), - - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="le calcul ne sera effectué que sur ces mailles là"), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**', - fr="le calcul ne sera effectué que sur ces mailles là"), - - b_meta =BLOC(condition= "au_moins_un(OPTION, ('META_ELNO','META_NOEU'))", - ETAT_INIT =FACT(statut='o', - regles=(UN_PARMI('EVOL_THER', 'META_INIT_ELNO'),), - EVOL_THER =SIMP(statut='f',typ=evol_ther ), - META_INIT_ELNO =SIMP(statut='f',typ=carte_sdaster ), - b_etat =BLOC(condition="EVOL_THER != None", - regles=(UN_PARMI('NUME_INIT', 'INST_INIT',),), - NUME_INIT =SIMP(statut='f',typ='I'), - INST_INIT =SIMP(statut='f',typ='R'), - b_inst =BLOC(condition="INST_INIT != None", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - ), - - COMPORTEMENT =FACT(statut='o',max=1, - RELATION =SIMP(statut='o',typ='TXM',into=("ACIER","ZIRC",) ), - ACIER =SIMP(statut='c',typ='I',defaut=7,into=(7,) ), - ZIRC =SIMP(statut='c',typ='I',defaut=4,into=(4,) ), - - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma, validators=NoRepeat(), max='**'), - MAILLE =SIMP(statut='f',typ=ma, validators=NoRepeat(), max='**'), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -def calc_miss_sdprod(self, TYPE_RESU, **kwargs): - """Typage des structures de données produites""" - if TYPE_RESU in ('TABLE', 'TABLE_CONTROL'): - return table_sdaster - elif TYPE_RESU == 'HARM_GENE': - return harm_gene - elif TYPE_RESU == 'TRAN_GENE': - return tran_gene - else: - return None - -CALC_MISS = MACRO(nom="CALC_MISS", - op=OPS('Macro.calc_miss_ops.calc_miss_ops'), - sd_prod=calc_miss_sdprod, - fr="Préparation des données, exécution du logiciel Miss3D, et post-traitement", - UIinfo={"groupes":("Résolution","Outils-métier",)}, - - TYPE_RESU = SIMP(statut='o', typ='TXM', - into=('HARM_GENE', 'TRAN_GENE', 'TABLE', 'TABLE_CONTROL', - 'FICHIER', 'FICHIER_TEMPS'), - fr="Type de résultat produit en post-traitement. FICHIER : pas de post-traitement"), - PROJET = SIMP(statut='f', typ='TXM', defaut='MODELE', - fr="Nom de l'étude Miss"), - REPERTOIRE = SIMP(statut='f', typ='TXM', - fr="Répertoire de travail de Miss"), - VERSION = SIMP(statut='f', typ='TXM', into=("V6.6","V6.5"), defaut="V6.6", - fr="Version de Miss utilisée"), - - TABLE_SOL = SIMP(statut='o', typ=table_sdaster, - fr="Table des propriétés du sol"), - - # pas de post-traitement - b_basic = BLOC(condition="TYPE_RESU in ('FICHIER', 'TABLE_CONTROL')", - regles=(UN_PARMI('MACR_ELEM_DYNA', 'BASE_MODALE'), - ENSEMBLE('GROUP_MA_FLU_STR', 'GROUP_MA_FLU_SOL', 'GROUP_MA_SOL_SOL'),), - MACR_ELEM_DYNA = SIMP(statut='f', typ=macr_elem_dyna, - fr="Macro élément produit en amont"), - BASE_MODALE = SIMP(statut='f', typ=mode_meca, - fr="Base de modes"), - b_base_modale = BLOC(condition="BASE_MODALE is not None", - MATR_RIGI = SIMP(statut='f', typ=(matr_asse_depl_r, matr_asse_depl_c),), - MATR_MASS = SIMP(statut='f', typ=matr_asse_depl_r ), - ), - AMOR_REDUIT = SIMP(statut='f', typ='R', max='**'), - GROUP_MA_INTERF = SIMP(statut='o', typ=grma, max='**', - fr="Groupe de mailles de l'interface"), - GROUP_MA_FLU_STR = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles fluide-structure"), - GROUP_MA_FLU_SOL = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles fluide-sol"), - GROUP_MA_SOL_SOL = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles sol-sol"), - UNITE_IMPR_ASTER = SIMP(statut='f', typ='I', - fr="Unité des résultats transmis par Code_Aster à Miss"), - UNITE_RESU_IMPE = SIMP(statut='f', typ='I', - fr="Unité logique des impédances écrites par Miss"), - UNITE_RESU_FORC = SIMP(statut='f', typ='I', - fr="Unité logique des forces sismiques écrites par Miss"), - ), - # post-traitement : passage du domaine de Laplace au domaine temporel - b_fichier_temps = BLOC(condition="TYPE_RESU == 'FICHIER_TEMPS'", - regles=(UN_PARMI('MACR_ELEM_DYNA', 'BASE_MODALE'), - AU_MOINS_UN('UNITE_RESU_RIGI','UNITE_RESU_AMOR','UNITE_RESU_MASS'), - PRESENT_PRESENT('UNITE_RESU_AMOR', 'MATR_GENE'), - PRESENT_PRESENT('UNITE_RESU_MASS', 'MATR_GENE'),), - MACR_ELEM_DYNA = SIMP(statut='f', typ=macr_elem_dyna, - fr="Macro élément produit en amont"), - BASE_MODALE = SIMP(statut='f', typ=mode_meca, - fr="Base de modes"), - b_base_modale = BLOC(condition="BASE_MODALE is not None", - MATR_RIGI = SIMP(statut='f', typ=(matr_asse_depl_r, matr_asse_depl_c),), - MATR_MASS = SIMP(statut='f', typ=matr_asse_depl_r ), - ), - AMOR_REDUIT = SIMP(statut='f', typ='R', max='**'), - GROUP_MA_INTERF = SIMP(statut='o', typ=grma, max='**', - fr="Groupe de mailles de l'interface"), - UNITE_IMPR_ASTER = SIMP(statut='f', typ='I', - fr="Unité des résultats transmis par Code_Aster à Miss"), - UNITE_RESU_RIGI =SIMP(statut='f',typ='I'), - UNITE_RESU_AMOR =SIMP(statut='f',typ='I'), - UNITE_RESU_MASS =SIMP(statut='f',typ='I'), - INST_FIN = SIMP(statut='f', typ='R', fr="Instant final du calcul"), - PAS_INST = SIMP(statut='f', typ='R', fr="Pas de temps du calcul"), - PRECISION = SIMP(statut='f',typ='R',defaut=0.000001), - COEF_SURECH = SIMP(statut='f',typ='I',defaut=1 ), - MATR_GENE =FACT(statut='f', max = 1, - DECOMP_IMPE= SIMP(statut='f',typ='TXM',defaut='PRODUIT',into=('PRODUIT','SANS_PRODUIT')), - AMOR_HYST = SIMP(statut='o',typ='TXM',into=('DANS_IMPEDANCE','DANS_MATR_AMOR'), - fr="Indique comment l'amortissement hysteretique est pris en compte"), - b_amor_nohyst = BLOC(condition="AMOR_HYST == 'DANS_MATR_AMOR'", - MATR_MASS = SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_depl_r ) ), - MATR_RIGI = SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_gene_c,matr_asse_depl_r ) ), - MATR_AMOR = SIMP(statut='o',typ=(matr_asse_gene_r,matr_asse_gene_c,matr_asse_depl_r ) ), - ), - b_amor_hyst = BLOC(condition="AMOR_HYST == 'DANS_IMPEDANCE'", - regles = (AU_MOINS_UN('MATR_MASS','MATR_RIGI','MATR_AMOR'),), - MATR_MASS = SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_depl_r ) ), - MATR_RIGI = SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_gene_c,matr_asse_depl_r ) ), - MATR_AMOR = SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_gene_c,matr_asse_depl_r ) ), - ), - ), - EXCIT_SOL =FACT(statut='f', max = 1, - regles = (AU_MOINS_UN('CHAM_X','CHAM_Y','CHAM_Z'),), - UNITE_RESU_FORC =SIMP(statut='o',typ='I', - fr="Unité logique des forces sismiques écrites par Miss"), - NOM_CHAM =SIMP(statut='f',typ='TXM',defaut='DEPL', - into=('ACCE','VITE','DEPL') ), - CHAM_X = SIMP(statut='f', typ=fonction_sdaster,), - CHAM_Y = SIMP(statut='f', typ=fonction_sdaster,), - CHAM_Z = SIMP(statut='f', typ=fonction_sdaster,), - ), - ), - # si post-traitement - b_donnees = BLOC(condition="TYPE_RESU not in ('FICHIER', 'FICHIER_TEMPS', 'TABLE_CONTROL')", - regles=(ENSEMBLE('GROUP_MA_FLU_STR', 'GROUP_MA_FLU_SOL', 'GROUP_MA_SOL_SOL'), - UN_PARMI('MATR_AMOR', 'AMOR_REDUIT'),), - MACR_ELEM_DYNA = SIMP(statut='f', typ=macr_elem_dyna, - fr="Macro élément produit en amont"), - BASE_MODALE = SIMP(statut='o', typ=mode_meca, - fr="Base de modes"), - MATR_RIGI = SIMP(statut='o', typ=(matr_asse_depl_r, matr_asse_depl_c),), - MATR_MASS = SIMP(statut='o', typ=matr_asse_depl_r ), - MATR_AMOR = SIMP(statut='f', typ=matr_asse_depl_r ), - AMOR_REDUIT = SIMP(statut='f', typ='R', max='**'), - GROUP_MA_INTERF = SIMP(statut='o', typ=grma, max='**', - fr="Groupe de mailles de l'interface"), - GROUP_MA_FLU_STR = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles fluide-structure"), - GROUP_MA_FLU_SOL = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles fluide-sol"), - GROUP_MA_SOL_SOL = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles sol-sol"), - UNITE_IMPR_ASTER = SIMP(statut='f', typ='I', - fr="Unité des résultats transmis par Code_Aster à Miss"), - UNITE_RESU_IMPE = SIMP(statut='f', typ='I', - fr="Unité logique des impédances à relire."), - UNITE_RESU_FORC = SIMP(statut='f', typ='I', - fr="Unité logique des forces sismiques à relire"), - ), - # Paramètres du calcul Miss - PARAMETRE = FACT(statut='o', - regles=(PRESENT_PRESENT('OFFSET_MAX', 'OFFSET_NB'), - PRESENT_PRESENT('FREQ_MIN', 'FREQ_MAX','FREQ_PAS'), - UN_PARMI('FREQ_MIN', 'LIST_FREQ', 'FREQ_IMAG'), - PRESENT_PRESENT('SPEC_MAX', 'SPEC_NB'),), - FREQ_MIN = SIMP(statut='f', typ='R'), - FREQ_MAX = SIMP(statut='f', typ='R'), - FREQ_PAS = SIMP(statut='f', typ='R'), - LIST_FREQ = SIMP(statut='f', typ='R', max='**'), - FREQ_IMAG = SIMP(statut='f', typ='R'), - Z0 = SIMP(statut='f', typ='R', defaut=0.), - SURF = SIMP(statut='f', typ='TXM', into=("OUI","NON",), defaut="NON"), - ISSF = SIMP(statut='f', typ='TXM', into=("OUI","NON",), defaut="NON"), - ALLU = SIMP(statut='f', typ='R', defaut=0.), - RFIC = SIMP(statut='f', typ='R', defaut=0.), - - ALGO = SIMP(statut='f', typ='TXM', into=("DEPL","REGU")), - DREF = SIMP(statut='f', typ='R'), - SPEC_MAX = SIMP(statut='f', typ='R'), - SPEC_NB = SIMP(statut='f', typ='I'), - OFFSET_MAX = SIMP(statut='f', typ='R'), - OFFSET_NB = SIMP(statut='f', typ='I'), - TYPE = SIMP(statut='f', typ='TXM', into=("BINAIRE","ASCII",), defaut="ASCII"), - ), - # Post-traitement type 1 - tran_gene - b_post_tran_gene = BLOC(condition="TYPE_RESU == 'TRAN_GENE'", - regles=(AU_MOINS_UN('ACCE_X', 'ACCE_Y', 'ACCE_Z','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - PRESENT_ABSENT('ACCE_X','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - PRESENT_ABSENT('ACCE_Y','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - PRESENT_ABSENT('ACCE_Z','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - ), - MODELE = SIMP(statut='o', typ=(modele_sdaster),), - GROUP_NO = SIMP(statut='f', typ=grno, max='**',), - ACCE_X = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Y = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Z = SIMP(statut='f', typ=fonction_sdaster,), - DEPL_X = SIMP(statut='f', typ=fonction_sdaster,), - DEPL_Y = SIMP(statut='f', typ=fonction_sdaster,), - DEPL_Z = SIMP(statut='f', typ=fonction_sdaster,), - INST_FIN = SIMP(statut='o', typ='R', fr="Instant final du calcul"), - PAS_INST = SIMP(statut='o', typ='R', fr="Pas de temps du calcul"), - ), - # Post-traitement type 1 - harm_gene - b_post_harm_gene = BLOC(condition="TYPE_RESU == 'HARM_GENE'", - regles=(#AU_MOINS_UN('EXCIT_HARMO', 'ACCE_X', 'ACCE_Y', 'ACCE_Z',), - AU_MOINS_UN('EXCIT_HARMO', 'ACCE_X', 'ACCE_Y', 'ACCE_Z','DEPL_X','DEPL_Y','DEPL_Z'), - PRESENT_ABSENT('EXCIT_HARMO', 'ACCE_X', 'ACCE_Y', 'ACCE_Z', 'INST_FIN'), - PRESENT_ABSENT('EXCIT_HARMO', 'DEPL_X', 'DEPL_Y', 'DEPL_Z'), - PRESENT_ABSENT('ACCE_X','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - PRESENT_ABSENT('ACCE_Y','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - PRESENT_ABSENT('ACCE_Z','DEPL_X', 'DEPL_Y', 'DEPL_Z',), - ENSEMBLE('INST_FIN', 'PAS_INST'),), - MODELE = SIMP(statut='o', typ=(modele_sdaster),), - GROUP_NO = SIMP(statut='f', typ=grno, max='**',), - ACCE_X = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Y = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Z = SIMP(statut='f', typ=fonction_sdaster,), - DEPL_X = SIMP(statut='f', typ=fonction_sdaster,), - DEPL_Y = SIMP(statut='f', typ=fonction_sdaster,), - DEPL_Z = SIMP(statut='f', typ=fonction_sdaster,), - INST_FIN = SIMP(statut='f', typ='R', fr="Instant final du calcul"), - PAS_INST = SIMP(statut='f', typ='R', fr="Pas de temps du calcul"), - # identique à EXCIT de DYNA_LINE_HARM au type attendu pour VECT_ASSE près - EXCIT_HARMO = FACT(statut='f', max='**', - regles=(UN_PARMI('VECT_ASSE', 'CHARGE'), - UN_PARMI('FONC_MULT', 'FONC_MULT_C', 'COEF_MULT', 'COEF_MULT_C'),), - VECT_ASSE = SIMP(statut='f', typ=cham_no_sdaster,), - CHARGE = SIMP(statut='f', typ=char_meca), - FONC_MULT_C = SIMP(statut='f', typ=(fonction_c, formule_c),), - COEF_MULT_C = SIMP(statut='f', typ='C'), - FONC_MULT = SIMP(statut='f', typ=(fonction_sdaster, nappe_sdaster, formule) ), - COEF_MULT = SIMP(statut='f', typ='R'), - PHAS_DEG = SIMP(statut='f', typ='R', defaut=0.), - PUIS_PULS = SIMP(statut='f', typ='I', defaut=0), - ), - ), - # Post-traitement type 2 - b_post_table = BLOC(condition="TYPE_RESU == 'TABLE'", - regles=(AU_MOINS_UN('ACCE_X', 'ACCE_Y', 'ACCE_Z'),), - MODELE = SIMP(statut='o', typ=(modele_sdaster),), - GROUP_NO = SIMP(statut='o', typ=grno, max='**', - fr="Liste des groupes de noeud de post-traitement"), - ACCE_X = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Y = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Z = SIMP(statut='f', typ=fonction_sdaster,), - INST_FIN = SIMP(statut='o', typ='R', fr="Instant final du calcul"), - PAS_INST = SIMP(statut='o', typ='R', fr="Pas de temps du calcul"), - NORME = SIMP(statut='o', typ='R', - fr="Valeur de la norme du spectre d'oscillateur" ), - AMOR_SPEC_OSCI = SIMP(statut='o', typ='R', max='**', - fr="Amortissement du spectre d'oscillateur"), - LIST_FREQ_SPEC_OSCI = SIMP(statut='f', typ=listr8_sdaster, - fr="Fréquences utilisées pour le calcul du spectre d'oscillateur"), - ), - - # Post-traitement type 3 - points de controle - b_post_control = BLOC(condition="TYPE_RESU == 'TABLE_CONTROL'", - regles=(PRESENT_PRESENT('ACCE_X', 'INST_FIN'), - PRESENT_PRESENT('ACCE_Y', 'INST_FIN'), - PRESENT_PRESENT('ACCE_Z', 'INST_FIN'), - ENSEMBLE('INST_FIN', 'PAS_INST', 'NORME', 'AMOR_SPEC_OSCI'),), - GROUP_MA_CONTROL = SIMP(statut='f', typ=grma, max='**', - fr="Groupe de mailles des points de contrôle"), - ACCE_X = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Y = SIMP(statut='f', typ=fonction_sdaster,), - ACCE_Z = SIMP(statut='f', typ=fonction_sdaster,), - INST_FIN = SIMP(statut='f', typ='R', fr="Instant final du calcul"), - PAS_INST = SIMP(statut='f', typ='R', fr="Pas de temps du calcul"), - NORME = SIMP(statut='f', typ='R', - fr="Valeur de la norme du spectre d'oscillateur" ), - AMOR_SPEC_OSCI = SIMP(statut='f', typ='R', max='**', - fr="Amortissement du spectre d'oscillateur"), - LIST_FREQ_SPEC_OSCI = SIMP(statut='f', typ=listr8_sdaster, - fr="Fréquences utilisées pour le calcul du spectre d'oscillateur"), - ), - - INFO = SIMP(statut='f', typ='I', defaut=1, into=(1,2)), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.brie at edf.fr - - -def calc_modal_prod(self,AMORTISSEMENT,**args): - if AMORTISSEMENT=="NON": return mode_meca - if AMORTISSEMENT=="OUI": return mode_meca_c - raise AsException("type de concept resultat non prevu") - - -CALC_MODAL=MACRO(nom="CALC_MODAL", - op=OPS('Macro.calc_modal_ops.calc_modal_ops'), - UIinfo={"groupes":("Résolution","Dynamique",)}, - sd_prod=calc_modal_prod, - fr="Calcul des modes propres reels ou complexes dans une seule commande", - MODELE =SIMP(statut='o',typ=modele_sdaster), - AMORTISSEMENT =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON" ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - INST =SIMP(statut='f',typ='R',defaut=0.), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - METHODE =SIMP(statut='f',typ='TXM',defaut="SORENSEN", - into=("TRI_DIAG","JACOBI","SORENSEN","QZ") ), - b_tri_diag =BLOC(condition = "METHODE == 'TRI_DIAG'", - PREC_ORTHO =SIMP(statut='f',typ='R',defaut= 1.E-12,val_min=0.E+0 ), - NMAX_ITER_ORTHO =SIMP(statut='f',typ='I',defaut= 5,val_min=0 ), - PREC_LANCZOS =SIMP(statut='f',typ='R',defaut= 1.E-8,val_min=0.E+0 ), - NMAX_ITER_QR =SIMP(statut='f',typ='I',defaut= 30,val_min=0 ), - ), - b_jacobi =BLOC(condition = "METHODE == 'JACOBI'", - PREC_BATHE =SIMP(statut='f',typ='R',defaut= 1.E-10,val_min=0.E+0 ), - NMAX_ITER_BATHE =SIMP(statut='f',typ='I',defaut= 40,val_min=0 ), - PREC_JACOBI =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0 ), - NMAX_ITER_JACOBI=SIMP(statut='f',typ='I',defaut= 12,val_min=0 ), - ), - b_sorensen =BLOC(condition = "METHODE == 'SORENSEN'", - PREC_SOREN =SIMP(statut='f',typ='R',defaut= 0.E+0,val_min=0.E+0 ), - NMAX_ITER_SOREN =SIMP(statut='f',typ='I',defaut= 20,val_min=0 ), - PARA_ORTHO_SOREN=SIMP(statut='f',typ='R',defaut= 0.717), - ), - b_qz =BLOC(condition = "METHODE == 'QZ'", - TYPE_QZ =SIMP(statut='f',typ='TXM',defaut="QZ_SIMPLE",into=("QZ_QR","QZ_SIMPLE","QZ_EQUI") ), - ), - MODE_RIGIDE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"), - fr="Calcul des modes de corps rigide, uniquement pour la méthode TRI_DIAG" ), - CALC_FREQ =FACT(statut='d',min=0, - OPTION =SIMP(statut='f',typ='TXM',defaut="PLUS_PETITE",into=("PLUS_PETITE","PLUS_GRANDE","BANDE","CENTRE","TOUT"), - fr="Choix de l option et par conséquent du shift du problème modal" ), - b_plus_petite =BLOC(condition = "OPTION == 'PLUS_PETITE'",fr="Recherche des plus petites fréquences propres", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut=10,val_min=0 ), - ), - b_plus_grande =BLOC(condition = "OPTION == 'PLUS_GRANDE'",fr="Recherche des plus grandes fréquences propres", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut=1,val_min=0 ), - ), - b_centre =BLOC(condition = "OPTION == 'CENTRE'", - fr="Recherche des fréquences propres les plus proches d une valeur donnée", - FREQ =SIMP(statut='o',typ='R', - fr="Fréquence autour de laquelle on cherche les fréquences propres"), - AMOR_REDUIT =SIMP(statut='f',typ='R',), - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_bande =BLOC(condition = "(OPTION == 'BANDE')", - fr="Recherche des fréquences propres dans une bande donnée", - FREQ =SIMP(statut='o',typ='R',min=2,validators=NoRepeat(),max=2, - fr="Valeurs des deux fréquences délimitant la bande de recherche"), - ), - APPROCHE =SIMP(statut='f',typ='TXM',defaut="REEL",into=("REEL","IMAG","COMPLEXE"), - fr="Choix du pseudo-produit scalaire pour la résolution du problème quadratique" ), - regles=(EXCLUS('DIM_SOUS_ESPACE','COEF_DIM_ESPACE'),), - DIM_SOUS_ESPACE =SIMP(statut='f',typ='I' ), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I' ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2,val_min=0.E+0 ), - SEUIL_FREQ =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0 ), - STOP_BANDE_VIDE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - - VERI_MODE =FACT(statut='d',min=0, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-3,val_min=0.E+0 ), - SEUIL =SIMP(statut='f',typ='R',defaut= 1.E-6,val_min=0.E+0, - fr="Valeur limite admise pour l ereur a posteriori des modes" ), - STURM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mohamed.torkhani at edf.fr - - -CALC_MODE_ROTATION=MACRO(nom="CALC_MODE_ROTATION", - op=OPS('Macro.calc_mode_rotation_ops.calc_mode_rotation_ops'), - sd_prod=table_container, - reentrant='n', - fr="calculer les fréquences et modes d'un système en fonction des " \ - "vitesses de rotation", - UIinfo={"groupes":("Résolution","Dynamique",)}, - - MATR_RIGI =SIMP(statut='o',typ=matr_asse_depl_r ), - MATR_MASS =SIMP(statut='o',typ=matr_asse_depl_r ), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_depl_r ), - MATR_GYRO =SIMP(statut='f',typ=matr_asse_depl_r ), - VITE_ROTA =SIMP(statut='f',typ='R',max='**'), - - METHODE =SIMP(statut='f',typ='TXM',defaut="QZ", - into=("QZ","SORENSEN",) ), - - CALC_FREQ =FACT(statut='d',min=0, - OPTION =SIMP(statut='f',typ='TXM',defaut="PLUS_PETITE",into=("PLUS_PETITE","CENTRE",), - fr="Choix de l option et par conséquent du shift du problème modal" ), - b_plus_petite =BLOC(condition = "OPTION == 'PLUS_PETITE'",fr="Recherche des plus petites valeurs propres", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_centre =BLOC(condition = "OPTION == 'CENTRE'", - fr="Recherche des valeurs propres les plus proches d une valeur donnée", - FREQ =SIMP(statut='o',typ='R', - fr="Fréquence autour de laquelle on cherche les fréquences propres"), - AMOR_REDUIT =SIMP(statut='f',typ='R',), - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - ), - - VERI_MODE =FACT(statut='d',min=0, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 1.E-6 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-3 ), - STURM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ),), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-michel.proix at edf.fr -CALC_POINT_MAT=OPER(nom="CALC_POINT_MAT",op=33,sd_prod=table_sdaster,reentrant='f', - UIinfo={"groupes":("Résolution",)}, - fr="Intégrer une loi de comportement", - MATER =SIMP(statut='o',typ=mater_sdaster,max=1), - COMPORTEMENT =C_COMPORTEMENT('CALC_POINT_MAT'), - INCREMENT =C_INCREMENT('MECANIQUE'), - NEWTON =C_NEWTON(), - CONVERGENCE =C_CONVERGENCE(), - - # --MASSIF : orientation du materiau (monocristal, orthotropie) - MASSIF =FACT(statut='f',max='**', - regles=(UN_PARMI('ANGL_REP','ANGL_EULER'),), - ANGL_REP =SIMP(statut='f',typ='R',min=1,max=3), - ANGL_EULER =SIMP(statut='f',typ='R',min=1,max=3), - ), - ## ANGLE : rotation de ANGLE autour de Z uniquement, et seulement pour les déformations imposées. - ANGLE =SIMP(statut='f',typ='R',max=1, defaut=0.), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2)), - - regles=( - EXCLUS('SIXX','EPXX',), - EXCLUS('SIYY','EPYY',), - EXCLUS('SIZZ','EPZZ',), - EXCLUS('SIXY','EPXY',), - EXCLUS('SIXZ','EPXZ',), - EXCLUS('SIYZ','EPYZ',), - - ENSEMBLE('F11','F12','F13','F21','F22','F23','F31','F32','F33',),), - - SIXX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIYY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIXY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIXZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIYZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - - EPXX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - - F11 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F12 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F13 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F21 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F22 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F23 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F31 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F32 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F33 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - - MATR_C1=FACT(statut='f',max='**', - VALE =SIMP(statut='o',typ='R',max=1, ), - NUME_LIGNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=6 ), - NUME_COLONNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=12 ), - ), - MATR_C2=FACT(statut='f',max='**', - VALE =SIMP(statut='o',typ='R',max=1, ), - NUME_LIGNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=6 ), - NUME_COLONNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=12 ), - ), - VECT_IMPO=FACT(statut='f',max=6, - VALE =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule),max=1, ), - NUME_LIGNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=6 ), - ), - SIGM_INIT=FACT(statut='f', - SIXX = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIYY = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIZZ = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIXY = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIXZ = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIYZ = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - ), - EPSI_INIT=FACT(statut='f', - EPXX = SIMP(statut='o',typ='R',max=1), - EPYY = SIMP(statut='o',typ='R',max=1), - EPZZ = SIMP(statut='o',typ='R',max=1), - EPXY = SIMP(statut='o',typ='R',max=1), - EPXZ = SIMP(statut='o',typ='R',max=1), - EPYZ = SIMP(statut='o',typ='R',max=1), - ), - VARI_INIT=FACT(statut='f', - VALE = SIMP(statut='o',typ='R',max='**'), - ), - FORMAT_TABLE =SIMP(statut='f',typ='TXM',max=1,into=("CMP_COLONNE","CMP_LIGNE",),defaut=("CMP_COLONNE"),), - - NB_VARI_TABLE =SIMP(statut='f',typ='I',max=1,), - - OPER_TANGENT =SIMP(statut='f',typ='TXM',max=1,into=("OUI","NON",),defaut="NON",), - - ARCHIVAGE =FACT(statut='f', - LIST_INST =SIMP(statut='f',typ=(listr8_sdaster) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_ARCH =SIMP(statut='f',typ='I' ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E-6), - ), - - - # on permet certaines variables de commandes scalaires, définies par une fonction du temps - # un mot clé caché qui ne sert qu'à boucler sur les VARC possibles : - LIST_NOM_VARC =SIMP(statut='c',typ='TXM', defaut=("TEMP","CORR","IRRA","HYDR","SECH","EPSA", - "M_ACIER","M_ZIRC","NEUT1","NEUT2")), - - AFFE_VARC = FACT(statut='f',max='**', - NOM_VARC =SIMP(statut='o',typ='TXM', into=("TEMP","CORR","IRRA","HYDR","SECH","M_ACIER","M_ZIRC", - "EPSA","NEUT1","NEUT2")), - VALE_FONC = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - - # VALE_REF est nécessaire pour certaines VARC : - B_VALE_REF =BLOC(condition="NOM_VARC in ('TEMP', 'SECH')", - VALE_REF =SIMP(statut='o',typ='R'), - ), - ), - - - - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sylvie.michel-ponnelle at edf.fr - - -CALC_PRECONT=MACRO(nom="CALC_PRECONT", - op=OPS('Macro.calc_precont_ops.calc_precont_ops'), - sd_prod=evol_noli, - fr="Imposer la tension définie par le BPEL dans les cables", - reentrant='f',UIinfo={"groupes":("Modélisation",)}, - reuse =SIMP(statut='f',typ='evol_noli'), - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - CARA_ELEM =SIMP(statut='o',typ=cara_elem), - CABLE_BP =SIMP(statut='o',typ=cabl_precont,validators=NoRepeat(),max='**'), - CABLE_BP_INACTIF =SIMP(statut='f',typ=cabl_precont,validators=NoRepeat(),max='**'), - INCREMENT =C_INCREMENT('MECANIQUE'), - RECH_LINEAIRE =C_RECH_LINEAIRE(), - CONVERGENCE =C_CONVERGENCE(), - ETAT_INIT =FACT(statut='f', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','SIGM','VARI',), - EXCLUS('EVOL_NOLI','DEPL',), - EXCLUS('EVOL_NOLI','SIGM',), - EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(carte_sdaster,cham_elem)), - VARI =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ), - METHODE = SIMP(statut='d',typ='TXM',defaut="NEWTON",into=("NEWTON","IMPLEX")), - b_meth_newton = BLOC(condition = "METHODE == 'NEWTON'", - NEWTON = C_NEWTON(), - ), - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('CALC_PRECONT'), -#------------------------------------------------------------------- - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=char_meca), - ), - - COMPORTEMENT =C_COMPORTEMENT(), - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== - -# person_in_charge: mathieu.corus at edf.fr - - -CALC_SPEC=MACRO(nom="CALC_SPEC", - op=OPS('Macro.calc_spec_ops.calc_spec_ops'), - sd_prod=interspectre, - reentrant='n', - fr="Calcule une matrice interspectrale ou des fonctions de transferts", - UIinfo={"groupes":("Fonctions",)}, - TAB_ECHANT =FACT(statut='f', - NOM_TAB =SIMP(statut='o',typ=table_sdaster), - LONGUEUR_DUREE =SIMP(statut='f',typ='R'), - LONGUEUR_POURCENT =SIMP(statut='f',typ='R'), - LONGUEUR_NB_PTS =SIMP(statut='f',typ='I'), - RECOUVREMENT_DUREE =SIMP(statut='f',typ='R'), - RECOUVREMENT_POURCENT =SIMP(statut='f',typ='R'), - RECOUVREMENT_NB_PTS =SIMP(statut='f',typ='I'), - ), - ECHANT =FACT(statut='f',max='**', - NUME_ORDRE_I =SIMP(statut='o',typ='I' ), - NUME_MES =SIMP(statut='o',typ='I' ), - FONCTION =SIMP(statut='o',typ=fonction_sdaster), - ), -#-- Cas de la matrice interspectrale --# - INTERSPE =FACT(statut='f', - FENETRE =SIMP(statut='f',typ='TXM',defaut="RECT",into=("RECT","HAMM","HANN","EXPO","PART",)), - BLOC_DEFI_FENE =BLOC(condition = "FENETRE == 'EXPO' or FENETRE == 'PART' ", - DEFI_FENE =SIMP(statut='f',typ='R',max='**'), - ), - ), -#-- Cas des transferts - estimateurs H1 / H2 / Hv + Coherence --# - TRANSFERT =FACT(statut='f', - ESTIM =SIMP(statut='f',typ='TXM',defaut="H1",into=("H1","H2","CO",)), - REFER =SIMP(statut='o',typ='I',max='**'), - FENETRE =SIMP(statut='f',typ='TXM',defaut="RECT",into=("RECT","HAMM","HANN","EXPO","PART",)), -# DEFI_FENE =SIMP(statut='f',typ='R',max='**'), - BLOC_DEFI_FENE =BLOC(condition = "FENETRE == 'EXPO' or FENETRE == 'PART' ", - DEFI_FENE =SIMP(statut='f',typ='R',max='**'), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -CALC_STABILITE=MACRO(nom="CALC_STABILITE",sd_prod=table_container, - op=OPS('Macro.calc_stabilite_ops.calc_stabilite_ops'), - fr="post-traitement modes non-linéaires : filtre resultats et calcul de stabilité", - reentrant='f', - UIinfo={"groupes":("Résolution","Dynamique",)}, - - reuse =SIMP(statut='f',typ='table_container'), - - MODE_NON_LINE = SIMP(statut='o',typ=table_container,max=1), - SCHEMA_TEMPS = FACT(statut='d',max=1, - SCHEMA = SIMP(statut='f',typ='TXM',into=('NEWMARK',),defaut='NEWMARK'), - b_newmark= BLOC(condition="SCHEMA=='NEWMARK'", - NB_INST = SIMP(statut='f',typ='I',defaut= 1000 ), - ), - ), - TOLERANCE = SIMP(statut='f',typ='R',defaut= 1.E-2 ), - - FILTRE = FACT(statut='f',max=1,regles=(UN_PARMI('NUME_ORDRE','FREQ_MIN',),), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - FREQ_MIN = SIMP(statut='f',typ='R' ), - b_freq_min = BLOC(condition = "FREQ_MIN != None", - FREQ_MAX = SIMP(statut='o',typ='R' ), - PRECISION = SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - ), - - INFO = SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - -) ; - - - - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def calc_table_prod(self, TABLE, ACTION, **kargs): - """Typage du concept produit. - """ - l_typ = [AsType(TABLE),] - for mcf in ACTION: - dmc = mcf.cree_dict_valeurs(mcf.mc_liste) - if dmc.get('TABLE') != None: - l_typ.append(AsType(dmc['TABLE'])) - # une table_fonction étant une table - if table_fonction in l_typ: - return table_fonction - elif table_container in l_typ: - return table_container - else: - return table_sdaster - -CALC_TABLE=MACRO(nom="CALC_TABLE", - op=OPS('Macro.calc_table_ops.calc_table_ops'), - sd_prod=calc_table_prod, - fr="Opérations sur une table", - UIinfo={"groupes":("Tables",)}, - reentrant='f', - TABLE = SIMP(statut='o',typ=table_sdaster), - ACTION = FACT(statut='o', max='**', - fr = "Suite des opérations à effectuer sur la table", - OPERATION = SIMP(statut='o', typ='TXM', - into=('FILTRE', 'EXTR', 'RENOMME', 'TRI', 'COMB', 'AJOUT_LIGNE', - 'OPER', 'SUPPRIME', 'AJOUT_COLONNE')), - - b_filtre = BLOC(condition="OPERATION == 'FILTRE'", - fr="Sélectionne les lignes de la table vérifiant un critère", - NOM_PARA = SIMP(statut='o',typ='TXM'), - CRIT_COMP = SIMP(statut='f',typ='TXM',defaut="EQ", - into=('EQ','NE','GT','LT','GE','LE','REGEXP', - 'VIDE','NON_VIDE','MAXI','MAXI_ABS','MINI','MINI_ABS'),), - b_vale = BLOC(condition = "(CRIT_COMP in ('EQ','NE','GT','LT','GE','LE'))", - regles=(UN_PARMI('VALE','VALE_I','VALE_K','VALE_C',),), - VALE = SIMP(statut='f',typ='R',max='**'), - VALE_I = SIMP(statut='f',typ='I',max='**'), - VALE_C = SIMP(statut='f',typ='C',max='**'), - VALE_K = SIMP(statut='f',typ='TXM',max='**'), - ), - b_regexp = BLOC(condition = "CRIT_COMP == 'REGEXP'", - VALE_K = SIMP(statut='o',typ='TXM',), - ), - b_crit = BLOC(condition = "CRIT_COMP in ('EQ','NE')", - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION = SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - ), - ), - - b_extr = BLOC(condition="OPERATION == 'EXTR'", - fr="Extrait une ou plusieurs colonnes de la table", - NOM_PARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - fr="Noms des colonnes à extraire"), - ), - - b_suppr = BLOC(condition="OPERATION == 'SUPPRIME'", - fr="Supprime une ou plusieurs colonnes de la table", - NOM_PARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - fr="Noms des colonnes à supprimer"), - ), - - b_renomme = BLOC(condition="OPERATION == 'RENOMME'", - fr="Renomme un ou plusieurs paramètres de la table", - NOM_PARA = SIMP(statut='o', typ='TXM', validators=NoRepeat(), min=2, max=2, - fr="Couple (ancien nom du paramètre, nouveau nom du paramètre)",), - ), - - b_tri = BLOC(condition="OPERATION == 'TRI'", - fr="Ordonne les lignes de la table selon les valeurs d'un ou plusieurs paramètres", - NOM_PARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**'), - ORDRE = SIMP(statut='f',typ='TXM',defaut="CROISSANT", - into=("CROISSANT","DECROISSANT") ), - ), - - b_comb = BLOC(condition="OPERATION == 'COMB'", - fr="Combine deux tables ayant éventuellement des paramètres communs", - TABLE = SIMP(statut='o',typ=table_sdaster, - fr="Table dont les colonnes vont venir surcharger la table initiale"), - NOM_PARA = SIMP(statut='f',typ='TXM',max='**', - fr="Noms des paramètres dont les valeurs doivent etre identiques dans les deux tables "\ - "pour que les colonnes soient combinées"), - RESTREINT = SIMP(statut='f', typ='TXM', into=('OUI', 'NON'), defaut='NON', - fr="Restreint la fusion uniquement aux lignes où les NOM_PARA sont communs"), - FORMAT_R =SIMP(statut='f',typ='TXM'), - ), - - b_ajout_lig = BLOC(condition="OPERATION == 'AJOUT_LIGNE'", - fr="Ajoute une ligne à la table initiale", - NOM_PARA = SIMP(statut='o',typ='TXM',max='**', - fr="Noms des paramètres dont les valeurs sont fournies sous VALE"), - VALE = SIMP(statut='o',typ=not_checked,max='**', fr='Valeurs des paramètres'), - ), - - b_ajout_col = BLOC(condition="OPERATION == 'AJOUT_COLONNE'", - fr="Ajoute une colonne constante à la table initiale", - NOM_PARA = SIMP(statut='o',typ='TXM',max='**', - fr="Noms des paramètres des colonnes à ajouter"), - VALE = SIMP(statut='o', typ=not_checked, max='**', - fr="Valeur constante pour chaque colonne"), - ), - - b_oper = BLOC(condition="OPERATION == 'OPER'", - fr="Applique une formule dans laquelle les variables sont les paramètres de la table", - FORMULE = SIMP(statut='o',typ=formule, - fr="Formule à appliquer aux colonnes de la table"), - NOM_PARA = SIMP(statut='o',typ='TXM', - fr="Nom de la nouvelle colonne"), - NOM_COLONNE = SIMP(statut='f',typ='TXM', max='**', - fr="Nom des colonnes à utiliser en tant que paramètres de la formule"), - ), - ), - - TITRE = SIMP(statut='f',typ='TXM',max='**', - fr="Titre de la table produite"), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -CALC_THETA=OPER(nom="CALC_THETA",op=54,sd_prod=theta_geom,reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - fr="Définir un champ theta pour le calcul du taux de restitution d'énergie" - +" ou des facteurs d'intensité de contraintes", - regles=(UN_PARMI('THETA_2D','THETA_3D'), - PRESENT_ABSENT('THETA_2D','DIRE_THETA'), - EXCLUS('DIRECTION','DIRE_THETA'),), - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - THETA_3D =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_NO','NOEUD'), - UN_PARMI('MODULE','MODULE_FO'), - ENSEMBLE('MODULE_FO','R_INF_FO','R_SUP_FO'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MODULE =SIMP(statut='f',typ='R'), - R_INF =SIMP(statut='f',typ='R'), - R_SUP =SIMP(statut='f',typ='R'), - MODULE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_INF_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_SUP_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - b_theta_3d =BLOC(condition="THETA_3D != None", - FOND_FISS =SIMP(statut='o',typ=fond_fiss),), - DIRE_THETA =SIMP(statut='f',typ=cham_no_sdaster ), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - THETA_2D =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_NO','NOEUD'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - MODULE =SIMP(statut='o',typ='R'), - R_INF =SIMP(statut='o',typ='R'), - R_SUP =SIMP(statut='o',typ='R'), - ), - IMPRESSION =FACT(statut='f', - UNITE =SIMP(statut='f',typ='I',defaut=8), - FORMAT =SIMP(statut='f',typ='TXM',defaut="EXCEL",into=("EXCEL","AGRAF") ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def calc_vect_elem_prod(OPTION,**args): - if OPTION == "CHAR_MECA" : return vect_elem_depl_r - if OPTION == "CHAR_THER" : return vect_elem_temp_r - if OPTION == "CHAR_ACOU" : return vect_elem_pres_c - raise AsException("type de concept resultat non prevu") - -CALC_VECT_ELEM=OPER(nom="CALC_VECT_ELEM",op=8,sd_prod=calc_vect_elem_prod,reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - fr="Calcul des seconds membres élémentaires", - OPTION =SIMP(statut='o',typ='TXM',into=("CHAR_MECA","CHAR_THER","CHAR_ACOU") ), - b_char_meca =BLOC(condition = "OPTION=='CHAR_MECA'", - regles=(AU_MOINS_UN('CHARGE','MODELE'),), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - MODELE =SIMP(statut='f',typ=modele_sdaster), - b_charge =BLOC(condition = "CHARGE != None", fr="modèle ne contenant pas de sous-structure", - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - INST =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - MODE_FOURIER =SIMP(statut='f',typ='I',defaut= 0 ), - ), - b_modele =BLOC(condition = "(MODELE != None)",fr="modèle contenant une sous-structure", - SOUS_STRUC =FACT(statut='o',min=01, - regles=(UN_PARMI('TOUT','SUPER_MAILLE'),), - CAS_CHARGE =SIMP(statut='o',typ='TXM' ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - SUPER_MAILLE=SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**',), - ), - ), - ), - b_char_ther =BLOC(condition = "OPTION=='CHAR_THER'", - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHARGE =SIMP(statut='o',typ=char_ther,validators=NoRepeat(),max='**'), - INST =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - - b_char_acou =BLOC(condition = "OPTION=='CHAR_ACOU'", - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - CHARGE =SIMP(statut='o',typ=char_acou,validators=NoRepeat(),max='**'), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2007 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr - -CALCUL=OPER(nom="CALCUL",op=26,sd_prod=table_container,reentrant='f', - UIinfo={"groupes":("Résolution",)}, - fr="Calculer des objets élémentaires comme une matrice tangente, intégrer une loi de comportement, etc...", - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',defaut="COMPORTEMENT", - into=( "COMPORTEMENT","MATR_TANG_ELEM","FORC_INTE_ELEM","FORC_NODA_ELEM"),), - MODELE =SIMP(statut='o',typ=modele_sdaster), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - TABLE =SIMP(statut='f',typ=table_container), - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE",)), - - ), - DEPL =SIMP(statut='o',typ=cham_no_sdaster ), - INCR_DEPL =SIMP(statut='o',typ=cham_no_sdaster ), - SIGM =SIMP(statut='o',typ=cham_elem), - VARI =SIMP(statut='o',typ=cham_elem), - INCREMENT =FACT(statut='o', - LIST_INST =SIMP(statut='o',typ=listr8_sdaster), - NUME_ORDRE =SIMP(statut='o',typ='I'),), - COMPORTEMENT =C_COMPORTEMENT('CALCUL'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sylvie.granet at edf.fr -#from Macro.chainage_thm_ops import chainage_thm_ops - -def chainage_thm_prod(self,TYPE_CHAINAGE,TYPE_RESU = None,**args) : - - if TYPE_CHAINAGE == "MECA_HYDR" : return evol_varc - - if TYPE_CHAINAGE == "HYDR_MECA" : - if TYPE_RESU == "CHAM_NO" : - return cham_no_sdaster - elif TYPE_RESU == "EVOL_VARC" : - return evol_varc - - if TYPE_CHAINAGE == "INIT" : - matr_mh = args['MATR_MH'] - matr_hm1 = args['MATR_HM1'] - matr_hm2 = args['MATR_HM2'] - - self.type_sdprod(matr_mh,corresp_2_mailla) - self.type_sdprod(matr_hm1,corresp_2_mailla) - self.type_sdprod(matr_hm2,corresp_2_mailla) - return None - - raise AsException("type de chainage THM non prevu") - -CHAINAGE_THM=MACRO(nom="CHAINAGE_THM", - op=OPS('Macro.chainage_thm_ops.chainage_thm_ops'), - sd_prod=chainage_thm_prod, - reentrant='n', - UIinfo={"groupes":("Résultats et champs",)}, - docu="Ux.xx.xx", - fr="Calcul des variables de commande pour le chaînage THM", - - TYPE_CHAINAGE = SIMP(statut='o',typ='TXM', - into=("HYDR_MECA","MECA_HYDR","INIT",), - fr="Sens du chaînage ou initialisation des matrices de projection"), - - # Cas HYDR_MECA : - - b_hydr_meca = BLOC(condition = "TYPE_CHAINAGE == 'HYDR_MECA'",fr="Chaînage hydraulique vers mécanique", - - RESU_HYDR = SIMP(statut='o',typ=resultat_sdaster,fr="Résultat hydraulique à chaîner" ), - MODELE_MECA = SIMP(statut='o',typ=modele_sdaster ,fr="Modèle d'arrivée mécanique"), - TYPE_RESU = SIMP(statut='f',typ='TXM',into=("EVOL_VARC","CHAM_NO"),defaut="EVOL_VARC", ), - MATR_HM1 = SIMP(statut='o',typ=corresp_2_mailla,), - MATR_HM2 = SIMP(statut='o',typ=corresp_2_mailla,), - - b_type_resu = BLOC(condition = "TYPE_RESU == 'EVOL_VARC'",fr="Instant obligatoire si TYPE_RESU=EVOL_VARC", - INST = SIMP(statut='o',typ='R',validators=NoRepeat(),min=1,max=1), - - ),), - - # Cas MECA_HYDR : - - b_meca_hydr = BLOC(condition = "TYPE_CHAINAGE == 'MECA_HYDR'",fr="Chaînage mécanique vers hydraulique", - - RESU_MECA = SIMP(statut='o',typ=resultat_sdaster,fr="Résultat mécanique à chaîner" ), - MODELE_HYDR = SIMP(statut='o',typ=modele_sdaster ,fr="Modèle d'arrivée hydraulique"), - - MATR_MH = SIMP(statut='o',typ=corresp_2_mailla,), - INST = SIMP(statut='o',typ='R',validators=NoRepeat(),min=1,max=1), - ), - - # Cas INIT : - - b_init = BLOC(condition = "TYPE_CHAINAGE == 'INIT'",fr="Calcul des matrices de projection", - - MODELE_MECA = SIMP(statut='o',typ=modele_sdaster ,fr="Modèle mécanique"), - MODELE_HYDR = SIMP(statut='o',typ=modele_sdaster ,fr="Modèle hydraulique"), - - MATR_MH = SIMP(statut='o',typ=CO,), - MATR_HM1 = SIMP(statut='o',typ=CO,), - MATR_HM2 = SIMP(statut='o',typ=CO,), - ), - - INFO = SIMP(statut='f',typ='I',defaut=1,into=( 1, 2 ) ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr -COMB_FOURIER=OPER(nom="COMB_FOURIER",op= 161,sd_prod=comb_fourier, - reentrant='n',fr="Recombiner les modes de Fourier d'une SD Résultat dans des directions particulières", - UIinfo={"groupes":("Post-traitements",)}, - RESULTAT =SIMP(statut='o',typ=(fourier_elas,fourier_ther),), - ANGLE =SIMP(statut='o',typ='R',max='**'), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=6,into=("DEPL","REAC_NODA", - "SIEF_ELGA","EPSI_ELNO","SIGM_ELNO","TEMP","FLUX_ELNO"),), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.sellenet at edf.fr -def comb_matr_asse_prod(COMB_R,COMB_C,CALC_AMOR_GENE,**args): - if COMB_C != None: - type_mat = AsType(COMB_C[0]['MATR_ASSE']) - if type_mat in (matr_asse_depl_c,matr_asse_depl_r) : return matr_asse_depl_c - if type_mat in (matr_asse_gene_c,matr_asse_gene_r) : return matr_asse_gene_c - if type_mat in (matr_asse_temp_c,matr_asse_temp_r) : return matr_asse_temp_c - if type_mat in (matr_asse_pres_c,matr_asse_pres_r) : return matr_asse_pres_c - elif COMB_R != None: - type_mat = AsType(COMB_R[0]['MATR_ASSE']) - if type_mat in (matr_asse_depl_c,matr_asse_depl_r) : return matr_asse_depl_r - if type_mat in (matr_asse_temp_c,matr_asse_temp_r) : return matr_asse_temp_r - if type_mat in (matr_asse_pres_c,matr_asse_pres_r) : return matr_asse_pres_r - if type_mat in (matr_asse_gene_c,matr_asse_gene_r) : return matr_asse_gene_r - elif CALC_AMOR_GENE != None: return matr_asse_gene_r - raise AsException("type de concept resultat non prevu") - -COMB_MATR_ASSE=OPER(nom="COMB_MATR_ASSE",op= 31,sd_prod=comb_matr_asse_prod, - fr="Effectuer la combinaison linéaire de matrices assemblées", - reentrant='f', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(UN_PARMI('COMB_R','COMB_C','CALC_AMOR_GENE' ),), - COMB_R =FACT(statut='f',max='**', - PARTIE =SIMP(statut='f',typ='TXM',into=("REEL","IMAG") ), - MATR_ASSE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r,matr_asse_temp_c - ,matr_asse_pres_r,matr_asse_pres_c,matr_asse_gene_r,matr_asse_gene_c ) ), - COEF_R =SIMP(statut='o',typ='R' ), - ), - COMB_C =FACT(statut='f',max='**', - regles=(UN_PARMI('COEF_R','COEF_C' ),), - MATR_ASSE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r,matr_asse_temp_c - ,matr_asse_pres_r,matr_asse_pres_c,matr_asse_gene_r,matr_asse_gene_c ) ), - COEF_R =SIMP(statut='f',typ='R' ), - COEF_C =SIMP(statut='f',typ='C' ), - ), - CALC_AMOR_GENE =FACT(statut='f', - RIGI_GENE = SIMP(statut='o', typ=matr_asse_gene_r), - MASS_GENE = SIMP(statut='o', typ=matr_asse_gene_r), - regles=(UN_PARMI('AMOR_REDUIT','LIST_AMOR' ),), - AMOR_REDUIT = SIMP(statut='f',typ='R',max='**'), - LIST_AMOR = SIMP(statut='f',typ=listr8_sdaster ), - ), - SANS_CMP =SIMP(statut='f',typ='TXM',into=("LAGR",) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sylvie.audebert at edf.fr -COMB_SISM_MODAL=OPER(nom="COMB_SISM_MODAL",op= 109,sd_prod=mode_meca, - fr="Réponse sismique par recombinaison modale par une méthode spectrale", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Dynamique",)}, - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','FREQ','NUME_MODE','LIST_FREQ','LIST_ORDRE'), - UN_PARMI('AMOR_REDUIT','LIST_AMOR','AMOR_GENE' ), - UN_PARMI('MONO_APPUI','MULTI_APPUI' ),), - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - b_freq =BLOC(condition = "FREQ != None or LIST_FREQ != None", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - MODE_CORR =SIMP(statut='f',typ=mode_meca ), - FREQ_COUP = SIMP(statut='f',typ='R',min=1,max=1), - - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - AMOR_GENE =SIMP(statut='f',typ=matr_asse_gene_r ), - - MASS_INER =SIMP(statut='f',typ=table_sdaster ), - CORR_FREQ =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - - EXCIT =FACT(statut='o',max='**', - regles=(UN_PARMI('AXE','TRI_AXE','TRI_SPEC' ),), - AXE =SIMP(statut='f',typ='R',max=3,fr="Excitation suivant un seul axe",), - TRI_AXE =SIMP(statut='f',typ='R',max=3,fr="Excitation suivant les trois axes mais avec le meme spectre",), - TRI_SPEC =SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Excitation suivant les trois axes avec trois spectres"), - b_axe =BLOC(condition = "AXE != None",fr="Excitation suivant un seul axe", - SPEC_OSCI =SIMP(statut='o',typ=(nappe_sdaster,formule),), - ECHELLE =SIMP(statut='f',typ='R',), - ), - b_tri_axe =BLOC(condition = "TRI_AXE != None",fr="Excitation suivant les trois axes mais avec le meme spectre", - SPEC_OSCI =SIMP(statut='o',typ=(nappe_sdaster,formule),), - ECHELLE =SIMP(statut='f',typ='R',), - ), - b_tri_spec =BLOC(condition = "TRI_SPEC != None",fr="Excitation suivant les trois axes avec trois spectres", - SPEC_OSCI =SIMP(statut='o',typ=(nappe_sdaster,formule),min=3,max=3 ), - ECHELLE =SIMP(statut='f',typ='R',min=3,max=3), - ), - NATURE =SIMP(statut='f',typ='TXM',defaut="ACCE",into=("ACCE","VITE","DEPL") ), - b_mult_appui =BLOC(condition = "(MULTI_APPUI != None)", - regles=(UN_PARMI('NOEUD','GROUP_NO' ),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'),) - ), - MONO_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",), - fr="excitation imposée unique" ), - MULTI_APPUI =SIMP(statut='f',typ='TXM',position='global',into=("DECORRELE","CORRELE"), - fr="excitation imposée unique" ), - b_decorrele =BLOC(condition = "MULTI_APPUI == 'DECORRELE' ", - GROUP_APPUI =FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD','GROUP_NO' ),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'),), - - ), - b_correle =BLOC(condition = "MULTI_APPUI == 'CORRELE' ", - COMB_MULT_APPUI =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','NOEUD','GROUP_NO' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - TYPE_COMBI =SIMP(statut='f',typ='TXM',into=("QUAD","LINE",) ),), - ), - - COMB_MODE =FACT(statut='o', - TYPE =SIMP(statut='o',typ='TXM',into=("SRSS","CQC","DSC","ABS","DPC","GUPTA") ), - DUREE =SIMP(statut='f',typ='R' ), - b_gupta =BLOC(condition = "TYPE == 'GUPTA' ", - FREQ_1 =SIMP(statut='o',typ='R',), - FREQ_2 =SIMP(statut='o',typ='R',), - ), - ), - COMB_DIRECTION =FACT(statut='f', - TYPE =SIMP(statut='f',typ='TXM',into=("QUAD","NEWMARK") ), - ), - COMB_DEPL_APPUI=FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','LIST_CAS'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",)), - LIST_CAS =SIMP(statut='f',typ='I',max='**'), - TYPE_COMBI =SIMP(statut='f',typ='TXM',into=("QUAD","LINE","ABS") ), - ), - DEPL_MULT_APPUI =FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD','GROUP_NO'), - AU_MOINS_UN('DX','DY','DZ' ),), - NOM_CAS =SIMP(statut='o',typ='TXM',max='**'), - NUME_CAS =SIMP(statut='o',typ='I',max='**'), - MODE_STAT =SIMP(statut='o',typ=mode_meca, ), - NOEUD_REFE =SIMP(statut='f',typ=no), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - DX =SIMP(statut='f',typ='R' ), - DY =SIMP(statut='f',typ='R' ), - DZ =SIMP(statut='f',typ='R' ), - ), - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=9, - into=("DEPL","VITE","ACCE_ABSOLU","SIGM_ELNO","SIEF_ELGA", - "EFGE_ELNO","REAC_NODA","FORC_NODA", - "SIPO_ELNO") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), - IMPRESSION =FACT(statut='f',max='**', - regles=(EXCLUS('TOUT','NIVEAU'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NIVEAU =SIMP(statut='f',typ='TXM',into=("SPEC_OSCI","MASS_EFFE","MAXI_GENE"),validators=NoRepeat(),max=3 ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def copier_prod(CONCEPT,**args): - return AsType(CONCEPT) - -# liste des types de concept acceptes par la commande : -copier_ltyp=( - cabl_precont, - listr8_sdaster, - listis_sdaster, - fonction_sdaster, - nappe_sdaster, - table_sdaster, - maillage_sdaster, - modele_sdaster, - evol_elas, - evol_noli, - evol_ther, -) - -COPIER=OPER(nom="COPIER",op= 185,sd_prod=copier_prod,reentrant='f', - UIinfo={"groupes":("Gestion du travail",)}, - fr="Copier un concept utilisateur sous un autre nom", - - CONCEPT = SIMP(statut='o',typ=copier_ltyp,), - INFO = SIMP(statut='f', typ='I', into=(1, 2), defaut=1, ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def crea_champ_prod(TYPE_CHAM,**args): - if TYPE_CHAM[0:5] == "CART_" : - return carte_sdaster - elif TYPE_CHAM[0:5] == "NOEU_" : - return cham_no_sdaster - elif TYPE_CHAM[0:2] == "EL" : - return cham_elem - else : - raise AsException("type de concept resultat_sdaster non prevu") - - -CREA_CHAMP=OPER(nom="CREA_CHAMP",op= 195,sd_prod=crea_champ_prod, - fr="Création d'un champ ",reentrant='f', - UIinfo={"groupes":("Résultats et champs",)}, - - # TYPE_CHAM doit etre de la forme : CART_xx, NOEU_xx, ELEM_xx, ELGA_xx ou ELNO_xx - # ou xx est le nom d'une grandeur définie dans le catalogue des grandeurs - TYPE_CHAM =SIMP(statut='o',typ='TXM',into=C_TYPE_CHAM_INTO()), - -# SI CREATION D'UN CHAM_NO, POUR IMPOSER LA NUMEROTATION DES DDLS : -# ------------------------------------------------------------------ - regles=(EXCLUS('NUME_DDL','CHAM_NO',)), - NUME_DDL =SIMP(statut='f',typ=(nume_ddl_sdaster) ), - CHAM_NO =SIMP(statut='f',typ=(cham_no_sdaster) ), - - -# AUTORISE-T-ON LE PROLONGEMENT DU CHAMP PAR ZERO ? -# ------------------------------------------------------------------ -# CE MOT CLE N'A DE SENS QUE DANS 2 CAS DE FIGURE : -# - POUR LES CHAM_ELEM (AVEC LE MOT CLE MODELE) -# - POUR LES CHAM_NO SI ON IMPOSE LEUR NUMEROTATION - b_prol_zero =BLOC(condition = "NUME_DDL != None or CHAM_NO != None or (TYPE_CHAM != None and TYPE_CHAM[0:2] == 'EL')", - PROL_ZERO =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON",)),), - - -# SI CREATION D'UN CHAM_ELEM, POUR POUVOIR AIDER A L'ALLOCATION DU CHAMP : -# (PAR DEFAUT : TOU_INI_ELNO/_ELGA/_ELEM) -# ------------------------------------------------------------------ - OPTION =SIMP(statut='f',typ='TXM',validators=NoRepeat(),), - - -# Si creation d'un cham_elem avec sous-points, pour que tous les sous-points -# soient affectes : on duplique la valeur sur tous les sous-points -# ------------------------------------------------------------------ - AFFE_SP =FACT(statut='f',max=1, - CARA_ELEM =SIMP(statut='o',typ=cara_elem,min=1,max=1), - ), - - -# LE MOT-CLE OPERATION EST OBLIGATOIRE. IL PERMET LE BON AIGUILLAGE. -# ------------------------------------------------------------------ - OPERATION =SIMP(statut='o',typ='TXM',into=("AFFE","ASSE","EVAL","EXTR","DISC","NORMALE","R2C","C2R","COMB") ), - -# ------------------------------------------------------------------ - b_norm =BLOC(condition = "OPERATION == 'NORMALE'", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE',),), - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ), -# ------------------------------------------------------------------ - b_affe =BLOC(condition = "OPERATION == 'AFFE'", - regles=(UN_PARMI('MAILLAGE','MODELE'),), - MAILLAGE =SIMP(statut='f',typ=(maillage_sdaster) ), - MODELE =SIMP(statut='f',typ=(modele_sdaster) ), - AFFE =FACT(statut='o',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD',), - UN_PARMI('VALE','VALE_I','VALE_C','VALE_F', ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'), - VALE =SIMP(statut='f',typ='R',max='**' ), - VALE_I =SIMP(statut='f',typ='I',max='**' ), - VALE_C =SIMP(statut='f',typ='C',max='**' ), - VALE_F =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),max='**'), - ), - ), -# ------------------------------------------------------------------ - b_asse =BLOC(condition = "OPERATION == 'ASSE'", - regles=(UN_PARMI('MAILLAGE','MODELE'),), - MAILLAGE =SIMP(statut='f',typ=(maillage_sdaster) ), - MODELE =SIMP(statut='f',typ=(modele_sdaster) ), - ASSE =FACT(statut='o',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','GROUP_NO','MAILLE','NOEUD',), - PRESENT_PRESENT('NOM_CMP_RESU','NOM_CMP', ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - CHAM_GD =SIMP(statut='o',typ=cham_gd_sdaster), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**' ), - NOM_CMP_RESU =SIMP(statut='f',typ='TXM',max='**' ), - CUMUL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), - COEF_R =SIMP(statut='f',typ='R',defaut= 1. ), - COEF_C =SIMP(statut='f',typ='C',max=1), - ), - ), -# ------------------------------------------------------------------ - b_comb =BLOC(condition = "OPERATION == 'COMB'", - fr="Pour faire une combinaison linéaire de cham_no ayant meme profil", - COMB =FACT(statut='o',max='**', - CHAM_GD =SIMP(statut='o',typ=cham_no_sdaster), - COEF_R =SIMP(statut='o',typ='R'), - ), - ), -# ------------------------------------------------------------------ - b_eval =BLOC(condition = "OPERATION == 'EVAL'", - CHAM_F =SIMP(statut='o',typ=cham_gd_sdaster), - CHAM_PARA =SIMP(statut='o',typ=cham_gd_sdaster,max='**'), - ), -# ------------------------------------------------------------------ - b_r2c =BLOC(condition = "OPERATION == 'R2C'", - CHAM_GD =SIMP(statut='o',typ=cham_gd_sdaster), - ), -# ------------------------------------------------------------------ - b_c2r =BLOC(condition = "OPERATION == 'C2R'", - CHAM_GD =SIMP(statut='o',typ=cham_gd_sdaster), - PARTIE =SIMP(statut='o',typ='TXM',into=('REEL','IMAG','MODULE','PHASE'),), - ), -# ------------------------------------------------------------------ - b_disc =BLOC(condition = "OPERATION == 'DISC'", - MODELE =SIMP(statut='f',typ=(modele_sdaster) ), - CHAM_GD =SIMP(statut='o',typ=cham_gd_sdaster), - ), -# ------------------------------------------------------------------ - b_extr =BLOC(condition = "OPERATION == 'EXTR'", - regles=(AU_MOINS_UN('MAILLAGE','FISSURE','RESULTAT','TABLE','CARA_ELEM','CHARGE'), - PRESENT_ABSENT('MAILLAGE','FISSURE','RESULTAT','CARA_ELEM','CHARGE'), - PRESENT_ABSENT('FISSURE','MAILLAGE','RESULTAT','TABLE','CARA_ELEM','CHARGE'), - PRESENT_ABSENT('RESULTAT','FISSURE','MAILLAGE','TABLE','CARA_ELEM','CHARGE'), - PRESENT_ABSENT('TABLE','RESULTAT','FISSURE','CARA_ELEM','CHARGE'), - PRESENT_ABSENT('CARA_ELEM','MAILLAGE','TABLE','RESULTAT','FISSURE','CHARGE'), - PRESENT_ABSENT('CHARGE','MAILLAGE','TABLE','RESULTAT','FISSURE','CARA_ELEM'), - ), - MAILLAGE =SIMP(statut='f',typ=(maillage_sdaster) ), - FISSURE =SIMP(statut='f',typ=(fiss_xfem) ), - RESULTAT =SIMP(statut='f',typ=(resultat_sdaster) ), - TABLE =SIMP(statut='f',typ=(table_sdaster),min=1,max=1), - CARA_ELEM =SIMP(statut='f',typ=(cara_elem),min=1,max=1), - CHARGE =SIMP(statut='f',typ=(char_meca),min=1,max=1), - b_extr_maillage =BLOC(condition = "MAILLAGE != None and TABLE == None", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=("GEOMETRIE",)), - ), - - b_extr_cara_elem =BLOC(condition = "CARA_ELEM != None", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(), - into=('.CARGENBA', '.CARMASSI', '.CARCABLE', '.CARCOQUE', '.CARGEOBA', '.CARDISCK', - '.CARARCPO', '.CARGENPO', '.CARDISCM', '.CARORIEN', '.CARDISCA', '.CVENTCXF', - '.CARPOUFL', '.CARGEOPO', '.CARDNSCK', '.CARDNSCM', '.CARDNSCA', '.CARDINFO', - '.CAFIBR', '.CANBSP',)), - ), - - b_extr_charge =BLOC(condition = "CHARGE != None", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(), - into=('.CHME.EPSIN', '.CHME.F1D1D', '.CHME.F1D2D', '.CHME.F1D3D', '.CHME.F2D2D', - '.CHME.F2D3D', '.CHME.F3D3D', '.CHME.FCO2D', '.CHME.FCO3D', '.CHME.FELEC', - '.CHME.FL101', '.CHME.FL102', '.CHME.FLUX', '.CHME.FORNO', '.CHME.IMPE', - '.CHME.ONDE', '.CHME.ONDPL', '.CHME.ONDPR', '.CHME.PESAN', '.CHME.PRESS', - '.CHME.ROTAT', '.CHME.SIGIN', '.CHME.SIINT', '.CHME.VNOR',)), - ), - - b_extr_fissure = BLOC(condition = "FISSURE != None", - NOM_CHAM=SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=("LTNO","LNNO", - "GRLTNO","GRLNNO","STNO","STNOR","BASLOC","GRI.LNNO","GRI.LTNO","GRI.GRLNNO","GRI.GRLTNO")), - - ), - - b_extr_table =BLOC(condition = "TABLE != None", - MODELE =SIMP(statut='f',typ=(modele_sdaster),), - ), - b_extr_resultat =BLOC(condition = "RESULTAT != None", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - TYPE_MAXI =SIMP(statut='f',typ='TXM',into=("MAXI","MINI","MAXI_ABS","MINI_ABS","NORM_TRAN",) ), - - # si TYPE_MAXI, on spécifie en général plusieurs numéros d'ordre : - b_type_maxi =BLOC(condition = "TYPE_MAXI != None", - TYPE_RESU =SIMP(statut='o',typ='TXM',defaut="VALE",into=("VALE","INST",) ), - - regles=(EXCLUS('TOUT_ORDRE','LIST_INST','LIST_FREQ','NUME_ORDRE','INST', - 'FREQ','NUME_MODE','NOEUD_CMP','NOM_CAS','ANGLE'),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - LIST_INST =SIMP(statut='f',typ=(listr8_sdaster) ), - LIST_FREQ =SIMP(statut='f',typ=(listr8_sdaster) ), - NUME_ORDRE =SIMP(statut='f',typ='I',max='**'), - INST =SIMP(statut='f',typ='R',max='**'), - FREQ =SIMP(statut='f',typ='R',max='**'), - NUME_MODE =SIMP(statut='f',typ='I',max='**'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM',max='**'), - ANGLE =SIMP(statut='f',typ='R',max='**'), - ), - - # si .not. TYPE_MAXI, on ne doit spécifier qu'un seul numéro d'ordre : - b_non_type_maxi =BLOC(condition = "TYPE_MAXI == None", - regles=(EXCLUS('NUME_ORDRE','INST','FREQ','NUME_MODE','NOEUD_CMP','NOM_CAS','ANGLE'),), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - FREQ =SIMP(statut='f',typ='R'), - NUME_MODE =SIMP(statut='f',typ='I'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',max=2), - NOM_CAS =SIMP(statut='f',typ='TXM'), - ANGLE =SIMP(statut='f',typ='R'), - - INTERPOL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","LIN",) ), - ), - - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - - ), # fin bloc b_extr - - - ), -# FIN DU CATALOGUE : INFO,TITRE ET TYPAGE DU RESULTAT : -#----------------------------------------------------- - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2,) ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr - -def crea_elem_ssd_prod(self,NUME_DDL,**args): - if NUME_DDL: - self.type_sdprod(NUME_DDL,nume_ddl_sdaster) - return macr_elem_dyna - -CREA_ELEM_SSD=MACRO(nom="CREA_ELEM_SSD", - op=OPS('Macro.crea_elem_ssd_ops.crea_elem_ssd_ops'), - sd_prod=crea_elem_ssd_prod, - reentrant='n', - fr="Creation de macro-element dynamique en enchainant les commandes : "\ - "CALC_MATR_ELEM, NUME_DDL, ASSE_MATRICE, MODE_ITER_SIMULT, "\ - "DEFI_INTERF_DYNA, DEFI_BASE_MODALE et MACR_ELEM_DYNA", - UIinfo={"groupes":("Matrices/vecteurs",)}, - -# pour CAL_MATR_ELEM + NUME_DDL + ASSE_MATRICE + MODE_ITER_SIMULT + MODE_STATIQUE - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - NUME_DDL =SIMP(statut='f',typ=CO,defaut=None), - CHARGE =SIMP(statut='f',typ=(char_meca,char_ther,char_acou),validators=NoRepeat(),max='**'), - -# pour DEFI_INTERF_DYNA - INTERFACE =FACT(statut='o',max='**', - regles=(ENSEMBLE('NOM','TYPE'), - UN_PARMI('NOEUD','GROUP_NO'),), - NOM =SIMP(statut='f',typ='TXM' ), - TYPE =SIMP(statut='f',typ='TXM',into=("MNEAL","CRAIGB","CB_HARMO",) ), - NOEUD =SIMP(statut='f',typ=no,max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,max='**'), - FREQ =SIMP(statut='f',typ='R',defaut= 1.), - ), - -# pour DEFI_BASE_MODALE - BASE_MODALE = FACT(statut='o',max = 1, - TYPE =SIMP(statut='o',typ='TXM',max=1,into=('CLASSIQUE','RITZ',),), - b_ritz = BLOC(condition = "TYPE == 'RITZ' ",fr="Base de type Ritz", - TYPE_MODE = SIMP(statut='f',typ='TXM',into=('STATIQUE','INTERFACE',),defaut='INTERFACE',), - b_intf = BLOC(condition = "TYPE_MODE == 'INTERFACE' ", - NMAX_MODE_INTF =SIMP(statut='f',typ='I',defaut=10,val_min=1),), - ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR (pour MODE_ITER_SIMULT, MODE_STATIQUE, DEFI_BASE_MODALE) - SOLVEUR =C_SOLVEUR('CREA_ELEM_SSD'), -#------------------------------------------------------------------- - -# pour le calcul modal - CALC_FREQ =FACT(statut='d',min=0, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - OPTION =SIMP(statut='f',typ='TXM',defaut="PLUS_PETITE",into=("PLUS_PETITE","BANDE","CENTRE","SANS"), - fr="Choix de l option et par consequent du shift du probleme modal" ), - b_plus_petite =BLOC(condition = "OPTION == 'PLUS_PETITE'",fr="Recherche des plus petites valeurs propres", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_centre =BLOC(condition = "OPTION == 'CENTRE'", - fr="Recherche des valeurs propres les plus proches d une valeur donnee", - FREQ =SIMP(statut='o',typ='R', - fr="Frequence autour de laquelle on cherche les frequences propres"), - AMOR_REDUIT =SIMP(statut='f',typ='R',), - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_bande =BLOC(condition = "(OPTION == 'BANDE')", - fr="Recherche des valeurs propres dans une bande donnee", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 9999,val_min=0 ), - FREQ =SIMP(statut='o',typ='R',min=2,validators=NoRepeat(),max='**', - fr="Valeurs des frequences delimitant les bandes de recherche"), - ), - APPROCHE =SIMP(statut='f',typ='TXM',defaut="REEL",into=("REEL","IMAG","COMPLEXE"), - fr="Choix du pseudo-produit scalaire pour la resolution du probleme quadratique" ), - DIM_SOUS_ESPACE =SIMP(statut='f',typ='I' ), - ), - - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -CREA_MAILLAGE=OPER(nom="CREA_MAILLAGE",op= 167,sd_prod=maillage_sdaster, - reentrant='n',fr="Crée un maillage à partir d'un maillage existant", - UIinfo={"groupes":("Maillage",)}, - regles=(UN_PARMI('COQU_VOLU', 'CREA_FISS', 'CREA_GROUP_MA', 'CREA_MAILLE', 'CREA_POI1', - 'DETR_GROUP_MA', 'ECLA_PG', 'HEXA20_27', 'LINE_QUAD', 'MODI_MAILLE', - 'QUAD_LINE', 'REPERE','RESTREINT','PENTA15_18','GEOM_FIBRE'),), - - - - # le MAILLAGE est inutile si ECLA_PG et GEOM_FIBRE - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster ), - GEOM_FIBRE = SIMP(statut='f',max=1,typ=gfibre_sdaster), - - CREA_POI1 =FACT(statut='f',max='**',fr="Création de mailles de type POI1 à partir de noeuds", - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD' ),), - NOM_GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ), - CREA_MAILLE =FACT(statut='f',max='**',fr="Duplication de mailles", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - PREF_MAILLE =SIMP(statut='o',typ='TXM' ), - PREF_NUME =SIMP(statut='f',typ='I' ), - ), - CREA_GROUP_MA =FACT(statut='f',max='**',fr="Duplication de mailles et création de groupes de mailles", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA' ),), - NOM =SIMP(statut='o',typ='TXM'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - PREF_MAILLE =SIMP(statut='o',typ='TXM' ), - PREF_NUME =SIMP(statut='f',typ='I' ), - ), - DETR_GROUP_MA =FACT(statut='f',fr="Destruction de groupes de mailles", - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - NB_MAILLE =SIMP(statut='f',typ='I',defaut= 0, - fr="Nombre minimal de mailles que doit contenir le groupe pour etre détruit", ), - ), - RESTREINT =FACT(statut='f',fr="Restreindre un maillage à des groupes de mailles",max=1, - regles=(AU_MOINS_UN('GROUP_MA','MAILLE',),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - TOUT_GROUP_MA =SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - TOUT_GROUP_NO =SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON'),), - ), - COQU_VOLU =FACT(statut='f', - fr="Creation de mailles volumiques à partir de mailles surfaciques", - NOM =SIMP(statut='o',typ='TXM'), - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max ='**'), - EPAIS =SIMP(statut='o',typ='R' ), - PREF_MAILLE =SIMP(statut='f',typ='TXM',defaut="MS" ), - PREF_NOEUD =SIMP(statut='f',typ='TXM',defaut="NS" ), - PREF_NUME =SIMP(statut='f',typ='I' ,defaut=1 ), - PLAN =SIMP(statut='o',typ='TXM',into=("SUP","MOY","INF")), - b_MOY =BLOC(condition = "PLAN == 'MOY'", - TRANSLATION =SIMP(statut='o',typ='TXM',into=("SUP","INF") ), - ), - ), - MODI_MAILLE =FACT(statut='f',max='**',fr="Modification du type de mailles", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - OPTION =SIMP(statut='o',typ='TXM',into=("TRIA6_7","QUAD8_9","SEG3_4","QUAD_TRIA3"),validators=NoRepeat(), - fr="Choix de la transformation" ), - b_NOS =BLOC(condition = "OPTION == 'TRIA6_7' or OPTION == 'QUAD8_9' or OPTION == 'SEG3_4'", - PREF_NOEUD =SIMP(statut='f',typ='TXM',defaut="NS"), - PREF_NUME =SIMP(statut='f',typ='I',defaut= 1 ), - ), - b_QTR =BLOC(condition = "OPTION == 'QUAD_TRIA3'", - PREF_MAILLE =SIMP(statut='f',typ='TXM',defaut="MS" ), - PREF_NUME =SIMP(statut='f',typ='I',defaut= 1 ), - ), - ), - CREA_FISS = FACT(statut='f',max='**',fr="Creation d'une fissure potentielle avec elts de joint ou elts à disc", - NOM =SIMP(statut='o',typ='TXM'), - GROUP_NO_1 =SIMP(statut='o',typ=grno), - GROUP_NO_2 =SIMP(statut='o',typ=grno), - PREF_MAILLE =SIMP(statut='o',typ='TXM'), - PREF_NUME =SIMP(statut='f',typ='I',defaut=1 ), - ), - LINE_QUAD =FACT(statut='f',fr="Passage linéaire -> quadratique", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - PREF_NOEUD =SIMP(statut='f',typ='TXM',defaut="NS"), - PREF_NUME =SIMP(statut='f',typ='I',defaut= 1 ), - ), - HEXA20_27 =FACT(statut='f',fr="Passage HEXA20 -> HEXA27", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - PREF_NOEUD =SIMP(statut='f',typ='TXM',defaut="NS"), - PREF_NUME =SIMP(statut='f',typ='I',defaut= 1 ), - ), - PENTA15_18 =FACT(statut='f',fr="Passage PENTA15 -> PENTA18", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - PREF_NOEUD =SIMP(statut='f',typ='TXM',defaut="NS"), - PREF_NUME =SIMP(statut='f',typ='I',defaut= 1 ), - ), - QUAD_LINE =FACT(statut='f',fr="Passage quadratique -> linéaire", - regles=(AU_MOINS_UN('TOUT','MAILLE','GROUP_MA' ),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - ), - REPERE =FACT(statut='f',max='**', - fr="changement de repère servant à déterminer les caractéristiques d'une section de poutre", - TABLE =SIMP(statut='o',typ=table_sdaster, - fr="Nom de la table contenant les caractéristiques de la section de poutre" ), - NOM_ORIG =SIMP(statut='f',typ='TXM',into=("CDG","TORSION"),fr="Origine du nouveau repère" ), - NOM_ROTA =SIMP(statut='f',typ='TXM',into=("INERTIE",),fr="Direction du repére" ), - b_cdg =BLOC(condition = "NOM_ORIG == 'CDG'", - GROUP_MA =SIMP(statut='f',typ=grma, - fr="Nom du groupe de mailles dont le centre de gravité sera l origine du nouveau repère"), - ), - ), - ECLA_PG =FACT(statut='f', - fr="Eclatement des mailles en petites mailles contenant chacune un seul point de gauss", - MODELE =SIMP(statut='o',typ=modele_sdaster ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SHRINK =SIMP(statut='f',typ='R',defaut= 0.9, fr="Facteur de réduction" ), - TAILLE_MIN =SIMP(statut='f',typ='R',defaut= 0.0, fr="Taille minimale d'un coté" ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO('ELGA'),), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -# - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -def crea_resu_prod(TYPE_RESU,**args): - if TYPE_RESU == "EVOL_ELAS" : return evol_elas - if TYPE_RESU == "EVOL_NOLI" : return evol_noli - if TYPE_RESU == "EVOL_THER" : return evol_ther - if TYPE_RESU == "MULT_ELAS" : return mult_elas - if TYPE_RESU == "MODE_MECA" : return mode_meca - if TYPE_RESU == "DYNA_TRANS" : return dyna_trans - if TYPE_RESU == "DYNA_HARMO" : return dyna_harmo - if TYPE_RESU == "FOURIER_ELAS" : return fourier_elas - if TYPE_RESU == "FOURIER_THER" : return fourier_ther - if TYPE_RESU == "EVOL_VARC" : return evol_varc - if TYPE_RESU == "EVOL_CHAR" : return evol_char - raise AsException("type de concept resultat non prevu") - -CREA_RESU=OPER(nom="CREA_RESU",op=124,sd_prod=crea_resu_prod,reentrant='f', - UIinfo={"groupes":("Resultats et champs",)}, - fr="Creer ou enrichir une structure de donnees resultat a partir de champs aux noeuds", - - OPERATION =SIMP(statut='o',typ='TXM',into=("AFFE","ASSE","ECLA_PG","PERM_CHAM","PROL_RTZ","PREP_VRC1","PREP_VRC2",), - fr="choix de la fonction a activer",), - - TYPE_RESU =SIMP(statut='o',position='global',typ='TXM', - into=( - # pour bloc AFFE - "MODE_MECA","MULT_ELAS","EVOL_ELAS","EVOL_NOLI","DYNA_HARMO","DYNA_TRANS", - "FOURIER_ELAS","EVOL_THER","EVOL_VARC","EVOL_CHAR","FOURIER_THER" - # pour bloc ASSE - # "EVOL_THER " - # pour bloc ECLA_PG - # "EVOL_ELAS","EVOL_NOLI","EVOL_THER" - # pour bloc PERM_CHAM - # "EVOL_NOLI" - # pour bloc PROL_RTZ - # "EVOL_THER" - # pour bloc PREP_VRC1 - # "EVOL_THER" - # pour bloc PREP_VRC2 - # "EVOL_THER" - ), - ), - - - # Creation par affectation de champs : - #------------------------------------- - b_affe =BLOC(condition = "OPERATION == 'AFFE'", - - b_type_resu =BLOC(condition = "TYPE_RESU == 'EVOL_CHAR'", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=("PRES", - "FSUR_2D","FSUR_3D","FVOL_2D","FVOL_3D","VITE_VENT")), - ), - - b_evol_char =BLOC(condition = "TYPE_RESU != 'EVOL_CHAR'", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - ), - - b_mode =BLOC(condition = "au_moins_un(TYPE_RESU, ('MODE_MECA', 'DYNA_HARMO', 'DYNA_TRANS'))", - MATR_RIGI =SIMP(statut='f',typ=matr_asse_depl_r,), - MATR_MASS =SIMP(statut='f',typ=matr_asse_depl_r,), - ), -# -# pour ajouter un comportement dans la SD -# - COMPORTEMENT =C_COMPORTEMENT(), -# -# pour ajouter une charge dans la SD -# - b_evol_elas = BLOC(condition="TYPE_RESU=='EVOL_ELAS'", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE",into=("FIXE",) ),), - ), - - b_evol_ther = BLOC(condition="TYPE_RESU=='EVOL_THER'", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='o',typ=(char_ther,char_cine_ther)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)),), - ), - - b_evol_noli = BLOC(condition="TYPE_RESU=='EVOL_NOLI'", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE","FIXE_PILO","SUIV","DIDI")), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MULT_APPUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'),), - ), - - - AFFE =FACT(statut='o',max='**', - CHAM_GD =SIMP(statut='o',typ=(cham_gd_sdaster)), - MODELE =SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - -# - b_mult_elas =BLOC(condition = "TYPE_RESU == 'MULT_ELAS' ", - NOM_CAS =SIMP(statut='f',typ='TXM' ), - CHARGE =SIMP(statut='f',typ=(char_meca),max='**'), - ), - b_evol =BLOC(condition = "au_moins_un(TYPE_RESU, ('EVOL_ELAS', 'EVOL_NOLI', \ - 'EVOL_THER', 'EVOL_VARC', 'EVOL_CHAR', 'DYNA_TRANS'))", - regles=(UN_PARMI('INST','LIST_INST'),), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - NUME_INIT =SIMP(statut='f',typ='I', val_min=1), - NUME_FIN =SIMP(statut='f',typ='I', val_min=1), - PRECISION =SIMP(statut='f',typ='R',defaut= 0.0 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - b_fourier_elas =BLOC(condition = "(TYPE_RESU == 'FOURIER_ELAS') ", - NUME_MODE =SIMP(statut='f',typ='I'), - TYPE_MODE =SIMP(statut='f',typ='TXM',defaut="SYME",into=("SYME","ANTI","TOUS") ), - CHARGE =SIMP(statut='f',typ=(char_meca),max='**'), - ), - b_fourier_ther =BLOC(condition = "(TYPE_RESU == 'FOURIER_THER') ", - NUME_MODE =SIMP(statut='f',typ='I'), - TYPE_MODE =SIMP(statut='f',typ='TXM',defaut="SYME",into=("SYME","ANTI","TOUS") ), - ), - b_mode =BLOC(condition = "TYPE_RESU == 'MODE_MECA'", - NUME_MODE =SIMP(statut='f',typ='I'), - FREQ =SIMP(statut='f',typ='R'), - ), - b_dyna_harmo =BLOC(condition = "TYPE_RESU == 'DYNA_HARMO'", - regles=(UN_PARMI('FREQ','LIST_FREQ',),), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut=0.0), - ), - ), - ), - - - # Creation par assemblage d'evol_ther : - #----------------------------------------- - b_asse =BLOC(condition = "OPERATION == 'ASSE'", - ASSE =FACT(statut='o',max='**', - RESULTAT =SIMP(statut='o',typ=evol_ther), - TRANSLATION =SIMP(statut='f',typ='R',defaut= 0. ), - ), - ), - - - b_ecla_pg =BLOC(condition = "OPERATION == 'ECLA_PG'", - - ECLA_PG =FACT(statut='o', - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST','LIST_ORDRE'),), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO('ELGA'),), - MODELE_INIT =SIMP(statut='o',typ=modele_sdaster), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - RESU_INIT =SIMP(statut='o',typ=resultat_sdaster), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - - - b_perm_cham =BLOC(condition = "OPERATION == 'PERM_CHAM'", - - NOM_CHAM =SIMP(statut='f',typ='TXM',into=("DEPL","SIEF_ELGA","VARI_ELGA","STRX_ELGA"), - validators=NoRepeat(),max='**'), - RESU_INIT =SIMP(statut='o',typ=evol_noli), - INST_INIT =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - MAILLAGE_INIT =SIMP(statut='o',typ=maillage_sdaster,), - RESU_FINAL =SIMP(statut='o',typ=evol_noli,), - MAILLAGE_FINAL =SIMP(statut='o',typ=maillage_sdaster,), - PERM_CHAM =FACT(statut='o',max='**', - GROUP_MA_FINAL =SIMP(statut='o',typ=grma), - GROUP_MA_INIT =SIMP(statut='o',typ=grma), - TRAN =SIMP(statut='o',typ='R',min=3,max=3), - PRECISION =SIMP(statut='f',typ='R',defaut=1.0E-3), - ), - ), - - b_prol_rtz =BLOC(condition = "OPERATION == 'PROL_RTZ'", - - PROL_RTZ =FACT(statut='o', - regles=(EXCLUS('INST','LIST_INST'),), - MAILLAGE_FINAL =SIMP(statut='o',typ=maillage_sdaster,), - TABLE =SIMP(statut='o',typ=table_sdaster,fr="Table issue de post_releve_t"), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - b_acce_reel =BLOC(condition="(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU",),), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU",),), - REPERE =SIMP(statut='o',typ='TXM',into=("CYLINDRIQUE",),), - ORIGINE =SIMP(statut='o',typ='R',min=3,max=3), - AXE_Z =SIMP(statut='o',typ='R',min=3,max=3), - ), - ), - - b_prep_vrc1 =BLOC(condition = "OPERATION == 'PREP_VRC1'", - # calculer la temperature dans les couches des coques multicouche a partir d'un champ de fonctions - # de fonctions du temps et de l'espace (epaisseur) - - PREP_VRC1 =FACT(statut='o',max=1, - CHAM_GD =SIMP(statut='o',typ=(cham_gd_sdaster)), # carte de fonctions du temps et de l'epaisseur - MODELE =SIMP(statut='o',typ=modele_sdaster), # modele mecanique contenant les coques multicouche - CARA_ELEM =SIMP(statut='o',typ=cara_elem), # CARA_ELEM pour connaitre EPAIS et COQU_NCOU - INST =SIMP(statut='o',typ='R',validators=NoRepeat(),max='**'), - ), - ), - - b_prep_vrc2 =BLOC(condition = "OPERATION == 'PREP_VRC2'", - # calculer la temperature dans les couches des coques multicouche a partir d'un evol_ther "coque" - # contenant TEMP_MIL/TEMP_INF/TEMP_SUP - - PREP_VRC2 =FACT(statut='o',max=1, - EVOL_THER =SIMP(statut='o',typ=(evol_ther)), # evol_ther de type "coque" (TEMP_MIL/TEMP_INF/TEMP_SUP) - MODELE =SIMP(statut='o',typ=modele_sdaster), # modele mecanique contenant les coques multicouche - CARA_ELEM =SIMP(statut='o',typ=cara_elem), # CARA_ELEM pour connaitre EPAIS et COQU_NCOU - - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -def crea_table_prod(TYPE_TABLE, **args): - """Typage du concept résultat - """ - if TYPE_TABLE == 'TABLE_FONCTION': - return table_fonction - elif TYPE_TABLE == 'TABLE_CONTENEUR': - return table_container - else: - return table_sdaster - -CREA_TABLE=OPER(nom="CREA_TABLE",op=36,sd_prod=crea_table_prod, - fr="Création d'une table à partir d'une fonction ou de deux listes", - reentrant='f', - UIinfo={"groupes":("Tables",)}, - - regles=(EXCLUS('FONCTION','LISTE','RESU'),), - - LISTE=FACT(statut='f',max='**', - fr="Creation d'une table a partir de listes", - regles=(UN_PARMI('LISTE_I','LISTE_R','LISTE_K')), - PARA =SIMP(statut='o',typ='TXM'), - TYPE_K =SIMP(statut='f',typ='TXM',defaut='K8', - into=('K8','K16','K24')), - NUME_LIGN=SIMP(statut='f',typ='I',max='**'), - LISTE_I =SIMP(statut='f',typ='I',max='**'), - LISTE_R =SIMP(statut='f',typ='R',max='**'), - LISTE_K =SIMP(statut='f',typ='TXM', max='**'), - ), - FONCTION=FACT(statut='f', - fr="Creation d'une table a partir d'une fonction", - FONCTION=SIMP(statut='o',typ=(fonction_c,fonction_sdaster)), - PARA=SIMP(statut='f',typ='TXM',min=2,max=2), - ), - RESU=FACT(statut='f',max=1, - fr="Creation d'une table a partir d'un resultat ou d'un champ", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - UN_PARMI('TOUT_CMP','NOM_CMP'), - PRESENT_ABSENT('TOUT','GROUP_MA','GROUP_NO','MAILLE','NOEUD',), - AU_MOINS_UN('TOUT','GROUP_MA','GROUP_NO','MAILLE','NOEUD',), - ), - CHAM_GD =SIMP(statut='f',typ=cham_gd_sdaster), - RESULTAT =SIMP(statut='f',typ=(resultat_sdaster) ), - b_resultat =BLOC(condition = "RESULTAT != None", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST', - 'MODE','LIST_MODE','FREQ','LIST_FREQ'),), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',max='**'), - LIST_ORDRE =SIMP(statut='f',typ=(listis_sdaster) ), - INST =SIMP(statut='f',typ='R',max='**'), - LIST_INST =SIMP(statut='f',typ=(listr8_sdaster) ), - MODE =SIMP(statut='f',typ='I',max='**'), - LIST_MODE =SIMP(statut='f',typ=(listis_sdaster) ), - FREQ =SIMP(statut='f',typ='R',max='**'), - LIST_FREQ =SIMP(statut='f',typ=(listr8_sdaster) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - b_cham_gd =BLOC(condition = "CHAM_GD != None", - CARA_ELEM =SIMP(statut='f',typ=cara_elem),), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ), - - TYPE_TABLE = SIMP(statut='f', typ='TXM', defaut="TABLE", - into=('TABLE', 'TABLE_FONCTION', 'TABLE_CONTENEUR'),), - - TITRE=SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2007 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr - -DEBUG=PROC(nom="DEBUG",op=137, - UIinfo={"groupes":("Utilitaires",)}, - fr="Permettre de changer entre 2 commandes quelques variables globales de debug", - - SDVERI =SIMP(fr="vérifie la conformité des SD produites par les commandes", - statut='f',typ='TXM',into=('OUI','NON')), - JXVERI =SIMP(fr="vérifie l intégrité de la segmentation mémoire", - statut='f',typ='TXM',into=('OUI','NON')), - JEVEUX =SIMP(fr="force les déchargement sur disque", - statut='f',typ='TXM',into=('OUI','NON')), - IMPR_MACRO =SIMP(fr="affichage des sous-commandes produites par les macros dans le fichier mess", - statut='f',typ='TXM',into=("OUI","NON")), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -DEBUT=MACRO(nom="DEBUT", - op=OPS("Cata.ops.build_debut"), - repetable='n', - UIinfo={"groupes":("Gestion du travail",)}, - fr="Ouverture d'une étude. Allocation des ressources mémoire et disque et fichiers", - sd_prod=ops.DEBUT, - - PAR_LOT =SIMP(fr="mode de traitement des commandes",statut='f',typ='TXM', - into=("OUI","NON"),defaut="OUI"), - IMPR_MACRO =SIMP(fr="affichage des sous-commandes produites par les macros dans le fichier mess", - statut='f',typ='TXM',into=("OUI","NON"),defaut="NON"), -# FORMAT_HDF =SIMP(fr="sauvegarde de la base GLOBALE au format HDF",statut='f', -# typ='TXM',defaut="NON",into=("OUI","NON",) ), - BASE =FACT(fr="définition des paramètres associés aux bases JEVEUX", - statut='f',min=1,max=2, - FICHIER =SIMP(fr="nom de la base",statut='o',typ='TXM', - into=('GLOBALE','VOLATILE'),), - TITRE =SIMP(statut='f',typ='TXM'), - CAS =SIMP(statut='f',typ='TXM'), - NMAX_ENRE =SIMP(fr="nombre maximum d enregistrements",statut='f',typ='I'), - LONG_ENRE =SIMP(fr="longueur des enregistrements",statut='f',typ='I'), - LONG_REPE =SIMP(fr="longueur du répertoire",statut='f',typ='I'), - ), - - CATALOGUE =FACT(statut='f',min=1,max=10, - FICHIER =SIMP(statut='o',typ='TXM'), - UNITE =SIMP(statut='f',typ='I'), - ), - - CODE =FACT(fr="paramètres réservés aux cas-tests", - statut='f',min=1,max=1, - NIV_PUB_WEB =SIMP(statut='o',typ='TXM',into=('INTERNET','INTRANET')), - VISU_EFICAS =SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='OUI'), - ), - - ERREUR =FACT(fr="comportement en cas d'erreur",statut='f',min=1,max=1, - ERREUR_F =SIMP(statut='f',typ='TXM',into=('ABORT','EXCEPTION'),), - ), - - DEBUG =FACT(fr="option de déboggage reservée aux développeurs", - statut='f',min=1,max=1, - JXVERI =SIMP(fr="vérifie l intégrité de la segmentation mémoire", - statut='f',typ='TXM',into=('OUI','NON'),defaut='NON'), - SDVERI =SIMP(fr="vérifie la conformité des SD produites par les commandes", - statut='f',typ='TXM',into=('OUI','NON')), - JEVEUX =SIMP(fr="force les déchargement sur disque", - statut='f',typ='TXM',into=('OUI','NON'),defaut='NON'), - ENVIMA =SIMP(fr="imprime les valeurs définies dans ENVIMA", - statut='f',typ='TXM',into=('TEST',)), - HIST_ETAPE = SIMP(fr="permet de conserver toutes les étapes du jeu de commandes", - statut='f', typ='TXM', into=('OUI', 'NON'), defaut='NON'), - ), - - MESURE_TEMPS =FACT(fr="Pour afficher le temps des principales étapes de calcul", - statut='d',min=1,max=1, - NIVE_DETAIL =SIMP(fr="niveau de détail des impressions", - statut='f',typ='I',into=(0,1,2,3),defaut=1), - # 0 : rien - # 1 : impression en fin de commande des mesures principales - # 2 : impression en fin de commande des mesures principales et secondaires - # 3 : impression des mesures principales et secondaires pour chaque pas de temps - MOYENNE =SIMP(fr="affichage des moyennes et écart-types en parallèle", - statut='f',typ='TXM',into=('OUI','NON',),defaut='NON'), - ), - - MEMOIRE =FACT(fr="mode de gestion mémoire utilisé",statut='d',min=1,max=1, - TAILLE_BLOC =SIMP(statut='f',typ='R',defaut=800.), - TAILLE_GROUP_ELEM =SIMP(statut='f',typ='I',defaut=1000), - ), - - RESERVE_CPU =FACT(fr="reserve de temps pour terminer une execution",statut='d',max=1, - regles=(EXCLUS('VALE','POURCENTAGE'),), -# par défaut VALE fixée à 10. dans le FORTRAN si CODE présent - VALE =SIMP(statut='f',typ='I',val_min=0,), -# par défaut 10% dans le FORTRAN - POURCENTAGE =SIMP(statut='f',typ='R',val_min=0.,val_max=1.0), -# valeur en secondes de la réserve maximum bornée à 900 secondes - BORNE =SIMP(statut='f',typ='I',val_min=0,defaut=900),), - - IGNORE_ALARM = SIMP(statut='f', typ='TXM', max='**', fr="Alarmes que l'utilisateur souhaite délibérément ignorer"), - - LANG = SIMP(statut='f', typ='TXM', - fr="Permet de choisir la langue utilisée pour les messages (si disponible)", - ang="Allows to choose the language used for messages (if available)"), - - INFO = SIMP(statut='f', typ='I', defaut=1, into=(1,2),), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.brie at edf.fr -DEFI_BASE_MODALE=OPER(nom="DEFI_BASE_MODALE",op= 99,sd_prod=mode_meca, - reentrant='f', - fr="Définit la base d'une sous-structuration dynamique ou d'une recombinaison modale", - UIinfo={"groupes":("Matrices et vecteurs","Dynamique",)}, - regles=(UN_PARMI('CLASSIQUE','RITZ','DIAG_MASS','ORTHO_BASE'),), - CLASSIQUE =FACT(statut='f', - INTERF_DYNA =SIMP(statut='o',typ=interf_dyna_clas ), - MODE_MECA =SIMP(statut='o',typ=mode_meca,max='**' ), - NMAX_MODE =SIMP(statut='f',typ='I',defaut=10,max='**' ), - ), - RITZ =FACT(statut='f',max='**', - regles=(UN_PARMI('MODE_MECA','BASE_MODALE','MODE_INTF'),), - MODE_MECA =SIMP(statut='f',typ=mode_meca,max='**' ), - NMAX_MODE =SIMP(statut='f',typ='I',max='**'), - BASE_MODALE =SIMP(statut='f',typ=mode_meca ), - MODE_INTF =SIMP(statut='f',typ=(mode_meca,mult_elas), ), - ), - b_ritz =BLOC(condition = "RITZ != None", - INTERF_DYNA =SIMP(statut='f',typ=interf_dyna_clas ), - NUME_REF =SIMP(statut='f',typ=nume_ddl_sdaster ), - ORTHO =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"), - fr="Reorthonormalisation de la base de Ritz" ), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - b_ortho =BLOC(condition = "ORTHO == 'OUI' ", - MATRICE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_gene_r,matr_asse_pres_r ) ), - ), - ), - DIAG_MASS =FACT(statut='f',max='**', - MODE_MECA =SIMP(statut='o',typ=mode_meca,max='**' ), - MODE_STAT =SIMP(statut='o',typ=mode_meca ), - ), - ORTHO_BASE =FACT(statut='f',max='**', - BASE =SIMP(statut='o',typ=(mode_meca,mult_elas)), - MATRICE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_gene_r,matr_asse_pres_r ) ), - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('DEFI_BASE_MODALE'), -#------------------------------------------------------------------- - - - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sylvie.michel-ponnelle at edf.fr - - -DEFI_CABLE_BP=MACRO(nom="DEFI_CABLE_BP", - op=OPS('Macro.defi_cable_bp_ops.defi_cable_bp_ops'), - sd_prod=cabl_precont, - fr="Calculer les profils initiaux de tension le long des cables " \ - "de précontrainte d'une structure en béton", - reentrant='n',UIinfo={"groupes":("Modélisation",)}, - MODELE =SIMP(statut='o',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - GROUP_MA_BETON =SIMP(statut='o',typ=grma,max='**'), - DEFI_CABLE =FACT(statut='o',max='**', - regles=(UN_PARMI('MAILLE','GROUP_MA'), - UN_PARMI('NOEUD_ANCRAGE','GROUP_NO_ANCRAGE'),), - MAILLE =SIMP(statut='f',typ=ma,min=2,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma), - NOEUD_ANCRAGE =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=2), - GROUP_NO_ANCRAGE=SIMP(statut='f',typ=grno,validators=NoRepeat(),max=2), - TENSION_CT =SIMP(statut='f',typ=table_sdaster), - ), - ADHERENT =SIMP(statut='o',typ='TXM',defaut='OUI',into=("OUI","NON") ), - TYPE_ANCRAGE =SIMP(statut='o',typ='TXM',min=2,max=2,into=("ACTIF","PASSIF") ), - TENSION_INIT =SIMP(statut='o',typ='R',val_min=0.E+0 ), - RECUL_ANCRAGE =SIMP(statut='o',typ='R',val_min=0.E+0 ), - b_adherent=BLOC(condition="(ADHERENT=='OUI')", - TYPE_RELAX =SIMP(statut='o',typ='TXM',into=("SANS","BPEL","ETCC_DIRECT","ETCC_REPRISE"),defaut="SANS",), - b_relax_bpel =BLOC(condition = "TYPE_RELAX =='BPEL'", - R_J =SIMP(statut='o',typ='R',val_min=0.E+0), - ), - b_relax_etcc =BLOC(condition = "((TYPE_RELAX=='ETCC_DIRECT') or (TYPE_RELAX=='ETCC_REPRISE'))", - NBH_RELAX =SIMP(statut='o',typ='R',val_min=0.E+0), - ), -# PERT_ELAS =SIMP(statut='o',typ='TXM',into=("OUI","NON"),defaut="NON"), -# b_pert_elas =BLOC(condition = "PERT_ELAS=='OUI'", -# EP_BETON = SIMP(statut='o',typ='R',val_min=0.E+0), -# ESP_CABLE = SIMP(statut='o',typ='R',val_min=0.E+0) -# ) , - CONE =FACT(statut='f', - RAYON =SIMP(statut='o',typ='R',val_min=0.E+0 ), - LONGUEUR =SIMP(statut='o',typ='R',val_min=0.E+0 ), - PRESENT =SIMP(statut='o',typ='TXM',min=2,max=2,into=("OUI","NON") ), - ), - ), - b_non_adherent=BLOC(condition="(ADHERENT=='NON')", - TYPE_RELAX =SIMP(statut='c',typ='TXM',into=("SANS",),defaut="SANS",), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sylvie.michel-ponnelle at edf.fr - -DEFI_CABLE_OP=OPER(nom="DEFI_CABLE_OP",op= 180,sd_prod=cabl_precont,reentrant='n', - fr="Définit les profils initiaux de tension d'une structure en béton le long des cables de précontrainte" - +" (utilisée par la macro DEFI_CABLE_BP)", - UIinfo={"groupes":("Modélisation",)}, - MODELE =SIMP(statut='o',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - GROUP_MA_BETON =SIMP(statut='o',typ=grma,max='**'), - DEFI_CABLE =FACT(statut='o',max='**', - regles=(UN_PARMI('MAILLE','GROUP_MA'), - UN_PARMI('NOEUD_ANCRAGE','GROUP_NO_ANCRAGE'),), - MAILLE =SIMP(statut='f',typ=ma,min=2,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma), - NOEUD_ANCRAGE =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=2), - GROUP_NO_ANCRAGE=SIMP(statut='f',typ=grno,validators=NoRepeat(),max=2), - GROUP_NO_FUT =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=2), - TENSION_CT =SIMP(statut='f',typ=table_sdaster), - ), - ADHERENT =SIMP(statut='o',typ='TXM',defaut='OUI',into=("OUI","NON") ), - TYPE_ANCRAGE =SIMP(statut='o',typ='TXM',min=2,max=2,into=("ACTIF","PASSIF") ), - TENSION_INIT =SIMP(statut='o',typ='R',val_min=0.E+0 ), - RECUL_ANCRAGE =SIMP(statut='o',typ='R',val_min=0.E+0 ), - TYPE_RELAX =SIMP(statut='o',typ='TXM',into=("SANS","BPEL","ETCC_DIRECT","ETCC_REPRISE"),defaut="SANS",), - R_J =SIMP(statut='f',typ='R',val_min=0.E+0), - NBH_RELAX =SIMP(statut='f',typ='R',val_min=0.E+0), -# PERT_ELAS =SIMP(statut='o',typ='TXM',into=("OUI","NON"),defaut="NON"), -# EP_BETON =SIMP(statut='f',typ='R',val_min=0.E+0), -# ESP_CABLE =SIMP(statut='f',typ='R',val_min=0.E+0), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - CONE =FACT(statut='f',min=0, - RAYON =SIMP(statut='o',typ='R',val_min=0.E+0 ), - LONGUEUR =SIMP(statut='o',typ='R',val_min=0.E+0, defaut=0.E+0 ), - PRESENT =SIMP(statut='o',typ='TXM',min=2,max=2,into=("OUI","NON") ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-michel.proix at edf.fr -DEFI_COMPOR=OPER(nom="DEFI_COMPOR",op=59,sd_prod=compor_sdaster, - fr="Définir le comportement d'un monocristal, d'un polycristal ou de groupes de fibres", - reentrant='n', - UIinfo={"groupes":("Modélisation",)}, -# on exclut MULTIFBRE de MONOCRISTAL ou POLYCRISTAL car la structure de données n'est pas organisée pareil pour ces cas - regles=(UN_PARMI('MONOCRISTAL','POLYCRISTAL','MULTIFIBRE'), - PRESENT_PRESENT('MULTIFIBRE','GEOM_FIBRE','MATER_SECT'), - ), - MONOCRISTAL =FACT(statut='f', max=5, - MATER =SIMP(statut='o', typ=mater_sdaster, max=1), - ECOULEMENT =SIMP(statut='o', typ='TXM', max=1, - into=('MONO_VISC1', 'MONO_VISC2', 'MONO_DD_KR', 'MONO_DD_CFC', 'MONO_DD_CFC_IRRA', - 'MONO_DD_CC', 'MONO_DD_CC_IRRA', 'MONO_DD_FAT',), - fr="Donner le nom du mot-clé facteur de DEFI_MATERIAU précisant le type d'écoulement viscoplastique"), - ELAS =SIMP(statut='f', typ='TXM', max=1, - fr="Donner le nom du mot-clé facteur de DEFI_MATERIAU précisant le comportement élastique (un et un seul)"), - b_non_dd =BLOC(condition="ECOULEMENT=='MONO_VISC1' or ECOULEMENT=='MONO_VISC2'", - ECRO_ISOT =SIMP(statut='o', typ='TXM', max=1, - fr="Donner le nom du mot-clé facteur de DEFI_MATERIAU précisant le type d'écrouissage isotrope"), - ECRO_CINE =SIMP(statut='o', typ='TXM', max=1, - fr="Donner le nom du mot-clé facteur de DEFI_MATERIAU précisant le type d'écrouissage cinématique"), - FAMI_SYST_GLIS =SIMP(statut='f',typ='TXM', max=1, - into=('OCTAEDRIQUE','BCC24','CUBIQUE1','CUBIQUE2','ZIRCONIUM','UNIAXIAL','UTILISATEUR'), - ), - b_util =BLOC(condition="FAMI_SYST_GLIS=='UTILISATEUR' ", - TABL_SYST_GLIS =SIMP(statut='f', typ=table_sdaster, max=1,), - ), - ), - b_dd_kr =BLOC(condition="ECOULEMENT=='MONO_DD_KR' ", - FAMI_SYST_GLIS =SIMP(statut='f',typ='TXM', max=1, - into=('BCC24','UTILISATEUR'),defaut=('BCC24',),), - b_util =BLOC(condition="FAMI_SYST_GLIS=='UTILISATEUR' ", - TABL_SYST_GLIS =SIMP(statut='f', typ=table_sdaster, max=1,), - ), - ), - b_ecp_cfc =BLOC(condition="ECOULEMENT=='MONO_DD_FAT' ", - FAMI_SYST_GLIS =SIMP(statut='f',typ='TXM', max=1, - into=('OCTAEDRIQUE','UTILISATEUR',),defaut=('OCTAEDRIQUE',),), - ), - b_dd_cfc =BLOC(condition="ECOULEMENT=='MONO_DD_CFC' or ECOULEMENT=='MONO_DD_CFC_IRRA'", - FAMI_SYST_GLIS =SIMP(statut='f',typ='TXM', max=1, - into=('OCTAEDRIQUE','UTILISATEUR',),defaut=('OCTAEDRIQUE',),), - b_util =BLOC(condition="FAMI_SYST_GLIS=='UTILISATEUR' ", - TABL_SYST_GLIS =SIMP(statut='f', typ=table_sdaster, max=1,), - ), - ), - b_dd_cc =BLOC(condition="ECOULEMENT=='MONO_DD_CC' or ECOULEMENT=='MONO_DD_CC_IRRA' ", - FAMI_SYST_GLIS =SIMP(statut='f',typ='TXM', max=1, - into=('CUBIQUE1','UTILISATEUR',),defaut=('CUBIQUE1',),), - b_util =BLOC(condition="FAMI_SYST_GLIS=='UTILISATEUR' ", - TABL_SYST_GLIS =SIMP(statut='f', typ=table_sdaster, max=1,), - ), - ), - ), - - MATR_INTER =SIMP(statut='f', typ=table_sdaster, max=1,), - - ROTA_RESEAU =SIMP(statut='f', typ='TXM', max=1,into=('NON','POST','CALC'),defaut='NON', - fr="rotation de reseau : NON, POST, CALC"), - - POLYCRISTAL =FACT(statut='f', max='**', - regles=(UN_PARMI('ANGL_REP','ANGL_EULER'),), - MONOCRISTAL =SIMP(statut='o', typ=compor_sdaster, max=1), - FRAC_VOL =SIMP(statut='o', typ='R', max=1,fr="fraction volumique de la phase correspondant au monocristal"), - ANGL_REP =SIMP(statut='f',typ='R',max=3,fr="orientation du monocristal : 3 angles nautiques en degrés"), - ANGL_EULER=SIMP(statut='f',typ='R',max=3,fr="orientation du monocristal : 3 angles d'Euler en degrés"), - ), - - - b_poly =BLOC( condition = "POLYCRISTAL!='None'", - LOCALISATION =SIMP(statut='f', typ='TXM', max=1, into=('BZ', 'BETA', 'RL',), - fr="Donner le nom de la règle de localisation"), - - b_beta =BLOC( condition = "LOCALISATION=='BETA'", - DL =SIMP(statut='o',typ='R',max=1), - DA =SIMP(statut='o',typ='R',max=1), - ), - ), - -##################################################################################### - GEOM_FIBRE = SIMP(statut='f',max=1,typ=gfibre_sdaster, - fr="Donner le nom du concept regroupant tous les groupes de fibres (issu de DEFI_GEOM_FIBRE)"), - MATER_SECT = SIMP(statut='f',max=1,typ=mater_sdaster, - fr="Donner le nom du materiau pour les caracteristiques homogeneisees sur la section"), - MULTIFIBRE = FACT(statut='f',max='**', - GROUP_FIBRE =SIMP(statut='o', typ='TXM', max='**'), - MATER =SIMP(statut='o', typ=mater_sdaster, max=1, - fr="Donner le nom du materiau pour le groupe de fibres"), - RELATION =SIMP(statut='f', typ='TXM', max=1,defaut="ELAS",into=C_RELATION('DEFI_COMPOR'), - fr="Donner le nom de la relation incrementale pour le groupe de fibres", - ), - RELATION_KIT =SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into=( -# MECA KIT_DDI - "VMIS_ISOT_TRAC", - "VMIS_ISOT_LINE", - "VMIS_ISOT_PUIS", - "GRANGER_FP", - "GRANGER_FP_INDT", - "GRANGER_FP_V", - "BETON_UMLV_FP", - "ROUSS_PR", - "BETON_DOUBLE_DP", - ),), -# on pourrait ajouter TOUT_GROUP_FIBRE - - ) ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr -DEFI_COMPOSITE=OPER(nom="DEFI_COMPOSITE",op=56,sd_prod=mater_sdaster,reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - fr="Déterminer les caractéristiques matériaux homogénéisées d'une coque multicouche à partir" - +" des caractéristiques de chaque couche", - COUCHE =FACT(statut='o',max='**', - EPAIS =SIMP(statut='o',typ='R',val_min=0.E+0 ), - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - ORIENTATION =SIMP(statut='f',typ='R',defaut= 0.E+0, - val_min=-90.E+0,val_max=90.E+0 ), - ), - IMPRESSION =FACT(statut='f', - UNITE =SIMP(statut='f',typ='I',defaut=8), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -DEFI_CONSTANTE=OPER(nom="DEFI_CONSTANTE",op= 2,sd_prod=fonction_sdaster, - fr="Définir la valeur d'une grandeur invariante", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - NOM_RESU =SIMP(statut='f',typ='TXM',defaut="TOUTRESU"), - VALE =SIMP(statut='o',typ='R',), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -# -DEFI_CONTACT=OPER(nom = "DEFI_CONTACT", - op = 30, - sd_prod = char_contact, - fr = "Définit les zones soumises à des conditions de contact unilatéral avec ou sans frottement", - #en = "Allows the definition of contact surfaces as well as unilateral conditions", - reentrant = 'n', - UIinfo = {"groupes":("Modélisation",)}, - -# MODELE - - MODELE =SIMP(statut='o',typ=modele_sdaster,), - INFO =SIMP(statut='f',typ='I',into=(1,2),), - -# FORMULATION (UNIQUE PAR OCCURRENCE DE DEFI_CONTACT) - - FORMULATION =SIMP(statut='o', - position='global', - typ='TXM', - fr="Choix d'une formulation de contact ou de liaisons unilatérales", - defaut="DISCRETE", - into=("DISCRETE","CONTINUE","XFEM","LIAISON_UNIL",),), - -# PARAMETRE GENERAL : FROTTEMENT - - FROTTEMENT =SIMP(statut='f', - position='global', - typ='TXM', - fr="Choix d'un modèle de frottement (uniquement pour les formulations de contact)", - defaut="SANS", - into=("COULOMB","SANS",)), - -### PARAMETRES GENERAUX (UNIQUEMENT POUR LE CONTACT MAILLE, NE DEPENDENT PAS DE LA ZONE DE CONTACT) - - b_contact_mail=BLOC(condition = "((FORMULATION == 'CONTINUE') or (FORMULATION == 'DISCRETE'))", -# ARRET DU CALCUL POUR LE MODE SANS RESOLUTION DU CONTACT - STOP_INTERP = SIMP(statut='f', - typ='TXM', - fr="Arrête le calcul dès qu'une interpénétration est détectée en mode RESOLUTION='NON'", - defaut="NON", - into=("OUI","NON")), -# LISSAGE DES NORMALES PAR MOYENNATION AUX NOEUDS - LISSAGE = SIMP(statut='f', - typ='TXM', - fr="Lissage des normales par moyennation aux noeuds", - defaut="NON", - into=("OUI","NON")), -# VERIFICATION DE L'ORIENTATION ET DE LA COHERENCE DES NORMALES - VERI_NORM =SIMP(statut='f', - typ='TXM', - fr="Vérification de l'orientation (sortante) des normales aux surfaces", - defaut="OUI", - into=("OUI","NON"),), - ), - -### PARAMETRES GENERAUX (UNIQUEMENT POUR LE CONTACT, NE DEPENDENT PAS DE LA ZONE DE CONTACT) - - b_contact=BLOC(condition = "FORMULATION != 'LIAISON_UNIL' ", - -# PARAMETRE GENERAL : BOUCLE DE GEOMETRIE - Cas discret - - b_bouc_geom_maild=BLOC(condition = "FORMULATION == 'DISCRETE'", - ALGO_RESO_GEOM = SIMP(statut='f', - typ='TXM', - into=("POINT_FIXE",), - defaut="POINT_FIXE"), - REAC_GEOM = SIMP(statut='f', - typ='TXM', - into=("AUTOMATIQUE","CONTROLE","SANS",), - defaut="AUTOMATIQUE"), - b_automatique = BLOC(condition = "REAC_GEOM == 'AUTOMATIQUE' ", - ITER_GEOM_MAXI = SIMP(statut='f',typ='I',defaut=10), - RESI_GEOM = SIMP(statut='f',typ='R',defaut=0.01)), - b_controle = BLOC(condition = "REAC_GEOM == 'CONTROLE' ", - NB_ITER_GEOM = SIMP(statut='f',typ='I',defaut = 2)), - )), - -# PARAMETRE GENERAL : BOUCLE DE GEOMETRIE - Cas continu - - b_bouc_geom_mailc=BLOC(condition = "FORMULATION == 'CONTINUE'", - ALGO_RESO_GEOM = SIMP(statut='f', - typ='TXM', - into=("POINT_FIXE","NEWTON",), - defaut="POINT_FIXE"), - b_algo_reso_geomNE = BLOC(condition = "ALGO_RESO_GEOM=='NEWTON'", - RESI_GEOM = SIMP(statut='f',typ='R',defaut=0.000001),), - - b_algo_reso_geomPF = BLOC(condition = "ALGO_RESO_GEOM=='POINT_FIXE'", - REAC_GEOM = SIMP(statut='f', - typ='TXM', - into=("AUTOMATIQUE","CONTROLE","SANS",), - defaut="AUTOMATIQUE"), - b_automatique = BLOC(condition = "REAC_GEOM == 'AUTOMATIQUE' ", - ITER_GEOM_MAXI = SIMP(statut='f',typ='I',defaut=10), - RESI_GEOM = SIMP(statut='f',typ='R',defaut=0.01)), - b_controle = BLOC(condition = "REAC_GEOM == 'CONTROLE' ", - NB_ITER_GEOM = SIMP(statut='f',typ='I',defaut = 2))) - ), - -# PARAMETRE GENERAL : BOUCLE DE GEOMETRIE - Cas XFEM - - b_bouc_geom_xfem=BLOC(condition = "FORMULATION == 'XFEM' ", - ALGO_RESO_GEOM = SIMP(statut='f', - typ='TXM', - into=("POINT_FIXE",), - defaut="POINT_FIXE"), - REAC_GEOM =SIMP(statut='f', - typ='TXM', - into=("AUTOMATIQUE","CONTROLE","SANS",), - defaut="SANS", - ), - b_automatique = BLOC(condition = "REAC_GEOM == 'AUTOMATIQUE' ", - ITER_GEOM_MAXI = SIMP(statut='f',typ='I',defaut=10), - RESI_GEOM = SIMP(statut='f',typ='R',defaut=0.0001), - ), - b_controle = BLOC(condition = "REAC_GEOM == 'CONTROLE' ", - NB_ITER_GEOM = SIMP(statut='f',typ='I',defaut = 2), - ), - ), - - -# PARAMETRE GENERAL : BOUCLE DE CONTACT - - b_bouc_cont_disc=BLOC(condition = "FORMULATION == 'DISCRETE' ", - ITER_CONT_MULT = SIMP(statut='f',typ='I',defaut = 4), - ), - - - b_bouc_cont_cont=BLOC(condition = "FORMULATION == 'CONTINUE' ", - ALGO_RESO_CONT = SIMP(statut='f',typ='TXM',defaut="NEWTON", - into=("POINT_FIXE","NEWTON")), - b_algo_reso_contPF = BLOC(condition = "ALGO_RESO_CONT=='POINT_FIXE'", - ITER_CONT_TYPE = SIMP(statut='f',typ='TXM',defaut="MAXI", - into=("MULT","MAXI")), - b_bouc_cont_mult = BLOC(condition = "ITER_CONT_TYPE=='MULT'", - ITER_CONT_MULT = SIMP(statut='f',typ='I',defaut = 4), - ), - b_bouc_cont_maxi = BLOC(condition = "ITER_CONT_TYPE=='MAXI'", - ITER_CONT_MAXI = SIMP(statut='f',typ='I',defaut = 30), - ), - ) - ), - - b_bouc_cont_xfem=BLOC(condition = "FORMULATION == 'XFEM' ", - ITER_CONT_TYPE= SIMP(statut='f',typ='TXM',defaut="MAXI", - into=("MULT","MAXI")), - b_bouc_cont_mult = BLOC(condition = "ITER_CONT_TYPE=='MULT'", - ITER_CONT_MULT = SIMP(statut='f',typ='I',defaut = 4), - ), - b_bouc_cont_maxi = BLOC(condition = "ITER_CONT_TYPE=='MAXI'", - ITER_CONT_MAXI = SIMP(statut='f',typ='I',defaut = 30), - ), - ), - -# PARAMETRE GENERAL : BOUCLE DE FROTTEMENT - Cas continu - - b_bouc_frot_cont= BLOC(condition = "FROTTEMENT=='COULOMB' and FORMULATION == 'CONTINUE' ", - ALGO_RESO_FROT = SIMP(statut='f', - typ='TXM', - into=("POINT_FIXE","NEWTON",), - defaut="NEWTON"), - b_algo_reso_frotPF = BLOC(condition = "ALGO_RESO_FROT=='POINT_FIXE'", - ITER_FROT_MAXI = SIMP(statut='f',typ='I',defaut=10), - RESI_FROT = SIMP(statut='f',typ='R',defaut=0.0001), - ), - b_algo_reso_frotNE = BLOC(condition = "ALGO_RESO_FROT=='NEWTON'", - - RESI_FROT = SIMP(statut='f',typ='R',defaut=0.0001), - ADAPT_COEF = SIMP(statut='f', - typ='TXM', - defaut="NON", - into=("OUI","NON")), - ), - ), - - -# PARAMETRE GENERAL : BOUCLE DE FROTTEMENT - Cas XFEM - - b_bouc_frot_xfem= BLOC(condition = "FROTTEMENT=='COULOMB' and FORMULATION == 'XFEM' ", - ITER_FROT_MAXI = SIMP(statut='f',typ='I',defaut=10), - RESI_FROT = SIMP(statut='f',typ='R',defaut=0.0001), - ), - -# PARAMETRES GENERAUX : METHODES DISCRETES - - b_para_discret = BLOC(condition = "FORMULATION == 'DISCRETE' ", -# ## METHODES DE DUALISATION ## - STOP_SINGULIER= SIMP(statut='f', - typ='TXM', - fr="Tient compte de la singularité de la matrice de contact", - defaut="OUI", - into=("OUI","NON"),), - NB_RESOL = SIMP(statut='f', - typ='I', - fr="Nombre de résolutions simultanées pour la construction du complément de Schur", - defaut=10,), -# ## GCP ## - RESI_ABSO = SIMP(statut='f', - typ='R', - fr="Critère de convergence (niveau d'interpénétration autorisé pour 'GCP')",), - ITER_GCP_MAXI = SIMP(statut='f', - typ='I', - fr="Nombre d'itérations maximal ('GCP')", - defaut=0,), - RECH_LINEAIRE = SIMP(statut='f', - typ='TXM', - fr="Autorisation de sortie du domaine admissible lors de la recherche linéaire", - defaut="ADMISSIBLE", - into=("ADMISSIBLE","NON_ADMISSIBLE"),), - PRE_COND = SIMP(statut='f', - typ='TXM', - fr="Choix d'un préconditionneur (accélère la convergence de 'GCP')", - defaut="SANS", - into=("DIRICHLET","SANS"),), - b_dirichlet = BLOC (condition = "PRE_COND == 'DIRICHLET'", - COEF_RESI = SIMP(statut='f', - typ='R', - fr="Activation du préconditionneur quand le résidu a été divisé par COEF_RESI", - defaut = -1.0,), - ITER_PRE_MAXI = SIMP(statut='f', - typ='I', - fr="Nombre d'itérations maximal pour le préconditionneur ('GCP')", - defaut=0,), - ), - ), - -## AFFECTATIONS (ZONES PAR ZONES) - -# AFFECTATION - CAS LIAISON_UNILATERALE - - b_affe_unil = BLOC(condition = "FORMULATION == 'LIAISON_UNIL'", - ZONE=FACT(statut='o', - max='**', -# -- Liaison unilatérale - regles=(UN_PARMI('GROUP_MA','MAILLE','GROUP_NO','NOEUD'),), - GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), -# - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'), - COEF_IMPO =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule),), - COEF_MULT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule),max='**'), -# -- Incompatibilité avec CL - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - - - ), - ), - -# AFFECTATION - CAS DISCRET - - b_affe_discret = BLOC(condition = "FORMULATION == 'DISCRETE'", - ZONE=FACT(statut='o', - max='**', -# -- Appariement - APPARIEMENT =SIMP(statut='f',typ='TXM',defaut="MAIT_ESCL", - into=("NODAL","MAIT_ESCL"),), -# - regles=(UN_PARMI('GROUP_MA_ESCL','MAILLE_ESCL'), - UN_PARMI('GROUP_MA_MAIT','MAILLE_MAIT'),), - GROUP_MA_MAIT =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max=1), - MAILLE_MAIT =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_ESCL =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max=1), - MAILLE_ESCL =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), -# - NORMALE =SIMP(statut='f',typ='TXM',defaut="MAIT", - into=("MAIT","MAIT_ESCL","ESCL"),), -# - VECT_MAIT =SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("AUTO","FIXE","VECT_Y")), - - b_nmait_fixe=BLOC(condition = "VECT_MAIT == 'FIXE'", - MAIT_FIXE =SIMP(statut='o',typ='R',min=3,max=3), - ), - - b_nmait_vecty=BLOC(condition = "VECT_MAIT == 'VECT_Y'", - MAIT_VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - ), -# - VECT_ESCL =SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("AUTO","FIXE","VECT_Y")), - - b_nescl_fixe=BLOC(condition = "VECT_ESCL == 'FIXE'", - ESCL_FIXE =SIMP(statut='o',typ='R',min=3,max=3), - ), - - b_nescl_vecty=BLOC(condition = "VECT_ESCL == 'VECT_Y'", - ESCL_VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - ), -# - TYPE_APPA =SIMP(statut='f',typ='TXM',defaut="PROCHE", - into =("PROCHE","FIXE")), - - b_appa_fixe =BLOC(condition = "TYPE_APPA == 'FIXE'", - DIRE_APPA =SIMP(statut='f',typ='R',min=3,max=3), - ), -# - DIST_POUTRE =SIMP(statut='f',typ='TXM',defaut="NON", into=("OUI","NON")), - DIST_COQUE =SIMP(statut='f',typ='TXM',defaut="NON", into=("OUI","NON")), - b_cara=BLOC(condition = "DIST_POUTRE == 'OUI' or DIST_COQUE == 'OUI'", - CARA_ELEM =SIMP(statut='o',typ=(cara_elem) ), - ), - - DIST_MAIT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - DIST_ESCL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# - TOLE_APPA =SIMP(statut='f',typ='R' ,defaut=-1.0), - TOLE_PROJ_EXT =SIMP(statut='f',typ='R' ,defaut=0.50), -# -- Incompatibilité avec CL - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), -# -- Mode sans calcul - RESOLUTION =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - b_verif=BLOC(condition = "RESOLUTION == 'NON' ", - TOLE_INTERP = SIMP(statut='f',typ='R',defaut = 0.), - ), -# -- Résolution - ALGO_CONT =SIMP(statut='o',typ='TXM',defaut="CONTRAINTE", - into=("CONTRAINTE","LAGRANGIEN","PENALISATION","GCP"),), - - b_active=BLOC(condition = "ALGO_CONT == 'CONTRAINTE' ", - fr="Paramètres de la méthode des contraintes actives (contact uniquement)", - GLISSIERE=SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - b_glissiere=BLOC(condition = "GLISSIERE == 'OUI' ", - ALARME_JEU =SIMP(statut='f',typ='R',defaut=0.), - ), - ), -# - b_penal_contact=BLOC(condition = "ALGO_CONT == 'PENALISATION' ", - fr="Paramètres de la méthode pénalisée (contact)", - E_N=SIMP(statut='o',typ='R'), - ), -# - b_frottement=BLOC(condition = "FROTTEMENT == 'COULOMB' ", - fr="Paramètres du frottement de Coulomb", - COULOMB =SIMP(statut='o',typ='R',), - COEF_MATR_FROT=SIMP(statut='f',typ='R',defaut=0.E+0), - ALGO_FROT =SIMP(statut='o',typ='TXM',defaut="PENALISATION", - into=("PENALISATION","LAGRANGIEN"),), -# - b_penal_frot=BLOC(condition = "ALGO_FROT == 'PENALISATION' ", - fr="Paramètres de la méthode pénalisée (frottement)", - E_T=SIMP(statut='o',typ='R'), - ), - ), - ), #fin mot-clé facteur ZONE - ), #fin bloc b_affe_discret - -# AFFECTATION - CAS CONTINUE - - b_affe_continue = BLOC(condition = "FORMULATION == 'CONTINUE'", - ZONE=FACT(statut='o', - max='**', -# -- Appariement - APPARIEMENT =SIMP(statut='f',typ='TXM',defaut="MAIT_ESCL", - into=("MAIT_ESCL",)), - - -# - regles=(UN_PARMI('GROUP_MA_ESCL','MAILLE_ESCL'), - UN_PARMI('GROUP_MA_MAIT','MAILLE_MAIT'),), - GROUP_MA_MAIT =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max=1), - MAILLE_MAIT =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_ESCL =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max=1), - MAILLE_ESCL =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), -# - NORMALE =SIMP(statut='f',typ='TXM',defaut="MAIT", - into=("MAIT","MAIT_ESCL","ESCL"),), -# - VECT_MAIT =SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("AUTO","FIXE","VECT_Y")), - - b_nmait_fixe=BLOC(condition = "VECT_MAIT == 'FIXE'", - MAIT_FIXE =SIMP(statut='o',typ='R',min=3,max=3), - ), - - b_nmait_vecty=BLOC(condition = "VECT_MAIT == 'VECT_Y'", - MAIT_VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - ), -# - VECT_ESCL =SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("AUTO","FIXE","VECT_Y")), - - b_nescl_fixe=BLOC(condition = "VECT_ESCL == 'FIXE'", - ESCL_FIXE =SIMP(statut='o',typ='R',min=3,max=3), - ), - - b_nescl_vecty=BLOC(condition = "VECT_ESCL == 'VECT_Y'", - ESCL_VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - ), -# - TYPE_APPA =SIMP(statut='f',typ='TXM',defaut="PROCHE", - into =("PROCHE","FIXE")), - - b_appa_fixe=BLOC(condition = "TYPE_APPA == 'FIXE'", - DIRE_APPA =SIMP(statut='f',typ='R',min=3,max=3), - ), -# - DIST_POUTRE =SIMP(statut='f',typ='TXM',defaut="NON", into=("OUI","NON")), - DIST_COQUE =SIMP(statut='f',typ='TXM',defaut="NON", into=("OUI","NON")), - b_cara=BLOC(condition = "DIST_POUTRE == 'OUI' or DIST_COQUE == 'OUI'", - CARA_ELEM =SIMP(statut='o',typ=(cara_elem) ), - ), - - DIST_MAIT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - DIST_ESCL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# - TOLE_APPA =SIMP(statut='f',typ='R' ,defaut=-1.0), - TOLE_PROJ_EXT =SIMP(statut='f',typ='R' ,defaut=0.50), -# -- Incompatibilité avec CL - SANS_NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno ,validators=NoRepeat(),max='**'), - SANS_MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - SANS_GROUP_MA =SIMP(statut='f',typ=grma ,validators=NoRepeat(),max='**'), -# -- Mode sans calcul - RESOLUTION =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - b_verif=BLOC(condition = "RESOLUTION == 'NON' ", - TOLE_INTERP = SIMP(statut='f',typ='R',defaut = 0.), - ), -# -- Fonctionnalités spécifiques 'CONTINUE' - - INTEGRATION =SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("AUTO","GAUSS","SIMPSON","NCOTES",),), - b_gauss =BLOC(condition = "INTEGRATION == 'GAUSS' ", - fr="Degré du polynôme de Legendre donnant les points de Gauss", - ORDRE_INT = SIMP(statut='f',typ='I',defaut=3,val_min=1,val_max=6), - ), - b_simpson =BLOC(condition = "INTEGRATION == 'SIMPSON' ", - fr="Nombre de subdivisions du domaine", - ORDRE_INT = SIMP(statut='f',typ='I',defaut=1,val_min=1,val_max=4), - ), - b_ncotes =BLOC(condition = "INTEGRATION == 'NCOTES' ", - fr="Degré du polynôme interpolateur", - ORDRE_INT = SIMP(statut='f',typ='I',defaut=3,val_min=3,val_max=8), - ), -# - CONTACT_INIT =SIMP(statut='f',typ='TXM',defaut="INTERPENETRE", - into=("OUI","INTERPENETRE","NON"),), -# - GLISSIERE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"),), -# - ALGO_CONT =SIMP(statut='f',typ='TXM',defaut="STANDARD", - into=("STANDARD","PENALISATION"),), - - b_cont_std=BLOC(condition = "ALGO_CONT == 'STANDARD' ", - fr="Paramètres de la formulation Lagrangienne", - COEF_CONT = SIMP(statut='f',typ='R',defaut=100.E+0), - ), - b_cont_pena=BLOC(condition = "ALGO_CONT == 'PENALISATION' ", - fr="Paramètres de la méthode pénalisée", - COEF_PENA_CONT =SIMP(statut='o',typ='R'), - ), -# - b_frottement=BLOC(condition = "FROTTEMENT == 'COULOMB' ", - fr="Paramètres du frottement de Coulomb", - COULOMB = SIMP(statut='o',typ='R',), - SEUIL_INIT = SIMP(statut='f',typ='R',defaut=0.E+0), -# - regles=(EXCLUS('SANS_NOEUD_FR','SANS_GROUP_NO_FR'),), - SANS_NOEUD_FR =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO_FR =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - b_sans_group_no_frot=BLOC(condition = " SANS_GROUP_NO_FR != None or \ - SANS_NOEUD_FR != None ", - fr="Direction de frottement à exclure (uniquement dans le cas 3D)", - DIRE_EXCL_FROT=SIMP(statut='f',typ='R',min=3,max=3), - ), - - ALGO_FROT =SIMP(statut='f',typ='TXM',defaut="STANDARD", - into=("STANDARD","PENALISATION"),), - b_frot_std =BLOC(condition = "ALGO_FROT == 'STANDARD' ", - fr="Paramètres de la formulation Lagrangienne", - COEF_FROT =SIMP(statut='f',typ='R',defaut=100.E+0), - ), - - b_frot_pena =BLOC(condition = "ALGO_FROT == 'PENALISATION' ", - fr="Paramètres de la méthode pénalisée", - COEF_PENA_FROT =SIMP(statut='o',typ='R'), - ), - - ), #fin bloc b_frottement - ), #fin mot-clé facteur ZONE - ), #fin bloc b_affe_continue - - -# AFFECTATION - CAS XFEM - - b_affe_xfem =BLOC(condition = "FORMULATION == 'XFEM'", - ZONE=FACT(statut='o', - max='**', -# -- Fissure - FISS_MAIT = SIMP(statut='o',typ=fiss_xfem,max=1), - TOLE_PROJ_EXT =SIMP(statut='f',typ='R' ,defaut=0.50), - -# -- Fonctionnalités spécifiques 'XFEM' - INTEGRATION = SIMP(statut='f', - typ='TXM', - defaut="GAUSS", - - into=("NOEUD","GAUSS","SIMPSON","NCOTES",),), - b_gauss =BLOC(condition = "INTEGRATION == 'GAUSS' ", - fr="Dégré du polynôme de Legendre donnant les points de Gauss", - ORDRE_INT = SIMP(statut='f',typ='I',defaut=6,val_min=1,val_max=6), - ), - b_simpson =BLOC(condition = "INTEGRATION == 'SIMPSON' ", - fr="Nombre de subdivisions du domaine", - ORDRE_INT = SIMP(statut='f',typ='I',defaut=1,val_min=1,val_max=4), - ), - b_ncotes =BLOC(condition = "INTEGRATION == 'NCOTES' ", - fr="Dégré du polynôme interpolateur", - ORDRE_INT = SIMP(statut='f',typ='I',defaut=3,val_min=3,val_max=8), - ), - - ALGO_LAGR = SIMP(statut='f',typ='TXM',defaut="VERSION1", - into=("NON","VERSION1","VERSION2"),), - - ALGO_CONT = SIMP(statut='f',typ='TXM',defaut="STANDARD", - into=("STANDARD","PENALISATION","CZM"),), - - b_cont_nczm =BLOC(condition = "ALGO_CONT!='CZM'", - CONTACT_INIT = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"),), - GLISSIERE = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"),), - ), - - b_cont_std=BLOC(condition = "ALGO_CONT == 'STANDARD'", - fr="Parametres de la formulation Lagrangienne", - COEF_CONT =SIMP(statut='f',typ='R',defaut=100.E+0), - ), - - b_cont_pen=BLOC(condition = "ALGO_CONT == 'PENALISATION' ", - fr="Paramètre de la méthode pénalisée", - COEF_PENA_CONT =SIMP(statut='o',typ='R'), - ), - - b_cont_czm=BLOC(condition = "ALGO_CONT == 'CZM'", - fr="Parametres de la formulation cohesive", - RELATION = SIMP(statut='o',typ='TXM', - into=("CZM_EXP_REG","CZM_LIN_REG","CZM_TAC_MIX","CZM_OUV_MIX"),) - ), - - b_frottement=BLOC(condition = "FROTTEMENT == 'COULOMB' and ALGO_CONT != 'CZM' ", - fr="Paramètres du frottement", - COULOMB =SIMP(statut='o',typ='R',), - SEUIL_INIT =SIMP(statut='f',typ='R',defaut=0.E+0), - ALGO_FROT =SIMP(statut='f',typ='TXM',defaut="STANDARD", - into=("STANDARD","PENALISATION"),), - - b_frot_std=BLOC(condition = "ALGO_FROT == 'STANDARD' ", - fr="Parametres de la formulation Lagrangienne", - COEF_FROT =SIMP(statut='f',typ='R',defaut=100.E+0), - ), - b_frot_pen=BLOC(condition = "ALGO_FROT == 'PENALISATION' ", - fr="Paramètre de la méthode pénalisée", - COEF_PENA_FROT =SIMP(statut='o',typ='R'), - ), - ), #fin bloc b_frottement - ), #fin mot-clé facteur ZONE - ), #fin bloc b_affe_xfem - - ) #fin OPER - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -def DEFIC_prod(self,ACTION,UNITE,**args): - if ACTION == "ASSOCIER" or ACTION == "RESERVER": - if UNITE != None : - return - else : - return entier - elif ACTION == "LIBERER" : - return - else : - raise AsException("ACTION non prevue : %s" % ACTION) - -DEFI_FICHIER=MACRO(nom="DEFI_FICHIER", - op=OPS("Cata.ops.build_DEFI_FICHIER"), - sd_prod=DEFIC_prod, - reentrant='n', - UIinfo={"groupes":("Gestion du travail",)}, - fr="Ouvre ou ferme un fichier associé à un numéro d'unité logique", - - ACTION =SIMP(statut='f',typ='TXM',into=("ASSOCIER","LIBERER","RESERVER"),defaut="ASSOCIER"), - - b_associer =BLOC(condition = "ACTION == 'ASSOCIER'", - fr="Paramètres pour l'ouverture du fichier", - regles=(AU_MOINS_UN('FICHIER','UNITE'),), - UNITE =SIMP(statut='f',typ='I' ,val_min=1), - FICHIER =SIMP(statut='f',typ='TXM',validators=LongStr(1,255)), - TYPE =SIMP(statut='f',typ='TXM',into=("ASCII","BINARY","LIBRE"),defaut="ASCII"), - - b_type_ascii =BLOC(condition = "TYPE == 'ASCII'",fr="Paramètres pour le type ASCII", - ACCES =SIMP(statut='f',typ='TXM',into=("NEW","APPEND","OLD"),defaut="NEW"), - ), - b_type_autre =BLOC(condition = "TYPE != 'ASCII'",fr="Paramètres pour les types BINARY et LIBRE", - ACCES =SIMP(statut='f',typ='TXM',into=("NEW","OLD"),defaut="NEW"), - ), - ), - - b_reserver =BLOC(condition = "ACTION == 'RESERVER'", - fr="Paramètres pour la réservation de l'unité du fichier", - regles=(AU_MOINS_UN('FICHIER','UNITE'),), - UNITE =SIMP(statut='f',typ='I' ,val_min=1), - FICHIER =SIMP(statut='f',typ='TXM',validators=LongStr(1,255)), - TYPE =SIMP(statut='f',typ='TXM',into=("ASCII",),defaut="ASCII"), - ACCES =SIMP(statut='f',typ='TXM',into=("APPEND",),defaut="APPEND"), - ), - - b_liberer =BLOC(condition = "ACTION == 'LIBERER'", - fr="Paramètres pour la fermeture du fichier", - regles=(UN_PARMI('FICHIER','UNITE'),), - UNITE =SIMP(statut='f',typ='I' ,val_min=1), - FICHIER =SIMP(statut='f',typ='TXM',validators=LongStr(1,255)), - ), - - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -DEFI_FISS_XFEM=OPER(nom="DEFI_FISS_XFEM",op= 41,sd_prod=fiss_xfem,reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - fr="Définition des caratéristiques d'une fissure ou d'une interface avec X-FEM", - regles = EXCLUS('MODELE_GRILLE','FISS_GRILLE'), - -# ------------------------------------------------------------------------------------------------------------------------ -# modele sous-jacent -# ------------------------------------------------------------------------------------------------------------------------ - - MODELE =SIMP(statut='o',typ=modele_sdaster), - -# ------------------------------------------------------------------------------------------------------------------------ -# grille auxiliaire -# ------------------------------------------------------------------------------------------------------------------------ - - MODELE_GRILLE =SIMP(statut='f',typ=modele_sdaster,max=1,position='global'), - FISS_GRILLE =SIMP(statut='f',typ=fiss_xfem,max=1), - -# ------------------------------------------------------------------------------------------------------------------------ -# fissure/interface -# ------------------------------------------------------------------------------------------------------------------------ - - TYPE_DISCONTINUITE =SIMP(statut='f',typ='TXM',into=("FISSURE","INTERFACE",) ,defaut="FISSURE",position='global'), - -# ------------------------------------------------------------------------------------------------------------------------ -# caracteristiques de la fissure/interface -# ------------------------------------------------------------------------------------------------------------------------ - - DEFI_FISS =FACT(statut='o',max=1, - - regles =UN_PARMI('GROUP_MA_FISS','FONC_LN','FORM_FISS','CHAM_NO_LSN'), - -# impossible de faire des regles dans des blocs condition, dommage -# b_fissure =BLOC(condition = "TYPE_DISCONTINUITE == 'FISSURE' ",fr="Regles pour les fissures", -# regles =(ENSEMBLE('FONC_LN','FONC_LT'), -# ENSEMBLE('CHAM_NO_LSN','CHAM_NO_LST'), -# ENSEMBLE('GROUP_MA_FISS','GROUP_MA_FOND')), -# ), -# -# b_interface =BLOC(condition = "TYPE_DISCONTINUITE == 'INTERFACE' ",fr="Regles pour les interfaces", -# regles =(PRESENT_ABSENT('FONC_LN','FONC_LT'), -# PRESENT_ABSENT('CHAM_NO_LSN','CHAM_NO_LST'), -# PRESENT_ABSENT('GROUP_MA_FISS','GROUP_MA_FOND')), -# ), - - FONC_LT =SIMP(statut='f',typ=(fonction_sdaster,formule) ), - FONC_LN =SIMP(statut='f',typ=(fonction_sdaster,formule) ), - CHAM_NO_LSN =SIMP(statut='f',typ=cham_no_sdaster,min=1,max=1), - CHAM_NO_LST =SIMP(statut='f',typ=cham_no_sdaster,min=1,max=1), - GROUP_MA_FISS =SIMP(statut='f',typ=grma,min=1,max=1), - GROUP_MA_FOND =SIMP(statut='f',typ=grma,min=1,max=1), - FORM_FISS =SIMP(statut='f',typ='TXM',into=("ELLIPSE","RECTANGLE","CYLINDRE","DEMI_PLAN", - "SEGMENT","DEMI_DROITE","DROITE","ENTAILLE") ), - b_ellipse =BLOC(condition = "FORM_FISS == 'ELLIPSE' ",fr="Paramètres de la fissure/interface elliptique", - DEMI_GRAND_AXE =SIMP(statut='o',typ='R',val_min=0.), - DEMI_PETIT_AXE =SIMP(statut='o',typ='R',val_min=0.), - CENTRE =SIMP(statut='o',typ='R',min=3,max=3), - VECT_X =SIMP(statut='o',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - COTE_FISS =SIMP(statut='f',typ='TXM',defaut="IN",into=("IN","OUT",) ), ), - b_rectangle =BLOC(condition = "FORM_FISS == 'RECTANGLE' ",fr="Paramètres de la fissure/interface rectangulaire", - DEMI_GRAND_AXE =SIMP(statut='o',typ='R',val_min=0.), - DEMI_PETIT_AXE =SIMP(statut='o',typ='R',val_min=0.), - RAYON_CONGE =SIMP(statut='f',typ='R',val_min=0.,defaut=0.), - CENTRE =SIMP(statut='o',typ='R',min=3,max=3), - VECT_X =SIMP(statut='o',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - COTE_FISS =SIMP(statut='f',typ='TXM',defaut="IN",into=("IN","OUT",) ), ), - b_entaille =BLOC(condition = "FORM_FISS == 'ENTAILLE' ",fr="Paramètres de l'interface entaille", - DEMI_LONGUEUR =SIMP(statut='o',typ='R',val_min=0.), - RAYON_CONGE =SIMP(statut='o',typ='R',val_min=0.), - CENTRE =SIMP(statut='o',typ='R',min=3,max=3), - VECT_X =SIMP(statut='o',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), ), - b_cylindre =BLOC(condition = "FORM_FISS == 'CYLINDRE' ",fr="Paramètres de la fissure cylindrique", - DEMI_GRAND_AXE =SIMP(statut='o',typ='R',val_min=0.), - DEMI_PETIT_AXE =SIMP(statut='o',typ='R',val_min=0.), - CENTRE =SIMP(statut='o',typ='R',min=3,max=3), - VECT_X =SIMP(statut='o',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='o',typ='R',min=3,max=3),), - b_demiplan =BLOC(condition = "FORM_FISS == 'DEMI_PLAN' ",fr="Paramètres de la fissure plane à front droit", - PFON =SIMP(statut='o',typ='R',min=3,max=3), - NORMALE =SIMP(statut='o',typ='R',min=3,max=3), - DTAN =SIMP(statut='o',typ='R',min=3,max=3),), - b_segment =BLOC(condition = "FORM_FISS == 'SEGMENT' ",fr="Paramètres de la fissure 2D segment", - PFON_ORIG =SIMP(statut='o',typ='R',min=3,max=3), - PFON_EXTR =SIMP(statut='o',typ='R',min=3,max=3),), - b_demidroite =BLOC(condition = "FORM_FISS == 'DEMI_DROITE' ",fr="Paramètres de la fissure 2D demi-droite", - PFON =SIMP(statut='o',typ='R',min=3,max=3), - DTAN =SIMP(statut='o',typ='R',min=3,max=3),), - b_droite =BLOC(condition = "FORM_FISS == 'DROITE' ",fr="Paramètres de l'interface 2D (fissure traversante)", - POINT =SIMP(statut='o',typ='R',min=3,max=3), - DTAN =SIMP(statut='o',typ='R',min=3,max=3),), - ), - -# ------------------------------------------------------------------------------------------------------------------------ -# partie du maillage potentiellement enrichie -# ------------------------------------------------------------------------------------------------------------------------ - - GROUP_MA_ENRI =SIMP(statut='f',typ=grma,max=01), - -# ------------------------------------------------------------------------------------------------------------------------ -# types d'enrichissement -# ------------------------------------------------------------------------------------------------------------------------ - - b_enri_inte =BLOC(condition = "TYPE_DISCONTINUITE == 'INTERFACE' ", - - CHAM_DISCONTINUITE =SIMP(statut='f',typ='TXM',into=("DEPL","SIGM"),defaut="DEPL" ), - - ), - - - b_enri_fiss =BLOC(condition = "TYPE_DISCONTINUITE == 'FISSURE' ", - - CHAM_DISCONTINUITE =SIMP(statut='f',typ='TXM',into=("DEPL",),defaut="DEPL" ), - TYPE_ENRI_FOND =SIMP(statut='f',typ='TXM',into=("TOPOLOGIQUE","GEOMETRIQUE"),defaut="TOPOLOGIQUE" ), - - b_enri_geom =BLOC(condition = "TYPE_ENRI_FOND == 'GEOMETRIQUE' ",fr="Paramètres de l enrichissement geometrique", - RAYON_ENRI =SIMP(statut='f',typ='R',val_min=0.E+0), - - b_enri_couches =BLOC(condition = "(RAYON_ENRI == None) ",fr="Paramètres de l enrichissement à n couches", - NB_COUCHES =SIMP(statut='f',typ='I',defaut=4,val_min=1), - - ), - ), - ), - -# ------------------------------------------------------------------------------------------------------------------------ -# branchement -# ------------------------------------------------------------------------------------------------------------------------ - - b_jonction =BLOC(condition = "(MODELE_GRILLE == None) and (FISS_GRILLE == None)", - JONCTION =FACT(statut='f',max=1, - FISSURE =SIMP(statut='o',typ=fiss_xfem,min=1,max='**',), - POINT =SIMP(statut='o',typ='R',max=3,), - ), - ), -# ------------------------------------------------------------------------------------------------------------------------ -# info -# ------------------------------------------------------------------------------------------------------------------------ - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2,3,) ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -DEFI_FLUI_STRU=OPER(nom="DEFI_FLUI_STRU",op= 143,sd_prod=type_flui_stru, - reentrant='n',fr="Définit les caractéristiques nécessaires à l'étude dynamique d'une structure sous écoulement", - UIinfo={"groupes":("Modélisation",)}, - regles=( UN_PARMI('FAISCEAU_TRANS','GRAPPE','FAISCEAU_AXIAL','COQUE_COAX',),), - FAISCEAU_TRANS =FACT(statut='f',max='**', - regles=( ENSEMBLE('CSTE_CONNORS','NB_CONNORS','RHO_TUBE'),), - COUPLAGE =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - PROF_VITE_FLUI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PROF_RHO_F_INT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PROF_RHO_F_EXT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - NOM_CMP =SIMP(statut='f',typ='TXM',into=("DX","DY","DZ") ), - COEF_MASS_AJOU =SIMP(statut='f',typ='R' ), - TYPE_PAS =SIMP(statut='f',typ='TXM',into=("CARRE_LIGN","TRIA_LIGN") ), - TYPE_RESEAU =SIMP(statut='f',typ='I' ), - UNITE_CD =SIMP(statut='f',typ='I',defaut=70), - UNITE_CK =SIMP(statut='f',typ='I',defaut=71), - PAS =SIMP(statut='f',typ='R' ), - CSTE_CONNORS =SIMP(statut='f',typ='R',min=2,max=2,val_min=0.E+00), - NB_CONNORS =SIMP(statut='f',typ='I',val_min=2,), - RHO_TUBE =SIMP(statut='f',typ='R' ), - ), - GRAPPE =FACT(statut='f', - regles=(ENSEMBLE('GRAPPE_2','NOEUD','CARA_ELEM','MODELE','RHO_FLUI',), - PRESENT_PRESENT('COEF_MASS_AJOU','GRAPPE_2', ),), -# peut on créer un bloc a partir de la valeur de couplage - COUPLAGE =SIMP(statut='o',typ='TXM',into=("OUI","NON") ), - GRAPPE_2 =SIMP(statut='f',typ='TXM', - into=("ASC_CEN","ASC_EXC","DES_CEN","DES_EXC") ), - NOEUD =SIMP(statut='f',typ=no), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - MODELE =SIMP(statut='f',typ=modele_sdaster ), - COEF_MASS_AJOU =SIMP(statut='f',typ='R' ), - RHO_FLUI =SIMP(statut='f',typ='R' ), - UNITE_CA =SIMP(statut='f',typ='I',defaut=70), - UNITE_KA =SIMP(statut='f',typ='I',defaut=71), - ), - FAISCEAU_AXIAL =FACT(statut='f',max='**', - regles=(UN_PARMI('GROUP_MA','TRI_GROUP_MA'), - UN_PARMI('CARA_ELEM','RAYON_TUBE'), - ENSEMBLE('RAYON_TUBE','COOR_TUBE'), - PRESENT_ABSENT('RAYON_TUBE','TRI_GROUP_MA'), - ENSEMBLE('CARA_PAROI','VALE_PAROI'), - ENSEMBLE('LONG_TYPG','LARG_TYPG','EPAI_TYPG','RUGO_TYPG','COEF_TRAI_TYPG','COEF_DPOR_TYPG', - 'COOR_GRILLE','TYPE_GRILLE', ),), -# on doit pouvoir mettre des blocs conditionnels mais pas assez d infos pour le faire - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TRI_GROUP_MA =SIMP(statut='f',typ='TXM' ), - VECT_X =SIMP(statut='f',typ='R',max=3), - PROF_RHO_FLUI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - PROF_VISC_CINE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - RAYON_TUBE =SIMP(statut='f',typ='R' ), - COOR_TUBE =SIMP(statut='f',typ='R',max='**'), - PESANTEUR =SIMP(statut='f',typ='R',min=4,max=4), - RUGO_TUBE =SIMP(statut='f',typ='R' ), - CARA_PAROI =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=5, - into=("YC","ZC","R","HY","HZ") ), - VALE_PAROI =SIMP(statut='f',typ='R',max=5), - ANGL_VRIL =SIMP(statut='f',typ='R' ), - LONG_TYPG =SIMP(statut='f',typ='R',max='**',val_min=0.E+0), - LARG_TYPG =SIMP(statut='f',typ='R',max='**',val_min=0.E+0), - EPAI_TYPG =SIMP(statut='f',typ='R',max='**',val_min=0.E+0), - RUGO_TYPG =SIMP(statut='f',typ='R',max='**',val_min=0.E+0), - COEF_TRAI_TYPG =SIMP(statut='f',typ='R',max='**',val_min=0.E+0), - COEF_DPOR_TYPG =SIMP(statut='f',typ='R',max='**'), - COOR_GRILLE =SIMP(statut='f',typ='R',max='**'), - TYPE_GRILLE =SIMP(statut='f',typ='I',max='**'), - ), - COQUE_COAX =FACT(statut='f', - MASS_AJOU =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - GROUP_MA_INT =SIMP(statut='o',typ=grma), - GROUP_MA_EXT =SIMP(statut='o',typ=grma), - VECT_X =SIMP(statut='o',typ='R',max='**'), - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - MATER_INT =SIMP(statut='o',typ=mater_sdaster ), - MATER_EXT =SIMP(statut='o',typ=mater_sdaster ), - RHO_FLUI =SIMP(statut='o',typ='R' ), - VISC_CINE =SIMP(statut='o',typ='R' ), - RUGOSITE =SIMP(statut='o',typ='R' ), - PDC_MOY_1 =SIMP(statut='o',typ='R' ), - PDC_DYN_1 =SIMP(statut='o',typ='R' ), - PDC_MOY_2 =SIMP(statut='o',typ='R' ), - PDC_DYN_2 =SIMP(statut='o',typ='R' ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.relun at edf.fr - - -DEFI_FONC_ELEC=MACRO(nom="DEFI_FONC_ELEC", - op=OPS('Macro.defi_fonc_elec_ops.defi_fonc_elec_ops'), - sd_prod=fonction_sdaster, - reentrant='n', - UIinfo={"groupes":("Outils-métier",)}, - fr="Définir une fonction du temps intervenant dans le calcul des " \ - "forces de LAPLACE", - regles=(UN_PARMI('COUR_PRIN','COUR'), - EXCLUS('COUR','COUR_SECO'), ), - FREQ =SIMP(statut='f',typ='R',defaut= 50.), - SIGNAL =SIMP(statut='f',typ='TXM',defaut="COMPLET",into=("COMPLET","CONTINU") ), - COUR =FACT(statut='f',max='**', - fr="Définition du courant de court-circuit", - regles=(UN_PARMI('PHI_CC_1','INTC_CC_1'), - UN_PARMI('PHI_CC_2','INTC_CC_2'),), - INTE_CC_1 =SIMP(statut='o',typ='R'), - TAU_CC_1 =SIMP(statut='o',typ='R'), - PHI_CC_1 =SIMP(statut='f',typ='R'), - INTC_CC_1 =SIMP(statut='f',typ='R'), - INTE_CC_2 =SIMP(statut='o',typ='R'), - TAU_CC_2 =SIMP(statut='o',typ='R'), - PHI_CC_2 =SIMP(statut='f',typ='R'), - INTC_CC_2 =SIMP(statut='f',typ='R'), - INST_CC_INIT =SIMP(statut='o',typ='R'), - INST_CC_FIN =SIMP(statut='o',typ='R'), - ), - COUR_PRIN =FACT(statut='f', - fr="Définition du courant de court-circuit avec réenclenchement", - regles=(UN_PARMI('PHI_CC_1','INTC_CC_1'),), - INTE_CC_1 =SIMP(statut='o',typ='R'), - TAU_CC_1 =SIMP(statut='o',typ='R'), - PHI_CC_1 =SIMP(statut='f',typ='R'), - INTC_CC_1 =SIMP(statut='f',typ='R'), - INTE_RENC_1 =SIMP(statut='f',typ='R'), - TAU_RENC_1 =SIMP(statut='f',typ='R'), - PHI_RENC_1 =SIMP(statut='f',typ='R'), - INST_CC_INIT =SIMP(statut='o',typ='R'), - INST_CC_FIN =SIMP(statut='o',typ='R'), - INST_RENC_INIT =SIMP(statut='f',typ='R',defaut= 0.0E+0), - INST_RENC_FIN =SIMP(statut='f',typ='R',defaut= 0.0E+0), - ), - COUR_SECO =FACT(statut='f',max='**', - fr="Définition du courant de court-circuit avec un intervalle de temps différent de celui de COUR_PRIN", - regles=(UN_PARMI('PHI_CC_2','INTC_CC_2'),), - INTE_CC_2 =SIMP(statut='o',typ='R'), - TAU_CC_2 =SIMP(statut='o',typ='R'), - PHI_CC_2 =SIMP(statut='f',typ='R'), - INTC_CC_2 =SIMP(statut='f',typ='R'), - INTE_RENC_2 =SIMP(statut='f',typ='R'), - TAU_RENC_2 =SIMP(statut='f',typ='R'), - PHI_RENC_2 =SIMP(statut='f',typ='R'), - DIST =SIMP(statut='f',typ='R',defaut=1.0E+0), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -DEFI_FONC_FLUI=OPER(nom="DEFI_FONC_FLUI",op= 142,sd_prod=fonction_sdaster, - reentrant='n', - fr="Définit un profil de vitesse d'écoulement fluide le long d'une poutre", - UIinfo={"groupes":("Modélisation","Fonctions",)}, - MAILLAGE =SIMP(statut='o',typ=(maillage_sdaster) ), - NOEUD_INIT =SIMP(statut='o',typ=no), - NOEUD_FIN =SIMP(statut='o',typ=no), - VITE =FACT(statut='o', - VALE =SIMP(statut='f',typ='R',defaut= 1. ), - PROFIL =SIMP(statut='o',typ='TXM',into=("UNIFORME","LEONARD") ), - NB_BAV =SIMP(statut='f',typ='I',defaut= 0,into=( 0 , 2 , 3 ) ), - ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN", - into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU", - into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM' ,defaut="EXCLU", - into=("CONSTANT","LINEAIRE","EXCLU") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def defi_fonction_prod(VALE,VALE_PARA,VALE_C,NOEUD_PARA,ABSCISSE,**args): - if VALE != None : return fonction_sdaster - if VALE_C != None : return fonction_c - if VALE_PARA != None : return fonction_sdaster - if ABSCISSE != None : return fonction_sdaster - if NOEUD_PARA != None : return fonction_sdaster - raise AsException("type de concept resultat non prevu") - -DEFI_FONCTION=OPER(nom="DEFI_FONCTION",op=3,sd_prod=defi_fonction_prod - ,fr="Définit une fonction réelle ou complexe d'une variable réelle", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('VALE','VALE_C','VALE_PARA','NOEUD_PARA','ABSCISSE'),), - NOM_PARA =SIMP(statut='o',typ='TXM',into=C_PARA_FONCTION() ), - NOM_RESU =SIMP(statut='f',typ='TXM',defaut="TOUTRESU"), - VALE =SIMP(statut='f',typ='R',min=2,max='**', - fr ="Fonction réelle définie par une liste de couples " - "(abscisse,ordonnée)"), - ABSCISSE =SIMP(statut='f',typ='R',min=2,max='**', - fr ="Liste d abscisses d une fonction réelle"), - VALE_C =SIMP(statut='f',typ='R',min=2,max='**', - fr ="Fonction complexe définie par une liste de triplets " - "(absc, partie réelle, partie imaginaire)"), - VALE_PARA =SIMP(statut='f',typ=listr8_sdaster, - fr ="Fonction réelle définie par deux concepts de type listr8" ), - b_vale_para =BLOC(condition = "VALE_PARA != None", - VALE_FONC =SIMP(statut='o',typ=listr8_sdaster ), - ), - b_abscisse =BLOC(condition = "ABSCISSE != None", - ORDONNEE =SIMP(statut='o',typ='R',min=2,max='**', - fr ="Liste d ordonnées d une fonction réelle"), - ), - NOEUD_PARA =SIMP(statut='f',typ=no,max='**', - fr ="Fonction réelle définie par une liste de noeuds et un maillage"), - b_noeud_para =BLOC(condition = "NOEUD_PARA != None", - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster ), - VALE_Y =SIMP(statut='o',typ='R',max='**'), - ), - - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - VERIF =SIMP(statut='f',typ='TXM',defaut="CROISSANT",into=("CROISSANT","NON") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -DEFI_FOND_FISS=OPER(nom="DEFI_FOND_FISS", - op=55, - sd_prod=fond_fiss, - reentrant='n', - UIinfo={"groupes":("Modélisation",)},fr="Définition de lèvres et d'un fond de fissure", - - MAILLAGE = SIMP(statut='o',typ=maillage_sdaster ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - - # definition du fond de fissure - FOND_FISS = FACT(statut='o',max=2, - - TYPE_FOND = SIMP(statut='f',typ='TXM',into=("OUVERT","FERME","INF","SUP"),defaut="OUVERT"), - - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1 ), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max=1 ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - regles=(UN_PARMI('GROUP_NO','NOEUD','GROUP_MA','MAILLE'),), - - # possibilite d'ordonnencement automatique du fond si groupe de mailles - b_grma = BLOC(condition = "(GROUP_MA != None or MAILLE != None) and TYPE_FOND != 'FERME'", - NOEUD_ORIG =SIMP(statut='f',typ=no, max=1), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno,max=1), - regles=(EXCLUS('NOEUD_ORIG','GROUP_NO_ORIG'),), - - # si ordo - b_ordo = BLOC(condition = "NOEUD_ORIG != None or GROUP_NO_ORIG != None", - NOEUD_EXTR = SIMP(statut='f',typ=no, max=1), - GROUP_NO_EXTR = SIMP(statut='f',typ=grno,max=1), - regles=(EXCLUS('NOEUD_EXTR','GROUP_NO_EXTR'),), - ), - ), - # possibilite d'ordonnencement automatique du fond si groupe de mailles - b_grma_ferme= BLOC(condition = "(GROUP_MA != None or MAILLE != None) and TYPE_FOND == 'FERME'", - NOEUD_ORIG =SIMP(statut='f',typ=no, max=1), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno,max=1), - regles=(EXCLUS('NOEUD_ORIG','GROUP_NO_ORIG'),), - - # si ordo - b_ordo_ferme = BLOC(condition = "NOEUD_ORIG != None or GROUP_NO_ORIG != None", - MAILLE_ORIG = SIMP(statut='f',typ=ma, max=1), - GROUP_MA_ORIG = SIMP(statut='f',typ=grma, max=1), - regles=(UN_PARMI('MAILLE_ORIG','GROUP_MA_ORIG'),), - ), - ), - # definition des directions des tangentes aux bords (uniquement pour les fonds non fermes) - b_dtan = BLOC(condition = "TYPE_FOND != 'FERME'", - DTAN_ORIG =SIMP(statut='f',typ='R',max='**'), - DTAN_EXTR =SIMP(statut='f',typ='R',max='**'), - VECT_GRNO_ORIG =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=2), - VECT_GRNO_EXTR =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=2), - regles=(EXCLUS('DTAN_ORIG','VECT_GRNO_ORIG'), - EXCLUS('DTAN_EXTR','VECT_GRNO_EXTR'),), - ), - ), - - CONFIG_INIT = SIMP(statut='f',typ='TXM',into=("COLLEE","DECOLLEE"), defaut="COLLEE",position='global'), - - SYME = SIMP(statut='f',typ='TXM',into=("OUI","NON"), defaut="NON", position='global'), - -# remarque : dans le cas symetrique, il faut soit LEVRE_SUP, soit DTAN_ORIG -# mais impossible de faire une regle. - - LEVRE_SUP =FACT(statut='f',max=1, - regles=(UN_PARMI('GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ), - - b_levre_inf = BLOC(condition = "LEVRE_SUP != None and SYME == 'NON'", - - LEVRE_INF =FACT(statut='o',max=1, - regles=(UN_PARMI('GROUP_MA','MAILLE'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ), - ), - - # dans le cas decolle - b_decolle = BLOC(condition = "CONFIG_INIT == 'DECOLLEE'", - NORMALE =SIMP(statut='o',typ='R',max=3),), - - PREC_NORM = SIMP(statut='f',typ='R',defaut=0.1), - -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2007 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-luc.flejou at edf.fr -# -DEFI_GEOM_FIBRE=OPER(nom="DEFI_GEOM_FIBRE",op= 119, sd_prod=gfibre_sdaster, - fr="Definition des groupes de fibres pour les elements multifibres", - reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - regles=(AU_MOINS_UN('SECTION','FIBRE'),), - - INFO =SIMP(statut='f',typ='I', defaut= 1 ,into=(1,2) ), -#============================================================================ - SECTION =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT_SECT','GROUP_MA_SECT','MAILLE_SECT'), - PRESENT_ABSENT('TOUT_SECT','GROUP_MA_SECT','MAILLE_SECT'),), - - GROUP_FIBRE =SIMP(statut='o',typ='TXM',min=1,max=1), - TOUT_SECT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_SECT =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_SECT =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - MAILLAGE_SECT =SIMP(statut='o',typ=maillage_sdaster), - COOR_AXE_POUTRE =SIMP(statut='o',typ='R',min=2,max=2), - ), - - -#============================================================================ - FIBRE =FACT(statut='f',max='**', - GROUP_FIBRE =SIMP(statut='o',typ='TXM',min=1,max=1), - CARA =SIMP(statut='f',typ='TXM',defaut='SURFACE',into=('SURFACE','DIAMETRE',)), - VALE =SIMP(statut='o',typ='R',max='**'), - COOR_AXE_POUTRE =SIMP(statut='o',typ='R',min=2,max=2), - ), - - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: sebastien.fayolle at edf.fr -DEFI_GLRC=OPER(nom="DEFI_GLRC",op=57,sd_prod=mater_sdaster,reentrant='f', - UIinfo={"groupes":("Modélisation",)}, - fr="Déterminer les caractéristiques homogenéisées du béton armé à partir des propriétés du béton et des " - +" armatures", - reuse = SIMP(statut='f',typ=mater_sdaster), - RELATION = SIMP(statut='o',typ='TXM',defaut="GLRC_DAMAGE", - into=("GLRC_DM","GLRC_DAMAGE"),), - - b_glrc_dm=BLOC(condition = "RELATION == 'GLRC_DM'", - fr="Paramètres de la loi GLRC_DM", - BETON = FACT(statut='o',max=1, - MATER = SIMP(statut='o',typ=(mater_sdaster),), - EPAIS = SIMP(statut='o',typ='R',val_min=0.E+0 ),), - NAPPE = FACT(statut='o',max=1, - MATER = SIMP(statut='o',typ=(mater_sdaster),), - OMY = SIMP(statut='o',typ='R',val_min=0.E+0,), - OMX = SIMP(statut='o',typ='R',val_min=0.E+0,), - RY = SIMP(statut='o',typ='R',val_min=-1.0E+0,val_max=1.0E+0,), - RX = SIMP(statut='o',typ='R',val_min=-1.0E+0,val_max=1.0E+0),), - RHO = SIMP(statut='f',typ='R',val_min=0.E+0,), - AMOR_ALPHA = SIMP(statut='f',typ='R',val_min=0.E+0,), - AMOR_BETA = SIMP(statut='f',typ='R',val_min=0.E+0,), - AMOR_HYST = SIMP(statut='f',typ='R',val_min=0.E+0,), - COMPR = SIMP(statut='o',typ='TXM',defaut="GAMMA", - into=("GAMMA","SEUIL")), - b_gamma=BLOC(condition = "COMPR == 'GAMMA'", - fr="Paramètre d'endommagement en compression ", - GAMMA_C = SIMP(statut='o',typ='R',defaut=1.0E+0,val_min=0.0E+0, val_max=1.0E+0),), - b_seuil=BLOC(condition = "COMPR == 'SEUIL'", - fr="Seuil d'endommagement en compression ", - NYC = SIMP(statut='o',typ='R'),), - PENTE = SIMP(statut='o',typ='TXM',defaut="RIGI_ACIER", - into=("PLAS_ACIER","UTIL","RIGI_ACIER")), - b_util = BLOC(condition = "PENTE == 'UTIL'", - fr="Valeur de la déformation maximale de l'élément", - EPSI_MEMB = SIMP(statut='o',typ='R',defaut=0.E+0), - KAPPA_FLEX = SIMP(statut='o',typ='R',defaut=0.E+0),), - CISAIL = SIMP(statut='o',typ='TXM',defaut="NON", - into=("OUI","NON"),), - METHODE_ENDO = SIMP(statut='o',typ='TXM',defaut="ENDO_INTER", - into=("ENDO_NAISS","ENDO_LIM","ENDO_INTER"),), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2),), - ), - b_glrc_damage=BLOC(condition = "RELATION == 'GLRC_DAMAGE'", - fr="Paramètres de la loi GLRC_DAMAGE", - CISAIL_NL =FACT(statut='f',max=1, - BTD1 =SIMP(statut='o',typ='R'), - BTD2 =SIMP(statut='o',typ='R'), - TSD =SIMP(statut='o',typ='R'), - ), - BETON =FACT(statut='o',max=1, - regles=(ENSEMBLE('MP1X', 'MP1Y', 'MP2X', 'MP2Y'), - ENSEMBLE('MP1X_FO', 'MP1Y_FO', 'MP2X_FO', 'MP2Y_FO'), - PRESENT_ABSENT('MP1X', 'MP1X_FO', 'MP1Y_FO', 'MP2X_FO', 'MP2Y_FO'), - ENSEMBLE('OMT', 'EAT'), - ENSEMBLE('BT1','BT2'),), - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - EPAIS =SIMP(statut='o',typ='R',val_min=0.E+0 ), - GAMMA =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=1.E+0), - QP1 =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=1.E+0), - QP2 =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=1.E+0), - - C1N1 =SIMP(statut='o',typ='R',val_min=0.E+0), - C1N2 =SIMP(statut='o',typ='R',val_min=0.E+0), - C1N3 =SIMP(statut='o',typ='R',val_min=0.E+0), - C2N1 =SIMP(statut='o',typ='R',val_min=0.E+0), - C2N2 =SIMP(statut='o',typ='R',val_min=0.E+0), - C2N3 =SIMP(statut='o',typ='R',val_min=0.E+0), - C1M1 =SIMP(statut='o',typ='R',val_min=0.E+0), - C1M2 =SIMP(statut='o',typ='R',val_min=0.E+0), - C1M3 =SIMP(statut='o',typ='R',val_min=0.E+0), - C2M1 =SIMP(statut='o',typ='R',val_min=0.E+0), - C2M2 =SIMP(statut='o',typ='R',val_min=0.E+0), - C2M3 =SIMP(statut='o',typ='R',val_min=0.E+0), - - OMT =SIMP(statut='f',typ='R',val_min=0.E+0), - EAT =SIMP(statut='f',typ='R',val_min=0.E+0), - BT1 =SIMP(statut='f',typ='R',val_min=0.E+0), - BT2 =SIMP(statut='f',typ='R',val_min=0.E+0), - - MP1X =SIMP(statut='f',typ='R'), - MP2X =SIMP(statut='f',typ='R'), - MP1Y =SIMP(statut='f',typ='R'), - MP2Y =SIMP(statut='f',typ='R'), - - MP1X_FO =SIMP(statut='f',typ=fonction_sdaster), - MP2X_FO =SIMP(statut='f',typ=fonction_sdaster), - MP1Y_FO =SIMP(statut='f',typ=fonction_sdaster), - MP2Y_FO =SIMP(statut='f',typ=fonction_sdaster), - ), - NAPPE =FACT(statut='o',max=10, - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - OMX =SIMP(statut='o',typ='R',val_min=0.E+0), - OMY =SIMP(statut='o',typ='R',val_min=0.E+0), - RX =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - RY =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - ), - CABLE_PREC =FACT(statut='f',max=1, - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - OMX =SIMP(statut='o',typ='R',val_min=0.E+0), - OMY =SIMP(statut='o',typ='R',val_min=0.E+0), - RX =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - RY =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - PREX =SIMP(statut='o',typ='R'), - PREY =SIMP(statut='o',typ='R'), - ), - LINER =FACT(statut='f',max=10, - MATER =SIMP(statut='o',typ=(mater_sdaster) ), - OML =SIMP(statut='o',typ='R',val_min=0.E+0), - RLR =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2),), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr -DEFI_GRILLE=OPER(nom="DEFI_GRILLE",op=82,sd_prod=grille_sdaster,reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - fr="Définition d'une grille", - - MAILLAGE = SIMP(statut='o',typ=maillage_sdaster), - - INFO = SIMP(statut='f',typ='I',defaut= 0,into=(0,1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def defi_group_prod(MAILLAGE,GRILLE,**args): - if ( MAILLAGE != None ) : - if AsType(MAILLAGE) == maillage_sdaster : return maillage_sdaster - if AsType(MAILLAGE) == squelette : return squelette - if ( GRILLE != None ) : - return grille_sdaster - raise AsException("type de concept resultat non prevu") - -DEFI_GROUP=OPER(nom="DEFI_GROUP",op= 104,sd_prod=defi_group_prod, - fr="Définition de nouveaux groupes de noeuds et/ou de mailles dans un concept maillage", - reentrant='o', - UIinfo={"groupes":("Maillage",)}, - regles=(AU_MOINS_UN('CREA_GROUP_MA','CREA_GROUP_NO','DETR_GROUP_NO','DETR_GROUP_MA'), - UN_PARMI('MAILLAGE','GRILLE'),), - MAILLAGE =SIMP(statut='f',typ=(maillage_sdaster,squelette) ), - GRILLE =SIMP(statut='f',typ=(grille_sdaster) ), - DETR_GROUP_MA =FACT(statut='f',max='**', - NOM =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'),), - DETR_GROUP_NO =FACT(statut='f',max='**', - NOM =SIMP(statut='o',typ=grno,validators=NoRepeat(),max='**'),), - - - CREA_GROUP_MA =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE','INTERSEC','UNION','DIFFE','OPTION'),), - NOM =SIMP(statut='o',typ=grma), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - INTERSEC =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - UNION =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - DIFFE =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TYPE_MAILLE =SIMP(statut='f',typ='TXM',defaut="TOUT",into=("TOUT","1D","2D","3D", - "POI1","SEG2","SEG3","SEG4","TRIA3","TRIA6","TRIA7", - "QUAD4","QUAD8","QUAD9","TETRA4","TETRA10", - "PENTA6","PENTA15","PENTA18","HEXA8","HEXA20","HEXA27", - "PYRAM5","PYRAM13",),max=1 ), - - OPTION =SIMP(statut='f',typ='TXM',into=("FACE_NORMALE","SPHERE","CYLINDRE", - "BANDE","APPUI_LACHE","APPUI","FISS_XFEM") ), - b_group_ma =BLOC(condition = "GROUP_MA != None", - regles=(EXCLUS('POSITION','NUME_INIT'),), - NUME_INIT =SIMP(statut='f',typ='I'), - POSITION =SIMP(statut='f',typ='TXM',into=("INIT","FIN","MILIEU") ), - b_nume_init =BLOC(condition = "NUME_INIT != None", - NUME_FIN =SIMP(statut='f',typ='I' ), - ), - ), - b_face_normale =BLOC(condition = "OPTION == 'FACE_NORMALE'", - regles=(UN_PARMI('ANGL_NAUT','VECT_NORMALE'),), - ANGL_NAUT =SIMP(statut='f',typ='R',max=2), - VECT_NORMALE =SIMP(statut='f',typ='R',max=3), - ANGL_PREC =SIMP(statut='f',typ='R',defaut= 0.5 ), - VERI_SIGNE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - b_sphere =BLOC(condition = "OPTION == 'SPHERE'", - regles=(UN_PARMI('POINT','NOEUD_CENTRE','GROUP_NO_CENTRE'),), - POINT =SIMP(statut='f',typ='R',max=3), - NOEUD_CENTRE =SIMP(statut='f',typ=no), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno), - RAYON =SIMP(statut='o',typ='R' ), - CRIT_NOEUD = SIMP(statut='f',typ='TXM',defaut="AU_MOINS_UN", - into=("TOUS","AU_MOINS_UN","MAJORITE"),), - ), - b_cylindre =BLOC(condition = "OPTION == 'CYLINDRE'", - regles=(UN_PARMI('POINT','NOEUD_CENTRE','GROUP_NO_CENTRE'), - UN_PARMI('ANGL_NAUT','VECT_NORMALE'),), - POINT =SIMP(statut='f',typ='R',max=3), - NOEUD_CENTRE =SIMP(statut='f',typ=no), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno), - RAYON =SIMP(statut='o',typ='R' ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=2), - VECT_NORMALE =SIMP(statut='f',typ='R',max=3), - CRIT_NOEUD = SIMP(statut='f',typ='TXM',defaut="AU_MOINS_UN", - into=("TOUS","AU_MOINS_UN","MAJORITE"),), - ), - b_bande =BLOC(condition = "OPTION == 'BANDE'", - regles=(UN_PARMI('POINT','NOEUD_CENTRE','GROUP_NO_CENTRE'), - UN_PARMI('ANGL_NAUT','VECT_NORMALE'),), - POINT =SIMP(statut='f',typ='R' ,max=3), - NOEUD_CENTRE =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=1), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1), - DIST =SIMP(statut='o',typ='R' ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=2), - VECT_NORMALE =SIMP(statut='f',typ='R',max=3), - CRIT_NOEUD = SIMP(statut='f',typ='TXM',defaut="AU_MOINS_UN", - into=("TOUS","AU_MOINS_UN","MAJORITE"),), - ), - b_app_lache =BLOC(condition = "OPTION == 'APPUI_LACHE'", - regles=(UN_PARMI('NOEUD','GROUP_NO'),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - b_appui =BLOC(condition = "OPTION == 'APPUI'", - regles=(UN_PARMI('NOEUD','GROUP_NO'),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - TYPE_APPUI =SIMP(statut='o',typ='TXM',max=1, into=('AU_MOINS_UN','TOUT','SOMMET','MAJORITE')), - ), - b_fiss_xfem =BLOC(condition = "OPTION == 'FISS_XFEM'", - TYPE_GROUP =SIMP(statut='o',typ='TXM',max=1,defaut='XFEM', - into=('HEAVISIDE','CRACKTIP','MIXTE','FISSUREE','XFEM',),), - FISSURE =SIMP(statut='o',typ=fiss_xfem,min=1,max='**'), - ), - ), - - - CREA_GROUP_NO =FACT(statut='f',max='**', - OPTION =SIMP(statut='f',typ='TXM',into=("ENV_SPHERE","ENV_CYLINDRE","PLAN", - "SEGM_DROI_ORDO","NOEUD_ORDO","TUNNEL", - "INCLUSION","FISS_XFEM","INTERVALLE_VALE") ), - - b_option =BLOC(condition = "OPTION == None" , - regles=(UN_PARMI('TOUT_GROUP_MA','GROUP_MA','GROUP_NO','NOEUD', - 'INTERSEC','UNION','DIFFE'),), - TOUT_GROUP_MA =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - INTERSEC =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - UNION =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - DIFFE =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - - b_nom_group_ma =BLOC(condition = "GROUP_MA != None", - NOM = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - CRIT_NOEUD = SIMP(statut='f',typ='TXM',defaut="TOUS", - into=("TOUS","SOMMET","MILIEU","CENTRE"),), - ), - b_group_no =BLOC(condition = "GROUP_NO != None", - regles=(EXCLUS('POSITION','NUME_INIT'),), - NUME_INIT =SIMP(statut='f',typ='I'), - POSITION =SIMP(statut='f',typ='TXM',into=("INIT","FIN","MILIEU") ), - b_nume_init =BLOC(condition = "NUME_INIT != None", - NUME_FIN =SIMP(statut='f',typ='I' ), - ), - ), - b_nom =BLOC(condition = "GROUP_MA == None and TOUT_GROUP_MA == None" , - NOM =SIMP(statut='o',typ=grma), - ), - ), - - b_env_sphere =BLOC(condition = "OPTION == 'ENV_SPHERE'", - regles=(UN_PARMI('POINT','NOEUD_CENTRE','GROUP_NO_CENTRE'),), - NOM =SIMP(statut='o',typ=grno), - POINT =SIMP(statut='f',typ='R' ,max=3), - NOEUD_CENTRE =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=1), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1), - RAYON =SIMP(statut='o',typ='R' ), - PRECISION =SIMP(statut='o',typ='R' ), - ), - b_env_cylindre =BLOC(condition = "OPTION == 'ENV_CYLINDRE'", - regles=(UN_PARMI('POINT','NOEUD_CENTRE','GROUP_NO_CENTRE'), - UN_PARMI('ANGL_NAUT','VECT_NORMALE'),), - NOM =SIMP(statut='o',typ=grno), - POINT =SIMP(statut='f',typ='R' ,max=3), - NOEUD_CENTRE =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=1), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1), - RAYON =SIMP(statut='o',typ='R' ), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - VECT_NORMALE =SIMP(statut='f',typ='R',max=3), - PRECISION =SIMP(statut='o',typ='R' ), - ), - b_env_plan =BLOC(condition = "OPTION == 'PLAN'", - regles=(UN_PARMI('POINT','NOEUD_CENTRE','GROUP_NO_CENTRE'), - UN_PARMI('ANGL_NAUT','VECT_NORMALE'),), - NOM =SIMP(statut='o',typ=grno), - POINT =SIMP(statut='f',typ='R' ,max=3), - NOEUD_CENTRE =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=1), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1), - ANGL_NAUT =SIMP(statut='f',typ='R' ,max=3), - VECT_NORMALE =SIMP(statut='f',typ='R' ,max=3), - PRECISION =SIMP(statut='o',typ='R' ), - ), - b_segm_droi_ordo=BLOC(condition = "OPTION == 'SEGM_DROI_ORDO'", - regles=(AU_MOINS_UN('NOEUD','GROUP_NO'), - UN_PARMI('NOEUD_ORIG','GROUP_NO_ORIG'), - UN_PARMI('NOEUD_EXTR','GROUP_NO_EXTR'),), - NOM =SIMP(statut='o',typ=grno), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_ORIG =SIMP(statut='f',typ=no), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno), - NOEUD_EXTR =SIMP(statut='f',typ=no), - GROUP_NO_EXTR =SIMP(statut='f',typ=grno), - PRECISION =SIMP(statut='o',typ='R' ), - CRITERE =SIMP(statut='o',typ='TXM',into=("ABSOLU","RELATIF") ), - ), - b_noeud_ordo =BLOC(condition = "OPTION == 'NOEUD_ORDO'", - regles=(EXCLUS('NOEUD_ORIG','GROUP_NO_ORIG'), - EXCLUS('NOEUD_EXTR','GROUP_NO_EXTR'),), - NOM =SIMP(statut='o',typ=grno), - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - # si le groupe de mailles forme une ligne ouverte, on peut choisir le sens de parcours en choissant l'origine: - # si le groupe de mailles forme une ligne fermée, il FAUT choisir l'origine et l'extrémité (= origine): - NOEUD_ORIG =SIMP(statut='f',typ=no), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno), - NOEUD_EXTR =SIMP(statut='f',typ=no), - GROUP_NO_EXTR =SIMP(statut='f',typ=grno), - # si le groupe de mailles forme une ligne fermée, on peut choisir le sens de parcours : - VECT_ORIE =SIMP(statut='f',typ='R',max=3), # utilisé seulement si NOEUD_ORIG=NOEUD_EXTR - - ), - b_tunnel =BLOC(condition = "OPTION == 'TUNNEL'", - regles=(AU_MOINS_UN ('TOUT','GROUP_MA','MAILLE'), - EXCLUS('NOEUD_ORIG','GROUP_NO_ORIG'), - AU_MOINS_UN ('GROUP_MA_AXE','MAILLE_AXE'),), - NOM =SIMP(statut='o',typ=grma), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_AXE =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_AXE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD_ORIG =SIMP(statut='f',typ=no), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno), - RAYON =SIMP(statut='o',typ='R'), - LONGUEUR =SIMP(statut='f',typ='R'), - ), - b_inclusion =BLOC(condition = "OPTION == 'INCLUSION'", - fr="""crée le groupe des noeuds des mailles de GROUP_MA inclus géométriquement - dans les mailles de GROUP_MA_INCL""", - NOM =SIMP(statut='o',typ=grma), - CAS_FIGURE =SIMP(statut='o',typ='TXM',into=("2D","3D","2.5D",)), - DISTANCE_MAX =SIMP(statut='f',typ='R',), - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA_INCL =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - MAILLAGE_INCL =SIMP(statut='f',typ=maillage_sdaster), - ), - b_fiss_xfem =BLOC(condition = "OPTION == 'FISS_XFEM'", - NOM =SIMP(statut='o',typ=grma), - TYPE_GROUP =SIMP(statut='o',typ='TXM',max=1,into=('HEAVISIDE','CRACKTIP','MIXTE','XFEM','ZONE_MAJ','TORE')), - FISSURE =SIMP(statut='o',typ=fiss_xfem,min=1,max='**'), - b_rayon =BLOC(condition = "TYPE_GROUP == 'TORE'", - RAYON_TORE =SIMP(statut='o',typ='R',max=1,val_min=0.0), - ), - ), - b_intervalle_vale =BLOC(condition = "OPTION == 'INTERVALLE_VALE'", - NOM =SIMP(statut='o',typ=grma), - CHAM_GD =SIMP(statut='o',typ=cham_no_sdaster), - NOM_CMP =SIMP(statut='o',typ='TXM',max=1), - VALE =SIMP(statut='o',typ='R',min=2,max=2), - ), - ), - ALARME =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - INFO =SIMP(statut='f',typ='I',into=( 1 , 2 ) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr - -DEFI_INTE_SPEC=OPER(nom="DEFI_INTE_SPEC",op= 115, - sd_prod=interspectre, - reentrant='n', - fr="Définit une matrice interspectrale", - UIinfo={"groupes":("Fonctions",)}, - - DIMENSION =SIMP(statut='f',typ='I',defaut= 1 ), - - regles=(UN_PARMI('PAR_FONCTION','KANAI_TAJIMI','CONSTANT'),), - - PAR_FONCTION =FACT(statut='f',max='**', - regles=(UN_PARMI('NUME_ORDRE_I','NOEUD_I'),), - NOEUD_I =SIMP(statut='f',typ=no,max=1,), - NUME_ORDRE_I =SIMP(statut='f',typ='I',max=1), - b_nume_ordre_i = BLOC (condition = "NUME_ORDRE_I != None", - NUME_ORDRE_J =SIMP(statut='o',typ='I',max=1), - ), - b_noeud_i = BLOC (condition = "NOEUD_I != None", - NOEUD_J =SIMP(statut='o',typ=no,max=1,), - NOM_CMP_I =SIMP(statut='o',typ='TXM',max=1,), - NOM_CMP_J =SIMP(statut='o',typ='TXM',max=1,), - ), - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,fonction_c ),max=1), - ), - - KANAI_TAJIMI =FACT(statut='f',max='**', - regles=(EXCLUS('VALE_R','VALE_C'), - UN_PARMI('NUME_ORDRE_I','NOEUD_I'),), - NUME_ORDRE_I =SIMP(statut='f',typ='I',max=1), - NOEUD_I =SIMP(statut='f',typ=no,max=1,), - b_nume_ordre_i = BLOC (condition = "NUME_ORDRE_I != None", - NUME_ORDRE_J =SIMP(statut='o',typ='I',max=1), - ), - b_noeud_i = BLOC (condition = "NOEUD_I != None", - NOEUD_J =SIMP(statut='o',typ=no,max=1,), - NOM_CMP_I =SIMP(statut='o',typ='TXM',max=1,), - NOM_CMP_J =SIMP(statut='o',typ='TXM',max=1,), - ), - FREQ_MIN =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FREQ_MAX =SIMP(statut='f',typ='R',defaut= 100. ), - PAS =SIMP(statut='f',typ='R',defaut= 1. ), - AMOR_REDUIT =SIMP(statut='f',typ='R',defaut= 0.6 ), - FREQ_MOY =SIMP(statut='f',typ='R',defaut= 5. ), - VALE_R =SIMP(statut='f',typ='R' ), - VALE_C =SIMP(statut='f',typ='C' ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - ), - CONSTANT =FACT(statut='f',max='**', - regles=(EXCLUS('VALE_R','VALE_C'), - UN_PARMI('NUME_ORDRE_I','NOEUD_I'),), - NUME_ORDRE_I =SIMP(statut='f',typ='I',max=1), - NOEUD_I =SIMP(statut='f',typ=no,max=1,), - b_nume_ordre_i = BLOC (condition = "NUME_ORDRE_I != None", - NUME_ORDRE_J =SIMP(statut='o',typ='I',max=1), - ), - b_noeud_i = BLOC (condition = "NOEUD_I != None", - NOEUD_J =SIMP(statut='o',typ=no,max=1,), - NOM_CMP_I =SIMP(statut='o',typ='TXM',max=1,), - NOM_CMP_J =SIMP(statut='o',typ='TXM',max=1,), - ), - FREQ_MIN =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FREQ_MAX =SIMP(statut='f',typ='R',defaut= 100. ), - PAS =SIMP(statut='f',typ='R',defaut= 1. ), - VALE_R =SIMP(statut='f',typ='R' ), - VALE_C =SIMP(statut='f',typ='C' ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr - -DEFI_INTERF_DYNA=OPER(nom="DEFI_INTERF_DYNA",op= 98,sd_prod=interf_dyna_clas, - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs","Dynamique",)}, - fr="Définir les interfaces d'une structure et leur affecter un type", - NUME_DDL =SIMP(statut='o',typ=nume_ddl_sdaster ), - INTERFACE =FACT(statut='o',max='**', - regles=(ENSEMBLE('NOM','TYPE'), -# erreur doc U sur la condition qui suit - UN_PARMI('NOEUD','GROUP_NO'),), - NOM =SIMP(statut='f',typ='TXM' ), - TYPE =SIMP(statut='f',typ='TXM',into=("MNEAL","CRAIGB","CB_HARMO","AUCUN") ), - NOEUD =SIMP(statut='f',typ=no,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,max='**'), -# DDL_ACTIF =SIMP(statut='f',typ='TXM',max='**'), - MASQUE =SIMP(statut='f',typ='TXM',max='**'), - ), - FREQ =SIMP(statut='f',typ='R',defaut= 1.), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -DEFI_LIST_ENTI=OPER(nom="DEFI_LIST_ENTI",op=22,sd_prod=listis_sdaster, - fr="Définir une liste d'entiers strictement croissante", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - - OPERATION =SIMP(statut='o',typ='TXM',defaut='DEFI',into=('DEFI','NUME_ORDRE',)), - - - # définition d'une liste d'entiers - #---------------------------------- - b_defi =BLOC(condition = "OPERATION == 'DEFI'", - regles=(UN_PARMI('VALE','DEBUT'), - EXCLUS('VALE','INTERVALLE'),), - VALE =SIMP(statut='f',typ='I',max='**'), - DEBUT =SIMP(statut='f',typ='I'), - INTERVALLE =FACT(statut='f',max='**', - regles=(UN_PARMI('NOMBRE','PAS'),), - JUSQU_A =SIMP(statut='o',typ='I'), - NOMBRE =SIMP(statut='f',typ='I',val_min=1,), - PAS =SIMP(statut='f',typ='I',val_min=1,), - ), - ), - - - # extraction d'une liste de nume_ordre dans une sd_resultat : - #------------------------------------------------------------ - b_extr =BLOC(condition = "OPERATION == 'NUME_ORDRE'", - RESULTAT =SIMP(statut='o',typ=resultat_sdaster), - PARAMETRE =SIMP(statut='o',typ='TXM',), - INTERV_R =SIMP(statut='o',typ='R',min=2,max=2), - ), - - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.brie at edf.fr -DEFI_LIST_FREQ=MACRO(nom="DEFI_LIST_FREQ", - op=OPS('Macro.defi_list_freq_ops.defi_list_freq_ops'), - sd_prod=listr8_sdaster, - fr="Définir une liste de fréquences strictement croissante", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('VALE','DEBUT',), - EXCLUS('VALE','INTERVALLE'), - ENSEMBLE('DEBUT','INTERVALLE')), - VALE =SIMP(statut='f',typ='R',max='**'), - DEBUT =SIMP(statut='f',typ='R'), - INTERVALLE =FACT(statut='f',max='**', - regles=(UN_PARMI('NOMBRE','PAS'),), - JUSQU_A =SIMP(statut='o',typ='R'), - NOMBRE =SIMP(statut='f',typ='I'), - PAS =SIMP(statut='f',typ='R'), - ), - RAFFINEMENT =FACT(statut='f', - LIST_RAFFINE =SIMP(statut='o',typ='R',max='**'), - NB_POINTS =SIMP(statut='f',typ='I',defaut=5), - PAS_MINI =SIMP(statut='f',typ='R',defaut=0.001), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU","LARGEUR_3DB")), - b_crit_rela_abs=BLOC(condition="(CRITERE=='RELATIF' or CRITERE=='ABSOLU')", - DISPERSION =SIMP(statut='f',typ='R',defaut=0.01),), - b_crit_larg=BLOC(condition="(CRITERE=='LARGEUR_3DB')", - AMOR_MODAL =FACT(statut='o', - regles = UN_PARMI('AMOR_REDUIT','LIST_AMOR'), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ),),), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - - - -# Bloc pour decoupe automatique -bloc_auto =BLOC(fr = "Subdivision de type automatique", - condition = "SUBD_METHODE == 'AUTO'", - SUBD_PAS_MINI = SIMP(fr = "Pas de temps en dessous duquel on ne subdivise plus", - statut = 'f', - typ = 'R', - val_min = 0.0, - max = 1, - defaut = 0., - ), - ) - -# Bloc pour decoupe manuel -bloc_manu =BLOC(fr = "Subdivision de type manuel", - condition = "SUBD_METHODE == 'MANUEL'", - regles = (AU_MOINS_UN('SUBD_NIVEAU','SUBD_PAS_MINI'),), - SUBD_PAS = SIMP(fr = "Nombre de subdivision d'un pas de temps", - statut = 'f', - typ = 'I', - val_min = 2, - max = 1, - defaut = 4, - ), - - SUBD_NIVEAU = SIMP(fr = "Nombre maximum de niveau de subdivision d'un pas de temps", - statut = 'f', - typ = 'I', - val_min = 2, - max = 1, - defaut = 3, - ), - SUBD_PAS_MINI = SIMP(fr = "Pas de temps en dessous duquel on ne subdivise plus", - statut = 'f', - typ = 'R', - val_min = 0.0, - max = 1, - defaut = 0., - ), - ) - -# Bloc pour decoupe automatique - Cas de la collision -bloc_auto2 =BLOC(fr = "Subdivision de type automatique", - condition = "SUBD_METHODE == 'AUTO'", - SUBD_INST = SIMP(fr = "Parametre de decoupe fine du pas de temps", - statut = 'o', - typ = 'R', - val_min = 0.0, - max = 1, - ), - SUBD_DUREE = SIMP(fr = "Duree de decoupe apres collision", - statut = 'o', - typ = 'R', - val_min = 0.0, - max = 1, - ), - ) - -# Bloc pour decoupe du pas de temps -bloc_deco =BLOC(fr = "Action de decoupe du pas temps", - condition = "ACTION == 'DECOUPE' or ACTION == 'REAC_PRECOND' or ACTION == 'AUTRE_PILOTAGE'", - SUBD_METHODE = SIMP(fr = "Méthode de subdivision des pas de temps en cas de divergence", - statut = 'f', - typ = 'TXM', - max = 1, - into = ("MANUEL","AUTO"), - defaut = "MANUEL", - ), - b_deco_manu = bloc_manu, - b_deco_auto = bloc_auto, - ) - - -# Bloc pour decoupe du pas de temps - special pour collision -bloc_deco2 =BLOC(fr = "Action de decoupe du pas temps", - condition = "ACTION == 'DECOUPE'", - SUBD_METHODE = SIMP(fr = "Méthode de subdivision des pas de temps en cas de collision", - statut = 'f', - typ = 'TXM', - max = 1, - into = ("MANUEL","AUTO"), - defaut = "AUTO", - ), - - - - b_deco_manu = bloc_manu, - b_deco_auto = bloc_auto2, - ) - -# Bloc pour extrapolation du nombre d'iterations de Newton -bloc_supp =BLOC(fr = "Action d'extrapolation du nombre d'iterations de Newton", - condition = "ACTION == 'ITER_SUPPL'", - PCENT_ITER_PLUS = SIMP(fr = "Pourcentage d'itérations autorisées en plus", - statut = 'f', - typ = 'I', - val_min = 20, - max = 1, - defaut = 50, - ), - SUBD_METHODE = SIMP(fr = "Méthode de subdivision des pas de temps en cas de divergence", - statut = 'f', - typ = 'TXM', - max = 1, - into = ("MANUEL","AUTO"), - defaut = "MANUEL", - ), - b_deco_manu = bloc_manu, - b_deco_auto = bloc_auto, - ) - -# Bloc pour adaptation du coefficient de penalisation -bloc_pene =BLOC(fr = "Action d' adaptation du coefficient de penalisation", - condition = "ACTION == 'ADAPT_COEF_PENA'", - COEF_MAXI = SIMP(fr = "Coefficient multiplicateur maximum du coefficient de penalisation", - statut = 'f', - typ = 'R', - val_min = 1., - max = 1, - defaut = 1E12, - ), - ) - -DEFI_LIST_INST = OPER(nom="DEFI_LIST_INST",op= 28,sd_prod=list_inst,reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - fr="Définition de la gestion de la liste d'instants", - -# ---------------------------------------------------------------------------------------------------------------------------------- -# mot-cle pour la definition a priori de la liste d'instant -# ---------------------------------------------------------------------------------------------------------------------------------- - -DEFI_LIST =FACT(fr = "Definition a priori de la liste d'instants", - statut = 'o', - max = 1, - METHODE = SIMP(fr = "Methode de definition de la liste d'instants", - statut = 'o', - typ = 'TXM', - max = 1, - position = 'global', - into = ("MANUEL","AUTO",), - defaut = "MANUEL", - ), - b_manuel = BLOC(fr = "Liste d'instants donnée par l'utilisateur", - condition = "METHODE == 'MANUEL' ", - regles=(UN_PARMI('LIST_INST','VALE','RESULTAT'), - PRESENT_PRESENT('RESULTAT','SUBD_PAS'),), - VALE = SIMP(statut = 'f', - typ = 'R', - max = '**'), - LIST_INST = SIMP(statut = 'f', - typ = listr8_sdaster, - ), - RESULTAT = SIMP(statut = 'f', - typ = resultat_sdaster, - ), - SUBD_PAS = SIMP(statut = 'f', - typ = 'I', - max = 1, - val_min = 1, - ), - - ), - b_auto = BLOC(fr = "Gestion automatique de la liste d'instants", - condition = "(METHODE == 'AUTO') ", - regles=(UN_PARMI('LIST_INST','VALE',),), - VALE = SIMP(statut = 'f', - typ = 'R', - max = '**'), - LIST_INST = SIMP(statut = 'f', - typ = listr8_sdaster, - ), - PAS_MINI = SIMP(statut = 'f', - typ = 'R', - max = 1, - val_min = 1.e-12, - ), - PAS_MAXI = SIMP(statut = 'f', - typ = 'R', - max = 1, - ), - NB_PAS_MAXI = SIMP(statut = 'f', - typ = 'I', - max = 1, - val_max = 1000000, - defaut = 1000000, - ), - ), - ), -# ---------------------------------------------------------------------------------------------------------------------------------- -# mot-cle pour le comportement en cas d'echec (on doit recommencer le meme instant) -# ---------------------------------------------------------------------------------------------------------------------------------- - -ECHEC =FACT(fr = "Comportement en cas d'echec", - statut = 'd', - max = '**', - EVENEMENT = SIMP(fr = "Type de l'evenement", - statut = 'f', - typ = 'TXM', - max = 1, - into = ("ERREUR","DELTA_GRANDEUR","COLLISION", - "INTERPENETRATION","DIVE_RESI","INSTABILITE"), - defaut = "ERREUR", - ), - b_erreur = BLOC(fr = "Event: erreur ou iter_maxi", - condition = "EVENEMENT == 'ERREUR' ", - ACTION = SIMP(fr = "Actions possibles", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("ARRET","DECOUPE","REAC_PRECOND", - "ITER_SUPPL","AUTRE_PILOTAGE"), - defaut = "DECOUPE", - ), - b_deco = bloc_deco, - b_supp = bloc_supp, - ), - b_edelta = BLOC(fr = "Event: l'increment d'une composante d'un champ depasse le seuil", - condition = "EVENEMENT == 'DELTA_GRANDEUR' ", - VALE_REF = SIMP(fr = "Valeur du seuil", - statut = 'o', - typ = 'R', - max = 1, - ), - NOM_CHAM = SIMP(fr = "Nom du champ", - statut = 'o', - typ = 'TXM', - max = 1, - into = ("DEPL","VARI_ELGA","SIEF_ELGA",), - ), - NOM_CMP = SIMP(fr = "Nom de la composante", - statut = 'o', - typ = 'TXM', - max = 1, - ), - ACTION = SIMP(fr = "Actions possibles", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("ARRET","DECOUPE",), - defaut = "DECOUPE", - ), - b_deco = bloc_deco, - ), - b_colli = BLOC(fr = "Event: collision", - condition = "EVENEMENT == 'COLLISION' ", - ACTION = SIMP(fr = "Actions possibles", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("ARRET","DECOUPE",), - defaut = "DECOUPE", - ), - b_deco2 = bloc_deco2, - ), - b_penetration = BLOC(fr = "Event: interpenetration des surfaces en contact", - condition = "EVENEMENT == 'INTERPENETRATION' ", - PENE_MAXI = SIMP(fr = "Valeur maxi de l'interpenetration", - statut = 'o', - typ = 'R', - max = 1, - ), - - - ACTION = SIMP(fr = "Actions possibles", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("ARRET","ADAPT_COEF_PENA",), - defaut = "ADAPT_COEF_PENA", - ), - b_pene = bloc_pene, - ), - b_dive_resi = BLOC(fr = "Event: divergence du residu", - condition = "EVENEMENT == 'DIVE_RESI' ", - ACTION = SIMP(fr = "Actions possibles", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("DECOUPE",), - defaut = "DECOUPE", - ), - b_deco = bloc_deco, - ), - b_instabilite = BLOC(fr = "Event: instabilite", - condition = "EVENEMENT == 'INSTABILITE' ", - ACTION = SIMP(fr = "Actions possibles", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("ARRET","CONTINUE",), - defaut = "CONTINUE", - ), - ), - - ), - -# ---------------------------------------------------------------------------------------------------------------------------------- -# Mot-cle pour le comportement en cas de succes (on a bien converge) -# ---------------------------------------------------------------------------------------------------------------------------------- - -b_adap = BLOC(condition="METHODE == 'AUTO'", - -ADAPTATION =FACT(fr = "Parametres de l'evenement declencheur de l'adaptation du pas de temps", - statut = 'd', - max = '**', - EVENEMENT = SIMP(fr = "Nom de l'evenement declencheur de l'adaptation", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("SEUIL","TOUT_INST","AUCUN"), - defaut = "SEUIL", - ), - b_adap_seuil = BLOC(fr = "Seuil d'adaptation", - condition = "EVENEMENT == 'SEUIL' ", - regles = (PRESENT_PRESENT('NB_INCR_SEUIL','NOM_PARA',), - PRESENT_PRESENT('NB_INCR_SEUIL','CRIT_COMP',), - PRESENT_PRESENT('NB_INCR_SEUIL','CRIT_COMP',),), - NB_INCR_SEUIL = SIMP(statut = 'f', - typ = 'I', - defaut = 2, - ), - NOM_PARA = SIMP(statut = 'f', - typ = 'TXM', - into = ("NB_ITER_NEWTON",), - defaut = "NB_ITER_NEWTON", - ), - CRIT_COMP = SIMP(statut = 'f', - typ = 'TXM', - into = ("LT","GT","LE","GE"), - defaut = "LE", - ), - b_vale_I = BLOC(fr = "Valeur entiere", - condition = "NOM_PARA == 'NB_ITER_NEWTON' ", - VALE_I = SIMP(statut='f',typ='I',), - ), - ), - - -# -# Parametres du mode de calcul de dt+ -# dans le cas FIXE :(deltaT+) = (deltaT-)x(1+PCENT_AUGM/100) -# dans le cas DELTA_GRANDEUR : (deltaT+) = (deltaT-)x(VALREF/deltaVAL) : l'acceleration est inversement proportionnelle -# a la variation de la grandeur -# dans le cas ITER_NEWTON : (deltaT+) = (deltaT-) x sqrt(VALREF/N) : l'acceleration est inversement proportionnelle -# au nombre d'iterations de Newton precedent - - MODE_CALCUL_TPLUS = SIMP(fr = "Parametres du mode de calcul de dt+", - statut = 'f', - max = 1, - typ = 'TXM', - into = ("FIXE","DELTA_GRANDEUR","ITER_NEWTON","IMPLEX"), - defaut = 'FIXE', - ), - - b_mfixe = BLOC(fr = "Mode de calcul de dt+: fixe", - condition = "MODE_CALCUL_TPLUS == 'FIXE' ", - PCENT_AUGM = SIMP(statut = 'f', - max = 1, - typ = 'R', - defaut = 100., - val_min = -100., - ), - ), - b_mdelta = BLOC(fr = "Mode de calcul de dt+: increment d'une grandeur", - condition = "MODE_CALCUL_TPLUS == 'DELTA_GRANDEUR' ", - VALE_REF = SIMP(statut = 'o', - max = 1, - typ = 'R', - ), - NOM_CHAM = SIMP(statut = 'o', - max = 1, - typ = 'TXM', - into = ("DEPL","VARI_ELGA","SIEF_ELGA",), - ), - NOM_CMP = SIMP(statut = 'o', - max = 1, - typ = 'TXM',), - ), - b_mitnew = BLOC(fr = "Mode de calcul de dt+: nb iterations de Newton", - condition = "MODE_CALCUL_TPLUS == 'ITER_NEWTON' ", - NB_ITER_NEWTON_REF= SIMP(statut = 'o', - max = 1, - typ = 'I', - ), - ), -# les schemas pre-definis : -# abaqus : -# EVENEMENT ='SEUIL' -# NB_INCR_SEUIL = 2 -# NOM_PARA ='NB_ITER_NEWTON' -# CRIT_COMP ='LE' -# VALE_I = 5 -# MODE_CALCUL_TPLUS ='FIXE' -# PCENT_AUGM = 50. -# Zebulon 1 : -# EVENEMENT ='TOUT_INST' -# MODE_CALCUL_TPLUS ='DELTA_GRANDEUR' -# VALE_REF = valref -# NOM_CHAM ='VARI_ELGA' -# NOM_CMP ='V1' -# Zebulon 2 : -# EVENEMENT ='TOUT_INST' -# MODE_CALCUL_TPLUS ='ITER_NEWTON' -# NB_ITER_NEWTON_REF= nc -# Tough2 : -# EVENEMENT ='SEUIL' -# NB_INCR_SEUIL = 1 -# NOM_PARA ='NB_ITER_NEWTON' -# CRIT_COMP ='LE' -# VALE_I = n -# MODE_CALCUL_TPLUS ='FIXE' -# PCENT_AUGM = 100. -# Oliver : -# EVENEMENT ='TOUT_INST' -# MODE_CALCUL_TPLUS ='FORMULE' -# NOM_SCHEMA ='OLIVER' - - ), - ), -# ---------------------------------------------------------------------------------------------------------------------------------- - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -DEFI_LIST_REEL=OPER(nom="DEFI_LIST_REEL",op=24,sd_prod=listr8_sdaster, - fr="Définir une liste de réels strictement croissante", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('VALE','DEBUT',), - EXCLUS('VALE','INTERVALLE'), - ENSEMBLE('DEBUT','INTERVALLE')), - VALE =SIMP(statut='f',typ='R',max='**'), - DEBUT =SIMP(statut='f',typ='R'), - INTERVALLE =FACT(statut='f',max='**', - regles=(UN_PARMI('NOMBRE','PAS'),), - JUSQU_A =SIMP(statut='o',typ='R'), - NOMBRE =SIMP(statut='f',typ='I'), - PAS =SIMP(statut='f',typ='R'), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -DEFI_MAILLAGE=OPER(nom="DEFI_MAILLAGE",op= 88,sd_prod=maillage_sdaster, - fr="Définition d'un nouveau maillage à partir de macro-éléments", - reentrant='n', - UIinfo={"groupes":("Maillage",)}, - DEFI_SUPER_MAILLE =FACT(statut='o',max='**', - MACR_ELEM =SIMP(statut='o',typ=(macr_elem_stat,macr_elem_dyna),max='**' ), - SUPER_MAILLE =SIMP(statut='f',typ=ma,max='**'), - TRAN =SIMP(statut='f',typ='R',max=3), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - b_angl_naut =BLOC(condition = "ANGL_NAUT != None", - CENTRE =SIMP(statut='f',typ='R',max=3), - ), - ), - RECO_GLOBAL =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','SUPER_MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - SUPER_MAILLE =SIMP(statut='f',typ=ma,max='**'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - RECO_SUPER_MAILLE =FACT(statut='f',max='**', - SUPER_MAILLE =SIMP(statut='o',typ=ma,max='**'), - GROUP_NO =SIMP(statut='o',typ=grno,max='**'), - OPTION =SIMP(statut='f',typ='TXM',defaut="GEOMETRIQUE",into=("GEOMETRIQUE","NOEUD_A_NOEUD","INVERSE") ), - geometrique =BLOC(condition = "OPTION == 'GEOMETRIQUE'", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - ), - DEFI_NOEUD =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','NOEUD_INIT'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Renommage de tous les noeuds" ), - NOEUD_INIT =SIMP(statut='f',typ=no, - fr="Renommage d un seul noeud"), - b_tout =BLOC(condition = "TOUT != None", - PREFIXE =SIMP(statut='f',typ='TXM' ), - INDEX =SIMP(statut='o',typ='I',max='**'), - ), - b_noeud_init =BLOC(condition = "NOEUD_INIT != None", - SUPER_MAILLE =SIMP(statut='o',typ=ma), - NOEUD_FIN =SIMP(statut='o',typ=no), - ), - ), - DEFI_GROUP_NO =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','SUPER_MAILLE'), - AU_MOINS_UN('INDEX','GROUP_NO_FIN'), - ENSEMBLE('GROUP_NO_INIT','GROUP_NO_FIN'),), -# la regle ancien catalogue AU_MOINS_UN__: ( INDEX , GROUP_NO_FIN ) incoherente avec doc U - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Création de plusieurs groupes de noeuds" ), - SUPER_MAILLE =SIMP(statut='f',typ=ma, - fr="Création de plusieurs groupes de noeuds"), - GROUP_NO_INIT =SIMP(statut='f',typ=grno, - fr="Création d un seul groupe de noeuds"), - PREFIXE =SIMP(statut='f',typ='TXM' ), - INDEX =SIMP(statut='f',typ='I',max='**'), - GROUP_NO_FIN =SIMP(statut='f',typ=grno), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-luc.flejou at edf.fr - -DEFI_MATER_GC=MACRO(nom="DEFI_MATER_GC", - op=OPS('Macro.defi_mater_gc_ops.defi_mater_gc_ops'), - sd_prod=mater_sdaster, - reentrant='n', - UIinfo={"groupes":("Modélisation",) }, - fr="Définir des lois matériaux spécifique au Génie Civil", - # - regles = (UN_PARMI('MAZARS','ACIER','ENDO_FISS_EXP'), ), - # - REGLE =SIMP(statut='f',typ='TXM', into=('EC2',), defaut='EC2'), - # ============================================================================ - MAZARS =FACT(statut= 'f',max= 1, - fr="Paramètres matériaux de MAZARS unilatéral en 1D à partir des caractéristiques du béton", - UNITE_LONGUEUR =SIMP(statut='o',typ='TXM', into=("M","MM"), - fr="Unité de longueur du problème [M|MM]"), - FCJ =SIMP(statut='o',typ='R', val_min=0.0E+0, - fr="Contrainte au pic en compression [Unité]"), - EIJ =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Module d'Young [Unité]"), - EPSI_C =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Déformation au pic en compression"), - FTJ =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Contrainte au pic en traction [Unité]"), - NU =SIMP(statut='f',typ='R', val_min=0.0E+0, val_max=0.5E+0, - fr="Coefficient de poisson"), - EPSD0 =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Déformation, seuil d'endommagement"), - K =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Asymptote en cisaillement pur"), - AC =SIMP(statut='f',typ='R', val_min=0.E+0, - fr="Paramètre de décroissance post-pic en compression"), - BC =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Paramètre de décroissance post-pic en compression"), - AT =SIMP(statut='f',typ='R', val_min=0.0E+0, val_max=1.0E+0, - fr="Paramètre de décroissance post-pic en traction"), - BT =SIMP(statut='f',typ='R', val_min=0.0E+0, - fr="Paramètre de décroissance post-pic en traction"), - # Pour post-traitement ELS et ELU - SIGM_LIM =SIMP(statut='f',typ='R', fr="Contrainte limite, post-traitement"), - EPSI_LIM =SIMP(statut='f',typ='R', fr="Déformation limite, post-traitement"), - ), - # ============================================================================ - ACIER =FACT(statut= 'f',max= 1, - fr="Définir les paramètres matériaux de l'acier pour le Génie Civil", - E =SIMP(statut='o',typ='R', val_min=0.0E+0, fr="Module d'Young"), - SY =SIMP(statut='o',typ='R', fr="Limite élastique"), - NU =SIMP(statut='f',typ='R', val_min=0.0E+0, val_max=0.5E+0, fr="Coefficient de poisson"), - D_SIGM_EPSI =SIMP(statut='f',typ='R', fr="Module plastique"), - # Pour post-traitement ELS et ELU - SIGM_LIM =SIMP(statut='f',typ='R', fr="Contrainte limite, post-traitement"), - EPSI_LIM =SIMP(statut='f',typ='R', fr="Déformation limite, post-traitement"), - ), - # ============================================================================ - ENDO_FISS_EXP =FACT(statut= 'f',max= 1, - fr="Définir les paramètres matériaux du béton pour la loi ENDO_FISS_EXP", - regles = ( - UN_PARMI('FT','FT_FENDAGE'), - UN_PARMI('P','DSIG_DU'), - EXCLUS('Q','Q_REL'), - ), - E =SIMP(statut='o',typ='R', val_min=0.0E+0, fr="Module d'Young"), - NU =SIMP(statut='o',typ='R', val_min=0.0E+0, val_max=0.5E+0, fr="Coefficient de poisson"), - FT =SIMP(statut='f',typ='R', val_min=0.0E+0 , fr="Limite en traction simple"), - FT_FENDAGE =SIMP(statut='f',typ='R', val_min=0.0E+0 , fr="Limite en traction obtenue via un essai brésilien"), - FC =SIMP(statut='o',typ='R', val_min=0.0E+0 , fr="Limite en compression simple"), - GF =SIMP(statut='o',typ='R', val_min=0.0E+0 , fr="Energie de fissuration"), - P =SIMP(statut='f',typ='R', val_min=1.0E+0 , fr="Parametre dominant de la loi cohésive asymptotique"), - DSIG_DU =SIMP(statut='f',typ='R', val_min=1.102658 , fr="Pente initiale (au signe pres) de la loi cohesive asymptotique"), - Q =SIMP(statut='f',typ='R', val_min=0.0E+0 , fr="Parametre secondaire de la loi cohesive asymptotique"), - Q_REL =SIMP(statut='f',typ='R', val_min=0.0E+0, val_max=1.0 , fr="Parametre Q exprime de maniere relative par rapport a Qmax(P)"), - LARG_BANDE =SIMP(statut='o',typ='R', val_min=0.0E+0 , fr="Largeur de bande d'endommagement (2*D)"), - COEF_RIGI_MINI =SIMP(statut='f',typ='R', val_min=0.0, defaut = 0.0 , fr="Rigidite minimale dans la matrice tangente"), - ), - # ============================================================================ - INFO =SIMP(statut='f',typ='I', into=(1,2,), defaut=1), - RHO =SIMP(statut='f',typ='R', fr="Masse volumique"), - ALPHA =SIMP(statut='f',typ='R', fr="Coefficient de dilatation"), - AMOR_ALPHA =SIMP(statut='f',typ='R'), - AMOR_BETA =SIMP(statut='f',typ='R'), - AMOR_HYST =SIMP(statut='f',typ='R'), -) - - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -DEFI_MATERIAU=OPER(nom="DEFI_MATERIAU",op=5,sd_prod=mater_sdaster, - fr="Définition des paramètres décrivant le comportement d un matériau", - reentrant='f', - UIinfo={"groupes":("Modélisation",)}, - regles=(EXCLUS('ELAS','ELAS_FO','ELAS_FLUI','ELAS_ISTR','ELAS_ISTR_FO','ELAS_ORTH', - 'ELAS_ORTH_FO','ELAS_COQUE','ELAS_COQUE_FO', - 'ELAS_HYPER','ELAS_2NDG','ELAS_GLRC'), - EXCLUS('THER','THER_FO','THER_ORTH','THER_NL'), - EXCLUS('ECRO_LINE','ECRO_LINE_FO','ECRO_PUIS','ECRO_COOK','ECRO_COOK_FO',), - EXCLUS('ENDO_HETEROGENE'), - EXCLUS('TAHERI','TAHERI_FO'), - EXCLUS('ENDO_SCALAIRE','ENDO_SCALAIRE_FO'), - EXCLUS('ENDO_FISS_EXP','ENDO_FISS_EXP_FO'), - EXCLUS('ROUSSELIER','ROUSSELIER_FO'), - EXCLUS('VISC_SINH','VISC_SINH_FO'), - PRESENT_PRESENT('ROUSSELIER','TRACTION'), - PRESENT_PRESENT('ROUSSELIER_FO','TRACTION'), - EXCLUS('CIN1_CHAB','CIN1_CHAB_FO'), - EXCLUS('CIN2_CHAB','CIN2_CHAB_FO'), - EXCLUS('VISCOCHAB','VISCOCHAB_FO'), - EXCLUS('LEMAITRE','LEMAITRE_FO','VISC_IRRA_LOG', - 'LEMA_SEUIL','LEMA_SEUIL_FO','LEMAITRE_IRRA','LMARC_IRRA',), - EXCLUS('META_LEMA_ANI','META_LEMA_ANI_FO'), - EXCLUS('VENDOCHAB','VENDOCHAB_FO'), - EXCLUS('VISC_ENDO','VISC_ENDO_FO'), - PRESENT_PRESENT('BPEL_ACIER','ELAS'), - PRESENT_PRESENT('ETCC_ACIER','ELAS'), - EXCLUS('ETCC_ACIER','BPEL_ACIER'), - EXCLUS('ETCC_BETON','BPEL_BETON'), - - EXCLUS('RCCM','RCCM_FO'), - EXCLUS('WEIBULL','WEIBULL_FO'), - PRESENT_PRESENT('DHRC','DHRC_SEUILS'), - PRESENT_PRESENT('LAIGLE','ELAS'), - PRESENT_PRESENT('LETK','ELAS'), - PRESENT_PRESENT('DRUCK_PRAGER','ELAS'), - PRESENT_PRESENT('VISC_DRUC_PRAG','ELAS'), - PRESENT_PRESENT('ELAS_GONF','ELAS'), - PRESENT_PRESENT('HOEK_BROWN','ELAS'), - EXCLUS('MAZARS','MAZARS_FO'), - PRESENT_PRESENT('JOINT_BA','ELAS'), - PRESENT_PRESENT('CABLE','ELAS'), - PRESENT_PRESENT('MOHR_COULOMB','ELAS'), - PRESENT_PRESENT('ELAS_GLRC','GLRC_DM'), - ), - MATER =SIMP(statut='f',typ=mater_sdaster), -# -# comportement élastique -# - ELAS =FACT(statut='f', - E =SIMP(statut='o',typ='R',val_min=0.E+0), - NU =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=0.5E+0), - RHO =SIMP(statut='f',typ='R'), - ALPHA =SIMP(statut='f',typ='R'), - AMOR_ALPHA =SIMP(statut='f',typ='R'), - AMOR_BETA =SIMP(statut='f',typ='R'), - AMOR_HYST =SIMP(statut='f',typ='R'), - ), - ELAS_FO =FACT(statut='f', - regles=(PRESENT_PRESENT('ALPHA','TEMP_DEF_ALPHA'),), - E =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO =SIMP(statut='f',typ='R'), - TEMP_DEF_ALPHA =SIMP(statut='f',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.), - ALPHA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_ALPHA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_BETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_HYST =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - K_DESSIC =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - B_ENDOGE =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FONC_DESORP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ELAS_FLUI =FACT(statut='f', - E =SIMP(statut='o',typ='R'), - NU =SIMP(statut='o',typ='R'), - RHO =SIMP(statut='o',typ='R'), - PROF_RHO_F_INT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - PROF_RHO_F_EXT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COEF_MASS_AJOU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ELAS_ISTR =FACT(statut='f', - E_L =SIMP(statut='o',typ='R'), - E_N =SIMP(statut='o',typ='R'), - NU_LT =SIMP(statut='o',typ='R'), - NU_LN =SIMP(statut='o',typ='R'), - G_LN =SIMP(statut='o',typ='R'), - RHO =SIMP(statut='f',typ='R'), - ALPHA_L =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ALPHA_N =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - ELAS_ISTR_FO =FACT(statut='f', - regles=( - PRESENT_PRESENT('ALPHA_L','TEMP_DEF_ALPHA'), - PRESENT_PRESENT('ALPHA_N','TEMP_DEF_ALPHA'), - ), - E_L =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - E_N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_LT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_LN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_LN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO =SIMP(statut='f',typ='R'), - TEMP_DEF_ALPHA =SIMP(statut='f',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.), - ALPHA_L =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ALPHA_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ELAS_ORTH =FACT(statut='f', - E_L =SIMP(statut='o',typ='R'), - E_T =SIMP(statut='o',typ='R'), - E_N =SIMP(statut='f',typ='R'), - NU_LT =SIMP(statut='o',typ='R'), - NU_LN =SIMP(statut='f',typ='R'), - NU_TN =SIMP(statut='f',typ='R'), - G_LT =SIMP(statut='o',typ='R'), - G_LN =SIMP(statut='f',typ='R'), - G_TN =SIMP(statut='f',typ='R'), - RHO =SIMP(statut='f',typ='R'), - ALPHA_L =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ALPHA_T =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ALPHA_N =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - XT =SIMP(statut='f',typ='R',defaut= 1. ), - XC =SIMP(statut='f',typ='R',defaut= 1. ), - YT =SIMP(statut='f',typ='R',defaut= 1. ), - YC =SIMP(statut='f',typ='R',defaut= 1. ), - S_LT =SIMP(statut='f',typ='R',defaut= 1. ), - AMOR_ALPHA =SIMP(statut='f',typ='R'), - AMOR_BETA =SIMP(statut='f',typ='R'), - AMOR_HYST =SIMP(statut='f',typ='R'), - ), - ELAS_ORTH_FO =FACT(statut='f', - regles=( - PRESENT_PRESENT('ALPHA_L','TEMP_DEF_ALPHA'), - PRESENT_PRESENT('ALPHA_N','TEMP_DEF_ALPHA'), - PRESENT_PRESENT('ALPHA_T','TEMP_DEF_ALPHA'), - ), - E_L =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - E_T =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - E_N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_LT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_LN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_TN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_LT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_LN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_TN =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO =SIMP(statut='f',typ='R'), - TEMP_DEF_ALPHA =SIMP(statut='f',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut= 1. ), - ALPHA_L =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ALPHA_T =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ALPHA_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_ALPHA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_BETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_HYST =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ELAS_HYPER =FACT(statut='f', - regles=(UN_PARMI('K','NU'),), - C10 =SIMP(statut='o',typ='R', - fr="Si C10 est le seul coefficient fourni, alors le matériau est Néo-Hookéen."), - C01 =SIMP(statut='f',typ='R',defaut=0.0, - fr="Si l'on fournit C01 en plus de C10, on obtient un matériau de type Mooney-Rivlin."), - C20 =SIMP(statut='f',typ='R',defaut=0.0, - fr="Si l'on fournit C20 en plus de C10 et C01, on obtient un matériau de type Signorini."), - K =SIMP(statut='f',typ='R',fr="Module de compressibilité."), - NU =SIMP(statut='f',typ='R',val_min=-1.E+0,val_max=0.5E+0,fr="Coefficient de Poisson."), - RHO =SIMP(statut='f',typ='R',defaut=0.0,fr="Masse volumique."), - ), - ELAS_COQUE =FACT(statut='f', - regles=(EXCLUS('MEMB_L','M_LLLL',), - PRESENT_PRESENT('MEMB_L','MEMB_LT', 'MEMB_T','MEMB_G_LT','FLEX_L','FLEX_LT', - 'FLEX_T','FLEX_G_LT','CISA_L','CISA_T',), - PRESENT_PRESENT('M_LLLL','M_LLTT','M_LLLT','M_TTTT','M_TTLT','M_LTLT','F_LLLL', - 'F_LLTT','F_LLLT','F_TTTT','F_TTLT','F_LTLT','MF_LLLL', - 'MF_LLTT','MF_LLLT','MF_TTTT','MF_TTLT','MF_LTLT','MC_LLLZ', - 'MC_LLTZ','MC_TTLZ','MC_TTTZ','MC_LTLZ','MC_LTTZ','FC_LLLZ', - 'FC_LLTZ','FC_TTLZ','FC_TTTZ','FC_LTLZ','FC_LTTZ','C_LZLZ', - 'C_LZTZ','C_TZTZ'),), - MEMB_L =SIMP(statut='f',typ='R'), - MEMB_LT =SIMP(statut='f',typ='R'), - MEMB_T =SIMP(statut='f',typ='R'), - MEMB_G_LT =SIMP(statut='f',typ='R'), - FLEX_L =SIMP(statut='f',typ='R'), - FLEX_LT =SIMP(statut='f',typ='R'), - FLEX_T =SIMP(statut='f',typ='R'), - FLEX_G_LT =SIMP(statut='f',typ='R'), - CISA_L =SIMP(statut='f',typ='R'), - CISA_T =SIMP(statut='f',typ='R'), - M_LLLL =SIMP(statut='f',typ='R'), - M_LLTT =SIMP(statut='f',typ='R'), - M_LLLT =SIMP(statut='f',typ='R'), - M_TTTT =SIMP(statut='f',typ='R'), - M_TTLT =SIMP(statut='f',typ='R'), - M_LTLT =SIMP(statut='f',typ='R'), - F_LLLL =SIMP(statut='f',typ='R'), - F_LLTT =SIMP(statut='f',typ='R'), - F_LLLT =SIMP(statut='f',typ='R'), - F_TTTT =SIMP(statut='f',typ='R'), - F_TTLT =SIMP(statut='f',typ='R'), - F_LTLT =SIMP(statut='f',typ='R'), - MF_LLLL =SIMP(statut='f',typ='R'), - MF_LLTT =SIMP(statut='f',typ='R'), - MF_LLLT =SIMP(statut='f',typ='R'), - MF_TTTT =SIMP(statut='f',typ='R'), - MF_TTLT =SIMP(statut='f',typ='R'), - MF_LTLT =SIMP(statut='f',typ='R'), - MC_LLLZ =SIMP(statut='f',typ='R'), - MC_LLTZ =SIMP(statut='f',typ='R'), - MC_TTLZ =SIMP(statut='f',typ='R'), - MC_TTTZ =SIMP(statut='f',typ='R'), - MC_LTLZ =SIMP(statut='f',typ='R'), - MC_LTTZ =SIMP(statut='f',typ='R'), - FC_LLLZ =SIMP(statut='f',typ='R'), - FC_LLTZ =SIMP(statut='f',typ='R'), - FC_TTLZ =SIMP(statut='f',typ='R'), - FC_TTTZ =SIMP(statut='f',typ='R'), - FC_LTLZ =SIMP(statut='f',typ='R'), - FC_LTTZ =SIMP(statut='f',typ='R'), - C_LZLZ =SIMP(statut='f',typ='R'), - C_LZTZ =SIMP(statut='f',typ='R'), - C_TZTZ =SIMP(statut='f',typ='R'), - RHO =SIMP(statut='f',typ='R'), - ALPHA =SIMP(statut='f',typ='R'), - ), - ELAS_COQUE_FO =FACT(statut='f', - regles=(EXCLUS('MEMB_L','M_LLLL',), - PRESENT_PRESENT('MEMB_L','MEMB_LT','MEMB_T','MEMB_G_LT','FLEX_L','FLEX_LT', - 'FLEX_T','FLEX_G_LT','CISA_L','CISA_T',), - PRESENT_PRESENT('M_LLLL','M_LLTT','M_LLLT','M_TTTT','M_TTLT','M_LTLT','F_LLLL', - 'F_LLTT','F_LLLT','F_TTTT','F_TTLT','F_LTLT','MF_LLLL','MF_LLTT', - 'MF_LLLT','MF_TTTT','MF_TTLT','MF_LTLT','MC_LLLZ','MC_LLTZ', - 'MC_TTLZ','MC_TTTZ','MC_LTLZ','MC_LTTZ','FC_LLLZ','FC_LLTZ', - 'FC_TTLZ','FC_TTTZ','FC_LTLZ','FC_LTTZ','C_LZLZ','C_LZTZ','C_TZTZ'),), - MEMB_L =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MEMB_LT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MEMB_T =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MEMB_G_LT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FLEX_L =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FLEX_LT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FLEX_T =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FLEX_G_LT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CISA_L =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CISA_T =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_LLLL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_LLTT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_LLLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_TTTT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_TTLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_LTLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_LLLL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_LLTT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_LLLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_TTTT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_TTLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_LTLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MF_LLLL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MF_LLTT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MF_LLLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MF_TTTT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MF_TTLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MF_LTLT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MC_LLLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MC_LLTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MC_TTLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MC_TTTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MC_LTLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MC_LTTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FC_LLLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FC_LLTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FC_TTLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FC_TTTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FC_LTLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FC_LTTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_LZLZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_LZTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_TZTZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO =SIMP(statut='f',typ='R'), - ALPHA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ELAS_MEMBRANE =FACT(statut='f', - M_LLLL =SIMP(statut='o',typ='R'), - M_LLTT =SIMP(statut='o',typ='R'), - M_LLLT =SIMP(statut='o',typ='R'), - M_TTTT =SIMP(statut='o',typ='R'), - M_TTLT =SIMP(statut='o',typ='R'), - M_LTLT =SIMP(statut='o',typ='R'), - RHO =SIMP(statut='f',typ='R'), - ALPHA =SIMP(statut='f',typ='R'), - ), - ELAS_2NDG =FACT(statut='f', - A1 =SIMP(statut='o',typ='R'), - A2 =SIMP(statut='f',typ='R'), - A3 =SIMP(statut='f',typ='R'), - A4 =SIMP(statut='f',typ='R'), - A5 =SIMP(statut='f',typ='R'), - ), - ELAS_GLRC =FACT(statut='f', - regles=(PRESENT_PRESENT('BT1','BT2'),), - E_M =SIMP(statut='o',typ='R',val_min=0.E+0), - NU_M =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=0.5+0), - E_F =SIMP(statut='f',typ='R',val_min=0.E+0), - NU_F =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=0.5+0), - BT1 =SIMP(statut='f',typ='R',val_min=0.E+0), - BT2 =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=0.5+0), - RHO =SIMP(statut='f',typ='R',val_min=0.E+0), - ALPHA =SIMP(statut='f',typ='R'), - AMOR_ALPHA =SIMP(statut='f',typ='R'), - AMOR_BETA =SIMP(statut='f',typ='R'), - AMOR_HYST =SIMP(statut='f',typ='R'), - ), - ELAS_GLRC_FO =FACT(statut='f', - regles=(PRESENT_PRESENT('ALPHA','TEMP_DEF_ALPHA'), - PRESENT_PRESENT('BT1','BT2'),), - E_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - E_F =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU_F =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - BT1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - BT2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO =SIMP(statut='f',typ='R'), - TEMP_DEF_ALPHA =SIMP(statut='f',typ='R'), - ALPHA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_ALPHA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_BETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AMOR_HYST =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - CABLE =FACT(statut='f', - EC_SUR_E =SIMP(statut='f',typ='R',defaut= 1.E-4 ), - ), -# -# comportements mécanique non linéaire -# vérification du domaine de validité - VERI_BORNE =FACT(statut='f', - regles=(ENSEMBLE('TEMP_MAXI','TEMP_MINI'), - ), - EPSI_MAXI =SIMP(statut='f',typ='R'), - TEMP_MAXI =SIMP(statut='f',typ='R'), - TEMP_MINI =SIMP(statut='f',typ='R'), - VEPS_MAXI =SIMP(statut='f',typ='R'), - ), - TRACTION =FACT(statut='f', - SIGM =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - - ), - ECRO_LINE =FACT(statut='f', - D_SIGM_EPSI =SIMP(statut='o',typ='R',), - SY =SIMP(statut='o',typ='R',), - SIGM_LIM =SIMP(statut='f',typ='R'), - EPSI_LIM =SIMP(statut='f',typ='R'), - ), - ENDO_HETEROGENE =FACT(statut='f', - WEIBULL =SIMP(statut='o',typ='R',), - SY =SIMP(statut='o',typ='R',), - KI =SIMP(statut='o',typ='R',), - EPAI =SIMP(statut='o',typ='R',), - GR =SIMP(statut='f',typ='R',defaut= 1.0), - ), - ECRO_LINE_FO =FACT(statut='f', - D_SIGM_EPSI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SY =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ECRO_PUIS =FACT(statut='f', - SY =SIMP(statut='o',typ='R',), - A_PUIS =SIMP(statut='o',typ='R',val_min=0.0), - N_PUIS =SIMP(statut='o',typ='R',val_min=1.E-6), - ), - ECRO_PUIS_FO =FACT(statut='f', - SY =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_PUIS =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - N_PUIS =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ECRO_COOK =FACT(statut='f', - regles=(PRESENT_PRESENT('C','EPSP0'), - PRESENT_PRESENT('TROOM','TMELT','M_PUIS'),), - A =SIMP(statut='o',typ='R',val_min=0.0), - B =SIMP(statut='o',typ='R',val_min=0.0), - C =SIMP(statut='f',typ='R',val_min=0.0), - N_PUIS =SIMP(statut='o',typ='R',val_min=0.0), - M_PUIS =SIMP(statut='f',typ='R',val_min=0.0), - EPSP0 =SIMP(statut='f',typ='R',val_min=1.E-6), - TROOM =SIMP(statut='f',typ='R',val_min=0.0), - TMELT =SIMP(statut='f',typ='R',val_min=0.0), - ), - ECRO_COOK_FO =FACT(statut='f', - regles=(PRESENT_PRESENT('C','EPSP0'), - PRESENT_PRESENT('TROOM','TMELT','M_PUIS'),), - A =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - B =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C =SIMP(statut='f',typ='R',val_min=0.0), - N_PUIS =SIMP(statut='o',typ='R',val_min=0.0), - M_PUIS =SIMP(statut='f',typ='R',val_min=0.0), - EPSP0 =SIMP(statut='f',typ='R',val_min=1.E-6), - TROOM =SIMP(statut='f',typ='R',val_min=0.0), - TMELT =SIMP(statut='f',typ='R',val_min=0.0), - ), - BETON_ECRO_LINE =FACT(statut='f', - D_SIGM_EPSI =SIMP(statut='o',typ='R'), - SYT =SIMP(statut='o',typ='R'), - SYC =SIMP(statut='f',typ='R'), - ), - BETON_REGLE_PR =FACT(statut='f', - D_SIGM_EPSI =SIMP(statut='o',typ='R'), - SYT =SIMP(statut='o',typ='R'), - SYC =SIMP(statut='f',typ='R'), - EPSC =SIMP(statut='f',typ='R'), - N =SIMP(statut='f',typ='R'), - ), - ENDO_ORTH_BETON =FACT(statut='f', - ALPHA =SIMP(statut='f',typ='R',defaut=0.9), - K0 =SIMP(statut='o',typ='R'), - K1 =SIMP(statut='o',typ='R'), - K2 =SIMP(statut='f',typ='R',defaut=7.E-4), - ECROB =SIMP(statut='o',typ='R'), - ECROD =SIMP(statut='o',typ='R'), - ), - PRAGER =FACT(statut='f', - C =SIMP(statut='o',typ='R'), - ), - PRAGER_FO =FACT(statut='f', - C =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - TAHERI =FACT(statut='f', - R_0 =SIMP(statut='o',typ='R'), - ALPHA =SIMP(statut='o',typ='R'), - M =SIMP(statut='o',typ='R'), - A =SIMP(statut='o',typ='R'), - B =SIMP(statut='o',typ='R'), - C1 =SIMP(statut='o',typ='R'), - C_INF =SIMP(statut='o',typ='R'), - S =SIMP(statut='o',typ='R'), - ), - TAHERI_FO =FACT(statut='f', - R_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ALPHA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - B =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C1 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_INF =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - S =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ROUSSELIER =FACT(statut='f', - D =SIMP(statut='o',typ='R'), - SIGM_1 =SIMP(statut='o',typ='R'), - PORO_INIT =SIMP(statut='o',typ='R'), - PORO_CRIT =SIMP(statut='f',typ='R',defaut= 1. ), - PORO_ACCE =SIMP(statut='f',typ='R',defaut= 1. ), - PORO_LIMI =SIMP(statut='f',typ='R',defaut= 0.999 ), - D_SIGM_EPSI_NORM=SIMP(statut='f',typ='R',defaut= 1. ), - AN =SIMP(statut='f',typ='R',defaut= 0. ), - DP_MAXI =SIMP(statut='f',typ='R',defaut= 0.1), - BETA =SIMP(statut='f',typ='R',defaut=0.85), - ), - ROUSSELIER_FO =FACT(statut='f', - D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_1 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - PORO_INIT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - PORO_CRIT =SIMP(statut='f',typ='R',defaut= 1. ), - PORO_ACCE =SIMP(statut='f',typ='R',defaut= 1. ), - PORO_LIMI =SIMP(statut='f',typ='R',defaut= 0.999 ), - D_SIGM_EPSI_NORM=SIMP(statut='f',typ='R',defaut= 1. ), - AN =SIMP(statut='f',typ='R',defaut= 0. ), - DP_MAXI =SIMP(statut='f',typ='R',defaut= 0.1), - BETA =SIMP(statut='f',typ='R',defaut=0.85), - ), - VISC_SINH =FACT(statut='f', - SIGM_0 =SIMP(statut='o',typ='R'), - EPSI_0 =SIMP(statut='o',typ='R'), - M =SIMP(statut='o',typ='R'), - ), - VISC_SINH_FO =FACT(statut='f', - SIGM_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSI_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - CIN1_CHAB =FACT(statut='f', - R_0 =SIMP(statut='o',typ='R'), - R_I =SIMP(statut='f',typ='R'), - B =SIMP(statut='f',typ='R',defaut= 0.0E+0), - C_I =SIMP(statut='o',typ='R'), - K =SIMP(statut='f',typ='R',defaut= 1.0E+0), - W =SIMP(statut='f',typ='R',defaut= 0.0E+0), - G_0 =SIMP(statut='o',typ='R'), - A_I =SIMP(statut='f',typ='R',defaut= 1.0E+0), - ), - CIN1_CHAB_FO =FACT(statut='f', - R_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - B =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - W =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - CIN2_CHAB =FACT(statut='f', - R_0 =SIMP(statut='o',typ='R'), - R_I =SIMP(statut='f',typ='R'), - B =SIMP(statut='f',typ='R',defaut= 0.E+0), - C1_I =SIMP(statut='o',typ='R'), - C2_I =SIMP(statut='o',typ='R'), - K =SIMP(statut='f',typ='R',defaut= 1.), - W =SIMP(statut='f',typ='R',defaut= 0.E+0), - G1_0 =SIMP(statut='o',typ='R'), - G2_0 =SIMP(statut='o',typ='R'), - A_I =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - ), - CIN2_CHAB_FO =FACT(statut='f', - R_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - B =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C1_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C2_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - W =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G1_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G2_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - CIN2_NRAD =FACT(statut='f', - DELTA1 =SIMP(statut='f',typ='R',defaut= 1.E+0,val_min=0.E+0, val_max=1.E+0), - DELTA2 =SIMP(statut='f',typ='R',defaut= 1.E+0,val_min=0.E+0, val_max=1.E+0), - ), - MEMO_ECRO =FACT(statut='f', - MU =SIMP(statut='o',typ='R'), - Q_M =SIMP(statut='o',typ='R'), - Q_0 =SIMP(statut='o',typ='R'), - ETA =SIMP(statut='f',typ='R',defaut= 0.5E+0 ), - ), - MEMO_ECRO_FO =FACT(statut='f', - MU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - Q_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - Q_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ETA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - VISCOCHAB =FACT(statut='f', - K_0 =SIMP(statut='o',typ='R'), - A_K =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - A_R =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - K =SIMP(statut='o',typ='R'), - N =SIMP(statut='o',typ='R'), - ALP =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - B =SIMP(statut='f',typ='R'), - M_R =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - G_R =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - MU =SIMP(statut='o',typ='R',defaut= 0.E+0 ), - Q_M =SIMP(statut='o',typ='R'), - Q_0 =SIMP(statut='o',typ='R'), - QR_0 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ETA =SIMP(statut='f',typ='R',defaut= 0.5E+0 ), - C1 =SIMP(statut='o',typ='R'), - M_1 =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - D1 =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - G_X1 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - G1_0 =SIMP(statut='o',typ='R'), - C2 =SIMP(statut='o',typ='R'), - M_2 =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - D2 =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - G_X2 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - G2_0 =SIMP(statut='o',typ='R'), - A_I =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - ), - VISCOCHAB_FO =FACT(statut='f', - K_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_R =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ALP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - B =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_R =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_R =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - MU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - Q_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - Q_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - QR_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ETA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C1 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_1 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D1 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_X1 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G1_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C2 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_2 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D2 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G_X2 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - G2_0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_I =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - LEMAITRE =FACT(statut='f', - N =SIMP(statut='o',typ='R'), - UN_SUR_K =SIMP(statut='o',typ='R'), - UN_SUR_M =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - LEMAITRE_IRRA =FACT(statut='f', - N =SIMP(statut='o',typ='R'), - UN_SUR_K =SIMP(statut='o',typ='R'), - UN_SUR_M =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - QSR_K =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - BETA =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PHI_ZERO =SIMP(statut='f',typ='R',defaut= 1.E+20), - L =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - GRAN_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - LMARC_IRRA =FACT(statut='f', - DE_0 =SIMP(statut='o',typ='R'), - R_0 =SIMP(statut='o',typ='R'), - N =SIMP(statut='o',typ='R'), - K =SIMP(statut='o',typ='R'), - Y_I =SIMP(statut='o',typ='R'), - Y_0 =SIMP(statut='o',typ='R'), - B =SIMP(statut='o',typ='R'), - A_0 =SIMP(statut='o',typ='R'), - RM =SIMP(statut='o',typ='R'), - M =SIMP(statut='o',typ='R'), - P =SIMP(statut='o',typ='R'), - P1 =SIMP(statut='o',typ='R'), - P2 =SIMP(statut='o',typ='R'), - M11 =SIMP(statut='o',typ='R'), - M22 =SIMP(statut='o',typ='R'), - M33 =SIMP(statut='o',typ='R'), - M66 =SIMP(statut='o',typ='R'), - N11 =SIMP(statut='o',typ='R'), - N22 =SIMP(statut='o',typ='R'), - N33 =SIMP(statut='o',typ='R'), - N66 =SIMP(statut='o',typ='R'), - Q11 =SIMP(statut='o',typ='R'), - Q22 =SIMP(statut='o',typ='R'), - Q33 =SIMP(statut='o',typ='R'), - Q66 =SIMP(statut='o',typ='R'), - R11 =SIMP(statut='o',typ='R'), - R22 =SIMP(statut='o',typ='R'), - R33 =SIMP(statut='o',typ='R'), - R66 =SIMP(statut='o',typ='R'), - GRAN_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - VISC_IRRA_LOG =FACT(statut='f', - A =SIMP(statut='f',typ='R',defaut= 1.28E-1), - B =SIMP(statut='f',typ='R',defaut= 0.01159), - CSTE_TPS =SIMP(statut='f',typ='R',defaut= 0.3540), - ENER_ACT =SIMP(statut='f',typ='R',defaut= 5000.), - FLUX_PHI =SIMP(statut='o',typ='R',), - ), - GRAN_IRRA_LOG =FACT(statut='f', - A =SIMP(statut='f',typ='R',defaut= 1.28E-1), - B =SIMP(statut='f',typ='R',defaut= 0.01159), - CSTE_TPS =SIMP(statut='f',typ='R',defaut= 0.3540), - ENER_ACT =SIMP(statut='f',typ='R',defaut= 5000.), - FLUX_PHI =SIMP(statut='o',typ='R',), - GRAN_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - LEMA_SEUIL =FACT(statut='f', - A =SIMP(statut='o',typ='R',), - S =SIMP(statut='o',typ='R',), - ), - LEMA_SEUIL_FO=FACT(statut='f', - A =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - S =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - IRRAD3M=FACT(statut='f', - R02 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSI_U =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - RM =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - AI0 =SIMP(statut='o',typ='R',val_min=0.0), - ZETA_F =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ETAI_S =SIMP(statut='o',typ='R',val_min=0.0), - RG0 =SIMP(statut='o',typ='R',val_min=0.0), - ALPHA =SIMP(statut='o',typ='R',val_min=0.0), - PHI0 =SIMP(statut='o',typ='R',val_min=0.0), - KAPPA =SIMP(statut='f',typ='R',val_min=0.0,defaut=0.8,val_max=1.0), - ZETA_G =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TOLER_ET =SIMP(statut='f',typ='R',val_min=0.0,defaut=0.15 ), - ), - LEMAITRE_FO =FACT(statut='f', - N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - UN_SUR_K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - UN_SUR_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - META_LEMA_ANI =FACT(statut='f', - F1_A =SIMP(statut='o',typ='R'), - F2_A =SIMP(statut='o',typ='R'), - C_A =SIMP(statut='o',typ='R'), - F1_M =SIMP(statut='o',typ='R'), - F2_M =SIMP(statut='o',typ='R'), - C_M =SIMP(statut='o',typ='R'), - F1_N =SIMP(statut='o',typ='R'), - F2_N =SIMP(statut='o',typ='R'), - C_N =SIMP(statut='o',typ='R'), - F1_Q =SIMP(statut='o',typ='R'), - F2_Q =SIMP(statut='o',typ='R'), - C_Q =SIMP(statut='o',typ='R'), - F_MRR_RR =SIMP(statut='o',typ='R'), - C_MRR_RR =SIMP(statut='o',typ='R'), - F_MTT_TT =SIMP(statut='o',typ='R'), - C_MTT_TT =SIMP(statut='o',typ='R'), - F_MZZ_ZZ =SIMP(statut='o',typ='R'), - C_MZZ_ZZ =SIMP(statut='o',typ='R'), - F_MRT_RT =SIMP(statut='o',typ='R'), - C_MRT_RT =SIMP(statut='o',typ='R'), - F_MRZ_RZ =SIMP(statut='o',typ='R'), - C_MRZ_RZ =SIMP(statut='o',typ='R'), - F_MTZ_TZ =SIMP(statut='o',typ='R'), - C_MTZ_TZ =SIMP(statut='o',typ='R'), - ), - META_LEMA_ANI_FO =FACT(statut='f', - F1_A =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_A =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_A =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_N =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_Q =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_Q =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_Q =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_MRR_RR =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_MRR_RR =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_MTT_TT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_MTT_TT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_MZZ_ZZ =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_MZZ_ZZ =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_MRT_RT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_MRT_RT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_MRZ_RZ =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_MRZ_RZ =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_MTZ_TZ =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_MTZ_TZ =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ARME =FACT(statut='f', - KYE =SIMP(statut='o',typ='R'), - DLE =SIMP(statut='o',typ='R'), - KYP =SIMP(statut='o',typ='R'), - DLP =SIMP(statut='o',typ='R'), - KYG =SIMP(statut='o',typ='R'), - ), - ASSE_CORN =FACT(statut='f', - NU_1 =SIMP(statut='o',typ='R'), - MU_1 =SIMP(statut='o',typ='R'), - DXU_1 =SIMP(statut='o',typ='R'), - DRYU_1 =SIMP(statut='o',typ='R'), - C_1 =SIMP(statut='o',typ='R'), - NU_2 =SIMP(statut='o',typ='R'), - MU_2 =SIMP(statut='o',typ='R'), - DXU_2 =SIMP(statut='o',typ='R'), - DRYU_2 =SIMP(statut='o',typ='R'), - C_2 =SIMP(statut='o',typ='R'), - KY =SIMP(statut='o',typ='R'), - KZ =SIMP(statut='o',typ='R'), - KRX =SIMP(statut='o',typ='R'), - KRZ =SIMP(statut='o',typ='R'), - R_P0 =SIMP(statut='f',typ='R',defaut= 1.E+4 ), - ), - DIS_CONTACT =FACT(statut='f', - RIGI_NOR =SIMP(statut='f',typ='R' ), - RIGI_TAN =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - AMOR_NOR =SIMP(statut='f',typ='R' ), - AMOR_TAN =SIMP(statut='f',typ='R' ), - COULOMB =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - DIST_1 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - DIST_2 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - JEU =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - ENDO_SCALAIRE =FACT(statut='f', - K =SIMP(statut='o',typ='R',val_min=0.0), - P =SIMP(statut='o',typ='R',val_min=1.0), - Q =SIMP(statut='f',typ='R',defaut=0.0), - M =SIMP(statut='o',typ='R',), - C_COMP =SIMP(statut='f',typ='R',defaut=0.0), - C_VOLU =SIMP(statut='f',typ='R',defaut=1.0,val_min=0.0), - COEF_RIGI_MINI =SIMP(statut='f',typ='R',defaut=1.E-5), - ), - ENDO_SCALAIRE_FO =FACT(statut='f', - K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - P =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - Q =SIMP(statut='f',typ='R',defaut=0.0), - M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_COMP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_VOLU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COEF_RIGI_MINI =SIMP(statut='f',typ='R',defaut=1.E-5), - ), - ENDO_FISS_EXP =FACT(statut='f', - K =SIMP(statut='o',typ='R',val_min=0.0), - P =SIMP(statut='o',typ='R',val_min=1.0), - Q =SIMP(statut='f',typ='R',defaut=0.0), - M =SIMP(statut='o',typ='R',), - TAU =SIMP(statut='o',typ='R'), - SIG0 =SIMP(statut='o',typ='R'), - BETA =SIMP(statut='f',typ='R',defaut=0.1), - COEF_RIGI_MINI =SIMP(statut='f',typ='R',defaut=1.E-5), - ), - ENDO_FISS_EXP_FO =FACT(statut='f', - K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - P =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - Q =SIMP(statut='f',typ='R',defaut=0.0), - M =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - TAU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIG0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - BETA =SIMP(statut='f',typ='R',defaut=0.1), - COEF_RIGI_MINI =SIMP(statut='f',typ='R',defaut=1.E-5), - ), - DIS_GRICRA =FACT(statut='f', - KN_AX =SIMP(statut='o',typ='R' ), - KT_AX =SIMP(statut='o',typ='R' ), - COUL_AX =SIMP(statut='o',typ='R' ), - F_SER =SIMP(statut='f',typ='R' ), - F_SER_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ET_AX =SIMP(statut='f',typ='R',defaut=1.e-7 ), - ET_ROT =SIMP(statut='f',typ='R',defaut=1.e-7 ), - ANG1 =SIMP(statut='f',typ='R' ), - ANG2 =SIMP(statut='f',typ='R' ), - PEN1 =SIMP(statut='f',typ='R' ), - PEN2 =SIMP(statut='f',typ='R' ), - PEN3 =SIMP(statut='f',typ='R' ), - ANG1_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ANG2_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PEN1_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PEN2_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PEN3_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - regles=(EXCLUS('ANG1','ANG1_FO',), - UN_PARMI('ANG1','ANG1_FO',), - EXCLUS('F_SER','F_SER_FO',), - UN_PARMI('F_SER','F_SER_FO',), - PRESENT_PRESENT('ANG1','ANG2','PEN1','PEN2','PEN3',), - PRESENT_PRESENT('ANG1_FO','ANG2_FO','PEN1_FO','PEN2_FO','PEN3_FO',), - ), - ), - BETON_DOUBLE_DP =FACT(statut='f', - F_C =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_T =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COEF_BIAX =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ENER_COMP_RUPT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ENER_TRAC_RUPT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COEF_ELAS_COMP =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=100.E+0), - LONG_CARA =SIMP(statut='f',typ='R',val_min=0.E+0), - ECRO_COMP_P_PIC =SIMP(statut='f',typ='TXM',defaut="LINEAIRE",into=("LINEAIRE","PARABOLE") ), - ECRO_TRAC_P_PIC =SIMP(statut='f',typ='TXM',defaut="LINEAIRE",into=("LINEAIRE","EXPONENT") ), - ), - MAZARS=FACT(statut='f',min=0 , - EPSD0 =SIMP(statut='o',typ='R'), - K =SIMP(statut='o',typ='R'), - AC =SIMP(statut='o',typ='R'), - BC =SIMP(statut='o',typ='R'), - AT =SIMP(statut='o',typ='R'), - BT =SIMP(statut='o',typ='R'), - CHI =SIMP(statut='f',typ='R',val_min=0.0E+0,val_max=1.0E+0), - SIGM_LIM =SIMP(statut='f',typ='R'), - EPSI_LIM =SIMP(statut='f',typ='R'), - ), - MAZARS_FO=FACT(statut='f',min=0 , - EPSD0 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - K =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - AC =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - BC =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - AT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - BT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - CHI =SIMP(statut='f',typ='R'), - ), - JOINT_BA=FACT(statut='f',min=0 ,max=1, - HPEN =SIMP(statut='o',typ='R',defaut= 1.E+0,val_min=0.E+0), - GTT =SIMP(statut='o',typ='R',val_min=0.E+0), - GAMD0 =SIMP(statut='o',typ='R',val_min=1.E-4,val_max=1.E-1), - AD1 =SIMP(statut='o',typ='R',val_min=0.E+0), - BD1 =SIMP(statut='o',typ='R',defaut= 5.E-1,val_min=1.E-1), - GAMD2 =SIMP(statut='o',typ='R',val_min=1.E-4,val_max=1.E+0), - AD2 =SIMP(statut='o',typ='R',val_min=0.E+0), - BD2 =SIMP(statut='o',typ='R',defaut= 1.E+0,val_min=1.E-1), - VIFROT =SIMP(statut='o',typ='R',val_min=0.E+0), - FA =SIMP(statut='o',typ='R',val_min=0.E+0), - FC =SIMP(statut='o',typ='R',val_min=0.E+0), - EPSTR0 =SIMP(statut='o',typ='R',val_min=1.E-4,val_max=1.E+0), - ADN =SIMP(statut='o',typ='R',val_min=0.E+0), - BDN =SIMP(statut='o',typ='R',defaut= 1.E+0,val_min=1.E-1), - ), - VENDOCHAB =FACT(statut='f', - SY =SIMP(statut='o',typ='R',defaut= 0.E+0), - ALPHA_D =SIMP(statut='o',typ='R',defaut= 0.E+0), - BETA_D =SIMP(statut='o',typ='R',defaut= 0.E+0), - R_D =SIMP(statut='o',typ='R'), - A_D =SIMP(statut='o',typ='R'), - K_D =SIMP(statut='o',typ='R'), - ), - VENDOCHAB_FO =FACT(statut='f', - SY =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ALPHA_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - BETA_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - K_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - HAYHURST =FACT(statut='f', - EPS0 =SIMP(statut='o',typ='R'), - K =SIMP(statut='o',typ='R'), - H1 =SIMP(statut='o',typ='R'), - H2 =SIMP(statut='o',typ='R'), - DELTA1 =SIMP(statut='o',typ='R'), - DELTA2 =SIMP(statut='o',typ='R'), - H1ST =SIMP(statut='o',typ='R'), - H2ST =SIMP(statut='o',typ='R'), - KC =SIMP(statut='f',typ='R',defaut=0.), - BIGA =SIMP(statut='o',typ='R'), - SIG0 =SIMP(statut='o',typ='R'), - ALPHAD =SIMP(statut='f',typ='R',defaut=0.), - S_EQUI_D =SIMP(statut='f',typ='R',defaut=0.,into=(0.,1.) ), - ), - VISC_ENDO =FACT(statut='f', - SY =SIMP(statut='o',typ='R',defaut= 0.E+0), - R_D =SIMP(statut='o',typ='R'), - A_D =SIMP(statut='o',typ='R'), - ), - VISC_ENDO_FO =FACT(statut='f', - SY =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - R_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_D =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - PINTO_MENEGOTTO =FACT(statut='f', - SY =SIMP(statut='o',typ='R'), - EPSI_ULTM =SIMP(statut='o',typ='R'), - SIGM_ULTM =SIMP(statut='o',typ='R'), - ELAN =SIMP(statut='f',typ='R',defaut= 4. ), - EPSP_HARD =SIMP(statut='o',typ='R'), - R_PM =SIMP(statut='f',typ='R',defaut= 20. ), - EP_SUR_E =SIMP(statut='f',typ='R'), - A1_PM =SIMP(statut='f',typ='R',defaut= 18.5 ), - A2_PM =SIMP(statut='f',typ='R',defaut= 0.15 ), - A6_PM =SIMP(statut='f',typ='R',defaut= 620. ), - C_PM =SIMP(statut='f',typ='R',defaut= 0.5 ), - A_PM =SIMP(statut='f',typ='R',defaut= 6.0E-3 ), - ), - BPEL_BETON =FACT(statut='f', - PERT_FLUA =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PERT_RETR =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - BPEL_ACIER =FACT(statut='f', - regles=(PRESENT_PRESENT('RELAX_1000','F_PRG',), - PRESENT_PRESENT('MU0_RELAX','F_PRG',),), - RELAX_1000 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - MU0_RELAX =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - F_PRG =SIMP(statut='f',typ='R'), - FROT_COURB =SIMP(statut='f',typ='R',defaut=0.E+0), - FROT_LINE =SIMP(statut='f',typ='R',defaut=0.E+0), - ), - ETCC_BETON =FACT(statut='f', - EP_BETON =SIMP(statut='f',typ='R',val_min=0.E+0,defaut=0. ), - ), - ETCC_ACIER =FACT(statut='f', - regles=(PRESENT_PRESENT('RELAX_1000','F_PRG',),), - F_PRG =SIMP(statut='f',typ='R',val_min=0.E+0), - COEF_FROT =SIMP(statut='f',typ='R',defaut=0.E+0,val_min=0.E+0), - PERT_LIGNE =SIMP(statut='f',typ='R',defaut=0.E+0,val_min=0.E+0), - RELAX_1000 =SIMP(statut='f',typ='R',defaut= 0.E+0,val_min=0.E+0 ), - - - ), - MOHR_COULOMB =FACT(statut='f', - PHI =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=60.E+0,), - ANGDIL =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=60.E+0,), - COHESION =SIMP(statut='o',typ='R',val_min=0.E+0,), - ), - - CAM_CLAY =FACT(statut='f', - MU =SIMP(statut='o',typ='R'), - PORO =SIMP(statut='o',typ='R'), - LAMBDA =SIMP(statut='o',typ='R'), - KAPA =SIMP(statut='o',typ='R'), - M =SIMP(statut='o',typ='R'), - PRES_CRIT =SIMP(statut='o',typ='R'), - KCAM =SIMP(statut='f',typ='R',val_min=0.E+0), - PTRAC =SIMP(statut='f',typ='R',val_max=0.E+0), - regles=(PRESENT_PRESENT('PTRAC','KCAM',),), - ), - BARCELONE =FACT(statut='f', - MU =SIMP(statut='o',typ='R'), - PORO =SIMP(statut='o',typ='R'), - LAMBDA =SIMP(statut='o',typ='R'), - KAPA =SIMP(statut='o',typ='R'), - M =SIMP(statut='o',typ='R'), - PRES_CRIT =SIMP(statut='o',typ='R'), - PA =SIMP(statut='o',typ='R'), - R =SIMP(statut='o',typ='R'), - BETA =SIMP(statut='o',typ='R'), - KC =SIMP(statut='o',typ='R'), - PC0_INIT =SIMP(statut='o',typ='R'), - KAPAS =SIMP(statut='o',typ='R'), - LAMBDAS =SIMP(statut='o',typ='R'), - ALPHAB =SIMP(statut='f',typ='R'), - ), - CJS =FACT(statut='f', - BETA_CJS =SIMP(statut='o',typ='R'), - RM =SIMP(statut='o',typ='R'), - N_CJS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - KP =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - RC =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - A_CJS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - B_CJS =SIMP(statut='f',typ='R',defaut= 1.0E+25 ), - C_CJS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - GAMMA_CJS =SIMP(statut='o',typ='R'), - MU_CJS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PCO =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PA =SIMP(statut='o',typ='R'), - Q_INIT =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - R_INIT =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - HUJEUX =FACT(statut='f', - N =SIMP(statut='o',typ='R' ), - BETA =SIMP(statut='o',typ='R' ), - B =SIMP(statut='o',typ='R' ), - D =SIMP(statut='o',typ='R' ), - PHI =SIMP(statut='o',typ='R' ), - ANGDIL =SIMP(statut='o',typ='R' ), - PCO =SIMP(statut='o',typ='R' ), - PREF =SIMP(statut='o',typ='R' ), - ACYC =SIMP(statut='o',typ='R' ), - AMON =SIMP(statut='o',typ='R' ), - CCYC =SIMP(statut='o',typ='R' ), - CMON =SIMP(statut='o',typ='R' ), - RD_ELA =SIMP(statut='o',typ='R' ), - RI_ELA =SIMP(statut='o',typ='R' ), - RHYS =SIMP(statut='o',typ='R' ), - RMOB =SIMP(statut='o',typ='R' ), - XM =SIMP(statut='o',typ='R' ), - RD_CYC =SIMP(statut='o',typ='R' ), - RI_CYC =SIMP(statut='o',typ='R' ), - DILA =SIMP(statut='o',typ='R' ), - PTRAC =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - ECRO_ASYM_LINE =FACT(statut='f', - DC_SIGM_EPSI =SIMP(statut='o',typ='R'), - SY_C =SIMP(statut='o',typ='R'), - DT_SIGM_EPSI =SIMP(statut='o',typ='R'), - SY_T =SIMP(statut='o',typ='R'), - ), - GRANGER_FP =FACT(statut='f', - J1 =SIMP(statut='f',typ='R'), - J2 =SIMP(statut='f',typ='R'), - J3 =SIMP(statut='f',typ='R'), - J4 =SIMP(statut='f',typ='R'), - J5 =SIMP(statut='f',typ='R'), - J6 =SIMP(statut='f',typ='R'), - J7 =SIMP(statut='f',typ='R'), - J8 =SIMP(statut='f',typ='R'), - TAUX_1 =SIMP(statut='f',typ='R'), - TAUX_2 =SIMP(statut='f',typ='R'), - TAUX_3 =SIMP(statut='f',typ='R'), - TAUX_4 =SIMP(statut='f',typ='R'), - TAUX_5 =SIMP(statut='f',typ='R'), - TAUX_6 =SIMP(statut='f',typ='R'), - TAUX_7 =SIMP(statut='f',typ='R'), - TAUX_8 =SIMP(statut='f',typ='R'), - QSR_K =SIMP(statut='f',typ='R'), - ), - GRANGER_FP_INDT =FACT(statut='f', - J1 =SIMP(statut='f',typ='R'), - J2 =SIMP(statut='f',typ='R'), - J3 =SIMP(statut='f',typ='R'), - J4 =SIMP(statut='f',typ='R'), - J5 =SIMP(statut='f',typ='R'), - J6 =SIMP(statut='f',typ='R'), - J7 =SIMP(statut='f',typ='R'), - J8 =SIMP(statut='f',typ='R'), - TAUX_1 =SIMP(statut='f',typ='R'), - TAUX_2 =SIMP(statut='f',typ='R'), - TAUX_3 =SIMP(statut='f',typ='R'), - TAUX_4 =SIMP(statut='f',typ='R'), - TAUX_5 =SIMP(statut='f',typ='R'), - TAUX_6 =SIMP(statut='f',typ='R'), - TAUX_7 =SIMP(statut='f',typ='R'), - TAUX_8 =SIMP(statut='f',typ='R'), - ), - V_GRANGER_FP =FACT(statut='f', - QSR_VEIL =SIMP(statut='f',typ='R'), - FONC_V =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - BETON_BURGER_FP =FACT(statut='f',min=0 , - K_RS =SIMP(statut='o',typ='R'), - ETA_RS =SIMP(statut='o',typ='R'), - KAPPA =SIMP(statut='o',typ='R'), - ETA_IS =SIMP(statut='o',typ='R'), - K_RD =SIMP(statut='o',typ='R'), - ETA_RD =SIMP(statut='o',typ='R'), - ETA_ID =SIMP(statut='o',typ='R'), - ETA_FD =SIMP(statut='f',typ='R'), - ), - BETON_UMLV_FP =FACT(statut='f',min=0 , - K_RS =SIMP(statut='o',typ='R'), - ETA_RS =SIMP(statut='o',typ='R'), - K_IS =SIMP(statut='o',typ='R'), - ETA_IS =SIMP(statut='o',typ='R'), - K_RD =SIMP(statut='o',typ='R'), - ETA_RD =SIMP(statut='o',typ='R'), - ETA_ID =SIMP(statut='o',typ='R'), - ETA_FD =SIMP(statut='f',typ='R'), - ), - BETON_RAG =FACT(statut='f', - ACTIV_FL =SIMP(statut='f',typ='R',defaut=1.0 ), - K_RS =SIMP(statut='o',typ='R'), - K_IS =SIMP(statut='o',typ='R'), - ETA_RS =SIMP(statut='o',typ='R'), - ETA_IS =SIMP(statut='o',typ='R'), - K_RD =SIMP(statut='o',typ='R'), - K_ID =SIMP(statut='o',typ='R'), - ETA_RD =SIMP(statut='o',typ='R'), - ETA_ID =SIMP(statut='o',typ='R'), - EPS_0 =SIMP(statut='o',typ='R'), - TAU_0 =SIMP(statut='o',typ='R'), - EPS_FL_L =SIMP(statut='f',typ='R',defaut=3.0e-2 ), - ACTIV_LO =SIMP(statut='f',typ='R',defaut=1.0 ), - F_C =SIMP(statut='o',typ='R'), - F_T =SIMP(statut='o',typ='R'), - ANG_CRIT =SIMP(statut='f',typ='R',defaut=8.594367 ), - EPS_COMP =SIMP(statut='o',typ='R'), - EPS_TRAC =SIMP(statut='o',typ='R'), - LC_COMP =SIMP(statut='o',typ='R',defaut=1.0 ), - LC_TRAC =SIMP(statut='o',typ='R',defaut=1.0 ), - HYD_PRES =SIMP(statut='f',typ='R',defaut=0. ), - A_VAN_GE =SIMP(statut='f',typ='R',defaut=0.0 ), - B_VAN_GE =SIMP(statut='f',typ='R',defaut=1.9 ), - BIOT_EAU =SIMP(statut='o',typ='R',defaut=0.3 ), - MODU_EAU =SIMP(statut='o',typ='R',defaut=0.0 ), - W_EAU_0 =SIMP(statut='o',typ='R'), - BIOT_GEL =SIMP(statut='o',typ='R'), - MODU_GEL =SIMP(statut='o',typ='R'), - VOL_GEL =SIMP(statut='o',typ='R'), - AVANC_LI =SIMP(statut='o',typ='R'), - SEUIL_SR =SIMP(statut='o',typ='R'), - PARA_CIN =SIMP(statut='o',typ='R'), - ENR_AC_G =SIMP(statut='o',typ='R'), - ), - GLRC_DM =FACT(statut='f',max=1, - GAMMA_T =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - GAMMA_C =SIMP(statut='f',typ='R',val_min=-1.E+0,val_max=1.E+0), - GAMMA_F =SIMP(statut='o',typ='R',val_min=-1.E+0,val_max=1.E+0), - NYT =SIMP(statut='o',typ='R',val_min=0.E+0), - NYC =SIMP(statut='f',typ='R'), - MYF =SIMP(statut='o',typ='R',val_min=0.E+0), - ALPHA_C =SIMP(statut='d',typ='R',val_min=1.E+0,defaut=1.E+0), - ), - DHRC_SEUILS =FACT(statut='f', - SYD =SIMP(statut='o',typ='R',), - SCRIT =SIMP(statut='o',typ='R',), - K0MICR =SIMP(statut='o',typ='R',), - A011 =SIMP(statut='o',typ='R',), - A012 =SIMP(statut='o',typ='R',), - A013 =SIMP(statut='o',typ='R',), - A014 =SIMP(statut='o',typ='R',), - A015 =SIMP(statut='o',typ='R',), - A016 =SIMP(statut='o',typ='R',), - A022 =SIMP(statut='o',typ='R',), - A023 =SIMP(statut='o',typ='R',), - A024 =SIMP(statut='o',typ='R',), - A025 =SIMP(statut='o',typ='R',), - A026 =SIMP(statut='o',typ='R',), - A033 =SIMP(statut='o',typ='R',), - A034 =SIMP(statut='o',typ='R',), - A035 =SIMP(statut='o',typ='R',), - A036 =SIMP(statut='o',typ='R',), - A044 =SIMP(statut='o',typ='R',), - A045 =SIMP(statut='o',typ='R',), - A046 =SIMP(statut='o',typ='R',), - A055 =SIMP(statut='o',typ='R',), - A056 =SIMP(statut='o',typ='R',), - A066 =SIMP(statut='o',typ='R',), - ), - DHRC =FACT(statut='f', - AAC111 =SIMP(statut='o',typ='R',), - AAC121 =SIMP(statut='o',typ='R',), - AAC131 =SIMP(statut='o',typ='R',), - AAC141 =SIMP(statut='o',typ='R',), - AAC151 =SIMP(statut='o',typ='R',), - AAC161 =SIMP(statut='o',typ='R',), - AAC221 =SIMP(statut='o',typ='R',), - AAC231 =SIMP(statut='o',typ='R',), - AAC241 =SIMP(statut='o',typ='R',), - AAC251 =SIMP(statut='o',typ='R',), - AAC261 =SIMP(statut='o',typ='R',), - AAC331 =SIMP(statut='o',typ='R',), - AAC341 =SIMP(statut='o',typ='R',), - AAC351 =SIMP(statut='o',typ='R',), - AAC361 =SIMP(statut='o',typ='R',), - AAC441 =SIMP(statut='o',typ='R',), - AAC451 =SIMP(statut='o',typ='R',), - AAC461 =SIMP(statut='o',typ='R',), - AAC551 =SIMP(statut='o',typ='R',), - AAC561 =SIMP(statut='o',typ='R',), - AAC661 =SIMP(statut='o',typ='R',), - AAC112 =SIMP(statut='o',typ='R',), - AAC122 =SIMP(statut='o',typ='R',), - AAC132 =SIMP(statut='o',typ='R',), - AAC142 =SIMP(statut='o',typ='R',), - AAC152 =SIMP(statut='o',typ='R',), - AAC162 =SIMP(statut='o',typ='R',), - AAC222 =SIMP(statut='o',typ='R',), - AAC232 =SIMP(statut='o',typ='R',), - AAC242 =SIMP(statut='o',typ='R',), - AAC252 =SIMP(statut='o',typ='R',), - AAC262 =SIMP(statut='o',typ='R',), - AAC332 =SIMP(statut='o',typ='R',), - AAC342 =SIMP(statut='o',typ='R',), - AAC352 =SIMP(statut='o',typ='R',), - AAC362 =SIMP(statut='o',typ='R',), - AAC442 =SIMP(statut='o',typ='R',), - AAC452 =SIMP(statut='o',typ='R',), - AAC462 =SIMP(statut='o',typ='R',), - AAC552 =SIMP(statut='o',typ='R',), - AAC562 =SIMP(statut='o',typ='R',), - AAC662 =SIMP(statut='o',typ='R',), - AAT111 =SIMP(statut='o',typ='R',), - AAT121 =SIMP(statut='o',typ='R',), - AAT131 =SIMP(statut='o',typ='R',), - AAT141 =SIMP(statut='o',typ='R',), - AAT151 =SIMP(statut='o',typ='R',), - AAT161 =SIMP(statut='o',typ='R',), - AAT221 =SIMP(statut='o',typ='R',), - AAT231 =SIMP(statut='o',typ='R',), - AAT241 =SIMP(statut='o',typ='R',), - AAT251 =SIMP(statut='o',typ='R',), - AAT261 =SIMP(statut='o',typ='R',), - AAT331 =SIMP(statut='o',typ='R',), - AAT341 =SIMP(statut='o',typ='R',), - AAT351 =SIMP(statut='o',typ='R',), - AAT361 =SIMP(statut='o',typ='R',), - AAT441 =SIMP(statut='o',typ='R',), - AAT451 =SIMP(statut='o',typ='R',), - AAT461 =SIMP(statut='o',typ='R',), - AAT551 =SIMP(statut='o',typ='R',), - AAT561 =SIMP(statut='o',typ='R',), - AAT661 =SIMP(statut='o',typ='R',), - AAT112 =SIMP(statut='o',typ='R',), - AAT122 =SIMP(statut='o',typ='R',), - AAT132 =SIMP(statut='o',typ='R',), - AAT142 =SIMP(statut='o',typ='R',), - AAT152 =SIMP(statut='o',typ='R',), - AAT162 =SIMP(statut='o',typ='R',), - AAT222 =SIMP(statut='o',typ='R',), - AAT232 =SIMP(statut='o',typ='R',), - AAT242 =SIMP(statut='o',typ='R',), - AAT252 =SIMP(statut='o',typ='R',), - AAT262 =SIMP(statut='o',typ='R',), - AAT332 =SIMP(statut='o',typ='R',), - AAT342 =SIMP(statut='o',typ='R',), - AAT352 =SIMP(statut='o',typ='R',), - AAT362 =SIMP(statut='o',typ='R',), - AAT442 =SIMP(statut='o',typ='R',), - AAT452 =SIMP(statut='o',typ='R',), - AAT462 =SIMP(statut='o',typ='R',), - AAT552 =SIMP(statut='o',typ='R',), - AAT562 =SIMP(statut='o',typ='R',), - AAT662 =SIMP(statut='o',typ='R',), - GAC111 =SIMP(statut='o',typ='R',), - GAC121 =SIMP(statut='o',typ='R',), - GAC131 =SIMP(statut='o',typ='R',), - GAC141 =SIMP(statut='o',typ='R',), - GAC151 =SIMP(statut='o',typ='R',), - GAC161 =SIMP(statut='o',typ='R',), - GAC221 =SIMP(statut='o',typ='R',), - GAC231 =SIMP(statut='o',typ='R',), - GAC241 =SIMP(statut='o',typ='R',), - GAC251 =SIMP(statut='o',typ='R',), - GAC261 =SIMP(statut='o',typ='R',), - GAC331 =SIMP(statut='o',typ='R',), - GAC341 =SIMP(statut='o',typ='R',), - GAC351 =SIMP(statut='o',typ='R',), - GAC361 =SIMP(statut='o',typ='R',), - GAC441 =SIMP(statut='o',typ='R',), - GAC451 =SIMP(statut='o',typ='R',), - GAC461 =SIMP(statut='o',typ='R',), - GAC551 =SIMP(statut='o',typ='R',), - GAC561 =SIMP(statut='o',typ='R',), - GAC661 =SIMP(statut='o',typ='R',), - GAC112 =SIMP(statut='o',typ='R',), - GAC122 =SIMP(statut='o',typ='R',), - GAC132 =SIMP(statut='o',typ='R',), - GAC142 =SIMP(statut='o',typ='R',), - GAC152 =SIMP(statut='o',typ='R',), - GAC162 =SIMP(statut='o',typ='R',), - GAC222 =SIMP(statut='o',typ='R',), - GAC232 =SIMP(statut='o',typ='R',), - GAC242 =SIMP(statut='o',typ='R',), - GAC252 =SIMP(statut='o',typ='R',), - GAC262 =SIMP(statut='o',typ='R',), - GAC332 =SIMP(statut='o',typ='R',), - GAC342 =SIMP(statut='o',typ='R',), - GAC352 =SIMP(statut='o',typ='R',), - GAC362 =SIMP(statut='o',typ='R',), - GAC442 =SIMP(statut='o',typ='R',), - GAC452 =SIMP(statut='o',typ='R',), - GAC462 =SIMP(statut='o',typ='R',), - GAC552 =SIMP(statut='o',typ='R',), - GAC562 =SIMP(statut='o',typ='R',), - GAC662 =SIMP(statut='o',typ='R',), - GAT111 =SIMP(statut='o',typ='R',), - GAT121 =SIMP(statut='o',typ='R',), - GAT131 =SIMP(statut='o',typ='R',), - GAT141 =SIMP(statut='o',typ='R',), - GAT151 =SIMP(statut='o',typ='R',), - GAT161 =SIMP(statut='o',typ='R',), - GAT221 =SIMP(statut='o',typ='R',), - GAT231 =SIMP(statut='o',typ='R',), - GAT241 =SIMP(statut='o',typ='R',), - GAT251 =SIMP(statut='o',typ='R',), - GAT261 =SIMP(statut='o',typ='R',), - GAT331 =SIMP(statut='o',typ='R',), - GAT341 =SIMP(statut='o',typ='R',), - GAT351 =SIMP(statut='o',typ='R',), - GAT361 =SIMP(statut='o',typ='R',), - GAT441 =SIMP(statut='o',typ='R',), - GAT451 =SIMP(statut='o',typ='R',), - GAT461 =SIMP(statut='o',typ='R',), - GAT551 =SIMP(statut='o',typ='R',), - GAT561 =SIMP(statut='o',typ='R',), - GAT661 =SIMP(statut='o',typ='R',), - GAT112 =SIMP(statut='o',typ='R',), - GAT122 =SIMP(statut='o',typ='R',), - GAT132 =SIMP(statut='o',typ='R',), - GAT142 =SIMP(statut='o',typ='R',), - GAT152 =SIMP(statut='o',typ='R',), - GAT162 =SIMP(statut='o',typ='R',), - GAT222 =SIMP(statut='o',typ='R',), - GAT232 =SIMP(statut='o',typ='R',), - GAT242 =SIMP(statut='o',typ='R',), - GAT252 =SIMP(statut='o',typ='R',), - GAT262 =SIMP(statut='o',typ='R',), - GAT332 =SIMP(statut='o',typ='R',), - GAT342 =SIMP(statut='o',typ='R',), - GAT352 =SIMP(statut='o',typ='R',), - GAT362 =SIMP(statut='o',typ='R',), - GAT442 =SIMP(statut='o',typ='R',), - GAT452 =SIMP(statut='o',typ='R',), - GAT462 =SIMP(statut='o',typ='R',), - GAT552 =SIMP(statut='o',typ='R',), - GAT562 =SIMP(statut='o',typ='R',), - GAT662 =SIMP(statut='o',typ='R',), - AB111 =SIMP(statut='o',typ='R',), - AB121 =SIMP(statut='o',typ='R',), - AB211 =SIMP(statut='o',typ='R',), - AB221 =SIMP(statut='o',typ='R',), - AB311 =SIMP(statut='o',typ='R',), - AB321 =SIMP(statut='o',typ='R',), - AB411 =SIMP(statut='o',typ='R',), - AB421 =SIMP(statut='o',typ='R',), - AB511 =SIMP(statut='o',typ='R',), - AB521 =SIMP(statut='o',typ='R',), - AB611 =SIMP(statut='o',typ='R',), - AB621 =SIMP(statut='o',typ='R',), - AB112 =SIMP(statut='o',typ='R',), - AB122 =SIMP(statut='o',typ='R',), - AB212 =SIMP(statut='o',typ='R',), - AB222 =SIMP(statut='o',typ='R',), - AB312 =SIMP(statut='o',typ='R',), - AB322 =SIMP(statut='o',typ='R',), - AB412 =SIMP(statut='o',typ='R',), - AB422 =SIMP(statut='o',typ='R',), - AB512 =SIMP(statut='o',typ='R',), - AB522 =SIMP(statut='o',typ='R',), - AB612 =SIMP(statut='o',typ='R',), - AB622 =SIMP(statut='o',typ='R',), - GB111 =SIMP(statut='o',typ='R',), - GB121 =SIMP(statut='o',typ='R',), - GB211 =SIMP(statut='o',typ='R',), - GB221 =SIMP(statut='o',typ='R',), - GB311 =SIMP(statut='o',typ='R',), - GB321 =SIMP(statut='o',typ='R',), - GB411 =SIMP(statut='o',typ='R',), - GB421 =SIMP(statut='o',typ='R',), - GB511 =SIMP(statut='o',typ='R',), - GB521 =SIMP(statut='o',typ='R',), - GB611 =SIMP(statut='o',typ='R',), - GB621 =SIMP(statut='o',typ='R',), - GB112 =SIMP(statut='o',typ='R',), - GB122 =SIMP(statut='o',typ='R',), - GB212 =SIMP(statut='o',typ='R',), - GB222 =SIMP(statut='o',typ='R',), - GB312 =SIMP(statut='o',typ='R',), - GB322 =SIMP(statut='o',typ='R',), - GB412 =SIMP(statut='o',typ='R',), - GB422 =SIMP(statut='o',typ='R',), - GB512 =SIMP(statut='o',typ='R',), - GB522 =SIMP(statut='o',typ='R',), - GB612 =SIMP(statut='o',typ='R',), - GB622 =SIMP(statut='o',typ='R',), - C0111 =SIMP(statut='o',typ='R',), - C0211 =SIMP(statut='o',typ='R',), - C0121 =SIMP(statut='o',typ='R',), - C0221 =SIMP(statut='o',typ='R',), - C0212 =SIMP(statut='o',typ='R',), - C0112 =SIMP(statut='o',typ='R',), - C0122 =SIMP(statut='o',typ='R',), - C0222 =SIMP(statut='o',typ='R',), - AC111 =SIMP(statut='o',typ='R',), - AC211 =SIMP(statut='o',typ='R',), - AC121 =SIMP(statut='o',typ='R',), - AC221 =SIMP(statut='o',typ='R',), - AC112 =SIMP(statut='o',typ='R',), - AC212 =SIMP(statut='o',typ='R',), - AC122 =SIMP(statut='o',typ='R',), - AC222 =SIMP(statut='o',typ='R',), - GC111 =SIMP(statut='o',typ='R',), - GC211 =SIMP(statut='o',typ='R',), - GC121 =SIMP(statut='o',typ='R',), - GC221 =SIMP(statut='o',typ='R',), - GC112 =SIMP(statut='o',typ='R',), - GC212 =SIMP(statut='o',typ='R',), - GC122 =SIMP(statut='o',typ='R',), - GC222 =SIMP(statut='o',typ='R',), - ), - GATT_MONERIE =FACT(statut='f',min=0,max=1, - D_GRAIN =SIMP(statut='o',typ='R',val_min=0.E+0), - PORO_INIT =SIMP(statut='o',typ='R',val_min=0.E+0), - EPSI_01 =SIMP(statut='o',typ='R',defaut= 2.7252E-10,val_min=0.E+0), - EPSI_02 =SIMP(statut='o',typ='R',defaut= 9.1440E-41,val_min=0.E+0), - ), - CORR_ACIER =FACT(statut='f',min=0 ,max=1, - D_CORR =SIMP(statut='o',typ='R'), - ECRO_K =SIMP(statut='o',typ='R'), - ECRO_M =SIMP(statut='o',typ='R'), - SY =SIMP(statut='o',typ='R'), - ), - CABLE_GAINE_FROT=FACT(statut='f',min=0 ,max=1, - TYPE = SIMP(statut='o',typ='TXM',into=("FROTTANT","GLISSANT","ADHERENT")), - b_glissant =BLOC(condition="TYPE=='GLISSANT'", - fr="Loi cable gaine glissante", - FROT_LINE =SIMP(statut='c',typ='R',defaut= 0.0,), - FROT_COURB =SIMP(statut='c',typ='R',defaut= 0.0,), - ), - b_adherent =BLOC(condition="TYPE=='ADHERENT'", - fr="Loi cable gaine adherent", - FROT_LINE =SIMP(statut='c',typ='R',defaut= -1.0,), - FROT_COURB =SIMP(statut='c',typ='R',defaut= 0.0,), - ), - b_frottant =BLOC(condition="TYPE=='FROTTANT'", - fr="Loi cable gaine frottant", - FROT_LINE =SIMP(statut='o',typ='R',defaut= 0.0,), - FROT_COURB =SIMP(statut='o',typ='R',defaut= 0.0,), - ), - PENA_LAGR =SIMP(statut='o',typ='R',val_min=0.E+0), - ), - -# Discrets non-linéaires : début - DIS_ECRO_CINE =FACT(statut='f', - fr="Loi pour les discrets avec écrouissage cinématique.", - regles=(PRESENT_PRESENT('LIMY_DX','KCIN_DX',),PRESENT_PRESENT('PUIS_DX','LIMU_DX',), - PRESENT_PRESENT('LIMY_DY','KCIN_DY',),PRESENT_PRESENT('PUIS_DY','LIMU_DY',), - PRESENT_PRESENT('LIMY_DZ','KCIN_DZ',),PRESENT_PRESENT('PUIS_DZ','LIMU_DZ',), - PRESENT_PRESENT('LIMY_RX','KCIN_RX',),PRESENT_PRESENT('PUIS_RX','LIMU_RX',), - PRESENT_PRESENT('LIMY_RY','KCIN_RY',),PRESENT_PRESENT('PUIS_RY','LIMU_RY',), - PRESENT_PRESENT('LIMY_RZ','KCIN_RZ',),PRESENT_PRESENT('PUIS_RZ','LIMU_RZ',),), - LIMY_DX =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Effort limite élastique suivant l'axe local x de l'élément."), - LIMY_DY =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Effort limite élastique suivant l'axe local y de l'élément."), - LIMY_DZ =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Effort limite élastique suivant l'axe local z de l'élément."), - LIMY_RX =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Moment limite élastique suivant l'axe local x de l'élément."), - LIMY_RY =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Moment limite élastique suivant l'axe local y de l'élément."), - LIMY_RZ =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Moment limite élastique suivant l'axe local z de l'élément."), - KCIN_DX =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur suivant l'axe local x de l'élément."), - KCIN_DY =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur suivant l'axe local y de l'élément."), - KCIN_DZ =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur suivant l'axe local z de l'élément."), - KCIN_RX =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur suivant l'axe local Rx de l'élément."), - KCIN_RY =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur suivant l'axe local Ry de l'élément."), - KCIN_RZ =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur suivant l'axe local Rz de l'élément."), - LIMU_DX =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Effort limite suivant l'axe local x de l'élément."), - LIMU_DY =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Effort limite suivant l'axe local y de l'élément."), - LIMU_DZ =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Effort limite suivant l'axe local z de l'élément."), - LIMU_RX =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Moment limite suivant l'axe local x de l'élément."), - LIMU_RY =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Moment limite suivant l'axe local y de l'élément."), - LIMU_RZ =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Moment limite suivant l'axe local z de l'élément."), - PUIS_DX =SIMP(statut='f',typ='R',val_min = 1.0, - fr="Coefficient de non-linéarité suivant l'axe local x de l'élément."), - PUIS_DY =SIMP(statut='f',typ='R',val_min = 1.0, - fr="Coefficient de non-linéarité suivant l'axe local y de l'élément."), - PUIS_DZ =SIMP(statut='f',typ='R',val_min = 1.0, - fr="Coefficient de non-linéarité suivant l'axe local z de l'élément."), - PUIS_RX =SIMP(statut='f',typ='R',val_min = 1.0, - fr="Coefficient de non-linéarité suivant l'axe local Rx de l'élément."), - PUIS_RY =SIMP(statut='f',typ='R',val_min = 1.0, - fr="Coefficient de non-linéarité suivant l'axe local Ry de l'élément."), - PUIS_RZ =SIMP(statut='f',typ='R',val_min = 1.0, - fr="Coefficient de non-linéarité suivant l'axe local Rz de l'élément."), - ), - DIS_VISC =FACT(statut='f', - fr="Loi pour un discret de type visqueux : Zener Généralisé.", - regles=(UN_PARMI('K1','UNSUR_K1'), - UN_PARMI('K2','UNSUR_K2'), - UN_PARMI('K3','UNSUR_K3'), ), - K1 =SIMP(statut='f',typ='R',val_min = 1.0E-08, - fr="Raideur en série avec les 2 autres branches."), - K2 =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Raideur en parallèle de la branche visqueuse."), - K3 =SIMP(statut='f',typ='R',val_min = 1.0E-08, - fr="Raideur dans la branche visqueuse."), - UNSUR_K1 =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Souplesse en série avec les 2 autres branches."), - UNSUR_K2 =SIMP(statut='f',typ='R',val_min = 1.0E-08, - fr="Souplesse en parallèle de la branche visqueuse."), - UNSUR_K3 =SIMP(statut='f',typ='R',val_min = 0.0, - fr="Souplesse dans la branche visqueuse."), - C =SIMP(statut='o',typ='R',val_min = 1.0E-08, - fr="'Raideur' de la partie visqueuse."), - PUIS_ALPHA =SIMP(statut='o',typ='R',val_min = 1.0E-08, val_max=1.0, defaut=0.5, - fr="Puissance de la loi visqueuse ]0.0, 1.0] ."), - ), - DIS_BILI_ELAS =FACT(statut='f', - fr="Loi bi-linéaire pour les discrets.", - regles=(PRESENT_PRESENT('KDEB_DX','KFIN_DX','FPRE_DX',), - PRESENT_PRESENT('KDEB_DY','KFIN_DY','FPRE_DY',), - PRESENT_PRESENT('KDEB_DZ','KFIN_DZ','FPRE_DZ',),), - KDEB_DX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Raideur début suivant l'axe local x de l'élément."), - KDEB_DY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Raideur début suivant l'axe local y de l'élément."), - KDEB_DZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Raideur début suivant l'axe local z de l'élément."), - KFIN_DX =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Raideur fin l'axe local x de l'élément."), - KFIN_DY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Raideur fin l'axe local y de l'élément."), - KFIN_DZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Raideur fin l'axe local z de l'élément."), - FPRE_DX =SIMP(statut='f',typ='R', - fr="Effort de préserrage suivant l'axe local x de l'élément."), - FPRE_DY =SIMP(statut='f',typ='R', - fr="Effort de préserrage suivant l'axe local y de l'élément."), - FPRE_DZ =SIMP(statut='f',typ='R', - fr="Effort de préserrage suivant l'axe local z de l'élément."), - ), -# Discrets non-linéaires : fin -# -# comportement thermique -# - THER_NL =FACT(statut='f', - regles=(UN_PARMI('BETA','RHO_CP', ),), - LAMBDA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - BETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO_CP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - THER_HYDR =FACT(statut='f', - LAMBDA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - BETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - AFFINITE =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - CHALHYDR =SIMP(statut='o',typ='R'), - ), - THER =FACT(statut='f', - LAMBDA =SIMP(statut='o',typ='R'), - RHO_CP =SIMP(statut='f',typ='R'), - ), - THER_FO =FACT(statut='f', - LAMBDA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO_CP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - THER_ORTH =FACT(statut='f', - LAMBDA_L =SIMP(statut='o',typ='R'), - LAMBDA_T =SIMP(statut='o',typ='R'), - LAMBDA_N =SIMP(statut='f',typ='R'), - RHO_CP =SIMP(statut='f',typ='R'), - ), - THER_COQUE =FACT(statut='f', - COND_LMM =SIMP(statut='o',typ='R'), - COND_TMM =SIMP(statut='o',typ='R'), - COND_LMP =SIMP(statut='o',typ='R'), - COND_TMP =SIMP(statut='o',typ='R'), - COND_LPP =SIMP(statut='o',typ='R'), - COND_TPP =SIMP(statut='o',typ='R'), - COND_LSI =SIMP(statut='o',typ='R'), - COND_TSI =SIMP(statut='o',typ='R'), - COND_NMM =SIMP(statut='o',typ='R'), - COND_NMP =SIMP(statut='o',typ='R'), - COND_NPP =SIMP(statut='o',typ='R'), - COND_NSI =SIMP(statut='o',typ='R'), - CMAS_MM =SIMP(statut='f',typ='R'), - CMAS_MP =SIMP(statut='f',typ='R'), - CMAS_PP =SIMP(statut='f',typ='R'), - CMAS_SI =SIMP(statut='f',typ='R'), - ), - THER_COQUE_FO =FACT(statut='f', - COND_LMM =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_TMM =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_LMP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_TMP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_LPP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_TPP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_LSI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_TSI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_NMM =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_NMP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_NPP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COND_NSI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - CMAS_MM =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CMAS_MP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CMAS_PP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CMAS_SI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - SECH_GRANGER =FACT(statut='f', - A =SIMP(statut='o',typ='R'), - B =SIMP(statut='o',typ='R'), - QSR_K =SIMP(statut='o',typ='R'), - TEMP_0_C =SIMP(statut='o',typ='R'), - ), - SECH_MENSI =FACT(statut='f', - A =SIMP(statut='o',typ='R'), - B =SIMP(statut='o',typ='R'), - ), - SECH_BAZANT =FACT(statut='f', - D1 =SIMP(statut='o',typ='R'), - ALPHA_BAZANT =SIMP(statut='o',typ='R'), - N =SIMP(statut='o',typ='R'), - FONC_DESORP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - SECH_NAPPE =FACT(statut='f', - FONCTION =SIMP(statut='o',typ=(nappe_sdaster,formule)), - ), -# -# comportement métallurgique -# - META_ACIER =FACT(statut='f', - TRC =SIMP(statut='o',typ=(table_sdaster) ), - AR3 =SIMP(statut='o',typ='R'), - ALPHA =SIMP(statut='o',typ='R'), - MS0 =SIMP(statut='o',typ='R'), - AC1 =SIMP(statut='o',typ='R'), - AC3 =SIMP(statut='o',typ='R'), - TAUX_1 =SIMP(statut='o',typ='R'), - TAUX_3 =SIMP(statut='o',typ='R'), - LAMBDA0 =SIMP(statut='f',typ='R'), - QSR_K =SIMP(statut='f',typ='R'), - D10 =SIMP(statut='f',typ='R'), - WSR_K =SIMP(statut='f',typ='R'), - ), - META_ZIRC =FACT(statut='f', - TDEQ =SIMP(statut='o',typ='R'), - N =SIMP(statut='o',typ='R'), - K =SIMP(statut='o',typ='R'), - T1C =SIMP(statut='o',typ='R'), - T2C =SIMP(statut='o',typ='R'), - AC =SIMP(statut='o',typ='R'), - M =SIMP(statut='o',typ='R'), - QSR_K =SIMP(statut='o',typ='R'), - T1R =SIMP(statut='o',typ='R'), - T2R =SIMP(statut='o',typ='R'), - AR =SIMP(statut='o',typ='R'), - BR =SIMP(statut='o',typ='R'), - ), - DURT_META =FACT(statut='f', - F1_DURT =SIMP(statut='o',typ='R'), - F2_DURT =SIMP(statut='o',typ='R'), - F3_DURT =SIMP(statut='o',typ='R'), - F4_DURT =SIMP(statut='o',typ='R'), - C_DURT =SIMP(statut='o',typ='R'), - ), - ELAS_META =FACT(statut='f', - E =SIMP(statut='o',typ='R'), - NU =SIMP(statut='o',typ='R'), - F_ALPHA =SIMP(statut='o',typ='R'), - C_ALPHA =SIMP(statut='o',typ='R'), - PHASE_REFE =SIMP(statut='o',typ='TXM',into=("CHAUD","FROID")), - EPSF_EPSC_TREF =SIMP(statut='o',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E+0), - F1_SY =SIMP(statut='f',typ='R'), - F2_SY =SIMP(statut='f',typ='R'), - F3_SY =SIMP(statut='f',typ='R'), - F4_SY =SIMP(statut='f',typ='R'), - C_SY =SIMP(statut='f',typ='R'), - SY_MELANGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_S_VP =SIMP(statut='f',typ='R'), - F2_S_VP =SIMP(statut='f',typ='R'), - F3_S_VP =SIMP(statut='f',typ='R'), - F4_S_VP =SIMP(statut='f',typ='R'), - C_S_VP =SIMP(statut='f',typ='R' ), - S_VP_MELANGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ELAS_META_FO =FACT(statut='f', - regles=( - PRESENT_PRESENT('F_ALPHA','TEMP_DEF_ALPHA'), - PRESENT_PRESENT('C_ALPHA','TEMP_DEF_ALPHA'), - ), - E =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - NU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - F_ALPHA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_ALPHA =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - PHASE_REFE =SIMP(statut='o',typ='TXM',into=("CHAUD","FROID")), - EPSF_EPSC_TREF =SIMP(statut='o',typ='R'), - TEMP_DEF_ALPHA =SIMP(statut='f',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E+0), - F1_SY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_SY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_SY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_SY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_SY =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SY_MELANGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_S_VP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_S_VP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_S_VP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_S_VP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_S_VP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - S_VP_MELANGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - META_ECRO_LINE =FACT(statut='f', - F1_D_SIGM_EPSI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_D_SIGM_EPSI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_D_SIGM_EPSI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_D_SIGM_EPSI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_D_SIGM_EPSI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - META_TRACTION =FACT(statut='f', - SIGM_F1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_F2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_F3 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_F4 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - META_VISC_FO =FACT(statut='f', - F1_ETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F1_M =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_ETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_M =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_ETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_M =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_ETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_M =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_ETA =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_N =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - C_M =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - META_PT =FACT(statut='f', - F1_K =SIMP(statut='f',typ='R'), - F2_K =SIMP(statut='f',typ='R'), - F3_K =SIMP(statut='f',typ='R'), - F4_K =SIMP(statut='f',typ='R'), - F1_D_F_META =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F2_D_F_META =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F3_D_F_META =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - F4_D_F_META =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - META_RE =FACT(statut='f', - C_F1_THETA =SIMP(statut='f',typ='R'), - C_F2_THETA =SIMP(statut='f',typ='R'), - C_F3_THETA =SIMP(statut='f',typ='R'), - C_F4_THETA =SIMP(statut='f',typ='R'), - F1_C_THETA =SIMP(statut='f',typ='R'), - F2_C_THETA =SIMP(statut='f',typ='R'), - F3_C_THETA =SIMP(statut='f',typ='R'), - F4_C_THETA =SIMP(statut='f',typ='R'), - ), -# -# comportement fluide -# - FLUIDE =FACT(statut='f', - regles=(EXCLUS('CELE_C','CELE_R'),), - RHO =SIMP(statut='o',typ='R'), - PESA_Z =SIMP(statut='f',typ='R',min=1,max=1), - CELE_C =SIMP(statut='f',typ='C'), - CELE_R =SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# COMPORTEMENT THERMO_HYDRO_MECANIQUE -# LES DONNEES NECESSAIRES A LA DEFINITION DU MATERIAU SONT DEPENDANTES -# DE LA LOI DE COUPLAGE THM DE LA RELATION -# LE COMPORTEMENT DE COUPLAGE COMP_THM N EST VALABLE QUE POUR LES LOIS -# DE COUPLAGE : LIQU_SATU,LIQU_GAZ,GAZ,LIQU_GAZ_ATM,LIQU_VAPE_GAZ,LIQU_VAPE -# ET LIQU_AD_GAZ_VAPE -# LA CORRESPONDANCE AVEC LES VARIABLES CACHEES EST LA SUIVANTE : -# 1 --> LIQU_SATU -# 2 --> GAZ -# 3 --> LIQU_VAPE -# 4 --> LIQU_VAPE_GAZ -# 5 --> LIQU_GAZ -# 6 --> LIQU_GAZ_ATM -# 9 --> LIQU_AD_GAZ_VAPE -# 10 --> LIQU_AD_GAZ -# ================================================================================= - COMP_THM = SIMP(statut='f', typ='TXM', - into = ( "LIQU_SATU" , - "LIQU_GAZ" , - "GAZ" , - "LIQU_GAZ_ATM" , - "LIQU_VAPE_GAZ" , - "LIQU_VAPE" , - "LIQU_AD_GAZ_VAPE" , - "LIQU_AD_GAZ" , - ) ), -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_SATU ------------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU ----------------------------------------------- -# ================================================================================= - b_liqusatu = BLOC(condition = "COMP_THM == 'LIQU_SATU' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_SATU", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - PRE2 = SIMP(statut='f',typ='R'), - PRES_VAPE = SIMP(statut='f',typ='R'), - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 1.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - - - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - - - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='f',typ='R'), - EMMAG = SIMP(statut='f',typ='R'), - SATU_PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_GAZ =FACT(statut='f', - MASS_MOL =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ =FACT(statut='f', - MASS_MOL =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_GAZ -------------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU, THM_GAZ -------------------------------------- -# ================================================================================= - b_liqugaz = BLOC(condition = "COMP_THM == 'LIQU_GAZ' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_GAZ", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PRE2 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - PRES_VAPE = SIMP(statut='f',typ='R'), - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 5.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - ENSEMBLE('SATU_PRES','D_SATU_PRES','PERM_LIQU','D_PERM_LIQU_SATU', - 'PERM_GAZ','D_PERM_SATU_GAZ','D_PERM_PRES_GAZ',), - ENSEMBLE('VG_N','VG_SR','VG_PR','VG_SMAX','VG_SATUR',), - UN_PARMI('VG_N','SATU_PRES'), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='o',typ='R'), - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), - SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# ---Van Genhuchten et Muallen----------------------------------------------------------------------------- - - VG_N = SIMP(statut='f',typ='R'), - VG_SR = SIMP(statut='f',typ='R'), - VG_PR = SIMP(statut='f',typ='R'), - VG_SMAX = SIMP(statut='f',typ='R'), - VG_SATUR = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - FICKV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ =FACT(statut='f', - MASS_MOL =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE GAZ ------------------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_GAZ ------------------------------------------------ -# ================================================================================= - b_gaz = BLOC(condition = "COMP_THM == 'GAZ' ", - fr="Paramètres nécessaires pour une loi de couplage de type GAZ", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='o',typ='R'), - PRE1 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - PRE2 = SIMP(statut='f',typ='R'), - PRES_VAPE = SIMP(statut='f',typ='R'), - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 2.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='o',typ='R'), - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - SATU_PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU=SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_LIQU =FACT(statut='f', - RHO =SIMP(statut='f',typ='R'), - UN_SUR_K =SIMP(statut='f',typ='R'), - ALPHA =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - COEF_HENRY =SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ =FACT(statut='f', - MASS_MOL =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_GAZ_ATM ---------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU, THM_GAZ -------------------------------------- -# ================================================================================= - b_liqugazatm = BLOC(condition = "COMP_THM == 'LIQU_GAZ_ATM' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_GAZ_ATM", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - PRE2 = SIMP(statut='f',typ='R'), - PRES_VAPE = SIMP(statut='f',typ='R'), - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 6.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), - SATU_PRES = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - R_GAZ =SIMP(statut='f',typ='R'), - PERM_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_GAZ = FACT(statut='f', - MASS_MOL = SIMP(statut='f',typ='R'), - VISC = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ =FACT(statut='f', - MASS_MOL =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), - -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_AD_GAZ ------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU, THM_GAZ, THM_AIR_DISSOUS--------- -# ================================================================================= - b_liquadgaz = BLOC(condition = "COMP_THM == 'LIQU_AD_GAZ' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_AD_GAZ", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PRE2 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), - PRES_VAPE = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 10.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - ENSEMBLE('SATU_PRES','D_SATU_PRES','PERM_LIQU','D_PERM_LIQU_SATU', - 'PERM_GAZ','D_PERM_SATU_GAZ','D_PERM_PRES_GAZ',), - ENSEMBLE('VG_N','VG_SR','VG_PR','VG_SMAX','VG_SATUR',), - UN_PARMI('VG_N','SATU_PRES'), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='o',typ='R'), - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), - SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# ---Van Genhuchten et Muallen----------------------------------------------------------------------------- - VG_N = SIMP(statut='f',typ='R'), - VG_SR = SIMP(statut='f',typ='R'), - VG_PR = SIMP(statut='f',typ='R'), - VG_SMAX = SIMP(statut='f',typ='R'), - VG_SATUR = SIMP(statut='f',typ='R'), -# - FICKV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES CACHEES ------------------------------------------- -# --------------------------------------------------------------------------------- - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES CACHEES ------------------------------------------- -# --------------------------------------------------------------------------------- - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES CACHEES ------------------------------------------- -# --------------------------------------------------------------------------------- - ), -# ================================================================================= -# --- MOT-CLE FACULTATIF --------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ = FACT(statut='f', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - CP = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES CACHEES ------------------------------------------- -# --------------------------------------------------------------------------------- - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_AIR_DISS = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='o',typ='R'), - COEF_HENRY = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), - -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_VAPE_GAZ --------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU, THM_GAZ, THM_VAPE_GAZ ------------------------ -# ================================================================================= - b_liquvapegaz = BLOC(condition = "COMP_THM == 'LIQU_VAPE_GAZ' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_VAPE_GAZ", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PRE2 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), - PRES_VAPE = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 4.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='o',typ='R'), - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), - SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# ---Van Genhuchten et Muallen----------------------------------------------------------------------------- - - VG_N = SIMP(statut='f',typ='R'), - VG_SR = SIMP(statut='f',typ='R'), - VG_PR = SIMP(statut='f',typ='R'), - VG_SMAX = SIMP(statut='f',typ='R'), - VG_SATUR = SIMP(statut='f',typ='R'), -# - FICKV_T = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - - ENSEMBLE('SATU_PRES','D_SATU_PRES','PERM_LIQU','D_PERM_LIQU_SATU', - 'PERM_GAZ','D_PERM_SATU_GAZ','D_PERM_PRES_GAZ',), - ENSEMBLE('VG_N','VG_SR','VG_PR','VG_SMAX','VG_SATUR',), - UN_PARMI('VG_N','SATU_PRES'), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVE ---------------------------------- -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - FICKA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - CP = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_AD_GAZ_VAPE ------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU, THM_GAZ, THM_VAPE_GAZ THM_AIR_DISSOUS--------- -# ================================================================================= - b_liquadvape = BLOC(condition = "COMP_THM == 'LIQU_AD_GAZ_VAPE' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_AD_GAZ_VAPE", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PRE2 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), - PRES_VAPE = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 9.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='o',typ='R'), - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), - SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# ---Van Genhuchten et Muallen----------------------------------------------------------------------------- - VG_N = SIMP(statut='f',typ='R'), - VG_SR = SIMP(statut='f',typ='R'), - VG_PR = SIMP(statut='f',typ='R'), - VG_SMAX = SIMP(statut='f',typ='R'), - VG_SATUR = SIMP(statut='f',typ='R'), -# - FICKV_T = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - ENSEMBLE('SATU_PRES','D_SATU_PRES','PERM_LIQU','D_PERM_LIQU_SATU', - 'PERM_GAZ','D_PERM_SATU_GAZ','D_PERM_PRES_GAZ',), - ENSEMBLE('VG_N','VG_SR','VG_PR','VG_SMAX','VG_SATUR',), - UN_PARMI('VG_N','SATU_PRES'), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - CP = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_AIR_DISS = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='o',typ='R'), - COEF_HENRY = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), -# ================================================================================= -# --- LOI DE COUPLAGE DE TYPE LIQU_VAPE ------------------------------------------- -# ================================================================================= -# --- PRESENCE OBLIGATOIRE DES MOT-CLES SUIVANT : --------------------------------- -# --- THM_INIT, THM_DIFFU, THM_LIQU, THM_VAPE_GAZ --------------------------------- -# ================================================================================= - b_liquvape = BLOC(condition = "COMP_THM == 'LIQU_VAPE' ", - fr="Paramètres nécessaires pour une loi de couplage de type LIQU_VAPE", -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_INIT = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - PRE1 = SIMP(statut='o',typ='R'), - PORO = SIMP(statut='o',typ='R'), - PRES_VAPE = SIMP(statut='o',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - TEMP = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - PRE2 = SIMP(statut='f',typ='R'), - DEGR_SATU = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEE CACHEE --------------------------------------------- -# --------------------------------------------------------------------------------- - COMP_THM = SIMP(statut='c',typ='R',defaut= 3.0,), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_DIFFU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - R_GAZ = SIMP(statut='o',typ='R'), - RHO = SIMP(statut='o',typ='R'), - BIOT_COEF = SIMP(statut='f',typ='R'), - BIOT_L = SIMP(statut='f',typ='R'), - BIOT_N = SIMP(statut='f',typ='R'), - BIOT_T = SIMP(statut='f',typ='R'), - PESA_X = SIMP(statut='o',typ='R'), - PESA_Y = SIMP(statut='o',typ='R'), - PESA_Z = SIMP(statut='o',typ='R'), - SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_SATU_PRES = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_LIQU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_LIQU_SATU = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_SATU_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_PERM_PRES_GAZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# ---Van Genhuchten et Muallen----------------------------------------------------------------------------- - - VG_N = SIMP(statut='f',typ='R'), - VG_SR = SIMP(statut='f',typ='R'), - VG_PR = SIMP(statut='f',typ='R'), - VG_SMAX = SIMP(statut='f',typ='R'), - VG_SATUR = SIMP(statut='f',typ='R'), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES FACULTATIVES ------------------------------------ -# --------------------------------------------------------------------------------- - PESA_MULT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - CP = SIMP(statut='f',typ='R'), - PERM_IN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_L = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_N = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERMIN_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PERM_END = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_PHI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TN = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_TT = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_LB_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - LAMB_CT = SIMP(statut='f',typ='R'), - LAMB_C_L = SIMP(statut='f',typ='R'), - LAMB_C_N = SIMP(statut='f',typ='R'), - LAMB_C_T = SIMP(statut='f',typ='R'), -# - regles = (EXCLUS('BIOT_COEF','BIOT_N',), - PRESENT_PRESENT('BIOT_N','BIOT_L',), - PRESENT_PRESENT('BIOT_T','BIOT_L','BIOT_N',), - EXCLUS('PERM_IN','PERM_END','PERMIN_L',), - PRESENT_ABSENT('PERMIN_N','PERMIN_T',), - PRESENT_PRESENT('PERMIN_N','PERMIN_L',), - PRESENT_PRESENT('PERMIN_T','PERMIN_L',), - EXCLUS('LAMB_T','LAMB_TL',), - PRESENT_ABSENT('LAMB_TN','LAMB_TT',), - PRESENT_PRESENT('LAMB_TN','LAMB_TL',), - PRESENT_PRESENT('LAMB_TT','LAMB_TL',), - EXCLUS('D_LB_T','D_LB_TL',), - PRESENT_ABSENT('D_LB_TN','D_LB_TT',), - PRESENT_PRESENT('D_LB_TN','D_LB_TL',), - PRESENT_PRESENT('D_LB_TT','D_LB_TL',), - EXCLUS('LAMB_CT','LAMB_C_L',), - PRESENT_ABSENT('LAMB_C_N','LAMB_C_T',), - PRESENT_PRESENT('LAMB_C_N','LAMB_C_L',), - PRESENT_PRESENT('LAMB_C_T','LAMB_C_L',), - EXCLUS('PERMIN_L','BIOT_COEF'), - EXCLUS('PERMIN_L','LAMB_T'), - PRESENT_PRESENT('BIOT_L','PERMIN_L',), - PRESENT_PRESENT('BIOT_T','PERMIN_T',), - PRESENT_PRESENT('LAMB_TN','PERMIN_N',), - PRESENT_PRESENT('LAMB_TL','PERMIN_L',), - PRESENT_PRESENT('LAMB_TT','PERMIN_T',), - - ENSEMBLE('SATU_PRES','D_SATU_PRES','PERM_LIQU','D_PERM_LIQU_SATU', - 'PERM_GAZ','D_PERM_SATU_GAZ','D_PERM_PRES_GAZ',), - ENSEMBLE('VG_N','VG_SR','VG_PR','VG_SMAX','VG_SATUR',), - UN_PARMI('VG_N','SATU_PRES'), - ), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES INUTILES ---------------------------------------- -# --------------------------------------------------------------------------------- - EMMAG = SIMP(statut='f',typ='R'), - FICKV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PV = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKV_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FV_PG = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PA = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_PL = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - FICKA_S = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_FA_T = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ) , -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_LIQU = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - RHO = SIMP(statut='o',typ='R'), - UN_SUR_K = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), -# --------------------------------------------------------------------------------- -# ------------------- DONNEES NECESSAIRE SI THERMIQUE ------------------------- -# --------------------------------------------------------------------------------- - ALPHA = SIMP(statut='f',typ='R'), - CP = SIMP(statut='f',typ='R'), - ), -# ================================================================================= -# --- MOT-CLE OBLIGATOIRE --------------------------------------------------------- -# ================================================================================= - THM_VAPE_GAZ = FACT(statut='o', -# --------------------------------------------------------------------------------- -# ------------------- DONNEES OBLIGATOIRE ------------------------------------- -# --------------------------------------------------------------------------------- - MASS_MOL = SIMP(statut='o',typ='R'), - CP = SIMP(statut='o',typ='R'), - VISC = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), -# ================================================================================= -# --- MOT-CLE INUTILE ------------------------------------------------------------- -# ================================================================================= - THM_GAZ =FACT(statut='f', - MASS_MOL =SIMP(statut='f',typ='R'), - CP =SIMP(statut='f',typ='R'), - VISC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_VISC_TEMP =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ), -# courbes et coefficients associés à la fatigue et au dommage -# - FATIGUE =FACT(statut='f', - regles=(PRESENT_ABSENT('WOHLER','A_BASQUIN','BETA_BASQUIN'), - PRESENT_ABSENT('WOHLER','A0','A1','A2','A3','SL'), - PRESENT_ABSENT('A_BASQUIN','A0','A1','A2','A3','SL'), - ENSEMBLE('A_BASQUIN','BETA_BASQUIN'), - ENSEMBLE('A0','A1','A2','A3','SL'), - PRESENT_PRESENT('A0','E_REFE'), - ENSEMBLE('D0','TAU0'),), - WOHLER =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_BASQUIN =SIMP(statut='f',typ='R'), - BETA_BASQUIN =SIMP(statut='f',typ='R'), - A0 =SIMP(statut='f',typ='R'), - A1 =SIMP(statut='f',typ='R'), - A2 =SIMP(statut='f',typ='R'), - A3 =SIMP(statut='f',typ='R'), - SL =SIMP(statut='f',typ='R'), - MANSON_COFFIN =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - E_REFE =SIMP(statut='f',typ='R'), - D0 =SIMP(statut='f',typ='R'), - TAU0 =SIMP(statut='f',typ='R'), - ), - DOMMA_LEMAITRE =FACT(statut='f', - S =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP_SEUIL =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - EXP_S =SIMP(statut='f',typ='R',val_min=0.0E0,defaut=1.0), - ), - CISA_PLAN_CRIT =FACT(statut='f', - CRITERE =SIMP(statut='o',typ='TXM',into=("MATAKE_MODI_AC", - "DANG_VAN_MODI_AC", - "DANG_VAN_MODI_AV", - "MATAKE_MODI_AV", - "FATESOCI_MODI_AV", - ) ), - - b_critere_matake =BLOC(condition="CRITERE=='MATAKE_MODI_AC' or CRITERE=='MATAKE_MODI_AV'", - fr="Cisaillement plan critique critère de matake pour les cas amplitude constante et amplitude variable", - MATAKE_A =SIMP(statut='o',typ='R'), - MATAKE_B =SIMP(statut='o',typ='R'), - COEF_FLEX_TORS =SIMP(statut='o',typ='R',val_min=1.0E0,val_max=1.7321E0), - ), - - b_critere_dang_van =BLOC(condition="(CRITERE=='DANG_VAN_MODI_AC' or CRITERE=='DANG_VAN_MODI_AV')", - fr="Critère de Dang Van modifié pour les cas amplitude constante et amplitude variable", - D_VAN_A =SIMP(statut='o',typ='R'), - D_VAN_B =SIMP(statut='o',typ='R'), - COEF_CISA_TRAC =SIMP(statut='o',typ='R',val_min=1.0E0,val_max=1.7321E0), - ), - - b_critere_fate_soci =BLOC(condition="CRITERE=='FATESOCI_MODI_AV'", - fr="Critère de Fatemi et Socie, en élasticité ou élastoplasticité, pour le cas amplitude variable", - FATSOC_A =SIMP(statut='o',typ='R'), - COEF_CISA_TRAC =SIMP(statut='o',typ='R',val_min=1.0E0,val_max=1.7321E0), - ), - ), - - - THM_RUPT =FACT(statut='f', - OUV_FICT =SIMP(statut='o',typ='R'), - UN_SUR_N =SIMP(statut='f',typ='R',defaut= 0.), - ), -# -# autres comportements ... -# - WEIBULL =FACT(statut='f', - M =SIMP(statut='o',typ='R'), - VOLU_REFE =SIMP(statut='o',typ='R'), - SIGM_REFE =SIMP(statut='o',typ='R'), - SEUIL_EPSP_CUMU =SIMP(statut='f',typ='R',defaut= 1.0E-6), - ), - WEIBULL_FO =FACT(statut='f', - M =SIMP(statut='o',typ='R'), - VOLU_REFE =SIMP(statut='o',typ='R'), - SIGM_CNV =SIMP(statut='o',typ='R'), - SIGM_REFE =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SEUIL_EPSP_CUMU =SIMP(statut='f',typ='R',defaut= 1.0E-6), - ), - NON_LOCAL =FACT(statut='f', - regles=(AU_MOINS_UN('LONG_CARA','C_GONF','C_GRAD_VARI','PENA_LAGR',),), - LONG_CARA =SIMP(statut='f',typ='R'), - C_GRAD_VARI =SIMP(statut='f',typ='R'), - PENA_LAGR =SIMP(statut='f',typ='R',defaut= 1.0E3), - C_GONF =SIMP(statut='f',typ='R'), - COEF_RIGI_MINI =SIMP(statut='f',typ='R'), - ), - RUPT_FRAG =FACT(statut='f', - GC =SIMP(statut='o',typ='R'), - SIGM_C =SIMP(statut='f',typ='R'), - PENA_ADHERENCE =SIMP(statut='f',typ='R',val_min=1.E-12,val_max=1.E+0), - PENA_CONTACT =SIMP(statut='f',typ='R',defaut=1.), - PENA_LAGR =SIMP(statut='f',typ='R',defaut=1.0E2,val_min=1.01E+0), - RIGI_GLIS =SIMP(statut='f',typ='R',defaut=1.0E1), - CINEMATIQUE =SIMP(statut='f',typ='TXM',defaut="UNILATER",into=("UNILATER","GLIS_1D","GLIS_2D")), - ), - RUPT_FRAG_FO =FACT(statut='f', - GC =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_C =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PENA_ADHERENCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PENA_CONTACT =SIMP(statut='f',typ='R',defaut=1.), - CINEMATIQUE =SIMP(statut='f',typ='TXM',defaut="UNILATER",into=("UNILATER","GLIS_1D","GLIS_2D")), - ), - CZM_LAB_MIX =FACT(statut='f', - SIGM_C =SIMP(statut='o',typ='R', val_min=1.E-100), - GLIS_C =SIMP(statut='o',typ='R', val_min=1.E-100), - ALPHA =SIMP(statut='f',typ='R', defaut=0.5, val_min=1.E-3), - BETA =SIMP(statut='f',typ='R', defaut=1., val_min=0.), - PENA_LAGR =SIMP(statut='f',typ='R', defaut=100.,val_min=1.01E+0), - CINEMATIQUE =SIMP(statut='f',typ='TXM',defaut="GLIS_1D",into=("UNILATER","GLIS_1D","GLIS_2D")), - ), - RUPT_DUCT =FACT(statut='f', - GC =SIMP(statut='o',typ='R'), - SIGM_C =SIMP(statut='o',typ='R'), - COEF_EXTR =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=9.99E-1), - COEF_PLAS =SIMP(statut='o',typ='R',val_min=0.E+0,val_max=9.99E-1), - PENA_LAGR =SIMP(statut='f',typ='R',defaut=1.0E2,val_min=1.01E+0), - RIGI_GLIS =SIMP(statut='f',typ='R',defaut=1.0E1), - ), - JOINT_MECA_RUPT =FACT(statut='f', - regles=(EXCLUS('PRES_FLUIDE','PRES_CLAVAGE'), - EXCLUS('PRES_FLUIDE','SCIAGE'), - PRESENT_PRESENT('RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('PRES_FLUIDE','RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('PRES_CLAVAGE','RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('SCIAGE','RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('RHO_FLUIDE','PRES_FLUIDE','PRES_CLAVAGE','SCIAGE'), - PRESENT_ABSENT('VISC_FLUIDE','PRES_FLUIDE','PRES_CLAVAGE','SCIAGE'), - PRESENT_ABSENT('OUV_MIN','PRES_FLUIDE','PRES_CLAVAGE','SCIAGE'), - ), - K_N =SIMP(statut='o',typ='R',val_min=1.E-12), - K_T =SIMP(statut='f',typ='R',val_min=1.E-12), - SIGM_MAX =SIMP(statut='o',typ='R',val_min=0.), - ALPHA =SIMP(statut='f',typ='R',defaut=1., val_min=0., val_max=2.), - PENA_RUPTURE =SIMP(statut='f',typ='R',val_min=1.E-12,val_max=10.E+0), - PENA_CONTACT =SIMP(statut='f',typ='R',defaut=1.,val_min=1.E-12), - PRES_FLUIDE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - PRES_CLAVAGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SCIAGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO_FLUIDE =SIMP(statut='f',typ='R',val_min=0.), - VISC_FLUIDE =SIMP(statut='f',typ='R',val_min=1.E-20), - OUV_MIN =SIMP(statut='f',typ='R',val_min=1.E-15), - ), - JOINT_MECA_FROT =FACT(statut='f', - regles=( - EXCLUS('PRES_FLUIDE','SCIAGE'), - PRESENT_PRESENT('RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('PRES_FLUIDE','RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('SCIAGE','RHO_FLUIDE','VISC_FLUIDE','OUV_MIN'), - PRESENT_ABSENT('RHO_FLUIDE','PRES_FLUIDE'), - PRESENT_ABSENT('VISC_FLUIDE','PRES_FLUIDE'), - PRESENT_ABSENT('OUV_MIN','PRES_FLUIDE'), - ), - K_N =SIMP(statut='o',typ='R',val_min=1.E-12), - K_T =SIMP(statut='f',typ='R',val_min=1.E-12), - MU =SIMP(statut='o',typ='R',val_min=1.E-3), - PENA_TANG =SIMP(statut='f',typ='R',val_min=0.), - ADHESION =SIMP(statut='f',typ='R',defaut=0., val_min=0.), - PRES_FLUIDE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SCIAGE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - RHO_FLUIDE =SIMP(statut='f',typ='R',val_min=0.), - VISC_FLUIDE =SIMP(statut='f',typ='R',val_min=1.E-20), - OUV_MIN =SIMP(statut='f',typ='R',val_min=1.E-15), - ), - RCCM =FACT(statut='f', - regles=(ENSEMBLE('A_AMORC','B_AMORC','D_AMORC','R_AMORC'),), - SY_02 =SIMP(statut='f',typ='R'), - SM =SIMP(statut='f',typ='R'), - SU =SIMP(statut='f',typ='R'), - SC =SIMP(statut='f',typ='R'), - SH =SIMP(statut='f',typ='R'), - N_KE =SIMP(statut='f',typ='R'), - M_KE =SIMP(statut='f',typ='R'), - A_AMORC =SIMP(statut='f',typ='R'), - B_AMORC =SIMP(statut='f',typ='R'), - D_AMORC =SIMP(statut='f',typ='R'), - R_AMORC =SIMP(statut='f',typ='R'), - ), - RCCM_FO =FACT(statut='f', - regles=(ENSEMBLE('A_AMORC','B_AMORC','D_AMORC','R_AMORC'),), - SY_02 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SM =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SU =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - S =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - N_KE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - M_KE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - A_AMORC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - B_AMORC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - D_AMORC =SIMP(statut='f',typ='R'), - R_AMORC =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - LAIGLE =FACT(statut='f', - GAMMA_ULT =SIMP(statut='o',typ='R'), - GAMMA_E =SIMP(statut='o',typ='R'), - M_ULT =SIMP(statut='o',typ='R'), - M_E =SIMP(statut='o',typ='R'), - A_E =SIMP(statut='o',typ='R'), - M_PIC =SIMP(statut='o',typ='R'), - A_PIC =SIMP(statut='o',typ='R'), - ETA =SIMP(statut='o',typ='R'), - SIGMA_C =SIMP(statut='o',typ='R'), - GAMMA =SIMP(statut='o',typ='R'), - KSI =SIMP(statut='o',typ='R'), - GAMMA_CJS =SIMP(statut='o',typ='R'), - SIGMA_P1 =SIMP(statut='o',typ='R'), - PA =SIMP(statut='o',typ='R'), - ), - LETK =FACT(statut='f', - PA =SIMP(statut='o',typ='R',fr="pression atmospherique"), - NELAS =SIMP(statut='o',typ='R',fr="exposant de la loi de variation des modules K et G"), - SIGMA_C =SIMP(statut='o',typ='R',fr="résistance en compression simple "), - H0_EXT =SIMP(statut='o',typ='R',fr="parametre pilotant la résistance en extension"), - GAMMA_CJS =SIMP(statut='o',typ='R',fr="parametre de forme du critere ds le plan déviatoire entre 0 et 1."), - XAMS =SIMP(statut='o',typ='R',fr="parametre non nul intervenant dans les lois d'écrouissage pre pic"), - ETA =SIMP(statut='o',typ='R',fr="parametre non nul intervenant dans les lois d'écrouissage post pic"), - A_0 =SIMP(statut='o',typ='R',fr="a de la limite d'élasticité initiale"), - A_E =SIMP(statut='o',typ='R',fr="a de la limite de clivage ou seuil intermédiaire"), - A_PIC =SIMP(statut='o',typ='R',fr="a du seuil de pic"), - S_0 =SIMP(statut='o',typ='R',fr="s de la limite d'élasticité initiale"), - M_0 =SIMP(statut='o',typ='R',fr="m de la limite d'élasticité initiale"), - M_E =SIMP(statut='o',typ='R',fr="m de la limite de clivage ou seuil intermédiaire"), - M_PIC =SIMP(statut='o',typ='R',fr="m du seuil de pic"), - M_ULT =SIMP(statut='o',typ='R',fr="m du seuil residuel"), - XI_ULT =SIMP(statut='o',typ='R',fr="niveau d écrouissage pour atteindre le seuil résiduel"), - XI_E =SIMP(statut='o',typ='R',fr="niveau d écrouissage pour atteindre le seuil de clivage"), - XI_PIC =SIMP(statut='o',typ='R',fr="niveau d écrouissage pour atteindre le seuil de pic"), - MV_MAX =SIMP(statut='o',typ='R',fr="m du seuil viscoplastique maximal"), - XIV_MAX =SIMP(statut='o',typ='R',fr="niveau d écrouissage pour atteindre le seuil viscoplastique maximal"), - A =SIMP(statut='o',typ='R',fr="parametre carcaterisant l amplitude de la vitesse de fluage"), - N =SIMP(statut='o',typ='R',fr="parametre intervenant dans la formule pilotant la cinetique de fluage"), - SIGMA_P1 =SIMP(statut='o',typ='R',fr="SIG min de l intersection du seuil de pic et intermediaire "), - MU0_V =SIMP(statut='o',typ='R',fr="relatif à l angle de dilatance des mecanismes pre pic et viscoplastique"), - XI0_V =SIMP(statut='o',typ='R',fr="relatif à l angle de dilatance des mecanismes pre pic et viscoplastique"), - MU1 =SIMP(statut='o',typ='R',fr="relatif à l angle de dilatance du mecanisme post pic "), - XI1 =SIMP(statut='o',typ='R',fr="relatif à l angle de dilatance du mecanisme post pic "), - ), - DRUCK_PRAGER =FACT(statut='f', - ALPHA =SIMP(statut='o',typ='R'), - SY =SIMP(statut='o',typ='R'), - P_ULTM =SIMP(statut='o',typ='R'), - ECROUISSAGE = SIMP(statut='o',typ='TXM',into=("LINEAIRE","PARABOLIQUE")), - b_lineaire =BLOC(condition="ECROUISSAGE=='LINEAIRE'", - fr="Loi de comportement de type Drucker Prager avec un ecrouissage lineaire", - H =SIMP(statut='o',typ='R'), - TYPE_DP =SIMP(statut='c',typ='R',defaut= 1.0,), - ), - b_parabolique =BLOC(condition="ECROUISSAGE=='PARABOLIQUE'", - fr="Loi de comportement de type Drucker Prager avec un ecrouissage parabolique", - SY_ULTM =SIMP(statut='o',typ='R'), - TYPE_DP =SIMP(statut='c',typ='R',defaut= 2.0,), - ), - DILAT =SIMP(statut='f',typ='R',defaut=0.0), - ), - - DRUCK_PRAGER_FO =FACT(statut='f', - ALPHA =SIMP(statut='o',typ=(fonction_sdaster,formule)), - SY =SIMP(statut='o',typ=(fonction_sdaster,formule)), - P_ULTM =SIMP(statut='o',typ=(fonction_sdaster,formule)), - ECROUISSAGE = SIMP(statut='o',typ='TXM',into=("LINEAIRE","PARABOLIQUE")), - b_lineaire =BLOC(condition="ECROUISSAGE=='LINEAIRE'", - fr="Loi de comportement de type Drucker Prager avec un ecrouissage lineaire", - H =SIMP(statut='o',typ=(fonction_sdaster,formule)), - TYPE_DP =SIMP(statut='c',typ='R',defaut= 1.0,), - ), - b_parabolique =BLOC(condition="ECROUISSAGE=='PARABOLIQUE'", - fr="Loi de comportement de type Drucker Prager avec un ecrouissage parabolique", - SY_ULTM =SIMP(statut='o',typ=(fonction_sdaster,formule)), - TYPE_DP =SIMP(statut='c',typ='R',defaut= 2.0,), - ), - DILAT =SIMP(statut='f',typ='R',defaut=0.0), - ), - - VISC_DRUC_PRAG =FACT(statut='f', - PREF =SIMP(statut='o',typ='R',fr="pression de reference"), - A =SIMP(statut='o',typ='R',fr="parametre carcaterisant l amplitude de la vitesse de fluage"), - N =SIMP(statut='o',typ='R',fr="parametre intervenant dans la formule pilotant la cinetique de fluage"), - P_PIC =SIMP(statut='o',typ='R',fr="niveau d ecrouissage pour atteindre le seuil de pic"), - P_ULT =SIMP(statut='o',typ='R',fr="niveau d ecrouissage pour atteindre le seuil utime"), - ALPHA_0 =SIMP(statut='o',typ='R',fr="parametre d ecrouissage relatif à la cohesion au seuil d elasticite"), - ALPHA_PIC =SIMP(statut='o',typ='R',fr="parametre d ecrouissage relatif à la cohesion au seuil de pic"), - ALPHA_ULT =SIMP(statut='o',typ='R',fr="parametre d ecrouissage relatif à la cohesion au seuil ultime"), - R_0 =SIMP(statut='o',typ='R',fr="parametre d ecrouissage correspondant au seuil d'elasticite"), - R_PIC =SIMP(statut='o',typ='R',fr="parametre d ecrouissage correspondant au seuil de pic"), - R_ULT =SIMP(statut='o',typ='R',fr="parametre d ecrouissage correspondant au seuil ultime"), - BETA_0 =SIMP(statut='o',typ='R',fr="parametre d ecrouissage relatif à la dilatance au seuil d elasticite"), - BETA_PIC =SIMP(statut='o',typ='R',fr="parametre d ecrouissage relatif à la dilatance au seuil de pic"), - BETA_ULT =SIMP(statut='o',typ='R',fr="parametre d ecrouissage relatif à la dilatance au seuil ultime"), - ), - HOEK_BROWN =FACT(statut='f', - GAMMA_RUP =SIMP(statut='o',typ='R'), - GAMMA_RES =SIMP(statut='o',typ='R'), - S_END =SIMP(statut='o',typ='R'), - S_RUP =SIMP(statut='o',typ='R'), - M_END =SIMP(statut='o',typ='R'), - M_RUP =SIMP(statut='o',typ='R'), - BETA =SIMP(statut='o',typ='R'), - ALPHAHB =SIMP(statut='o',typ='R'), - PHI_RUP =SIMP(statut='o',typ='R'), - PHI_RES =SIMP(statut='o',typ='R'), - PHI_END =SIMP(statut='f',typ='R'), - ), - ELAS_GONF =FACT(statut='f', - BETAM =SIMP(statut='o',typ='R'), - PREF =SIMP(statut='o',typ='R'), - ), - JOINT_BANDIS =FACT(statut='f', - K =SIMP(statut='o',typ='R'), - DMAX =SIMP(statut='o',typ='R'), - GAMMA =SIMP(statut='o',typ='R'), - KT =SIMP(statut='f',typ='R',defaut = 1.E12), - ), -#### MONOCRISTAL - - MONO_VISC1 =FACT(statut='f', - TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - N =SIMP(statut='o',typ='R'), - K =SIMP(statut='o',typ='R'), - C =SIMP(statut='o',typ='R'), - ), - MONO_VISC2 =FACT(statut='f', - TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - N =SIMP(statut='o',typ='R'), - K =SIMP(statut='o',typ='R'), - C =SIMP(statut='o',typ='R'), - D =SIMP(statut='o',typ='R'), - A =SIMP(statut='o',typ='R'), - ), - MONO_ISOT1 =FACT(statut='f', - regles=(UN_PARMI('H','H1'), - PRESENT_PRESENT('H1','H2','H3','H4'), - PRESENT_ABSENT('H','H1','H2','H3','H4','H5','H6'), - ), - TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECRO_ISOT",),), - R_0 =SIMP(statut='o',typ='R'), - Q =SIMP(statut='o',typ='R'), - B =SIMP(statut='o',typ='R'), - H =SIMP(statut='f',typ='R'), - H1 =SIMP(statut='f',typ='R'), - H2 =SIMP(statut='f',typ='R'), - H3 =SIMP(statut='f',typ='R'), - H4 =SIMP(statut='f',typ='R'), - H5 =SIMP(statut='f',typ='R'), - H6 =SIMP(statut='f',typ='R'), - ), - MONO_ISOT2 =FACT(statut='f', - regles=(UN_PARMI('H','H1'), - PRESENT_PRESENT('H1','H2','H3','H4'), - PRESENT_ABSENT('H','H1','H2','H3','H4','H5','H6'), - ), - TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECRO_ISOT",),), - R_0 =SIMP(statut='o',typ='R'), - Q1 =SIMP(statut='o',typ='R'), - B1 =SIMP(statut='o',typ='R'), - H =SIMP(statut='f',typ='R'), - H1 =SIMP(statut='f',typ='R'), - H2 =SIMP(statut='f',typ='R'), - H3 =SIMP(statut='f',typ='R'), - H4 =SIMP(statut='f',typ='R'), - H5 =SIMP(statut='f',typ='R'), - H6 =SIMP(statut='f',typ='R'), - Q2 =SIMP(statut='o',typ='R'), - B2 =SIMP(statut='o',typ='R'), - ), - MONO_CINE1 =FACT(statut='f', - TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECRO_CINE",),), - D =SIMP(statut='o',typ='R'), - ), - MONO_CINE2 =FACT(statut='f', - TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECRO_CINE",),), - D =SIMP(statut='o',typ='R'), - GM =SIMP(statut='o',typ='R'), - PM =SIMP(statut='o',typ='R'), - C =SIMP(statut='o',typ='R'), - ), - MONO_DD_KR =FACT(statut='f', - regles=(UN_PARMI('H','H1'), - PRESENT_PRESENT('H1','H2','H3','H4'), - PRESENT_ABSENT('H','H1','H2','H3','H4','H5','H6'), - ), - # TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - K =SIMP(statut='o',typ='R',fr="Constante de Boltzmann, en eV/K"), - TAUR =SIMP(statut='o',typ='R',fr="Contraintes de cisaillement à T=0K, en unite de contraintes"), - TAU0 =SIMP(statut='o',typ='R',fr="Contraintes critique initiale de cisaillement, en unite de contraintes"), - GAMMA0 =SIMP(statut='o',typ='R',fr="Vitesse d ecoulement initiale"), - DELTAG0 =SIMP(statut='o',typ='R',fr="Gain d energie lie au franchissement d obstacle"), - BSD =SIMP(statut='o',typ='R',fr="fonction de la taille du grain B/D"), - GCB =SIMP(statut='o',typ='R',fr="distance critique d'annihilation GC/B"), - KDCS =SIMP(statut='o',typ='R',fr="Parametre relatif à la direction principale de la dislocation"), - P =SIMP(statut='o',typ='R',fr="Parametre materiau dépendant de la forme de l'obstacle"), - Q =SIMP(statut='o',typ='R',fr="Parametre materiau dépendant de la forme de l'obstacle"), - H =SIMP(statut='f',typ='R'), - H1 =SIMP(statut='f',typ='R'), - H2 =SIMP(statut='f',typ='R'), - H3 =SIMP(statut='f',typ='R'), - H4 =SIMP(statut='f',typ='R'), - H5 =SIMP(statut='f',typ='R'), - H6 =SIMP(statut='f',typ='R'), - ), - MONO_DD_CFC =FACT(statut='f', - regles=(UN_PARMI('H','H1'), - PRESENT_PRESENT('H1','H2','H3','H4','H5'), - PRESENT_ABSENT('H','H1','H2','H3','H4','H5'), - ), - #TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - GAMMA0 =SIMP(statut='f',typ='R',defaut=0.001,fr="Vitesse d ecoulement initiale en s**-1"), - TAU_F =SIMP(statut='o',typ='R',fr="Contraintes , en unite de contraintes ex 20 MPa"), - A =SIMP(statut='f',typ='R',defaut=0.13,fr="paramètre A, sans unité"), - B =SIMP(statut='f',typ='R',defaut=0.005,fr="paramètre B, sans unité"), - N =SIMP(statut='f',typ='R',defaut=200.,fr="paramètre n, sans unité"), - Y =SIMP(statut='o',typ='R',fr="paramète Y, en unité de longueur ex 2.5 A"), - ALPHA =SIMP(statut='f',typ='R',defaut=0.35,fr="ecrouissage, paramètre alpha"), - BETA =SIMP(statut='o',typ='R',fr="ecrouissage, paramètre b, en unite de longueur"), - RHO_REF =SIMP(statut='o',typ='R',fr="ecrouissage, paramètre rho_ref, en unité de longueur **-2"), - H =SIMP(statut='f',typ='R'), - H1 =SIMP(statut='f',typ='R',defaut=0.124,fr="matrice d'interaction, terme a*",), - H2 =SIMP(statut='f',typ='R',defaut=0.625,fr="matrice d'interaction, terme a_colineaire",), - H3 =SIMP(statut='f',typ='R',defaut=0.137,fr="matrice d'interaction, terme a_glissile",), - H4 =SIMP(statut='f',typ='R',defaut=0.122,fr="matrice d'interaction, terme a_Lomer",), - H5 =SIMP(statut='f',typ='R',defaut=0.07,fr="matrice d'interaction, terme a_Hirth",), - ), - - MONO_DD_CFC_IRRA =FACT(statut='f', - regles=(UN_PARMI('H','H1'), - PRESENT_PRESENT('H1','H2','H3','H4','H5'), - PRESENT_ABSENT('H','H1','H2','H3','H4','H5'), - ), - #TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - GAMMA0 =SIMP(statut='f',typ='R',defaut=0.001,fr="Vitesse d ecoulement initiale en s**-1"), - TAU_F =SIMP(statut='o',typ='R',fr="Contraintes , en unite de contraintes ex 20 MPa"), - A =SIMP(statut='f',typ='R',defaut=0.13,fr="paramètre A, sans unité"), - B =SIMP(statut='f',typ='R',defaut=0.005,fr="paramètre B, sans unité"), - N =SIMP(statut='f',typ='R',defaut=200.,fr="paramètre n, sans unité"), - Y =SIMP(statut='o',typ='R',fr="paramète Y, en unité de longueur ex 2.5 A"), - ALPHA =SIMP(statut='f',typ='R',defaut=0.35,fr="ecrouissage, paramètre alpha"), - BETA =SIMP(statut='o',typ='R',fr="ecrouissage, paramètre b, en unite de longueur"), - RHO_REF =SIMP(statut='o',typ='R',fr="ecrouissage, paramètre rho_ref, en unité de longueur **-2"), - H =SIMP(statut='f',typ='R'), - H1 =SIMP(statut='f',typ='R',defaut=0.124,fr="matrice d'interaction, terme a*",), - H2 =SIMP(statut='f',typ='R',defaut=0.625,fr="matrice d'interaction, terme a_colineaire",), - H3 =SIMP(statut='f',typ='R',defaut=0.137,fr="matrice d'interaction, terme a_glissile",), - H4 =SIMP(statut='f',typ='R',defaut=0.122,fr="matrice d'interaction, terme a_Lomer",), - H5 =SIMP(statut='f',typ='R',defaut=0.07,fr="matrice d'interaction, terme a_Hirth",), - - DZ_IRRA =SIMP(statut='o',typ='R',val_min=0.E+0,fr="Parametre dzeta pour irradiation"), - XI_IRRA =SIMP(statut='o',typ='R',val_min=0.E+0,fr="Parametre xi pour irradiation"), - RHO_VOID =SIMP(statut='o',typ='R',fr="Parametre rho_voids pour irradiation"), - PHI_LOOP =SIMP(statut='o',typ='R',fr="Parametre phi_loops pour irradiation"), - ALP_VOID =SIMP(statut='o',typ='R',fr="Parametre alpha_voids pour irradiation"), - ALP_LOOP =SIMP(statut='o',typ='R',fr="Parametre alpha_loops pour irradiation"), - RHO_SAT =SIMP(statut='o',typ='R',fr="Parametre rho_sat*b*b pour irradiation"), - PHI_SAT =SIMP(statut='o',typ='R',fr="Parametre phi_sat pour irradiation"), - - ), - - MONO_DD_FAT =FACT(statut='f', - regles=(UN_PARMI('H','H1'), - PRESENT_PRESENT('H1','H2','H3','H4','H5'), - PRESENT_ABSENT('H','H1','H2','H3','H4','H5'), - ), - #TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - GAMMA0 =SIMP(statut='o',typ='R',fr="Vitesse d ecoulement initiale en s**-1"), - TAU_F =SIMP(statut='o',typ='R',fr="Contraintes , en unite de contraintes ex 20 MPa"), - BETA =SIMP(statut='o',typ='R',fr="ecrouissage, paramètre b, en unite de longueur"), - N =SIMP(statut='o',typ='R',fr="paramètre n, sans unite"), - UN_SUR_D =SIMP(statut='o',typ='R',fr="paramètre 1/D, en unite de 1/longueur"), - GC0 =SIMP(statut='o',typ='R',fr="paramètre GC0, en unite de longueur"), - K =SIMP(statut='o',typ='R',fr="paramètre K, sans unite"), - H =SIMP(statut='f',typ='R'), - H1 =SIMP(statut='f',typ='R',defaut=0.124,fr="matrice d'interaction, terme a*",), - H2 =SIMP(statut='f',typ='R',defaut=0.625,fr="matrice d'interaction, terme a_colineaire",), - H3 =SIMP(statut='f',typ='R',defaut=0.137,fr="matrice d'interaction, terme a_glissile",), - H4 =SIMP(statut='f',typ='R',defaut=0.122,fr="matrice d'interaction, terme a_Lomer",), - H5 =SIMP(statut='f',typ='R',defaut=0.07,fr="matrice d'interaction, terme a_Hirth",), - ), - - MONO_DD_CC =FACT(statut='f', - #TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - B =SIMP(statut='o',typ='R',fr="parametre B, en unite de longueur"), - GH =SIMP(statut='o',typ='R',fr="parametre H, en unite de 1/temps"), - DELTAG0 =SIMP(statut='o',typ='R',fr="energie d'activation, en unite d'energie (eV ou J)"), - TAU_0 =SIMP(statut='o',typ='R',fr="contrainte ultime, en unite de contraintes "), - TAU_F =SIMP(statut='o',typ='R',fr="seuil en contrainte , en unite de contraintes"), - GAMMA0 =SIMP(statut='o',typ='R',fr="Vitesse d ecoulement initiale en s**-1"), - N =SIMP(statut='o',typ='R',fr="parametre n, sans unite"), - RHO_MOB =SIMP(statut='o',typ='R',fr="densite de dislocations mobiles, en unite de longueur **-2"), - D =SIMP(statut='o',typ='R',fr="parametre D, en unite de longueur"), - BETA =SIMP(statut='o',typ='R',fr="parametre beta, sans unite"), - D_LAT =SIMP(statut='o',typ='R',fr="parametre D_LAT, en unite de longueur"), - Y_AT =SIMP(statut='o',typ='R',fr="parametre Y_AT, en unite de longueur"), - K_F =SIMP(statut='o',typ='R',fr="Parametre K_F"), - K_SELF =SIMP(statut='o',typ='R',fr="Parametre K_SELF"), - K_BOLTZ =SIMP(statut='o',typ='R',fr="Constante de Boltzmann, en eV/K"), - H1 =SIMP(statut='o',typ='R',fr="Parametre a_self"), - H2 =SIMP(statut='o',typ='R',fr="Parametre a_coli"), - H3 =SIMP(statut='o',typ='R',fr="Parametre a_ncol"), - H4 =SIMP(statut='f',typ='R',defaut=0.), - H5 =SIMP(statut='f',typ='R',defaut=0.), - H6 =SIMP(statut='f',typ='R',defaut=0.), - DELTA1 =SIMP(statut='f',typ='R',defaut=1.,fr="parametre permettant la variation de Y_AT avec tau_eff"), - DELTA2 =SIMP(statut='f',typ='R',defaut=1.,fr="parametre permettant la variation de a_AT avec tau_eff"), - DEPDT =SIMP(statut='f',typ='R',defaut=0.,fr="parametre dEps/dT pour le calcul de DeltaG"), - ), - - MONO_DD_CC_IRRA =FACT(statut='f', - #TYPE_PARA =SIMP(statut='f',typ='TXM',into=("ECOU_VISC",),), - B =SIMP(statut='o',typ='R',fr="parametre B, en unite de longueur"), - GH =SIMP(statut='o',typ='R',fr="parametre H, en unite de 1/temps"), - DELTAG0 =SIMP(statut='o',typ='R',fr="Gain d energie lie au franchissement d obstacle"), - TAU_0 =SIMP(statut='o',typ='R',fr="Contraintes , en unite de contraintes ex 20 MPa"), - TAU_F =SIMP(statut='o',typ='R',fr="Contraintes , en unite de contraintes ex 20 MPa"), - GAMMA0 =SIMP(statut='o',typ='R',fr="Vitesse d ecoulement initiale en s**-1"), - N =SIMP(statut='o',typ='R',fr="parametre n, sans unite"), - RHO_MOB =SIMP(statut='o',typ='R',fr="densite de dislocations mobiles, en unite de longueur **-2"), - D =SIMP(statut='o',typ='R',fr="parametre D, en unite de longueur"), - BETA =SIMP(statut='o',typ='R',fr="ecrouissage, parametre beta"), - D_LAT =SIMP(statut='o',typ='R',fr="parametre D_LAT, en unite de longueur"), - Y_AT =SIMP(statut='o',typ='R',fr="parametre Y_AT, en unite de longueur"), - K_F =SIMP(statut='o',typ='R',fr="Parametre K_F"), - K_SELF =SIMP(statut='o',typ='R',fr="Parametre K_SELF"), - K_BOLTZ =SIMP(statut='o',typ='R',fr="Constante de Boltzmann, en eV/K"), - H1 =SIMP(statut='o',typ='R',fr="Parametre a_self"), - H2 =SIMP(statut='o',typ='R',fr="Parametre a_coli"), - H3 =SIMP(statut='o',typ='R',fr="Parametre a_ncol"), - H4 =SIMP(statut='f',typ='R',defaut=0.), - H5 =SIMP(statut='f',typ='R',defaut=0.), - H6 =SIMP(statut='f',typ='R',defaut=0.), - DELTA1 =SIMP(statut='f',typ='R',defaut=1.,fr="parametre permettant la variation de Y_AT avec tau_eff"), - DELTA2 =SIMP(statut='f',typ='R',defaut=1.,fr="parametre permettant la variation de a_AT avec tau_eff"), - DEPDT =SIMP(statut='f',typ='R',defaut=0.,fr="parametre dEps/dT pour le calcul de DeltaG"), - A_IRRA =SIMP(statut='o',typ='R',fr="Parametre a_loops pour irradiation"), - XI_IRRA =SIMP(statut='o',typ='R',fr="Parametre xi pour irradiation"), - ), - - -#### FIN MONOCRISTAL - -### UMAT - UMAT =FACT(statut='f', - NB_VALE =SIMP(statut='f',typ='R'), - C1 =SIMP(statut='f',typ='R'), - C2 =SIMP(statut='f',typ='R'), - C3 =SIMP(statut='f',typ='R'), - C4 =SIMP(statut='f',typ='R'), - C5 =SIMP(statut='f',typ='R'), - C6 =SIMP(statut='f',typ='R'), - C7 =SIMP(statut='f',typ='R'), - C8 =SIMP(statut='f',typ='R'), - C9 =SIMP(statut='f',typ='R'), - C10 =SIMP(statut='f',typ='R'), - C11 =SIMP(statut='f',typ='R'), - C12 =SIMP(statut='f',typ='R'), - C13 =SIMP(statut='f',typ='R'), - C14 =SIMP(statut='f',typ='R'), - C15 =SIMP(statut='f',typ='R'), - C16 =SIMP(statut='f',typ='R'), - C17 =SIMP(statut='f',typ='R'), - C18 =SIMP(statut='f',typ='R'), - C19 =SIMP(statut='f',typ='R'), - C20 =SIMP(statut='f',typ='R'), - C21 =SIMP(statut='f',typ='R'), - C22 =SIMP(statut='f',typ='R'), - C23 =SIMP(statut='f',typ='R'), - C24 =SIMP(statut='f',typ='R'), - C25 =SIMP(statut='f',typ='R'), - C26 =SIMP(statut='f',typ='R'), - C27 =SIMP(statut='f',typ='R'), - C28 =SIMP(statut='f',typ='R'), - C29 =SIMP(statut='f',typ='R'), - C30 =SIMP(statut='f',typ='R'), - C31 =SIMP(statut='f',typ='R'), - C32 =SIMP(statut='f',typ='R'), - C33 =SIMP(statut='f',typ='R'), - C34 =SIMP(statut='f',typ='R'), - C35 =SIMP(statut='f',typ='R'), - C36 =SIMP(statut='f',typ='R'), - C37 =SIMP(statut='f',typ='R'), - C38 =SIMP(statut='f',typ='R'), - C39 =SIMP(statut='f',typ='R'), - C40 =SIMP(statut='f',typ='R'), - C41 =SIMP(statut='f',typ='R'), - C42 =SIMP(statut='f',typ='R'), - C43 =SIMP(statut='f',typ='R'), - C44 =SIMP(statut='f',typ='R'), - C45 =SIMP(statut='f',typ='R'), - C46 =SIMP(statut='f',typ='R'), - C47 =SIMP(statut='f',typ='R'), - C48 =SIMP(statut='f',typ='R'), - C49 =SIMP(statut='f',typ='R'), - C50 =SIMP(statut='f',typ='R'), - C51 =SIMP(statut='f',typ='R'), - C52 =SIMP(statut='f',typ='R'), - C53 =SIMP(statut='f',typ='R'), - C54 =SIMP(statut='f',typ='R'), - C55 =SIMP(statut='f',typ='R'), - C56 =SIMP(statut='f',typ='R'), - C57 =SIMP(statut='f',typ='R'), - C58 =SIMP(statut='f',typ='R'), - C59 =SIMP(statut='f',typ='R'), - C60 =SIMP(statut='f',typ='R'), - C61 =SIMP(statut='f',typ='R'), - C62 =SIMP(statut='f',typ='R'), - C63 =SIMP(statut='f',typ='R'), - C64 =SIMP(statut='f',typ='R'), - C65 =SIMP(statut='f',typ='R'), - C66 =SIMP(statut='f',typ='R'), - C67 =SIMP(statut='f',typ='R'), - C68 =SIMP(statut='f',typ='R'), - C69 =SIMP(statut='f',typ='R'), - C70 =SIMP(statut='f',typ='R'), - C71 =SIMP(statut='f',typ='R'), - C72 =SIMP(statut='f',typ='R'), - C73 =SIMP(statut='f',typ='R'), - C74 =SIMP(statut='f',typ='R'), - C75 =SIMP(statut='f',typ='R'), - C76 =SIMP(statut='f',typ='R'), - C77 =SIMP(statut='f',typ='R'), - C78 =SIMP(statut='f',typ='R'), - C79 =SIMP(statut='f',typ='R'), - C80 =SIMP(statut='f',typ='R'), - C81 =SIMP(statut='f',typ='R'), - C82 =SIMP(statut='f',typ='R'), - C83 =SIMP(statut='f',typ='R'), - C84 =SIMP(statut='f',typ='R'), - C85 =SIMP(statut='f',typ='R'), - C86 =SIMP(statut='f',typ='R'), - C87 =SIMP(statut='f',typ='R'), - C88 =SIMP(statut='f',typ='R'), - C89 =SIMP(statut='f',typ='R'), - C90 =SIMP(statut='f',typ='R'), - C91 =SIMP(statut='f',typ='R'), - C92 =SIMP(statut='f',typ='R'), - C93 =SIMP(statut='f',typ='R'), - C94 =SIMP(statut='f',typ='R'), - C95 =SIMP(statut='f',typ='R'), - C96 =SIMP(statut='f',typ='R'), - C97 =SIMP(statut='f',typ='R'), - C98 =SIMP(statut='f',typ='R'), - C99 =SIMP(statut='f',typ='R'), - C100 =SIMP(statut='f',typ='R'), - C101 =SIMP(statut='f',typ='R'), - C102 =SIMP(statut='f',typ='R'), - C103 =SIMP(statut='f',typ='R'), - C104 =SIMP(statut='f',typ='R'), - C105 =SIMP(statut='f',typ='R'), - C106 =SIMP(statut='f',typ='R'), - C107 =SIMP(statut='f',typ='R'), - C108 =SIMP(statut='f',typ='R'), - C109 =SIMP(statut='f',typ='R'), - C110 =SIMP(statut='f',typ='R'), - C111 =SIMP(statut='f',typ='R'), - C112 =SIMP(statut='f',typ='R'), - C113 =SIMP(statut='f',typ='R'), - C114 =SIMP(statut='f',typ='R'), - C115 =SIMP(statut='f',typ='R'), - C116 =SIMP(statut='f',typ='R'), - C117 =SIMP(statut='f',typ='R'), - C118 =SIMP(statut='f',typ='R'), - C119 =SIMP(statut='f',typ='R'), - C120 =SIMP(statut='f',typ='R'), - C121 =SIMP(statut='f',typ='R'), - C122 =SIMP(statut='f',typ='R'), - C123 =SIMP(statut='f',typ='R'), - C124 =SIMP(statut='f',typ='R'), - C125 =SIMP(statut='f',typ='R'), - C126 =SIMP(statut='f',typ='R'), - C127 =SIMP(statut='f',typ='R'), - C128 =SIMP(statut='f',typ='R'), - C129 =SIMP(statut='f',typ='R'), - C130 =SIMP(statut='f',typ='R'), - C131 =SIMP(statut='f',typ='R'), - C132 =SIMP(statut='f',typ='R'), - C133 =SIMP(statut='f',typ='R'), - C134 =SIMP(statut='f',typ='R'), - C135 =SIMP(statut='f',typ='R'), - C136 =SIMP(statut='f',typ='R'), - C137 =SIMP(statut='f',typ='R'), - C138 =SIMP(statut='f',typ='R'), - C139 =SIMP(statut='f',typ='R'), - C140 =SIMP(statut='f',typ='R'), - C141 =SIMP(statut='f',typ='R'), - C142 =SIMP(statut='f',typ='R'), - C143 =SIMP(statut='f',typ='R'), - C144 =SIMP(statut='f',typ='R'), - C145 =SIMP(statut='f',typ='R'), - C146 =SIMP(statut='f',typ='R'), - C147 =SIMP(statut='f',typ='R'), - C148 =SIMP(statut='f',typ='R'), - C149 =SIMP(statut='f',typ='R'), - C150 =SIMP(statut='f',typ='R'), - C151 =SIMP(statut='f',typ='R'), - C152 =SIMP(statut='f',typ='R'), - C153 =SIMP(statut='f',typ='R'), - C154 =SIMP(statut='f',typ='R'), - C155 =SIMP(statut='f',typ='R'), - C156 =SIMP(statut='f',typ='R'), - C157 =SIMP(statut='f',typ='R'), - C158 =SIMP(statut='f',typ='R'), - C159 =SIMP(statut='f',typ='R'), - C160 =SIMP(statut='f',typ='R'), - C161 =SIMP(statut='f',typ='R'), - C162 =SIMP(statut='f',typ='R'), - C163 =SIMP(statut='f',typ='R'), - C164 =SIMP(statut='f',typ='R'), - C165 =SIMP(statut='f',typ='R'), - C166 =SIMP(statut='f',typ='R'), - C167 =SIMP(statut='f',typ='R'), - C168 =SIMP(statut='f',typ='R'), - C169 =SIMP(statut='f',typ='R'), - C170 =SIMP(statut='f',typ='R'), - C171 =SIMP(statut='f',typ='R'), - C172 =SIMP(statut='f',typ='R'), - C173 =SIMP(statut='f',typ='R'), - C174 =SIMP(statut='f',typ='R'), - C175 =SIMP(statut='f',typ='R'), - C176 =SIMP(statut='f',typ='R'), - C177 =SIMP(statut='f',typ='R'), - C178 =SIMP(statut='f',typ='R'), - C179 =SIMP(statut='f',typ='R'), - C180 =SIMP(statut='f',typ='R'), - C181 =SIMP(statut='f',typ='R'), - C182 =SIMP(statut='f',typ='R'), - C183 =SIMP(statut='f',typ='R'), - C184 =SIMP(statut='f',typ='R'), - C185 =SIMP(statut='f',typ='R'), - C186 =SIMP(statut='f',typ='R'), - C187 =SIMP(statut='f',typ='R'), - C188 =SIMP(statut='f',typ='R'), - C189 =SIMP(statut='f',typ='R'), - C190 =SIMP(statut='f',typ='R'), - C191 =SIMP(statut='f',typ='R'), - C192 =SIMP(statut='f',typ='R'), - C193 =SIMP(statut='f',typ='R'), - C194 =SIMP(statut='f',typ='R'), - C195 =SIMP(statut='f',typ='R'), - C196 =SIMP(statut='f',typ='R'), - C197 =SIMP(statut='f',typ='R'), - ), - UMAT_FO =FACT(statut='f', - NB_VALE =SIMP(statut='f',typ='R'), - C1 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C2 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C3 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C4 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C5 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C6 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C7 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C8 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C9 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C10 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C11 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C12 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C13 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C14 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C15 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C16 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C17 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C18 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C19 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C20 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C21 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C22 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C23 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C24 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C25 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C26 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C27 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C28 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C29 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C30 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C31 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C32 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C33 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C34 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C35 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C36 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C37 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C38 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C39 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C40 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C41 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C42 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C43 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C44 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C45 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C46 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C47 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C48 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C49 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C50 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C51 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C52 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C53 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C54 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C55 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C56 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C57 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C58 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C59 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C60 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C61 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C62 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C63 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C64 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C65 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C66 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C67 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C68 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C69 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C70 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C71 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C72 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C73 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C74 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C75 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C76 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C77 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C78 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C79 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C80 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C81 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C82 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C83 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C84 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C85 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C86 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C87 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C88 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C89 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C90 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C91 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C92 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C93 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C94 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C95 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C96 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C97 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C98 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C99 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C100 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C101 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C102 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C103 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C104 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C105 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C106 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C107 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C108 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C109 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C110 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C111 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C112 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C113 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C114 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C115 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C116 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C117 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C118 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C119 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C120 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C121 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C122 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C123 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C124 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C125 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C126 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C127 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C128 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C129 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C130 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C131 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C132 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C133 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C134 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C135 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C136 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C137 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C138 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C139 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C140 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C141 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C142 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C143 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C144 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C145 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C146 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C147 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C148 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C149 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C150 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C151 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C152 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C153 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C154 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C155 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C156 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C157 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C158 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C159 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C160 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C161 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C162 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C163 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C164 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C165 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C166 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C167 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C168 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C169 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C170 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C171 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C172 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C173 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C174 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C175 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C176 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C177 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C178 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C179 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C180 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C181 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C182 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C183 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C184 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C185 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C186 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C187 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C188 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C189 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C190 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C191 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C192 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C193 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C194 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C195 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C196 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - C197 =SIMP(statut='f',typ=(fonction_sdaster,formule)), - ), -### UMAT -### CRITERE DE RUPTURE - CRIT_RUPT =FACT(statut='f', - SIGM_C =SIMP(statut='o',typ='R',fr="contrainte critique"), - COEF =SIMP(statut='o',typ='R',fr="E=E/COEF,si la contrainte principale max est atteinte dans l'element"), - ), -# - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -DEFI_MODELE_GENE=OPER(nom="DEFI_MODELE_GENE",op= 126,sd_prod=modele_gene, - reentrant='n', - fr="Créer la structure globale à partir des sous-structures en sous-structuration dynamique", - UIinfo={"groupes":("Matrices et vecteurs",)}, - SOUS_STRUC =FACT(statut='o',max='**', - NOM =SIMP(statut='o',typ='TXM' ), - MACR_ELEM_DYNA =SIMP(statut='o',typ=macr_elem_dyna ), - ANGL_NAUT =SIMP(statut='o',typ='R',max=3), - TRANS =SIMP(statut='o',typ='R',max=3), - ), - LIAISON =FACT(statut='o',max='**', - SOUS_STRUC_1 =SIMP(statut='o',typ='TXM' ), - INTERFACE_1 =SIMP(statut='o',typ='TXM' ), - SOUS_STRUC_2 =SIMP(statut='o',typ='TXM' ), - INTERFACE_2 =SIMP(statut='o',typ='TXM' ), - regles=(EXCLUS('GROUP_MA_MAIT_1','GROUP_MA_MAIT_2','MAILLE_MAIT_2'), - EXCLUS('MAILLE_MAIT_1','GROUP_MA_MAIT_2','MAILLE_MAIT_2'),), - GROUP_MA_MAIT_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA_MAIT_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_MAIT_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - OPTION =SIMP(statut='f',typ='TXM',defaut="CLASSIQUE",into=("REDUIT","CLASSIQUE") ), - ), - VERIF =FACT(statut='f',max='**', -# dans la doc U stop_erreur est obligatoire - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -DEFI_NAPPE=OPER(nom="DEFI_NAPPE",op=4,sd_prod=nappe_sdaster, - fr="Définir une fonction réelle de deux variables réelles", - reentrant='n',UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('FONCTION','DEFI_FONCTION'), - EXCLUS('FONCTION','NOM_PARA_FONC',), - ENSEMBLE('NOM_PARA_FONC','DEFI_FONCTION'),), - NOM_PARA =SIMP(statut='o',typ='TXM',into=C_PARA_FONCTION() ), - NOM_RESU =SIMP(statut='f',typ='TXM',defaut="TOUTRESU"), - PARA =SIMP(statut='o',typ='R',max='**'), - FONCTION =SIMP(statut='f',typ=fonction_sdaster, max='**' ), - NOM_PARA_FONC =SIMP(statut='f',typ='TXM',into=C_PARA_FONCTION() ), - DEFI_FONCTION =FACT(statut='f',max='**', - VALE =SIMP(statut='o',typ='R',max='**'), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG"), - fr="Type d'interpolation pour les abscisses et les ordonnées de la fonction."), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG"), - fr="Type d'interpolation pour le paramètre de la nappe"), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1, 2) ), - VERIF =SIMP(statut='f',typ='TXM',into=("CROISSANT",) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: marc.kham at edf.fr -DEFI_OBSTACLE=OPER(nom="DEFI_OBSTACLE",op= 73,sd_prod=table_fonction, - fr="Définition d'un obstacle plan perpendiculaire à une structure filaire", - reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - TYPE =SIMP(statut='o',typ='TXM',defaut="CERCLE", - into=("CERCLE","PLAN_Y","PLAN_Z","DISCRET", - "BI_CERCLE","BI_PLAN_Y","BI_PLAN_Z","BI_CERC_INT", - ) ), - VALE =SIMP(statut='f',typ='R',max='**'), - VERIF =SIMP(statut='f',typ='TXM',defaut="FERME"), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2004 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aimery.assire at edf.fr - -DEFI_PART_OPS=OPER(nom="DEFI_PART_OPS",op=21,sd_prod=sd_partit, - fr="Creation partitionnement en sous-domaines", - docu="U4.23.05",reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - MAILLAGE =SIMP(statut='f',typ=(maillage_sdaster) ), - NOM =SIMP(statut='f',typ='TXM',defaut='SD'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2,3,4) ), - DEFI =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma), - GROUP_MA_BORD =SIMP(statut='f',typ=grma), - ), - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='f',typ=(char_meca,char_cine_meca)), - ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2005 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aimery.assire at edf.fr - -DEFI_PART_PA_OPS=PROC(nom="DEFI_PART_PA_OPS",op=29, - fr="Creation partitionnement en sous-domaines", - docu="U4.00.00", - UIinfo={"groupes":("Modélisation",)}, - MAILLAGE =SIMP(statut='o',typ=(maillage_sdaster,squelette) ), - MODELE =SIMP(statut='f',typ=(modele_sdaster)), - NB_PART =SIMP(statut='o',typ='I',), - - # Methode de partitionnement - METHODE =SIMP(statut='f',typ='TXM',into=("PMETIS","SCOTCH","KMETIS",), defaut="KMETIS" ), - - LOGICIEL =SIMP(statut='f',typ='TXM'), - - # Corrige les problemes possibles de non-connexite des sous-domaines - CORRECTION_CONNEX =SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON')), - - # Permet de grouper des mailles dans un meme sous-doamine - GROUPAGE =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,), - ), - # Permet d'appliquer des poids sur certaines mailles - POIDS_MAILLES =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,), - POIDS =SIMP(statut='f',typ='I'), - ), - # Prefixe pour le nom des group_ma definissant les sous-domaines - NOM_GROUP_MA =SIMP(statut='f',typ='TXM',defaut='SD' ), - - # Traiter les mailles de bords (elles sont enlevees du graphe puis reinjectees) - TRAITER_BORDS =SIMP(statut='f',typ='TXM',defaut='OUI',into=('OUI','NON') ), - - # Si le mot-clé suivant est renseigné, crée de nouveau group_ma a partir des bords - b_traiter_bords =BLOC(condition="TRAITER_BORDS == 'OUI'", fr="Crée t on des nouveaux group_ma", - NOM_GROUP_MA_BORD =SIMP(statut='f',typ='TXM'), - ), - - INFO =SIMP(statut='f',typ='I',into=(1, 2), defaut=1), - -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aimery.assire at edf.fr - - -DEFI_PARTITION=MACRO(nom="DEFI_PARTITION", - op=OPS('Macro.defi_partition_ops.defi_partition_ops'), - sd_prod=sd_partit, - reentrant='n',UIinfo={"groupes":("Modélisation",)}, - fr="Creation partitionnement en sous-domaines", - regles=(UN_PARMI('MAILLAGE','MODELE'),PRESENT_PRESENT('MODELE','EXCIT'),), - - NB_PART =SIMP(statut='o',typ='I',val_min=2), - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster), - MODELE =SIMP(statut='f',typ=modele_sdaster), - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='f',typ=(char_meca,char_cine_meca)),), - - # Methode de partitionnement - METHODE =SIMP(statut='f',typ='TXM',into=("PMETIS","SCOTCH","KMETIS",), defaut="KMETIS" ), - - LOGICIEL =SIMP(statut='f',typ='TXM'), - - # Corrige les problemes possibles de non-connexite des sous-domaines - CORRECTION_CONNEX =SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON')), - - # Permet de grouper des mailles dans un meme sous-doamine - GROUPAGE =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,), - ), - # Permet d'appliquer des poids sur certaines mailles - POIDS_MAILLES =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,), - POIDS =SIMP(statut='f',typ='I',val_min=2), - ), - # Prefixe pour le nom des group_ma definissant les sous-domaines - NOM_GROUP_MA =SIMP(statut='f',typ='TXM',defaut='SD' ), - - # Traiter les mailles de bords (elles sont enlevees du graphe puis reinjectees) - TRAITER_BORDS =SIMP(statut='f',typ='TXM',defaut='OUI',into=('OUI','NON') ), - - # Si le mot-clé suivant est renseigné, crée de nouveau group_ma a partir des bords - b_traiter_bords =BLOC(condition="TRAITER_BORDS == 'OUI'", fr="Crée t on des nouveaux group_ma", - NOM_GROUP_MA_BORD =SIMP(statut='f',typ='TXM'), - ), - - INFO =SIMP(statut='f',typ='I',into=(1, 2), defaut=1), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -DEFI_SOL_MISS = MACRO(nom="DEFI_SOL_MISS", - op=OPS('Macro.defi_sol_miss_ops.defi_sol_miss_ops'), - sd_prod=table_sdaster, - fr="Définition des données de sol pour Miss", - reentrant='n', - UIinfo={"groupes":("Modélisation","Outils-métier",)}, - MATERIAU = FACT(statut='o', max='**', - fr="Définition des matériaux", - E = SIMP(statut='o', typ='R', fr="Module d'Young"), - NU = SIMP(statut='o', typ='R', fr="Coefficient de Poisson"), - RHO = SIMP(statut='o', typ='R', fr="Masse volumique"), - AMOR_HYST = SIMP(statut='o', typ='R', fr="Coefficient d'amortissement"), - ), - COUCHE = FACT(statut='o', max='**', - fr="Définition des couches", - regles=(AU_MOINS_UN('EPAIS','SUBSTRATUM'),), - SUBSTRATUM= SIMP(statut='f', typ='TXM', into=("OUI","NON"),), - EPAIS = SIMP(statut='f', typ='R', fr="Epaisseur de la couche"), - RECEPTEUR = SIMP(statut='f', typ='TXM', defaut="NON", into=("OUI", "NON"),), - SOURCE = SIMP(statut='f', typ='TXM', defaut="NON", into=("OUI", "NON"),), - NUME_MATE = SIMP(statut='o', typ='I', fr="Numéro du matériau"), - ), - TITRE = SIMP(statut='f', typ='TXM', max='**', - fr="Titre de la table produite"), - INFO = SIMP(statut='f', typ='I', defaut=1, into=(1,2)), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -DEFI_SPEC_TURB=OPER(nom="DEFI_SPEC_TURB",op= 145,sd_prod=spectre_sdaster, - fr="Definition d'un spectre d'excitation turbulente", - reentrant='n', - UIinfo={"groupes":("Modelisation","Outils-metier",)}, - regles=(UN_PARMI('SPEC_LONG_COR_1','SPEC_LONG_COR_2','SPEC_LONG_COR_3', - 'SPEC_LONG_COR_4','SPEC_CORR_CONV_1','SPEC_CORR_CONV_2', - 'SPEC_CORR_CONV_3','SPEC_FONC_FORME','SPEC_EXCI_POINT'),), - SPEC_LONG_COR_1 =FACT(statut='f', - LONG_COR =SIMP(statut='o',typ='R' ), - PROF_VITE_FLUI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VISC_CINE =SIMP(statut='o',typ='R' ), - ), - SPEC_LONG_COR_2 =FACT(statut='f', - regles=(ENSEMBLE('FREQ_COUP','PHI0','BETA' ),), - LONG_COR =SIMP(statut='o',typ='R' ), - PROF_VITE_FLUI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FREQ_COUP =SIMP(statut='f',typ='R',defaut= 0.1 ), - PHI0 =SIMP(statut='f',typ='R',defaut= 1.5E-3 ), - BETA =SIMP(statut='f',typ='R',defaut= 2.7 ), - ), - SPEC_LONG_COR_3 =FACT(statut='f', - regles=(ENSEMBLE('PHI0_1','BETA_1','PHI0_2','BETA_2','FREQ_COUP'),), - LONG_COR =SIMP(statut='o',typ='R' ), - PROF_VITE_FLUI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - FREQ_COUP =SIMP(statut='f',typ='R',defaut= 0.2 ), - PHI0_1 =SIMP(statut='f',typ='R',defaut= 5.E-3 ), - BETA_1 =SIMP(statut='f',typ='R',defaut= 0.5 ), - PHI0_2 =SIMP(statut='f',typ='R',defaut= 4.E-5 ), - BETA_2 =SIMP(statut='f',typ='R',defaut= 3.5 ), - ), - SPEC_LONG_COR_4 =FACT(statut='f', - regles=(ENSEMBLE('BETA','GAMMA'),), - LONG_COR =SIMP(statut='o',typ='R' ), - PROF_VITE_FLUI =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TAUX_VIDE =SIMP(statut='o',typ='R' ), - BETA =SIMP(statut='f',typ='R',defaut= 2. ), - GAMMA =SIMP(statut='f',typ='R',defaut= 4. ), - ), - SPEC_CORR_CONV_1=FACT(statut='f', - LONG_COR_1 =SIMP(statut='o',typ='R' ), - LONG_COR_2 =SIMP(statut='f',typ='R' ), - VITE_FLUI =SIMP(statut='o',typ='R' ), - RHO_FLUI =SIMP(statut='o',typ='R' ), - FREQ_COUP =SIMP(statut='f',typ='R' ), - K =SIMP(statut='f',typ='R',defaut= 5.8E-3 ), - D_FLUI =SIMP(statut='o',typ='R' ), - COEF_VITE_FLUI_A=SIMP(statut='f',typ='R' ), - COEF_VITE_FLUI_O=SIMP(statut='f',typ='R' ), - METHODE =SIMP(statut='f',typ='TXM',defaut="GENERALE", - into=("AU_YANG","GENERALE","CORCOS") ), - ), - SPEC_CORR_CONV_2=FACT(statut='f', - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VITE_FLUI =SIMP(statut='o',typ='R' ), - FREQ_COUP =SIMP(statut='f',typ='R' ), - METHODE =SIMP(statut='f',typ='TXM',defaut="GENERALE", - into=("AU_YANG","GENERALE","CORCOS",) ), - COEF_VITE_FLUI_A=SIMP(statut='f',typ='R' ), - COEF_VITE_FLUI_O=SIMP(statut='f',typ='R' ), - ), - SPEC_CORR_CONV_3=FACT(statut='f', - TABLE_FONCTION =SIMP(statut='o',typ=(table_fonction) ), - ), - SPEC_FONC_FORME =FACT(statut='f', - regles=(UN_PARMI('INTE_SPEC','GRAPPE_1'), - ENSEMBLE('INTE_SPEC','FONCTION'),), - INTE_SPEC =SIMP(statut='f',typ=interspectre), - FONCTION =SIMP(statut='f',typ=(table_fonction),max='**'), - GRAPPE_1 =SIMP(statut='f',typ='TXM',into=("DEBIT_180","DEBIT_300",) ), - NOEUD =SIMP(statut='o',typ=no), - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - ), - SPEC_EXCI_POINT =FACT(statut='f', - regles=(UN_PARMI('INTE_SPEC','GRAPPE_2'),), - INTE_SPEC =SIMP(statut='f',typ=interspectre), - GRAPPE_2 =SIMP(statut='f',typ='TXM', - into=("ASC_CEN","ASC_EXC","DES_CEN","DES_EXC",) ), -# Quels sont les statuts des mots cles a l interieur des deux blocs qui suivent - b_inte_spec =BLOC(condition = "INTE_SPEC != None", - NATURE =SIMP(statut='o',typ='TXM',max='**',into=("FORCE","MOMENT",) ), - ANGLE =SIMP(statut='o',typ='R',max='**'), - NOEUD =SIMP(statut='o',typ=no,max='**'), - ), - b_grappe_2 =BLOC(condition = "GRAPPE_2 != None", - RHO_FLUI =SIMP(statut='o',typ='R' ), - NOEUD =SIMP(statut='o',typ=no), - ), - CARA_ELEM =SIMP(statut='o',typ=cara_elem ), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -DEFI_SQUELETTE=OPER(nom="DEFI_SQUELETTE",op= 110,sd_prod=squelette, - fr="Définit un maillage pour visualiser les résultats d'une sous-structuration dynamique", - reentrant='n', - UIinfo={"groupes":("Maillage","Dynamique",)}, - regles=(UN_PARMI('CYCLIQUE','MODELE_GENE','MAILLAGE'), - PRESENT_PRESENT('CYCLIQUE','SECTEUR'), - EXCLUS('SOUS_STRUC','SECTEUR'), - PRESENT_PRESENT('NOM_GROUP_MA','MODELE_GENE'), - PRESENT_PRESENT('NOM_GROUP_MA','SOUS_STRUC'),), - CYCLIQUE =FACT(statut='f',max='**', - regles=(UN_PARMI('MODE_CYCL','MAILLAGE'), - PRESENT_PRESENT('NB_SECTEUR','MAILLAGE'),), - MODE_CYCL =SIMP(statut='f',typ=mode_cycl ), - NB_SECTEUR =SIMP(statut='f',typ='I',validators=NoRepeat(),max=1 ), - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster ), - ), - MODELE_GENE =SIMP(statut='f',typ=modele_gene ), - SQUELETTE =SIMP(statut='f',typ=squelette ), - RECO_GLOBAL =FACT(statut='f',max='**', - regles=(EXCLUS('TOUT','GROUP_NO_1'), - PRESENT_PRESENT('GROUP_NO_1','GROUP_NO_2'), - PRESENT_PRESENT('GROUP_NO_1','SOUS_STRUC_1'), - PRESENT_PRESENT('GROUP_NO_2','SOUS_STRUC_2'), - PRESENT_PRESENT('SOUS_STRUC_1','SOUS_STRUC_2'),), - TOUT =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",) ), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - SOUS_STRUC_1 =SIMP(statut='f',typ='TXM' ), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - SOUS_STRUC_2 =SIMP(statut='f',typ='TXM' ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - DIST_REFE =SIMP(statut='f',typ='R' ), - ), - NOM_GROUP_MA =FACT(statut='f',max='**', - NOM =SIMP(statut='o',typ='TXM' ), - SOUS_STRUC =SIMP(statut='o',typ='TXM' ), - GROUP_MA =SIMP(statut='o',typ=grma), - ), - EXCLUSIF =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - TRANS =SIMP(statut='f',typ='R',min=3,max=3), - ANGL_NAUT =SIMP(statut='f',typ='R',min=3,max=3), - SOUS_STRUC =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','MAILLE','GROUP_MA'),), - NOM =SIMP(statut='o',typ='TXM' ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - ), - SECTEUR =FACT(statut='f',max='**', - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: renaud.bargellini at edf.fr -DEFI_TRC=OPER(nom="DEFI_TRC",op=94,sd_prod=table_sdaster,reentrant='n', - UIinfo={"groupes":("Modélisation","Thermique",)}, - fr="Définir d'un diagramme de transformations en refroidissement continu (TRC) de référence d'un acier" - +" pour les calculs métallurgiques.", - HIST_EXP =FACT(statut='o',max='**', - VALE =SIMP(statut='o',typ='R',max='**'), - ), - TEMP_MS =FACT(statut='o',max='**', - SEUIL =SIMP(statut='o',typ='R'), - AKM =SIMP(statut='o',typ='R'), - BKM =SIMP(statut='o',typ='R'), - TPLM =SIMP(statut='o',typ='R'), - ), - GRAIN_AUST =FACT(statut='f',max='**', - DREF =SIMP(statut='f',typ='R'), - A =SIMP(statut='f',typ='R'), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def depl_interne_prod(DEPL_GLOBAL,**args ): - if AsType(DEPL_GLOBAL) == cham_no_sdaster: return cham_no_sdaster - if AsType(DEPL_GLOBAL) == evol_elas : return evol_elas - if AsType(DEPL_GLOBAL) == dyna_trans : return dyna_trans - if AsType(DEPL_GLOBAL) == dyna_harmo : return dyna_harmo - if AsType(DEPL_GLOBAL) == mode_meca : return mode_meca - if AsType(DEPL_GLOBAL) == mode_meca_c : return mode_meca_c - raise AsException("type de concept resultat non prevu") - -DEPL_INTERNE=OPER(nom="DEPL_INTERNE",op=89,sd_prod=depl_interne_prod,reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - fr="Calculer le champ de déplacement à l'intérieur d'une sous-structure statique", - DEPL_GLOBAL =SIMP(statut='o',typ=(cham_no_sdaster,mode_meca,mode_meca_c,evol_elas,dyna_trans,dyna_harmo),), - SUPER_MAILLE =SIMP(statut='o',typ=ma,), - NOM_CAS =SIMP(statut='f',typ='TXM',defaut=" "), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -DETRUIRE=MACRO(nom="DETRUIRE", - op=OPS("Cata.ops.DETRUIRE"), - UIinfo={"groupes":("Gestion du travail",)}, - fr="Détruit des concepts utilisateurs dans la base GLOBALE ou des objets JEVEUX", - op_init=ops.build_detruire, - regles=(UN_PARMI('CONCEPT', 'OBJET',),), - - CONCEPT = FACT(statut='f',max='**', - NOM = SIMP(statut='o',typ=assd,validators=NoRepeat(),max='**'), - ), - OBJET = FACT(statut='f',max='**', - CLASSE = SIMP(statut='f', typ='TXM', into=('G', 'V', 'L'), defaut='G'), - CHAINE = SIMP(statut='o', typ='TXM', validators=NoRepeat(), max='**'), - POSITION = SIMP(statut='f', typ='I', max='**'), - ), - INFO = SIMP(statut='f', typ='I', into=(1, 2), defaut=2, ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -DYNA_ALEA_MODAL=OPER(nom="DYNA_ALEA_MODAL",op= 131,sd_prod=interspectre, - fr="Calcul de la réponse spectrale d'une structure linéaire sous une excitation connue par sa DSP", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - BASE_MODALE =FACT(statut='o', - regles=(UN_PARMI('NUME_ORDRE','BANDE'),), - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - BANDE =SIMP(statut='f',typ='R',validators=NoRepeat(),max=2), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - b_bande =BLOC(condition = "BANDE != None", - AMOR_UNIF =SIMP(statut='o',typ='R' ), - ), - b_nume_ordre =BLOC(condition = "NUME_ORDRE != None", - AMOR_REDUIT =SIMP(statut='o',typ='R',max='**'), - ), - ), - MODE_STAT =SIMP(statut='f',typ=mode_meca), -# MODE_STAT devrait etre dans EXCIT car est utile et obligatoire que si NOM_CMP=depl_r, on pourrait -# ainsi rajouter un bloc du genre b_mod_stat= BLOC(condition = "(GRANDEUR == None) or (GRANDEUR == 'DEPL_R')", - EXCIT =FACT(statut='o', - INTE_SPEC =SIMP(statut='o',typ=interspectre), - NUME_VITE_FLUI =SIMP(statut='f',typ='I' ), - OPTION =SIMP(statut='f',typ='TXM',defaut="TOUT",into=("TOUT","DIAG",) ), - MODAL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - b_modal_non = BLOC(condition = "(MODAL == None) or (MODAL == 'NON')", - regles=(UN_PARMI('NOEUD_I','NUME_ORDRE_I'),), - NUME_ORDRE_I =SIMP(statut='f',typ='I',max='**'), - NOEUD_I =SIMP(statut='f',typ=no,max='**'), - b_nume_ordre_i =BLOC(condition = "NUME_ORDRE_I != None", - regles=(EXCLUS('CHAM_NO','NOEUD'),), -# on devrait rajouter EXCLUS('GRANDEUR','CHAM_NO') pour eviter ambiguite car CHAM_NO => GRANDEUR='EFFO' -# cela impliquerait d'enlever la valeur par defaut a GRANDEUR - NUME_ORDRE_J =SIMP(statut='o',typ='I',max='**'), - CHAM_NO =SIMP(statut='f',typ=cham_no_sdaster), - NOEUD =SIMP(statut='f',typ=no,max='**'), - b_noeud =BLOC(condition = "NOEUD != None", - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'), - ), - GRANDEUR =SIMP(statut='f',typ='TXM',defaut="DEPL_R", - into=("DEPL_R","EFFO","SOUR_DEBI_VOLU","SOUR_DEBI_MASS","SOUR_PRESS","SOUR_FORCE")), -# que se passe-t-il en cas d'incompatibilite entre GRANDEUR et NOM_CMP - DERIVATION =SIMP(statut='f',typ='I',defaut= 0,into=( 0 , 1 , 2 ) ), - ), - b_noeud_i =BLOC(condition = "NOEUD_I != None", - NOEUD_J =SIMP(statut='o',typ=no,max='**'), - NOM_CMP_I =SIMP(statut='o',typ='TXM',max='**'), - NOM_CMP_J =SIMP(statut='o',typ='TXM',max='**'), - NOEUD =SIMP(statut='o',typ=no,max='**'), - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'), -# ne serait-il pas bien que NOEUD et NOM_CMP soient facultatifs, car l'information peut etre contenue dans -# NOEUD_I, NOM_CMP_I ... => modif. du Fortran - GRANDEUR =SIMP(statut='f',typ='TXM',defaut="DEPL_R", - into=("DEPL_R","EFFO","SOUR_DEBI_VOLU","SOUR_DEBI_MASS","SOUR_PRESS","SOUR_FORCE")), -# que se passe-t-il en cas d'incompatibilite entre GRANDEUR et NOM_CMP_I - DERIVATION =SIMP(statut='f',typ='I',defaut= 0,into=( 0 , 1 , 2 ) ), - ), - ), - b_modal_oui = BLOC(condition = "(MODAL == 'OUI')", -# dans ce cas, y-a-t-il vraiment la possibilite d'une matrice interspectrale avec plusieurs termes - NUME_ORDRE_I =SIMP(statut='o',typ='I',max='**'), - NUME_ORDRE_J =SIMP(statut='o',typ='I',max='**'), - GRANDEUR =SIMP(statut='f',typ='TXM',defaut="DEPL_R", - into=("DEPL_R","EFFO","SOUR_DEBI_VOLU","SOUR_DEBI_MASS","SOUR_PRESS","SOUR_FORCE")), - DERIVATION =SIMP(statut='f',typ='I',defaut= 0,into=( 0 , 1 , 2 ) ), -# dans le cas MODAL=OUI, GRANDEUR peut-il etre different de EFFO et doit il etre impose a EFFO On devrait -# pouvoir supprimer GRANDEUR et DERIVATION ici - ), - - ), - REPONSE =FACT(statut='f', - regles=( ENSEMBLE('FREQ_MIN','FREQ_MAX'),), - DERIVATION =SIMP(statut='f',typ='I',defaut= 0,into=( 0 , 1 , 2 ,) ), - OPTION =SIMP(statut='f',typ='TXM',defaut="TOUT",into=("TOUT","DIAG") ), - FREQ_MIN =SIMP(statut='f',typ='R' ), - FREQ_MAX =SIMP(statut='f',typ='R' ), - PAS =SIMP(statut='f',typ='R' ), - b_defaut_freq =BLOC(condition = "FREQ_MIN == NONE", - FREQ_EXCIT =SIMP(statut='f',typ='TXM',defaut="AVEC",into=("AVEC","SANS") ), - NB_POIN_MODE =SIMP(statut='f',typ='I',defaut= 50 ), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr - -def dyna_iss_vari_prod(self, FONC_SIGNAL,**args): - if FONC_SIGNAL !=None : - return tran_gene - else: - return interspectre - raise AsException("type de concept resultat non prevu") - -DYNA_ISS_VARI=MACRO(nom="DYNA_ISS_VARI", - op=OPS('Macro.dyna_iss_vari_ops.dyna_iss_vari_ops'), - sd_prod=dyna_iss_vari_prod, - fr="Calcul du spectre de réponse ou de la reponse temporelle " \ - "sismique incoherente par decomposition spectrale", - reentrant='n', - UIinfo={"groupes":("Outils métier",)}, - regles=(UN_PARMI('FONC_SIGNAL','NB_FREQ'),), - FONC_SIGNAL =SIMP(statut='f',typ=(fonction_sdaster) ), - NB_FREQ =SIMP(statut='f',typ='I' ), - NOM_CMP =SIMP(statut='o',typ='TXM',into=("DX","DY","DZ") ), - PRECISION =SIMP(statut='f',typ='R',defaut=0.999 ), - ISSF =SIMP(statut='f',typ='TXM',into=("OUI","NON",),defaut="NON"), - INTERF =FACT(statut='o', - GROUP_NO_INTERF =SIMP(statut='o',typ=grno,), - MODE_INTERF =SIMP(statut='o',typ='TXM',into=("CORP_RIGI","TOUT","QUELCONQUE")), - ), - MATR_COHE =FACT(statut='o', - TYPE = SIMP(statut='o',typ='TXM' , into=("MITA_LUCO","ABRAHAMSON") ), - b_type_coh = BLOC(condition="TYPE=='MITA_LUCO' ", - VITE_ONDE =SIMP(statut='f',typ='R', defaut=600.), - PARA_ALPHA =SIMP(statut='f',typ='R',defaut=0.5),), - ), -# LIST_FREQ =SIMP(statut='o',typ='liste' ), - UNITE_RESU_FORC = SIMP(statut='f',typ='I',defaut=33), - UNITE_RESU_IMPE = SIMP(statut='f',typ='I',defaut=32), - TYPE = SIMP(statut='f',typ='TXM', into=("BINAIRE","ASCII"), defaut="ASCII"), -# NOM_CHAM =SIMP(statut='f',typ='TXM',into=("DEPL","VITE","ACCE") , validators=NoRepeat(),max=3,defaut="DEPL" ), -# - MATR_GENE = FACT(statut='o', - MATR_MASS = SIMP(statut='o',typ=(matr_asse_gene_r ) ), - MATR_RIGI = SIMP(statut='o',typ=(matr_asse_gene_r,matr_asse_gene_c ) ), - MATR_AMOR = SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_gene_c ) ), - ), -# - INFO =SIMP(statut='f',typ='I' ,defaut=1,into=( 1 , 2)), -# - b_type_trans = BLOC(condition="FONC_SIGNAL !=None", - FREQ_MAX =SIMP(statut='f',typ='R' ), - FREQ_PAS =SIMP(statut='f',typ='R' ), - regles=( ENSEMBLE('FREQ_MAX','FREQ_PAS'), ) - - ), - - b_type_spec = BLOC(condition="NB_FREQ != None", - FREQ_INIT =SIMP(statut='o',typ='R' ), - FREQ_PAS =SIMP(statut='o',typ='R' ), - OPTION = SIMP(statut='f',typ='TXM',into=("TOUT","DIAG"),defaut="TOUT"), - ), - - - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr -def dyna_line_harm_prod(MATR_RIGI,**args): - if (AsType(MATR_RIGI) == matr_asse_depl_r) : return dyna_harmo - elif (AsType(MATR_RIGI) == matr_asse_depl_c) : return dyna_harmo - elif (AsType(MATR_RIGI) == matr_asse_pres_c) : return acou_harmo - elif (AsType(MATR_RIGI) == matr_asse_gene_r) : return harm_gene - elif (AsType(MATR_RIGI) == matr_asse_gene_c) : return harm_gene - raise AsException("type de concept resultat non prevu") - -DYNA_LINE_HARM=OPER(nom="DYNA_LINE_HARM",op= 60,sd_prod=dyna_line_harm_prod, - fr="Calcul de la réponse dynamique complexe d'un système à une excitation harmonique", - reentrant='f', - UIinfo={"groupes":("Résolution","Dynamique",)}, - regles=(PRESENT_ABSENT('MATR_AMOR','AMOR_MODAL'), - UN_PARMI('FREQ','LIST_FREQ'),), - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_pres_c,matr_asse_gene_r ) ), - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_pres_c - ,matr_asse_gene_r,matr_asse_gene_c ) ), - MATR_AMOR =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_pres_c,matr_asse_gene_r ) ), - AMOR_MODAL =FACT(statut='f', max=1, - regles=(EXCLUS('AMOR_REDUIT','LIST_AMOR'),), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - ), - MATR_IMPE_PHI =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_gene_r) ), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",)), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=3,into=("DEPL","VITE","ACCE") ), - b_reuse =BLOC(condition = "reuse",fr="en mode concept reentrant : RESULTAT obligatoire", - RESULTAT =SIMP(statut='o',typ=(dyna_harmo,harm_gene)), - ), - EXCIT =FACT(statut='o',max='**', - regles=(UN_PARMI('VECT_ASSE','VECT_ASSE_GENE','CHARGE'), - UN_PARMI('FONC_MULT','FONC_MULT_C','COEF_MULT','COEF_MULT_C'), - ), - VECT_ASSE =SIMP(statut='f',position='global',typ=cham_no_sdaster), - VECT_ASSE_GENE =SIMP(statut='f',position='global',typ=vect_asse_gene), - CHARGE =SIMP(statut='f',position='global', typ=char_meca ), - FONC_MULT_C =SIMP(statut='f',typ=(fonction_c,formule_c) ), - COEF_MULT_C =SIMP(statut='f',typ='C' ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_MULT =SIMP(statut='f',typ='R' ), - PHAS_DEG =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PUIS_PULS =SIMP(statut='f',typ='I',defaut= 0 ), - ), - b_modele_char =BLOC(condition = " CHARGE != None ", - MODELE =SIMP(statut='o',typ=modele_sdaster ), - ), - b_modele_vect =BLOC(condition = " VECT_ASSE != None ", - MODELE =SIMP(statut='f',typ=modele_sdaster ), - ), - EXCIT_RESU =FACT(statut='f',max='**', - RESULTAT =SIMP(statut='o',typ=(dyna_harmo,harm_gene)), - COEF_MULT_C =SIMP(statut='o',typ='C' ), - ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - b_matr_gene =BLOC(condition = "AsType(MATR_MASS) in (matr_asse_gene_r,)", - fr="Methode de resolution matrice generalisee", - SOLVEUR =C_SOLVEUR('DYNA_LINE_HARM','GENE'), - ), - - b_matr_phys =BLOC(condition = "AsType(MATR_MASS) in (matr_asse_depl_r,matr_asse_pres_c,)", - fr="Methode de resolution matrice sur ddl physique", - SOLVEUR =C_SOLVEUR('DYNA_LINE_HARM','PHYS'), - ), -#------------------------------------------------------------------- - - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr -DYNA_LINE_TRAN=OPER(nom="DYNA_LINE_TRAN",op= 48,sd_prod=dyna_trans, - fr="Calcul de la réponse dynamique transitoire à une excitation temporelle quelconque", - reentrant='f', - UIinfo={"groupes":("Résolution","Dynamique",)}, - MODELE =SIMP(statut='f',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - MATR_MASS =SIMP(statut='o',typ=matr_asse_depl_r ), - MATR_RIGI =SIMP(statut='o',typ=matr_asse_depl_r ), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_depl_r ), - - SCHEMA_TEMPS =FACT(statut='d', - SCHEMA =SIMP(statut='f',typ='TXM',defaut="NEWMARK", - into=("NEWMARK","WILSON","DIFF_CENTRE","ADAPT_ORDRE2")), - b_newmark =BLOC(condition="SCHEMA=='NEWMARK'", - BETA =SIMP(statut='f',typ='R',defaut= 0.25 ), - GAMMA =SIMP(statut='f',typ='R',defaut= 0.5 ), - ), - b_wilson =BLOC(condition="SCHEMA=='WILSON'", - THETA =SIMP(statut='f',typ='R',defaut= 1.4 ), - ), - ), - - ETAT_INIT =FACT(statut='f', - regles=(AU_MOINS_UN('RESULTAT', 'DEPL', 'VITE', 'ACCE'), - PRESENT_ABSENT('RESULTAT', 'DEPL', 'VITE', 'ACCE'),), - RESULTAT =SIMP(statut='f',typ=dyna_trans ), - b_dyna_trans =BLOC(condition = "RESULTAT != None", - regles=(EXCLUS('NUME_ORDRE','INST_INIT' ),), - NUME_ORDRE =SIMP(statut='f',typ='I' ), - INST_INIT =SIMP(statut='f',typ='R' ), - b_inst_init =BLOC(condition = "INST_INIT != None", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - VITE =SIMP(statut='f',typ=cham_no_sdaster), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - ), - EXCIT =FACT(statut='f',max='**', - regles=(UN_PARMI('CHARGE','VECT_ASSE'), - EXCLUS('CHARGE','COEF_MULT'), - EXCLUS('FONC_MULT','COEF_MULT'), - EXCLUS('ACCE','COEF_MULT'), - PRESENT_ABSENT('ACCE','FONC_MULT'), - PRESENT_PRESENT('ACCE','VITE','DEPL'), - # PRESENT_ABSENT('MULT_APPUI','FONC_MULT'), - ), - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster), - CHARGE =SIMP(statut='f',typ=char_meca ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_MULT =SIMP(statut='f',typ='R' ), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MULT_APPUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - b_mult_appui =BLOC(condition = "MULT_APPUI == 'OUI'", - regles=(EXCLUS('NOEUD','GROUP_NO'),), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ),), -### - MODE_STAT =SIMP(statut='f',typ=mode_meca), -### - EXCIT_RESU =FACT(statut='f',max='**', - RESULTAT =SIMP(statut='o',typ=dyna_trans ), - COEF_MULT =SIMP(statut='o',typ='R' ), - ), - AMOR_MODAL =FACT(statut='f', - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - AMOR_REDUIT =SIMP(statut='o',typ='R',max='**'), - NB_MODE =SIMP(statut='f',typ='I',defaut= 9999 ), - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('DYNA_LINE_TRAN'), -#------------------------------------------------------------------- - INCREMENT =FACT(statut='o',max='**', - regles=(UN_PARMI('LIST_INST','PAS'),), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - PAS =SIMP(statut='f',typ='R' ), - b_pas =BLOC(condition = "PAS != None", - INST_INIT =SIMP(statut='f',typ='R' ), - INST_FIN =SIMP(statut='o',typ='R' ), - ), - b_list_fonc =BLOC(condition = "LIST_INST != None", - regles=(EXCLUS('INST_FIN','NUME_FIN'),), - NUME_FIN =SIMP(statut='f',typ='I' ), - INST_FIN =SIMP(statut='f',typ='R' ), - ), - VITE_MIN =SIMP(statut='f',typ='TXM',defaut="NORM",into=("MAXI","NORM") ), - COEF_MULT_PAS =SIMP(statut='f',typ='R',defaut= 1.1 ), - COEF_DIVI_PAS =SIMP(statut='f',typ='R',defaut= 1.33334 ), - PAS_LIMI_RELA =SIMP(statut='f',typ='R',defaut= 1.E-6 ), - NB_POIN_PERIODE =SIMP(statut='f',typ='I',defaut= 50 ), - NMAX_ITER_PAS =SIMP(statut='f',typ='I',defaut= 16 ), - PAS_MINI =SIMP(statut='f',typ='R' ), - ), - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), - ARCHIVAGE =FACT(statut='f',max=1, - regles = (EXCLUS('PAS_ARCH','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_ARCH = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - CHAM_EXCLU =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=("DEPL","VITE","ACCE") ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -# -DYNA_NON_LINE=OPER(nom="DYNA_NON_LINE",op= 70,sd_prod=evol_noli,reentrant='f', - fr="Calcul de l'évolution dynamique d'une structure dont le matériau ou la géométrie ont un comportement non linéaire", - UIinfo={"groupes":("Résolution","Dynamique",)}, - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - MODE_STAT =SIMP(statut='f',typ=mode_meca), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - MASS_DIAG =SIMP(statut='f',typ='TXM',into=("OUI","NON",) ), - EXCIT =FACT(statut='f',max='**', - regles=(PRESENT_ABSENT('FONC_MULT','ACCE'), - PRESENT_PRESENT('ACCE','VITE','DEPL'), - # PRESENT_ABSENT('MULT_APPUI','FONC_MULT'), - ), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE","SUIV","DIDI")), - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MULT_APPUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - EXCIT_GENE =FACT(statut='f',max='**', - FONC_MULT =SIMP(statut='f',typ=fonction_sdaster,max='**' ), - VECT_GENE =SIMP(statut='f',typ=vect_asse_gene,max='**' ), - ), - CONTACT =SIMP(statut='f',typ=char_contact), - SOUS_STRUC =FACT(statut='f',min=01,max='**', - regles=(UN_PARMI('TOUT','SUPER_MAILLE'),), - CAS_CHARGE =SIMP(statut='o',typ='TXM' ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - SUPER_MAILLE=SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**',), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - AMOR_RAYL_RIGI = SIMP(statut='f',typ='TXM',defaut="TANGENTE",into=("TANGENTE","ELASTIQUE"),), - AMOR_MODAL =FACT(statut='f', - regles=(EXCLUS('AMOR_REDUIT','LIST_AMOR'),), - MODE_MECA =SIMP(statut='f',typ=mode_meca), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**' ), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - NB_MODE =SIMP(statut='f',typ='I',defaut= 9999 ), - REAC_VITE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - PROJ_MODAL =FACT(statut='f',max='**', - MODE_MECA =SIMP(statut='o',typ=mode_meca), - NB_MODE =SIMP(statut='f',typ='I',defaut= 9999 ), - regles=(PRESENT_PRESENT('MASS_GENE','RIGI_GENE'),), - MASS_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - RIGI_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - AMOR_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - DEPL_INIT_GENE =SIMP(statut='f',typ=vect_asse_gene), - VITE_INIT_GENE =SIMP(statut='f',typ=vect_asse_gene), - ACCE_INIT_GENE =SIMP(statut='f',typ=vect_asse_gene), - ), -#------------------------------------------------------------------- - COMPORTEMENT =C_COMPORTEMENT('DYNA_NON_LINE'), -#------------------------------------------------------------------- - b_reuse =BLOC(condition = "reuse",fr="en mode concept reentrant : ETAT_INIT obligatoire", - ETAT_INIT =FACT(statut='o', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','VITE','ACCE','SIGM','VARI',), - # EXCLUS('EVOL_NOLI','DEPL',), - # EXCLUS('EVOL_NOLI','VITE'), - # EXCLUS('EVOL_NOLI','ACCE'), - # EXCLUS('EVOL_NOLI','SIGM',), - # EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - VITE =SIMP(statut='f',typ=cham_no_sdaster), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(cham_elem,carte_sdaster)), - VARI =SIMP(statut='f',typ=cham_elem), - STRX =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ),), - b_not_reuse =BLOC(condition = "not reuse",fr="en mode concept non reentrant : ETAT_INIT facultatif", - ETAT_INIT =FACT(statut='f', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','VITE','ACCE','SIGM','VARI',), - # EXCLUS('EVOL_NOLI','DEPL',), - # EXCLUS('EVOL_NOLI','VITE'), - # EXCLUS('EVOL_NOLI','ACCE'), - # EXCLUS('EVOL_NOLI','SIGM',), - # EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - VITE =SIMP(statut='f',typ=cham_no_sdaster), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(cham_elem,carte_sdaster)), - VARI =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ),), -#------------------------------------------------------------------- - INCREMENT =C_INCREMENT('MECANIQUE'), -#------------------------------------------------------------------- - SCHEMA_TEMPS =FACT(statut='o', - SCHEMA =SIMP(statut='o',min=1,max=1,typ='TXM', - into=("DIFF_CENT","TCHAMWA","NEWMARK","HHT","THETA_METHODE","KRENK"),), - COEF_MASS_SHIFT =SIMP(statut='f',typ='R',defaut= 0.0E+0 ), - b_tchamwa = BLOC(condition="SCHEMA=='TCHAMWA'", - PHI =SIMP(statut='f',typ='R',defaut= 1.05),), - - b_newmark = BLOC(condition="SCHEMA=='NEWMARK'", - BETA =SIMP(statut='f',typ='R',defaut= 0.25), - GAMMA =SIMP(statut='f',typ='R',defaut= 0.5),), - - b_hht = BLOC(condition="SCHEMA=='HHT'", - ALPHA =SIMP(statut='f',typ='R',defaut= -0.3 ), - MODI_EQUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON"),),), - - b_theta = BLOC(condition="SCHEMA=='THETA_METHODE'", - THETA =SIMP(statut='f',typ='R',defaut= 1.,val_min=0.5,val_max=100. ),), - - b_krenk = BLOC(condition="SCHEMA=='KRENK'", - KAPPA =SIMP(statut='f',typ='R',defaut= 1.0,val_min=1.0,val_max=100. ),), - - b_explicit= BLOC(condition="SCHEMA=='TCHAMWA'or SCHEMA=='DIFF_CENT'", - STOP_CFL =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON"),), - FORMULATION =SIMP(statut='o',typ='TXM',into=("ACCELERATION",),),), - - b_implicit= BLOC(condition="SCHEMA!='TCHAMWA'and SCHEMA!='DIFF_CENT'", - FORMULATION =SIMP(statut='o',max=1,typ='TXM',into=("DEPLACEMENT","VITESSE","ACCELERATION"),),), - ), -#------------------------------------------------------------------- - METHODE =SIMP(statut='d',typ='TXM',defaut="NEWTON",into=("NEWTON","NEWTON_KRYLOV")), - NEWTON =C_NEWTON(), -#------------------------------------------------------------------- - RECH_LINEAIRE =C_RECH_LINEAIRE(), -#------------------------------------------------------------------- - CONVERGENCE =C_CONVERGENCE(), -#------------------------------------------------------------------- - SOLVEUR =C_SOLVEUR('DYNA_NON_LINE'), -#------------------------------------------------------------------- - OBSERVATION =C_OBSERVATION(), -#------------------------------------------------------------------- - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), -#------------------------------------------------------------------- - SUIVI_DDL =C_SUIVI_DDL(), -#------------------------------------------------------------------- - AFFICHAGE =C_AFFICHAGE(), -#------------------------------------------------------------------- - ARCHIVAGE =C_ARCHIVAGE(), -#------------------------------------------------------------------- - CRIT_STAB =FACT(statut='f',min=1,max=1, - NB_FREQ =SIMP(statut='f',typ='I',max=1,val_min=1,defaut=3), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I',max=1,val_min=2,defaut=5), - RIGI_GEOM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - MODI_RIGI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - bloc_char_crit=BLOC(condition="(RIGI_GEOM=='OUI')", - CHAR_CRIT =SIMP(statut='f',typ='R',min=2,max=2, - fr="Valeur des deux charges critiques délimitant la bande de recherche en HPP"),), - TYPE =SIMP(statut='f',typ='TXM',defaut="FLAMBEMENT",into=("FLAMBEMENT","STABILITE")), - PREC_INSTAB =SIMP(statut='f',typ='R',defaut=1.E-6,max=1,), - SIGNE =SIMP(statut='f',typ='TXM',defaut=("POSITIF_NEGATIF"),into=("NEGATIF","POSITIF","POSITIF_NEGATIF"),max=1,), - bloc_rigi_geom=BLOC(condition="(RIGI_GEOM=='NON'or MODI_RIGI=='OUI')", - DDL_EXCLUS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=40, - into=('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON','DCX', - 'DCY','DCZ','H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21','PRES22','PRES23', - 'PRES31','PRES32','PRES33','VARI','LAG_GV','DAMG','DH')), - bloc_type_stab =BLOC(condition= "TYPE == 'STABILITE' and RIGI_GEOM == 'NON'", - DDL_STAB =SIMP(statut='o',typ='TXM',validators=NoRepeat(),min=1,max=40, - into=('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON','DCX', - 'DCY','DCZ','H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21','PRES22','PRES23', - 'PRES31','PRES32','PRES33','VARI','LAG_GV','DAMG','DH')),), - ), - regles = (EXCLUS('PAS_CALC','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_CALC = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - MODE_VIBR =FACT(statut='f',min=1,max=1, - MATR_RIGI =SIMP(statut='f',typ='TXM',defaut="ELASTIQUE",into=("ELASTIQUE","TANGENTE","SECANTE",) ), - NB_FREQ =SIMP(statut='f',typ='I',max=1,val_min=1,defaut=3, - fr="Nombre de fréquences propres à calculer"), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I',max=1,val_min=2,defaut=5), - BANDE =SIMP(statut='f',typ='R',min=2,max=2, - fr="Valeur des deux fréquences délimitant la bande de recherche",), - regles = (EXCLUS('PAS_CALC','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_CALC = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), -#------------------------------------------------------------------- - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - b_info=BLOC(condition="(INFO==2)", - fr="filtre les messages émis dans le .mess selon le type de message demandé", - INFO_DBG = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into=("CONTACT", - "MECA_NON_LINE", - "PILOTAGE", - "FACTORISATION", - "APPARIEMENT"), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -DYNA_SPEC_MODAL=OPER(nom="DYNA_SPEC_MODAL",op= 147,sd_prod=interspectre, - fr="Calcul de la réponse par recombinaison modale d'une structure linéaire pour une excitation aléatoire", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - BASE_ELAS_FLUI =SIMP(statut='o',typ=melasflu_sdaster ), - VITE_FLUI =SIMP(statut='o',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut=1.0E-3 ), - EXCIT =FACT(statut='o', - INTE_SPEC_GENE =SIMP(statut='o',typ=interspectre), - ), - OPTION =SIMP(statut='f',typ='TXM',defaut="TOUT",into=("TOUT","DIAG") ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr -DYNA_TRAN_MODAL=OPER(nom="DYNA_TRAN_MODAL",op= 74,sd_prod=tran_gene, - fr="Calcul de la reponse dynamique transitoire d'un systeme amorti ou non en coordonees generalisees" - +" par superposition modale ou par sous structuration", - reentrant='f', - UIinfo={"groupes":("Resolution","Dynamique",)}, - regles=(EXCLUS('AMOR_MODAL','MATR_AMOR'), - PRESENT_ABSENT('MODE_STAT','MODE_CORR'),), - SCHEMA_TEMPS =FACT(statut='d', - SCHEMA =SIMP(statut='f',typ='TXM',defaut="NEWMARK", - into=("NEWMARK","EULER","DEVOGE","ADAPT_ORDRE1","ADAPT_ORDRE2","ITMI","RUNGE_KUTTA_54","RUNGE_KUTTA_32")), - b_newmark =BLOC(condition="SCHEMA=='NEWMARK'", - BETA =SIMP(statut='f',typ='R',defaut= 0.25 ), - GAMMA =SIMP(statut='f',typ='R',defaut= 0.5 ), - ), - b_runge_kutta =BLOC(condition="SCHEMA=='RUNGE_KUTTA_54' or SCHEMA=='RUNGE_KUTTA_32'", - TOLERANCE =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - b_itmi =BLOC(condition = "SCHEMA=='ITMI'", - regles=(ENSEMBLE('BASE_ELAS_FLUI','NUME_VITE_FLUI'),), - BASE_ELAS_FLUI =SIMP(statut='f',typ=melasflu_sdaster ), - NUME_VITE_FLUI =SIMP(statut='f',typ='I' ), - ETAT_STAT =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - PREC_DUREE =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - CHOC_FLUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - NB_MODE =SIMP(statut='f',typ='I' ), - NB_MODE_FLUI =SIMP(statut='f',typ='I' ), - TS_REG_ETAB =SIMP(statut='f',typ='R' ), - ), - ), - MATR_MASS =SIMP(statut='o',typ=matr_asse_gene_r ), - MATR_RIGI =SIMP(statut='o',typ=matr_asse_gene_r ), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_gene_r ), - VITESSE_VARIABLE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - b_variable =BLOC(condition="VITESSE_VARIABLE=='OUI'", - MATR_GYRO =SIMP(statut='o',typ=matr_asse_gene_r ), - VITE_ROTA =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - MATR_RIGY =SIMP(statut='f',typ=matr_asse_gene_r ), - ACCE_ROTA =SIMP(statut='f',typ=(fonction_sdaster,formule) ), - ), - b_constante =BLOC(condition="VITESSE_VARIABLE=='NON'", - VITE_ROTA = SIMP(statut='o',typ='R',defaut=0.E0), - COUPLAGE_EDYOS =FACT(statut='f',max=1, - PAS_TPS_EDYOS = SIMP(statut='o',typ='R' ), - ), - - ), - - AMOR_MODAL =FACT(statut='f', max=1, - regles=(EXCLUS('AMOR_REDUIT','LIST_AMOR'),), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - ), - - ROTOR_FISS = FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD_D','GROUP_NO_D'), - EXCLUS('NOEUD_G','GROUP_NO_G'), - PRESENT_PRESENT('NOEUD_D','NOEUD_G'), - PRESENT_PRESENT('GROUP_NO_D','GROUP_NO_G',),), - ANGL_INIT = SIMP(statut='o',typ='R',defaut=0.E0), - ANGL_ROTA = SIMP(statut='f',typ=(fonction_sdaster,formule) ), - NOEUD_G = SIMP(statut='f',typ=no), - NOEUD_D = SIMP(statut='f',typ=no), - GROUP_NO_G = SIMP(statut='f',typ=grno), - GROUP_NO_D = SIMP(statut='f',typ=grno), - K_PHI = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - DK_DPHI = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - - PALIER_EDYOS =FACT(statut='f',max='**', - regles=(PRESENT_ABSENT('UNITE','GROUP_NO'), - PRESENT_ABSENT('UNITE','TYPE_EDYOS'), - EXCLUS('GROUP_NO','NOEUD'),), - UNITE = SIMP(statut='f',typ='I',), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD = SIMP(statut='f',typ=no), - TYPE_EDYOS = SIMP(statut='f',typ='TXM', - into=("PAPANL","PAFINL","PACONL","PAHYNL",),), - ), - - ETAT_INIT =FACT(statut='f', - regles=(EXCLUS('RESULTAT','DEPL'), - EXCLUS('RESULTAT','VITE'),), - RESULTAT =SIMP(statut='f',typ=tran_gene ), - b_resu =BLOC(condition = "RESULTAT != None", - regles=(EXCLUS('NUME_ORDRE','INST_INIT' ),), - INST_INIT =SIMP(statut='f',typ='R' ), - NUME_ORDRE =SIMP(statut='f',typ='I' ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - DEPL =SIMP(statut='f',typ=vect_asse_gene ), - VITE =SIMP(statut='f',typ=vect_asse_gene ), - ), - INCREMENT =FACT(statut='o',max='**', - regles=(UN_PARMI('LIST_INST','PAS'),), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - b_list_inst =BLOC(condition = "LIST_INST != None", - regles=(EXCLUS('NUME_FIN','INST_FIN'),), - NUME_FIN =SIMP(statut='f',typ='I' ), - INST_FIN =SIMP(statut='f',typ='R' ), - ), - PAS =SIMP(statut='f',typ='R' ), - b_pas =BLOC(condition = "PAS != None", - INST_INIT =SIMP(statut='f',typ='R' ), - INST_FIN =SIMP(statut='o',typ='R' ), - ), - VERI_PAS =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - VITE_MIN =SIMP(statut='f',typ='TXM',defaut="NORM",into=("MAXI","NORM") ), - COEF_MULT_PAS =SIMP(statut='f',typ='R',defaut= 1.1 ), - COEF_DIVI_PAS =SIMP(statut='f',typ='R',defaut= 1.3333334 ), - PAS_LIMI_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-6 ), - NB_POIN_PERIODE =SIMP(statut='f',typ='I',defaut= 50 ), - NMAX_ITER_PAS =SIMP(statut='f',typ='I',defaut= 16 ), - PAS_MAXI =SIMP(statut='f',typ='R' ), - PAS_MINI =SIMP(statut='f',typ='R' ), - ), - ARCHIVAGE =FACT(statut='f',max=1, - regles = (EXCLUS('PAS_ARCH','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_ARCH = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - EXCIT =FACT(statut='f',max='**', - regles=(UN_PARMI('FONC_MULT','COEF_MULT','ACCE'), - UN_PARMI('VECT_ASSE_GENE','NUME_ORDRE',), - PRESENT_PRESENT('ACCE','VITE','DEPL'), -# PRESENT_ABSENT('NUME_ORDRE','VECT_ASSE_GENE','COEF_MULT'), - EXCLUS('MULT_APPUI','CORR_STAT'), - PRESENT_PRESENT('MULT_APPUI','ACCE'),), - VECT_ASSE_GENE =SIMP(statut='f',typ=vect_asse_gene ), - NUME_ORDRE =SIMP(statut='f',typ='I' ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_MULT =SIMP(statut='f',typ='R' ), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MULT_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_mult_appui =BLOC(condition = "MULT_APPUI == 'OUI'", - DIRECTION =SIMP(statut='f',typ='R',max='**'), - regles=(EXCLUS('NOEUD','GROUP_NO'),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - CORR_STAT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_corr_stat =BLOC(condition = "CORR_STAT == 'OUI'", - D_FONC_DT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - D_FONC_DT2 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ),), - - MODE_STAT =SIMP(statut='f',typ=mode_meca ), - MODE_CORR =SIMP(statut='f',typ=(mult_elas,mode_meca),), - - EXCIT_RESU =FACT(statut='f',max='**', - RESULTAT =SIMP(statut='o',typ=tran_gene ), - COEF_MULT =SIMP(statut='f',typ='R',defaut=1.0 ), - ), - - CHOC =FACT(statut='f',max='**', - regles=(UN_PARMI('MAILLE','GROUP_MA','NOEUD_1','GROUP_NO_1' ), - EXCLUS('NOEUD_2','GROUP_NO_2'), - PRESENT_ABSENT('GROUP_MA','NOEUD_2','GROUP_NO_2'), - PRESENT_ABSENT('MAILLE','NOEUD_2','GROUP_NO_2'),), - INTITULE =SIMP(statut='f',typ='TXM' ), - GROUP_MA =SIMP(statut='f',typ=grma,max='**'), - MAILLE =SIMP(statut='f',typ=ma,max='**'), - NOEUD_1 =SIMP(statut='f',typ=no), - NOEUD_2 =SIMP(statut='f',typ=no), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - OBSTACLE =SIMP(statut='o',typ=table_fonction), - ORIG_OBST =SIMP(statut='f',typ='R',min=3,max=3), - NORM_OBST =SIMP(statut='o',typ='R',min=3,max=3), - ANGL_VRIL =SIMP(statut='f',typ='R' ), - JEU =SIMP(statut='f',typ='R',defaut= 1. ), - DIST_1 =SIMP(statut='f',typ='R',val_min=0.E+0 ), - DIST_2 =SIMP(statut='f',typ='R',val_min=0.E+0 ), - SOUS_STRUC_1 =SIMP(statut='f',typ='TXM' ), - SOUS_STRUC_2 =SIMP(statut='f',typ='TXM' ), - REPERE =SIMP(statut='f',typ='TXM',defaut="GLOBAL"), - RIGI_NOR =SIMP(statut='f',typ='R' ), - AMOR_NOR =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - RIGI_TAN =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - AMOR_TAN =SIMP(statut='f',typ='R' ), - FROTTEMENT =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","COULOMB","COULOMB_STAT_DYNA") ), - b_coulomb =BLOC(condition="FROTTEMENT=='COULOMB'", - COULOMB =SIMP(statut='o',typ='R' ),), - b_coulomb_stat_dyna =BLOC(condition="FROTTEMENT=='COULOMB_STAT_DYNA'", - COULOMB_STAT =SIMP(statut='o',typ='R' ), - COULOMB_DYNA =SIMP(statut='o',typ='R' ),), - ), - VERI_CHOC =FACT(statut='f', - STOP_CRITERE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 0.5 ), - ), - FLAMBAGE =FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD_1','GROUP_NO_1'), - EXCLUS('NOEUD_2','GROUP_NO_2'),), - NOEUD_1 =SIMP(statut='f',typ=no), - NOEUD_2 =SIMP(statut='f',typ=no), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - OBSTACLE =SIMP(statut='o',typ=table_fonction), - ORIG_OBST =SIMP(statut='f',typ='R',max='**'), - NORM_OBST =SIMP(statut='o',typ='R',max='**'), - ANGL_VRIL =SIMP(statut='f',typ='R' ), - JEU =SIMP(statut='f',typ='R',defaut= 1. ), - DIST_1 =SIMP(statut='f',typ='R' ), - DIST_2 =SIMP(statut='f',typ='R' ), - REPERE =SIMP(statut='f',typ='TXM',defaut="GLOBAL"), - RIGI_NOR =SIMP(statut='f',typ='R' ), - FNOR_CRIT =SIMP(statut='f',typ='R' ), - FNOR_POST_FL =SIMP(statut='f',typ='R' ), - RIGI_NOR_POST_FL=SIMP(statut='f',typ='R' ), - ), - ANTI_SISM =FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD_1','GROUP_NO_1'), - UN_PARMI('NOEUD_2','GROUP_NO_2'),), - NOEUD_1 =SIMP(statut='f',typ=no), - NOEUD_2 =SIMP(statut='f',typ=no), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - RIGI_K1 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - RIGI_K2 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - SEUIL_FX =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - C =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PUIS_ALPHA =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - DX_MAX =SIMP(statut='f',typ='R',defaut= 1. ), - ), - RELA_EFFO_DEPL =FACT(statut='f',max='**', - NOEUD =SIMP(statut='o',typ=no), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - RELATION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - RELA_EFFO_VITE =FACT(statut='f',max='**', - NOEUD =SIMP(statut='o',typ=no), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - RELATION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - IMPRESSION =FACT(statut='f', - regles=(EXCLUS('TOUT','NIVEAU'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NIVEAU =SIMP(statut='f',typ='TXM',into=("DEPL_LOC","VITE_LOC","FORC_LOC","TAUX_CHOC") ), - INST_INIT =SIMP(statut='f',typ='R' ), - INST_FIN =SIMP(statut='f',typ='R' ), - ), - - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('DYNA_TRAN_MODAL'), -#------------------------------------------------------------------- - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: albert.alarcon at edf.fr - -#choix de structure de donnees de sortie en fonction de BASE_CALCUL et TYPE_CALCUL -def dyna_vibra_prod(self,BASE_CALCUL,TYPE_CALCUL,MATR_RIGI,**args): - if BASE_CALCUL == 'PHYS': - if TYPE_CALCUL == 'TRAN': return dyna_trans - else: - if (AsType(MATR_RIGI) == matr_asse_pres_c) : return acou_harmo - else: return dyna_harmo - else: - if TYPE_CALCUL == 'TRAN': return tran_gene - else: return harm_gene - -#from Macro.dyna_vibra_ops import dyna_vibra_ops - -DYNA_VIBRA=MACRO(nom="DYNA_VIBRA", - op=OPS('Macro.dyna_vibra_ops.dyna_vibra_ops'), -# op=dyna_vibra_ops, - sd_prod=dyna_vibra_prod, - reentrant='f', - fr="Calcul dynamique", - UIinfo={"groupes":("Resolution","Dynamique",)}, - BASE_CALCUL =SIMP(statut='o',typ='TXM',position='global',into=("PHYS","GENE") ), - TYPE_CALCUL =SIMP(statut='o',typ='TXM',position='global',into=("HARM","TRAN") ), - -#parametres de mise en donnees - b_donnees =BLOC(condition = "TYPE_CALCUL=='HARM'or (TYPE_CALCUL=='TRAN' and BASE_CALCUL=='PHYS')", - MODELE =SIMP(statut='f',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='f',typ=cham_mater ), - CARA_ELEM =SIMP(statut='f',typ=cara_elem ), - ), - b_matr_tran_phys =BLOC(condition = "TYPE_CALCUL=='TRAN' and BASE_CALCUL=='PHYS'", - MATR_MASS =SIMP(statut='o',typ=matr_asse_depl_r), - MATR_RIGI =SIMP(statut='o',typ=matr_asse_depl_r), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_depl_r), - ), - b_matr_tran_gene =BLOC(condition = "TYPE_CALCUL=='TRAN' and BASE_CALCUL=='GENE'", - MATR_MASS =SIMP(statut='o',typ=matr_asse_gene_r), - MATR_RIGI =SIMP(statut='o',typ=matr_asse_gene_r), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_gene_r), - VITESSE_VARIABLE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - b_variable =BLOC(condition="VITESSE_VARIABLE=='OUI'", - MATR_GYRO =SIMP(statut='o',typ=matr_asse_gene_r ), - VITE_ROTA =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - MATR_RIGY =SIMP(statut='f',typ=matr_asse_gene_r ), - ACCE_ROTA =SIMP(statut='f',typ=(fonction_sdaster,formule) ), - ), - b_constante =BLOC(condition="VITESSE_VARIABLE=='NON'", - VITE_ROTA = SIMP(statut='o',typ='R',defaut=0.E0), - ), - ), - b_reuse_harm =BLOC(condition = "reuse and TYPE_CALCUL == 'HARM'",fr="en mode concept reentrant : RESULTAT obligatoire", - RESULTAT =SIMP(statut='o',typ=(dyna_harmo,harm_gene)), - ), - b_matr_harm =BLOC(condition="TYPE_CALCUL == 'HARM'", - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_pres_c,matr_asse_gene_r ) ), - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_pres_c - ,matr_asse_gene_r,matr_asse_gene_c )), - MATR_AMOR =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_pres_c,matr_asse_gene_r) ), - MATR_IMPE_PHI =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_gene_r) ), - ), - - AMOR_MODAL =FACT(statut='f', - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - b_mode =BLOC(condition = "BASE_CALCUL == 'PHYS' and TYPE_CALCUL == 'TRAN'", - MODE_MECA =SIMP(statut='o',typ=mode_meca ), - NB_MODE =SIMP(statut='f',typ='I',defaut= 9999 ), - ), - ), -#introduction parametres du calcul harmonique - b_param_harm =BLOC(condition="TYPE_CALCUL == 'HARM'", - regles=(UN_PARMI('FREQ','LIST_FREQ'), - EXCLUS('NOM_CHAM','TOUT_CHAM')), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=3,into=("DEPL","VITE","ACCE") ), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",)), - ), - -#parametrage des calculs transitoires - b_tran = BLOC(condition = "TYPE_CALCUL == 'TRAN'", -#parametrage des schemas d'integration - SCHEMA_TEMPS =FACT(statut='d', - SCHEMA =SIMP(statut='f',typ='TXM',defaut="NEWMARK", - into=("NEWMARK","WILSON","ADAPT_ORDRE2","DIFF_CENTRE","ADAPT_ORDRE1","DEVOGE","EULER","ITMI","RUNGE_KUTTA_54","RUNGE_KUTTA_32"),), - b_itmi =BLOC(condition = "SCHEMA == 'ITMI'", -regles=(ENSEMBLE('BASE_ELAS_FLUI','NUME_VITE_FLUI'),), - BASE_ELAS_FLUI =SIMP(statut='f',typ=melasflu_sdaster ), - NUME_VITE_FLUI =SIMP(statut='f',typ='I' ), - ETAT_STAT =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - PREC_DUREE =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - CHOC_FLUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - NB_MODE =SIMP(statut='f',typ='I' ), - NB_MODE_FLUI =SIMP(statut='f',typ='I' ), - TS_REG_ETAB =SIMP(statut='f',typ='R' ), - ), - b_newmark =BLOC(condition = "SCHEMA == 'NEWMARK'", - BETA =SIMP(statut='f',typ='R',defaut= 0.25 ), - GAMMA =SIMP(statut='f',typ='R',defaut= 0.5 ), - ), - b_wilson =BLOC(condition = "SCHEMA == 'WILSON'", - THETA =SIMP(statut='f',typ='R',defaut= 1.4 ), - ), - b_runge_kutta =BLOC(condition="SCHEMA=='RUNGE_KUTTA_54' or SCHEMA=='RUNGE_KUTTA_32'", - TOLERANCE =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - ), - - INCREMENT =FACT(statut='o', - regles=(UN_PARMI('LIST_INST','PAS'),), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - PAS =SIMP(statut='f',typ='R' ), - b_pas =BLOC(condition = "PAS != None", - INST_INIT =SIMP(statut='f',typ='R' ), - INST_FIN =SIMP(statut='o',typ='R' ), - ), - b_list =BLOC(condition = "LIST_INST != None", - regles=(EXCLUS('INST_FIN','NUME_FIN'),), - NUME_FIN =SIMP(statut='f',typ='I' ), - INST_FIN =SIMP(statut='f',typ='R' ), - ), - b_veri_pas = BLOC(condition="BASE_CALCUL == 'GENE'", - VERI_PAS =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PAS_MAXI =SIMP(statut='f',typ='R' ), - ), - VITE_MIN =SIMP(statut='f',typ='TXM',defaut="NORM",into=("MAXI","NORM") ), - COEF_MULT_PAS =SIMP(statut='f',typ='R',defaut= 1.1 ), - COEF_DIVI_PAS =SIMP(statut='f',typ='R',defaut= 1.3333334 ), - PAS_LIMI_RELA =SIMP(statut='f',typ='R',defaut= 1.E-6 ), - NB_POIN_PERIODE =SIMP(statut='f',typ='I',defaut= 50 ), - NMAX_ITER_PAS =SIMP(statut='f',typ='I',defaut= 16 ), - PAS_MINI =SIMP(statut='f',typ='R' ), - ), - -#declaration de l'etat initial - b_init_gene =BLOC(condition="BASE_CALCUL == 'GENE'", - ETAT_INIT =FACT(statut='f', - regles=(EXCLUS('RESULTAT','DEPL'), - EXCLUS('RESULTAT','VITE'),), - RESULTAT =SIMP(statut='f',typ=tran_gene), - b_resu =BLOC(condition = "RESULTAT != NONE", - regles=( EXCLUS('NUME_ORDRE','INST_INIT' ),), - NUME_ORDRE =SIMP(statut='f',typ='I' ), - INST_INIT =SIMP(statut='f',typ='R' ), - b_inst_init =BLOC(condition = "INST_INIT != None", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,), - ), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',), - ), - ), - ), - DEPL =SIMP(statut='f',typ=vect_asse_gene), - VITE =SIMP(statut='f',typ=vect_asse_gene), - ), - ), - b_init_phys =BLOC(condition="BASE_CALCUL == 'PHYS'", - ETAT_INIT =FACT(statut='f', - regles=(AU_MOINS_UN('RESULTAT', 'DEPL', 'VITE', 'ACCE'), - PRESENT_ABSENT('RESULTAT', 'DEPL', 'VITE', 'ACCE'),), - RESULTAT =SIMP(statut='f',typ=dyna_trans), - b_resu =BLOC(condition = "RESULTAT != NONE", - regles=( EXCLUS('NUME_ORDRE','INST_INIT' ),), - NUME_ORDRE =SIMP(statut='f',typ='I' ), - INST_INIT =SIMP(statut='f',typ='R' ), - b_inst_init =BLOC(condition = "INST_INIT != None", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,), - ), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',), - ), - ), - ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - VITE =SIMP(statut='f',typ=cham_no_sdaster), - ACCE =SIMP(statut='f',typ=cham_no_sdaster), - ), - ), -#parametres d'archivage - bloc_archi =BLOC(condition="TYPE_CALCUL == 'TRAN'", - ARCHIVAGE =FACT(statut='f',max=1, - regles=(EXCLUS('LIST_INST','PAS_ARCH','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_ARCH = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - - b_cham_exclu =BLOC(condition="BASE_CALCUL == 'PHYS'", - CHAM_EXCLU =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=("DEPL","VITE","ACCE") ), - ), - ),),), - -#calcul des energies - bloc_ener =BLOC(condition="TYPE_CALCUL == 'TRAN' and BASE_CALCUL == 'PHYS'", - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), - ), - -#definition du chargement - b_excit_harm =BLOC(condition="TYPE_CALCUL == 'HARM'", - EXCIT =FACT(statut='o',max='**', - regles=(UN_PARMI('VECT_ASSE','VECT_ASSE_GENE','CHARGE'), - UN_PARMI('FONC_MULT','FONC_MULT_C','COEF_MULT','COEF_MULT_C'), - ), - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster), - VECT_ASSE_GENE =SIMP(statut='f',typ=vect_asse_gene), - CHARGE =SIMP(statut='f', typ=char_meca ), - FONC_MULT_C =SIMP(statut='f',typ=(fonction_c,formule_c) ), - COEF_MULT_C =SIMP(statut='f',typ='C' ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_MULT =SIMP(statut='f',typ='R' ), - PHAS_DEG =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PUIS_PULS =SIMP(statut='f',typ='I',defaut= 0 ), - - ), - EXCIT_RESU =FACT(statut='f',max='**', - RESULTAT =SIMP(statut='o',typ=(dyna_harmo,harm_gene) ), - COEF_MULT_C =SIMP(statut='o',typ='C' ),), - - ), - b_excit_tran_mod=BLOC(condition="TYPE_CALCUL == 'TRAN' and BASE_CALCUL == 'GENE'", - regles=(PRESENT_ABSENT('MODE_STAT','MODE_CORR'),), - EXCIT =FACT(statut='f',max='**', - regles=(UN_PARMI('FONC_MULT','COEF_MULT','ACCE'), - UN_PARMI('VECT_ASSE_GENE','NUME_ORDRE',), - PRESENT_PRESENT('ACCE','VITE','DEPL'), - EXCLUS('MULT_APPUI','CORR_STAT'), - PRESENT_PRESENT('MULT_APPUI','ACCE'), - ), - VECT_ASSE_GENE =SIMP(statut='f',typ=vect_asse_gene ), - NUME_ORDRE =SIMP(statut='f',typ='I' ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_MULT =SIMP(statut='f',typ='R' ), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MULT_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_mult_appui =BLOC(condition = "MULT_APPUI == 'OUI'", - regles=(EXCLUS('NOEUD','GROUP_NO'),), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - CORR_STAT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_corr_stat =BLOC(condition = "CORR_STAT == 'OUI'", - D_FONC_DT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - D_FONC_DT2 =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - ), - MODE_STAT =SIMP(statut='f',typ=mode_meca ), - MODE_CORR =SIMP(statut='f',typ=(mult_elas,mode_meca),), - - EXCIT_RESU =FACT(statut='f',max='**', - RESULTAT =SIMP(statut='o',typ=tran_gene ), - COEF_MULT =SIMP(statut='f',typ='R',defaut=1.0 ), - ), - - ), - b_excit_line_tran =BLOC(condition="TYPE_CALCUL == 'TRAN' and BASE_CALCUL == 'PHYS'", - EXCIT =FACT(statut='f',max='**', - regles=(UN_PARMI('CHARGE','VECT_ASSE'), - EXCLUS('CHARGE','COEF_MULT'), - EXCLUS('FONC_MULT','COEF_MULT'), - EXCLUS('ACCE','COEF_MULT'), - PRESENT_ABSENT('ACCE','FONC_MULT'), - PRESENT_PRESENT('ACCE','VITE','DEPL'), - ), - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster), - CHARGE =SIMP(statut='f',typ=char_meca ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - COEF_MULT =SIMP(statut='f',typ='R' ), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - MULT_APPUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - b_mult_appui =BLOC(condition = "MULT_APPUI == 'OUI'", - regles=(EXCLUS('NOEUD','GROUP_NO'),), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - ), - MODE_STAT =SIMP(statut='f',typ=mode_meca ), - EXCIT_RESU =FACT(statut='f', - RESULTAT =SIMP(statut='o',typ=dyna_trans ), - COEF_MULT =SIMP(statut='o',typ='R' ), - ), - ), - -#definition des chocs - b_non_line_loca =BLOC(condition="TYPE_CALCUL == 'TRAN' and BASE_CALCUL=='GENE'", - CHOC =FACT(statut='f',max='**', - regles=(UN_PARMI('MAILLE','GROUP_MA','NOEUD_1','GROUP_NO_1' ), - EXCLUS('NOEUD_2','GROUP_NO_2'), - PRESENT_ABSENT('GROUP_MA','NOEUD_2','GROUP_NO_2'), - PRESENT_ABSENT('MAILLE','NOEUD_2','GROUP_NO_2'),), - INTITULE =SIMP(statut='f',typ='TXM' ), - GROUP_MA =SIMP(statut='f',typ=grma,max='**'), - MAILLE =SIMP(statut='f',typ=ma,max='**'), - NOEUD_1 =SIMP(statut='f',typ=no), - NOEUD_2 =SIMP(statut='f',typ=no), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - OBSTACLE =SIMP(statut='o',typ=table_fonction), - ORIG_OBST =SIMP(statut='f',typ='R',min=3,max=3), - NORM_OBST =SIMP(statut='o',typ='R',min=3,max=3), - ANGL_VRIL =SIMP(statut='f',typ='R' ), - JEU =SIMP(statut='f',typ='R',defaut= 1. ), - DIST_1 =SIMP(statut='f',typ='R',val_min=0.E+0 ), - DIST_2 =SIMP(statut='f',typ='R',val_min=0.E+0 ), - SOUS_STRUC_1 =SIMP(statut='f',typ='TXM' ), - SOUS_STRUC_2 =SIMP(statut='f',typ='TXM' ), - REPERE =SIMP(statut='f',typ='TXM',defaut="GLOBAL"), - RIGI_NOR =SIMP(statut='f',typ='R' ), - AMOR_NOR =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - RIGI_TAN =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - AMOR_TAN =SIMP(statut='f',typ='R' ), - FROTTEMENT =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","COULOMB","COULOMB_STAT_DYNA") ), - b_coulomb =BLOC(condition="FROTTEMENT=='COULOMB'", - COULOMB =SIMP(statut='o',typ='R' ),), - b_coulomb_stat_dyna =BLOC(condition="FROTTEMENT=='COULOMB_STAT_DYNA'", - COULOMB_STAT =SIMP(statut='o',typ='R' ), - COULOMB_DYNA =SIMP(statut='o',typ='R' ),), - ), - VERI_CHOC =FACT(statut='f', - STOP_CRITERE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 0.5 ), - ), - - ROTOR_FISS = FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD_D','GROUP_NO_D'), - EXCLUS('NOEUD_G','GROUP_NO_G'), - PRESENT_PRESENT('NOEUD_D','NOEUD_G'), - PRESENT_PRESENT('GROUP_NO_D','GROUP_NO_G',),), - ANGL_INIT = SIMP(statut='o',typ='R',defaut=0.E0), - ANGL_ROTA = SIMP(statut='f',typ=(fonction_sdaster,formule) ), - NOEUD_G = SIMP(statut='f',typ=no), - NOEUD_D = SIMP(statut='f',typ=no), - GROUP_NO_G = SIMP(statut='f',typ=grno), - GROUP_NO_D = SIMP(statut='f',typ=grno), - K_PHI = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - DK_DPHI = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - -#parametres flambage - FLAMBAGE =FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD_1','GROUP_NO_1'), - EXCLUS('NOEUD_2','GROUP_NO_2'),), - NOEUD_1 =SIMP(statut='f',typ=no), - NOEUD_2 =SIMP(statut='f',typ=no), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - OBSTACLE =SIMP(statut='o',typ=table_fonction), - ORIG_OBST =SIMP(statut='f',typ='R',max='**'), - NORM_OBST =SIMP(statut='o',typ='R',max='**'), - ANGL_VRIL =SIMP(statut='f',typ='R' ), - JEU =SIMP(statut='f',typ='R',defaut= 1. ), - DIST_1 =SIMP(statut='f',typ='R' ), - DIST_2 =SIMP(statut='f',typ='R' ), - REPERE =SIMP(statut='f',typ='TXM',defaut="GLOBAL"), - RIGI_NOR =SIMP(statut='f',typ='R' ), - FNOR_CRIT =SIMP(statut='f',typ='R' ), - FNOR_POST_FL =SIMP(statut='f',typ='R' ), - RIGI_NOR_POST_FL=SIMP(statut='f',typ='R' ), - ), - -#non-linearite si dispositif anti-sismique - ANTI_SISM =FACT(statut='f',max='**', - regles=(UN_PARMI('NOEUD_1','GROUP_NO_1'), - UN_PARMI('NOEUD_2','GROUP_NO_2'),), - NOEUD_1 =SIMP(statut='f',typ=no), - NOEUD_2 =SIMP(statut='f',typ=no), - GROUP_NO_1 =SIMP(statut='f',typ=grno), - GROUP_NO_2 =SIMP(statut='f',typ=grno), - RIGI_K1 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - RIGI_K2 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - SEUIL_FX =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - C =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - PUIS_ALPHA =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - DX_MAX =SIMP(statut='f',typ='R',defaut= 1. ), - ), -#non-linearite effort-deplacement - RELA_EFFO_DEPL =FACT(statut='f',max='**', - NOEUD =SIMP(statut='o',typ=no), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - RELATION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), -#non-linearite effort-vitesse - RELA_EFFO_VITE =FACT(statut='f',max='**', - NOEUD =SIMP(statut='o',typ=no), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - RELATION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - b_solv_harm_gene =BLOC(condition = "BASE_CALCUL=='GENE' and TYPE_CALCUL=='HARM'", - fr="Methode de resolution matrice generalisee", - SOLVEUR =C_SOLVEUR('DYNA_LINE_HARM','GENE'), - ), - b_solv_harm_phys =BLOC(condition = "BASE_CALCUL=='PHYS' and TYPE_CALCUL=='HARM'", - fr="Methode de resolution matrice sur ddl physique", - SOLVEUR =C_SOLVEUR('DYNA_LINE_HARM','PHYS'), - ), - b_solv_line_tran =BLOC(condition = "BASE_CALCUL=='PHYS' and TYPE_CALCUL=='TRAN'", - SOLVEUR =C_SOLVEUR('DYNA_LINE_TRAN'), - ), - b_solv_tran_gene =BLOC(condition = "BASE_CALCUL=='GENE' and TYPE_CALCUL=='TRAN'", - SOLVEUR =C_SOLVEUR('DYNA_TRAN_MODAL'), - ), -#------------------------------------------------------------------- - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - b_impression = BLOC(condition = "BASE_CALCUL=='GENE' and TYPE_CALCUL=='TRAN'", - IMPRESSION =FACT(statut='f', - regles=(EXCLUS('TOUT','NIVEAU'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NIVEAU =SIMP(statut='f',typ='TXM',into=("DEPL_LOC","VITE_LOC","FORC_LOC","TAUX_CHOC") ), - INST_INIT =SIMP(statut='f',typ='R' ), - INST_FIN =SIMP(statut='f',typ='R' ), - ), - ), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def elim_lagr_prod(MATR_RIGI,**args): - if AsType(MATR_RIGI) == matr_asse_depl_r : return matr_asse_depl_r - raise AsException("type de concept resultat non prevu") - -ELIM_LAGR=OPER(nom="ELIM_LAGR",op=69,sd_prod=elim_lagr_prod, - fr="Créer une matrice en ayant éliminé les condition cinématiques dualisées.", - reentrant='f', UIinfo={"groupes":("Résolution",)}, - - # Matrice de "rigidité" (celle qui contient les équations dualisées) : - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,) ), - - # Matrice à réduire (si ce n'est pas la matrice de rigidité) : - MATR_ASSE =SIMP(statut='f',typ=(matr_asse_depl_r,) ), - - - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -ENGENDRE_TEST=PROC(nom="ENGENDRE_TEST",op=178, - UIinfo={"groupes":("Impression","Utilitaires",)}, - fr="Engendre des tests pour la non régression du code (pour développeurs)", - UNITE =SIMP(statut='f',typ='I',defaut=8), - FORMAT =SIMP(statut='f',typ='TXM',into=("OBJET",) ), - FORMAT_R =SIMP(statut='f',typ='TXM',defaut="1PE20.13"), - PREC_R =SIMP(statut='f',typ='TXM',defaut="1.E-10"), -#============================================================================ - b_aster =BLOC( condition = "FORMAT==None", - CO =SIMP(statut='o',typ=(cham_gd_sdaster,resultat_sdaster,table_sdaster), - validators=NoRepeat(),max='**'), - TYPE_TEST =SIMP(statut='f',typ='TXM',defaut="SOMM_ABS",into=("SOMME","SOMM_ABS","MAX","MIN") ), - ), -#============================================================================ - b_objet =BLOC( condition = "FORMAT=='OBJET'", - regles=(UN_PARMI('TOUT','CO'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - CO =SIMP(statut='f',typ=assd,validators=NoRepeat(),max='**'), - TYPE_TEST =SIMP(statut='f',typ='TXM',defaut="SOMME",into=("SOMME",) ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -# -# ENVOI DES CHAMPS CINEMATIQUES VIA YACS POUR COUPLAGE IFS -# -ENV_CINE_YACS=PROC(nom = "ENV_CINE_YACS", - op = 111, - UIinfo = {"groupes":("Résultats et champs",)}, - fr = "Envoi des champs de deplacement et vitesse via YACS pour Couplage de Code_Aster et Saturne", - regles = (EXCLUS('ETAT_INIT','RESULTAT',),), - MATR_PROJECTION = SIMP(statut='o', typ=corresp_2_mailla,), - VIS_A_VIS = FACT(statut='o', max='**', - GROUP_MA_1=SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO_2=SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'),), - RESULTAT = FACT(statut='f', - NUME_ORDRE=SIMP(statut='o', typ='I', validators=NoRepeat()), - RESU =SIMP(statut='o', typ=resultat_sdaster, validators=NoRepeat()),), - ETAT_INIT = FACT(statut='f', - DEPL=SIMP(statut='f', typ=cham_no_sdaster, validators=NoRepeat()), - VITE=SIMP(statut='f', typ=cham_no_sdaster, validators=NoRepeat()), - ACCE=SIMP(statut='f', typ=cham_no_sdaster, validators=NoRepeat()),), - INST = SIMP(statut='o',typ='R', ), - PAS = SIMP(statut='o',typ='R', ), - NUME_ORDRE_YACS = SIMP(statut='o', typ='I',), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr - -def exec_logiciel_prod(self, MAILLAGE, **args): - if MAILLAGE != None: - mcf = MAILLAGE[0] - self.type_sdprod(mcf['MAILLAGE'], maillage_sdaster) - return None - -EXEC_LOGICIEL = MACRO(nom="EXEC_LOGICIEL", - op=OPS('Macro.exec_logiciel_ops.exec_logiciel_ops'), - sd_prod=exec_logiciel_prod, - fr="Exécute un logiciel ou une commande système depuis Aster", - UIinfo={"groupes":("Gestion du travail","Outils-métier",)}, - - regles = ( AU_MOINS_UN('LOGICIEL', 'MAILLAGE', 'SALOME'), - EXCLUS('MACHINE_DISTANTE','MAILLAGE'), - EXCLUS('MAILLAGE','SALOME'), - ), - - LOGICIEL = SIMP(statut='f', typ='TXM'), - ARGUMENT = SIMP(statut='f', max='**', typ='TXM'), - - - MACHINE_DISTANTE = FACT(statut='f', - SSH_ADRESSE = SIMP(statut='o', typ='TXM', val_min=1, val_max=255, - fr="Adresse IP ou nom de la machine sur laquelle le logiciel/script sera exécuté via SSH"), - SSH_LOGIN = SIMP(statut='f', typ='TXM', val_min=1, val_max=255, - fr="Nom d'utilisateur sur la machine distante"), - SSH_PORT = SIMP(statut='f', typ='I', val_min=1, val_max=65535, defaut=22, - fr="Port SSH de la machien distante"), - ), - - - MAILLAGE = FACT(statut='f', - FORMAT = SIMP(statut='o', typ='TXM', into=("GMSH", "GIBI", "SALOME")), - UNITE_GEOM = SIMP(statut='f', typ='I', val_min=10, val_max=90, defaut=16, - fr="Unité logique définissant le fichier (fort.N) contenant les données géométriques (datg)"), - UNITE = SIMP(statut='f', typ='I', val_min=10, val_max=90, defaut=19, - fr="Unité logique définissant le fichier (fort.N) produit par le mailleur"), - MAILLAGE = SIMP(statut='o', typ=CO), - ), - - - SALOME = FACT(statut='f', - regles=(UN_PARMI('CHEMIN_SCRIPT', 'UNITE_SCRIPT'), - PRESENT_PRESENT('NOM_PARA','VALE'),), - CHEMIN_SCRIPT = SIMP(statut='f', typ='TXM', - fr="Chemin du script Salome"), - UNITE_SCRIPT = SIMP(statut='f', typ='I', val_min=80, val_max=99, - fr="Unité logique du script Salome"), - SALOME_HOST = SIMP(statut='f', typ='TXM', defaut='localhost', - fr="Machine sur laquelle tourne Salome"), - SALOME_PORT = SIMP(statut='f', typ='I', val_min=2800, val_max=2900, defaut=2810, - fr="Port de l'instance Salome (2810 ou supérieur)"), - SALOME_RUNAPPLI = SIMP(statut='f', typ='TXM', - fr="Chemin vers le script de lancement runAppli de Salome"), - FICHIERS_ENTREE = SIMP(statut='f', typ='TXM', validators=NoRepeat(),max='**', - fr="Liste des fichiers d'entrée du script Salome"), - FICHIERS_SORTIE = SIMP(statut='f', typ='TXM', validators=NoRepeat(),max='**', - fr="Liste des fichiers générés par le script Salome"), - NOM_PARA = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - fr="Liste des noms des paramètres à modifier dans le script Salome"), - VALE = SIMP(statut='f',typ='TXM',max='**', - fr="Valeur des paramètres à) modifier dans le script Salome"), - ), - - CODE_RETOUR_MAXI = SIMP(statut='f', typ='I', defaut=0, val_min=-1, - fr="Valeur maximale du code retour toléré (-1 pour l'ignorer)"), - - INFO = SIMP(statut='f', typ='I', defaut=2, into=(1,2),), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.brie at edf.fr - -def extr_mode_prod(FILTRE_MODE,**args): - vale=FILTRE_MODE[0]['MODE'] - if AsType(vale) == mode_meca : return mode_meca - if AsType(vale) == mode_meca_c : return mode_meca_c - if AsType(vale) == mode_gene : return mode_gene - raise AsException("type de concept resultat non prevu") - -EXTR_MODE=OPER(nom="EXTR_MODE",op= 168,sd_prod=extr_mode_prod, - reentrant='n',fr="Extraire séléctivement des modes des structures de données modales", - UIinfo={"groupes":("Résolution","Dynamique",)}, - FILTRE_MODE =FACT(statut='o',max='**', - regles=(UN_PARMI('TOUT_ORDRE','NUME_ORDRE','NUME_MODE','NUME_MODE_EXCLU','FREQ_MIN','CRIT_EXTR',),), - MODE =SIMP(statut='o',typ=(mode_meca,mode_meca_c,mode_gene ) ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE_EXCLU =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - FREQ_MIN =SIMP(statut='f',typ='R' ), - CRIT_EXTR =SIMP(statut='f',typ='TXM',into=("MASS_EFFE_UN","MASS_GENE") ), - b_freq_min =BLOC(condition = "FREQ_MIN != None", - FREQ_MAX =SIMP(statut='o',typ='R' ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - b_crit_extr =BLOC(condition = "CRIT_EXTR != None", - regles=(AU_MOINS_UN('SEUIL','SEUIL_X','SEUIL_Y','SEUIL_Z'),), - SEUIL =SIMP(statut='f',typ='R'), - SEUIL_X =SIMP(statut='f',typ='R'), - SEUIL_Y =SIMP(statut='f',typ='R'), - SEUIL_Z =SIMP(statut='f',typ='R'), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - IMPRESSION =FACT(statut='f', - CUMUL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - CRIT_EXTR =SIMP(statut='f',typ='TXM',defaut="MASS_EFFE_UN",into=("MASS_EFFE_UN","MASS_GENE") ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr - -def extr_resu_prod(RESULTAT,**args): - if AsType(RESULTAT) == evol_elas : return evol_elas - if AsType(RESULTAT) == evol_noli : return evol_noli - if AsType(RESULTAT) == evol_ther : return evol_ther - if AsType(RESULTAT) == evol_varc : return evol_varc - if AsType(RESULTAT) == dyna_trans : return dyna_trans - if AsType(RESULTAT) == dyna_harmo : return dyna_harmo - if AsType(RESULTAT) == acou_harmo : return acou_harmo - if AsType(RESULTAT) == mode_meca : return mode_meca - if AsType(RESULTAT) == mode_acou : return mode_acou - if AsType(RESULTAT) == mult_elas : return mult_elas - if AsType(RESULTAT) == fourier_elas : return fourier_elas - - raise AsException("type de concept resultat non prevu") - -EXTR_RESU=OPER(nom="EXTR_RESU",op=176,sd_prod=extr_resu_prod,reentrant='f', - UIinfo={"groupes":("Résultats et champs",)}, - fr="Extraire des champs au sein d'une SD Résultat", - RESULTAT =SIMP(statut='o',typ=(evol_elas,dyna_trans,dyna_harmo,acou_harmo,mode_meca, - mode_acou,evol_ther,evol_noli,evol_varc, - mult_elas,fourier_elas,fourier_ther ) ), - - - ARCHIVAGE =FACT(statut='f', - regles=( UN_PARMI('NUME_ORDRE', 'INST', 'FREQ', 'NUME_MODE', - 'NOEUD_CMP', 'LIST_INST', 'LIST_FREQ', 'LIST_ORDRE', - 'NOM_CAS', 'LIST_ARCH', 'PAS_ARCH' ), - EXCLUS( 'CHAM_EXCLU','NOM_CHAM' ), ), - CHAM_EXCLU =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO()), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - LIST_ARCH =SIMP(statut='f',typ=listis_sdaster), - PAS_ARCH =SIMP(statut='f',typ='I'), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM'), - ), - - RESTREINT =FACT(statut='f', max=1, - fr="Pour réduire une ou plusieurs sd_resultat sur un maillage ou un modèle réduit", - regles=(UN_PARMI('MAILLAGE','MODELE'),), - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster), - MODELE =SIMP(statut='f',typ=modele_sdaster), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -def extr_table_prod(TYPE_RESU,**args): - defs = globals() - typ = TYPE_RESU.lower() - if defs.get(typ) is not None: - return defs[typ] - raise AsException("type de concept resultat non prevu") - -EXTR_TABLE=OPER(nom="EXTR_TABLE", - op=173, - sd_prod=extr_table_prod, - reentrant='n', - UIinfo={"groupes":("Résultats et champs","Tables")}, - fr="Extraire d'une table des concepts Code_Aster", - TYPE_RESU =SIMP(statut='o',typ='TXM', - into=('MATR_ASSE_GENE_R', 'MATR_ELEM_DEPL_R', - 'VECT_ELEM_DEPL_R', - 'CHAM_GD_SDASTER', 'CHAM_NO_SDASTER', - 'CARTE_SDASTER', 'CHAM_ELEM', - 'MODE_MECA','TABLE_SDASTER', - 'FONCTION_SDASTER', 'FONCTION_C', 'NAPPE_SDASTER', - 'ENTIER', 'REEL'),), - - TABLE =SIMP(statut='o',typ=(table_sdaster,table_container)), - - NOM_PARA =SIMP(statut='o',typ='TXM'), - - FILTRE =FACT(statut='f',min=1,max='**', - NOM_PARA =SIMP(statut='o',typ='TXM'), - CRIT_COMP =SIMP(statut='f',typ='TXM',defaut="EQ", - into=("EQ","LT","GT","NE","LE","GE","VIDE", - "NON_VIDE","MAXI","MAXI_ABS","MINI","MINI_ABS") ), - b_vale =BLOC(condition = "(CRIT_COMP in ('EQ','NE','GT','LT','GE','LE'))", - regles=(UN_PARMI('VALE','VALE_I','VALE_K','VALE_C',),), - VALE =SIMP(statut='f',typ='R'), - VALE_I =SIMP(statut='f',typ='I'), - VALE_C =SIMP(statut='f',typ='C'), - VALE_K =SIMP(statut='f',typ='TXM'),), - - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def factoriser_prod(MATR_ASSE,**args): - if AsType(MATR_ASSE) == matr_asse_depl_r : return matr_asse_depl_r - if AsType(MATR_ASSE) == matr_asse_depl_c : return matr_asse_depl_c - if AsType(MATR_ASSE) == matr_asse_temp_r : return matr_asse_temp_r - if AsType(MATR_ASSE) == matr_asse_temp_c : return matr_asse_temp_c - if AsType(MATR_ASSE) == matr_asse_pres_r : return matr_asse_pres_r - if AsType(MATR_ASSE) == matr_asse_pres_c : return matr_asse_pres_c - raise AsException("type de concept resultat non prevu") - -FACTORISER=OPER(nom="FACTORISER",op=14,sd_prod=factoriser_prod, - fr="Factoriser une matrice assemblée en un produit de deux matrices triangulaires"+ - "ou construire une matrice de préconditionnement pour une résolution par gradient conjugué", - reentrant='f', UIinfo={"groupes":("Résolution",)}, - regles=(EXCLUS('BLOC_DEBUT','DDL_DEBUT'), - EXCLUS('BLOC_FIN','DDL_FIN'),), - MATR_ASSE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r, - matr_asse_temp_c,matr_asse_pres_r,matr_asse_pres_c) ), - - # mots clés pour solveur LDLT et MULT_FRONT et MUMPS: - STOP_SINGULIER =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - NPREC =SIMP(statut='f',typ='I',defaut=8), - - # mots clés pour solveur LDLT : - BLOC_DEBUT =SIMP(statut='f',typ='I',val_min=1,), - DDL_DEBUT =SIMP(statut='f',typ='I',val_min=1,), - BLOC_FIN =SIMP(statut='f',typ='I',val_min=1,), - DDL_FIN =SIMP(statut='f',typ='I',val_min=1,), - - # mots clés pour solveur MUMPS : - TYPE_RESOL =SIMP(statut='f',typ='TXM',defaut='AUTO',into=('NONSYM','SYMGEN','SYMDEF','AUTO')), - PRETRAITEMENTS =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("SANS","AUTO")), - PCENT_PIVOT =SIMP(statut='f',typ='I',defaut=20,), - ELIM_LAGR =SIMP(statut='f',typ='TXM',defaut="LAGR2",into=("LAGR2","NON")), - GESTION_MEMOIRE =SIMP(statut='f',typ='TXM',defaut="IN_CORE",into=("IN_CORE","OUT_OF_CORE","EVAL")), - - # mots clés pour solveur GCPC et PETSc : - PRE_COND =SIMP(statut='f',typ='TXM',into=("LDLT_INC","JACOBI","SOR","LDLT_SP"),defaut="LDLT_INC" ), - b_ldlt_inc =BLOC(condition = "PRE_COND == 'LDLT_INC' ", - NIVE_REMPLISSAGE = SIMP(statut='f',typ='I',defaut= 0 ), - REMPLISSAGE = SIMP(statut='f',typ='R',defaut= 1.0), - ), - b_ldlt_sp =BLOC(condition = "PRE_COND == 'LDLT_SP' ", fr="Paramètres de la factorisation simple précision", - REAC_PRECOND =SIMP(statut='f',typ='I',defaut=30, ), - ), - b_jacobi_sor =BLOC(condition = "PRE_COND == 'JACOBI' or PRE_COND == 'SOR'", - fr="Paramètres des préconditionneurs JACOBI et SOR", - RENUM =SIMP(statut='f',typ='TXM',defaut="SANS",into=("SANS","RCMK") ), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -FIN=PROC(nom="FIN",op=9999,repetable='n',fr="Fin d'une étude, fin du travail engagé par une des commandes DEBUT ou POURSUITE", - UIinfo={"groupes":("Gestion du travail",)}, -# -# FIN est appelé prématurément en cas d'exception ("SIGUSR1", ArretCPUError, -# NonConvergenceError..., erreurs ou erreurs récupérées). -# En cas d'ArretCPUError, on limite au maximum le travail à faire dans FIN. -# Pour cela, on force certains mots-clés dans Execution/E_JDC.py. -# - FORMAT_HDF =SIMP(fr="sauvegarde de la base GLOBALE au format HDF",statut='f', - typ='TXM',defaut="NON",into=("OUI","NON",) ), - RETASSAGE =SIMP(fr="provoque le retassage de la base GLOBALE", - statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), - INFO_RESU =SIMP(fr="provoque l'impression des informations sur les structures de données", - statut='f',typ='TXM',defaut="OUI",into=("OUI","NON",) ), - UNITE =SIMP(statut='f',typ='I',defaut=6), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -FONC_FLUI_STRU=OPER(nom="FONC_FLUI_STRU",op= 169,sd_prod=fonction_sdaster, - reentrant='n',fr="Crée une fonction constante paramétrée par l'abscisse curviligne", - UIinfo={"groupes":("Fonctions",)}, - TYPE_FLUI_STRU =SIMP(statut='o',typ=(type_flui_stru) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def formule_prod(self, VALE, VALE_C, **args): - if VALE != None: - return formule - elif VALE_C != None: - return formule_c - -FORMULE=FORM(nom="FORMULE", - op_init=ops.build_formule, - op=-5, - sd_prod=formule_prod, - UIinfo={"groupes":("Fonctions",)}, - fr="Définit une formule réelle ou complexe à partir de son expression mathématique", - regles = (UN_PARMI('VALE', 'VALE_C',),), - VALE = SIMP(statut='f', typ='TXM'), - VALE_C = SIMP(statut='f', typ='TXM'), - NOM_PARA = SIMP(statut='o', typ='TXM', max='**'), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -GENE_ACCE_SEISME=MACRO(nom="GENE_ACCE_SEISME", - op=OPS('Macro.gene_acce_seisme_ops.gene_acce_seisme_ops'), - sd_prod=table_fonction, - fr="Generation d'accelerogrammes sismiques ", - reentrant='n', - UIinfo={"groupes":("Fonctions","Dynamique",)}, - - INIT_ALEA =SIMP(statut='f',typ='I'), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - PAS_INST =SIMP(statut='o',typ='R' ), - NB_POIN =SIMP(statut='f',typ='I',fr="nombre de points" ), - PESANTEUR =SIMP(statut='o', typ='R', fr="constante de normalisation de ACCE_MAX, ECART_TYPE et INTE_ARIAS (g) ou le spectre" ), - DUREE_PHASE_FORTE =SIMP(statut='o',typ='R',fr="durée phase forte du signal" ), - NB_TIRAGE =SIMP(statut='f',typ='I',defaut= 1,fr="nombre accelerogrammes" ), - FREQ_FILTRE =SIMP(statut='f',typ='R',fr="frequence du filtre: corner frequency"), -# - DSP = FACT(statut='f',max=1, - AMOR_REDUIT =SIMP(statut='o',typ='R'), - FREQ_FOND =SIMP(statut='o',typ='R', fr="frequence centrale"), - FREQ_PENTE =SIMP(statut='f',typ='R', fr="pente pour l'evolution de la frequence centrale"), - ), - SPEC_MEDIANE = FACT(statut='f',max=1, - regles=(ENSEMBLE('ERRE_ZPA','ERRE_MAX','ERRE_RMS'),EXCLUS('FREQ_PAS','LIST_FREQ'),), - SPEC_OSCI =SIMP(statut='o',typ=(fonction_sdaster),), - AMOR_REDUIT =SIMP(statut='o', typ='R', val_min=0., val_max=1.), - FREQ_PAS =SIMP(statut='f',typ='R' , fr="pas"), - LIST_FREQ =SIMP(statut='f', typ=listr8_sdaster ), - NB_ITER =SIMP(statut='f',typ='I' ,defaut=0, val_min=0,fr="nombre d'iterations pour fitter le spectre" ,), - ERRE_ZPA =SIMP(statut='f',typ='R' ,defaut=(1.,0.2), min=1,max=2, fr="coef et erreur maxi ZPA",), - ERRE_MAX =SIMP(statut='f',typ='R' ,defaut=(0.5,0.2), min=1,max=2, fr="coef et erreur maxi global",), - ERRE_RMS =SIMP(statut='f',typ='R' ,defaut=(0.5,0.2), min=1,max=2, fr="coef et erreur maxi rms",), - FREQ_PENTE =SIMP(statut='f',typ='R', fr="pente pour l'evolution de la frequence centrale"), - METHODE =SIMP(statut='f',typ='TXM',defaut="HARMO",into=("NIGAM","HARMO") ), - ), - SPEC_UNIQUE = FACT(statut='f',max=1, - regles=(ENSEMBLE('ERRE_ZPA','ERRE_MAX','ERRE_RMS'),EXCLUS('FREQ_PAS','LIST_FREQ'),), - ERRE_ZPA =SIMP(statut='f',typ='R' ,defaut=(1.,0.2), min=1,max=2, fr="coef et erreur maxi ZPA",), - ERRE_MAX =SIMP(statut='f',typ='R' ,defaut=(0.5,0.2), min=1,max=2, fr="coef et erreur maxi global",), - ERRE_RMS =SIMP(statut='f',typ='R' ,defaut=(0.5,0.2), min=1,max=2, fr="coef et erreur maxi rms",), - SPEC_OSCI =SIMP(statut='o',typ=(fonction_sdaster),), - AMOR_REDUIT =SIMP(statut='o', typ='R', val_min=0., val_max=1.), - FREQ_PAS =SIMP(statut='f',typ='R' , fr="pas"), - LIST_FREQ =SIMP(statut='f', typ=listr8_sdaster ), - NB_ITER =SIMP(statut='f',typ='I' ,defaut=0, val_min=0,fr="nombre d'iterations pour fitter le spectre" ,), - METHODE =SIMP(statut='f',typ='TXM',defaut="HARMO",into=("NIGAM","HARMO") ), - ), -# - SPEC_FRACTILE = FACT(statut='f',max=1, - regles=(ENSEMBLE('ERRE_ZPA','ERRE_MAX','ERRE_RMS'), EXCLUS('FREQ_PAS','LIST_FREQ'),), - SPEC_OSCI =SIMP(statut='o',typ=(fonction_sdaster),), - SPEC_1_SIGMA =SIMP(statut='o',typ=(fonction_sdaster),), - AMOR_REDUIT =SIMP(statut='o', typ='R', val_min=0., val_max=1.), - FREQ_PAS =SIMP(statut='f',typ='R' , fr="pas"), - LIST_FREQ =SIMP(statut='f', typ=listr8_sdaster ), - FREQ_PENTE =SIMP(statut='f',typ='R', fr="pente pour l'evolution de la frequence centrale"), - ), - - - regles=(UN_PARMI('DSP','SPEC_MEDIANE','SPEC_UNIQUE','SPEC_FRACTILE'),), - MODULATION = FACT(statut='o',max=1, - regles=(EXCLUS('ACCE_MAX','INTE_ARIAS','ECART_TYPE'),), - TYPE = SIMP(statut='o',typ='TXM' , into=("GAMMA","JENNINGS_HOUSNER","CONSTANT")), - ACCE_MAX = SIMP(statut='f',typ='R',fr="PGA: acceleration max au sol (g)" ), - ECART_TYPE = SIMP(statut='f',typ='R',fr="ecart-type" ), - INTE_ARIAS = SIMP(statut='f',typ='R',fr="intensite d'Arias" ), - c_type_mod = BLOC(condition="TYPE=='GAMMA' ", - INST_INI = SIMP(statut='o',typ='R',fr="instant debut phase forte" ), - ), - ), -) ; - - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -GENE_FONC_ALEA=OPER(nom="GENE_FONC_ALEA",op= 118,sd_prod=table_fonction, - fr="Génération de la fonction temporelle à partir d une matrice interspectrale", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - INTE_SPEC =SIMP(statut='o',typ=interspectre), - NUME_VITE_FLUI =SIMP(statut='f',typ='I' ), - INTERPOL =SIMP(statut='f',typ='TXM',defaut="OUI",into=("NON","OUI") ), - b_interpol_oui =BLOC(condition = "INTERPOL == 'OUI' ",fr="Parametres cas interpolation autorisee", - DUREE_TIRAGE =SIMP(statut='f',typ='R' ), - FREQ_INIT =SIMP(statut='f',typ='R' ), - FREQ_FIN =SIMP(statut='f',typ='R' ), - ), - NB_POIN =SIMP(statut='f',typ='I'), - NB_TIRAGE =SIMP(statut='f',typ='I',defaut= 1 ), - INIT_ALEA =SIMP(statut='f',typ='I'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -def gene_matr_alea_prod(MATR_MOYEN,**args ): - if (AsType(MATR_MOYEN) == matr_asse_gene_r ) : return matr_asse_gene_r - if (AsType(MATR_MOYEN) == macr_elem_dyna) : return macr_elem_dyna - raise AsException("type de concept resultat non prevu") - -GENE_MATR_ALEA=OPER(nom="GENE_MATR_ALEA",op= 27, -#sd_prod=matr_asse_gene_r, -sd_prod=gene_matr_alea_prod, - fr="Générer une réalisation d'une matrice aléatoire réelle sym. déf. positive ou d'un macro élément dynamique", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - MATR_MOYEN = SIMP(statut='o', typ=(matr_asse_gene_r,macr_elem_dyna)), - -# cas matrice generalisee - b_matr =BLOC( condition = "AsType(MATR_MOYEN) in (matr_asse_gene_r,)", - COEF_VAR = SIMP(statut='f', typ='R', defaut=0.1, val_min=0.E+0 , - fr="coefficient de variation de la matrice a generer" ), - ), -# cas macr_elem_dyna - b_macr =BLOC( condition = "AsType(MATR_MOYEN) in (macr_elem_dyna,)", - fr="cas macr_elem_dyna (sous-structuratio)", - COEF_VAR_RIGI = SIMP(statut='f', typ='R', defaut=0.1, val_min=0.E+0 , - fr="coefficient de variation de la matrice de raideur" ), - COEF_VAR_MASS = SIMP(statut='f', typ='R', defaut=0., val_min=0.E+0 , - fr="coefficient de variation de la matrice de masse" ), - COEF_VAR_AMOR = SIMP(statut='f', typ='R', defaut=0., val_min=0.E+0 , - fr="coefficient de variation de la matrice d'amortissement" ),), - - INIT_ALEA =SIMP(statut='f',typ='I'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr - -GENE_VARI_ALEA=MACRO(nom="GENE_VARI_ALEA", - op_init=ops.build_gene_vari_alea, - op=EMPTY_OPS, - sd_prod=reel, - reentrant='n', - fr="Générer une réalisation d'une variable aléatoire réelle " \ - "de loi de probabilité donnée (Gamma ou Exponentielle)", - UIinfo={"groupes":("Fonctions",)}, - TYPE = SIMP(statut='f', typ='TXM', into=("EXP_TRONQUEE", "EXPONENTIELLE", "GAMMA"), defaut="GAMMA"), - b_gamma =BLOC(condition = "TYPE == 'GAMMA' ",fr="Parametres loi gamma", - VALE_MOY = SIMP(statut='f', typ='R', defaut=1.), - BORNE_INF = SIMP(statut='f', typ='R', defaut=0.), - COEF_VAR = SIMP(statut='f', typ='R', defaut=0.1), - ), - b_expo =BLOC(condition = "TYPE == 'EXPONENTIELLE' ",fr="Parametres loi exponentielle", - VALE_MOY = SIMP(statut='f', typ='R', defaut=0.), - BORNE_INF = SIMP(statut='f', typ='R', defaut=-1.), - ), - b_expo_tronq =BLOC(condition = "TYPE == 'EXP_TRONQUEE' ",fr="Parametres loi exponentielle tronquee", - VALE_MOY = SIMP(statut='f', typ='R', defaut=0.), - BORNE_INF = SIMP(statut='f', typ='R', defaut=-1.), - BORNE_SUP = SIMP(statut='f', typ='R', defaut=1.), - ), - INIT_ALEA =SIMP(statut='f',typ='I'), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -IMPR_CO=PROC(nom="IMPR_CO",op=17, - UIinfo={"groupes":("Impression","Utilitaires",)}, - fr="Imprimer tous les objets JEVEUX qui constituent un concept utilisateur existant (pour les développeurs)", - regles=(UN_PARMI('CONCEPT','CHAINE','TOUT' ),), - - UNITE =SIMP(statut='f',typ='I',defaut=8), - NIVEAU =SIMP(statut='f',typ='I',defaut=2,into=(-1,0,1,2) ), - ATTRIBUT =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","OUI") ), - CONTENU =SIMP(statut='f',typ='TXM',defaut="OUI",into=("NON","OUI") ), - BASE =SIMP(statut='f',typ='TXM',defaut="G",into=(" ","G","V","L") ), - CONCEPT =FACT(statut='f',max='**', - NOM =SIMP(statut='o',typ=assd,validators=NoRepeat(),max='**'),), - CHAINE =SIMP(statut='f',typ='TXM'), - POSITION =SIMP(statut='f',typ='I',defaut=1), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# - - -IMPR_DIAG_CAMPBELL=MACRO(nom="IMPR_DIAG_CAMPBELL", - op=OPS('Macro.impr_diag_campbell_ops.impr_diag_campbell_ops'), - fr="Tracé du Diagramme de Campbell", - UIinfo={"groupes":("Impression","Outils-métier",)}, - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - MODES =SIMP(statut='o',typ=table_container), - NFREQ_CAMP =SIMP(statut='o',typ='I' ), - TYP_PREC =SIMP(statut='f',typ='I',defaut= 1, into=(1,2) ), - TYP_TRI =SIMP(statut='f',typ='I',defaut= 2, into=(0,1,2) ), - UNIT_FLE =SIMP(statut='o',typ='I' ,val_min=1), - UNIT_TOR =SIMP(statut='o',typ='I' ,val_min=1), - UNIT_LON =SIMP(statut='o',typ='I' ,val_min=1), - UNIT_TOT =SIMP(statut='o',typ='I' ,val_min=1), - UNIT_INT =SIMP(statut='o',typ='I' ,val_min=1), - L_S =SIMP(statut='f',typ='R', defaut= 1., max='**'), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -IMPR_FONCTION=MACRO(nom="IMPR_FONCTION", - op=OPS('Macro.impr_fonction_ops.impr_fonction_ops'), - sd_prod=None, - fr="Imprime le contenu d'objets de type fonction ou liste de " \ - "réels dans un fichier destiné à un traceur de courbe", - UIinfo={"groupes":("Impression","Fonctions",)}, - FORMAT =SIMP(statut='o',typ='TXM',position='global',defaut='TABLEAU', - into=("TABLEAU","AGRAF","XMGRACE",),), - b_pilote = BLOC(condition = "FORMAT == 'XMGRACE'", - fr="Mots-clés propres à XMGRACE", - PILOTE =SIMP(statut='f',typ='TXM',defaut='', - into=('','POSTSCRIPT','EPS','MIF','SVG','PNM','PNG','JPEG','PDF','INTERACTIF'), - fr="Pilote de sortie, PNG/JPEG/PDF ne sont pas disponibles sur toutes les installations de xmgrace"), - UNITE =SIMP(statut='f',typ='I',val_min=10,val_max=90,defaut=29, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - ), - b_agraf = BLOC(condition = "FORMAT == 'AGRAF'", - fr="Mots-clés propres à AGRAF", - UNITE =SIMP(statut='o',typ='I',defaut=25, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - UNITE_DIGR =SIMP(statut='o',typ='I',defaut=26, - fr="Unité logique définissant le fichier dans lequel on écrit les directives Agraf"), - ), - # unite pour TABLEAU dans le bloc de mise en forme spécifique - - COURBE =FACT(statut='o',max='**',fr="Définition de la fonction à tracer", - regles=(UN_PARMI('FONCTION','LIST_RESU','FONC_X','ABSCISSE'),), - FONCTION =SIMP(statut='f',typ=(fonction_sdaster, formule, fonction_c, nappe_sdaster), - fr="Fonction réelle ou complexe", ), - LIST_RESU =SIMP(statut='f',typ=listr8_sdaster, - fr="Liste des ordonnees d'une fonction réelle définie par deux listes", ), - FONC_X =SIMP(statut='f',typ=(fonction_sdaster,formule), - fr="Fonction abscisses d'une fonction paramétrique",), - ABSCISSE =SIMP(statut='f',typ='R',max='**', - fr="Valeurs des abscisses", ), - b_fonction =BLOC(condition = "FONCTION != None", - LIST_PARA =SIMP(statut='f',typ=listr8_sdaster ), - ), - b_fonction_c =BLOC(condition = "AsType(FONCTION) in (fonction_c, formule_c)", - fr="Fonction complexe définie par le mot-clé fonction", - PARTIE =SIMP(statut='f',typ='TXM',into=("REEL","IMAG") ), - ), - b_list_resu =BLOC(condition = "LIST_RESU != None", - LIST_PARA =SIMP(statut='o',typ=listr8_sdaster ), - ), - b_fonc_x =BLOC(condition = "FONC_X != None", - FONC_Y =SIMP(statut='o',typ=(fonction_sdaster,formule),fr="Fonction ordonnées d une fonction paramétrique" ), - LIST_PARA =SIMP(statut='f',typ=listr8_sdaster ), - ), - b_vale_resu =BLOC(condition = "ABSCISSE != None", - ORDONNEE =SIMP(statut='o',typ='R',max='**', - fr="Valeurs des ordonnées"), - ), - - # mots-clés utilisant uniquement aux formats autres que TABLEAU - # mais ce serait trop pénible de devoir les supprimer quand on change de format - # donc on ne les met pas dans un bloc - # "pseudo" bloc mise en forme : - LEGENDE =SIMP(statut='f',typ='TXM', - fr="Légende associée à la fonction" ), - STYLE =SIMP(statut='f',typ='I',val_min=0, - fr="Style de la ligne représentant la fonction",), - COULEUR =SIMP(statut='f',typ='I',val_min=0, - fr="Couleur associée à la fonction",), - MARQUEUR =SIMP(statut='f',typ='I',val_min=0, - fr="Type du marqueur associé à la fonction",), - FREQ_MARQUEUR =SIMP(statut='f',typ='I',defaut=0, - fr="Fréquence d impression du marqueur associé à la fonction", ), - # fin bloc mise en forme - - TRI =SIMP(statut='f',typ='TXM',defaut="N", - fr="Choix du tri effectué sur les abscisses ou sur les ordonnées", - into=("N","X","Y","XY","YX") ), - ), - # Mise en page du tableau ou du graphique - b_tableau = BLOC(condition = "FORMAT == 'TABLEAU'", - fr="Mots-clés propres au format Tableau", - UNITE =SIMP(statut='o',typ='I',defaut=8, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - TITRE =SIMP(statut='f',typ='TXM', - fr="Titre associé au graphique" ), - SOUS_TITRE =SIMP(statut='f',typ='TXM', - fr="Sous-titre du graphique" ), - SEPARATEUR =SIMP(statut='f',typ='TXM',defaut=' ', - fr="Séparateur des colonnes du tableau (ex : ' ', ';'...)"), - COMMENTAIRE =SIMP(statut='f',typ='TXM',defaut='#', - fr="Caractère indiquant au traceur de fonction que la ligne peut etre ignorée"), - COMM_PARA =SIMP(statut='f',typ='TXM',defaut='', - fr="Caractère utilisé pour commentariser la ligne des labels de colonnes"), - DEBUT_LIGNE =SIMP(statut='f',typ='TXM',defaut='', - fr="Caractère de debut de ligne"), - FIN_LIGNE =SIMP(statut='f',typ='TXM',defaut='\n', - fr="Caractère de fin de ligne"), - ), - b_graphique = BLOC(condition = "FORMAT != 'TABLEAU'", - fr="Mise en page du graphique", - TITRE =SIMP(statut='f',typ='TXM', - fr="Titre associé au graphique" ), - SOUS_TITRE =SIMP(statut='f',typ='TXM', - fr="Sous-titre du graphique" ), - BORNE_X =SIMP(statut='f',typ='R',min=2,max=2, - fr="Intervalles de variation des abscisses"), - BORNE_Y =SIMP(statut='f',typ='R',min=2,max=2, - fr="Intervalles de variation des ordonnées"), - ECHELLE_X =SIMP(statut='f',typ='TXM',defaut="LIN",into=("LIN","LOG"), - fr="Type d'échelle pour les abscisses" ), - ECHELLE_Y =SIMP(statut='f',typ='TXM',defaut="LIN",into=("LIN","LOG"), - fr="Type d'échelle pour les ordonnées" ), - GRILLE_X =SIMP(statut='f',typ='R',max=1,val_min=0., - fr="Pas du quadrillage vertical" ), - GRILLE_Y =SIMP(statut='f',typ='R',max=1,val_min=0., - fr="Pas du quadrillage horizontal" ), - LEGENDE_X =SIMP(statut='f',typ='TXM', - fr="Légende associée à l'axe des abscisses" ), - LEGENDE_Y =SIMP(statut='f',typ='TXM', - fr="Légende associée à l'axe des ordonnées" ), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr -IMPR_GENE=PROC(nom="IMPR_GENE",op= 157, - fr="Imprimer le résultat d'un calcul dynamique en variables généralisées au format RESULTAT", - UIinfo={"groupes":("Impression","Dynamique",)}, - FORMAT =SIMP(statut='f',typ='TXM',defaut="RESULTAT",into=("RESULTAT",) ), - UNITE =SIMP(statut='f',typ='I',defaut=8), - GENE =FACT(statut='o',max='**', - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'LIST_INST','LIST_FREQ','TOUT_MODE','TOUT_INST','LIST_ORDRE'), - EXCLUS('TOUT_MODE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'LIST_INST','LIST_FREQ','TOUT_ORDRE','TOUT_INST','LIST_ORDRE'), - EXCLUS('TOUT_INST','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'LIST_INST','LIST_FREQ','TOUT_ORDRE','LIST_ORDRE'), - EXCLUS('TOUT_CMP_GENE','NUME_CMP_GENE'), - EXCLUS('TOUT_CHAM','NOM_CHAM'), - EXCLUS('TOUT_PARA','NOM_PARA'),), -# faut-il faire des blocs selon le type de RESU_GENE - RESU_GENE =SIMP(statut='o',typ=(vect_asse_gene, tran_gene, mode_gene, harm_gene)), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - TOUT_INST =SIMP(statut='f',typ='TXM',into=("OUI",) ), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - TOUT_MODE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_CMP_GENE =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - NUME_CMP_GENE =SIMP(statut='f',typ='I',max='**'), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO(),), - TOUT_PARA =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - NOM_PARA =SIMP(statut='f',typ='TXM',max='**'), - SOUS_TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO_CMP_GENE =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - INFO_GENE =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -IMPR_JEVEUX=PROC(nom="IMPR_JEVEUX",op=16, - UIinfo={"groupes":("Impression","Utilitaires",)}, - fr="Imprimer le contenu des objets créés par JEVEUX (pour développeur)", - ENTITE =SIMP(fr="choix de l'observation",statut='o',typ='TXM', - into=("DISQUE","MEMOIRE","REPERTOIRE", - "OBJET","ATTRIBUT","SYSTEME","ENREGISTREMENT") ), - b_objet =BLOC(condition = "(ENTITE=='OBJET')", - NOMOBJ =SIMP(fr="nom d'objet",statut='f',typ='TXM' ), - NUMOC =SIMP(fr="numéro d objet de collection",statut='f',typ='I' ), - NOMOC =SIMP(fr="nom d'objet de collection",statut='f',typ='TXM' ), - ), - b_attribut =BLOC(condition = "(ENTITE=='ATTRIBUT')", - NOMOBJ =SIMP(fr="nom de collection",statut='f',typ='TXM' ), - NOMATR =SIMP(fr="nom d attribut de collection",statut='f',typ='TXM', - into=('$$DESO','$$IADD','$$IADM','$$NOM','$$LONG', - '$$LONO','$$LUTI','$$NUM') ), - ), - b_systeme =BLOC(condition = "(ENTITE=='SYSTEME')", - CLASSE =SIMP(statut='o',typ='TXM',into=('G','V') ), - NOMATR =SIMP(fr="nom d attribut systeme",statut='f',typ='TXM', - into=('$$CARA','$$IADD','$$GENR','$$TYPE','$$MARQ', - '$$DOCU','$$ORIG','$$RNOM','$$LTYP','$$LONG', - '$$LONO','$$DATE','$$LUTI','$$HCOD','$$INDX', - '$$TLEC','$$TECR','$$IADM','$$ACCE','$$USADI') ), - ), - b_repertoire =BLOC(condition = "(ENTITE=='REPERTOIRE')", - CLASSE =SIMP(statut='f',typ='TXM',into=('G','V',' '),defaut=' '), - ), - b_disque =BLOC(condition = "(ENTITE=='DISQUE')", - CLASSE =SIMP(statut='f',typ='TXM' ,into=('G','V',' '),defaut=' '), - ), - b_enregist =BLOC(condition = "(ENTITE=='ENREGISTREMENT')", - CLASSE =SIMP(statut='f',typ='TXM' ,into=('G','V'),defaut='G'), - NUMERO =SIMP(statut='o',typ='I',val_min=1), - INFO =SIMP(statut='f',typ='I',into=(1,2),defaut=1), - ), - IMPRESSION =FACT(statut='f', - NOM =SIMP(statut='f',typ='TXM' ), - UNITE =SIMP(statut='f',typ='I'), - ), - COMMENTAIRE =SIMP(statut='f',typ='TXM' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr - -IMPR_MACR_ELEM=PROC(nom="IMPR_MACR_ELEM",op= 160, - UIinfo={"groupes":("Impression","Outils-métier",)}, - fr="Impression d'une structure de données MACR_ELEM_DYNA au format IDEAS MISS3D", - MACR_ELEM_DYNA =SIMP(statut='o',typ=macr_elem_dyna ), - FORMAT =SIMP(statut='f',typ='TXM',defaut="IDEAS", - into=("MISS_3D","IDEAS") ), - - b_ideas =BLOC(condition = "FORMAT == 'IDEAS'", - UNITE =SIMP(statut='f',typ='I',defaut=30), - VERSION =SIMP(statut='f',typ='I',defaut= 5,into=( 5 ,) ), - ), - - b_miss_3d =BLOC(condition = "FORMAT == 'MISS_3D'", - regles=(EXCLUS('AMOR_REDUIT','LIST_AMOR'),), - UNITE =SIMP(statut='f',typ='I',defaut= 26 ), - SOUS_TITRE =SIMP(statut='f',typ='TXM',max='**'), - AMOR_REDUIT =SIMP(statut='f',typ='R' ,max='**'), - LIST_AMOR =SIMP(statut='f',typ=listr8_sdaster ), - GROUP_MA_INTERF =SIMP(statut='o',typ=grma ,max='**'), - GROUP_MA_FLU_STR=SIMP(statut='f',typ=grma,max='**'), - GROUP_MA_FLU_SOL=SIMP(statut='f',typ=grma,max='**'), - GROUP_MA_SOL_SOL=SIMP(statut='f',typ=grma,max='**'), - GROUP_MA_CONTROL=SIMP(statut='f',typ=grma,max='**'), - FORMAT_R =SIMP(statut='f',typ='TXM',defaut="1PE12.5",into=("1PE12.5","1PE16.9") ), - IMPR_MODE_MECA =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - IMPR_MODE_STAT =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -# -# RECUPERATION DES MAILLAGES IFS VENANT DE SATURNE VIA YACS -# -IMPR_MAIL_YACS=PROC(nom="IMPR_MAIL_YACS",op=43, - UIinfo={"groupes":("Maillage",)}, - fr="Lecture d'un maillage via YACS lors du Couplage de Code_Aster et Saturne", - UNITE_MAILLAGE = SIMP(statut='f',typ='I',defaut=30), - TYPE_MAILLAGE = SIMP(statut='o',typ='TXM',into=("SOMMET","MILIEU")), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: isabelle.fournier at edf.fr -# -IMPR_OAR =MACRO(nom="IMPR_OAR", - op=OPS('Macro.impr_oar_ops.impr_oar_ops'), - sd_prod=None, - fr="Impression au format OAR", - UIinfo={"groupes":("Impression","Outils-métier",)}, - TYPE_CALC = SIMP(statut='o', typ='TXM',into=('COMPOSANT', 'MEF', 'TUYAUTERIE')), - b_composant =BLOC(condition = "TYPE_CALC == 'COMPOSANT' ", - regles = (AU_MOINS_UN('RESU_MECA','RESU_THER')), - DIAMETRE = SIMP(statut='o', typ='R'), - ORIGINE = SIMP(statut='o', typ='TXM', defaut='INTERNE', into=('INTERNE', 'EXTERNE')), - COEF_U = SIMP(statut='f', typ='R', defaut=1.0), - ANGLE_C = SIMP(statut='o', typ='R', defaut=0.0), - REVET = SIMP(statut='f', typ='TXM', defaut='NON', into=('OUI', 'NON')), - RESU_MECA = FACT(statut='f', max='**', - NUM_CHAR = SIMP(statut='o', typ='I'), - TYPE = SIMP(statut='o', typ='TXM', defaut='FX', into=('FX', 'FY', 'FZ', 'MX', 'MY', 'MZ', 'PRE')), - TABLE = SIMP(statut='o', typ=table_sdaster), - TABLE_S = SIMP(statut='f', typ=table_sdaster)), - RESU_THER = FACT(statut='f', max='**', - NUM_TRAN = SIMP(statut='o', typ='I'), - TABLE_T = SIMP(statut='o', typ=table_sdaster), - TABLE_TEMP= SIMP(statut='o', typ=table_sdaster), - TABLE_S = SIMP(statut='f', typ=table_sdaster), - TABLE_ST = SIMP(statut='f', typ=table_sdaster)), - ), - b_mef = BLOC(condition = "TYPE_CALC == 'MEF' ", - regles = (AU_MOINS_UN('RESU_MECA','RESU_THER')), - DIAMETRE = SIMP(statut='o', typ='R'), - ORIGINE = SIMP(statut='o', typ='TXM', defaut='INTERNE', into=('INTERNE', 'EXTERNE')), - COEF_U = SIMP(statut='f', typ='R', defaut=1.0), - RESU_MECA = FACT(statut='f', max='**', - AZI = SIMP(statut='o', typ='R'), - TABLE_T = SIMP(statut='o', typ=table_sdaster), - TABLE_F = SIMP(statut='o', typ=table_sdaster), - TABLE_P = SIMP(statut='o', typ=table_sdaster), - TABLE_CA = SIMP(statut='o', typ=table_sdaster)), - RESU_THER=FACT(statut='f', max='**', - AZI = SIMP(statut='o', typ='R'), - NUM_CHAR = SIMP(statut='o', typ='I'), - TABLE_T = SIMP(statut='o', typ=table_sdaster), - TABLE_TI = SIMP(statut='o', typ=table_sdaster)), - ), - b_tuyauterie = BLOC(condition = "TYPE_CALC == 'TUYAUTERIE' ", - RESU_MECA = FACT(statut='o', max='**', - NUM_CHAR = SIMP(statut='o', typ='I'), - TABLE = SIMP(statut='o', typ=table_sdaster), - MAILLAGE = SIMP(statut='o', typ=maillage_sdaster)), - ), - UNITE = SIMP(statut='f',typ='I',defaut=38), - AJOUT = SIMP(statut='f', typ='TXM', defaut='NON', into=('OUI', 'NON')), - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.sellenet at edf.fr -IMPR_RESU=PROC(nom="IMPR_RESU",op=39, - UIinfo={"groupes":("Impression","Résultats et champs",)}, - fr="Imprimer un maillage et/ou les résultats d'un calcul (différents formats)", - - FORMAT =SIMP(statut='f',typ='TXM',position='global',defaut="RESULTAT", - into=("RESULTAT","IDEAS","ASTER","CASTEM","MED","GMSH") ), - - b_modele =BLOC(condition="FORMAT!='MED'",fr="Modèle", - MODELE =SIMP(statut='f',typ=modele_sdaster), - ), - - b_format_resultat =BLOC(condition="FORMAT=='RESULTAT'",fr="unité logique d'impression au format RESULTAT", - UNITE =SIMP(statut='f',typ='I',defaut=8), - ), - - b_format_ideas =BLOC(condition="FORMAT=='IDEAS'",fr="unité logique d'impression et version IDEAS", - UNITE =SIMP(statut='f',typ='I',defaut=30), - VERSION =SIMP(statut='f',typ='I',defaut=5,into=(4,5)), - ), - - b_format_aster =BLOC(condition="FORMAT=='ASTER'",fr="unité logique d'impression au format ASTER", - UNITE =SIMP(statut='f',typ='I',defaut=26), - ), - - b_format_castem =BLOC(condition="FORMAT=='CASTEM'",fr="unité logique d'impression et version CASTEM", - UNITE =SIMP(statut='f',typ='I',defaut=37), - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,10)), - ), - - b_format_med =BLOC(condition="FORMAT=='MED'",fr="unité logique d'impression au format MED", - UNITE =SIMP(statut='f',typ='I',defaut=80), - ), - - b_format_gmsh =BLOC(condition="FORMAT=='GMSH'",fr="unité logique d'impression et version GMSH", - UNITE =SIMP(statut='f',typ='I',defaut=37), - VERSION =SIMP(statut='f',typ='R',defaut=1.2,into=(1.0,1.2)), - ), - - regles=(AU_MOINS_UN('CONCEPT','RESU',),), - - b_restreint =BLOC(condition="FORMAT=='MED'",fr="Seulement pour les fichiers MED", - RESTREINT =FACT(statut='f', max=1, - fr="Pour réduire une ou plusieurs sd_resultat sur un ensemble de mailles", - regles=(AU_MOINS_UN('GROUP_MA','MAILLE',),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - TOUT_GROUP_MA =SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON'),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - TOUT_GROUP_NO =SIMP(statut='f',typ='TXM',defaut='NON',into=('OUI','NON'),), - ), - ), - - CONCEPT =FACT(statut='f',max='**', - fr='Pour imprimer les champs de "données" à des fins de visualisation (controle des affectations).', - # (valide pour les format RESULTAT et MED) - regles=(UN_PARMI('CHAM_MATER','CARA_ELEM','CHARGE'),), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHARGE =SIMP(statut='f',typ=char_meca), - - b_cara_elem =BLOC(condition="CARA_ELEM != None", fr="impression des reperes locaux.", - REPERE_LOCAL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - b_reploc =BLOC(condition="REPERE_LOCAL == 'OUI'", fr="impression des reperes locaux.", - MODELE =SIMP(statut='o',typ=modele_sdaster), - ), - ), - ), - - RESU =FACT(statut='f',max='**', - - regles=(AU_MOINS_UN('CHAM_GD','RESULTAT','MAILLAGE',), - EXCLUS('CHAM_GD','RESULTAT'),), - MAILLAGE =SIMP(statut='f',typ=(maillage_sdaster,squelette)), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHAM_GD =SIMP(statut='f',typ=cham_gd_sdaster), - RESULTAT =SIMP(statut='f',typ=resultat_sdaster), - - b_info_med =BLOC(condition="FORMAT=='MED'", - INFO_MAILLAGE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - - - b_partie =BLOC(condition="""(AsType(RESULTAT) in (dyna_harmo, acou_harmo) or - AsType(CHAM_GD) != carte_sdaster) and FORMAT in ('CASTEM', 'GMSH', 'MED')""", - PARTIE =SIMP(statut='f',typ='TXM',into=("REEL","IMAG") ), - ), - - b_vari_el =BLOC(condition="FORMAT==('MED')", - IMPR_NOM_VARI=SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON",), - ), - - b_extrac =BLOC(condition="RESULTAT != None", - fr="extraction d un champ de grandeur", - regles=(EXCLUS('TOUT_CHAM','NOM_CHAM'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE','NOEUD_CMP', - 'LIST_INST','LIST_FREQ','LIST_ORDRE','NOM_CAS','ANGLE'),), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI","NON") ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO()), - - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - ANGLE =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - - b_acce_reel =BLOC(condition="(ANGLE != None)or(FREQ != None)or(LIST_FREQ != None)or(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), -### - b_parametres =BLOC(condition="""(RESULTAT != None)and(FORMAT == 'RESULTAT')""", - regles=(EXCLUS('TOUT_PARA','NOM_PARA'),), - TOUT_PARA =SIMP(statut='f',typ='TXM',into=("OUI","NON",) ), - NOM_PARA =SIMP(statut='f',typ='TXM',max='**'), - FORM_TABL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON","EXCEL") ), - ), -### - b_cmp=BLOC(condition="""((CHAM_GD != None)or(RESULTAT != None))and\ - ((FORMAT == 'CASTEM')or(FORMAT == 'RESULTAT')or(FORMAT == 'IDEAS')or(FORMAT == 'MED'))""", - fr="sélection des composantes", - regles=(EXCLUS('TOUT_CMP','NOM_CMP'),), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - ), -### - b_med=BLOC(condition="""((CHAM_GD != None)or(RESULTAT != None))and(FORMAT == 'MED')""", - fr="renommage du champ", - regles=(EXCLUS('NOM_CHAM_MED','NOM_RESU_MED'),), - NOM_CHAM_MED =SIMP(statut='f',typ='TXM', - validators=AndVal((LongStr(1,64), NoRepeat())), max='**'), - NOM_RESU_MED =SIMP(statut='f',typ='TXM'), - ), -### - b_gmsh=BLOC(condition="""((CHAM_GD != None)or(RESULTAT != None))and((FORMAT == 'GMSH'))""", - fr="sélection des composantes et des entités toplogiques", - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TYPE_CHAM =SIMP(statut='f',typ='TXM',defaut="SCALAIRE", - into=("VECT_2D","VECT_3D","SCALAIRE","TENS_2D","TENS_3D"),), - b_scal =BLOC(condition = "TYPE_CHAM=='SCALAIRE'", - NOM_CMP =SIMP(statut='f',typ='TXM',max='**' ),), - b_vect_2d =BLOC(condition = "TYPE_CHAM=='VECT_2D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=2,max=2 ),), - b_vect_3d =BLOC(condition = "TYPE_CHAM=='VECT_3D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=3,max=3 ),), - b_tens_2d =BLOC(condition = "TYPE_CHAM=='TENS_2D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=4,max=4 ),), - b_tens_3d =BLOC(condition = "TYPE_CHAM=='TENS_3D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=6,max=6 ),), - ), -### - b_topologie=BLOC(condition="""((CHAM_GD != None)or(RESULTAT != None))and\ - ((FORMAT == 'RESULTAT')or(FORMAT == 'IDEAS')or(FORMAT == 'MED'))""", - fr="sélection des entités topologiques", - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), -### - b_valeurs=BLOC(condition="(FORMAT == 'RESULTAT')", - fr="sélection sur les valeurs", - VALE_MAX =SIMP(statut='f',typ='TXM',into=("OUI",) ), - VALE_MIN =SIMP(statut='f',typ='TXM',into=("OUI",) ), - BORNE_SUP =SIMP(statut='f',typ='R'), - BORNE_INF =SIMP(statut='f',typ='R'), - IMPR_COOR =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - - b_format_r=BLOC(condition="""((FORMAT == 'RESULTAT')or(FORMAT == 'ASTER'))""", - fr="Format des nombres réels", - FORMAT_R =SIMP(statut='f',typ='TXM',defaut="1PE21.14"), - ), - - SOUS_TITRE =SIMP(statut='f',typ='TXM',max='**'), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -IMPR_TABLE=MACRO(nom="IMPR_TABLE", - op=OPS('Macro.impr_table_ops.impr_table_ops'), - sd_prod=None, - UIinfo={"groupes":("Impression","Tables",)}, - fr="Impression du contenu d'une table dans un fichier", - TABLE =SIMP(statut='o',typ=table_sdaster), - FORMAT =SIMP(statut='f',typ='TXM',defaut="TABLEAU", - into=("TABLEAU","ASTER","TABLEAU_CROISE","AGRAF","XMGRACE",),), - b_pilote =BLOC(condition = "FORMAT == 'XMGRACE'", - fr="Mots-clés propres à XMGRACE", - PILOTE =SIMP(statut='f',typ='TXM',defaut='', - into=('','POSTSCRIPT','EPS','MIF','SVG','PNM','PNG','JPEG','PDF','INTERACTIF'), - fr="Pilote de sortie, PNG/JPEG/PDF ne sont pas disponibles sur toutes les installations de xmgrace"), - UNITE =SIMP(statut='f',typ='I',val_min=10,val_max=90,defaut=29, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - ), - b_unite =BLOC(condition = "FORMAT != 'XMGRACE'", - UNITE =SIMP(statut='f',typ='I',defaut=8, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - ), - FILTRE =FACT(statut='f',max='**', - NOM_PARA =SIMP(statut='o',typ='TXM'), - CRIT_COMP =SIMP(statut='f',typ='TXM',defaut="EQ", - into=("EQ","LT","GT","NE","LE","GE","VIDE", - "NON_VIDE","MAXI","MAXI_ABS","MINI","MINI_ABS"),), - b_vale =BLOC(condition = "(CRIT_COMP in ('EQ','NE','GT','LT','GE','LE'))", - regles=(UN_PARMI('VALE','VALE_I','VALE_K','VALE_C',),), - VALE =SIMP(statut='f',typ='R',max='**'), - VALE_I =SIMP(statut='f',typ='I',max='**'), - VALE_C =SIMP(statut='f',typ='C',max='**'), - VALE_K =SIMP(statut='f',typ='TXM',max='**'), - ), - b_crit =BLOC(condition = "CRIT_COMP in ('EQ','NE')", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - ), - ), - TRI =FACT(statut='f', - NOM_PARA =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**'), - ORDRE =SIMP(statut='f',typ='TXM',defaut="CROISSANT", # max='**', - into=("CROISSANT","DECROISSANT") ), - ), - PAGINATION =SIMP(statut='f',typ='TXM',max='**'), - FORMAT_R =SIMP(statut='f',typ='TXM',defaut="E12.5"), - NOM_PARA =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - IMPR_FONCTION =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - - # Mise en page du tableau ou du graphique - b_tableau = BLOC(condition = "FORMAT == 'TABLEAU'", - fr="Mots-clés propres au format Tableau", - SEPARATEUR =SIMP(statut='f',typ='TXM',defaut=' ', - fr="Séparateur des colonnes du tableau (ex : ' ', ';'...)"), - COMMENTAIRE =SIMP(statut='f',typ='TXM',defaut='#', - fr="Caractère indiquant au traceur de fonction que la ligne peut etre ignorée"), - COMM_PARA =SIMP(statut='f',typ='TXM',defaut='', - fr="Caractère utilisé pour commentariser la ligne des labels de colonnes"), - DEBUT_LIGNE =SIMP(statut='f',typ='TXM',defaut='', - fr="Caractère de debut de ligne"), - FIN_LIGNE =SIMP(statut='f',typ='TXM',defaut='\n', - fr="Caractère de fin de ligne"), - ), - - # mise en forme pour les formats qui passent par Graph - b_forme =BLOC(condition = "FORMAT == 'XMGRACE'", - fr="Données de mise en forme du graphique", - # pour la courbe - LEGENDE =SIMP(statut='f',typ='TXM', - fr="Légende associée à la fonction" ), - STYLE =SIMP(statut='f',typ='I',val_min=0, - fr="Style de la ligne représentant la fonction",), - COULEUR =SIMP(statut='f',typ='I',val_min=0, - fr="Couleur associée à la fonction",), - MARQUEUR =SIMP(statut='f',typ='I',val_min=0, - fr="Type du marqueur associé à la fonction",), - FREQ_MARQUEUR =SIMP(statut='f',typ='I',defaut=0, - fr="Fréquence d impression du marqueur associé à la fonction", ), - # format du graphique - BORNE_X =SIMP(statut='f',typ='R',min=2,max=2, - fr="Intervalles de variation des abscisses"), - BORNE_Y =SIMP(statut='f',typ='R',min=2,max=2, - fr="Intervalles de variation des ordonnées"), - ECHELLE_X =SIMP(statut='f',typ='TXM',defaut="LIN",into=("LIN","LOG"), - fr="Type d'échelle pour les abscisses" ), - ECHELLE_Y =SIMP(statut='f',typ='TXM',defaut="LIN",into=("LIN","LOG"), - fr="Type d'échelle pour les ordonnées" ), - GRILLE_X =SIMP(statut='f',typ='R',max=1,val_min=0., - fr="Pas du quadrillage vertical" ), - GRILLE_Y =SIMP(statut='f',typ='R',max=1,val_min=0., - fr="Pas du quadrillage horizontal" ), - LEGENDE_X =SIMP(statut='f',typ='TXM', - fr="Légende associée à l'axe des abscisses" ), - LEGENDE_Y =SIMP(statut='f',typ='TXM', - fr="Légende associée à l'axe des ordonnées" ), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -INCLUDE=MACRO(nom="INCLUDE", - op=OPS("Cata.ops.build_include"), - UIinfo={"groupes":("Gestion du travail",)}, - fr="Débranchement vers un fichier de commandes secondaires", - sd_prod=ops.INCLUDE, - op_init=ops.INCLUDE_context, - fichier_ini=1, - regles=(UN_PARMI('UNITE', 'DONNEE')), - UNITE = SIMP(statut='f', typ='I', - fr="Unité logique à inclure"), - DONNEE = SIMP(statut='f', typ='Fichier', - fr="Nom du fichier de données à inclure"), - INFO = SIMP(statut='f', typ='I', defaut=1, into=(1, 2)), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -INCLUDE_MATERIAU = MACRO(nom="INCLUDE_MATERIAU", - op=OPS("Macro.include_materiau_ops.include_materiau_ops"), - sd_prod=mater_sdaster, - UIinfo={"groupes":("Modélisation", "Gestion du travail", )}, - fr="Récupérer les caractéristiques d'un matériau dans le Catalogue Materiaux d'Aster ", - - NOM_AFNOR = SIMP(statut='o', typ='TXM',), - TYPE_MODELE = SIMP(statut='o', typ='TXM', into=("REF", "PAR"),), - VARIANTE = SIMP(statut='o', typ='TXM', - into=("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", - "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", - "U", "V", "W", "X", "Y", "Z",),), - TYPE_VALE = SIMP(statut='o', typ='TXM', into=("NOMI", "MINI", "MAXI"),), - #NOM_MATER = SIMP(statut='o', typ='TXM',), - #UNITE = SIMP(statut='f', typ='I', defaut= 32,), - EXTRACTION = FACT(statut='f', - COMPOR = SIMP(statut='o', typ='TXM', max='**',), - TEMP_EVAL = SIMP(statut='o', typ='R',), - ), - UNITE_LONGUEUR = SIMP(statut='f', typ='TXM', into=("M", "MM"), defaut="M",), - INFO = SIMP(statut='f', typ='I', defaut= 1, into=(1, 2),), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -INFO_EXEC_ASTER=OPER(nom="INFO_EXEC_ASTER",op=35,sd_prod=table_sdaster, - fr="Récupère différentes informations propres à l'exécution en cours", - reentrant='n', - UIinfo={"groupes":("Gestion du travail",)}, - - regles=(), - LISTE_INFO =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=3, - into=("CPU_RESTANT","UNITE_LIBRE","ETAT_UNITE"),), - b_etat_unite =BLOC(condition = "au_moins_un(LISTE_INFO, 'ETAT_UNITE')", - regles=(UN_PARMI('UNITE','FICHIER'),), - UNITE =SIMP(statut='f',typ='I',val_min=1,val_max=99,max=1, - fr="Unité logique dont on veut obtenir l'état",), - FICHIER =SIMP(statut='f',typ='TXM',validators=LongStr(1,255), - fr="Nom du fichier dont on veut obtenir l'état",), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -def info_fonction_prod(self,ECART_TYPE,RMS,NOCI_SEISME,MAX,NORME, **args): - if (RMS != None): return table_sdaster - if (MAX != None): return table_sdaster - if (NOCI_SEISME != None): return table_sdaster - if (ECART_TYPE != None): return table_sdaster - if (NORME != None): return table_sdaster - raise AsException("type de concept resultat non prevu") - -INFO_FONCTION=MACRO(nom="INFO_FONCTION", - op=OPS('Macro.info_fonction_ops.info_fonction_ops'), - sd_prod=info_fonction_prod, - fr="Opérations mathématiques sur des concepts de type fonction, " \ - "fonction_c ou nappe", - reentrant='n', - UIinfo={"groupes":("Fonctions",)}, - regles=(UN_PARMI('MAX','RMS','NOCI_SEISME','NORME','ECART_TYPE',),), - RMS =FACT(statut='f',fr="Valeur RMS d'une fonction",max='**', - METHODE =SIMP(statut='f',typ='TXM',defaut="TRAPEZE",into=("SIMPSON","TRAPEZE") ), - FONCTION =SIMP(statut='o',typ=fonction_sdaster ), - INST_INIT =SIMP(statut='f',typ='R',fr="Instant initial définissant le début du signal" ), - INST_FIN =SIMP(statut='f',typ='R',fr="Instant final définissant la fin du signal" ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,val_min=0.E+0),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - ), - NOCI_SEISME =FACT(statut='f', - regles=(UN_PARMI('FONCTION','SPEC_OSCI',),), - FONCTION =SIMP(statut='f',typ=fonction_sdaster ), - SPEC_OSCI =SIMP(statut='f',typ=nappe_sdaster ), - b_option_f =BLOC(condition="""FONCTION != None""", - OPTION =SIMP(statut='f',typ='TXM',defaut="TOUT",validators=NoRepeat(), - into=("INTE_ARIAS","POUV_DEST","INTE_SPEC","VITE_ABSO_CUMU", - "DUREE_PHAS_FORT","MAXI","ACCE_SUR_VITE","TOUT",), ), - b_amor_red =BLOC(condition="""au_moins_un(OPTION, ("TOUT", "INTE_SPEC")) """, - AMOR_REDUIT =SIMP(statut='o',typ='R'),), - b_pesanteur =BLOC(condition="""au_moins_un(OPTION, ("TOUT", "INTE_ARIAS", "POUV_DEST", "DUREE_PHAS_FORT")) """, - PESANTEUR =SIMP(statut='o',typ='R'),), - ), - b_option_n =BLOC(condition="""SPEC_OSCI !=None""", - OPTION =SIMP(statut='f',typ='TXM',defaut="INTE_SPEC",into=("INTE_SPEC",), ), - NATURE =SIMP(statut='o',typ='TXM',into=("DEPL","VITE","ACCE") ), - AMOR_REDUIT =SIMP(statut='o',typ='R'), ), - INST_INIT =SIMP(statut='f',typ='R'), - INST_FIN =SIMP(statut='f',typ='R'), - COEF =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - FREQ_INIT =SIMP(statut='f',typ='R',defaut= 4.E-1 ), - FREQ_FIN =SIMP(statut='f',typ='R',defaut= 10.E+0 ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - FREQ =SIMP(statut='f',typ='R',max='**'), - NORME =SIMP(statut='f',typ='R',defaut= 1.E+0 ), - BORNE_INF =SIMP(statut='f',typ='R',defaut= 0.05E+0 ), - BORNE_SUP =SIMP(statut='f',typ='R',defaut= 0.95E+0 ), - b_acce_reel =BLOC(condition="(INST_INIT != None)or(INST_FIN != None)or(FREQ_INIT != None)or(FREQ_FIN != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,val_min=0.E+0),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - ), - ), - MAX =FACT(statut='f',fr="Extrémas locaux d'une fonction", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster),max='**' ), - INTERVALLE =SIMP(statut='f',typ='R',min=2,max='**', - fr ="définition des bornes des intervalles sous forme de couples (xi_i1,xs_i1,xi_i2,xs_i2)"), - ), - NORME =FACT(statut='f',fr="Norme L2 d'une fonction", - FONCTION =SIMP(statut='o', typ=nappe_sdaster), - ), - ECART_TYPE =FACT(statut='f',fr="Ecart-type d'une fonction", - METHODE =SIMP(statut='f',typ='TXM',defaut="TRAPEZE",into=("SIMPSON","TRAPEZE") ), - FONCTION =SIMP(statut='o',typ=fonction_sdaster), - INST_INIT =SIMP(statut='f',typ='R',fr="Instant initial définissant le début du signal" ), - INST_FIN =SIMP(statut='f',typ='R',fr="Instant final définissant la fin du signal" ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,val_min=0.E+0),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: olivier.boiteau at edf.fr -INFO_MODE=OPER(nom="INFO_MODE",op=32,sd_prod=table_sdaster, - fr="Calculer, imprimer, et sauvegarder le nombre de valeurs propres dans un contour donné", - UIinfo={"groupes":("Résolution","Dynamique",)}, - - TYPE_MODE =SIMP(statut='f',typ='TXM',defaut="DYNAMIQUE",into=("MODE_COMPLEXE","DYNAMIQUE", - "MODE_FLAMB", "GENERAL"), - fr="Type d analyse" ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - - b_dynamique =BLOC(condition = "TYPE_MODE == 'DYNAMIQUE'",fr="Recherche du nombre de fréquences propres", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r, - matr_asse_depl_c,matr_asse_gene_c) ), - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r) ), - FREQ =SIMP(statut='o',typ='R',min=2,max='**', - validators=AndVal((OrdList('croissant'), NoRepeat())), - fr="Liste de frequences" ), - COMPTAGE =FACT(statut='d', - METHODE =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("AUTO","STURM")), - SEUIL_FREQ =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2 ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0), - ), - ), - - b_flambement =BLOC(condition = "TYPE_MODE == 'MODE_FLAMB'",fr="Recherche du nombre de charges critiques", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r, - matr_asse_depl_c,matr_asse_gene_c) ), - MATR_RIGI_GEOM =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r) ), - CHAR_CRIT =SIMP(statut='o',typ='R',min=2,max='**', - validators=AndVal((OrdList('croissant'), NoRepeat())), - fr="Liste de charges critiques" ), - COMPTAGE =FACT(statut='d', - METHODE =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("AUTO","STURM")), - SEUIL_CHAR_CRIT =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2 ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0), - ), - ), - - b_complexe =BLOC(condition = "TYPE_MODE == 'MODE_COMPLEXE'",fr="Recherche du nombre de fréquences propres", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r, - matr_asse_depl_c,matr_asse_gene_c) ), - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r) ), - MATR_AMOR =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r) ), - TYPE_CONTOUR =SIMP(statut='f',typ='TXM',defaut="CERCLE",into=("CERCLE","CERCLE") ), - RAYON_CONTOUR =SIMP(statut='o',typ='R',val_min=1.E-2 ), - CENTRE_CONTOUR =SIMP(statut='f',typ='C',defaut= 0.0+0.0j), - COMPTAGE =FACT(statut='d', - METHODE =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("AUTO","APM")), - NBPOINT_CONTOUR =SIMP(statut='f',typ='I',defaut= 40,val_min=10,val_max=1000), - NMAX_ITER_CONTOUR=SIMP(statut='f',typ='I',defaut= 3, val_min=1,val_max=5), - ), - ), - - b_general =BLOC(condition = "TYPE_MODE == 'GENERAL'",fr="Recherche du nombre de valeurs propres", - MATR_A =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r, - matr_asse_depl_c,matr_asse_gene_c) ), - MATR_B =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r) ), - MATR_C =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r,matr_asse_gene_r) ), - CHAR_CRIT =SIMP(statut='f',typ='R',min=2,max='**', - validators=AndVal((OrdList('croissant'), NoRepeat())), - fr="Liste de charges critiques" ), - b_contour =BLOC(condition = "CHAR_CRIT == None", - TYPE_CONTOUR =SIMP(statut='f',typ='TXM',defaut="CERCLE",into=("CERCLE","CERCLE") ), - RAYON_CONTOUR =SIMP(statut='o',typ='R',val_min=1.E-2 ), - CENTRE_CONTOUR =SIMP(statut='f',typ='C',defaut= 0.0+0.0j),), - COMPTAGE =FACT(statut='d', - METHODE =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("AUTO","STURM","APM")), - SEUIL_CHAR_CRIT =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2 ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0), ), - NBPOINT_CONTOUR =SIMP(statut='f',typ='I',defaut= 40,val_min=10,val_max=1000), - NMAX_ITER_CONTOUR=SIMP(statut='f',typ='I',defaut= 3, val_min=1,val_max=5), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('INFO_MODE'), -# Mot-cle pour piloter les niveaux de parallelismes de l'operateur (a ne pas confondre avec le mot-cle -# cache PARALLELISME_MACRO) - NIVEAU_PARALLELISME =SIMP(statut='f',typ='TXM',defaut="COMPLET",into=("PARTIEL","COMPLET") ), -#------------------------------------------------------------------- -#------------------------------------------------------------------- -# Mot-cles caches pour activer le parallelisme au sein d'une macro-commande - PARALLELISME_MACRO=FACT(statut='d',min=0, - TYPE_COM =SIMP(statut='c',typ='I',defaut=-999,into=(-999,1,2),fr="Type de communication"), - ), -#------------------------------------------------------------------- - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2010 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.sellenet at edf.fr -INFO_RESU=PROC(nom="INFO_RESU",op=40, - UIinfo={"groupes":("Impression","Utilitaires",)}, - fr="Imprimer tous les champs présents dans une structure de données résultat", - RESULTAT=SIMP(statut='f',typ=resultat_sdaster), - UNITE=SIMP(statut='f',typ='I',defaut=6), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2010 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -INIT_COMPO=PROC(nom="INIT_COMPO", - op= 117, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Initialiser adresse component YACS", - COMPO =SIMP(statut='o',typ='I',), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr -INTE_MAIL_2D=OPER(nom="INTE_MAIL_2D",op=50,sd_prod=courbe_sdaster, - UIinfo={"groupes":("Post-traitements",)}, - fr="Définition d'une courbe dans un maillage 2D",reentrant='n', - - MAILLAGE =SIMP(statut='o',typ=(maillage_sdaster) ), - - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'), - AU_MOINS_UN('DEFI_SEGMENT','DEFI_ARC','DEFI_CHEMIN'), - PRESENT_ABSENT('DEFI_CHEMIN','DEFI_SEGMENT','DEFI_ARC'), - PRESENT_ABSENT('DEFI_SEGMENT','NOEUD_ORIG','GROUP_NO_ORIG'), - PRESENT_ABSENT('DEFI_ARC','NOEUD_ORIG','GROUP_NO_ORIG'), - EXCLUS('NOEUD_ORIG','GROUP_NO_ORIG'), - EXCLUS('DEFI_CHEMIN','DEFI_SEGMENT'), - EXCLUS('DEFI_CHEMIN','DEFI_ARC'),), - - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - - DEFI_SEGMENT =FACT(statut='f',max='**', - regles=(UN_PARMI('ORIGINE','NOEUD_ORIG','GROUP_NO_ORIG'), - UN_PARMI('EXTREMITE','NOEUD_EXTR','GROUP_NO_EXTR'),), - ORIGINE =SIMP(statut='f',typ='R',min=2,max=2), - NOEUD_ORIG =SIMP(statut='f',typ=no,), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno,), - EXTREMITE =SIMP(statut='f',typ='R',min=2,max=2), - NOEUD_EXTR =SIMP(statut='f',typ=no,), - GROUP_NO_EXTR =SIMP(statut='f',typ=grno,), - ), - - DEFI_ARC =FACT(statut='f',max='**', - regles=(UN_PARMI('CENTRE','NOEUD_CENTRE','GROUP_NO_CENTRE'), - UN_PARMI('RAYON','ORIGINE','NOEUD_ORIG','GROUP_NO_ORIG'), - UN_PARMI('RAYON','EXTREMITE','NOEUD_EXTR','GROUP_NO_EXTR'), - PRESENT_PRESENT('RAYON','SECTEUR'),), - CENTRE =SIMP(statut='f',typ='R',min=2,max=2), - NOEUD_CENTRE =SIMP(statut='f',typ=no,), - GROUP_NO_CENTRE =SIMP(statut='f',typ=grno,), - RAYON =SIMP(statut='f',typ='R',val_min=0.E+0), - SECTEUR =SIMP(statut='f',typ='R',min=2,max=2, - val_min=-180.E+0,val_max=180E+0), - ORIGINE =SIMP(statut='f',typ='R',min=2,max=2), - NOEUD_ORIG =SIMP(statut='f',typ=no,), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno,), - EXTREMITE =SIMP(statut='f',typ='R',min=2,max=2), - NOEUD_EXTR =SIMP(statut='f',typ=no,), - GROUP_NO_EXTR =SIMP(statut='f',typ=grno,), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF", - into=("RELATIF","ABSOLU",) ), - ), - - DEFI_CHEMIN =FACT(statut='f',max='**', - regles=(UN_PARMI('MAILLE','GROUP_MA'),), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - - NOEUD_ORIG =SIMP(statut='f',typ=no,), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno,), - PRECISION =SIMP(statut='f',typ='R',defaut=1.0E-3), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr -INTE_MAIL_3D=OPER(nom="INTE_MAIL_3D",op=96,sd_prod=surface_sdaster, - UIinfo={"groupes":("Post-traitements",)}, - fr="Définir un chemin de type segment de droite dans un maillage 3D",reentrant='n', - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - DEFI_SEGMENT =FACT(statut='o',max='**', - regles=(UN_PARMI('ORIGINE','NOEUD_ORIG','GROUP_NO_ORIG'), - UN_PARMI('EXTREMITE','NOEUD_EXTR','GROUP_NO_EXTR'),), - ORIGINE =SIMP(statut='f',typ='R',min=3,max=3), - NOEUD_ORIG =SIMP(statut='f',typ=no,), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno,), - EXTREMITE =SIMP(statut='f',typ='R',min=3,max=3), - NOEUD_EXTR =SIMP(statut='f',typ=no,), - GROUP_NO_EXTR =SIMP(statut='f',typ=grno,), - ), - PRECISION =SIMP(statut='f',typ='R',defaut=1.0E-6), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.sellenet at edf.fr -def lire_champ_prod(TYPE_CHAM=None,**args): -# Remarque : si cette liste évolue, il faut penser à mettre à jour son -# homologue dans macr_adap_mail - if TYPE_CHAM[0:5] == "NOEU_" : return cham_no_sdaster - if TYPE_CHAM[0:5] == "CART_" : return carte_sdaster - if TYPE_CHAM[0:2] == "EL" : return cham_elem - raise AsException("type de concept resultat non prevu") - -LIRE_CHAMP=OPER(nom="LIRE_CHAMP",op= 192,sd_prod=lire_champ_prod, - UIinfo={"groupes":("Lecture","Résultats et champs",)}, - fr="Lire un champ dans un fichier au format MED et le stocker dans un concept.", - reentrant='n', - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster,), - FORMAT =SIMP(statut='f',typ='TXM',defaut="MED",into=("MED",),), - UNITE =SIMP(statut='f',typ='I',defaut= 81,), - b_format =BLOC(condition = "FORMAT == 'MED'", - regles=( UN_PARMI('NOM_CMP_IDEM','NOM_CMP'), - PRESENT_PRESENT('NOM_CMP','NOM_CMP_MED' ), - EXCLUS('NUME_ORDRE','INST'), - EXCLUS('NUME_PT','INST'),), - NOM_MED =SIMP(statut='o',typ='TXM', ), - NOM_CMP_IDEM =SIMP(statut='f',typ='TXM',into=("OUI",), ), - NOM_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',), - NOM_CMP_MED =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',), - PROL_ZERO =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON",), - fr="Affecte des valeurs nulles la ou le champ n'est pas defini (sinon il y a NaN)"), - NUME_PT =SIMP(statut='f',typ='I' ,validators=NoRepeat(),max='**',), - NUME_ORDRE =SIMP(statut='f',typ='I' ,validators=NoRepeat(),max='**', - fr="Numero d ordre du champ à lire",ang="Rank of the field to be read" ), - INST =SIMP(statut='f',typ='R',fr="Instant associé",ang="Instant" ), -# - b_precision =BLOC(condition="(INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",), - fr="Critère de précision sur le choix de l'instant associé", - ang="Accuracy criterium over instant choice" ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6, - fr="Précision sur le choix de l'instant associé",ang="Accuracy over instant choice" ),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R', - fr="Précision sur le choix de l'instant associé",ang="Accuracy over instant choice" ),),), -# - NOM_MAIL_MED =SIMP(statut='f',typ='TXM',), - ), -# Remarque : si cette liste évolue, il faut penser à mettre à jour son -# homologue dans macr_adap_mail - TYPE_CHAM =SIMP(statut='o',typ='TXM',into=C_TYPE_CHAM_INTO()), - b_modele =BLOC(condition = "TYPE_CHAM!=None and (TYPE_CHAM[0:2] == 'EL')", - MODELE =SIMP(statut='o',typ=modele_sdaster, ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -def lire_fonction_prod(self,TYPE,**args): - if (TYPE == 'FONCTION') : return fonction_sdaster - elif (TYPE == 'FONCTION_C'): return fonction_c - elif (TYPE == 'NAPPE' ) : return nappe_sdaster - raise AsException("type de concept resultat non prevu") - -LIRE_FONCTION=MACRO(nom="LIRE_FONCTION", - op=OPS('Macro.lire_fonction_ops.lire_fonction_ops'), - sd_prod=lire_fonction_prod, - fr="Lit les valeurs réelles dans un fichier de données représentant une " \ - "fonction et crée un concept de type fonction ou nappe", - reentrant='n', - UIinfo={"groupes":("Lecture","Fonctions",)}, - FORMAT =SIMP(statut='f',typ='TXM',into=("LIBRE",),defaut="LIBRE" ), - TYPE =SIMP(statut='f',typ='TXM',into=("FONCTION","FONCTION_C","NAPPE"),defaut="FONCTION" ), - SEPAR =SIMP(statut='f',typ='TXM',into=("None",",",";","/"),defaut="None" ), - INDIC_PARA =SIMP(statut='f',typ='I',min=2,max=2,defaut=[1,1]), - b_fonction =BLOC(condition = "TYPE=='FONCTION' ", - INDIC_RESU =SIMP(statut='f',typ='I',min=2,max=2,defaut=[1,2]), ), - b_fonction_c =BLOC(condition = "TYPE=='FONCTION_C' ", - FORMAT_C =SIMP(statut='f',typ='TXM',defaut="REEL_IMAG",into=("REEL_IMAG","MODULE_PHASE") ), - b_reel_imag =BLOC(condition = "FORMAT_C=='REEL_IMAG' ", - INDIC_REEL =SIMP(statut='o',typ='I',min=2,max=2,defaut=[1,2]), - INDIC_IMAG =SIMP(statut='o',typ='I',min=2,max=2,defaut=[1,3]), ) , - b_modu_phas =BLOC(condition = "FORMAT_C=='MODULE_PHASE' ", - INDIC_MODU =SIMP(statut='o',typ='I',min=2,max=2,defaut=[1,2]), - INDIC_PHAS =SIMP(statut='o',typ='I',min=2,max=2,defaut=[1,3]), ), ), - b_nappe =BLOC(condition = "TYPE=='NAPPE' ", - NOM_PARA_FONC =SIMP(statut='o',typ='TXM',into=C_PARA_FONCTION() ), - INDIC_ABSCISSE =SIMP(statut='o',typ='I',min=2,max=2,), - INTERPOL_FONC =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG"), - fr="Type d'interpolation pour les abscisses et les ordonnées de la fonction"), - PROL_DROITE_FONC=SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE_FONC=SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - DEFI_FONCTION =FACT(statut='f',max='**', - INDIC_RESU =SIMP(statut='o',typ='I',min=2,max=2,),), ), - UNITE =SIMP(statut='o',typ='I' ), - NOM_PARA =SIMP(statut='o',typ='TXM',into=C_PARA_FONCTION() ), - NOM_RESU =SIMP(statut='f',typ='TXM',defaut="TOUTRESU"), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,defaut="LIN",into=("NON","LIN","LOG"), - fr="Type d'interpolation pour les abscisses et les ordonnées de la " \ - "fonction ou bien pour le paramètre de la nappe."), - PROL_DROITE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',defaut="EXCLU",into=("CONSTANT","LINEAIRE","EXCLU") ), - VERIF =SIMP(statut='f',typ='TXM',defaut="CROISSANT",into=("CROISSANT","NON") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2005 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr -LIRE_FORC_MISS=OPER(nom="LIRE_FORC_MISS",op= 179,sd_prod=vect_asse_gene, - fr="Création d'un vecteur assemblé à partir d'une base modale", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs","Outils-métier",)}, - BASE =SIMP(statut='o',typ=mode_meca), - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - FREQ_EXTR =SIMP(statut='o',typ='R',max=1), - NOM_CMP =SIMP(statut='f',typ='TXM',into=("DX","DY","DZ") ), - NOM_CHAM =SIMP(statut='f',typ='TXM',into=("DEPL","VITE","ACCE"),defaut="DEPL"), - NUME_CHAR =SIMP(statut='f',typ='I' ), - ISSF =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","OUI") ), - UNITE_RESU_FORC =SIMP(statut='f',typ='I',defaut=30), - NOM_RESU_FORC =SIMP(statut='f',typ='TXM' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr -LIRE_IMPE_MISS=OPER(nom="LIRE_IMPE_MISS",op= 164,sd_prod=matr_asse_gene_c, - fr="Création d une matrice assemblée à partir de base modale", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs","Outils-métier",)}, - BASE =SIMP(statut='o',typ=mode_meca ), - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - FREQ_EXTR =SIMP(statut='f',typ='R',max=1), - INST_EXTR =SIMP(statut='f',typ='R',max=1), - UNITE_RESU_IMPE =SIMP(statut='f',typ='I',defaut=30), - ISSF =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","OUI") ), - TYPE =SIMP(statut='f',typ='TXM',defaut="ASCII",into=("BINAIRE","ASCII") ), - SYME =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","OUI") ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr - - -LIRE_INTE_SPEC=MACRO(nom="LIRE_INTE_SPEC", - op=OPS('Macro.lire_inte_spec_ops.lire_inte_spec_ops'), - sd_prod=interspectre, - fr="Lecture sur un fichier externe de fonctions complexes pour " \ - "créer une matrice interspectrale", - reentrant='n', - UIinfo={"groupes":("Lecture","Fonctions",)}, - UNITE =SIMP(statut='o',typ='I' ), - FORMAT_C =SIMP(statut='f',typ='TXM',defaut="MODULE_PHASE",into=("REEL_IMAG","MODULE_PHASE") ), - FORMAT =SIMP(statut='f',typ='TXM',defaut="ASTER",into=("ASTER","IDEAS") ), - NOM_PARA =SIMP(statut='f',typ='TXM',defaut="FREQ", - into=("DX","DY","DZ","DRX","DRY","DRZ","TEMP", - "INST","X","Y","Z","EPSI","FREQ","PULS","AMOR","ABSC",) ), - NOM_RESU =SIMP(statut='f',typ='TXM',defaut="DSP" ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -LIRE_MAILLAGE=OPER(nom="LIRE_MAILLAGE",op= 1,sd_prod=maillage_sdaster, - fr="Crée un maillage par lecture d'un fichier au format Aster ou Med", - ang="Readings of a mesh file", - reentrant='n', - UIinfo={"groupes":("Lecture","Maillage",)}, - - UNITE =SIMP(statut='f',typ='I',defaut= 20 ), - - FORMAT =SIMP(statut='f',typ='TXM',defaut="ASTER",into=("ASTER","MED"), - fr="Format du fichier : ASTER ou MED.", - ang="Format of the file : ASTER or MED.",), - - ABSC_CURV =FACT(statut='f',min=0, - TOUT =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ), - - VERI_MAIL =FACT(statut='d', - VERIF =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - APLAT =SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - ), - - b_format_med =BLOC( condition = " ( FORMAT == 'MED' ) " , - fr="Informations complémentaires pour la lecture MED.", - ang="Further information for MED readings.", - -# Pour une lecture dans un fichier MED, on peut préciser le nom sous lequel -# le maillage y a été enregistré. Par défaut, on va le chercher sous le nom du concept à créer. - NOM_MED = SIMP(statut='f',typ='TXM', - fr="Nom du maillage dans le fichier MED.", - ang="Name of the mesh into the MED file.",), - INFO_MED = SIMP(statut='f',typ='I',defaut= 1,into=(1,2,3) ), - - RENOMME = FACT(statut='f', max='**', - fr="Renommer un nom de groupe MED", - NOM_MED = SIMP(statut='o', typ='TXM', validators=LongStr(1, 64), - fr="Nom du groupe dans le fichier MED"), - NOM = SIMP(statut='o', typ=grma, - fr="Nom du groupe dans le maillage ASTER"), - ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: serguei.potapov at edf.fr - -LIRE_PLEXUS=OPER(nom="LIRE_PLEXUS",op= 184,sd_prod=evol_char, - fr="Lire le fichier de résultats au format IDEAS produit par le logiciel EUROPLEXUS", - reentrant='n', - UIinfo={"groupes":("Lecture","Outils-métier",)}, - regles=(UN_PARMI('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST','LIST_ORDRE'),), - UNITE =SIMP(statut='f',typ='I',defaut= 19 ), - FORMAT =SIMP(statut='f',typ='TXM',defaut="IDEAS",into=("IDEAS",)), - MAIL_PLEXUS =SIMP(statut='o',typ=maillage_sdaster ), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster ), - MODELE =SIMP(statut='o',typ=modele_sdaster ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - b_prec_crit =BLOC(condition = "LIST_INST != None or INST != None", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),),), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr - -def lire_resu_prod(TYPE_RESU,**args): - if TYPE_RESU == "EVOL_CHAR" : return evol_char - if TYPE_RESU == "EVOL_THER" : return evol_ther - if TYPE_RESU == "EVOL_ELAS" : return evol_elas - if TYPE_RESU == "EVOL_NOLI" : return evol_noli - if TYPE_RESU == "DYNA_TRANS" : return dyna_trans - if TYPE_RESU == "DYNA_HARMO" : return dyna_harmo - if TYPE_RESU == "MODE_MECA" : return mode_meca - if TYPE_RESU == "MODE_MECA_C" : return mode_meca_c - if TYPE_RESU == "EVOL_VARC" : return evol_varc - raise AsException("type de concept resultat non prevu") - -# pour éviter d'écrire 3 fois cette liste : -def l_nom_cham_pas_elga() : - return list(set(C_NOM_CHAM_INTO())-set(C_NOM_CHAM_INTO('ELGA',))) - -LIRE_RESU=OPER(nom="LIRE_RESU",op=150,sd_prod=lire_resu_prod,reentrant='n', - UIinfo={"groupes":("Lecture","Resultats et champs",)}, - fr="Lire dans un fichier, soit format IDEAS, soit au format ENSIGHT soit au format MED," - +" des champs et les stocker dans une SD résultat", - - -# 0) mots cles generaux : -#---------------------- - TYPE_RESU =SIMP(statut='o',typ='TXM',into=("EVOL_THER","EVOL_ELAS","EVOL_NOLI","MODE_MECA", - "MODE_MECA_C","DYNA_TRANS","DYNA_HARMO", - "EVOL_CHAR","EVOL_VARC") ), - - FORMAT =SIMP(statut='o',typ='TXM',into=("IDEAS","IDEAS_DS58","ENSIGHT","MED") ), - - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - - regles=(UN_PARMI('MAILLAGE','MODELE'),), - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster), - MODELE =SIMP(statut='f',typ=modele_sdaster), - COMPORTEMENT =C_COMPORTEMENT(), - NB_VARI =SIMP(statut='f',typ='I' ), - - CHAM_MATER =SIMP(statut='f',typ=cham_mater,), - - CARA_ELEM =SIMP(statut='f',typ=cara_elem,), - - b_evol_elas = BLOC(condition="TYPE_RESU=='EVOL_ELAS'", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE",into=("FIXE",) ),), - ), - - b_evol_ther = BLOC(condition="TYPE_RESU=='EVOL_THER'", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='o',typ=(char_ther,char_cine_ther)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)),), - ), - - b_evol_noli = BLOC(condition="TYPE_RESU=='EVOL_NOLI'", - EXCIT =FACT(statut='f',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE","FIXE_PILO","SUIV","DIDI")), - DEPL =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ACCE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - VITE =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - MULT_APPUI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'),), - ), - - -# 1) blocs selon le format choisi : -#--------------------------------- - -# 1-1 ideas dataset-58 : -# ---------------------- - b_dataset_58 = BLOC(condition="FORMAT=='IDEAS_DS58'", - UNITE =SIMP(statut='f',typ='I',defaut= 19 ), - ), - b_dataset_58_b = BLOC(condition="(FORMAT=='IDEAS_DS58') and ((TYPE_RESU=='DYNA_TRANS') or\ - (TYPE_RESU=='DYNA_HARMO'))", - NOM_CHAM=SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=("DEPL","VITE","ACCE","EPSI_NOEU","SIEF_NOEU",),max='**'), - REDEFI_ORIENT=FACT(statut='f',max='**', - regles=(PRESENT_PRESENT('CODE_DIR','DIRECTION','NOEUD',),), - CODE_DIR =SIMP(statut='f',typ='I',into=(1,2,3,) ), - DIRECTION=SIMP(statut='f',typ='R',min=3,max=3,), - NOEUD =SIMP(statut='f',typ=no,validators=NoRepeat(),max='**'),), - ), - -# 1-2 ideas : -# --------- - b_ideas =BLOC(condition="FORMAT=='IDEAS'", - UNITE =SIMP(statut='f',typ='I',defaut= 19 ), -# TEST =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON" ), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=l_nom_cham_pas_elga()), - PROL_ZERO =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON",), - fr="Affecte des valeurs nulles la ou le champ n'est pas defini"), - FORMAT_IDEAS =FACT(statut='f',max='**', - regles=(UN_PARMI('POSI_INST','POSI_FREQ'),), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=l_nom_cham_pas_elga()), - NUME_DATASET =SIMP(statut='f',typ='I',into=(55,57,2414) ), - RECORD_3 =SIMP(statut='f',typ='I',max=10), - RECORD_6 =SIMP(statut='f',typ='I',max=10), - RECORD_9 =SIMP(statut='f',typ='I',max=10), - POSI_ORDRE =SIMP(statut='o',typ='I',min=2,max=2), - POSI_NUME_MODE =SIMP(statut='f',typ='I',min=2,max=2), - POSI_MASS_GENE =SIMP(statut='f',typ='I',min=2,max=2), - POSI_AMOR_GENE =SIMP(statut='f',typ='I',min=2,max=2), - POSI_INST =SIMP(statut='f',typ='I',min=2,max=2), - POSI_FREQ =SIMP(statut='f',typ='I',min=2,max=2), - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'),), - ), - -# 1-3 ensight : -# ------------- - b_ensight =BLOC(condition="FORMAT=='ENSIGHT'", - NOM_FICHIER =SIMP(statut='f',typ='TXM'), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=l_nom_cham_pas_elga()), - ), - -# 1-4 med : -# --------- - b_med =BLOC(condition = "FORMAT == 'MED'",fr="Nom du champ dans le fichier MED", - UNITE =SIMP(statut='f',typ='I',defaut= 81, fr="Le fichier est : fort.n.",), - FORMAT_MED =FACT(statut='o',max='**', - regles=(ENSEMBLE('NOM_CMP','NOM_CMP_MED'),UN_PARMI('NOM_CHAM_MED','NOM_RESU'),), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO(),), - NOM_CHAM_MED =SIMP(statut='f',typ='TXM', fr="Nom du champ dans le fichier MED.", ), - NOM_RESU =SIMP(statut='f',typ='TXM', fr="Prefixe du nom de champ dans le fichier MED.", ), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**', fr="Nom des composantes dans ASTER.", ), - NOM_CMP_MED =SIMP(statut='f',typ='TXM',max='**', fr="Nom des composantes dans MED.", ), - ), - PROL_ZERO =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON",), - fr="Affecte des valeurs nulles la ou le champ n'est pas defini (sinon il y a NaN)"), - ), - -# 2) blocs selon le type du resultat : -#--------------------------------- - b_mode_meca =BLOC(condition="(TYPE_RESU=='MODE_MECA')or(TYPE_RESU=='MODE_MECA_C')", - # Ces mots cles sont stockes dans l'objet .REFD des mode_meca - # Ces mots cles sont aussi utilises pour imposer la numerotation des cham_no de DEPL_R - MATR_RIGI =SIMP(statut='f',typ=matr_asse_depl_r,max=1), - MATR_MASS =SIMP(statut='f',typ=matr_asse_depl_r,max=1), - ), - - -# 3) autres blocs : -#--------------------------------- - b_extrac =BLOC(condition="1",fr="acces a un champ dans la structure de donnees resultat", - regles=(UN_PARMI('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST','FREQ','LIST_FREQ'),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - - b_acce_reel =BLOC(condition="(INST != None)or(LIST_INST != None)or(FREQ != None)or(LIST_FREQ != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - - -LIRE_TABLE=MACRO(nom="LIRE_TABLE", - op=OPS('Macro.lire_table_ops.lire_table_ops'), - sd_prod=table_sdaster, - fr="Lecture d'un fichier contenant une table", - UIinfo={"groupes":("Lecture","Tables",)}, - UNITE = SIMP(statut='o', typ='I' ), - FORMAT = SIMP(statut='f', typ='TXM', into=("ASTER", "LIBRE", "TABLEAU"), defaut="TABLEAU"), - NUME_TABLE = SIMP(statut='f', typ='I', defaut=1), - SEPARATEUR = SIMP(statut='f', typ='TXM', defaut=' '), - RENOMME_PARA = SIMP(statut='f', typ='TXM', into=("UNIQUE",),), - TITRE = SIMP(statut='f', typ='TXM', max='**'), - INFO = SIMP(statut='f', typ='I', into=(1, 2), ), - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2005 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr - -MAC_MODES=OPER(nom="MAC_MODES",op= 141,sd_prod=table_sdaster, - fr="Critere orthogonalite de modes propres", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - regles=(PRESENT_PRESENT('IERI','MATR_ASSE'),), - BASE_1 =SIMP(statut='o',typ=(mode_meca,mode_meca_c,mode_flamb) ), - BASE_2 =SIMP(statut='o',typ=(mode_meca,mode_meca_c,mode_flamb) ), - MATR_ASSE =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_depl_c) ), - IERI =SIMP(statut='f',typ='TXM',into=("OUI",),), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: gerald.nicolas at edf.fr -# -def macr_adap_mail_prod(self, MAJ_CHAM, ADD_CHAM, ADAPTATION, **args): -# -# 0. Typage des structures produites -# - #print args - if ( args.has_key('MAILLAGE_NP1') ) : - if ( args['MAILLAGE_NP1'] is not None ) : - maillage_np1=args['MAILLAGE_NP1'] - self.type_sdprod(maillage_np1, maillage_sdaster) -# - if ( args.has_key('MAILLAGE_NP1_ANNEXE') ) : - if ( args['MAILLAGE_NP1_ANNEXE'] is not None ) : - maillage_np1_annexe=args['MAILLAGE_NP1_ANNEXE'] - self.type_sdprod(maillage_np1_annexe, maillage_sdaster) -# - #print "MAJ_CHAM =", MAJ_CHAM - if MAJ_CHAM is not None : -# Remarque : la liste qui suit doit etre conforme à son homologue de LIRE_CHAMP - for ch in MAJ_CHAM: - t=ch['TYPE_CHAM'] - if t[0:5] == "NOEU_":self.type_sdprod(ch['CHAM_MAJ'],cham_no_sdaster) - if t[0:2] == "EL": self.type_sdprod(ch['CHAM_MAJ'],cham_elem) -# - #print "ADD_CHAM =", ADD_CHAM - if ADD_CHAM is not None : - for ch in ADD_CHAM: - self.type_sdprod(ch['CHAM_GD'],carte_sdaster) -# - return None - -MACR_ADAP_MAIL=MACRO(nom="MACR_ADAP_MAIL", - op=OPS('Macro.macr_adap_mail_ops.macr_adap_mail_ops'), - sd_prod=macr_adap_mail_prod, - fr="Adapter un maillage avec le logiciel HOMARD.", - ang="Mesh adaptation with the HOMARD software.", - UIinfo={"groupes":("Maillage",)}, -# -# 1. Le niveau d'information -# - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2,3,4)), -# -# 2. Les maillages -# 2.1. Quel que soit le type de traitement, il faut donner le concept du maillage initial (entree) -# - MAILLAGE_N = SIMP(statut='o',typ=maillage_sdaster, - fr="Maillage avant adaptation", - ang="Mesh before adaptation" ), -# -# 2.2. Si ce n'est pas une simple lecture : -# - b_maillage = BLOC( condition = " (ADAPTATION != 'LECTURE') " , - fr="Lectures de champs aux points de Gauss ou aux noeuds par element.", - ang="Readings of the fields over the Gauss points.", -# -# 2.2.1. Le concept du maillage final (sortie) -# - MAILLAGE_NP1 = SIMP(statut='o',typ=CO, - fr="Maillage après adaptation", - ang="Mesh after adaptation" ), -# -# 2.2.2. Eventuellement, on peut produire un maillage annexe -# Actuellement, c'est le maillage n+1, mais de degré différent. -# - MAILLAGE_NP1_ANNEXE = SIMP(statut='f',typ=CO, - fr="Maillage annexe après adaptation", - ang="Additional mesh after adaptation" ), -# - ) , -# -# 3. Le pilotage de l'adaptation, avec les variantes suivantes : -# . Raffinement et deraffinement, selon un champ -# . Raffinement seul, selon un champ -# . Deraffinement seul, selon un champ -# . Raffinement et deraffinement, selon des zones geometriques -# . Raffinement uniforme : toutes les mailles sont divisées -# . Deraffinement uniforme : toutes les mailles sont regroupées -# . Modification : le maillage subit des transformations specifiques -# . Rien : le maillage est le meme a la sortie et a l'entree -# - ADAPTATION = SIMP(statut='o',typ='TXM', - into=("RAFF_DERA", "RAFFINEMENT", "DERAFFINEMENT", "RAFF_DERA_ZONE", \ - "RAFFINEMENT_UNIFORME", "DERAFFINEMENT_UNIFORME", \ - "MODIFICATION", "LECTURE", "RIEN"), - fr="Pilotage de l'adaptation : selon un champ ou uniforme.", - ang="Adaptation control: either among an field or uniform" ), -# -# 4. Pour de l'adaptation libre, il faut un champ d'indicateur -# - b_champ = BLOC( condition = " (ADAPTATION == 'RAFF_DERA') or \ - (ADAPTATION == 'RAFFINEMENT') or \ - (ADAPTATION == 'DERAFFINEMENT') " , - fr="Pour une adaptation libre, choix du champ définissant la région à raffiner/déraffiner", - ang="For a free adaptation, selection of the field that defines the area for refinment/unrefinement", -# - regles=(UN_PARMI('CHAM_GD','RESULTAT_N')), -# -# 4.1. Reperage de la région a raffiner a l'aide d'un champ -# -# 4.1.1. Sous forme de champ de grandeur -# - CHAM_GD = SIMP(statut='f',typ=cham_gd_sdaster, - fr="Champ de grandeur Code_Aster pilotant l'adaptation", - ang="Code_Aster 'champ de grandeur' governing the adapatation" ), -# -# 4.1.2. Sous forme de concept resultat_sdaster -# - RESULTAT_N = SIMP(statut='f',typ=(evol_elas,evol_noli,evol_ther) , - fr="Concept résultat Code_Aster contenant le champ", - ang="The Code_Aster result with the field" ), -# - b_champ_adaptation = BLOC(condition="(RESULTAT_N != None)", - NOM_CHAM = SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO(), - fr="Champ dans le résultat", - ang="The field in the result structure" ), - ), -# -# 4.1.4. La ou les composantes retenues -# - NOM_CMP = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Liste des composante(s) retenue(s) pour le champ.", - ang="List of the selected component(s) for the field." ), -# -# 4.1.5. Le paramètre temporel pour le champ -# - b_parametre_temporel = BLOC(condition="(RESULTAT_N != None)", - fr="Choix éventuel du paramètre temporel pour le champ", - ang="Time selection for the field (option)", -# - regles=(EXCLUS('NUME_ORDRE','INST'),), -# -# 4.1.5.1. Soit le numero d'ordre -# - NUME_ORDRE = SIMP(statut='f',typ='I', - fr="Numéro d ordre", - ang="Rank" ), -# -# 4.1.5.2. Soit l'instant -# 4.1.5.2.1. Sa valeur -# - INST = SIMP(statut='f',typ='R', - fr="Instant associé", - ang="Instant" ), -# -# 4.1.5.2.2. La précision du choix de l'instant -# - b_precision = BLOC(condition="(INST != None)", - fr="Choix de la précision du choix de l'instant", - ang="Precision for the choice of the instant", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF", "ABSOLU",), - fr="Critère de précision sur le choix de l'instant associé", - ang="Accuracy criterium over the choice of the instant"), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6, - fr="Précision relative sur le choix de l'instant associé", - ang="Relative accuracy over the choice of the instant"),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R', - fr="Précision absolue sur le choix de l'instant associé", - ang="Absolute accuracy over the choice of the instant"),), - ), -# - ), -# -# 4.1.6. Usage des composantes : maximum, maximum de la valeur absolue, ou de la norme L2, ou de la norme infinie -# - USAGE_CMP = SIMP(statut='f',typ='TXM',defaut="NORME_L2", - into=("ABSOLU", "NORME_L2", "NORME_INFINIE", "RELATIF"), - fr="Valeur absolue de la composante, ou norme du champ, ou valeur relative de la composante", - ang="Absolute value of the component, or norm of the field, or relative value of the component" ), -# -# 4.1.7. Usage du champ : la valeur par maille ou le max du saut entre mailles -# - USAGE_CHAMP = SIMP(statut='f',typ='TXM',defaut="MAILLE",into=("MAILLE", "SAUT"), - fr="Usage du champ : la valeur par maille ou le saut entre mailles voisines", - ang="Use of the field: value over every mesh or jump between the neighbours" ), -# -# 4.1.8. Initialisation de l'adaptation : raffinement ou déraffinement -# - ADAP_INIT = SIMP(statut='f',typ='TXM',defaut="GARDER",into=("GARDER", "DERAFFINER"), - fr="Initialisation de l'adaptation dans les régions sans indicateur : garder ou déraffiner", - ang="Initialization of the adaptation in the areas without indicator: keep or unrefine" ), -# - ) , -# -# 5. Les criteres pour de l'adaptation libre avec un champ : -# absolu, relatif, en proportion d'entite -# 5.1. Pour le raffinement : -# - b_critere_de_raffinement = BLOC( condition = " (ADAPTATION == 'RAFF_DERA') or \ - (ADAPTATION == 'RAFFINEMENT') " , - fr="Critère de raffinement.", - ang="Refinement threshold.", -# - regles=(UN_PARMI ( 'CRIT_RAFF_ABS', 'CRIT_RAFF_REL', 'CRIT_RAFF_PE', 'CRIT_RAFF_MS' ),), -# - CRIT_RAFF_ABS = SIMP(statut='f',typ='R', - fr="Critère absolu", - ang="Absolute threshold" ), - CRIT_RAFF_REL = SIMP(statut='f',typ='R',val_min=0.0,val_max=1.0, - fr="Critère relatif : fraction réelle entre 0. et 1.", - ang="Relative threshold : ratio between 0. and 1." ), - CRIT_RAFF_PE = SIMP(statut='f',typ='R',val_min=0.0,val_max=1.0, - fr="Pourcentage de mailles : fraction réelle entre 0. et 1.", - ang="Percentage of meshes: ratio between 0. and 1." ), - CRIT_RAFF_MS = SIMP(statut='f',typ='R', - fr="Critère absolu valant moyenne + n*sigma, n étant > 0", - ang="Absolute threshold: mean + n*sigma, with n > 0" ), - ) , -# -# 5.2. Pour le deraffinement : -# - b_critere_de_deraffinement = BLOC( condition = " (ADAPTATION == 'RAFF_DERA') or \ - (ADAPTATION == 'DERAFFINEMENT') " , - fr="Critère de déraffinement.", - ang="Unrefinement threshold.", -# - regles=(UN_PARMI ( 'CRIT_DERA_ABS', 'CRIT_DERA_REL', 'CRIT_DERA_PE', 'CRIT_DERA_MS' ),), -# - CRIT_DERA_ABS = SIMP(statut='f',typ='R' , - fr="Critère absolu", - ang="Absolute threshold" ), - CRIT_DERA_REL = SIMP(statut='f',typ='R',val_min=0.0,val_max=1.0, - fr="Critère relatif : fraction réelle entre 0. et 1.", - ang="Relative threshold: ratio between 0. and 1." ), - CRIT_DERA_PE = SIMP(statut='f',typ='R',val_min=0.0,val_max=1.0, - fr="Pourcentage de mailles : fraction réelle entre 0. et 1.", - ang="Percentage of meshes: ratio between 0. and 1." ), - CRIT_DERA_MS = SIMP(statut='f',typ='R', - fr="Critère absolu valant moyenne - n*sigma, n étant > 0", - ang="Absolute threshold: mean - n*sigma, with n > 0" ), - ) , -# -# 6. Pour de l'adaptation par zone, définitions des zones -# - b_zone = BLOC( condition = " (ADAPTATION == 'RAFF_DERA_ZONE') " , - fr="Pour une adaptation selon une zone à raffiner", - ang="For adaptation among a zone", -# - ZONE = FACT(statut='o',min=1,max='**', - fr="Définition de zones à raffiner.", - ang="Refined zone definition.", -# -# 6.1. Type de la zone -# - TYPE = SIMP(statut='o',typ='TXM',into=("RECTANGLE", "BOITE", "DISQUE", "SPHERE", "CYLINDRE", "DISQUE_PERCE", "TUYAU"), - fr="Type de la zone", - ang="Type of the zone" ), -# -# 6.2. Usage de la zone -# - USAGE = SIMP(statut='f',typ='TXM',into=("RAFFINEMENT","DERAFFINEMENT"),defaut="RAFFINEMENT", - fr="Zone pour raffiner", - ang="Zone: refinement" ), -# -# Ne sachant pas exploiter les blocs, je mets des regles -# - regles=(AU_MOINS_UN('X_MINI','X_CENTRE','HAUTEUR'), - EXCLUS('X_MINI','X_CENTRE','HAUTEUR',), - EXCLUS('Z_MINI','X_CENTRE','HAUTEUR',), - EXCLUS('X_MINI','Z_CENTRE','HAUTEUR',), - EXCLUS('Z_MINI','Z_CENTRE','HAUTEUR',), - EXCLUS('X_MINI','RAYON',), - EXCLUS('Z_MINI','RAYON',), - EXCLUS('RAYON','RAYON_INT',),), -# -# 6.3. Une boite rectangulaire ou parallelepipedique -# 6.3.1. Incontournables -# -##gn b_z_boiteXY = BLOC( condition = " (TYPE == 'RECTANGLE') or (TYPE == 'BOITE') " , -##gn fr="X et Y mini/maxi pour un rectangle ou un parallelepipede.", -##gn ang="X and Y min/max for a rectangle or a parallelepipedic box", - X_MINI = SIMP(statut='f',typ='R', - fr="Abscisse minimum de la boite", - ang="Minimum X for the box"), - X_MAXI = SIMP(statut='f',typ='R', - fr="Abscisse maximum de la boite", - ang="Maximum X for the box"), - Y_MINI = SIMP(statut='f',typ='R', - fr="Ordonnée minimum de la boite", - ang="Minimum Y for the box"), - Y_MAXI = SIMP(statut='f',typ='R', - fr="Abscisse maximum de la boite", - ang="Maximum Y for the box"), -##gn ) , -# -# 6.3.2. Complement pour une boite parallelepipedique -# -##gn b_z_boiteZ = BLOC( condition = " (TYPE == 'BOITE') " , -##gn fr="Z mini/maxi pour un parallelepipede.", -##gn ang="Z min/max for a parallelepipedic box", - Z_MINI = SIMP(statut='f',typ='R', - fr="Cote minimum de la boite", - ang="Minimum Z for the box"), - Z_MAXI = SIMP(statut='f',typ='R', - fr="Cote maximum de la boite", - ang="Maximum Z for the box"), -##gn ) , -# -# 6.4. Rayon pour un disque, une sphere ou un cylindre -# -##gn b_z_rayon = BLOC( condition = " (TYPE == 'DISQUE') or (TYPE == 'SPHERE') or (TYPE == 'CYLINDRE') " , -##gn fr="Le rayon d'un disque, d'une sphere ou d'un cylindre.", -##gn ang="The radius of a disk or of a sphere or of a cylinder.", - RAYON = SIMP(statut='f',typ='R', - fr="Rayon", - ang="Radius"), -##gn ) , -# -# 6.5. Pour un disque plein ou perce, une sphere -# 6.5.1. Incontournables -# -##gn b_z_di_sp_XY = BLOC( condition = " (TYPE == 'DISQUE') or (TYPE == 'SPHERE') or (TYPE == 'DISQUE_PERCE') " , -##gn fr="X et Y du centre d'un disque plein ou perce, d'une sphere.", -##gn ang="X and Y of the centre of a disk or of a sphere.", - X_CENTRE = SIMP(statut='f',typ='R', - fr="Abscisse du centre du disque ou de la sphère", - ang="X for the center of the disk or of the sphere"), - Y_CENTRE = SIMP(statut='f',typ='R', - fr="Ordonnée du centre du disque ou de la sphère", - ang="Y for the center of the disk or of the sphere"), -##gn ) , -# -# 6.5.2. Complement pour une sphere -# -##gn b_z_sp_Z = BLOC( condition = " (TYPE == 'SPHERE') " , -##gn fr="Cote du centre de la sphere.", -##gn ang="Z for the center of the sphere.", - Z_CENTRE = SIMP(statut='f',typ='R', - fr="Cote du centre de la sphère", - ang="Z for the center of the sphere"), -##gn ) , -# -# 6.6. Rayons interieur et exterieur pour un disque perce ou un tuyau -# -##gn b_z_rayon_int_ext = BLOC( condition = " (TYPE == 'DISQUE_PERCE') or (TYPE == 'TUYAU') " , -##gn fr="Le rayon d'un disque perce ou d'un tuyau.", -##gn ang="The radius of a holed disk or of a pipe.", - RAYON_INT = SIMP(statut='f',typ='R', - fr="Rayon intérieur", - ang="Internal radius"), - RAYON_EXT = SIMP(statut='f',typ='R', - fr="Rayon extérieur", - ang="External radius"), -##gn ) , -# -# 6.7. Un cylindre ou un tuyau -# -##gn b_z_cylindre_tuyau = BLOC( condition = " (TYPE == 'CYLINDRE') or (TYPE == 'TUYAU') " , -##gn fr="Pour un cylindre ou un tuyau.", -##gn ang="For a cylinder or a pipe.", - X_AXE = SIMP(statut='f',typ='R', - fr="Abscisse du vecteur directeur de l'axe", - ang="X for the axial vector"), - Y_AXE = SIMP(statut='f',typ='R', - fr="Ordonnée du vecteur directeur de l'axe", - ang="Y for the axial vector"), - Z_AXE = SIMP(statut='f',typ='R', - fr="Cote du vecteur directeur de l'axe", - ang="Z for the axial vector"), - X_BASE = SIMP(statut='f',typ='R', - fr="Abscisse d'un point de la base, sur l'axe", - ang="X for the basis, on the axis"), - Y_BASE = SIMP(statut='f',typ='R', - fr="Ordonnée d'un point de la base, sur l'axe", - ang="Y for the basis, on the axis"), - Z_BASE = SIMP(statut='f',typ='R', - fr="Cote d'un point de la base, sur l'axe", - ang="Z for the basis, on the axis"), - HAUTEUR = SIMP(statut='f',typ='R', - fr="Hauteur", - ang="Height"), -##gn ) , -# - ) , -# - ) , -# -# 7. Les niveaux extremes pour le maillage adapte -# 7.1. Pour le raffinement : -# - b_niveau_maximum = BLOC( condition = " (ADAPTATION == 'RAFF_DERA') or \ - (ADAPTATION == 'RAFFINEMENT') or \ - (ADAPTATION == 'RAFFINEMENT_UNIFORME') or \ - (ADAPTATION == 'RAFF_DERA_ZONE') " , - fr="Profondeur maximale de raffinement", - ang="Maximum depth for the refinement", -# - NIVE_MAX = SIMP(statut='f',typ='I', - fr="Niveau maximum de profondeur de raffinement", - ang="Maximum level for the refinement"), -# - DIAM_MIN = SIMP(statut='f',typ='R', - fr="Diamètre minimal des mailles", - ang="Minimal diameter for the meshes" ), -# - ) , -# -# 7.2. Pour le deraffinement : -# - b_niveau_minimum = BLOC( condition = " (ADAPTATION == 'RAFF_DERA') or \ - (ADAPTATION == 'DERAFFINEMENT') or \ - (ADAPTATION == 'DERAFFINEMENT_UNIFORME') " , - fr="Niveau minimum de profondeur de déraffinement", - ang="Minimum level for the unrefinement", - NIVE_MIN = SIMP(statut='f',typ='I', - fr="Niveau minimum de profondeur de déraffinement", - ang="Minimum level for the unrefinement"), - ) , -# -# 8. Filtrage de l'adaptation par des groupes -# - b_filtrage_par_des_groupes = BLOC( condition = " (ADAPTATION == 'RAFF_DERA') or \ - (ADAPTATION == 'RAFFINEMENT') or \ - (ADAPTATION == 'RAFFINEMENT_UNIFORME') or \ - (ADAPTATION == 'RAFF_DERA_ZONE') or \ - (ADAPTATION == 'DERAFFINEMENT') or \ - (ADAPTATION == 'DERAFFINEMENT_UNIFORME') " , - fr="Filtrage de l'adaptation par des groupes.", - ang="Filtering of adaptation by the groups.", -# - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Liste des groupes de mailles pour le filtrage de l'adaptation.", - ang="List of the groups of meshes for filtering of the adaptation." ), -# - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**', - fr="Liste des groupes de noeuds pour le filtrage de l'adaptation.", - ang="List of the groups of nodes for filtering of the adaptation." ), - ) , -# -# 9. Suivi d'une frontière -# -# 9.1. Definition d'une frontière par un maillage (valable seulement pour des frontières 1D) -# - MAILLAGE_FRONTIERE = SIMP(statut='f',typ=maillage_sdaster, - fr="Maillage de la frontière discrète à suivre", - ang="Discrete boundary mesh" ), -# - b_FRONTIERE = BLOC( condition = " MAILLAGE_FRONTIERE != None " , - fr="Information complémentaire sur la frontière discrète", - ang="Further information about discrete boundary", -# - GROUP_MA_FRONT = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Liste des groupes de mailles définissant la frontière discrète", - ang="Mesh groups which define the discrete boundary" ), -# - ) , -# -# 9.2. Definition analytique d'une frontière -# - FRONTIERE_ANALYTIQUE = FACT(statut='f',max='**', - fr="Definition analytique de frontières a suivre.", - ang="Analytical definition of a boundary.", -# -# 9.2.1. Nom de la frontière -# - NOM = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=1, - fr="Nom de la frontière analytique", - ang="Name of the analytic boundary" ), -# -# 9.2.2. Type de la frontière -# - TYPE = SIMP(statut='o',typ='TXM',into=("SPHERE", "CYLINDRE"), - fr="Type de la frontière analytique", - ang="Type of the analytic boundary" ), -# -# 9.2.3. Pour une sphere, un cylindre par ses rayons : rayon et centre -# - b_fr_rayon = BLOC( condition = " (TYPE == 'SPHERE') or (TYPE == 'CYLINDRE') " , - fr="Le rayon et le centre d'une sphère ou d'un cylindre.", - ang="The radius and the centre of a sphere or of a cylinder.", - RAYON = SIMP(statut='o',typ='R', - fr="Rayon", - ang="Radius"), - X_CENTRE = SIMP(statut='o',typ='R', - fr="Abscisse du centre", - ang="X for the center"), - Y_CENTRE = SIMP(statut='o',typ='R', - fr="Ordonnée du centre", - ang="Y for the center"), - Z_CENTRE = SIMP(statut='o',typ='R', - fr="Cote du centre", - ang="Z for the center"), - ) , -# -# 9.2.4. Pour un cylindre defini par axe et angle : axe -# - b_fr_cylindre = BLOC( condition = " (TYPE == 'CYLINDRE') " , - fr="Pour un cylindre.", - ang="For a cylinder.", - X_AXE = SIMP(statut='o',typ='R', - fr="Abscisse du vecteur directeur de l'axe", - ang="X for the axial vector"), - Y_AXE = SIMP(statut='o',typ='R', - fr="Ordonnée du vecteur directeur de l'axe", - ang="Y for the axial vector"), - Z_AXE = SIMP(statut='o',typ='R', - fr="Cote du vecteur directeur de l'axe", - ang="Z for the axial vector"), - ) , -# -# 9.2.7. Groupe(s) lie(s) a la frontière -# - GROUP_MA = SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**', - fr="Liste des groupes de mailles placées sur la frontière", - ang="Groups of meshes which are located on the boundary" ), -# - ) , -# -# 10. mise à jour de champs sur le nouveau maillage -# - MAJ_CHAM = FACT(statut='f',max='**', - fr="Mise à jour de champs sur le nouveau maillage.", - ang="Updating of the fields over the new mesh.", -# -# 10.1. Le nom du champ de grandeur qui contiendra le resultat de la mise a jour -# - CHAM_MAJ = SIMP(statut='o',typ=CO, - fr="Nom du champ de grandeur qui contiendra le champ mis à jour", - ang="Name of the field for the updated field"), -# -# 10.2. Le type du champ qui contiendra le resultat de la mise a jour -# - TYPE_CHAM = SIMP(statut='o',typ='TXM',into=C_TYPE_CHAM_INTO( ('NOEU', 'ELEM', 'ELNO', 'ELGA') ), - fr="Type du champ qui contiendra le champ mis à jour", - ang="Type of the field for the updated field" ), -# -# 10.3. Le champ a interpoler -# - regles=(UN_PARMI('CHAM_GD','RESULTAT')), -# -# 10.3.1. Sous forme de champ de grandeur -# - CHAM_GD = SIMP(statut='f',typ=cham_gd_sdaster, - fr="Champ de grandeur Code_Aster contenant le champ à mettre à jour", - ang="Champ de grandeur with the field to be updated" ), -# -# 10.3.2. Sous forme de champ dans un resultat -# - RESULTAT = SIMP(statut='f',typ=(evol_elas,evol_noli,evol_ther), - fr="Résultat contenant le champ à mettre à jour", - ang="Result with the field to be updated" ), -# - b_nom_du_champ = BLOC(condition="(RESULTAT != None)", - fr="Choix éventuel du nom du champ à interpoler", - ang="Selection for the name of the field (option)", -# - NOM_CHAM = SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO(), - fr="Nom du champ à mettre à jour", - ang="Name of the field to be updated" ), -# - ), -# -# 10.4. Les composantes -# - NOM_CMP = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Liste des composante(s) retenue(s) pour le champ.", - ang="List of the selected component(s) for the field." ), -# -# 10.5. Le paramètre temporel pour le champ a interpoler -# - b_parametre_temporel = BLOC(condition="(RESULTAT != None)", - fr="Choix éventuel du paramètre temporel pour le champ à interpoler", - ang="Time selection for the field (option)", -# - regles=(EXCLUS('NUME_ORDRE','INST'),), -# -# 10.5.1. Soit le numero d'ordre -# - NUME_ORDRE = SIMP(statut='f',typ='I', - fr="Numéro d ordre du champ à mettre à jour", - ang="Rank of the field to be updated" ), -# -# 10.5.2. Soit l'instant -# 10.5.2.1. Sa valeur -# - INST = SIMP(statut='f',typ='R', - fr="Instant associé", - ang="Instant" ), -# -# 10.5.2.2. La précision du choix de l'instant -# - b_precision = BLOC(condition="(INST != None)", - fr="Choix de la précision du choix de l'instant", - ang="Selection for the choice of the instant", -# - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF", "ABSOLU",), - fr="Critère de précision sur le choix de l'instant associé", - ang="Accuracy criterium over the choice of the instant"), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6, - fr="Précision relative sur le choix de l'instant associé", - ang="Relative accuracy over the choice of the instant"),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R', - fr="Précision absolue sur le choix de l'instant associé", - ang="Absolute accuracy over the choice of the instant"),), -# - ), -# - ), -# -# 10.6. Type d'interpolation -# - TYPE_MAJ = SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("AUTO", "ISOP2"), - fr="Type de mise à jour : automatique ou iso-P2", - ang="Type of the updating" ), - ), -# -# 11. Les modifications -# - b_modifications = BLOC( condition = " (ADAPTATION == 'MODIFICATION') " , - fr="Modification de maillage.", - ang="Modification of the mesh.", -# - #regles=(AU_MOINS_UN('DEGRE','JOINT'),), -# -# 11.1. Changement de degre -# - DEGRE = SIMP(statut='o',typ='TXM',into=("OUI",), - fr="Changement de degré du maillage", - ang="Modification of the degree of the mesh" ), -# - ) , -# -# 12. Le modele pour les lectures de champs aux points de Gauss ou aux noeuds par element -# - b_lectures = BLOC( condition = " (ADAPTATION == 'LECTURE') " , - fr="Lectures de champs aux points de Gauss.", - ang="Readings of the fields over the Gauss points.", -# - MODELE = SIMP(statut='o',typ=modele_sdaster, - fr="Modèle", - ang="Model" ), -# - ) , -# -# 13. Les options d'analyse de maillage ; par defaut, on ne fait que les nombres -# - b_analyses = BLOC( condition = " (ADAPTATION != 'LECTURE') " , - fr="Analyse du maillage.", - ang="Analysis of the mesh.", -# -# 13.1. Nombre de noeuds et mailles -# - NOMBRE = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Nombre de noeuds et de mailles du maillage", - ang="Number of nodes and meshes in the mesh" ), -# -# 13.2. Determination de la qualité des mailles du maillage -# - QUALITE = SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Qualité du maillage", - ang="Quality of the mesh" ), -# -# 13.3. Connexite du maillage -# - CONNEXITE = SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Connexité du maillage.", - ang="Connexity of the mesh." ), -# -# 13.4. Taille des sous-domaines du maillage -# - TAILLE = SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Tailles des sous-domaines du maillage.", - ang="Sizes of mesh sub-domains." ), -# -# 13.5. Controle de la non-interpenetration des mailles -# - INTERPENETRATION=SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Controle de la non interpénétration des mailles.", - ang="Overlapping checking." ), -# -# 13.6. Propriétés du maillage de calcul -# - PROP_CALCUL = SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Propriétés du maillage de calcul.", - ang="Properties of the calculation mesh." ), -# -# 13.7. Determination des diametres des mailles du maillage -# - DIAMETRE = SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Diamètre du maillage", - ang="Diameters of the mesh" ), -# - ) , -# -# 14. champs supplementaires sur le nouveau maillage -# - ADD_CHAM = FACT(statut='f',max='**', - fr="Champs supplementaires sur le nouveau maillage.", - ang="Additional fields over the new mesh.", -# -# 14.1. Le nom du champ de grandeur qui contiendra le nouveau champ -# - CHAM_GD = SIMP(statut='o',typ=CO, - fr="Nom du champ de grandeur qui contiendra le champ supplementaire", - ang="Name of the field for the additional field"), -# -# 14.2. La categorie du champ supplementaire -# - CHAM_CAT = SIMP(statut='o',typ='TXM',into=("NIVEAU", "DIAMETRE"), - fr="Categorie du champ supplementaire : niveau ou diametre", - ang="Category of the additional field: level or diameter" ), -# - ) , -# -# 15. Les options avancées -# 15.1. Langue des messages issus de HOMARD -# - LANGUE = SIMP(statut='f',typ='TXM',defaut="FRANCAIS", - into=("FRANCAIS", "FRENCH", "ANGLAIS", "ENGLISH",), - fr="Langue des messages issus de HOMARD.", - ang="Language for HOMARD messages." ), -# -# 15.2. Gestion des mailles acceptees dans le maillage initial -# "HOMARD" : exclusivement les mailles pouvant etre decoupees (defaut) -# "IGNORE_PYRA" : elles sont ignorées -# - b_autres_mailles = BLOC( condition = " (ADAPTATION != 'LECTURE') " , - fr="Gestion des pyramides.", - ang="Pyramids.", -# - ELEMENTS_ACCEPTES = SIMP(statut='f',typ='TXM',defaut="HOMARD",into=("HOMARD", "IGNORE_PYRA"), - fr="Acceptation des mailles dans le maillage initial", - ang="Elements in the very first mesh" ), -# - ) , -# -# 15.3. Version de HOMARD -# - VERSION_HOMARD = SIMP(statut='f',typ='TXM',defaut="V10_6", - into=("V10_6", "V10_N", "V10_N_PERSO"), - fr="Version de HOMARD", - ang="HOMARD release"), -# -# 15.4. Exécutable pilotant HOMARD -# - LOGICIEL = SIMP(statut='f',typ='TXM', - fr="Logiciel pilotant HOMARD", - ang="HOMARD software"), -# -# 15.5. Unite logique d'un fichier à ajouter a HOMARD.Configuration -# - b_unite = BLOC( condition = " (VERSION_HOMARD == 'V10_N') or \ - (VERSION_HOMARD == 'V10_N_PERSO') " , - fr="Fichier supplementaire.", - ang="Additional file.", -# - UNITE = SIMP(statut='f',typ='I', - fr="Unite logique a ajouter a HOMARD.Configuration", - ang="Additional file to HOMARD.Configuration" ), -# - ) , -# -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -def macr_ascouf_calc_prod(self,MODELE,CHAM_MATER,CARA_ELEM,FOND_FISS,RESU_THER,**args): - self.type_sdprod(MODELE,modele_sdaster) - if CHAM_MATER != None:self.type_sdprod(CHAM_MATER,cham_mater) - if CARA_ELEM != None:self.type_sdprod(CARA_ELEM,cara_elem) - if FOND_FISS != None:self.type_sdprod(FOND_FISS,fond_fiss) - if RESU_THER != None:self.type_sdprod(RESU_THER,evol_ther) - return evol_noli - -MACR_ASCOUF_CALC=MACRO(nom="MACR_ASCOUF_CALC", - op=OPS('Macro.macr_ascouf_calc_ops.macr_ascouf_calc_ops'), - sd_prod=macr_ascouf_calc_prod, - fr="Réalise l'analyse thermomécanique du coude dont le maillage a " \ - "été concu par MACR_ASCOUF_MAIL", - reentrant='n', - UIinfo={"groupes":("Résolution","Outils-métier",)}, - - TYPE_MAILLAGE =SIMP(statut='o',typ='TXM', - into=("SAIN", - "FISS_COUDE", - "FISS_AXIS_DEB", - "SOUS_EPAIS_COUDE" - ) ), - - CL_BOL_P2_GV =FACT(statut='f', - ANGLE =SIMP(statut='o',typ='R' ), - AZIMUT =SIMP(statut='f',typ='R',defaut= 90. ), - ), - - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster ), - MODELE =SIMP(statut='o',typ=CO,), - CHAM_MATER =SIMP(statut='f',typ=CO,), - CARA_ELEM =SIMP(statut='f',typ=CO,), - FOND_FISS =SIMP(statut='f',typ=CO,), - RESU_THER =SIMP(statut='f',typ=CO,), - - AFFE_MATERIAU =FACT(statut='o',max=3, - regles=(UN_PARMI('TOUT','GROUP_MA'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,into=("COUDE","BOL") ), - MATER =SIMP(statut='o',typ=mater_sdaster ), - TEMP_REF =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - ), - - PRES_REP =FACT(statut='f', - PRES =SIMP(statut='o',typ='R' ), - EFFE_FOND_P1 =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PRES_LEVRE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - ECHANGE =FACT(statut='f', - COEF_H =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - TEMP_EXT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - TORS_P1 =FACT(statut='f',max=6, - regles=(AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - FX =SIMP(statut='f',typ='R' ), - FY =SIMP(statut='f',typ='R' ), - FZ =SIMP(statut='f',typ='R' ), - MX =SIMP(statut='f',typ='R' ), - MY =SIMP(statut='f',typ='R' ), - MZ =SIMP(statut='f',typ='R' ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - - COMPORTEMENT =C_COMPORTEMENT('MACR_ASCOUF_CALC'), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MACR_ASCOUF_CALC'), -#------------------------------------------------------------------- - - CONVERGENCE =C_CONVERGENCE(), - - NEWTON =C_NEWTON(), - - RECH_LINEAIRE =C_RECH_LINEAIRE(), - - INCREMENT =C_INCREMENT('MECANIQUE'), - - THETA_3D =FACT(statut='f',max='**', - R_INF =SIMP(statut='o',typ='R' ), - R_SUP =SIMP(statut='o',typ='R' ), - ), - - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), - - IMPR_TABLE =FACT(statut='f', - regles=(UN_PARMI('TOUT_PARA','NOM_PARA', ), - PRESENT_PRESENT('TOUT_PARA','ANGLE', ), - PRESENT_PRESENT('TOUT_PARA','R_CINTR', ), - UN_PARMI('POSI_CURV_LONGI','POSI_ANGUL',),), - NOM_PARA =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=4, - into=("TRESCA_MEMBRANE", - "TRESCA_MFLE", - "TRESCA", - "SI_LONG" - "SI_RADI" - "SI_CIRC" - ) ), - TOUT_PARA =SIMP(statut='f',typ='TXM',into=("OUI",) ), - ANGLE =SIMP(statut='f',typ='R', ), - R_CINTR =SIMP(statut='f',typ='R', ), - POSI_CURV_LONGI =SIMP(statut='f',typ='R', ), - POSI_ANGUL =SIMP(statut='f',typ='R', ), - TRANSFORMEE =SIMP(statut='f',typ='TXM',defaut="COUDE",into=("COUDE","TUBE") ), - ), - - IMPRESSION =FACT(statut='f', - FORMAT =SIMP(statut='f',typ='TXM',defaut="RESULTAT", - into=("RESULTAT","ASTER","IDEAS","CASTEM") ), - - b_format_ideas =BLOC(condition="FORMAT=='IDEAS'",fr="version Ideas", - VERSION =SIMP(statut='f',typ='I',defaut=5,into=(4,5)), - ), - - b_format_castem =BLOC(condition="FORMAT=='CASTEM'",fr="version Castem", - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,10)), - ), - - ), - - TITRE =SIMP(statut='f',typ='TXM' ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -MACR_ASCOUF_MAIL=MACRO(nom="MACR_ASCOUF_MAIL", - op=OPS('Macro.macr_ascouf_mail_ops.macr_ascouf_mail_ops'), - sd_prod=maillage_sdaster, - fr="Engendre le maillage d'un coude sain ou comportant une fissure ou une (ou plusieurs) sous-épaisseur(s)", - UIinfo={"groupes":("Maillage","Outils-métier",)}, - reentrant='n', - - regles=(EXCLUS('SOUS_EPAIS_COUDE','FISS_COUDE','SOUS_EPAIS_MULTI'),), - - EXEC_MAILLAGE =FACT(statut='o', - LOGICIEL =SIMP(statut='o',typ='TXM',defaut="GIBI2000",into=("GIBI98","GIBI2000") ), - UNITE_DATG =SIMP(statut='f',typ='I',defaut=70), - UNITE_MGIB =SIMP(statut='f',typ='I',defaut=19), - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,4,5,6,7,8,9,10,11)), - ), - - TYPE_ELEM =SIMP(statut='f',typ='TXM',defaut="CU20",into=("CU20","CUB8") ), - - COUDE =FACT(statut='o', - ANGLE =SIMP(statut='o',typ='R' ), - R_CINTR =SIMP(statut='o',typ='R' ), - L_TUBE_P1 =SIMP(statut='o',typ='R' ), - L_TUBE_P2 =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - NB_ELEM_EPAIS =SIMP(statut='f',typ='I',defaut= 3 ), - SYME =SIMP(statut='f',typ='TXM',defaut="ENTIER",into=("ENTIER","QUART","DEMI") ), - TRANSFORMEE =SIMP(statut='o',typ='TXM',defaut="COUDE",into=("COUDE","TUBE") ), - b_transf_coude =BLOC(condition = "TRANSFORMEE == 'COUDE' ", - DEXT =SIMP(statut='o',typ='R' ), - EPAIS =SIMP(statut='o',typ='R' ), - SUR_EPAIS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - BOL_P2 =SIMP(statut='f',typ='TXM',into=("ASP_MPP","CUVE","GV") ), - ), - b_transf_tube =BLOC(condition = "TRANSFORMEE == 'TUBE' ", - TRAN_EPAIS =SIMP(statut='o',typ='TXM',defaut="NON",into=("OUI","NON") ), - b_trans_epais_oui =BLOC(condition = "TRAN_EPAIS == 'OUI' ", - regles=(ENSEMBLE('ANGL_TETA2','EPAIS_TI'), - UN_PARMI('ABSC_CURV_TRAN','POSI_ANGU_TRAN'),), - DEXT_T1 =SIMP(statut='o',typ='R' ), - EPAIS_T1 =SIMP(statut='o',typ='R' ), - EPAIS_T2 =SIMP(statut='o',typ='R' ), - EPAIS_TI =SIMP(statut='f',typ='R' ), - ANGL_TETA1 =SIMP(statut='o',typ='R' ), - ANGL_TETA2 =SIMP(statut='f',typ='R' ), - ABSC_CURV_TRAN =SIMP(statut='f',typ='R' ), - POSI_ANGU_TRAN =SIMP(statut='f',typ='R' ), - ), - b_trans_epais_non =BLOC(condition = "TRAN_EPAIS == 'NON' ", - DEXT =SIMP(statut='o',typ='R' ), - EPAIS =SIMP(statut='o',typ='R' ), - SUR_EPAIS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - BOL_P2 =SIMP(statut='f',typ='TXM',into=("ASP_MPP","CUVE","GV") ), - ), - ), - ), - - SOUS_EPAIS_COUDE=FACT(statut='f', - regles=(UN_PARMI('POSI_CURV_LONGI','POSI_ANGUL'), - UN_PARMI('POSI_CURV_CIRC','AZIMUT'),), - TYPE =SIMP(statut='o',typ='TXM',into=("AXIS","ELLI") ), - AXE_CIRC =SIMP(statut='f',typ='R' ), - AXE_LONGI =SIMP(statut='o',typ='R' ), - PROFONDEUR =SIMP(statut='o',typ='R' ), - POSI_CURV_LONGI =SIMP(statut='f',typ='R' ), - POSI_ANGUL =SIMP(statut='f',typ='R' ), - POSI_CURV_CIRC =SIMP(statut='f',typ='R' ), - AZIMUT =SIMP(statut='f',typ='R' ), - SOUS_EPAIS =SIMP(statut='o',typ='TXM',into=("INTERNE","EXTERNE") ), - NB_ELEM_LONGI =SIMP(statut='o',typ='I' ), - NB_ELEM_CIRC =SIMP(statut='o',typ='I' ), - NB_ELEM_RADI =SIMP(statut='f',typ='I',defaut= 3 ), - EMPREINTE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - - SOUS_EPAIS_MULTI=FACT(statut='f',max='**', - regles=(UN_PARMI('POSI_CURV_LONGI','POSI_ANGUL'), - UN_PARMI('POSI_CURV_CIRC','AZIMUT'),), - TYPE =SIMP(statut='o',typ='TXM',into=("AXIS","ELLI") ), - AXE_CIRC =SIMP(statut='f',typ='R' ), - AXE_LONGI =SIMP(statut='o',typ='R' ), - PROFONDEUR =SIMP(statut='o',typ='R' ), - POSI_CURV_LONGI =SIMP(statut='f',typ='R' ), - POSI_ANGUL =SIMP(statut='f',typ='R' ), - POSI_CURV_CIRC =SIMP(statut='f',typ='R' ), - AZIMUT =SIMP(statut='f',typ='R' ), - SOUS_EPAIS =SIMP(statut='o',typ='TXM',into=("INTERNE","EXTERNE") ), - NB_ELEM_LONGI =SIMP(statut='o',typ='I' ), - NB_ELEM_CIRC =SIMP(statut='o',typ='I' ), - EMPREINTE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - - FISS_COUDE =FACT(statut='f', - regles=(UN_PARMI('ABSC_CURV','POSI_ANGUL'),), - AXIS =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON" ), - b_axis_non =BLOC(condition = "AXIS == 'NON' ", - LONGUEUR =SIMP(statut='o',typ='R' ), - ), - b_axis_oui =BLOC(condition = "AXIS == 'OUI' ", - LONGUEUR =SIMP(statut='f',typ='R' ), - ), - PROFONDEUR =SIMP(statut='o',typ='R' ), - ABSC_CURV =SIMP(statut='f',typ='R' ), - POSI_ANGUL =SIMP(statut='f',typ='R' ), - FISSURE =SIMP(statut='o',typ='TXM',into=("DEB_INT","DEB_EXT") ), - AZIMUT =SIMP(statut='f',typ='R',defaut= 90. ), - ORIEN =SIMP(statut='o',typ='R', - into=(45.,-45.,90.,0.E+0) ), - NB_TRANCHE =SIMP(statut='o',typ='I' ), - NB_SECTEUR =SIMP(statut='o',typ='I' ), - NB_COURONNE =SIMP(statut='o',typ='I' ), - RAYON_TORE =SIMP(statut='f',typ='R' ), - COEF_MULT_RC2 =SIMP(statut='f',typ='R',defaut= 1. ), - COEF_MULT_RC3 =SIMP(statut='f',typ='R' ), - ANGL_OUVERTURE =SIMP(statut='f',typ='R',defaut= 0.5 ), - ), - - IMPRESSION =FACT(statut='f',max='**', - regles=(PRESENT_PRESENT('FICHIER','UNITE'),), - FORMAT =SIMP(statut='f',typ='TXM',defaut="ASTER", - into=("ASTER","IDEAS","CASTEM") ), - b_format_ideas =BLOC(condition="FORMAT=='IDEAS'",fr="version Ideas", - VERSION =SIMP(statut='f',typ='I',defaut=5,into=(4,5)), - ), - b_format_castem =BLOC(condition="FORMAT=='CASTEM'",fr="version Castem", - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,10)), - ), - FICHIER =SIMP(statut='f',typ='TXM' ), - UNITE =SIMP(statut='f',typ='I' ), - ), - - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -def macr_aspic_calc_prod(self,MODELE,CHAM_MATER,CARA_ELEM,FOND_FISS_1,FOND_FISS_2,RESU_THER,**args): - if MODELE != None:self.type_sdprod(MODELE,modele_sdaster) - if CHAM_MATER != None:self.type_sdprod(CHAM_MATER,cham_mater) - if CARA_ELEM != None:self.type_sdprod(CARA_ELEM,cara_elem) - if FOND_FISS_1 != None:self.type_sdprod(FOND_FISS_1,fond_fiss) - if FOND_FISS_2 != None:self.type_sdprod(FOND_FISS_2,fond_fiss) - if RESU_THER != None:self.type_sdprod(RESU_THER,evol_ther) - return evol_noli - -MACR_ASPIC_CALC=MACRO(nom="MACR_ASPIC_CALC", - op=OPS('Macro.macr_aspic_calc_ops.macr_aspic_calc_ops'), - sd_prod=macr_aspic_calc_prod, - fr="Réalise un calcul prédéfini de piquages sains ou fissurés " \ - "ainsi que les post-traitements associés ", - UIinfo={"groupes":("Résolution","Outils-métier",)}, - reentrant='n', - - TYPE_MAILLAGE =SIMP(statut='o',typ='TXM', - into=("SAIN_FIN","SAIN_GROS","FISS_COUR_DEB","FISS_COUR_NONDEB","FISS_LONG_DEB", - "FISS_LONG_NONDEB","FISS_AXIS_DEB","FISS_AXIS_NONDEB") ), - - TUBULURE =FACT(statut='o', - TYPE =SIMP(statut='o',typ='TXM',into=("TYPE_1","TYPE_2") ), - ), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - MODELE =SIMP(statut='f',typ=CO,), - CHAM_MATER =SIMP(statut='f',typ=CO,), - CARA_ELEM =SIMP(statut='f',typ=CO,), - FOND_FISS_1 =SIMP(statut='f',typ=CO,), - FOND_FISS_2 =SIMP(statut='f',typ=CO,), - RESU_THER =SIMP(statut='f',typ=CO,), - - AFFE_MATERIAU =FACT(statut='o',max=3, - regles=(UN_PARMI('TOUT','GROUP_MA'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",)), - GROUP_MA =SIMP(statut='f',typ=grma,into=("TUBU","CORP","SOUD","SOUDCORP","SOUDTUBU") ), - MATER =SIMP(statut='o',typ=mater_sdaster), - TEMP_REF =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - RCCM =SIMP(statut='o',typ='TXM',into=("OUI","NON")), - ), - - EQUILIBRE =FACT(statut='o', - NOEUD =SIMP(statut='o',typ=no), - ), - - PRES_REP =FACT(statut='o', - PRES =SIMP(statut='o',typ='R'), - NOEUD =SIMP(statut='f',typ=no), - EFFE_FOND =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - PRES_LEVRE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - - ECHANGE =FACT(statut='f', - COEF_H_TUBU =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - COEF_H_CORP =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - TEMP_EXT =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - - TORS_CORP =FACT(statut='f',max=6, - regles=(AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - NOEUD =SIMP(statut='o',typ=no), - FX =SIMP(statut='f',typ='R'), - FY =SIMP(statut='f',typ='R'), - FZ =SIMP(statut='f',typ='R'), - MX =SIMP(statut='f',typ='R'), - MY =SIMP(statut='f',typ='R'), - MZ =SIMP(statut='f',typ='R'), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - - TORS_TUBU =FACT(statut='f',max=6, - regles=(AU_MOINS_UN('FX','FY','FZ','MX','MY','MZ'),), - FX =SIMP(statut='f',typ='R'), - FY =SIMP(statut='f',typ='R'), - FZ =SIMP(statut='f',typ='R'), - MX =SIMP(statut='f',typ='R'), - MY =SIMP(statut='f',typ='R'), - MZ =SIMP(statut='f',typ='R'), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - - COMPORTEMENT =C_COMPORTEMENT('MACR_ASPIC_CALC'), - - THETA_3D =FACT(statut='f',max='**', - R_INF =SIMP(statut='o',typ='R'), - R_SUP =SIMP(statut='o',typ='R'), - ), - - OPTION =SIMP(statut='f',typ='TXM',into=("CALC_G_MAX","CALC_G_MAX_LOCAL") ), - BORNES =FACT(statut='f',max='**', - NUME_ORDRE =SIMP(statut='o',typ='I'), - VALE_MIN =SIMP(statut='o',typ='R'), - VALE_MAX =SIMP(statut='o',typ='R'), - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MACR_ASPIC_CALC'), -#------------------------------------------------------------------- - - CONVERGENCE =C_CONVERGENCE(), - - NEWTON =C_NEWTON(), - - RECH_LINEAIRE =C_RECH_LINEAIRE(), - - INCREMENT =C_INCREMENT('MECANIQUE'), - - PAS_AZIMUT =SIMP(statut='f',typ='I',defaut=1), - - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), - - IMPRESSION =FACT(statut='f', - FORMAT =SIMP(statut='f',typ='TXM',defaut="RESULTAT", - into=("RESULTAT","ASTER","CASTEM","IDEAS")), - - b_format_ideas =BLOC(condition="FORMAT=='IDEAS'",fr="version Ideas", - VERSION =SIMP(statut='f',typ='I',defaut=5,into=(4,5)), - ), - - b_format_castem =BLOC(condition="FORMAT=='CASTEM'",fr="version Castem", - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,10)), - ), - - b_extrac =BLOC(condition="((FORMAT=='IDEAS')or(FORMAT=='CASTEM'))", - fr="extraction d un champ de grandeur", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST'),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=3,into=("DEPL","SIEQ_ELNO","TEMP")), - - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - ), - ), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - - TITRE =SIMP(statut='f',typ='TXM'), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - - -MACR_ASPIC_MAIL=MACRO(nom="MACR_ASPIC_MAIL", - op=OPS('Macro.macr_aspic_mail_ops.macr_aspic_mail_ops'), - sd_prod=maillage_sdaster, - reentrant='n', - fr="Engendre le maillage d'un piquage sain ou avec fissure (longue ou courte)", - UIinfo={"groupes":("Maillage","Outils-métier",)}, - - EXEC_MAILLAGE =FACT(statut='o', - LOGICIEL =SIMP(statut='o',typ='TXM',defaut="GIBI2000",into=("GIBI98","GIBI2000")), - UNITE_DATG =SIMP(statut='f',typ='I',defaut=70), - UNITE_MGIB =SIMP(statut='f',typ='I',defaut=19), - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,4,5,6,7,8,9,10,11)), - ), - - TYPE_ELEM =SIMP(statut='f',typ='TXM',defaut="CU20",into=("CU20","CUB8")), - - RAFF_MAIL =SIMP(statut='f',typ='TXM',defaut="GROS",into=("GROS","FIN")), - - TUBULURE =FACT(statut='o', - E_BASE =SIMP(statut='o',typ='R'), - DEXT_BASE =SIMP(statut='o',typ='R'), - L_BASE =SIMP(statut='o',typ='R'), - L_CHANF =SIMP(statut='o',typ='R'), - E_TUBU =SIMP(statut='o',typ='R'), - DEXT_TUBU =SIMP(statut='o',typ='R'), - Z_MAX =SIMP(statut='o',typ='R'), - TYPE =SIMP(statut='o',typ='TXM',into=("TYPE_1","TYPE_2")), - L_PENETR =SIMP(statut='f',typ='R',defaut= 0.0E+0), - ), - - SOUDURE =FACT(statut='o', - H_SOUD =SIMP(statut='o',typ='R'), - ANGL_SOUD =SIMP(statut='o',typ='R'), - JEU_SOUD =SIMP(statut='o',typ='R'), - ), - - CORPS =FACT(statut='o', - E_CORP =SIMP(statut='o',typ='R'), - DEXT_CORP =SIMP(statut='o',typ='R'), - X_MAX =SIMP(statut='o',typ='R'), - ), - - FISS_SOUDURE =FACT(statut='f', - TYPE =SIMP(statut='o',typ='TXM',into=("LONGUE","COURTE")), - AXIS =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - PROFONDEUR =SIMP(statut='o',typ='R'), - LONGUEUR =SIMP(statut='f',typ='R'), - AZIMUT =SIMP(statut='o',typ='R'), - RAYON_TORE =SIMP(statut='f',typ='R'), - POSITION =SIMP(statut='o',typ='TXM',into=("DROIT","INCLINE")), - FISSURE =SIMP(statut='o',typ='TXM',into=("DEB_INT","DEB_EXT","NON_DEB","TRAVERS")), - LIGA_INT =SIMP(statut='f',typ='R'), - ANGL_OUVERTURE =SIMP(statut='f',typ='R',defaut= 0.0E+0), - COEF_MULT_RC1 =SIMP(statut='f',typ='R'), - COEF_MULT_RC2 =SIMP(statut='f',typ='R'), - COEF_MULT_RC3 =SIMP(statut='f',typ='R'), - NB_TRANCHE =SIMP(statut='f',typ='I'), - NB_SECTEUR =SIMP(statut='f',typ='I'), - NB_COURONNE =SIMP(statut='f',typ='I'), - ), - - IMPRESSION =FACT(statut='f',max='**', - regles=(PRESENT_PRESENT('FICHIER','UNITE'),), - FORMAT =SIMP(statut='f',typ='TXM',defaut="ASTER",into=("ASTER","IDEAS","CASTEM")), - - b_format_ideas =BLOC(condition="FORMAT=='IDEAS'",fr="version Ideas", - VERSION =SIMP(statut='f',typ='I',defaut=5,into=(4,5)), - ), - - b_format_castem =BLOC(condition="FORMAT=='CASTEM'",fr="version Castem", - NIVE_GIBI =SIMP(statut='f',typ='I',defaut=10,into=(3,10)), - ), - FICHIER =SIMP(statut='f',typ='TXM'), - UNITE =SIMP(statut='f',typ='I'), - ), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-luc.flejou at edf.fr - - -MACR_CARA_POUTRE=MACRO(nom="MACR_CARA_POUTRE", - op=OPS('Macro.macr_cara_poutre_ops.macr_cara_poutre_ops'), - sd_prod=table_sdaster, - reentrant='n', - UIinfo={"groupes":("Modélisation",)}, - fr="Calculer les caractéristiques d'une section transversale de " \ - "poutre à partir d'un maillage 2D de la section", - regles=( - EXCLUS('SYME_Y','GROUP_MA_BORD'), - EXCLUS('SYME_Z','GROUP_MA_BORD'), - ), - - MAILLAGE =SIMP(statut='f',typ=maillage_sdaster, fr="Nom du concept maillage"), - b_maillage =BLOC( - condition = "MAILLAGE == None", - regles=( PRESENT_PRESENT('FORMAT','UNITE') ), - FORMAT =SIMP(statut='f',typ='TXM',defaut="ASTER",into=("ASTER","MED"), - fr="Format du fichier"), - UNITE =SIMP(statut='f',typ='I',defaut= 20, - fr="Unite correspondant au format du fichier maillage"), - ), - - ORIG_INER =SIMP(statut='f',typ='R',max=3,defaut=(0.E+0,0.E+0), - fr="Point par rapport auquel sont calculées les inerties"), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - - TABLE_CARA =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON",), - - SYME_Y =SIMP(statut='f',typ='TXM',into=("OUI",), fr="demi maillage par rapport a y=0"), - SYME_Z =SIMP(statut='f',typ='TXM',into=("OUI",), fr="demi maillage par rapport a z=0"), - - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Calcul des caractéristiques équivalentes à plusieurs sections disjointes"), - - GROUP_MA_BORD =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Groupe(s) de mailles linéiques, bord(s) de(s) section(s)"), - - b_nom =BLOC( - condition = """(TABLE_CARA == 'OUI') and (GROUP_MA == None)""", - NOM =SIMP(statut='f',typ='TXM',max=1,validators=LongStr(1,8), - fr="Nom de la section, 8 caractères maximum.") - ), - - b_gma_bord =BLOC( - condition = "GROUP_MA_BORD != None", - fr=" calcul des carac. mecaniques", - regles=(UN_PARMI('NOEUD','GROUP_NO')), - NOEUD =SIMP(statut='f',typ=no,max='**', - fr="Simplement pour empecher des pivots nuls le cas echeant. " - "Fournir un noeud quelconque"), - GROUP_NO =SIMP(statut='f',typ=grno,max='**', - fr="Simplement pour empecher des pivots nuls le cas echeant. " - "Fournir un noeud quelconque par GROUP_MA"), - GROUP_MA_INTE =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="groupes de mailles linéiques bordant des trous dans la section"), - ), - - b_reseau = BLOC( - condition ="""(GROUP_MA_BORD != None) and (GROUP_MA != None)""", - fr=" calcul des coef de cisaillement équivalents a un reseau de poutres", - regles=(ENSEMBLE('LONGUEUR','LIAISON','MATERIAU') ,), - LONGUEUR =SIMP(statut='f',typ='R', - fr="Longueur du réseau de poutres"), - MATERIAU =SIMP(statut='f',typ=mater_sdaster, - fr="Materiau elastique lineaire du reseau"), - LIAISON =SIMP(statut='f',typ='TXM',into=("ROTULE","ENCASTREMENT"), - fr="type de conditions aux limites sur le plancher supérieur" ), - ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr - - -def macr_ecla_pg_prod(self,RESULTAT,MAILLAGE,RESU_INIT,**args): - self.type_sdprod(RESULTAT,AsType(RESU_INIT)) - self.type_sdprod(MAILLAGE,maillage_sdaster) - return None - - -MACR_ECLA_PG=MACRO(nom="MACR_ECLA_PG", - op=OPS('Macro.macr_ecla_pg_ops.macr_ecla_pg_ops'), - sd_prod=macr_ecla_pg_prod, - reentrant='n', - UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - fr="Permettre la visualisation des champs aux points de Gauss d'une " \ - "SD_RESULTAT sans lissage ni interpolation", - - # SD résultat ,modèle et champs à "éclater" : - RESU_INIT =SIMP(statut='o',typ=resultat_sdaster,fr="RESULTAT à éclater",), - MODELE_INIT =SIMP(statut='o',typ=modele_sdaster,fr="MODELE à éclater"), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO('ELGA'),), - - # paramètres numériques de la commande : - SHRINK =SIMP(statut='f',typ='R',defaut= 0.9, fr="Facteur de réduction" ), - TAILLE_MIN =SIMP(statut='f',typ='R',defaut= 0.0, fr="Taille minimale d'un coté" ), - - # concepts produits par la commande : - RESULTAT =SIMP(statut='o',typ=CO,fr="SD_RESULTAT résultat de la commande"), - MAILLAGE =SIMP(statut='o',typ=CO,fr="MAILLAGE associé aux cham_no de la SD_RESULTAT"), - - # Sélection éventuelle d'un sous-ensemble des éléments à visualiser : - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - - # Sélection des numéros d'ordre : - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST','LIST_ORDRE'),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: marina.bottoni at edf.fr - - -def macr_ecre_calc_prod(self,TABLE,DEBIT,**args): - - self.type_sdprod(TABLE,table_sdaster) - self.type_sdprod(DEBIT,table_sdaster) - return None - -MACR_ECRE_CALC=MACRO(nom="MACR_ECRE_CALC", - op=OPS('Macro.macr_ecre_calc_ops.macr_ecre_calc_ops'), - sd_prod=macr_ecre_calc_prod, - reentrant='n', - UIinfo={"groupes":("Résolution","Outils-métier",)}, - fr="Procedure de couplage avec Ecrevisse", - - regles = (UN_PARMI('LOGICIEL','VERSION'),), - -# CONCEPTS SORTANT : 2 TABLES POUR LE POST-TRAITEMENT -# ******************************************** - TABLE =SIMP(statut='o',typ=CO), - DEBIT =SIMP(statut='o',typ=CO), - -# DONNEES GEOMETRIQUES RELATIVES A LA FISSURE -# ******************************************* - - FISSURE =FACT(statut='o',min=1,max=1, - LONGUEUR =SIMP(statut='o',typ='R',val_min=0.E+0,fr="Longueur de la fissure [zl]"), - RUGOSITE =SIMP(statut='o',typ='R',fr="Rugosite absolu (metres) [eps]"), - ANGLE =SIMP(statut='o',typ='R',fr="Angle par rapport a l'ascendante verticale (degres)"), - ZETA =SIMP(statut='o',typ='R',fr="Coefficient de la perte de charge singuliere a l'entree [zeta]"), - SECTION =SIMP(statut='o',typ='TXM',into=("ELLIPSE","RECTANGLE"),fr="Type de section [is]"), - b_section_ellipse =BLOC(condition="SECTION=='ELLIPSE'",fr="Fissure a section elliptique", - LISTE_COTES_AH =SIMP(statut='o',typ='R',max='**', - fr="Liste des cotes des points definissant le grand axe de la section", - validators=NoRepeat()), - LISTE_VAL_AH =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant le grand axe de la section",), - LISTE_COTES_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des cotes des points definissant le petit axe de la section", - validators=NoRepeat()), - LISTE_VAL_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant le petit axe de la section",), - ), - b_section_rectangle =BLOC(condition="SECTION=='RECTANGLE'",fr="Fissure a section rectangulaire", - LISTE_COTES_AH =SIMP(statut='o',typ='R',max='**', - fr="Liste des cotes des points definissant la hauteur de la section", - validators=NoRepeat()), - LISTE_VAL_AH =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant la hauteur de la section",), - LISTE_COTES_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des cotes des points definissant la largeur de la section", - validators=NoRepeat()), - LISTE_VAL_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant la largeur de la section",), - ), - ), - - -# DONNEES RELATIVES A L"ECOULEMENT -# ******************************** - - ECOULEMENT =FACT(statut='f',min=1,max=1, - PRES_ENTREE =SIMP(statut='o',typ='R',fr="Pression de stagnation a l'entree (Pa) [pe]" ), - PRES_SORTIE =SIMP(statut='o',typ='R',fr="Pression de stagnation a la sortie (Pa) [ps]" ), - FLUIDE_ENTREE =SIMP(statut='o',typ='I',into=(1,2,3,4,5,6),fr="Condition du fluide a l'entree [iflow]" ), - b_condition_1 =BLOC(condition="FLUIDE_ENTREE==1",fr="Eau sous-refroidie ou saturee", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - ), - b_condition_2 =BLOC(condition="FLUIDE_ENTREE==2",fr="Fluide diphasique", - TITR_MASS =SIMP(statut='o',typ='R',fr="Titre massique eau vap/eau tot a l'entree [xe]" ), - ), - b_condition_3 =BLOC(condition="FLUIDE_ENTREE==3",fr="Vapeur saturee ou surchauffee", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - ), - b_condition_4 =BLOC(condition="FLUIDE_ENTREE==4",fr="Air + vapeur surchauffee", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - PRES_PART =SIMP(statut='o',typ='R',fr="Pression partielle air en entree (Pa) [pae]" ), - ), - b_condition_5 =BLOC(condition="FLUIDE_ENTREE==5",fr="Air + vapeur saturee", - TITR_MASS =SIMP(statut='o',typ='R',fr="Titre massique eau vap/eau tot a l'entree [xe]" ), - PRES_PART =SIMP(statut='o',typ='R',fr="Pression partielle air en entree (Pa) [pae]" ), - ), - b_condition_6 =BLOC(condition="FLUIDE_ENTREE==6",fr="Air seul", - TEMP_ENTREE =SIMP(statut='o',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - ), - ), - - -# DONNEES RELATIVES AU PROFIL DE TEMPERATURE A TRAVERS LA PAROI -# ************************************************************* - - TEMPERATURE =FACT(statut='f',min=1,max=1, - GRADIENT =SIMP(statut='o',typ='TXM',into=("FOURNI","IMPOSE","CALCULE"), - fr="Modele de calcul du gradient de temperature [imograd]" ), - b_gradient_fourni =BLOC(condition="GRADIENT=='FOURNI'",fr="Distribution de temperature fournie [imograd=-1]", - LISTE_COTES_TEMP =SIMP(statut='o',typ='R',max='**',fr="Liste des cotes pour les temperatures", - validators=NoRepeat() ), - LISTE_VAL_TEMP =SIMP(statut='o',typ='R',max='**',fr="Liste des valeurs de temperature", ), - ), - b_gradient_impose =BLOC(condition="GRADIENT=='IMPOSE'",fr="Distribution imposee de temperature [imograd=0]", - TEMP1 =SIMP(statut='o',typ='R', - fr="Gradient de temperature de la paroi le long de l'ecoulement (degC/m) [tm1]", ), - TEMP2 =SIMP(statut='o',typ='R',fr="Temperature de la paroi a l'entree (degC) [tm2]", ), - ), - b_gradient_calcule =BLOC(condition="GRADIENT=='CALCULE'",fr="Profil de temperature calcule [imograd=1]", - EPAISSEUR_PAROI =SIMP(statut='o',typ='R',fr="Epaisseur de la paroi (m) [epp]", ), - CONVECTION_AMONT =SIMP(statut='o',typ='R', - fr="Coefficient de convection a la surface de la paroi cote amont (W/degC/m2) [alphe]", ), - CONVECTION_AVAL =SIMP(statut='o',typ='R', - fr="Coefficient de convection a la surface de la paroi cote aval (W/degC/m2) [alphs]", ), - LAMBDA =SIMP(statut='o',typ='R',fr="Conduction thermique de la paroi (W/degC/m) [lambd]", ), - TEMP_FLUIDE_AVAL =SIMP(statut='o',typ='R',fr="Temperature du fluide cote aval (degC) [ts]", ), - ), - ), - - -# CHOIX DES MODELES -# ***************** - - MODELE_ECRE =FACT(statut='f',min=1,max=1, - IVENAC =SIMP(statut='f', typ='I', into=(0,1), defaut=0, - fr="Calcul ECREVISSE avec prise en compte de la vena contracta"), - ECOULEMENT =SIMP(statut='o',typ='TXM',into=("SATURATION","GELE"), - fr="Type de modele d'ecoulement diphasique [imod]" ), - b_ecou_gele =BLOC(condition="ECOULEMENT=='GELE'",fr="Modele d'ecoulement gele", - PRESS_EBULLITION =SIMP(statut='o',typ='R',fr="Pression d'ebullition [corrp*psat(t)]"), - ), - FROTTEMENT =SIMP(statut='o',typ='I',into=(-4,-3,-2,-1,0,1,2,3,4,11,12,13,14),fr="Correlation de frottement [ifrot]"), - b_frottement =BLOC(condition="FROTTEMENT<0",fr="Modele d'ecoulement gele", - REYNOLDS_LIM =SIMP(statut='o',typ='R',fr="Coefficient de Reynolds limite [relim]"), - FROTTEMENT_LIM =SIMP(statut='o',typ='R',fr="Coefficient de frottement impose [frtlim]"), - ), - - TRANSFERT_CHAL =SIMP(statut='o',typ='I',into=(-12,-11,-2,-1,0,1,2,11,12),fr="Transfert de chaleur [ichal]"), - b_transchal =BLOC(condition="TRANSFERT_CHAL<0", fr="Cas diphasique", - XMINCH =SIMP(statut='o',typ='R',fr="Titre massique gazeux min [xminch]"), - XMAXCH =SIMP(statut='o',typ='R',fr="Titre massique gazeux max [xmaxch]"), - ), - ), - - -# DONNEES RELATIVES A LA CONVERGENCE NUMERIQUE -# ******************************************** - - CONVERGENCE =FACT(statut='f',min=1,max=1, - KGTEST =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=1.E+0,defaut= 0.5E+0, - fr="Parametre de l'algorithme iteratif [kgtest]" ), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut= 400, - fr="Nombre maximum d'iterations de la methode de Newton [itnmax]" ), - CRIT_CONV_DEBI =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=1.E+0,defaut= 1.E-5, - fr="Critere de convergence en debit [precdb]" ), - ), - - -# GENERAL -# ******* - - COURBES =SIMP(statut='f',typ='TXM',into=("INTERACTIF","POSTSCRIPT","AUCUNE"),defaut="AUCUNE", - fr="Generation eventuelle des courbes" ), - LOGICIEL =SIMP(statut='f',typ='TXM',validators=LongStr(1,255),), - VERSION =SIMP(statut='f',typ='TXM',into = ("3.2.1",) ), - ENTETE =SIMP(statut='f',typ='TXM',max='**',defaut="Titre du calcul Ecrevisse" ), - IMPRESSION =SIMP(statut='f',typ='TXM',defaut='NON',into=( 'OUI','NON') ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: marina.bottoni at edf.fr - - -def macr_ecrevisse_prod(self,TABLE,TEMPER,DEBIT,**args): - # On definit ici les concepts produits - self.type_sdprod(TABLE,table_sdaster) - self.type_sdprod(TEMPER,evol_ther) - self.type_sdprod(DEBIT,table_sdaster) - # concept retourne - return evol_noli - - -MACR_ECREVISSE=MACRO(nom="MACR_ECREVISSE", - op=OPS('Macro.macr_ecrevisse_ops.macr_ecrevisse_ops'), - sd_prod=macr_ecrevisse_prod, - reentrant='f', - UIinfo={"groupes":("Résolution","Outils-métier",)}, - fr="Procedure de couplage avec Ecrevisse", - - reuse = SIMP(statut='f',typ='evol_noli'), - regles = (EXCLUS('TEMPER','ETAT_INIT'), - UN_PARMI('LOGICIEL','VERSION'),), - -# CONCEPT SORTANT -# ******************************************** - TABLE =SIMP(statut='f',typ=CO), - DEBIT =SIMP(statut='f',typ=CO), - TEMPER =SIMP(statut='f',typ=CO), - -# ETAT_INITIAL -# ******************************************** - ETAT_INIT =FACT(statut='f', - EVOL_NOLI =SIMP(statut='o',typ=evol_noli), - EVOL_THER =SIMP(statut='o',typ=evol_ther), - NUME_ORDRE =SIMP(statut='o',typ='I'), - ), - - -# MODELES MECANIQUES -# ******************************************** - MODELE_MECA =SIMP(statut='o',typ=modele_sdaster), - MODELE_THER =SIMP(statut='o',typ=modele_sdaster), - - -# DONNEES GEOMETRIQUES RELATIVES A LA FISSURE -# ******************************************* - FISSURE =FACT(statut='o',min=1,max='**', - PREFIXE_FICHIER =SIMP(statut='f',typ='TXM',validators=LongStr(1,8)), - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),min=2,max=2, - fr="Groupe(s) des noeuds definissant les levres de la fissure"), - GROUP_NO_ORIG =SIMP(statut='o',typ=grno,validators=NoRepeat(),min=2,max=2), - GROUP_NO_EXTR =SIMP(statut='o',typ=grno,validators=NoRepeat(),min=2,max=2), - ZETA =SIMP(statut='o',typ='R',fr="Coefficient de la perte de charge singuliere a l'entree [zeta]" ), - RUGOSITE =SIMP(statut='o',typ='R',fr="Rugosite absolu (metres) [eps]" ), - TORTUOSITE =SIMP(statut='f',typ='R',defaut=1.0, val_min=0., val_max=1.0, - fr="Coefficient de tortuosite de la fissure" ), - OUVERT_REMANENTE =SIMP(statut='o',typ='R',val_min=0.,fr="Ouverture remanente"), - SECTION =SIMP(statut='o',typ='TXM',into=("ELLIPSE","RECTANGLE"),fr="Type de section [is]" ), - b_section_ellipse =BLOC(condition="SECTION=='ELLIPSE'",fr="Fissure a section elliptique", - LISTE_COTES_BL =SIMP(statut='f',typ='R',max='**', - fr="Liste des cotes des points definissant le petit axe de la section", - validators=NoRepeat() ), - LISTE_VAL_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant le petit axe de la section", ), - ), - b_section_rectangle =BLOC(condition="SECTION=='RECTANGLE'",fr="Fissure a section rectangulaire", - LISTE_COTES_BL =SIMP(statut='f',typ='R',max='**', - fr="Liste des cotes des points definissant la largeur de la section",validators=NoRepeat()), - LISTE_VAL_BL =SIMP(statut='o',typ='R',max='**', - fr="Liste des valeurs des points definissant la largeur de la section", ), - ), - ), - - -# DONNEES RELATIVES A L"ECOULEMENT -# ******************************** - ECOULEMENT =FACT(statut='o',min=1,max=1, - regles=(UN_PARMI('PRES_ENTREE','PRES_ENTREE_FO'), - UN_PARMI('PRES_SORTIE','PRES_SORTIE_FO'), - ), - PRES_ENTREE =SIMP(statut='f',typ='R',fr="Pression de stagnation a l'entree (Pa) [pe]" ), - PRES_ENTREE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la pression de stagnation a l'entree (Pa) [pe]" ), - PRES_SORTIE =SIMP(statut='f',typ='R',fr="Pression de stagnation a la sortie (Pa) [ps]" ), - PRES_SORTIE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la pression de stagnation a la sortie (Pa) [ps]" ), - FLUIDE_ENTREE =SIMP(statut='o',typ='I',into=(1,2,3,4,5,6),fr="Condition du fluide a l'entree [iflow]" ), - b_condition_1 =BLOC(condition="FLUIDE_ENTREE==1", - regles=(UN_PARMI('TEMP_ENTREE', 'TEMP_ENTREE_FO')), - fr="Eau sous-refroidie ou saturee", - TEMP_ENTREE =SIMP(statut='f',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - TEMP_ENTREE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la temperature a l'entree (degres C) [te]" ), - ), - b_condition_2 =BLOC(condition="FLUIDE_ENTREE==2", - regles=(UN_PARMI('TITR_MASS', 'TITR_MASS_FO')), - fr="Fluide diphasique", - TITR_MASS =SIMP(statut='f',typ='R',fr="Titre massique eau vap/eau tot a l'entree [xe]" ), - TITR_MASS_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution du titre massique eau vap/eau tot a l'entree [xe]" ), - ), - b_condition_3 =BLOC(condition="FLUIDE_ENTREE==3", - regles=(UN_PARMI('TEMP_ENTREE', 'TEMP_ENTREE_FO')), - fr="Vapeur saturee ou surchauffee", - TEMP_ENTREE =SIMP(statut='f',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - TEMP_ENTREE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la temperature a l'entree (degres C) [te]" ), - ), - b_condition_4 =BLOC(condition="FLUIDE_ENTREE==4", - regles=(UN_PARMI('TEMP_ENTREE', 'TEMP_ENTREE_FO'), - UN_PARMI('PRES_PART', 'PRES_PART_FO')), - fr="Air + vapeur surchauffee", - TEMP_ENTREE =SIMP(statut='f',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - TEMP_ENTREE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la temperature a l'entree (degres C) [te]" ), - PRES_PART =SIMP(statut='f',typ='R',fr="Pression partielle air en entree (Pa) [pae]" ), - PRES_PART_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la pression partielle air en entree (Pa) [pae]" ), - ), - b_condition_5 =BLOC(condition="FLUIDE_ENTREE==5", - regles=(UN_PARMI('TITR_MASS', 'TITR_MASS_FO'), - UN_PARMI('PRES_PART', 'PRES_PART_FO')), - fr="Air + vapeur saturee", - TITR_MASS =SIMP(statut='f',typ='R',fr="Titre massique eau vap/eau tot a l'entree [xe]" ), - TITR_MASS_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution du titre massique eau vap/eau tot a l'entree [xe]" ), - PRES_PART =SIMP(statut='f',typ='R',fr="Pression partielle air en entree (Pa) [pae]" ), - PRES_PART_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la pression partielle air en entree (Pa) [pae]" ), - ), - b_condition_6 =BLOC(condition="FLUIDE_ENTREE==6", - regles=(UN_PARMI('TEMP_ENTREE', 'TEMP_ENTREE_FO')), - fr="Air seul", - TEMP_ENTREE =SIMP(statut='f',typ='R',fr="Temperature a l'entree (degres C) [te]" ), - TEMP_ENTREE_FO =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule), - fr="Evolution de la temperature a l'entree (degres C) [te]" ), - ), - ), - - LIST_INST =SIMP(statut='f',typ=(listr8_sdaster), fr="Liste des instants de calcul imposes" ), - -# CHOIX DES MODELES -# ***************** - - MODELE_ECRE =FACT(statut='o',min=1,max=1, - IVENAC =SIMP(statut='f', typ='I', into=(0,1), defaut=0, - fr="Calcul ECREVISSE avec prise en compte de la vena contracta"), - ECOULEMENT =SIMP(statut='o',typ='TXM',into=("SATURATION","GELE"), - fr="Type de modele d'ecoulement diphasique [imod]" ), - b_ecou_gele =BLOC(condition="ECOULEMENT=='GELE'",fr="Modele d'ecoulement gele", - PRESS_EBULLITION =SIMP(statut='o',typ='R',fr="Pression d'ebullition [corrp*psat(t)]" ), - ), - FROTTEMENT =SIMP(statut='o',typ='I',into=(-4,-3,-2,-1,0,1,2,3,4,11,12,13,14),fr="Correlation de frottement [ifrot]" ), - b_frottement =BLOC(condition="FROTTEMENT<0",fr="Modele d'ecoulement gele", - REYNOLDS_LIM =SIMP(statut='o',typ='R',fr="Coefficient de Reynolds limite [relim]" ), - FROTTEMENT_LIM =SIMP(statut='o',typ='R',fr="Coefficient de frottement impose [frtlim]" ), - ), - - TRANSFERT_CHAL =SIMP(statut='o',typ='I',into=(-12,-11,-2,-1,0,1,2,11,12),fr="Transfert de chaleur [ichal]" ), - b_transchal =BLOC(condition="TRANSFERT_CHAL<0", fr="Cas diphasique", - XMINCH =SIMP(statut='o',typ='R',fr="Titre massique gazeux min [xminch]"), - XMAXCH =SIMP(statut='o',typ='R',fr="Titre massique gazeux max [xmaxch]"), - ), - ), - - -# CRITERE DE CONVERGENCE -# ********************** - - CONV_CRITERE =FACT(statut='o',min=1,max=1, - TEMP_REF =SIMP(statut='o',typ='R',val_min=1.0E-5,fr="Temperature de reference pour le calcul du critere"), - PRES_REF =SIMP(statut='o',typ='R',val_min=1.0E-5,fr="Pression de reference pour le calcul du critere"), - CRITERE =SIMP(statut='o',typ='TXM',defaut="TEMP_PRESS",into=("TEMP_PRESS","EXPLICITE","TEMP","PRESS"), - fr="La nature du critere pour la convergence"), - b_critere_autre =BLOC(condition="CRITERE=='TEMP_PRESS' or CRITERE=='TEMP' or CRITERE=='PRESS'", - fr="Critere de convergence temp_press, temp, ou press", - SUBD_NIVEAU =SIMP(statut='f',typ='I',val_min=2,defaut=3, - fr="Nombre maximum de niveau de subdivision d'un pas de temps"), - SUBD_PAS_MINI =SIMP(statut='f',typ='R',val_min=0.0, fr="Pas de temps en dessous duquel on ne subdivise plus"), - NUME_ORDRE_MIN =SIMP(statut='f',typ='I',val_min=-1,defaut=-1, - fr="Numero d'ordre a partir duquel le critere est pris en compte"), - PREC_CRIT =SIMP(statut='f',typ='R',val_min=1.0E-2,defaut=1.0, - fr="Valeur du critere pour l'erreur de convergence"), - ), - ), - - -# DONNEES RELATIVES A LA CONVERGENCE NUMERIQUE -# ******************************************** - - CONVERGENCE_ECREVISSE =FACT(statut='f',min=1,max=1, - KGTEST =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=1.E+0,defaut= 0.5E+0, - fr="Parametre de l'algorithme iteratif [kgtest]" ), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut= 400, - fr="Nombre maximum d'iterations de la methode de Newton [itnmax]" ), - CRIT_CONV_DEBI =SIMP(statut='f',typ='R',val_min=0.E+0,val_max=1.E+0,defaut= 1.E-5, - fr="Critere de convergence en debit [precdb]" ), - ), - - -# GENERAL -# ******* - - COURBES = SIMP(statut='f',typ='TXM',into=("INTERACTIF","POSTSCRIPT","AUCUNE"),defaut="AUCUNE", - fr="Generation eventuelle des courbes" ), - LOGICIEL = SIMP(statut='f',typ='TXM',validators=LongStr(1,255),), - VERSION = SIMP(statut='f',typ='TXM',into = ("3.2.1",) ), - ENTETE = SIMP(statut='f',typ='TXM',max='**',defaut="Titre du calcul Ecrevisse" ), - IMPRESSION = SIMP(statut='f',typ='TXM',defaut='NON',into=( 'OUI','NON') ), - INFO = SIMP(statut='f',typ='I',defaut="1",into=(1,2) ), - -# DONNEES POUR STAT_NON_LINE ET THER_NON_LINE -# ******************************************* - - # copie de stat_non_line.capy des options des mots cles qui nous interessent - - # donnees communes - - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - - # donnees specifiques a stat_non_line - - EXCIT_MECA =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE","SUIV","DIDI")), - ), - - CONTACT = SIMP(statut='o',typ=char_contact), - - COMPORTEMENT = C_COMPORTEMENT(), - NEWTON = FACT(statut='d', - REAC_INCR =SIMP(statut='f',typ='I',defaut= 1 ), - PREDICTION =SIMP(statut='f',typ='TXM',into=("DEPL_CALCULE","TANGENTE","ELASTIQUE","EXTRAPOL") ), - MATRICE =SIMP(statut='f',typ='TXM',defaut="TANGENTE",into=("TANGENTE","ELASTIQUE") ), - PAS_MINI_ELAS =SIMP(statut='f',typ='R',defaut=0.0E+0), - REAC_ITER =SIMP(statut='f',typ='I',defaut=0), - REAC_ITER_ELAS =SIMP(statut='f',typ='I',defaut=0), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - ), - CONVERGENCE = FACT(statut='d',regles=(PRESENT_ABSENT('RESI_REFE_RELA','RESI_GLOB_MAXI','RESI_GLOB_RELA'),), - b_refe_rela =BLOC(condition = "RESI_REFE_RELA != None", - regles=(AU_MOINS_UN('SIGM_REFE','EPSI_REFE','FLUX_THER_REFE', - 'FLUX_HYD1_REFE','FLUX_HYD2_REFE','VARI_REFE'), - ), - SIGM_REFE =SIMP(statut='f',typ='R'), - EPSI_REFE =SIMP(statut='f',typ='R'), - FLUX_THER_REFE =SIMP(statut='f',typ='R'), - FLUX_HYD1_REFE =SIMP(statut='f',typ='R'), - FLUX_HYD2_REFE =SIMP(statut='f',typ='R'), - VARI_REFE =SIMP(statut='f',typ='R'), - ), - RESI_REFE_RELA =SIMP(statut='f',typ='R'), - RESI_GLOB_MAXI =SIMP(statut='f',typ='R'), - RESI_GLOB_RELA =SIMP(statut='f',typ='R'), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut=10), - ITER_GLOB_ELAS =SIMP(statut='f',typ='I',defaut=25), - ARRET =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - ), - - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), - - # donnees specifiques a ther_lineaire - - EXCIT_THER =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=(char_ther,char_cine_ther)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - PARM_THETA =SIMP(statut='f',typ='R',defaut= 0.57), - -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr - -MACR_ELEM_DYNA=OPER(nom="MACR_ELEM_DYNA",op= 81,sd_prod=macr_elem_dyna, - fr="Definition d'un macro element pour analyse modale ou harmonique par sous structuration dynamique", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs","Dynamique",)}, - regles=( - # AMOR_REDUIT et MATR_AMOR sont redondants - EXCLUS('MATR_AMOR','AMOR_REDUIT' ), - - # Si MODELE_MESURE, on ne rentre pas de donnees pour le calcul - EXCLUS('MODELE_MESURE','MATR_RIGI' ), - EXCLUS('MODELE_MESURE','MATR_MASS' ), - EXCLUS('MODELE_MESURE','MATR_AMOR' ), - EXCLUS('MODELE_MESURE','AMOR_REDUIT' ), - EXCLUS('MODELE_MESURE','MATR_IMPE' ), - EXCLUS('MODELE_MESURE','MATR_IMPE_RIGI' ), - EXCLUS('MODELE_MESURE','MATR_IMPE_MASS' ), - EXCLUS('MODELE_MESURE','MATR_IMPE_AMOR' ), - - PRESENT_ABSENT('MATR_IMPE','MATR_IMPE_RIGI'), - PRESENT_ABSENT('MATR_IMPE','MATR_IMPE_MASS'), - PRESENT_ABSENT('MATR_IMPE','MATR_IMPE_AMOR'), - PRESENT_ABSENT('MATR_IMPE','MATR_RIGI','MATR_MASS'), - PRESENT_ABSENT('MATR_IMPE_MASS','MATR_RIGI','MATR_MASS'), - PRESENT_ABSENT('MATR_IMPE_RIGI','MATR_RIGI','MATR_MASS'), - PRESENT_ABSENT('MATR_IMPE_AMOR','MATR_RIGI','MATR_MASS'),), - BASE_MODALE =SIMP(statut='o',typ=mode_meca ), - MATR_RIGI =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_depl_c),), - MATR_MASS =SIMP(statut='f',typ=matr_asse_depl_r ), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_depl_r ), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - SANS_GROUP_NO =SIMP(statut='f',typ=grno ), - MATR_IMPE =SIMP(statut='f',typ=matr_asse_gene_c ), - MATR_IMPE_RIGI =SIMP(statut='f',typ=matr_asse_gene_c ), - MATR_IMPE_MASS =SIMP(statut='f',typ=matr_asse_gene_c ), - MATR_IMPE_AMOR =SIMP(statut='f',typ=matr_asse_gene_c ), - MODELE_MESURE =FACT(statut='f', - FREQ =SIMP(statut='o',typ='R',max='**' ), - MASS_GENE =SIMP(statut='o',typ='R',max='**' ), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**' ), - ), - b_matr_impe =BLOC(condition = "MATR_IMPE != None", - FREQ_EXTR =SIMP(statut='o',typ='R' ), - AMOR_SOL =SIMP(statut='f',typ='R',defaut=0.E+0 ), - MATR_IMPE_INIT =SIMP(statut='f',typ=matr_asse_gene_c ), - ), - CAS_CHARGE =FACT(statut='f',max='**', - NOM_CAS =SIMP(statut='o',typ='TXM'), - VECT_ASSE_GENE =SIMP(statut='o',typ=vect_asse_gene ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -MACR_ELEM_STAT=OPER(nom="MACR_ELEM_STAT",op=86,sd_prod=macr_elem_stat,reentrant='f', - UIinfo={"groupes":("Matrices et vecteurs",)}, - fr="Définition d'un macro-élément pour l'analyse statique par sous-structuration", - regles=(AU_MOINS_UN('DEFINITION','RIGI_MECA','MASS_MECA','CAS_CHARGE'), - ENSEMBLE('DEFINITION','EXTERIEUR'),), - DEFINITION =FACT(statut='f', - regles=(PRESENT_PRESENT('PROJ_MESU','MODE_MESURE'),), - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - CHAR_MACR_ELEM =SIMP(statut='f',typ=char_meca), - INST =SIMP(statut='f',typ='R',defaut=0.0E+0 ), - NMAX_CAS =SIMP(statut='f',typ='I',defaut=10), - NMAX_CHAR =SIMP(statut='f',typ='I',defaut=10), - PROJ_MESU =SIMP(statut='f',typ=(mode_gene,tran_gene,harm_gene),max=1), -# MODE_MESURE =SIMP(statut='f',typ=( mode_meca,base_modale) ), - MODE_MESURE =SIMP(statut='f',typ= mode_meca ), - ), - EXTERIEUR =FACT(statut='f', - regles=(AU_MOINS_UN('NOEUD','GROUP_NO'),), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - ), - RIGI_MECA =FACT(statut='f', - ), - MASS_MECA =FACT(statut='f', - ), - AMOR_MECA =FACT(statut='f', - ), - CAS_CHARGE =FACT(statut='f',max='**', - NOM_CAS =SIMP(statut='o',typ='TXM'), - SUIV =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - CHARGE =SIMP(statut='f',typ=char_meca,validators=NoRepeat(),max='**'), - INST =SIMP(statut='f',typ='R',defaut=0.E+0), - ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: gerald.nicolas at edf.fr -# -MACR_INFO_MAIL=MACRO(nom="MACR_INFO_MAIL", - op=OPS('Macro.macr_adap_mail_ops.macr_adap_mail_ops'), - docu="U7.03.02",UIinfo={"groupes":("Maillage",)}, - fr="Donner des informations sur un maillage.", - ang="To give information about a mesh.", -# -# 1. Le niveau d'information -# - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2,3,4)), -# -# 2. Le nom du maillage a analyser -# - MAILLAGE = SIMP(statut='o',typ=maillage_sdaster, - fr="Maillage à analyser.", - ang="Mesh to be checked." ), -# -# 3. Suivi d'une frontiere -# - MAILLAGE_FRONTIERE = SIMP(statut='f',typ=maillage_sdaster, - fr="Maillage de la frontiere à suivre", - ang="Boundary mesh" ), -# - b_frontiere = BLOC( condition = " MAILLAGE_FRONTIERE != None " , - fr="Information complémentaire sur la frontière", - ang="Further information about boundary", -# - GROUP_MA_FRONT = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="Groupes de mailles définissant la frontière", - ang="Mesh groups which define the boundary" ), -# - ) , -# -# 4. Les options ; par defaut, on controle tout, sauf l'interpénétration -# 4.1. Nombre de noeuds et mailles -# - NOMBRE = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Nombre de noeuds et de mailles du maillage", - ang="Number of nodes and meshes in the mesh" ), -# -# 4.2. Determination de la qualite des mailles du maillage -# - QUALITE = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Qualité du maillage", - ang="Quality of the mesh" ), -# -# 4.3. Connexite du maillage -# - CONNEXITE = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Connexité du maillage.", - ang="Connexity of the mesh." ), -# -# 4.4. Taille des sous-domaines du maillage -# - TAILLE = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Tailles des sous-domaines du maillage.", - ang="Sizes of mesh sub-domains." ), -# -# 4.5. Controle de la non-interpénétration des mailles -# - INTERPENETRATION=SIMP(statut='f',typ='TXM',into=("OUI",), - fr="Controle de la non interpénétration des mailles.", - ang="Overlapping checking." ), -# -# 4.6. Propriétés du maillage de calcul -# - PROP_CALCUL = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Propriétés du maillage de calcul.", - ang="Properties of the calculation mesh." ), -# -# 4.7. Determination des diametres des mailles du maillage -# - DIAMETRE = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI",), - fr="Diamètre du maillage", - ang="Diameters of the mesh" ), -# -# 5. Les options avancées -# 5.1. Langue des messages issus de HOMARD -# - LANGUE = SIMP(statut='f',typ='TXM',defaut="FRANCAIS", - into=("FRANCAIS","FRENCH","ANGLAIS","ENGLISH",), - fr="Langue des messages issus de HOMARD.", - ang="Language for HOMARD messages." ), -# -# 5.2. Gestion des mailles acceptees dans le maillage initial -# "HOMARD" : exclusivement les mailles pouvant etre decoupees (defaut) -# "IGNORE_PYRA" : elles sont ignorées -# - ELEMENTS_ACCEPTES = SIMP(statut='f',typ='TXM',defaut="HOMARD",into=("HOMARD", "IGNORE_PYRA"), - fr="Acceptation des mailles dans le maillage initial", - ang="Elements in the very first mesh" ), -# -# 5.3. Version de HOMARD -# - VERSION_HOMARD = SIMP(statut='f',typ='TXM',defaut="V10_6", - into=("V10_6", "V10_N", "V10_N_PERSO"), - fr="Version de HOMARD", - ang="HOMARD release"), -# -# 5.4. Exécutable pilotant HOMARD -# - LOGICIEL = SIMP(statut='f',typ='TXM', - fr="Logiciel pilotant HOMARD", - ang="HOMARD software"), -# -# 5.5. Unite logique d'un fichier à ajouter a HOMARD.Configuration -# - b_unite = BLOC( condition = " (VERSION_HOMARD == 'V10_N') or \ - (VERSION_HOMARD == 'V10_N_PERSO') " , - fr="Fichier supplementaire.", - ang="Additional file.", -# - UNITE = SIMP(statut='f',typ='I', - fr="Unite logique a ajouter a HOMARD.Configuration", - ang="Additional file to HOMARD.Configuration" ), -# - ) , -# -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: josselin.delmas at edf.fr - - -MACR_LIGN_COUPE=MACRO(nom="MACR_LIGN_COUPE", - op=OPS('Macro.macr_lign_coupe_ops.macr_lign_coupe_ops'), - sd_prod=table_sdaster, - reentrant='n', - UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - fr="Extraction des valeurs d'un résultat dans une ou plusieurs tables sur " \ - "des lignes de coupe définies par deux points et un intervalle", - regles=(UN_PARMI("RESULTAT","CHAM_GD"),), - - RESULTAT =SIMP(statut='f',typ=(evol_elas,evol_noli,evol_ther,mode_meca) ), - CHAM_GD =SIMP(statut='f',typ=(cham_gd_sdaster)), - - b_extrac =BLOC(condition = "RESULTAT != None",fr="extraction des résultats", - regles=(EXCLUS('NUME_ORDRE','NUME_MODE','LIST_ORDRE','INST','LIST_INST',), ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - -# extraction des résultats - b_meca =BLOC(condition = "AsType(RESULTAT) in (evol_elas,evol_noli,mode_meca)",fr="résultat mécanique", - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),defaut='SIGM_NOEU',into=C_NOM_CHAM_INTO(),), - ), - b_ther =BLOC(condition = "AsType(RESULTAT) in (evol_ther,)",fr="résultat thermique", - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),defaut='TEMP',into=("TEMP", - "FLUX_ELGA","FLUX_ELNO","FLUX_NOEU", - "META_ELNO","META_NOEU", - "DURT_ELNO","DURT_NOEU", - "HYDR_ELNO","HYDR_NOEU", - "DETE_ELNO","DETE_NOEU", - "SOUR_ELGA","COMPORTHER", - "ERTH_ELEM","ERTH_ELNO","ERTH_NOEU",),),), - b_cham =BLOC(condition = "CHAM_GD!=None", - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO(),),), - - UNITE_MAILLAGE =SIMP(statut='f',typ='I',defaut=25), - MODELE =SIMP(statut='f',typ=modele_sdaster ), - - VIS_A_VIS =FACT(statut='f',max='**', - regles=(EXCLUS('GROUP_MA_1','MAILLE_1'),), - GROUP_MA_1 =SIMP(statut='f',typ=grma), - MAILLE_1 =SIMP(statut='f',typ=ma,max='**'),), - - LIGN_COUPE =FACT(statut='o',max='**', - regles=(EXCLUS("NOM_CMP","INVARIANT","ELEM_PRINCIPAUX","RESULTANTE"), - PRESENT_PRESENT("TRAC_DIR","DIRECTION"), - EXCLUS("TRAC_DIR","TRAC_NOR"), - PRESENT_PRESENT("TRAC_DIR","NOM_CMP"), - PRESENT_PRESENT("TRAC_NOR","NOM_CMP"),), - - INTITULE =SIMP(statut='f',typ='TXM',), - TYPE =SIMP(statut='o',typ='TXM',max=1, - into=("GROUP_NO","SEGMENT","ARC","GROUP_MA"),defaut="SEGMENT"), - REPERE =SIMP(statut='f',typ='TXM',defaut="GLOBAL", - into=("GLOBAL","LOCAL","POLAIRE","UTILISATEUR","CYLINDRIQUE"),), - OPERATION =SIMP(statut='f',typ='TXM',into=("EXTRACTION","MOYENNE",),defaut="EXTRACTION",), - - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - INVARIANT =SIMP(statut='f',typ='TXM',into=("OUI",),), - ELEM_PRINCIPAUX =SIMP(statut='f',typ='TXM',into=("OUI",),), - RESULTANTE =SIMP(statut='f',typ='TXM',max='**'), - TRAC_NOR =SIMP(statut='f',typ='TXM',into=("OUI",)), - TRAC_DIR =SIMP(statut='f',typ='TXM',into=("OUI",)), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - - - b_local =BLOC(condition = "REPERE=='LOCAL' ", - VECT_Y =SIMP(statut='f',typ='R',min=2,max=3),), - - b_utili =BLOC(condition = "REPERE=='UTILISATEUR'", - ANGL_NAUT =SIMP(statut='o',typ='R',min=3,max=3),), - - b_grno =BLOC(condition = "TYPE=='GROUP_NO'", - GROUP_NO =SIMP(statut='o',typ=grno, max=1),), - - b_grma =BLOC(condition = "TYPE=='GROUP_MA'", - regles=(EXCLUS('NOEUD_ORIG','GROUP_NO_ORIG'), - EXCLUS('NOEUD_EXTR','GROUP_NO_EXTR'),), - GROUP_MA =SIMP(statut='o',typ=grma, max=1), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - # si le groupe de mailles forme une ligne ouverte, on peut choisir le sens de parcours en choissant l'origine: - # si le groupe de mailles forme une ligne fermée, il FAUT choisir l'origine et l'extrémité (= origine): - NOEUD_ORIG =SIMP(statut='f',typ=no), - GROUP_NO_ORIG =SIMP(statut='f',typ=grno), - NOEUD_EXTR =SIMP(statut='f',typ=no), - GROUP_NO_EXTR =SIMP(statut='f',typ=grno), - # si le groupe de mailles forme une ligne fermée, on peut choisir le sens de parcours - VECT_ORIE =SIMP(statut='f',typ='R',max=3), # utilisé seulement si NOEUD_ORIG=NOEUD_EXTR - ), - - b_segment =BLOC(condition = "TYPE=='SEGMENT'", - NB_POINTS =SIMP(statut='o',typ='I',max=1), - COOR_ORIG =SIMP(statut='o',typ='R',min=2,max=3), - COOR_EXTR =SIMP(statut='o',typ='R',min=2,max=3),), - - b_arc =BLOC(condition = "TYPE=='ARC'", - NB_POINTS =SIMP(statut='o',typ='I',max=1), - COOR_ORIG =SIMP(statut='o',typ='R',min=2,max=3), - CENTRE =SIMP(statut='o',typ='R',min=2,max=3), - ANGLE =SIMP(statut='o',typ='R',max=1), - DNOR =SIMP(statut='f',typ='R',min=2,max=3),), - - b_cylind =BLOC(condition = ("REPERE=='CYLINDRIQUE' and TYPE!='ARC'"), - ORIGINE =SIMP(statut='f',typ='R',min=2,max=3), - AXE_Z =SIMP(statut='f',typ='R',min=3,max=3),), - - DISTANCE_MAX =SIMP(statut='f',typ='R',defaut=0., - fr="Si la distance entre un noeud de la ligne de coupe et le maillage coupé " - +"est > DISTANCE_MAX, ce noeud sera ignoré."), - - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aimery.assire at edf.fr - - -def macr_recal_prod(self,**args ): - return listr8_sdaster - -MACR_RECAL = MACRO(nom="MACR_RECAL", - op=OPS('Macro.macr_recal_ops.macr_recal_ops'), - sd_prod=macr_recal_prod, - UIinfo={"groupes":("Résolution","Résultats et champs",)}, - fr="Réalise le recalage des calculs Aster sur des résultats expérimentaux" \ - " ou sur d'autres résultats de calculs", - regles=(UN_PARMI('PARA_OPTI','LIST_PARA'), - PRESENT_PRESENT('PARA_OPTI','COURBE'), - PRESENT_PRESENT('LIST_PARA','RESU_EXP'), - PRESENT_PRESENT('LIST_PARA','RESU_CALC'), - EXCLUS('LIST_POIDS','COURBE'),), - - UNITE_ESCL =SIMP(statut='o',typ='I'), - RESU_EXP =SIMP(statut='f',typ=not_checked,max='**'), - COURBE =FACT(statut='f',max='**', - FONC_EXP =SIMP(statut='o',typ=(fonction_sdaster),), - NOM_FONC_CALC =SIMP(statut='o',typ='TXM',), - PARA_X =SIMP(statut='o',typ='TXM',), - PARA_Y =SIMP(statut='o',typ='TXM',), - POIDS =SIMP(statut='f',typ='R',), - ), - RESU_CALC =SIMP(statut='f',typ=not_checked,max='**'), - LIST_PARA =SIMP(statut='f',typ=not_checked,max='**'), - PARA_OPTI =FACT(statut='f',max='**', - NOM_PARA = SIMP(statut='o',typ='TXM'), - VALE_INI = SIMP(statut='o',typ='R'), - VALE_MIN = SIMP(statut='o',typ='R'), - VALE_MAX = SIMP(statut='o',typ='R'), - ), - LIST_POIDS =SIMP(statut='f',typ=not_checked,max='**'), - - UNITE_RESU =SIMP(statut='f',typ='I',defaut=91), - PARA_DIFF_FINI =SIMP(statut='f',typ='R',defaut=0.00001), - - GRAPHIQUE =FACT(statut='f', - FORMAT =SIMP(statut='f',typ='TXM',defaut='XMGRACE',into=("XMGRACE","GNUPLOT"),), - AFFICHAGE =SIMP(statut='f',typ='TXM',defaut='TOUTE_ITERATION',into=("TOUTE_ITERATION","ITERATION_FINALE"),), - - UNITE =SIMP(statut='f',typ='I',val_min=10,val_max=90,defaut=29, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - b_pilote = BLOC(condition = "FORMAT == 'XMGRACE'", fr="Mots-clés propres à XMGRACE", - PILOTE =SIMP(statut='f',typ='TXM',defaut='', - into=('','POSTSCRIPT','EPS','MIF','SVG','PNM','PNG','JPEG','PDF','INTERACTIF'), - fr="Pilote de sortie, PNG/JPEG/PDF ne sont pas disponibles sur toutes les installations de xmgrace"), - ), - ), - - - # Methodes d'optimisation - # ----------------------- - METHODE =SIMP(statut='f',typ='TXM',defaut='LEVENBERG',into=("LEVENBERG", "FMIN", "FMINBFGS", "FMINNCG", - "GENETIQUE","HYBRIDE")), - - b_genetique_options=BLOC(condition = "METHODE == 'GENETIQUE' or METHODE == 'HYBRIDE'" , - NB_PARENTS =SIMP(statut='f',typ='I',defaut=10), - NB_FILS =SIMP(statut='f',typ='I',defaut=5), - ECART_TYPE =SIMP(statut='f',typ='R',defaut=1.), - GRAINE =SIMP(statut='f',typ='I'), - ITER_ALGO_GENE =SIMP(statut='f',typ='I',defaut=10), - RESI_ALGO_GENE =SIMP(statut='f',typ='R',defaut=1.E-3), - ), - - - # Criteres d'arret globaux - # ------------------------- - ITER_MAXI =SIMP(statut='f',typ='I',defaut=10, fr="Nombre maximum d'iterations d'optimisation"), - ITER_FONC_MAXI =SIMP(statut='f',typ='I',defaut=1000, fr="Nombre maximum d'evaluations de la focntionnelle"), - RESI_GLOB_RELA =SIMP(statut='f',typ='R',defaut=1.E-3, fr="Critere d'arret sur la valeur du residu"), - TOLE_PARA =SIMP(statut='f',typ='R',defaut=1.E-8, fr="Critere d'arret sur la valeur des parametres"), - TOLE_FONC =SIMP(statut='f',typ='R',defaut=1.E-8, fr="Critere d'arret sur la valeur de la fonctionnelle"), - - - # Calculs des gradients - # --------------------- - b_gradient =BLOC(condition = "METHODE == 'FMINBFGS' or METHODE == 'FMINNCG'" , - GRADIENT =SIMP(statut='f',typ='TXM',defaut='NON_CALCULE', into=("NON_CALCULE", "NORMAL", "ADIMENSIONNE" )), - ), - - b_gradient_levenberg =BLOC(condition = "METHODE == 'LEVENBERG'" , - GRADIENT =SIMP(statut='f',typ='TXM',defaut='NORMAL', into=( "NORMAL", "ADIMENSIONNE" )), - ), - - - # Mode d'evaluation de l'esclave - # ------------------------------ - CALCUL_ESCLAVE =FACT(statut='d', -# regles=(PRESENT_PRESENT('MPI_NBNOEUD','MPI_NBCPU'),), - - LANCEMENT =SIMP(statut='f', typ='TXM', defaut='INCLUSION',into=("DISTRIBUTION","INCLUSION"),), - - b_eval_distrib =BLOC(condition = "LANCEMENT == 'DISTRIBUTION'", - UNITE_SUIVI =SIMP(statut='f', typ='I',val_min=10,val_max=99,defaut=29, - fr="Affichage de l'output et/ou error des jobs esclaves dans ce fichier"), - MODE =SIMP(statut='f', typ='TXM', into=("INTERACTIF","BATCH"),), - MEMOIRE =SIMP(statut='f', typ='I', fr="Memoire demandee pour les calculs esclaves (Mo)"), - TEMPS =SIMP(statut='f', typ='I', fr="Temps demandee pour les calculs esclaves (secondes)"), - MPI_NBCPU =SIMP(statut='f', typ='I', val_min=1, fr="Nombre de cpu pour les calculs MPI"), - MPI_NBNOEUD =SIMP(statut='f', typ='I', fr="Nombre de noeuds pour les calculs MPI"), - CLASSE =SIMP(statut='f', typ='TXM', fr="Classe demandee pour les calculs en batch"), - NMAX_SIMULT =SIMP(statut='f', typ='I', - fr="Nombre de calculs esclaves lances en parallele en mode distribution (non precise = automatique)"), - ), - ), - - DYNAMIQUE =FACT(statut='f', - MODE_EXP =SIMP(statut='o',typ='TXM'), - MODE_CALC =SIMP(statut='o',typ='TXM'), - APPARIEMENT_MANUEL =SIMP(statut='f',typ='TXM',defaut='NON',into=("OUI","NON")), - ), - - INFO =SIMP(statut='f',typ='I',defaut=1, into=( 1, 2 ) ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: francois.voldoire at edf.fr - - -MACR_SPECTRE=MACRO(nom="MACR_SPECTRE", - op=OPS('Macro.macr_spectre_ops.macr_spectre_ops'), - sd_prod=table_sdaster, - reentrant='n', - UIinfo={"groupes":("Post-traitements","Outils-métier",)}, - fr="Calcul de spectre, post-traitement de séisme", - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster,), - PLANCHER =FACT(statut='o',max='**', - regles=(AU_MOINS_UN('NOEUD','GROUP_NO' ),), - NOM =SIMP(statut='o',typ='TXM',), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), ), - NOM_CHAM =SIMP(statut='o',typ='TXM' ,into=('ACCE','DEPL')), - CALCUL =SIMP(statut='o',typ='TXM' ,into=('ABSOLU','RELATIF'),position='global'), - b_acce =BLOC( condition = "NOM_CHAM=='ACCE'", - regles=(UN_PARMI('LIST_FREQ','FREQ'),), - AMOR_SPEC =SIMP(statut='o',typ='R',max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - FREQ =SIMP(statut='f',typ='R',max='**'), - NORME =SIMP(statut='o',typ='R'), - RESU =FACT(statut='o',max='**', - regles=(UN_PARMI('RESU_GENE','RESULTAT','TABLE'),), - TABLE =SIMP(statut='f',typ=table_sdaster), - RESU_GENE =SIMP(statut='f',typ=tran_gene), - RESULTAT =SIMP(statut='f',typ=(dyna_trans,evol_noli)), - b_calc =BLOC( condition = "CALCUL=='RELATIF'", - ACCE_X =SIMP(statut='o',typ=fonction_sdaster), - ACCE_Y =SIMP(statut='o',typ=fonction_sdaster), - ACCE_Z =SIMP(statut='o',typ=fonction_sdaster),), ), - IMPRESSION =FACT(statut='f', - TRI =SIMP(statut='f',typ='TXM',defaut='AMOR_SPEC',into=("AMOR_SPEC","DIRECTION",),), - FORMAT =SIMP(statut='f',typ='TXM',defaut='TABLEAU',into=("TABLEAU","XMGRACE",),), - UNITE =SIMP(statut='f',typ='I',val_min=10,val_max=90,defaut=29, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit"), - b_pilote = BLOC(condition = "FORMAT == 'XMGRACE'", - PILOTE =SIMP(statut='f',typ='TXM',defaut='', - into=('','POSTSCRIPT','EPS','MIF','SVG','PNM','PNG','JPEG','PDF','INTERACTIF'),),), - TOUT =SIMP(statut='f',typ='TXM',defaut='NON',into=("OUI","NON",),), - ), - ), - b_depl =BLOC( condition = "NOM_CHAM=='DEPL'", - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - RESU =FACT(statut='o',max=3, - regles=(UN_PARMI('RESU_GENE','RESULTAT','TABLE'),), - TABLE =SIMP(statut='f',typ=table_sdaster), - RESU_GENE =SIMP(statut='f',typ=tran_gene), - RESULTAT =SIMP(statut='f',typ=(dyna_trans,evol_noli)), - b_calc =BLOC( condition = "CALCUL=='ABSOLU'", - DEPL_X =SIMP(statut='o',typ=fonction_sdaster), - DEPL_Y =SIMP(statut='o',typ=fonction_sdaster), - DEPL_Z =SIMP(statut='o',typ=fonction_sdaster),),), - ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr - - -def macro_elas_mult_prod(self,NUME_DDL,CAS_CHARGE,**args ): - if NUME_DDL is not None and NUME_DDL.is_typco(): - self.type_sdprod(NUME_DDL,nume_ddl_sdaster) - if CAS_CHARGE[0]['NOM_CAS'] != None : return mult_elas - if CAS_CHARGE[0]['MODE_FOURIER'] != None : return fourier_elas - raise AsException("type de concept resultat non prevu") - -MACRO_ELAS_MULT=MACRO(nom="MACRO_ELAS_MULT", - op=OPS('Macro.macro_elas_mult_ops.macro_elas_mult_ops'), - sd_prod=macro_elas_mult_prod, - reentrant='f', - UIinfo={"groupes":("Résolution",)}, - fr="Calculer les réponses statiques linéaires pour différents cas " \ - "de charges ou modes de Fourier", - regles=(UN_PARMI('CHAR_MECA_GLOBAL','LIAISON_DISCRET', ),), - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - NUME_DDL =SIMP(statut='f',typ=(nume_ddl_sdaster,CO)), - CHAR_MECA_GLOBAL=SIMP(statut='f',typ=(char_meca),validators=NoRepeat(),max='**'), - LIAISON_DISCRET =SIMP(statut='f',typ='TXM',into=("OUI",)), - CAS_CHARGE =FACT(statut='o',max='**', - regles=(UN_PARMI('NOM_CAS','MODE_FOURIER'), - UN_PARMI('CHAR_MECA','VECT_ASSE'),), - NOM_CAS =SIMP(statut='f',typ='TXM' ), - MODE_FOURIER =SIMP(statut='f',typ='I' ), - TYPE_MODE =SIMP(statut='f',typ='TXM',defaut="SYME",into=("SYME","ANTI","TOUS") ), - CHAR_MECA =SIMP(statut='f',typ=(char_meca),validators=NoRepeat(),max='**'), - OPTION =SIMP(statut='f',typ='TXM',into=("SIEF_ELGA","SANS"),defaut="SIEF_ELGA",max=1, - fr="Contraintes aux points de Gauss.",), - SOUS_TITRE =SIMP(statut='f',typ='TXM',max='**'), - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster), - ), - SOLVEUR =FACT(statut='d', - METHODE =SIMP(statut='f',typ='TXM',defaut="MULT_FRONT",into=("MULT_FRONT","LDLT") ), - b_mult_front = BLOC ( condition = "METHODE == 'MULT_FRONT' ", - fr="Paramètres de la méthode multi frontale", - RENUM =SIMP(statut='f',typ='TXM',defaut="METIS",into=("MD","MDA","METIS") ), - ), - b_ldlt =BLOC(condition = "METHODE == 'LDLT' ",fr="Paramètres de la méthode LDLT", - RENUM =SIMP(statut='f',typ='TXM',defaut="RCMK",into=("RCMK","SANS") ), - ), - b_ldlt_mult =BLOC(condition = "METHODE == 'LDLT' or METHODE == 'MULT_FRONT' ", - fr="Paramètres relatifs à la non inversibilité de la matrice à factorise", - NPREC =SIMP(statut='f',typ='I',defaut= 8 ), - STOP_SINGULIER =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: albert.alarcon at edf.fr - - -def macro_expans_prod(self, MODELE_MESURE, RESU_NX, RESU_EX, RESU_ET, RESU_RD, **args): - RESU_EXP = MODELE_MESURE['MESURE'] - self.type_sdprod(RESU_NX, mode_meca) - for res in (RESU_EX, RESU_ET, RESU_RD): - if res is not None and res.is_typco(): - if AsType(RESU_EXP) == mode_meca: - self.type_sdprod(res, mode_meca) - else: - self.type_sdprod(res, dyna_harmo) - return None - -MACRO_EXPANS=MACRO(nom="MACRO_EXPANS", - op=OPS('Macro.macro_expans_ops.macro_expans_ops'), - sd_prod=macro_expans_prod, - reentrant='n', - UIinfo={"groupes":("Outils-métier","Dynamique",)}, - fr="Outil d'expansion de resultats exprimentaux sur une base definie sur un modele numerique", - MODELE_CALCUL = FACT(statut='o', - MODELE = SIMP(statut='o',typ=(modele_sdaster) ), - BASE = SIMP(statut='o',typ=(mode_meca,) ), - NUME_MODE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**',defaut=0), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**',defaut=0), - - ), - MODELE_MESURE = FACT(statut='o', - MODELE = SIMP(statut='o',typ=(modele_sdaster) ), - MESURE = SIMP(statut='o',typ=(dyna_trans,dyna_harmo,mode_meca,mode_meca_c,) ), - NOM_CHAM = SIMP(statut='f',typ='TXM',defaut="DEPL", - into=("DEPL","VITE","ACCE","SIEF_NOEU","EPSI_NOEU",) ), - NUME_MODE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**',defaut=0), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**',defaut=0), - - ), - NUME_DDL = SIMP(statut='f',typ=(nume_ddl_sdaster)), - RESU_NX = SIMP(statut='f',typ=(mode_meca,dyna_harmo, CO)), - RESU_EX = SIMP(statut='f',typ=(mode_meca,dyna_harmo, CO)), - RESU_ET = SIMP(statut='f',typ=(mode_meca,dyna_harmo, CO)), - RESU_RD = SIMP(statut='f',typ=(mode_meca,dyna_harmo, CO)), - RESOLUTION = FACT(statut='f', - METHODE =SIMP(statut='f',typ='TXM',defaut="LU",into=("LU","SVD",) ), - b_svd =BLOC(condition="METHODE=='SVD'", - EPS=SIMP(statut='f',typ='R',defaut=0. ), - ), - REGUL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","NORM_MIN","TIK_RELA",) ), - b_regul =BLOC(condition="REGUL!='NON'", - regles=(PRESENT_ABSENT('COEF_PONDER','COEF_PONDER_F', ),), - COEF_PONDER =SIMP(statut='f',typ='R',defaut=0. ,max='**' ), - COEF_PONDER_F =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),max='**' ), - ), - ), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr - - -def macro_matr_ajou_prod(self,MATR_AMOR_AJOU,MATR_MASS_AJOU,MATR_RIGI_AJOU,FORC_AJOU,**args): - self.type_sdprod(MATR_AMOR_AJOU,matr_asse_gene_r) - self.type_sdprod(MATR_MASS_AJOU,matr_asse_gene_r) - self.type_sdprod(MATR_RIGI_AJOU,matr_asse_gene_r) - if FORC_AJOU != None: - for m in FORC_AJOU: - self.type_sdprod(m['VECTEUR'],vect_asse_gene) - - return None - -MACRO_MATR_AJOU=MACRO(nom="MACRO_MATR_AJOU", - op=OPS('Macro.macro_matr_ajou_ops.macro_matr_ajou_ops'), - sd_prod=macro_matr_ajou_prod, - UIinfo={"groupes":("Résolution","Matrices et vecteurs",)}, - fr="Calculer de facon plus condensée qu'avec CALC_MATR_AJOU des " \ - "matrices de masse, d'amortissement ou de rigidité ajoutés", - regles=(AU_MOINS_UN('MODE_MECA','DEPL_IMPO','MODELE_GENE'), - AU_MOINS_UN('MATR_MASS_AJOU','MATR_AMOR_AJOU','MATR_RIGI_AJOU'), - EXCLUS('MODE_MECA','DEPL_IMPO','MODELE_GENE'), - EXCLUS('MONO_APPUI','MODE_STAT',), - ), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster), - GROUP_MA_FLUIDE =SIMP(statut='o',typ=grma), - GROUP_MA_INTERF =SIMP(statut='o',typ=grma), - MODELISATION =SIMP(statut='o',typ='TXM',into=("PLAN","AXIS","3D")), - FLUIDE =FACT(statut='o',max='**', - RHO =SIMP(statut='o',typ='R'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",)), - GROUP_MA =SIMP(statut='f',typ=grma), - MAILLE =SIMP(statut='f',typ=ma), - ), - DDL_IMPO =FACT(statut='o',max='**', - regles=(UN_PARMI('NOEUD','GROUP_NO'), - UN_PARMI('PRES_FLUIDE','PRES_SORTIE'),), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - PRES_FLUIDE =SIMP(statut='f',typ='R'), - PRES_SORTIE =SIMP(statut='f',typ='R'), - ), - ECOULEMENT =FACT(statut='f', - GROUP_MA_1 =SIMP(statut='o',typ=grma), - GROUP_MA_2 =SIMP(statut='o',typ=grma), - VNOR_1 =SIMP(statut='o',typ='R'), - VNOR_2 =SIMP(statut='f',typ='R'), - POTENTIEL =SIMP(statut='f',typ=evol_ther), - ), - MODE_MECA =SIMP(statut='f',typ=mode_meca), - DEPL_IMPO =SIMP(statut='f',typ=cham_no_sdaster), - MODELE_GENE =SIMP(statut='f',typ=modele_gene), - NUME_DDL_GENE =SIMP(statut='f',typ=nume_ddl_gene), - DIST_REFE =SIMP(statut='f',typ='R',defaut= 1.0E-2), - MATR_MASS_AJOU =SIMP(statut='f',typ=CO,), - MATR_RIGI_AJOU =SIMP(statut='f',typ=CO,), - MATR_AMOR_AJOU =SIMP(statut='f',typ=CO,), - MONO_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",),), - MODE_STAT =SIMP(statut='f',typ=mode_meca,), - FORC_AJOU =FACT(statut='f',max='**', - DIRECTION =SIMP(statut='o',typ='R',max=3), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - VECTEUR =SIMP(statut='o',typ=CO), - ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MACRO_MATR_AJOU'), -#------------------------------------------------------------------- - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - NOEUD_DOUBLE =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - AVEC_MODE_STAT =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.brie at edf.fr - -def macro_mode_meca_prod( self, MATR_RIGI,MATR_MASS, **args) : - if ( AsType(MATR_RIGI) == matr_asse_gene_r ): - if ( AsType(MATR_MASS) == matr_asse_gene_r ): - return mode_gene - else: - raise AsException("Matrices d'entrée de types différents : physique / généralisée.") - - return mode_meca - - -MACRO_MODE_MECA=MACRO(nom="MACRO_MODE_MECA", - op=OPS('Macro.macro_mode_meca_ops.macro_mode_meca_ops'), - sd_prod=macro_mode_meca_prod, - reentrant='n',fr="Lancer une succession de calculs de modes propres réels", - UIinfo={"groupes":("Résolution","Dynamique",)}, - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r, matr_asse_gene_r) ), - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r, matr_asse_gene_r) ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -# ce mot cle ne devrait il pas etre dans calc_freq - METHODE =SIMP(statut='f',typ='TXM',defaut="SORENSEN", - into=("TRI_DIAG","JACOBI","SORENSEN",) ), - b_tri_diag =BLOC(condition = "METHODE == 'TRI_DIAG'", - PREC_ORTHO =SIMP(statut='f',typ='R',defaut= 1.E-12,val_min=0.E+0 ), - NMAX_ITER_ORTHO =SIMP(statut='f',typ='I',defaut= 5,val_min=0 ), - PREC_LANCZOS =SIMP(statut='f',typ='R',defaut= 1.E-8,val_min=0.E+0 ), - NMAX_ITER_QR =SIMP(statut='f',typ='I',defaut= 30,val_min=0 ), - ), - b_jacobi =BLOC(condition = "METHODE == 'JACOBI'", - PREC_BATHE =SIMP(statut='f',typ='R',defaut= 1.E-10,val_min=0.E+0 ), - NMAX_ITER_BATHE =SIMP(statut='f',typ='I',defaut= 40,val_min=0 ), - PREC_JACOBI =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0 ), - NMAX_ITER_JACOBI=SIMP(statut='f',typ='I',defaut= 12,val_min=0 ), - ), - b_sorensen =BLOC(condition = "METHODE == 'SORENSEN'", - PREC_SOREN =SIMP(statut='f',typ='R',defaut= 0.E+0,val_min=0.E+0 ), - NMAX_ITER_SOREN =SIMP(statut='f',typ='I',defaut= 20,val_min=0 ), - PARA_ORTHO_SOREN=SIMP(statut='f',typ='R',defaut= 0.717), - ), - - OPTION =SIMP(statut='f',typ='TXM',defaut="SANS",into=("MODE_RIGIDE","SANS") ), - - CALC_FREQ =FACT(statut='o', - FREQ =SIMP(statut='o',typ='R',min=2,validators=NoRepeat(),max='**', ), - DIM_SOUS_ESPACE =SIMP(statut='f',typ='I' ), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I' ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2 ), - SEUIL_FREQ =SIMP(statut='f',typ='R' ,defaut= 1.E-2 ), - STOP_BANDE_VIDE =SIMP(statut='f',typ='TXM',defaut="NON" ,into=("OUI","NON") ), - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('INFO_MODE'), - NIVEAU_PARALLELISME =SIMP(statut='f',typ='TXM',defaut="COMPLET",into=("PARTIEL","COMPLET") ), -#------------------------------------------------------------------- - - VERI_MODE =FACT(statut='d',min=0, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 1.E-6 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-3 ), - STURM =SIMP(statut='f',typ='TXM',defaut="GLOBAL",into=("GLOBAL","LOCAL","NON") ), - ), - - b_matr_phys =BLOC( condition = "AsType(MATR_RIGI) == matr_asse_depl_r", - NORM_MODE =FACT(statut='d',max='**', - NORME =SIMP(statut='f',typ='TXM',defaut="TRAN_ROTA", - into=("MASS_GENE","RIGI_GENE","EUCL", - "EUCL_TRAN","TRAN","TRAN_ROTA") ), - INFO =SIMP(statut='f',typ='I',defaut= 1 ,into=(1,2) ), - ), - - FILTRE_MODE =FACT(statut='f', - CRIT_EXTR =SIMP(statut='f',typ='TXM',defaut="MASS_EFFE_UN", - into=("MASS_EFFE_UN","MASS_GENE") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - - IMPRESSION =FACT(statut='d', - TOUT_PARA =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - CUMUL =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - CRIT_EXTR =SIMP(statut='f',typ='TXM',defaut="MASS_EFFE_UN", - into=("MASS_EFFE_UN","MASS_GENE",) ), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -# -MAJ_CATA=PROC(nom="MAJ_CATA",op=20, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Compilation des catalogues d'éléments et couverture des calculs élémentaires", - regles=(UN_PARMI('ELEMENT','TYPE_ELEM', ),), - - ELEMENT =FACT(statut='f',), - - UNITE =SIMP(statut='f',typ='I',defaut=8), - TYPE_ELEM =FACT(statut='f',), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -MECA_STATIQUE=OPER(nom="MECA_STATIQUE",op=46,sd_prod=evol_elas, - fr="Résoudre un problème de mécanique statique linéaire",reentrant='f', - UIinfo={"groupes":("Résolution","Mécanique",)}, - regles=(EXCLUS("INST","LIST_INST"), - AU_MOINS_UN('CHAM_MATER','CARA_ELEM',),), - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater, - fr="le CHAM_MATER est nécessaire, sauf si le modèle ne contient que des éléments discrets (modélisations DIS_XXX)", - ang="CHAM_MATER is compulsory, except if the model contains only discret elements (modelizations DIS_XXX)"), - CARA_ELEM =SIMP(statut='f',typ=cara_elem, - fr="le CARA_ELEM est nécessaire dès que le modèle contient des éléments de structure : coques, poutres, ...", - ang="CARA_ELEM is compulsory as soon as the model contains structural elements : plates, beams, ..."), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE",into=("FIXE",) ), - ), - INST =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - INST_FIN =SIMP(statut='f',typ='R'), - OPTION =SIMP(statut='f',typ='TXM',into=("SIEF_ELGA","SANS"),defaut="SIEF_ELGA",max=1, - fr="Seule option : contraintes aux points de Gauss. Utilisez CALC_CHAMP pour les autres options.", - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MECA_STATIQUE'), -#------------------------------------------------------------------- - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -MODE_ITER_CYCL=OPER(nom="MODE_ITER_CYCL",op= 80,sd_prod=mode_cycl, - fr="Calcul des modes propres d'une structure à répétitivité cyclique à partir" - +" d'une base de modes propres réels", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - BASE_MODALE =SIMP(statut='o',typ=mode_meca ), - NB_MODE =SIMP(statut='f',typ='I',defaut= 999 ), - NB_SECTEUR =SIMP(statut='o',typ='I' ), - LIAISON =FACT(statut='o', - DROITE =SIMP(statut='o',typ='TXM' ), - GAUCHE =SIMP(statut='o',typ='TXM' ), - AXE =SIMP(statut='f',typ='TXM' ), - ), - VERI_CYCL =FACT(statut='f', - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF",) ), - DIST_REFE =SIMP(statut='f',typ='R' ), - ), - CALCUL =FACT(statut='o', - regles=(UN_PARMI('TOUT_DIAM','NB_DIAM'),), - TOUT_DIAM =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NB_DIAM =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - OPTION =SIMP(statut='f',typ='TXM',defaut="PLUS_PETITE" - ,into=("PLUS_PETITE","CENTRE","BANDE") ), - b_centre =BLOC(condition = "OPTION == 'CENTRE'", - FREQ =SIMP(statut='o',typ='R',), - ), - b_bande =BLOC(condition = "OPTION == 'BANDE'", - FREQ =SIMP(statut='o',typ='R',min=2,validators=NoRepeat(),max=2), - ), -# NMAX_FREQ n a-t-il pas un sens qu avec OPTION CENTRE - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10 ), - PREC_SEPARE =SIMP(statut='f',typ='R',defaut= 100. ), - PREC_AJUSTE =SIMP(statut='f',typ='R',defaut= 1.E-6 ), - NMAX_ITER =SIMP(statut='f',typ='I',defaut= 50 ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# - -def mode_iter_inv_prod(TYPE_RESU,**args ): - if (TYPE_RESU not in ["DYNAMIQUE","MODE_FLAMB","GENERAL"]): - # on retourne un type fictif pour que le plantage aie lieu dans la lecture du catalogue - return ASSD - if TYPE_RESU == "MODE_FLAMB" : return mode_flamb - if TYPE_RESU == "GENERAL" : return mode_flamb - # sinon on est dans le cas 'DYNAMIQUE' donc **args doit contenir les mots-clés - # MATR_RIGI et (faculativement) MATR_AMOR, et on peut y accéder - vale_rigi = args['MATR_RIGI'] - if (vale_rigi== None) : # si MATR_RIGI non renseigné - # on retourne un type fictif pour que le plantage aie lieu dans la lecture du catalogue - return ASSD - vale_amor = args['MATR_AMOR'] - if AsType(vale_amor) == matr_asse_depl_r : return mode_meca_c - if AsType(vale_rigi) == matr_asse_depl_r : return mode_meca - if AsType(vale_rigi) == matr_asse_pres_r : return mode_acou - if AsType(vale_rigi) == matr_asse_gene_r : return mode_gene - raise AsException("type de concept resultat non prevu") - -MODE_ITER_INV=OPER(nom="MODE_ITER_INV",op= 44,sd_prod=mode_iter_inv_prod - ,fr="Calcul des modes propres par itérations inverses ; valeurs propres et modes réels ou complexes", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - - TYPE_RESU =SIMP(statut='f',typ='TXM',defaut="DYNAMIQUE", - into=("MODE_FLAMB","DYNAMIQUE","GENERAL"), - fr="Type d analyse" ), - - b_dynam =BLOC(condition = "TYPE_RESU == 'DYNAMIQUE'", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_AMOR =SIMP(statut='f',typ=matr_asse_depl_r ), - CALC_FREQ =FACT(statut='o',fr="Choix des paramètres pour le calcul des valeurs propres", - - OPTION =SIMP(statut='f',typ='TXM',defaut="AJUSTE",into=("SEPARE","AJUSTE","PROCHE"), - fr="Choix de l option pour estimer les valeurs propres" ), - FREQ =SIMP(statut='o',typ='R',max='**', - validators=AndVal((OrdList('croissant'), NoRepeat())),), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 0,val_min=0 ), - NMAX_ITER_SEPARE=SIMP(statut='f',typ='I' ,defaut= 30,val_min=1 ), - PREC_SEPARE =SIMP(statut='f',typ='R',defaut= 1.E-4,val_min=1.E-70 ), - NMAX_ITER_AJUSTE=SIMP(statut='f',typ='I',defaut= 15,val_min=1 ), - PREC_AJUSTE =SIMP(statut='f',typ='R',defaut= 1.E-4,val_min=1.E-70 ), - - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2,val_min=0.E+0, ), - SEUIL_FREQ =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0, ), - ), - ), - b_flamb =BLOC(condition = "TYPE_RESU == 'MODE_FLAMB'", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_RIGI_GEOM =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - ), - - b_general =BLOC(condition = "TYPE_RESU == 'GENERAL'", - MATR_A =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_B =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - ), - - b_flamb_general =BLOC(condition = "(TYPE_RESU == 'MODE_FLAMB') or (TYPE_RESU == 'GENERAL')", - CALC_CHAR_CRIT =FACT(statut='o',fr="Choix des paramètres pour le calcul des valeurs propres", - - OPTION =SIMP(statut='f',typ='TXM',defaut="AJUSTE",into=("SEPARE","AJUSTE","PROCHE"), - fr="Choix de l option pour estimer les valeurs propres" ), - CHAR_CRIT =SIMP(statut='o',typ='R',max='**', - validators=AndVal((OrdList('croissant'), NoRepeat())),), - NMAX_CHAR_CRIT =SIMP(statut='f',typ='I',defaut= 0,val_min=0 ), - NMAX_ITER_SEPARE=SIMP(statut='f',typ='I',defaut= 30,val_min=1 ), - PREC_SEPARE =SIMP(statut='f',typ='R',defaut= 1.E-4,val_min=1.E-70 ), - NMAX_ITER_AJUSTE=SIMP(statut='f',typ='I',defaut= 15,val_min=1 ), - PREC_AJUSTE =SIMP(statut='f',typ='R',defaut= 1.E-4,val_min=1.E-70 ), - - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2,val_min=0.E+0, ), - SEUIL_CHAR_CRIT =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0, ), - ), - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MODE_ITER_INV'), -#------------------------------------------------------------------- - - CALC_MODE =FACT(statut='d',min=0,fr="Choix des paramètres pour le calcul des vecteurs propres", - OPTION =SIMP(statut='f',typ='TXM',defaut="DIRECT",into=("DIRECT","RAYLEIGH") ), - PREC =SIMP(statut='f',typ='R',defaut= 1.E-5,val_min=1.E-70,fr="Précision de convergence" ), - NMAX_ITER =SIMP(statut='f',typ='I',defaut= 30,val_min=1 ), - ), - VERI_MODE =FACT(statut='d',min=0, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - SEUIL =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0, - fr="Valeur limite admise pour l ereur a posteriori des modes" ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - TITRE =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# - -def mode_iter_simult_prod(TYPE_RESU,**args ): - if (TYPE_RESU not in ["DYNAMIQUE","MODE_FLAMB","GENERAL"]): - # on retourne un type fictif pour que le plantage aie lieu dans la lecture du catalogue - return ASSD - if TYPE_RESU == "MODE_FLAMB" : return mode_flamb - if TYPE_RESU == "GENERAL" : return mode_flamb - # sinon on est dans le cas 'DYNAMIQUE' donc **args doit contenir les mots-clés - # MATR_RIGI et (faculativement) MATR_AMOR, et on peut y accéder - vale_rigi = args['MATR_RIGI'] - if (vale_rigi== None) : # si MATR_RIGI non renseigné - # on retourne un type fictif pour que le plantage aie lieu dans la lecture du catalogue - return ASSD - vale_amor = args['MATR_AMOR'] - if (AsType(vale_amor)== matr_asse_depl_r) : return mode_meca_c - if (AsType(vale_rigi)== matr_asse_depl_r) : return mode_meca - if (AsType(vale_rigi)== matr_asse_depl_c) : return mode_meca_c - if (AsType(vale_rigi)== matr_asse_pres_r) : return mode_acou - if (AsType(vale_rigi)== matr_asse_gene_r) : return mode_gene - if (AsType(vale_rigi)== matr_asse_gene_c) : return mode_gene - - raise AsException("type de concept resultat non prevu") - - - -MODE_ITER_SIMULT=OPER(nom="MODE_ITER_SIMULT",op= 45, sd_prod= mode_iter_simult_prod, - fr="Calcul des modes propres par itérations simultanées ; valeurs propres et" - +" modes propres réels ou complexes", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - METHODE =SIMP(statut='f',typ='TXM',defaut="SORENSEN", - into=("TRI_DIAG","JACOBI","SORENSEN","QZ") ), - b_tri_diag =BLOC(condition = "METHODE == 'TRI_DIAG'", - PREC_ORTHO =SIMP(statut='f',typ='R',defaut= 1.E-12,val_min=0.E+0 ), - NMAX_ITER_ORTHO =SIMP(statut='f',typ='I',defaut= 5,val_min=0 ), - PREC_LANCZOS =SIMP(statut='f',typ='R',defaut= 1.E-8,val_min=0.E+0 ), - NMAX_ITER_QR =SIMP(statut='f',typ='I',defaut= 30,val_min=0 ), - ), - b_jacobi =BLOC(condition = "METHODE == 'JACOBI'", - PREC_BATHE =SIMP(statut='f',typ='R',defaut= 1.E-10,val_min=0.E+0 ), - NMAX_ITER_BATHE =SIMP(statut='f',typ='I',defaut= 40,val_min=0 ), - PREC_JACOBI =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0 ), - NMAX_ITER_JACOBI=SIMP(statut='f',typ='I',defaut= 12,val_min=0 ), - ), - b_sorensen =BLOC(condition = "METHODE == 'SORENSEN'", - PREC_SOREN =SIMP(statut='f',typ='R',defaut= 0.E+0,val_min=0.E+0 ), - NMAX_ITER_SOREN =SIMP(statut='f',typ='I',defaut= 20,val_min=0 ), - PARA_ORTHO_SOREN=SIMP(statut='f',typ='R',defaut= 0.717), - ), - b_qz =BLOC(condition = "METHODE == 'QZ'", - TYPE_QZ =SIMP(statut='f',typ='TXM',defaut="QZ_SIMPLE",into=("QZ_QR","QZ_SIMPLE","QZ_EQUI") ), - ), - TYPE_RESU =SIMP(statut='f',typ='TXM',defaut="DYNAMIQUE", - into=("DYNAMIQUE","MODE_FLAMB","GENERAL"), - fr="Type d analyse" ), - OPTION =SIMP(statut='f',typ='TXM',defaut="SANS",into=("MODE_RIGIDE","SANS"), - fr="Calcul des modes de corps rigide, uniquement pour la méthode TRI_DIAG" ), - - - b_dynam =BLOC(condition = "TYPE_RESU == 'DYNAMIQUE'", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c, - matr_asse_gene_r,matr_asse_gene_c,matr_asse_pres_r ) ), - MATR_MASS =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_AMOR =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_gene_r) ), - CALC_FREQ =FACT(statut='d',min=0, - OPTION =SIMP(statut='f',typ='TXM',defaut="PLUS_PETITE",into=("PLUS_PETITE","PLUS_GRANDE","BANDE","CENTRE","TOUT"), - fr="Choix de l option et par conséquent du shift du problème modal" ), - b_plus_petite =BLOC(condition = "OPTION == 'PLUS_PETITE'",fr="Recherche des plus petites fréquences propres", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut=10,val_min=0 ), - ), - b_plus_grande =BLOC(condition = "OPTION == 'PLUS_GRANDE'",fr="Recherche des plus grandes fréquences propres", - NMAX_FREQ =SIMP(statut='f',typ='I',defaut=1,val_min=0 ), - ), - b_centre =BLOC(condition = "OPTION == 'CENTRE'", - fr="Recherche des fréquences propres les plus proches d'une valeur donnée", - FREQ =SIMP(statut='o',typ='R', - fr="Fréquence autour de laquelle on cherche les fréquences propres"), - AMOR_REDUIT =SIMP(statut='f',typ='R',), - NMAX_FREQ =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_bande =BLOC(condition = "(OPTION == 'BANDE')", - fr="Recherche des fréquences propres dans une bande donnée", - FREQ =SIMP(statut='o',typ='R',min=2,max=2, - validators=AndVal((OrdList('croissant'), NoRepeat())), - fr="Valeur des deux fréquences délimitant la bande de recherche"), - TABLE_FREQ =SIMP(statut= 'f',typ=table_sdaster), - ), - APPROCHE =SIMP(statut='f',typ='TXM',defaut="REEL",into=("REEL","IMAG","COMPLEXE"), - fr="Choix du pseudo-produit scalaire pour la résolution du problème quadratique" ), - regles=(EXCLUS('DIM_SOUS_ESPACE','COEF_DIM_ESPACE'),), - DIM_SOUS_ESPACE =SIMP(statut='f',typ='I' ), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I' ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2,val_min=0.E+0 ), - SEUIL_FREQ =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0 ), - ), - ), - - - b_general =BLOC(condition = "TYPE_RESU == 'GENERAL'", - MATR_A =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_B =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - ), - - - b_flamb =BLOC(condition = "TYPE_RESU == 'MODE_FLAMB'", - MATR_RIGI =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - MATR_RIGI_GEOM =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ) ), - ), - - - b_flamb_general =BLOC(condition = "(TYPE_RESU == 'MODE_FLAMB') or (TYPE_RESU == 'GENERAL')", - CALC_CHAR_CRIT =FACT(statut='d',min=0, - OPTION =SIMP(statut='f',typ='TXM',defaut="PLUS_PETITE",into=("PLUS_PETITE","BANDE","CENTRE","TOUT"), - fr="Choix de l option et par conséquent du shift du problème modal" ), - b_plus_petite =BLOC(condition = "OPTION == 'PLUS_PETITE'",fr="Recherche des plus petites valeurs propres", - NMAX_CHAR_CRIT =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_centre =BLOC(condition = "OPTION == 'CENTRE'", - fr="Recherche des valeurs propres les plus proches d une valeur donnée", - CHAR_CRIT =SIMP(statut='o',typ='R', - fr="Charge critique autour de laquelle on cherche les charges critiques propres"), - NMAX_CHAR_CRIT =SIMP(statut='f',typ='I',defaut= 10,val_min=0 ), - ), - b_bande =BLOC(condition = "(OPTION == 'BANDE')", - fr="Recherche des valeurs propres dans une bande donnée", - CHAR_CRIT =SIMP(statut='o',typ='R',min=2,max=2, - validators=AndVal((OrdList('croissant'), NoRepeat())), - fr="Valeur des deux charges critiques délimitant la bande de recherche"), - TABLE_CHAR_CRIT =SIMP(statut= 'f',typ=table_sdaster), - - ), - APPROCHE =SIMP(statut='f',typ='TXM',defaut="REEL",into=("REEL","IMAG"), - fr="Choix du pseudo-produit scalaire pour la résolution du problème quadratique" ), - regles=(EXCLUS('DIM_SOUS_ESPACE','COEF_DIM_ESPACE'),), - DIM_SOUS_ESPACE =SIMP(statut='f',typ='I' ), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I' ), - NMAX_ITER_SHIFT =SIMP(statut='f',typ='I',defaut= 3,val_min=0 ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-2,val_min=0.E+0 ), - SEUIL_CHAR_CRIT =SIMP(statut='f',typ='R',defaut= 1.E-2,val_min=0.E+0 ), - ), - ), - - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MODE_ITER_SIMULT'), -#------------------------------------------------------------------- -#------------------------------------------------------------------- -# Mot-cles caches pour activer le parallelisme au sein d'une macro-commande - PARALLELISME_MACRO=FACT(statut='d',min=0, - TYPE_COM =SIMP(statut='c',typ='I',defaut=-999,into=(-999,1),fr="Type de communication"), - IPARA1_COM =SIMP(statut='c',typ='I',defaut=-999,fr="Parametre entier n 1 de la communication"), - IPARA2_COM =SIMP(statut='c',typ='I',defaut=-999,fr="Parametre entier n 2 de la communication"), - ), -#------------------------------------------------------------------- - VERI_MODE =FACT(statut='d',min=0, - STOP_ERREUR =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - PREC_SHIFT =SIMP(statut='f',typ='R',defaut= 5.E-3,val_min=0.E+0 ), - SEUIL =SIMP(statut='f',typ='R',defaut= 1.E-6,val_min=0.E+0, - fr="Valeur limite admise pour l ereur a posteriori des modes" ), - STURM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), - STOP_BANDE_VIDE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -MODE_NON_LINE=OPER(nom="MODE_NON_LINE",op= 61,sd_prod=table_container, - fr="Calcul des modes non-linéaires", - reentrant='f', - UIinfo={"groupes":("Résolution","Dynamique",)}, - - reuse =SIMP(statut='f',typ='table_container'), - - ETAT_INIT =FACT(statut='o',max=1, - regles=( UN_PARMI('MODE_LINE','MODE_NON_LINE'),), - MODE_LINE = SIMP(statut='f',typ=mode_meca,max = 1), - MODE_NON_LINE = SIMP(statut='f',typ=table_container,max = 1), - NUME_ORDRE = SIMP(statut='o',typ='I' ), - DIR_EVOLUTION = SIMP(statut='f',typ='I',defaut=-1, into=(-1,1)), - COEF_AMPL = SIMP(statut='f',typ='R',defaut=1,), - ), - - CHOC = FACT(statut='f',max='**', - regles=( UN_PARMI('NOEUD','GROUP_NO'),), - OBSTACLE = SIMP(statut='f',typ='TXM', into=("PLAN","BI_PLAN","CERCLE",)), - b_cercle = BLOC(condition="OBSTACLE=='CERCLE'", - NOM_CMP = SIMP(statut='o',typ='TXM',min=2,max=2,validators=NoRepeat(), - into=('DX','DY','DZ'),), - ORIG_OBST = SIMP(statut='f',typ='R',defaut=(0.,0.,0.),min=3,max=3), - ), - b_bi_plan = BLOC(condition="OBSTACLE=='BI_PLAN'", - NOM_CMP = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DY','DZ'),), - ), - b_plan = BLOC(condition="OBSTACLE=='PLAN'", - NOM_CMP = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DY','DZ'),), - ), - NOEUD = SIMP(statut='f', typ=no, max=1), - GROUP_NO = SIMP(statut='f', typ=grno, max=1), - JEU = SIMP(statut='o',typ='R',max=1 ), - RIGI_NOR = SIMP(statut='o',typ='R',max=1 ), - PARA_REGUL = SIMP(statut='f',typ='R',defaut=0.005 ), - ), - - MATR_RIGI = SIMP(statut='o',typ=(matr_asse_depl_r,) ), - MATR_MASS = SIMP(statut='o',typ=(matr_asse_depl_r,) ), - - RESOLUTION = FACT(statut='o',max=1, - METHODE = SIMP(statut='f',typ='TXM',defaut="EHMAN",into=("EHMAN",)), - b_ehman = BLOC(condition="METHODE=='EHMAN'", - NB_HARM_LINE = SIMP(statut='o',typ='I',val_min=1,), - NB_HARM_NONL = SIMP(statut='f',typ='I',defaut=201,val_min=1,), - NB_BRANCHE = SIMP(statut='o',typ='I',val_min=0), - NB_PAS_MAN = SIMP(statut='o',typ='I',val_min=1), - NB_ORDRE_MAN = SIMP(statut='f',typ='I',defaut=20,val_min=2), - PREC_MAN = SIMP(statut='f',typ='R',defaut=1.E-9,val_min=0.E+0), - PREC_NEWTON = SIMP(statut='f',typ='R',defaut=1.E-8,val_min=0.E+0), - ITER_NEWTON_MAXI = SIMP(statut='f',typ='I',defaut=15,val_min=1), - CRIT_ORDR_BIFURCATION = SIMP(statut='f',typ='I',defaut=3,val_min=1), - RESI_RELA_BIFURCATION = SIMP(statut='f',typ='R',defaut=1.E-4,val_min=0.E+0), - ), - ), - - SOLVEUR = C_SOLVEUR('MODE_NON_LINE'), - - INFO = SIMP(statut='f',typ='I',defaut=1), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: georges-cc.devesa at edf.fr - -MODE_STATIQUE=OPER(nom="MODE_STATIQUE",op= 93,sd_prod=mode_meca, - fr="Calcul de déformées statiques pour un déplacement, une force ou une accélération unitaire imposé", - reentrant='n', - UIinfo={"groupes":("Résolution","Dynamique",)}, - - regles=(UN_PARMI('MODE_STAT','FORCE_NODALE','PSEUDO_MODE','MODE_INTERF'), - PRESENT_PRESENT('MODE_INTERF','MATR_MASS'), - PRESENT_PRESENT('PSEUDO_MODE','MATR_MASS'), - ), - - - MATR_RIGI =SIMP(statut='o',typ=matr_asse_depl_r ), - MATR_MASS =SIMP(statut='f',typ=matr_asse_depl_r ), - - - - MODE_STAT =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','NOEUD','GROUP_NO'), - UN_PARMI('TOUT_CMP','AVEC_CMP','SANS_CMP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ,), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,max='**'), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",) ,), - AVEC_CMP =SIMP(statut='f',typ='TXM',max='**'), - SANS_CMP =SIMP(statut='f',typ='TXM',max='**'), - ), - FORCE_NODALE =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','NOEUD','GROUP_NO'), - UN_PARMI('TOUT_CMP','AVEC_CMP','SANS_CMP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",), ), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,max='**'), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",), ), - AVEC_CMP =SIMP(statut='f',typ='TXM',max='**'), - SANS_CMP =SIMP(statut='f',typ='TXM',max='**'), - ), - PSEUDO_MODE =FACT(statut='f',max='**', - regles=(UN_PARMI('AXE','DIRECTION','TOUT','NOEUD','GROUP_NO' ),), - AXE =SIMP(statut='f',typ='TXM',into=("X","Y","Z"),max=3), - DIRECTION =SIMP(statut='f',typ='R',min=3,max=3), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",)), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,max='**'), - b_dir =BLOC(condition = "DIRECTION != None", - NOM_DIR =SIMP(statut='f',typ='TXM' ),), - b_cmp =BLOC(condition="TOUT!= None or NOEUD!=None or GROUP_NO!=None", - regles=(UN_PARMI('TOUT_CMP','AVEC_CMP','SANS_CMP'),), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",) ), - AVEC_CMP =SIMP(statut='f',typ='TXM',max='**'), - SANS_CMP =SIMP(statut='f',typ='TXM',max='**'), - ), - ), - MODE_INTERF =FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','NOEUD','GROUP_NO'), - UN_PARMI('TOUT_CMP','AVEC_CMP','SANS_CMP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",), ), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,max='**'), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",) ), - AVEC_CMP =SIMP(statut='f',typ='TXM',max='**'), - SANS_CMP =SIMP(statut='f',typ='TXM',max='**'), - NBMOD =SIMP(statut='o',typ='I',defaut= 1), - SHIFT =SIMP(statut='o',typ='R',defaut= 1.0), - - ), - -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('MODE_STATIQUE'), -#------------------------------------------------------------------- - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ,) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -MODI_BASE_MODALE=OPER(nom="MODI_BASE_MODALE",op= 149,sd_prod=mode_meca, - reentrant='f', - fr="Définir la base modale d'une structure sous écoulement", - UIinfo={"groupes":("Matrices et vecteurs",)}, -# la commande modi_base _modale : reentrant = f ou o - regles=(EXCLUS('AMOR_UNIF','AMOR_REDUIT', ),), - BASE =SIMP(statut='o',typ=mode_meca ), - BASE_ELAS_FLUI =SIMP(statut='o',typ=melasflu_sdaster ), - NUME_VITE_FLUI =SIMP(statut='o',typ='I' ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - AMOR_REDUIT =SIMP(statut='f',typ='R',max='**'), - AMOR_UNIF =SIMP(statut='f',typ='R' ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -# -# RECUPERATION DES EFFORTS VIA YACS POUR COUPLAGE IFS -# -MODI_CHAR_YACS=OPER(nom = "MODI_CHAR_YACS", - op = 112, - sd_prod = char_meca, - reentrant = 'o', - UIinfo = {"groupes":("Résultats et champs",)}, - fr = "Reception des forces nodales via YACS lors du couplage de Code_Aster et Saturne", - CHAR_MECA = SIMP(statut ='o', typ = char_meca), - MATR_PROJECTION = SIMP(statut ='o', typ = corresp_2_mailla,), - NOM_CMP_IFS = SIMP(statut ='o', typ = 'TXM',validators = NoRepeat(), max = '**'), - VIS_A_VIS = FACT(statut ='o', max = '**', - GROUP_MA_1 = SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO_2 = SIMP(statut='o',typ=grno,validators=NoRepeat(),max='**'),), - INST = SIMP(statut='o',typ='R', ), - PAS = SIMP(statut='o',typ='R', ), - NUME_ORDRE_YACS = SIMP(statut='o', typ='I',), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -MODI_MAILLAGE=OPER(nom="MODI_MAILLAGE",op= 154,sd_prod=maillage_sdaster, - fr="Effectuer des modifications sur un maillage existant: réorienter des mailles servant," - +" à l'application d'une pression, à la modélisation du contact,...", - reentrant='o', - UIinfo={"groupes":("Maillage",)}, - regles=(AU_MOINS_UN('ORIE_FISSURE','DEFORME','EQUE_PIQUA','ORIE_PEAU_2D', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','PLAQ_TUBE','MODI_MAILLE', - 'TRANSLATION','ROTATION','MODI_BASE','ECHELLE','ORIE_SHB','SYMETRIE', - 'ORIE_LIGNE',), - PRESENT_ABSENT('ORIE_FISSURE','DEFORME','EQUE_PIQUA','ORIE_PEAU_2D', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','PLAQ_TUBE','MODI_MAILLE', - 'ORIE_LIGNE'), - PRESENT_ABSENT('DEFORME','ORIE_FISSURE','EQUE_PIQUA','ORIE_PEAU_2D', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','PLAQ_TUBE','MODI_MAILLE', - 'ORIE_LIGNE'), - PRESENT_ABSENT('EQUE_PIQUA','ORIE_FISSURE','DEFORME','ORIE_PEAU_2D', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','PLAQ_TUBE','MODI_MAILLE', - 'ORIE_LIGNE'), - PRESENT_ABSENT('ORIE_PEAU_2D','ORIE_FISSURE','DEFORME','EQUE_PIQUA', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','PLAQ_TUBE','MODI_MAILLE', - 'ORIE_LIGNE'), - PRESENT_ABSENT('ORIE_PEAU_3D','ORIE_FISSURE','DEFORME','EQUE_PIQUA','ORIE_PEAU_2D', - 'PLAQ_TUBE','MODI_MAILLE',), - PRESENT_ABSENT('ORIE_NORM_COQUE','ORIE_FISSURE','DEFORME','EQUE_PIQUA','ORIE_PEAU_2D', - 'PLAQ_TUBE','MODI_MAILLE','ORIE_LIGNE'), - PRESENT_ABSENT('PLAQ_TUBE','ORIE_FISSURE','DEFORME','EQUE_PIQUA','ORIE_PEAU_2D', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','MODI_MAILLE','ORIE_LIGNE'), - PRESENT_ABSENT('MODI_MAILLE','ORIE_FISSURE','DEFORME','EQUE_PIQUA','ORIE_PEAU_2D', - 'ORIE_PEAU_3D','ORIE_NORM_COQUE','PLAQ_TUBE','ORIE_LIGNE'), - EXCLUS('EQUE_PIQUA','PLAQ_TUBE'), - EXCLUS('EQUE_PIQUA','TUBE_COUDE'), - EXCLUS('ROTATION','MODI_BASE'), - EXCLUS('SYMETRIE','ROTATION'), - EXCLUS('SYMETRIE','TRANSLATION'), - EXCLUS('SYMETRIE','MODI_BASE'), - EXCLUS('SYMETRIE','ECHELLE'), - ), - MAILLAGE =SIMP(statut='o',typ=maillage_sdaster ), - - ORIE_FISSURE =FACT(statut='f', - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - ), - - DEFORME =FACT(statut='f', - OPTION =SIMP(statut='o',typ='TXM',into=("TRAN","TRAN_APPUI") ), - DEPL =SIMP(statut='o',typ=cham_no_sdaster ), - b_deform =BLOC(condition = "OPTION=='TRAN_APPUI'", - GROUP_NO_APPUI = SIMP(statut='o',typ=grno,validators=NoRepeat(),max='**' ), - GROUP_NO_STRU = SIMP(statut='o',typ=grno,validators=NoRepeat(),max='**' ),), - ), - - EQUE_PIQUA =FACT(statut='f', - GROUP_NO =SIMP(statut='o',typ=grno), - E_BASE =SIMP(statut='o',typ='R' ), - DEXT_BASE =SIMP(statut='o',typ='R' ), - L_BASE =SIMP(statut='o',typ='R' ), - L_CHANF =SIMP(statut='o',typ='R' ), - TYPE =SIMP(statut='o',typ='TXM',into=("TYPE_1","TYPE_2")), - H_SOUD =SIMP(statut='o',typ='R' ), - ANGL_SOUD =SIMP(statut='o',typ='R' ), - JEU_SOUD =SIMP(statut='o',typ='R' ), - E_CORP =SIMP(statut='o',typ='R' ), - DEXT_CORP =SIMP(statut='o',typ='R' ), - AZIMUT =SIMP(statut='o',typ='R' ), - RAFF_MAIL =SIMP(statut='o',typ='TXM' ), - X_MAX =SIMP(statut='o',typ='R' ), - ), - ORIE_PEAU_2D =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA_SURF =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - ORIE_PEAU_3D =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA_VOLU =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - ORIE_SHB =FACT(statut='f',max=1, - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - ), - ORIE_NORM_COQUE =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - VECT_NORM =SIMP(statut='f',typ='R',max=3), - b_vect_norm =BLOC(condition = "VECT_NORM != None", - regles=UN_PARMI('NOEUD','GROUP_NO'), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - ), - ), - ORIE_LIGNE =FACT(statut='f',max='**', - GROUP_MA =SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - VECT_TANG =SIMP(statut='f',typ='R',max=3), - b_vect_tang =BLOC(condition = "VECT_TANG != None", - regles=UN_PARMI('NOEUD','GROUP_NO'), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - ), - ), - PLAQ_TUBE =FACT(statut='f', - DEXT =SIMP(statut='o',typ='R' ), - EPAIS =SIMP(statut='o',typ='R' ), - L_TUBE_P1 =SIMP(statut='o',typ='R' ), - AZIMUT =SIMP(statut='f',typ='R',defaut= 90. ), - COUTURE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON",) ), - ), - TUBE_COUDE =FACT(statut='f', - ANGLE =SIMP(statut='o',typ='R' ), - R_CINTR =SIMP(statut='o',typ='R' ), - L_TUBE_P1 =SIMP(statut='o',typ='R' ), - ), - MODI_MAILLE =FACT(statut='f',max=1, - regles=(AU_MOINS_UN('GROUP_MA_FOND','MAILLE_FOND','GROUP_NO_FOND','NOEUD_FOND'),), - OPTION =SIMP(statut='o',typ='TXM',into=("NOEUD_QUART",) ), - GROUP_MA_FOND =SIMP(statut='f',typ=grma,validators=NoRepeat(),max=1), - MAILLE_FOND =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max=1), - GROUP_NO_FOND =SIMP(statut='f',typ=grno,validators=NoRepeat(),max=1), - NOEUD_FOND =SIMP(statut='f',typ=no ,validators=NoRepeat(),max=1), - ), - MODI_BASE =FACT(statut='f', - VECT_X =SIMP(statut='o',typ='R',min=2,max=3), - VECT_Y =SIMP(statut='f',typ='R',min=2,max=3), - ), - ECHELLE =SIMP(statut='f',typ='R',), - TRANSLATION =SIMP(statut='f',typ='R',min=2,max=3), - ROTATION =FACT(statut='f',max='**', - POIN_1 =SIMP(statut='o',typ='R',min=2,max=3), - ANGLE =SIMP(statut='o',typ='R',defaut= 0.E+0 ), - regles=(EXCLUS('DIR','POIN_2'),), - POIN_2 =SIMP(statut='f',typ='R',min=2,max=3), - DIR =SIMP(statut='f',typ='R',min=2,max=3), - ), - SYMETRIE =FACT(statut='f',max='**', - fr = "Symétrie du maillage par rapport à un plan en 3D ou à une droite en 2D.", - POINT =SIMP(statut='o',typ='R',min=2,max=3, - fr="Point appartenant à la droite ou au plan."), - AXE_1 =SIMP(statut='o',typ='R',min=2,max=3, - fr="Vecteur directeur de la droite ou 1er vecteur appartenant au plan."), - AXE_2 =SIMP(statut='f',typ='R',min=3,max=3, - fr="2nd vecteur appartenant du plan."), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2009 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -MODI_MODELE=OPER(nom="MODI_MODELE",op= 103,sd_prod=modele_sdaster,reentrant='o', - UIinfo={"groupes":("Modélisation",)}, - fr="Modifier la partition d'un modèle (parallélisme) ", - - MODELE =SIMP(statut='o',typ=modele_sdaster,min=1,max=1,), - - PARTITION =FACT(statut='d', - PARALLELISME =SIMP(statut='f',typ='TXM',defaut="GROUP_ELEM", - into=("MAIL_CONTIGU","MAIL_DISPERSE","SOUS_DOMAINE","CENTRALISE","GROUP_ELEM")), - b_dist_maille =BLOC(condition = "PARALLELISME in ('MAIL_DISPERSE','MAIL_CONTIGU')", - CHARGE_PROC0_MA =SIMP(statut='f',typ='I',defaut=100,val_min=0), - ), - b_dist_sd =BLOC(condition = "PARALLELISME == 'SOUS_DOMAINE'", - PARTITION =SIMP(statut='o',typ=sd_partit), - CHARGE_PROC0_SD =SIMP(statut='f',typ='I',defaut=0,val_min=0), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -MODI_MODELE_XFEM=OPER(nom="MODI_MODELE_XFEM",op= 113,sd_prod=modele_sdaster,docu="U4.44.12-e",reentrant='f', - UIinfo={"groupes":("Modélisation","Rupture",)}, - fr="Engendrer ou enrichir une structure de donnees en affectant les cham_gd associes", - - MODELE_IN =SIMP(statut='o',typ=modele_sdaster,min=1,max=1,), - FISSURE =SIMP(statut='o',typ=fiss_xfem,min=1,max='**',), - CRITERE =SIMP(statut='f',typ='R',defaut=1.1E-9), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2,)), - CONTACT - =SIMP(statut='f',typ='TXM',defaut='NON',into=("OUI","NON"),min=1,max=1,), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr -def modi_repere_prod(RESULTAT,**args): - if AsType(RESULTAT) != None : return AsType(RESULTAT) - -MODI_REPERE=OPER(nom="MODI_REPERE",op=191,sd_prod=modi_repere_prod,reentrant='f', - UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - fr="Calcule des résultats dans le repère cylindrique", - RESULTAT =SIMP(statut='o',typ=resultat_sdaster), - - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_INST','LIST_FREQ','NOM_CAS'),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM' ), - - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - - MODI_CHAM =FACT(statut='o',max='**', - TYPE_CHAM =SIMP(statut='o',typ='TXM', - into=("VECT_2D","VECT_3D","TENS_2D","TENS_3D","COQUE_GENE"),), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - b_vect_2d =BLOC(condition = "TYPE_CHAM=='VECT_2D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=2,max=2 ),), - b_vect_3d =BLOC(condition = "TYPE_CHAM=='VECT_3D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=3,max=3 ),), - b_tens_2d =BLOC(condition = "TYPE_CHAM=='TENS_2D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=4,max=4 ),), - b_tens_3d =BLOC(condition = "TYPE_CHAM=='TENS_3D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=6,max=6 ),), - b_coque_gene =BLOC(condition = "TYPE_CHAM=='COQUE_GENE'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=8,max=8 ),), - ), - b_reuse =BLOC(condition = "reuse",fr="en mode concept reentrant : COQUE_INTR_UTIL ou COQUE_UTIL_INTR autorise", - REPERE =SIMP(statut='o',typ='TXM',position='global', - into=("COQUE_INTR_UTIL","COQUE_UTIL_INTR"),), - AFFE =FACT(statut='o',max='**', - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ), - ), - - b_not_reuse =BLOC(condition = "not reuse",fr="en mode concept non reentrant ", - REPERE =SIMP(statut='f',typ='TXM',defaut="UTILISATEUR",position='global', - into=("UTILISATEUR","CYLINDRIQUE","COQUE", - "COQUE_INTR_UTIL","COQUE_UTIL_INTR"),), - - AFFE =FACT(statut='o',max='**', - b_cyl =BLOC(condition = "REPERE == 'CYLINDRIQUE'", - ORIGINE =SIMP(statut='f',typ='R',min=2,max=3), - AXE_Z =SIMP(statut='f',typ='R',min=3,max=3),), - b_uti =BLOC(condition = "REPERE == 'UTILISATEUR'", - regles=(UN_PARMI('ANGL_NAUT','VECT_X'), - ENSEMBLE('VECT_X','VECT_Y')), - ANGL_NAUT =SIMP(statut='f',typ='R',max=3), - VECT_X =SIMP(statut='f',typ='R',min=3,max=3 ), - VECT_Y =SIMP(statut='f',typ='R',min=3,max=3 ),), - b_coq =BLOC(condition = "REPERE == 'COQUE'", - regles=(UN_PARMI('ANGL_REP','VECTEUR'),), - ANGL_REP =SIMP(statut='f',typ='R',min=2,max=2), - VECTEUR =SIMP(statut='f',typ='R',min=3,max=3),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.brie at edf.fr - -def norm_mode_prod(MODE,**args ): - if AsType(MODE) == mode_meca : return mode_meca - if AsType(MODE) == mode_meca_c : return mode_meca_c - if AsType(MODE) == mode_flamb : return mode_flamb - raise AsException("type de concept resultat non prevu") - -NORM_MODE=OPER(nom="NORM_MODE",op= 37,sd_prod=norm_mode_prod, - fr="Normer des modes propres en fonction d'un critère choisi par l'utilisateur", - reentrant='f', - UIinfo={"groupes":("Résolution","Dynamique",)}, - regles=(UN_PARMI('NORME','GROUP_NO','NOEUD','AVEC_CMP','SANS_CMP'),), - MODE =SIMP(statut='o',typ=(mode_meca,mode_flamb) ), - NORME =SIMP(statut='f',typ='TXM',fr="Norme prédéfinie : masse généralisée, euclidienne,...", - into=("MASS_GENE","RIGI_GENE","EUCL","EUCL_TRAN","TRAN","TRAN_ROTA") ), - NOEUD =SIMP(statut='f',typ=no, fr="Composante donnée d'un noeud spécifié égale à 1"), - GROUP_NO =SIMP(statut='f',typ=grno,fr="Composante donnée d'un groupe contenant un seul noeud spécifié égale à 1"), - b_noeud =BLOC(condition = "NOEUD != None or GROUP_NO != None", - NOM_CMP =SIMP(statut='o',typ='TXM' ), - ), - AVEC_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - SANS_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - MODE_SIGNE =FACT(statut='f',fr="Imposer un signe sur une des composantes des modes", - regles=(UN_PARMI('GROUP_NO','NOEUD'),), - NOEUD =SIMP(statut='f',typ=no,fr="Noeud où sera imposé le signe"), - GROUP_NO =SIMP(statut='f',typ=grno,fr="Groupe d'un seul noeud où sera imposé le signe"), - NOM_CMP =SIMP(statut='o',typ='TXM',fr="Composante du noeud où sera imposé le signe" ), - SIGNE =SIMP(statut='f',typ='TXM',defaut="POSITIF",into=("NEGATIF","POSITIF"), - fr="Choix du signe" ), - ), - - MASSE = SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_gene_r,matr_asse_pres_r ), ), - RAIDE = SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_gene_r,matr_asse_pres_r ), ), - AMOR = SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_gene_r) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -NUME_DDL=OPER(nom="NUME_DDL",op=11,sd_prod=nume_ddl_sdaster,reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - fr="Etablissement de la numérotation des ddl avec ou sans renumérotation et du stockage de la matrice", - regles=(UN_PARMI('MATR_RIGI','MODELE'),), - MATR_RIGI =SIMP(statut='f',validators=NoRepeat(),max=100, - typ=(matr_elem_depl_r ,matr_elem_depl_c,matr_elem_temp_r ,matr_elem_pres_c) ), - MODELE =SIMP(statut='f',typ=modele_sdaster ), - b_modele =BLOC(condition = "MODELE != None", - CHARGE =SIMP(statut='f',validators=NoRepeat(),max='**',typ=(char_meca,char_ther,char_acou, ),), - ), - METHODE =SIMP(statut='f',typ='TXM',defaut="MULT_FRONT",into=("MULT_FRONT","LDLT","GCPC","PETSC","MUMPS") ), - b_mult_front =BLOC(condition="METHODE=='MULT_FRONT'",fr="paramètres associés à la méthode multifrontale", - RENUM =SIMP(statut='f',typ='TXM',into=("MD","MDA","METIS"),defaut="METIS" ), - ), - b_ldlt =BLOC(condition="METHODE=='LDLT'",fr="paramètres associés à la méthode LDLT", - RENUM =SIMP(statut='f',typ='TXM',into=("RCMK","SANS"),defaut="RCMK" ), - ), - b_mumps =BLOC(condition = "METHODE == 'MUMPS' ",fr="Paramètres de la méthode MUMPS", - RENUM =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("AMD","AMF","PORD","METIS","QAMD","SCOTCH","AUTO")), - ), - b_gcpc =BLOC(condition="METHODE=='GCPC' or METHODE=='PETSC'",fr="paramètres associés à la GCPC ou PETSc", - RENUM =SIMP(statut='f',typ='TXM',into=("RCMK","SANS"),defaut="RCMK" ), - ), - INFO =SIMP(statut='f',typ='I',into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.corus at edf.fr -NUME_DDL_GENE=OPER(nom="NUME_DDL_GENE",op= 127,sd_prod=nume_ddl_gene, - fr="Etablissement de la numérotation des ddl d'un modèle etabli en coordonnées généralisees", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=UN_PARMI('MODELE_GENE','BASE'), - MODELE_GENE =SIMP(statut='f',typ=modele_gene ), - b_modele_gene =BLOC(condition = "MODELE_GENE != None", - STOCKAGE =SIMP(statut='f',typ='TXM',defaut="LIGN_CIEL",into=("LIGN_CIEL","PLEIN") ), - METHODE =SIMP(statut='f',typ='TXM',defaut="CLASSIQUE",into=("INITIAL","CLASSIQUE","ELIMINE") ), - ), - BASE =SIMP(statut='f',typ=(mode_meca,mode_gene ) ), - b_base =BLOC(condition = "BASE != None", - STOCKAGE =SIMP(statut='f',typ='TXM',defaut="PLEIN",into=("DIAG","PLEIN") ), - NB_VECT =SIMP(statut='f',typ='I',defaut= 9999 ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr - -def observation_prod(self, RESULTAT, **args): - if AsType(RESULTAT) == mode_meca : - return mode_meca - elif AsType(RESULTAT) == evol_elas : - return evol_elas - elif AsType(RESULTAT) == dyna_harmo : - return dyna_harmo - elif AsType(RESULTAT) == dyna_trans : - return dyna_trans - else : - return None - -OBSERVATION=MACRO(nom="OBSERVATION", - op=OPS('Macro.observation_ops.observation_ops'), - UIinfo={"groupes":("Matrices et vecteurs",)}, - sd_prod=observation_prod, - fr="Calcul de l'observabilite d'un champ aux noeuds ", -# - MODELE_1 =SIMP(statut='o',typ=modele_sdaster), - MODELE_2 =SIMP(statut='o',typ=modele_sdaster), - RESULTAT =SIMP(statut='o',typ=(mode_meca,evol_elas,dyna_harmo,dyna_trans,) ), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO(),), - -# ------------------------------------------------------------------ - - regles=(UN_PARMI('TOUT_ORDRE','NUME_ORDRE','FREQ','LIST_FREQ','NUME_MODE','INST','LIST_INST' ),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - -# ------------------------------------------------------------------ -# OPTIONS DE PROJ_CHAMP (SANS MC FACTEUR PARTICULIER) -# ------------------------------------------------------------------ - PROJECTION =SIMP(statut='f',max=1,typ='TXM',into=("OUI","NON"),defaut="OUI"), - CAS_FIGURE =SIMP(statut='f',typ='TXM',into=("2D","3D","2.5D","1.5D",) ), - DISTANCE_MAX =SIMP(statut='f',typ='R', - fr="Distance maximale entre le noeud et l'élément le plus proche, lorsque le noeud n'est dans aucun élément."), - ALARME =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - - TYPE_CHAM =SIMP(statut='f',typ='TXM',into=("NOEU",), - fr="Pour forcer le type des champs projetés. NOEU -> cham_no"), - -# PROL_ZERO =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON", -# fr="Si le résultat est un mode_xxx ou une base_xxx, on peut prolonger" -# +" les champs par zéro la ou la projection ne donne pas de valeurs."), - - MATR_RIGI =SIMP(statut='f',typ=(matr_asse_depl_r) ), - MATR_MASS =SIMP(statut='f',typ=(matr_asse_depl_r) ), - VIS_A_VIS =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT_1','GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - AU_MOINS_UN('TOUT_2','GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'),), - TOUT_1 =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT_2 =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - CAS_FIGURE =SIMP(statut='f',typ='TXM',into=("2D","3D","2.5D","1.5D",) ), - ), - -# ------------------------------------------------------------------ -# MODI_REPERE -# ------------------------------------------------------------------ - MODI_REPERE =FACT(statut='f',max='**', - regles=(UN_PARMI('REPERE'), - AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), -# - TYPE_CHAM =SIMP(statut='f',typ='TXM', - into=("VECT_2D","VECT_3D","TENS_2D","TENS_3D"), - defaut="VECT_3D"), - b_vect_2d =BLOC(condition = "TYPE_CHAM=='VECT_2D'", - NOM_CMP =SIMP(statut='o',typ='TXM',min=2,max=2 ),), - b_vect_3d =BLOC(condition = "TYPE_CHAM=='VECT_3D'", - NOM_CMP =SIMP(statut='f',typ='TXM',min=3,max=3,defaut=('DX','DY','DZ') ),), - b_tens_2d =BLOC(condition = "TYPE_CHAM=='TENS_2D'", - NOM_CMP =SIMP(statut='f',typ='TXM',min=4,max=4,defaut=('EPXX','EPYY','EPZZ','EPXY',) ),), - b_tens_3d =BLOC(condition = "TYPE_CHAM=='TENS_3D'", - NOM_CMP =SIMP(statut='f',typ='TXM',min=6,max=6,defaut=('EPXX','EPYY','EPZZ','EPXY','EPXZ','EPYZ',),),), - - REPERE =SIMP(statut='o',typ='TXM', - into=("UTILISATEUR","CYLINDRIQUE","NORMALE","DIR_JAUGE"),), - b_normale =BLOC(condition = "REPERE=='NORMALE'", - regles=(UN_PARMI('VECT_X','VECT_Y')), - VECT_X =SIMP(statut='f',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='f',typ='R',min=3,max=3), ), - b_utilisateur =BLOC(condition = "REPERE=='UTILISATEUR'", - ANGL_NAUT =SIMP(statut='o',typ='R',max=3)), - b_cylindrique =BLOC(condition = "REPERE=='CYLINDRIQUE'", - ORIGINE =SIMP(statut='o',typ='R',min=2,max=3), - AXE_Z =SIMP(statut='o',typ='R',min=3,max=3)), - b_dir_jauge =BLOC(condition = "REPERE=='DIR_JAUGE'", - VECT_X =SIMP(statut='f',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='f',typ='R',min=3,max=3), ), - ), - -# ------------------------------------------------------------------ -# EPSI_MOYENNE -# ------------------------------------------------------------------ - EPSI_MOYENNE =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('GROUP_MA','MAILLE','GROUP_NO','NOEUD'),), - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SEUIL_VARI =SIMP(statut='f',typ='R',validators=NoRepeat(),defaut=0.1,), - MASQUE =SIMP(statut='f',typ='TXM',max=6), - ), - -# ------------------------------------------------------------------ -# FILTRE DES DDL -# ------------------------------------------------------------------ - FILTRE =FACT(statut='f',max='**', - regles=(UN_PARMI('DDL_ACTIF'), -# 'MASQUE'), - AU_MOINS_UN('TOUT','GROUP_MA','MAILLE','GROUP_NO','NOEUD'),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO(),), - -# - DDL_ACTIF =SIMP(statut='f',typ='TXM',max=6), -# TODO : mettre en place le systeme de masques -# MASQUE =SIMP(statut='f',typ='TXM',max=6), - ), -# ------------------------------------------------------------------ - - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: romeo.fernandes at edf.fr - -PERM_MAC3COEUR = MACRO(nom="PERM_MAC3COEUR", - op=OPS("Mac3coeur.perm_mac3coeur_ops.perm_mac3coeur_ops"), - sd_prod=evol_noli, - - TYPE_COEUR = SIMP(statut='o',typ='TXM',into=("MONO","TEST","900","1300","N4","EPR") ), - TABLE_N = SIMP(statut='o',typ=table_sdaster), # TABLE INITIALE DES DAMAC A L INSTANT N - RESU_N = SIMP(statut='o',typ=evol_noli), # RESULTAT A L INSTANT N A PERMUTER - TABLE_NP1 = SIMP(statut='o',typ=table_sdaster), # TABLE INITIALE DES DAMAC A L INSTANT N+1 - MAILLAGE_NP1 = SIMP(statut='o',typ=maillage_sdaster),); # MAILLAGE A L INSTANT N+1 - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: renaud.bargellini at edf.fr - -POST_BORDET =MACRO(nom="POST_BORDET", - op=OPS('Macro.post_bordet_ops.post_bordet_ops'), - sd_prod=table_sdaster, - UIinfo={"groupes":("Outils-métier","Rupture",)}, - reentrant='n', - fr="calcul de la probabilite de clivage via le modele de Bordet", - regles=(UN_PARMI('TOUT','GROUP_MA'), - UN_PARMI('INST','NUME_ORDRE'), - ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",)), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="le calcul ne sera effectué que sur ces mailles"), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),), - PRECISION =SIMP(statut='f',typ='R',validators=NoRepeat(),val_min=0.,val_max=1E-3,defaut=1E-6), - CRITERE =SIMP(statut='f',typ='TXM',defaut="ABSOLU",into=("RELATIF","ABSOLU") ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),), - PROBA_NUCL =SIMP(statut='f',typ='TXM',into=("NON","OUI"), defaut="NON", - fr="prise en compte du facteur exponentiel"), - b_nucl =BLOC( condition = "PROBA_NUCL=='OUI'", - PARAM =FACT(statut='o', - M =SIMP(statut='o',typ='R',val_min=0.E+0), - SIGM_REFE =SIMP(statut='o',typ=(fonction_sdaster),val_min=0.E+0), - VOLU_REFE =SIMP(statut='o',typ='R',val_min=0.E+0), - SIG_CRIT =SIMP(statut='o',typ='R',val_min=0.E+0), - SEUIL_REFE =SIMP(statut='o',typ='R',val_min=0.E+0), - SEUIL_CALC =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster)), - DEF_PLAS_REFE =SIMP(statut='o',typ='R'),),), - - b_prop =BLOC( condition = "PROBA_NUCL=='NON'", - PARAM =FACT(statut='o', - M =SIMP(statut='o',typ='R',val_min=0.E+0), - SIGM_REFE =SIMP(statut='o',typ=fonction_sdaster,val_min=0.E+0), - VOLU_REFE =SIMP(statut='o',typ='R',val_min=0.E+0), - SIG_CRIT =SIMP(statut='o',typ='R',val_min=0.E+0), - SEUIL_REFE =SIMP(statut='o',typ='R',val_min=0.E+0), - SEUIL_CALC =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster),), - ), - ), - - RESULTAT =SIMP(statut='o',typ=resultat_sdaster, - fr="Resultat d'une commande globale STAT_NON_LINE"), - TEMP =SIMP(statut='o',typ=(fonction_sdaster,'R')), - COEF_MULT =SIMP(statut='f',typ='R', defaut=1.), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr -def post_cham_xfem_prod(RESULTAT,**args ): - - if AsType(RESULTAT) == evol_noli : return evol_noli - if AsType(RESULTAT) == mode_meca : return mode_meca - if AsType(RESULTAT) == evol_elas : return evol_elas - if AsType(RESULTAT) == evol_ther : return evol_ther - - raise AsException("type de concept resultat non prevu") - -POST_CHAM_XFEM=OPER(nom="POST_CHAM_XFEM",op= 196,sd_prod=post_cham_xfem_prod, - reentrant='n',UIinfo={"groupes":("Post-traitements","Rupture",)}, - fr="Calcul des champs DEPL, SIEF_ELGA et VARI_ELGA sur le maillage de visualisation (fissuré)", - RESULTAT = SIMP(statut='o',typ=resultat_sdaster), - MODELE_VISU = SIMP(statut='o',typ=modele_sdaster,), - INFO = SIMP(statut='f',typ='I',defaut= 1,into=(1,2,) ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -def post_champ_prod(RESULTAT,**args): - if AsType(RESULTAT) != None : return AsType(RESULTAT) - raise AsException("type de concept resultat non prevu") - - -# liste des options possibles pour les 4 mots clés EXTR_COQUE, EXTR_TUYAY, EXTR_PMF et MIN_MAX_SP : -liste_option_extr=("EPEQ_ELGA","EPEQ_ELNO","EPSI_ELGA","EPSI_ELNO", - "SIEF_ELGA","SIEF_ELNO", - "SIEQ_ELGA","SIEQ_ELNO","SIGM_ELGA","SIGM_ELNO", - "VARI_ELGA","VARI_ELNO",) - - -POST_CHAMP=OPER(nom="POST_CHAMP",op=155,sd_prod=post_champ_prod, reentrant='n', - UIinfo={"groupes":("Post-traitements","Eléments de structure",)}, - fr="extraction de champs sur un sous-point. ", - - regles=(UN_PARMI('EXTR_COQUE','EXTR_TUYAU','EXTR_PMF','MIN_MAX_SP','COQU_EXCENT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE','NOEUD_CMP', - 'LIST_INST','LIST_FREQ','LIST_ORDRE','NOM_CAS',), - ), - - RESULTAT =SIMP(statut='o',typ=resultat_sdaster, - fr="Resultat d'une commande globale"), - - -#==== -# Sélection des numéros d'ordre pour lesquels on fait le calcul : -#==== - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - - b_acce_reel =BLOC(condition="(FREQ != None)or(LIST_FREQ != None)or(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - - -#==== -# Sélection de la zone géométrique: -#==== - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), - - - -#==== -# Extraction sur un sous-point d'une coque : -#==== - EXTR_COQUE =FACT(statut='f', max=1, fr="extraction sur un sous-point d'une coque", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - into=liste_option_extr,), - NUME_COUCHE =SIMP(statut='o',typ='I',val_min=1, - fr="numero de couche dans l'épaisseur de la coque" ), - NIVE_COUCHE =SIMP(statut='o',typ='TXM',into=("SUP","INF","MOY"), - fr="position dans l'épaisseur de la couche" ), - ), - - -#==== -# Extraction sur un sous-point d'un tuyau : -#==== - EXTR_TUYAU =FACT(statut='f', max=1, fr="extraction sur un sous-point d'un tuyau", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - into=liste_option_extr ,), - NUME_COUCHE =SIMP(statut='o',typ='I',val_min=1, - fr="numero de couche dans l'épaisseur du tuyau" ), - NIVE_COUCHE =SIMP(statut='o',typ='TXM',into=("SUP","INF","MOY"), - fr="position dans l'épaisseur de la couche" ), - ANGLE =SIMP(statut='o',typ='I',val_min=0,val_max=360, - fr="angle de dépouillement pour les tuyaux, en degrés à partir de la génératrice" ), - ), - - -#==== -# Extraction sur un sous-point d'une poutre multifibre : -#==== - EXTR_PMF =FACT(statut='f', max=1, fr="extraction sur un sous-point d'une poutre multifibre", - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - into=liste_option_extr,), - NUME_FIBRE =SIMP(statut='o',typ='I',val_min=1, - fr="numéro de la fibre dans la poutre multifibre" ), - ), - - -#==== -# Extraction des min / max sur les sous-points : -#==== - MIN_MAX_SP =FACT(statut='f', max='**', fr="extraction du min/max d'une composante pour un champ", - NOM_CHAM =SIMP(statut='o',typ='TXM', - into=liste_option_extr,), - NOM_CMP =SIMP(statut='o',typ='TXM',fr="nom de la composante", ), - TYPE_MAXI =SIMP(statut='o',typ='TXM',into=("MAXI","MINI","MAXI_ABS","MINI_ABS",) ), - NUME_CHAM_RESU = SIMP(statut='o', typ='I', val_min=1, val_max=20, - fr="Numéro du champ produit. Exemple: 6 produit le champ UT06",), - ), - - -#==== -# Calcul des efforts des coques "excentrées" sur le feuillet moyen de la coque : -#==== - COQU_EXCENT =FACT(statut='f', max=2, fr="Calcul des efforts d'une coque 'excentrée' sur le feuillet moyen de la coque", - NOM_CHAM =SIMP(statut='o',typ='TXM',into=("EFGE_ELNO","EFGE_ELGA",),), - MODI_PLAN =SIMP(statut='o',typ='TXM',into=("OUI",),), - ), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr - -POST_COQUE=MACRO(nom="POST_COQUE", - op=OPS('Macro.post_coque_ops.post_coque_ops'), - sd_prod=table_sdaster, - reentrant='n', - UIinfo={"groupes":("Post-traitements",)}, - fr="Calcul des efforts et déformations en un point et une cote " \ - "quelconque de la coque", - - regles=(EXCLUS('INST','NUME_ORDRE'),), - - # SD résultat et champ à posttraiter : - RESULTAT =SIMP(statut='o',typ=resultat_sdaster,fr="RESULTAT à posttraiter",), - CHAM =SIMP(statut='o',typ='TXM',into=("EFFORT","DEFORMATION",)), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - - # points de post-traitement : - COOR_POINT =FACT(statut='o',max='**',fr="coordonnées et position dans l'épaisseur", - COOR=SIMP(statut='o',typ='R',min=3,max=4),), - - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr - - -POST_DECOLLEMENT=MACRO(nom="POST_DECOLLEMENT", - op=OPS('Macro.post_decollement_ops.post_decollement_ops'), - sd_prod=table_sdaster, - fr="calcul du rapport de surfaces de contact radier/sol", - reentrant='n', - UIinfo={"groupes":("Post-traitements",)}, - RESULTAT =SIMP(statut='o',typ=(evol_noli) ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),defaut='DEPL',into=C_NOM_CHAM_INTO(),max=1), - NOM_CMP =SIMP(statut='f',typ='TXM',defaut='DZ',max=1), - GROUP_MA =SIMP(statut='o',typ=grma,max=1), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -POST_DYNA_ALEA=MACRO(nom="POST_DYNA_ALEA", - op=OPS('Macro.post_dyna_alea_ops.post_dyna_alea_ops'), - sd_prod=table_sdaster, - fr="Traitements statistiques de résultats de type interspectre " \ - "et impression sur fichiers", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Dynamique",)}, - regles=(UN_PARMI('FRAGILITE','INTERSPECTRE'),), - FRAGILITE =FACT(statut='f',fr="donnees pour courbe de fragilite",max=1, - TABL_RESU =SIMP(statut='o',typ=table_sdaster), - regles=(UN_PARMI('VALE','LIST_PARA'),), - VALE = SIMP(statut='f',typ='R', min=1,validators=NoRepeat(),max='**' ), - LIST_PARA = SIMP(statut='f',typ=listr8_sdaster), - AM_INI = SIMP(statut='f',typ='R',defaut= 0.4 ), - BETA_INI = SIMP(statut='f',typ='R',defaut= 0.3 ), - FRACTILE = SIMP(statut='f',typ='R', min=1,validators=NoRepeat(),max='**'), - b_inte_spec_f = BLOC(condition="""FRACTILE !=None""", - NB_TIRAGE =SIMP(statut='f',typ='I' ),), - ), - INTERSPECTRE =FACT(statut='f',fr="donnees pour interspectre",max=1, - regles=(UN_PARMI('NOEUD_I','NUME_ORDRE_I','OPTION'),), - INTE_SPEC =SIMP(statut='o',typ=interspectre), - NUME_ORDRE_I =SIMP(statut='f',typ='I',max='**' ), - NOEUD_I =SIMP(statut='f',typ=no,max='**'), - OPTION =SIMP(statut='f',typ='TXM',into=("DIAG","TOUT",) ), - b_nume_ordre_i =BLOC(condition = "NUME_ORDRE_I != None", - NUME_ORDRE_J =SIMP(statut='o',typ='I',max='**' ), - ), - b_noeud_i =BLOC(condition = "NOEUD_I != None", - NOEUD_J =SIMP(statut='o',typ=no,max='**'), - NOM_CMP_I =SIMP(statut='o',typ='TXM',max='**' ), - NOM_CMP_J =SIMP(statut='o',typ='TXM',max='**' ), - ), - MOMENT =SIMP(statut='f',typ='I',max='**',fr="Moments spectraux "\ - "en complément des cinq premiers" ), - DUREE =SIMP(statut='f',typ='R',fr="durée de la phase forte "\ - "pour facteur de peak" ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr -POST_DYNA_MODA_T=OPER(nom="POST_DYNA_MODA_T",op= 130,sd_prod=table_sdaster, - fr="Post-traiter les résultats en coordonnées généralisées produit par DYNA_TRAN_MODAL", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Dynamique",)}, - regles=(UN_PARMI('CHOC','RELA_EFFO_DEPL', ),), - RESU_GENE =SIMP(statut='o',typ=tran_gene ), - CHOC =FACT(statut='f',max='**', - fr="Analyse des non linéarités de choc", - INST_INIT =SIMP(statut='f',typ='R',defaut= -1. ), - INST_FIN =SIMP(statut='f',typ='R',defaut= 999. ), - NB_BLOC =SIMP(statut='f',typ='I',defaut= 1 ), - SEUIL_FORCE =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - DUREE_REPOS =SIMP(statut='f',typ='R',defaut= 0.E+0 ), - OPTION =SIMP(statut='f',typ='TXM',defaut="USURE",into=("IMPACT","USURE") ), - NB_CLASSE =SIMP(statut='f',typ='I',defaut= 10 ), - ), - RELA_EFFO_DEPL =FACT(statut='f', - fr="Analyse des relationsnon linéaires effort-déplacement", - NOEUD =SIMP(statut='o',typ=no), - NOM_CMP =SIMP(statut='o',typ='TXM' ), - ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: josselin.delmas at edf.fr - -POST_ELEM=OPER(nom="POST_ELEM",op=107,sd_prod=table_sdaster,reentrant='n', - UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - fr="Calcul de quantités globales (masse, inerties, énergie, ...) sur tout ou partie du modèle", - - regles=(UN_PARMI('MASS_INER', 'ENER_POT', 'ENER_CIN','TRAV_EXT','MINMAX', - 'WEIBULL', 'RICE_TRACEY', 'CARA_GEOM','CHAR_LIMITE','NORME', - 'CARA_POUTRE', 'INDIC_ENER', 'INDIC_SEUIL','VOLUMOGRAMME', - 'AIRE_INTERNE','ENER_ELAS','ENER_TOTALE','ENER_DISS','INTEGRALE'), - ), - - MASS_INER = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ORIG_INER = SIMP(statut='f',typ='R',min=3,max=3 ), - ), - b_mass_iner = BLOC(condition = "( MASS_INER != None )", - fr="calcul de la masse, les inerties et le centre de gravité", - regles=(EXCLUS('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_ORDRE','LIST_INST','LIST_FREQ','NOM_CAS'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - GEOMETRIE = SIMP(statut='f',typ='TXM',defaut="INITIALE",into=("INITIALE","DEFORMEE")), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - RESULTAT = SIMP(statut='f',typ=(mode_meca,evol_elas,evol_noli,mult_elas, - fourier_elas,dyna_trans) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - FREQ = SIMP(statut='f',typ='R',), - LIST_FREQ = SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE = SIMP(statut='f',typ='I',), - NOEUD_CMP = SIMP(statut='f',typ='TXM',min=2,validators=NoRepeat(),max=2), - NOM_CAS = SIMP(statut='f',typ='TXM',), - ), - - ENER_POT = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_ener_pot = BLOC(condition = "( ENER_POT != None )", - fr="calcul de l'énergie potentielle de déformation", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_ORDRE','LIST_INST','LIST_FREQ','NOM_CAS'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - ANGLE = SIMP(statut='f',typ='I',defaut=0), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - RESULTAT = SIMP(statut='f',typ=(mode_meca,evol_elas,evol_ther,evol_noli,dyna_trans,mult_elas) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - FREQ = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ = SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE = SIMP(statut='f',typ='I' ,validators=NoRepeat(),max='**'), - NOEUD_CMP = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - ), - - ENER_CIN = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - OPTION = SIMP(statut='f',typ='TXM',validators=NoRepeat(), - into=("MASS_MECA","MASS_MECA_DIAG"), - defaut="MASS_MECA" ), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_ener_cin = BLOC(condition = "( ENER_CIN != None )", - fr="calcul de l'énergie cinétique", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','NUME_MODE', - 'NOEUD_CMP','LIST_ORDRE','LIST_INST','LIST_FREQ','NOM_CAS'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - ANGLE = SIMP(statut='f',typ='I',defaut=0), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - RESULTAT = SIMP(statut='f',typ=(mode_meca,evol_elas,evol_ther,evol_noli,dyna_trans) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - FREQ = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ = SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NOEUD_CMP = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS = SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - ), - - ENER_DISS = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_ener_diss = BLOC(condition = "( ENER_DISS != None )", - fr="calcul de l'énergie dissipée", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - RESULTAT = SIMP(statut='o',typ=(evol_noli) ), - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - - ENER_ELAS = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_ener_elas = BLOC(condition = "( ENER_ELAS != None )", - fr="calcul de l'énergie de déformation élastique", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - RESULTAT = SIMP(statut='o',typ=(evol_noli,evol_elas) ), - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - ENER_TOTALE = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_ener_totale = BLOC(condition = "( ENER_TOTALE != None )", - fr="calcul de l'énergie de déformation totale", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - RESULTAT = SIMP(statut='o',typ=(evol_noli) ), - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - INTEGRALE = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - NOM_CHAM = SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NOM_CMP = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**'), - DEJA_INTEGRE = SIMP(statut='f',typ='TXM',into=("OUI","NON",),), - ), - b_integrale = BLOC(condition = "( INTEGRALE != None )", - fr="calcul de la moyenne d'une composante", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_ORDRE','LIST_INST'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - RESULTAT = SIMP(statut='f',typ=(evol_noli,evol_ther,evol_elas,evol_char) ), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - VOLUMOGRAMME = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA'), - UN_PARMI('NB_INTERV','SEUIL'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA = SIMP(statut='f',typ=grma,max=1), - TYPE_MAILLE = SIMP(statut='f',typ='TXM',into=('2D','3D',)), - NOM_CHAM = SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NOM_CMP = SIMP(statut='o',typ='TXM'), - NB_INTERV = SIMP(statut='f',typ='I'), - SEUIL = SIMP(statut='f',typ='R'), - BORNES = SIMP(statut='f',typ='R',validators=NoRepeat(),min=2,max=2), - NORME = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU")), - ), - b_volumogramme = BLOC(condition = "( VOLUMOGRAMME != None )", - fr="calcul de la distribution du volume d'une structure vis-à-vis d'une composante", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_ORDRE','LIST_INST'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - RESULTAT = SIMP(statut='f',typ=(evol_noli,evol_ther,evol_elas,evol_char) ), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - NORME = FACT(statut='f',max=1, - fr="calcul des extrema en espace d'une CMP d'un champ, pour tous les instants spécifiés", - regles=(UN_PARMI('TOUT','GROUP_MA'), - UN_PARMI('CHAM_GD','RESULTAT'), - PRESENT_PRESENT('CHAM_GD','MODELE'), - PRESENT_PRESENT('RESULTAT','NOM_CHAM'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - TYPE_MAILLE = SIMP(statut='f',typ='TXM',into=('2D','3D',)), - TYPE_NORM = SIMP(statut='f',typ='TXM',into=('L2','FROBENIUS')), - RESULTAT = SIMP(statut='f',typ=(evol_noli,evol_ther,evol_elas) ), - NOM_CHAM = SIMP(statut='f',typ='TXM',validators=NoRepeat(), - into=("DEPL","TEMP","NEUT_R", - "FLUX_ELGA","FLUX_ELNO","FLUX_NOEU", - "EPSI_ELGA","EPSI_ELNO","EPSI_NOEU", - "SIEF_ELGA","SIEF_ELNO","SIEF_NOEU")), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - MODELE = SIMP(statut='f',typ=modele_sdaster), - - b_norme_GD = BLOC(condition = "( CHAM_GD != None )", - COEF_MULT = SIMP(statut='f',typ='R',max=30), - ), - - b_norme = BLOC(condition = "( RESULTAT != None )", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - ), - - - MINMAX = FACT(statut='f',max=1, - fr="calcul des extrema en espace d'une CMP d'un champ, pour tous les instants spécifiés", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - PRESENT_PRESENT('CHAM_GD','MODELE'), - PRESENT_PRESENT('RESULTAT','NOM_CHAM'), - UN_PARMI('TOUT','GROUP_MA'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - RESULTAT = SIMP(statut='f',typ=(evol_noli,evol_ther,evol_elas) ), - NOM_CHAM = SIMP(statut='f',typ='TXM',into=C_NOM_CHAM_INTO()), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - MODELE = SIMP(statut='f',typ=modele_sdaster), - NOM_CMP = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**'), - b_minmax = BLOC(condition = "( RESULTAT != None )", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - ), - - WEIBULL = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - OPTION = SIMP(statut='f',typ='TXM',validators=NoRepeat(), - into=("SIGM_ELGA","SIGM_ELMOY"), - defaut="SIGM_ELGA"), - CORR_PLAST = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - COEF_MULT = SIMP(statut='f',typ='R',defaut=1.), - ), - b_weibull = BLOC(condition = "( WEIBULL != None )", - fr="calcul du champ élémentaire de la puissance m-ième de la contrainte de Weibull", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - RESULTAT = SIMP(statut='f',typ=(evol_noli) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - RICE_TRACEY = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - OPTION = SIMP(statut='f',typ='TXM',validators=NoRepeat(), - into=("SIGM_ELGA","SIGM_ELMOY"), - defaut="SIGM_ELGA"), - LOCAL = SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - ), - b_rice_tracey = BLOC(condition = "( RICE_TRACEY != None )", - fr="calcul du taux de croissance d'une cavité sphérique par rapport à un domaine", - regles=(UN_PARMI('CHAM_GD','RESULTAT'), - EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - NUME_COUCHE = SIMP(statut='f',typ='I',defaut=1), - NIVE_COUCHE = SIMP(statut='f',typ='TXM',defaut="MOY",into=("INF","SUP","MOY"),), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - CHAM_GD = SIMP(statut='f',typ=(cham_no_sdaster,cham_elem) ), - RESULTAT = SIMP(statut='f',typ=(evol_noli) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - INDIC_ENER = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_indic_ener = BLOC(condition = "( INDIC_ENER != None )", - fr="calcul un indicateur global de perte de proportionnalité du chargement", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - RESULTAT = SIMP(statut='o',typ=(evol_noli) ), - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - INDIC_SEUIL = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - ), - b_indic_seuil = BLOC(condition = "( INDIC_SEUIL != None )", - fr="calcul un indicateur global de perte de proportionnalité du chargement", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - RESULTAT = SIMP(statut='o',typ=(evol_noli) ), - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - CHAR_LIMITE = FACT(statut='f',min=0, - CHAR_CSTE = SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON") - ), - b_char_limite = BLOC(condition = "( CHAR_LIMITE != None )", - fr="post-traitement du calcul de la charge limite", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CARA_ELEM = SIMP(statut='f',typ=cara_elem), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - RESULTAT = SIMP(statut='o',typ=(evol_noli) ), - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','INST','LIST_INST'),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE = SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE = SIMP(statut='f',typ=listis_sdaster), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST = SIMP(statut='f',typ=listr8_sdaster), - ), - - CARA_GEOM = FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - MAILLE = SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - SYME_X = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - SYME_Y = SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - ORIG_INER = SIMP(statut='f',typ='R',min=2,max=2), - ), - b_cara_geom = BLOC(condition = "( CARA_GEOM != None )", - fr="calcul des caractéristiques géométriques d'un section de poutre", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - ), - - CARA_POUTRE = FACT(statut='f',max='**', - regles=(UN_PARMI('TOUT','GROUP_MA'), - ENSEMBLE('LONGUEUR','LIAISON','MATERIAU'),), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - GROUP_MA_INTE = SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - CARA_GEOM = SIMP(statut='o',typ=table_sdaster), - RT = SIMP(statut='f',typ='R'), - LAPL_PHI = SIMP(statut='f',typ=evol_ther), - LAPL_PHI_Y = SIMP(statut='f',typ=evol_ther), - LAPL_PHI_Z = SIMP(statut='f',typ=evol_ther), - LIAISON = SIMP(statut='f',typ='TXM',into=("ROTULE","ENCASTREMENT")), - LONGUEUR = SIMP(statut='f',typ='R'), - MATERIAU = SIMP(statut='f',typ=mater_sdaster), - OPTION = SIMP(statut='f',typ='TXM',validators=NoRepeat(), - into=("CARA_TORSION","CARA_CISAILLEMENT","CARA_GAUCHI") ), - ), - b_cara_poutre = BLOC(condition = "( CARA_POUTRE != None )", - fr="calcul des caractéristiques mécaniques d'un section de poutre", - MODELE = SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER = SIMP(statut='f',typ=cham_mater), - CHARGE = SIMP(statut='f',typ=(char_meca,char_cine_meca, - char_ther,char_acou),validators=NoRepeat(),max='**' ), - MODE_FOURIER = SIMP(statut='f',typ='I',defaut=0), - ), - - AIRE_INTERNE = FACT(statut='f',max='**', - GROUP_MA_BORD = SIMP(statut='o',typ=grma,validators=NoRepeat(),max='**'), - ), - b_aire_interne = BLOC(condition = "( AIRE_INTERNE != None )", - fr="calcul de l'aire d'un trou dans un maillage 2D", - MODELE = SIMP(statut='f',typ=modele_sdaster), - ), - - TRAV_EXT = FACT(statut='f',), - b_trav_ext = BLOC(condition = "( TRAV_EXT != None )", - fr="calcul du travail des efforts extérieurs", - RESULTAT = SIMP(statut='o',typ=(evol_elas,evol_noli,dyna_trans) ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - TOUT_ORDRE = SIMP(statut='f',typ='TXM',into=("OUI",) ), - ), - - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: marina.bottoni at edf.fr - -# --------------------------------------------------------------------------- -# POST_ENDO_FISS -# RECHERCHE DU TRAJET DE FISSURATION SUR UN -# CHAMP SCALAIRE 2D - - -def post_endo_fiss_prod(self,TABLE,**args) : - self.type_sdprod(TABLE,table_sdaster) - return maillage_sdaster - -POST_ENDO_FISS=MACRO(nom="POST_ENDO_FISS", - op=OPS('Macro.post_endo_fiss_ops.post_endo_fiss_ops'), - sd_prod=post_endo_fiss_prod, - reentrant='n', - UIinfo={"groupes":("Post-traitements","Outils-métier",)}, - fr="Individuation du trace d'une fissure a partir d'un champ scalaire pertinant", - - TABLE = SIMP(statut = 'o', typ = CO,), - - regles = (UN_PARMI("RESULTAT","CHAM_GD"), - ), - OUVERTURE = SIMP(statut = 'f', typ = 'TXM', into=('OUI','NON',), defaut = 'NON' ), - b_resultat = BLOC(condition = "RESULTAT != None", - regles = (UN_PARMI('NUME_ORDRE','INST'),), - NUME_ORDRE = SIMP(statut = 'f', typ = 'I', validators = NoRepeat(), ), - INST = SIMP(statut = 'f', typ = 'R', validators = NoRepeat(), ), - ), - - #b_champ = BLOC(condition = "CHAM_GD != None",), - - CHAM_GD = SIMP(statut = 'f',typ = (cham_gd_sdaster)), - RESULTAT = SIMP(statut = 'f',typ = (evol_noli)), - NOM_CMP = SIMP(statut = 'o',typ='TXM',), - NOM_CHAM = SIMP(statut = 'o', typ = 'TXM', - fr = "nom du champ a post-traiter",), - - RECHERCHE = FACT(statut = 'o',min=1,max='**', - regles = ( - PRESENT_ABSENT('TOUT','GROUP_MA',), - ), - LONG_ORTH = SIMP(statut='o', typ='R'), - NB_POINT = SIMP(statut='f', typ='I', defaut = 500), - PAS = SIMP(statut='o', typ='R', ), - LONG_REG = SIMP(statut='o', typ='R'), - BORNE_MIN = SIMP(statut='f', typ='R', defaut=0.5), - ANGL_MAX = SIMP(statut='f', typ='R', defaut=120.), - TOUT = SIMP(statut='f', typ='TXM', into=('OUI',) ), - GROUP_MA = SIMP(statut='f', typ=grma, validators=NoRepeat(), ), - BORNE_MAX = SIMP(statut='f', typ='R'), - ), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -POST_FATI_ALEA=OPER(nom="POST_FATI_ALEA",op=170,sd_prod=table_sdaster,reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - fr="Calculer le dommage de fatigue subi par une structure soumise à une sollicitation de type aléatoire", - regles=(ENSEMBLE('MOMENT_SPEC_0','MOMENT_SPEC_2'), - PRESENT_PRESENT( 'MOMENT_SPEC_4','MOMENT_SPEC_0'), - UN_PARMI('TABL_POST_ALEA','MOMENT_SPEC_0'), ), - MOMENT_SPEC_0 =SIMP(statut='f',typ='R'), - MOMENT_SPEC_2 =SIMP(statut='f',typ='R'), - MOMENT_SPEC_4 =SIMP(statut='f',typ='R'), - TABL_POST_ALEA =SIMP(statut='f',typ=table_sdaster), - COMPTAGE =SIMP(statut='o',typ='TXM',into=("PIC","NIVEAU")), - DUREE =SIMP(statut='f',typ='R',defaut= 1.), - CORR_KE =SIMP(statut='f',typ='TXM',into=("RCCM",)), - DOMMAGE =SIMP(statut='o',typ='TXM',into=("WOHLER",)), - MATER =SIMP(statut='o',typ=mater_sdaster), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: van-xuan.tran at edf.fr -POST_FATIGUE=OPER(nom="POST_FATIGUE",op=136,sd_prod=table_sdaster,reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - fr="Calculer en un point, le dommage de fatigue subi par une structure soumise à une histoire de chargement", - - CHARGEMENT = SIMP(statut='o',typ='TXM',into=("UNIAXIAL","MULTIAXIAL","QUELCONQUE")), - - b_uniaxial = BLOC( condition = "CHARGEMENT=='UNIAXIAL'", - regles=(PRESENT_PRESENT('CORR_KE','MATER'), - PRESENT_PRESENT('CORR_SIGM_MOYE','MATER'), - PRESENT_PRESENT('DOMMAGE','MATER'),), - HISTOIRE = FACT(statut='o', - regles=(UN_PARMI('SIGM','EPSI'),), - SIGM = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSI = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)),), - COMPTAGE = SIMP(statut='o',typ='TXM',into=("RAINFLOW","RAINFLOW_MAX","RCCM","NATUREL")), - DELTA_OSCI = SIMP(statut='f',typ='R',defaut= 0.0E+0), - COEF_MULT = FACT(statut='f', - KT = SIMP(statut='o',typ='R'),), - CORR_KE = SIMP(statut='f',typ='TXM',into=("RCCM",)), - DOMMAGE = SIMP(statut='f',typ='TXM',into=("WOHLER","MANSON_COFFIN", - "TAHERI_MANSON","TAHERI_MIXTE")), - MATER = SIMP(statut='f',typ=mater_sdaster), - CORR_SIGM_MOYE = SIMP(statut='f',typ='TXM',into=("GOODMAN","GERBER")), - TAHERI_NAPPE = SIMP(statut='f',typ=(nappe_sdaster,formule)), - TAHERI_FONC = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - CUMUL = SIMP(statut='f',typ='TXM',into=("LINEAIRE",)), - ), - - b_multiaxial = BLOC( condition = "CHARGEMENT=='MULTIAXIAL'", - HISTOIRE = FACT(statut='o', - regles=(PRESENT_PRESENT('SIGM_XX','SIGM_YY','SIGM_ZZ','SIGM_XY','SIGM_XZ','SIGM_YZ'), - PRESENT_PRESENT('EPS_XX','EPS_YY','EPS_ZZ','EPS_XY','EPS_XZ','EPS_YZ'), - PRESENT_PRESENT('EPSP_XX','EPSP_YY','EPSP_ZZ','EPSP_XY','EPSP_XZ','EPSP_YZ'), - AU_MOINS_UN('SIGM_XX','SIGM_YY','SIGM_ZZ','SIGM_XY','SIGM_XZ','SIGM_YZ', - 'EPS_XX','EPS_YY','EPS_ZZ','EPS_XY','EPS_XZ','EPS_YZ', - 'EPSP_XX','EPSP_YY','EPSP_ZZ','EPSP_XY','EPSP_XZ','EPSP_YZ'), - ), - SIGM_XX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_YY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_ZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_XY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_XZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_YZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - - EPS_XX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPS_YY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPS_ZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPS_XY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPS_XZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPS_YZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - - EPSP_XX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP_YY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP_ZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP_XY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP_XZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP_YZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - - TYPE_CHARGE = SIMP(statut='o',typ='TXM',into=("PERIODIQUE","NON_PERIODIQUE")), - DOMMAGE = SIMP(statut='f',typ='TXM',into=("WOHLER","MANSON_C","FORM_VIE") ), - - b_fati_pfvie = BLOC(condition = "(DOMMAGE == 'FORM_VIE')", - FORMULE_VIE =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - - MATER = SIMP(statut='f',typ=mater_sdaster), - COEF_CORR = SIMP(statut='f',typ='R'), - COEF_PREECROU =SIMP(statut='f',typ='R',defaut= 1.0E+0), - - - b_period =BLOC(condition = "TYPE_CHARGE == 'PERIODIQUE'", - CRITERE =SIMP(statut='o',typ='TXM',into=("MATAKE_MODI_AC","DANG_VAN_MODI_AC","CROSSLAND", - "PAPADOPOULOS","FORMULE_CRITERE") ), - - METHODE =SIMP(statut='f',typ='TXM',into=("CERCLE_EXACT",) ), - b_fati_pf =BLOC(condition = "(CRITERE == 'FORMULE_CRITERE')", - FORMULE_GRDEQ = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - FORMULE_CRITIQUE = SIMP(statut='f',typ=(fonction_sdaster,formule) ), - ), - ), - - b_non_period =BLOC(condition = "TYPE_CHARGE == 'NON_PERIODIQUE'", - CRITERE =SIMP(statut='o',typ='TXM', - into=("MATAKE_MODI_AV","DANG_VAN_MODI_AV","FATESOCI_MODI_AV","FORMULE_CRITERE") ), - PROJECTION =SIMP(statut='o',typ='TXM',into=("UN_AXE", "DEUX_AXES") ), - DELTA_OSCI =SIMP(statut='f',typ='R',defaut= 0.0E+0), - - b_fati_npf =BLOC(condition = "(CRITERE == 'FORMULE_CRITERE')", - FORMULE_GRDEQ =SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - ), - - ), - - b_quelconque = BLOC( condition = "CHARGEMENT=='QUELCONQUE'", - HISTOIRE = FACT(statut='o', - SIGM_XX = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_YY = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_ZZ = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_XY = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_XZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - SIGM_YZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - EPSP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)), - TEMP = SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule)),), - DOMMAGE = SIMP(statut='f',typ='TXM',into=("LEMAITRE",),), - MATER = SIMP(statut='o',typ=mater_sdaster), - CUMUL = SIMP(statut='f',typ='TXM',into=("LINEAIRE",)), - ), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -POST_K1_K2_K3=MACRO(nom="POST_K1_K2_K3", - op=OPS('Macro.post_k1_k2_k3_ops.post_k1_k2_k3_ops'), - sd_prod=table_sdaster, - fr="Calcul des facteurs d'intensité de contraintes en 2D et en 3D par "\ - "extrapolation des sauts de déplacements sur les lèvres de la fissure", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - - regles=(UN_PARMI('FISSURE','FOND_FISS'),), - - MODELISATION =SIMP(statut='o',typ='TXM', - into=("3D","AXIS","D_PLAN","C_PLAN"),position='global', - fr="Modélisation cohérente avec celle utilisée pour le calcul des déplacements"), - FOND_FISS =SIMP(statut='f',typ=fond_fiss), - FISSURE =SIMP(statut='f',typ=fiss_xfem), - RESULTAT =SIMP(statut='o',typ=(evol_elas,evol_noli,mode_meca),position='global', - fr="Déplacement des noeuds de la lèvre supérieure et inférieure"), - NB_NOEUD_COUPE=SIMP(statut='f',typ='I',defaut=5,val_min = 3), - -# bloc correspondant a la donnee du fond de fissure pour les fissures maillees - b_fond_fiss =BLOC (condition="FOND_FISS!= None", - - b_no_mod =BLOC (condition="AsType(RESULTAT)!= mode_meca", - - EVOL_THER = SIMP(statut='f',typ=(evol_ther),fr="Température sur le fond de fissure"), - b_ref_3D = BLOC (condition="MODELISATION=='3D' ", - TYPE_MAILLAGE = SIMP(statut='f',typ='TXM',into=("LIBRE","REGLE"),defaut="REGLE"), - ), - ), - b_mod =BLOC (condition="AsType(RESULTAT)== mode_meca and MODELISATION=='3D'", - TYPE_MAILLAGE = SIMP(statut='f',typ='TXM',into=("REGLE",),defaut="REGLE"), - ), - - NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - SANS_NOEUD = SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - SANS_GROUP_NO = SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - TOUT = SIMP(statut='f',typ='TXM',into=("OUI",) ), - ABSC_CURV_MAXI=SIMP(statut='f',typ='R', - fr="Distance maximum à partir du fond de fissure à utiliser pour le calcul"), - ), - -# bloc correspondant a la donnee de la fissure pour les fissures X-FEM - b_fissure =BLOC (condition="FISSURE!= None", - NB_POINT_FOND = SIMP(statut='f',typ='I' ,), - NUME_FOND = SIMP(statut='f',typ='I',defaut=1), - ABSC_CURV_MAXI=SIMP(statut='f',typ='R', - fr="Distance maximum à partir du fond de fissure à utiliser pour le calcul"), - ), - - MATER =SIMP(statut='o',typ=mater_sdaster, - fr="Matériau homogène et isotrope cohérent avec celui utilisé pour le calcul des déplacements"), - - - PREC_VIS_A_VIS=SIMP(statut='f',typ='R',defaut=0.1), - - b_mod_meca =BLOC (condition="AsType(RESULTAT)== mode_meca ", - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - TOUT_MODE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_MODE =SIMP(statut='f',typ=listis_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - b_acce_reel =BLOC(condition="(FREQ!=None) or (LIST_FREQ!=None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - b_no_mod_meca =BLOC (condition="AsType(RESULTAT)!= mode_meca ", - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - b_acce_reel =BLOC(condition="(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aurore.parrot at edf.fr -# -POST_K_BETA=OPER(nom="POST_K_BETA",op=198,sd_prod=table_sdaster, - fr="Calcul des facteurs d'intensité de contraintes par la méthode K_BETA", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - MAILLAGE = SIMP(statut='o',typ=maillage_sdaster), - MATER_REV = SIMP(statut='o',typ=mater_sdaster), - EPAIS_REV = SIMP(statut='o',typ='R'), - FISSURE = FACT(statut='o', - DECALAGE = SIMP(statut='f',typ='R',defaut=-2.e-04), - PROFONDEUR = SIMP(statut='o',typ='R'), - LONGUEUR = SIMP(statut='o',typ='R'), - ORIENTATION = SIMP(statut='o',typ='TXM', - into=("CIRC","LONGI"),), - ), - K1D = FACT(statut='o',max='**', - TABL_MECA_REV = SIMP(statut='o',typ=(table_sdaster)), - TABL_MECA_MDB = SIMP(statut='o',typ=(table_sdaster)), - TABL_THER = SIMP(statut='o',typ=(table_sdaster)), - INTITULE = SIMP(statut='o',typ='TXM' ), - ), - TITRE = SIMP(statut='f',typ='TXM',max='**'), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - - -POST_K_TRANS=MACRO(nom="POST_K_TRANS", - op=OPS('Macro.post_k_trans_ops.post_k_trans_ops'), - sd_prod=table_sdaster, - fr="Calcul des facteurs d intensite des contrainte par recombinaison modale", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - RESU_TRANS =SIMP(statut='o',typ=tran_gene), - K_MODAL =FACT(statut='o', - TABL_K_MODA =SIMP(statut='o',typ=table_sdaster,), - FOND_FISS =SIMP(statut='f',typ=fond_fiss,), - FISSURE =SIMP(statut='f',typ=fiss_xfem,), - regles=( UN_PARMI('FISSURE','FOND_FISS'), ), - ), - - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST','LIST_ORDRE'),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",) ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R'),), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM'), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: romeo.fernandes at edf.fr - -POST_MAC3COEUR = MACRO(nom="POST_MAC3COEUR", - op=OPS("Mac3coeur.post_mac3coeur_ops.post_mac3coeur_ops"), - - TYPE_COEUR = SIMP(statut='o',typ='TXM',into=("MONO","TEST","900","1300","N4","EPR") ), - RESULTAT = SIMP(statut='o',typ=evol_noli), # SD_RESULTAT - INST = SIMP(statut='o',typ='R', max=1), # INSTANT - - LAME = FACT(statut='f',max='**', - fr="Post-traitement des lames d'eau, par grille ou valeurs min/max", - regles = UN_PARMI('NUME_GRILLE','TYPE_RESU',), - NUME_GRILLE = SIMP(statut='f',typ='I', max=1), # NUMERO DE LA GRILLE A POST-TRAITER - TYPE_RESU = SIMP(statut='f',typ='TXM',into=("MINI","MAXI")), # EXTREMA POUR LE POST - FORMAT = SIMP(statut='o',typ='TXM',into=("GRACE","TABLE")), - UNITE = SIMP(statut='o',typ='I', max=1), # NUMERO DE L'UNITE LOGIQUE POUR LE POST - ), - - DEFORMATION = FACT(statut='f',max='**', - fr="Post-traitement des deformations, par grille ou valeurs min/max", - - UNITE = SIMP(statut='o',typ='I', max=1), - FORMAT = SIMP(statut='o',typ='TXM',into=("GRACE","TABLE")), - - b_def_grace = BLOC(condition = "FORMAT == 'GRACE' ",fr="Paramètres pour le format GRACE", - regles=UN_PARMI('NUME_GRILLE','TYPE_RESU','POSITION'), - TYPE_VISU = SIMP(statut='o',typ='TXM',into=("AMPLITUDE","MODULE","VECTEUR","DEFORME")), - TYPE_RESU = SIMP(statut='f',typ='TXM',into=("MINI","MAXI")), - NUME_GRILLE = SIMP(statut='f',typ='I', max=1), # NUMERO DE LA GRILLE A POST-TRAITER - POSITION = SIMP(statut='f',typ='TXM', max=1), - CONCEPTION = SIMP(statut='f',typ='TXM', max=1), - ), - - b_def_table = BLOC(condition = "FORMAT == 'TABLE' ",fr="Paramètres pour le format TABLE", - NOM_CMP = SIMP(statut='o',typ='TXM',into=("DY","DZ","NORME")), - ), - - - ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr -POST_MAIL_XFEM=OPER(nom="POST_MAIL_XFEM",op= 187,sd_prod=maillage_sdaster, - reentrant='n',UIinfo={"groupes":("Maillage","Rupture",)}, - fr="Crée un maillage se conformant à la fissure pour le post-traitement des éléments XFEM", - MODELE = SIMP(statut='o',typ=modele_sdaster), - PREF_NOEUD_X =SIMP(statut='f',typ='TXM',defaut="NX",validators=LongStr(1,2),), - PREF_NOEUD_M =SIMP(statut='f',typ='TXM',defaut="NM",validators=LongStr(1,2),), - PREF_NOEUD_P =SIMP(statut='f',typ='TXM',defaut="NP",validators=LongStr(1,2),), - PREF_MAILLE_X =SIMP(statut='f',typ='TXM',defaut="MX",validators=LongStr(1,2),), - PREF_GROUP_CO =SIMP(statut='f',typ=grno ,defaut="NFISSU",), - TITRE = SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2,) ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -POST_RCCM=OPER(nom="POST_RCCM",op= 165,sd_prod=table_sdaster, - fr="Vérification des critères de niveau 0 et certains critères de niveau A du RCC-M-B3200 (Edition 1991)", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - TYPE_RESU =SIMP(statut='f',typ='TXM',defaut="VALE_MAX",into=("VALE_MAX","DETAILS") ), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - TITRE =SIMP(statut='f',typ='TXM',max='**'), - TYPE_RESU_MECA =SIMP(statut='o',typ='TXM',into=("EVOLUTION","UNITAIRE","TUYAUTERIE") ), - -# ====================================================================== - b_evolution =BLOC(condition="(TYPE_RESU_MECA == 'EVOLUTION')", - - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - into=("PM_PB","SN","FATIGUE_ZH210","AMORCAGE") ), - MATER =SIMP(statut='o',typ=mater_sdaster ), - SY_MAX =SIMP(statut='f',typ='R', - fr="limite élastique utilisée pour le calcul du rochet thermique" ), - TYPE_KE =SIMP(statut='f',typ='TXM',defaut="KE_MECA",into=("KE_MECA","KE_MIXTE"), - fr="Ke meca seul ou partition mecanique + thermique" ), - - TRANSITOIRE =FACT(statut='o',max='**',fr="transitoire à dépouiller", - regles=(EXCLUS('TOUT_ORDRE','INST','LIST_INST'), - UN_PARMI('TABL_RESU_MECA','TABL_SIGM_THETA'),), - NB_OCCUR =SIMP(statut='f',typ='I',defaut= 1, - fr="nombre d occurences réelles de ce transitoire" ), - TABL_RESU_MECA =SIMP(statut='f',typ=table_sdaster, - fr="relevé des contraintes sur le chemin"), - TABL_SIGM_THER =SIMP(statut='f',typ=table_sdaster, - fr="résultat sous chargement thermique seul" ), - TABL_RESU_PRES =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes sous chargement de pression" ), - TABL_SIGM_THETA =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes a la distance d de la singularité pour chacun des angles THETA" ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - b_inst =BLOC(condition = "(INST != None) or (LIST_INST != None)" , - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),),), - ), - ), - -# ====================================================================== - b_unitaire =BLOC(condition="(TYPE_RESU_MECA == 'UNITAIRE')", - - OPTION =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - into=("PM_PB","SN","FATIGUE") ), - MATER =SIMP(statut='o',typ=mater_sdaster ), - SY_MAX =SIMP(statut='f',typ='R', - fr="limite élastique utilisée pourle calcul du rochet thermique" ), - TYPE_KE =SIMP(statut='f',typ='TXM',defaut="KE_MECA",into=("KE_MECA","KE_MIXTE"), - fr="Ke meca seul ou partition mecanique + thermique" ), - CHAR_MECA =FACT(statut='o',max='**',fr="Chargements mécaniques", - regles=(UN_PARMI('MX','MX_TUBU'),), - NUME_CHAR =SIMP(statut='o',typ='I',fr="numéro du chargement" ), - NOM_CHAR =SIMP(statut='f',typ='TXM',fr="nom du chargement" ), - MX =SIMP(statut='f',typ='R',fr="moment suivant x", ), - MX_TUBU =SIMP(statut='f',typ='R',fr="moment suivant x, tubulure", ), - b_1_tenseur =BLOC( condition = "MX != None", - FX =SIMP(statut='f',typ='R',fr="effort suivant x", ), - FY =SIMP(statut='f',typ='R',fr="effort suivant y", ), - FZ =SIMP(statut='f',typ='R',fr="effort suivant z", ), - MY =SIMP(statut='o',typ='R',fr="moment suivant y", ), - MZ =SIMP(statut='o',typ='R',fr="moment suivant z", ), - ), - b_2_tenseurs =BLOC( condition = "MX_TUBU != None", - FX_TUBU =SIMP(statut='f',typ='R',fr="effort suivant x, tubulure", ), - FY_TUBU =SIMP(statut='f',typ='R',fr="effort suivant y, tubulure", ), - FZ_TUBU =SIMP(statut='f',typ='R',fr="effort suivant z, tubulure", ), - MY_TUBU =SIMP(statut='o',typ='R',fr="moment suivant y, tubulure", ), - MZ_TUBU =SIMP(statut='o',typ='R',fr="moment suivant z, tubulure", ), - FX_CORP =SIMP(statut='f',typ='R',fr="effort suivant x, corps du piquage", ), - FY_CORP =SIMP(statut='f',typ='R',fr="effort suivant y, corps du piquage", ), - FZ_CORP =SIMP(statut='f',typ='R',fr="effort suivant z, corps du piquage", ), - MX_CORP =SIMP(statut='o',typ='R',fr="moment suivant x, corps du piquage", ), - MY_CORP =SIMP(statut='o',typ='R',fr="moment suivant y, corps du piquage", ), - MZ_CORP =SIMP(statut='o',typ='R',fr="moment suivant z, corps du piquage", ), - ), - - ), - RESU_MECA_UNIT =FACT(statut='o',fr="resultats mécaniques unitaires", - regles=(UN_PARMI('TABL_MX','TABL_MX_TUBU'),), - TABL_MX =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MX"), - TABL_MX_TUBU =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MX_TUBU"), - b_1_tenseur =BLOC( condition = "TABL_MX != None", - TABL_FX =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FX"), - TABL_FY =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FY"), - TABL_FZ =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FZ"), - TABL_MY =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MY"), - TABL_MZ =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MZ"), - ), - b_2_tenseurs =BLOC( condition = "TABL_MX_TUBU != None", - TABL_FX_TUBU =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FX_TUBU"), - TABL_FY_TUBU =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FY_TUBU"), - TABL_FZ_TUBU =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FZ_TUBU"), - TABL_MY_TUBU =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MY_TUBU"), - TABL_MZ_TUBU =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MZ_TUBU"), - TABL_FX_CORP =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FX_CORP"), - TABL_FY_CORP =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FY_CORP"), - TABL_FZ_CORP =SIMP(statut='f',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire FZ_CORP"), - TABL_MX_CORP =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MX_CORP"), - TABL_MY_CORP =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MY_CORP"), - TABL_MZ_CORP =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire MZ_CORP"), - ), - TABL_PRES =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes pour chargement unitaire de pression"), - ), - - RESU_THER =FACT(statut='f',max='**',fr="resultats thermiques", - NUME_RESU_THER =SIMP(statut='o',typ='I',fr="numéro de la table de résultat thermique" ), - TABL_RESU_THER =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des contraintes sous chargement thermique seul" ), - ), - SEISME =FACT(statut='f',max='**',fr="Situation séisme",ang="situation_ang", - NB_OCCUR =SIMP(statut='o',typ='I',fr="nombre d'occurences de la situation" ), - NB_CYCL_SEISME =SIMP(statut='o',typ='I',fr="nombre de cycles associé au séisme" ), - NUME_SITU =SIMP(statut='o',typ='I',fr="numéro de la situation" ), - NOM_SITU =SIMP(statut='f',typ='TXM',fr="nom de la situation" ), - NUME_GROUPE =SIMP(statut='o',typ='I',fr="numéros du groupe de la situation" ), - CHAR_ETAT =SIMP(statut='o',typ='I',max='**',fr="numeros de chargements etat A" ), - ), - SITUATION =FACT(statut='o',max='**',fr="Situation",ang="situation_ang", - NB_OCCUR =SIMP(statut='o',typ='I',fr="nombre d'occurences de la situation" ), - NUME_SITU =SIMP(statut='o',typ='I',fr="numéro de la situation" ), - NOM_SITU =SIMP(statut='f',typ='TXM',fr="nom de la situation" ), - COMBINABLE =SIMP(statut='f',typ='TXM',defaut= "OUI",into=("OUI","NON"),fr="non = sous-cycle" ), - NUME_PASSAGE =SIMP(statut='f',typ='I',min=2,max=2, - fr="numéro des situations de passage" ), - NUME_GROUPE =SIMP(statut='o',typ='I', - fr="numéros des groupes de la situation" ), - NUME_RESU_THER =SIMP(statut='f',typ='I',max=1,fr="numeros de transitoires thermiques" ), - CHAR_ETAT_A =SIMP(statut='o',typ='I',max='**',fr="numeros de chargements etat A" ), - CHAR_ETAT_B =SIMP(statut='o',typ='I',max='**',fr="numeros de chargements etat B" ), - PRES_A =SIMP(statut='o',typ='R',fr="pression etat A"), - PRES_B =SIMP(statut='o',typ='R',fr="pression etat B"), - TEMP_REF_A =SIMP(statut='f',typ='R',fr="temperature référence etat A"), - TEMP_REF_B =SIMP(statut='f',typ='R',fr="temperature référence etat B"), - ), - - ), -# ====================================================================== - b_tuyauterie =BLOC(condition="(TYPE_RESU_MECA == 'TUYAUTERIE')", - - OPTION =SIMP(statut='o',typ='TXM',into=("FATIGUE",) ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - TYPE_KE =SIMP(statut='f',typ='TXM',defaut="KE_MECA",into=("KE_MECA","KE_MIXTE"), - fr="Ke meca seul ou partition mecanique + thermique" ), - MODELE =SIMP(statut='o',typ=modele_sdaster), - CARA_ELEM =SIMP(statut='o',typ=cara_elem), - ZONE_ANALYSE =FACT(statut='o',fr="liste des mailles ou des noeuds analysés", - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ), - RESU_MECA =FACT(statut='o',max='**',fr="Chargements mécaniques", - regles=(UN_PARMI('CHAM_GD','RESULTAT'),), - NUME_CHAR =SIMP(statut='o',typ='I',fr="numéro du chargement" ), - NOM_CHAR =SIMP(statut='f',typ='TXM',fr="nom du chargement" ), - CHAM_GD =SIMP(statut='f',typ=cham_gd_sdaster), - RESULTAT =SIMP(statut='f',typ=resultat_sdaster), - b_extrac =BLOC(condition="RESULTAT != None", - fr="extraction d un champ de grandeur", - regles=(UN_PARMI('TOUT_ORDRE','NUME_ORDRE','INST','NOEUD_CMP'),), - NOM_CHAM =SIMP(statut='o',typ='TXM',into=("EFGE_ELNO","SIEF_ELNO"),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',), - INST =SIMP(statut='f',typ='R',), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - b_acce_reel =BLOC(condition="(INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - ), - INDI_SIGM =FACT(statut='o',max='**',fr="indices de contraintes", - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'),), - C1 =SIMP(statut='f',typ='R',defaut=1.0,fr="indice de contraintes C1 du RCCM"), - K1 =SIMP(statut='f',typ='R',defaut=1.0,fr="indice de contraintes K1 du RCCM"), - C2 =SIMP(statut='f',typ='R',defaut=1.0,fr="indice de contraintes C2 du RCCM"), - K2 =SIMP(statut='f',typ='R',defaut=1.0,fr="indice de contraintes K2 du RCCM"), - C3 =SIMP(statut='f',typ='R',defaut=0.5,fr="indice de contraintes C3 du RCCM"), - K3 =SIMP(statut='f',typ='R',defaut=1.0,fr="indice de contraintes K3 du RCCM"), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",),), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**', - fr="groupe(s) de mailles ou sont affectés les indices de contraintes"), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**', - fr="liste des mailles ou sont affectés les indices de contraintes"), - b_grma =BLOC(condition="(GROUP_MA != None)or(MAILLE != None)", - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ), - TYPE_ELEM_STANDARD =SIMP(statut='f',typ='TXM',into=("DRO","COU","TRN","TEE"), - fr="type d'élément de tuyauterie ou sont affectés les indices de contraintes"), - ), - RESU_THER =FACT(statut='f',max='**',fr="resultats thermiques", - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),AU_MOINS_UN('TOUT','GROUP_MA','MAILLE'),), - NUME_RESU_THER =SIMP(statut='o',typ='I',fr="numéro de la table de résultat thermique" ), - TABL_RESU_THER =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des températures sur la section"), - TABL_MOYE_THER =SIMP(statut='o',typ=table_sdaster, - fr="table relevé des moyennes sur la section"), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - b_grma =BLOC(condition="(GROUP_MA != None)or(MAILLE != None)", - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - ), - ), - SEISME =FACT(statut='f',max='**',fr="Situation séisme",ang="situation_ang", - NB_OCCUR =SIMP(statut='o',typ='I',fr="nombre d'occurences de la situation" ), - NB_CYCL_SEISME =SIMP(statut='o',typ='I',fr="nombre de cycles associé au séisme" ), - NUME_SITU =SIMP(statut='o',typ='I',fr="numéro de la situation" ), - NOM_SITU =SIMP(statut='f',typ='TXM',fr="nom de la situation" ), - NUME_GROUPE =SIMP(statut='o',typ='I',fr="numéros du groupe de la situation" ), - CHAR_ETAT =SIMP(statut='o',typ='I',max='**',fr="numeros de chargements etat A" ), - TEMP_REF =SIMP(statut='f',typ='R',fr="temperature référence"), - ), - SITUATION =FACT(statut='o',max='**',fr="Situation",ang="situation_ang", - NB_OCCUR =SIMP(statut='o',typ='I',fr="nombre d'occurences de la situation" ), - NUME_SITU =SIMP(statut='o',typ='I',fr="numéro de la situation" ), - NOM_SITU =SIMP(statut='f',typ='TXM',fr="nom de la situation" ), - COMBINABLE =SIMP(statut='f',typ='TXM',defaut= "OUI",into=("OUI","NON"),fr="non = sous-cycle" ), - NUME_GROUPE =SIMP(statut='o',typ='I', - fr="numéros des groupes de la situation" ), - NUME_PASSAGE =SIMP(statut='f',typ='I',min=2,max=2, - fr="numéro des situations de passage" ), - NUME_RESU_THER =SIMP(statut='f',typ='I',max='**',fr="numeros de transitoires thermiques" ), - CHAR_ETAT_A =SIMP(statut='o',typ='I',max='**',fr="numeros de chargements etat A" ), - CHAR_ETAT_B =SIMP(statut='o',typ='I',max='**',fr="numeros de chargements etat B" ), - PRES_A =SIMP(statut='o',typ='R',fr="pression etat A"), - PRES_B =SIMP(statut='o',typ='R',fr="pression etat B"), - TEMP_REF_A =SIMP(statut='f',typ='R',fr="temperature référence etat A"), - TEMP_REF_B =SIMP(statut='f',typ='R',fr="temperature référence etat B"), - ), - ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: xavier.desroches at edf.fr -POST_RELEVE_T=OPER(nom="POST_RELEVE_T",op=51,sd_prod=table_sdaster,reentrant='f', - fr="Extraire des valeurs de composantes de champs de grandeurs pour y effectuer des calculs (moyenne,invariants,..)" - +" ou pour les exprimer dans d'autres repères", - docu="U4.81.21",UIinfo={"groupes":("Post-traitements","Résultats et champs",)}, - - ACTION =FACT(statut='o',max='**', - regles=(UN_PARMI('RESULTAT','CHAM_GD'),), - - OPERATION =SIMP(statut='o',typ='TXM',into=("EXTRACTION","MOYENNE","MOYENNE_ARITH","EXTREMA"), - validators=NoRepeat(), max=2), - INTITULE =SIMP(statut='o',typ='TXM'), - - CHAM_GD =SIMP(statut='f',typ=(cham_no_sdaster, - cham_elem,),), - RESULTAT =SIMP(statut='f',typ=resultat_sdaster), - - b_extrac =BLOC(condition = "RESULTAT != None",fr="extraction des résultats", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','LIST_ORDRE','NUME_MODE','LIST_MODE', - 'INST','LIST_INST','FREQ','LIST_FREQ','NOEUD_CMP','NOM_CAS'), ), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO(),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_MODE =SIMP(statut='f',typ=listis_sdaster), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - NOM_CAS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - - b_extrema =BLOC(condition="au_moins_un(OPERATION, 'EXTREMA')", - fr="recherche de MIN MAX", - regles=(EXCLUS('TOUT_CMP','NOM_CMP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",)), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - ), - - b_MOYENNE_ARITH =BLOC(condition="au_moins_un(OPERATION, 'MOYENNE_ARITH')", - fr="moyenne sur des groupes", - regles=(EXCLUS('TOUT_CMP','NOM_CMP'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",)), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - ), - - b_autre =BLOC(condition="aucun(OPERATION, ('EXTREMA', 'MOYENNE_ARITH'))", - fr="extraction et moyenne", - regles=(AU_MOINS_UN('CHEMIN','GROUP_NO','NOEUD'), - EXCLUS('CHEMIN','GROUP_NO'), - EXCLUS('CHEMIN','NOEUD'), - PRESENT_ABSENT('CHEMIN','GROUP_MA','MAILLE'), - UN_PARMI('TOUT_CMP','NOM_CMP','INVARIANT','ELEM_PRINCIPAUX','RESULTANTE'), - PRESENT_PRESENT('TRAC_DIR','DIRECTION'), - ENSEMBLE('MOMENT','POINT'), - PRESENT_PRESENT('MOMENT','RESULTANTE'), - PRESENT_ABSENT('TOUT_CMP','TRAC_DIR','TRAC_NOR'), - EXCLUS('TRAC_DIR','TRAC_NOR'), - PRESENT_PRESENT('ORIGINE','AXE_Z'),), - - CHEMIN =SIMP(statut='f',typ=(courbe_sdaster,surface_sdaster) ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - TOUT_CMP =SIMP(statut='f',typ='TXM',into=("OUI",)), - NOM_CMP =SIMP(statut='f',typ='TXM',max='**'), - INVARIANT =SIMP(statut='f',typ='TXM',into=("OUI",)), - ELEM_PRINCIPAUX =SIMP(statut='f',typ='TXM',into=("OUI",) ), - RESULTANTE =SIMP(statut='f',typ='TXM',max='**'), - - MOMENT =SIMP(statut='f',typ='TXM',max='**'), - POINT =SIMP(statut='f',typ='R',max='**'), - - REPERE =SIMP(statut='f',typ='TXM',defaut="GLOBAL", - into=("GLOBAL","LOCAL","POLAIRE","UTILISATEUR","CYLINDRIQUE"),), - ANGL_NAUT =SIMP(statut='f',typ='R',min=3,max=3), - ORIGINE =SIMP(statut='f',typ='R',min=3,max=3), - AXE_Z =SIMP(statut='f',typ='R',min=3,max=3), - - TRAC_NOR =SIMP(statut='f',typ='TXM',into=("OUI",)), - TRAC_DIR =SIMP(statut='f',typ='TXM',into=("OUI",)), - DIRECTION =SIMP(statut='f',typ='R',max='**'), - - VECT_Y =SIMP(statut='f',typ='R',max='**'), - MOYE_NOEUD =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - ), - - FORMAT_C =SIMP(statut='f',typ='TXM',defaut="MODULE",into=("MODULE","REEL","IMAG")), - - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -POST_RUPTURE=MACRO(nom="POST_RUPTURE", - op=OPS("Macro.post_rupture_ops.post_rupture_ops"), - sd_prod=table_sdaster, - fr="post-traitements en Rupture", - reentrant='f', - UIinfo={"groupes":("Résultats et champs","Rupture",)}, - - TABLE = SIMP(statut='o',typ=table_sdaster,max='**'), - -# rq : il est impossible de proposer le bon choix pour OPERATION suivant la valeur de reuse... - OPERATION = SIMP(statut='o',typ='TXM',into=( - 'ABSC_CURV_NORM', - 'ANGLE_BIFURCATION', - 'K_EQ', - 'DELTA_K_EQ', - 'COMPTAGE_CYCLES', - 'LOI_PROPA', - 'CUMUL_CYCLES', - 'PILO_PROPA', - 'K1_NEGATIF', - ) - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'ABSC_CURV_NORM' -#----------------------------------------------------------------------------------------------------------------------------------- - - - b_absc = BLOC(condition="OPERATION == 'ABSC_CURV_NORM'",fr="normalise l'abscisse curviligne", - - NOM_PARA = SIMP(statut='f',typ='TXM',max=1,defaut="ABSC_CURV_NORM",fr="Nom de la nouvelle colonne"), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'ANGLE_BIFURCATION' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_angle = BLOC(condition="OPERATION == 'ANGLE_BIFURCATION' ",fr="Angle de bifurcation", - - NOM_PARA = SIMP(statut='f',typ='TXM',max=1,defaut="BETA",fr="Nom de la nouvelle colonne"), - CRITERE = SIMP(statut='f',typ='TXM',max=1,defaut="SITT_MAX",into=('SITT_MAX','K1_MAX','K2_NUL','PLAN'),), - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'K_EQ' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_Keq = BLOC(condition="OPERATION == 'K_EQ' ",fr="Cumul sur les modes : calcul du K equivalent", - - NOM_PARA = SIMP(statut='f',typ='TXM',max=1,defaut="K_EQ",fr="Nom de la nouvelle colonne"), - CUMUL = SIMP(statut='f',typ='TXM',max=1,defaut="CUMUL_G",fr="Formule de cumul des modes", - into=('LINEAIRE','QUADRATIQUE','CUMUL_G','MODE_I'),), - - b_mater = BLOC(condition="CUMUL in ('QUADRATIQUE','CUMUL_G')",fr="materiau du fond de fissure", - MATER = SIMP(statut='o',typ=mater_sdaster,), - ), - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'DELTA_K_EQ' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_DeltaKeq = BLOC(condition="OPERATION == 'DELTA_K_EQ' ",fr="Cumul sur les modes : calcul du DeltaK equivalent", - - NOM_PARA = SIMP(statut='f',typ='TXM',max=1,defaut="DELTA_K_EQ",fr="Nom de la nouvelle colonne"), - CUMUL = SIMP(statut='f',typ='TXM',max=1,defaut="CUMUL_G",fr="Formule de cumul des modes", - into=('QUADRATIQUE','CUMUL_G','MODE_I'),), - - b_mater = BLOC(condition="CUMUL in ('QUADRATIQUE','CUMUL_G')",fr="materiau du fond de fissure", - MATER = SIMP(statut='o',typ=mater_sdaster,), - ), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'COMPTAGE_CYCLES' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_Comptage = BLOC(condition="OPERATION == 'COMPTAGE_CYCLES' ",fr="Comptage des cycles", - - NOM_PARA = SIMP(statut='o',typ='TXM',validators=NoRepeat(),max='**', - fr="Nom des quantités sur lesquelles s'effectuent le comptage"), - COMPTAGE = SIMP(statut='o',typ='TXM',into=("RAINFLOW","RCCM","NATUREL","UNITAIRE")), - DELTA_OSCI = SIMP(statut='f',typ='R',defaut= 0.0E+0), - - b_Comptage_Unitaire = BLOC(condition="COMPTAGE=='UNITAIRE'", - fr="comptage unitaire pour les amplitudes constantes", - - COEF_MULT_MINI = SIMP(statut='o',typ='R',), - COEF_MULT_MAXI = SIMP(statut='o',typ='R',), - - ), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'LOI_PROPA' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_Loi_Propa = BLOC(condition="OPERATION == 'LOI_PROPA' ",fr="calcul de l'incrément d'avancée de fissure par cycle", - - NOM_PARA = SIMP(statut='f',typ='TXM',defaut="DELTA_A" ,max=1,fr="Nom de la nouvelle colonne"), - NOM_DELTA_K_EQ = SIMP(statut='f',typ='TXM',defaut="DELTA_K_EQ",max=1, - fr="Nom de la quantité correspondant au Delta_K_eq"), - LOI = SIMP(statut='o',typ='TXM',into=("PARIS",)), - - b_paris = BLOC(condition = "LOI=='PARIS'", - C = SIMP(statut='o',typ='R',), - M = SIMP(statut='o',typ='R',), - ), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'CUMUL_CYCLES' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_cumul = BLOC(condition="OPERATION == 'CUMUL_CYCLES' ",fr="Cumul sur les cycles", - - NOM_PARA = SIMP(statut='f',typ='TXM',max=1,defaut="DELTA_A",fr="Nom de la colonne à traiter"), - CUMUL = SIMP(statut='f',typ='TXM',max=1,defaut="LINEAIRE",into=('LINEAIRE',)), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'PILO_PROPA' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_pilo_propa = BLOC(condition="OPERATION == 'PILO_PROPA' ",fr="Pilotage de la propagation", - - regles = UN_PARMI('DELTA_A_MAX','DELTA_N'), - DELTA_A_MAX = SIMP(statut='f',typ='R',max=1,val_min=0.,fr="Pilotage en incrément d'avancée max"), - DELTA_N = SIMP(statut='f',typ='R',max=1,val_min=1 ,fr="Pilotage en incrément de nombre de blocs"), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- -# 'K1_NEGATIF' -#----------------------------------------------------------------------------------------------------------------------------------- - - b_k1_neg = BLOC(condition="OPERATION == 'K1_NEGATIF' ",fr="Mise a zero des valeurs negatives de K1", - - MODELISATION = SIMP(statut='o',typ='TXM',into=("C_PLAN","D_PLAN","3D","AXIS")), - MATER = SIMP(statut='o',typ=mater_sdaster,), - - ), - -#----------------------------------------------------------------------------------------------------------------------------------- - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: irmela.zentner at edf.fr -POST_USURE=OPER(nom="POST_USURE",op=153,sd_prod=table_sdaster,reentrant='f', - UIinfo={"groupes":("Post-traitements",)}, - fr="Calcul des volumes d'usure et des profondeurs d'usure d'après la puissance d'usure", - regles=(UN_PARMI('TUBE_NEUF','RESU_GENE','PUIS_USURE'), - PRESENT_PRESENT('RESU_GENE','NOEUD','LOI_USURE'), - PRESENT_PRESENT('PUIS_USURE','LOI_USURE'),), - TUBE_NEUF =SIMP(statut='f',typ='TXM',into=("OUI",) ), - ETAT_INIT =FACT(statut='f', - TABL_USURE =SIMP(statut='f',typ=table_sdaster), - INST_INIT =SIMP(statut='f',typ='R'), - ), - RESU_GENE =SIMP(statut='f',typ=tran_gene), - NOEUD =SIMP(statut='f',typ=no,), - INST_INIT =SIMP(statut='f',typ='R',defaut=-1.0E+0), - INST_FIN =SIMP(statut='f',typ='R'), - NB_BLOC =SIMP(statut='f',typ='I',defaut= 1 ), - PUIS_USURE =SIMP(statut='f',typ='R'), - LOI_USURE =SIMP(statut='f',typ='TXM',into=("ARCHARD","KWU_EPRI","EDF_MZ")), - b_archard =BLOC(condition = "LOI_USURE == 'ARCHARD'", - regles=(UN_PARMI('MOBILE','MATER_USURE','SECTEUR'), - EXCLUS('MATER_USURE','OBSTACLE'), - EXCLUS('MOBILE','USURE_OBST'),), - MOBILE =FACT(statut='f', - COEF_USURE =SIMP(statut='o',typ='R'), - ), - OBSTACLE =FACT(statut='f', - COEF_USURE =SIMP(statut='o',typ='R'), - ), - SECTEUR =FACT(statut='f',max='**', - CONTACT =SIMP(statut='f',typ='TXM',into=("TUBE_BAV","TUBE_ALESAGE","TUBE_4_ENCO", - "GRAPPE_ALESAGE","TUBE_3_ENCO","TUBE_TUBE", - "GRAPPE_1_ENCO","GRAPPE_2_ENCO")), - COEF_USUR_MOBILE=SIMP(statut='f',typ='R'), - COEF_USUR_OBST =SIMP(statut='f',typ='R'), - ANGL_INIT =SIMP(statut='f',typ='R'), - ANGL_FIN =SIMP(statut='f',typ='R'), - ), - MATER_USURE =SIMP(statut='f',typ='TXM'), - USURE_OBST =SIMP(statut='f',typ='TXM',into=("OUI",)), - ), - b_kwu_epri =BLOC(condition = "LOI_USURE == 'KWU_EPRI'", - regles=(UN_PARMI('MOBILE','MATER_USURE'), - EXCLUS('MATER_USURE','OBSTACLE'), - EXCLUS('MOBILE','USURE_OBST'),), - MOBILE =FACT(statut='f', - COEF_FNOR =SIMP(statut='f',typ='R'), - COEF_VTAN =SIMP(statut='f',typ='R'), - COEF_USURE =SIMP(statut='f',typ='R'), - COEF_K =SIMP(statut='f',typ='R',defaut=5.0E+0), - COEF_C =SIMP(statut='f',typ='R',defaut=10.0E+0), - ), - OBSTACLE =FACT(statut='f', - COEF_FNOR =SIMP(statut='f',typ='R' ), - COEF_VTAN =SIMP(statut='f',typ='R' ), - COEF_USURE =SIMP(statut='o',typ='R'), - COEF_K =SIMP(statut='f',typ='R',defaut=5.0E+0), - COEF_C =SIMP(statut='f',typ='R',defaut=10.0E+0), - ), - MATER_USURE =SIMP(statut='f',typ='TXM'), - USURE_OBST =SIMP(statut='f',typ='TXM',into=("OUI",)), - FNOR_MAXI =SIMP(statut='f',typ='R' ), - VTAN_MAXI =SIMP(statut='f',typ='R' ), - ), - b_edf_mz =BLOC(condition = "LOI_USURE == 'EDF_MZ'", - regles=(UN_PARMI('MOBILE','MATER_USURE'), - EXCLUS('MATER_USURE','OBSTACLE'), - EXCLUS('MOBILE','USURE_OBST'),), - MOBILE =FACT(statut='f', - COEF_USURE =SIMP(statut='f',typ='R',defaut=1.0E-13), - COEF_B =SIMP(statut='f',typ='R',defaut=1.2E+0), - COEF_N =SIMP(statut='f',typ='R',defaut=2.44E-8), - COEF_S =SIMP(statut='f',typ='R',defaut=1.14E-16), - ), - OBSTACLE =FACT(statut='f', - COEF_USURE =SIMP(statut='o',typ='R',defaut=1.0E-13), - COEF_B =SIMP(statut='f',typ='R',defaut=1.2E+0), - COEF_N =SIMP(statut='f',typ='R',defaut=2.44E-8), - COEF_S =SIMP(statut='f',typ='R',defaut=1.14E-16), - ), - MATER_USURE =SIMP(statut='f',typ='TXM'), - USURE_OBST =SIMP(statut='f',typ='TXM',into=("OUI",)), - ), - b_tube_neuf =BLOC(condition = "TUBE_NEUF == 'OUI'", - TABL_USURE =SIMP(statut='o',typ=table_sdaster), - ), - CONTACT =SIMP(statut='f',typ='TXM',into=("TUBE_BAV","TUBE_ALESAGE","TUBE_4_ENCO", - "GRAPPE_ALESAGE","TUBE_3_ENCO","TUBE_TUBE", - "GRAPPE_1_ENCO","GRAPPE_2_ENCO")), - RAYON_MOBILE =SIMP(statut='f',typ='R'), - RAYON_OBST =SIMP(statut='f',typ='R'), - LARGEUR_OBST =SIMP(statut='f',typ='R'), - ANGL_INCLI =SIMP(statut='f',typ='R'), - ANGL_ISTHME =SIMP(statut='f',typ='R'), - ANGL_IMPACT =SIMP(statut='f',typ='R'), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - COEF_INST =SIMP(statut='f',typ='R',defaut=1.0E+0), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr - -POURSUITE=MACRO(nom="POURSUITE", - op=OPS("Cata.ops.build_poursuite"), - repetable='n', - fr="Poursuite d'une étude à partir de la sauvegarde au format JEVEUX " \ - "ou HDF de sa base globale", - sd_prod = ops.POURSUITE, - UIinfo={"groupes":("Gestion du travail",)}, - op_init=ops.POURSUITE_context, - fichier_ini=1, - FORMAT_HDF =SIMP(fr="sauvegarde de la base GLOBALE au format HDF",statut='f', - typ='TXM',defaut="NON",into=("OUI","NON",) ), - PAR_LOT =SIMP(fr="mode de traitement des commandes",statut='f',typ='TXM', - into=("OUI","NON"),defaut="OUI"), - IMPR_MACRO =SIMP(fr="affichage des sous-commandes produites par les macros dans le fichier mess", - statut='f',typ='TXM',into=("OUI","NON"),defaut="NON"), - - BASE =FACT(fr="définition des paramètres associés aux bases JEVEUX", - statut='f',min=1,max=2, - FICHIER =SIMP(fr="nom de la base",statut='o',typ='TXM'), - TITRE =SIMP(statut='f',typ='TXM'), - CAS =SIMP(statut='f',typ='TXM'), - NMAX_ENRE =SIMP(fr="nombre maximum d enregistrements",statut='f',typ='I'), - LONG_ENRE =SIMP(fr="longueur des enregistrements",statut='f',typ='I'), - LONG_REPE =SIMP(fr="longueur du répertoire",statut='f',typ='I'), - ), - -# Le mot cle CATALOGUE n'est jamais utilise en POURSUITE mais sa presence est necessaire au bon fonctionnement -# de la commande, le code source etant commun aux commandes DEBUT et POURSUITE. -# - CATALOGUE =FACT(statut='f',min=1,max=10, - FICHIER =SIMP(statut='o',typ='TXM'), - UNITE =SIMP(statut='f',typ='I'), - ), - - ERREUR =FACT(fr="comportement en cas d'erreur",statut='f',min=1,max=1, - ERREUR_F =SIMP(statut='f',typ='TXM',into=('ABORT','EXCEPTION'),defaut='ABORT'), - ), - - DEBUG =FACT(fr="option de déboggage reservée aux développeurs", - statut='f',min=1,max=1, - JXVERI =SIMP(fr="vérifie l intégrité de la segmentation mémoire", - statut='f',typ='TXM',into=('OUI','NON'),defaut='NON'), - SDVERI =SIMP(fr="vérifie la conformité des SD produites par les commandes", - statut='f',typ='TXM',into=('OUI','NON')), - JEVEUX =SIMP(fr="force les déchargement sur disque", - statut='f',typ='TXM',into=('OUI','NON'),defaut='NON'), - ENVIMA =SIMP(fr="imprime les valeurs définies dans ENVIMA", - statut='f',typ='TXM',into=('TEST',)), - HIST_ETAPE = SIMP(fr="permet de conserver toutes les étapes du jeu de commandes", - statut='f', typ='TXM', into=('OUI', 'NON'), defaut='NON'), - ), - - MESURE_TEMPS =FACT(fr="Pour choisir les mesures de temps consommé dans les commandes", - statut='d',min=1,max=1, - NIVE_DETAIL =SIMP(fr="niveau de détail des impressions", - statut='f',typ='I',into=(0,1,2,3),defaut=1), - # 0 : rien - # 1 : impression en fin de commande des mesures principales - # 2 : impression en fin de commande des mesures principales et secondaires - # 3 : impression des mesures principales et secondaires pour chaque pas de temps - MOYENNE =SIMP(fr="affichage des moyennes et écart-types en parallèle", - statut='f',typ='TXM',into=('OUI','NON',),defaut='NON'), - ), - - MEMOIRE =FACT(fr="mode de gestion mémoire utilisé",statut='d',min=1,max=1, - TAILLE_BLOC =SIMP(statut='f',typ='R',defaut=800.), - TAILLE_GROUP_ELEM =SIMP(statut='f',typ='I',defaut=1000), - ), - - RESERVE_CPU =FACT(fr="reserve de temps pour terminer une execution",statut='d',max=1, - regles=(EXCLUS('VALE','POURCENTAGE'),), - VALE =SIMP(statut='f',typ='I',val_min=0), -# valeur par défaut fixée à 10. dans le FORTRAN si CODE présent - POURCENTAGE =SIMP(statut='f',typ='R',val_min=0.,val_max=1.0), -# valeur par défaut fixée à 10% dans le FORTRAN - BORNE =SIMP(statut='f',typ='I',val_min=0,defaut=900) ), -# valeur en pourcentage du temps maximum bornée à 900 secondes - - CODE =SIMP(statut='f',typ='TXM',into=('OUI', 'NON'),defaut='NON', - fr="paramètre réservé aux cas-tests"), - - IGNORE_ALARM = SIMP(statut='f', typ='TXM', max='**', fr="Alarmes que l'utilisateur souhaite délibérément ignorer"), - - LANG = SIMP(statut='f', typ='TXM', - fr="Permet de choisir la langue utilisée pour les messages (si disponible)", - ang="Allows to choose the language used for messages (if available)"), - - INFO = SIMP(statut='f', typ='I', defaut=1, into=(1,2),), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -PRE_GIBI=PROC(nom="PRE_GIBI",op=49, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Conversion d'un fichier de maillage GIBI au format Aster", - UNITE_GIBI =SIMP(statut='f',typ='I',defaut=19), - UNITE_MAILLAGE =SIMP(statut='f',typ='I',defaut=20), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -PRE_GMSH=PROC(nom="PRE_GMSH",op=47, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Conversion d'un fichier de maillage GMSH au format Aster", - UNITE_GMSH =SIMP(statut='f',typ='I',defaut=19), - UNITE_MAILLAGE =SIMP(statut='f',typ='I',defaut=20), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: alexei.mikchevitch at edf.fr -PRE_IDEAS=PROC(nom="PRE_IDEAS",op=47, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Conversion d'un fichier universel IDEAS-SUPERTAB au format Aster", - UNITE_IDEAS =SIMP(statut='f',typ='I',defaut=19), - UNITE_MAILLAGE =SIMP(statut='f',typ='I',defaut=20), - CREA_GROUP_COUL =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -PROD_MATR_CHAM=OPER(nom="PROD_MATR_CHAM",op= 156,sd_prod=cham_no_sdaster, - fr="Effectuer le produit d'une matrice par un vecteur", - reentrant='n', - UIinfo={"groupes":("Post-traitements","Matrices et vecteurs",)}, - MATR_ASSE =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r,matr_asse_pres_c ) ), - CHAM_NO =SIMP(statut='o',typ=cham_no_sdaster), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== - -# person_in_charge: emmanuel.boyere at edf.fr - - -def proj_base_prod(self,MATR_ASSE_GENE,VECT_ASSE_GENE, - RESU_GENE, NUME_DDL_GENE, - STOCKAGE,**args ): - if NUME_DDL_GENE is not None and NUME_DDL_GENE.is_typco(): - self.type_sdprod(NUME_DDL_GENE, nume_ddl_gene) - if MATR_ASSE_GENE != None: - for m in MATR_ASSE_GENE: - self.type_sdprod(m['MATRICE'],matr_asse_gene_r) - if VECT_ASSE_GENE != None: - for v in VECT_ASSE_GENE: - self.type_sdprod(v['VECTEUR'],vect_asse_gene) - if RESU_GENE != None: - for v in RESU_GENE: - self.type_sdprod(v['RESULTAT'],tran_gene) - return None - -PROJ_BASE=MACRO(nom="PROJ_BASE", - op=OPS('Macro.proj_base_ops.proj_base_ops'), - regles=(AU_MOINS_UN('MATR_ASSE_GENE','VECT_ASSE_GENE','RESU_GENE')), - UIinfo={"groupes":("Matrices et vecteurs","Dynamique",)}, - sd_prod=proj_base_prod, - fr="Projection des matrices et/ou vecteurs assembles sur une base (modale ou de RITZ)", - BASE =SIMP(statut='o',typ=(mode_meca,mode_gene) ), - NB_VECT =SIMP(statut='f',typ='I',defaut= 9999), - STOCKAGE =SIMP(statut='f',typ='TXM',defaut="PLEIN",into=("PLEIN","DIAG") ), - NUME_DDL_GENE =SIMP(statut='f',typ=(nume_ddl_gene,CO),defaut=None), - MATR_ASSE_GENE =FACT(statut='f',max='**', - MATRICE =SIMP(statut='o',typ=CO,), - regles=(UN_PARMI('MATR_ASSE','MATR_ASSE_GENE',),), - MATR_ASSE =SIMP(statut='f',typ=matr_asse_depl_r), - MATR_ASSE_GENE =SIMP(statut='f',typ=matr_asse_gene_r), - ), - VECT_ASSE_GENE =FACT(statut='f',max='**', - VECTEUR =SIMP(statut='o',typ=CO,), - regles=(UN_PARMI('VECT_ASSE','VECT_ASSE_GENE',),), - TYPE_VECT =SIMP(statut='f',typ='TXM',defaut="FORC"), - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster), - VECT_ASSE_GENE =SIMP(statut='f',typ=vect_asse_gene), - ), - RESU_GENE =FACT(statut='f',max='**', - RESULTAT =SIMP(statut='o',typ=CO,), - TYPE_VECT =SIMP(statut='f',typ='TXM',defaut="FORC"), - RESU =SIMP(statut='o',typ=dyna_trans), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr -def proj_champ_prod(RESULTAT=None,CHAM_GD=None,METHODE=None,**args ): - if (RESULTAT == None and CHAM_GD == None) : return corresp_2_mailla - if RESULTAT != None : return AsType(RESULTAT) - if CHAM_GD != None and METHODE == 'SOUS_POINT' : - return cham_elem - else : - return AsType(CHAM_GD) - raise AsException("type de concept resultat non prevu") - - - - -PROJ_CHAMP=OPER(nom="PROJ_CHAMP",op= 166,sd_prod=proj_champ_prod,reentrant='f', - UIinfo={"groupes":("Résultats et champs",)}, - fr="Projeter des champs d'un maillage sur un autre", - - # faut-il projeter les champs ? - PROJECTION =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON",),), - - # pour projeter avec une sd_corresp_2_mailla deja calculée : - MATR_PROJECTION =SIMP(statut='f',typ=corresp_2_mailla,), - - - - #----------------------------------------------------------------------------------------------------------- - # 1er cas : on fait tout d'un coup : creation de la sd_corresp_2_mailla + projection des champs - #----------------------------------------------------------------------------------------------- - b_1_et_2 =BLOC(condition= "PROJECTION == 'OUI' and MATR_PROJECTION == None", - regles=(UN_PARMI('RESULTAT','CHAM_GD'), - UN_PARMI('MODELE_1','MAILLAGE_1'), - UN_PARMI('MODELE_2','MAILLAGE_2'), - ), - RESULTAT =SIMP(statut='f',typ=resultat_sdaster), - CHAM_GD =SIMP(statut='f',typ=(cham_no_sdaster,cham_elem)), - - METHODE =SIMP(statut='f',typ='TXM',defaut="AUTO", - into=("NUAGE_DEG_0","NUAGE_DEG_1","AUTO","COLLOCATION","ECLA_PG","SOUS_POINT") ), - - - MODELE_1 =SIMP(statut='f',typ=modele_sdaster), - MAILLAGE_1 =SIMP(statut='f',typ=(maillage_sdaster,squelette)), - - MODELE_2 =SIMP(statut='f',typ=modele_sdaster), - MAILLAGE_2 =SIMP(statut='f',typ=maillage_sdaster), - - # Cas de la projection NUAGE_DEG_0/1 : - #-------------------------------------------- - b_nuage =BLOC(condition="METHODE in ('NUAGE_DEG_0','NUAGE_DEG_1')", - CHAM_NO_REFE =SIMP(statut='o',typ=cham_no_sdaster), - ), - - - # Cas de la projection COLLOCATION : - #-------------------------------------------- - b_elem =BLOC(condition="METHODE in ('COLLOCATION','ECLA_PG','AUTO')", - CAS_FIGURE =SIMP(statut='f',typ='TXM',into=("2D","3D","2.5D","1.5D",), - fr="Pour indiquer au programme le type de projection souhaité"), - DISTANCE_MAX =SIMP(statut='f',typ='R', - fr="Distance maximale entre le noeud et l'élément le plus proche, lorsque le noeud n'est dans aucun élément."), - - TRANSF_GEOM_1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_1 avant la projection."), - TRANSF_GEOM_2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_2 avant la projection."), - - ALARME =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - - TYPE_CHAM =SIMP(statut='f',typ='TXM',into=("NOEU",), - fr="Pour forcer le type des champs projetés. NOEU -> cham_no"), - - PROL_ZERO =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON", - fr="Pour prolonger les champs par zéro là ou la projection ne donne pas de valeurs."), - ), - - # Cas de la projection SOUS_POINT : - #-------------------------------------------- - b_sous_point =BLOC(condition="METHODE == 'SOUS_POINT'" , - CARA_ELEM =SIMP(statut='o',typ=cara_elem), - PROL_ZERO =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON", - fr="Pour prolonger les champs par zéro là ou la projection ne donne pas de valeurs."), - TRANSF_GEOM_1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_1 avant la projection."), - TRANSF_GEOM_2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_2 avant la projection."), - ), - - - # Cas de la projection d'une sd_resultat : - #-------------------------------------------- - b_resultat =BLOC(condition="RESULTAT != None", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','LIST_INST','LIST_FREQ','LIST_ORDRE'), - EXCLUS('TOUT_CHAM','NOM_CHAM',),), - NOM_PARA =SIMP(statut='f',typ='TXM', max='**'), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO(),), - - NUME_DDL =SIMP(statut='f',typ=(nume_ddl_sdaster), - fr="Utile en dynamique pour pouvoir imoser la numérotation des cham_no."), - - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - - b_acce_reel =BLOC(condition="(FREQ != None)or(LIST_FREQ != None)or(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - ), - - - VIS_A_VIS =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT_1','GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - AU_MOINS_UN('TOUT_2','GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'),), - TOUT_1 =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT_2 =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - # les mots clés suivants ne sont actifs que si METHODE='COLLOCATION' mais on ne peut pas le vérifier: - CAS_FIGURE =SIMP(statut='f',typ='TXM',into=("2D","3D","2.5D","1.5D",) ), - TRANSF_GEOM_1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_1 avant la projection."), - TRANSF_GEOM_2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_2 avant la projection."), - ), - ), # fin bloc b_1_et_2 - - - - #----------------------------------------------------------------------------------------------------------- - # 2eme cas : on s'arrete apres la creation de la sd_corresp_2_mailla - #----------------------------------------------------------------------------------------------- - b_1 =BLOC(condition="PROJECTION == 'NON'", - - METHODE =SIMP(statut='f',typ='TXM',defaut="COLLOCATION", - into=("COLLOCATION","COUPLAGE",) ), - - regles=(UN_PARMI('MODELE_1','MAILLAGE_1'), - UN_PARMI('MODELE_2','MAILLAGE_2'), - ), - MODELE_1 =SIMP(statut='f',typ=modele_sdaster), - MAILLAGE_1 =SIMP(statut='f',typ=maillage_sdaster), - - MODELE_2 =SIMP(statut='f',typ=modele_sdaster), - MAILLAGE_2 =SIMP(statut='f',typ=maillage_sdaster), - - - # Cas de la projection COLLOCATION : - #-------------------------------------------- - b_elem =BLOC(condition="METHODE in ('COLLOCATION',)", - CAS_FIGURE =SIMP(statut='f',typ='TXM',into=("2D","3D","2.5D","1.5D",), - fr="Pour indiquer au programme le type de projection souhaité"), - DISTANCE_MAX =SIMP(statut='f',typ='R', - fr="Distance maximale entre le noeud et l'élément le plus proche, lorsque le noeud n'est dans aucun élément."), - - TRANSF_GEOM_1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_1 avant la projection."), - TRANSF_GEOM_2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_2 avant la projection."), - - ALARME =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - - ), - - VIS_A_VIS =FACT(statut='f',max='**', - regles=(AU_MOINS_UN('TOUT_1','GROUP_MA_1','MAILLE_1','GROUP_NO_1','NOEUD_1'), - AU_MOINS_UN('TOUT_2','GROUP_MA_2','MAILLE_2','GROUP_NO_2','NOEUD_2'),), - TOUT_1 =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_1 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_1 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_1 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_1 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - TOUT_2 =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA_2 =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE_2 =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - GROUP_NO_2 =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD_2 =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - - # les mots clés suivants ne sont actifs que si METHODE='COLLOCATION' mais on ne peut pas le vérifier: - CAS_FIGURE =SIMP(statut='f',typ='TXM',into=("2D","3D","2.5D","1.5D",) ), - TRANSF_GEOM_1 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_1 avant la projection."), - TRANSF_GEOM_2 =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),min=2,max=3, - fr="2 (ou 3) fonctions fx,fy,fz définissant la transformation géométrique à appliquer"+ - " aux noeuds du MODELE_2 avant la projection."), - ), - ), # fin bloc b_1 - - - - #----------------------------------------------------------------------------------------------------------- - # 3eme cas : on projette les champs avec une sd_corresp_2_mailla déjé calculée - #----------------------------------------------------------------------------------------------- - b_2 =BLOC(condition="MATR_PROJECTION != None", - regles=(UN_PARMI('RESULTAT','CHAM_GD'),), - RESULTAT =SIMP(statut='f',typ=resultat_sdaster), - CHAM_GD =SIMP(statut='f',typ=(cham_no_sdaster,cham_elem)), - - TYPE_CHAM =SIMP(statut='f',typ='TXM',into=("NOEU",), - fr="Pour forcer le type des champs projetés. NOEU -> cham_no"), - - NUME_DDL =SIMP(statut='f',typ=(nume_ddl_sdaster), - fr="Parfois utile en dynamique pour pouvoir imposer la numérotation des cham_no."), - - # nécessaire si l'on projette des cham_elem : - MODELE_2 =SIMP(statut='f',typ=modele_sdaster), - - PROL_ZERO =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON", - fr="Pour prolonger les champs par zéro là où la projection ne donne pas de valeurs."), - - - - # Cas de la projection d'une sd_resultat : - #-------------------------------------------- - b_resultat =BLOC(condition="RESULTAT != None", - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','FREQ','LIST_INST','LIST_FREQ','LIST_ORDRE'), - EXCLUS('TOUT_CHAM','NOM_CHAM',),), - - NOM_PARA =SIMP(statut='f',typ='TXM', max='**'), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**',into=C_NOM_CHAM_INTO(),), - - - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - NOEUD_CMP =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max='**'), - - b_acce_reel =BLOC(condition="(FREQ != None)or(LIST_FREQ != None)or(INST != None)or(LIST_INST != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - - ), - ), # fin bloc b_2 - - - - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr -def matr_asse_gene_prod(MATR_ASSE,MATR_ASSE_GENE,**args): - if AsType(MATR_ASSE) == matr_asse_depl_r : return matr_asse_gene_r - if AsType(MATR_ASSE_GENE) == matr_asse_gene_r : return matr_asse_gene_r - if AsType(MATR_ASSE) == matr_asse_depl_c : return matr_asse_gene_c - if AsType(MATR_ASSE_GENE) == matr_asse_gene_c : return matr_asse_gene_c - raise AsException("type de concept resultat non prevu") - -PROJ_MATR_BASE=OPER(nom="PROJ_MATR_BASE",op= 71,sd_prod=matr_asse_gene_prod, - fr="Projection d'une matrice assemblée sur une base (modale ou de RITZ)", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(UN_PARMI('MATR_ASSE','MATR_ASSE_GENE'),), - BASE =SIMP(statut='o',typ=(mode_meca,mode_gene ) ), - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - MATR_ASSE =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_depl_c) ), - MATR_ASSE_GENE =SIMP(statut='f',typ=(matr_asse_gene_r,matr_asse_gene_c) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: harinaivo.andriambololona at edf.fr -def proj_mesu_modal_prod(MODELE_MESURE,**args): - vale=MODELE_MESURE['MESURE'] - if AsType(vale) == dyna_trans : return tran_gene - if AsType(vale) == dyna_harmo : return harm_gene - if AsType(vale) == mode_meca : return mode_gene - if AsType(vale) == mode_meca_c : return mode_gene -# if AsType(vale) == base_modale : return mode_gene - raise AsException("type de concept resultat non prevu") - -PROJ_MESU_MODAL=OPER(nom="PROJ_MESU_MODAL",op= 193, - sd_prod=proj_mesu_modal_prod, - reentrant='n', - UIinfo={"groupes":("Résultats et champs",)}, - fr="Calcul des coordonnees généralisees de mesure experimentale relatives a une base de projection", - - MODELE_CALCUL =FACT(statut='o', - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), -# BASE =SIMP(statut='o',typ=(mode_meca,base_modale,) ), - BASE =SIMP(statut='o',typ= mode_meca, ), - ), - MODELE_MESURE =FACT(statut='o', - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), -# MESURE =SIMP(statut='o',typ=(dyna_trans,dyna_harmo,base_modale,mode_meca,mode_meca_c,) ), - MESURE =SIMP(statut='o',typ=(dyna_trans,dyna_harmo,mode_meca,mode_meca_c,) ), - NOM_CHAM =SIMP(statut='f',typ='TXM',defaut="DEPL",into=("DEPL","VITE","ACCE", - "SIEF_NOEU","EPSI_NOEU",),max='**'), - ), - CORR_MANU =FACT(statut='f',max='**', - regles=(PRESENT_PRESENT('NOEU_CALCUL','NOEU_MESURE'),), - NOEU_CALCUL =SIMP(statut='f',typ=no), - NOEU_MESURE =SIMP(statut='f',typ=no), - ), - NOM_PARA =SIMP(statut='f',typ='TXM',max='**'), - RESOLUTION =FACT(statut='f', - METHODE =SIMP(statut='f',typ='TXM',defaut="LU",into=("LU","SVD",) ), - b_svd =BLOC(condition="METHODE=='SVD'", - EPS=SIMP(statut='f',typ='R',defaut=0. ), - ), - REGUL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","NORM_MIN","TIK_RELA",) ), - b_regul =BLOC(condition="REGUL!='NON'", - regles=(PRESENT_ABSENT('COEF_PONDER','COEF_PONDER_F', ),), - COEF_PONDER =SIMP(statut='f',typ='R',defaut=0. ,max='**' ), - COEF_PONDER_F =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule),max='**' ), - ), - ), - - ); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: albert.alarcon at edf.fr - -PROJ_RESU_BASE=OPER(nom="PROJ_RESU_BASE",op= 79,sd_prod=tran_gene, - fr="Projection d'une sd resultat assemblee sur une base (modale ou de RITZ)", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - BASE =SIMP(statut='o',typ=(mode_meca,mode_gene) ), - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - TYPE_VECT =SIMP(statut='f',typ='TXM',defaut="FORC"), - RESU =SIMP(statut='o',typ=dyna_trans), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -PROJ_SPEC_BASE=OPER(nom="PROJ_SPEC_BASE",op= 146,sd_prod=interspectre,reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - fr="Projecter un ou plusieurs spectres de turbulence sur une (ou plusieurs) base(s) modale(s) ", - regles=(UN_PARMI('BASE_ELAS_FLUI','MODE_MECA','CHAM_NO'), - UN_PARMI('TOUT','GROUP_MA','MAILLE'), - PRESENT_PRESENT('CHAM_NO','MODELE_INTERFACE'),), - SPEC_TURB =SIMP(statut='o',typ=spectre_sdaster,validators=NoRepeat(),max='**' ), - TOUT_CMP =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - BASE_ELAS_FLUI =SIMP(statut='f',typ=melasflu_sdaster ), - b_fluide = BLOC(condition="BASE_ELAS_FLUI !=None", - VITE_FLUI =SIMP(statut='o',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut=1.0E-3 ), - ), - MODE_MECA =SIMP(statut='f',typ=mode_meca ), - CHAM_NO =SIMP(statut='f',typ=cham_no_sdaster), - FREQ_INIT =SIMP(statut='o',typ='R',val_min=0.E+0 ), - FREQ_FIN =SIMP(statut='o',typ='R',val_min=0.E+0 ), - NB_POIN =SIMP(statut='o',typ='I' ), - OPTION =SIMP(statut='f',typ='TXM',defaut="TOUT",into=("TOUT","DIAG")), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",), ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**'), -# Quel est le type attendu derriere MODELE_INTERFACE - MODELE_INTERFACE=SIMP(statut='f',typ=modele_sdaster), - VECT_X =SIMP(statut='f',typ='R',min=3,max=3 ), - VECT_Y =SIMP(statut='f',typ='R',min=3,max=3 ), - ORIG_AXE =SIMP(statut='f',typ='R',min=3,max=3 ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr - -PROJ_VECT_BASE=OPER(nom="PROJ_VECT_BASE",op= 72,sd_prod=vect_asse_gene, - fr="Projection d'un vecteur assemblé sur une base (modale ou de RITZ)", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(UN_PARMI('VECT_ASSE','VECT_ASSE_GENE'),), - BASE =SIMP(statut='o',typ=(mode_meca,mode_gene) ), - NUME_DDL_GENE =SIMP(statut='o',typ=nume_ddl_gene ), - TYPE_VECT =SIMP(statut='f',typ='TXM',defaut="FORC"), - VECT_ASSE =SIMP(statut='f',typ=cham_no_sdaster), - VECT_ASSE_GENE =SIMP(statut='f',typ=vect_asse_gene ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - - -def propa_fiss_prod(self,**args): - if args.has_key('MAIL_TOTAL') : - MAIL_TOTAL = args['MAIL_TOTAL'] - self.type_sdprod(MAIL_TOTAL,maillage_sdaster) - if args.has_key('MAIL_FISS') : - MAIL_FISS = args['MAIL_FISS'] - self.type_sdprod(MAIL_FISS,maillage_sdaster) - if args.has_key('FISSURE') : - FISSURE = args['FISSURE'] - for numfis in FISSURE : - if (args['METHODE_PROPA']=='MAILLAGE') : - self.type_sdprod(numfis['MAIL_PROPAGE'],maillage_sdaster) - else : - self.type_sdprod(numfis['FISS_PROPAGEE'],fiss_xfem) - return None - -PROPA_FISS=MACRO(nom="PROPA_FISS", - op=OPS('Macro.propa_fiss_ops.propa_fiss_ops'), - sd_prod=propa_fiss_prod, - fr="Propagation de fissure avec X-FEM",reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - - METHODE_PROPA = SIMP(statut='o',typ='TXM', - into=("SIMPLEXE","UPWIND","MAILLAGE","INITIALISATION","GEOMETRIQUE") ), - - b_hamilton = BLOC(condition="(METHODE_PROPA=='SIMPLEXE') or (METHODE_PROPA=='UPWIND') or (METHODE_PROPA=='GEOMETRIQUE') ", - MODELE = SIMP(statut='o',typ=modele_sdaster), - TEST_MAIL = SIMP(statut='f',typ='TXM',into=("NON","OUI",),defaut="NON"), - DA_MAX = SIMP(statut='o',typ='R',max=1,val_min=0.0), - RAYON = SIMP(statut='o',typ='R',), - ZONE_MAJ = SIMP(statut='f',typ='TXM',into=("TOUT","TORE"),defaut="TORE"), - b_tore = BLOC(condition = "ZONE_MAJ == 'TORE' ", - RAYON_TORE = SIMP(statut='f',typ='R',max=1,val_min=0.0), - ), - b_propagation = BLOC(condition = "TEST_MAIL == 'NON' ", - FISSURE = FACT(statut='o',min=1,max='**', - FISS_ACTUELLE = SIMP(statut='o',typ=fiss_xfem,max=1), - FISS_PROPAGEE = SIMP(statut='o',typ=CO,max=1), - NB_POINT_FOND = SIMP(statut='f',typ='I',max='**',val_min=2), - TABLE = SIMP(statut='o',typ=table_sdaster,max=1), - ), - LOI_PROPA = FACT(statut='o',max=1, - LOI = SIMP(statut='o',typ='TXM',into=("PARIS",),defaut="PARIS"), - b_paris = BLOC(condition = "LOI=='PARIS'", - C = SIMP(statut='o',typ='R',), - M = SIMP(statut='o',typ='R',), - ), - MATER = SIMP(statut='o',typ=mater_sdaster,), - ), - COMP_LINE = FACT(statut='o',max=1, - COEF_MULT_MINI = SIMP(statut='o',typ='R',), - COEF_MULT_MAXI = SIMP(statut='o',typ='R',), - ), - CRIT_ANGL_BIFURCATION = SIMP(statut='f',typ='TXM',max=1,defaut="SITT_MAX", - into=('SITT_MAX','K1_MAX','K2_NUL','PLAN','ANGLE_IMPO'),), - ), - - b_test_const = BLOC(condition = "TEST_MAIL == 'OUI' ", - FISSURE = FACT(statut='o',min=1,max='**', - FISS_ACTUELLE = SIMP(statut='o',typ=fiss_xfem,max=1), - FISS_PROPAGEE = SIMP(statut='o',typ=CO,max=1), - ), - ITERATIONS = SIMP(statut='f',typ='I',max=1,val_min=3,defaut=5), - TOLERANCE = SIMP(statut='f',typ='R',max=1,val_min=0.0,val_max=100.0,defaut=5.0), - ), - - ), - - b_maillage =BLOC(condition="(METHODE_PROPA=='MAILLAGE')", - MAIL_STRUC = SIMP(statut='o',typ=maillage_sdaster), - ITERATION = SIMP(statut='o',typ='I',max=1), - DA_MAX = SIMP(statut='o',typ='R',max=1), - FISSURE = FACT(statut='o',min=1,max='**', - MAIL_ACTUEL = SIMP(statut='o',typ=maillage_sdaster,max=1), - GROUP_MA_FOND = SIMP(statut='f',typ=grma,defaut="FOND"), - GROUP_MA_FISS = SIMP(statut='f',typ=grma,defaut="FISS"), - FISS_ACTUELLE = SIMP(statut='o',typ=fiss_xfem,max=1), - MAIL_PROPAGE = SIMP(statut='f',typ=CO,max=1), - TABLE = SIMP(statut='o',typ=table_sdaster,max=1), - ), - MAIL_TOTAL = SIMP(statut='o',typ=CO), - LOI_PROPA = FACT(statut='o',max=1, - LOI = SIMP(statut='o',typ='TXM',into=("PARIS",),defaut="PARIS"), - b_paris = BLOC(condition = "LOI=='PARIS'", - C = SIMP(statut='o',typ='R',), - M = SIMP(statut='o',typ='R',), - ), - MATER = SIMP(statut='o',typ=mater_sdaster,), - ), - COMP_LINE = FACT(statut='o',max=1, - COEF_MULT_MINI = SIMP(statut='o',typ='R',), - COEF_MULT_MAXI = SIMP(statut='o',typ='R',), - ), - CRIT_ANGL_BIFURCATION = SIMP(statut='f',typ='TXM',max=1,defaut="SITT_MAX", - into=('SITT_MAX','K1_MAX','K2_NUL','PLAN','ANGLE_IMPO'),), - ), - - b_init =BLOC(condition="(METHODE_PROPA=='INITIALISATION')", - MAIL_STRUC = SIMP(statut='o',typ=maillage_sdaster), - FORM_FISS = SIMP(statut='o',typ='TXM', into=("DEMI_DROITE","DEMI_PLAN","ELLIPSE"), ), - GROUP_MA_FOND = SIMP(statut='f',typ=grma,defaut="FOND"), - GROUP_MA_FISS = SIMP(statut='f',typ=grma,defaut="FISS"), - MAIL_TOTAL = SIMP(statut='o',typ=CO), - MAIL_FISS = SIMP(statut='f',typ=CO), - - b_droite = BLOC(condition = "FORM_FISS == 'DEMI_DROITE' ", - PFON = SIMP(statut='o',typ='R',max=3), - DTAN = SIMP(statut='o',typ='R',min=3,max=3), - ), - - b_plan = BLOC(condition = "FORM_FISS == 'DEMI_PLAN' ", - DTAN = SIMP(statut='o',typ='R',min=3,max=3), - POINT_ORIG = SIMP(statut='o',typ='R',min=3,max=3), - POINT_EXTR = SIMP(statut='o',typ='R',min=3,max=3), - NB_POINT_FOND = SIMP(statut='o',typ='I',), - ), - - b_ellipse = BLOC(condition = "FORM_FISS == 'ELLIPSE' ", - CENTRE =SIMP(statut='o',typ='R',min=3,max=3), - DEMI_GRAND_AXE =SIMP(statut='o',typ='R',val_min=0.E+0), - DEMI_PETIT_AXE =SIMP(statut='o',typ='R',val_min=0.E+0), - VECT_X =SIMP(statut='o',typ='R',min=3,max=3), - VECT_Y =SIMP(statut='o',typ='R',min=3,max=3), - ANGLE_ORIG = SIMP(statut='o',typ='R',), - ANGLE_EXTR = SIMP(statut='o',typ='R',), - NB_POINT_FOND = SIMP(statut='o',typ='I',) - ), - ), - - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -PROPA_XFEM=OPER(nom="PROPA_XFEM",op=10,sd_prod=fiss_xfem,reentrant='n', - UIinfo={"groupes":("Post-traitements","Rupture",)}, - fr="Propagation de fissure avec X-FEM", - - MODELE =SIMP(statut='o',typ=modele_sdaster), - - TEST_MAIL =SIMP(statut='f',typ='TXM',into=("NON","OUI",),defaut="NON"), - - DA_MAX =SIMP(statut='o',typ='R'), - - FISS_PROP =SIMP(statut='o',typ=fiss_xfem), - - ZONE_MAJ =SIMP(statut='f',typ='TXM',into=("TOUT","TORE"),defaut="TORE"), - - RAYON_TORE =SIMP(statut='f',typ='R'), - - LISTE_FISS =SIMP(statut='o',typ=fiss_xfem,min=1,max='**'), - - ANGLE =SIMP(statut='f',typ='R',max='**'), - VITESSE =SIMP(statut='f',typ='R',max='**'), - DA_FISS =SIMP(statut='f',typ='R'), - NB_CYCLES =SIMP(statut='f',typ='R'), - - b_test_mail_const =BLOC( condition = "TEST_MAIL == 'OUI' ", - FISS_INITIALE =SIMP(statut='o',typ=fiss_xfem,max=1), - DISTANCE =SIMP(statut='o',typ='R',max=1), - TOLERANCE =SIMP(statut='o',typ='R',max=1), - ), - - RAYON =SIMP(statut='o',typ='R',), - - METHODE =SIMP(statut='f',typ='TXM',into=("SIMPLEXE","UPWIND","GEOMETRIQUE"),defaut="UPWIND"), - - INFO =SIMP(statut='f',typ='I',defaut= 0,into=(0,1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: renaud.bargellini at edf.fr - -RAFF_GP =MACRO(nom="RAFF_GP", - op=OPS('Macro.raff_gp_ops.raff_gp_ops'), - sd_prod=maillage_sdaster, - UIinfo={"groupes":("Outils-métier","Rupture",)}, - reentrant='n', - fr="Preparation du maillage pour calcul du Gp en 2D", - MAILLAGE_N = SIMP(statut='o',typ=maillage_sdaster, - fr="Maillage avant adaptation", - ang="Mesh before adaptation" ), - TRANCHE_2D = FACT(statut='0',max = 1, - CENTRE =SIMP(statut='o',typ='R',max=2), - RAYON =SIMP(statut='o',typ='R',max=1), - ANGLE =SIMP(statut='o',typ='R',max=1), - TAILLE =SIMP(statut='o',typ='R',max=1), - NB_ZONE =SIMP(statut='o',typ='I',), - ), - NB_RAFF = SIMP(statut='f',typ='I',defaut=4), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -# determination du type de sd produite par la commande -def raff_xfem_prod(self,TYPE,**args): - if TYPE == 'DISTANCE' : - return cham_no_sdaster - elif TYPE == 'ZONE' : - return carte_sdaster - else : - raise AsException("type de concept non prevu") - - -RAFF_XFEM=MACRO(nom="RAFF_XFEM", - op=OPS('Macro.raff_xfem_ops.raff_xfem_ops'), - sd_prod=raff_xfem_prod, - fr="Calcul d'un indicateur pour le raffinement", - reentrant='n', - UIinfo={"groupes":("Résultats et champs","Rupture",)}, - - TYPE =SIMP(statut='f',typ='TXM',into=('DISTANCE','ZONE'),defaut='DISTANCE'), - FISSURE=SIMP(statut='o',typ=fiss_xfem,min=1,max='**',), - - b_zone =BLOC(condition = "TYPE == 'ZONE' ",fr="Paramètres de la zone", - RAYON =SIMP(statut='o',typ='R',val_min=0.), - ), - - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: samuel.geniaut at edf.fr - -# commande cachee appelee uniquement par la macro RAFF_XFEM - -RAFF_XFEM_ZONE=OPER(nom="RAFF_XFEM_ZONE", - op=188, -# sd_prod=cham_elem, - sd_prod=carte_sdaster, - fr="Calcul d'un indicateur binaire pour le raffinement", - reentrant='n', - UIinfo={"groupes":("Résultats et champs","Rupture",)}, - - FISSURE=SIMP(statut='o',typ=fiss_xfem,min=1,max=1), - RAYON =SIMP(statut='o',typ='R',val_min=0.), - - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aurore.parrot at edf.fr -RECA_WEIBULL=OPER(nom="RECA_WEIBULL",op= 197,sd_prod=table_sdaster, - fr="Recaler les paramètres du modèle de WEIBULL sur des données expérimentales",reentrant='n', - UIinfo={"groupes":("Post-traitements",)}, - LIST_PARA =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=2,into=("SIGM_REFE","M",) ), - RESU =FACT(statut='o',max='**', - regles=(EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST',), - AU_MOINS_UN('TOUT','GROUP_MA','MAILLE', ),), - EVOL_NOLI =SIMP(statut='o',typ=(evol_noli) ), - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - CHAM_MATER =SIMP(statut='o',typ=(cham_mater) ), - TEMPE =SIMP(statut='f',typ='R' ), - LIST_INST_RUPT =SIMP(statut='o',typ='R',validators=NoRepeat(),max='**' ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=(listr8_sdaster) ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - COEF_MULT =SIMP(statut='f',typ='R',defaut= 1.E0 ), - ), - OPTION =SIMP(statut='f',typ='TXM',defaut="SIGM_ELGA",into=("SIGM_ELGA","SIGM_ELMOY",) ), - CORR_PLAST =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), - METHODE =SIMP(statut='f',typ='TXM',defaut="MAXI_VRAI",into=("MAXI_VRAI","REGR_LINE",) ), - INCO_GLOB_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut= 10 ), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ,) ), - ) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -def recu_fonction_prod(RESULTAT=None,TABLE=None,RESU_GENE=None, - BASE_ELAS_FLUI=None,CHAM_GD=None,NAPPE=None, - INTE_SPEC=None,NOEUD_J=None,NUME_ORDRE_J=None, - NOM_CMP_J=None,NOM_CMP_I=None,NUME_ORDRE_I=None,NOEUD_I=None, - NOM_PARA_TABL=None,**args): - if AsType(RESULTAT) == dyna_harmo or \ - AsType(RESU_GENE) == harm_gene or \ - (INTE_SPEC and NUME_ORDRE_J and (NUME_ORDRE_I != NUME_ORDRE_J) ) or \ - (INTE_SPEC and NOEUD_J and ((NOEUD_I != NOEUD_J) or (NOM_CMP_I != NOM_CMP_J)) ) or \ - (TABLE != None and NOM_PARA_TABL == "FONCTION_C"): - return fonction_c - else: - return fonction_sdaster - -RECU_FONCTION=OPER(nom="RECU_FONCTION",op=90,sd_prod=recu_fonction_prod, - fr="Extraire sous forme d'une fonction, l'évolution d'une grandeur en fonction d'une autre", - reentrant='f', - UIinfo={"groupes":("Résultats et champs","Fonctions",)}, - regles=(UN_PARMI('CHAM_GD','RESULTAT','RESU_GENE','TABLE','BASE_ELAS_FLUI','NAPPE','INTE_SPEC'),), - - CHAM_GD =SIMP(statut='f',typ=(cham_no_sdaster,cham_elem,),), - RESULTAT =SIMP(statut='f',typ=resultat_sdaster), - RESU_GENE =SIMP(statut='f',typ=(tran_gene, mode_gene, harm_gene)), - TABLE =SIMP(statut='f',typ=(table_sdaster,table_fonction)), - BASE_ELAS_FLUI =SIMP(statut='f',typ=melasflu_sdaster), - NAPPE =SIMP(statut='f',typ=nappe_sdaster), - INTE_SPEC =SIMP(statut='f',typ=interspectre), - -# ======= ACCES A LA SD RESULTAT ================================================= - b_acces = BLOC ( condition = "(RESULTAT != None) or (RESU_GENE != None)", - fr="acces a une SD résultat", -# on ne peut pas mettre de regles, le défaut TOUT_ORDRE est pris en compte dans le fortran - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - LIST_ORDRE =SIMP(statut='f',typ=listis_sdaster ), - TOUT_INST =SIMP(statut='f',typ='TXM',into=("OUI",) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**'), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - b_prec = BLOC ( condition = "(INST != None) or (LIST_INST != None) or (FREQ != None) or (LIST_FREQ != None)", - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - INTERP_NUME =SIMP(statut='f',typ='TXM',into=("NON","LIN") ), - ), - ), -# ======= BASE_ELAS_FLUI ================================================= - b_base_elas_flui = BLOC ( condition = "BASE_ELAS_FLUI != None", - fr="Récupération de la fonction à partir d un concept melasflu", - regles=(UN_PARMI('TOUT_ORDRE','NUME_ORDRE'),), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**'), - NUME_MODE =SIMP(statut='o',typ='I' ), - PARA_X =SIMP(statut='o',typ='TXM',into=("VITE_FLU",) ), - PARA_Y =SIMP(statut='o',typ='TXM',into=("FREQ","AMOR") ), - ), - -# ======= INTERSPECTRE ================================================= - b_inte_spec = BLOC ( condition = "INTE_SPEC != None", - fr="Récupération de fonction dans un concept interspectre", - regles=(UN_PARMI('NUME_ORDRE_I','NOEUD_I'),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NOEUD_I =SIMP(statut='f',typ=no,max=1), - NUME_ORDRE_I =SIMP(statut='f',typ='I',max=1 ), - b_nume_ordre_i = BLOC (condition = "NUME_ORDRE_I != None", - NUME_ORDRE_J =SIMP(statut='f',typ='I',max=1 ), - ), - b_noeud_i = BLOC (condition = "NOEUD_I != None", - NOEUD_J =SIMP(statut='f',typ=no,max=1), - NOM_CMP_I =SIMP(statut='o',typ='TXM',max=1 ), - NOM_CMP_J =SIMP(statut='f',typ='TXM',max=1 ), - ), - ), - -# ======= TABLE ================================================= - b_table = BLOC ( condition = "TABLE != None", - fr="Récupération de la fonction à partir d un concept table", - regles=(UN_PARMI('PARA_X','NOM_PARA_TABL'), - PRESENT_PRESENT('PARA_X','PARA_Y'),), - PARA_X = SIMP(statut='f',typ='TXM', - fr="1ère colonne de la table qui définit la fonction à récupérer", ), - PARA_Y = SIMP(statut='f',typ='TXM', - fr="2ème colonne de la table qui définit la fonction à récupérer", ), - #b_tabl_fonc = BLOC(condition = "AsType(TABLE) == table_fonction", - NOM_PARA_TABL = SIMP(statut='f',typ='TXM',into=("FONCTION","FONCTION_C"), - fr="Nom du paramètre de la table contenant la fonction" ), - #), - - FILTRE = FACT(statut='f',max='**', - NOM_PARA =SIMP(statut='o',typ='TXM' ), - CRIT_COMP =SIMP(statut='f',typ='TXM',defaut="EQ", - into=("EQ","LT","GT","NE","LE","GE","VIDE", - "NON_VIDE","MAXI","MAXI_ABS","MINI","MINI_ABS") ), - b_vale =BLOC(condition = "(CRIT_COMP in ('EQ','NE','GT','LT','GE','LE'))", - regles=(UN_PARMI('VALE','VALE_I','VALE_K','VALE_C',),), - VALE =SIMP(statut='f',typ='R' ), - VALE_I =SIMP(statut='f',typ='I' ), - VALE_C =SIMP(statut='f',typ='C' ), - VALE_K =SIMP(statut='f',typ='TXM' ),), - - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - ), - -# ======= RESULTAT ================================================= - b_resu = BLOC ( condition = "RESULTAT != None", fr="Opérandes en cas de RESULTAT", - regles=(UN_PARMI('NOM_CHAM','NOM_PARA_RESU'),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NOM_PARA_RESU =SIMP(statut='f',typ='TXM' ), - b_cham = BLOC ( condition = "NOM_CHAM != None", - regles=(AU_MOINS_UN('MAILLE','GROUP_MA','GROUP_NO','NOEUD'), - PRESENT_ABSENT('POINT','NOEUD','GROUP_NO'), - PRESENT_ABSENT('SOUS_POINT','NOEUD','GROUP_NO'), - EXCLUS('GROUP_MA','MAILLE'), - EXCLUS('GROUP_NO','NOEUD'),), - NOM_CMP =SIMP(statut='o',typ='TXM' ), - MAILLE =SIMP(statut='f',typ=ma), - GROUP_MA =SIMP(statut='f',typ=grma), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - POINT =SIMP(statut='f',typ='I' ), - SOUS_POINT =SIMP(statut='f',typ='I' ), - ), - ), - -# ======= RESU_GENE ================================================= - b_tran_gene = BLOC ( condition = "AsType(RESU_GENE) == tran_gene", - fr="Récupération d'une fonction à partir d un concept TRAN_GENE", - regles=(UN_PARMI('NOM_CHAM','NOEUD_CHOC','GROUP_NO_CHOC'),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=("DEPL","VITE","ACCE","PTEM") ), - NOEUD_CHOC =SIMP(statut='f',typ=no), - GROUP_NO_CHOC =SIMP(statut='f',typ=grno), - b_cham = BLOC ( condition = "(NOM_CHAM=='DEPL') or (NOM_CHAM=='VITE') or (NOM_CHAM=='ACCE')", - regles=(UN_PARMI('GROUP_NO','NOEUD','NUME_CMP_GENE',), - UN_PARMI('NOM_CMP','NUME_CMP_GENE',), - EXCLUS('MULT_APPUI','CORR_STAT'),), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - NUME_CMP_GENE =SIMP(statut='f',typ='I' ), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - MULT_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",) ), - CORR_STAT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - ACCE_MONO_APPUI =SIMP(statut='f',typ=(fonction_sdaster,formule)), - ), - b_choc = BLOC ( condition = "(NOEUD_CHOC != None) or (GROUP_NO_CHOC != None)", - regles=(PRESENT_PRESENT('SOUS_STRUC','INTITULE'),), - PARA_X =SIMP(statut='o',typ='TXM', - into=("INST","FN","FT1","FT2","VN","VT1","VT2","DXLOC","DYLOC","DZLOC") ), - PARA_Y =SIMP(statut='o',typ='TXM', - into=("INST","FN","FT1","FT2","VN","VT1","VT2","DXLOC","DYLOC","DZLOC") ), - LIST_PARA =SIMP(statut='f',typ=listr8_sdaster ), - INTITULE =SIMP(statut='f',typ='TXM' ), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - ), - ), - b_harm_gene = BLOC ( condition = "AsType(RESU_GENE)==harm_gene", - fr="Récupération d'une fonction à partir d un concept HARM_GENE", - regles=(UN_PARMI('NOM_CMP','NUME_CMP_GENE'), - UN_PARMI('GROUP_NO','NOEUD','NUME_CMP_GENE',),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=("DEPL","VITE","ACCE") ), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - NUME_CMP_GENE =SIMP(statut='f',typ='I' ), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - ), - # b_harm_gene = BLOC ( condition = "AsType(RESU_GENE)==harm_gene", - # fr="Récupération d'une fonction à partir d un concept HARM_GENE", - # regles=(UN_PARMI('NOM_CHAM','NOM_PARA_RESU'),), - # NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - # NOM_PARA_RESU =SIMP(statut='f',typ='TXM' ), - # b_cham = BLOC ( condition = "NOM_CHAM != None", - # regles=(UN_PARMI('NUME_CMP_GENE','NOM_CMP'),), - # NUME_CMP_GENE =SIMP(statut='f',typ='I' ), - # NOM_CMP =SIMP(statut='f',typ='TXM' ), - # b_cmp = BLOC ( condition = "NOM_CMP != None", - # regles=(UN_PARMI('NOEUD','GROUP_NO'),), - # NOEUD =SIMP(statut='f',typ=no), - # GROUP_NO =SIMP(statut='f',typ=grno), - # ), - # ), - # ), - b_mode_gene = BLOC ( condition = "AsType(RESU_GENE)==mode_gene", - fr="Récupération d'une fonction à partir d un concept MODE_GENE", - regles=(UN_PARMI('NOM_CHAM','NOM_PARA_RESU'),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NOM_PARA_RESU =SIMP(statut='f',typ='TXM' ), - b_cham = BLOC ( condition = "NOM_CHAM != None", - regles=(UN_PARMI('NUME_CMP_GENE','NOM_CMP'),), - NUME_CMP_GENE =SIMP(statut='f',typ='I' ), - NOM_CMP =SIMP(statut='f',typ='TXM' ), - b_cmp = BLOC ( condition = "NOM_CMP != None", - regles=(UN_PARMI('NOEUD','GROUP_NO'), - UN_PARMI('SQUELETTE','SOUS_STRUC'),), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - SQUELETTE =SIMP(statut='f',typ=squelette ), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - ), - ), - ), - -# ======= CHAM_GD ================================================= - b_cham_gd = BLOC ( condition = "(CHAM_GD != None)", fr="Opérandes en cas de CHAM_GD", - regles=(AU_MOINS_UN('MAILLE','GROUP_MA','GROUP_NO','NOEUD'), - PRESENT_ABSENT('POINT','NOEUD','GROUP_NO'), - PRESENT_ABSENT('SOUS_POINT','NOEUD','GROUP_NO'), - EXCLUS('GROUP_MA','MAILLE'), - EXCLUS('GROUP_NO','NOEUD'),), - NOM_CMP =SIMP(statut='o',typ='TXM' ), - MAILLE =SIMP(statut='f',typ=ma), - GROUP_MA =SIMP(statut='f',typ=grma), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - POINT =SIMP(statut='f',typ='I' ), - SOUS_POINT =SIMP(statut='f',typ='I' ), - ), - -# ======= NAPPE ================================================= - b_nappe = BLOC ( condition = "(NAPPE != None)", fr="Opérandes en cas de NAPPE", - VALE_PARA_FONC =SIMP(statut='o',typ='R' ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - ), - -# ======= SURCHARGE DES ATTRIBUTS ================================================= - NOM_PARA =SIMP(statut='f',typ='TXM', into=C_PARA_FONCTION() ), - NOM_RESU =SIMP(statut='f',typ='TXM' ), - INTERPOL =SIMP(statut='f',typ='TXM',max=2,into=("NON","LIN","LOG") ), - PROL_DROITE =SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - PROL_GAUCHE =SIMP(statut='f',typ='TXM',into=("CONSTANT","LINEAIRE","EXCLU") ), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=( 1 , 2 ) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: emmanuel.boyere at edf.fr -RECU_GENE=OPER(nom="RECU_GENE",op= 76,sd_prod=vect_asse_gene,reentrant='n', - UIinfo={"groupes":("Résultats et champs",)}, - fr="Extraire d'un champ de grandeur (déplacements, vitesses ou accélérations) à partir de résultats" - +" en coordonnées généralisées", - regles=(UN_PARMI('FREQ','INST',),), - RESU_GENE =SIMP(statut='o',typ=(tran_gene,harm_gene),), - INST =SIMP(statut='f',typ='R',), - FREQ =SIMP(statut='f',typ='R',), - NOM_CHAM =SIMP(statut='f',typ='TXM',defaut="DEPL",into=("DEPL","VITE","ACCE",),), - b_interp_temp=BLOC(condition="INST != None and FREQ == None", - INTERPOL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","LIN",),), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU",),), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),),), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.greffet at edf.fr -# -# RECUPERATION DE PARAMETRES DE COUPLAGE VIA YACS -# -RECU_PARA_YACS=OPER(nom="RECU_PARA_YACS",op=114,sd_prod=listr8_sdaster, - reentrant = 'n', - UIinfo={"groupes":("Fonction",)}, - fr = "Gestion des scalaires via YACS pour le coupleur IFS", - DONNEES = SIMP(statut='o',typ='TXM',into=("INITIALISATION","CONVERGENCE","FIN","PAS",) ), - b_init = BLOC(condition= "DONNEES=='INITIALISATION'", - PAS = SIMP(statut='o',typ='R', ),), - b_noinit = BLOC(condition= "(DONNEES=='CONVERGENCE')or(DONNEES=='FIN')", - NUME_ORDRE_YACS = SIMP(statut='o', typ='I',), - INST = SIMP(statut='o',typ='R', ), - PAS = SIMP(statut='o',typ='R', ),), - b_pastps = BLOC(condition= "(DONNEES=='PAS')", - NUME_ORDRE_YACS = SIMP(statut='o', typ='I',), - INST = SIMP(statut='o',typ='R', ), - PAS = SIMP(statut='o',typ='R', ),), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2)), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -RECU_TABLE=OPER(nom="RECU_TABLE",op= 174,sd_prod=table_sdaster, - fr="Récupérer dans une table les valeurs d'un paramètre d'une SD Résultat ou d'extraire une table contenue" - +" dans une autre SD pour celles qui le permettent", - UIinfo={"groupes":("Résultats et champs","Tables",)},reentrant='n', - CO =SIMP(statut='o',typ=assd), - regles=(UN_PARMI('NOM_TABLE','NOM_PARA')), - NOM_TABLE =SIMP(statut='f',typ='TXM' ), - NOM_PARA =SIMP(statut='f',typ='TXM',max='**'), - TITRE =SIMP(statut='f',typ='TXM',max='**'), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jacques.pellet at edf.fr - -RESOUDRE=OPER(nom="RESOUDRE",op=15,sd_prod=cham_no_sdaster,reentrant='f', - fr="Résolution par méthode directe un système d'équations linéaires préalablement factorisé par FACT_LDLT"+ - "ou Résolution d'un système linéaire par la méthode du gradient conjugué préconditionné", - UIinfo={"groupes":("Résolution",)}, - MATR =SIMP(statut='o',typ=(matr_asse_depl_r,matr_asse_depl_c,matr_asse_temp_r, - matr_asse_temp_c,matr_asse_pres_r,matr_asse_pres_c) ), - CHAM_NO =SIMP(statut='o',typ=cham_no_sdaster), - CHAM_CINE =SIMP(statut='f',typ=cham_no_sdaster), - - # mot-clé commun aux solveurs MUMPS, GCPC et PETSc: - RESI_RELA =SIMP(statut='f',typ='R',defaut=1.E-6), - - # mot-clé pour les posttraitements de la phase de solve de MUMPS - POSTTRAITEMENTS =SIMP(statut='f',typ='TXM',defaut="AUTO",into=("SANS","AUTO","FORCE")), - - # mot-clé commun aux solveurs GCPC et PETSc: - NMAX_ITER =SIMP(statut='f',typ='I',defaut= 0 ), - MATR_PREC =SIMP(statut='f',typ=(matr_asse_depl_r,matr_asse_temp_r,matr_asse_pres_r ) ), - - # mots-clés pour solveur PETSc: - ALGORITHME =SIMP(statut='f',typ='TXM',into=("CG", "CR", "GMRES", "GCR", ),defaut="GMRES" ), - - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== - -# person_in_charge: Georges-cc.devesa at edf.fr -def rest_cond_tran_prod(RESULTAT,TYPE_RESU,**args ): - - if AsType(RESULTAT) == dyna_trans : return dyna_trans - if (AsType(RESULTAT) == evol_noli and TYPE_RESU == "DYNA_TRANS") : return dyna_trans - if (AsType(RESULTAT) == evol_noli and TYPE_RESU == "EVOL_NOLI") : return evol_noli - - raise AsException("type de concept resultat non prevu") - -REST_COND_TRAN=OPER(nom="REST_COND_TRAN",op= 78,sd_prod=rest_cond_tran_prod, - fr="Restituer dans la base physique des résultats issus d'un calcul" - +"non-lineaire avec projection modale ou d'un calcul transitoire linear" - +"avec condensation dynamique", - reentrant='f', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=( - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST','TOUT_INST'), - EXCLUS('MACR_ELEM_DYNA','BASE_MODALE'),), - RESULTAT =SIMP(statut='f',typ=(evol_noli,dyna_trans) ), - TYPE_RESU =SIMP(statut='f',typ='TXM',defaut="DYNA_TRANS", - into=("DYNA_TRANS","EVOL_NOLI") ), - BASE_MODALE =SIMP(statut='f',typ=mode_meca), -# NUME_DDL =SIMP(statut='f',typ=nume_ddl_sdaster ), - MACR_ELEM_DYNA =SIMP(statut='f',typ=macr_elem_dyna), - TOUT_INST =SIMP(statut='f',typ='TXM',into=("OUI",) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("ABSOLU","RELATIF") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - INTERPOL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","LIN") ), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_nom_cham=BLOC(condition="TOUT_CHAM == None", - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=3,defaut="ACCE",into=("DEPL", - "VITE","ACCE",),),), - b_base_moda=BLOC(condition="BASE_MODALE != None", - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem),), - RESU_FINAL =SIMP(statut='f',typ=(evol_noli,dyna_trans) ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== - -# person_in_charge: emmanuel.boyere at edf.fr - -def rest_gene_phys_prod(RESU_GENE,**args ): - if AsType(RESU_GENE) == tran_gene : return dyna_trans - if AsType(RESU_GENE) == mode_gene : return mode_meca - if AsType(RESU_GENE) == harm_gene : return dyna_harmo - - raise AsException("type de concept resultat non prevu") - -REST_GENE_PHYS=OPER(nom="REST_GENE_PHYS",op= 75,sd_prod=rest_gene_phys_prod, - fr="Restituer dans la base physique des résultats en coordonnées généralisées", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=( - EXCLUS('INST','LIST_INST','TOUT_INST', - 'TOUT_ORDRE','NUME_ORDRE','NUME_MODE',), - EXCLUS('FREQ','LIST_FREQ'), - EXCLUS('MULT_APPUI','CORR_STAT'), - EXCLUS('MULT_APPUI','NOEUD','GROUP_NO'), - EXCLUS('CORR_STAT','NOEUD','GROUP_NO'), - EXCLUS('NOEUD','GROUP_NO'), - EXCLUS('MAILLE','GROUP_MA'), - PRESENT_PRESENT('ACCE_MONO_APPUI','DIRECTION'),), - RESU_GENE =SIMP(statut='f',typ=(tran_gene,mode_gene,harm_gene) ), - MODE_MECA =SIMP(statut='f',typ=mode_meca ), - NUME_DDL =SIMP(statut='f',typ=nume_ddl_sdaster ), - TOUT_INST =SIMP(statut='f',typ='TXM',into=("OUI",) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("ABSOLU","RELATIF") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - INTERPOL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","LIN") ), - MULT_APPUI =SIMP(statut='f',typ='TXM',into=("OUI",) ), - CORR_STAT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_nom_cham=BLOC(condition="TOUT_CHAM == None", - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=8,defaut="ACCE",into=("DEPL", - "VITE","ACCE","ACCE_ABSOLU","EFGE_ELNO","SIPO_ELNO","SIGM_ELNO","FORC_NODA",),),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ACCE_MONO_APPUI =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - DIRECTION =SIMP(statut='f',typ='R',min=3,max=3 ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -def rest_mode_nonl_prod(TYPE_RESU,**args): - if TYPE_RESU == 'DYNA_TRANS' : return dyna_trans - elif TYPE_RESU == 'MODE_MECA' : return mode_meca - raise AsException("type de concept resultat non prevu") - -REST_MODE_NONL=OPER(nom="REST_MODE_NONL", op=63, - sd_prod=rest_mode_nonl_prod, reentrant='n', - fr="Post traitement de mode_non_line : \ - recuperation resultats ", - UIinfo={"groupes":("Post-traitements",)}, - - MODE_NON_LINE =SIMP(statut='o',typ=table_container,max=1), - TYPE_RESU =SIMP(statut='o',typ='TXM',into=('MODE_MECA','DYNA_TRANS'),defaut='DYNA_TRANS',max=1), - NUME_ORDRE =SIMP(statut='o',typ='I',max=1), - b_dyna_trans =BLOC(condition="TYPE_RESU=='DYNA_TRANS'", - NB_INST =SIMP(statut='f',typ='I',max=1,defaut=512),), - INFO =SIMP(statut='f',typ='I',defaut= 1,into=(1,2) ), - -) ; - - - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== - -# person_in_charge: mathieu.corus at edf.fr -def rest_sous_struc_prod(RESU_GENE,RESULTAT,**args ): - if AsType(RESU_GENE) == tran_gene : return dyna_trans - if AsType(RESU_GENE) == mode_gene : return mode_meca - if AsType(RESU_GENE) == mode_cycl : return mode_meca - if AsType(RESU_GENE) == harm_gene : return dyna_harmo - if AsType(RESULTAT) == evol_noli : return evol_noli - if AsType(RESULTAT) == dyna_trans : return dyna_trans - if AsType(RESULTAT) == mode_meca : return mode_meca - raise AsException("type de concept resultat non prevu") - -REST_SOUS_STRUC=OPER(nom="REST_SOUS_STRUC",op= 77,sd_prod=rest_sous_struc_prod, - fr="Restituer dans la base physique des résultats obtenus par sous-structuration", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(UN_PARMI('RESU_GENE','RESULTAT'), -# ajout d'une regle de Ionel et Nicolas: -# UN_PARMI('NOM_CHAM','TOUT_CHAM'), -# - EXCLUS('TOUT_ORDRE','NUME_ORDRE','INST','LIST_INST','TOUT_INST','NUME_MODE', - 'FREQ', 'LIST_FREQ'), -# Doc U à revoir - EXCLUS('NOEUD','GROUP_NO'), - EXCLUS('MAILLE','GROUP_MA'), - PRESENT_PRESENT('RESULTAT','SQUELETTE'), - UN_PARMI('SQUELETTE','SOUS_STRUC','SECTEUR'), - - ), - RESULTAT =SIMP(statut='f',typ=(evol_noli,dyna_trans, - mode_meca) ), - RESU_GENE =SIMP(statut='f',typ=(tran_gene,mode_gene,mode_cycl,harm_gene) ), - NUME_DDL =SIMP(statut='f',typ=nume_ddl_sdaster ), - MODE_MECA =SIMP(statut='f',typ=mode_meca ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',into=("OUI",) ), - NUME_ORDRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - NUME_MODE =SIMP(statut='f',typ='I',validators=NoRepeat(),max='**' ), - TOUT_INST =SIMP(statut='f',typ='TXM',into=("OUI",) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_INST =SIMP(statut='f',typ=listr8_sdaster ), - FREQ =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - LIST_FREQ =SIMP(statut='f',typ=listr8_sdaster ), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("ABSOLU","RELATIF") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - INTERPOL =SIMP(statut='f',typ='TXM',defaut="NON",into=("NON","LIN") ), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",) ), - b_nom_cham=BLOC(condition="TOUT_CHAM == None", - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=8,defaut="ACCE",into=("DEPL", - "VITE","ACCE","ACCE_ABSOLU","EFGE_ELNO","SIPO_ELNO","SIGM_ELNO","FORC_NODA",) ),), - GROUP_NO =SIMP(statut='f',typ=grno,validators=NoRepeat(),max='**'), - NOEUD =SIMP(statut='f',typ=no ,validators=NoRepeat(),max='**'), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - CYCLIQUE =FACT(statut='f',max='**', - NB_SECTEUR =SIMP(statut='f',typ='I',validators=NoRepeat(),max=1 ), - NUME_DIAMETRE =SIMP(statut='f',typ='I',validators=NoRepeat(),max=1 ), - RESULTAT2 =SIMP(statut='f',typ=(evol_elas,evol_noli,dyna_trans,evol_char, - mode_meca) ), - ), - - SQUELETTE =SIMP(statut='f',typ=squelette ), - SOUS_STRUC =SIMP(statut='f',typ='TXM' ), - SECTEUR =SIMP(statut='f',typ='I'), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: andre.adobes at edf.fr -REST_SPEC_PHYS=OPER(nom="REST_SPEC_PHYS",op= 148,sd_prod=interspectre, - reentrant='n', - fr="Calculer la réponse d'une structure dans la base physique", - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=(AU_MOINS_UN('BASE_ELAS_FLUI','MODE_MECA'),), - BASE_ELAS_FLUI =SIMP(statut='f',typ=melasflu_sdaster ), - b_fluide = BLOC(condition="BASE_ELAS_FLUI !=None", - VITE_FLUI =SIMP(statut='o',typ='R'), - PRECISION =SIMP(statut='f',typ='R',defaut=1.0E-3 ), - ), - MODE_MECA =SIMP(statut='f',typ=mode_meca,), - BANDE =SIMP(statut='f',typ='R',min=2,validators=NoRepeat(),max=2 ), - NUME_ORDRE =SIMP(statut='f',typ='I' ,validators=NoRepeat(),max='**' ), - TOUT_ORDRE =SIMP(statut='f',typ='TXM',defaut="NON", into=("OUI","NON") ), - INTE_SPEC_GENE =SIMP(statut='o',typ=interspectre), - NOEUD =SIMP(statut='o',typ=no ,max='**'), - MAILLE =SIMP(statut='f',typ=ma ,max='**'), - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),max=7,into=("DEPL", - "VITE","ACCE","EFGE_ELNO","SIPO_ELNO","SIGM_ELNO","FORC_NODA") ), - MODE_STAT =SIMP(statut='f',typ=mode_meca ), - EXCIT =FACT(statut='f', - NOEUD =SIMP(statut='o',typ=no ,max='**'), - NOM_CMP =SIMP(statut='o',typ='TXM',max='**'), - ), - MOUVEMENT =SIMP(statut='f',typ='TXM',defaut="ABSOLU",into=("RELATIF","ABSOLU","DIFFERENTIEL") ), - OPTION =SIMP(statut='f',typ='TXM',defaut="DIAG_DIAG", - into=("DIAG_TOUT","DIAG_DIAG","TOUT_TOUT","TOUT_DIAG") ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2008 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: Georges-cc.devesa at edf.fr -def rest_spec_temp_prod(RESU_GENE,RESULTAT,**args): - if AsType(RESULTAT) == dyna_harmo : return dyna_trans - if AsType(RESU_GENE) == harm_gene : return tran_gene - if AsType(RESULTAT) == dyna_trans : return dyna_harmo - if AsType(RESU_GENE) == tran_gene : return harm_gene - raise AsException("type de concept resultat non prevu") - - -REST_SPEC_TEMP=OPER(nom="REST_SPEC_TEMP",op=181,sd_prod=rest_spec_temp_prod, - fr="Transformée de Fourier d'un résultat", - reentrant='n', - UIinfo={"groupes":("Matrices et vecteurs",)}, - regles=UN_PARMI('RESU_GENE','RESULTAT'), - RESU_GENE =SIMP(statut='f',typ=(harm_gene,tran_gene,) ), - RESULTAT =SIMP(statut='f',typ=(dyna_harmo,dyna_trans,) ), - METHODE =SIMP(statut='f',typ='TXM',defaut="PROL_ZERO",into=("PROL_ZERO","TRONCATURE") ), - SYMETRIE =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON") ), - TOUT_CHAM =SIMP(statut='f',typ='TXM',into=("OUI",)), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=3,into=("DEPL","VITE","ACCE") ), -); - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-michel.proix at edf.fr - - -SIMU_POINT_MAT=MACRO(nom="SIMU_POINT_MAT", - op=OPS('Macro.simu_point_mat_ops.simu_point_mat_ops'), - sd_prod=table_sdaster, - UIinfo={"groupes":("Résolution",)}, - fr="Calcul de l'évolution mécanique, en quasi-statique," \ - " d'un point matériel en non linéaire", - COMPORTEMENT =C_COMPORTEMENT(), - MATER =SIMP(statut='o',typ=mater_sdaster,max=30), - -## ANGLE : rotation de ANGLE autour de Z uniquement, et seulement pour les déformations imposées. - ANGLE =SIMP(statut='f',typ='R',max=1, defaut=0.), -# --MASSIF : orientation du materiau (monocristal, orthotropie) - MASSIF =FACT(statut='f',max='**', - regles=(UN_PARMI('ANGL_REP','ANGL_EULER'),), - ANGL_REP =SIMP(statut='f',typ='R',min=1,max=3), - ANGL_EULER =SIMP(statut='f',typ='R',min=1,max=3), - ), - INCREMENT =C_INCREMENT('MECANIQUE'), - NEWTON =C_NEWTON(), - CONVERGENCE =C_CONVERGENCE(), - - SUPPORT= SIMP(statut='f',typ='TXM',max=1,into=("POINT","ELEMENT",),defaut=("POINT"),), - - b_PM = BLOC(condition="SUPPORT == 'POINT'",fr="Simulation sans élément fini", - FORMAT_TABLE =SIMP(statut='f',typ='TXM',max=1,into=("CMP_COLONNE","CMP_LIGNE",),defaut=("CMP_COLONNE"),), - NB_VARI_TABLE =SIMP(statut='f',typ='I',max=1,), - OPER_TANGENT =SIMP(statut='f',typ='TXM',max=1,into=("OUI","NON",),defaut="NON",), - ARCHIVAGE =FACT(statut='f', - LIST_INST =SIMP(statut='f',typ=(listr8_sdaster) ), - INST =SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_ARCH =SIMP(statut='f',typ='I' ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.0E-6), - ), - # on permet certaines variables de commandes scalaires, définies par une fonction du temps - # on permet ici seulementn celles qui sont validees - AFFE_VARC = FACT(statut='f',max='**', - NOM_VARC =SIMP(statut='o',typ='TXM', into=("TEMP","IRRA","SECH")), - VALE_FONC = SIMP(statut='f',typ=(fonction_sdaster,formule) ), - - # VALE_REF est nécessaire pour certaines VARC : - B_VALE_REF =BLOC(condition="NOM_VARC in ('TEMP', 'SECH')", - VALE_REF =SIMP(statut='o',typ='R'), - ), - ), - # un mot clé caché qui ne sert qu'à boucler sur les VARC possibles : - LIST_NOM_VARC =SIMP(statut='c',typ='TXM', defaut=("TEMP","IRRA","SECH")), - - ), - b_EF = BLOC(condition="SUPPORT == 'ELEMENT'",fr="Simulation sur un élément fini", - MODELISATION =SIMP(statut='f',typ='TXM',max=1,into=("3D","C_PLAN","D_PLAN",)), - RECH_LINEAIRE =C_RECH_LINEAIRE(), - ARCHIVAGE =C_ARCHIVAGE(), - SUIVI_DDL =C_SUIVI_DDL(), - - # on permet certaines variables de commandes scalaires, définies par une fonction du temps - # a priori toutes doivent fonctionner - AFFE_VARC = FACT(statut='f',max='**', - NOM_VARC =SIMP(statut='o',typ='TXM', into=("TEMP","CORR","IRRA","HYDR","SECH","M_ACIER","M_ZIRC", - "EPSA","NEUT1","NEUT2")), - VALE_FONC = SIMP(statut='f',typ=(fonction_sdaster,formule) ), - VALE_REF = SIMP(statut='f',typ='R'), - - b_ZIRC = BLOC(condition="NOM_VARC=='M_ZIRC'", - V1 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V2 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V3 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V4 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - - b_ACIER = BLOC(condition="NOM_VARC=='M_ACIER'", - V1 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V2 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V3 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V4 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V5 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V6 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - V7 = SIMP(statut='o',typ=(fonction_sdaster,formule) ), - ), - ), - # un mot clé caché qui ne sert qu'à boucler sur les VARC possibles : - LIST_NOM_VARC =SIMP(statut='c',typ='TXM', defaut=("TEMP","CORR","IRRA","HYDR","SECH","EPSA", - "M_ACIER","M_ZIRC","NEUT1","NEUT2")), - - SIGM_IMPOSE=FACT(statut='f', - SIXX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIYY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIXY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIXZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIYZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - EPSI_IMPOSE=FACT(statut='f', - EPXX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - - ), - b_COEF = BLOC(condition="SUPPORT == 'POINT'",fr="matrice de coefficients", - regles = (PRESENT_ABSENT('SIGM_IMPOSE','MATR_C1','MATR_C2','VECT_IMPO'), - PRESENT_ABSENT('EPSI_IMPOSE','MATR_C1','MATR_C2','VECT_IMPO'), - PRESENT_ABSENT('MATR_C1','SIGM_IMPOSE','EPSI_IMPOSE'), - PRESENT_ABSENT('MATR_C2','SIGM_IMPOSE','EPSI_IMPOSE'), - PRESENT_ABSENT('VECT_IMPO', 'SIGM_IMPOSE','EPSI_IMPOSE'), - EXCLUS('EPSI_IMPOSE','GRAD_IMPOSE'), - EXCLUS('SIGM_IMPOSE','GRAD_IMPOSE'), - ), - - SIGM_IMPOSE=FACT(statut='f', - SIXX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIYY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIXY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIXZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - SIYZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - EPSI_IMPOSE=FACT(statut='f', - EPXX = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPZZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXY = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPXZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - EPYZ = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - GRAD_IMPOSE=FACT(statut='f', - regles = ( ENSEMBLE('F11','F12','F13','F21','F22','F23','F31','F32','F33',),), - F11 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F12 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F13 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F21 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F22 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F23 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F31 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F32 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - F33 = SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - MATR_C1=FACT(statut='f',max='**', - VALE =SIMP(statut='o',typ='R',max=1, ), - NUME_LIGNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=6 ), - NUME_COLONNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=12 ), - ), - MATR_C2=FACT(statut='f',max='**', - VALE =SIMP(statut='o',typ='R',max=1, ), - NUME_LIGNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=6 ), - NUME_COLONNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=12 ), - ), - VECT_IMPO=FACT(statut='f',max='**', - VALE =SIMP(statut='o',typ=(fonction_sdaster,nappe_sdaster,formule),max=1, ), - NUME_LIGNE =SIMP(statut='o',typ='I',max=1,val_min=1,val_max=6 ), - ), - ), - SIGM_INIT=FACT(statut='f', - SIXX = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIYY = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIZZ = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIXY = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIXZ = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - SIYZ = SIMP(statut='f',typ='R',max=1,defaut=0.0E+0), - ), - EPSI_INIT=FACT(statut='f', - EPXX = SIMP(statut='o',typ='R',max=1), - EPYY = SIMP(statut='o',typ='R',max=1), - EPZZ = SIMP(statut='o',typ='R',max=1), - EPXY = SIMP(statut='o',typ='R',max=1), - EPXZ = SIMP(statut='o',typ='R',max=1), - EPYZ = SIMP(statut='o',typ='R',max=1), - ), - VARI_INIT=FACT(statut='f', - VALE = SIMP(statut='o',typ='R',max='**'), - ), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: aimery.assire at edf.fr - - -STANLEY=MACRO(nom="STANLEY", - op=OPS('Macro.stanley_ops.stanley_ops'), - sd_prod=None, - reentrant='n', - UIinfo={"groupes":("Post-traitements",)}, - fr="Outil de post-traitement interactif Stanley ", - RESULTAT =SIMP(statut='f',typ=(evol_elas,evol_noli,evol_ther,mode_meca,dyna_harmo,dyna_trans) ), - MODELE =SIMP(statut='f',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='f',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - DISPLAY =SIMP(statut='f',typ='TXM'), - UNITE_VALIDATION=SIMP(statut='f',typ='I',val_min=10,val_max=90, - fr="Unité logique définissant le fichier (fort.N) dans lequel on écrit les md5"), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mickael.abbas at edf.fr -# -STAT_NON_LINE=OPER(nom="STAT_NON_LINE",op=70,sd_prod=evol_noli, - fr="Calcul de l'évolution mécanique ou thermo-hydro-mécanique couplée, en quasi-statique," - +" d'une structure en non linéaire", - reentrant='f', - UIinfo={"groupes":("Résolution","Mécanique",)}, - - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=(char_meca,char_cine_meca)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - TYPE_CHARGE =SIMP(statut='f',typ='TXM',defaut="FIXE_CSTE", - into=("FIXE_CSTE","FIXE_PILO","SUIV","DIDI")), - ), - CONTACT =SIMP(statut='f',typ=char_contact), - SOUS_STRUC =FACT(statut='f',min=01,max='**', - regles=(UN_PARMI('TOUT','SUPER_MAILLE'),), - CAS_CHARGE =SIMP(statut='o',typ='TXM' ), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - SUPER_MAILLE=SIMP(statut='f',typ=ma,validators=NoRepeat(),max='**',), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), -#------------------------------------------------------------------- - COMPORTEMENT =C_COMPORTEMENT('STAT_NON_LINE'), -#------------------------------------------------------------------- - b_reuse =BLOC(condition = "reuse",fr="en mode concept reentrant : ETAT_INIT obligatoire", - ETAT_INIT =FACT(statut='o', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','SIGM','VARI',), - # EXCLUS('EVOL_NOLI','DEPL',), - # EXCLUS('EVOL_NOLI','SIGM',), - # EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(cham_elem,carte_sdaster)), - VARI =SIMP(statut='f',typ=cham_elem), - STRX =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ),), - b_not_reuse =BLOC(condition = "not reuse",fr="en mode concept non reentrant : ETAT_INIT facultatif", - ETAT_INIT =FACT(statut='f', - regles=(AU_MOINS_UN('EVOL_NOLI','DEPL','SIGM','VARI',), - # EXCLUS('EVOL_NOLI','DEPL',), - # EXCLUS('EVOL_NOLI','SIGM',), - # EXCLUS('EVOL_NOLI','VARI',), - EXCLUS('NUME_ORDRE','INST'), ), - DEPL =SIMP(statut='f',typ=cham_no_sdaster), - SIGM =SIMP(statut='f',typ=(cham_elem,carte_sdaster)), - VARI =SIMP(statut='f',typ=cham_elem), - STRX =SIMP(statut='f',typ=cham_elem), - EVOL_NOLI =SIMP(statut='f',typ=evol_noli), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - NUME_DIDI =SIMP(statut='f',typ='I'), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ),), -#------------------------------------------------------------------- - INCREMENT =C_INCREMENT('MECANIQUE'), -#------------------------------------------------------------------- - METHODE =SIMP(statut='d',typ='TXM',defaut="NEWTON",into=("NEWTON","IMPLEX","NEWTON_KRYLOV")), - b_meth_newton = BLOC(condition = "METHODE == 'NEWTON' or METHODE == 'NEWTON_KRYLOV'", - NEWTON = C_NEWTON(), - ), -#------------------------------------------------------------------- - RECH_LINEAIRE =C_RECH_LINEAIRE(), -#------------------------------------------------------------------- - PILOTAGE =C_PILOTAGE(), -#------------------------------------------------------------------- - CONVERGENCE =C_CONVERGENCE(), -#------------------------------------------------------------------- - SOLVEUR =C_SOLVEUR('STAT_NON_LINE'), -#------------------------------------------------------------------- - OBSERVATION =C_OBSERVATION(), -#------------------------------------------------------------------- - SUIVI_DDL =C_SUIVI_DDL(), -#------------------------------------------------------------------- - ARCHIVAGE =C_ARCHIVAGE(), -#------------------------------------------------------------------- - CRIT_QUALITE =FACT(statut='f',max=1, - ERRE_TEMPS_THM =SIMP(statut='f',typ='TXM',into=("OUI","NON"),defaut="NON", - fr="Adaptation temporelle pour les modélisations HM instationnaires", - ang="Time adaptation for unstationary HM models"), - ), -#------------------------------------------------------------------- - ENERGIE =FACT(statut='f',max=1, - CALCUL =SIMP(statut='f',typ='TXM',into=("OUI",),defaut="OUI",), - ), -#------------------------------------------------------------------- - AFFICHAGE =C_AFFICHAGE(), -#------------------------------------------------------------------- - CRIT_STAB =FACT(statut='f',min=1,max=1, - NB_FREQ =SIMP(statut='f',typ='I',max=1,val_min=1,defaut=3), - COEF_DIM_ESPACE =SIMP(statut='f',typ='I',max=1,val_min=2,defaut=5), - RIGI_GEOM =SIMP(statut='f',typ='TXM',defaut="OUI",into=("OUI","NON")), - MODI_RIGI =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON")), - b_char_crit =BLOC(condition="(RIGI_GEOM=='OUI')", - CHAR_CRIT =SIMP(statut='f',typ='R',min=2,max=2, - fr="Valeur des deux charges critiques délimitant la bande de recherche en HPP"), - ), - TYPE =SIMP(statut='f',typ='TXM',defaut="FLAMBEMENT",into=("FLAMBEMENT","STABILITE")), - PREC_INSTAB =SIMP(statut='f',typ='R',defaut=1.E-6,max=1,), - SIGNE =SIMP(statut='f',typ='TXM',defaut=("POSITIF_NEGATIF"),into=("NEGATIF","POSITIF","POSITIF_NEGATIF"),max=1,), - b_rigi_geom =BLOC(condition="(RIGI_GEOM=='NON')", - DDL_EXCLUS =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=40, - into=('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON','DCX', - 'DCY','DCZ','H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21','PRES22','PRES23', - 'PRES31','PRES32','PRES33','VARI','LAG_GV','DAMG')),), - b_type_stab =BLOC(condition= "TYPE == 'STABILITE' and RIGI_GEOM == 'NON'", - DDL_STAB =SIMP(statut='o',typ='TXM',validators=NoRepeat(),min=1,max=40, - into=('DX','DY','DZ','DRX','DRY','DRZ','GRX','PRES','PHI', - 'TEMP','PRE1','PRE2','UI2','UI3','VI2','VI3','WI2','WI3','UO2', - 'UO3','VO2','VO3','WO2','WO3','UI4','UI5','VI4','VI5','WI4', - 'WI5','UO4','UO5','VO4','VO5','WO4','WO5','UI6','UO6','VI6', - 'VO6','WI6','WO6','WO','WI1','WO1','GONF','LIAISON','DCX', - 'DCY','DCZ','H1X','H1Y','H1Z','E1X','E1Y','E1Z','E2X','E2Y','E2Z', - 'E3X','E3Y','E3Z','E4X','E4Y','E4Z','LAGS_C','V11','V12','V13','V21','V22', - 'V23','V31','V32','V33','PRES11','PRES12','PRES13','PRES21','PRES22','PRES23', - 'PRES31','PRES32','PRES33','VARI','LAG_GV','DAMG')),), - regles = (EXCLUS('PAS_CALC','LIST_INST','INST'),), - LIST_INST = SIMP(statut='f',typ=(listr8_sdaster) ), - INST = SIMP(statut='f',typ='R',validators=NoRepeat(),max='**' ), - PAS_CALC = SIMP(statut='f',typ='I' ), - CRITERE = SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - ), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - b_info=BLOC(condition="INFO==2", - fr="filtre les messages émis dans le .mess selon le type de message demandé", - INFO_DBG = SIMP(statut='f',typ='TXM',max='**',validators=NoRepeat(), - into=("CONTACT", - "MECA_NON_LINE", - "PILOTAGE", - "FACTORISATION", - "APPARIEMENT"), - ), - ), - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jean-michel.proix at edf.fr - - -# MACRO "TEST_THERMOPLASTIQUE" -# ---------------------------- -# def test_compor_sdprod(self, COMPORTEMENT, **kwargs): -# """Ne produit une table qu'en présence de COMPORTEMENT.""" -# if COMPORTEMENT: -# return table_sdaster -# return None - - -TEST_COMPOR =MACRO(nom="TEST_COMPOR", - op=OPS('Macro.test_compor_ops.test_compor_ops'), - # sd_prod=test_compor_sdprod, - sd_prod=table_sdaster, - docu="",reentrant='n', - fr="macro de test des comportements incrementaux dependant de la temperature", - - OPTION =SIMP(statut='f',typ='TXM',into=("THER","MECA"),defaut="THER"), - - COMPORTEMENT =C_COMPORTEMENT('SIMU_POINT_MAT'), - NEWTON =C_NEWTON(), - CONVERGENCE =C_CONVERGENCE(), - - b_ther =BLOC(condition = "OPTION == 'THER'", - regles=(EXCLUS('C_PRAG','D_SIGM_EPSI'),), - MATER =SIMP(statut='o',typ=mater_sdaster,max=1,fr="materiau dependant de la temperature"), - ALPHA =SIMP(statut='o',typ=fonction_sdaster, - fr="coefficient de dilatation fonction de la temperature"), - YOUNG =SIMP(statut='o',typ=fonction_sdaster, - fr="module d'Young fonction de la temperature"), - LIST_MATER =SIMP(statut='o',typ=mater_sdaster,max='**', - fr="liste des materiaux constants interpolés à chaque température"), - TEMP_INIT =SIMP(statut='o',typ='R', fr="temperature initiale et de reference"), - TEMP_FIN =SIMP(statut='o',typ='R', fr="temperature finale"), - INST_FIN =SIMP(statut='f',typ='R',defaut=1.,fr="instant final"), - SUPPORT =SIMP(statut='f',typ='TXM',max=1,into=("POINT","ELEMENT",),defaut=("POINT"),), - NB_VARI =SIMP(statut='o',typ='I', fr="nombre de variables internes - 0 en elasticité"), - VARI_TEST =SIMP(statut='f',typ='TXM',max='**', - fr="liste de variables internes à tester - par defaut, toutes"), - -# special ecrouissage cinematique - D_SIGM_EPSI =SIMP(statut='f',typ=fonction_sdaster, - fr="module tangent fonction de la temperature- VMIS_CINE_LINE"), - C_PRAG =SIMP(statut='f',typ=fonction_sdaster, - fr="constante de Prager fonction de la temperature- VMIS_ECMI_*"), - ), - b_meca =BLOC(condition = "OPTION == 'MECA'", - LIST_MATER =SIMP(statut='o',typ=mater_sdaster,max=2,min=2, - fr="liste des materiaux en Pa puis MPa "), - YOUNG =SIMP(statut='o',typ='R',fr="module d'Young"), - POISSON =SIMP(statut='o',typ='R',fr="coef de Poisson"), - LIST_NPAS =SIMP(statut='f',typ='I',max='**', - fr="nombre de pas de temps pour chaque discretisation"), - LIST_TOLE =SIMP(statut='f',typ='R',max='**',), - PREC_ZERO =SIMP(statut='f',typ='R',max='**',), - VARI_TEST =SIMP(statut='f',typ='TXM',max='**',defaut=('V1','VMIS','TRACE'), - fr="liste des CMP à tester "), - SUPPORT =SIMP(statut='f',typ='TXM',max=1,into=("POINT","ELEMENT",)), - MODELISATION =SIMP(statut='f',typ='TXM',max=1,into=("3D","C_PLAN"),defaut="3D",), - ANGLE =SIMP(statut='f',typ='R',max=1, defaut=0., - fr='Rotation de ANGLE autour de Z uniquement, et seulement pour les déformations imposées',), - MASSIF =FACT(statut='f',max='**',fr='orientation du materiau (monocristal, orthotropie)', - regles=(UN_PARMI('ANGL_REP','ANGL_EULER'),), - ANGL_REP =SIMP(statut='f',typ='R',min=1,max=3), - ANGL_EULER =SIMP(statut='f',typ='R',min=1,max=3), - ), - TEST_TANGENTE =SIMP(statut='f',typ='TXM',max=1,into=("OUI","NON"),defaut="OUI",), - VERI_MATR_OPTION =FACT(statut='f',max=1,fr='options pour le test de la matrice tangente', - VALE_PERT_RELA =SIMP(statut='f',typ='R',defaut=1.E-5), - PRECISION =SIMP(statut='f',typ='R',defaut=1.E-4 ), - PREC_ZERO =SIMP(statut='f',typ='R',defaut=1.E-12 ), - ), - ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - ) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -TEST_FICHIER=MACRO(nom="TEST_FICHIER", - op=OPS('Macro.test_fichier_ops.test_fichier_ops'), - UIinfo={"groupes":("Utilitaires",)}, - fr="Tester la non régression de fichiers produits par des commandes aster", - FICHIER =SIMP(statut='o',typ='TXM',validators=LongStr(1,255)), - EXPR_IGNORE =SIMP(statut='f',typ='TXM',max='**', - fr="Liste d'expressions régulières permettant d'ignorer certaines lignes"), - NB_VALE =SIMP(statut='o',typ='I',), - - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - **C_TEST_REFERENCE('FICHIER', max=1) -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: nicolas.sellenet at edf.fr - -TEST_FONCTION=MACRO(nom="TEST_FONCTION", - op=OPS('Macro.test_fonction_ops.test_fonction_ops'), - sd_prod=None, - fr="Extraction d'une valeur numérique ou d'un attribut de fonction pour comparaison à une valeur de référence", - UIinfo={"groupes":("Fonctions","Utilitaires",)}, - TEST_NOOK =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), - VALEUR =FACT(statut='f',max='**', - fr="Tester la valeur d une fonction ou d une nappe", - regles=(UN_PARMI('VALE_PARA','INTERVALLE'),), - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,fonction_c,nappe_sdaster,formule) ), - NOM_PARA =SIMP(statut='f',typ='TXM',validators=NoRepeat(),max=2), - VALE_PARA =SIMP(statut='f',typ='R' ,validators=NoRepeat(),max=2), - INTERVALLE =SIMP(statut='f',typ='R' ,validators=NoRepeat(),min=2,max=2), - **C_TEST_REFERENCE('FONCTION', max='**') - ), - ATTRIBUT =FACT(statut='f',max='**', - fr="Tester la valeur d un attribut d une fonction ou d''une nappe", - FONCTION =SIMP(statut='o',typ=(fonction_sdaster,fonction_c,nappe_sdaster,formule) ), - PARA =SIMP(statut='f',typ='R' ), - CRIT_PARA =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PREC_PARA =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ATTR =SIMP(statut='o',typ='TXM', - into=("NOM_PARA","NOM_RESU","PROL_DROITE","PROL_GAUCHE","INTERPOL", - "PROL_GAUCHE_FONC","PROL_DROITE_FONC","INTERPOL_FONC","NOM_PARA_FONC") ), - ATTR_REFE =SIMP(statut='o',typ='TXM' ), - REFERENCE =SIMP(statut='f',typ='TXM', - into=("ANALYTIQUE","SOURCE_EXTERNE","AUTRE_ASTER") ), - ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -# person_in_charge: j-pierre.lefebvre at edf.fr -TEST_RESU=PROC(nom="TEST_RESU",op=23, - UIinfo={"groupes":("Résultats et champs","Utilitaires",)}, - fr="Extraction d'une valeur d'une structure de donnée et comparaison à une valeur de référence", - regles=(AU_MOINS_UN('CHAM_NO','CHAM_ELEM','CARTE','RESU','GENE','OBJET','TEST_NAN',)), - - CHAM_NO =FACT(statut='f',max='**', - regles=(EXCLUS('NOEUD','GROUP_NO'), # EXCLUS avec 'TYPE_TEST' dans trchno.f - PRESENT_PRESENT('NOEUD','NOM_CMP'), - PRESENT_PRESENT( 'GROUP_NO','NOM_CMP'),), - CHAM_GD =SIMP(statut='o',typ=cham_no_sdaster), - NOEUD =SIMP(statut='f',typ=no ), - GROUP_NO =SIMP(statut='f',typ=grno ), - NOM_CMP =SIMP(statut='f',typ='TXM',max=1), - **C_TEST_REFERENCE('CHAM_NO', max='**') - ), - - CARTE =FACT(statut='f',max='**', - CHAM_GD =SIMP(statut='o',typ=carte_sdaster), - MAILLE =SIMP(statut='o',typ=ma), - NOM_CMP =SIMP(statut='o',typ='TXM',max=1), - **C_TEST_REFERENCE('CARTE', max=1) - ), - - CHAM_ELEM =FACT(statut='f',max='**', - regles=(#UN_PARMI('MAILLE','TYPE_TEST',) dans trchel.f - EXCLUS('NOEUD','GROUP_NO','POINT'), - PRESENT_PRESENT('NOEUD','NOM_CMP'), - PRESENT_PRESENT('GROUP_NO','NOM_CMP'), - PRESENT_PRESENT('POINT','NOM_CMP'),), - CHAM_GD =SIMP(statut='o',typ=cham_elem), - MAILLE =SIMP(statut='f',typ=ma), - POINT =SIMP(statut='f',typ='I' ), - SOUS_POINT =SIMP(statut='f',typ='I'), - NOEUD =SIMP(statut='f',typ=no), - GROUP_NO =SIMP(statut='f',typ=grno), - NOM_CMP =SIMP(statut='f',typ='TXM',max=1), - **C_TEST_REFERENCE('CHAM_ELEM', max='**') - ), - - RESU =FACT(statut='f',max='**', - regles=(UN_PARMI('NUME_ORDRE','INST','FREQ','NUME_MODE','NOEUD_CMP','NOM_CAS','ANGLE'), - UN_PARMI('NOM_CHAM','PARA'), - PRESENT_ABSENT('PARA','NOEUD','GROUP_NO','POINT','NOM_CMP',), - PRESENT_PRESENT('NOM_CMP','NOM_CHAM'), - EXCLUS('NOEUD','GROUP_NO','POINT'), # EXCLUS avec 'TYPE_TEST' dans trresu.f - PRESENT_PRESENT('NOEUD','NOM_CMP'), - PRESENT_PRESENT('GROUP_NO','NOM_CMP'), - PRESENT_PRESENT('POINT','NOM_CMP'),), - RESULTAT =SIMP(statut='o',typ=resultat_sdaster), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - FREQ =SIMP(statut='f',typ='R'), - NUME_MODE =SIMP(statut='f',typ='I'), - NOEUD_CMP =SIMP(statut='f',typ='TXM',min=2,max=2), - NOM_CAS =SIMP(statut='f',typ='TXM'), - ANGLE =SIMP(statut='f',typ='R'), - PARA =SIMP(statut='f',typ='TXM'), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NOM_CMP =SIMP(statut='f',typ='TXM',max=1), - MAILLE =SIMP(statut='f',typ=ma ,max='**'), - NOEUD =SIMP(statut='f',typ=no ,max='**'), - GROUP_NO =SIMP(statut='f',typ=grno ,max='**'), - POINT =SIMP(statut='f',typ='I'), - SOUS_POINT =SIMP(statut='f',typ='I'), - **C_TEST_REFERENCE('RESU', max='**') - ), - - GENE =FACT(statut='f',max='**', - RESU_GENE =SIMP(statut='o',typ=(vect_asse_gene, tran_gene, mode_gene, harm_gene)), - b_vect_asse =BLOC(condition = "AsType(RESU_GENE) == vect_asse_gene", - NUME_CMP_GENE =SIMP(statut='o',typ='I'), - ), - b_mode =BLOC(condition = "AsType(RESU_GENE) == mode_gene", - regles=(UN_PARMI('NUME_ORDRE','FREQ','NUME_MODE'), - UN_PARMI('NOM_CHAM','PARA'), - PRESENT_PRESENT('NOM_CHAM','NUME_CMP_GENE'),), - NOM_CHAM =SIMP(statut='f',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NUME_CMP_GENE =SIMP(statut='f',typ='I'), - PARA =SIMP(statut='f',typ='TXM'), - NUME_ORDRE =SIMP(statut='f',typ='I'), - NUME_MODE =SIMP(statut='f',typ='I'), - FREQ =SIMP(statut='f',typ='R'), - ), - b_harm =BLOC(condition = "AsType(RESU_GENE) == harm_gene", - regles=(UN_PARMI('NUME_ORDRE','FREQ') ,), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NUME_CMP_GENE =SIMP(statut='o',typ='I'), - NUME_ORDRE =SIMP(statut='f',typ='I'), - FREQ =SIMP(statut='f',typ='R'), - ), - b_tran =BLOC(condition = "AsType(RESU_GENE) == tran_gene", - regles=(UN_PARMI('NUME_ORDRE','INST') ,), - NOM_CHAM =SIMP(statut='o',typ='TXM',validators=NoRepeat(),into=C_NOM_CHAM_INTO()), - NUME_CMP_GENE =SIMP(statut='o',typ='I'), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - ), - **C_TEST_REFERENCE('GENE', max='**') - ), - - OBJET =FACT(statut='f',max='**', - NOM =SIMP(statut='o',typ='TXM'), - **C_TEST_REFERENCE('OBJET', max=1) - ), - - TEST_NAN =SIMP(statut='f',typ='TXM',defaut="NON",into=("OUI","NON") ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr -TEST_TABLE=PROC(nom="TEST_TABLE",op= 177, - UIinfo={"groupes":("Tables","Utilitaires",)}, - fr="Tester une cellule ou une colonne d'une table", -# concept table_sdaster à tester - TABLE =SIMP(statut='o',typ=table_sdaster), - FILTRE =FACT(statut='f',max='**', - NOM_PARA =SIMP(statut='o',typ='TXM' ), - CRIT_COMP =SIMP(statut='f',typ='TXM',defaut="EQ", - into=("EQ","LT","GT","NE","LE","GE","VIDE", - "NON_VIDE","MAXI","MAXI_ABS","MINI","MINI_ABS") ), - b_vale =BLOC(condition = "(CRIT_COMP in ('EQ','NE','GT','LT','GE','LE'))", - regles=(UN_PARMI('VALE','VALE_I','VALE_K','VALE_C',),), - VALE =SIMP(statut='f',typ='R',), - VALE_I =SIMP(statut='f',typ='I',), - VALE_C =SIMP(statut='f',typ='C',), - VALE_K =SIMP(statut='f',typ='TXM' ),), - - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - ), - NOM_PARA =SIMP(statut='o',typ='TXM' ), - INFO =SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), - **C_TEST_REFERENCE('TABLE', max='**') -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -TEST_TEMPS=MACRO(nom="TEST_TEMPS", - op=OPS('Macro.test_temps_ops.test_temps_ops'), - sd_prod=None, - UIinfo={"groupes":("Utilitaires",)}, - fr="Permet de vérifier le temps passé dans les commandes", - reentrant='n', - - RESU = FACT(statut='o',max='**', - COMMANDE = SIMP(statut='o', typ='TXM', - fr="Nom de la commande testee"), - NUME_ORDRE = SIMP(statut='f', typ='I', defaut=1, val_min=1, - fr="Numero de l'occurrence de la commande testee"), - MACHINE = SIMP(statut='o', typ='TXM', max='**', - fr="Liste des machines dont on a la référence"), - VALE = SIMP(statut='o', typ='R', max='**', - fr="Temps CPU sur les machines listees en secondes"), - CRITERE = SIMP(statut='f', typ='TXM', defaut='RELATIF', into=('ABSOLU', 'RELATIF')), - PRECISION = SIMP(statut='f', typ='R', defaut=0.01, max='**', - fr="Ecart admissible pour chaque machine"), - TYPE_TEST = SIMP(statut='o', typ='TXM', into=('USER', 'SYSTEM', 'USER+SYS', 'ELAPSED'), - defaut='USER+SYS', - fr="Valeur testee parmi 'USER', 'SYSTEM', 'USER+SYS', 'ELAPSED'"), - ), - - INFO = SIMP(statut='f',typ='I',defaut=1,into=(1,2) ), -) - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jessica.haelewyn at edf.fr -THER_LINEAIRE=OPER(nom="THER_LINEAIRE",op=25,sd_prod=evol_ther,reentrant='f', - UIinfo={"groupes":("Résolution","Thermique",)}, - fr="Résoudre un problème thermique linéaire stationnaire ou transitoire", - MODELE =SIMP(statut='o',typ=modele_sdaster), - CHAM_MATER =SIMP(statut='o',typ=cham_mater), - CARA_ELEM =SIMP(statut='f',typ=cara_elem), - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=(char_ther,char_cine_ther)), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), - ETAT_INIT =FACT(statut='f', - regles=(EXCLUS('STATIONNAIRE','EVOL_THER','CHAM_NO','VALE'),), - STATIONNAIRE =SIMP(statut='f',typ='TXM',into=("OUI",)), - EVOL_THER =SIMP(statut='f',typ=evol_ther), - CHAM_NO =SIMP(statut='f',typ=cham_no_sdaster), - VALE =SIMP(statut='f',typ='R'), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ), -#------------------------------------------------------------------- - INCREMENT =C_INCREMENT('THERMIQUE'), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('THER_LINEAIRE'), -#------------------------------------------------------------------- - PARM_THETA =SIMP(statut='f',typ='R',defaut= 0.57), -#------------------------------------------------------------------- - ARCHIVAGE =C_ARCHIVAGE(), -#------------------------------------------------------------------- - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2)), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2012 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jessica.haelewyn at edf.fr -THER_NON_LINE=OPER(nom="THER_NON_LINE",op= 186,sd_prod=evol_ther,reentrant='f', - UIinfo={"groupes":("Résolution","Thermique",)}, - fr="Résoudre un problème thermique non linéaire (conditions limites ou comportement matériau)" - +" stationnaire ou transitoire" , - MODELE =SIMP(statut='o',typ=(modele_sdaster) ), - CHAM_MATER =SIMP(statut='o',typ=(cham_mater) ), - CARA_ELEM =SIMP(statut='c',typ=(cara_elem) ), - COMPORTEMENT =FACT(statut='d',max='**', - RELATION =SIMP(statut='f',typ='TXM',defaut="THER_NL", - into=("THER_NL", - "THER_HYDR", - "SECH_GRANGER", - "SECH_MENSI", - "SECH_BAZANT", - "SECH_NAPPE" - ) ), - regles=(PRESENT_ABSENT('TOUT','GROUP_MA','MAILLE'),), - TOUT =SIMP(statut='f',typ='TXM',into=("OUI",) ), - GROUP_MA =SIMP(statut='f',typ=grma,validators=NoRepeat(),max='**'), - MAILLE =SIMP(statut='f',typ=ma ,validators=NoRepeat(),max='**'), - ), - EVOL_THER_SECH =SIMP(statut='f',typ=evol_ther), - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=char_ther), - FONC_MULT =SIMP(statut='f',typ=(fonction_sdaster,nappe_sdaster,formule)), - ), -#------------------------------------------------------------------- - INCREMENT =C_INCREMENT('THERMIQUE'), -#------------------------------------------------------------------- - ETAT_INIT =FACT(statut='f', - regles=(EXCLUS('STATIONNAIRE','EVOL_THER','CHAM_NO','VALE'),), - STATIONNAIRE =SIMP(statut='f',typ='TXM',into=("OUI",)), - EVOL_THER =SIMP(statut='f',typ=evol_ther), - CHAM_NO =SIMP(statut='f',typ=cham_no_sdaster), - VALE =SIMP(statut='f',typ='R'), - NUME_ORDRE =SIMP(statut='f',typ='I'), - INST =SIMP(statut='f',typ='R'), - CRITERE =SIMP(statut='f',typ='TXM',defaut="RELATIF",into=("RELATIF","ABSOLU") ), - b_prec_rela=BLOC(condition="(CRITERE=='RELATIF')", - PRECISION =SIMP(statut='f',typ='R',defaut= 1.E-6,),), - b_prec_abso=BLOC(condition="(CRITERE=='ABSOLU')", - PRECISION =SIMP(statut='o',typ='R',),), - INST_ETAT_INIT =SIMP(statut='f',typ='R'), - ), - NEWTON =FACT(statut='d', - REAC_ITER =SIMP(statut='f',typ='I',defaut= 0 ,val_min=0), - RESI_LINE_RELA =SIMP(statut='f',typ='R',defaut= 1.0E-3 ), - ITER_LINE_MAXI =SIMP(statut='f',typ='I',defaut= 0 ), - ), - CONVERGENCE =FACT(statut='d', - RESI_GLOB_MAXI =SIMP(statut='f',typ='R'), - RESI_GLOB_RELA =SIMP(statut='f',typ='R'), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut= 10 ), - ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('THER_NON_LINE'), -#------------------------------------------------------------------- - PARM_THETA =SIMP(statut='f',typ='R',defaut= 0.57 ), -#------------------------------------------------------------------- - ARCHIVAGE =C_ARCHIVAGE(), -#------------------------------------------------------------------- - OBSERVATION =C_OBSERVATION(), -#------------------------------------------------------------------- - TITRE =SIMP(statut='f',typ='TXM',max='**'), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), - -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: jessica.haelewyn at edf.fr -THER_NON_LINE_MO=OPER(nom="THER_NON_LINE_MO",op= 171,sd_prod=evol_ther, - fr="Résoudre un problème thermique non linéaire (conditions limites ou comportement matériau)" - +" stationnaire avec chargement mobile", - reentrant='n', - UIinfo={"groupes":("Résolution","Thermique",)}, - MODELE =SIMP(statut='o',typ=modele_sdaster ), - CHAM_MATER =SIMP(statut='o',typ=cham_mater ), - CARA_ELEM =SIMP(statut='c',typ=cara_elem ), - EXCIT =FACT(statut='o',max='**', - CHARGE =SIMP(statut='o',typ=char_ther ), - FONC_MULT =SIMP(statut='c',typ=(fonction_sdaster,nappe_sdaster,formule) ), - ), - ETAT_INIT =FACT(statut='f', - EVOL_THER =SIMP(statut='f',typ=evol_ther ), - NUME_ORDRE =SIMP(statut='f',typ='I',defaut= 0 ), - ), - CONVERGENCE =FACT(statut='d', - CRIT_TEMP_RELA =SIMP(statut='f',typ='R',defaut= 1.E-3 ), - CRIT_ENTH_RELA =SIMP(statut='f',typ='R',defaut= 1.E-2 ), - ITER_GLOB_MAXI =SIMP(statut='f',typ='I',defaut= 10 ), - ARRET =SIMP(statut='c',typ='TXM',defaut="OUI",into=("OUI","NON") ), - ), -#------------------------------------------------------------------- -# Catalogue commun SOLVEUR - SOLVEUR =C_SOLVEUR('THER_NON_LINE_MO'), -#------------------------------------------------------------------- - TITRE =SIMP(statut='f',typ='TXM',max='**' ), - INFO =SIMP(statut='f',typ='I',into=(1,2) ), -) ; - -# ====================================================================== -# COPYRIGHT (C) 1991 - 2011 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -# Vérification des imports et définitions non autorisés dans le catalogue -UNAUTHORIZED = ("numpy", "UTMESS", "Table", "Graph") - -for _name in UNAUTHORIZED: - _obj = globals().get(_name, None) - assert _obj is None, "Definition de '%s' interdite dans le catalogue." % _name - -assert aster_exists or aster is None - diff --git a/OldCodes/Aster/Cata/cataSTA11/ops.py b/OldCodes/Aster/Cata/cataSTA11/ops.py deleted file mode 100644 index efe2a5a4..00000000 --- a/OldCodes/Aster/Cata/cataSTA11/ops.py +++ /dev/null @@ -1,507 +0,0 @@ -# coding=utf-8 -# ====================================================================== -# COPYRIGHT (C) 1991 - 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# person_in_charge: mathieu.courtois at edf.fr - -# Modules Python -import sys -import os -import os.path as osp -import traceback -import cPickle as pickle -import re -from math import sqrt, pi, atan2, tan, log, exp -from glob import glob - -# Modules Eficas -import Accas -from Accas import ASSD -from Noyau.ascheckers import CheckLog -from Noyau.N_info import message, SUPERV -from Noyau.N_types import force_list - -try: - import aster - import aster_core - aster_exists = True - # Si le module aster est présent, on le connecte - # au JDC - import Build.B_CODE - Build.B_CODE.CODE.codex=aster - - from Utilitai.Utmess import UTMESS, MessageLog -except: - aster_exists = False - - - -def commun_DEBUT_POURSUITE(jdc, PAR_LOT, IMPR_MACRO, CODE, DEBUG, IGNORE_ALARM, LANG, INFO): - """Fonction sdprod partie commune à DEBUT et POURSUITE. - (on stocke un entier au lieu du logique) - """ - jdc.set_par_lot(PAR_LOT, user_value=True) - jdc.impr_macro = int(IMPR_MACRO == 'OUI') - jdc.jxveri = int(CODE != None or (DEBUG != None and DEBUG['JXVERI'] == 'OUI')) - jdc.sdveri = int(DEBUG != None and DEBUG['SDVERI'] == 'OUI') - jdc.fico = None - jdc.sd_checker = CheckLog() - jdc.info_level = INFO - jdc.hist_etape = (DEBUG != None and DEBUG['HIST_ETAPE'] == 'OUI') - if CODE != None: - jdc.fico = 'TEST' - if aster_exists: - if LANG: - from Execution.i18n import localization - localization.install(LANG) - # pb en cas d'erreur dans FIN : appeler reset_print_function dans traiter_fin_exec ? - #from functools import partial - #asprint = partial(aster.affiche, 'MESSAGE') - #message.register_print_function(asprint) - # ne faire qu'une fois - if not hasattr(jdc, 'msg_init'): - # messages d'alarmes désactivés - if IGNORE_ALARM: - if not type(IGNORE_ALARM) in (list, tuple): - IGNORE_ALARM = [IGNORE_ALARM] - for idmess in IGNORE_ALARM: - MessageLog.disable_alarm(idmess) - # en POURSUITE, conserver le catalogue de comportement picklé - if not hasattr(jdc, 'catalc'): - from Comportement import catalc - jdc.catalc = catalc - jdc.msg_init = True - - -def DEBUT(self, PAR_LOT, IMPR_MACRO, CODE, DEBUG, IGNORE_ALARM, LANG, INFO, **args): - """ - Fonction sdprod de la macro DEBUT - """ - # La commande DEBUT ne peut exister qu'au niveau jdc - if self.jdc is not self.parent : - raise Accas.AsException("La commande DEBUT ne peut exister qu'au niveau jdc") - commun_DEBUT_POURSUITE(self.jdc, PAR_LOT, IMPR_MACRO, CODE, DEBUG, IGNORE_ALARM, LANG, INFO) - suppr = False - for fname in glob('pick.*') + glob('glob.*'): - try: - UTMESS('I', 'SUPERVIS_4', valk=fname) - os.remove(fname) - suppr = True - except OSError: - UTMESS('A', 'SUPERVIS_5', valk=fname) - if suppr: - UTMESS('I', 'SUPERVIS_6') - -def build_debut(self,**args): - """ - Fonction ops pour la macro DEBUT - """ - self.jdc.UserError=self.codex.error - - if self.jdc.par_lot == 'NON' : - self.jdc._Build() - # On execute la fonction debut pour initialiser les bases - # Cette execution est indispensable avant toute autre action sur ASTER - # op doit être un entier car la fonction debut appelle GCECDU qui demande - # le numéro de l'operateur associé (getoper) - self.definition.op=0 - self.set_icmd(1) - self.codex.debut(self) - # On remet op a None juste apres pour eviter que la commande DEBUT - # ne soit executée dans la phase d'execution - self.definition.op=None - return 0 - -def POURSUITE(self, PAR_LOT, IMPR_MACRO, CODE, DEBUG, IGNORE_ALARM, LANG, INFO, **args): - """ - Fonction sdprod de la macro POURSUITE - """ - # La commande POURSUITE ne peut exister qu'au niveau jdc - if self.jdc is not self.parent : - raise Accas.AsException("La commande POURSUITE ne peut exister qu'au niveau jdc") - - commun_DEBUT_POURSUITE(self.jdc, PAR_LOT, IMPR_MACRO, CODE, DEBUG, IGNORE_ALARM, LANG, INFO) - if aster_exists: - self.jdc.set_poursuite(True) - - if self.codex: - base = 'glob.1' - if aster_exists: - repglob = aster_core.get_option("repglob") - bhdf = osp.join(repglob, 'bhdf.1') - base = osp.join(repglob, 'glob.1') - if not osp.isfile(base) and not osp.isfile(bhdf): - UTMESS('F','SUPERVIS_89') - # Le module d'execution est accessible et glob.1 est present - # Pour eviter de rappeler plusieurs fois la sequence d'initialisation - # on memorise avec l'attribut fichier_init que l'initialisation - # est réalisée - if hasattr(self,'fichier_init'):return - self.fichier_init='glob.1' - self.jdc.initexec() - # le sous programme fortran appelé par self.codex.poursu demande le numéro - # de l'operateur (GCECDU->getoper), on lui donne la valeur 0 - self.definition.op=0 - self.codex.poursu(self) - # Par la suite pour ne pas executer la commande pendant la phase - # d'execution on le remet à None - self.definition.op = None - self.g_context = {} - - # Il peut exister un contexte python sauvegardé sous forme pickled - # On récupère ces objets après la restauration des concepts pour que - # la récupération des objets pickled soit prioritaire. - # On vérifie que les concepts relus dans glob.1 sont bien tous - # presents sous le même nom et du même type dans pick.1 - # Le contexte est ensuite updaté (surcharge) et donc enrichi des - # variables qui ne sont pas des concepts. - # On supprime du pickle_context les concepts valant None, ca peut - # être le cas des concepts non executés, placés après FIN. - UTMESS('I', 'SUPERVIS2_1', valk='pick.1') - pickle_context = get_pickled_context() - if pickle_context == None: - UTMESS('F', 'SUPERVIS_86') - return - self.jdc.restore_pickled_attrs(pickle_context) - # vérification cohérence pick/base - savsign = self.jdc._sign - newsign = self.jdc.signature(base) - if args.get('FORMAT_HDF') == 'OUI': - UTMESS('I', 'SUPERVIS_71') - elif newsign != savsign: - UTMESS('A', 'SUPERVIS_69', valk=(savsign, newsign), - vali=self.jdc.jeveux_sysaddr) - else: - UTMESS('I', 'SUPERVIS_70', valk=newsign, vali=self.jdc.jeveux_sysaddr) - from Cata.cata import entier - from Noyau.N_CO import CO - interrupt = [] - count = 0 - UTMESS('I', 'SUPERVIS_65') - for elem, co in pickle_context.items(): - if isinstance(co, ASSD): - count += 1 - typnam = co.__class__.__name__ - # on rattache chaque assd au nouveau jdc courant (en poursuite) - co.jdc = self.jdc - co.parent = self.jdc - # le marquer comme 'executed' - i_int = '' - if co.executed != 1: - interrupt.append((co.nom, typnam)) - i_int = 'exception' - co.executed = 1 - UTMESS('I', 'SUPERVIS_66', valk=(co.nom, typnam.lower(), i_int)) - # pour que sds_dict soit cohérent avec g_context - self.jdc.sds_dict[elem] = co - if elem != co.nom: - name = re.sub('_([0-9]+)$', '[\\1]', co.nom) - if self.jdc.info_level > 1: - UTMESS('I', 'SUPERVIS2_3', - valk=(elem, type(co).__name__.upper())) - UTMESS('A', 'SUPERVIS_93', valk=(elem, "del %s" % name)) - del pickle_context[elem] - continue - if co == None: - del pickle_context[elem] - if count == 0: - UTMESS('I', 'SUPERVIS_67') - for nom, typnam in interrupt: - UTMESS('I', 'SUPERVIS_76', valk=(nom, typnam)) - if not interrupt: - UTMESS('I', 'SUPERVIS_72') - if self.jdc.info_level > 1: - keys = pickle_context.keys() - keys.sort() - for key in keys: - try: - value = str(pickle_context[key]) - if len(value) > 1000: - value = value[:1000] + '...' - valk = key, value - except: - valk = key, '...' - UTMESS('I', 'SUPERVIS_73', valk=valk) - self.g_context.update(pickle_context) - return - - else: - # Si le module d'execution n est pas accessible ou glob.1 absent on - # demande un fichier (EFICAS) - # Il faut éviter de réinterpréter le fichier à chaque appel de - # POURSUITE - if hasattr(self,'fichier_init'): - return - self.make_poursuite() - -def get_pickled_context(): - """ - Cette fonction permet de réimporter dans le contexte courant du jdc (jdc.g_context) - les objets python qui auraient été sauvegardés, sous forme pickled, lors d'une - précédente étude. Un fichier pick.1 doit être présent dans le répertoire de travail - """ - fpick = 'pick.1' - if not osp.isfile(fpick): - return None - - # Le fichier pick.1 est présent. On essaie de récupérer les objets python sauvegardés - context={} - try: - file=open(fpick, 'rb') - # Le contexte sauvegardé a été picklé en une seule fois. Il est seulement - # possible de le récupérer en bloc. Si cette opération echoue, on ne récupère - # aucun objet. - context = pickle.load(file) - file.close() - except: - # En cas d'erreur on ignore le contenu du fichier - traceback.print_exc() - return None - - return context - -def POURSUITE_context(self,d): - """ - Fonction op_init de la macro POURSUITE - """ - # self représente la macro POURSUITE ... - d.update(self.g_context) - # Une commande POURSUITE n'est possible qu'au niveau le plus haut - # On ajoute directement les concepts dans le contexte du jdc - -def build_poursuite(self,**args): - """ - Fonction ops pour la macro POURSUITE - """ - # Pour POURSUITE on ne modifie pas la valeur initialisee dans ops.POURSUITE - # Il n y a pas besoin d executer self.codex.poursu (c'est deja fait dans - # la fonction sdprod de la commande (ops.POURSUITE)) - self.set_icmd(1) - self.jdc.UserError = self.codex.error - return 0 - -def INCLUDE(self, UNITE, DONNEE, **args): - """Fonction sd_prod pour la macro INCLUDE""" - if not (UNITE or DONNEE) or hasattr(self, '_mark'): - return - self._mark = 1 - if self.jdc and self.jdc.par_lot == 'NON': - # On est en mode commande par commande, on appelle la methode speciale - self.Execute_alone() - if UNITE: - fname = 'fort.%s' % UNITE - else: - fname = DONNEE - if aster_exists: - repdex = aster_core.get_option('repdex') - fname = osp.join(repdex, fname) - try: - if aster_exists: - self.make_include(fname=fname) - else: - # dans eficas - if UNITE: - self.make_include(unite=UNITE) - else: - self.make_include(fname=fname) - except Accas.AsException: - if aster_exists: - UTMESS('F+', 'FICHIER_1', valk=fname) - UTMESS('F', 'FICHIER_2') - raise - -def INCLUDE_context(self,d): - """Fonction op_init pour macro INCLUDE""" - ctxt = self.g_context - d.update(ctxt) - -def build_include(self,**args): - """Fonction ops de la macro INCLUDE appelée lors de la phase de Build""" - # Pour presque toutes les commandes (sauf FORMULE et POURSUITE) - # le numéro de la commande n est pas utile en phase de construction - # La macro INCLUDE ne sera pas numérotée (incrément=None) - ier=0 - self.set_icmd(None) - # On n'execute pas l'ops d'include en phase BUILD car il ne sert a rien. - #ier=self.codex.opsexe(self,1) - return ier - -def _detr_list_co(self, context): - """Utilitaire pour DETRUIRE""" - list_co = set() - # par nom de concept (typ=assd) - for mc in self['CONCEPT'] or []: - list_co.update(force_list(mc["NOM"])) - # par chaine de caractères (typ='TXM') - for mc in self['OBJET'] or []: - # longueur <= 8, on cherche les concepts existants - for nom in force_list(mc['CHAINE']): - assert type(nom) in (str, unicode), 'On attend une chaine de caractères : %s' % nom - if len(nom.strip()) <= 8: - if self.jdc.sds_dict.get(nom) != None: - list_co.add(self.jdc.sds_dict[nom]) - elif context.get(nom) != None: - list_co.add(context[nom]) - #else uniquement destruction des objets jeveux - return list_co - -def DETRUIRE(self, CONCEPT, OBJET, **args): - """Fonction OPS pour la macro DETRUIRE : exécution réelle.""" - # pour les formules, il ne faut pas vider l'attribut "parent_context" trop tôt - for co in _detr_list_co(self, {}): - co.supprime(force=True) - self.set_icmd(1) - ier = self.codex.opsexe(self, 7) - return ier - -def build_detruire(self, d): - """Fonction op_init de DETRUIRE.""" - # d est le g_context du jdc ou d'une macro - #message.debug(SUPERV, "id(d) : %s", id(d)) - for co in _detr_list_co(self, d): - assert isinstance(co, ASSD), 'On attend un concept : %s (type=%s)' % (co, type(co)) - nom = co.nom - #message.debug(SUPERV, "refcount_1(%s) = %d", nom, sys.getrefcount(co)) - # traitement particulier pour les listes de concepts, on va mettre à None - # le terme de l'indice demandé dans la liste : - # nomconcept_i est supprimé, nomconcept[i]=None - i = nom.rfind('_') - if i > 0 and not nom.endswith('_'): - concept_racine = nom[:i] - if d.has_key(concept_racine) and type(d[concept_racine]) is list: - try: - num = int(nom[i+1:]) - d[concept_racine][num] = None - except (ValueError, IndexError): - # cas : RESU_aaa ou (RESU_8 avec RESU[8] non initialisé) - pass - # pour tous les concepts : - if d.has_key(nom): - del d[nom] - if self.jdc.sds_dict.has_key(nom): - del self.jdc.sds_dict[nom] - # "suppression" du concept - co.supprime() - # On signale au parent que le concept n'existe plus après l'étape self - self.parent.delete_concept_after_etape(self, co) - # marque comme détruit == non executé - co.executed = 0 - - -def build_procedure(self,**args): - """ - Fonction ops de la macro PROCEDURE appelée lors de la phase de Build - """ - ier=0 - # Pour presque toutes les commandes (sauf FORMULE et POURSUITE) - # le numéro de la commande n est pas utile en phase de construction - # On ne numérote pas une macro PROCEDURE (incrément=None) - self.set_icmd(None) - #ier=self.codex.opsexe(self,3) - return ier - -def build_DEFI_FICHIER(self,**args): - """ - Fonction ops de la macro DEFI_FICHIER - """ - self.set_icmd(1) - ier = self.codex.opsexe(self, 26) - return ier - -def build_formule(self, d): - """Fonction ops de FORMULE.""" - NOM_PARA = self.etape['NOM_PARA'] or '' - VALE = self.etape['VALE'] - VALE_C = self.etape['VALE_C'] - if type(NOM_PARA) not in (list, tuple): - NOM_PARA = [NOM_PARA, ] - for para in NOM_PARA: - if para.strip() != para: - raise Accas.AsException("nom de paramètre invalide (contient des blancs)" \ - " : %s" % repr(para)) - if self.sd == None: - return - if VALE != None : - texte = ''.join(VALE.splitlines()) - elif VALE_C != None : - texte = ''.join(VALE_C.splitlines()) - self.sd.setFormule(NOM_PARA, texte.strip()) - -def build_gene_vari_alea(self, d): - """Fonction ops de la macro GENE_VARI_ALEA.""" - from Utilitai.Utmess import UTMESS - a = self.etape['BORNE_INF'] - moyen = self.etape['VALE_MOY' ] - TYPE = self.etape['TYPE'] - if self['INIT_ALEA'] is not None: - jump = self.etape['INIT_ALEA' ] - self.iniran(jump) - if TYPE == 'EXP_TRONQUEE': - b = self.etape['BORNE_SUP'] - if a >= b: - UTMESS('F', 'PROBA0_1', valr=[a, b]) - elif moyen <= a or moyen >= b: - UTMESS('F', 'PROBA0_2', valr=[a, moyen, b]) - k = 1. / (moyen - a) - if exp(-b * k) < 1.e-12: - UTMESS('F', 'PROBA0_3') - # résolution par point fixe - eps = 1.E-4 - nitmax = 100000 - test = 0. - while abs((test - k) / k) > eps: - test = k - k = 1. / (moyen - (a * exp(-a * k) - b * exp(-b * k)) / \ - (exp(-a * k) - exp(-b * k))) - # génération de la variable aléatoire - alpha = exp(-a * k) - exp(-b * k) - self.sd.valeur = -(log(exp(-a * k) - alpha * self.getran()[0])) / k - elif TYPE == 'EXPONENTIELLE': - if moyen <= a: - UTMESS('F', 'PROBA0_4', valr=[moyen, a]) - v = moyen - a - u = self.getran()[0] - x = -log(1 - u) - self.sd.valeur = a + v * x - elif TYPE == 'GAMMA': - delta = self.etape['COEF_VAR' ] - if moyen <= a: - UTMESS('F', 'PROBA0_4', valr=[moyen, a]) - v = moyen - a - alpha = 1. / delta**2 - if alpha <= 1.: - UTMESS('F', 'PROBA0_5') - gamma2 = alpha - 1. - gamm1 = 1. / gamma2 - beta = sqrt(2. * alpha - 1.) - beta2 = 1. / beta**2 - f0 = 0.5 + (1. / pi) * atan2(-gamma2 / beta, 1.) - c1 = 1. - f0 - c2 = f0 - 0.5 - vref = 0. - vv = -1. - while -vv > vref: - u = self.getran()[0] - gamdev = beta * tan(pi * (u * c1 + c2)) + gamma2 - unif = self.getran()[0] - if unif < 0.: - UTMESS('F', 'PROBA0_6') - vv = -log(unif) - vref = log(1 + beta2 * ((gamdev - gamma2)**2)) \ - + gamma2 * log(gamdev * gamm1) - gamdev + gamma2 - if vv <= 0.: - UTMESS('F', 'PROBA0_7') - self.sd.valeur = a + v * delta**2 * gamdev diff --git a/OldCodes/Aster/INSTALL b/OldCodes/Aster/INSTALL deleted file mode 100644 index 493c4676..00000000 --- a/OldCodes/Aster/INSTALL +++ /dev/null @@ -1,40 +0,0 @@ - - -1- Installation standard - -Pour installer EFICAS a partir de la distribution : .tgz -faire : - tar xzvf .tgz - -ce qui a pour effet de créer un répertoire de nom . - -Pour modifier l'emplacement de la doc, le chemin d'accès à Acrobat Reader, -les catalogues, il faut modifier le fichier editeur.ini dans le répertoire Aster. - - -ATTENTION : -Si Eficas est installé dans un répertoire particulier d'administration -dans lequel les utilisateurs n'ont pas le droit d'écriture, il faut que -l'administrateur lance Eficas pour générer -les fichiers et catalogues compilés .pyc - - - -2- Utilisation d'Eficas - -Pour utiliser Eficas, aller dans le répertoire Aster et faire : - python eficas_aster.py - - - -3- Installation avec un noyau pré-installé - -Aller dans le répertoire Aster du répertoire Eficas -et modifier le fichier prefs.py comme suit : -Mettre dans la variable CODE_PATH le chemin absolu vers -le répertoire contenant les deux répertoires Noyau et Validation que vous voulez -utiliser à la place de ceux fournis dans la livraison d'Eficas - -Pour changer les catalogues, modifier le fichier editeur.ini dans le répertoire Aster - - diff --git a/OldCodes/Aster/Include.com b/OldCodes/Aster/Include.com deleted file mode 100644 index 78fdda81..00000000 --- a/OldCodes/Aster/Include.com +++ /dev/null @@ -1,2 +0,0 @@ - -MAAA=LIRE_MAILLAGE(UNITE=20,); diff --git a/OldCodes/Aster/LICENSE.TERMS b/OldCodes/Aster/LICENSE.TERMS deleted file mode 100644 index 8c88a1e5..00000000 --- a/OldCodes/Aster/LICENSE.TERMS +++ /dev/null @@ -1,21 +0,0 @@ - ====================================================================== - THIS PROGRAM IS FREE SOFTWARE. YOU CAN REDISTRIBUTE IT AND/OR MODIFY - IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY - THE FREE SOFTWARE FOUNDATION, EITHER VERSION 2 OF THE LICENSE, AND - ANY LATER VERSION. - THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT - WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF - MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - SEE THE GNU GENERAL PUBLIC LICENSE FOR MORE DETAILS. - ====================================================================== - TRADUCTION EDF ( POUR INFORMATION ) - ====================================================================== - CE PROGRAMME EST UN LOGICIEL LIBRE. VOUS POUVEZ LE DIFFUSER ET/OU LE - MODIFIER SELON LES DISPOSITIONS DE LA LICENCE GRAND PUBLIC GNU (GPL) - TELLE QU'ELLE EST PUBLIEE PAR LA FREE SOFTWARE FOUNDATION, VERSION 2 - DE LA LICENCE ET TOUTE VERSION ULTERIEURE. - CE PROGRAMME EST DIFFUSE AVEC L'ESPOIR QU'IL SERA UTILE, MAIS SANS - GARANTIE, SANS MEME LA GARANTIE IMPLICITE DE QUALIFICATION DE MISE SUR - LE MARCHE OU D'ADAPTATION A UNE UTILISATION PARTICULIERE. - VOIR POUR DE PLUS AMPLES DETAILS LA LICENCE GRAND PUBLIC GNU (GPL) - ====================================================================== diff --git a/OldCodes/Aster/NEWS b/OldCodes/Aster/NEWS deleted file mode 100644 index d228a9b0..00000000 --- a/OldCodes/Aster/NEWS +++ /dev/null @@ -1,53 +0,0 @@ -Version 1.12 (6/2007): - Mise en synchronisation avec la version 9.1 de Code_Aster de mai 2007. - -Version 1.11 (12/2006): - Mise en synchronisation avec la version 8.4 de Code_Aster de decembre 2006. - Première version du Traducteur de V7 en V8 - -Version 1.10 (6/2006): - Mise en synchronisation avec la version 8.3 de Code_Aster de juin 2006. - -Version 1.9 (12/2005): - Mise en synchronisation avec la version 8.2 de Code_Aster de decembre 2005. - -Version 1.8 (6/2005): - Mise en synchronisation avec la version 8.1 de Code_Aster de mai 2005. - Les includes et poursuites peuvent etre édités. Introduction de la notation - scientifique pour les flottants. - -Version 1.7 : (12/2004) - Mise en synchronisation avec la version STA7 de Code_Aster (7.4). - Les formules changent et deviennent des formules au sens python. - Disparition des PARAMETRE-EVAL - Les touches raccourcis (CtrlC par exple) sont activées et paramétrables dans prefs.py. - -Version 1.6 : (05/2004) - Mise en synchronisation avec la version STA7 de Code_Aster (7.2.26) - Evolution de la saisie des valeurs pour definir une fonction (EO2003-241) : - - Saisie des valeurs sous forme de tuple. - - Si une valeur est selectionnée, l'insertion se fera après cette valeur - et non en fin de liste - -Version 1.5 (10/2003): - Mise en synchronisation avec la version STA7 de Code_Aster d'octobre 2003 (7.2) - Introduction des validateurs de mots cles simples - -Version 1.4 (5/2003): - Mise en synchronisation avec la version STA7 de Code_Aster de mai 2003 (7.1) - Possibilité de donner un nom de fichier en argument lors de l'ouverture d'EFICAS (EO2003-060) - Correction d'une anomalie dans la fonctionnalité de commentarisation des commandes (AO2003-041) - Ajout du bouton de documentation dans le panneau FORMULE (AO2002-447) - Selection automatique du concept quand il n'en existe qu'un (EO2002-162) - -Version 1.3 (11/2002): - Mise en synchronisation avec la version STA6 de Code_Aster de septembre 2002 - Ajout de la possibilité de visualiser les INCLUDE, INCLUDE_MATERIAU et POURSUITE (popup - sur click droit de la souris sur l'icone de la commande) - Possibilité d'afficher la liste des commandes par groupe (menu option->affichage commandes) - Reprise profonde du mécanisme de gestion des fichiers inclus (voir menus d'AIDE pour plus de détails) - Corrections diverses - -Version 1.2 (5/2002): - Reconception de la version 1.1 : décomposition en packages Python - Mise en synchronisation avec la version STA6 de Code_Aster de fevrier 2002 diff --git a/OldCodes/Aster/README b/OldCodes/Aster/README deleted file mode 100644 index 0597ecbb..00000000 --- a/OldCodes/Aster/README +++ /dev/null @@ -1,2 +0,0 @@ - -Pour installer EFICAS voir dans le fichier INSTALL diff --git a/OldCodes/Aster/Tests/README b/OldCodes/Aster/Tests/README deleted file mode 100644 index bea23866..00000000 --- a/OldCodes/Aster/Tests/README +++ /dev/null @@ -1,8 +0,0 @@ -Ce repertoire contient quelques tests d'Eficas pour Aster. - -Les fichiers tests doivent etre lisibles par Eficas sans probleme. -Le repertoire Recette contient le cas de recette d'eficas_aster. -On doit pouvoir le relire tel que et le reconstruire de zero (fichier -normal et poursuite). - -Le test torsion.comm est un test pour format AsterV5 diff --git a/OldCodes/Aster/Tests/Recette/az.comm b/OldCodes/Aster/Tests/Recette/az.comm deleted file mode 100644 index ef01a563..00000000 --- a/OldCodes/Aster/Tests/Recette/az.comm +++ /dev/null @@ -1,119 +0,0 @@ - -DEBUT(); -P1 = 9.8; - -P2 = 8.8; - -P9 = 7; - -P5 = (P9 * P1); - -_param_6 = (P1 - 3); - - -#Pas trouve shellpanel - -MAILLA2=LIRE_MAILLAGE(); - -aaa = FORMULE(VALE='a+z', - NOM_PARA=('a','z',),); - -MAIL=LIRE_MAILLAGE(UNITE=P9,); - -# 'LIRE_MAILLAGE', 'UNITE' --> uniquebasepanel - -az = FORMULE(VALE='aaaaa', - NOM_PARA=('ae','inst',),); - -AFFE1=AFFE_MODELE(MAILLAGE=MAIL, - AFFE=(_F(GROUP_MA=('RESSORT','eee','Group_1',), - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',), - _F(GROUP_MA='MASSES', - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',), - _F(GROUP_NO=('GNP3','GNP5','GNP6','GNP7','GNP8','GNP9','GNP10','GNP11','GNP12',), - PHENOMENE='ACOUSTIQUE', - MODELISATION='PLAN',),),); - -MOD=AFFE_MODELE(MAILLAGE=MAIL, - AFFE=(_F(GROUP_MA='RESSORT', - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',), - _F(GROUP_MA='MASSES', - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',), - _F(TOUT='OUI', - PHENOMENE='THERMIQUE', - MODELISATION='COQUE',),),); - -CARA=AFFE_CARA_ELEM(MODELE=MOD, - POUTRE=_F(GROUP_MA='MA', - SECTION='CERCLE', - CARA='R', - VALE=(3.0,_param_6,),),); - -# 'AFFE_MODELE', 'MAILLAGE' --> uniqueassdpanel -# AFFE_MODELE', 'AFFE', 'GROUP_MA' --> plusieursbasepanel -# 'AFFE_MODELE', 'AFFE', 'PHENOMENE' --> uniqueintopanel -# 'AFFE_MODELE', 'AFFE', 'b_mecanique'--> plusieursintopanel - -F1=DEFI_FONCTION(NOM_PARA='DX',VALE=(5.0,3.0, - ),); - -F3=DEFI_FONCTION(NOM_PARA='DRX',VALE_C=(5.0,7.0,9.0, - 9.0,8.0,7.0, - ),); - -# 'DEFI_FONCTION', 'VALE' --> fonctionpanel - -MATER2=DEFI_MATERIAU(ELAS=_F(E=P5, - NU=0.0,), - ECRO_ASYM_LINE=_F(DC_SIGM_EPSI=0.0, - SY_C=200000000.0, - DT_SIGM_EPSI=0.0, - SY_T=50000000.0,),); - -PS1=DEFI_PARA_SENSI(VALE=1.0,); - -PS2=DEFI_PARA_SENSI(VALE=1.0,); - -PS3=DEFI_PARA_SENSI(VALE=1.0,); - -CHMAT2=AFFE_MATERIAU(MAILLAGE=MAIL, - AFFE=_F(TOUT='OUI', - MATER=MATER2,),); - -AAAZ=AFFE_CHAR_THER(MODELE=AFFE1, - TEMP_IMPO=_F(TOUT='OUI', - TEMP=0.0,),); - -TH1=THER_LINEAIRE(MODELE=AFFE1, - CHAM_MATER=CHMAT2, - EXCIT=_F(CHARGE=AAAZ,), - SENSIBILITE=(PS1,PS2,),); - -# 'THER_LINEAIRE', 'SENSIBILITE' --> plusieursassdpanel - -ACA1=AFFE_CHAR_ACOU(MODELE=AFFE1, - PRES_IMPO=_F(TOUT='OUI', - PRES=('RI',3.0,3.0,),),); - -# 'AFFE_CHAR_ACOU', 'PRES_IMPO', 'PRES' --> uniquecomppanel - -MACRO_MATR_ASSE(MODELE=AFFE1, - NUME_DDL=CO('DDL1'), - MATR_ASSE=_F(MATRICE=CO('MAT1'), - OPTION='RIGI_THER',),); - -# 'MACRO_MATR_ASSE', 'MATR_ASSE', 'MATRICE' --> uniquesdcopanel - -INCLUDE(UNITE=12,); - -Tinclude=AFFE_MODELE(MAILLAGE=MINCLUDE, - AFFE=_F(MAILLE='ss', - PHENOMENE='THERMIQUE', - MODELISATION='AXIS_FOURIER',),); - -FIN(); -#CHECKSUM:62d9fdf65439daf4987e928b1c76bfbd -:FIN CHECKSUM \ No newline at end of file diff --git a/OldCodes/Aster/Tests/Recette/efica01a.11 b/OldCodes/Aster/Tests/Recette/efica01a.11 deleted file mode 100755 index c140f8b1..00000000 --- a/OldCodes/Aster/Tests/Recette/efica01a.11 +++ /dev/null @@ -1,19 +0,0 @@ -DEPL2 = FORMULE(NOM_PARA='INST',VALE='sin(OMEGAA*INST)/(OMEGAA**xx)') -DEPLACE2=CALC_FONC_INTERP( FONCTION=DEPL2, - LIST_PARA=L_INST, - NOM_PARA='INST', - PROL_DROITE='LINEAIRE', - PROL_GAUCHE='LINEAIRE', - NOM_RESU='DEPL' ) - -MONO_X=CALC_CHAR_SEISME( MATR_MASS=MASSE, - DIRECTION=( 1., 0., 0.,), - MONO_APPUI='OUI' ) - - -MACRO_PROJ_BASE(BASE=MODE_MEC,MATR_ASSE_GENE=( - _F( MATRICE = CO("MASS_GEN"), MATR_ASSE = MASSE), - _F( MATRICE = CO("RIGI_GEN"), MATR_ASSE = RIGIDITE)), - VECT_ASSE_GENE=_F( VECTEUR = CO("VECT_X"), VECT_ASSE = MONO_X) - ) - diff --git a/OldCodes/Aster/Tests/Recette/efica01a.com0 b/OldCodes/Aster/Tests/Recette/efica01a.com0 deleted file mode 100755 index 214e3b89..00000000 --- a/OldCodes/Aster/Tests/Recette/efica01a.com0 +++ /dev/null @@ -1,49 +0,0 @@ -POURSUITE(CODE=_F( NOM = 'EFICA01A')) - -INCLUDE_MATERIAU( NOM_AFNOR='18MND5', TYPE_MODELE='REF', - VARIANTE='A', TYPE_VALE='NOMI', - NOM_MATER='MAT3', INFO=2 ) - -CHMAT3=AFFE_MATERIAU( MAILLAGE=MAILLA3, - AFFE=_F( TOUT='OUI', MATER = MAT3, TEMP_REF = 20.)) - -riginor = 2.88E7 - -TRAN_GE2=DYNA_TRAN_MODAL( MASS_GENE=MGEN_BIC, RIGI_GENE=RGEN_BIC, - METHODE='EULER', - AMOR_REDUIT=( 0.07, 0.07, ), - MODE_STAT=MSTA_BIC,EXCIT=( - _F( VECT_GENE = VECT_X1, ACCE = ACCELER1, - MULT_APPUI = 'OUI', - DIRECTION = ( 1., 0., 0.,), NOEUD = 'NO1', - VITE = VITESSE1, DEPL = DEPLACE1), - _F( VECT_GENE = VECT_X2, ACCE = ACCELER2, - MULT_APPUI = 'OUI', - DIRECTION = ( 1., 0., 0.,), NOEUD = 'NO11', - VITE = VITESSE2, DEPL = DEPLACE2)), - CHOC=_F( GROUP_NO_1 = 'MASSES1', - GROUP_NO_2 = 'MASSES2', - OBSTACLE = GRILLE, - INTITULE = 'NO2/NO12', - NORM_OBST = (0., 0., 1.,), - DIST_1 = 0.4495, - DIST_2 = 0.4495, - RIGI_NOR = riginor, - AMOR_NOR = 0., - RIGI_TAN = 0., - COULOMB = 0.), - INCREMENT=_F( INST_INIT = 0., INST_FIN = 1., PAS = 0.00025), - ARCHIVAGE=_F( PAS_ARCH = 8) - ) - -LISTIMP=DEFI_LIST_REEL( DEBUT=0., - INTERVALLE=_F( JUSQU_A = 1., NOMBRE = 500)) - -RESUA1=REST_BASE_PHYS( RESU_GENE=TRAN_GE1, - LIST_INST=LISTIMP, - INTERPOL='LIN', - NOM_CHAM='DEPL', - MULT_APPUI='OUI' - ) - -FIN() diff --git a/OldCodes/Aster/Tests/Recette/efica01a.comm b/OldCodes/Aster/Tests/Recette/efica01a.comm deleted file mode 100755 index 20eea866..00000000 --- a/OldCodes/Aster/Tests/Recette/efica01a.comm +++ /dev/null @@ -1,275 +0,0 @@ -# MODIF DATE 20/09/2004 AUTEUR DURAND C.DURAND -# TITRE TEST DE NON REGRESSION DE L IHM EFICAS - DERIVE DE SDND102A -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# Ce cas test est gere en configuration dans la base ASTER, il sert de -# modele pour prononcer la recette de l IHM d EFICAS : l objectif est de -# pouvoir recreer ce test a l identique dans EFICAS a partir d une page -# blanche. -# On a donc essaye d y placer toutes les commandes un peu particulieres -# du langage de commandes d ASTER -# -# Il s agit en fait du test SDND102A auquel on a ajoute : -# la definition d un parametre (VAL) -# l inclusion d un fichier (INCLUDE) -# une poursuite (POURSUITE) -# Il contient ainsi : -# des parametres, des formules, des macros, des mots cles facteurs repetes -# (y compris conditionnes par des regles : calc_fonction / COMB), -# des blocs (mode_iter_simult,calc_char_seisme), un defi_valeur, un parametre. -# -# -# Il faudra y associer quelques recommandations pour la recette : -# - verifier qu en ouvrant le .com0, il demande bien a browser le .comm puis, en cascade, le .11 -# - verifier qu on peut bien supprimer une commande, un mot cle simple et facteur -# - verifier les acces a la doc -# -# - - -DEBUT(CODE=_F(NOM='EFICA01A',NIV_PUB_WEB='INTERNET',VISU_EFICAS='NON'),) - -MAILLAGE=LIRE_MAILLAGE() - -MAILLAGE=DEFI_GROUP(reuse=MAILLAGE, - MAILLAGE=MAILLAGE, - CREA_GROUP_NO=(_F(NOEUD='NO2', - NOM='MASSES',), - _F(NOEUD='NO1', - NOM='ENCASTRE',),),) - -MAILLA2=LIRE_MAILLAGE(UNITE=21,) - -MODELE=AFFE_MODELE(MAILLAGE=MAILLAGE, - AFFE=(_F(GROUP_MA='RESSORT', - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',), - _F(GROUP_NO='MASSES', - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',),),) - -BICHOC=AFFE_MODELE(MAILLAGE=MAILLA2, - AFFE=(_F(GROUP_MA='RESSORTS', - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',), - _F(GROUP_NO=('MASSES1','MASSES2',), - PHENOMENE='MECANIQUE', - MODELISATION='DIS_T',),),) -VAL = 98696.0 - - -CARA_ELE=AFFE_CARA_ELEM(MODELE=MODELE, - DISCRET=(_F(GROUP_MA='RESSORT', - REPERE='GLOBAL', - CARA='K_T_D_L', - VALE=(VAL,0.0,0.0,),), - _F(GROUP_NO='MASSES', - CARA='M_T_D_N', - VALE=25.0,),),) - -CARA_BIC=AFFE_CARA_ELEM(MODELE=BICHOC, - DISCRET=(_F(GROUP_MA='RESSORTS', - REPERE='GLOBAL', - CARA='K_T_D_L', - VALE=(VAL,0.0,0.0,),), - _F(GROUP_NO='MASSES1', - CARA='M_T_D_N', - VALE=25.0,), - _F(GROUP_NO='MASSES2', - CARA='M_T_D_N', - VALE=25.0,),),) - -CON_LIM=AFFE_CHAR_MECA(MODELE=MODELE, - DDL_IMPO=(_F(GROUP_NO='ENCASTRE', - DX=0.0, - DY=0.0, - DZ=0.0,), - _F(GROUP_NO='MASSES', - DY=0.0, - DZ=0.0,),),) - -CL_BICHO=AFFE_CHAR_MECA(MODELE=BICHOC, - DDL_IMPO=(_F(GROUP_NO='ENCBICHO', - DX=0.0, - DY=0.0, - DZ=0.0,), - _F(GROUP_NO=('MASSES1','MASSES2',), - DY=0.0, - DZ=0.0,),),) - -MACRO_MATR_ASSE(MODELE=MODELE, - CARA_ELEM=CARA_ELE, - CHARGE=CON_LIM, - NUME_DDL=CO('NUMEDDL'), - MATR_ASSE=(_F(MATRICE=CO('RIGIDITE'), - OPTION='RIGI_MECA',), - _F(MATRICE=CO('MASSE'), - OPTION='MASS_MECA',),),) - -MACRO_MATR_ASSE(MODELE=BICHOC, - CARA_ELEM=CARA_BIC, - CHARGE=CL_BICHO, - NUME_DDL=CO('NUMDDLC'), - MATR_ASSE=(_F(MATRICE=CO('RIGI_BIC'), - OPTION='RIGI_MECA',), - _F(MATRICE=CO('MASS_BIC'), - OPTION='MASS_MECA',),),) - -MODE_MEC=MODE_ITER_SIMULT(MATR_A=RIGIDITE, - MATR_B=MASSE,) - -MODE_MEC=NORM_MODE(reuse =MODE_MEC, - MODE=MODE_MEC, - NORME='MASS_GENE',) - -MODE_BIC=MODE_ITER_SIMULT(MATR_A=RIGI_BIC, - MATR_B=MASS_BIC, - METHODE='JACOBI', - OPTION='SANS', - CALC_FREQ=_F(OPTION='BANDE', - FREQ=(1.0,10.0,),),) - -MODE_BIC=NORM_MODE(reuse =MODE_BIC, - MODE=MODE_BIC, - NORME='MASS_GENE',) - -MODE_STA=MODE_STATIQUE(MATR_RIGI=RIGIDITE, - MATR_MASS=MASSE, - MODE_STAT=_F(TOUT='OUI', - AVEC_CMP='DX',),) - -MSTA_BIC=MODE_STATIQUE(MATR_RIGI=RIGI_BIC, - MATR_MASS=MASS_BIC, - MODE_STAT=_F(TOUT='OUI', - AVEC_CMP='DX',),) - -L_INST=DEFI_LIST_REEL(DEBUT=0.0, - INTERVALLE=_F(JUSQU_A=1.0, - PAS=1.E-4,),) - -OMEGAA=2.*pi*10. - -ACCE1 = FORMULE(VALE = 'sin(OMEGAA*INST)', - NOM_PARA='INST') - -ACCELER1=CALC_FONC_INTERP(FONCTION=ACCE1, - NOM_RESU='ACCE', - LIST_PARA=L_INST, - NOM_PARA = 'INST', - PROL_DROITE='LINEAIRE', - PROL_GAUCHE='LINEAIRE',) - -ACCE2 = FORMULE(VALE = '-sin(OMEGAA*INST)', - NOM_PARA='INST') - -ACCELER2=CALC_FONC_INTERP(FONCTION=ACCE2, - NOM_RESU='ACCE', - LIST_PARA=L_INST, - NOM_PARA = 'INST', - PROL_DROITE='LINEAIRE', - PROL_GAUCHE='LINEAIRE',) - -VITE1 = FORMULE(VALE = '-cos(OMEGAA*INST)/OMEGAA', - NOM_PARA='INST') - -VITESSE1=CALC_FONC_INTERP(FONCTION=VITE1, - NOM_RESU='VITE', - LIST_PARA=L_INST, - NOM_PARA = 'INST', - PROL_DROITE='LINEAIRE', - PROL_GAUCHE='LINEAIRE',) - -DEPL1 = FORMULE(VALE = '-sin(OMEGAA*INST)/(OMEGAA**2)', - NOM_PARA='INST') - -DEPLACE1=CALC_FONC_INTERP(FONCTION=DEPL1, - NOM_RESU='DEPL', - LIST_PARA=L_INST, - NOM_PARA = 'INST', - PROL_DROITE='LINEAIRE', - PROL_GAUCHE='LINEAIRE',) - -VITE2 = FORMULE(VALE = 'cos(OMEGAA*INST)/OMEGAA', - NOM_PARA='INST') - -VITESSE2=CALC_FONC_INTERP(FONCTION=VITE2, - NOM_RESU='VITE', - LIST_PARA=L_INST, - NOM_PARA = 'INST', - PROL_DROITE='LINEAIRE', - PROL_GAUCHE='LINEAIRE',) - -xx=2 - -INCLUDE(UNITE=11, - INFO=1,) - -MUR=DEFI_OBSTACLE(TYPE='PLAN_Z',) - -TRAN_GE1=DYNA_TRAN_MODAL(METHODE='EULER', - MASS_GENE=MASS_GEN, - RIGI_GENE=RIGI_GEN, - AMOR_REDUIT=0.07, - MODE_STAT=MODE_STA, - INCREMENT=_F(INST_INIT=0.0, - INST_FIN=1.0, - PAS=2.0E-4,), - ARCHIVAGE=_F(PAS_ARCH=8,), - EXCIT=_F(VECT_GENE=VECT_X, - ACCE=ACCELER1, - VITE=VITESSE1, - DEPL=DEPLACE1, - MULT_APPUI='OUI', - DIRECTION=(1.0,0.0,0.0,), - NOEUD='NO1',), - CHOC=_F(INTITULE='NO2/MUR', - GROUP_NO_1='MASSES', - OBSTACLE=MUR, - ORIG_OBST=(-1.0,0.0,0.0,), - NORM_OBST=(0.0,0.0,1.0,), - JEU=1.1005, - RIGI_NOR=5.76E7, - AMOR_NOR=0.0, - RIGI_TAN=0.0, - COULOMB=0.0,),) - -MULT_X1=CALC_CHAR_SEISME(MATR_MASS=MASS_BIC, - DIRECTION=(1.0,0.0,0.0,), - MODE_STAT=MSTA_BIC, - NOEUD='NO1',) - -MULT_X2=CALC_CHAR_SEISME(MATR_MASS=MASS_BIC, - DIRECTION=(1.0,0.0,0.0,), - MODE_STAT=MSTA_BIC, - NOEUD='NO11',) - -MACRO_PROJ_BASE(BASE=MODE_BIC, - MATR_ASSE_GENE=(_F(MATRICE=CO('MGEN_BIC'), - MATR_ASSE=MASS_BIC,), - _F(MATRICE=CO('RGEN_BIC'), - MATR_ASSE=RIGI_BIC,),), - VECT_ASSE_GENE=(_F(VECTEUR=CO('VECT_X1'), - VECT_ASSE=MULT_X1,), - _F(VECTEUR=CO('VECT_X2'), - VECT_ASSE=MULT_X2,),),) - -GRILLE=DEFI_OBSTACLE(TYPE='BI_PLAN_Z',) - -MAILLA3=LIRE_MAILLAGE(UNITE=22,) - -FIN() diff --git a/OldCodes/Aster/Tests/d0.comm b/OldCodes/Aster/Tests/d0.comm deleted file mode 100644 index 726e2840..00000000 --- a/OldCodes/Aster/Tests/d0.comm +++ /dev/null @@ -1,6 +0,0 @@ -DEBUT() -print "***********************************" -print "*********COUCOU1*******************" -print "***********************************" -INCLUDE(UNITE=11) -FIN() diff --git a/OldCodes/Aster/Tests/err.comm b/OldCodes/Aster/Tests/err.comm deleted file mode 100644 index 6ded4a0a..00000000 --- a/OldCodes/Aster/Tests/err.comm +++ /dev/null @@ -1,39 +0,0 @@ - -# Test pour vérifier qu'une commande dont le concept -# produit est nommé sansnom est considérée comme invalide -#plusieurs commandes : PROC, MACRO, OPER - -DEBUT(); - -MA=LIRE_MAILLAGE(); - -kk=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -uu=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -SD_4=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -sansnom=AFFE_CHAR_CINE(MODELE=None,); - -MACR_ADAP_MAIL(ADAPTATION=_F(LIBRE='RAFFINEMENT', - MAILLAGE_N=MA, - MAILLAGE_NP1=CO('MAA'), - RESULTAT_N=None, - INDICATEUR=None, - NOM_CMP_INDICA=None, - CRIT_RAFF_ABS=1.0,),); - -MACR_ADAP_MAIL(ADAPTATION=_F(LIBRE='RAFFINEMENT', - MAILLAGE_N=MA, - MAILLAGE_NP1=MAA, - RESULTAT_N=None, - INDICATEUR=None, - NOM_CMP_INDICA=None, - CRIT_RAFF_ABS=1.0,),); - -PRE_CHAR_IDEAS(MODELE=None,); - -FIN(); diff --git a/OldCodes/Aster/Tests/err2.comm b/OldCodes/Aster/Tests/err2.comm deleted file mode 100644 index 485c0f77..00000000 --- a/OldCodes/Aster/Tests/err2.comm +++ /dev/null @@ -1,18 +0,0 @@ - -DEBUT(); - -MA=LIRE_MAILLAGE(); - -kk=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -uu=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -zezea=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -SD_5=DEFI_MATERIAU(ELAS=_F(E=56.24, - NU=0.3,),); - -FIN(); diff --git a/OldCodes/Aster/Tests/err3.comm b/OldCodes/Aster/Tests/err3.comm deleted file mode 100644 index 371a2426..00000000 --- a/OldCodes/Aster/Tests/err3.comm +++ /dev/null @@ -1,60 +0,0 @@ - - -DEBUT(); - -ma=LIRE_MAILLAGE(); - -air=DEFI_MATERIAU(); - -champmat=AFFE_MATERIAU(MAILLAGE=ma, - AFFE=_F(TOUT='OUI', - MATER=air,),); - -mo=AFFE_MODELE(MAILLAGE=ma, - AFFE=_F(TOUT='OUI', - PHENOMENE='ACOUSTIQUE', - MODELISATION='3D',),); - -characou=AFFE_CHAR_ACOU(MODELE=mo, - VITE_FACE=_F(GROUP_MA=('ENTREE','SORTIE','TOTO','TITI',), - VNOR=('RI',0.014,0.0,),),); - -MACRO_MATR_ASSE(MODELE=mo, - NUME_DDL=CO('num'), - MATR_ASSE=_F(MATRICE=CO('matasm'), - OPTION='MASS_ACOU',),); - -vectelem=CALC_VECT_ELEM(OPTION='CHAR_ACOU', - CHAM_MATER=champmat, - CHARGE=characou,); - -sansnom=ASSE_VECTEUR(VECT_ELEM=None, - NUME_DDL=num,); - -sansnom=ASSE_VECTEUR(VECT_ELEM=vectelem, - NUME_DDL=num,); - -ch=ASSE_VECTEUR(VECT_ELEM=vectelem, - NUME_DDL=num,); - -sansnom=COMB_CHAM_NO(COMB_C=_F(CHAM_NO=None,),); - -sansnom=COMB_CHAM_NO(COMB_C=_F(CHAM_NO=ch, - COEF_R=1,),); - -chno=COMB_CHAM_NO(COMB_C=_F(CHAM_NO=ch, - COEF_R=1,),); - -matasm=FACT_LDLT(reuse =matasm, - MATR_ASSE=matasm,); - -sansnom=RESO_LDLT(MATR_FACT=matasm, - CHAM_NO=None, - ); -sansnom=RESO_LDLT(MATR_FACT=matasm, - CHAM_NO=chno, - ); -rr =RESO_LDLT(MATR_FACT=matasm, - CHAM_NO=chno, - ); - diff --git a/OldCodes/Aster/Tests/incl.11 b/OldCodes/Aster/Tests/incl.11 deleted file mode 100644 index 4d2f5fdc..00000000 --- a/OldCodes/Aster/Tests/incl.11 +++ /dev/null @@ -1,3 +0,0 @@ -MA=LIRE_MAILLAGE() - - diff --git a/OldCodes/Aster/Tests/incl.12 b/OldCodes/Aster/Tests/incl.12 deleted file mode 100644 index 6bdb45de..00000000 --- a/OldCodes/Aster/Tests/incl.12 +++ /dev/null @@ -1 +0,0 @@ -MMA=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/incl.13 b/OldCodes/Aster/Tests/incl.13 deleted file mode 100644 index 3e1feeec..00000000 --- a/OldCodes/Aster/Tests/incl.13 +++ /dev/null @@ -1 +0,0 @@ -a=1/ diff --git a/OldCodes/Aster/Tests/incl.14 b/OldCodes/Aster/Tests/incl.14 deleted file mode 100644 index e1d48a40..00000000 --- a/OldCodes/Aster/Tests/incl.14 +++ /dev/null @@ -1 +0,0 @@ -INCLUDE(UNITE=15) diff --git a/OldCodes/Aster/Tests/incl.15 b/OldCodes/Aster/Tests/incl.15 deleted file mode 100644 index 16b438a8..00000000 --- a/OldCodes/Aster/Tests/incl.15 +++ /dev/null @@ -1 +0,0 @@ -XXX=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/incl.16 b/OldCodes/Aster/Tests/incl.16 deleted file mode 100644 index 79db1b98..00000000 --- a/OldCodes/Aster/Tests/incl.16 +++ /dev/null @@ -1 +0,0 @@ -mm=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/incl.17 b/OldCodes/Aster/Tests/incl.17 deleted file mode 100644 index d3ec5d6d..00000000 --- a/OldCodes/Aster/Tests/incl.17 +++ /dev/null @@ -1,15 +0,0 @@ -MMA=LIRE_MAILLAGE() - -mo=AFFE_MODELE(MAILLAGE=MMA, - AFFE=_F(TOUT='OUI', - PHENOMENE='MECANIQUE', - MODELISATION='3D',),); - -MACRO_MATR_ASSE(MODELE=mo, - NUME_DDL=CO('numdl'), - MATR_ASSE=_F(MATRICE=CO('mm'), - OPTION='RIGI_MECA',),); - -mm=FACT_LDLT(reuse =mm, - MATR_ASSE=mm,); - diff --git a/OldCodes/Aster/Tests/incl.25 b/OldCodes/Aster/Tests/incl.25 deleted file mode 100644 index 2e89f000..00000000 --- a/OldCodes/Aster/Tests/incl.25 +++ /dev/null @@ -1 +0,0 @@ -MA=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/incl1.comm b/OldCodes/Aster/Tests/incl1.comm deleted file mode 100644 index e68cf5a3..00000000 --- a/OldCodes/Aster/Tests/incl1.comm +++ /dev/null @@ -1,3 +0,0 @@ -DEBUT() -INCLUDE(UNITE=13) -FIN() diff --git a/OldCodes/Aster/Tests/inclmat.comm b/OldCodes/Aster/Tests/inclmat.comm deleted file mode 100644 index b05656a2..00000000 --- a/OldCodes/Aster/Tests/inclmat.comm +++ /dev/null @@ -1,9 +0,0 @@ -DEBUT() -MA=LIRE_MAILLAGE() -INCLUDE_MATERIAU(NOM_AFNOR='A42', - TYPE_MODELE='REF', - VARIANTE='C', - TYPE_VALE='NOMI', - NOM_MATER='MAT', - ) -FIN() diff --git a/OldCodes/Aster/Tests/inclmat2.comm b/OldCodes/Aster/Tests/inclmat2.comm deleted file mode 100644 index b605ec5c..00000000 --- a/OldCodes/Aster/Tests/inclmat2.comm +++ /dev/null @@ -1,14 +0,0 @@ -DEBUT() -INCLUDE_MATERIAU(NOM_AFNOR='A42', - TYPE_MODELE='REF', - VARIANTE='C', - TYPE_VALE='NOMI', - NOM_MATER='M', - ) -INCLUDE_MATERIAU(NOM_AFNOR='A42', - TYPE_MODELE='REF', - VARIANTE='F', - TYPE_VALE='NOMI', - NOM_MATER='N', - ) -FIN() diff --git a/OldCodes/Aster/Tests/j0.comm b/OldCodes/Aster/Tests/j0.comm deleted file mode 100644 index 7aa78c2f..00000000 --- a/OldCodes/Aster/Tests/j0.comm +++ /dev/null @@ -1,6 +0,0 @@ - -DEBUT(PAR_LOT='OUI',); - -INCLUDE(UNITE=11,); - -FIN(); diff --git a/OldCodes/Aster/Tests/j1.comm b/OldCodes/Aster/Tests/j1.comm deleted file mode 100644 index 35190d65..00000000 --- a/OldCodes/Aster/Tests/j1.comm +++ /dev/null @@ -1,2 +0,0 @@ -POURSUITE() -FIN() diff --git a/OldCodes/Aster/Tests/j1.ini b/OldCodes/Aster/Tests/j1.ini deleted file mode 100644 index 2fb4dc86..00000000 --- a/OldCodes/Aster/Tests/j1.ini +++ /dev/null @@ -1,5 +0,0 @@ -[jdc] -jdc=a -[a] -comm=Tests/j0.comm -11=Tests/incl.11 diff --git a/OldCodes/Aster/Tests/j2.ini b/OldCodes/Aster/Tests/j2.ini deleted file mode 100644 index f0dd6ce1..00000000 --- a/OldCodes/Aster/Tests/j2.ini +++ /dev/null @@ -1,20 +0,0 @@ -[jdc] -jdc=a -[a] -comm=p3.comm -poursuite=b -11=incl.11 -17=incl.17 -16=incl.16 -25=incl.25 -[b] -comm=p2.comm -poursuite=c -11=pincl.11 -[c] -comm=p1.comm -poursuite=d -11=qincl.11 -[d] -comm=d0.comm -11=rincl.11 diff --git a/OldCodes/Aster/Tests/jdc.ini b/OldCodes/Aster/Tests/jdc.ini deleted file mode 100644 index eae54ec9..00000000 --- a/OldCodes/Aster/Tests/jdc.ini +++ /dev/null @@ -1,17 +0,0 @@ -[jdc] -jdc=a -[a] -comm=Tests/p0.comm -poursuite=pours1 -11=Tests/incl.11 -[pours1] -comm=Tests/p1.comm -poursuite=pours2 -12=Tests/incl.11 -[pours2] -comm=Tests/p2.comm -poursuite=pours3 -13=Tests/incl.11 -[pours3] -comm=Tests/p3.comm -14=Tests/incl.11 diff --git a/OldCodes/Aster/Tests/p0.comm b/OldCodes/Aster/Tests/p0.comm deleted file mode 100644 index 35190d65..00000000 --- a/OldCodes/Aster/Tests/p0.comm +++ /dev/null @@ -1,2 +0,0 @@ -POURSUITE() -FIN() diff --git a/OldCodes/Aster/Tests/p1.comm b/OldCodes/Aster/Tests/p1.comm deleted file mode 100644 index 7f15f690..00000000 --- a/OldCodes/Aster/Tests/p1.comm +++ /dev/null @@ -1,6 +0,0 @@ -POURSUITE() -print "+++++++++++++++++++++++++++++++++++" -print "+++++++++COUCOU3+++++++++++++++++++" -print "+++++++++++++++++++++++++++++++++++" -INCLUDE(UNITE=11) -FIN() diff --git a/OldCodes/Aster/Tests/p2.comm b/OldCodes/Aster/Tests/p2.comm deleted file mode 100644 index 7f15f690..00000000 --- a/OldCodes/Aster/Tests/p2.comm +++ /dev/null @@ -1,6 +0,0 @@ -POURSUITE() -print "+++++++++++++++++++++++++++++++++++" -print "+++++++++COUCOU3+++++++++++++++++++" -print "+++++++++++++++++++++++++++++++++++" -INCLUDE(UNITE=11) -FIN() diff --git a/OldCodes/Aster/Tests/p3.comm b/OldCodes/Aster/Tests/p3.comm deleted file mode 100644 index 40ec7776..00000000 --- a/OldCodes/Aster/Tests/p3.comm +++ /dev/null @@ -1,7 +0,0 @@ -POURSUITE() -print "+++++++++++++++++++++++++++++++++++" -print "+++++++++COUCOU4+++++++++++++++++++" -print "+++++++++++++++++++++++++++++++++++" -INCLUDE(UNITE=17) -INCLUDE(UNITE=11) -FIN() diff --git a/OldCodes/Aster/Tests/perr.comm b/OldCodes/Aster/Tests/perr.comm deleted file mode 100644 index ee7d6fec..00000000 --- a/OldCodes/Aster/Tests/perr.comm +++ /dev/null @@ -1,5 +0,0 @@ -DEBUT() -import traceback -traceback.print_stack() -a= -FIN() diff --git a/OldCodes/Aster/Tests/perr2.comm b/OldCodes/Aster/Tests/perr2.comm deleted file mode 100644 index bb93df79..00000000 --- a/OldCodes/Aster/Tests/perr2.comm +++ /dev/null @@ -1,3 +0,0 @@ -DEBUT() -IMPR_CO() -FIN() diff --git a/OldCodes/Aster/Tests/pincl.11 b/OldCodes/Aster/Tests/pincl.11 deleted file mode 100644 index b1bd46d9..00000000 --- a/OldCodes/Aster/Tests/pincl.11 +++ /dev/null @@ -1 +0,0 @@ -MAA=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/pp.comm b/OldCodes/Aster/Tests/pp.comm deleted file mode 100644 index dda00d50..00000000 --- a/OldCodes/Aster/Tests/pp.comm +++ /dev/null @@ -1,2 +0,0 @@ -DEBUT() -FIN() diff --git a/OldCodes/Aster/Tests/princ.comm b/OldCodes/Aster/Tests/princ.comm deleted file mode 100644 index 59f33a88..00000000 --- a/OldCodes/Aster/Tests/princ.comm +++ /dev/null @@ -1,16 +0,0 @@ - -POURSUITE(); - -# commentaire - -xx=LIRE_MAILLAGE(); - -INCLUDE(UNITE=12,); - -INCLUDE(UNITE=35,); - -INCLUDE(UNITE=11,); - -yy=LIRE_MAILLAGE(); - -DETRUIRE(CONCEPT=_F(NOM=None,),); diff --git a/OldCodes/Aster/Tests/princ.ini b/OldCodes/Aster/Tests/princ.ini deleted file mode 100644 index a8865fbc..00000000 --- a/OldCodes/Aster/Tests/princ.ini +++ /dev/null @@ -1,20 +0,0 @@ -[jdc] -jdc=a -[a] -comm=princ.comm -poursuite=pours1 -11=princl.11 -12=princl.12 -14=princl.14 -35=princl.35 -[pours1] -comm=p1.comm -poursuite=pours2 -11=incl.11 -[pours2] -comm=p2.comm -poursuite=pours3 -11=incl.12 -[pours3] -comm=d0.comm -11=incl.16 diff --git a/OldCodes/Aster/Tests/princl.11 b/OldCodes/Aster/Tests/princl.11 deleted file mode 100644 index ef02b73e..00000000 --- a/OldCodes/Aster/Tests/princl.11 +++ /dev/null @@ -1,3 +0,0 @@ -MAA=LIRE_MAILLAGE() - - diff --git a/OldCodes/Aster/Tests/princl.12 b/OldCodes/Aster/Tests/princl.12 deleted file mode 100644 index eb15ffd4..00000000 --- a/OldCodes/Aster/Tests/princl.12 +++ /dev/null @@ -1,15 +0,0 @@ -MMAA=LIRE_MAILLAGE() - -mo=AFFE_MODELE(MAILLAGE=MMAA, - AFFE=_F(TOUT='OUI', - PHENOMENE='MECANIQUE', - MODELISATION='3D',),); - -MACRO_MATR_ASSE(MODELE=mo, - NUME_DDL=CO('numdl'), - MATR_ASSE=_F(MATRICE=CO('mmm'), - OPTION='RIGI_MECA',),); - -mmm=FACT_LDLT(reuse =mmm, - MATR_ASSE=mmm,); - diff --git a/OldCodes/Aster/Tests/princl.14 b/OldCodes/Aster/Tests/princl.14 deleted file mode 100644 index 3ee3c9fe..00000000 --- a/OldCodes/Aster/Tests/princl.14 +++ /dev/null @@ -1,11 +0,0 @@ - -mmo=AFFE_MODELE(MAILLAGE=xx, - AFFE=_F(TOUT='OUI', - PHENOMENE='MECANIQUE', - MODELISATION='3D',),); - -MACRO_MATR_ASSE(MODELE=mmo, - NUME_DDL=CO('nume'), - MATR_ASSE=_F(MATRICE=CO('mmb'), - OPTION='RIGI_MECA',),); - diff --git a/OldCodes/Aster/Tests/princl.35 b/OldCodes/Aster/Tests/princl.35 deleted file mode 100644 index 4a9f4aab..00000000 --- a/OldCodes/Aster/Tests/princl.35 +++ /dev/null @@ -1,5 +0,0 @@ - - -INCLUDE(UNITE=14,); - -DETRUIRE(CONCEPT=_F(NOM=None,),); \ No newline at end of file diff --git a/OldCodes/Aster/Tests/qincl.11 b/OldCodes/Aster/Tests/qincl.11 deleted file mode 100644 index c7101a0d..00000000 --- a/OldCodes/Aster/Tests/qincl.11 +++ /dev/null @@ -1 +0,0 @@ -MAAA=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/rincl.11 b/OldCodes/Aster/Tests/rincl.11 deleted file mode 100644 index c0277244..00000000 --- a/OldCodes/Aster/Tests/rincl.11 +++ /dev/null @@ -1 +0,0 @@ -MAAAA=LIRE_MAILLAGE() diff --git a/OldCodes/Aster/Tests/torsion.comm b/OldCodes/Aster/Tests/torsion.comm deleted file mode 100755 index 83f56092..00000000 --- a/OldCodes/Aster/Tests/torsion.comm +++ /dev/null @@ -1,340 +0,0 @@ - DEBUT(); - - - INCLUDE(UNITE: 80); - -TPS = 1. ; - - - -SY = 90. ; - - - -A = 1. ; -H = 0.01 ; -N = 50 ; -T = 0.01 ; -TD = DEFI_VALEUR(R8: EVAL(T*180./PI)) ; -CT = DEFI_VALEUR(R8: EVAL(COS(T))) ; -ST = DEFI_VALEUR(R8: EVAL(SIN(T))) ; -MST= DEFI_VALEUR(R8: EVAL(-ST)); -RAT= DEFI_VALEUR(R8: EVAL(H/A)); - - -K_REF = DEFI_VALEUR( R8: EVAL(0.9845615*Q1) ); -EPS_Y = DEFI_VALEUR( R8: EVAL( (1./K_REF)**5. )); -YOUNG = DEFI_VALEUR( R8: EVAL(SY/EPS_Y) ); - -!FORMULE( REEL: ( - RP(REEL:EPSI) = K_REF * SY * EPSI**0.2 - ) ); - -ECH_EPSI = DEFI_LIST_REEL ( - DEBUT: EPS_Y - INTERVALLE: ( - JUSQU_A: 3. - NOMBRE : 300 - ) - ) ; - -TRAC = CALC_FONC_INTERP ( - FONCTION: RP - LIST_PARA : ECH_EPSI - PROL_GAUCHE: 'LINEAIRE' - PROL_DROIT : 'LINEAIRE' - ) ; - - - PRE_GIBI(); - MA = LIRE_MAILLAGE(); - -&MA = DEFI_GROUP - ( - MAILLAGE: MA - CREA_GROUP_NO: - ( - TOUT_GROUP_MA: 'OUI' - ) - ) ; - - - CUIVRE = DEFI_MATERIAU - ( - ELAS : - ( - E : YOUNG - NU: 0.3 - ) - TRACTION : ( - SIGM: TRAC - ) - NON_LOCAL: ( - LONG_CARA: LC - ) - ) ; - - CHMAT = AFFE_MATERIAU - ( - MAILLAGE: MA - AFFE : - ( - GROUP_MA: TRANCHE - MATER : CUIVRE - ) - ) ; - - - MO_MECA = AFFE_MODELE - ( - MAILLAGE: MA - AFFE : - ( - GROUP_MA : TRANCHE - PHENOMENE : 'MECANIQUE' - MODELISATION : '3D_SI' - ) - ) ; - - MO_DELO = AFFE_MODELE ( - MAILLAGE: MA - AFFE: - ( - GROUP_MA: TRANCHE - PHENOMENE: 'NON_LOCAL' - MODELISATION: '3D' - ) - ) ; - - -!FORMULE ( REEL : ( UX_IMP(REEL: INST, REEL:X, REEL:Y) = - -INST*RAT*Y - )); -!FORMULE ( REEL : ( UY_IMP(REEL: INST, REEL:X, REEL:Y) = - INST*RAT*X - )); -!FORMULE ( REEL : ( UZ_IMP(REEL:X, REEL:Y) = 0. )); - - - ANCRAGE = AFFE_CHAR_MECA ( - MODELE : MO_MECA - FACE_IMPO: - ( - GROUP_MA: BAS - DX: 0. - DY: 0. - DZ: 0. - ) - ) ; - - TORSION = AFFE_CHAR_MECA_F ( - MODELE : MO_MECA - FACE_IMPO: - ( - GROUP_MA: HAUT - DX : UX_IMP - DY : UY_IMP - DZ : UZ_IMP - ) - ) ; - - - SYMETRIE = AFFE_CHAR_MECA ( - MODELE: MO_MECA - LIAISON_GROUP: ( - GROUP_MA_1 : SYM_CY_0 - GROUP_MA_2 : SYM_CY_1 - SANS_GROUP_NO: (HAUT, BAS) - DDL_1 : ('DX' 'DY' ) - DDL_2 : ('DX' ) - COEF_MULT_1 : (CT MST) - COEF_MULT_2 : (-1.) - COEF_IMPO : 0. - CENTRE : (0. 0. 0.) - ANGL_NAUT : (TD 0. 0.) - SOMMET : 'OUI' - ) - LIAISON_GROUP: ( - GROUP_MA_1 : SYM_CY_0 - GROUP_MA_2 : SYM_CY_1 - SANS_GROUP_NO: (HAUT, BAS) - DDL_1 : ('DX' 'DY' ) - DDL_2 : ('DY' ) - COEF_MULT_1 : (ST CT) - COEF_MULT_2 : (-1.) - COEF_IMPO : 0. - CENTRE : (0. 0. 0.) - ANGL_NAUT : (TD 0. 0.) - SOMMET : 'OUI' - ) - LIAISON_GROUP: ( - GROUP_MA_1 : SYM_CY_0 - GROUP_MA_2 : SYM_CY_1 - SANS_GROUP_NO: (HAUT, BAS) - DDL_1 : ('DZ') - DDL_2 : ('DZ') - COEF_MULT_1 : (1.) - COEF_MULT_2 : (-1.) - COEF_IMPO : 0. - CENTRE : (0. 0. 0.) - ANGL_NAUT : (TD 0. 0.) - SOMMET : 'OUI' - ) - ) ; - - - INSTANTS = DEFI_LIST_REEL - ( - DEBUT: 0. - INTERVALLE: - (JUSQU_A: TPS NOMBRE: 50) - ) ; - - - - EVOL = STAT_NON_LINE - ( - MODELE: MO_MECA - CHAM_MATER: CHMAT - EXCIT : - (CHARGE: TORSION) - (CHARGE: ANCRAGE) - (CHARGE: SYMETRIE) - INCREMENT: - ( - LIST_INST: INSTANTS - SUBD_PAS : 5 - SUBD_PAS_MINI: 0.0001 - ) - COMP_INCR: - ( - RELATION: 'PLAS_GRAD_TRAC' - DEFORMATION: 'PETIT' - ) - NEWTON: - ( - MATRICE:'ELASTIQUE' - ) - CONVERGENCE: - ( - RESI_GLOB_RELA: 1.E-4 - ITER_GLOB_MAXI: 500 - ITER_INTE_MAXI: 250 - RESI_INTE_RELA: 1.E-9 - ) - ARCHIVAGE: ( - ARCH_ETAT_INIT: 'OUI' - LIST_INST : INSTANTS - ) - - MODELE_NON_LOCAL: MO_DELO - LAGR_NON_LOCAL: ( - RESI_PRIM_ABSO: 1.E-9 - RESI_DUAL_ABSO: 1.E-4 - RHO: 1000. - ITER_PRIM_MAXI: 100 - ITER_DUAL_MAXI: 10 - ) - ) ; - - - -&EVOL = CALC_ELEM ( - MODELE: MO_MECA - CHAM_MATER: CHMAT - RESULTAT : EVOL - OPTION: ('SIEF_ELNO_ELGA' 'VARI_ELNO_ELGA') - ) ; - -&EVOL = CALC_NO ( - RESULTAT: EVOL - OPTION: ('FORC_NODA' - 'SIEF_NOEU_ELGA' 'VARI_NOEU_ELGA') - ) ; - - -ECHAN = INTE_MAIL_3D ( - MAILLAGE : MA - DEFI_SEGMENT: ( - GROUP_NO_ORIG: O1 - GROUP_NO_EXTR: A1 - ) - ) ; - - PLAS_CUM = POST_RELEVE_T ( - ACTION: ( - INTITULE : 'P' - CHEMIN : ECHAN - RESULTAT : EVOL - NOM_CHAM : 'VARI_NOEU_ELGA' - NOM_CMP : 'V1' - INST : TPS - OPERATION: 'EXTRACTION' - ) - ) ; - - - SIGMA = POST_RELEVE_T ( - ACTION: ( - INTITULE : 'SIYZ' - CHEMIN : ECHAN - RESULTAT : EVOL - NOM_CHAM : 'SIEF_NOEU_ELGA' - NOM_CMP : 'SIYZ' - INST : TPS - OPERATION: 'EXTRACTION' - ) - ) ; - - - - MOM_A = POST_RELEVE_T ( - ACTION: ( - INTITULE : 'MOMENT' - GROUP_NO : HAUT - RESULTAT : EVOL - NOM_CHAM : 'FORC_NODA' - RESULTANTE: ('DX' 'DY' 'DZ') - MOMENT : ('DRX' 'DRY' 'DRZ') - POINT : (0. 0. H) - TOUT_ORDRE: 'OUI' - OPERATION : 'EXTRACTION' - ) - ) ; - - MOM_KA_A = RECU_FONCTION ( - TABLE : MOM_A - PARA_X: 'INST' - PARA_Y: 'MOMENT_Z' - ) ; - -!FORMULE ( REEL:( MA3_KA(REEL: INST) = MOM_KA_A(INST)*360/TD/A**3/SY)); - - - - DEFUFI( - IMPRESSION: ( - NOM: 'POST_PY' - UNITE: 81 - ) - ) ; - - - - IMPR_COURBE( - FORMAT: 'AGRAF' - FICHIER: 'POST_PY' - COURBE: ( - FONCTION : MA3_KA - LIST_PARA: INSTANTS - ) - ) ; - - - FIN(); - - -IMPR_TABLE(TABLE:SIGMA); -IMPR_TABLE(TABLE:PLAS_CUM); - - FIN(); \ No newline at end of file diff --git a/OldCodes/Aster/__init__.py b/OldCodes/Aster/__init__.py deleted file mode 100644 index 8ed65e16..00000000 --- a/OldCodes/Aster/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# diff --git a/OldCodes/Aster/a.dat b/OldCodes/Aster/a.dat deleted file mode 100644 index 1122ebca..00000000 --- a/OldCodes/Aster/a.dat +++ /dev/null @@ -1,3 +0,0 @@ -1,2 -3,7 -8,9 diff --git a/OldCodes/Aster/alphasdist.py b/OldCodes/Aster/alphasdist.py deleted file mode 100644 index f3e6cab5..00000000 --- a/OldCodes/Aster/alphasdist.py +++ /dev/null @@ -1,147 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Ce module sert à construire les distributions de versions alpha d'EFICAS en fonction - du tag CVS courant (Vx_yaz). Une version alpha est une version dont toutes les fonctionnalités - ne sont pas implémentées. On utilise pour ces versions, les packages Noyau Validation Cata et Macro - locaux. - Les distributions sont : - - un tar.gz pour UNIX ne contenant pas mxTextTools - - un zip pour Windows contenant mx TextTools préinstallé - L'utilisation de ce module est la suivante : - 1- Se mettre dans un répertoire de travail - 2- Configurer son environnement pour utiliser le référentiel CVS EFICAS - 3- Exporter les sources d'Eficas par la commande : - cvs export -r TAG -d Eficas_export EficasV1_2 - ou TAG est le tag CVS de la version que l'on veut distribuer (par exemple V1_3a1) - 4- Aller dans le répertoire Eficas_export - 4- Executer le script alphasdist.py - python alphasdist.py - Ce qui a pour effet de creer un repertoire dist contenant les 2 distributions - et de les copier dans le répertoire indiqué par dir_download s'il est accessible - -""" -import os,shutil,glob,sys -import types - -version="$Name: V7_main $"[7:-2] or 'Test1_4' -# ==========Path du noyau local ==================== -path_Noyau=".." -# ============================================================ -nom_distrib="Eficas"+version+"AsterSTA8" -path_distrib=os.path.join("dist",nom_distrib) -path_TextTools="/home/eficas/pkg/mxTools/egenix2.0.2pourWindows/mx/TextTools" -dir_download= "/home/eficas/WWW/telechargement/eficas" - -def main(): - if os.path.isdir('dist'):shutil.rmtree('dist') - - copyfiles('.',path_distrib,['LICENSE.TERMS','INSTALL']) - - copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt']) - copyfiles('../Traducteur',os.path.join(path_distrib,'Traducteur'),['*.py']) - copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py']) - copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py']) - copyfiles('../Misc',os.path.join(path_distrib,'Misc'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py']) -# Packages globaux (pour toutes les versions sauf surcharge) - copyfiles('../Aster/Cata',os.path.join(path_distrib,'Aster','Cata'),['*.py', ]) - copyfiles('Cata/Utilitai',os.path.join(path_distrib,'Aster','Cata','Utilitai'),['*.py']) - copyfiles('Cata/pre74',os.path.join(path_distrib,'Aster','Cata','pre74'),['*.py']) -# version 5 -# On enleve la V5 a la demande d AMA -# copyfiles('Cata/cataSTA5',os.path.join(path_distrib,'Aster','Cata','cataSTA5'),['*.py']) -#version 6 - copyfiles('Cata/cataSTA6',os.path.join(path_distrib,'Aster','Cata','cataSTA6'),['*.py']) - copyfiles('Cata/cataSTA6/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA6','Macro'),['*.py']) -#version 7.3 -# copyfiles('Cata/cataSTA73',os.path.join(path_distrib,'Aster','Cata','cataSTA73'),['*.py']) -# copyfiles('Cata/cataSTA73/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA73','Macro'),['*.py']) -#version 7.6 - copyfiles('Cata/cataSTA76',os.path.join(path_distrib,'Aster','Cata','cataSTA76'),['*.py']) - copyfiles('Cata/cataSTA76/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA76','Macro'),['*.py']) -#version 8 - copyfiles('Cata/cataSTA8',os.path.join(path_distrib,'Aster','Cata','cataSTA8'),['*.py']) - copyfiles('Cata/cataSTA8/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA8,'Macro'),['*.py']) - - copyfiles('../AIDE',os.path.join(path_distrib,'AIDE'),['*.py']) - copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE','fichiers'),['*']) - copyfiles('../Aster',os.path.join(path_distrib,'Aster'),['prefs.py', - 'editeur.ini', - 'properties.py', - 'eficas_aster.py', - 'style.py', - ]) - copyfiles('../Aster/Cata',os.path.join(path_distrib,'Aster'),['aster.py',]) - copyfiles('../convert',os.path.join(path_distrib,'convert'),['*.py']) - copyfiles('../convert/Parserv5',os.path.join(path_distrib,'convert','Parserv5'),['*.py']) - - copyfiles('../generator',os.path.join(path_distrib,'generator'),['*.py']) - - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.gif']) - copyfiles('../Editeur/Patrons',os.path.join(path_distrib,'Editeur','Patrons'),['*.com*']) - - copyfiles(os.path.join(path_Noyau,'Noyau'),os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles(os.path.join(path_Noyau,'Validation'),os.path.join(path_distrib,'Validation'),['*.py']) - - copyfiles('../Tools',os.path.join(path_distrib,'Tools'),['*.py']) - copyfiles('../Tools/foztools',os.path.join(path_distrib,'Tools','foztools'),['*.py']) - copyfiles('../Pmw',os.path.join(path_distrib,'Pmw'),['*.py']) - copyfiles('../Pmw/Pmw_1_2',os.path.join(path_distrib,'Pmw','Pmw_1_2'),['*.py']) - copyfiles('../Pmw/Pmw_1_2/lib',os.path.join(path_distrib,'Pmw','Pmw_1_2','lib'),['*.py','Pmw.def']) - - tarball= maketarball('dist',nom_distrib,nom_distrib) - try: - shutil.copy(tarball,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - - try: - shutil.copytree(path_TextTools,os.path.join(path_distrib,'Tools','TextTools')) - except: - print "Impossible de recuperer mxTextTools : ",dir_download - sys.exit(1) - - zipfile= makezipfile('dist',nom_distrib,nom_distrib) - try: - shutil.copy(zipfile,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - -def make_dir(dir_cible): - if type(dir_cible) is not types.StringType: - raise "make_dir : dir_cible doit etre une string (%s)" % `dir_cible` - head,tail=os.path.split(dir_cible) - tails=[tail] - while head and tail and not os.path.isdir(head): - head,tail=os.path.split(head) - tails.insert(0, tail) - - for d in tails: - head = os.path.join(head, d) - if not os.path.isdir(head):os.mkdir(head) - - -def copyfiles(dir_origin,dir_cible,listfiles): - if not os.path.isdir(dir_cible):make_dir(dir_cible) - for glob_files in listfiles: - for file in glob.glob(os.path.join(dir_origin,glob_files)): - if os.path.isfile(file):shutil.copy(file,dir_cible) - -def maketarball(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - print prev - os.chdir(dir_trav) - os.system("tar -cf "+nom_tar+".tar "+dir_cible) - os.system("gzip -f9 "+nom_tar+".tar ") - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".tar.gz") - -def makezipfile(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - os.chdir(dir_trav) - os.system("zip -rq "+nom_tar+".zip "+dir_cible) - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".zip") - -main() - diff --git a/OldCodes/Aster/configuration_ASTER.py b/OldCodes/Aster/configuration_ASTER.py deleted file mode 100644 index 4851738f..00000000 --- a/OldCodes/Aster/configuration_ASTER.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert pour charger les parametres de configuration d'EFICAS -""" -# Modules Python -import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['exec_acrobat', 'catalogues','savedir','lang'] - self.labels_eficas=['path_doc','exec_acrobat','lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/Aster/eficasManager.py b/OldCodes/Aster/eficasManager.py deleted file mode 100644 index 922e5fed..00000000 --- a/OldCodes/Aster/eficasManager.py +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/env python -# -*- coding: iso-8859-1 -*- -# -# This module helps you to dynamically add a catalog in the list of -# Aster catalogs and then start Eficas with this catalog -# -# WARN: this requires that and /Aster are -# both in the PYTHONPATH -# -# WARN: This python module is a prototype. For industrial usage, it -# should be integrated in a package outside from the Aster specific -# package ==> define a generic prefs -# -# (gboulant - 23/03/2012) - -import sys -sys.path.append("..") - -# =================================================================== -# This part is to manage the catalog that defines the data structure -import prefs_ASTER -def addCatalog(catalogName, catalogPath): - """ - Function to add a catalog caraterized by a name (for the -c option - of the command line) and a path (the location of the python module - that corresponds to the catalog). - """ - prefs_ASTER.addCatalog(catalogName, catalogPath) - -import sys -import prefs -from InterfaceQT4 import eficas_go -def start(catalogName=None): - """ - This simply start Eficas as usual, and passing the catalog name as - an argument if not already present on the command line. - """ - if catalogName is not None and not "-c" in sys.argv: - # The catalogName can be consider as the -c option - sys.argv.append("-c") - sys.argv.append(catalogName) - eficas_go.lance_eficas(code=prefs.code) - -# =================================================================== -# This part is to manage the data saved from Eficas to comm file. -# The text contained in a comm file defines a JdC ("Jeu de Commandes"). - -def loadJdc(filename): - """ - This function loads the text from the specified JdC file. A JdC - file is the persistence file of Eficas (*.comm). - """ - fcomm=open(filename,'r') - jdc = "" - for line in fcomm.readlines(): - jdc+="%s"%line - - # Warning, we have to make sure that the jdc comes as a simple - # string without any extra spaces/newlines - return jdc.strip() - -def getJdcParameters(jdc,macro): - """ - This function converts the data from the specified macro of the - specified jdc text to a python dictionnary whose keys are the - names of the data of the macro. - """ - context = {} - source = "def args_to_dict(**kwargs): return kwargs \n" - source+= "%s = _F = args_to_dict \n"%macro - source+= "parameters="+jdc+" \n" - source+= "context['parameters'] = parameters \n" - #print source - code = compile(source, 'file.py', 'exec') - eval(code) - parameters = context['parameters'] - return parameters - -# -# =========================================================== -# Unit tests -# =========================================================== -# -def TEST_start(): - addCatalog(catalogName="demo", catalogPath="mycata.py") - #start() - start("demo") - -def TEST_getJdcParameters_fromString(): - jdc="S_EP_INTERNE(dir_name='/tmp', \n \ - TYPE_SEP='TUBE_SOUS_EPAISSEUR', \n \ - MAIL_TUBE=_F(UNITE_LONGUEUR='MM', \n \ - R_EXT=130., \n \ - EP_NOMINALE=22.0, \n \ - NB_SEG_AMORTISSEMENT=11, \n \ - NB_SEG_TRANSITION=4, \n \ - NB_SEG_GENERATRICES=5, \n \ - DIST_PTS_GEN_MIN=100.0, \n \ - NB_SEG_GEN_MIN=3, \n \ - NB_SEG_ARC=5, \n \ - NB_SEG_EP=3,),);" - - parameters=getJdcParameters(jdc,"S_EP_INTERNE") - print "parameters = ",parameters - print parameters['MAIL_TUBE']['R_EXT'] - - -def TEST_getJdcParameters_fromFile(): - jdc = loadJdc('data.comm') - parameters=getJdcParameters(jdc,"EPREUVE_ENCEINTE") - print parameters - - -if __name__ == "__main__": - TEST_start() - TEST_getJdcParameters_fromString() - TEST_getJdcParameters_fromFile() diff --git a/OldCodes/Aster/eficas_aster.py b/OldCodes/Aster/eficas_aster.py deleted file mode 100755 index bc668a5b..00000000 --- a/OldCodes/Aster/eficas_aster.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -""" - Ce module sert à lancer EFICAS configuré pour Code_Aster -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -from InterfaceTK import eficas_go - -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/Aster/lance_test.sh b/OldCodes/Aster/lance_test.sh deleted file mode 100755 index 743c70be..00000000 --- a/OldCodes/Aster/lance_test.sh +++ /dev/null @@ -1,43 +0,0 @@ -#unalias do -#set -x -version=NEW9 -passe=1 -rm -rf ./Batch/${version}/ok_${passe} -rm -rf ./Batch/${version}/bad_${passe} -rm -rf ./Batch/${version}/badfile_${passe} -rm -rf ./Batch/${version}/nt_${passe} -for file in `cat ./Batch/${version}/aTester` -do - echo $file - grep "VISU_EFICAS='NON'" $file > /dev/null 2>/dev/null - rc=$? - if [ "$rc" != "0" ] - then - grep INCLUDE $file | grep -v "#" | grep -v INCLUDE_MATERIAU > /dev/null 2>/dev/null - rc=$? - if [ "$rc" != "0" ] - then - cr=`./test_eficas.py $file` - if [ "${cr}" == "" ] - then - echo $file >> ./Batch/${version}/bad_${passe} - else - nomfeuille=`basename $file` - boncr="DEBUT CR validation : "${nomfeuille}" FIN CR validation :"${nomfeuille} - cr=`echo $cr` - if [ "${cr}" != "$boncr" ] - then - echo $file >> ./Batch/${version}/bad_${passe} - echo $cr >>./Batch/${version}/bad_${passe} - echo $file >>./Batch/${version}/badfile_${passe} - else - echo $file >> ./Batch/${version}/ok_${passe} - fi - fi - else - echo $file >> ./Batch/${version}/nt_${passe} - fi - else - echo $file >> ./Batch/${version}/nt_${passe} - fi -done diff --git a/OldCodes/Aster/prefs.py b/OldCodes/Aster/prefs.py deleted file mode 100644 index b4663f8f..00000000 --- a/OldCodes/Aster/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="ASTER" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/Aster/prefs.py.win b/OldCodes/Aster/prefs.py.win deleted file mode 100644 index c70c90fe..00000000 --- a/OldCodes/Aster/prefs.py.win +++ /dev/null @@ -1,101 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys - -# repIni sert à localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) - -# INSTALLDIR sert à localiser l'installation d'Eficas -# Obligatoire -INSTALLDIR=os.path.join(repIni,'..') - -# CODE_PATH sert à localiser Noyau et Validation éventuellement -# non contenus dans la distribution EFICAS -# Par défaut on utilise les modules de INSTALLDIR -# Peut valoir None (defaut) -CODE_PATH = None -#CODE_PATH = os.path.join(repIni,'../../Superv') - -# la variable code donne le nom du code a selectionner -code="ASTER" - -# ICONDIR sert à localiser le répertoire contenant les icones -# Par défaut on utilise le répertoire icons dans Editeur -ICONDIR=os.path.join(INSTALLDIR,'Editeur','icons') - -# lang indique la langue utilisée pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -labels= ('Fichier','Edition','Jeu de commandes', -# 'Catalogue','Browsers', - 'Options', - 'Aide', - ) - -appli_composants=['readercata','bureau', -# 'browser', - 'options', - ] - -menu_defs={ 'bureau': [ - ('Fichier',[ - ('Nouveau','newJDC','','Ctrl+N'), - ('Nouvel INCLUDE','newJDC_include'), - ('Ouvrir','openJDC','','Ctrl+O'), - ('Enregistrer','saveJDC','','Ctrl+S'), - ('Enregistrer sous','saveasJDC','','Ctrl+E'), - None, - ('Fermer','closeJDC','','Ctrl+W'), - ('Quitter','exitEFICAS','','Ctrl+Q'), - ] - ), - ('Edition',[ - ('Copier','copy','','Ctrl+C'), - ('Couper','cut','','Ctrl+X'), - ('Coller','paste','','Ctrl+V'), - ] - ), - ('Jeu de commandes',[ - ('Rapport de validation','visuCRJDC','','Ctrl+R'), - ('Fichier source','visu_txt_brut_JDC','','Ctrl+B'), - #('Paramètres Eficas','affichage_fichier_ini'), - ] - ), - ('Aide',[ - ('Aide EFICAS','aideEFICAS','','Ctrl+A'), - ] - ), - ] - } - -userprefs=os.path.expanduser("~/Eficas_install/prefs.py") -if os.path.isfile(userprefs): - try: - execfile(userprefs) - except: - pass - -sys.path[:0]=[INSTALLDIR] diff --git a/OldCodes/Aster/prefs_ASTER.py b/OldCodes/Aster/prefs_ASTER.py deleted file mode 100644 index f9aa732c..00000000 --- a/OldCodes/Aster/prefs_ASTER.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -import os - -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -rep_cata = os.path.join(repIni,'Cata') -mode_nouv_commande='alpha' - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# Utilisateur/Developpeur -isdeveloppeur = "NON" - -rep_mat_STA88=os.path.join(rep_cata,'cataSTA8','materiau') -rep_mat_STA98=os.path.join(rep_cata,'cataSTA9','materiau') -rep_mat_STA103=os.path.join(rep_cata,'cataSTA10','materiau') - -#path_doc="/local/noyret/Docs" -rep_doc_STA88="/local/noyret/Docs" -rep_doc_STA103="/local/noyret/Docs" -rep_doc_STA11="/local/noyret/Docs/cataSTA11c_clefs_docu" - -# Choix des catalogues -catalogues=( -#('ASTER','STA8.8',os.path.join(rep_cata,'cataSTA8'),'python'), -#('ASTER','STA9.8',os.path.join(rep_cata,'cataSTA9'),'python'), -#('ASTER','STA10.3',os.path.join(rep_cata,'cataSTA10'),'python'), -#('ASTER','STA11',os.path.join(rep_cata,'cataSTA11'),'python','defaut'), -('ASTER','STA12',os.path.join(rep_cata,'cataSTA12'),'python','defaut'), -) -exec_acrobat = '/usr/bin/xgd-open' - - -def addCatalog(catalogName, catalogPath): - """ - This function helps you to add a new catalog dynamically - """ - global catalogues - item=('ASTER',catalogName,catalogPath,'python') - catalogues+=(item,) - diff --git a/OldCodes/Aster/properties.py b/OldCodes/Aster/properties.py deleted file mode 100644 index 3e8be170..00000000 --- a/OldCodes/Aster/properties.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -version = "10.1.27" -date = "02/06/2010" -exploit = False diff --git a/OldCodes/Aster/qtEficas_aster.py b/OldCodes/Aster/qtEficas_aster.py deleted file mode 100755 index f49b9bcb..00000000 --- a/OldCodes/Aster/qtEficas_aster.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/Aster/qtGroup.py b/OldCodes/Aster/qtGroup.py deleted file mode 100755 index 308eda6b..00000000 --- a/OldCodes/Aster/qtGroup.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert à lancer EFICAS configuré pour Code_Aster -""" -# Modules Python -import sys,os - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - - -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -from InterfaceQT4 import eficas_go - -eficas_go.lance_eficas_ssIhm_cherche_Groupes(code=prefs.code,version='STA10.3') diff --git a/OldCodes/Aster/reecrit_comm.py b/OldCodes/Aster/reecrit_comm.py deleted file mode 100755 index eac5d59c..00000000 --- a/OldCodes/Aster/reecrit_comm.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -import sys,os - -# Modules Eficas -import prefs -if hasattr(prefs,'encoding'): - # Hack pour changer le codage par defaut des strings - import sys - reload(sys) - sys.setdefaultencoding(prefs.encoding) - del sys.setdefaultencoding - # Fin hack - - -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -from InterfaceQT4 import eficas_go - -if len(sys.argv) > 1 : - # on veut ouvrir un fichier directement au lancement d'Eficas - eficas_go.lance_eficas_ssIhm_reecrit(code='ASTER',fichier = sys.argv[1],version='STA11') diff --git a/OldCodes/Aster/sdist.py b/OldCodes/Aster/sdist.py deleted file mode 100644 index a626f377..00000000 --- a/OldCodes/Aster/sdist.py +++ /dev/null @@ -1,180 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Ce module sert à construire les distributions d'EFICAS en fonction - du tag CVS courant - Les distributions sont : - - un tar.gz pour UNIX ne contenant pas mxTextTools - - un zip pour Windows contenant mx TextTools préinstallé - L'utilisation de ce module est la suivante : - 1- Se mettre dans un répertoire de travail - 2- Configurer son environnement pour utiliser le référentiel CVS EFICAS - 3- Exporter les sources d'EficasV1 par la commande : - cvs export -r TAG -d Eficas_export EficasV1 - ou TAG est le tag CVS de la version que l'on veut distribuer (par exemple V1_1p1) - 4- Copier le répertoire fourni par Aster (ACCAS6.2.0) au meme niveau que Eficas_export - 5- Aller dans le répertoire Eficas_export - 6- Executer le script sdist.py - python sdist.py - Ce qui a pour effet de creer un repertoire dist contenant les 2 distributions - et de les copier dans le répertoire indiqué par dir_download s'il est accessible - -""" -import os,shutil,glob,sys -import types - -version="$Name: V7_main $"[7:-2] or 'Test1_4' -# ==========Path du noyau fourni par Aster==================== -path_Noyau="../../AccasAster" -# ============================================================ -nom_distrib="Eficas"+version -path_distrib=os.path.join("dist",nom_distrib) -path_TextTools="/home/eficas/pkg/mxTools/egenix2.0.2pourWindows/mx/TextTools" -dir_download= "/home/eficas/WWW/telechargement/eficas" - -def main(): - if os.path.isdir('dist'):shutil.rmtree('dist') - - copyfiles('.',path_distrib,['LICENSE.TERMS','INSTALL','NEWS']) - - copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt']) - copyfiles('../InterfaceTK',os.path.join(path_distrib,'InterfaceTK'),['*.py','faqs.txt']) - copyfiles('../InterfaceQT4',os.path.join(path_distrib,'InterfaceQT4'),['*.py']) - copyfiles('../UiQT4',os.path.join(path_distrib,'UiQT4'),['*.ui','makefile']) - copyfiles('../Traducteur',os.path.join(path_distrib,'Traducteur'),['*.py']) - copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py']) - copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py']) - copyfiles('../Misc',os.path.join(path_distrib,'Misc'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py']) - # AIDE - copyfiles('../Aide',os.path.join(path_distrib,'Aide'),['*_ASTER.adp']) - copyfiles('../Aide/fichiers_ASTER',os.path.join(path_distrib,'Aide','fichiers_ASTER'),['*']) - #pour Aster TK - copyfiles('../AIDE',os.path.join(path_distrib,'AIDE'),['*.py']) - copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE','fichiers'),['*']) - copyfiles('.',os.path.join(path_distrib,'AIDE','fichiers'),['INSTALL','NEWS']) - copyfiles('../Editeur',os.path.join(path_distrib,'AIDE','fichiers'),['faqs.txt']) - # Code_Aster - copyfiles('../Aster',os.path.join(path_distrib,'Aster'),['prefs.py', - 'prefs_ASTER.py', - 'editeur.ini', - 'editeur_salome.ini', - 'eficas_aster.py', - 'qtEficas_aster.py', - 'configuration.py', - 'configuration_ASTER.py', - 'test_eficas.py', - 'style.py', - '__init__.py' - ]) - - # Les Catalogues, Macros, Materiaux et SD - # copyfiles('Cata/Utilitai',os.path.join(path_distrib,'Aster','Cata','Utilitai'),['*.py']) - # copyfiles('Cata/pre74',os.path.join(path_distrib,'Aster','Cata','pre74'),['*.py']) - - #copyfiles('Cata/cataSTA6',os.path.join(path_distrib,'Aster','Cata','cataSTA6'),['*.py']) - #copyfiles('Cata/cataSTA6/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA6','Macro'),['*.py']) - - #copyfiles('Cata/cataSTA7',os.path.join(path_distrib,'Aster','Cata','cataSTA7'),['*.py']) - #copyfiles('Cata/cataSTA7/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA7','Macro'),['*.py']) - #copyfiles('Cata/cataSTA7/materiau',os.path.join(path_distrib,'Aster','Cata','cataSTA7/materiau'),['README.py']) - - copyfiles('Cata/cataSTA8',os.path.join(path_distrib,'Aster','Cata','cataSTA8'),['*.py']) - copyfiles('Cata/cataSTA8/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA8/Macro'),['*.py']) - copyfiles('Cata/cataSTA8/materiau',os.path.join(path_distrib,'Aster','Cata','cataSTA8/materiau'),['README.py']) - - copyfiles('Cata/cataSTA9',os.path.join(path_distrib,'Aster','Cata','cataSTA9'),['*.py']) - copyfiles('Cata/cataSTA9/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA9/Macro'),['*.py']) - copyfiles('Cata/cataSTA9/materiau',os.path.join(path_distrib,'Aster','Cata','cataSTA9/materiau'),['README.py']) - copyfiles('Cata/cataSTA9/SD',os.path.join(path_distrib,'Aster','Cata','cataSTA9/SD'),['*.py']) - - copyfiles('Cata/cataSTA10',os.path.join(path_distrib,'Aster','Cata','cataSTA10'),['*.py']) - copyfiles('Cata/cataSTA10/Macro',os.path.join(path_distrib,'Aster','Cata','cataSTA10/Macro'),['*.py']) - #copyfiles('Cata/cataSTA10/materiau',os.path.join(path_distrib,'Aster','Cata','cataSTA10/materiau'),['README.py']) - copyfiles('Cata/cataSTA10/SD',os.path.join(path_distrib,'Aster','Cata','cataSTA10/SD'),['*.py']) - - copyfiles('Cata',os.path.join(path_distrib,'Aster','Cata'),['*9c_clefs_docu']) - copyfiles('../Aster/Cata',os.path.join(path_distrib,'Aster'),['aster.py',]) - - # ______________________ - - copyfiles('../convert',os.path.join(path_distrib,'convert'),['*.py']) - copyfiles('../convert/Parserv5',os.path.join(path_distrib,'convert','Parserv5'),['*.py']) - copyfiles('../generator',os.path.join(path_distrib,'generator'),['*.py']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.gif','*.png']) - copyfiles('../Editeur/Patrons',os.path.join(path_distrib,'Editeur','Patrons'),['*.com*']) - copyfiles('../Editeur/Patrons/ASTER',os.path.join(path_distrib,'Editeur','Patrons','ASTER'),['*.com*']) - - copyfiles(os.path.join(path_Noyau,'Noyau'),os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles(os.path.join(path_Noyau,'Validation'),os.path.join(path_distrib,'Validation'),['*.py']) - copyfiles(os.path.join(path_Noyau,'Accas'),os.path.join(path_distrib,'Aster'),['properties.py']) - copyfiles(os.path.join(path_Noyau,'Cata'),os.path.join(path_distrib,'Aster','Cata'),['__init__.py',]) - copyfiles(os.path.join(path_Noyau,'Macro'),os.path.join(path_distrib,'Aster','Cata','cataSTA9','Macro'),['.py']) - #os.system("mv "+path_distrib+"/Aster/Cata/cata_STA9.py "+path_distrib+"/Aster/Cata/cataSTA9/cata.py") - - copyfiles('../Tools',os.path.join(path_distrib,'Tools'),['*.py']) - copyfiles('../Tools/foztools',os.path.join(path_distrib,'Tools','foztools'),['*.py']) - copyfiles('../Pmw',os.path.join(path_distrib,'Pmw'),['*.py']) - copyfiles('../Pmw/Pmw_1_2',os.path.join(path_distrib,'Pmw','Pmw_1_2'),['*.py']) - copyfiles('../Pmw/Pmw_1_2/lib',os.path.join(path_distrib,'Pmw','Pmw_1_2','lib'),['*.py','Pmw.def']) - - - tarball= maketarball('dist',nom_distrib,nom_distrib) - try: - shutil.copy(tarball,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - - shutil.copy('prefs.py.win',os.path.join(path_distrib,'Aster','prefs.py')) - shutil.copy('editeur.ini.win',os.path.join(path_distrib,'Aster','editeur.ini')) - - try: - shutil.copytree(path_TextTools,os.path.join(path_distrib,'Tools','TextTools')) - except: - print "Impossible de recuperer mxTextTools : ",dir_download - sys.exit(1) - - zipfile= makezipfile('dist',nom_distrib,nom_distrib) - try: - shutil.copy(zipfile,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - -def make_dir(dir_cible): - if type(dir_cible) is not types.StringType: - raise "make_dir : dir_cible doit etre une string (%s)" % `dir_cible` - head,tail=os.path.split(dir_cible) - tails=[tail] - while head and tail and not os.path.isdir(head): - head,tail=os.path.split(head) - tails.insert(0, tail) - - for d in tails: - head = os.path.join(head, d) - if not os.path.isdir(head):os.mkdir(head) - - -def copyfiles(dir_origin,dir_cible,listfiles): - if not os.path.isdir(dir_cible):make_dir(dir_cible) - for glob_files in listfiles: - for file in glob.glob(os.path.join(dir_origin,glob_files)): - shutil.copy(file,dir_cible) - - -def maketarball(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - print prev - os.chdir(dir_trav) - os.system("tar -cf "+nom_tar+".tar "+dir_cible) - os.system("gzip -f9 "+nom_tar+".tar ") - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".tar.gz") - -def makezipfile(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - os.chdir(dir_trav) - os.system("zip -rq "+nom_tar+".zip "+dir_cible) - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".zip") - -main() - diff --git a/OldCodes/Aster/style.py b/OldCodes/Aster/style.py deleted file mode 100644 index 7ee50545..00000000 --- a/OldCodes/Aster/style.py +++ /dev/null @@ -1,84 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" -Pour modifier le style d'EFICAS il faut ajouter un fichier style.py qui contiendra les -informations sur le style voulu dans son repertoire Eficas_install. - -La methode la plus simple consiste à modifier directement les attributs de l'objet style dans le -fichier style.py d'Eficas_install. Exemple:: - - style.background='yellow' - -pour modifier la couleur du background. - -Il existe une autre méthode qui peut être utilisée quand on veut modifier plusieurs propriétés à la fois. - -Le fichier style.py doit définir une nouvelle classe qui dérive de la classe de base STYLE avec des attributs -de classe qui définiront le nouveau style (par exemple, si on veut modifier le background):: - - class STYLE(STYLE): - background='yellow' - -Il faut ensuite instancier cette classe, dans ce meme fichier, en donnant le nom style à l'objet cree:: - - style=STYLE() - -Tous les attributs de classe possibles sont visibles dans le module Editeur/basestyle.py:: - - background='gray90' - foreground='black' - entry_background='white' - list_background='white' - list_select_background='#00008b' - list_select_foreground='grey' - tooltip_background="yellow" - - standard = ("Helvetica",12) - standard_italique = ("Helvetica",12,'italic') - standard_gras = ("Helvetica",12,'bold') - standard_gras_souligne = ("Helvetica",12,'bold','underline') - - canvas = ('Helvetica',10) - canvas_italique = ('Helvetica',10,'italic') - canvas_gras = ("Helvetica",10,'bold') - canvas_gras_italique = ("Helvetica",12,'bold','italic') - - standard12 = ("Helvetica",14) - standard12_gras = ("Helvetica",14,'bold') - standard12_gras_italique = ( "Helvetica",14,'bold','italic') - - -Le fichier style.py contenu dans le répertoire Aster permet de spécifier des propriétés globales pour une installation. -Les modifications de style contenues dans ce fichier et dans le fichier style.py d'Eficas_install -sont prises en compte dans cet ordre. -""" - -p1=10 -p2=14 -f1="Helvetica" - -style.background='gray90' -style.foreground='black' -style.standard = (f1,p1) -style.standard_italique = (f1,p1,'italic') -style.standard_gras = (f1,p1,'bold') -style.canvas_italique = (f1,p1,'italic') -style.canvas_gras = (f1,p1,'bold') -style.statusfont = (f1,p2) diff --git a/OldCodes/Aster/test_eficas.py b/OldCodes/Aster/test_eficas.py deleted file mode 100755 index 5ccac45c..00000000 --- a/OldCodes/Aster/test_eficas.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -import sys,os - -# Modules Eficas -import prefs -if hasattr(prefs,'encoding'): - # Hack pour changer le codage par defaut des strings - import sys - reload(sys) - sys.setdefaultencoding(prefs.encoding) - del sys.setdefaultencoding - # Fin hack - - -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -from InterfaceQT4 import eficas_go - -if len(sys.argv) > 1 : - # on veut ouvrir un fichier directement au lancement d'Eficas - eficas_go.lance_eficas_ssIhm_cherche_cr(code='ASTER',fichier = sys.argv[1],version='STA10.3') diff --git a/OldCodes/CarmelCND/CMakeLists.txt b/OldCodes/CarmelCND/CMakeLists.txt deleted file mode 100644 index b708105c..00000000 --- a/OldCodes/CarmelCND/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES - qtEficas_CarmelCND.py prefs_CARMELCND.py prefs.py configuration_CARMELCND.py - acquiertGroupes.py CarmelCND_Cata.py PrepareRunCarmel.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/CarmelCND - ) - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/CarmelCND/CarmelCND_Cata.py b/OldCodes/CarmelCND/CarmelCND_Cata.py deleted file mode 100644 index a8413ce9..00000000 --- a/OldCodes/CarmelCND/CarmelCND_Cata.py +++ /dev/null @@ -1,75 +0,0 @@ -from Accas import * - -class source(ASSD): - pass - -class conducteur(ASSD): - pass - -class nocond(ASSD): - pass - -class vcut(ASSD): - pass - -class zs(ASSD): - pass - - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -JdC = JDC_CATA (code = 'monCode', - execmodul = None, - ) - -# ====================================================================== - - -SOURCE=OPER(nom='SOURCE',op=None,sd_prod=source,UIinfo = { "groupes" : ( "CACHE", ) }, - EnveloppeConnexeInducteur=SIMP(statut='o',typ='TXM',defaut="default"), - VecteurDirecteur=SIMP(statut='o',typ=Tuple(3),validators=VerifTypeTuple(('R','R','R'))), - #VecteurDirecteur=SIMP(statut='o',typ=Tuple(3),homo="constant",validators=VerifTypeTuple(('R','R','R'))), - Centre=SIMP(statut='o',typ=Tuple(3),validators=VerifTypeTuple(('R','R','R'))), - SectionBobine=SIMP(statut='o',typ='R',fr='en m2',ang='(m2)'), - Amplitude=SIMP(statut='o',typ='R',fr='en A',ang='(A)'), - NbdeTours=SIMP(statut='o',typ='I',val_min=1), -) - -CONDUCTEUR=OPER(nom='CONDUCTEUR',op=None,sd_prod=conducteur,UIinfo = { "groupes" : ( "CACHE", ) }, - Conductivite=SIMP(statut='o',typ='R',fr='en S/m',ang='(S/m)'), - PermeabiliteRelative=SIMP(statut='o',typ='R',), -) -NOCOND=OPER(nom='NOCOND',op=None,sd_prod=nocond,UIinfo = { "groupes" : ( "CACHE", ) }, - PermeabiliteRelative=SIMP(statut='o',typ='R',), -) -# -VCUT=OPER(nom='VCUT',op=None,sd_prod=vcut,UIinfo = { "groupes" : ( "CACHE", ) }, - Orientation=SIMP(statut='o',typ='TXM',into=("Oppose","Meme sens"),defaut="Oppose"), -) -ZS=OPER(nom='ZS',op=None,sd_prod=zs,UIinfo = { "groupes" : ( "CACHE", ) }, - Conductivite=SIMP(statut='o',typ='R',), - PermeabiliteRelative=SIMP(statut='o',typ='R',), -) -PARAMETRES=PROC(nom='PARAMETRES',op=None, UIinfo = { "groupes" : ( "CACHE", ) }, - RepCarmel=SIMP(typ='Repertoire',fr= "Repertoire Carmel",ang= "Carmel Directory",statut= "o",defaut="/projets/projets.002/carmel3d.001/frequentiel/V_240/Compil"), - TypedeFormule=SIMP(statut='o',typ='TXM',into=("TOMEGA","APHI")), - Frequence=SIMP(statut='o',typ='I',fr="en Hz",ang="(Hz)"), - Nb_Max_Iterations=SIMP(statut='o',typ='I',val_min=1,val_max=50000,defaut=10000), - Erreur_Max=SIMP(statut='o',typ='R',defaut=1E-9), -) diff --git a/OldCodes/CarmelCND/PourTraductionCarmel.py b/OldCodes/CarmelCND/PourTraductionCarmel.py deleted file mode 100644 index c0056847..00000000 --- a/OldCodes/CarmelCND/PourTraductionCarmel.py +++ /dev/null @@ -1,21 +0,0 @@ -print tr("SOURCE") -print tr("EnveloppeConnexeInducteur") -print tr("EnveloppeConnexe2") -print tr("VecteurDirecteur") -print tr("Centre") -print tr("SectionBobine") -print tr("Amplitude") -print tr("NbdeTours") -print tr("CONDUCTEUR") -print tr("Conductivite") -print tr("PermeabiliteRelative") -print tr("NOCOND") -print tr("VCUT") -print tr("Orientation") -print tr("ZS") -print tr("PARAMETRES") -print tr("RepCarmel") -print tr("TypedeFormule") -print tr("Frequence") -print tr("Nb_Max_Iterations") -print tr("Erreur_Max") diff --git a/OldCodes/CarmelCND/PrepareRunCarmel.py b/OldCodes/CarmelCND/PrepareRunCarmel.py deleted file mode 100644 index 58af31d7..00000000 --- a/OldCodes/CarmelCND/PrepareRunCarmel.py +++ /dev/null @@ -1,24 +0,0 @@ -def prepareRunCarmel(repertoireExe,repertoireMed,nom): - texte= 'echo "Debut execution gendof" \n' - texte+= 'cd ' + repertoireMed + ' \n' - texte+= repertoireExe+"/gendof.exe -scale 0.001 < " + nom + ".ingendof\n" - texte+= 'echo "Debut execution fcarmel" \n' - #texte+= repertoireExe+"/gendof.exe -scale 0.001 \n" - #texte+= 'if [ ! -f "'+nom+'.car" ]\n' - #texte+= 'then\n exit(1)\nfi \n\n' - texte+= repertoireExe+"/fcarmel.exe < " + nom + ".infcarmel\n" - #texte+= repertoireExe+"/fcarmel.exe \n" - #texte+= 'if [ ! -f "'+nom+'.xmat" ]\n' - #texte+= 'then\n exit(1)\nfi \n\n' - texte+= 'echo "Debut execution postprocess" \n' - texte+= repertoireExe+"/postprocess.exe < " + nom + ".inpostprocess\n" - texte+= 'read a' - #texte+= repertoireExe+"/postprocess.exe" - - return texte - -if __name__ == "__main__": - repertoire="/home/A96028/ExecCarmel/Compil" - nom="lance/Domaine" - print prepareRunCarmel(repertoire,nom) - diff --git a/OldCodes/CarmelCND/acquiertGroupes.py b/OldCodes/CarmelCND/acquiertGroupes.py deleted file mode 100755 index 35eb0918..00000000 --- a/OldCodes/CarmelCND/acquiertGroupes.py +++ /dev/null @@ -1,123 +0,0 @@ -#! /usr/bin/env python -# -*- coding:utf-8 -*- -# /* This file is part of MED. -# * -# * COPYRIGHT (C) 1999 - 2013 EDF R&D, CEA/DEN -# * MED is free software: you can redistribute it and/or modify -# * it under the terms of the GNU Lesser General Public License as published by -# * the Free Software Foundation, either version 3 of the License, or -# * (at your option) any later version. -# * -# * MED is distributed in the hope that it will be useful, -# * but WITHOUT ANY WARRANTY; without even the implied warranty of -# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# * GNU Lesser General Public License for more details. -# * -# * You should have received a copy of the GNU Lesser General Public License -# * along with MED. If not, see . -# */ - - -import sys -sys.path.append('/home/A96028/Salome/V7_main/tools/install/Medfichier-307-hdf51810/lib/python2.7/site-packages') - -from med.medfile import * -from med.medmesh import * -from med.medfamily import * -from med.medfilter import * - - -def getGroupes(filename,debug=0) : - listeGroupes=[] - maa="" - - dicoNumFam={} - - try : - fid = MEDfileOpen(filename,MED_ACC_RDONLY) - except : - return ("Pb a la lecture du fichier", listeGroupes,maa) - - - # /* Lecture des infos concernant le premier maillage */ - maa, sdim, mdim, type, desc, dtunit, sort, nstep, rep, nomcoo,unicoo = MEDmeshInfo(fid, 1) - if debug : - print "Maillage de nom : |%s| de dimension : %ld , et de type %s\n"%(maa,mdim,type) - print "Maillage de nom : |%s| , de dimension : %ld , et de type %s\n"%(maa,mdim,type) - print "\t -Dimension de l'espace : %ld\n"%(sdim) - print "\t -Description du maillage : %s\n"%(desc) - print "\t -Noms des axes : |%s|\n"%(nomcoo) - print "\t -Unités des axes : |%s|\n"%(unicoo) - print "\t -Type de repère : %s\n"%(rep) - print "\t -Nombre d'étape de calcul : %ld\n"%(nstep) - print "\t -Unité des dates : |%s|\n"%(dtunit) - - # /* Lecture du nombre de familles */ - nfam = MEDnFamily(fid,maa) - if debug : - print "Nombre de familles : %d \n"%(nfam) - - # /* Lecture de chaque famille */ - for i in xrange(0,nfam): - - # /* Lecture du nombre de groupe */ - ngro = MEDnFamilyGroup(fid,maa,i+1) - if debug : - print "Famille %d a %d groupes \n"%(i+1,ngro) - - gro = MEDCHAR(MED_LNAME_SIZE*ngro+1) - - nomfam,numfam,gro = MEDfamilyInfo(fid,maa,i+1,gro) - if debug : - print "Famille de nom %s et de numero %d : \n"%(nomfam,numfam) - print "Attributs : \n" - - for j in xrange(0,ngro): - # print "gro = %s\n"%(gro[j*MED_LNAME_SIZE:j*MED_LNAME_SIZE+MED_LNAME_SIZE]) - groupSplit=gro[j*MED_LNAME_SIZE:j*MED_LNAME_SIZE+MED_LNAME_SIZE] - groupeName="".join(groupSplit).split("\x00")[0] - groupeName=groupeName.replace(' ','') - if groupeName[0:7]=="CENTRE_" : dicoNumFam[groupeName]=numfam - if groupeName not in listeGroupes : listeGroupes.append(groupeName) - - - #print dicoNumFam - #print listeGroupes - - # /* Lecture des Numeros de Familles */ - - nnoe, chgt, trsf = MEDmeshnEntity(fid,maa,MED_NO_DT,MED_NO_IT, MED_NODE,MED_NONE,MED_COORDINATE,MED_NO_CMODE) - nufano = MEDINT(nnoe) - MEDmeshEntityFamilyNumberRd(fid,maa, MED_NO_DT, MED_NO_IT, MED_NODE,MED_NONE,nufano) - dicoNumNode={} - for groupe in dicoNumFam.keys(): - famille=dicoNumFam[groupe] - i=0 - while i < nufano.size(): - if nufano[i]==famille : - dicoNumNode[groupe]=i+1 - break - i=i+1 - - - #print dicoNumNode - dicoCoord={} - for groupe in dicoNumNode.keys() : - flt=MEDINT(1) - flt[0]=dicoNumNode[groupe] - coo1=MEDFLOAT(3) - filter=med_filter() - err=MEDfilterEntityCr( fid, nnoe, 1, sdim, MED_ALL_CONSTITUENT, MED_FULL_INTERLACE, MED_COMPACT_PFLMODE, MED_NO_PROFILE,1 , flt, filter) - MEDmeshNodeCoordinateAdvancedRd(fid, maa, MED_NO_DT, MED_NO_IT, filter, coo1) - MEDfilterClose(filter) - dicoCoord[groupe]=coo1 -# dicoCoord['CENTRE_saxBas']=(0,0,28.5e-3) -# dicoCoord['CENTRE_saxHaut']=(0,0,31.5e-3) - - MEDfileClose(fid) - return ("",listeGroupes,maa,dicoCoord) - -if __name__ == "__main__": - filename="/home/A96028/Carmel/Pascale/Domaine_Bidouille.med" - #filename="/home/A96028/Carmel/nouveauMed/Domaine.med" - print getGroupes(filename) diff --git a/OldCodes/CarmelCND/configuration_CARMELCND.py b/OldCodes/CarmelCND/configuration_CARMELCND.py deleted file mode 100644 index 4ab64b85..00000000 --- a/OldCodes/CarmelCND/configuration_CARMELCND.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/CarmelCND/prefs.py b/OldCodes/CarmelCND/prefs.py deleted file mode 100644 index cfd8503b..00000000 --- a/OldCodes/CarmelCND/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="CARMELCND" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/CarmelCND/prefs_CARMELCND.py b/OldCodes/CarmelCND/prefs_CARMELCND.py deleted file mode 100644 index 555d37b3..00000000 --- a/OldCodes/CarmelCND/prefs_CARMELCND.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] -sys.path[:0]=[repIni] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni -fileName="docMonCode.png" -image=1 - -# -catalogues=( - ('monCode','default',os.path.join(repIni,'CarmelCND_Cata.py'),'CARMELCND','python'), -) diff --git a/OldCodes/CarmelCND/qtEficas_CarmelCND.py b/OldCodes/CarmelCND/qtEficas_CarmelCND.py deleted file mode 100755 index f49b9bcb..00000000 --- a/OldCodes/CarmelCND/qtEficas_CarmelCND.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/CarmelCS/CMakeLists.txt b/OldCodes/CarmelCS/CMakeLists.txt deleted file mode 100644 index 70486eae..00000000 --- a/OldCodes/CarmelCS/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES - CarmelCS_cata.py configuration_CARMELCS.py pilotyacsCS.py - prefs_CARMELCS.py prefs.py qtEficas_CarmelCS.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/CarmelCND - ) - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/CarmelCS/CarmelCS_cata.py b/OldCodes/CarmelCS/CarmelCS_cata.py deleted file mode 100644 index 7fe65f74..00000000 --- a/OldCodes/CarmelCS/CarmelCS_cata.py +++ /dev/null @@ -1,25 +0,0 @@ -from Accas import * - - -JdC = JDC_CATA (code = 'CarmelCS', - execmodul = None, - regles=(AU_MOINS_UN('PARAM_CS',),) - ) - -# ====================================================================== -# ====================================================================== - - -PARAM_CS=PROC(nom='PARAM_CS',op=None, - Formulation=SIMP(statut='o',typ='TXM',defaut="tomega",into=('tomega','aphi'),), - Per=SIMP(statut='o',typ='I',min=1), - Ind=SIMP(statut='o',typ='I',min=0), - FinalTime=SIMP(statut='o',typ='I',min=1), - SyrthesProcNumber=SIMP(statut='o',typ='I',defaut=1,min=1), - HomogenousPhysFile=SIMP(statut='o',typ='TXM',defaut="MeshC_homogene.phys",), - HeterogenousPhysFile=SIMP(statut='o',typ='TXM',defaut="MeshC_heterogene.phys",), - Carmel3D_StudyDirectory=SIMP(typ='Repertoire', statut='o'), - Syrthes_StudyDirectory=SIMP(typ='Repertoire', statut='o'), - XMLYacsFile=SIMP(typ=('Fichier','Files (*.xml)'),fr= 'Schema yacs du couplage a executer',ang= 'Yacs coupling schema for running', statut='o'), -#TODO examiner comment generer un schema yacs de maniere automatique -) diff --git a/OldCodes/CarmelCS/configuration_CARMELCS.py b/OldCodes/CarmelCS/configuration_CARMELCS.py deleted file mode 100644 index 4ab64b85..00000000 --- a/OldCodes/CarmelCS/configuration_CARMELCS.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/CarmelCS/pilotyacsCS.py b/OldCodes/CarmelCS/pilotyacsCS.py deleted file mode 100644 index 374b2d85..00000000 --- a/OldCodes/CarmelCS/pilotyacsCS.py +++ /dev/null @@ -1,40 +0,0 @@ -def pilotyacsCS(runxmlfile) : - import sys - import pilot - import SALOMERuntime - import loader - SALOMERuntime.RuntimeSALOME_setRuntime() - - xmlLoader = loader.YACSLoader() - - try: - p = xmlLoader.load(runxmlfile) - except IOError,ex: - print "IO exception:",ex - sys.exit(1) - - logger=p.getLogger("parser") - if not logger.isEmpty(): - print "The imported file has errors :" - print logger.getStr() - sys.exit(1) - - if not p.isValid(): - print "The schema is not valid and can not be executed" - print p.getErrorReport() - sys.exit(1) - - info=pilot.LinkInfo(pilot.LinkInfo.ALL_DONT_STOP) - p.checkConsistency(info) - if info.areWarningsOrErrors(): - print "The schema is not consistent and can not be executed" - print info.getGlobalRepr() - sys.exit(1) - executor = pilot.ExecutorSwig() - executor.RunPy(p) - -if __name__ == '__main__' : - - import sys - if sys.argv <> None : - pilotyacsCS(sys.argv[1]) diff --git a/OldCodes/CarmelCS/prefs.py b/OldCodes/CarmelCS/prefs.py deleted file mode 100644 index 2692b028..00000000 --- a/OldCodes/CarmelCS/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="CARMELCS" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/CarmelCS/prefs_CARMELCS.py b/OldCodes/CarmelCS/prefs_CARMELCS.py deleted file mode 100644 index 0b0e427b..00000000 --- a/OldCodes/CarmelCS/prefs_CARMELCS.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni -fileName="docMonCode.png" -image=1 - -# -catalogues=( - ('carmelCS','default',os.path.join(repIni,'CarmelCS_cata.py'),'CARMELCS','python'), -) -#catalogues=( -# ('carmelCS','default',os.path.join(repIni,'CarmelCS_cata.py'),'dico','python'), -#) diff --git a/OldCodes/CarmelCS/qtEficas_CarmelCS.py b/OldCodes/CarmelCS/qtEficas_CarmelCS.py deleted file mode 100755 index b1254f2c..00000000 --- a/OldCodes/CarmelCS/qtEficas_CarmelCS.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -from PyQt4.QtCore import * -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/Openturns_Study/CMakeLists.txt b/OldCodes/Openturns_Study/CMakeLists.txt deleted file mode 100644 index 4c0c9ab9..00000000 --- a/OldCodes/Openturns_Study/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Question : Que faire des fichiers sdistOTqt.py et style.py - -install ( FILES qtEficas_openturns_study.py - ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_STUDY.py - prefs.py - configuration_OPENTURNS_STUDY.py - opsOT.py - #catalogues_openturns.ini - OpenTURNS_Cata_Study_V8.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/Openturns_Study - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V1.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V1.py deleted file mode 100644 index 2ce3bf41..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V1.py +++ /dev/null @@ -1,1436 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - - - - - - -#================================ -# 1. Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Logistic", - "LogNormal", - "MultiNomial", - "Normal", - "TruncatedNormal", - "Poisson", - "Student", - "Triangular", - "Uniform", - "UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi", - ang = "R parameter", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre A de la loi", - ang = "A parameter", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre B de la loi | B > A", - ang = "B parameter | B > A", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.0, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1.0, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - Sup = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la distribution", - ang = "Upper bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC HISTOGRAM - - - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaOverMu de la loi | SigmaOverMu > 0", - ang = "SigmaOverMu parameter | SigmaOverMu > 0", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu log de la loi", - ang = "Mu log parameter", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma log de la loi | SigmaLog > 0", - ang = "Sigma log parameter | SigmaLog > 0", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Alpha de la loi", - ang = "Alpha parameter", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > = 0", - ang = "Beta parameter | Beta > = 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Dimension de la loi", - ang = "Distribution dimension", - ), - - # Il faut un vecteur P de taille N - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC MULTINOMIAL - - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | V > = 2", - ang = "Nu parameter | V > = 2", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = M < = B", - ang = "Lower bound | A < = M < = B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < = M < = B", - ang = "Mode | A < = M < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = M < = B", - ang = "Upper bound | A < = M < = B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaN de la loi | SigmaN > 0", - ang = "SigmaN parameter | SigmaN> 0", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION - - - - - - -#================================ -# 3. Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type d'Analyse", - ang = "Analysis", - ), - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Methode", - ang = "Method", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Nombre de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitsPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension (autant que de variables declarees)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension", - ang = "Units per dimension", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'R', - defaut = 0.0, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - AnalysedCorrelations = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "Analytical" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - fr = " maximum ...", - ang = "Absolute maximum ...." - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Linear', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.0, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "VariationCoefficient", - ), - - IterationNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - AnalyticalSettings = BLOC ( condition = " Method in ( 'Analytical', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - into = ( "FORM", "SORM" ), - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "Cobyla", "AbdoRackwitz" ), - fr = "Methode d'optimisation", - ang = "Optimisation method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d iterations", - ang = "Maximum number of iterations", - ), - - regles = ( EXCLUS ( "MaximumAbsoluteError", "RelativeAbsoluteError" ), ), - - MaximumAbsoluteError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-6, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successifs", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - RelativeAbsoluteError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-6, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "f", - typ = "R", - max = 1, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORM = BLOC ( condition = " Approximation in ( 'FORM', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSettings = BLOC ( condition = " HasoferReliabilityIndex in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORM - - - SORM = BLOC ( condition = " Approximation in ( 'SORM', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSettings = BLOC ( condition = " HasoferReliabilityIndex in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SORM - - - - ), # Fin BLOC AnalyticalSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA - - -#=============================== -# 5. Definition des parametres -#=============================== -VARI = OPER ( nom = "VARI", - sd_prod = variable, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - type=SIMP(statut='f',defaut="IN",into=("IN","OUT"), typ = "TXM",) - ) - -AAA=PROC(nom="AAA", - op=None, - fr="Essai", - ang = "Test", - - MALOI = SIMP(statut='o',typ=(loi,),), - MAVARIABLE = SIMP(statut='o',typ=(variable,),), -) ; - - - -import ops -FICXML=MACRO(nom="FICXML", - op=None, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Débranchement vers un fichier de commandes secondaires", - sd_prod=ops.INCLUDE,op_init=ops.INCLUDE_context,fichier_ini=1, - FICHIER = SIMP(statut='o',typ='TXM',), -); - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V10.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V10.py deleted file mode 100644 index f53ee908..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V10.py +++ /dev/null @@ -1,60 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- -#=============================== -# 5. Definition des parametres -#=============================== -VARI = OPER ( nom = "VARI", - sd_prod = variable, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - type=SIMP(statut='f',defaut="IN",into=("IN","OUT"), typ = "TXM",) - ) - -VARI1 = OPER ( nom = "VARI1", - sd_prod = variable, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - POUTRE = FACT(statut= 'f',max= '**', - MAILLE = SIMP(statut= 'f',typ= 'TXM' ,validators= NoRepeat(),max= '**'), - GROUP_MA = SIMP(statut= 'f',typ= 'TXM' ,validators= NoRepeat(),max= '**'), - ), - POUTRE2 = FACT(statut= 'f',max= '**', - MAILLE2 = SIMP(statut= 'f',typ= 'TXM' ,validators= NoRepeat(),max= '**'), - GROUP_MA2 = SIMP(statut= 'f',typ= 'TXM' ,validators= NoRepeat(),max= '**'), - ), - FINAL =FACT(statut= 'f',max= '**', - type=SIMP(statut='f',min=1,max= '**', into=("POUTRE","POUTRE2"), - validators=[VerifExiste(2),NoRepeat()], typ="TXM",), - ), - ) - - -FICXML=MACRO(nom="FICXML", - op=None, - UIinfo={"groupes":("Gestion du travail",)}, - fr="Débranchement vers un fichier de commandes secondaires", - sd_prod=loi, - FICHIER = SIMP(statut='o',typ='TXM',), -); - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V2.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V2.py deleted file mode 100644 index 58128f14..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V2.py +++ /dev/null @@ -1,1486 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - -class loi ( ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), AU_MOINS_UN ( 'MODEL' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG - - - - -#================================ -# 0. Definition du modele physique -#================================ - -MODEL = PROC ( nom = "MODEL", - op = None, - docu = "", - - Name = SIMP ( statut = "o", - typ = "TXM", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL - - - - - - -#================================ -# 1. Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Logistic", - "LogNormal", - "MultiNomial", - "Normal", - "TruncatedNormal", - "Poisson", - "Student", - "Triangular", - "Uniform", - "UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi", - ang = "R parameter", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre A de la loi", - ang = "A parameter", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre B de la loi | B > A", - ang = "B parameter | B > A", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.0, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1.0, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - Sup = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la distribution", - ang = "Upper bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC HISTOGRAM - - - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaOverMu de la loi | SigmaOverMu > 0", - ang = "SigmaOverMu parameter | SigmaOverMu > 0", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu log de la loi", - ang = "Mu log parameter", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma log de la loi | SigmaLog > 0", - ang = "Sigma log parameter | SigmaLog > 0", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Alpha de la loi", - ang = "Alpha parameter", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > = 0", - ang = "Beta parameter | Beta > = 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Dimension de la loi", - ang = "Distribution dimension", - ), - - # Il faut un vecteur P de taille N - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC MULTINOMIAL - - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | V > = 2", - ang = "Nu parameter | V > = 2", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = M < = B", - ang = "Lower bound | A < = M < = B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < = M < = B", - ang = "Mode | A < = M < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = M < = B", - ang = "Upper bound | A < = M < = B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaN de la loi | SigmaN > 0", - ang = "SigmaN parameter | SigmaN> 0", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION - - - - - - -#================================ -# 3. Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type d'Analyse", - ang = "Analysis", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Methode", - ang = "Method", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Nombre de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitsPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension (autant que de variables declarees)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension", - ang = "Units per dimension", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'R', - defaut = 0.0, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - AnalysedCorrelations = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "Analytical" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - fr = " maximum ...", - ang = "Absolute maximum ...." - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Linear', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.0, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "VariationCoefficient", - ), - - IterationNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - AnalyticalSettings = BLOC ( condition = " Method in ( 'Analytical', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - into = ( "FORM", "SORM" ), - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "Cobyla", "AbdoRackwitz" ), - fr = "Methode d'optimisation", - ang = "Optimisation method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d iterations", - ang = "Maximum number of iterations", - ), - - regles = ( EXCLUS ( "MaximumAbsoluteError", "RelativeAbsoluteError" ), ), - - MaximumAbsoluteError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-6, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successifs", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - RelativeAbsoluteError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-6, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "f", - typ = "R", - max = 1, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORM = BLOC ( condition = " Approximation in ( 'FORM', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSettings = BLOC ( condition = " HasoferReliabilityIndex in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORM - - - SORM = BLOC ( condition = " Approximation in ( 'SORM', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSettings = BLOC ( condition = " HasoferReliabilityIndex in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SORM - - - - ), # Fin BLOC AnalyticalSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V3.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V3.py deleted file mode 100644 index 80dbe832..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V3.py +++ /dev/null @@ -1,1598 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), AU_MOINS_UN ( 'MODEL' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG - - - - -#================================ -# 0. Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE - - - -import ops -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = ops.INCLUDE, - op_init = ops.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = "TXM", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - ), - -) # Fin PROC VARIABLE - - - - -#================================ -# 1. Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Logistic", - "LogNormal", - "MultiNomial", - "Normal", - "TruncatedNormal", - "Poisson", - "Student", - "Triangular", - "Uniform", - "UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi", - ang = "R parameter", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre A de la loi", - ang = "A parameter", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre B de la loi | B > A", - ang = "B parameter | B > A", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.0, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1.0, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - Sup = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la distribution", - ang = "Upper bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC HISTOGRAM - - - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaOverMu de la loi | SigmaOverMu > 0", - ang = "SigmaOverMu parameter | SigmaOverMu > 0", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu log de la loi", - ang = "Mu log parameter", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma log de la loi | SigmaLog > 0", - ang = "Sigma log parameter | SigmaLog > 0", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Alpha de la loi", - ang = "Alpha parameter", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > = 0", - ang = "Beta parameter | Beta > = 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Dimension de la loi", - ang = "Distribution dimension", - ), - - # Il faut un vecteur P de taille N - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC MULTINOMIAL - - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | V > = 2", - ang = "Nu parameter | V > = 2", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = M < = B", - ang = "Lower bound | A < = M < = B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < = M < = B", - ang = "Mode | A < = M < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = M < = B", - ang = "Upper bound | A < = M < = B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaN de la loi | SigmaN > 0", - ang = "SigmaN parameter | SigmaN> 0", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION - - - - - - - -#================================ -# 3. Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type d'Analyse", - ang = "Analysis", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Methode", - ang = "Method", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Nombre de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitsPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension (autant que de variables declarees)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension", - ang = "Units per dimension", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - AnalysedCorrelations = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "Analytical" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - fr = " maximum ...", - ang = "Absolute maximum ...." - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Linear', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "VariationCoefficient", - ), - - IterationNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - AnalyticalSettings = BLOC ( condition = " Method in ( 'Analytical', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimisation method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successifs", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FirstOrder = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - ImportanceFactorGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - FORMEventProbabilitySensitivityGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - HasoferReliabilityIndexSensitivityGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FirstOrder - - - SecondOrder = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - ImportanceFactorGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - HasoferReliabilityIndexSensitivityGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC AnalyticalSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V4.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V4.py deleted file mode 100644 index 05fdd221..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V4.py +++ /dev/null @@ -1,1630 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -# Les commentaires du style # Ordre Catalogue MOTCLEF sont utilises pour -# retrouver l ordre du catalogue - - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), AU_MOINS_UN ( 'MODEL' ), - A_CLASSER(('LOG','DETERMINISTICVARIABLE'),'VARIABLE'),) - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG -# Ordre Catalogue LOG - - - - -#================================ -# 0. Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = "TXM", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - - - -#================================ -# 1. Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Logistic", - "LogNormal", - "MultiNomial", - "Normal", - "TruncatedNormal", - "Poisson", - "Student", - "Triangular", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi", - ang = "R parameter", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre A de la loi", - ang = "A parameter", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre B de la loi | B > A", - ang = "B parameter | B > A", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.0, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1.0, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Premier point de la distribution", - ang = "First point", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples (point,probabilite)", - ang = "(point,probabiblity) couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaOverMu de la loi | SigmaOverMu > 0", - ang = "SigmaOverMu parameter | SigmaOverMu > 0", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu log de la loi", - ang = "Mu log parameter", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma log de la loi | SigmaLog > 0", - ang = "Sigma log parameter | SigmaLog > 0", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Alpha de la loi", - ang = "Alpha parameter", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > = 0", - ang = "Beta parameter | Beta > = 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Dimension de la loi", - ang = "Distribution dimension", - ), - - # Il faut un vecteur P de taille N - Mu = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC MULTINOMIAL - - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | V > = 2", - ang = "Nu parameter | V > = 2", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = M < = B", - ang = "Lower bound | A < = M < = B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < = M < = B", - ang = "Mode | A < = M < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = M < = B", - ang = "Upper bound | A < = M < = B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaN de la loi | SigmaN > 0", - ang = "SigmaN parameter | SigmaN> 0", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION -# Ordre Catalogue DISTRIBUTION - - - - - - - -#================================ -# 3. Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type d'Analyse", - ang = "Analysis", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Methode", - ang = "Method", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Nombre de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitsPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension (autant que de variables declarees)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension", - ang = "Units per dimension", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - NumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - GraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - PointsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - AnalysedCorrelations = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "Analytical" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - fr = " maximum ...", - ang = "Absolute maximum ...." - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Linear', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "VariationCoefficient", - ), - - IterationNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - AnalyticalSettings = BLOC ( condition = " Method in ( 'Analytical', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimisation method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successifs", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "f", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FirstOrder = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - ImportanceFactorGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - FORMEventProbabilitySensitivityGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - HasoferReliabilityIndexSensitivityGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FirstOrder - - - SecondOrder = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - ImportanceFactorGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityNumericalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Resultats numeriques", - ang = "NumericalResults", - ), - - HasoferReliabilityIndexSensitivityGraphicalResults = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Resultats graphiques", - ang = "GraphicalResults", - ), - - ), # Fin BLOC HasoferReliabilityIndexSettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC AnalyticalSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V5.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V5.py deleted file mode 100644 index 89ce0150..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V5.py +++ /dev/null @@ -1,1528 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), - AU_MOINS_UN ( 'MODEL' ), - AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ), -# A_CLASSER ( 'VARIABLE', ) 'CORRELATION' ), -# A_CLASSER ( 'VARIABLE', 'CRITERIA' ), -# A_CLASSER ( 'CORRELATION', 'CRITERIA' ), - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG -# Ordre Catalogue LOG - - - -TOTO = PROC( nom='toto', op = None, docu = "", - fr = "toto", ang = "toto", - - TITI=SIMP(statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), -) -# Ordre Catalogue TOTO - - - -#================================ -# 0. Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = "Fichier", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - Copula = SIMP ( statut = "o", - typ = "TXM", - into = ( "Independent", ), - defaut = "Independent", - fr = "Type de la copule", - ang = "Copula kind", - ), - - -) # Fin PROC CORRELATION -# Ordre Catalogue CORRELATION - - -#================================ -# 1. Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Logistic", - "LogNormal", - "MultiNomial", - "Normal", - "Poisson", - "Student", - "Triangular", - "TruncatedNormal", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi", - ang = "R parameter", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre A de la loi", - ang = "A parameter", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre B de la loi | B > A", - ang = "B parameter | B > A", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.0, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1.0, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Premier point de la distribution", - ang = "First point", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples (point,probabilite)", - ang = "(point,probabiblity) couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi | Mu > Gamma", - ang = "Mu parameter | Mu > Gamma", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaOverMu de la loi | SigmaOverMu > 0", - ang = "SigmaOverMu parameter | SigmaOverMu > 0", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu log de la loi", - ang = "Mu log parameter", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma log de la loi | SigmaLog > 0", - ang = "Sigma log parameter | SigmaLog > 0", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Alpha de la loi", - ang = "Alpha parameter", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > = 0", - ang = "Beta parameter | Beta > = 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Dimension de la loi", - ang = "Distribution dimension", - ), - - # Il faut un vecteur P de taille N - Mu = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC MULTINOMIAL - - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | V > = 2", - ang = "Nu parameter | V > = 2", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = M < = B", - ang = "Lower bound | A < = M < = B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < = M < = B", - ang = "Mode | A < = M < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = M < = B", - ang = "Upper bound | A < = M < = B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaN de la loi | SigmaN > 0", - ang = "SigmaN parameter | SigmaN> 0", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION -# Ordre Catalogue DISTRIBUTION - - - - - - -#================================ -# 3. Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type d'Analyse", - ang = "Analysis", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Methode", - ang = "Method", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Nombre de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitsPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension (autant que de variables declarees)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension", - ang = "Units per dimension", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - CorrelationAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "FORM_SORM" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "o", - typ = "R", - max = 1., - defaut = 0.1, - val_min = 0.0, - fr = " maximum ...", - ang = "Absolute maximum ...." - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Linear', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "VariationCoefficient", - ), - - SimulationsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimisation method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successifs", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORMResult - - - SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC FORM_SORMSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V6.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V6.py deleted file mode 100644 index 80730558..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V6.py +++ /dev/null @@ -1,1726 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), - AU_MOINS_UN ( 'MODEL' ), - AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ), -# A_CLASSER ( 'VARIABLE', 'CORRELATION' ), -# A_CLASSER ( 'VARIABLE', 'CRITERIA' ), -# A_CLASSER ( 'CORRELATION', 'CRITERIA' ), - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG -# Ordre Catalogue LOG - - - - - -#================================ -# Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Laplace", - "Logistic", - "LogNormal", - "MultiNomial", - "NonCentralStudent", - "Normal", - "Poisson", - "Rayleigh", - "Student", - "Triangular", - "TruncatedNormal", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi | R > 0", - ang = "R parameter | R > 0", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi", - ang = "Support upper bound", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, probabilité associée", - ang = "Class bandwidth, associated probability couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LAPLACE = BLOC ( condition = " Kind in ( 'Laplace', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - ), # Fin BLOC LAPLACE - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Rapport ecart type / moyenne de la loi", - ang = "Standard deviation / mean value ratio", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne du log", - ang = "Log mean value", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type du log", - ang = "Log standard deviation", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Parametre N de la loi | N > 0", - ang = "N parameter | N > 0", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = "R", - max = '**', - fr = "Liste de probabilités", - ang = "Probability list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC MULTINOMIAL - - - NONCENTRALSTUDENT = BLOC ( condition = " Kind in ( 'NonCentralStudent', ) ", - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Nu de la loi | Nu > 0", - ang = "Nu parameter | Nu > 0", - ), - - Delta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Delta de la loi | Delta > 0", - ang = "Delta parameter | Delta > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma de centrage de la loi", - ang = "Gamma parameter", - ), - - ), # Fin BLOC NONCENTRALSTUDENT - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - RAYLEIGH = BLOC ( condition = " Kind in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | Nu > 2", - ang = "Nu parameter | Nu > 2", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi", - ang = "Sigma parameter", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < M < B", - ang = "Support lower bound | A < M < B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < M < B", - ang = "Mode | A < M < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < M < B", - ang = "Support upper bound | A < M < B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronquée", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronquée", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION -# Ordre Catalogue DISTRIBUTION - - - -#================================ -# Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = "Fichier", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - fr = "Variable d'entrée du modèle", - ang = "Input variable of the model", - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - fr = "Modélisation probabiliste", - ang = "Probabilistic modelisation", - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - Copula = SIMP ( statut = "o", - typ = 'TXM', - into = ( "Independent", "Normal" ), - defaut = "Independent", - fr = "Type de la copule", - ang = "Copula kind", - ), - - Matrix = BLOC ( condition = "Copula in ( 'Normal', )", - - CorrelationMatrix = SIMP ( statut = "o", - typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeVariables', - valSup=1, - valMin=-1, - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables", - ), - ), # Fin BLOC Matrix - - -) # Fin PROC CORRELATION -# Ordre Catalogue CORRELATION - - - - - -#================================ -# Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Critère de l'étude d'incertitudes", - ang = "Uncertainty study criteria", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type du critère", - ang = "Criteria type", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Type du plan d'expérience", - ang = "Experiment plane type", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Liste de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unité par dimension (autant que de variables declarées)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Centre du plan d'expérience", - ang = "Experiment plan center", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum de la variable d'intérêt", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - CorrelationAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - KernelSmoothingSettings = BLOC ( condition = " KernelSmoothing in ( 'yes', ) ", - - KernelSmoothingDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la reconstruction a noyau", - ang = "Kernel Smoothing Drawing Filename", - ), - - - ), # Fin BLOC KernelSmoothingSettings - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "FORM_SORM" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - val_max = 1.0, - fr = "Coefficient de variation maximum", - ang = "Maximum coefficient of variation" - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Independent', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Intervale de confiance", - ang = "Confidence interval", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "Coefficient of variation", - ), - - SimulationsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ", - - ConvergenceDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la convergence", - ang = "Convergence Drawing Filename", - ), - - - ), # Fin BLOC ConvergenceGraphSettings - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimization method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d'iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successives", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORMResult - - - SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC FORM_SORMSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py deleted file mode 100644 index b8ac5d33..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py +++ /dev/null @@ -1,1726 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), - AU_MOINS_UN ( 'MODEL' ), - AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ), -# A_CLASSER ( 'VARIABLE', 'CORRELATION' ), -# A_CLASSER ( 'VARIABLE', 'CRITERIA' ), -# A_CLASSER ( 'CORRELATION', 'CRITERIA' ), - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG -# Ordre Catalogue LOG - - - - - -#================================ -# Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Laplace", - "Logistic", - "LogNormal", - "MultiNomial", - "NonCentralStudent", - "Normal", - "Poisson", - "Rayleigh", - "Student", - "Triangular", - "TruncatedNormal", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi | R > 0", - ang = "R parameter | R > 0", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi", - ang = "Support upper bound", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LAPLACE = BLOC ( condition = " Kind in ( 'Laplace', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - ), # Fin BLOC LAPLACE - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Rapport ecart type / moyenne de la loi", - ang = "Standard deviation / mean value ratio", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne du log", - ang = "Log mean value", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type du log", - ang = "Log standard deviation", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Parametre N de la loi | N > 0", - ang = "N parameter | N > 0", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = "R", - max = '**', - fr = "Liste de probabilités", - ang = "Probability list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC MULTINOMIAL - - - NONCENTRALSTUDENT = BLOC ( condition = " Kind in ( 'NonCentralStudent', ) ", - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Nu de la loi | Nu > 0", - ang = "Nu parameter | Nu > 0", - ), - - Delta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Delta de la loi | Delta > 0", - ang = "Delta parameter | Delta > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma de centrage de la loi", - ang = "Gamma parameter", - ), - - ), # Fin BLOC NONCENTRALSTUDENT - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - RAYLEIGH = BLOC ( condition = " Kind in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | Nu > 2", - ang = "Nu parameter | Nu > 2", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi", - ang = "Sigma parameter", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < M < B", - ang = "Support lower bound | A < M < B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < M < B", - ang = "Mode | A < M < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < M < B", - ang = "Support upper bound | A < M < B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronquée", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronquée", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION -# Ordre Catalogue DISTRIBUTION - - - -#================================ -# Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = "Fichier", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - fr = "Variable d'entrée du modèle", - ang = "Input variable of the model", - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - fr = "Modélisation probabiliste", - ang = "Probabilistic modelisation", - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - Copula = SIMP ( statut = "o", - typ = 'TXM', - into = ( "Independent", "Normal" ), - defaut = "Independent", - fr = "Type de la copule", - ang = "Copula kind", - ), - - Matrix = BLOC ( condition = "Copula in ( 'Normal', )", - - CorrelationMatrix = SIMP ( statut = "o", - typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeVariables', - valSup=1, - valMin=-1, - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables", - ), - ), # Fin BLOC Matrix - - -) # Fin PROC CORRELATION -# Ordre Catalogue CORRELATION - - - - - -#================================ -# Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Critère de l'étude d'incertitudes", - ang = "Uncertainty study criteria", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type du critère", - ang = "Criteria type", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Type du plan d'expérience", - ang = "Experiment plane type", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Liste de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unité par dimension (autant que de variables declarées)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Centre du plan d'expérience", - ang = "Experiment plan center", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum de la variable d'intérêt", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - CorrelationAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - KernelSmoothingSettings = BLOC ( condition = " KernelSmoothing in ( 'yes', ) ", - - KernelSmoothingDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la reconstruction a noyau", - ang = "Kernel Smoothing Drawing Filename", - ), - - - ), # Fin BLOC KernelSmoothingSettings - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "FORM_SORM" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - val_max = 1.0, - fr = "Coefficient de variation maximum", - ang = "Maximum coefficient of variation" - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Independent', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Intervale de confiance", - ang = "Confidence interval", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "Coefficient of variation", - ), - - SimulationsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ", - - ConvergenceDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la convergence", - ang = "Convergence Drawing Filename", - ), - - - ), # Fin BLOC ConvergenceGraphSettings - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimization method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d'iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successives", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORMResult - - - SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC FORM_SORMSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py.orig b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py.orig deleted file mode 100644 index 9a239a09..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V7.py.orig +++ /dev/null @@ -1,1719 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), - AU_MOINS_UN ( 'MODEL' ), - AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ), -# A_CLASSER ( 'VARIABLE', 'CORRELATION' ), -# A_CLASSER ( 'VARIABLE', 'CRITERIA' ), -# A_CLASSER ( 'CORRELATION', 'CRITERIA' ), - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG -# Ordre Catalogue LOG - - - - - -#================================ -# Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Laplace", - "Logistic", - "LogNormal", - "MultiNomial", - "NonCentralStudent", - "Normal", - "Poisson", - "Rayleigh", - "Student", - "Triangular", - "TruncatedNormal", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi | R > 0", - ang = "R parameter | R > 0", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi", - ang = "Support upper bound", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma", - ang = "Gamma parameter", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Premier point de la distribution", - ang = "First point", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples (point,probabilite)", - ang = "(point,probabiblity) couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LAPLACE = BLOC ( condition = " Kind in ( 'Laplace', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - ), # Fin BLOC LAPLACE - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Rapport ecart type / moyenne de la loi", - ang = "Standard deviation / mean value ratio", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne du log", - ang = "Log mean value", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type du log", - ang = "Log standard deviation", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > = 0", - ang = "Beta parameter | Beta > = 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Dimension de la loi", - ang = "Distribution dimension", - ), - - # Il faut un vecteur P de taille N - Mu = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC MULTINOMIAL - - - NONCENTRALSTUDENT = BLOC ( condition = " Kind in ( 'NonCentralStudent', ) ", - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Nu de la loi", - ang = "Nu parameter", - ), - - Delta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Delta de la loi", - ang = "Delta parameter", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma de la loi", - ang = "Gamma parameter", - ), - - ), # Fin BLOC NONCENTRALSTUDENT - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - RAYLEIGH = BLOC ( condition = " Kind in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | V > 2", - ang = "Nu parameter | V > 2", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi", - ang = "Sigma parameter", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < M < B", - ang = "Support lower bound | A < M < B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < M < B", - ang = "Mode | A < M < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < M < B", - ang = "Support upper bound | A < M < B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre SigmaN de la loi | SigmaN > 0", - ang = "SigmaN parameter | SigmaN> 0", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < = B", - ang = "Lower bound | A < = B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < = B", - ang = "Upper bound | A < = B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION -# Ordre Catalogue DISTRIBUTION - - - -#================================ -# Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = "Fichier", - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - Copula = SIMP ( statut = "o", - typ = 'TXM', - into = ( "Independent", "Normal" ), - defaut = "Independent", - fr = "Type de la copule", - ang = "Copula kind", - ), - - Matrix = BLOC ( condition = "Copula in ( 'Normal', )", - - CorrelationMatrix = SIMP ( statut = "o", - typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeVariables', - valSup=1, - valMin=-1, - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables", - ), - ), # Fin BLOC Matrix - - -) # Fin PROC CORRELATION -# Ordre Catalogue CORRELATION - - - - - -#================================ -# Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type d'Analyse", - ang = "Analysis", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Methode", - ang = "Method", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Nombre de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitsPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension (autant que de variables declarees)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unite par dimension", - ang = "Units per dimension", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - CorrelationAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - KernelSmoothingSettings = BLOC ( condition = " KernelSmoothing in ( 'yes', ) ", - - KernelSmoothingDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la reconstruction a noyau", - ang = "Kernel Smoothing Drawing Filename", - ), - - - ), # Fin BLOC KernelSmoothingSettings - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "FORM_SORM" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - val_max = 1.0, - fr = " maximum ...", - ang = "Absolute maximum ...." - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - Correlation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'Independent', 'Linear' ), - defaut = 'Independent', - max = 1, - fr = "Le type de correlation entre les variables", - ang = "Correlation between variables", - ), - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Intervale de confiance", - ang = "Confidence interval", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "Coefficient of variation", - ), - - SimulationsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ", - - ConvergenceDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la convergence", - ang = "Convergence Drawing Filename", - ), - - - ), # Fin BLOC ConvergenceGraphSettings - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimization method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d'iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successives", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORMResult - - - SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC FORM_SORMSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V8.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V8.py deleted file mode 100644 index 9e43e543..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V8.py +++ /dev/null @@ -1,1748 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), - AU_MOINS_UN ( 'MODEL' ), -# AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ), -# A_CLASSER ( 'VARIABLE', 'CORRELATION' ), -# A_CLASSER ( 'VARIABLE', 'CRITERIA' ), -# A_CLASSER ( 'CORRELATION', 'CRITERIA' ), - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -SIMULATION = PROC ( nom = "SIMULATION", - op = None, - docu = "", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Nom du modele physique", - ), - SAMPLE = SIMP ( statut = "o", - typ = "R", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC SIMULATION -# Ordre Catalogue SIMULATION - - - - - -#================================ -# Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -#VARIABLE2=OPER( nom= "VARIABLE2", - -#DISTRIBUTION = OPER ( nom = "DISTRIBUTION", -VARIABLE2=OPER(nom="VARIABLE2", - sd_prod = variable, - #sd_prod = None, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - #VARIABLE = FACT (statut='f',max='**', - # NOM=SIMP(statut = "o", typ = "TXM",), - -#DISTRIBUTION= FACT(statut = "o", -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Laplace", - "Logistic", - "LogNormal", - "MultiNomial", - "NonCentralStudent", - "Normal", - "Poisson", - "Rayleigh", - "Student", - "Triangular", - "TruncatedNormal", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - defaut="Beta", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi | R > 0", - ang = "R parameter | R > 0", - defaut=1, - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - defaut=2, - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi", - ang = "Support upper bound", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - #max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LAPLACE = BLOC ( condition = " Kind in ( 'Laplace', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - ), # Fin BLOC LAPLACE - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Rapport ecart type / moyenne de la loi", - ang = "Standard deviation / mean value ratio", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne du log", - ang = "Log mean value", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type du log", - ang = "Log standard deviation", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Parametre N de la loi | N > 0", - ang = "N parameter | N > 0", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = "R", - max = '**', - fr = "Liste de probabilités", - ang = "Probability list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC MULTINOMIAL - - - NONCENTRALSTUDENT = BLOC ( condition = " Kind in ( 'NonCentralStudent', ) ", - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Nu de la loi | Nu > 0", - ang = "Nu parameter | Nu > 0", - ), - - Delta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Delta de la loi | Delta > 0", - ang = "Delta parameter | Delta > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma de centrage de la loi", - ang = "Gamma parameter", - ), - - ), # Fin BLOC NONCENTRALSTUDENT - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - RAYLEIGH = BLOC ( condition = " Kind in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | Nu > 2", - ang = "Nu parameter | Nu > 2", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi", - ang = "Sigma parameter", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < M < B", - ang = "Support lower bound | A < M < B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < M < B", - ang = "Mode | A < M < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < M < B", - ang = "Support upper bound | A < M < B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronquée", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronquée", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - -#), # Fin OPER DISTRIBUTION -#), # Fin OPER DISTRIBUTION -) # Fin OPER DISTRIBUTION - - - -#================================ -# Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - UIinfo = {"groupes": ("CACHE")}, - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.xml);;All Files (*)',), - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - fr = "Variable d'entrée du modèle", - ang = "Input variable of the model", - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - fr = "Modélisation probabiliste", - ang = "Probabilistic modelisation", - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - Copula = SIMP ( statut = "o", - typ = 'TXM', - into = ( "Independent", "Normal" ), - defaut = "Independent", - fr = "Type de la copule", - ang = "Copula kind", - ), - - Matrix = BLOC ( condition = "Copula in ( 'Normal', )", - - CorrelationMatrix = SIMP ( statut = "o", - typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeVariables', - valSup=1, - valMin=-1, - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables", - ), - ), # Fin BLOC Matrix - - -) # Fin PROC CORRELATION -# Ordre Catalogue CORRELATION - - - - - -#================================ -# Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Critère de l'étude d'incertitudes", - ang = "Uncertainty study criteria", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type du critère", - ang = "Criteria type", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Type du plan d'expérience", - ang = "Experiment plane type", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Liste de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unité par dimension (autant que de variables declarées)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Centre du plan d'expérience", - ang = "Experiment plan center", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum de la variable d'intérêt", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - CorrelationAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - KernelSmoothingSettings = BLOC ( condition = " KernelSmoothing in ( 'yes', ) ", - - KernelSmoothingDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la reconstruction a noyau", - ang = "Kernel Smoothing Drawing Filename", - ), - - - ), # Fin BLOC KernelSmoothingSettings - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "FORM_SORM" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - val_max = 1.0, - fr = "Coefficient de variation maximum", - ang = "Maximum coefficient of variation" - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Intervale de confiance", - ang = "Confidence interval", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "Coefficient of variation", - ), - - SimulationsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ", - - ConvergenceDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la convergence", - ang = "Convergence Drawing Filename", - ), - - - ), # Fin BLOC ConvergenceGraphSettings - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimization method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d'iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successives", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORMResult - - - SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC FORM_SORMSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V9.py b/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V9.py deleted file mode 100644 index 6a43ee35..00000000 --- a/OldCodes/Openturns_Study/OpenTURNS_Cata_Study_V9.py +++ /dev/null @@ -1,1718 +0,0 @@ -# -*- coding: iso-8859-1 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_STUDY', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CRITERIA' ), - AU_MOINS_UN ( 'MODEL' ), - AVANT ( ('DISTRIBUTION', 'MODEL'), 'VARIABLE' ), -# A_CLASSER ( 'VARIABLE', 'CORRELATION' ), -# A_CLASSER ( 'VARIABLE', 'CRITERIA' ), -# A_CLASSER ( 'CORRELATION', 'CRITERIA' ), - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -LOG = PROC ( nom = "LOG", - op = None, - docu = "", - - DebugMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de debug de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - WrapperMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", - ang = "Open TURNS library debug level print", - ), - - UserMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'no', - fr = "Affichage du niveau de user de la bibliotheque Open TURNS", - ang = "Open TURNS library user level print", - ), - - InfoMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de info de la bibliotheque Open TURNS", - ang = "Open TURNS library info level print", - ), - - WarningMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de warning de la bibliotheque Open TURNS", - ang = "Open TURNS library warning level print", - ), - - ErrorMessages = SIMP ( statut = "o", - typ = "TXM", - into = ( 'yes', 'no' ), - defaut = 'yes', - fr = "Affichage du niveau de error de la bibliotheque Open TURNS", - ang = "Open TURNS library error level print", - ), - -) # Fin PROC LOG -# Ordre Catalogue LOG - - - - - -#================================ -# Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - -#==== -# Type de distribution -#==== - - Kind = SIMP ( statut = "o", typ = "TXM", - into = ( "Beta", - "Exponential", - "Gamma", - "Geometric", - "Gumbel", - "Histogram", - "Laplace", - "Logistic", - "LogNormal", - "MultiNomial", - "NonCentralStudent", - "Normal", - "Poisson", - "Rayleigh", - "Student", - "Triangular", - "TruncatedNormal", - "Uniform", - #"UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - -#==== -# Definition des parametres selon le type de la loi -#==== - - BETA = BLOC ( condition = " Kind in ( 'Beta', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "RT", "MuSigma" ), - defaut = "RT", - fr = "Parametrage de la loi beta", - ang = "Beta distribution parameter set", - ), - - RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", - - R = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre R de la loi | R > 0", - ang = "R parameter | R > 0", - ), - - # T > R - T = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre T de la loi | T > R", - ang = "T parameter | T > R", - ), - - ), # Fin BLOC RT_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - # B > A - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi", - ang = "Support upper bound", - ), - - ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - - GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "KLambda", "MuSigma" ), - defaut = "KLambda", - fr = "Parametrage de la loi gamma", - ang = "Gamma distribution parameter set", - ), - - KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", - - K = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre K de la loi | K > 0", - ang = "K parameter | K > 0", - ), - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC KLambda_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - - ), # Fin BLOC GAMMA - - - - GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ", - - P = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - val_max = 1., - fr = "Parametre P | 0 < P < 1", - ang = "P parameter | 0 < P < 1", - ), - - ), # Fin BLOC GEOMETRIC - - - - GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi gumbel", - ang = "Gumbel distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Beta de la loi", - ang = "Beta parameter", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - - LAPLACE = BLOC ( condition = " Kind in ( 'Laplace', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - ), # Fin BLOC LAPLACE - - LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), - defaut = "MuSigmaLog", - fr = "Parametrage de la loi lognormale", - ang = "Lognormal distribution parameter set", - ), - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - SigmaOverMu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Rapport ecart type / moyenne de la loi", - ang = "Standard deviation / mean value ratio", - ), - - ), # Fin BLOC MuSigmaOverMu_Parameters - - MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", - - MuLog = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne du log", - ang = "Log mean value", - ), - - SigmaLog = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type du log", - ang = "Log standard deviation", - ), - - ), # Fin BLOC MuSigmaLog_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC LOGNORMAL - - - - LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC LOGISTIC - - - - MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ", - - N = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Parametre N de la loi | N > 0", - ang = "N parameter | N > 0", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = "R", - max = '**', - fr = "Liste de probabilités", - ang = "Probability list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC MULTINOMIAL - - - NONCENTRALSTUDENT = BLOC ( condition = " Kind in ( 'NonCentralStudent', ) ", - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Nu de la loi | Nu > 0", - ang = "Nu parameter | Nu > 0", - ), - - Delta = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Delta de la loi | Delta > 0", - ang = "Delta parameter | Delta > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Gamma de centrage de la loi", - ang = "Gamma parameter", - ), - - ), # Fin BLOC NONCENTRALSTUDENT - - - NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - - POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda de la loi | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - ), # Fin BLOC POISSON - - - - RAYLEIGH = BLOC ( condition = " Kind in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - - STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Mu de la loi", - ang = "Mu parameter", - ), - - Nu = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 2., - fr = "Parametre Nu de la loi | Nu > 2", - ang = "Nu parameter | Nu > 2", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi", - ang = "Sigma parameter", - ), - - ), # Fin BLOC STUDENT - - - - TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < M < B", - ang = "Support lower bound | A < M < B", - ), - - M = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Mode de la loi | A < M < B", - ang = "Mode | A < M < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < M < B", - ang = "Support upper bound | A < M < B", - ), - - ), # Fin BLOC TRIANGULAR - - - - TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronquée", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronquée", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - - UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - - USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = 'R', - max = '**', - ), - - ), # Fin BLOC USERDEFINED - - - - WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - -) # Fin OPER DISTRIBUTION -# Ordre Catalogue DISTRIBUTION - - - -#================================ -# Definition du modele physique -#================================ - - -DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", - sd_prod = variable, - op = None, - fr = "Variable deterministe", - ang = "Deterministic variable", - - N = SIMP ( statut = 'o', - typ = "TXM", - fr = "Nom", - ang = "Name", - ), - - T = SIMP ( statut = 'o', - defaut = "in", - into = ( "in" , "out", ), - typ = "TXM", - fr = "Type", - ang = "Type", - ), - - R = SIMP ( statut = 'o', - defaut = 0, - typ = "I", - fr = "Rang", - ang = "Rank", - ), - -) # Fin OPER DETERMINISTICVARIABLE -# Ordre Catalogue DETERMINISTICVARIABLE - - - -import opsOT -MODEL = MACRO ( nom = "MODEL", - op = None, - UIinfo = { "groupes" : ( "Gestion du travail", ) }, - fr = "Chargement du wrapper du modele physique", - ang = "Physical model wrapper load", - sd_prod = opsOT.INCLUDE, - op_init = opsOT.INCLUDE_context, - fichier_ini = 1, - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.xml);;All Files (*)',), - fr = "Nom du modele physique", - ang = "Physical model identifier", - ), - -) # Fin PROC MODEL -# Ordre Catalogue MODEL - - - - -VARIABLE = PROC ( nom = "VARIABLE", - op = None, - docu = "", - fr = "Variable probabiliste", - ang = "Probabilistic variable", - - ModelVariable = SIMP ( statut = "o", - typ = ( variable, ), - fr = "Variable d'entrée du modèle", - ang = "Input variable of the model", - ), - - Distribution = SIMP ( statut = "o", - typ = ( loi, ), - fr = "Modélisation probabiliste", - ang = "Probabilistic modelisation", - ), - -) # Fin PROC VARIABLE -# Ordre Catalogue VARIABLE - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - - Copula = SIMP ( statut = "o", - typ = 'TXM', - into = ( "Independent", "Normal" ), - defaut = "Independent", - fr = "Type de la copule", - ang = "Copula kind", - ), - - Matrix = BLOC ( condition = "Copula in ( 'Normal', )", - - CorrelationMatrix = SIMP ( statut = "o", - typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeVariables', - valSup=1, - valMin=-1, - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables", - ), - ), # Fin BLOC Matrix - - -) # Fin PROC CORRELATION -# Ordre Catalogue CORRELATION - - - - - -#================================ -# Definition de l'etude -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -CRITERIA = PROC ( nom = "CRITERIA", - op = None, - docu = "", - fr = "Critère de l'étude d'incertitudes", - ang = "Uncertainty study criteria", - - - - Type = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ), - fr = "Type du critère", - ang = "Criteria type", - ), - - - - - - - - MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Experiment Plane", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - # UC 3.1.1 - ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ", - - ExperimentPlane = SIMP ( statut = "o", - typ = "TXM", - into = ( "Axial", "Factorial", "Composite", ), - fr = "Type du plan d'expérience", - ang = "Experiment plane type", - ), - - Levels = SIMP ( statut = "o", - typ = "R", - val_min = 0.0, - max = '**', - fr = "Liste de niveaux dans chaque direction", - ang = "Levels in each direction", - ), - - # Scaled Vector - UnitPerDimension = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Unité par dimension (autant que de variables declarées)", - ang = "Units per dimension (as much as declared variables)", - ), - - # Translation Vector - Center = SIMP ( statut = "o", - typ = "R", - max = '**', - fr = "Centre du plan d'expérience", - ang = "Experiment plan center", - ), - - ), # Fin BLOC ExperimentPlaneSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - ), # Fin BLOC RandomSamplingSettings - - Result = SIMP ( statut = "o", - typ = "TXM", - into = ( "Min/Max", ), - defaut = "Min/Max", - fr = "Le minimum et le maximum de la variable d'intérêt", - ang = "The min and max values", - ), - - - ), # Fin BLOC MinMax - - - - - CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ", - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Taylor Variance Decomposition", "Random Sampling" ), - fr = "Methode", - ang = "Method", - ), - - # UC 3.2. - TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ", - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - MeanFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne au premier ordre", - ang = "MeanFirstOrder", - ), - - StandardDeviationFirstOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type au premier ordre", - ang = "StandardDeviationFirstOrder", - ), - - MeanSecondOrder = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Moyenne au second ordre", - ang = "MeanSecondOrder", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "ImportanceFactor", - ), - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - ), # Fin FACT Result - - ), # Fin BLOC TaylorVarianceDecompositionSettings - - - - RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ", - - SimulationsNumber = SIMP ( statut = "o", - typ = "I", - val_min = 1, - fr = "Nombre de points", - ang = "Points number", - ), - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - EmpiricalMean = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Moyenne empirique", - ang = "Empirical mean", - ), - - EmpiricalStandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Ecart-type empirique", - ang = "Empirical standard deviation", - ), - - EmpiricalQuantile = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Quantile empirique", - ang = "Empirical quantile", - ), - - EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ", - - EmpiricalQuantile_Order = SIMP ( statut = "o", - typ = 'R', - defaut = 0.95, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Ordre du quantile empirique", - ang = "Empirical quantile order", - ), - - ), # Fin BLOC EmpiricalQuantileSettings - - CorrelationAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Correlations analysees", - ang = "Analysed correlations", - ), - - KernelSmoothing = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Kernel smoothing de l'echantillon", - ang = "Kernel smoothing of the sample", - ), - - KernelSmoothingSettings = BLOC ( condition = " KernelSmoothing in ( 'yes', ) ", - - KernelSmoothingDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la reconstruction a noyau", - ang = "Kernel Smoothing Drawing Filename", - ), - - - ), # Fin BLOC KernelSmoothingSettings - - ), # Fin FACT Result - - ), # Fin BLOC RandomSamplingSettings - - ), # Fin BLOC CentralUncertainty - - - - - ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ", - - Event = FACT ( statut = "o", - min = 1, - max = 1, - - Threshold = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Le seuil de defaillance", - ang = "Failure threshold", - ), - - ComparisonOperator = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ), - fr = "Que faut-il ne pas depasser : un maximum ou un minimum", - ang = "What is the failure threshold : maximum or minimum", - ), - ), # Fin FACT Event - - - Method = SIMP ( statut = "o", - typ = "TXM", - into = ( "Simulation", "FORM_SORM" ), - fr = "Methode", - ang = "Method", - ), - - SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ", - - Algorithm = SIMP ( statut = "o", - typ = "TXM", - into = ( "MonteCarlo", "LHS", "ImportanceSampling" ), - fr = "Algorithme de simulation", - ang = "Simulation algorithm", - ), - - - RandomGenerator = FACT ( statut = "o", - min = 1, - max = 1, - - SeedToBeSet = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "La racine du generateur aleatoire doit-elle etre positionnee ?", - ang = "Does the random generator seed need to be set ?", - ), - - SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ", - - RandomGeneratorSeed = SIMP ( statut = "o", - typ = "I", - max = 1, - fr = "Racine du generateur aleatoire", - ang = "Random generator seed", - ), - - ), # Fin BLOC SeedSettings - - ), # Fin FACT RandomGenerator - - - BlockSize = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - defaut = 1, - fr = "Nombre de calculs realises en bloc", - ang = "Number of computations as a block", - ), - - MaximumOuterSampling = SIMP ( statut = "o", - typ = "I", - max = 1, - val_min = 1, - fr = "Maximum d'iterations externes", - ang = "Maximum outer Sampling value", - ), - - MaximumCoefficientOfVariation = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 0.1, - val_min = 0.0, - val_max = 1.0, - fr = "Coefficient de variation maximum", - ang = "Maximum coefficient of variation" - ), - - ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ", - - MeanVector = SIMP ( statut = "o", - typ = "R", - max = "**", - fr = "Moyenne", - ang = "Mean vector", - ), - - - ), # Fin BLOC ImportanceSamplingSettings - - Result = FACT ( statut = "o", - min = 1, - max = "**", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - StandardDeviation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Ecart type", - ang = "Standard deviation", - ), - - ConfidenceInterval = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Intervale de confiance", - ang = "Confidence interval", - ), - - ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ", - - Level = SIMP ( statut = "o", - typ = 'R', - defaut = 0.9, - max = 1, - val_min = 0.0, - val_max = 1.0, - fr = "Niveau de confiance", - ang = "Confidence level", - ), - - ), # Fin BLOC ConfidenceIntervalSettings - - VariationCoefficient = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Coefficient de variation", - ang = "Coefficient of variation", - ), - - SimulationsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'iterations", - ang = "Iteration number", - ), - - ConvergenceGraph = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Graphe de convergence", - ang = "Convergence graph", - ), - - ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ", - - ConvergenceDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique de la convergence", - ang = "Convergence Drawing Filename", - ), - - - ), # Fin BLOC ConvergenceGraphSettings - - ), # Fin FACT Result - - - - ), # Fin BLOC SimulationSettings - - - - FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ", - - Approximation = SIMP ( statut = "o", - typ = "TXM", - defaut = "FirstOrder", - into = ( "FirstOrder", "SecondOrder" ), - max = 1, - fr = "Approximation", - ang = "Approximation", - ), - - OptimizationAlgorithm = SIMP ( statut = "o", - typ = "TXM", - defaut = "Cobyla", - into = ( "Cobyla", "AbdoRackwitz" ), - max = 1, - fr = "Methode d'optimisation", - ang = "Optimization method", - ), - - - PhysicalStartingPoint = SIMP ( statut = "f", - typ = "R", - max = "**", - fr = "Point de demarrage de l'algorithme iteratif", - ang = "Initial point for iterative process", - ), - - MaximumIterationsNumber = SIMP ( statut = "f", - typ = "I", - max = 1, - val_min = 1, - fr = "Nombre maximum d'iterations", - ang = "Maximum number of iterations", - ), - - - MaximumAbsoluteError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum absolue entre 2 iterations successives", - ang = "Absolute maximum distance between 2 successive iterates", - ), - - MaximumRelativeError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Distance maximum relative entre 2 iterations successives", - ang = "Relative maximum distance between 2 successive iterates", - ), - - MaximumConstraintError = SIMP ( statut = "o", - typ = "R", - max = 1, - defaut = 1E-4, - val_min = 0.0, - fr = "Valeur maximum absolue de la fonction moins la valeur du niveau", - ang = "Maximum absolute value of the constraint function minus the level value", - ), - - ImportanceSampling = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'no', - max = 1, - fr = "Tirage d'importance au point de conception", - ang = "Importance sampling at design point", - ), - - FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ", - - Probability = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', ), - defaut = 'yes', - max = 1, - fr = "Probabiblite", - ang = "Probability", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - HasoferReliabilityIndex = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite", - ang = "Reliability index", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - FORMEventProbabilitySensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ", - - FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FORMEventProbabilitySensitivitySettings - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC FORMResult - - - SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ", - - - TvedtApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Tvedt", - ang = "Tvedt approximation", - ), - - HohenBichlerApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de HohenBichler", - ang = "HohenBichler approximation", - ), - - BreitungApproximation = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Approximation de Breitung", - ang = "Breitung approximation", - ), - - DesignPoint = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Point de conception", - ang = "Design point", - ), - - ImportanceFactor = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Facteur d'importance pour variable de sortie scalaire", - ang = "Importance factor", - ), - - ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ", - - ImportanceFactorDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des facteurs d'importance", - ang = "Importance Factor Drawing Filename", - ), - - - ), # Fin BLOC ImportanceFactorSettings - - SensitivityAnalysis = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Analyse de sensibilite", - ang = "Sensitivity analysis", - ), - - SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivity = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Indice de fiabilite de Hasofer", - ang = "Hasofer reliability index", - ), - - HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ", - - HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom du fichier graphique des sensibilites", - ang = "Sensitivity Drawing Filename", - ), - - - ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings - - ), # Fin BLOC SensitivityAnalysisSettings - - FunctionCallsNumber = SIMP ( statut = "o", - typ = 'TXM', - into = ( 'yes', 'no' ), - defaut = 'yes', - max = 1, - fr = "Nombre d'appels a la fonction", - ang = "Function calls number", - ), - - - ), # Fin BLOC SecondOrder - - - - ), # Fin BLOC FORM_SORMSettings - - - - ), # Fin BLOC ThresholdExceedence - - - -) # Fin PROC CRITERIA -# Ordre Catalogue CRITERIA - - - - - - - diff --git a/OldCodes/Openturns_Study/configuration_OPENTURNS_STUDY.py b/OldCodes/Openturns_Study/configuration_OPENTURNS_STUDY.py deleted file mode 100644 index 64d0b05e..00000000 --- a/OldCodes/Openturns_Study/configuration_OPENTURNS_STUDY.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - - self.labels_user=['exec_acrobat', 'catalogues','savedir','path_doc'] - self.labels_eficas=["OpenTURNS_path","path_doc","exec_acrobat"] - self.labels_eficas=self.labels_eficas+["rep_cata","lang","catalogues"] - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - #--------------------------------------- - def lecture_fichier_ini_standard(self): - #--------------------------------------- - configuration.CONFIG_BASE.lecture_fichier_ini_standard(self) - if hasattr(self,'OpenTURNS_path') : self.oldOTPath=self.OpenTURNS_path - - #--------------------------------------- - def lecture_fichier_ini_integrateur(self): - #--------------------------------------- - configuration.CONFIG_BASE.lecture_fichier_ini_utilisateur(self) - if hasattr(self,'OpenTURNS_path') : - if hasattr(self,'oldOTPath') and (self.OpenTURNS_path != self.oldOTPath): - import sys - sys.path.remove(self.oldOTPath) - sys.path[:0]=[self.OpenTURNS_path] - self.oldOTPath=self.OpenTURNS_path - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/Openturns_Study/opsOT.py b/OldCodes/Openturns_Study/opsOT.py deleted file mode 100644 index ed023cdb..00000000 --- a/OldCodes/Openturns_Study/opsOT.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -def INCLUDE(self,FileName,**args): - """ - Fonction sd_prod pour la macro INCLUDE - """ - if hasattr(self,'change_fichier'): - delattr(self,'change_fichier') - delattr(self,'fichier_ini') - - self.make_include2(fichier=FileName) - -def INCLUDE_context(self,d): - """ - Fonction op_init pour macro INCLUDE - """ - for k,v in self.g_context.items(): - d[k]=v - - diff --git a/OldCodes/Openturns_Study/prefs.py b/OldCodes/Openturns_Study/prefs.py deleted file mode 100644 index f83b0a29..00000000 --- a/OldCodes/Openturns_Study/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code='OPENTURNS_STUDY' -import sys, os -if os.path.abspath(__file__) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/Openturns_Study/prefs_OPENTURNS_STUDY.py b/OldCodes/Openturns_Study/prefs_OPENTURNS_STUDY.py deleted file mode 100644 index f686f516..00000000 --- a/OldCodes/Openturns_Study/prefs_OPENTURNS_STUDY.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2015 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -import os, sys -# Les variables pouvant positionnees sont : -print "import des prefs de OPENTURNS" - -# repIni sert a localiser le fichier -# initialdir sert comme directory initial des QFileDialog -# positionnee a repin au debut mise a jour dans configuration -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -# lang indique la langue utilisée pour les chaines d'aide : fr ou ang -lang='fr' -encoding='iso-8859-1' - -# Acces a la documentation -path_doc = os.path.join(INSTALLDIR,'Doc') -exec_acrobat = "/usr/bin/xpdf" -savedir = os.environ['HOME'] - - -# OpenTURNS Python module -OpenTURNS_path="" -if len(OpenTURNS_path) > 0: sys.path[:0]=[OpenTURNS_path] - -# Choix des catalogues -from Editeur.catadesc import CatalogDescription - -catalogues = ( - CatalogDescription(identifier = "OPENTURNS_STUDY_V8", - cata_file_path = os.path.join(os.path.abspath(repIni), 'OpenTURNS_Cata_Study_V8.py'), - file_format = "openturns_study"), -) - diff --git a/OldCodes/Openturns_Study/properties.py b/OldCodes/Openturns_Study/properties.py deleted file mode 100644 index 8ba0ed7e..00000000 --- a/OldCodes/Openturns_Study/properties.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -#@ MODIF properties Accas DATE 10/10/2002 AUTEUR gcbhhhh M.ADMINISTRATEUR -# CONFIGURATION MANAGEMENT OF EDF VERSION -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "7.1.0" -date = "23/04/2003" diff --git a/OldCodes/Openturns_Study/qtEficas_openturns_study.py b/OldCodes/Openturns_Study/qtEficas_openturns_study.py deleted file mode 100755 index abf2d5ab..00000000 --- a/OldCodes/Openturns_Study/qtEficas_openturns_study.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert à lancer EFICAS configuré pour Openturns -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -import sys -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/Openturns_Study/sdistOTqt.py b/OldCodes/Openturns_Study/sdistOTqt.py deleted file mode 100644 index acf75c26..00000000 --- a/OldCodes/Openturns_Study/sdistOTqt.py +++ /dev/null @@ -1,103 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Ce module sert à construire les distributions d'EFICAS pour Openturns - en fonction du tag CVS courant - Les distributions sont : - - un tar.gz pour UNIX ne contenant pas mxTextTools - L'utilisation de ce module est la suivante : - 1- Se mettre dans un répertoire de travail - 2- Configurer son environnement pour utiliser le référentiel CVS EFICAS - 3- Exporter les sources d'EficasV1 par la commande : - cvs export -r TAG -d Eficas_export EficasV1 - ou TAG est le tag CVS de la version que l'on veut distribuer (par exemple V1_1p1) - 5- Aller dans le répertoire Eficas_export - 6- Executer le script sdist.py - python sdist.py - Ce qui a pour effet de creer un repertoire dist contenant la distribution - et de la copier dans le répertoire indiqué par dir_download s'il est accessible - -""" -import os,shutil,glob,sys -import types - -nom_distrib="QTEficasOpenturns_V1_0" -path_distrib=os.path.join("dist",nom_distrib) -path_TextTools="/home/eficas/pkg/mxTools/egenix2.0.2pourWindows/mx/TextTools" -dir_download= "/home/eficas/WWW/telechargement/eficas" - -def main(): - if os.path.isdir('dist'):shutil.rmtree('dist') - - copyfiles('.',path_distrib,['LICENSE.TERMS','INSTALL','NEWS']) - - copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt']) - copyfiles('../InterfaceTK',os.path.join(path_distrib,'InterfaceTK'),['*.py','faqs.txt']) - copyfiles('../InterfaceQT',os.path.join(path_distrib,'InterfaceQT'),['*.py','faqs.txt']) - copyfiles('../Ui',os.path.join(path_distrib,'Ui'),['*.ui','makefile']) - copyfiles('../Openturns',os.path.join(path_distrib,'Openturns'),['*.py','*.ini']) - copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py']) - copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py']) - copyfiles('../Misc',os.path.join(path_distrib,'Misc'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Validation'),['*.py']) - # AIDE - copyfiles('../AIDE',os.path.join(path_distrib,'AIDE'),['*.py']) - copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE','fichiers'),['*']) - copyfiles('.',os.path.join(path_distrib,'AIDE','fichiers'),['INSTALL','NEWS']) - copyfiles('../Editeur',os.path.join(path_distrib,'AIDE','fichiers'),['faqs.txt']) - # ______________________ - - copyfiles('../convert',os.path.join(path_distrib,'convert'),['*.py']) - copyfiles('../convert/Parserv5',os.path.join(path_distrib,'convert','Parserv5'),['*.py']) - copyfiles('../generator',os.path.join(path_distrib,'generator'),['*.py']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.gif']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.png']) - copyfiles('../Editeur/Patrons/',os.path.join(path_distrib,'Editeur','Patrons'),['*.com*']) - copyfiles('../Editeur/Patrons/OPENTURNS',os.path.join(path_distrib,'Editeur','Patrons','OPENTURNS'),['*.com*']) - - copyfiles('../Noyau',os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles('../Validation',os.path.join(path_distrib,'Validation'),['*.py']) - - - tarball= maketarball('dist',nom_distrib,nom_distrib) - try: - shutil.copy(tarball,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - - - -def make_dir(dir_cible): - if type(dir_cible) is not types.StringType: - raise "make_dir : dir_cible doit etre une string (%s)" % `dir_cible` - head,tail=os.path.split(dir_cible) - tails=[tail] - while head and tail and not os.path.isdir(head): - head,tail=os.path.split(head) - tails.insert(0, tail) - - for d in tails: - head = os.path.join(head, d) - if not os.path.isdir(head):os.mkdir(head) - - -def copyfiles(dir_origin,dir_cible,listfiles): - if not os.path.isdir(dir_cible):make_dir(dir_cible) - for glob_files in listfiles: - for file in glob.glob(os.path.join(dir_origin,glob_files)): - shutil.copy(file,dir_cible) - - -def maketarball(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - print prev - os.chdir(dir_trav) - os.system("tar -cf "+nom_tar+".tar "+dir_cible) - os.system("gzip -f9 "+nom_tar+".tar ") - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".tar.gz") - - -main() - diff --git a/OldCodes/Openturns_Study/style.py b/OldCodes/Openturns_Study/style.py deleted file mode 100644 index 7da9d534..00000000 --- a/OldCodes/Openturns_Study/style.py +++ /dev/null @@ -1 +0,0 @@ -# Necessaire pour compatibilite avec Aster diff --git a/OldCodes/Openturns_Study/test/MinMax_ExpPlane.comm b/OldCodes/Openturns_Study/test/MinMax_ExpPlane.comm deleted file mode 100644 index 6f671ab3..00000000 --- a/OldCodes/Openturns_Study/test/MinMax_ExpPlane.comm +++ /dev/null @@ -1,17 +0,0 @@ - -LOG(DebugMessages='no', - WrapperMessages='no', - UserMessages='no', - InfoMessages='yes', - WarningMessages='yes', - ErrorMessages='yes',); - -MODEL(Name='poutre',); - -CRITERIA(Type='Min/Max', - Method='Experiment Plane', - ExperimentPlane='Axial', - Levels=(1.0,2.0,5.0,), - UnitsPerDimension=(100.0,5.0,0.5,1e-07,), - Center=(3000000000.0,300.0,2.5,4e-06,), - Result='Min/Max',); diff --git a/OldCodes/Openturns_Study/test/MinMax_ExpPlane.py b/OldCodes/Openturns_Study/test/MinMax_ExpPlane.py deleted file mode 100644 index 098c853e..00000000 --- a/OldCodes/Openturns_Study/test/MinMax_ExpPlane.py +++ /dev/null @@ -1,68 +0,0 @@ -#! /usr/bin/env python - -# Chargement du module systeme -import sys -sys.path.append( '/local00/home/dutka/OpenTURNS/trunk/build/install/lib/python2.4/site-packages/openturns' ) - -# Chargement du module Open TURNS -from openturns import * - -# Definit le niveau d'affichage de la log -flags = Log.NONE -flags = flags + Log.WARN -flags = flags + Log.ERROR -flags = flags - Log.WRAPPER -flags = flags + Log.INFO -flags = flags - Log.USER -flags = flags - Log.DBG -Log.Show( flags ) - -# Etude 'Min/Max' -# Charge le modele physique -model = NumericalMathFunction( 'poutre' ) -n = model.getInputNumericalPointDimension() - -# Etude par plan d'experience -# Definit les niveaux de la structure de grille -levels = NumericalPoint( 3 ) -levels[0] = 1 -levels[1] = 2 -levels[2] = 5 - -# Cree le plan d'experience centre reduit -myCenteredReductedGrid = Axial(n, levels) -myExperimentPlane = myCenteredReductedGrid.generate() - -# Definit les facteurs d'echelle dans chaque direction -scaledVector = NumericalPoint( n ) -scaledVector[0] = 100 -scaledVector[1] = 5 -scaledVector[2] = 0.5 -scaledVector[3] = 1e-07 -myExperimentPlane.scale( scaledVector ) - -# Definit le vecteur de translation -translationVector = NumericalPoint( n ) -translationVector[0] = 3e+09 -translationVector[1] = 300 -translationVector[2] = 2.5 -translationVector[3] = 4e-06 -myExperimentPlane.translate( translationVector ) - - -inputSample = myExperimentPlane - -# Calcul -outputSample = model( inputSample ) - -# Resultats -minValue = outputSample.getMin() -maxValue = outputSample.getMax() - -print 'minValue = ', minValue -print 'maxValue = ', maxValue - - - -# Terminaison du fichier -sys.exit( 0 ) diff --git a/OldCodes/Openturns_Study/test/MinMax_RandomSampling.comm b/OldCodes/Openturns_Study/test/MinMax_RandomSampling.comm deleted file mode 100644 index e9ed474b..00000000 --- a/OldCodes/Openturns_Study/test/MinMax_RandomSampling.comm +++ /dev/null @@ -1,30 +0,0 @@ - -LOG(DebugMessages='no', - WrapperMessages='no', - UserMessages='no', - InfoMessages='yes', - WarningMessages='yes', - ErrorMessages='yes',); - -MODEL(Name='poutre',); - -L_E=DISTRIBUTION(Kind='Normal', - Mu=0.1, - Sigma=0.1,); - -L_F=DISTRIBUTION(Kind='Exponential', - Lambda=1.0, - Gamma=2.0,); - -L_L=DISTRIBUTION(Kind='MultiNomial', - N=1, - Values=1.0,); - -L_I=DISTRIBUTION(Kind='Uniform', - A=10.0, - B=20.0,); - -CRITERIA(Type='Min/Max', - Method='Random Sampling', - PointsNumber=1000, - Result='Min/Max',); diff --git a/OldCodes/Openturns_Wrapper/CMakeLists.txt b/OldCodes/Openturns_Wrapper/CMakeLists.txt deleted file mode 100644 index 570b3ca9..00000000 --- a/OldCodes/Openturns_Wrapper/CMakeLists.txt +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Question : Que faire des fichiers sdistOTqt.py et style.py - -install ( FILES qtEficas_openturns_wrapper.py - ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_WRAPPER.py - prefs.py - configuration_OPENTURNS_WRAPPER.py - #catalogues_openturns.ini - OpenTURNS_Cata_Wrapper_V4.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/Openturns_Wrapper - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V1.py b/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V1.py deleted file mode 100644 index 7bad7c17..00000000 --- a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V1.py +++ /dev/null @@ -1,216 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_WRAPPER', - execmodul = None, - regles = ( AU_MOINS_UN ( 'WRAPPER' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - - -#================================ -# 2. Definition des variables -#================================ - -VARIABLEPOOL = PROC ( nom = "VARIABLEPOOL", - op = None, - docu = "", - fr = "L'ensemble des variables probabilistes", - ang = "The pool of probabilistic variables", - - - Variables = FACT ( statut = "o", - min = 1, - max = "**", - - - - Name = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom de la variable, identique au nom dans le solver.", - ang = "Name of the variable, identical to the name in solver." - ), - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - defaut = "in", - fr = "variable d'entree ou de sortie du solver", - ang = "Input or Output variable", - ), - - Unit = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Unite", - ang = "Unit", - ), - - Comment = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Commentaire", - ang = "Comment", - ), - - Regexp = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Expression reguliere", - ang = "Regular expression", - ), - - Format = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Format d'ecriture", - ang = "Format", - ), - - - ), # Fin FACT Variables - -) # Fin PROC VARIABLEPOOL - - -#================================ -# Definition des parametres du wrapper -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -WRAPPER = PROC ( nom = "WRAPPER", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - WrapperPath = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin d acces au wrapper", - ang = "Wrapper library path", - ), - - FunctionName = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom de la fonction dans le wrapper", - ang = "Function's name in wrapper", - ), - - GradientName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du gradient dans le wrapper", - ang = "Gradient's name in wrapper", - ), - - HessianName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du hessian dans le wrapper", - ang = "Hessian's name in wrapper", - ), - - WrapCouplingMode = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "static-link", "dynamic-link", "fork", ), - fr = "Mode de couplage du solver", - ang = "Solver coupling mode", - ), - - Fork = BLOC ( condition = " WrapCouplingMode in ( 'fork', ) ", - - Command = SIMP ( statut = "o", - max = 1, - typ = "TXM", - fr = "Chemin du solver", - ang = "solver path", - ), - ), # Fin BLOC Fork - - State = SIMP ( statut = "f", - typ = "TXM", - max = 1, - into = ( "shared", "specific" ), - fr = "Partage de l'etat interne entre les fonctions", - ang = "Internal state sharing", - ), - - InDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", ), - fr = "Mode de transfert des donnees d'entree", - ang = "Input transfering mode", - ), - - OutDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", ), - fr = "Mode de transfert des donnees de sortie", - ang = "Output transfering mode", - ), - - - - - Files = FACT ( statut = "f", - min = 1, - max = "**", - - Id = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Identificateur du fichier", - ang = "File id", - ), - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - fr = "Fichier d entree ou de sortie du solveur ?", - ang = "Input or Output file ?", - ), - - Name = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du fichier", - ang = "File name", - ), - - Path = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin du fichier", - ang = "Path file ", - ), - - Subst = SIMP ( statut = "f", - typ = "TXM", - max = "**", - fr = "Liste de variables", - ang = "List", - ), - - ), # Fin FACT Files - -) # Fin PROC WRAPPER diff --git a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V2.py b/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V2.py deleted file mode 100644 index a3895d3f..00000000 --- a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V2.py +++ /dev/null @@ -1,206 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - -class variable(ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_WRAPPER', - execmodul = None, - regles = ( AU_MOINS_UN ( 'WRAPPER' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - - -#================================ -# 2. Definition des variables -#================================ - - - -VARIABLE = OPER ( nom = "VARIABLE", - sd_prod = variable, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - defaut = "in", - fr = "variable d'entree ou de sortie du solver", - ang = "Input or Output variable", - ), - - Unit = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Unite", - ang = "Unit", - ), - - Comment = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Commentaire", - ang = "Comment", - ), - - Regexp = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Expression reguliere", - ang = "Regular expression", - ), - - Format = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Format d'ecriture", - ang = "Format", - ), - - - ) # Fin FACT Variables -# - - -#================================ -# Definition des parametres du wrapper -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -WRAPPER = PROC ( nom = "WRAPPER", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - - WrapperPath = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin d acces au wrapper", - ang = "Wrapper library path", - ), - - FunctionName = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom de la fonction dans le wrapper", - ang = "Function's name in wrapper", - ), - - GradientName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du gradient dans le wrapper", - ang = "Gradient's name in wrapper", - ), - - HessianName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du hessian dans le wrapper", - ang = "Hessian's name in wrapper", - ), - - WrapCouplingMode = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "static-link", "dynamic-link", "fork", ), - defaut = "fork", - fr = "Mode de couplage du solver", - ang = "Solver coupling mode", - ), - - Fork = BLOC ( condition = " WrapCouplingMode in ( 'fork', ) ", - - Command = SIMP ( statut = "o", - max = 1, - typ = "TXM", - fr = "Chemin du solver", - ang = "solver path", - ), - ), # Fin BLOC Fork - - State = SIMP ( statut = "f", - typ = "TXM", - max = 1, - into = ( "shared", "specific" ), - fr = "Partage de l'etat interne entre les fonctions", - ang = "Internal state sharing", - ), - - InDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", ), - fr = "Mode de transfert des donnees d'entree", - ang = "Input transfering mode", - ), - - OutDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", ), - fr = "Mode de transfert des donnees de sortie", - ang = "Output transfering mode", - ), - - - - - Files = FACT ( statut = "f", - min = 1, - max = "**", - - Id = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Identificateur du fichier", - ang = "File id", - ), - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - fr = "Fichier d entree ou de sortie du solveur ?", - ang = "Input or Output file ?", - ), - - Name = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du fichier", - ang = "File name", - ), - - Path = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin du fichier", - ang = "Path file ", - ), - - Subst = SIMP ( statut = "f", - typ = "TXM", - max = "**", - fr = "Liste de variables", - ang = "List", - ), - - ), # Fin FACT Files - -) # Fin PROC WRAPPER diff --git a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V3.py b/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V3.py deleted file mode 100644 index f99f40b3..00000000 --- a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V3.py +++ /dev/null @@ -1,301 +0,0 @@ -# -*- coding: utf-8 -*- - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - -class variable(ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_WRAPPER', - execmodul = None, - regles = ( AU_MOINS_UN ( 'WRAPPER' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - - -#================================ -# 2. Definition des variables -#================================ - - - -VARIABLE = OPER ( nom = "VARIABLE", - sd_prod = variable, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - defaut = "in", - fr = "variable d'entree ou de sortie du solver", - ang = "Input or Output variable", - ), - - Unit = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Unite", - ang = "Unit", - ), - - Comment = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Commentaire", - ang = "Comment", - ), - - Regexp = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Expression reguliere", - ang = "Regular expression", - ), - - Format = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Format d'ecriture", - ang = "Format", - ), - - - ) # Fin FACT Variables -# - - -#================================ -# Definition des parametres du wrapper -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -WRAPPER = PROC ( nom = "WRAPPER", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - Framework = SIMP ( statut = "o", - typ = "TXM", - into = ( "Salome", "Stand-alone", ), - max = 1, - fr = "Dans quel environnement le wrapper doit-il etre utilise ?", - ang = "Which framework is this wrapper designed for ?", - ), - - StandAlone = BLOC ( condition = " Framework in ( 'Stand-alone', ) ", - - - WrapperPath = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin d acces au wrapper", - ang = "Wrapper library path", - ), - - FunctionName = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom de la fonction dans le wrapper", - ang = "Function's name in wrapper", - ), - - GradientName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du gradient dans le wrapper", - ang = "Gradient's name in wrapper", - ), - - HessianName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du hessian dans le wrapper", - ang = "Hessian's name in wrapper", - ), - - WrapCouplingMode = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "static-link", "dynamic-link", "fork", ), - defaut = "fork", - fr = "Mode de couplage du solver", - ang = "Solver coupling mode", - ), - - Fork = BLOC ( condition = " WrapCouplingMode in ( 'fork', ) ", - - Command = SIMP ( statut = "o", - max = 1, - typ = "TXM", - fr = "Chemin du solver", - ang = "solver path", - ), - ), # Fin BLOC Fork - - State = SIMP ( statut = "f", - typ = "TXM", - max = 1, - into = ( "shared", "specific" ), - fr = "Partage de l'etat interne entre les fonctions", - ang = "Internal state sharing", - ), - - InDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba" ), - fr = "Mode de transfert des donnees d'entree", - ang = "Input transfering mode", - ), - - OutDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba" ), - fr = "Mode de transfert des donnees de sortie", - ang = "Output transfering mode", - ), - - ), # Fin BLOC StandAlone - - - Salome = BLOC ( condition = " Framework in ( 'Salome', ) ", - - SolverComponentName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - defaut = "UNDEFINED", - fr = "Nom du composant solver", - ang = "Solver component name", - ), - - - WrapperPath = SIMP ( statut = "o", - typ = "TXM", - into = ( "GenericWrapper4Salome.so", ), - defaut = "GenericWrapper4Salome.so", - max = 1, - fr = "Chemin d acces au wrapper", - ang = "Wrapper library path", - ), - - FunctionName = SIMP ( statut = "o", - typ = "TXM", - into = ( "GENERICSOLVER", ), - defaut = "GENERICSOLVER", - max = 1, - fr = "Nom de la fonction dans le wrapper", - ang = "Function's name in wrapper", - ), - - GradientName = SIMP ( statut = "f", - typ = "TXM", - into = ( "GENERICSOLVER", ), - defaut = "GENERICSOLVER", - max = 1, - fr = "Nom du gradient dans le wrapper", - ang = "Gradient's name in wrapper", - ), - - HessianName = SIMP ( statut = "f", - typ = "TXM", - into = ( "GENERICSOLVER", ), - defaut = "GENERICSOLVER", - max = 1, - fr = "Nom du hessian dans le wrapper", - ang = "Hessian's name in wrapper", - ), - - WrapCouplingMode = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "static-link", ), - defaut = "static-link", - fr = "Mode de couplage du solver", - ang = "Solver coupling mode", - ), - - State = SIMP ( statut = "f", - typ = "TXM", - max = 1, - into = ( "shared", "specific" ), - fr = "Partage de l'etat interne entre les fonctions", - ang = "Internal state sharing", - ), - - InDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba", ), - defaut = "corba", - fr = "Mode de transfert des donnees d'entree", - ang = "Input transfering mode", - ), - - OutDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba", ), - defaut = "corba", - fr = "Mode de transfert des donnees de sortie", - ang = "Output transfering mode", - ), - - ), # Fin BLOC Salome - - - Files = FACT ( statut = "f", - min = 1, - max = "**", - - Id = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Identificateur du fichier", - ang = "File id", - ), - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - fr = "Fichier d entree ou de sortie du solveur ?", - ang = "Input or Output file ?", - ), - - Name = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du fichier", - ang = "File name", - ), - - Path = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin du fichier", - ang = "Path file ", - ), - - Subst = SIMP ( statut = "f", - typ = "TXM", - max = "**", - fr = "Liste de variables", - ang = "List", - ), - - ), # Fin FACT Files - -) # Fin PROC WRAPPER diff --git a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.py b/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.py deleted file mode 100644 index 651d5b82..00000000 --- a/OldCodes/Openturns_Wrapper/OpenTURNS_Cata_Wrapper_V4.py +++ /dev/null @@ -1,326 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -import Accas -from Accas import * - -class variable(ASSD ) : pass - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'OPENTURNS_WRAPPER', - execmodul = None, - regles = ( AU_MOINS_UN ( 'WRAPPER' ), ), - ) # Fin JDC_CATA - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - - -#================================ -# 2. Definition des variables -#================================ - - - -VARIABLE = OPER ( nom = "VARIABLE", - sd_prod = variable, - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - defaut = "in", - fr = "variable d'entree ou de sortie du solver", - ang = "Input or Output variable", - ), - - Unit = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Unite", - ang = "Unit", - ), - - Comment = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Commentaire", - ang = "Comment", - ), - - Regexp = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Expression reguliere", - ang = "Regular expression", - ), - - Format = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Format d'ecriture", - ang = "Format", - ), - - - ) # Fin FACT Variables -# - - -#================================ -# Definition des parametres du wrapper -#================================ - -# Nota : les variables de type PROC doivent etre en majuscules ! -WRAPPER = PROC ( nom = "WRAPPER", - op = None, - docu = "", - fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.", - ang = "Writes the configuration file for OPENTURNS.", - - Framework = SIMP ( statut = "o", - typ = "TXM", - into = ( "Salome", "Stand-alone", ), - max = 1, - fr = "Dans quel environnement le wrapper doit-il etre utilise ?", - ang = "Which framework is this wrapper designed for ?", - ), - - StandAlone = BLOC ( condition = " Framework in ( 'Stand-alone', ) ", - - - WrapperPath = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin d acces au wrapper", - ang = "Wrapper library path", - ), - - FunctionName = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Nom de la fonction dans le wrapper", - ang = "Function's name in wrapper", - ), - - GradientName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du gradient dans le wrapper", - ang = "Gradient's name in wrapper", - ), - - HessianName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du hessian dans le wrapper", - ang = "Hessian's name in wrapper", - ), - - WrapCouplingMode = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "static-link", "dynamic-link", "fork", ), - defaut = "fork", - fr = "Mode de couplage du solver", - ang = "Solver coupling mode", - ), - - Fork = BLOC ( condition = " WrapCouplingMode in ( 'fork', ) ", - - Command = SIMP ( statut = "o", - max = 1, - typ = "TXM", - fr = "Chemin du solver", - ang = "Solver path", - ), - - UserPrefix = SIMP ( statut = "f", - max = 1, - typ = "TXM", - fr = "Prefixe pour retrouver les repertories temporaires de calcul", - ang = "Prefix to help finding compute directories", - ), - ), # Fin BLOC Fork - - State = SIMP ( statut = "f", - typ = "TXM", - max = 1, - into = ( "shared", "specific" ), - fr = "Partage de l'etat interne entre les fonctions", - ang = "Internal state sharing", - ), - - InDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba" ), - fr = "Mode de transfert des donnees d'entree", - ang = "Input transfering mode", - ), - - OutDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba" ), - fr = "Mode de transfert des donnees de sortie", - ang = "Output transfering mode", - ), - - ), # Fin BLOC StandAlone - - - Salome = BLOC ( condition = " Framework in ( 'Salome', ) ", - - SolverComponentName = SIMP ( statut = "f", - typ = "TXM", - max = 1, - defaut = "UNDEFINED", - fr = "Nom du composant solver", - ang = "Solver component name", - ), - - - WrapperPath = SIMP ( statut = "o", - typ = "TXM", - into = ( "GenericWrapper4Salome.so", ), - defaut = "GenericWrapper4Salome.so", - max = 1, - fr = "Chemin d acces au wrapper", - ang = "Wrapper library path", - ), - - FunctionName = SIMP ( statut = "o", - typ = "TXM", - into = ( "GENERICSOLVER", ), - defaut = "GENERICSOLVER", - max = 1, - fr = "Nom de la fonction dans le wrapper", - ang = "Function's name in wrapper", - ), - - GradientName = SIMP ( statut = "f", - typ = "TXM", - into = ( "GENERICSOLVER", ), - defaut = "GENERICSOLVER", - max = 1, - fr = "Nom du gradient dans le wrapper", - ang = "Gradient's name in wrapper", - ), - - HessianName = SIMP ( statut = "f", - typ = "TXM", - into = ( "GENERICSOLVER", ), - defaut = "GENERICSOLVER", - max = 1, - fr = "Nom du hessian dans le wrapper", - ang = "Hessian's name in wrapper", - ), - - WrapCouplingMode = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "static-link", ), - defaut = "static-link", - fr = "Mode de couplage du solver", - ang = "Solver coupling mode", - ), - - State = SIMP ( statut = "f", - typ = "TXM", - max = 1, - into = ( "shared", "specific" ), - fr = "Partage de l'etat interne entre les fonctions", - ang = "Internal state sharing", - ), - - InDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba", ), - defaut = "corba", - fr = "Mode de transfert des donnees d'entree", - ang = "Input transfering mode", - ), - - OutDataTransfer = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "files", "arguments", "corba", ), - defaut = "corba", - fr = "Mode de transfert des donnees de sortie", - ang = "Output transfering mode", - ), - - ), # Fin BLOC Salome - - - Files = FACT ( statut = "f", - min = 1, - max = "**", - - Id = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Identificateur du fichier", - ang = "File id", - ), - - Type = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "in", "out", ), - fr = "Fichier d entree ou de sortie du solveur ?", - ang = "Input or Output file ?", - ), - - Name = SIMP ( statut = "f", - typ = "TXM", - max = 1, - fr = "Nom du fichier", - ang = "File name", - ), - - Path = SIMP ( statut = "o", - typ = "TXM", - max = 1, - fr = "Chemin du fichier", - ang = "Path file ", - ), - - Subst = SIMP ( statut = "f", - typ = "TXM", - max = "**", - fr = "Liste de variables", - ang = "List", - ), - - ), # Fin FACT Files - -) # Fin PROC WRAPPER diff --git a/OldCodes/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.py b/OldCodes/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.py deleted file mode 100644 index 64d0b05e..00000000 --- a/OldCodes/Openturns_Wrapper/configuration_OPENTURNS_WRAPPER.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - - self.labels_user=['exec_acrobat', 'catalogues','savedir','path_doc'] - self.labels_eficas=["OpenTURNS_path","path_doc","exec_acrobat"] - self.labels_eficas=self.labels_eficas+["rep_cata","lang","catalogues"] - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - #--------------------------------------- - def lecture_fichier_ini_standard(self): - #--------------------------------------- - configuration.CONFIG_BASE.lecture_fichier_ini_standard(self) - if hasattr(self,'OpenTURNS_path') : self.oldOTPath=self.OpenTURNS_path - - #--------------------------------------- - def lecture_fichier_ini_integrateur(self): - #--------------------------------------- - configuration.CONFIG_BASE.lecture_fichier_ini_utilisateur(self) - if hasattr(self,'OpenTURNS_path') : - if hasattr(self,'oldOTPath') and (self.OpenTURNS_path != self.oldOTPath): - import sys - sys.path.remove(self.oldOTPath) - sys.path[:0]=[self.OpenTURNS_path] - self.oldOTPath=self.OpenTURNS_path - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/Openturns_Wrapper/prefs.py b/OldCodes/Openturns_Wrapper/prefs.py deleted file mode 100644 index 10b557d2..00000000 --- a/OldCodes/Openturns_Wrapper/prefs.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code = "OPENTURNS_WRAPPER" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.py b/OldCodes/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.py deleted file mode 100644 index b60be596..00000000 --- a/OldCodes/Openturns_Wrapper/prefs_OPENTURNS_WRAPPER.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2015 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -import os, sys -# Les variables pouvant positionnees sont : -print "import des prefs de OPENTURNS" - -# repIni sert a localiser le fichier -# initialdir sert comme directory initial des QFileDialog -# positionnee a repin au debut mise a jour dans configuration -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -# lang indique la langue utilisée pour les chaines d'aide : fr ou ang -lang='fr' -encoding='iso-8859-1' - -# Acces a la documentation -path_doc = os.path.join(INSTALLDIR,'Doc') -exec_acrobat = "/usr/bin/xpdf" -savedir = os.environ['HOME'] - - -# OpenTURNS Python module -OpenTURNS_path="" -if len(OpenTURNS_path) > 0: sys.path[:0]=[OpenTURNS_path] - -# Choix des catalogues -from Editeur.catadesc import CatalogDescription - -catalogues = ( - CatalogDescription(identifier = "OPENTURNS_WRAPPER_V4", - cata_file_path = os.path.join(os.path.abspath(repIni), 'OpenTURNS_Cata_Wrapper_V4.py'), - file_format = "openturns_wrapper"), -) - diff --git a/OldCodes/Openturns_Wrapper/properties.py b/OldCodes/Openturns_Wrapper/properties.py deleted file mode 100644 index 8ba0ed7e..00000000 --- a/OldCodes/Openturns_Wrapper/properties.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -#@ MODIF properties Accas DATE 10/10/2002 AUTEUR gcbhhhh M.ADMINISTRATEUR -# CONFIGURATION MANAGEMENT OF EDF VERSION -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "7.1.0" -date = "23/04/2003" diff --git a/OldCodes/Openturns_Wrapper/qtEficas_openturns_wrapper.py b/OldCodes/Openturns_Wrapper/qtEficas_openturns_wrapper.py deleted file mode 100755 index 705dc165..00000000 --- a/OldCodes/Openturns_Wrapper/qtEficas_openturns_wrapper.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -""" - Ce module sert à lancer EFICAS configuré pour Openturns -""" -# Modules Python - -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -import sys -from InterfaceQT4 import eficas_go - -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/Openturns_Wrapper/sdistOTqt.py b/OldCodes/Openturns_Wrapper/sdistOTqt.py deleted file mode 100644 index acf75c26..00000000 --- a/OldCodes/Openturns_Wrapper/sdistOTqt.py +++ /dev/null @@ -1,103 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Ce module sert à construire les distributions d'EFICAS pour Openturns - en fonction du tag CVS courant - Les distributions sont : - - un tar.gz pour UNIX ne contenant pas mxTextTools - L'utilisation de ce module est la suivante : - 1- Se mettre dans un répertoire de travail - 2- Configurer son environnement pour utiliser le référentiel CVS EFICAS - 3- Exporter les sources d'EficasV1 par la commande : - cvs export -r TAG -d Eficas_export EficasV1 - ou TAG est le tag CVS de la version que l'on veut distribuer (par exemple V1_1p1) - 5- Aller dans le répertoire Eficas_export - 6- Executer le script sdist.py - python sdist.py - Ce qui a pour effet de creer un repertoire dist contenant la distribution - et de la copier dans le répertoire indiqué par dir_download s'il est accessible - -""" -import os,shutil,glob,sys -import types - -nom_distrib="QTEficasOpenturns_V1_0" -path_distrib=os.path.join("dist",nom_distrib) -path_TextTools="/home/eficas/pkg/mxTools/egenix2.0.2pourWindows/mx/TextTools" -dir_download= "/home/eficas/WWW/telechargement/eficas" - -def main(): - if os.path.isdir('dist'):shutil.rmtree('dist') - - copyfiles('.',path_distrib,['LICENSE.TERMS','INSTALL','NEWS']) - - copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt']) - copyfiles('../InterfaceTK',os.path.join(path_distrib,'InterfaceTK'),['*.py','faqs.txt']) - copyfiles('../InterfaceQT',os.path.join(path_distrib,'InterfaceQT'),['*.py','faqs.txt']) - copyfiles('../Ui',os.path.join(path_distrib,'Ui'),['*.ui','makefile']) - copyfiles('../Openturns',os.path.join(path_distrib,'Openturns'),['*.py','*.ini']) - copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py']) - copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py']) - copyfiles('../Misc',os.path.join(path_distrib,'Misc'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Validation'),['*.py']) - # AIDE - copyfiles('../AIDE',os.path.join(path_distrib,'AIDE'),['*.py']) - copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE','fichiers'),['*']) - copyfiles('.',os.path.join(path_distrib,'AIDE','fichiers'),['INSTALL','NEWS']) - copyfiles('../Editeur',os.path.join(path_distrib,'AIDE','fichiers'),['faqs.txt']) - # ______________________ - - copyfiles('../convert',os.path.join(path_distrib,'convert'),['*.py']) - copyfiles('../convert/Parserv5',os.path.join(path_distrib,'convert','Parserv5'),['*.py']) - copyfiles('../generator',os.path.join(path_distrib,'generator'),['*.py']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.gif']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.png']) - copyfiles('../Editeur/Patrons/',os.path.join(path_distrib,'Editeur','Patrons'),['*.com*']) - copyfiles('../Editeur/Patrons/OPENTURNS',os.path.join(path_distrib,'Editeur','Patrons','OPENTURNS'),['*.com*']) - - copyfiles('../Noyau',os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles('../Validation',os.path.join(path_distrib,'Validation'),['*.py']) - - - tarball= maketarball('dist',nom_distrib,nom_distrib) - try: - shutil.copy(tarball,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - - - -def make_dir(dir_cible): - if type(dir_cible) is not types.StringType: - raise "make_dir : dir_cible doit etre une string (%s)" % `dir_cible` - head,tail=os.path.split(dir_cible) - tails=[tail] - while head and tail and not os.path.isdir(head): - head,tail=os.path.split(head) - tails.insert(0, tail) - - for d in tails: - head = os.path.join(head, d) - if not os.path.isdir(head):os.mkdir(head) - - -def copyfiles(dir_origin,dir_cible,listfiles): - if not os.path.isdir(dir_cible):make_dir(dir_cible) - for glob_files in listfiles: - for file in glob.glob(os.path.join(dir_origin,glob_files)): - shutil.copy(file,dir_cible) - - -def maketarball(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - print prev - os.chdir(dir_trav) - os.system("tar -cf "+nom_tar+".tar "+dir_cible) - os.system("gzip -f9 "+nom_tar+".tar ") - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".tar.gz") - - -main() - diff --git a/OldCodes/Openturns_Wrapper/style.py b/OldCodes/Openturns_Wrapper/style.py deleted file mode 100644 index 7da9d534..00000000 --- a/OldCodes/Openturns_Wrapper/style.py +++ /dev/null @@ -1 +0,0 @@ -# Necessaire pour compatibilite avec Aster diff --git a/OldCodes/PSEN_N1/PSEN_Cata_N1.py b/OldCodes/PSEN_N1/PSEN_Cata_N1.py deleted file mode 100644 index 6d926367..00000000 --- a/OldCodes/PSEN_N1/PSEN_Cata_N1.py +++ /dev/null @@ -1,199 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * -import opsPSEN_N1 -# -#class loi ( ASSD ) : pass -#class variable ( ASSD ) : pass -class sd_charge ( ASSD ) : pass -class sd_generateur ( ASSD ) : pass -class sd_ligne ( ASSD ) : pass -class sd_transfo ( ASSD ) : pass -class sd_moteur ( ASSD ) : pass -# - -# import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -# class Matrice: -# def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): -# self.nbLigs=nbLigs -# self.nbCols=nbCols -# self.methodeCalculTaille=methodeCalculTaille -# self.formatSortie=formatSortie -# self.valSup=valSup -# self.valMin=valMin -# self.structure=structure -# -# def __convert__(self,valeur): -# # Attention ne verifie pas grand chose -# if type(valeur) != types.ListType : -# return None -# return valeur -# -# def info(self): -# return "Matrice %s x %s" % (self.nbLigs, self.nbCols) -# -# __repr__=info -# __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'PSEN', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CASE_SELECTION' ), - # AU_MOINS_UN ( 'DIRECTORY' ), - # AU_MOINS_UN ( 'DISTRIBUTION' ), - # AU_MOINS_UN ( 'SIMULATION' ), - # AU_PLUS_UN ( 'PSSE_PARAMETERS' ), - # AU_PLUS_UN ( 'DIRECTORY' ), - # AU_PLUS_UN ( 'SIMULATION' ), - # AU_PLUS_UN ( 'CORRELATION' ), - # AU_PLUS_UN ( 'N_1_GENERATORS' ), - # AU_PLUS_UN ( 'N_1_LINES' ), - # AU_PLUS_UN ( 'N_1_LOADS' ), - # AU_PLUS_UN ( 'N_1_TRANSFORMERS' ), - - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- -## TODO : RUN -CASE_SELECTION = MACRO ( nom = "CASE_SELECTION", - sd_prod = opsPSEN_N1.INCLUDE, - op_init = opsPSEN_N1.INCLUDE_context, - regles = (UN_PARMI('FromFile', 'AllCases', 'WorstCases'),), - fichier_ini = 1, - op = None, - fr = "Sélectionnez les cas à analyser", - ang = 'Select the cases to analyze', - PSSE_path = SIMP(statut="o",typ='Repertoire',defaut='C:\Program Files (x86)\PTI\PSSE33\PSSBIN'), - output_folder = SIMP(statut="o", typ="Repertoire"), - - FromFile = FACT( - statut = 'f', - input_path = SIMP(statut="f",typ='Repertoire'), - branch_cases = SIMP(statut='o', typ='TXM'), - transfo_cases = SIMP(statut='o', typ='TXM'), - high_cases = SIMP(statut='o', typ='TXM'), - low_cases = SIMP(statut='o', typ='TXM'), - ), - - AllCases = FACT( - statut='f', - all_cases = SIMP(statut='o', typ=bool, defaut = True), - ), - - WorstCases = FACT( - regles = (UN_PARMI('AvgBranchLoad', 'AvgBranchLoadPercent'), UN_PARMI('AvgTransfoLoad', 'AvgTransfoLoadPercent'), UN_PARMI('AvgHighVoltage', 'AvgHighVoltagePercent'), UN_PARMI('AvgLowVoltage', 'AvgLowVoltagePercent'),), - statut = 'f', - AvgBranchLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgBranchLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgTransfoLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgTransfoLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgHighVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgHighVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgLowVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgLowVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - ), - - MaxDepth = SIMP(statut = 'o', typ = 'I', defaut = 5), - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", defaut = "complete CASE SELECTION"), - - BusesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - - optionsLF = FACT ( - statut = 'o', - AdjTaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Lock', '1 - Stepping', '2 - Direct'], defaut = '1 - Stepping'), - AdjDCtaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable'], defaut = '1 - Enable'), - SolutionMethod = SIMP(statut = 'o', typ = 'TXM', into = ['0 - FDNS', '1 - FNSL', '2 - Optimized FDNS'], defaut = '1 - FNSL'), - AdjSwitchedShunts = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable', '2 - Enable continuous mode'], defaut = '1 - Enable'), - DispatchMode = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Reserve', '2 - Pmax', '3 - Inertia', '4 - Droop'], defaut = '1 - Reserve'), - FlatStart = SIMP(statut = 'o', typ = bool, defaut = False), - VarLimits = SIMP(statut = 'o', typ = 'I', defaut = 99), - ), - ) - -CONTINGENCY_OPTIONS = PROC ( nom = 'CONTINGENCY_OPTIONS', - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - ang = 'Nyu', - Vmin = SIMP(statut = 'o', typ = 'R', defaut = 0.9, val_min = 0), - Vmax = SIMP(statut = 'o', typ = 'R', defaut = 1.1, val_min = 0), - ContRate = SIMP(statut = 'o', typ = 'TXM', defaut = 'a', into=['a', 'b']), - FlowLimitLines = SIMP(statut = 'o', typ = 'I', defaut = 110, val_min = 0), - FloLimitTransfos = SIMP(statut = 'o', typ = 'I', defaut = 100, val_min = 0), - Tolance = SIMP(statut = 'o', typ = 'I', defaut = 10, val_min = 0), - RadialLinesOnly = SIMP(statut = 'o', typ = bool, defaut = False), - TripTransfos = SIMP(statut = 'o', typ = bool, defaut = True), - TripGenerators = SIMP(statut = 'o', typ = bool, defaut = True), - TripN_2 = SIMP(statut = 'o', typ = bool, defaut = False), - IsolatedGen = SIMP(statut = 'o', typ = bool, defaut = True), - ) - -OUTPUT_OPTIONS = PROC ( nom = 'OUTPUT_OPTIONS', - op = None, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - ang = 'Nyu', - TrNoGSUorGNDOutput = SIMP(statut = 'o', typ = bool, defaut = True), - TestBusName = SIMP(statut = 'o', typ = bool, defaut = True), - ReportSpaces = SIMP(statut = 'o', typ = bool, defaut = True), - RepeatComponentAllLines = SIMP(statut = 'o', typ = bool, defaut = True), - MultipleContingencyReport = SIMP(statut = 'o', typ = bool, defaut = True), - WriteIndivExcels = SIMP(statut = 'o', typ = bool, defaut = True), - WriteFlowDifs = SIMP(statut = 'o', typ = bool, defaut = True), - ) - -DATA_PROCESSING = MACRO ( nom = 'DATA_PROCESSING', - sd_prod = opsPSEN_N1.PROCESS, - op_init = opsPSEN_N1.PROCESS_context, - fichier_ini = 1, - op = None, - fr = "Sélectionnez les cas à analyser", - ang = 'Select the cases to analyze', - XLS_file = SIMP(statut="o", typ = ('Fichier', 'XLS file (*.xls);;All Files (*)',),), - Onglets = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', homo = 'SansOrdreNiDoublon',into=(),), - BusList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', homo = 'SansOrdreNiDoublon',into=(),), - ContList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', homo = 'SansOrdreNiDoublon',into=(),), - ) diff --git a/OldCodes/PSEN_N1/configuration_PSEN_N1.py b/OldCodes/PSEN_N1/configuration_PSEN_N1.py deleted file mode 100644 index 4ab64b85..00000000 --- a/OldCodes/PSEN_N1/configuration_PSEN_N1.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/PSEN_N1/mesScripts_PSEN_N1.py b/OldCodes/PSEN_N1/mesScripts_PSEN_N1.py deleted file mode 100644 index 7ffd8d0a..00000000 --- a/OldCodes/PSEN_N1/mesScripts_PSEN_N1.py +++ /dev/null @@ -1,56 +0,0 @@ -def processXLS(listeparam) : - print "dans processXLS" - item=listeparam[0] - fileNameObj=item.object.get_child('XLS_file') - if fileNameObj : fileName=fileNameObj.get_valeur() - else : fileName = "" - if fileName == "" : return 0, 'Nom de fichier invalide' - - ongletListObj=item.object.get_child('Onglets') - if ongletListObj : ongletList= ongletListObj.get_valeur() - else : ongletList = [] - if ongletList == [] : return 0, 'ongletList invalide' - - busListObj=item.object.get_child('BusList') - if busListObj : busList= busListObj.get_valeur() - else : busList = [] - if busList == [] : return 0, 'BusList invalide' - - contListObj=item.object.get_child('ContList') - if contListObj : contList=contListObj.get_valeur() - else : contList = [] - if contList == [] : return 0, 'ContList invalide' - - dicoBus={} - dicoCont={} - for onglet in ongletList: - recherche=str(" ("+ str(onglet) +" )") - listeBusPourOnglet=[] - listeContPourOnglet=[] - for bus in busList : - nomBusSplit=str(bus).split(recherche) - if len(nomBusSplit) == 2 : listeBusPourOnglet.append(nomBusSplit[0]) - for cont in contList : - nomContSplit=str(cont).split(recherche) - if len(nomContSplit) == 2 : listeContPourOnglet.append(nomContSplit[0]) - if listeBusPourOnglet != [] : dicoBus[onglet]=listeBusPourOnglet - if listeContPourOnglet != [] : dicoCont[onglet]=listeContPourOnglet - - from Processor import processXLS - processXLS(fileName,dicoBus,dicoCont) - #if nouvelleVal != [] : prob.set_valeur(nouvelleVal) - -# le dictionnaire des commandes a la structure suivante : -# la clef est la commande qui va proposer l action -# puis un tuple qui contient -# - la fonction a appeler -# - le label dans le menu du clic droit -# - un tuple contenant les parametres attendus par la fonction -# - appelable depuis Salome uniquement -) -# - appelable depuis un item valide uniquement -# - toolTip -dict_commandes={ - 'DATA_PROCESSING': ( - (processXLS,"process",('item',),False,True,"process values "), - ), - } diff --git a/OldCodes/PSEN_N1/opsPSEN_N1.py b/OldCodes/PSEN_N1/opsPSEN_N1.py deleted file mode 100644 index 9ea600a6..00000000 --- a/OldCodes/PSEN_N1/opsPSEN_N1.py +++ /dev/null @@ -1,112 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -#from ExtractGeneratorLoadLineandTransfoDico import * -#from ExtractGeneratorLoadLineandTransfoDico import ExtractGeneratorLoadLineandTransfoDico2 - -def INCLUDE(self,PSSE_path,**args): - """ - Fonction sd_prod pour la macro INCLUDE - """ - #print('in INCLUDE') - #print args - CaseFolder = args['output_folder'] - if CaseFolder==None: return - reevalue=0 - if hasattr(self,'fichier_ini'): - reevalue=1 - if self.fichier_ini == CaseFolder : return - if hasattr(self,'old_context_fichier_init' ): - for concept in self.old_context_fichier_init.values(): - self.jdc.delete_concept(concept) - self.jdc_aux=None - self.contexte_fichier_init={} - self.reevalue_sd_jdc() - self.jdc.reset_context() - - self.fichier_ini=CaseFolder - self.contexte_fichier_init = {} - self.fichier_unite = 999 - self.fichier_err = None - self.fichier_text="" - - unite = 999 - - BusList = [138, 77, 69] - self.jdc.appli.changeIntoMC(self,'BusesList',BusList) - - - -def INCLUDE_context(self,d): - """ - Fonction op_init pour macro INCLUDE - """ - for k,v in self.g_context.items(): - d[k]=v - - -def PROCESS_context(self,d): - print "dans le init du Process" - -def PROCESS(self,XLS_file,**args): - if XLS_file == "" or XLS_file == None: return - if not (hasattr(self,'dico')) : - from Processor import getXLS - self.dico=getXLS(XLS_file) - self.jdc.appli.changeIntoMC(self,'Onglets',self.dico.keys()) - self.OngletsValeurs=[] - else : - # On teste si on a modifie la liste des onglets - OngletsValeurs= self.get_child('Onglets').getval() - - - if not (hasattr(self,'OngletsValeurs')) : self.OngletsValeurs=OngletsValeurs - elif self.OngletsValeurs == OngletsValeurs : print 'return' ;return - else : self.OngletsValeurs=OngletsValeurs - - if OngletsValeurs==() or OngletsValeurs == []: - self.jdc.appli.deleteMC(self,'BusList') - self.jdc.appli.deleteMC(self,'ContList') - self.OngletsValeurs=[] - return - - OldBusValeurs= self.get_child('BusList').getval() - OldContValeurs= self.get_child('ContList').getval() - if OldBusValeurs == None : OldBusValeurs=[] - if OldContValeurs == None : OldContValeurs=[] - - listeBus=[] - listeCont=[] - listeBusCoches=[] - listeContCoches=[] - for o in OngletsValeurs : - for b in self.dico[o][0]: - texte=b+" ("+ str(o) +" )" - listeBus.append(str(texte)) - if texte in OldBusValeurs : listeBusCoches.append(str(texte)) - for c in self.dico[o][1]: - texte=c+" ("+ str(o) +" )" - listeCont.append(str(texte)) - if texte in OldContValeurs : listeContCoches.append(str(texte)) - - self.jdc.appli.changeIntoMCandSet(self,'BusList',listeBus,listeBusCoches) - self.jdc.appli.changeIntoMCandSet(self,'ContList',listeCont,listeContCoches) - - diff --git a/OldCodes/PSEN_N1/prefs.py b/OldCodes/PSEN_N1/prefs.py deleted file mode 100644 index 647d0ae9..00000000 --- a/OldCodes/PSEN_N1/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="PSEN_N1" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/PSEN_N1/prefs_PSEN_N1.py b/OldCodes/PSEN_N1/prefs_PSEN_N1.py deleted file mode 100644 index 00992868..00000000 --- a/OldCodes/PSEN_N1/prefs_PSEN_N1.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='en' #'fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni - - -# -catalogues=( - ('PSEN_N1','default',os.path.join(repIni,'PSEN_Cata_N1.py'),'python','python'), -) diff --git a/OldCodes/PSEN_N1/properties.py b/OldCodes/PSEN_N1/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/OldCodes/PSEN_N1/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/OldCodes/PSEN_N1/qtEficas_PSEN_N1.py b/OldCodes/PSEN_N1/qtEficas_PSEN_N1.py deleted file mode 100755 index 6863fe03..00000000 --- a/OldCodes/PSEN_N1/qtEficas_PSEN_N1.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -#sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -import prefs -name='prefs_'+prefs.code -__import__(name) - -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/PSEN_N1/run.py b/OldCodes/PSEN_N1/run.py deleted file mode 100644 index 4a660891..00000000 --- a/OldCodes/PSEN_N1/run.py +++ /dev/null @@ -1,15 +0,0 @@ -import sys - -def runPSEN_N1(dico) : - try : - for k in dico.keys() : - print k - except : - pass - print dico - return 1,'hhhh' - -if __name__ == "__main__": - if dico == None : dico={} - runPSEN_N1(dico) - diff --git a/OldCodes/Sep/CMakeLists.txt b/OldCodes/Sep/CMakeLists.txt deleted file mode 100644 index c996b408..00000000 --- a/OldCodes/Sep/CMakeLists.txt +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES - qtEficas_SEP.py SEP_Cata_V1_4.py configuration_SEP.py prefs.py - __init__.py prefs_SEP.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/Sep - ) - - - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/Sep/SEP_Cata_V0.py b/OldCodes/Sep/SEP_Cata_V0.py deleted file mode 100644 index 0e0957b3..00000000 --- a/OldCodes/Sep/SEP_Cata_V0.py +++ /dev/null @@ -1,114 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - -# -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'SEP', - execmodul = None, - # regles=(AU_MOINS_UN('STRUCTURE_SIMPLE','STRUCTURE_COMPOSEE',),), - regles=(AU_PLUS_UN('STRUCTURE_SIMPLE',),), - )# Fin JDC_CATA -# - - -STRUCTURE_SIMPLE= MACRO (nom = 'STRUCTURE_SIMPLE', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "sous epaisseur ", - dir_name = SIMP(statut='o', typ='TXM',), - - - TYPE_SEP = SIMP(statut='o', typ='TXM',into=('TUBE_SOUS_EP_INTERNE','COUDE_SOUS_EP_INTERNE')), - - CHARGE_LIMITE = SIMP(statut='o', typ='TXM',into=('OUI', 'NON')), - - - b_tube_sous_epaisseur =BLOC(condition="(TYPE_SEP=='TUBE_SOUS_EP_INTERNE') ", - - MAIL_TUBE = FACT( statut='o', - fr = "Parametres maillage du tube ", - POINTS_DE_MESURE = FACT( statut='o', - FICHIER1 =SIMP(statut='f',typ='Fichier', - fr="Format du fichier : CSV.",), - FICHIER2 =SIMP(statut='f',typ='Fichier', - fr="Format du fichier : CSV.",), - ), - R_EXT =SIMP(statut='o', typ='R', fr="rayon exterieur du tube"), - EP_NOMINALE =SIMP(statut='o', typ='R', fr="epaisseur nominale du tube sans sous epaisseur"), - NB_SEG_AMORTISSEMENT =SIMP(statut='o', typ='I', defaut=11 , val_min=1, fr="nombre de segments dans la longueur d'amortissement"), - NB_SEG_TRANSITION =SIMP(statut='o', typ='I', defaut=4 , val_min=1, fr="nombre de segments dans longueur de transition"), - NB_SEG_GENERATRICES =SIMP(statut='o', typ='I', defaut=5 , val_min=1, fr="nombre de segments dans la longueur des generatrices dans la zone de sous épaisseur"), - PETITE_DISTANCE =SIMP(statut='o', typ='R', defaut=100.0 , fr="distance entre deux abscisses de points de mesure au dessous de laquelle on discrétise avec nb_seg_petites_distances au lieu de nb_seg_generatrices"), - NB_SEG_PETITES_DISTANCES =SIMP(statut='o', typ='I', defaut=3 , val_min=3 , fr="nombre de segments dans les aretes dont la longueur est inferieur a petite distance"), - NB_SEG_ARC =SIMP(statut='o', typ='I', defaut=5 , val_min=2 , fr="nombre de segments dans l'arc du tube entre deux generatrices"), - NB_SEG_EP =SIMP(statut='o', typ='I', defaut=3 , val_min=1 , fr="nombre de segments dans l'epaisseur du tube"), - ), - - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - - b_coude_sous_epaisseur =BLOC(condition="(TYPE_SEP=='COUDE_SOUS_EP_INTERNE') ", - - MAIL_COUDE = FACT( statut='o', - fr = "Parametres maillage du coude ", - POINTS_DE_MESURE = FACT( statut='o', - FICHIER1 =SIMP(statut='f',typ='Fichier', - fr="Format du fichier : CSV.",), - ), - R_COUDE =SIMP(statut='o', typ='R', fr="rayon du coude"), - R_EXT =SIMP(statut='o', typ='R', fr="rayon exterieur"), - EP_NOMINALE =SIMP(statut='o', typ='R', fr="epaisseur nominale sans sous epaisseur"), - ANGLE_COUDE =SIMP(statut='o', typ='R', defaut=90 , val_min=90. , val_max=90. ,fr="angle du coude"), - ORIENTATION_COUDE =SIMP(statut='o', typ='TXM',defaut='D',into=('D','G'),fr="orientation du coude"), - LONGUEUR_PROLONGEMENT_AMONT=SIMP(statut='o', typ='R', fr="longueur du prolongement amont"), - LONGUEUR_PROLONGEMENT_AVAL =SIMP(statut='o', typ='R', fr="longueur du prologenment aval"), - PAS_MESURE =SIMP(statut='o', typ='I', fr="pas de la mesure"), - DEBUT_MESURE =SIMP(statut='o', typ='R', fr="distance de la premiere mesure"), - ANGLE_MESURE =SIMP(statut='o', typ='R', defaut=45. ,fr="angle entre deux generatrices"), - NB_SEG_PROLONGEMENT_AMONT =SIMP(statut='o', typ='I', defaut=6 , val_min=1 ,fr="nombre de segments dans la longueur de prolongement amont"), - NB_SEG_PROLONGEMENT_AVAL =SIMP(statut='o', typ='I', defaut=6 , val_min=1 ,fr="nombre de segments dans la longueur de prolongement aval"), - NB_SEG_AMORTISSEMENT =SIMP(statut='o', typ='I', defaut=10 , val_min=1 ,fr="nombre de segments dans la longueur d'amortissement"), - NB_SEG_TRANSITION =SIMP(statut='o', typ='I', defaut=5 , val_min=1 ,fr="nombre de segments dans longueur de transition"), - NB_SEG_GENERATRICES =SIMP(statut='o', typ='I', defaut=25 , val_min=25 ,fr="nombre de segments dans la longueur des generatrices dans la zone de sous épaisseur"), - NB_SEG_ARC =SIMP(statut='o', typ='I', defaut=7 , val_min=2 ,fr="nombre de segments dans l'arc du coude entre deux generatrices"), - NB_SEG_EP =SIMP(statut='o', typ='I', defaut=3 , val_min=1 ,fr="nombre de segments dans l'epaissuer"), - ), - - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - - b_charge_limite_non=BLOC(condition = "CHARGE_LIMITE == 'NON' ", - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - b_charge_limite_oui=BLOC(condition = "((CHARGE_LIMITE == 'OUI') )", - - TYPE_CHARGE_LIMITE= SIMP(statut='o', typ='TXM', into=('CHARGE_LIMITE_INF','CHARGE_LIMITE_SUP',),), - - PARAMETRES_CALCUL = FACT( statut='o', - fr = "Parametres pour calcul de charge limite ", - - MEMOIRE=SIMP(statut='o', typ='I', ), - TEMPS =SIMP(statut='o', typ='I', ), - MACHINE=SIMP(statut='o', typ='TXM', defaut='LOCAL',into=('LOCAL','DISTANT'),), - - ), - PARAMETRES_CHARGE_LIMITE = FACT( statut='o', - fr = "Parametres materiau pour calcul de charge limite ", - - E =SIMP(statut='o', typ='R', fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', fr="limite d'elasticite"), - ), - - ), -) diff --git a/OldCodes/Sep/SEP_Cata_V1.py b/OldCodes/Sep/SEP_Cata_V1.py deleted file mode 100644 index 65bab217..00000000 --- a/OldCodes/Sep/SEP_Cata_V1.py +++ /dev/null @@ -1,127 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - -# -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'SEP', - execmodul = None, - # regles=(AU_MOINS_UN('SOUS_EPAISSEUR_INTERNE','SOUS_EPAISSEUR_EXTERNE',),), - regles=( UN_PARMI('S_EP_INTERNE','MACRO_OUTIL1','MACRO_OUTIL2'),), - )# Fin JDC_CATA -# - - -S_EP_INTERNE= MACRO (nom = 'S_EP_INTERNE', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "sous epaisseur ", - dir_name = SIMP(statut='o', typ='TXM',), - TYPE_SEP = SIMP(statut='o', typ='TXM',into=('TUBE_SOUS_EPAISSEUR','COUDE_SOUS_EPAISSEUR',)), - b_tube_sous_epaisseur =BLOC(condition = "TYPE_SEP == 'TUBE_SOUS_EPAISSEUR' ", - regles = (AU_MOINS_UN('MAIL_TUBE','CHARGE_LIMITE')), - MAIL_TUBE = FACT( statut='f',max='**', - fr = "Parametres maillage du tube ", - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300, fr="rayon exterieur du tube"), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.0, fr="epaisseur nominale du tube sans sous epaisseur"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=4, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans la longueur des génératrices dans la zone de sous épaisseur"), - petite_distance=SIMP(statut='o', typ='R', defaut=100.0, fr="distance entre deux abscisses de points de mesure au dessous de laquelle on discrétise avec nb_seg_petites_distances au lieu de nb_seg_generatrices"), - nb_seg_petites_distances=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans les aretes dont la longueur est inferieur a petite distance"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans l'arc du tube entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaisseur du tube"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de rafinement de maillage"), - ), - CHARGE_LIMITE = FACT( statut='f',max='**', - fr = "Parametres pour calcul de charge limite ", - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='R', defaut=4096.,val_min=4096.,val_max=8000.), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - version_aster=SIMP(statut='o', typ='TXM', defaut='STA8',into=('STA8','STA9','STA9_mpi'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('PA','MPa'),), - E=SIMP(statut='o', typ='R', defaut=200000., fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3, fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7, fr="limite d'elasticite"), - D_SIGM_EPSI=SIMP(statut='o', typ='R', defaut=100.0, fr="pente de la courbe d'ecrouissage"), - ), - ), - b_coude_sous_epaisseur =BLOC(condition = "TYPE_SEP == 'COUDE_SOUS_EPAISSEUR' ", - regles = (AU_MOINS_UN('MAIL_COUDE','CHARGE_LIMITE')), - MAIL_COUDE = FACT( statut='f',max='**', - fr = "Parametres maillage du coude ", - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_coude=SIMP(statut='o', typ='R', defaut=381.,val_min=100,val_max=500,fr="rayon du coude"), - r_ext=SIMP(statut='o', typ='R', defaut=136.5,val_min=100,val_max=200,fr="rayon exterieur"), - ep_nominale=SIMP(statut='o', typ='R', defaut=15.1,fr="epaisseur nominale sans sous epaisseur"), - angle_coude=SIMP(statut='o', typ='R', defaut=90,fr="angle du coude"), - orientation_coude=SIMP(statut='o', typ='TXM', defaut='D',into=('D','G'),fr="orientation du coude"), - longueur_prolongement_amont=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prolongement amont"), - longueur_prolongement_aval=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prologenment aval"), - pas_mesure=SIMP(statut='o', typ='I', defaut=80,fr="pas de la mesure"), - debut_mesure=SIMP(statut='o', typ='R', defaut=40.,fr="distance de la premiere mesure"), - angle_mesure=SIMP(statut='o', typ='R', defaut=45.,fr="angle entre deux generatrices"), - nb_seg_prolongement_amont = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement amont"), - nb_seg_prolongement_aval = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement aval"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=4, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans la longueur des génératrices dans la zone de sous épaisseur"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans l'arc du coude entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaissuer"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de rafinement de maillage"), - ), - CHARGE_LIMITE = FACT( statut='f',max='**', - fr = "Parametres pour calcul de charge limite ", - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='R', defaut=4096,val_min=4096,val_max=8000), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - version_aster=SIMP(statut='o', typ='TXM', defaut='STA8',into=('STA8','STA9','STA9_mpi'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('PA','MPa'),), - E=SIMP(statut='o', typ='R', defaut=200000, fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3, fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7, fr="limite d'elasticite"), - D_SIGM_EPSI=SIMP(statut='o', typ='R', defaut=100.0, fr="pente de la courbe d'ecrouissage"), - ), - ), -) - - -MACRO_OUTIL1= MACRO (nom = 'MACRO_OUTIL1', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "Outil 1", - dir_name = SIMP(statut='o', typ='TXM',), - PARA_GEOM = FACT( statut='o', - max=1, - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300), - unite=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.000), - ), -) - -MACRO_OUTIL2= MACRO (nom = 'MACRO_OUTIL2', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "Outil 2", - dir_name = SIMP(statut='o', typ='TXM',), - PARA_GEOM = FACT( statut='o', - max=1, - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300), - unite=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.000), - ), -) - diff --git a/OldCodes/Sep/SEP_Cata_V1_2.py b/OldCodes/Sep/SEP_Cata_V1_2.py deleted file mode 100644 index 3f1c7713..00000000 --- a/OldCodes/Sep/SEP_Cata_V1_2.py +++ /dev/null @@ -1,127 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - -# -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'SEP', - execmodul = None, - # regles=(AU_MOINS_UN('SOUS_EPAISSEUR_INTERNE','SOUS_EPAISSEUR_EXTERNE',),), - regles=( UN_PARMI('S_EP_INTERNE'),), - )# Fin JDC_CATA -# - - -S_EP_INTERNE= MACRO (nom = 'S_EP_INTERNE', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "sous epaisseur ", - dir_name = SIMP(statut='o', typ='TXM',), - TYPE_EXEC = SIMP(statut='o', typ='TXM',into=('MAILLAGE','CALCUL',)), - TYPE_SEP = SIMP(statut='o', typ='TXM',into=('TUBE_SOUS_EPAISSEUR','COUDE_SOUS_EPAISSEUR','TEST_SOUS_EPAISSEUR')), - b_tube_sous_epaisseur =BLOC(condition = "TYPE_SEP == 'TUBE_SOUS_EPAISSEUR' ", - regles = (AU_MOINS_UN('MAIL_TUBE','CHARGE_LIMITE')), - MAIL_TUBE = FACT( statut='f',max='**', - fr = "Parametres maillage du tube ", - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300, fr="rayon exterieur du tube"), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.0, fr="epaisseur nominale du tube sans sous epaisseur"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=4, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans la longueur des génératrices dans la zone de sous épaisseur"), - petite_distance=SIMP(statut='o', typ='R', defaut=100.0, fr="distance entre deux abscisses de points de mesure au dessous de laquelle on discrétise avec nb_seg_petites_distances au lieu de nb_seg_generatrices"), - nb_seg_petites_distances=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans les aretes dont la longueur est inferieur a petite distance"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans l'arc du tube entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaisseur du tube"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de rafinement de maillage"), - ), - CHARGE_LIMITE = FACT( statut='f',max='**', - fr = "Parametres pour calcul de charge limite ", - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='I', defaut=2000,val_min=128,val_max=8000), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - version_aster=SIMP(statut='o', typ='TXM', defaut='STA8',into=('STA8','STA9','STA9_mpi'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('PA','MPa'),), - E=SIMP(statut='o', typ='R', defaut=200000., fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3, fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7, fr="limite d'elasticite"), - D_SIGM_EPSI=SIMP(statut='o', typ='R', defaut=100.0, fr="pente de la courbe d'ecrouissage"), - ), - ), - b_coude_sous_epaisseur =BLOC(condition = "TYPE_SEP == 'COUDE_SOUS_EPAISSEUR' ", - regles = (AU_MOINS_UN('MAIL_COUDE','CHARGE_LIMITE')), - MAIL_COUDE = FACT( statut='f',max='**', - fr = "Parametres maillage du coude ", - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_coude=SIMP(statut='o', typ='R', defaut=381.,val_min=100,val_max=500,fr="rayon du coude"), - r_ext=SIMP(statut='o', typ='R', defaut=136.5,val_min=100,val_max=200,fr="rayon exterieur"), - ep_nominale=SIMP(statut='o', typ='R', defaut=15.1,fr="epaisseur nominale sans sous epaisseur"), - angle_coude=SIMP(statut='o', typ='R', defaut=90,fr="angle du coude"), - orientation_coude=SIMP(statut='o', typ='TXM', defaut='D',into=('D','G'),fr="orientation du coude"), - longueur_prolongement_amont=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prolongement amont"), - longueur_prolongement_aval=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prologenment aval"), - pas_mesure=SIMP(statut='o', typ='I', defaut=80,fr="pas de la mesure"), - debut_mesure=SIMP(statut='o', typ='R', defaut=40.,fr="distance de la premiere mesure"), - angle_mesure=SIMP(statut='o', typ='R', defaut=45.,fr="angle entre deux generatrices"), - nb_seg_prolongement_amont = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement amont"), - nb_seg_prolongement_aval = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement aval"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=25, fr="nombre de segments dans la longueur des génératrices dans la zone de sous épaisseur"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=7, fr="nombre de segments dans l'arc du coude entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaissuer"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de rafinement de maillage"), - ), - CHARGE_LIMITE = FACT( statut='f',max='**', - fr = "Parametres pour calcul de charge limite ", - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='I', defaut=2000,val_min=128,val_max=8000), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - version_aster=SIMP(statut='o', typ='TXM', defaut='STA8',into=('STA8','STA9','STA9_mpi'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('PA','MPa'),), - E=SIMP(statut='o', typ='R', defaut=200000, fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3, fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7, fr="limite d'elasticite"), - D_SIGM_EPSI=SIMP(statut='o', typ='R', defaut=100.0, fr="pente de la courbe d'ecrouissage"), - ), - ), - b_test_sous_epaisseur =BLOC(condition = "TYPE_SEP == 'TEST_SOUS_EPAISSEUR' ", - regles = (AU_MOINS_UN('MAIL_TUBE','CHARGE_LIMITE')), - MAIL_TUBE = FACT( statut='f',max='**', - fr = "Parametres maillage du tube ", - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300, fr="rayon exterieur du tube"), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.0, fr="epaisseur nominale du tube sans sous epaisseur"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=4, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans la longueur des génératrices dans la zone de sous épaisseur"), - petite_distance=SIMP(statut='o', typ='R', defaut=100.0, fr="distance entre deux abscisses de points de mesure au dessous de laquelle on discrétise avec nb_seg_petites_distances au lieu de nb_seg_generatrices"), - nb_seg_petites_distances=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans les aretes dont la longueur est inferieur a petite distance"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans l'arc du tube entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaisseur du tube"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de rafinement de maillage"), - ), - CHARGE_LIMITE = FACT( statut='f',max='**', - fr = "Parametres pour calcul de charge limite ", - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='I', defaut=128,val_min=128,val_max=8000), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - version_aster=SIMP(statut='o', typ='TXM', defaut='STA8',into=('STA8','STA9','STA9_mpi'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('PA','MPa'),), - E=SIMP(statut='o', typ='R', defaut=200000., fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3, fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7, fr="limite d'elasticite"), - D_SIGM_EPSI=SIMP(statut='o', typ='R', defaut=100.0, fr="pente de la courbe d'ecrouissage"), - ), - ) -) - diff --git a/OldCodes/Sep/SEP_Cata_V1_3.py b/OldCodes/Sep/SEP_Cata_V1_3.py deleted file mode 100644 index 2895dbb7..00000000 --- a/OldCodes/Sep/SEP_Cata_V1_3.py +++ /dev/null @@ -1,126 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - -# -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'SEP', - execmodul = None, - # regles=(AU_MOINS_UN('STRUCTURE_SIMPLE','STRUCTURE_COMPOSEE',),), - regles=(AU_MOINS_UN('STRUCTURE_SIMPLE',),), - )# Fin JDC_CATA -# - - -STRUCTURE_SIMPLE= MACRO (nom = 'STRUCTURE_SIMPLE', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "sous epaisseur ", - dir_name = SIMP(statut='o', typ='TXM',), - - MAILLAGE = SIMP(statut='o', typ='TXM',into=('OUI', 'NON')), - CHARGE_LIMITE = SIMP(statut='o', typ='TXM',into=('OUI', 'NON')), - - lecture_maillage = BLOC(condition = "(MAILLAGE == 'NON') and (CHARGE_LIMITE=='OUI') ", - LECTURE_MAILLAGE = FACT( statut='o',max='**', - FICHIER =SIMP(statut='o',typ='Fichier',), - FORMAT =SIMP(statut='f',typ='TXM',defaut="ASTER",into=("ASTER","MED"), - fr="Format du fichier : ASTER ou MED.",), - NOM = SIMP(statut='f',typ='TXM', - fr="Nom du maillage dans le fichier MED.",),), - ), - - execution_maillage = BLOC(condition = "MAILLAGE == 'OUI' ", - - TYPE_SEP = SIMP(statut='o', typ='TXM',into=('TUBE_SOUS_EP_INTERNE','TUBE_SOUS_EP_EXTERNE','COUDE_SOUS_EP_INTERNE','COUDE_SOUS_EP_EXTERNE')), - - b_tube_sous_epaisseur =BLOC(condition="(TYPE_SEP=='TUBE_SOUS_EP_INTERNE') or (TYPE_SEP=='TUBE_SOUS_EP_EXTERNE') ", - regles=(UN_PARMI('TUBE_SOUS_EP_INTERNE','TUBE_SOUS_EP_EXTERNE'),), - MAIL_TUBE = FACT( statut='f',max='**', - fr = "Parametres maillage du tube ", - points_de_mesure = FACT( statut='o',max='**', - FICHIER =SIMP(statut='o',typ='Fichier', - fr="Format du fichier : CSV.",), - FORMAT =SIMP(statut='f',typ='TXM',defaut="CSV",into=("CSV"), - fr="Format du fichier : CSV",), - ), - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300, fr="rayon exterieur du tube"), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.0, fr="epaisseur nominale du tube sans sous epaisseur"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=4, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans la longueur des generatrices dans la zone de sous épaisseur"), - petite_distance=SIMP(statut='o', typ='R', defaut=100.0, fr="distance entre deux abscisses de points de mesure au dessous de laquelle on discrétise avec nb_seg_petites_distances au lieu de nb_seg_generatrices"), - nb_seg_petites_distances=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans les aretes dont la longueur est inferieur a petite distance"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans l'arc du tube entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaisseur du tube"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de raffinement de maillage"), - ), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - - b_coude_sous_epaisseur =BLOC(condition="(TYPE_SEP=='COUDE_SOUS_EP_INTERNE') or (TYPE_SEP=='COUDE_SOUS_EP_EXTERNE') ", - regles=(UN_PARMI('COUDE_SOUS_EP_INTERNE','COUDE_SOUS_EP_EXTERNE'),), - MAIL_COUDE = FACT( statut='f',max='**', - fr = "Parametres maillage du coude ", - points_de_mesure = FACT( statut='o',max='**', - FICHIER =SIMP(statut='o',typ='Fichier', - fr="Format du fichier : CSV.",), - FORMAT =SIMP(statut='f',typ='TXM',defaut="CSV",into=("CSV"), - fr="Format du fichier : CSV",), - ), - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_coude=SIMP(statut='o', typ='R', defaut=381.,val_min=100,val_max=500,fr="rayon du coude"), - r_ext=SIMP(statut='o', typ='R', defaut=136.5,val_min=100,val_max=200,fr="rayon exterieur"), - ep_nominale=SIMP(statut='o', typ='R', defaut=15.1,fr="epaisseur nominale sans sous epaisseur"), - angle_coude=SIMP(statut='o', typ='R', defaut=90,fr="angle du coude"), - orientation_coude=SIMP(statut='o', typ='TXM', defaut='D',into=('D','G'),fr="orientation du coude"), - longueur_prolongement_amont=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prolongement amont"), - longueur_prolongement_aval=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prologenment aval"), - pas_mesure=SIMP(statut='o', typ='I', defaut=80,fr="pas de la mesure"), - debut_mesure=SIMP(statut='o', typ='R', defaut=40.,fr="distance de la premiere mesure"), - angle_mesure=SIMP(statut='o', typ='R', defaut=45.,fr="angle entre deux generatrices"), - nb_seg_prolongement_amont = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement amont"), - nb_seg_prolongement_aval = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement aval"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=25, fr="nombre de segments dans la longueur des generatrices dans la zone de sous épaisseur"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=7, fr="nombre de segments dans l'arc du coude entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaissuer"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="critère de rafinement de maillage"), - - ), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - ), - - b_charge_limite_non=BLOC(condition = "CHARGE_LIMITE == 'NON' ", - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - b_charge_limite_oui=BLOC(condition = "CHARGE_LIMITE == 'OUI' ", - CHARGE_LIMITE = FACT( statut='f',max='**', - fr = "Parametres pour calcul de charge limite ", - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='I', defaut=2000,val_min=128,val_max=8000), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - version_aster=SIMP(statut='o', typ='TXM', defaut='STA10',into=('STA9','STA10'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('PA','MPa'),), - E=SIMP(statut='o', typ='R', defaut=200000., fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3, fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7, fr="limite d'elasticite"), - D_SIGM_EPSI=SIMP(statut='o', typ='R', defaut=100.0, fr="pente de la courbe d'ecrouissage"), - ), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - -) - diff --git a/OldCodes/Sep/SEP_Cata_V1_4.py b/OldCodes/Sep/SEP_Cata_V1_4.py deleted file mode 100644 index 462b8c6d..00000000 --- a/OldCodes/Sep/SEP_Cata_V1_4.py +++ /dev/null @@ -1,150 +0,0 @@ -## -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - -# -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'SEP', - execmodul = None, - # regles=(AU_MOINS_UN('STRUCTURE_SIMPLE','STRUCTURE_COMPOSEE',),), - regles=(AU_MOINS_UN('STRUCTURE_SIMPLE',),), - )# Fin JDC_CATA -# - - -STRUCTURE_SIMPLE= MACRO (nom = 'STRUCTURE_SIMPLE', - op = None, - sd_prod = None, - reentrant = 'n', - UIinfo = {"groupes":("Outils métier",)}, - fr = "sous epaisseur ", - dir_name = SIMP(statut='o', typ='TXM',), - - CHARGE_LIMITE = SIMP(statut='o', typ='TXM',into=('OUI', 'NON')), - - TYPE_SEP = SIMP(statut='o', typ='TXM',into=('TUBE_SOUS_EP_INTERNE','COUDE_SOUS_EP_INTERNE')), - - - b_tube_sous_epaisseur =BLOC(condition="(TYPE_SEP=='TUBE_SOUS_EP_INTERNE') ", - - points_de_mesure = FACT( statut='o',max='**', - FICHIER =SIMP(statut='o',typ='Fichier', - fr="Format du fichier : CSV.",), - ), - - - MAIL_TUBE = FACT( statut='f',max='**', - fr = "Parametres maillage du tube ", - - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_ext=SIMP(statut='o', typ='R', defaut=228.6,val_min=100,val_max=300, fr="rayon exterieur du tube"), - ep_nominale=SIMP(statut='o', typ='R', defaut=22.0, fr="epaisseur nominale du tube sans sous epaisseur"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=4, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans la longueur des generatrices dans la zone de sous épaisseur"), - petite_distance=SIMP(statut='o', typ='R', defaut=100.0, fr="distance entre deux abscisses de points de mesure au dessous de laquelle on discrétise avec nb_seg_petites_distances au lieu de nb_seg_generatrices"), - nb_seg_petites_distances=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans les aretes dont la longueur est inferieur a petite distance"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans l'arc du tube entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaisseur du tube"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="Critère de raffinement de maillage"), - ), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - - b_coude_sous_epaisseur =BLOC(condition="(TYPE_SEP=='COUDE_SOUS_EP_INTERNE') ", - - points_de_mesure = FACT( statut='o',max='**', - FICHIER =SIMP(statut='o',typ='Fichier', - fr="Format du fichier : CSV.",), - FORMAT =SIMP(statut='f',typ='TXM',defaut="CSV",into=("CSV"), - fr="Format du fichier : CSV",), - ), - MAIL_COUDE = FACT( statut='f',max='**', - fr = "Parametres maillage du coude ", - - unite_longueur=SIMP(statut='o', typ='TXM', defaut='mm',into=('mm',),), - r_coude=SIMP(statut='o', typ='R', defaut=381.,val_min=100,val_max=500,fr="rayon du coude"), - r_ext=SIMP(statut='o', typ='R', defaut=136.5,val_min=100,val_max=200,fr="rayon exterieur"), - ep_nominale=SIMP(statut='o', typ='R', defaut=15.1,fr="epaisseur nominale sans sous epaisseur"), - angle_coude=SIMP(statut='o', typ='R', defaut=90,fr="angle du coude"), - orientation_coude=SIMP(statut='o', typ='TXM', defaut='D',into=('D','G'),fr="orientation du coude"), - longueur_prolongement_amont=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prolongement amont"), - longueur_prolongement_aval=SIMP(statut='o', typ='R', defaut=150.,fr="longueur du prologenment aval"), - pas_mesure=SIMP(statut='o', typ='I', defaut=80,fr="pas de la mesure"), - debut_mesure=SIMP(statut='o', typ='R', defaut=40.,fr="distance de la premiere mesure"), - angle_mesure=SIMP(statut='o', typ='R', defaut=45.,fr="angle entre deux generatrices"), - nb_seg_prolongement_amont = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement amont"), - nb_seg_prolongement_aval = SIMP(statut='o', typ='I', defaut=6, fr="nombre de segments dans la longueur de prolongement aval"), - nb_seg_amortissement=SIMP(statut='o', typ='I', defaut=11, fr="nombre de segments dans la longueur d'amortissement"), - nb_seg_transition=SIMP(statut='o', typ='I', defaut=5, fr="nombre de segments dans longueur de transition"), - nb_seg_generatrices=SIMP(statut='o', typ='I', defaut=25, fr="nombre de segments dans la longueur des generatrices dans la zone de sous épaisseur"), - nb_seg_arc=SIMP(statut='o', typ='I', defaut=7, fr="nombre de segments dans l'arc du coude entre deux generatrices"), - nb_seg_ep=SIMP(statut='o', typ='I', defaut=3, fr="nombre de segments dans l'epaissuer"), - critere_dist_radial=SIMP(statut='o', typ='R', defaut=0.5, fr="critère de rafinement de maillage"), - - ), - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - - b_charge_limite_non=BLOC(condition = "CHARGE_LIMITE == 'NON' ", - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - b_charge_limite_oui=BLOC(condition = "CHARGE_LIMITE == 'OUI' ", - - TYPE_CHARGE_LIMITE= SIMP(statut='o', typ='TXM',into=('CHARGE_LIMITE_INF','CHARGE_LIMITE_SUP')), - - PARAMETRES = FACT( statut='o',max='**', - fr = "Parametres pour calcul de charge limite ", - - unite_mem=SIMP(statut='o', typ='TXM', defaut='Mo',into=('Mo',),), - memoire=SIMP(statut='o', typ='I', defaut=2000,val_min=128,val_max=8000), - unite_temps=SIMP(statut='o', typ='TXM', defaut='h',into=('h',),), - temps=SIMP(statut='o', typ='R', defaut=50.), - machine=SIMP(statut='o', typ='TXM', defaut='locale',into=('locale','distante'),), - unite_sig=SIMP(statut='o', typ='TXM', defaut='MPa',into=('Pa','MPa'),), - - E =SIMP(statut='o', typ='R', defaut=200000., fr="Module d'Young"), - NU=SIMP(statut='o', typ='R', defaut=0.3 , fr="coefficient de poisson"), - SY=SIMP(statut='o', typ='R', defaut=98.7 , fr="limite d'elasticite"), - ), - - CHARGE_LIMITE_INF = BLOC(condition="(TYPE_CHARGE_LIMITE =='CHARGE_LIMITE_INF') ", - FICHIER =SIMP(statut='o',typ='Fichier', - fr="Format du fichier : .COMM",), - ), - - CHARGE_LIMITE_SUP = BLOC(condition="(TYPE_CHARGE_LIMITE =='CHARGE_LIMITE_SUP') ", - FICHIER =SIMP(statut='o',typ='Fichier', - fr="Format du fichier : .COMM",), - ), - - INFO = SIMP(statut='f',typ='I',defaut=1,into=(0,1,2)), - ), - - -) - diff --git a/OldCodes/Sep/__init__.py b/OldCodes/Sep/__init__.py deleted file mode 100644 index 8ed65e16..00000000 --- a/OldCodes/Sep/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# diff --git a/OldCodes/Sep/catalogues_sep.ini b/OldCodes/Sep/catalogues_sep.ini deleted file mode 100644 index 7aee501b..00000000 --- a/OldCodes/Sep/catalogues_sep.ini +++ /dev/null @@ -1,14 +0,0 @@ -# Choix des catalogues -import os -#rep_cata=os.path.dirname(os.path.abspath(__file__)) -rep_cata=os.getcwd() - -catalogues = ( - #('SEP','V0',os.path.join(rep_cata,'SEP_Cata_V0.py'),'SEP','SEP'), - #('SEP','V1',os.path.join(rep_cata,'SEP_Cata_V1.py'),'SEP','SEP'), - #('SEP','V1_1',os.path.join(rep_cata,'SEP_Cata_V1_1.py'),'SEP','SEP'), - #('SEP','V1_2',os.path.join(rep_cata,'SEP_Cata_V1_2.py'),'SEP','SEP'), - # ('SEP','V1_3',os.path.join(rep_cata,'SEP_Cata_V1_3.py'),'SEP','SEP'), - ('SEP','V1',os.path.join(rep_cata,'SEP_Cata_V0.py'),'SEP','SEP'), -) - diff --git a/OldCodes/Sep/configuration_SEP.py b/OldCodes/Sep/configuration_SEP.py deleted file mode 100644 index 4c7fcae7..00000000 --- a/OldCodes/Sep/configuration_SEP.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -import os, sys, string, types, re -import traceback -from PyQt4.QtGui import * - -# Modules Eficas -import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['exec_acrobat', 'catalogues','savedir'] - self.labels_eficas=['path_doc','exec_acrobat','lang','rep_cata','catalogues'] - - self.INSTALLDIR =os.path.dirname(__file__) - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - - -def make_config(appli,rep): - return CONFIG(appli,rep) - - diff --git a/OldCodes/Sep/editeur.ini b/OldCodes/Sep/editeur.ini deleted file mode 100644 index 83dff66c..00000000 --- a/OldCodes/Sep/editeur.ini +++ /dev/null @@ -1,44 +0,0 @@ -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os - -from Sous_epaisseur import prefs - -rep_cata = os.path.join(prefs.repIni,'Cata') -print rep_cata - -# Accès à la documentation Aster -path_doc = os.path.join(rep_cata,'..','Doc') -exec_acrobat = "acroread" -# Utilisateur/Développeur -isdeveloppeur = "NON" -path_cata_dev = "/tmp/cata" -# Répertoire temporaire -rep_travail = "/tmp" -# Répertoire initial -initialdir=os.curdir - -# Choix des catalogues - -catalogues = ( - ('Sous_epaisseur','v1.0',os.path.join(rep_cata,'SEP_Cata_V1_4'),'python'), - ) - diff --git a/OldCodes/Sep/prefs.py b/OldCodes/Sep/prefs.py deleted file mode 100644 index f91e53af..00000000 --- a/OldCodes/Sep/prefs.py +++ /dev/null @@ -1,62 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -import os,sys - -# repIni sert à localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) - -# INSTALLDIR sert à localiser l'installation d'Eficas -# Obligatoire -INSTALLDIR=os.path.join(repIni,'..') - -# CODE_PATH sert à localiser Noyau et Validation éventuellement -# non contenus dans la distribution EFICAS -# Par défaut on utilise les modules de INSTALLDIR -# Peut valoir None (defaut) -CODE_PATH = None - -# la variable code donne le nom du code a selectionner -code="SEP" - -# lang indique la langue utilisée pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - - -EditeurDir=INSTALLDIR+"/Editeur" -sys.path.insert(0,INSTALLDIR) - -ICONDIR=os.path.join(INSTALLDIR,'Editeur','icons') - -# Preference -if os.name == 'nt': - userprefs = os.sep.join( [ os.environ['HOMEDRIVE'], os.environ['HOMEPATH'], 'Eficas_install', 'prefs.py' ]) -else : - userprefs=os.path.expanduser("~/.Eficas_SEP/prefs.py") - -if os.path.isfile(userprefs): - try: - execfile(userprefs) - except: - pass - diff --git a/OldCodes/Sep/prefs_SEP.py b/OldCodes/Sep/prefs_SEP.py deleted file mode 100644 index 66a112fb..00000000 --- a/OldCodes/Sep/prefs_SEP.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -import os,sys - -# repIni sert à localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) - -# lang indique la langue utilisée pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -catalogues = ( - ('Sous_epaisseur','v1.0',os.path.join(repIni,'SEP_Cata_V1_4.py'),'python'), -) - diff --git a/OldCodes/Sep/properties.py b/OldCodes/Sep/properties.py deleted file mode 100644 index bd8236ca..00000000 --- a/OldCodes/Sep/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "0.1" -date = "20/05/2009" -exploit = False diff --git a/OldCodes/Sep/qtEficas_SEP.py b/OldCodes/Sep/qtEficas_SEP.py deleted file mode 100755 index 741a2e49..00000000 --- a/OldCodes/Sep/qtEficas_SEP.py +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env python -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster Outils Metier Sous-Epaisseur -""" -# Modules Python - -# Modules Eficas -import prefs -from InterfaceQT4 import eficas_go -#from InterfaceQT import eficas_go - -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/Sep/sdistSEP.py b/OldCodes/Sep/sdistSEP.py deleted file mode 100644 index e94077f3..00000000 --- a/OldCodes/Sep/sdistSEP.py +++ /dev/null @@ -1,99 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Ce module sert à construire les distributions d'EFICAS pour SEP - en fonction du tag CVS courant - Les distributions sont : - - un tar.gz pour UNIX ne contenant pas mxTextTools - L'utilisation de ce module est la suivante : - 1- Se mettre dans un répertoire de travail - 2- Configurer son environnement pour utiliser le référentiel CVS EFICAS - 3- Exporter les sources d'EficasV1 par la commande : - cvs export -r TAG -d Eficas_export EficasV1 - ou TAG est le tag CVS de la version que l'on veut distribuer (par exemple V1_1p1) - 5- Aller dans le répertoire Eficas_export - 6- Executer le script sdist.py - python sdist.py - Ce qui a pour effet de creer un repertoire dist contenant la distribution - et de la copier dans le répertoire indiqué par dir_download s'il est accessible - -""" -import os,shutil,glob,sys -import types - -nom_distrib="QTEficasSEP_V1_0" -path_distrib=os.path.join("dist",nom_distrib) -dir_download= "/home/eficas/WWW/telechargement/eficas" - -def main(): - if os.path.isdir('dist'):shutil.rmtree('dist') - - copyfiles('.',path_distrib,['LICENSE.TERMS','INSTALL','NEWS']) - - copyfiles('../Editeur',os.path.join(path_distrib,'Editeur'),['*.py','faqs.txt']) - copyfiles('../InterfaceQT4',os.path.join(path_distrib,'InterfaceQT4'),['*.py','faqs.txt']) - copyfiles('../UiQT4',os.path.join(path_distrib,'UiQT4'),['*.ui','makefile']) - copyfiles('../Sous_epaisseur',os.path.join(path_distrib,'Sous_epaisseur'),['*.py','*.ini']) - copyfiles('../Ihm',os.path.join(path_distrib,'Ihm'),['*.py']) - copyfiles('../Extensions',os.path.join(path_distrib,'Extensions'),['*.py']) - copyfiles('../Misc',os.path.join(path_distrib,'Misc'),['*.py']) - copyfiles('../Accas',os.path.join(path_distrib,'Accas'),['*.py']) - # AIDE - copyfiles('../AIDE',os.path.join(path_distrib,'AIDE'),['*.py']) - copyfiles('../AIDE/fichiers',os.path.join(path_distrib,'AIDE','fichiers'),['*']) - copyfiles('.',os.path.join(path_distrib,'AIDE','fichiers'),['INSTALL','NEWS']) - copyfiles('../Editeur',os.path.join(path_distrib,'AIDE','fichiers'),['faqs.txt']) - # ______________________ - - copyfiles('../convert',os.path.join(path_distrib,'convert'),['*.py']) - os.system("rm -rf .././convert/Parserv5 ") - os.system("rm -rf .././convert/convert_asterv5.py ") - copyfiles('../generator',os.path.join(path_distrib,'generator'),['*.py']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.gif']) - copyfiles('../Editeur/icons',os.path.join(path_distrib,'Editeur','icons'),['*.png']) - copyfiles('../Editeur/Patrons/',os.path.join(path_distrib,'Editeur','Patrons'),['*.com*']) - - copyfiles('../Noyau',os.path.join(path_distrib,'Noyau'),['*.py']) - copyfiles('../Validation',os.path.join(path_distrib,'Validation'),['*.py']) - - - tarball= maketarball('dist',nom_distrib,nom_distrib) - try: - shutil.copy(tarball,dir_download) - except: - print "Repertoire de download inconnu : ",dir_download - - - -def make_dir(dir_cible): - if type(dir_cible) is not types.StringType: - raise "make_dir : dir_cible doit etre une string (%s)" % `dir_cible` - head,tail=os.path.split(dir_cible) - tails=[tail] - while head and tail and not os.path.isdir(head): - head,tail=os.path.split(head) - tails.insert(0, tail) - - for d in tails: - head = os.path.join(head, d) - if not os.path.isdir(head):os.mkdir(head) - - -def copyfiles(dir_origin,dir_cible,listfiles): - if not os.path.isdir(dir_cible):make_dir(dir_cible) - for glob_files in listfiles: - for file in glob.glob(os.path.join(dir_origin,glob_files)): - shutil.copy(file,dir_cible) - - -def maketarball(dir_trav,dir_cible,nom_tar): - prev=os.getcwd() - print prev - os.chdir(dir_trav) - os.system("tar -cf "+nom_tar+".tar "+dir_cible) - os.system("gzip -f9 "+nom_tar+".tar ") - os.chdir(prev) - return os.path.join(dir_trav,nom_tar+".tar.gz") - - -main() - diff --git a/OldCodes/Sep/style.py b/OldCodes/Sep/style.py deleted file mode 100644 index d4855725..00000000 --- a/OldCodes/Sep/style.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Pour modifier le style d'EFICAS il faut ajouter un fichier style.py qui contiendra les -informations sur le style voulu dans son repertoire Eficas_install. - -La methode la plus simple consiste à modifier directement les attributs de l'objet style dans le -fichier style.py d'Eficas_install. Exemple:: - - style.background='yellow' - -pour modifier la couleur du background. - -Il existe une autre méthode qui peut être utilisée quand on veut modifier plusieurs propriétés à la fois. - -Le fichier style.py doit définir une nouvelle classe qui dérive de la classe de base STYLE avec des attributs -de classe qui définiront le nouveau style (par exemple, si on veut modifier le background):: - - class STYLE(STYLE): - background='yellow' - -Il faut ensuite instancier cette classe, dans ce meme fichier, en donnant le nom style à l'objet cree:: - - style=STYLE() - -Tous les attributs de classe possibles sont visibles dans le module Editeur/basestyle.py:: - - background='gray90' - foreground='black' - entry_background='white' - list_background='white' - list_select_background='#00008b' - list_select_foreground='grey' - tooltip_background="yellow" - - standard = ("Helvetica",12) - standard_italique = ("Helvetica",12,'italic') - standard_gras = ("Helvetica",12,'bold') - standard_gras_souligne = ("Helvetica",12,'bold','underline') - - canvas = ('Helvetica',10) - canvas_italique = ('Helvetica',10,'italic') - canvas_gras = ("Helvetica",10,'bold') - canvas_gras_italique = ("Helvetica",12,'bold','italic') - - standard12 = ("Helvetica",14) - standard12_gras = ("Helvetica",14,'bold') - standard12_gras_italique = ( "Helvetica",14,'bold','italic') - - -Le fichier style.py contenu dans le répertoire Aster permet de spécifier des propriétés globales pour une installation. -Les modifications de style contenues dans ce fichier et dans le fichier style.py d'Eficas_install -sont prises en compte dans cet ordre. -""" - -p1=10 -p2=14 -f1="Helvetica" - -style.background='gray90' -style.foreground='black' -style.standard = (f1,p1) -style.standard_italique = (f1,p1,'italic') -style.standard_gras = (f1,p1,'bold') -style.canvas_italique = (f1,p1,'italic') -style.canvas_gras = (f1,p1,'bold') -style.statusfont = (f1,p2) diff --git a/OldCodes/UiQT4/CMakeLists.txt b/OldCodes/UiQT4/CMakeLists.txt deleted file mode 100644 index 5e60625a..00000000 --- a/OldCodes/UiQT4/CMakeLists.txt +++ /dev/null @@ -1,111 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002, 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -set ( _PYFILES ) -macro ( eficas_compile_ui uifile ) - get_filename_component ( _file_we ${uifile} NAME_WE ) - set ( _pyfile "${_file_we}.py" ) - add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} - COMMAND ${PYUIC4} ARGS -x -o ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ${CMAKE_CURRENT_SOURCE_DIR}/${uifile} - MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${uifile} - COMMENT "Compiling ${uifile}" - ) - list ( APPEND _PYFILES ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ) -endmacro ( eficas_compile_ui ) - -eficas_compile_ui ( myMain.ui ) -eficas_compile_ui ( desBaseWidget.ui ) -eficas_compile_ui ( desChoixCata.ui ) -eficas_compile_ui ( desChoixCode.ui ) -eficas_compile_ui ( desChoixCommandes.ui ) -eficas_compile_ui ( desChoixLangue.ui ) -eficas_compile_ui ( desRecherche.ui ) -eficas_compile_ui ( desRechercheCatalogue.ui ) -eficas_compile_ui ( desSelectVal.ui ) -eficas_compile_ui ( desViewTexte.ui ) -eficas_compile_ui ( desViewRegles.ui ) -eficas_compile_ui ( desVisu.ui ) -eficas_compile_ui ( desWidgetCreeParam.ui ) -eficas_compile_ui ( desWidgetCommande.ui ) -eficas_compile_ui ( desWidgetFormule.ui ) -eficas_compile_ui ( desWidgetOptionnel.ui ) -eficas_compile_ui ( desGroupeOptionnel.ui ) -eficas_compile_ui ( Tuple2.ui ) -eficas_compile_ui ( Tuple3.ui ) -# -eficas_compile_ui ( desWidgetBloc.ui ) -eficas_compile_ui ( desWidgetCB.ui ) -eficas_compile_ui ( desWidgetCommentaire.ui ) -eficas_compile_ui ( desWidgetDate.ui ) -eficas_compile_ui ( desWidgetFact.ui ) -eficas_compile_ui ( desWidgetFactPlie.ui ) -eficas_compile_ui ( desWidgetHeure.ui ) -eficas_compile_ui ( desWidgetInactif.ui ) -eficas_compile_ui ( desWidgetInformation.ui ) -eficas_compile_ui ( desWidgetMatrice.ui ) -eficas_compile_ui ( desWidgetParam.ui ) -eficas_compile_ui ( desWidgetPlusieursBase.ui ) -eficas_compile_ui ( desWidgetPlusieursInto.ui ) -eficas_compile_ui ( desWidgetPlusieursIntoOrdonne.ui ) -eficas_compile_ui ( desWidgetPlusieursTuple.ui ) -eficas_compile_ui ( desWidgetPlusieursPlie.ui ) -eficas_compile_ui ( desWidgetRadioButton.ui ) -eficas_compile_ui ( desWidget4a6RadioButton.ui ) -eficas_compile_ui ( desWidgetSDCOInto.ui ) -eficas_compile_ui ( desWidgetSimpBase.ui ) -eficas_compile_ui ( desWidgetSimpBool.ui ) -eficas_compile_ui ( desWidgetSimpComplexe.ui ) -eficas_compile_ui ( desWidgetSimpFichier.ui ) -eficas_compile_ui ( desWidgetSimpSalome.ui ) -eficas_compile_ui ( desWidgetSimpTxt.ui ) -eficas_compile_ui ( desWidgetTuple2.ui ) -eficas_compile_ui ( desWidgetTuple3.ui ) -eficas_compile_ui ( desWidgetUniqueSDCO.ui ) -eficas_compile_ui ( desWidgetVide.ui ) - -add_custom_target ( CompileUI ALL DEPENDS ${_PYFILES} - COMMENT "Built UI files" - ) - -install ( FILES ${_PYFILES} - DESTINATION ${CMAKE_INSTALL_PREFIX}/UiQT4 - ) - -# Rules to compile TS files -SET(TSFILES eficas_en.ts - eficas_fr.ts) - -SET(QMFILES) -FOREACH(input ${TSFILES}) - GET_FILENAME_COMPONENT(base ${input} NAME_WE) - SET(output ${CMAKE_CURRENT_BINARY_DIR}/${base}.qm) - SET(QMFILES ${QMFILES} ${output}) - ADD_CUSTOM_COMMAND(OUTPUT ${output} - COMMAND ${QT_LRELEASE_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${input} -qm ${output} - MAIN_DEPENDENCY ${input}) -ENDFOREACH(input ${TSFILES}) - -ADD_CUSTOM_TARGET(CompileTS ALL DEPENDS ${QMFILES}) -INSTALL(FILES ${QMFILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/UiQT4) - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/UiQT4/Newdoc.tgz b/OldCodes/UiQT4/Newdoc.tgz deleted file mode 100644 index 1ec9456b..00000000 Binary files a/OldCodes/UiQT4/Newdoc.tgz and /dev/null differ diff --git a/OldCodes/UiQT4/Tuple2.ui b/OldCodes/UiQT4/Tuple2.ui deleted file mode 100644 index fb7c2ab6..00000000 --- a/OldCodes/UiQT4/Tuple2.ui +++ /dev/null @@ -1,149 +0,0 @@ - - - Tuple2 - - - - 0 - 0 - 482 - 34 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 0 - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - - false - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - Qt::StrongFocus - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 5 - 20 - - - - - - - - - LECustomTuple - QLineEdit -

        gereListe.h
        - - - - - diff --git a/OldCodes/UiQT4/Tuple3.ui b/OldCodes/UiQT4/Tuple3.ui deleted file mode 100644 index 10c44979..00000000 --- a/OldCodes/UiQT4/Tuple3.ui +++ /dev/null @@ -1,164 +0,0 @@ - - - Tuple3 - - - - 0 - 0 - 880 - 33 - - - - Form - - - - 0 - - - 0 - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - false - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - Qt::StrongFocus - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - Qt::StrongFocus - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - - - Qt::Horizontal - - - - 123 - 20 - - - - - - - - - LECustomTuple - QLineEdit -
        gereListe.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desBaseWidget.ui b/OldCodes/UiQT4/desBaseWidget.ui deleted file mode 100644 index 43289173..00000000 --- a/OldCodes/UiQT4/desBaseWidget.ui +++ /dev/null @@ -1,92 +0,0 @@ - - - baseWidget - - - - 0 - 0 - 1038 - 557 - - - - - 0 - 0 - - - - - 0 - 0 - - - - DMacro - - - - - - - 0 - - - - - Qt::Horizontal - - - 3 - - - - background:rgb(247,247,247); - - - - - - 0 - - - - - - - 0 - - - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - - - - - - - - - - qPixmapFromMimeSource - - - diff --git a/OldCodes/UiQT4/desChoixCata.ui b/OldCodes/UiQT4/desChoixCata.ui deleted file mode 100644 index 39a16c5a..00000000 --- a/OldCodes/UiQT4/desChoixCata.ui +++ /dev/null @@ -1,201 +0,0 @@ - - - DChoixCata - - - - 0 - 0 - 466 - 206 - - - - Choix d'une version du code Aster - - - true - - - - - - - - - 0 - 0 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 versions sont disponibles</span></p></body></html> - - - false - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Vertical - - - - 20 - 45 - - - - - - - - true - - - - 400 - 41 - - - - - 150 - 16777215 - - - - - - - - Qt::Vertical - - - - 20 - 45 - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 140 - 40 - - - - - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Cancel - - - - - - true - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 40 - 20 - - - - - - - - - 140 - 40 - - - - Validate choice - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - - &OK - - - - - - true - - - true - - - - - - - - - qPixmapFromMimeSource - - - diff --git a/OldCodes/UiQT4/desChoixCode.ui b/OldCodes/UiQT4/desChoixCode.ui deleted file mode 100644 index 33ea0f8b..00000000 --- a/OldCodes/UiQT4/desChoixCode.ui +++ /dev/null @@ -1,155 +0,0 @@ - - - ChoixCode - - - - 0 - 0 - 555 - 332 - - - - - 0 - 0 - - - - Choix du code - - - - - - - 0 - 0 - - - - - 0 - 30 - - - - Veuillez choisir un code : - - - - - - - - 0 - 0 - - - - - - - - - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 140 - 40 - - - - - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Cancel - - - - - - true - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 40 - 20 - - - - - - - - - 140 - 40 - - - - Validate choice - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - - &OK - - - - - - true - - - true - - - - - - - - - - diff --git a/OldCodes/UiQT4/desChoixCommandes.ui b/OldCodes/UiQT4/desChoixCommandes.ui deleted file mode 100644 index be67512d..00000000 --- a/OldCodes/UiQT4/desChoixCommandes.ui +++ /dev/null @@ -1,449 +0,0 @@ - - - ChoixCommandes - - - - 0 - 0 - 1244 - 652 - - - - - 0 - 0 - - - - - 505 - 0 - - - - DMacro - - - background-color : rgb(248,247,246) - - - - 0 - - - 2 - - - - - - 0 - 0 - - - - - 0 - 130 - - - - - 16777215 - 130 - - - - background-color:rgb(224,223,222) - - - QFrame::NoFrame - - - QFrame::Raised - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Affichage</span></p></body></html> - - - - - - - affiche les commandes par ordre alphabetique - - - Alphabetique - - - - - - - affiche les commandes selon les thèmes - - - Ordre de la modélisation - - - - - - - affiche les commandes selon les thèmes - - - Par Groupe - - - - - - - - - Qt::Horizontal - - - - 109 - 20 - - - - - - - - 5 - - - - - - 0 - 0 - - - - - 141 - 25 - - - - - 16777215 - 25 - - - - selectionne les mots qui CONTIENNENT l expression - - - QFrame::Box - - - QFrame::Raised - - - 1 - - - <html><head/><body><p align="center">Filtre Commande</p></body></html> - - - false - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 2 - - - - - - - - - 0 - 0 - - - - - 195 - 30 - - - - filter commands - - - background-color : rgb(248,247,246) - - - false - - - - - - - QLayout::SetMinimumSize - - - - - - 0 - 0 - - - - Sensible à la casse - - - false - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 0 - 0 - - - - - 100 - 30 - - - - - 70 - 40 - - - - ré-affiche toutes les commandes - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - Effacer - - - - - - - - - - - Qt::Horizontal - - - - 108 - 20 - - - - - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - affiche les régles de validité - - - border : 0px - - - ... - - - - ../Editeur/icons/lettreRblanc30.png../Editeur/icons/lettreRblanc30.png - - - - 21 - 31 - - - - - - - - Règles de construction - - - - - - - - - Qt::Vertical - - - - 168 - 13 - - - - - - - - - - Qt::Horizontal - - - - 173 - 20 - - - - - - - - - - - - - - QFrame::NoFrame - - - Qt::ScrollBarAsNeeded - - - true - - - - - 0 - 0 - 1240 - 518 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - 2 - - - 0 - - - 0 - - - - - 0 - - - - - - - - - - - qPixmapFromMimeSource - - - diff --git a/OldCodes/UiQT4/desChoixLangue.ui b/OldCodes/UiQT4/desChoixLangue.ui deleted file mode 100644 index 7beb2787..00000000 --- a/OldCodes/UiQT4/desChoixLangue.ui +++ /dev/null @@ -1,125 +0,0 @@ - - - ChoixLangue - - - - 0 - 0 - 191 - 119 - - - - - 0 - 0 - - - - Langue - - - - - - - 0 - 0 - - - - - - - - 0 - - - 0 - - - 0 - - - 4 - - - 0 - - - - - Français - - - - - - - English - - - - - rbEnglish - rbFrancais - - - - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - - 20 - 20 - - - - - - - - - 60 - 30 - - - - Validate choice - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - - &OK - - - - - - true - - - true - - - - - - - - - - diff --git a/OldCodes/UiQT4/desGroupeOptionnel.ui b/OldCodes/UiQT4/desGroupeOptionnel.ui deleted file mode 100644 index c40c4c22..00000000 --- a/OldCodes/UiQT4/desGroupeOptionnel.ui +++ /dev/null @@ -1,130 +0,0 @@ - - - groupeOptionnel - - - - 0 - 0 - 400 - 300 - - - - Form - - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - - - - 0 - 0 - - - - - 0 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - - - Qt::Horizontal - - - - 1037 - 20 - - - - - - - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::NoFrame - - - 0 - - - true - - - - - 0 - 0 - 382 - 225 - - - - - 0 - 0 - - - - - - - Qt::Vertical - - - - 20 - 75 - - - - - - - - - - - - - diff --git a/OldCodes/UiQT4/desRecherche.ui b/OldCodes/UiQT4/desRecherche.ui deleted file mode 100644 index a0a44f98..00000000 --- a/OldCodes/UiQT4/desRecherche.ui +++ /dev/null @@ -1,75 +0,0 @@ - - - desRecherche - - - - 0 - 0 - 525 - 55 - - - - Rechercher dans le JDC - - - Next - - - - - 0 - 10 - 411 - 41 - - - - - 0 - 0 - - - - background:rgb(240,240,240) - - - - - true - - - - 420 - 10 - 101 - 41 - - - - - 0 - 0 - - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - Suivant - - - false - - - true - - - - - - diff --git a/OldCodes/UiQT4/desRechercheCatalogue.ui b/OldCodes/UiQT4/desRechercheCatalogue.ui deleted file mode 100644 index ef529e25..00000000 --- a/OldCodes/UiQT4/desRechercheCatalogue.ui +++ /dev/null @@ -1,85 +0,0 @@ - - - desRechercheCatalogue - - - - 0 - 0 - 817 - 359 - - - - Rechercher dans le Catalogue - - - - - - - - - 105 - 0 - - - - - 105 - 22 - - - - Mot à charcher - - - - - - - - - - - - Généalogie - - - - - - - - 419 - 91 - - - - - - - - - - Documentation - - - - - - - - 419 - 101 - - - - - - - - - - - diff --git a/OldCodes/UiQT4/desSelectVal.ui b/OldCodes/UiQT4/desSelectVal.ui deleted file mode 100644 index 125bae0e..00000000 --- a/OldCodes/UiQT4/desSelectVal.ui +++ /dev/null @@ -1,268 +0,0 @@ - - - DSelVal - - - - 0 - 0 - 635 - 744 - - - - - 0 - 0 - - - - Sélection de valeurs - - - background:rgb(235,235,235) - - - - 0 - - - 0 - - - - - - 0 - 400 - - - - background:rgb(250,250,250) - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 10 - - - - - - - - - - - 0 - 0 - - - - - 280 - 150 - - - - Separateur - - - - 15 - - - 0 - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 7 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - espace - - - true - - - - - - - virgule - - - - - - - point-virgule - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - 0 - - - - - - 23 - 43 - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 40 - - - - - - - - - 0 - 0 - - - - - 200 - 40 - - - - - 200 - 40 - - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - Importer Tout - - - - - - - - 0 - 0 - - - - - 200 - 40 - - - - - 200 - 40 - - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - Ajouter Selection - - - - - - - - - - - - 16777215 - 31 - - - - - - - - qPixmapFromMimeSource - - - diff --git a/OldCodes/UiQT4/desViewRegles.ui b/OldCodes/UiQT4/desViewRegles.ui deleted file mode 100644 index 1742aa92..00000000 --- a/OldCodes/UiQT4/desViewRegles.ui +++ /dev/null @@ -1,72 +0,0 @@ - - - viewRegles - - - - 0 - 0 - 283 - 250 - - - - Dialog - - - - - - Fermer - - - - - - - QFrame::NoFrame - - - true - - - - - 0 - 0 - 265 - 194 - - - - - 0 - - - 0 - - - - - - - - - - - - Qt::Horizontal - - - - 171 - 20 - - - - - - - - - diff --git a/OldCodes/UiQT4/desViewTexte.ui b/OldCodes/UiQT4/desViewTexte.ui deleted file mode 100644 index 6cfa950e..00000000 --- a/OldCodes/UiQT4/desViewTexte.ui +++ /dev/null @@ -1,53 +0,0 @@ - - dView - - - - 0 - 0 - 400 - 322 - - - - Dialog - - - - - - - - - Qt::Horizontal - - - - 209 - 20 - - - - - - - - Fermer - - - - - - - Sauver - - - - - view - bclose - bsave - - - - diff --git a/OldCodes/UiQT4/desVisu.ui b/OldCodes/UiQT4/desVisu.ui deleted file mode 100644 index 6f25807a..00000000 --- a/OldCodes/UiQT4/desVisu.ui +++ /dev/null @@ -1,39 +0,0 @@ - - - DVisu - - - - 0 - 0 - 501 - 61 - - - - Visualisation Include Materiau - - - - 0 - - - 0 - - - - - QFrame::NoFrame - - - QFrame::Plain - - - - - - - qPixmapFromMimeSource - - - diff --git a/OldCodes/UiQT4/desWidget4a6RadioButton.ui b/OldCodes/UiQT4/desWidget4a6RadioButton.ui deleted file mode 100644 index 71780e85..00000000 --- a/OldCodes/UiQT4/desWidget4a6RadioButton.ui +++ /dev/null @@ -1,376 +0,0 @@ - - - Widget4a6RadioButton - - - - 0 - 0 - 949 - 73 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 16777215 - 16777215 - - - - Form - - - - 0 - - - 0 - - - 2 - - - 0 - - - 2 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - QFrame::Box - - - - 1 - - - 0 - - - 1 - - - 0 - - - 1 - - - 0 - - - - - - 0 - 0 - - - - RadioButton - - - - - - - - 0 - 0 - - - - RadioButton - - - - - - - RadioButton - - - - - - - - 0 - 0 - - - - RadioButton - - - - - - - - 0 - 0 - - - - RadioButton - - - - - - - - 0 - 0 - - - - RadioButton - - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Maximum - - - - 10 - 20 - - - - - - - - Qt::Vertical - - - - 17 - 40 - - - - - - - - - - - - - 25 - 25 - - - - - 25 - 25 - - - - Qt::StrongFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - radioButton_1 - radioButton_4 - RBPoubelle - - - -
        diff --git a/OldCodes/UiQT4/desWidgetBloc.ui b/OldCodes/UiQT4/desWidgetBloc.ui deleted file mode 100644 index 439dd60f..00000000 --- a/OldCodes/UiQT4/desWidgetBloc.ui +++ /dev/null @@ -1,45 +0,0 @@ - - - WidgetBloc - - - - 0 - 0 - 1033 - 25 - - - - Form - - - QGroupBox { - border: 1px solid gray; - border-radius: 5px; - margin-top: 1ex; /* leave space at the top for the title */ - } - - QGroupBox::title { - padding: 0 3px; - } - - - - 0 - - - - - 0 - - - 5 - - - - - - - - diff --git a/OldCodes/UiQT4/desWidgetCB.ui b/OldCodes/UiQT4/desWidgetCB.ui deleted file mode 100644 index c5f16d2c..00000000 --- a/OldCodes/UiQT4/desWidgetCB.ui +++ /dev/null @@ -1,314 +0,0 @@ - - - WidgetCB - - - - 0 - 0 - 739 - 63 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 1493 - 85 - - - - Form - - - QComboBox{combobox-popup:0;}; - - - - 0 - - - 0 - - - 2 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - 0 - - - - - 0 - - - - - - 0 - 0 - - - - - 361 - 25 - - - - - - - - - - QComboBox { - background:rgb(235,235,235); - } -/*QComboBox: on { - font : italic - } -background:rgb(235,235,235); -border:0px; - - -QComboBox:!editable:on, QComboBox::drop-down:editable:on { -background: black; - font : italic 14px - } -QComboBox:on { - font : italic 20px; - background: red ; -}/* - - - - 100 - - - false - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 301 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetCommande.ui b/OldCodes/UiQT4/desWidgetCommande.ui deleted file mode 100644 index 577965c1..00000000 --- a/OldCodes/UiQT4/desWidgetCommande.ui +++ /dev/null @@ -1,715 +0,0 @@ - - - WidgetCommande - - - - 0 - 0 - 1353 - 596 - - - - - 0 - 0 - - - - - 0 - 0 - - - - DCommandeUnique - - - - - - background-color : rgb(224,223,222); -font : 'times' 9px - - - - 0 - - - 0 - - - - - - 0 - 0 - - - - - 0 - 130 - - - - - 16777215 - 130 - - - - background-color:rgb(224,223,222) - - - - 2 - - - 3 - - - 2 - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 17 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Affiche le rapport de validité de la commande - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/ast-green-ball.png../../../.designer/Editeur/icons/ast-green-ball.png - - - - 21 - 31 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 150 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Maximum - - - - 2 - 40 - - - - - - - - - 0 - 0 - - - - Nom de l'objet. Seuls, les objets valides peuvent être nommés - - - QLineEdit { - border: 2px solid gray; - border-radius: 10px; - padding: 0 8px; - background: darkgray; - /* selection-background-color: darkgray;*/ - } -QLineEdit:disabled -{ - background: lightgray; -} -/*read-only { - background: lightblue;*/ - - - false - - - - - - - Qt::Horizontal - - - - 108 - 20 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Ignored - - - - 2 - 40 - - - - - - - - 4 - - - QLayout::SetFixedSize - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Lance un script associé à la commande - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/roue.png../../../.designer/Editeur/icons/roue.png - - - - 21 - 31 - - - - - - - - - 0 - 0 - - - - - 0 - 38 - - - - true - - - - - - - - 21 - 31 - - - - - 31 - 31 - - - - Qt::ClickFocus - - - ouvre un navigateur sur l'aide contextuelle - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/point-interrogation.png../../../.designer/Editeur/icons/point-interrogation.png - - - - 21 - 31 - - - - - - - - - 21 - 31 - - - - - 31 - 31 - - - - Qt::ClickFocus - - - affiche les régles de validité - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/lettreRblanc30.png../../../.designer/Editeur/icons/lettreRblanc30.png - - - - 21 - 31 - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit la commande - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/deleteRond.png../../../.designer/Editeur/icons/deleteRond.png - - - - 21 - 31 - - - - - - RBValide - labelNomCommande - LENom - horizontalSpacer_3 - horizontalSpacer_4 - RBPoubelle - horizontalSpacer_5 - horizontalSpacer_7 - - - - - - - 0 - 0 - - - - - 160 - 40 - - - - Qt::ClickFocus - - - Affiche les commandes possibles - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Commandes - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - TextLabel - - - - - - - 0 - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande précédente - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - << - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande suivante - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - >> - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - Qt::Vertical - - - - 20 - 0 - - - - - - - - - - - - - - 0 - 81 - - - - background : rgb(247,247,247) - - - - - - QFrame::NoFrame - - - Qt::ScrollBarAsNeeded - - - Qt::ScrollBarAsNeeded - - - true - - - - - 0 - 0 - 1353 - 466 - - - - - - - 1 - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - - qPixmapFromMimeSource - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - LENom - - - -
        diff --git a/OldCodes/UiQT4/desWidgetCommentaire.ui b/OldCodes/UiQT4/desWidgetCommentaire.ui deleted file mode 100644 index 6a452e8b..00000000 --- a/OldCodes/UiQT4/desWidgetCommentaire.ui +++ /dev/null @@ -1,540 +0,0 @@ - - - WidgetCommentaire - - - - 0 - 0 - 847 - 453 - - - - - 0 - 0 - - - - - 0 - 0 - - - - DCommandeUnique - - - - - - background-color : rgb(224,223,222); -font : 'times' 9px - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - - 0 - 130 - - - - - 16777215 - 130 - - - - background-color:rgb(224,223,222) - - - QFrame::NoFrame - - - QFrame::Raised - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - 6 - - - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 17 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Affiche le rapport de validité de la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 21 - 31 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 150 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p>Commentaire</p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Maximum - - - - 2 - 40 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Ignored - - - - 2 - 40 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 31 - - - - - - - - - - - - - 8 - - - 15 - - - - - - 0 - 0 - - - - - 160 - 31 - - - - Qt::ClickFocus - - - Affiche les commandes possibles - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Commandes - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande précédente - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - << - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande suivante - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - >> - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - - - - - - - - 0 - 0 - - - - - - - QFrame::NoFrame - - - Qt::ScrollBarAsNeeded - - - true - - - - - 0 - 0 - 847 - 323 - - - - - 0 - - - 4 - - - 0 - - - 4 - - - 0 - - - - - background : rgb(247,247,247) - - - - - - - Qt::Vertical - - - - 20 - 32 - - - - - - - - - - - - qPixmapFromMimeSource - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        -
        - - scrollAreaCommandes - - - -
        diff --git a/OldCodes/UiQT4/desWidgetCreeParam.ui b/OldCodes/UiQT4/desWidgetCreeParam.ui deleted file mode 100644 index cbcdb1c3..00000000 --- a/OldCodes/UiQT4/desWidgetCreeParam.ui +++ /dev/null @@ -1,245 +0,0 @@ - - - desWidgetCreeParam - - - - 0 - 0 - 728 - 530 - - - - Gestion des Paramètres - - - - - - - 701 - 291 - - - - QFrame::NoFrame - - - true - - - - - 0 - 0 - 710 - 349 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - - - - 0 - 0 - - - - - 701 - 291 - - - - alternate-background-color:rgb(235,235,235); -background-color: rgb(247,247,247); - - - - QFrame::NoFrame - - - QFrame::Raised - - - true - - - QAbstractItemView::SingleSelection - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - - - 701 - 131 - - - - background:rgb(247,247,247) - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - 30 - 40 - 531 - 76 - - - - - 12 - - - - - - 231 - 31 - - - - background:rgb(235,235,235); -border:0px; - - - false - - - - - - - <html><head/><body><p>Nom: </p></body></html> - - - false - - - - - - - - 231 - 31 - - - - background:rgb(235,235,235); -border:0px; - - - false - - - - - - - <html><head/><body><p>Valeur: </p></body></html> - - - false - - - - - - - - - 30 - 10 - 531 - 22 - - - - - - - - 0 - 0 - - - - <html><head/><body><p><span style=" text-decoration: underline;">Créer un paramètre</span></p></body></html> - - - false - - - - - - - Qt::Horizontal - - - - 288 - 20 - - - - - - - - - - - - lineEditNom - lineEditVal - scrollArea - LBParam - - - - diff --git a/OldCodes/UiQT4/desWidgetDate.ui b/OldCodes/UiQT4/desWidgetDate.ui deleted file mode 100644 index 873ab4f7..00000000 --- a/OldCodes/UiQT4/desWidgetDate.ui +++ /dev/null @@ -1,283 +0,0 @@ - - - WidgetDate - - - - 0 - 0 - 736 - 62 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 20 - 20 - - - - - - - - - - - Qt::Horizontal - - - - 411 - 20 - - - - - - - - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetFact.ui b/OldCodes/UiQT4/desWidgetFact.ui deleted file mode 100644 index 28f196af..00000000 --- a/OldCodes/UiQT4/desWidgetFact.ui +++ /dev/null @@ -1,444 +0,0 @@ - - - WidgetFact - - - - 0 - 0 - 949 - 61 - - - - Qt::StrongFocus - - - Form - - - QGroupBox { - border: 1px solid gray; - border-radius: 5px; - margin-top: 1ex; /* leave space at the top for the title */ - } - - QGroupBox::title { - padding: 0 3px; - } - - - - 0 - - - 0 - - - 2 - - - 0 - - - 0 - - - - - 0 - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 5 - - - - - - - - - 21 - 15 - - - - - 21 - 21 - - - - border : 0px - - - ... - - - - ../Editeur/icons/minusnode.png../Editeur/icons/minusnode.png - - - - 21 - 21 - - - - - - - - - - Qt::Vertical - - - - - - - - - - - 0 - - - - - - 17 - 25 - - - - - 21 - 25 - - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 21 - 25 - - - - - - - - 0 - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 12121213 - 25 - - - - <html><head/><body><p><span style=" font-style:italic;">TextLabel</span></p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 200 - 0 - - - - - 1500 - 16 - - - - Qt::Horizontal - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Lance un script associé à la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/roue.png../Editeur/icons/roue.png - - - - 21 - 31 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - border : 0px - - - ... - - - - ../Editeur/icons/point-interrogation30.png../Editeur/icons/point-interrogation30.png - - - - 21 - 25 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - border : 0px - - - ... - - - - ../Editeur/icons/lettreRblanc30.png../Editeur/icons/lettreRblanc30.png - - - - 21 - 25 - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 25 - - - - - - - - - - 0 - - - 2 - - - - - Qt::Vertical - - - QSizePolicy::Minimum - - - - 20 - 2 - - - - - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetFactPlie.ui b/OldCodes/UiQT4/desWidgetFactPlie.ui deleted file mode 100644 index 57ccde00..00000000 --- a/OldCodes/UiQT4/desWidgetFactPlie.ui +++ /dev/null @@ -1,221 +0,0 @@ - - - WidgetFactPlie - - - - 0 - 0 - 727 - 27 - - - - Form - - - QGroupBox { - border: 1px solid gray; - border-radius: 5px; - margin-top: 1ex; /* leave space at the top for the title */ - } - - QGroupBox::title { - padding: 0 3px; - } - - - - 0 - - - 0 - - - - - - 21 - 15 - - - - - 21 - 21 - - - - border : 0px - - - ... - - - - ../Editeur/icons/plusnode.png../Editeur/icons/plusnode.png - - - - 25 - 25 - - - - - - - - - 0 - 0 - - - - - 0 - - - 0 - - - - - - 17 - 25 - - - - - 21 - 25 - - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - - 22 - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 12121213 - 25 - - - - TextLabel - - - - - - - - 0 - 0 - - - - - 500 - 0 - - - - - 1500 - 16 - - - - Qt::Horizontal - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetFormule.ui b/OldCodes/UiQT4/desWidgetFormule.ui deleted file mode 100644 index 7d3647be..00000000 --- a/OldCodes/UiQT4/desWidgetFormule.ui +++ /dev/null @@ -1,709 +0,0 @@ - - - WidgetFormule - - - - 0 - 0 - 1156 - 689 - - - - - 0 - 0 - - - - - 0 - 0 - - - - DCommandeUnique - - - - - - background-color : rgb(224,223,222); -font : 'times' 9px - - - - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 17 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Affiche le rapport de validité de la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 21 - 31 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 150 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p><span style=" color:#0000ff;">Formule</span></p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Maximum - - - - 2 - 40 - - - - - - - - - 0 - 0 - - - - Nom de l'objet. Seuls, les objets valides peuvent être nommés - - - QLineEdit { - border: 2px solid gray; - border-radius: 10px; - padding: 0 8px; - background: darkgray; - /* selection-background-color: darkgray;*/ - } -QLineEdit:disabled -{ - background: lightgray; -} -/*read-only { - background: lightblue;*/ - - - false - - - - - - - Qt::Horizontal - - - QSizePolicy::Ignored - - - - 2 - 40 - - - - - - - - 4 - - - QLayout::SetFixedSize - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 31 - - - - - - RBValide - labelNomCommande - LENom - horizontalSpacer_3 - horizontalSpacer_4 - RBPoubelle - horizontalSpacer_5 - - - - - - - - - 0 - 0 - - - - - 160 - 31 - - - - Qt::ClickFocus - - - Affiche les commandes possibles - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Commandes - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande précédente - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - << - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande suivante - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - >> - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - - - - - 0 - 81 - - - - background : rgb(247,247,247) - - - - - - QFrame::NoFrame - - - Qt::ScrollBarAsNeeded - - - Qt::ScrollBarAsNeeded - - - true - - - - - 0 - 0 - 1138 - 598 - - - - - - - - - - 0 - 0 - - - - <h3><p align="center"><u><b>Nom de la formule</b></u></p></h3> - - - false - - - - - - - - - <h3><p align="center"><u><b>Arguments</b></u></p></h3> - - - false - - - - - - - variables séparées par des "," - par ex. : x,y,z - - - false - - - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - <h3><p align="center"><u><b>Expression</b></u></p></h3> - - - false - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 17 - 17 - - - - - - - - - 0 - 40 - - - - - - - - - - <h1><b>(</b></h1> - - - false - - - - - - - - 230 - 40 - - - - - - - - <h1><b>)</b></h1> - - - false - - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - 0 - 0 - - - - - 0 - 35 - - - - - 16777215 - 35 - - - - <font size="+4" face="Helvetica"><b>=</b></font> - - - false - - - - - - - Qt::Vertical - - - - 20 - 10 - - - - - - - - - - - 0 - 0 - - - - - 0 - 40 - - - - - - - - - - Qt::Vertical - - - - 20 - 446 - - - - - - - - - - - - qPixmapFromMimeSource - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - scrollAreaCommandes - LENomsArgs - LECorpsFormule - LENom - LENomFormule - - - -
        diff --git a/OldCodes/UiQT4/desWidgetHeure.ui b/OldCodes/UiQT4/desWidgetHeure.ui deleted file mode 100644 index 03d5dfba..00000000 --- a/OldCodes/UiQT4/desWidgetHeure.ui +++ /dev/null @@ -1,256 +0,0 @@ - - - WidgetHeure - - - - 0 - 0 - 658 - 61 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - <html><head/><body><p><br/></p></body></html> - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 17 - 17 - - - - - - - - - - - Qt::Horizontal - - - - 454 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 3 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetInactif.ui b/OldCodes/UiQT4/desWidgetInactif.ui deleted file mode 100644 index 336a26fa..00000000 --- a/OldCodes/UiQT4/desWidgetInactif.ui +++ /dev/null @@ -1,471 +0,0 @@ - - - WidgetInactif - - - - 0 - 0 - 946 - 495 - - - - - 350 - 0 - - - - DInactif - - - - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 17 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Affiche le rapport de validité de la commande - - - border : 0px - - - - - - - ../Editeur/icons/ast-white-square.png../Editeur/icons/ast-white-square.png - - - - 21 - 31 - - - - false - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 150 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Maximum - - - - 2 - 40 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Ignored - - - - 2 - 40 - - - - - - - - 4 - - - QLayout::SetFixedSize - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 31 - - - - - - RBValide - labelNomCommande - horizontalSpacer_3 - horizontalSpacer_4 - RBPoubelle - horizontalSpacer_5 - - - - - - - - - 0 - 0 - - - - - 160 - 31 - - - - Qt::ClickFocus - - - Affiche les commandes possibles - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Commandes - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande précédente - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - << - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande suivante - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - >> - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 66 - - - - - - - - - 0 - 0 - - - - <html><head/><body><p align="center"><span style=" font-size:16pt;">Le noeud sélectionné</span></p><p align="center"><span style=" font-size:16pt;">ne correspond pas à un objet actif</span></p></body></html> - - - false - - - - - - - Qt::Vertical - - - - 20 - 67 - - - - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large;"><span style=" font-size:x-large;">Seules les commandes placées</span></p> -<p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large;"><span style=" font-size:x-large;"> entre : DEBUT / FIN sont actives </span></p></body></html> - - - false - - - - - - - Qt::Vertical - - - - 20 - 66 - - - - - - - - qPixmapFromMimeSource - - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetInformation.ui b/OldCodes/UiQT4/desWidgetInformation.ui deleted file mode 100644 index 25e2933f..00000000 --- a/OldCodes/UiQT4/desWidgetInformation.ui +++ /dev/null @@ -1,106 +0,0 @@ - - - WidgetInformative - - - - 0 - 0 - 837 - 44 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 38 - 17 - - - - - - - - - 1 - 0 - - - - - 0 - 25 - - - - - 16777215 - 16777215 - - - - background:rgb(255,255,235); -border:0px; - - - - - - - Qt::Horizontal - - - - 13 - 17 - - - - - - - - lineEditVal - - - - diff --git a/OldCodes/UiQT4/desWidgetMatrice.ui b/OldCodes/UiQT4/desWidgetMatrice.ui deleted file mode 100644 index 7d0a82a6..00000000 --- a/OldCodes/UiQT4/desWidgetMatrice.ui +++ /dev/null @@ -1,191 +0,0 @@ - - - desWidgetMatrice - - - - 0 - 0 - 802 - 300 - - - - Dialog - - - - 4 - - - 0 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../../../../../../home/A96028/GitEficasTravail/eficas/Editeur/icons/ast-green-ball.png../../../../../../home/A96028/GitEficasTravail/eficas/Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 15 - - - - - - - - <html><head/><body><p>Met à jour l'en-tête</p></body></html> - - - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetOptionnel.ui b/OldCodes/UiQT4/desWidgetOptionnel.ui deleted file mode 100644 index 6e9e3935..00000000 --- a/OldCodes/UiQT4/desWidgetOptionnel.ui +++ /dev/null @@ -1,190 +0,0 @@ - - - WidgetOptionnel - - - - 0 - 0 - 297 - 199 - - - - - 0 - 0 - - - - - 0 - 0 - - - - WidgetOptionnel - - - background-color : rgb(224,223,222); -font : 'times' 9px - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - - - - 0 - 0 - - - - - 0 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - - - Qt::Horizontal - - - - 1037 - 20 - - - - - - - - - - - - 0 - 0 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::NoFrame - - - 0 - - - true - - - - - 0 - 0 - 297 - 146 - - - - - 0 - 0 - - - - - - - Qt::Vertical - - - - 20 - 75 - - - - - - - - - - - - - - - qPixmapFromMimeSource - - - diff --git a/OldCodes/UiQT4/desWidgetOptionnelMC.ui b/OldCodes/UiQT4/desWidgetOptionnelMC.ui deleted file mode 100644 index 950792e0..00000000 --- a/OldCodes/UiQT4/desWidgetOptionnelMC.ui +++ /dev/null @@ -1,127 +0,0 @@ - - - desWidgetOptionnel - - - - 0 - 0 - 384 - 218 - - - - Form - - - - 0 - - - - - - - Qt::Horizontal - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 12121213 - 25 - - - - TextLabel - - - - - - - Qt::Horizontal - - - - - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::NoFrame - - - 0 - - - true - - - - - 0 - 0 - 384 - 185 - - - - - 0 - 0 - - - - - - - Qt::Vertical - - - - 20 - 75 - - - - - - - - - - - - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetParam.ui b/OldCodes/UiQT4/desWidgetParam.ui deleted file mode 100644 index 357c0097..00000000 --- a/OldCodes/UiQT4/desWidgetParam.ui +++ /dev/null @@ -1,635 +0,0 @@ - - - WidgetParam - - - - 0 - 0 - 786 - 515 - - - - - 0 - 0 - - - - - 0 - 0 - - - - DCommandeUnique - - - - - - background-color : rgb(224,223,222); -font : 'times' 9px - - - - - - - 0 - 0 - - - - - 0 - 130 - - - - - 16777215 - 130 - - - - background-color:rgb(224,223,222) - - - QFrame::NoFrame - - - QFrame::Raised - - - - 0 - - - 0 - - - 0 - - - - - - - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 17 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Affiche le rapport de validité de la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 21 - 31 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 150 - 31 - - - - QFrame::NoFrame - - - QFrame::Raised - - - <html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html> - - - - - - - Qt::Horizontal - - - QSizePolicy::Maximum - - - - 2 - 40 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Ignored - - - - 2 - 40 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit la commande - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 31 - - - - - - RBValide - RBPoubelle - horizontalSpacer_4 - labelParam - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - 8 - - - 15 - - - - - - 0 - 0 - - - - - 160 - 31 - - - - Qt::ClickFocus - - - Affiche les commandes possibles - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - &Commandes - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande précédente - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - << - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 0 - - - - - 60 - 24 - - - - - 60 - 24 - - - - Qt::ClickFocus - - - Affiche le formulaire de la commande suivante - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - >> - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - - - - - - - - - 0 - 81 - - - - background : rgb(247,247,247); - - - - - - - QFrame::NoFrame - - - Qt::ScrollBarAsNeeded - - - true - - - - - 0 - 0 - 768 - 361 - - - - - - - 25 - - - - - <html><head/><body><p>Valeur: </p></body></html> - - - false - - - - - - - - 231 - 31 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - - - - 231 - 31 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p>Nom: </p></body></html> - - - false - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - 0 - 0 - - - - - 160 - 31 - - - - Affiche les commandes possibles - - - background-color:rgb(104,110,149); -color :white; -border-radius : 12px - - - - Verifie la valeur - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - - <html><head/><body><p><br/></p></body></html> - - - false - - - - - - - Qt::Vertical - - - - 20 - 70 - - - - - - - - - - - - qPixmapFromMimeSource - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        -
        - - scrollAreaCommandes - - - -
        diff --git a/OldCodes/UiQT4/desWidgetPlusieursBase.ui b/OldCodes/UiQT4/desWidgetPlusieursBase.ui deleted file mode 100644 index 799a330e..00000000 --- a/OldCodes/UiQT4/desWidgetPlusieursBase.ui +++ /dev/null @@ -1,842 +0,0 @@ - - - WidgetPlusieursBase - - - - 0 - 0 - 764 - 202 - - - - - 0 - 0 - - - - - 100 - 20 - - - - Form - - - /* QFrame { -border: 1px solid gray; -}*/ - - - - - 0 - - - 0 - - - 2 - - - 2 - - - 0 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - - 21 - 25 - - - - permet de gérer la liste - - - border:0px - - - ... - - - - ../Editeur/icons/minusnode.png../Editeur/icons/minusnode.png - - - - 25 - 25 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - 0 - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - 0 - 0 - - - - QFrame::NoFrame - - - QFrame::Plain - - - true - - - - - 0 - 0 - 112 - 138 - - - - - 0 - 0 - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - - - - - - 0 - - - - - - 0 - 0 - - - - - 400 - 50 - - - - background : rgb(247,247,247); -border: 1px solid gray; -/* QFrame { -border: 1px solid gray; -}*/ - - - - - QFrame::Box - - - QFrame::Plain - - - 1 - - - true - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft - - - - - 0 - 0 - 398 - 161 - - - - - 0 - 0 - - - - - 2 - - - 2 - - - 0 - - - 2 - - - 0 - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - QFrame::Box - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Remonte la ligne - - - border : 0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Descend la ligne - - - border : 0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - supprime une ligne - - - border : 0px - - - ... - - - - ../Editeur/icons/MoinsBleu2.png - - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Ajoute une ligne - - - border : 0px - - - ... - - - - ../Editeur/icons/PlusBleu.png../Editeur/icons/PlusBleu.png - - - - 32 - 32 - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 40 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Montre l'ensemble des valeurs - - - border : 0px - - - ... - - - - ../Editeur/icons/verre-loupe-icone-6087-64.png../Editeur/icons/verre-loupe-icone-6087-64.png - - - - 32 - 32 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 40 - 20 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Sélectionne depuis Salome - - - border : 0px - - - ... - - - - ../Editeur/icons/flecheSalome.png../Editeur/icons/flecheSalome.png - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Visualise dans Salome - - - border : 0px - - - ... - - - - ../Editeur/icons/eye.png../Editeur/icons/eye.png - - - - 32 - 32 - - - - - - - - - - - - - - - 0 - - - 0 - - - - - 0 - - - - - - 0 - 0 - - - - - 25 - 30 - - - - Qt::ClickFocus - - - Ouvre un fichier de sélection des valeurs - - - border:0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 32 - 32 - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - label - monCommentaireLabel - scrollArea_2 - layoutWidget - verticalSpacer_6 - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - scrollArea - RBHaut - RBBas - RBMoins - RBVoisListe - RBSalome - RBSalomeVue - BSelectFichier - RBPoubelle - - - -
        diff --git a/OldCodes/UiQT4/desWidgetPlusieursInto.ui b/OldCodes/UiQT4/desWidgetPlusieursInto.ui deleted file mode 100644 index a9968d9b..00000000 --- a/OldCodes/UiQT4/desWidgetPlusieursInto.ui +++ /dev/null @@ -1,613 +0,0 @@ - - - WidgetPlusieursInto - - - - 0 - 0 - 1061 - 279 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 0 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - - 21 - 25 - - - - permet de gérer la liste - - - border:0px - - - ... - - - - ../Editeur/icons/minusnode.png../Editeur/icons/minusnode.png - - - - 25 - 25 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - - - 0 - 0 - - - - - 280 - 25 - - - - - 280 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 16777215 - 111 - - - - QFrame::NoFrame - - - QFrame::Raised - - - - 2 - - - 0 - - - - - 0 - - - - - - - - - 0 - 0 - - - - - 250 - 0 - - - - - 250 - 16777215 - - - - background:rgb(255,255,255) - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 5 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Cherche la valeur - - - border : 0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - - 0 - 0 - - - - Originel - - - - - - - Alpha - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - 0 - 0 - - - - - 300 - 0 - - - - - 300 - 16777215 - - - - QFrame::NoFrame - - - 0 - - - true - - - - - 0 - 0 - 300 - 73 - - - - - 0 - - - 0 - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 278 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p><br/></p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::NoFrame - - - QFrame::Plain - - - 1 - - - true - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft - - - - - 0 - 0 - 650 - 261 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 20 - 17 - - - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 32 - 32 - - - - - - - - - - - true - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - horizontalSpacer - scrollArea - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetPlusieursIntoOrdonne.ui b/OldCodes/UiQT4/desWidgetPlusieursIntoOrdonne.ui deleted file mode 100644 index 86b75d90..00000000 --- a/OldCodes/UiQT4/desWidgetPlusieursIntoOrdonne.ui +++ /dev/null @@ -1,838 +0,0 @@ - - - WidgetPlusieursIntoOrdonne - - - - 0 - 0 - 1013 - 538 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 2 - - - 0 - - - 7 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - - 21 - 25 - - - - permet de gérer la liste - - - border:0px - - - ... - - - - ../../../.designer/Editeur/icons/minusnode.png../../../.designer/Editeur/icons/minusnode.png - - - - 25 - 25 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/ast-green-ball.png../../../.designer/Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - 0 - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p><br/></p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - background:rgb(255,255,255) - - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Détruit une ligne - - - border : 0px - - - ... - - - - ../../../.designer/backup../../../.designer/backup - - - - 32 - 32 - - - - - - - - - - - - - - Catalogue - - - - - - - Alpha - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - - - 0 - 0 - - - - QFrame::NoFrame - - - QFrame::Plain - - - true - - - - - 0 - 0 - 18 - 180 - - - - - 0 - 0 - - - - - - - <html><head/><body><p><br/></p></body></html> - - - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 8 - 20 - - - - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::Box - - - QFrame::Plain - - - 1 - - - true - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft - - - - - 0 - 0 - 300 - 527 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 8 - 108 - - - - - - - - - - 0 - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::Box - - - QFrame::Plain - - - 1 - - - true - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft - - - - - 0 - 0 - 297 - 482 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - - - - - 0 - 0 - - - - QFrame::Box - - - - 0 - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Remonte d'une ligne - - - border : 0px - - - ... - - - - ../../../.designer/backup../../../.designer/backup - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Descend d'une ligne - - - border : 0px - - - ... - - - - ../../../.designer/backup../../../.designer/backup - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Détruit une ligne - - - border : 0px - - - ... - - - - ../Editeur/icons/MoinsBleu.png../Editeur/icons/MoinsBleu.png - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - ajoute une ligne - - - border : 0px - - - ... - - - - ../Editeur/icons/PlusBleu.png../Editeur/icons/PlusBleu.png - - - - 32 - 32 - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - visualise l'ensemble des valeurs - - - border : 0px - - - ... - - - - ../Editeur/icons/verre-loupe-icone-6087-64.png../Editeur/icons/verre-loupe-icone-6087-64.png - - - - 32 - 32 - - - - - - - - Qt::Horizontal - - - - 18 - 20 - - - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 20 - 17 - - - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../../../.designer/Editeur/icons/deleteRond.png../../../.designer/Editeur/icons/deleteRond.png - - - - 32 - 32 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - horizontalSpacer - horizontalSpacer_2 - horizontalSpacer_3 - scrollArea - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetPlusieursPlie.ui b/OldCodes/UiQT4/desWidgetPlusieursPlie.ui deleted file mode 100644 index c9dbe943..00000000 --- a/OldCodes/UiQT4/desWidgetPlusieursPlie.ui +++ /dev/null @@ -1,330 +0,0 @@ - - - WidgetPlusieursPlie - - - - 0 - 0 - 1095 - 62 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - - - 0 - - - - - - 0 - 0 - - - - - 21 - 25 - - - - permet de gérer la liste - - - border:0px - - - ... - - - - ../Editeur/icons/plusnode.png../Editeur/icons/plusnode.png - - - - 25 - 25 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Affiche le rapport de validité du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - false - - - - 1 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(195,195,195); -border:0px; - - - - - - - - Qt::Horizontal - - - QSizePolicy::MinimumExpanding - - - - 71 - 20 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 21 - 25 - - - - - 21 - 25 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 25 - - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - lineEditVal - RBPoubelle - RBValide - - - -
        diff --git a/OldCodes/UiQT4/desWidgetPlusieursTuple.ui b/OldCodes/UiQT4/desWidgetPlusieursTuple.ui deleted file mode 100644 index 391a2325..00000000 --- a/OldCodes/UiQT4/desWidgetPlusieursTuple.ui +++ /dev/null @@ -1,668 +0,0 @@ - - - WidgetPlusieursTuple - - - - 0 - 0 - 612 - 175 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 2 - - - 0 - - - 2 - - - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - - 0 - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - 0 - 0 - - - - QFrame::NoFrame - - - QFrame::Plain - - - true - - - - - 0 - 0 - 112 - 109 - - - - - 0 - 0 - - - - - - - - 0 - 0 - - - - TextLabel - - - - - - - - - - - - - - - QFrame::NoFrame - - - - 0 - - - 0 - - - - - - 0 - 0 - - - - background : rgb(247,247,247) - - - QFrame::NoFrame - - - 1 - - - true - - - Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft - - - - - 0 - 0 - 197 - 110 - - - - - 0 - 0 - - - - - 0 - - - 0 - - - - - Qt::Vertical - - - - 20 - 13 - - - - - - - - - - - - - - - QFrame::Box - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Remonte la ligne - - - border : 0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Descend la ligne - - - border : 0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - supprime une ligne - - - border : 0px - - - ... - - - - ../Editeur/icons/MoinsBleu2.png - - - - - 32 - 32 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Ajoute une ligne - - - border : 0px - - - ... - - - - ../Editeur/icons/PlusBleu.png../Editeur/icons/PlusBleu.png - - - - 32 - 32 - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Minimum - - - - 40 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Montre l'ensemble des valeurs - - - border : 0px - - - ... - - - - ../Editeur/icons/verre-loupe-icone-6087-64.png../Editeur/icons/verre-loupe-icone-6087-64.png - - - - 32 - 32 - - - - - - - - - - - - - - - 0 - - - - - - 0 - 0 - - - - - 25 - 30 - - - - Qt::ClickFocus - - - Ouvre un fichier de sélection des valeurs - - - border:0px - - - ... - - - - - - - - - 32 - 32 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 32 - 32 - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetRadioButton.ui b/OldCodes/UiQT4/desWidgetRadioButton.ui deleted file mode 100644 index b39fa176..00000000 --- a/OldCodes/UiQT4/desWidgetRadioButton.ui +++ /dev/null @@ -1,342 +0,0 @@ - - - WidgetRadioButton - - - - 0 - 0 - 851 - 62 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 16777215 - 90 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Minimum - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - 0 - - - - - 0 - - - - - - 0 - 0 - - - - - 0 - 25 - - - - RadioButton - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 2 - 20 - - - - - - - - - 0 - 0 - - - - RadioButton - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 2 - 20 - - - - - - - - - 0 - 0 - - - - RadioButton - - - - - - - Qt::Horizontal - - - - 5 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Minimum - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetSDCOInto.ui b/OldCodes/UiQT4/desWidgetSDCOInto.ui deleted file mode 100644 index 8974f213..00000000 --- a/OldCodes/UiQT4/desWidgetSDCOInto.ui +++ /dev/null @@ -1,360 +0,0 @@ - - - WidgetSDCOInto - - - - 0 - 0 - 858 - 312 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - QFrame::Box - - - - 0 - - - - - - 0 - 0 - - - - - 16777215 - 31 - - - - <html><head/><body><p>Structures de données du type requis </p><p><br/></p></body></html> - - - false - - - - - - - - 0 - 0 - - - - - 16777215 - 200 - - - - QFrame::NoFrame - - - true - - - - - 0 - 0 - 462 - 200 - - - - - - - QFrame::NoFrame - - - - - - - - - - - - 0 - 0 - - - - <html><head/><body><p>ou Nom du concept</p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 31 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Preferred - - - - 20 - 17 - - - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 32 - 32 - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetSimpBase.ui b/OldCodes/UiQT4/desWidgetSimpBase.ui deleted file mode 100644 index 60c7dce5..00000000 --- a/OldCodes/UiQT4/desWidgetSimpBase.ui +++ /dev/null @@ -1,304 +0,0 @@ - - - WidgetSimpBase - - - - 0 - 0 - 743 - 60 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 1677721 - 60 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - 0 - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 3 - 20 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 58 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetSimpBool.ui b/OldCodes/UiQT4/desWidgetSimpBool.ui deleted file mode 100644 index f9a78c7a..00000000 --- a/OldCodes/UiQT4/desWidgetSimpBool.ui +++ /dev/null @@ -1,300 +0,0 @@ - - - WidgetSimpBool - - - - 0 - 0 - 572 - 56 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 1493 - 56 - - - - Form - - - - 0 - - - 0 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - True - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 40 - 20 - - - - - - - - False - - - - - - - Qt::Horizontal - - - - 50 - 20 - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Minimum - - - - 20 - 5 - - - - - - - - - - - - - 0 - 0 - - - - - 21 - 25 - - - - - 21 - 25 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetSimpComplexe.ui b/OldCodes/UiQT4/desWidgetSimpComplexe.ui deleted file mode 100644 index 4e9db7e6..00000000 --- a/OldCodes/UiQT4/desWidgetSimpComplexe.ui +++ /dev/null @@ -1,390 +0,0 @@ - - - WidgetSimpComplexe - - - - 0 - 0 - 1242 - 87 - - - - - 0 - 0 - - - - - 940 - 0 - - - - - 1493 - 1400 - - - - Form - - - QLineEdit { -background:rgb(235,235,235); -border:0px; -} - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - QFrame::Box - - - - - - - - - 0 - 0 - - - - - 0 - 29 - - - - - 16777215 - 29 - - - - Complexe : a+bj - - - - - - - Qt::Horizontal - - - - 19 - 20 - - - - - - - - - - false - - - - - - - - 0 - 0 - - - - - 50 - 24 - - - - <html><head/><body><p align="center">OU </p></body></html> - - - - - - - 4 - - - 0 - - - - - Réel/Imaginaire - - - - - - - Module/Phase - - - - - - - - - - - false - - - - - - - Qt::Horizontal - - - - 5 - 20 - - - - - - - - false - - - - - - - - - Qt::Vertical - - - - 17 - 20 - - - - - - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 32 - 32 - - - - - - - - Qt::Vertical - - - - 18 - 47 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - LEComp - RBRI - RBMP - RBPoubelle - - - -
        diff --git a/OldCodes/UiQT4/desWidgetSimpFichier.ui b/OldCodes/UiQT4/desWidgetSimpFichier.ui deleted file mode 100644 index 408f8dfb..00000000 --- a/OldCodes/UiQT4/desWidgetSimpFichier.ui +++ /dev/null @@ -1,374 +0,0 @@ - - - WidgetSimpFichier - - - - 0 - 0 - 1095 - 62 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Affiche le rapport de validité du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - - 1 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - Qt::Horizontal - - - QSizePolicy::MinimumExpanding - - - - 71 - 20 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - - 25 - 25 - - - - affiche l'explorateur de fichier - - - border : 0px - - - ... - - - - - - - - - 25 - 25 - - - - - - - - - 25 - 25 - - - - ouvre le fichier choisi - - - border:0px - - - ... - - - - ../Editeur/icons/visuFichier.png../Editeur/icons/visuFichier.png - - - - 25 - 25 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 21 - 25 - - - - - 21 - 25 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 25 - - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - lineEditVal - BFichier - BVisuFichier - RBPoubelle - RBValide - - - -
        diff --git a/OldCodes/UiQT4/desWidgetSimpSalome.ui b/OldCodes/UiQT4/desWidgetSimpSalome.ui deleted file mode 100644 index ba8ed2fd..00000000 --- a/OldCodes/UiQT4/desWidgetSimpSalome.ui +++ /dev/null @@ -1,373 +0,0 @@ - - - WidgetSimpSalome - - - - 0 - 0 - 1095 - 62 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - - - 0 - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Affiche le rapport de validité du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - - 1 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - Qt::Horizontal - - - QSizePolicy::MinimumExpanding - - - - 71 - 20 - - - - - - - - 0 - - - QLayout::SetFixedSize - - - - - - 0 - 0 - - - - - 25 - 25 - - - - affiche l'explorateur de fichier - - - border : 0px - - - ... - - - - ../Editeur/icons/flecheSalome.png../Editeur/icons/flecheSalome.png - - - - 25 - 25 - - - - - - - - - 25 - 25 - - - - ouvre le fichier choisi - - - border:0px - - - ... - - - - ../Editeur/icons/eye.png../Editeur/icons/eye.png - - - - 25 - 25 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 0 - 0 - - - - - 21 - 25 - - - - - 21 - 25 - - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 25 - - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - lineEditVal - RBSalome - RBSalomeVue - RBPoubelle - RBValide - - - -
        diff --git a/OldCodes/UiQT4/desWidgetSimpTxt.ui b/OldCodes/UiQT4/desWidgetSimpTxt.ui deleted file mode 100644 index 6fa4b7e9..00000000 --- a/OldCodes/UiQT4/desWidgetSimpTxt.ui +++ /dev/null @@ -1,304 +0,0 @@ - - - WidgetSimpTxt - - - - 0 - 0 - 743 - 60 - - - - - 0 - 0 - - - - - 0 - 0 - - - - - 1677721 - 60 - - - - Form - - - - 0 - - - 1 - - - 0 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - 0 - - - - - - - - 1 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 3 - 20 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 5 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetTuple2.ui b/OldCodes/UiQT4/desWidgetTuple2.ui deleted file mode 100644 index 9c45154b..00000000 --- a/OldCodes/UiQT4/desWidgetTuple2.ui +++ /dev/null @@ -1,345 +0,0 @@ - - - WidgetTuple2 - - - - 0 - 0 - 936 - 62 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - - - - 0 - - - 0 - - - 1 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - false - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - Qt::StrongFocus - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 58 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - lineEditVal1 - lineEditVal2 - - - -
        diff --git a/OldCodes/UiQT4/desWidgetTuple3.ui b/OldCodes/UiQT4/desWidgetTuple3.ui deleted file mode 100644 index a31e9b55..00000000 --- a/OldCodes/UiQT4/desWidgetTuple3.ui +++ /dev/null @@ -1,362 +0,0 @@ - - - WidgetTuple3 - - - - 0 - 0 - 1282 - 61 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 1 - - - 0 - - - 0 - - - 1 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 5 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - Qt::StrongFocus - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - - - - 0 - 0 - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - Qt::StrongFocus - - - background:rgb(235,235,235); -border:0px; - - - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 13 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - -
        diff --git a/OldCodes/UiQT4/desWidgetUniqueSDCO.ui b/OldCodes/UiQT4/desWidgetUniqueSDCO.ui deleted file mode 100644 index 178cfc04..00000000 --- a/OldCodes/UiQT4/desWidgetUniqueSDCO.ui +++ /dev/null @@ -1,277 +0,0 @@ - - - WidgetUniqueSDCO - - - - 0 - 0 - 1069 - 56 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 1 - - - 0 - - - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Affiche le rapport de validation du mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 25 - 25 - - - - - - - - - - Qt::Vertical - - - - 20 - 2 - - - - - - - - - - - 0 - 0 - - - - - 300 - 25 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - false - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - - - - - 0 - - - - - - 0 - 25 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - - - - - Attend un objet de type CO - - - - - - - - - Qt::Horizontal - - - QSizePolicy::MinimumExpanding - - - - 79 - 17 - - - - - - - - - - - 21 - 25 - - - - - 21 - 25 - - - - Qt::ClickFocus - - - Détruit le mot-clef - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 25 - 25 - - - - - - - - Qt::Vertical - - - - 20 - 2 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        - - MonLabelClic - QLabel -
        monLabelClic.h
        -
        -
        - - LESDCO - - - -
        diff --git a/OldCodes/UiQT4/desWidgetVide.ui b/OldCodes/UiQT4/desWidgetVide.ui deleted file mode 100644 index 03a815f7..00000000 --- a/OldCodes/UiQT4/desWidgetVide.ui +++ /dev/null @@ -1,330 +0,0 @@ - - - WidgetVide - - - - 0 - 0 - 1069 - 55 - - - - - 0 - 0 - - - - - 0 - 0 - - - - Form - - - - 0 - - - 0 - - - 2 - - - 0 - - - 0 - - - - - 0 - - - QLayout::SetFixedSize - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 21 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 35 - - - - Qt::ClickFocus - - - border : 0px - - - ... - - - - ../Editeur/icons/ast-green-ball.png../Editeur/icons/ast-green-ball.png - - - - 32 - 32 - - - - - - - - - - - 0 - 0 - - - - - 300 - 24 - - - - - 178 - 16777215 - - - - QFrame::NoFrame - - - <html><head/><body><p><span style=" color:#0055ff;">Label</span></p></body></html> - - - - - - - - 1 - 0 - - - - - 0 - 32 - - - - - 805 - 16777215 - - - - background:rgb(235,235,235); -border:0px; - - - Attend un objet de type XXXX. Il faut le créer - - - - - - - Qt::Horizontal - - - QSizePolicy::MinimumExpanding - - - - 79 - 17 - - - - - - - - 0 - - - - - - 25 - 30 - - - - - 25 - 30 - - - - Qt::ClickFocus - - - border : 0px - - - ... - - - - ../Editeur/icons/flecheSalome.png../Editeur/icons/flecheSalome.png - - - - 32 - 32 - - - - - - - - - 0 - 0 - - - - - 25 - 30 - - - - - 25 - 30 - - - - Qt::ClickFocus - - - border:0px - - - ... - - - - ../Editeur/icons/icon_salome.png../Editeur/icons/icon_salome.png - - - - 32 - 32 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 13 - 20 - - - - - - - - - 21 - 31 - - - - - 21 - 31 - - - - Qt::ClickFocus - - - border : 0px - - - ... - - - - ../Editeur/icons/deleteRond.png../Editeur/icons/deleteRond.png - - - - 21 - 32 - - - - - - - - - - - MonBoutonValide - QToolButton -
        monBoutonValide.h
        -
        -
        - - lineEditVal - RBSalome - RBSalomeVue - RBValide - RBPoubelle - - - -
        diff --git a/OldCodes/UiQT4/eficas_en.0106.ts b/OldCodes/UiQT4/eficas_en.0106.ts deleted file mode 100644 index e514c2ef..00000000 --- a/OldCodes/UiQT4/eficas_en.0106.ts +++ /dev/null @@ -1,3948 +0,0 @@ - - - - @default - - - lecture du fichier impossible : - unable to read file : - - - - Impossible d'ouvrir le fichier %s - unable to open file %s - - - - Impossible de convertir le fichier Python qui doit contenir des erreurs. - - On retourne le fichier non converti. Prevenir la maintenance. - - %s - Unable to translate the file. it probably contains mistake -ask eficas team -%s - - - - Format de sortie : %s, non supporte - Unsupported format %s - - - - Impossible d'ouvrir le fichier : %s - unable to open file: %s - - - - Erreur ! Erreur ! - Error! - - - - Erreur rencontree dans recherche_enfants : %s - Error in recherche_enfants : %s - - - - Erreur dans la creation du mot-cle : %s - Error when creating %s - - - - Impossible d'ouvrir le fichier : %s - unable to open file : %s - - - - le texte a analyser n'est pas celui d'une commande ou d'un operateur : - text is no eficas text: - - - - Erreur dans la recherche du nom de la commande : - error when searching command's name : - - - - Erreur dans la recherche des args de la commande : - error when searching argument's command : - - - - Erreur dans la recherche du nom de la commande : - error when searching command's name : - - - - Erreur dans la recherche des args de la commande : - error when searching argument's command : - - - - %d n'est pas un index valide pour append_brother - %d is not a valid index for append-brother - - - - le fichier de commandes %s n'existe pas - commands file %s does not exist - - - - un fichier de commandes doit etre defini avant une poursuite %s - You have to define principal commands file before a secondary (poursuite) file %s - - - - le fichier poursuite %s n'existe pas - the secondary (poursuite) file does not exist - - - - include mal defini %s - include is not correct %s - - - - un fichier de commandes doit etre defini avant un include %s - You have to define principal commands file before include %s - - - - le fichier include %s n'existe pas - include file does not exist - - - - jdc %(v_1)s, le fichier - de commandes %(v_2)s n'existe pas - v_1 - jdc %(v_1)s : .comm %(v_2)s does not exist - - - - le fichier jdc %s n'existe pas - file %s does not exist - - - - jdc %s manque option jdc dans section jdc - jdc %s does not have jdc option in command line - - - - %(v_1)s include %(v_2)s : %(v_3)s - v_1 - %(v_1)s include %(v_2)s : %(v_3)s - - - - %(v_1)s fichier poursuite: %(v_2)s - v_1 - %(v_1)ssecondary (poursuite) file %(v_2)s - - - - nom etude : %s - study's name : %s - - - - utilisation : %prog [options] - use : %prog[options] - - - - nom du fichier de commandes - principal .comm file's name - - - - nom du fichier poursuite - secondary (poursuite) file's name - - - - numero d'unite suivi du nom du fichier include - unit number and include file's name - - - - fichier decrivant une etude - file containing a study - - - - version de catalogue a utiliser - catalog's version - - - - nom du code a utiliser - code's name - - - - niveau de debug - debug level - - - - schema - schema - - - - Nombre incorrect d'arguments - incorrect number of arguments - - - - Localisation specifiee pour l'application. - specified localization for the application. - - - - Impossible de transferer les fichiers requis dans : %s - unable to transfer files to : %s - - - - Erreur - error - - - - Erreurs fatales - fatale error - - - - Impossible reconstruire commande - - unable to construct command - - - - Objet commentaire non valorise - comment object has no value - - - - Debut Fonction %s - start function %s - - - - Fin Fonction %s - end function %s - - - - Nom de concept deja defini : %s - Concept's name %s is already existing - - - - Longueur incorrecte - incorrect length - - - - L'attribut 'min' doit etre un entier : - min must be an integer : - - - - L'attribut 'max' doit etre un entier : - max must be an integer : - - - - Nombres d'occurrence min et max invalides : - min and max are invalid: - - - - L'attribut 'fr' doit etre une chaine de caracteres - 'fr' must be a string - - - - L'attribut 'statut' doit valoir 'o','f','c' ou 'd' - values for statut arguments are : 'o','f','c' or 'd' - - - - L'attribut 'docu' doit etre une chaine de caracteres - docu must be a string - - - - Fin - end - - - - Le parametre EVAL %s ne peut valoir None - None is not a valid value for Eval parameter %s - - - - Pas de nom donne au parametre EVAL - No name for parameter EVAL - - - - Un nom de parametre ne peut depasser 8 caracteres - parameter's name can not exceed 8 characters - - - - Un concept de nom %s existe deja ! - Concept's name %s is already existing! - - - - ERREUR - ERROR - - - - Format pas implemente : %s - format : %s not implemented - - - - Type d'objet non prevu : %s - object type not expected : %s - - - - ce groupe de maillage %s est associe a au moins un materiau et au moins une source. - mesh group %s is associated with at least one material and at least a source. - - - - ce groupe de maillage %s n'est associe a aucun materiau ou source. - mesh group %s is associated with no material or no source. - - - - ATTENTION! Une source constante n'est possible qu'a frequence nulle en regime frequentiel - - - - - toutes les donnees ne sont pas connues - all data are not available - - - - Fichier patron %s n'existe pas. - pattern file %s does not exist. - - - - Pas supporte - not implemented - - - - Entite inconnue ou interdite :%s - Unknown or unsupported entity : %s - - - - Entite inconnue ou interdite :%s. Elle est ignoree - Unknown or unsupported entity : %s. ignored - - - - Les tuples ne sont pas supportes pour le format ini :%s - Tuple are not allowed for format ini : %s - - - - Type de valeur non supportee par le format ini :%(nom)s -%(exception)s - nom - Unsupported type of value for .ini format %(nom)s -%(exception)s - - - - Il y a un pb a la Creation du XML - problem when creating XML - - - - Il y a un pb a la Creation du STD - problem when creating STD - - - - Entite inconnue ou interdite : %s. Elle est ignoree - unkown ou unsupported entity : %s. ignored - - - - Tag %s non-defini. Ceci est un bogue interne. en informer les developpeurs. - Tag %s not defined. Ask developpeurs team. - - - - Le mot-cle %s est obligatoire. - mandatory keyword : %s. - - - - concept %(inst_name)s de type %(class_name)s - inst_name - concept %(inst_name)s of type %(class_name)s - - - - Un nom de concept doit etre un identificateur Python - concept's name must be a python identifier - - - - Concept existant - allready existing concept - - - - Operateur reentrant mais concept non existant - operator 'reentrant' but concept does not exist - - - - Operateur reentrant et concept existant trouve - Operator 're-entrant' and concept exists - - - - Concept deja existant et de mauvais type - already existing concept of not supported type - - - - Nommage du concept refuse : un concept de meme nom existe deja - Name is refused : already existing concept - - - - Nommage du concept effectue - Concept named - - - - Nommage impossible %s - unable to name %s - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese ouvrante manquante - formula expects a list of arguments : no left parenthesis - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese fermante manquante - formula expects a list of arguments : no right parenthes - - - - Pas de nom donne a la FORMULE - no name given - - - - Un nom de FORMULE ne peut depasser 8 caracteres - name too long (8 characters max) - - - - Un nom de FORMULE ne peut pas commencer par un chiffre - name does not begin with a figure - - - - Le type de la valeur retournee n'est pas specifie - no type is specified for the return value - - - - Une formule ne peut retourner une valeur de type : %s - impossible to return a value of type : %s - - - - Impossible d'ajouter la commande - unable to add the keyword (commande) - - - - Impossible d ajouter la commande - unable to add the keyword (commande) - - - - Pas implemente - not implemented - - - - Nom de concept deja defini - already defined concept - - - - Nom de concept deja defini : - already defined concept : - - - - Impossible de trouver le fichier correspondant a l'unite - unable to find file corresponding to unit - - - - n'est pas un fichier existant - is not an existing file - - - - Fichier invalide %s - invalid file %s - - - - Impossible de construire le jeu de commandes correspondant au fichier - unable to create the jdc corresponding to the file - - - - Erreur lors de l'evaluation du fichier inclus - Error when reading the 'include' file - - - - Ce fichier ne sera pas pris en compte - %s - the file is ignored -%s - - - - Ce fichier ne sera pas pris en compte -Le fichier associe n'est pas defini - the file is ignored : associated file is not defined - - - - Le fichier n est pas defini - file is not defined - - - - le fichier doit contenir une unique variable de sortie - file must declare a single output variable - - - - Fichier invalide - invalid file - - - - Le contenu de ce fichier ne sera pas pris en compte - %s - the file will be ignored : -%s - - - - Le fichier INCLUDE n est pas defini - include file is not defined - - - - Le contenu de ce fichier ne sera pas pris en compte - - file will be ignored - - - - - Erreur lors de l'evaluation du fichier poursuite - Error when creating secondary (poursuite) file - - - - L'objet %(v_1)s ne peut etre un fils de %(v_2)s - v_1 - Object %(v_1)s can not be a child for %(v_2)s - - - - L'objet %s ne peut pas etre repete - Object %s can not be repeated - - - - Erreur - mclist inexistante : %s - Error - mclist does not exist : %s - - - - Erreur - mot cle facteur de nom : %s - Error - keyword "mot-clef facteur" nammed : %s - - - - traitement non-prevu - unexpected task - - - - L'objet %s ne peut pas etre ajoute - Object %s cannot be add - - - - None n'est pas une valeur autorisee - None is not a valid value - - - - un concept de meme nom existe deja - concept already exists - - - - Concept cree - concept created - - - - La matrice n'est pas une matrice %(n_lign)d sur %(n_col)d - n_lign - matrix is not a %(n_lign)d x %(n_col)d matrix - - - - Decommenter - uncomment - - - - Decommente la commande - uncomment the command - - - - Impossible de supprimer un mot-cle obligatoire - mandatory keyword cannot be deleted - - - - Mot-cle %s supprime - Keyword %s deleted - - - - Pb interne : impossible de supprimer ce mot-cle - internal problem : unable to delete keyword - - - - Commentaire supprime - comment is deleted - - - - Commande %s supprimee - command %s is deleted - - - - Pb interne : impossible de supprimer cet objet - internal problem : unable to delete object - - - - Le fichier de commande n'a pas pu etre converti pour etre editable par Eficas - - - unable to convert .comm file in order to open it with Eficas - - - - Include vide - include file is empty - - - - L'include doit etre correctement initialise pour etre visualise - include file must be correct - - - - Impossible de supprimer ce mot-clef - unable to delete this keyword - - - - View3D - View3D - - - - affiche dans Geom les elements de structure - diplay SE in Geom - - - - Graphique - graphic - - - - affiche la distribution - display distribution - - - - Impossible de supprimer un mot-clef obligatoire - unable to delete a mandatory keyword - - - - Mot-clef %s supprime - Keyword %s is deleted - - - - Definition d'un parametre - defines a parameter - - - - Import du fichier de Configuration - import configuration file - - - - Erreur a la lecture du fichier de configuration %s - Error when reading configuration file - - - - Erreur fatale au chargement de %s - fatal error when loading %s - - - - Erreur fatale au chargement d'un fichier - Fatal error when loading file - - - - fichier modifie - file updated - - - - Attention! fichier change hors EFICAS - Warning ! this file was modified outside Eficas - - - - Type de fichier non reconnu - unsupported file type - - - - EFICAS ne sait pas ouvrir le type de fichier %s - Eficas is not able to open this file's type : %s - - - - EFICAS ne sait pas ouvrir ce type de fichier - Eficas is not able to open this file's type - - - - Copie impossible - unable to copy - - - - Veuillez selectionner un objet a copier - you have to select an object to copy - - - - Veuillez selectionner un seul objet : la copie se fera apres le noeud selectionne - You have to select a single object : copy will be done after the selected node - - - - Aucun Objet n a ete copie ou coupe - No object was cut or copied - - - - Copie refusee - rejected copy - - - - Eficas n a pas reussi a copier l objet - Eficas cannot copy this object - - - - Copie refusee pour ce type d objet - Copy rejected : bad object type - - - - Deplacement refuse - move rejected - - - - Deplacement refuse entre 2 fichiers. Seule la copie est autorisee - move rejected. no move between two files : only copy is available - - - - Copie impossible a cet endroit - unable to copy here - - - - Veuillez selectionner une commande, un parametre, un commentaire ou une macro - select a command; a parameter, a comment or a macro - - - - Choix d'un fichier XML - Choice of XML file - - - - Ouvrir Fichier - Open file - - - - Erreur a la generation - Error when generating - - - - EFICAS ne sait pas convertir ce JDC - Eficas is unable to convert JDC - - - - Format %s non reconnu - not supported format %s - - - - Execution impossible - Unable to execute - - - - le JDC doit etre valide pour une execution MAP - JDC has to be valid before run - - - - le JDC doit contenir un et un seul composant - JDC must contains a single componant - - - - sauvegarde - save - - - - Sauvegarde du Fichier - save file - - - - Le fichier <b>%s</b> existe deja. - file <b>%s</b> already exists. - - - - &Ecraser - &Replace - - - - Donnez le nom du fichier correspondant a l unite logique - Choose file corresponding to unit - - - - Choix d'un fichier de poursuite - Choose poursuite file - - - - Le fichier %s contient une commande POURSUITE - - file %s contains a POURSUITE command - - - - Traduire Fichier - file translation - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - JDC files(*.comm);; All FIles(*) - - - - Fichier Traduit : %s - - - Translated file : %s - - - - Pas de difference entre le fichier origine et le fichier traduit - No difference between the primary file and the translated file - - - - %d versions du catalogue sont disponibles - %d catalogs versions are available - - - - &Ok - &Ok - - - - Entrez - enter - - - - valeurs - values - - - - Entrez entre - enter between - - - - et - and - - - - Selection - selection - - - - Type de base inconnu - unkown type - - - - Visualisation Fichier - view file - - - - Impossibilite d'afficher le Fichier - Unable to display file - - - - Sauvegarder Fichier - save File - - - - Fichier selectionne - file selected - - - - expression valide - valid expression - - - - expression invalide - unvalid expression - - - - expression n est pas de la forme a+bj - expression is not as a+bj - - - - entrer une seule valeur SVP - Please, enter a single value - - - - saisir le type de complexe - choose complex's type - - - - Sauvegarder le fichier - save file - - - - Le fichier <b>%(v_1)s</b> n'a pu etre sauvegarde. <br>Raison : %(v_2)s - v_1 - file <b>%(v_1)s</b> was not saved. Raison : %(v_2)s - - - - &Recents - &Recently Opened - - - - Aide specifique - code's help - - - - Traduction - translation - - - - Options - Options - - - - TraduitV7V8 - - - - - TraduitV8V9 - - - - - TraduitV9V10 - - - - - Acquiert Groupe Maille - - - - - Specificites Maille - - - - - version - version - - - - pour - for - - - - Aide Indisponible - no help avalaible - - - - Parametrage - Options - - - - Veuillez d abord choisir un code - Choose a code - - - - Pas de possibilite de personnalisation de la configuration - no options avalaible for configuration - - - - &Effacer - &Delete - - - - Veuillez entrer le complexe sous forme aster ou sous forme python - enter a complex - - - - Import du catalogue - Loading catalog - - - - Pas de catalogue defini pour le code - No catalog for this code - - - - Aucun catalogue trouve - No catalog - - - - avec le catalogue - with catalog - - - - Impossible d'importer le catalogue - unable to load catalog - - - - Choix d une version du code - Choose a version for - - - - Choix d une version - choose a version - - - - Parametre - parameter - - - - Insere un parametre - insert a parameter - - - - item invalide - invalid item - - - - l item doit etre valide - item must be valid - - - - apres - after - - - - Insere un commentaire apres la commande - insert a comment after the command - - - - avant - before - - - - Insere un commentaire avant la commande - insert a comment before the command - - - - Insere un parametre apres la commande - insert a parameter after the command - - - - Insere un parametre avant la commande - insert a parameter before the commande - - - - Supprimer - delete - - - - supprime le mot clef - delete keyword - - - - Documentation - documentation - - - - documentation sur la commande - command's documentation - - - - Documentation Vide - empty documentation - - - - Aucune documentation n'est associee a ce noeud - no documentation is available for this node - - - - impossible de trouver la commande - unable to find command - - - - Lecteur PDF - PDF reader - - - - impossible d'ouvrir - unable to open - - - - Commentaire - Comment - - - - ce noeud - this node - - - - commente le noeud - comment this node - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - JDC Files (*.comm);;All Files(*) - - - - &Quitter - &Exit - - - - Quitter - Exit - - - - Fichier Duplique - file is duplicated - - - - Le fichier ne sera pas sauvegarde. - File will not be saved. - - - - &Annuler - &Cancel - - - - Fichier - File - - - - Le fichier <b>%s</b> est deja ouvert. - File <b>%s</b> is already open. - - - - &Duplication - &Duplication - - - - &Abort - &Abort - - - - Fichier Modifie - File is modified - - - - Le fichier %s n a pas ete sauvegarde. - file %s was not saved. - - - - &Sauvegarder - &Save - - - - Erreur a l'evaluation : - %s - Error when loadind : -%s - - - - Un fichier de nom %s existe deja : impossible de creer un repertoire de meme nom - File %s already exists : unable to create a directory with the same name - - - - Creation du repertoire %s impossible - Verifiez vos droits d'acces - Unable to create directory : check your access rights - - - - localisation de l'application, pour la traduction - use for application translation - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe valable - - - - - ERREUR! ce type de bloc (%s) n'est pas valable - - - - - n'est pas un index valide pour append_brother - is not correct - no possible "append_brother" - - - - Erreur interne - Internal error - - - - La PDF de la loi ne peut pas etre affichee. - unable to display law's PDF. - - - - Le fichier contient une commande MODEL - - file contains MODEL command - - - - Donnez le nom du fichier XML qui contient la description des variables - - - - - Choix unite %d - Choice for unit %d - - - - Fichier pour unite - File for unit - - - - La formule passee a l'interpreteur doit etre sous forme de tuple - formula must be written as tuple - - - - Debut - Beginning - - - - Le parametre EVAL ne peut valoir None - None is not a valid value for EVAL - - - - Pas de nom donne au parametre - No name given - - - - Le parametre %s ne peut valoir None - None is an incorrect value for parameter %s - - - - Format non implemente : %s - Not implemented format - - - - Type de valeur non supporte par le format pyth : n %(exception)s - nom - unsupported type of value - - - - Impossible de realiser la verification de la formule - unable to verify formula - - - - Pb interne : impossible de supprimer ce mot-clef - internal problem : unable to delete keyword - - - - Eficas ne peut pas traiter plusieurs instructions - sur la meme ligne : %s - Eficas is not able to manage many instructions on a same line - - - - le texte a analyser n'est pas celui d'une commande ou - d'un operateur : %s - text is not valid for a command or a operaor - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - text is not valid for command %(v_1)s %(v_2)s - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - text is not valid for command %(v_1)s %(v_2)s - - - - jdc %(v_1)s manque - fichier comm dans section %(v_2)s - v_1 - file %(v_1)s need a .comm file in section %(v_2)s - - - - jdc %(v_1)s - fichier include %(v_2)s, %(v_3)s - n'existe pas - v_1 - file %(v_1)s need an include file %(v_2)s,%(v_3)s does not exist - - - - jdc %(v_1)s manque fichier comm - dans section %(v_2)s - v_1 - file %(v_1)s need a .comm file in section %(v_2)s - - - - jdc %(v_1)s, le fichier de commandes - %(v_2)s n'existe pas - v_1 - jdc%(v_1)s, .comm %(v_2)s does not exist - - - - ATTENTION! Une source constante - n'est possible qu'a frequence nulle - en regime frequentiel - - - - - ERREUR! Une forme de la source du - type WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ATTENTION! Une source constante n'est - possible qu'a frequence nulle en regime frequentiel - - - - - ERREUR! Une forme de la source du type - WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe - indiquant le type de materiau ou de source associee - - - - - ERREUR! ce groupe de maille (%(nom)s) n'a pas - le prefixe correct pour etre associe a un type %(type_bloc)s - nom - - - - - - Include Invalide. - ne sera pas pris en compte - Invalid include file. text will not be included - - - - Impossible de relire le fichier %s - - unable to read file - - - - Le fichier include contient des erreurs - include file contains errors - - - - PARAMETRE - PARAMETER - - - - EFICAS ne sait pas convertir le JDC selon le format - Eficas does not know how to convert data according to the defined format - - - - le JDC doit etre valide pour une execution - Before a run action, JDC must be valid - - - - Sauvegarder SVP avant l'execution - Save before run action - - - - Sauvegarde de l'input impossible - unable to save input file - - - - Un JdC valide est necessaire pour creer un .input - file must be valid to create a .input file - - - - Choix du composant obligatoire - You have to choose a component - - - - Le fichier %s contient une commande INCLUDE - - file %s contains an "INCLUDE" command - - - - Donnez le nom du fichier dont vous - voulez faire une poursuite - Name the principal file - - - - Fichiers Med (*.med);;Tous les Fichiers (*) - Med Files (*.med);;All Files(*) - - - - Fichier Med - Med File - - - - Veuillez selectionner un fichier Med - Choose a Med file - - - - reel - float - - - - entier - integer - - - - complexe - complex - - - - l'aide n est pas installee - Help is not available - - - - Export Med vers Fichier - export Med Mesh in a file - - - - Impossibilite d exporter le Fichier - Unable to export file - - - - objet valide - valid object - - - - Valeur non modifiable - value can not be changed - - - - Options pour - - Settings - - - - Nombre minimal de valeurs : - minimal number of values : - - - - Nombre maximal de valeurs : - Maximal number of values : - - - - l expression n est pas de la forme a+bj - expression must be as a+bj - - - - Valeur du mot-cle enregistree - Value is recorded - - - - Valeur du mot-cle non autorisee - Value is not authorized - - - - Fichier non encore nomme - unnamed file - - - - SOURCE - SOURCE - - - - EnveloppeConnexeInducteur - Bounding_Box - - - - EnveloppeConnexe2 - - - - - VecteurDirecteur - Direction_Vector - - - - Centre - Center - - - - SectionBobine - Section - - - - Amplitude - Amplitude - - - - NbdeTours - NbTurns - - - - CONDUCTEUR - CONDUCTOR - - - - Conductivite - Conductivity - - - - PermeabiliteRelative - Relative_Permeability - - - - NOCOND - DIELECTRIC - - - - VCUT - CUT - - - - Orientation - Orientation - - - - ZS - ZS - - - - PARAMETRES - SETTINGS - - - - RepCarmel - Carmel_Directory - - - - TypedeFormule - Formula - - - - Frequence - Frequency - - - - Nb_Max_Iterations - Max_Nb_Iterations - - - - Erreur_Max - Max_Error - - - - Format non implemente - non implemented format - - - - Type d'objet non prevu - - - - - Fichier de donnees - data file - - - - Tous les Fichiers (*) - all files (*) - - - - Select - select - - - - nb min de valeurs : - minimal number of values : - - - - nb max de valeurs atteint - maximum number of values - - - - TraduitV10V11 - - - - - TraduitV11V12 - - - - - Sauve Format Ligne - save file in line format - - - - Valeur du mot-clef enregistree - value recorded - - - - Valeur du mot-clef non autorisee : - unvalid value - - - - %s n'est pas un fichier valide - %s is not a valid file - - - - : verifie les types dans un tuple - valids type in a tuple - - - - Les types entres ne sont pas permis - unvalid type for values - - - - La cardinalite n'est pas correcte, la derniere valeur est ignoree - unvalid multiplicity. last value will be ignored - - - - n est pas un tuple de - is not a tuple - - - - valeurs - values - - - - Valeur incorrecte - incorrect value - - - - n est pas un identifiant correct - - is not a valid name - - - - Entrer un float SVP - Float expected - - - - Entrer un float inferieur a - float lower than - - - - Entrer un float superieur a - float superior than - - - - Mauvaise execution - bad run - - - - impossible d executer la methode - unable to run method - - - - Mauvaise Commande - bad command - - - - Aucune variable connue - no possible variable - - - - Mauvaise dimension de matrice - bad matrix dimension - - - - le nombre de ligne n est pas egal a - number of lines is not - - - - le nombre de colonne n est pas egal a - number of columns is not - - - - Mauvaise Valeur - bad value - - - - l element - element - - - - n est pas correct - is not correct - - - - Modification Impossible - unable to modify - - - - le parametre n'est pas valide - parameter is not valid - - - - n est pas un identifiant correct - is not a correct name - - - - Valeur incorrecte: - incorrect value : - - - - Valeur incorrecte - incorrect value - - - - Valeur correcte - valid value - - - - impossible d'evaluer : - unable to evaluate : - - - - Un concept de nom %s existe déjà ! - already existing concept with name : %s ! - - - - existe deja - - already exists - - - - La matrice n'a pas le bon entete - header does not match with matrix - - - - le mot clef - keyword - - - - doit etre insere avant - has to be inserted before - - - - insertion impossible - unable to insert keyword - - - - doit etre insere apres - has to be inserted after - - - - Nb maximum de valeurs atteint - Maximal number of values - - - - pas de regle de construction pour ce jeu de commandes - No specific rules for building this dataset - - - - Gestion Maillage - Mesh Menu - - - - Acquiert groupe mailles - Read elements mesh - - - - Acquisition Groupe Maille - Read elements mesh - - - - VERSION - VERSION_EN - - - - NUM - NUMBER - - - - FILETYPE - FILETYPE - - - - PARAMETERS - Parametres - - - - Fichier_maillage - FichierMaillage - - - - Echelle_du_maillage - MeshScale - - - - Formulation - Fomulation - - - - Timeproblem - TimeProblem - - - - spectral - EssaiSpectral - - - - Basis - Basis - - - - Fourier - Fourier - - - - Ordre - Ordre - - - - FREQUENCY - Frequency - - - - minimisation - Minimisation - - - - no - no - - - - yes - yes - - - - nb_procs_para - NbProcs - - - - POLYMER - Polymer_en_Anglais - - - - MODEL_DATABASE - MoDEL_DATa_Anglais - - - - Stabilise - Srabilise_Anglais - - - - Non Stabilise - Non Stabilise anglais - - - - Local - local_anglais - - - - ESSAI_OPTION - essai_option_anglais - - - - MATERIEL - mater_anglais - - - - Cable - cable_anglais - - - - Peinture - peinture_anglais - - - - Tuyauterie - tuyau_anglais - - - - Materiau_De_Cable - mat_cable_anglais - - - - PE - pe_anglais - - - - EPDM - epdm_anglais - - - - Modele - modele_anglais - - - - Objet commande commentarisé invalide - - - - - ChoixCode - - - Choix du code - Choose code - - - - Veuillez choisir un code : - Choose code : - - - - &Cancel - - - - - Validate choice - - - - - &OK - - - - - ChoixCommandes - - - DMacro - DMacro - - - - Alphabetique - alphabetic sort - - - - Par Groupe - Sort by group - - - - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Affichage</span></p></body></html> - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Order</span></p></body></html> - - - - affiche les commandes par ordre alphabetique - display commands in alphabetic order - - - - affiche les commandes selon les thèmes - display commands by thema - - - - Ordre de la modélisation - ordered by modelisation - - - - <html><head/><body><p align="center">Filtre Commande</p></body></html> - <html><head/><body><p align="center">Filters Commands</p></body></html> - - - - filter commands - filters commands - - - - affiche les régles de validité - display validity rules - - - - ... - - - - - Règles de construction - Building Rules - - - - Sensible à la casse - case-sensitive - - - - Effacer - Clear - - - - selectionne les mots qui CONTIENNENT l expression - select words that CONTAINS the filter - - - - ré-affiche toutes les commandes - re-display the list of commands - - - - DChoixCata - - - Choix d'une version du code Aster - Choose a version for code Aster - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 versions sont disponibles</span></p></body></html> - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 catalogs are available </span></p></body></html> - - - - &OK - &Ok - - - - &Cancel - &Cancel - - - - Validate choice - validate choice - - - - DSelVal - - - Sélection de valeurs - Values Selections - - - - Separateur - marker - - - - espace - space - - - - virgule - comma - - - - point-virgule - semi-colon - - - - Ajouter Selection - add selected value - - - - Importer Tout - imports all values - - - - DVisu - - - Visualisation Include Materiau - View Include - - - - Eficas - - - MainWindow - Main Window - - - - &Fichier - &File - - - - &Aide - &Help - - - - toolBar - toolBar - - - - &Nouveau - &New - - - - Ctrl+N - Ctrl+N - - - - Nouvel Include - New Include - - - - &Ouvrir - &Open - - - - Ctrl+O - Ctrl+O - - - - Enregistrer - Save - - - - Enregistrer sous - Save as - - - - Fermer - Close - - - - Ctrl+W - - - - - Fermer tout - Close all - - - - Couper - Cut - - - - Ctrl+X - Ctrl+X - - - - Copier - Copy - - - - Ctrl+C - Ctrl+C - - - - Coller - Paste - - - - Ctrl+V - Ctrl+V - - - - Quitter - Exit - - - - Ctrl+Q - Ctrl+Q - - - - Rapport de Validation - Validation Report - - - - Fichier Source - Source File - - - - Fichier Résultat - Result File - - - - Parametres Eficas - Eficas Parameters - - - - Lecteur documentation - documentation reader - - - - Eficas - Eficas - - - - Version - Version - - - - Supprimer - Delete - - - - Rechercher - Find - - - - Rechercher dans l'arbre d'etude - Find in Data Tree - - - - Ctrl+F - Ctrl+F - - - - Replier/Deplier - Expand/Collapse - - - - Execution - Run - - - - Execution - Run - - - - Patrons - Patterns - - - - Tab 1 - - - - - &Edition - &Edit - - - - &JeuDeDonnées - &Data - - - - Shift+I - - - - - Ctrl+S - - - - - Ctrl+Shift+S - - - - - Shift+V - - - - - Chercher Mot-Clef - Find Keyword - - - - Rechercher dans le catalogue - Find Keyword in Catalog - - - - Shift+F - - - - - Shift+D - - - - - Commentaire - Comment - - - - Shift+C - - - - - Paramètres - Parameters - - - - Gestion des paramètres - Managing parameters - - - - Shift+P - - - - - Parametre Eficas - Eficas Settings - - - - Save Run - Save run - - - - Run - run - - - - &bad - - - - - Régles du JdC - Rules for dataset - - - - JDCEditor - - - Save File - - - - - The file <b>%1</b> could not be saved.<br>Reason: %2 - - - - - JDC (*.comm);;All Files (*) - - - - - &Abandonner - &Cancel - - - - Tuple2 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Tuple3 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Widget4a6RadioButton - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - WidgetBloc - - - Form - - - - - WidgetCB - - - Affiche le rapport de validation du mot-clef - display validation report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetCommande - - - Affiche le rapport de validité de la commande - Display validity report for the keyword - - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - <html><head/><body><p><span style=" color:#0000ff;">command </span></p></body></html - - - - Nom de l'objet. Seuls, les objets valides peuvent être nommés - Object Name. Only valid objects can be named - - - - Lance un script associé à la commande - Run associated script - - - - ouvre un navigateur sur l'aide contextuelle - open a browser to navigate to contextual help - - - - affiche les régles de validité - display validity rules - - - - Détruit la commande - Delete the command - - - - Affiche les commandes possibles - display allowed commands - - - - &Commandes - &Commands - - - - Shift+A, Alt+A, Alt+A, Alt+A - Shift+A, Alt+A, Alt+A, Alt+A - - - - Affiche le formulaire de la commande précédente - display previous command - - - - Affiche le formulaire de la commande suivante - display next command - - - - DCommandeUnique - - - - - ... - - - - - << - - - - - >> - - - - - TextLabel - - - - - WidgetCommentaire - - - <html><head/><body><p><span style=" color:#0000ff;">Commentaire</span></p></body></html> - <html><head/><body><p><span style=" color:#0000ff;">Comment</span></p></body></html> - - - - Affiche les commandes possibles - display allowed commands - - - - Shift+A, Alt+A, Alt+A, Alt+A - Shift+A, Alt+A, Alt+A, Alt+A - - - - Détruit le commentaire - Delete the comment - - - - &Commandes - &Commands - - - - Affiche le formulaire de la commande précédente - display previous command - - - - Affiche le formulaire de la commande suivante - display next command - - - - DCommandeUnique - - - - - ... - - - - - << - - - - - >> - - - - - WidgetDate - - - Affiche le rapport de validation du mot-clef - Display validity report for keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetFact - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" font-style:italic;">TextLabel</span></p></body></html> - - - - - WidgetFactPlie - - - TextLabel - TextLabel - - - - Form - - - - - ... - - - - - WidgetHeure - - - Affiche le rapport de validation du mot-clef - Display validity report for keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><br/></p></body></html> - - - - - WidgetInformative - - - Form - - - - - WidgetOptionnel - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - <html><head/><body><p><span style=" color:#0000ff;">command </span></p></body></html - - - - WidgetOptionnel - - - - - WidgetParam - - - <html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html> - <html><head/><body><p><span style=" color:#000000;">Parameter</span></p></body></html> - - - - Détruit le commentaire - Delete the comment - - - - Affiche les commandes possibles - Display allowed commands - - - - &Commandes - &Commands - - - - Shift+A, Alt+A, Alt+A, Alt+A - Shift+A, Alt+A, Alt+A, Alt+A - - - - Affiche le formulaire de la commande précédente - Display previous command - - - - Affiche le formulaire de la commande suivante - Display next command - - - - <html><head/><body><p>Valeur: </p></body></html> - <html><head/><body><p>Value: </p></body></html< - - - - <html><head/><body><p>Nom: </p></body></html> - <html><head/><body><p>Name: </p></body></html> - - - - Verifie la valeur - Valid the value - - - - DCommandeUnique - - - - - ... - - - - - << - - - - - >> - - - - - <html><head/><body><p><br/></p></body></html> - - - - - WidgetPlusieursBase - - - Affiche le rapport de validation du mot-clef - Display validity report for keyword - - - - Remonte la ligne - up - - - - Descend la ligne - down - - - - supprime une ligne - deletes a line - - - - Ajoute une ligne - add a line - - - - Montre l'ensemble des valeurs - display all the value - - - - Sélectionne depuis Salome - from salome - - - - Visualise dans Salome - Show in salome - - - - Ouvre un fichier de sélection des valeurs - Open a file for selection - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - TextLabel - TextLabel - - - - WidgetPlusieursInto - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - WidgetPlusieursIntoOrdonne - - - Affiche le rapport de validation du mot-clef - display validity report for the keyword - - - - TextLabel - TextLabel - - - - Remonte d'une ligne - Up - - - - Descend d'une ligne - Down - - - - Détruit une ligne - Delete a line - - - - ajoute une ligne - add a line - - - - visualise l'ensemble des valeurs - show all values - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - WidgetPlusieursPlie - - - Form - - - - - Affiche le rapport de validité du mot-clef - Display validity report for the keyword - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - Détruit le mot-clef - Delete the keyword - - - - WidgetPlusieursTuple - - - Form - - - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Remonte la ligne - Up - - - - Descend la ligne - Down - - - - supprime une ligne - delete a line - - - - Ajoute une ligne - add a line - - - - Montre l'ensemble des valeurs - show all values - - - - Ouvre un fichier de sélection des valeurs - import data from a file - - - - Détruit le mot-clef - Delete the keyword - - - - TextLabel - TextLabel - - - - WidgetRadioButton - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - WidgetSDCOInto - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - <html><head/><body><p>Structures de données du type requis </p><p><br/></p></body></html> - <html><head/><body><p>Objects with the recquired type</p><p><br/></p></body></html> - - - - <html><head/><body><p>ou Nom du concept</p></body></html> - or name the object - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetSimpBase - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetSimpBool - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - True - - - - - False - - - - - WidgetSimpComplexe - - - Complexe : a+bj - Complex : a+bj - - - - Réel/Imaginaire - Real/Imaginary - - - - Module/Phase - Module/Phase - - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p align="center">OU </p></body></html> - - - - - WidgetSimpFichier - - - Affiche le rapport de validité du mot-clef - Display validity report for the keyword - - - - affiche l'explorateur de fichier - open file explorer - - - - ouvre le fichier choisi - Open the file - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetSimpTxt - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetTuple2 - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - WidgetTuple3 - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - WidgetUniqueSDCO - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Attend un objet de type CO - expect a CO Object - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetVide - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0055ff;">Label</span></p></body></html> - - - - - Attend un objet de type XXXX. Il faut le créer - object must be created - - - - baseWidget - - - DMacro - DMacro - - - - dView - - - Dialog - Dialog - - - - Fermer - Close - - - - Sauver - Save - - - - desRecherche - - - Rechercher dans le JDC - Find in JDC - - - - Suivant - Next - - - - Next - - - - - desWidgetCreeParam - - - Gestion des Paramètres - Parameters - - - - <html><head/><body><p>Nom: </p></body></html> - Name - - - - <html><head/><body><p>Valeur: </p></body></html> - Value - - - - <html><head/><body><p><span style=" text-decoration: underline;">Créer un paramètre</span></p></body></html> - <html><head/><body><p><span style=" text-decoration: underline;">New Parameter</span></p></body></html> - - - - desWidgetMatrice - - - Dialog - Dialog - - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - ... - - - - - <html><head/><body><p>Met à jour l'en-tête</p></body></html> - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - self.appliEficas - - - Wrapper Files (*.xml);;All Files (*) - - - - - Noname - - - - - viewRegles - - - Dialog - Dialog - - - diff --git a/OldCodes/UiQT4/eficas_en.ts b/OldCodes/UiQT4/eficas_en.ts deleted file mode 100644 index afe86d8a..00000000 --- a/OldCodes/UiQT4/eficas_en.ts +++ /dev/null @@ -1,5860 +0,0 @@ - - - - @default - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient to calibrate tidal velocities - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Number of corrections of distributive schemes - - - WATER_DENSITY - Water density - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Value of atmospheric pressure - - - LISTING_FOR_PRINTOUT_PERIOD - Listing for printout period - - - CONSERVATIVE_N_SCHEME - Conservative N-Scheme - - - wave_celerity_(m/s) - Wave celerity (m/s) - - - scalar_flowrate_of_fluid_(m2/s) - Scalar flowrate of fluid (m2/s) - - - constant_normal_profile - Constant normal profile - - - LAMBERT_4_CORSICA - Lambert 4 corsica - - - MERCATOR - Mercator - - - VELOCITY_DIFFUSIVITY - Velocity diffusivity - - - LINEARIZED_PROPAGATION - Linearized propagation - - - PRINTOUT_PERIOD_FOR_DROGUES - Printout period for drogues - - - BINARY_RESULTS_FILE_FORMAT - Binary results file format - - - COMPUTATION_CONTINUED - Computation continued - - - PARALLEL_PROCESSORS - Parallel processors - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient for diffusion of tracers - - - LAMBERT_3_SOUTH - Lambert 3 south - - - DIAMETER_OF_ALGAE - Diameter of algae - - - FRICTION_DATA_FILE - Friction data file - - - Real_tide_(recommended_methodology) - Real tide (recommended methodology) - - - NAMES_OF_POINTS - Names of points - - - GIGARTINA_LEPTORHYNCHOS - Gigartina leptorhynchos - - - STOP_CRITERIA - Stop criteria - - - Roe_scheme - Roe scheme - - - FINITE_VOLUME_SCHEME - Finite volume scheme - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Implicitation coefficient of tracers - - - gradient_simple - Gradient simple - - - SPATIAL_PROJECTION_TYPE - Spatial projection type - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Physical characteristics of the tsunami - - - direct - Direct - - - zero - Zero - - - FRICTION_COEFFICIENT - Friction coefficient - - - BREACHES_DATA_FILE - Breaches data file - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 for law of tracers degradation - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Treatment of fluxes at the boundaries - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Global number of the point to calibrate high water - - - REFERENCE_FILE_FORMAT - Reference file format - - - conjugate_residual - Conjugate residual - - - BOTTOM_SURFACES_DELWAQ_FILE - Bottom surfaces DELWAQ file - - - N_SCHEME_FOR_TIDAL_FLATS - N-Scheme for tidal flats - - - NO_FRICTION - No friction - - - no_preconditioning_ - No preconditioning - - - CONTINUITY_CORRECTION - Continuity correction - - - F(T90)_LAW - F(T90) law - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Free surface gradient compatibility - - - gmres - GMRES - - - strong - Strong - - - 1/h_div_(_h_nu_grad(U) - 1/h div ( h nu grad(U) - - - SMAGORINSKI - Smagorinski - - - NAMES_OF_PRIVATE_VARIABLES - Names of private variables - - - NODES_DISTANCES_DELWAQ_FILE - Nodes distances DELWAQ file - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Scheme option for advection of tracers - - - MERCATOR_FOR_TELEMAC - Mercator for telemac - - - TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL - Time step reduction for K-Epsilon model - - - quasi_bubble - Quasi-bubble - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Non-dimensional dispersion coefficients - - - classical_EBE - Classical ebe - - - IMPLICIT_NON_CONSERVATIVE_N_SCHEME - Implicit non conservative n scheme - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - DIFFUSIVITY_FOR_DELWAQ - Diffusivity for DELWAQ - - - Q(Z)_not_programmed - Q(Z) not programmed - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Dissipation coefficient for secondary currents - - - ALGAE_TRANSPORT_MODEL - Algae transport model - - - TOLERANCES_FOR_IDENTIFICATION - Tolerances for identification - - - WGS84_SOUTHERN_UTM - WGS84 southern utm - - - air_pressure_(Pa) - Air pressure (Pa) - - - No_model - No model - - - DELWAQ_PRINTOUT_PERIOD - DELWAQ printout period - - - DROGUES_FILE - Drogues file - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping for weak characteristics - - - GRAVITY_ACCELERATION - Gravity acceleration - - - BINARY_DATABASE_2_FOR_TIDE - Binary database 2 for tide - - - 6_points - 6 points - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Time range for fourier analysis - - - EDGE_BASED_N_SCHEME - Edge-based N-Scheme - - - Priority_to_fluxes - Priority to fluxes - - - LAMBERT_1_NORTH - Lambert 1 north - - - velocity_proportional_to_square_root_of_depth - Velocity proportional to square root of depth - - - STRICKLER - Strickler - - - LAMBERT_2_EXTENDED - Lambert 2 extended - - - ELEMENTS_MASKED_BY_USER - Elements masked by user - - - NAMES_OF_TRACERS - Names of tracers - - - H_CLIPPING - H clipping - - - conjugate_residuals - Conjugate residuals - - - PARAMETER_ESTIMATION - Parameter estimation - - - CHECKING_THE_MESH - Checking the mesh - - - SOLVER_FOR_K_EPSILON_MODEL - Solver for K-Epsilon model - - - LIST_OF_FILES - List of files - - - Wave_equation - Wave equation - - - NAMES_OF_CLANDESTINE_VARIABLES - Names of clandestine variables - - - WAQTEL_STEERING_FILE - Waqtel steering file - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum number of iterations for advection schemes - - - squared_conjugate_gradient - Squared conjugate gradient - - - LAW_OF_BOTTOM_FRICTION - Law of bottom friction - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Accuracy for diffusion of tracers - - - cgstab - CGSTAB - - - MANNING - Manning - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Scheme for advection of tracers - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option for the solver for K-Epsilon model - - - conjugate_gradient_squared_stabilised_(cgstab) - Conjugate gradient squared stabilised (CGSTAB) - - - PELVETIOPSIS_LIMITATA - Pelvetiopsis limitata - - - LIKE_1_BUT_WITH_POROSITY_(DEFINA_METHOD) - Like 1 but with porosity (defina method) - - - FRICTION_DATA - Friction data - - - TUBES_DATA_FILE - Tubes data file - - - ZONES_FILE - Zones file - - - Mean_tide - Mean tide - - - DENSITY_EFFECTS - Density effects - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Threshold depth for receding procedure - - - explicit - Explicit - - - DRY_ELEMENTS_FROZEN - Dry elements frozen - - - extrapolation - Extrapolation - - - conjugate_gradient_on_normal_equation - Conjugate gradient on normal equation - - - TREATMENT_OF_NEGATIVE_DEPTHS - Treatment of negative depths - - - STEERING_FILE - Steering file - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Zone number in geographic system - - - DIFFUSION_OF_TRACERS - Diffusion of tracers - - - PREVIOUS_COMPUTATION_FILE - Previous computation file - - - DIAMETER_OF_ROUGHNESS_ELEMENTS - Diameter of roughness elements - - - friction_velocity - Friction velocity - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Newmark time integration coefficient - - - TOMAWAC_STEERING_FILE - TOMAWAC steering file - - - CONSTANT_VISCOSITY - Constant viscosity - - - INITIAL_DEPTH - Initial depth - - - WATER_QUALITY - Water quality - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum number of iterations for diffusion of tracers - - - ANGLAIS - Anglais - - - EQUATIONS_SOLVED_EVERYWHERE_WITH_CORRECTION_ON_TIDAL_FLATS - Equations solved everywhere with correction on tidal flats - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Law of friction on lateral boundaries - - - COUPLING_PERIOD_FOR_SISYPHE - Coupling period for sisyphe - - - NON_CONSERVATIVE_PSI_SCHEME - Non conservative PSI scheme - - - STAGE_DISCHARGE_CURVES_FILE - Stage-discharge curves file - - - INITIAL_CONDITIONS - Initial conditions - - - predictor_corrector - Predictor-corrector - - - LAMBERT - Lambert - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option for the diffusion of tracers - - - ACCURACY_OF_EPSILON - Accuracy of epsilon - - - THRESHOLD_DEPTH_FOR_WIND - Threshold depth for wind - - - SOLVER_ACCURACY - Solver accuracy - - - TURBULENCE_MODEL_FOR_SOLID_BOUNDARIES - Turbulence model for solid boundaries - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - VALIDATION - Validation - - - tracer - Tracer - - - TIDE_GENERATING_FORCE - Tide generating force - - - SUPG - SUPG - - - PRESCRIBED_FLOWRATES - Prescribed flowrates - - - Mean_spring_tide - Mean spring tide - - - BINARY_DATABASE_1_FOR_TIDE - Binary database 1 for tide - - - LAW_OF_TRACERS_DEGRADATION - Law of tracers degradation - - - SECTIONS_INPUT_FILE - Sections input file - - - MINIMUM_VALUE_OF_DEPTH - Minimum value of depth - - - No_tide - No tide - - - SPACING_OF_ROUGHNESS_ELEMENTS - Spacing of roughness elements - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Scheme option for advection of K-epsilon - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - COLEBROOK_WHITE - Colebrook-white - - - MINOR_CONSTITUENTS_INFERENCE - Minor constituents inference - - - CARTESIAN,_NOT_GEOREFERENCED - Cartesian, not georeferenced - - - No_Tsunami - No tsunami - - - drift_along_x_(m) - Drift along X (m) - - - UTM_ZONE,_E.G. - Utm zone, e.g. - - - CONSERVATIVE_PSI_SCHEME - Conservative PSI-Scheme - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Previous computation file format - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Values of the tracers at the sources - - - linear - Linear - - - BINARY_RESULTS_FILE - Binary results file - - - diagonal - Diagonal - - - EXCHANGE_AREAS_DELWAQ_FILE - Exchange areas DELWAQ file - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation for diffusion of velocity - - - conjugate_gradient - Conjugate gradient - - - WGS84_NORTHERN_UTM - WGS84 northern utm - - - WEIRS_DATA_FILE - Weirs data file - - - IMPLICITATION_FOR_VELOCITY - Implicitation for velocity - - - DEFINITION_OF_ZONES - Definition of zones - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum number of iterations for K and Epsilon - - - MEAN_DEPTH_FOR_LINEARIZATION - Mean depth for linearization - - - 3_points - 3 points - - - wind_along_y_axis_(m/s) - Wind along Y axis (m/s) - - - div(_nu_grad(T)_) - Div( nu grad(t) ) - - - minimum_error - Minimum error - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Scheme option for advection of velocities - - - DESIRED_COURANT_NUMBER - Desired courant number - - - flowrate_along_x_axis_(m2/s) - Flowrate along X axis (m2/s) - - - SUPG_OPTION - SUPG option - - - 1/h_div_(_h_nu_grad(T) - 1/h div ( h nu grad(t) - - - crout - Crout - - - conjugate_gradient_squared - Conjugate gradient squared - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Stop if a steady state is reached - - - DEFAULT_PARALLEL_EXECUTABLE - Default parallel executable - - - INFORMATION_ABOUT_SOLVER - Information about solver - - - K_EPSILON_MODEL - K-Epsilon model - - - AIR_PRESSURE - Air pressure - - - RESULTS_FILE - Results file - - - VERTICAL_FLUXES_DELWAQ_FILE - Vertical fluxes DELWAQ file - - - DELWAQ_STEERING_FILE - DELWAQ steering file - - - wind_along_x_axis_(m/s) - Wind along X axis (m/s) - - - Lagrange_interp. - Lagrange interp. - - - MASS_BALANCE - Mass-balance - - - turbulent_viscosity_(m2/s) - Turbulent viscosity (m2/s) - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option for tidal boundary conditions - - - ADVECTION_OF_TRACERS - Advection of tracers - - - DIFFUSION_OF_VELOCITY - Diffusion of velocity - - - scalar_velocity_(m/s) - Scalar velocity (m/s) - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient of wind influence - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Production coefficient for secondary currents - - - HLLC_scheme_order_1 - HLLC scheme order 1 - - - RESULTS_FILE_FORMAT - Results file format - - - COUPLING_PERIOD_FOR_TOMAWAC - Coupling period for TOMAWAC - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Maximum number of friction domains - - - DURATION - Duration - - - BINARY_DATA_FILE_2_FORMAT - Binary data file 2 format - - - HORIZONTAL_WITH_SAME_NUMBER_OF_NODES_UPSTREAM/DOWNSTREAM - Horizontal with same number of nodes upstream/downstream - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option for the diffusion of velocities - - - MASS_LUMPING_ON_TRACERS - Mass-lumping on tracers - - - NORTH - North - - - RAIN_OR_EVAPORATION - Rain or evaporation - - - FRANCAIS - Francais - - - PARTITIONING_TOOL - Partitioning tool - - - FORMATTED_RESULTS_FILE - Formatted results file - - - VERTICAL_STRUCTURES - Vertical structures - - - OPTION_FOR_TSUNAMI_GENERATION - Option for tsunami generation - - - VARIABLE_TIME_STEP - Variable time-step - - - IRIDAEA_FLACCIDA_(CLOSE_TO_ULVA) - Iridaea flaccida (close to ulva) - - - PROPAGATION_OPTION - Propagation option - - - REFERENCE_FILE - Reference file - - - TIDAL_DATA_BASE - Tidal data base - - - INITIAL_ELEVATION - Initial elevation - - - average - Average - - - STOCHASTIC_DIFFUSION_MODEL - Stochastic diffusion model - - - FORTRAN_FILE - Fortran file - - - BREACH - Breach - - - Z(Q) - Z(Q) - - - NO_DEFAULT_VALUE - No default value - - - no_preconditioning - No preconditioning - - - TIME_STEP - Time step - - - rough - Rough - - - SALINITY_DELWAQ_FILE - Salinity DELWAQ file - - - IMPLICITATION_FOR_DEPTH - Implicitation for depth - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Number of lagrangian drifts - - - TEMPERATURE_FOR_DELWAQ - Temperature for DELWAQ - - - GENERAL - General - - - SECONDARY_CURRENTS - Secondary currents - - - PRECONDITIONING - Preconditioning - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Manning default value for colebrook-white law - - - ADVECTION_OF_H - Advection of H - - - DEBUGGER - Debugger - - - LATITUDE_OF_ORIGIN_POINT - Latitude of origin point - - - PRESCRIBED_TRACERS_VALUES - Prescribed tracers values - - - RECORD_NUMBER_FOR_RESTART - Record number for restart - - - turbulent_viscosity_of_k_epsilon_model_(m2/s) - Turbulent viscosity of K-epsilon model (m2/s) - - - LISTING_PRINTOUT - Listing printout - - - CORIOLIS_COEFFICIENT - Coriolis coefficient - - - TURBULENCE_MODEL - Turbulence model - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Number of first time step for listing printouts - - - PRINTING_CUMULATED_FLOWRATES - Printing cumulated flowrates - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - variable_in_time_and_space_given_by_formated_file - Variable in time and space given by formated file - - - CONTROL_SECTIONS - Control sections - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solver for diffusion of tracers - - - SECTIONS_OUTPUT_FILE - Sections output file - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Number of sub-steps of distributive schemes - - - UPWIND_COEFFICIENTS - Upwind coefficients - - - time_of_maximum_elevation - Time of maximum elevation - - - ALGAE_TYPE - Algae type - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Rain or evaporation in mm per day - - - FORMATTED_DATA_FILE_1 - Formatted data file 1 - - - FORMATTED_DATA_FILE_2 - Formatted data file 2 - - - C_U_PRECONDITIONING - C-U preconditioning - - - LIST_OF_POINTS - List of points - - - WGS84_LONGITUDE/LATITUDE_IN_REAL_DEGREES - WGS84 longitude/latitude in real degrees - - - MISCELLANEOUS_(LEGOS_NEA,_FES20XX,_PREVIMER...) - Miscellaneous (LEGOS-NEA, FES20XX, PREVIMER...) - - - conj_gradient - Conj gradient - - - weak - Weak - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Scheme for advection of velocities - - - gmres_(see_option_for_the_solver_for_k_epsilon_model) - GMRES (see option for the solver for K-Epsilon model) - - - NO_ADVECTION - No advection - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Number of first time step for graphic printouts - - - DEPTH_IN_FRICTION_TERMS - Depth in friction terms - - - FOURIER_ANALYSIS_PERIODS - Fourier analysis periods - - - EQUATIONS - Equations - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum number of iterations for identification - - - WIND - Wind - - - SPEED_AND_DIRECTION_OF_WIND - Speed and direction of wind - - - TYPE_OF_SOURCES - Type of sources - - - TITLE - Title - - - MASS_LUMPING_ON_H - Mass-lumping on H - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Number of sub-iterations for non-linearities - - - PSI_SCHEME_OPTION - Psi scheme option - - - LIQUID_BOUNDARIES_FILE - Liquid boundaries file - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Velocities of the sources along X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Velocities of the sources along Y - - - CHARACTERISTICS - Characteristics - - - BOTTOM_SMOOTHINGS - Bottom smoothings - - - SALINITY_FOR_DELWAQ - Salinity for DELWAQ - - - OPTION_FOR_CHARACTERISTICS - Option for characteristics - - - MAXIMUM_NUMBER_OF_TRACERS - Maximum number of tracers - - - maximum_velocity - Maximum velocity - - - FREE_INTEGER_20 - Free integer 20 - - - ZERO - Zero - - - OPTION_FOR_WIND - Option for wind - - - BINARY_DATA_FILE_1 - Binary data file 1 - - - BINARY_DATA_FILE_2 - Binary data file 2 - - - free_surface_elevation_(m) - Free surface elevation (m) - - - PRESCRIBED_VELOCITIES - Prescribed velocities - - - water_depth_(m) - Water depth (m) - - - VELOCITY_DELWAQ_FILE - Velocity DELWAQ file - - - kinetic_order_2 - Kinetic order 2 - - - kinetic_order_1 - Kinetic order 1 - - - coupled - Coupled - - - LAMBERT_2_CENTER - Lambert 2 center - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Compatible computation of fluxes - - - Astronomical_neap_tide - Astronomical neap tide - - - NUMBER_OF_TRACERS - Number of tracers - - - Dirac - Dirac - - - COUPLING_DIRECTORY - Coupling directory - - - DEFAULT_EXECUTABLE - Default executable - - - GEOMETRY_FILE - Geometry file - - - DICTIONARY - Dictionary - - - WAF_scheme_order_2 - WAF scheme order 2 - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Information about K-Epsilon model - - - OIL_SPILL_STEERING_FILE - Oil spill steering file - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - DIFFUSIVITY_DELWAQ_FILE - Diffusivity DELWAQ file - - - Thompson_method_based_on_characteristics - Thompson method based on characteristics - - - DESCRIPTION_OF_LIBRARIES - Description of libraries - - - NUMBER_OF_WEIRS - Number of weirs - - - SPHERE - Sphere - - - Computed_with_c,u,v - Computed with C,U,V - - - Astronomical_tide - Astronomical tide - - - velocity_along_y_axis_(m/s) - Velocity along Y axis (m/s) - - - CULVERT_DATA_FILE - Culvert data file - - - bottom_elevation_(m) - Bottom elevation (m) - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Exchanges between nodes DELWAQ file - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Solver option for tracers diffusion - - - INITIAL_VALUES_OF_TRACERS - Initial values of tracers - - - flowrate_along_y_axis_(m2/s) - Flowrate along Y axis (m2/s) - - - NUMBER_OF_TUBES - Number of tubes - - - LONGITUDE_OF_ORIGIN_POINT - Longitude of origin point - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum number of iterations for solver - - - CORIOLIS - Coriolis - - - ADVECTION - Advection - - - Edge_based_storage - Edge-based storage - - - EXPLICIT_+_MURD_SCHEME_PSI - Explicit + murd scheme PSI - - - previous - Previous - - - ABSCISSAE_OF_SOURCES - Abscissae of sources - - - VECTOR_LENGTH - Vector length - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - COUPLING_WITH - Coupling with - - - CHEZY - CHEZY - - - variable_in_time_given_by_formated_file - Variable in time given by formated file - - - WATER_DISCHARGE_OF_SOURCES - Water discharge of sources - - - ADVECTION_OF_U_AND_V - Advection of U and V - - - Zokagoa_scheme_order_1 - Zokagoa scheme order 1 - - - DEFINED_BY_USER - Defined by user - - - LATITUDE_LONGITUDE - Latitude longitude - - - VOLUMES_DELWAQ_FILE - Volumes DELWAQ file - - - VELOCITY_FOR_DELWAQ - Velocity for DELWAQ - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Roughness coefficient of boundaries - - - TPXO - TPXO - - - INITIAL_TIME_SET_TO_ZERO - Initial time set to zero - - - EXPLICIT_+_SUPG - Explicit + SUPG - - - INITIAL_GUESS_FOR_U - Initial guess for U - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Scheme for advection of K-epsilon - - - NO_DEGRADATION - No degradation - - - TEMPERATURE_DELWAQ_FILE - Temperature DELWAQ file - - - Froude_number - Froude number - - - classical - Classical - - - nombre_de_courants_ - Nombre de courants - - - SOURCES_FILE - Sources file - - - LOG_LAW - Log law - - - CONTROL_OF_LIMITS - Control of limits - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Number of Gauss points for weak characteristics - - - TYPE_OF_WEIRS - Type of weirs - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Threshold for negative depths - - - velocity_proportional_to_square_root_of_depth,_variant - Velocity proportional to square root of depth, variant - - - VELOCITY_PROFILES - Velocity profiles - - - LANGUAGE - Language - - - STAGE_DISCHARGE_CURVES - Stage-discharge curves - - - Courant_number_ - Courant number - - - COST_FUNCTION - Cost function - - - JMJ - JMJ - - - ORIGIN_COORDINATES - Origin coordinates - - - RECORD_NUMBER_IN_WAVE_FILE - Record number in wave file - - - tracer_1_etc. - Tracer 1 etc. - - - TYPE_OF_ADVECTION - Type of advection - - - WIND_VELOCITY_ALONG_X - Wind velocity along X - - - WIND_VELOCITY_ALONG_Y - Wind velocity along Y - - - MAXIMUM_NUMBER_OF_SOURCES - Maximum number of sources - - - HAALAND - HAALAND - - - div(_nu_grad(U)_) - Div( nu grad(U) ) - - - DISCRETIZATIONS_IN_SPACE - Discretizations in space - - - SISYPHE_STEERING_FILE - Sisyphe steering file - - - ADVECTION_OF_K_AND_EPSILON - Advection of K and epsilon - - - NUMBER_OF_CULVERTS - Number of culverts - - - RELEASE - Release - - - list_of_tests - List of tests - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditioning for diffusion of tracers - - - EXPLICIT_LEO_POSTMA - Explicit Leo Postma - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Local number of the point to calibrate high water - - - Tchamen_scheme_order_1 - Tchamen scheme order 1 - - - supplementary_variable_O - Supplementary variable o - - - WAVE_ENHANCED_FRICTION_FACTOR - Wave enhanced friction factor - - - ELDER - Elder - - - supplementary_variable_N - Supplementary variable n - - - gauss_seidel - Gauss-Seidel - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Treatment of the linear system - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - normal_velocity_given_in_ubor_in_the_conlim_file - Normal velocity given in ubor in the conlim file - - - DENSITY_OF_ALGAE - Density of algae - - - NON_SUBMERGED_VEGETATION_FRICTION - Non-submerged vegetation friction - - - TIDAL_FLATS - Tidal flats - - - diagonal_and_crout - Diagonal and Crout - - - HARMONIC_CONSTANTS_FILE - Harmonic constants file - - - Priority_to_prescribed_values - Priority to prescribed values - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - Normal - Normal - - - nodal - Nodal - - - PRESCRIBED_ELEVATIONS - Prescribed elevations - - - LIMIT_VALUES - Limit values - - - quadratic - Quadratic - - - ORDINATES_OF_SOURCES - Ordinates of sources - - - Real_tide_(methodology_before_2010) - Real tide (methodology before 2010) - - - NUMBER_OF_DROGUES - Number of drogues - - - maximum_elevation - Maximum elevation - - - dissipation_of_turbulent_energy_(W/kg) - Dissipation of turbulent energy (W/kg) - - - PROPAGATION - Propagation - - - constant_in_time_and_space - Constant in time and space - - - Mean_neap_tide - Mean neap tide - - - gmres_(see_option_for_the_solver_for_tracer_diffusion) - GMRES (see option for the solver for tracer diffusion) - - - SOLVER_OPTION - Solver option - - - MATRIX_STORAGE - Matrix storage - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient to calibrate tidal range - - - brownian_movement - Brownian movement - - - SOLVER - Solver - - - smooth - Smooth - - - turbulent_kinetic_energy_in_k_epsilon_model_(J/kg) - Turbulent kinetic energy in K-Epsilon model (W/kg) - - - NIKURADSE - Nikuradse - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditioning for K-Epsilon model - - - drift_along_y_(m) - Drift along Y (m) - - - velocity_along_x_axis_(m/s) - Velocity along X axis (m/s) - - - LEO_POSTMA_FOR_TIDAL_FLATS - Leo Postma for tidal flats - - - block_diagonal_(4_9_matrices) - Block-diagonal (4-9 matrices) - - - Computed_with_h,u,v - Computed with H,U,V - - - ACCURACY_OF_K - Accuracy of K - - - WATER_QUALITY_PROCESS - Water quality process - - - OPTION_FOR_LIQUID_BOUNDARIES - Option for liquid boundaries - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient to calibrate sea level - - - INITIAL_GUESS_FOR_H - Initial guess for H - - - SPHERICAL_COORDINATES - Spherical coordinates - - - no - No - - - THICKNESS_OF_ALGAE - Thickness of algae - - - MEAN_TEMPERATURE - Mean temperature - - - IDENTIFICATION_METHOD - Identification method - - - friction_coefficient - Friction coefficient - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping on velocity - - - time_of_maximum_velocity - Time of maximum velocity - - - VALUES_OF_TRACERS_IN_THE_RAIN - Values of tracers in the rain - - - supplementary_variable_Z - Supplementary variable Z - - - supplementary_variable_R - Supplementary variable R - - - EXPLICIT_+_MURD_SCHEME_N - Explicit + murd Scheme N - - - conjugate_gradient_on_a_normal_equation - Conjugate gradient on a normal equation - - - WAVE_DRIVEN_CURRENTS - Wave driven currents - - - Tsunami_generated_on_the_basis_of_the_Okada_model_1992 - Tsunami generated on the basis of the Okada model 1992 - - - ASCII_DATABASE_FOR_TIDE - ASCII database for tide - - - OIL_SPILL_MODEL - Oil spill model - - - 1_point - 1 point - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - GEOGRAPHIC_SYSTEM - Geographic system - - - TIDAL_MODEL_FILE - Tidal model file - - - absolute_value_of_diagonal - Absolute value of diagonal - - - u_and_v_given_in_the_conlim_file - U and V given in the conlim file - - - - lecture du fichier impossible : - unable to read file : - - - - Impossible d'ouvrir le fichier %s - unable to open file %s - - - - Impossible de convertir le fichier Python qui doit contenir des erreurs. - - On retourne le fichier non converti. Prevenir la maintenance. - - %s - Unable to translate the file. it probably contains mistake -ask eficas team -%s - - - - Format de sortie : %s, non supporte - Unsupported format %s - - - - Impossible d'ouvrir le fichier : %s - unable to open file: %s - - - - Erreur ! Erreur ! - Error! - - - - Erreur rencontree dans recherche_enfants : %s - Error in recherche_enfants : %s - - - - Erreur dans la creation du mot-cle : %s - Error when creating %s - - - - Impossible d'ouvrir le fichier : %s - unable to open file : %s - - - - le texte a analyser n'est pas celui d'une commande ou d'un operateur : - text is no eficas text: - - - - Erreur dans la recherche du nom de la commande : - error when searching command's name : - - - - Erreur dans la recherche des args de la commande : - error when searching argument's command : - - - - Erreur dans la recherche du nom de la commande : - error when searching command's name : - - - - Erreur dans la recherche des args de la commande : - error when searching argument's command : - - - - %d n'est pas un index valide pour append_brother - %d is not a valid index for append-brother - - - - le fichier de commandes %s n'existe pas - commands file %s does not exist - - - - un fichier de commandes doit etre defini avant une poursuite %s - You have to define principal commands file before a secondary (poursuite) file %s - - - - le fichier poursuite %s n'existe pas - the secondary (poursuite) file does not exist - - - - include mal defini %s - include is not correct %s - - - - un fichier de commandes doit etre defini avant un include %s - You have to define principal commands file before include %s - - - - le fichier include %s n'existe pas - include file does not exist - - - - jdc %(v_1)s, le fichier - de commandes %(v_2)s n'existe pas - v_1 - jdc %(v_1)s : .comm %(v_2)s does not exist - - - - le fichier jdc %s n'existe pas - file %s does not exist - - - - jdc %s manque option jdc dans section jdc - jdc %s does not have jdc option in command line - - - - %(v_1)s include %(v_2)s : %(v_3)s - v_1 - %(v_1)s include %(v_2)s : %(v_3)s - - - - %(v_1)s fichier poursuite: %(v_2)s - v_1 - %(v_1)ssecondary (poursuite) file %(v_2)s - - - - nom etude : %s - study's name : %s - - - - utilisation : %prog [options] - use : %prog[options] - - - - nom du fichier de commandes - principal .comm file's name - - - - nom du fichier poursuite - secondary (poursuite) file's name - - - - numero d'unite suivi du nom du fichier include - unit number and include file's name - - - - fichier decrivant une etude - file containing a study - - - - version de catalogue a utiliser - catalog's version - - - - nom du code a utiliser - code's name - - - - niveau de debug - debug level - - - - schema - schema - - - - Nombre incorrect d'arguments - incorrect number of arguments - - - - Localisation specifiee pour l'application. - specified localization for the application. - - - - Impossible de transferer les fichiers requis dans : %s - unable to transfer files to : %s - - - - Erreur - error - - - - Erreurs fatales - fatale error - - - - Impossible reconstruire commande - - unable to construct command - - - - Objet commentaire non valorise - comment object has no value - - - - Debut Fonction %s - start function %s - - - - Fin Fonction %s - end function %s - - - - Nom de concept deja defini : %s - Concept's name %s is already existing - - - - Longueur incorrecte - incorrect length - - - - L'attribut 'min' doit etre un entier : - min must be an integer : - - - - L'attribut 'max' doit etre un entier : - max must be an integer : - - - - Nombres d'occurrence min et max invalides : - min and max are invalid: - - - - L'attribut 'fr' doit etre une chaine de caracteres - 'fr' must be a string - - - - L'attribut 'statut' doit valoir 'o','f','c' ou 'd' - values for statut arguments are : 'o','f','c' or 'd' - - - - L'attribut 'docu' doit etre une chaine de caracteres - docu must be a string - - - - Fin - end - - - - Le parametre EVAL %s ne peut valoir None - None is not a valid value for Eval parameter %s - - - - Pas de nom donne au parametre EVAL - No name for parameter EVAL - - - - Un nom de parametre ne peut depasser 8 caracteres - parameter's name can not exceed 8 characters - - - - Un concept de nom %s existe deja ! - Concept's name %s is already existing! - - - - ERREUR - ERROR - - - - Format pas implemente : %s - format : %s not implemented - - - - Type d'objet non prevu : %s - object type not expected : %s - - - - ce groupe de maillage %s est associe a au moins un materiau et au moins une source. - mesh group %s is associated with at least one material and at least a source. - - - - ce groupe de maillage %s n'est associe a aucun materiau ou source. - mesh group %s is associated with no material or no source. - - - - ATTENTION! Une source constante n'est possible qu'a frequence nulle en regime frequentiel - - - - - toutes les donnees ne sont pas connues - all data are not available - - - - Fichier patron %s n'existe pas. - pattern file %s does not exist. - - - - Pas supporte - not implemented - - - - Entite inconnue ou interdite :%s - Unknown or unsupported entity : %s - - - - Entite inconnue ou interdite :%s. Elle est ignoree - Unknown or unsupported entity : %s. ignored - - - - Les tuples ne sont pas supportes pour le format ini :%s - Tuple are not allowed for format ini : %s - - - - Type de valeur non supportee par le format ini :%(nom)s -%(exception)s - nom - Unsupported type of value for .ini format %(nom)s -%(exception)s - - - - Il y a un pb a la Creation du XML - problem when creating XML - - - - Il y a un pb a la Creation du STD - problem when creating STD - - - - Entite inconnue ou interdite : %s. Elle est ignoree - unkown ou unsupported entity : %s. ignored - - - - Tag %s non-defini. Ceci est un bogue interne. en informer les developpeurs. - Tag %s not defined. Ask developpeurs team. - - - - Le mot-cle %s est obligatoire. - mandatory keyword : %s. - - - - concept %(inst_name)s de type %(class_name)s - inst_name - concept %(inst_name)s of type %(class_name)s - - - - Un nom de concept doit etre un identificateur Python - concept's name must be a python identifier - - - - Concept existant - allready existing concept - - - - Operateur reentrant mais concept non existant - operator 'reentrant' but concept does not exist - - - - Operateur reentrant et concept existant trouve - Operator 're-entrant' and concept exists - - - - Concept deja existant et de mauvais type - already existing concept of not supported type - - - - Nommage du concept refuse : un concept de meme nom existe deja - Name is refused : already existing concept - - - - Nommage du concept effectue - Concept named - - - - Nommage impossible %s - unable to name %s - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese ouvrante manquante - formula expects a list of arguments : no left parenthesis - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese fermante manquante - formula expects a list of arguments : no right parenthes - - - - Pas de nom donne a la FORMULE - no name given - - - - Un nom de FORMULE ne peut depasser 8 caracteres - name too long (8 characters max) - - - - Un nom de FORMULE ne peut pas commencer par un chiffre - name does not begin with a figure - - - - Le type de la valeur retournee n'est pas specifie - no type is specified for the return value - - - - Une formule ne peut retourner une valeur de type : %s - impossible to return a value of type : %s - - - - Impossible d'ajouter la commande - unable to add the keyword (commande) - - - - Impossible d ajouter la commande - unable to add the keyword (commande) - - - - Pas implemente - not implemented - - - - Nom de concept deja defini - already defined concept - - - - Nom de concept deja defini : - already defined concept : - - - - Impossible de trouver le fichier correspondant a l'unite - unable to find file corresponding to unit - - - - n'est pas un fichier existant - is not an existing file - - - - Fichier invalide %s - invalid file %s - - - - Impossible de construire le jeu de commandes correspondant au fichier - unable to create the jdc corresponding to the file - - - - Erreur lors de l'evaluation du fichier inclus - Error when reading the 'include' file - - - - Ce fichier ne sera pas pris en compte - %s - the file is ignored -%s - - - - Ce fichier ne sera pas pris en compte -Le fichier associe n'est pas defini - the file is ignored : associated file is not defined - - - - Le fichier n est pas defini - file is not defined - - - - le fichier doit contenir une unique variable de sortie - file must declare a single output variable - - - - Fichier invalide - invalid file - - - - Le contenu de ce fichier ne sera pas pris en compte - %s - the file will be ignored : -%s - - - - Le fichier INCLUDE n est pas defini - include file is not defined - - - - Le contenu de ce fichier ne sera pas pris en compte - - file will be ignored - - - - - Erreur lors de l'evaluation du fichier poursuite - Error when creating secondary (poursuite) file - - - - L'objet %(v_1)s ne peut etre un fils de %(v_2)s - v_1 - Object %(v_1)s can not be a child for %(v_2)s - - - - L'objet %s ne peut pas etre repete - Object %s can not be repeated - - - - Erreur - mclist inexistante : %s - Error - mclist does not exist : %s - - - - Erreur - mot cle facteur de nom : %s - Error - keyword "mot-clef facteur" nammed : %s - - - - traitement non-prevu - unexpected task - - - - L'objet %s ne peut pas etre ajoute - Object %s cannot be add - - - - None n'est pas une valeur autorisee - None is not a valid value - - - - un concept de meme nom existe deja - concept already exists - - - - Concept cree - concept created - - - - La matrice n'est pas une matrice %(n_lign)d sur %(n_col)d - n_lign - matrix is not a %(n_lign)d x %(n_col)d matrix - - - - Decommenter - uncomment - - - - Decommente la commande - uncomment the command - - - - Impossible de supprimer un mot-cle obligatoire - mandatory keyword cannot be deleted - - - - Mot-cle %s supprime - Keyword %s deleted - - - - Pb interne : impossible de supprimer ce mot-cle - internal problem : unable to delete keyword - - - - Commentaire supprime - comment is deleted - - - - Commande %s supprimee - command %s is deleted - - - - Pb interne : impossible de supprimer cet objet - internal problem : unable to delete object - - - - Le fichier de commande n'a pas pu etre converti pour etre editable par Eficas - - - unable to convert .comm file in order to open it with Eficas - - - - Include vide - include file is empty - - - - L'include doit etre correctement initialise pour etre visualise - include file must be correct - - - - Impossible de supprimer ce mot-clef - unable to delete this keyword - - - - View3D - View3D - - - - affiche dans Geom les elements de structure - diplay SE in Geom - - - - Graphique - graphic - - - - affiche la distribution - display distribution - - - - Impossible de supprimer un mot-clef obligatoire - unable to delete a mandatory keyword - - - - Mot-clef %s supprime - Keyword %s is deleted - - - - Definition d'un parametre - defines a parameter - - - - Import du fichier de Configuration - import configuration file - - - - Erreur a la lecture du fichier de configuration %s - Error when reading configuration file - - - - Erreur fatale au chargement de %s - fatal error when loading %s - - - - Erreur fatale au chargement d'un fichier - Fatal error when loading file - - - - fichier modifie - file updated - - - - Attention! fichier change hors EFICAS - Warning ! this file was modified outside Eficas - - - - Type de fichier non reconnu - unsupported file type - - - - EFICAS ne sait pas ouvrir le type de fichier %s - Eficas is not able to open this file's type : %s - - - - EFICAS ne sait pas ouvrir ce type de fichier - Eficas is not able to open this file's type - - - - Copie impossible - unable to copy - - - - Veuillez selectionner un objet a copier - you have to select an object to copy - - - - Veuillez selectionner un seul objet : la copie se fera apres le noeud selectionne - You have to select a single object : copy will be done after the selected node - - - - Aucun Objet n a ete copie ou coupe - No object was cut or copied - - - - Copie refusee - rejected copy - - - - Eficas n a pas reussi a copier l objet - Eficas cannot copy this object - - - - Copie refusee pour ce type d objet - Copy rejected : bad object type - - - - Deplacement refuse - move rejected - - - - Deplacement refuse entre 2 fichiers. Seule la copie est autorisee - move rejected. no move between two files : only copy is available - - - - Copie impossible a cet endroit - unable to copy here - - - - Veuillez selectionner une commande, un parametre, un commentaire ou une macro - select a command; a parameter, a comment or a macro - - - - Choix d'un fichier XML - Choice of XML file - - - - Ouvrir Fichier - Open file - - - - Erreur a la generation - Error when generating - - - - EFICAS ne sait pas convertir ce JDC - Eficas is unable to convert JDC - - - - Format %s non reconnu - not supported format %s - - - - Execution impossible - Unable to execute - - - - le JDC doit etre valide pour une execution MAP - JDC has to be valid before run - - - - le JDC doit contenir un et un seul composant - JDC must contains a single componant - - - - sauvegarde - save - - - - Sauvegarde du Fichier - save file - - - - Le fichier <b>%s</b> existe deja. - file <b>%s</b> already exists. - - - - &Ecraser - &Replace - - - - Donnez le nom du fichier correspondant a l unite logique - Choose file corresponding to unit - - - - Choix d'un fichier de poursuite - Choose poursuite file - - - - Le fichier %s contient une commande POURSUITE - - file %s contains a POURSUITE command - - - - Traduire Fichier - file translation - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - JDC files(*.comm);; All FIles(*) - - - - Fichier Traduit : %s - - - Translated file : %s - - - - Pas de difference entre le fichier origine et le fichier traduit - No difference between the primary file and the translated file - - - - %d versions du catalogue sont disponibles - %d catalogs versions are available - - - - &Ok - &Ok - - - - Entrez - enter - - - - valeurs - values - - - - Entrez entre - enter between - - - - et - and - - - - Selection - selection - - - - Type de base inconnu - unkown type - - - - Visualisation Fichier - view file - - - - Impossibilite d'afficher le Fichier - Unable to display file - - - - Sauvegarder Fichier - save File - - - - Fichier selectionne - file selected - - - - expression valide - valid expression - - - - expression invalide - unvalid expression - - - - expression n est pas de la forme a+bj - expression is not as a+bj - - - - entrer une seule valeur SVP - Please, enter a single value - - - - saisir le type de complexe - choose complex's type - - - - Sauvegarder le fichier - save file - - - - Le fichier <b>%(v_1)s</b> n'a pu etre sauvegarde. <br>Raison : %(v_2)s - v_1 - file <b>%(v_1)s</b> was not saved. Raison : %(v_2)s - - - - &Recents - &Recently Opened - - - - Aide specifique - code's help - - - - Traduction - translation - - - - Options - Options - - - - TraduitV7V8 - - - - - TraduitV8V9 - - - - - TraduitV9V10 - - - - - Acquiert Groupe Maille - - - - - Specificites Maille - - - - - version - version - - - - pour - for - - - - Aide Indisponible - no help avalaible - - - - Parametrage - Options - - - - Veuillez d abord choisir un code - Choose a code - - - - Pas de possibilite de personnalisation de la configuration - no options avalaible for configuration - - - - &Effacer - &Delete - - - - Veuillez entrer le complexe sous forme aster ou sous forme python - enter a complex - - - - Import du catalogue - Loading catalog - - - - Pas de catalogue defini pour le code - No catalog for this code - - - - Aucun catalogue trouve - No catalog - - - - avec le catalogue - with catalog - - - - Impossible d'importer le catalogue - unable to load catalog - - - - Choix d une version du code - Choose a version for - - - - Choix d une version - choose a version - - - - Parametre - parameter - - - - Insere un parametre - insert a parameter - - - - item invalide - invalid item - - - - l item doit etre valide - item must be valid - - - - apres - after - - - - Insere un commentaire apres la commande - insert a comment after the command - - - - avant - before - - - - Insere un commentaire avant la commande - insert a comment before the command - - - - Insere un parametre apres la commande - insert a parameter after the command - - - - Insere un parametre avant la commande - insert a parameter before the commande - - - - Supprimer - delete - - - - supprime le mot clef - delete keyword - - - - Documentation - documentation - - - - documentation sur la commande - command's documentation - - - - Documentation Vide - empty documentation - - - - Aucune documentation n'est associee a ce noeud - no documentation is available for this node - - - - impossible de trouver la commande - unable to find command - - - - Lecteur PDF - PDF reader - - - - impossible d'ouvrir - unable to open - - - - Commentaire - Comment - - - - ce noeud - this node - - - - commente le noeud - comment this node - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - JDC Files (*.comm);;All Files(*) - - - - &Quitter - &Exit - - - - Quitter - Exit - - - - Fichier Duplique - file is duplicated - - - - Le fichier ne sera pas sauvegarde. - File will not be saved. - - - - &Annuler - &Cancel - - - - Fichier - File - - - - Le fichier <b>%s</b> est deja ouvert. - File <b>%s</b> is already open. - - - - &Duplication - &Duplication - - - - &Abort - &Abort - - - - Fichier Modifie - File is modified - - - - Le fichier %s n a pas ete sauvegarde. - file %s was not saved. - - - - &Sauvegarder - &Save - - - - Erreur a l'evaluation : - %s - Error when loadind : -%s - - - - Un fichier de nom %s existe deja : impossible de creer un repertoire de meme nom - File %s already exists : unable to create a directory with the same name - - - - Creation du repertoire %s impossible - Verifiez vos droits d'acces - Unable to create directory : check your access rights - - - - localisation de l'application, pour la traduction - use for application translation - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe valable - - - - - ERREUR! ce type de bloc (%s) n'est pas valable - - - - - n'est pas un index valide pour append_brother - is not correct - no possible "append_brother" - - - - Erreur interne - Internal error - - - - La PDF de la loi ne peut pas etre affichee. - unable to display law's PDF. - - - - Le fichier contient une commande MODEL - - file contains MODEL command - - - - Donnez le nom du fichier XML qui contient la description des variables - - - - - Choix unite %d - Choice for unit %d - - - - Fichier pour unite - File for unit - - - - La formule passee a l'interpreteur doit etre sous forme de tuple - formula must be written as tuple - - - - Debut - Beginning - - - - Le parametre EVAL ne peut valoir None - None is not a valid value for EVAL - - - - Pas de nom donne au parametre - No name given - - - - Le parametre %s ne peut valoir None - None is an incorrect value for parameter %s - - - - Format non implemente : %s - Not implemented format - - - - Type de valeur non supporte par le format pyth : n %(exception)s - nom - unsupported type of value - - - - Impossible de realiser la verification de la formule - unable to verify formula - - - - Pb interne : impossible de supprimer ce mot-clef - internal problem : unable to delete keyword - - - - Eficas ne peut pas traiter plusieurs instructions - sur la meme ligne : %s - Eficas is not able to manage many instructions on a same line - - - - le texte a analyser n'est pas celui d'une commande ou - d'un operateur : %s - text is not valid for a command or a operaor - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - text is not valid for command %(v_1)s %(v_2)s - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - text is not valid for command %(v_1)s %(v_2)s - - - - jdc %(v_1)s manque - fichier comm dans section %(v_2)s - v_1 - file %(v_1)s need a .comm file in section %(v_2)s - - - - jdc %(v_1)s - fichier include %(v_2)s, %(v_3)s - n'existe pas - v_1 - file %(v_1)s need an include file %(v_2)s,%(v_3)s does not exist - - - - jdc %(v_1)s manque fichier comm - dans section %(v_2)s - v_1 - file %(v_1)s need a .comm file in section %(v_2)s - - - - jdc %(v_1)s, le fichier de commandes - %(v_2)s n'existe pas - v_1 - jdc%(v_1)s, .comm %(v_2)s does not exist - - - - ATTENTION! Une source constante - n'est possible qu'a frequence nulle - en regime frequentiel - - - - - ERREUR! Une forme de la source du - type WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ATTENTION! Une source constante n'est - possible qu'a frequence nulle en regime frequentiel - - - - - ERREUR! Une forme de la source du type - WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe - indiquant le type de materiau ou de source associee - - - - - ERREUR! ce groupe de maille (%(nom)s) n'a pas - le prefixe correct pour etre associe a un type %(type_bloc)s - nom - - - - - - Include Invalide. - ne sera pas pris en compte - Invalid include file. text will not be included - - - - Impossible de relire le fichier %s - - unable to read file - - - - Le fichier include contient des erreurs - include file contains errors - - - - PARAMETRE - PARAMETER - - - - EFICAS ne sait pas convertir le JDC selon le format - Eficas does not know how to convert data according to the defined format - - - - le JDC doit etre valide pour une execution - Before a run action, JDC must be valid - - - - Sauvegarder SVP avant l'execution - Save before run action - - - - Sauvegarde de l'input impossible - unable to save input file - - - - Un JdC valide est necessaire pour creer un .input - file must be valid to create a .input file - - - - Choix du composant obligatoire - You have to choose a component - - - - Le fichier %s contient une commande INCLUDE - - file %s contains an "INCLUDE" command - - - - Donnez le nom du fichier dont vous - voulez faire une poursuite - Name the principal file - - - - Fichiers Med (*.med);;Tous les Fichiers (*) - Med Files (*.med);;All Files(*) - - - - Fichier Med - Med File - - - - Veuillez selectionner un fichier Med - Choose a Med file - - - - reel - float - - - - entier - integer - - - - complexe - complex - - - - l'aide n est pas installee - Help is not available - - - - Export Med vers Fichier - export Med Mesh in a file - - - - Impossibilite d exporter le Fichier - Unable to export file - - - - objet valide - valid object - - - - Valeur non modifiable - value can not be changed - - - - Options pour - - Settings - - - - Nombre minimal de valeurs : - minimal number of values : - - - - Nombre maximal de valeurs : - Maximal number of values : - - - - l expression n est pas de la forme a+bj - expression must be as a+bj - - - - Valeur du mot-cle enregistree - Value is recorded - - - - Valeur du mot-cle non autorisee - Value is not authorized - - - - Fichier non encore nomme - unnamed file - - - - SOURCE - SOURCE - - - - EnveloppeConnexeInducteur - Bounding_Box - - - - EnveloppeConnexe2 - - - - - VecteurDirecteur - Direction_Vector - - - - Centre - Center - - - - SectionBobine - Section - - - - Amplitude - Amplitude - - - - NbdeTours - NbTurns - - - - CONDUCTEUR - CONDUCTOR - - - - Conductivite - Conductivity - - - - PermeabiliteRelative - Relative_Permeability - - - - NOCOND - DIELECTRIC - - - - VCUT - CUT - - - - Orientation - Orientation - - - - ZS - ZS - - - - PARAMETRES - SETTINGS - - - - RepCarmel - Carmel_Directory - - - - TypedeFormule - Formula - - - - Frequence - Frequency - - - - Nb_Max_Iterations - Max_Nb_Iterations - - - - Erreur_Max - Max_Error - - - - Format non implemente - non implemented format - - - - Type d'objet non prevu - - - - - Fichier de donnees - data file - - - - Tous les Fichiers (*) - all files (*) - - - - Select - select - - - - nb min de valeurs : - minimal number of values : - - - - nb max de valeurs atteint - maximum number of values - - - - TraduitV10V11 - - - - - TraduitV11V12 - - - - - Sauve Format Ligne - save file in line format - - - - Valeur du mot-clef enregistree - value recorded - - - - Valeur du mot-clef non autorisee : - unvalid value - - - - %s n'est pas un fichier valide - %s is not a valid file - - - - : verifie les types dans un tuple - valids type in a tuple - - - - Les types entres ne sont pas permis - unvalid type for values - - - - La cardinalite n'est pas correcte, la derniere valeur est ignoree - unvalid multiplicity. last value will be ignored - - - - n est pas un tuple de - is not a tuple - - - - valeurs - values - - - - Valeur incorrecte - incorrect value - - - - n est pas un identifiant correct - - is not a valid name - - - - Entrer un float SVP - Float expected - - - - Entrer un float inferieur a - float lower than - - - - Entrer un float superieur a - float superior than - - - - Mauvaise execution - bad run - - - - impossible d executer la methode - unable to run method - - - - Mauvaise Commande - bad command - - - - Aucune variable connue - no possible variable - - - - Mauvaise dimension de matrice - bad matrix dimension - - - - le nombre de ligne n est pas egal a - number of lines is not - - - - le nombre de colonne n est pas egal a - number of columns is not - - - - Mauvaise Valeur - bad value - - - - l element - element - - - - n est pas correct - is not correct - - - - Modification Impossible - unable to modify - - - - le parametre n'est pas valide - parameter is not valid - - - - n est pas un identifiant correct - is not a correct name - - - - Valeur incorrecte: - incorrect value : - - - - Valeur incorrecte - incorrect value - - - - Valeur correcte - valid value - - - - impossible d'evaluer : - unable to evaluate : - - - - Un concept de nom %s existe déjà ! - already existing concept with name : %s ! - - - - existe deja - - already exists - - - - La matrice n'a pas le bon entete - header does not match with matrix - - - - le mot clef - keyword - - - - doit etre insere avant - has to be inserted before - - - - insertion impossible - unable to insert keyword - - - - doit etre insere apres - has to be inserted after - - - - Nb maximum de valeurs atteint - Maximal number of values - - - - pas de regle de construction pour ce jeu de commandes - No specific rules for building this dataset - - - - Gestion Maillage - Mesh Menu - - - - Acquiert groupe mailles - Read elements mesh - - - - Acquisition Groupe Maille - Read elements mesh - - - - VERSION - VERSION_EN - - - - NUM - NUMBER - - - - FILETYPE - FILETYPE - - - - PARAMETERS - Parametres - - - - Fichier_maillage - FichierMaillage - - - - Echelle_du_maillage - MeshScale - - - - Formulation - Fomulation - - - - Timeproblem - TimeProblem - - - - spectral - EssaiSpectral - - - - Basis - Basis - - - - Fourier - Fourier - - - - Ordre - Ordre - - - - FREQUENCY - Frequency - - - - minimisation - Minimisation - - - - no - no - - - - yes - yes - - - - nb_procs_para - NbProcs - - - - POLYMER - Polymer_en_Anglais - - - - MODEL_DATABASE - MoDEL_DATa_Anglais - - - - Stabilise - Srabilise_Anglais - - - - Non Stabilise - Non Stabilise anglais - - - - Local - local_anglais - - - - ESSAI_OPTION - essai_option_anglais - - - - MATERIEL - mater_anglais - - - - Cable - cable_anglais - - - - Peinture - peinture_anglais - - - - Tuyauterie - tuyau_anglais - - - - Materiau_De_Cable - mat_cable_anglais - - - - PE - pe_anglais - - - - EPDM - epdm_anglais - - - - Modele - modele_anglais - - - - Objet commande commentarisé invalide - - - - - ChoixCode - - - Choix du code - Choose code - - - - Veuillez choisir un code : - Choose code : - - - - &Cancel - - - - - Validate choice - - - - - &OK - - - - - ChoixCommandes - - - DMacro - DMacro - - - - Alphabetique - alphabetic sort - - - - Par Groupe - Sort by group - - - - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Affichage</span></p></body></html> - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Order</span></p></body></html> - - - - affiche les commandes par ordre alphabetique - display commands in alphabetic order - - - - affiche les commandes selon les thèmes - display commands by thema - - - - Ordre de la modélisation - ordered by modelisation - - - - <html><head/><body><p align="center">Filtre Commande</p></body></html> - <html><head/><body><p align="center">Filters Commands</p></body></html> - - - - filter commands - filters commands - - - - affiche les régles de validité - display validity rules - - - - ... - - - - - Règles de construction - Building Rules - - - - Sensible à la casse - case-sensitive - - - - Effacer - Clear - - - - selectionne les mots qui CONTIENNENT l expression - select words that CONTAINS the filter - - - - ré-affiche toutes les commandes - re-display the list of commands - - - - DChoixCata - - - Choix d'une version du code Aster - Choose a version for code Aster - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 versions sont disponibles</span></p></body></html> - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 catalogs are available </span></p></body></html> - - - - &OK - &Ok - - - - &Cancel - &Cancel - - - - Validate choice - validate choice - - - - DSelVal - - - Sélection de valeurs - Values Selections - - - - Separateur - marker - - - - espace - space - - - - virgule - comma - - - - point-virgule - semi-colon - - - - Ajouter Selection - add selected value - - - - Importer Tout - imports all values - - - - DVisu - - - Visualisation Include Materiau - View Include - - - - Eficas - - - MainWindow - Main Window - - - - &Fichier - &File - - - - &Aide - &Help - - - - toolBar - toolBar - - - - &Nouveau - &New - - - - Ctrl+N - Ctrl+N - - - - Nouvel Include - New Include - - - - &Ouvrir - &Open - - - - Ctrl+O - Ctrl+O - - - - Enregistrer - Save - - - - Enregistrer sous - Save as - - - - Fermer - Close - - - - Ctrl+W - - - - - Fermer tout - Close all - - - - Couper - Cut - - - - Ctrl+X - Ctrl+X - - - - Copier - Copy - - - - Ctrl+C - Ctrl+C - - - - Coller - Paste - - - - Ctrl+V - Ctrl+V - - - - Quitter - Exit - - - - Ctrl+Q - Ctrl+Q - - - - Rapport de Validation - Validation Report - - - - Fichier Source - Source File - - - - Fichier Résultat - Result File - - - - Parametres Eficas - Eficas Parameters - - - - Lecteur documentation - documentation reader - - - - Eficas - Eficas - - - - Version - Version - - - - Supprimer - Delete - - - - Rechercher - Find - - - - Rechercher dans l'arbre d'etude - Find in Data Tree - - - - Ctrl+F - Ctrl+F - - - - Replier/Deplier - Expand/Collapse - - - - Execution - Run - - - - Execution - Run - - - - Patrons - Patterns - - - - Tab 1 - - - - - &Edition - &Edit - - - - &JeuDeDonnées - &Data - - - - Shift+I - - - - - Ctrl+S - - - - - Ctrl+Shift+S - - - - - Shift+V - - - - - Chercher Mot-Clef - Find Keyword - - - - Rechercher dans le catalogue - Find Keyword in Catalog - - - - Shift+F - - - - - Shift+D - - - - - Commentaire - Comment - - - - Shift+C - - - - - Paramètres - Parameters - - - - Gestion des paramètres - Managing parameters - - - - Shift+P - - - - - Parametre Eficas - Eficas Settings - - - - Save Run - Save run - - - - Run - run - - - - &bad - - - - - Régles du JdC - Rules for dataset - - - - JDCEditor - - - Save File - - - - - The file <b>%1</b> could not be saved.<br>Reason: %2 - - - - - JDC (*.comm);;All Files (*) - - - - - &Abandonner - &Cancel - - - - Tuple2 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Tuple3 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Widget4a6RadioButton - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - WidgetBloc - - - Form - - - - - WidgetCB - - - Affiche le rapport de validation du mot-clef - display validation report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetCommande - - - Affiche le rapport de validité de la commande - Display validity report for the keyword - - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - <html><head/><body><p><span style=" color:#0000ff;">command </span></p></body></html - - - - Nom de l'objet. Seuls, les objets valides peuvent être nommés - Object Name. Only valid objects can be named - - - - Lance un script associé à la commande - Run associated script - - - - ouvre un navigateur sur l'aide contextuelle - open a browser to navigate to contextual help - - - - affiche les régles de validité - display validity rules - - - - Détruit la commande - Delete the command - - - - Affiche les commandes possibles - display allowed commands - - - - &Commandes - &Commands - - - - Shift+A, Alt+A, Alt+A, Alt+A - Shift+A, Alt+A, Alt+A, Alt+A - - - - Affiche le formulaire de la commande précédente - display previous command - - - - Affiche le formulaire de la commande suivante - display next command - - - - DCommandeUnique - - - - - ... - - - - - << - - - - - >> - - - - - TextLabel - - - - - WidgetCommentaire - - - <html><head/><body><p><span style=" color:#0000ff;">Commentaire</span></p></body></html> - <html><head/><body><p><span style=" color:#0000ff;">Comment</span></p></body></html> - - - - Affiche les commandes possibles - display allowed commands - - - - Shift+A, Alt+A, Alt+A, Alt+A - Shift+A, Alt+A, Alt+A, Alt+A - - - - Détruit le commentaire - Delete the comment - - - - &Commandes - &Commands - - - - Affiche le formulaire de la commande précédente - display previous command - - - - Affiche le formulaire de la commande suivante - display next command - - - - DCommandeUnique - - - - - ... - - - - - << - - - - - >> - - - - - WidgetDate - - - Affiche le rapport de validation du mot-clef - Display validity report for keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetFact - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" font-style:italic;">TextLabel</span></p></body></html> - - - - - WidgetFactPlie - - - TextLabel - TextLabel - - - - Form - - - - - ... - - - - - WidgetHeure - - - Affiche le rapport de validation du mot-clef - Display validity report for keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><br/></p></body></html> - - - - - WidgetInformative - - - Form - - - - - WidgetOptionnel - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - <html><head/><body><p><span style=" color:#0000ff;">command </span></p></body></html - - - - WidgetOptionnel - - - - - WidgetParam - - - <html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html> - <html><head/><body><p><span style=" color:#000000;">Parameter</span></p></body></html> - - - - Détruit le commentaire - Delete the comment - - - - Affiche les commandes possibles - Display allowed commands - - - - &Commandes - &Commands - - - - Shift+A, Alt+A, Alt+A, Alt+A - Shift+A, Alt+A, Alt+A, Alt+A - - - - Affiche le formulaire de la commande précédente - Display previous command - - - - Affiche le formulaire de la commande suivante - Display next command - - - - <html><head/><body><p>Valeur: </p></body></html> - <html><head/><body><p>Value: </p></body></html< - - - - <html><head/><body><p>Nom: </p></body></html> - <html><head/><body><p>Name: </p></body></html> - - - - Verifie la valeur - Valid the value - - - - DCommandeUnique - - - - - ... - - - - - << - - - - - >> - - - - - <html><head/><body><p><br/></p></body></html> - - - - - WidgetPlusieursBase - - - Affiche le rapport de validation du mot-clef - Display validity report for keyword - - - - Remonte la ligne - up - - - - Descend la ligne - down - - - - supprime une ligne - deletes a line - - - - Ajoute une ligne - add a line - - - - Montre l'ensemble des valeurs - display all the value - - - - Sélectionne depuis Salome - from salome - - - - Visualise dans Salome - Show in salome - - - - Ouvre un fichier de sélection des valeurs - Open a file for selection - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - TextLabel - TextLabel - - - - WidgetPlusieursInto - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - WidgetPlusieursIntoOrdonne - - - Affiche le rapport de validation du mot-clef - display validity report for the keyword - - - - TextLabel - TextLabel - - - - Remonte d'une ligne - Up - - - - Descend d'une ligne - Down - - - - Détruit une ligne - Delete a line - - - - ajoute une ligne - add a line - - - - visualise l'ensemble des valeurs - show all values - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - WidgetPlusieursPlie - - - Form - - - - - Affiche le rapport de validité du mot-clef - Display validity report for the keyword - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - manage list - - - - Détruit le mot-clef - Delete the keyword - - - - WidgetPlusieursTuple - - - Form - - - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Remonte la ligne - Up - - - - Descend la ligne - Down - - - - supprime une ligne - delete a line - - - - Ajoute une ligne - add a line - - - - Montre l'ensemble des valeurs - show all values - - - - Ouvre un fichier de sélection des valeurs - import data from a file - - - - Détruit le mot-clef - Delete the keyword - - - - TextLabel - TextLabel - - - - WidgetRadioButton - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - WidgetSDCOInto - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - <html><head/><body><p>Structures de données du type requis </p><p><br/></p></body></html> - <html><head/><body><p>Objects with the recquired type</p><p><br/></p></body></html> - - - - <html><head/><body><p>ou Nom du concept</p></body></html> - or name the object - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetSimpBase - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetSimpBool - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - True - - - - - False - - - - - WidgetSimpComplexe - - - Complexe : a+bj - Complex : a+bj - - - - Réel/Imaginaire - Real/Imaginary - - - - Module/Phase - Module/Phase - - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p align="center">OU </p></body></html> - - - - - WidgetSimpFichier - - - Affiche le rapport de validité du mot-clef - Display validity report for the keyword - - - - affiche l'explorateur de fichier - open file explorer - - - - ouvre le fichier choisi - Open the file - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetSimpTxt - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetTuple2 - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - WidgetTuple3 - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - WidgetUniqueSDCO - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - Attend un objet de type CO - expect a CO Object - - - - Détruit le mot-clef - Delete the keyword - - - - Form - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - WidgetVide - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0055ff;">Label</span></p></body></html> - - - - - Attend un objet de type XXXX. Il faut le créer - object must be created - - - - baseWidget - - - DMacro - DMacro - - - - dView - - - Dialog - Dialog - - - - Fermer - Close - - - - Sauver - Save - - - - desRecherche - - - Rechercher dans le JDC - Find in JDC - - - - Suivant - Next - - - - Next - - - - - desWidgetCreeParam - - - Gestion des Paramètres - Parameters - - - - <html><head/><body><p>Nom: </p></body></html> - Name - - - - <html><head/><body><p>Valeur: </p></body></html> - Value - - - - <html><head/><body><p><span style=" text-decoration: underline;">Créer un paramètre</span></p></body></html> - <html><head/><body><p><span style=" text-decoration: underline;">New Parameter</span></p></body></html> - - - - desWidgetMatrice - - - Dialog - Dialog - - - - Affiche le rapport de validation du mot-clef - Display validity report for the keyword - - - - ... - - - - - <html><head/><body><p>Met à jour l'en-tête</p></body></html> - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - self.appliEficas - - - Wrapper Files (*.xml);;All Files (*) - - - - - Noname - - - - - viewRegles - - - Dialog - Dialog - - - diff --git a/OldCodes/UiQT4/eficas_fr.0106.ts b/OldCodes/UiQT4/eficas_fr.0106.ts deleted file mode 100644 index 22d9c577..00000000 --- a/OldCodes/UiQT4/eficas_fr.0106.ts +++ /dev/null @@ -1,4745 +0,0 @@ - - - - @default - - Values_Of_Tracers_In_The_Rain - Valeurs_Des_Traceurs_Dans_La_Pluie - - - Threshold_Depth_For_Receding_Procedure - Profondeur_Limite_Pour_Procedure_De_Ressuyage - - - Title - Titre - - - Spatial_Projection_Type - Type_De_Projection_Spatiale - - - Stochastic_Diffusion_Model - Modele_De_Diffusion_Stochastique - - - Drogues_File - Fichier_Des_Flotteurs - - - Origin_Coordinates - Coordonnees_De_L'origine - - - Thickness_Of_Algae - Epaisseur_Des_Algues - - - Velocities_Of_The_Sources_Along_X - Vitesses_Des_Sources_Selon_X - - - Velocities_Of_The_Sources_Along_Y - Vitesses_Des_Sources_Selon_Y - - - Finite_Volume_Scheme - Schema_En_Volumes_Finis - - - Density_Of_Algae - Masse_Volumique_Des_Algues - - - Geometry_File - Fichier_De_Geometrie - - - Turbulence_Model - Modele_De_Turbulence - - - Oil_Spill_Model - Modele_De_Nappes_D'hydrocarbures - - - Definition_Of_Zones - Definition_De_Zones - - - Rain_Or_Evaporation - Pluie_Ou_Evaporation - - - Sources_File - Fichier_Des_Sources - - - Friction_Coefficient - Coefficient_De_Frottement - - - Wind - Vent - - - Option_For_Tidal_Boundary_Conditions - Option_Pour_Les_Conditions_Aux_Limites_De_Maree - - - Coefficient_To_Calibrate_Tidal_Velocities - Coefficient_De_Calage_Des_Vitesses_De_Courant - - - Initial_Time_Set_To_Zero - Remise_A_Zero_Du_Temps - - - Maximum_Number_Of_Iterations_For_Diffusion_Of_Tracers - Maximum_D'iterations_Pour_La_Diffusion_Des_Traceurs - - - Binary_Results_File - Fichier_De_Resultats_Binaire - - - Number_Of_Drogues - Nombre_De_Flotteurs - - - Air_Pressure - Pression_Atmospherique - - - Mean_Depth_For_Linearization - Profondeur_Moyenne_Pour_La_Linearisation - - - Control_Of_Limits - Controle_Des_Limites - - - Free_Surface_Gradient_Compatibility - Compatibilite_Du_Gradient_De_Surface_Libre - - - Prescribed_Tracers_Values - Valeurs_Imposees_Des_Traceurs - - - defaut - Saint-venant_Ef - - - Velocity_Diffusivity - Coefficient_De_Diffusion_Des_Vitesses - - - Time_Step - Pas_De_Temps - - - Validation - Validation - - - Roughness_Coefficient_Of_Boundaries - Coefficient_De_Rugosite_Des_Bords - - - Density_Effects - Effets_De_Densite - - - Implicitation_Coefficient_Of_Tracers - Coefficient_D'implicitation_Des_Traceurs - - - Formatted_Results_File - Fichier_De_Resultats_Formate - - - Debugger - Debugger - - - Liquid_Boundaries_File - Fichier_Des_Frontieres_Liquides - - - Sections_Output_File - Fichier_De_Sortie_Des_Sections_De_Controle - - - Number_Of_Private_Arrays - Nombre_De_Tableaux_Prives - - - Coefficient_Of_Wind_Influence - Coefficient_D'influence_Du_Vent - - - Depth_In_Friction_Terms - Hauteur_Dans_Les_Termes_De_Frottement - - - Coefficient_To_Calibrate_Sea_Level - Coefficient_De_Calage_Du_Niveau_De_Mer - - - Variables_To_Be_Printed - Variables_A_Imprimer - - - Preconditioning - Preconditionnement - - - Cost_Function - Fonction_Cout - - - Type_Of_Sources - Type_Des_Sources - - - Tidal_Flats - Bancs_Decouvrants - - - Ascii_Database_For_Tide - Base_Ascii_De_Donnees_De_Maree - - - Original_Date_Of_Time - Date_De_L'origine_Des_Temps - - - Mean_Temperature - Temperature_Moyenne - - - Initial_Elevation - Cote_Initiale - - - Tubes_Data_File - Fichier_De_Donnees_Des_Buses - - - Boundary_Conditions_File - Fichier_Des_Conditions_Aux_Limites - - - Breach - Breche - - - Treatment_Of_The_Linear_System - Traitement_Du_Systeme_Lineaire - - - Prescribed_Elevations - Cotes_Imposees - - - List_Of_Points - Liste_De_Points - - - Listing_Printout_Period - Periode_Pour_Les_Sorties_Listing - - - Initial_Guess_For_H - Ordre_Du_Tir_Initial_Pour_H - - - Geometry_File_Format - Format_Du_Fichier_De_Geometrie - - - Coefficient_1_For_Law_Of_Tracers_Degradation - Coefficient_1_De_La_Loi_De_Degradation_Des_Traceurs - - - Number_Of_Lagrangian_Drifts - Nombre_De_Derives_Lagrangiennes - - - Weirs_Data_File - Fichier_De_Donnees_Des_Seuils - - - Rain_Or_Evaporation_In_Mm_Per_Day - Pluie_Ou_Evaporation_En_Mm_Par_Jour - - - Minor_Constituents_Inference - Interpolation_De_Composantes_Mineures - - - Maximum_Number_Of_Friction_Domains - Nombre_Maximum_De_Domaines_De_Frottement - - - Elements_Masked_By_User - Elements_Masques_Par_L'utilisateur - - - Control_Sections - Sections_De_Controle - - - Number_Of_Time_Steps - Nombre_De_Pas_De_Temps - - - Solver_Accuracy - Precision_Du_Solveur - - - Wave_Driven_Currents - Courants_De_Houle - - - Number_Of_Culverts - Nombre_De_Siphons - - - Equations - Equations - - - Maximum_Number_Of_Iterations_For_Identification - Maximum_D'iterations_Pour_L'identification - - - Coefficient_For_Diffusion_Of_Tracers - Coefficient_De_Diffusion_Des_Traceurs - - - Option_For_The_Diffusion_Of_Velocities - Option_Pour_La_Diffusion_Des_Vitesses - - - Coefficient_To_Calibrate_Tidal_Range - Coefficient_De_Calage_Du_Marnage - - - Binary_Data_File_1 - Fichier_De_Donnees_Binaire_1 - - - Binary_Data_File_2 - Fichier_De_Donnees_Binaire_2 - - - Solver - Solveur - - - Implicitation_For_Velocity - Implicitation_Pour_La_Vitesse - - - Longitude_Of_Origin_Point - Longitude_Du_Point_Origine - - - Original_Hour_Of_Time - Heure_De_L'origine_Des_Temps - - - Law_Of_Friction_On_Lateral_Boundaries - Loi_De_Frottement_Sur_Les_Parois_Laterales - - - Propagation - Propagation - - - Solver_For_Diffusion_Of_Tracers - Solveur_Pour_La_Diffusion_Des_Traceurs - - - Discretizations_In_Space - Discretisations_En_Espace - - - Solver_Option - Option_Du_Solveur - - - Advection_Of_H - Convection_De_H - - - Output_Of_Initial_Conditions - Sortie_Des_Conditions_Initiales - - - Record_Number_For_Restart - Enregistrement_Pour_Suite_De_Calcul - - - Accuracy_For_Diffusion_Of_Tracers - Precision_Pour_La_Diffusion_Des_Traceurs - - - Initial_Guess_For_U - Ordre_Du_Tir_Initial_Pour_U - - - Advection_Of_K_And_Epsilon - Convection_De_K_Et_Epsilon - - - Identification_Method - Methode_D'identification - - - Names_Of_Points - Noms_Des_Points - - - Zone_Number_In_Geographic_System - Numero_De_Fuseau_Ou_Projection_Dans_Le_Systeme_Geographique - - - Matrix_Storage - Stockage_Des_Matrices - - - Algae_Type - Type_Des_Algues - - - Water_Density - Masse_Volumique_De_L'eau - - - Newmark_Time_Integration_Coefficient - Coefficient_D'integration_En_Temps_De_Newmark - - - Friction_Data_File - Fichier_De_Donnees_Pour_Le_Frottement - - - Implicitation_For_Diffusion_Of_Velocity - Implicitation_Pour_La_Diffusion_Des_Vitesses - - - Limit_Values - Valeurs_Limites - - - Advection - Convection - - - Geographic_System - Systeme_Geographique - - - Results_File - Fichier_Des_Resultats - - - Algae_Transport_Model - Modele_De_Transport_Des_Algues - - - Treatment_Of_Negative_Depths - Traitement_Des_Hauteurs_Negatives - - - Ordinates_Of_Sources - Ordonnees_Des_Sources - - - Coriolis_Coefficient - Coefficient_De_Coriolis - - - Water_Discharge_Of_Sources - Debits_Des_Sources - - - Advection_Of_U_And_V - Convection_De_U_Et_V - - - Latitude_Of_Origin_Point - Latitude_Du_Point_Origine - - - Binary_Database_1_For_Tide - Base_Binaire_1_De_Donnees_De_Maree - - - Coriolis - Coriolis - - - Desired_Courant_Number - Nombre_De_Courant_Souhaite - - - Variables_For_Graphic_Printouts - Variables_Pour_Les_Sorties_Graphiques - - - Time_Range_For_Fourier_Analysis - Bornes_En_Temps_Pour_L'analyse_De_Fourier - - - Graphic_Printout_Period - Periode_Pour_Les_Sorties_Graphiques - - - Tide_Generating_Force - Force_Generatrice_De_La_Maree - - - Preconditioning_For_Diffusion_Of_Tracers - Preconditionnement_Pour_La_Diffusion_Des_Traceurs - - - Number_Of_Tubes - Nombre_De_Buses - - - Vertical_Structures - Structures_Verticales - - - Stop_If_A_Steady_State_Is_Reached - Arret_Si_Un_Etat_Permanent_Est_Atteint - - - Number_Of_Weirs - Nombre_De_Seuils - - - Listing_Printout - Sortie_Listing - - - Previous_Computation_File - Fichier_Du_Calcul_Precedent - - - Fortran_File - Fichier_Fortran - - - Sections_Input_File - Fichier_Des_Sections_De_Controle - - - Binary_Database_2_For_Tide - Base_Binaire_2_De_Donnees_De_Maree - - - Results_File_Format - Format_Du_Fichier_Des_Resultats - - - Accuracy_Of_K - Precision_Sur_K - - - Tidal_Model_File - Fichier_Du_Modele_De_Maree - - - Fourier_Analysis_Periods - Periodes_D'analyse_De_Fourier - - - H_Clipping - Clipping_De_H - - - Tolerances_For_Identification - Precisions_Pour_L'identification - - - Previous_Computation_File_Format - Format_Du_Fichier_Du_Calcul_Precedent - - - Prescribed_Flowrates - Debits_Imposes - - - Bottom_Topography_File - Fichier_Des_Fonds - - - Implicitation_For_Depth - Implicitation_Pour_La_Hauteur - - - Reference_File_Format - Format_Du_Fichier_De_Reference - - - Diffusion_Of_Tracers - Diffusion_Des_Traceurs - - - Formatted_Data_File_1 - Fichier_De_Donnees_Formate_1 - - - Formatted_Data_File_2 - Fichier_De_Donnees_Formate_2 - - - Computation_Continued - Suite_De_Calcul - - - Breaches_Data_File - Fichier_De_Donnees_Des_Breches - - - Diffusion_Of_Velocity - Diffusion_Des_Vitesses - - - Type_Of_Advection - Forme_De_La_Convection - - - Solver_Option_For_Tracers_Diffusion - Option_Du_Solveur_Pour_La_Diffusion_Des_Traceurs - - - Advection_Of_Tracers - Convection_Des_Traceurs - - - Printout_Period_For_Drogues - Periode_Pour_Les_Sorties_De_Flotteurs - - - Option_For_The_Treatment_Of_Tidal_Flats - Option_De_Traitement_Des_Bancs_Decouvrants - - - Physical_Characteristics_Of_The_Tsunami - Parametres_Physiques_Du_Tsunami - - - Maximum_Number_Of_Iterations_For_K_And_Epsilon - Maximum_D'iterations_Pour_K_Et_Epsilon - - - Tidal_Data_Base - Base_De_Donnees_De_Maree - - - Maximum_Number_Of_Iterations_For_Solver - Maximum_D'iterations_Pour_Le_Solveur - - - Number_Of_Tracers - Nombre_De_Traceurs - - - Threshold_Depth_For_Wind - Profondeur_Limite_Pour_Le_Vent - - - Gravity_Acceleration - Acceleration_De_La_Pesanteur - - - Option_For_Characteristics - Option_Pour_Les_Caracteristiques - - - Spacing_Of_Roughness_Elements - Espacement_Des_Elements_De_Frottement - - - Parallel_Processors - Processeurs_Paralleles - - - Harmonic_Constants_File - Fichier_Des_Constantes_Harmoniques - - - Spherical_Coordinates - Coordonnees_Spheriques - - - Parameter_Estimation - Estimation_De_Parametre - - - Linearized_Propagation - Propagation_Linearisee - - - Accuracy_Of_Epsilon - Precision_Sur_Epsilon - - - Diameter_Of_Roughness_Elements - Diametre_Des_Elements_De_Frottement - - - Number_Of_First_Time_Step_For_Graphic_Printouts - Numero_Du_Premier_Pas_De_Temps_Pour_Les_Sorties_Graphiques - - - Threshold_For_Negative_Depths - Seuil_Pour_Les_Profondeurs_Negatives - - - Wind_Velocity_Along_X - Vitesse_Du_Vent_Suivant_X - - - Wind_Velocity_Along_Y - Vitesse_Du_Vent_Suivant_Y - - - Information_About_Solver - Informations_Sur_Le_Solveur - - - Initial_Conditions - Conditions_Initiales - - - Culvert_Data_File - Fichier_De_Donnees_Des_Siphons - - - Maximum_Number_Of_Iterations_For_Advection_Schemes - Maximum_D'iterations_Pour_Les_Schemas_De_Convection - - - Turbulence_Model_For_Solid_Boundaries - Regime_De_Turbulence_Pour_Les_Parois - - - Continuity_Correction - Correction_De_Continuite - - - Law_Of_Bottom_Friction - Loi_De_Frottement_Sur_Le_Fond - - - Option_For_Tsunami_Generation - Option_Pour_La_Generation_De_Tsunami - - - Type_Of_Weirs - Type_Des_Seuils - - - Record_Number_In_Wave_File - Numero_De_L'enregistrement_Dans_Le_Fichier_De_Houle - - - Abscissae_Of_Sources - Abscisses_Des_Sources - - - Values_Of_The_Tracers_At_The_Sources - Valeurs_Des_Traceurs_Des_Sources - - - Treatment_Of_Fluxes_At_The_Boundaries - Traitement_Des_Flux_Aux_Frontieres - - - Printing_Cumulated_Flowrates - Impression_Du_Cumul_Des_Flux - - - Compatible_Computation_Of_Fluxes - Calcul_Compatible_Des_Flux - - - Bottom_Smoothings - Lissages_Du_Fond - - - Initial_Depth - Hauteur_Initiale - - - Minimum_Value_Of_Depth - Valeur_Minimum_De_H - - - Option_For_The_Diffusion_Of_Tracers - Option_Pour_La_Diffusion_Des_Traceurs - - - Duration - Duree_Du_Calcul - - - Stop_Criteria - Criteres_D'arret - - - Prescribed_Velocities - Vitesses_Imposees - - - Initial_Values_Of_Tracers - Valeurs_Initiales_Des_Traceurs - - - Reference_File - Fichier_De_Reference - - - - lecture du fichier impossible : - unable to read file - - - - Impossible d'ouvrir le fichier %s - unable to read file - - - - Format de sortie : %s, non supporte - - - - - Impossible d'ouvrir le fichier : %s - - - - - Erreur a l'evaluation : - %s - - - - - Erreur ! Erreur ! - - - - - Erreur rencontree dans recherche_enfants : %s - - - - - Erreur dans la creation du mot-cle : %s - - - - - Impossible d'ouvrir le fichier : %s - - - - - le texte a analyser n'est pas celui d'une commande ou d'un operateur : - - - - - Erreur dans la recherche du nom de la commande : - - - - - Erreur dans la recherche des args de la commande : - - - - - Erreur dans la recherche du nom de la commande : - - - - - Erreur dans la recherche des args de la commande : - - - - - %d n'est pas un index valide pour append_brother - - - - - le fichier de commandes %s n'existe pas - - - - - un fichier de commandes doit etre defini avant une poursuite %s - - - - - le fichier poursuite %s n'existe pas - - - - - include mal defini %s - - - - - un fichier de commandes doit etre defini avant un include %s - - - - - le fichier include %s n'existe pas - - - - - le fichier jdc %s n'existe pas - - - - - jdc %s manque option jdc dans section jdc - - - - - %(v_1)s include %(v_2)s : %(v_3)s - v_1 - - - - - %(v_1)s fichier poursuite: %(v_2)s - v_1 - - - - - nom etude : %s - - - - - utilisation : %prog [options] - - - - - nom du fichier de commandes - - - - - nom du fichier poursuite - - - - - numero d'unite suivi du nom du fichier include - - - - - fichier decrivant une etude - - - - - version de catalogue a utiliser - - - - - nom du code a utiliser - - - - - niveau de debug - - - - - schema - - - - - localisation de l'application, pour la traduction - - - - - Nombre incorrect d'arguments - - - - - Localisation specifiee pour l'application. - - - - - Un fichier de nom %s existe deja : impossible de creer un repertoire de meme nom - - - - - Creation du repertoire %s impossible - Verifiez vos droits d'acces - - - - - Impossible de transferer les fichiers requis dans : %s - - - - - Erreur - - - - - Erreurs fatales - - - - - Impossible reconstruire commande - - - - - - Objet commentaire non valorise - - - - - Debut Fonction %s - - - - - Fin Fonction %s - - - - - Nom de concept deja defini : %s - - - - - Longueur incorrecte - - - - - L'attribut 'min' doit etre un entier : - - - - - L'attribut 'max' doit etre un entier : - - - - - Nombres d'occurrence min et max invalides : - - - - - L'attribut 'fr' doit etre une chaine de caracteres - - - - - L'attribut 'statut' doit valoir 'o','f','c' ou 'd' - - - - - L'attribut 'docu' doit etre une chaine de caracteres - - - - - Fin - - - - - Le parametre EVAL %s ne peut valoir None - - - - - Le parametre EVAL ne peut valoir None - - - - - Pas de nom donne au parametre EVAL - - - - - Un nom de parametre ne peut depasser 8 caracteres - - - - - ERREUR - - - - - Format pas implemente : %s - - - - - Type d'objet non prevu : %s - - - - - ce groupe de maillage %s est associe a au moins un materiau et au moins une source. - - - - - ce groupe de maillage %s n'est associe a aucun materiau ou source. - - - - - ATTENTION! Une source constante n'est possible qu'a frequence nulle en regime frequentiel - - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe valable - - - - - ERREUR! ce type de bloc (%s) n'est pas valable - - - - - toutes les donnees ne sont pas connues - - - - - Fichier patron %s n'existe pas. - - - - - Pas supporte - - - - - Entite inconnue ou interdite :%s - - - - - Entite inconnue ou interdite :%s. Elle est ignoree - - - - - Les tuples ne sont pas supportes pour le format ini :%s - - - - - Type de valeur non supportee par le format ini :%(nom)s -%(exception)s - nom - - - - - Il y a un pb a la Creation du XML - - - - - Il y a un pb a la Creation du STD - - - - - Entite inconnue ou interdite : %s. Elle est ignoree - - - - - Type de valeur non supporte par le format pyth : n %(exception)s - nom - - - - - Tag %s non-defini. Ceci est un bogue interne. en informer les developpeurs. - - - - - Le mot-cle %s est obligatoire. - - - - - concept %(inst_name)s de type %(class_name)s - inst_name - - - - - Un nom de concept doit etre un identificateur Python - - - - - Concept existant - - - - - Operateur reentrant mais concept non existant - - - - - Operateur reentrant et concept existant trouve - - - - - Concept deja existant et de mauvais type - - - - - Nommage du concept refuse : un concept de meme nom existe deja - - - - - Nommage du concept effectue - - - - - Nommage impossible %s - - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese ouvrante manquante - - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese fermante manquante - - - - - Pas de nom donne a la FORMULE - - - - - Un nom de FORMULE ne peut depasser 8 caracteres - - - - - Un nom de FORMULE ne peut pas commencer par un chiffre - - - - - Le type de la valeur retournee n'est pas specifie - - - - - Une formule ne peut retourner une valeur de type : %s - - - - - Impossible d'ajouter la commande - - - - - Impossible d ajouter la commande - - - - - Pas implemente - - - - - Nom de concept deja defini - - - - - Nom de concept deja defini : - - - - - Impossible de trouver le fichier correspondant a l'unite - - - - - n'est pas un fichier existant - - - - - Fichier invalide %s - - - - - Impossible de construire le jeu de commandes correspondant au fichier - - - - - Erreur lors de l'evaluation du fichier inclus - - - - - Ce fichier ne sera pas pris en compte - %s - - - - - Ce fichier ne sera pas pris en compte -Le fichier associe n'est pas defini - - - - - Le fichier n est pas defini - - - - - le fichier doit contenir une unique variable de sortie - - - - - Fichier invalide - - - - - Le contenu de ce fichier ne sera pas pris en compte - %s - - - - - Le fichier INCLUDE n est pas defini - - - - - Le contenu de ce fichier ne sera pas pris en compte - - - - - - Erreur lors de l'evaluation du fichier poursuite - - - - - L'objet %(v_1)s ne peut etre un fils de %(v_2)s - v_1 - - - - - L'objet %s ne peut pas etre repete - - - - - Erreur - mclist inexistante : %s - - - - - Erreur - mot cle facteur de nom : %s - - - - - traitement non-prevu - - - - - L'objet %s ne peut pas etre ajoute - - - - - None n'est pas une valeur autorisee - - - - - un concept de meme nom existe deja - - - - - Concept cree - - - - - La matrice n'est pas une matrice %(n_lign)d sur %(n_col)d - n_lign - - - - - Impossible de relire le fichier %s - - - - - - Le fichier include contient des erreurs - - - - - n'est pas un index valide pour append_brother - - - - - Decommenter - - - - - Decommente la commande - - - - - Impossible de supprimer un mot-cle obligatoire - - - - - Mot-cle %s supprime - - - - - Pb interne : impossible de supprimer ce mot-cle - - - - - Commentaire supprime - - - - - Commande %s supprimee - - - - - Pb interne : impossible de supprimer cet objet - - - - - Le fichier de commande n'a pas pu etre converti pour etre editable par Eficas - - - - - - - Include vide - - - - - L'include doit etre correctement initialise pour etre visualise - - - - - Impossible de supprimer ce mot-clef - - - - - View3D - - - - - affiche dans Geom les elements de structure - - - - - Graphique - - - - - affiche la distribution - - - - - Erreur interne - - - - - La PDF de la loi ne peut pas etre affichee. - - - - - &Annuler - - - - - Impossible de supprimer un mot-clef obligatoire - - - - - Mot-clef %s supprime - - - - - Pb interne : impossible de supprimer ce mot-clef - - - - - Definition d'un parametre - - - - - Import du fichier de Configuration - - - - - Erreur a la lecture du fichier de configuration %s - - - - - Erreur fatale au chargement de %s - - - - - Erreur fatale au chargement d'un fichier - - - - - fichier modifie - - - - - Attention! fichier change hors EFICAS - - - - - Type de fichier non reconnu - - - - - EFICAS ne sait pas ouvrir le type de fichier %s - - - - - EFICAS ne sait pas ouvrir ce type de fichier - - - - - Copie impossible - - - - - Veuillez selectionner un objet a copier - - - - - Veuillez selectionner un seul objet : la copie se fera apres le noeud selectionne - - - - - Aucun Objet n a ete copie ou coupe - - - - - Copie refusee - - - - - Eficas n a pas reussi a copier l objet - - - - - Copie refusee pour ce type d objet - - - - - Deplacement refuse - - - - - Deplacement refuse entre 2 fichiers. Seule la copie est autorisee - - - - - Copie impossible a cet endroit - - - - - Veuillez selectionner une commande, un parametre, un commentaire ou une macro - - - - - Choix d'un fichier XML - - - - - Le fichier contient une commande MODEL - - - - - - Donnez le nom du fichier XML qui contient la description des variables - - - - - Ouvrir Fichier - - - - - Erreur a la generation - - - - - EFICAS ne sait pas convertir ce JDC - - - - - Format %s non reconnu - - - - - EFICAS ne sait pas convertir le JDC selon le format - - - - - Execution impossible - - - - - le JDC doit etre valide pour une execution MAP - - - - - le JDC doit contenir un et un seul composant - - - - - le JDC doit etre valide pour une execution - - - - - Sauvegarder SVP avant l'execution - - - - - sauvegarde - - - - - Sauvegarde du Fichier - - - - - Le fichier <b>%s</b> existe deja. - - - - - &Ecraser - - - - - Sauvegarde de l'input impossible - - - - - Un JdC valide est necessaire pour creer un .input - - - - - Choix du composant obligatoire - - - - - Choix unite %d - - - - - Le fichier %s contient une commande INCLUDE - - - - - - Donnez le nom du fichier correspondant a l unite logique - - - - - Fichier pour unite - - - - - Choix d'un fichier de poursuite - - - - - Le fichier %s contient une commande POURSUITE - - - - - - Donnez le nom du fichier dont vous - voulez faire une poursuite - - - - - Fichiers Med (*.med);;Tous les Fichiers (*) - - - - - Fichier Med - - - - - Veuillez selectionner un fichier Med - - - - - reel - - - - - entier - - - - - complexe - - - - - Entrez - - - - - Entrez entre - - - - - et - - - - - Type de base inconnu - - - - - Aide Indisponible - - - - - l'aide n est pas installee - - - - - Visualisation Fichier - - - - - Impossibilite d'afficher le Fichier - - - - - Sauvegarder Fichier - - - - - Fichier selectionne - - - - - Selection - - - - - Export Med vers Fichier - - - - - Impossibilite d exporter le Fichier - - - - - Traduire Fichier - - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - - - - - Fichier Traduit : %s - - - - - - - Pas de difference entre le fichier origine et le fichier traduit - - - - - objet valide - - - - - %d versions du catalogue sont disponibles - - - - - Sauvegarder le fichier - - - - - Le fichier <b>%(v_1)s</b> n'a pu etre sauvegarde. <br>Raison : %(v_2)s - v_1 - - - - - Options pour - - - - - - valeurs - - - - - Nombre minimal de valeurs : - - - - - Nombre maximal de valeurs : - - - - - expression valide - - - - - expression invalide - - - - - l expression n est pas de la forme a+bj - - - - - expression n est pas de la forme a+bj - - - - - entrer une seule valeur SVP - - - - - saisir le type de complexe - - - - - Valeur du mot-cle enregistree - - - - - Valeur du mot-cle non autorisee - - - - - &Recents - - - - - Aide specifique - - - - - Options - - - - - Traduction - - - - - TraduitV7V8 - - - - - TraduitV8V9 - - - - - TraduitV9V10 - - - - - Acquiert Groupe Maille - - - - - Specificites Maille - - - - - version - - - - - pour - - - - - Parametrage - - - - - Veuillez d abord choisir un code - - - - - Pas de possibilite de personnalisation de la configuration - - - - - &Effacer - - - - - Veuillez entrer le complexe sous forme aster ou sous forme python - - - - - Import du catalogue - - - - - Pas de catalogue defini pour le code - - - - - Aucun catalogue trouve - - - - - Impossible d'importer le catalogue - - - - - avec le catalogue - - - - - Choix d une version du code - - - - - Choix d une version - - - - - Parametre - - - - - Insere un parametre - - - - - item invalide - - - - - l item doit etre valide - - - - - &Ok - &Ok - - - - apres - - - - - Insere un commentaire apres la commande - - - - - avant - - - - - Insere un commentaire avant la commande - - - - - Insere un parametre apres la commande - - - - - Insere un parametre avant la commande - - - - - Supprimer - - - - - supprime le mot clef - - - - - Documentation - - - - - documentation sur la commande - - - - - Documentation Vide - - - - - Aucune documentation n'est associee a ce noeud - - - - - impossible de trouver la commande - - - - - Lecteur PDF - - - - - impossible d'ouvrir - - - - - Commentaire - - - - - ce noeud - - - - - commente le noeud - - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - - - - - &Quitter - - - - - Quitter - - - - - Fichier Duplique - - - - - Le fichier ne sera pas sauvegarde. - - - - - Fichier - - - - - Le fichier <b>%s</b> est deja ouvert. - - - - - &Duplication - - - - - &Abort - - - - - Fichier Modifie - - - - - Le fichier %s n a pas ete sauvegarde. - - - - - &Sauvegarder - - - - - SOURCE - - - - - EnveloppeConnexeInducteur - - - - - EnveloppeConnexe2 - - - - - VecteurDirecteur - - - - - Centre - - - - - SectionBobine - - - - - Amplitude - - - - - NbdeTours - - - - - CONDUCTEUR - - - - - Conductivite - - - - - PermeabiliteRelative - - - - - NOCOND - - - - - VCUT - - - - - Orientation - - - - - ZS - - - - - PARAMETRES - - - - - RepCarmel - - - - - TypedeFormule - - - - - Frequence - - - - - Nb_Max_Iterations - - - - - Erreur_Max - - - - - PARAMETRE - - - - - Valeur non modifiable - - - - - Format non implemente - - - - - Type d'objet non prevu - - - - - Select - - - - - Sauve Format Ligne - - - - - %s n'est pas un fichier valide - - - - - Fichier de donnees - - - - - Tous les Fichiers (*) - - - - - nb min de valeurs : - - - - - nb max de valeurs atteint - - - - - TraduitV10V11 - - - - - TraduitV11V12 - - - - - Valeur du mot-clef enregistree - - - - - Valeur du mot-clef non autorisee : - - - - - Un concept de nom %s existe déjà ! - - - - - La cardinalite n'est pas correcte, la derniere valeur est ignoree - - - - - n est pas un tuple de - - - - - valeurs - - - - - Valeur incorrecte - - - - - n est pas un identifiant correct - - - - - - Entrer un float SVP - - - - - Entrer un float inferieur a - - - - - Entrer un float superieur a - - - - - Mauvaise execution - - - - - impossible d executer la methode - - - - - Mauvaise Commande - - - - - Aucune variable connue - - - - - Mauvaise dimension de matrice - - - - - le nombre de ligne n est pas egal a - - - - - le nombre de colonne n est pas egal a - - - - - Mauvaise Valeur - - - - - l element - - - - - n est pas correct - - - - - Modification Impossible - - - - - le parametre n'est pas valide - - - - - n est pas un identifiant correct - - - - - Valeur incorrecte: - - - - - Valeur incorrecte - - - - - Valeur correcte - - - - - impossible d'evaluer : - - - - - La formule passee a l'interpreteur doit etre sous forme de tuple - - - - - Debut - - - - - Pas de nom donne au parametre - - - - - Le parametre %s ne peut valoir None - - - - - Format non implemente : %s - - - - - Impossible de realiser la verification de la formule - - - - - Un concept de nom %s existe deja ! - - - - - existe deja - - - - - - Fichier non encore nomme - - - - - La matrice n'a pas le bon entete - - - - - le mot clef - - - - - doit etre insere avant - - - - - insertion impossible - - - - - doit etre insere apres - - - - - Nb maximum de valeurs atteint - - - - - pas de regle de construction pour ce jeu de commandes - - - - - Gestion Maillage - - - - - Acquiert groupe mailles - - - - - Acquisition Groupe Maille - - - - - VERSION - - - - - NUM - - - - - FILETYPE - - - - - PARAMETERS - - - - - Fichier_maillage - - - - - Echelle_du_maillage - - - - - Formulation - - - - - Timeproblem - - - - - spectral - - - - - Basis - - - - - Fourier - - - - - Ordre - - - - - FREQUENCY - - - - - minimisation - - - - - no - - - - - yes - - - - - nb_procs_para - - - - - POLYMER - - - - - MODEL_DATABASE - - - - - Stabilise - - - - - Non Stabilise - - - - - Local - - - - - ESSAI_OPTION - - - - - MATERIEL - - - - - Cable - - - - - Peinture - - - - - Tuyauterie - - - - - Materiau_De_Cable - - - - - PE - - - - - EPDM - - - - - Modele - - - - - Impossible de convertir le fichier Python qui doit contenir des erreurs. - - On retourne le fichier non converti. Prevenir la maintenance. - - %s - - - - - Eficas ne peut pas traiter plusieurs instructions - sur la meme ligne : %s - - - - - le texte a analyser n'est pas celui d'une commande ou - d'un operateur : %s - - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - - - - - jdc %(v_1)s manque - fichier comm dans section %(v_2)s - v_1 - - - - - jdc %(v_1)s, le fichier - de commandes %(v_2)s n'existe pas - v_1 - - - - - jdc %(v_1)s - fichier include %(v_2)s, %(v_3)s - n'existe pas - v_1 - - - - - jdc %(v_1)s manque fichier comm - dans section %(v_2)s - v_1 - - - - - jdc %(v_1)s, le fichier de commandes - %(v_2)s n'existe pas - v_1 - - - - - Objet commande commentarisé invalide - - - - - ATTENTION! Une source constante - n'est possible qu'a frequence nulle - en regime frequentiel - - - - - ERREUR! Une forme de la source du - type WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ATTENTION! Une source constante n'est - possible qu'a frequence nulle en regime frequentiel - - - - - ERREUR! Une forme de la source du type - WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe - indiquant le type de materiau ou de source associee - - - - - ERREUR! ce groupe de maille (%(nom)s) n'a pas - le prefixe correct pour etre associe a un type %(type_bloc)s - nom - - - - - - Include Invalide. - ne sera pas pris en compte - - - - - : verifie les types dans un tuple - - - - - Les types entres ne sont pas permis - - - - - ChoixCode - - - Choix du code - - - - - Veuillez choisir un code : - - - - - &Cancel - - - - - Validate choice - - - - - &OK - - - - - ChoixCommandes - - - DMacro - - - - - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Affichage</span></p></body></html> - - - - - affiche les commandes par ordre alphabetique - - - - - Alphabetique - - - - - affiche les commandes selon les thèmes - - - - - Ordre de la modélisation - - - - - Par Groupe - - - - - <html><head/><body><p align="center">Filtre Commande</p></body></html> - - - - - filter commands - - - - - affiche les régles de validité - - - - - ... - - - - - Règles de construction - - - - - Sensible à la casse - - - - - Effacer - - - - - selectionne les mots qui CONTIENNENT l expression - - - - - ré-affiche toutes les commandes - - - - - DChoixCata - - - Choix d'une version du code Aster - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 versions sont disponibles</span></p></body></html> - - - - - &Cancel - - - - - Validate choice - - - - - &OK - - - - - DSelVal - - - Sélection de valeurs - - - - - Separateur - - - - - espace - - - - - virgule - - - - - point-virgule - - - - - Ajouter Selection - - - - - Importer Tout - - - - - DVisu - - - Visualisation Include Materiau - - - - - Eficas - - - MainWindow - - - - - &Fichier - - - - - &Aide - - - - - toolBar - - - - - &Nouveau - ME VOILA - - - - Ctrl+N - - - - - Nouvel Include - - - - - &Ouvrir - - - - - Ctrl+O - - - - - Enregistrer - - - - - Enregistrer sous - - - - - Fermer - - - - - Ctrl+W - - - - - Fermer tout - - - - - Couper - - - - - Ctrl+X - - - - - Copier - - - - - Ctrl+C - - - - - Coller - - - - - Ctrl+V - - - - - Quitter - - - - - Ctrl+Q - - - - - Rapport de Validation - - - - - Fichier Source - - - - - Fichier Résultat - - - - - Parametres Eficas - - - - - Lecteur documentation - - - - - Eficas - - - - - Version - - - - - Supprimer - - - - - Rechercher - - - - - Rechercher dans l'arbre d'etude - - - - - Ctrl+F - - - - - Replier/Deplier - - - - - Tab 1 - - - - - &Edition - - - - - &JeuDeDonnées - - - - - Shift+I - - - - - Ctrl+S - - - - - Ctrl+Shift+S - - - - - Shift+V - - - - - Chercher Mot-Clef - - - - - Rechercher dans le catalogue - - - - - Shift+F - - - - - Shift+D - - - - - Commentaire - - - - - Shift+C - - - - - Paramètres - - - - - Gestion des paramètres - - - - - Shift+P - - - - - Parametre Eficas - - - - - Execution - - - - - Execution - - - - - Save Run - - - - - Patrons - - - - - Run - - - - - &bad - - - - - Régles du JdC - - - - - JDCEditor - - - Save File - - - - - The file <b>%1</b> could not be saved.<br>Reason: %2 - - - - - JDC (*.comm);;All Files (*) - - - - - &Abandonner - &Abandonner - - - - Tuple2 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Tuple3 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Widget4a6RadioButton - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - Détruit le mot-clef - - - - - WidgetBloc - - - Form - - - - - WidgetCB - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetCommande - - - DCommandeUnique - - - - - Affiche le rapport de validité de la commande - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - Nom de l'objet. Seuls, les objets valides peuvent être nommés - - - - - Lance un script associé à la commande - - - - - ouvre un navigateur sur l'aide contextuelle - - - - - affiche les régles de validité - - - - - Détruit la commande - - - - - Affiche les commandes possibles - - - - - &Commandes - - - - - Shift+A, Alt+A, Alt+A, Alt+A - - - - - Affiche le formulaire de la commande précédente - - - - - << - - - - - Affiche le formulaire de la commande suivante - - - - - >> - - - - - TextLabel - - - - - WidgetCommentaire - - - DCommandeUnique - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0000ff;">Commentaire</span></p></body></html> - - - - - Détruit le commentaire - - - - - Affiche les commandes possibles - - - - - &Commandes - - - - - Shift+A, Alt+A, Alt+A, Alt+A - - - - - Affiche le formulaire de la commande précédente - - - - - << - - - - - Affiche le formulaire de la commande suivante - - - - - >> - - - - - WidgetDate - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetFact - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" font-style:italic;">TextLabel</span></p></body></html> - - - - - WidgetFactPlie - - - Form - - - - - ... - - - - - TextLabel - - - - - WidgetHeure - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><br/></p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetInformative - - - Form - - - - - WidgetOptionnel - - - WidgetOptionnel - - - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - WidgetParam - - - DCommandeUnique - - - - - ... - - - - - <html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html> - - - - - Détruit le commentaire - - - - - Affiche les commandes possibles - - - - - &Commandes - - - - - Shift+A, Alt+A, Alt+A, Alt+A - - - - - Affiche le formulaire de la commande précédente - - - - - << - - - - - Affiche le formulaire de la commande suivante - - - - - >> - - - - - <html><head/><body><p>Valeur: </p></body></html> - - - - - <html><head/><body><p>Nom: </p></body></html> - - - - - Verifie la valeur - - - - - <html><head/><body><p><br/></p></body></html> - - - - - WidgetPlusieursBase - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Remonte la ligne - - - - - Descend la ligne - - - - - supprime une ligne - - - - - Ajoute une ligne - - - - - Montre l'ensemble des valeurs - - - - - Sélectionne depuis Salome - - - - - Visualise dans Salome - - - - - Ouvre un fichier de sélection des valeurs - - - - - Détruit le mot-clef - - - - - permet de gérer la liste - - - - - TextLabel - - - - - WidgetPlusieursInto - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - permet de gérer la liste - - - - - WidgetPlusieursIntoOrdonne - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - TextLabel - - - - - Remonte d'une ligne - - - - - Descend d'une ligne - - - - - Détruit une ligne - - - - - ajoute une ligne - - - - - visualise l'ensemble des valeurs - - - - - Détruit le mot-clef - - - - - permet de gérer la liste - - - - - WidgetPlusieursPlie - - - Form - - - - - Affiche le rapport de validité du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - - - - - Détruit le mot-clef - - - - - WidgetPlusieursTuple - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Remonte la ligne - - - - - Descend la ligne - - - - - supprime une ligne - - - - - Ajoute une ligne - - - - - Montre l'ensemble des valeurs - - - - - Ouvre un fichier de sélection des valeurs - - - - - Détruit le mot-clef - - - - - TextLabel - - - - - WidgetRadioButton - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - Détruit le mot-clef - - - - - WidgetSDCOInto - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p>Structures de données du type requis </p><p><br/></p></body></html> - - - - - <html><head/><body><p>ou Nom du concept</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetSimpBase - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetSimpBool - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - True - - - - - False - - - - - Détruit le mot-clef - - - - - WidgetSimpComplexe - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Complexe : a+bj - - - - - <html><head/><body><p align="center">OU </p></body></html> - - - - - Réel/Imaginaire - - - - - Module/Phase - - - - - WidgetSimpFichier - - - Form - - - - - Affiche le rapport de validité du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - affiche l'explorateur de fichier - - - - - ouvre le fichier choisi - - - - - Détruit le mot-clef - - - - - WidgetSimpTxt - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetTuple2 - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetTuple3 - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetUniqueSDCO - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Attend un objet de type CO - - - - - Détruit le mot-clef - - - - - WidgetVide - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0055ff;">Label</span></p></body></html> - - - - - Attend un objet de type XXXX. Il faut le créer - - - - - baseWidget - - - DMacro - - - - - dView - - - Dialog - - - - - Fermer - - - - - Sauver - - - - - desRecherche - - - Rechercher dans le JDC - - - - - Next - - - - - Suivant - - - - - desWidgetCreeParam - - - Gestion des Paramètres - - - - - <html><head/><body><p>Nom: </p></body></html> - - - - - <html><head/><body><p>Valeur: </p></body></html> - - - - - <html><head/><body><p><span style=" text-decoration: underline;">Créer un paramètre</span></p></body></html> - - - - - desWidgetMatrice - - - Dialog - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>Met à jour l'en-tête</p></body></html> - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - self.appliEficas - - - Wrapper Files (*.xml);;All Files (*) - - - - - Noname - - - - - viewRegles - - - Dialog - - - - diff --git a/OldCodes/UiQT4/eficas_fr.ts b/OldCodes/UiQT4/eficas_fr.ts deleted file mode 100644 index d93d2f5b..00000000 --- a/OldCodes/UiQT4/eficas_fr.ts +++ /dev/null @@ -1,5069 +0,0 @@ - - - - @default - - Year - Annee - - - Month - Mois - - - Day - Jour - - - Hour - Heure - - - Minute - Minute - - - Second - Seconde - - - Discretizations_In_Space - Discretisations_En_Espace - - - Discretizations_In_Space_Tracers - Discretisations_En_Espace_Tracers - - - Discretizations_In_Space_U_And_V - Discretisations_En_Espace_U_And_V - - - Discretizations_In_Space_K_And_Epsilon - Discretisations_En_Espace_K_And_Epsilon - - - Discretizations_In_Space_H - Discretisations_En_Espace_H - - - Supg_Option - Option_De_Supg - - - Supg_Option_Tracers - Option_De_Supg_Tracers - - - Supg_Option_U_And_V - Option_De_Supg_U_And_V - - - Supg_Option_K_And_Epsilon - Option_De_Supg_K_And_Epsilon - - - Supg_Option_H - Option_De_Supg_H - - - Type_Of_Advection - Forme_De_La_Convection - - - Forme_De_La_Convection - Type_Of_Advection - - - Type_Of_Advection_Tracers - Forme_De_La_Convection_Tracers - - - Type_Of_Advection_U_And_V - Forme_De_La_Convection_U_And_V - - - Type_Of_Advection_K_And_Epsilon - Forme_De_La_Convection_K_And_Epsilon - - - Type_Of_Advection_H - Forme_De_La_Convection_H - - - Hauteur constante - Constant depth - - - Mass_Lumping_On_H - Mass_Lumping_Sur_H - - - Mass_Lumping_On_Velocity - Mass_Lumping_Sur_La_Vitesse - - - Mass_Lumping_On_Tracers - Mass_Lumping_Sur_Les_Traceurs - - - Mass_Lumping_For_Weak_Characteristics - Mass_Lumping_Pour_Les_Caracteristiques_Faibles - - - INITIALIZATION - INITIALISATION - - - Input_Files - Fichiers_D_Entree - - - Formatted_And_Binary_Files - Fichiers_Formates_Et_Binaires - - - Initial_State - Etat_Initial - - - Coupling - Couplage - - - Mass_Balance - Bilan_De_Masse - - - BOUNDARY_CONDITIONS - CONDITIONS_AUX_LIMITES - - - NUMERICAL_PARAMETERS - PARAMETRES_NUMERIQUES - - - PHYSICAL_PARAMETERS - PARAMETRES_PHYSIQUES - - - OUTPUT_FILES - FICHIERS_DE_SORTIE - - - CONSTRUCTION_WORKS_MODELLING - MODELISATION_DES_OUVRAGES - - - GENERAL_PARAMETERS - PARAMETRES_GENERAUX - - - PARTICLE_TRANSPORT - TRANSPORT_DE_PARTICULE - - - Computation_Continued_Settings - Parametres_De_Continuation_Du_Calcul - - - Inputs_Outputs_For_Tide - Entrees_Sorties_Pour_La_Maree - - - Location - Localisation - - - Physical_Parameters - Parametres_Physiques - - - Liquid_Boundaries - Frontieres_Liquide - - - Solver_Definition - Definition_Du_Solver - - - Linearity - Linearite - - - Precondionning_Setting - Parametres_Preconditionnement - - - Matrix_Informations - Stockage_Des_Matrices - - - Advection - Advection - - - Propagation - Propagation - - - Diffusion - Diffusion - - - Discretization_Implicitation - Discretisation - - - Tidal - Maree - - - Various - Divers - - - Friction_Setting - Parametres_De_Friction - - - Meteorology - Meteorologie - - - Wave - Houle - - - Parameters_Estimation - Parametres_A_Estimer - - - Tolerances_For_Identification - Tolerances_Pour_L_Identification - - - Sources - Sources - - - Coriolis_Settings - Parametres_Pour_Coriolis - - - Various_For_Numerical - Divers_Parametres_Numeriques - - - Secondary_Currents_Settings - Parametres_Pour_Les_Courants_Secondaires - - - Tsunami - Tsunami - - - Graphic_And_Listing_Printouts - Sorties_Listing_Et_Graphiques - - - Controls - Controles - - - Fourier - Fourier - - - General_Location - Localisation_Generale - - - Time - Temps - - - Original_Date_Of_Time - Date_A_L_Origine - - - Original_Hour_Of_Time - Temps_A_L_Origine - - - Limit_Values - Valeurs_Limites - - - Tracers_Setting - Parametres_Des_Traceurs - - - Tracer - Traceur - - - Boundary_Conditions_For_Tracers - Conditions_Aux_Limites_Pour_Les_Traceurs - - - Solving - - - - Accuracy - - - - Source - Source - - - Metereology - Metereologie - - - Numerical - Numerique - - - Degradation - Degradation - - - Values_Of_Tracers_In_The_Rain - Valeurs_Des_Traceurs_Dans_La_Pluie - - - Threshold_Depth_For_Receding_Procedure - Profondeur_Limite_Pour_Procedure_De_Ressuyage - - - Title - Titre - - - Spatial_Projection_Type - Type_De_Projection_Spatiale - - - Stochastic_Diffusion_Model - Modele_De_Diffusion_Stochastique - - - Drogues_File - Fichier_Des_Flotteurs - - - Origin_Coordinates - Coordonnees_De_L_Origine - - - Thickness_Of_Algae - Epaisseur_Des_Algues - - - Velocities_Of_The_Sources_Along_X - Vitesses_Des_Sources_Selon_X - - - Velocities_Of_The_Sources_Along_Y - Vitesses_Des_Sources_Selon_Y - - - Finite_Volume_Scheme - Schema_En_Volumes_Finis - - - Density_Of_Algae - Masse_Volumique_Des_Algues - - - Geometry_File - Fichier_De_Geometrie - - - Turbulence_Model - Modele_De_Turbulence - - - Oil_Spill_Model - Modele_De_Nappes_D_Hydrocarbures - - - Definition_Of_Zones - Definition_De_Zones - - - Rain_Or_Evaporation - Pluie_Ou_Evaporation - - - Sources_File - Fichier_Des_Sources - - - Friction_Coefficient - Coefficient_De_Frottement - - - Wind - Vent - - - Option_For_Tidal_Boundary_Conditions - Option_Pour_Les_Conditions_Aux_Limites_De_Maree - - - Option_For_Liquid_Boundaries - Option_Pour_Les_Frontieres_Liquides - - - Coefficient_To_Calibrate_Tidal_Velocities - Coefficient_De_Calage_Des_Vitesses_De_Courant - - - Initial_Time_Set_To_Zero - Remise_A_Zero_Du_Temps - - - Maximum_Number_Of_Iterations_For_Diffusion_Of_Tracers - Maximum_D_Iterations_Pour_La_Diffusion_Des_Traceurs - - - Binary_Results_File - Fichier_De_Resultats_Binaire - - - Number_Of_Drogues - Nombre_De_Flotteurs - - - Air_Pressure - Pression_Atmospherique - - - Mean_Depth_For_Linearization - Profondeur_Moyenne_Pour_La_Linearisation - - - Control_Of_Limits - Controle_Des_Limites - - - Free_Surface_Gradient_Compatibility - Compatibilite_Du_Gradient_De_Surface_Libre - - - Prescribed_Tracers_Values - Valeurs_Imposees_Des_Traceurs - - - defaut - Saint-venant_Ef - - - Velocity_Diffusivity - Coefficient_De_Diffusion_Des_Vitesses - - - Time_Step - Pas_De_Temps - - - Validation - Validation - - - Roughness_Coefficient_Of_Boundaries - Coefficient_De_Rugosite_Des_Bords - - - Density_Effects - Effets_De_Densite - - - Implicitation_Coefficient_Of_Tracers - Coefficient_D_Implicitation_Des_Traceurs - - - Formatted_Results_File - Fichier_De_Resultats_Formate - - - Debugger - Debugger - - - Liquid_Boundaries_File - Fichier_Des_Frontieres_Liquides - - - Sections_Output_File - Fichier_De_Sortie_Des_Sections_De_Controle - - - Number_Of_Private_Arrays - Nombre_De_Tableaux_Prives - - - Coefficient_Of_Wind_Influence - Coefficient_D_Influence_Du_Vent - - - Depth_In_Friction_Terms - Hauteur_Dans_Les_Termes_De_Frottement - - - Coefficient_To_Calibrate_Sea_Level - Coefficient_De_Calage_Du_Niveau_De_Mer - - - Variables_To_Be_Printed - Variables_A_Imprimer - - - Preconditioning - Preconditionnement - - - Cost_Function - Fonction_Cout - - - Type_Of_Sources - Type_Des_Sources - - - Tidal_Flats - Bancs_Decouvrants - - - Ascii_Database_For_Tide - Base_Ascii_De_Donnees_De_Maree - - - Original_Date_Of_Time - Date_De_L_origine_Des_Temps - - - Mean_Temperature - Temperature_Moyenne - - - Initial_Elevation - Cote_Initiale - - - Tubes_Data_File - Fichier_De_Donnees_Des_Buses - - - Boundary_Conditions_File - Fichier_Des_Conditions_Aux_Limites - - - Breach - Breche - - - Treatment_Of_The_Linear_System - Traitement_Du_Systeme_Lineaire - - - Prescribed_Elevations - Cotes_Imposees - - - List_Of_Points - Liste_De_Points - - - Listing_Printout_Period - Periode_De_Sortie_Listing - - - Initial_Guess_For_H - Ordre_Du_Tir_Initial_Pour_H - - - Geometry_File_Format - Format_Du_Fichier_De_Geometrie - - - Coefficient_1_For_Law_Of_Tracers_Degradation - Coefficient_1_De_La_Loi_De_Degradation_Des_Traceurs - - - Number_Of_Lagrangian_Drifts - Nombre_De_Derives_Lagrangiennes - - - Weirs_Data_File - Fichier_De_Donnees_Des_Seuils - - - Rain_Or_Evaporation_In_Mm_Per_Day - Pluie_Ou_Evaporation_En_Mm_Par_Jour - - - Minor_Constituents_Inference - Interpolation_De_Composantes_Mineures - - - Maximum_Number_Of_Friction_Domains - Nombre_Maximum_De_Domaines_De_Frottement - - - Elements_Masked_By_User - Elements_Masques_Par_L_Utilisateur - - - Control_Sections - Sections_De_Controle - - - Number_Of_Time_Steps - Nombre_De_Pas_De_Temps - - - Solver_Accuracy - Precision_Du_Solveur - - - Wave_Driven_Currents - Courants_De_Houle - - - Number_Of_Culverts - Nombre_De_Siphons - - - Equations - Equations - - - Maximum_Number_Of_Iterations_For_Identification - Maximum_D_Iterations_Pour_L_Identification - - - Coefficient_For_Diffusion_Of_Tracers - Coefficient_De_Diffusion_Des_Traceurs - - - Option_For_The_Diffusion_Of_Velocities - Option_Pour_La_Diffusion_Des_Vitesses - - - Coefficient_To_Calibrate_Tidal_Range - Coefficient_De_Calage_Du_Marnage - - - Binary_Data_File_1 - Fichier_De_Donnees_Binaire_1 - - - Binary_Data_File_2 - Fichier_De_Donnees_Binaire_2 - - - Solver - Solveur - - - Implicitation_For_Velocity - Implicitation_Pour_La_Vitesse - - - Longitude_Of_Origin_Point - Longitude_Du_Point_Origine - - - Original_Hour_Of_Time - Heure_De_L_origine_Des_Temps - - - Law_Of_Friction_On_Lateral_Boundaries - Loi_De_Frottement_Sur_Les_Parois_Laterales - - - Propagation - Propagation - - - Solver_For_Diffusion_Of_Tracers - Solveur_Pour_La_Diffusion_Des_Traceurs - - - Solver_Option - Option_Du_Solveur - - - Advection_Of_H - Convection_De_H - - - Output_Of_Initial_Conditions - Sortie_Des_Conditions_Initiales - - - Record_Number_For_Restart - Enregistrement_Pour_Suite_De_Calcul - - - Accuracy_For_Diffusion_Of_Tracers - Precision_Pour_La_Diffusion_Des_Traceurs - - - Initial_Guess_For_U - Ordre_Du_Tir_Initial_Pour_U - - - Advection_Of_K_And_Epsilon - Convection_De_K_Et_Epsilon - - - Identification_Method - Methode_D_Identification - - - Names_Of_Points - Noms_Des_Points - - - Zone_Number_In_Geographic_System - Numero_De_Fuseau_Ou_Projection_Dans_Le_Systeme_Geographique - - - Matrix_Storage - Stockage_Des_Matrices - - - Matrix_Vector_Product - Produit_Matrice_Vecteur - - - Algae_Type - Type_Des_Algues - - - Water_Density - Masse_Volumique_De_L_Eau - - - Newmark_Time_Integration_Coefficient - Coefficient_D_Integration_En_Temps_De_Newmark - - - Friction_Data_File - Fichier_De_Donnees_Pour_Le_Frottement - - - Implicitation_For_Diffusion_Of_Velocity - Implicitation_Pour_La_Diffusion_Des_Vitesses - - - Advection - Convection - - - Geographic_System - Systeme_Geographique - - - Results_File - Fichier_Des_Resultats - - - Algae_Transport_Model - Modele_De_Transport_Des_Algues - - - Treatment_Of_Negative_Depths - Traitement_Des_Hauteurs_Negatives - - - Ordinates_Of_Sources - Ordonnees_Des_Sources - - - Coriolis_Coefficient - Coefficient_De_Coriolis - - - Water_Discharge_Of_Sources - Debits_Des_Sources - - - Advection_Of_U_And_V - Convection_De_U_Et_V - - - Latitude_Of_Origin_Point - Latitude_Du_Point_Origine - - - Binary_Database_1_For_Tide - Base_Binaire_1_De_Donnees_De_Maree - - - Coriolis - Coriolis - - - Desired_Courant_Number - Nombre_De_Courant_Souhaite - - - Variables_For_Graphic_Printouts - Variables_Pour_Les_Sorties_Graphiques - - - Time_Range_For_Fourier_Analysis - Bornes_En_Temps_Pour_L_Analyse_De_Fourier - - - Graphic_Printout_Period - Periode_Pour_Les_Sorties_Graphiques - - - Tide_Generating_Force - Force_Generatrice_De_La_Maree - - - Preconditioning_For_Diffusion_Of_Tracers - Preconditionnement_Pour_La_Diffusion_Des_Traceurs - - - Number_Of_Tubes - Nombre_De_Buses - - - Vertical_Structures - Structures_Verticales - - - Stop_If_A_Steady_State_Is_Reached - Arret_Si_Un_Etat_Permanent_Est_Atteint - - - Number_Of_Weirs - Nombre_De_Seuils - - - Listing_Printout - Sortie_Listing - - - Previous_Computation_File - Fichier_Du_Calcul_Precedent - - - Fortran_File - Fichier_Fortran - - - Sections_Input_File - Fichier_Des_Sections_De_Controle - - - Binary_Database_2_For_Tide - Base_Binaire_2_De_Donnees_De_Maree - - - Results_File_Format - Format_Du_Fichier_Des_Resultats - - - Accuracy_Of_K - Precision_Sur_K - - - Tidal_Model_File - Fichier_Du_Modele_De_Maree - - - Fourier_Analysis_Periods - Periodes_D_Analyse_De_Fourier - - - H_Clipping - Clipping_De_H - - - Tolerances_For_Identification - Precisions_Pour_L_Identification - - - Previous_Computation_File_Format - Format_Du_Fichier_Du_Calcul_Precedent - - - Prescribed_Flowrates - Debits_Imposes - - - Bottom_Topography_File - Fichier_Des_Fonds - - - Implicitation_For_Depth - Implicitation_Pour_La_Hauteur - - - Reference_File_Format - Format_Du_Fichier_De_Reference - - - Diffusion_Of_Tracers - Diffusion_Des_Traceurs - - - Formatted_Data_File_1 - Fichier_De_Donnees_Formate_1 - - - Formatted_Data_File_2 - Fichier_De_Donnees_Formate_2 - - - Computation_Continued - Suite_De_Calcul - - - Breaches_Data_File - Fichier_De_Donnees_Des_Breches - - - Diffusion_Of_Velocity - Diffusion_Des_Vitesses - - - Solver_Option_For_Tracers_Diffusion - Option_Du_Solveur_Pour_La_Diffusion_Des_Traceurs - - - Advection_Of_Tracers - Convection_Des_Traceurs - - - Printout_Period_For_Drogues - Periode_Pour_Les_Sorties_De_Flotteurs - - - Option_For_The_Treatment_Of_Tidal_Flats - Option_De_Traitement_Des_Bancs_Decouvrants - - - Physical_Characteristics_Of_The_Tsunami - Parametres_Physiques_Du_Tsunami - - - Maximum_Number_Of_Iterations_For_K_And_Epsilon - Maximum_D_Iterations_Pour_K_Et_Epsilon - - - Tidal_Data_Base - Base_De_Donnees_De_Maree - - - Maximum_Number_Of_Iterations_For_Solver - Maximum_D_Iterations_Pour_Le_Solveur - - - Number_Of_Tracers - Nombre_De_Traceurs - - - Threshold_Depth_For_Wind - Profondeur_Limite_Pour_Le_Vent - - - Gravity_Acceleration - Acceleration_De_La_Pesanteur - - - Option_For_Characteristics - Option_Pour_Les_Caracteristiques - - - Spacing_Of_Roughness_Elements - Espacement_Des_Elements_De_Frottement - - - Parallel_Processors - Processeurs_Paralleles - - - Harmonic_Constants_File - Fichier_Des_Constantes_Harmoniques - - - Spherical_Coordinates - Coordonnees_Spheriques - - - Parameter_Estimation - Estimation_De_Parametre - - - Linearized_Propagation - Propagation_Linearisee - - - Accuracy_Of_Epsilon - Precision_Sur_Epsilon - - - Diameter_Of_Roughness_Elements - Diametre_Des_Elements_De_Frottement - - - Number_Of_First_Time_Step_For_Graphic_Printouts - Numero_Du_Premier_Pas_De_Temps_Pour_Les_Sorties_Graphiques - - - Threshold_For_Negative_Depths - Seuil_Pour_Les_Profondeurs_Negatives - - - Wind_Velocity_Along_X - Vitesse_Du_Vent_Suivant_X - - - Wind_Velocity_Along_Y - Vitesse_Du_Vent_Suivant_Y - - - Information_About_Solver - Informations_Sur_Le_Solveur - - - Initial_Conditions - Conditions_Initiales - - - Culvert_Data_File - Fichier_De_Donnees_Des_Siphons - - - Maximum_Number_Of_Iterations_For_Advection_Schemes - Maximum_D_Iterations_Pour_Les_Schemas_De_Convection - - - Turbulence_Model_For_Solid_Boundaries - Regime_De_Turbulence_Pour_Les_Parois - - - Continuity_Correction - Correction_De_Continuite - - - Law_Of_Bottom_Friction - Loi_De_Frottement_Sur_Le_Fond - - - Option_For_Tsunami_Generation - Option_Pour_La_Generation_De_Tsunami - - - Type_Of_Weirs - Type_Des_Seuils - - - Record_Number_In_Wave_File - Numero_De_L_Enregistrement_Dans_Le_Fichier_De_Houle - - - Abscissae_Of_Sources - Abscisses_Des_Sources - - - Values_Of_The_Tracers_At_The_Sources - Valeurs_Des_Traceurs_Des_Sources - - - Treatment_Of_Fluxes_At_The_Boundaries - Traitement_Des_Flux_Aux_Frontieres - - - Printing_Cumulated_Flowrates - Impression_Du_Cumul_Des_Flux - - - Compatible_Computation_Of_Fluxes - Calcul_Compatible_Des_Flux - - - Bottom_Smoothings - Lissages_Du_Fond - - - Initial_Depth - Hauteur_Initiale - - - Minimum_Value_Of_Depth - Valeur_Minimum_De_H - - - Option_For_The_Diffusion_Of_Tracers - Option_Pour_La_Diffusion_Des_Traceurs - - - Duration - Duree_Du_Calcul - - - Stop_Criteria - Criteres_D_Arret - - - Prescribed_Velocities - Vitesses_Imposees - - - Initial_Values_Of_Tracers - Valeurs_Initiales_Des_Traceurs - - - Reference_File - Fichier_De_Reference - - - - lecture du fichier impossible : - unable to read file - - - - Impossible d'ouvrir le fichier %s - unable to read file - - - - Format de sortie : %s, non supporte - - - - - Impossible d'ouvrir le fichier : %s - - - - - Erreur a l'evaluation : - %s - - - - - Erreur ! Erreur ! - - - - - Erreur rencontree dans recherche_enfants : %s - - - - - Erreur dans la creation du mot-cle : %s - - - - - Impossible d'ouvrir le fichier : %s - - - - - le texte a analyser n'est pas celui d'une commande ou d'un operateur : - - - - - Erreur dans la recherche du nom de la commande : - - - - - Erreur dans la recherche des args de la commande : - - - - - Erreur dans la recherche du nom de la commande : - - - - - Erreur dans la recherche des args de la commande : - - - - - %d n'est pas un index valide pour append_brother - - - - - le fichier de commandes %s n'existe pas - - - - - un fichier de commandes doit etre defini avant une poursuite %s - - - - - le fichier poursuite %s n'existe pas - - - - - include mal defini %s - - - - - un fichier de commandes doit etre defini avant un include %s - - - - - le fichier include %s n'existe pas - - - - - le fichier jdc %s n'existe pas - - - - - jdc %s manque option jdc dans section jdc - - - - - %(v_1)s include %(v_2)s : %(v_3)s - v_1 - - - - - %(v_1)s fichier poursuite: %(v_2)s - v_1 - - - - - nom etude : %s - - - - - utilisation : %prog [options] - - - - - nom du fichier de commandes - - - - - nom du fichier poursuite - - - - - numero d'unite suivi du nom du fichier include - - - - - fichier decrivant une etude - - - - - version de catalogue a utiliser - - - - - nom du code a utiliser - - - - - niveau de debug - - - - - schema - - - - - localisation de l'application, pour la traduction - - - - - Nombre incorrect d'arguments - - - - - Localisation specifiee pour l'application. - - - - - Un fichier de nom %s existe deja : impossible de creer un repertoire de meme nom - - - - - Creation du repertoire %s impossible - Verifiez vos droits d'acces - - - - - Impossible de transferer les fichiers requis dans : %s - - - - - Erreur - - - - - Erreurs fatales - - - - - Impossible reconstruire commande - - - - - - Objet commentaire non valorise - - - - - Debut Fonction %s - - - - - Fin Fonction %s - - - - - Nom de concept deja defini : %s - - - - - Longueur incorrecte - - - - - L'attribut 'min' doit etre un entier : - - - - - L'attribut 'max' doit etre un entier : - - - - - Nombres d'occurrence min et max invalides : - - - - - L'attribut 'fr' doit etre une chaine de caracteres - - - - - L'attribut 'statut' doit valoir 'o','f','c' ou 'd' - - - - - L'attribut 'docu' doit etre une chaine de caracteres - - - - - Fin - - - - - Le parametre EVAL %s ne peut valoir None - - - - - Le parametre EVAL ne peut valoir None - - - - - Pas de nom donne au parametre EVAL - - - - - Un nom de parametre ne peut depasser 8 caracteres - - - - - ERREUR - - - - - Format pas implemente : %s - - - - - Type d'objet non prevu : %s - - - - - ce groupe de maillage %s est associe a au moins un materiau et au moins une source. - - - - - ce groupe de maillage %s n'est associe a aucun materiau ou source. - - - - - ATTENTION! Une source constante n'est possible qu'a frequence nulle en regime frequentiel - - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe valable - - - - - ERREUR! ce type de bloc (%s) n'est pas valable - - - - - toutes les donnees ne sont pas connues - - - - - Fichier patron %s n'existe pas. - - - - - Pas supporte - - - - - Entite inconnue ou interdite :%s - - - - - Entite inconnue ou interdite :%s. Elle est ignoree - - - - - Les tuples ne sont pas supportes pour le format ini :%s - - - - - Type de valeur non supportee par le format ini :%(nom)s -%(exception)s - nom - - - - - Il y a un pb a la Creation du XML - - - - - Il y a un pb a la Creation du STD - - - - - Entite inconnue ou interdite : %s. Elle est ignoree - - - - - Type de valeur non supporte par le format pyth : n %(exception)s - nom - - - - - Tag %s non-defini. Ceci est un bogue interne. en informer les developpeurs. - - - - - Le mot-cle %s est obligatoire. - - - - - concept %(inst_name)s de type %(class_name)s - inst_name - - - - - Un nom de concept doit etre un identificateur Python - - - - - Concept existant - - - - - Operateur reentrant mais concept non existant - - - - - Operateur reentrant et concept existant trouve - - - - - Concept deja existant et de mauvais type - - - - - Nommage du concept refuse : un concept de meme nom existe deja - - - - - Nommage du concept effectue - - - - - Nommage impossible %s - - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese ouvrante manquante - - - - - La liste des arguments d'une formule doit etre entre parentheses : parenthese fermante manquante - - - - - Pas de nom donne a la FORMULE - - - - - Un nom de FORMULE ne peut depasser 8 caracteres - - - - - Un nom de FORMULE ne peut pas commencer par un chiffre - - - - - Le type de la valeur retournee n'est pas specifie - - - - - Une formule ne peut retourner une valeur de type : %s - - - - - Impossible d'ajouter la commande - - - - - Impossible d ajouter la commande - - - - - Pas implemente - - - - - Nom de concept deja defini - - - - - Nom de concept deja defini : - - - - - Impossible de trouver le fichier correspondant a l'unite - - - - - n'est pas un fichier existant - - - - - Fichier invalide %s - - - - - Impossible de construire le jeu de commandes correspondant au fichier - - - - - Erreur lors de l'evaluation du fichier inclus - - - - - Ce fichier ne sera pas pris en compte - %s - - - - - Ce fichier ne sera pas pris en compte -Le fichier associe n'est pas defini - - - - - Le fichier n est pas defini - - - - - le fichier doit contenir une unique variable de sortie - - - - - Fichier invalide - - - - - Le contenu de ce fichier ne sera pas pris en compte - %s - - - - - Le fichier INCLUDE n est pas defini - - - - - Le contenu de ce fichier ne sera pas pris en compte - - - - - - Erreur lors de l'evaluation du fichier poursuite - - - - - L'objet %(v_1)s ne peut etre un fils de %(v_2)s - v_1 - - - - - L'objet %s ne peut pas etre repete - - - - - Erreur - mclist inexistante : %s - - - - - Erreur - mot cle facteur de nom : %s - - - - - traitement non-prevu - - - - - L'objet %s ne peut pas etre ajoute - - - - - None n'est pas une valeur autorisee - - - - - un concept de meme nom existe deja - - - - - Concept cree - - - - - La matrice n'est pas une matrice %(n_lign)d sur %(n_col)d - n_lign - - - - - Impossible de relire le fichier %s - - - - - - Le fichier include contient des erreurs - - - - - n'est pas un index valide pour append_brother - - - - - Decommenter - - - - - Decommente la commande - - - - - Impossible de supprimer un mot-cle obligatoire - - - - - Mot-cle %s supprime - - - - - Pb interne : impossible de supprimer ce mot-cle - - - - - Commentaire supprime - - - - - Commande %s supprimee - - - - - Pb interne : impossible de supprimer cet objet - - - - - Le fichier de commande n'a pas pu etre converti pour etre editable par Eficas - - - - - - - Include vide - - - - - L'include doit etre correctement initialise pour etre visualise - - - - - Impossible de supprimer ce mot-clef - - - - - View3D - - - - - affiche dans Geom les elements de structure - - - - - Graphique - - - - - affiche la distribution - - - - - Erreur interne - - - - - La PDF de la loi ne peut pas etre affichee. - - - - - &Annuler - - - - - Impossible de supprimer un mot-clef obligatoire - - - - - Mot-clef %s supprime - - - - - Pb interne : impossible de supprimer ce mot-clef - - - - - Definition d'un parametre - - - - - Import du fichier de Configuration - - - - - Erreur a la lecture du fichier de configuration %s - - - - - Erreur fatale au chargement de %s - - - - - Erreur fatale au chargement d'un fichier - - - - - fichier modifie - - - - - Attention! fichier change hors EFICAS - - - - - Type de fichier non reconnu - - - - - EFICAS ne sait pas ouvrir le type de fichier %s - - - - - EFICAS ne sait pas ouvrir ce type de fichier - - - - - Copie impossible - - - - - Veuillez selectionner un objet a copier - - - - - Veuillez selectionner un seul objet : la copie se fera apres le noeud selectionne - - - - - Aucun Objet n a ete copie ou coupe - - - - - Copie refusee - - - - - Eficas n a pas reussi a copier l objet - - - - - Copie refusee pour ce type d objet - - - - - Deplacement refuse - - - - - Deplacement refuse entre 2 fichiers. Seule la copie est autorisee - - - - - Copie impossible a cet endroit - - - - - Veuillez selectionner une commande, un parametre, un commentaire ou une macro - - - - - Choix d'un fichier XML - - - - - Le fichier contient une commande MODEL - - - - - - Donnez le nom du fichier XML qui contient la description des variables - - - - - Ouvrir Fichier - - - - - Erreur a la generation - - - - - EFICAS ne sait pas convertir ce JDC - - - - - Format %s non reconnu - - - - - EFICAS ne sait pas convertir le JDC selon le format - - - - - Execution impossible - - - - - le JDC doit etre valide pour une execution MAP - - - - - le JDC doit contenir un et un seul composant - - - - - le JDC doit etre valide pour une execution - - - - - Sauvegarder SVP avant l'execution - - - - - sauvegarde - - - - - Sauvegarde du Fichier - - - - - Le fichier <b>%s</b> existe deja. - - - - - &Ecraser - - - - - Sauvegarde de l'input impossible - - - - - Un JdC valide est necessaire pour creer un .input - - - - - Choix du composant obligatoire - - - - - Choix unite %d - - - - - Le fichier %s contient une commande INCLUDE - - - - - - Donnez le nom du fichier correspondant a l unite logique - - - - - Fichier pour unite - - - - - Choix d'un fichier de poursuite - - - - - Le fichier %s contient une commande POURSUITE - - - - - - Donnez le nom du fichier dont vous - voulez faire une poursuite - - - - - Fichiers Med (*.med);;Tous les Fichiers (*) - - - - - Fichier Med - - - - - Veuillez selectionner un fichier Med - - - - - reel - - - - - entier - - - - - complexe - - - - - Entrez - - - - - Entrez entre - - - - - et - - - - - Type de base inconnu - - - - - Aide Indisponible - - - - - l'aide n est pas installee - - - - - Visualisation Fichier - - - - - Impossibilite d'afficher le Fichier - - - - - Sauvegarder Fichier - - - - - Fichier selectionne - - - - - Selection - - - - - Export Med vers Fichier - - - - - Impossibilite d exporter le Fichier - - - - - Traduire Fichier - - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - - - - - Fichier Traduit : %s - - - - - - - Pas de difference entre le fichier origine et le fichier traduit - - - - - objet valide - - - - - %d versions du catalogue sont disponibles - - - - - Sauvegarder le fichier - - - - - Le fichier <b>%(v_1)s</b> n'a pu etre sauvegarde. <br>Raison : %(v_2)s - v_1 - - - - - Options pour - - - - - - valeurs - - - - - Nombre minimal de valeurs : - - - - - Nombre maximal de valeurs : - - - - - expression valide - - - - - expression invalide - - - - - l expression n est pas de la forme a+bj - - - - - expression n est pas de la forme a+bj - - - - - entrer une seule valeur SVP - - - - - saisir le type de complexe - - - - - Valeur du mot-cle enregistree - - - - - Valeur du mot-cle non autorisee - - - - - &Recents - - - - - Aide specifique - - - - - Options - - - - - Traduction - - - - - TraduitV7V8 - - - - - TraduitV8V9 - - - - - TraduitV9V10 - - - - - Acquiert Groupe Maille - - - - - Specificites Maille - - - - - version - - - - - pour - - - - - Parametrage - - - - - Veuillez d abord choisir un code - - - - - Pas de possibilite de personnalisation de la configuration - - - - - &Effacer - - - - - Veuillez entrer le complexe sous forme aster ou sous forme python - - - - - Import du catalogue - - - - - Pas de catalogue defini pour le code - - - - - Aucun catalogue trouve - - - - - Impossible d'importer le catalogue - - - - - avec le catalogue - - - - - Choix d une version du code - - - - - Choix d une version - - - - - Parametre - - - - - Insere un parametre - - - - - item invalide - - - - - l item doit etre valide - - - - - &Ok - &Ok - - - - apres - - - - - Insere un commentaire apres la commande - - - - - avant - - - - - Insere un commentaire avant la commande - - - - - Insere un parametre apres la commande - - - - - Insere un parametre avant la commande - - - - - Supprimer - - - - - supprime le mot clef - - - - - Documentation - - - - - documentation sur la commande - - - - - Documentation Vide - - - - - Aucune documentation n'est associee a ce noeud - - - - - impossible de trouver la commande - - - - - Lecteur PDF - - - - - impossible d'ouvrir - - - - - Commentaire - - - - - ce noeud - - - - - commente le noeud - - - - - Fichiers JDC (*.comm);;Tous les Fichiers (*) - - - - - &Quitter - - - - - Quitter - - - - - Fichier Duplique - - - - - Le fichier ne sera pas sauvegarde. - - - - - Fichier - - - - - Le fichier <b>%s</b> est deja ouvert. - - - - - &Duplication - - - - - &Abort - - - - - Fichier Modifie - - - - - Le fichier %s n a pas ete sauvegarde. - - - - - &Sauvegarder - - - - - SOURCE - - - - - EnveloppeConnexeInducteur - - - - - EnveloppeConnexe2 - - - - - VecteurDirecteur - - - - - Centre - - - - - SectionBobine - - - - - Amplitude - - - - - NbdeTours - - - - - CONDUCTEUR - - - - - Conductivite - - - - - PermeabiliteRelative - - - - - NOCOND - - - - - VCUT - - - - - Orientation - - - - - ZS - - - - - PARAMETRES - - - - - RepCarmel - - - - - TypedeFormule - - - - - Frequence - - - - - Nb_Max_Iterations - - - - - Erreur_Max - - - - - PARAMETRE - - - - - Valeur non modifiable - - - - - Format non implemente - - - - - Type d'objet non prevu - - - - - Select - - - - - Sauve Format Ligne - - - - - %s n'est pas un fichier valide - - - - - Fichier de donnees - - - - - Tous les Fichiers (*) - - - - - nb min de valeurs : - - - - - nb max de valeurs atteint - - - - - TraduitV10V11 - - - - - TraduitV11V12 - - - - - Valeur du mot-clef enregistree - - - - - Valeur du mot-clef non autorisee : - - - - - Un concept de nom %s existe déjà ! - - - - - La cardinalite n'est pas correcte, la derniere valeur est ignoree - - - - - n est pas un tuple de - - - - - valeurs - - - - - Valeur incorrecte - - - - - n est pas un identifiant correct - - - - - - Entrer un float SVP - - - - - Entrer un float inferieur a - - - - - Entrer un float superieur a - - - - - Mauvaise execution - - - - - impossible d executer la methode - - - - - Mauvaise Commande - - - - - Aucune variable connue - - - - - Mauvaise dimension de matrice - - - - - le nombre de ligne n est pas egal a - - - - - le nombre de colonne n est pas egal a - - - - - Mauvaise Valeur - - - - - l element - - - - - n est pas correct - - - - - Modification Impossible - - - - - le parametre n'est pas valide - - - - - n est pas un identifiant correct - - - - - Valeur incorrecte: - - - - - Valeur incorrecte - - - - - Valeur correcte - - - - - impossible d'evaluer : - - - - - La formule passee a l'interpreteur doit etre sous forme de tuple - - - - - Debut - - - - - Pas de nom donne au parametre - - - - - Le parametre %s ne peut valoir None - - - - - Format non implemente : %s - - - - - Impossible de realiser la verification de la formule - - - - - Un concept de nom %s existe deja ! - - - - - existe deja - - - - - - Fichier non encore nomme - - - - - La matrice n'a pas le bon entete - - - - - le mot clef - - - - - doit etre insere avant - - - - - insertion impossible - - - - - doit etre insere apres - - - - - Nb maximum de valeurs atteint - - - - - pas de regle de construction pour ce jeu de commandes - - - - - Gestion Maillage - - - - - Acquiert groupe mailles - - - - - Acquisition Groupe Maille - - - - - VERSION - - - - - NUM - - - - - FILETYPE - - - - - PARAMETERS - - - - - Fichier_maillage - - - - - Echelle_du_maillage - - - - - Formulation - - - - - Timeproblem - - - - - spectral - - - - - Basis - - - - - Fourier - - - - - Ordre - - - - - FREQUENCY - - - - - minimisation - - - - - no - - - - - yes - - - - - nb_procs_para - - - - - POLYMER - - - - - MODEL_DATABASE - - - - - Stabilise - - - - - Non Stabilise - - - - - Local - - - - - ESSAI_OPTION - - - - - MATERIEL - - - - - Cable - - - - - Peinture - - - - - Tuyauterie - - - - - Materiau_De_Cable - - - - - PE - - - - - EPDM - - - - - Modele - - - - - Impossible de convertir le fichier Python qui doit contenir des erreurs. - - On retourne le fichier non converti. Prevenir la maintenance. - - %s - - - - - Eficas ne peut pas traiter plusieurs instructions - sur la meme ligne : %s - - - - - le texte a analyser n'est pas celui d'une commande ou - d'un operateur : %s - - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - - - - - le texte a analyser n'est pas celui d'une commande connue : - %(v_1)s %(v_2)s - v_1 - - - - - jdc %(v_1)s manque - fichier comm dans section %(v_2)s - v_1 - - - - - jdc %(v_1)s, le fichier - de commandes %(v_2)s n'existe pas - v_1 - - - - - jdc %(v_1)s - fichier include %(v_2)s, %(v_3)s - n'existe pas - v_1 - - - - - jdc %(v_1)s manque fichier comm - dans section %(v_2)s - v_1 - - - - - jdc %(v_1)s, le fichier de commandes - %(v_2)s n'existe pas - v_1 - - - - - Objet commande commentarisé invalide - - - - - ATTENTION! Une source constante - n'est possible qu'a frequence nulle - en regime frequentiel - - - - - ERREUR! Une forme de la source du - type WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ATTENTION! Une source constante n'est - possible qu'a frequence nulle en regime frequentiel - - - - - ERREUR! Une forme de la source du type - WAVEFORM_CONSTANT ou WAVEFORM_SINUS est attendue. - - - - - ERREUR! ce groupe de maille (%s) n'a pas de prefixe - indiquant le type de materiau ou de source associee - - - - - ERREUR! ce groupe de maille (%(nom)s) n'a pas - le prefixe correct pour etre associe a un type %(type_bloc)s - nom - - - - - - Include Invalide. - ne sera pas pris en compte - - - - - : verifie les types dans un tuple - - - - - Les types entres ne sont pas permis - - - - - ChoixCode - - - Choix du code - - - - - Veuillez choisir un code : - - - - - &Cancel - - - - - Validate choice - - - - - &OK - - - - - ChoixCommandes - - - DMacro - - - - - <html><head/><body><p align="center"><span style=" text-decoration: underline;">Affichage</span></p></body></html> - - - - - affiche les commandes par ordre alphabetique - - - - - Alphabetique - - - - - affiche les commandes selon les thèmes - - - - - Ordre de la modélisation - - - - - Par Groupe - - - - - <html><head/><body><p align="center">Filtre Commande</p></body></html> - - - - - filter commands - - - - - affiche les régles de validité - - - - - ... - - - - - Règles de construction - - - - - Sensible à la casse - - - - - Effacer - - - - - selectionne les mots qui CONTIENNENT l expression - - - - - ré-affiche toutes les commandes - - - - - DChoixCata - - - Choix d'une version du code Aster - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">2 versions sont disponibles</span></p></body></html> - - - - - &Cancel - - - - - Validate choice - - - - - &OK - - - - - DSelVal - - - Sélection de valeurs - - - - - Separateur - - - - - espace - - - - - virgule - - - - - point-virgule - - - - - Ajouter Selection - - - - - Importer Tout - - - - - DVisu - - - Visualisation Include Materiau - - - - - Eficas - - - MainWindow - - - - - &Fichier - - - - - &Aide - - - - - toolBar - - - - - &Nouveau - - - - - Ctrl+N - - - - - Nouvel Include - - - - - &Ouvrir - - - - - Ctrl+O - - - - - Enregistrer - - - - - Enregistrer sous - - - - - Fermer - - - - - Ctrl+W - - - - - Fermer tout - - - - - Couper - - - - - Ctrl+X - - - - - Copier - - - - - Ctrl+C - - - - - Coller - - - - - Ctrl+V - - - - - Quitter - - - - - Ctrl+Q - - - - - Rapport de Validation - - - - - Fichier Source - - - - - Fichier Résultat - - - - - Parametres Eficas - - - - - Lecteur documentation - - - - - Eficas - - - - - Version - - - - - Supprimer - - - - - Rechercher - - - - - Rechercher dans l'arbre d'etude - - - - - Ctrl+F - - - - - Replier/Deplier - - - - - Tab 1 - - - - - &Edition - - - - - &JeuDeDonnées - - - - - Shift+I - - - - - Ctrl+S - - - - - Ctrl+Shift+S - - - - - Shift+V - - - - - Chercher Mot-Clef - - - - - Rechercher dans le catalogue - - - - - Shift+F - - - - - Shift+D - - - - - Commentaire - - - - - Shift+C - - - - - Paramètres - - - - - Gestion des paramètres - - - - - Shift+P - - - - - Parametre Eficas - - - - - Execution - - - - - Execution - - - - - Save Run - - - - - Patrons - - - - - Run - - - - - &bad - - - - - Régles du JdC - - - - - JDCEditor - - - Save File - - - - - The file <b>%1</b> could not be saved.<br>Reason: %2 - - - - - JDC (*.comm);;All Files (*) - - - - - &Abandonner - &Abandonner - - - - Tuple2 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Tuple3 - - - Form - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Widget4a6RadioButton - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - Détruit le mot-clef - - - - - WidgetBloc - - - Form - - - - - WidgetCB - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetCommande - - - DCommandeUnique - - - - - Affiche le rapport de validité de la commande - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - Nom de l'objet. Seuls, les objets valides peuvent être nommés - - - - - Lance un script associé à la commande - - - - - ouvre un navigateur sur l'aide contextuelle - - - - - affiche les régles de validité - - - - - Détruit la commande - - - - - Affiche les commandes possibles - - - - - &Commandes - - - - - Shift+A, Alt+A, Alt+A, Alt+A - - - - - Affiche le formulaire de la commande précédente - - - - - << - - - - - Affiche le formulaire de la commande suivante - - - - - >> - - - - - TextLabel - - - - - WidgetCommentaire - - - DCommandeUnique - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0000ff;">Commentaire</span></p></body></html> - - - - - Détruit le commentaire - - - - - Affiche les commandes possibles - - - - - &Commandes - - - - - Shift+A, Alt+A, Alt+A, Alt+A - - - - - Affiche le formulaire de la commande précédente - - - - - << - - - - - Affiche le formulaire de la commande suivante - - - - - >> - - - - - WidgetDate - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetFact - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" font-style:italic;">TextLabel</span></p></body></html> - - - - - WidgetFactPlie - - - Form - - - - - ... - - - - - TextLabel - - - - - WidgetHeure - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><br/></p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetInformative - - - Form - - - - - WidgetOptionnel - - - WidgetOptionnel - - - - - <html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html> - - - - - WidgetParam - - - DCommandeUnique - - - - - ... - - - - - <html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html> - - - - - Détruit le commentaire - - - - - Affiche les commandes possibles - - - - - &Commandes - - - - - Shift+A, Alt+A, Alt+A, Alt+A - - - - - Affiche le formulaire de la commande précédente - - - - - << - - - - - Affiche le formulaire de la commande suivante - - - - - >> - - - - - <html><head/><body><p>Valeur: </p></body></html> - - - - - <html><head/><body><p>Nom: </p></body></html> - - - - - Verifie la valeur - - - - - <html><head/><body><p><br/></p></body></html> - - - - - WidgetPlusieursBase - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Remonte la ligne - - - - - Descend la ligne - - - - - supprime une ligne - - - - - Ajoute une ligne - - - - - Montre l'ensemble des valeurs - - - - - Sélectionne depuis Salome - - - - - Visualise dans Salome - - - - - Ouvre un fichier de sélection des valeurs - - - - - Détruit le mot-clef - - - - - permet de gérer la liste - - - - - TextLabel - - - - - WidgetPlusieursInto - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - permet de gérer la liste - - - - - WidgetPlusieursIntoOrdonne - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - TextLabel - - - - - Remonte d'une ligne - - - - - Descend d'une ligne - - - - - Détruit une ligne - - - - - ajoute une ligne - - - - - visualise l'ensemble des valeurs - - - - - Détruit le mot-clef - - - - - permet de gérer la liste - - - - - WidgetPlusieursPlie - - - Form - - - - - Affiche le rapport de validité du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - permet de gérer la liste - - - - - Détruit le mot-clef - - - - - WidgetPlusieursTuple - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Remonte la ligne - - - - - Descend la ligne - - - - - supprime une ligne - - - - - Ajoute une ligne - - - - - Montre l'ensemble des valeurs - - - - - Ouvre un fichier de sélection des valeurs - - - - - Détruit le mot-clef - - - - - TextLabel - - - - - WidgetRadioButton - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - RadioButton - - - - - Détruit le mot-clef - - - - - WidgetSDCOInto - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p>Structures de données du type requis </p><p><br/></p></body></html> - - - - - <html><head/><body><p>ou Nom du concept</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetSimpBase - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetSimpBool - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - True - - - - - False - - - - - Détruit le mot-clef - - - - - WidgetSimpComplexe - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Complexe : a+bj - - - - - <html><head/><body><p align="center">OU </p></body></html> - - - - - Réel/Imaginaire - - - - - Module/Phase - - - - - WidgetSimpFichier - - - Form - - - - - Affiche le rapport de validité du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - affiche l'explorateur de fichier - - - - - ouvre le fichier choisi - - - - - Détruit le mot-clef - - - - - WidgetSimpTxt - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetTuple2 - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetTuple3 - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">(</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">,</span></p></body></html> - - - - - <html><head/><body><p><span style=" font-size:14pt;">)</span></p></body></html> - - - - - Détruit le mot-clef - - - - - WidgetUniqueSDCO - - - Form - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - Attend un objet de type CO - - - - - Détruit le mot-clef - - - - - WidgetVide - - - Form - - - - - ... - - - - - <html><head/><body><p><span style=" color:#0055ff;">Label</span></p></body></html> - - - - - Attend un objet de type XXXX. Il faut le créer - - - - - baseWidget - - - DMacro - - - - - dView - - - Dialog - - - - - Fermer - - - - - Sauver - - - - - desRecherche - - - Rechercher dans le JDC - - - - - Next - - - - - Suivant - - - - - desWidgetCreeParam - - - Gestion des Paramètres - - - - - <html><head/><body><p>Nom: </p></body></html> - - - - - <html><head/><body><p>Valeur: </p></body></html> - - - - - <html><head/><body><p><span style=" text-decoration: underline;">Créer un paramètre</span></p></body></html> - - - - - desWidgetMatrice - - - Dialog - - - - - Affiche le rapport de validation du mot-clef - - - - - ... - - - - - <html><head/><body><p>Met à jour l'en-tête</p></body></html> - - - - - <html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html> - - - - - self.appliEficas - - - Wrapper Files (*.xml);;All Files (*) - - - - - Noname - - - - - viewRegles - - - Dialog - - - - diff --git a/OldCodes/UiQT4/makefile b/OldCodes/UiQT4/makefile deleted file mode 100644 index ae76eed3..00000000 --- a/OldCodes/UiQT4/makefile +++ /dev/null @@ -1,34 +0,0 @@ -PYUIC = pyuic4 -QTRELEASE = lrelease-qt4 -.PHONY : all -.SUFFIXES : .ui .py .ts .qm - - -PY_FILES = myMain.py desBaseWidget.py desChoixCata.py desChoixCode.py desChoixLangue.py desChoixCommandes.py \ - desRecherche.py desRechercheCatalogue.py \ - desSelectVal.py desViewTexte.py desViewRegles.py desVisu.py desWidgetCreeParam.py desWidgetCommande.py \ - desWidgetOptionnel.py desWidgetOptionnelMC.py Tuple2.py Tuple3.py \ - desWidgetBloc.py desWidgetCB.py desWidgetCommentaire.py desWidgetDate.py \ - desWidgetFact.py desWidgetFactPlie.py desWidgetFormule.py desGroupeOptionnel.py \ - desWidgetHeure.py desWidgetInformation.py desWidgetInactif.py \ - desWidgetMatrice.py desWidgetParam.py desWidgetPlusieursBase.py desWidgetPlusieursInto.py \ - desWidgetPlusieursIntoOrdonne.py desWidgetPlusieursTuple.py desWidgetRadioButton.py \ - desWidget4a6RadioButton.py desWidgetSimpBase.py desWidgetSDCOInto.py desWidgetSimpBool.py \ - desWidgetSimpSalome.py \ - desWidgetSimpComplexe.py desWidgetSimpFichier.py desWidgetSimpTxt.py desWidgetTuple2.py \ - desWidgetTuple3.py desWidgetVide.py desWidgetUniqueSDCO.py desWidgetPlusieursPlie.py - - - -QM_FILES=eficas_en.qm eficas_fr.qm - -%.py:%.ui - ${PYUIC} -x -o $@ $< - -%.qm:%.ts - ${QTRELEASE} -qm $@ $< - -all : $(PY_FILES) $(QM_FILES) -clean : - -rm -rf $(PY_FILES) *.pyc - diff --git a/OldCodes/UiQT4/myMain.ui b/OldCodes/UiQT4/myMain.ui deleted file mode 100644 index c5d95434..00000000 --- a/OldCodes/UiQT4/myMain.ui +++ /dev/null @@ -1,471 +0,0 @@ - - - Eficas - - - - 0 - 0 - 1676 - 811 - - - - - 0 - 0 - - - - MainWindow - - - /* QMenuBar { - background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, - stop:0 rgb(226,255,253), stop:1 rgb(191,237,255)); - }*/ - -QMenuBar { - background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, - stop:0 rgb(164,165,178), stop:1 rgb(55,66,126)); - } - QMenuBar::item { - spacing: 3px; /* spacing between menu bar items */ - color: white; - padding: 1px 4px; - background: transparent; - border-radius: 4px; - } - - QMenuBar::item:selected { /* when selected using mouse or keyboard */ - background: #a8a8a8; - } - - QMenuBar::item:pressed { - background: #888888; - } - - - - - - - - - - - - - QComboBox{combobox-popup:0;} - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 61 - - - - - 16777215 - 61 - - - - /*background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, - stop:0 rgb(218,229,248), stop:1 rgb(9,86,109));*/ -/*background-color:rgb(208,225,238)*/ - - - QFrame::NoFrame - - - QFrame::Raised - - - 2 - - - - - - - background-color:rgb(224,223,222) - - - QTabWidget::North - - - 0 - - - true - - - - Tab 1 - - - - - - - - - - 0 - 0 - 1676 - 25 - - - - - &Fichier - - - - - - - - - - - - - - - - &Edition - - - - - - - - - - - - - &JeuDeDonnées - - - - - - - - - - - - &Aide - - - - - - - - - - - - - - toolBar - - - - 36 - 36 - - - - TopToolBarArea - - - false - - - - - - - - - - - - - - - - .. - - - &Nouveau - - - Ctrl+N - - - - - Nouvel Include - - - Shift+I - - - - - &bad - - - - - - .. - - - &Ouvrir - - - Ctrl+O - - - - - - .. - - - Enregistrer - - - Ctrl+S - - - - - Parametres Eficas - - - - - - .. - - - Enregistrer sous - - - Ctrl+Shift+S - - - - - Fermer - - - Ctrl+W - - - - - Fermer tout - - - - - - .. - - - Couper - - - Ctrl+X - - - Qt::ApplicationShortcut - - - - - - .. - - - Copier - - - Ctrl+C - - - Qt::ApplicationShortcut - - - - - - .. - - - Coller - - - Ctrl+V - - - Qt::ApplicationShortcut - - - - - Quitter - - - Ctrl+Q - - - - - Rapport de Validation - - - Shift+V - - - false - - - - - Fichier Source - - - - - Fichier Résultat - - - - - Lecteur documentation - - - - - Eficas - - - - - Version - - - - - - .. - - - Supprimer - - - - - Chercher Mot-Clef - - - Rechercher dans le catalogue - - - Shift+F - - - Qt::ApplicationShortcut - - - - - - .. - - - Rechercher - - - Rechercher dans l'arbre d'etude - - - Ctrl+F - - - Qt::ApplicationShortcut - - - - - Replier/Deplier - - - Shift+D - - - - - Commentaire - - - Shift+C - - - - - - ../Editeur/icons/parametres.png../Editeur/icons/parametres.png - - - Paramètres - - - Gestion des paramètres - - - Shift+P - - - - - Parametre Eficas - - - - - Régles du JdC - - - - - - diff --git a/OldCodes/ZCracks/CMakeLists.txt b/OldCodes/ZCracks/CMakeLists.txt deleted file mode 100644 index 62b62ebb..00000000 --- a/OldCodes/ZCracks/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES configuration_ZCRACKS.py monCode_Cata.py prefs.py prefs_ZCRACKS.py properties.py qtEficas_ZCracks.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/ZCracks - ) - - - -### Local Variables: -### mode: cmake -### End: diff --git a/OldCodes/ZCracks/configuration_ZCRACKS.py b/OldCodes/ZCracks/configuration_ZCRACKS.py deleted file mode 100644 index 4ab64b85..00000000 --- a/OldCodes/ZCracks/configuration_ZCRACKS.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/OldCodes/ZCracks/mesScripts_ZCRACKS.py b/OldCodes/ZCracks/mesScripts_ZCRACKS.py deleted file mode 100644 index 9756cd67..00000000 --- a/OldCodes/ZCracks/mesScripts_ZCRACKS.py +++ /dev/null @@ -1,28 +0,0 @@ - -def view_med(params,appli) : - mcSimp=params[0].object.get_child('cracked_name') - fileName=mcSimp.valeur - import os - if not os.path.isfile(fileName) : - from PyQt4.QtGui import QMessageBox - QMessageBox.warning( None, "Erreur","Le fichier n'existe pas") - return - result,message=appli.importMedFile(fileName) - if result==1 : return - from PyQt4.QtGui import QMessageBox - QMessageBox.warning( None, "Erreur a l import",message) - return - - -# le dictionnaire des commandes a la structure suivante : -# la clef est la commande qui va proposer l action -# puis un tuple qui contient -# - la fonction a appeler -# - le label dans le menu du clic droit -# - un tuple contenant les parametres attendus par la fonction -# - appelable depuis Salome uniquement -) -# - appelable depuis un item valide uniquement -# - toolTip -dict_commandes={ - 'MAILLAGE_RESULTAT':((view_med,"View Result",('item','editor'),False,False,"affiche dans Smesh le fichier med resultat"),), - } diff --git a/OldCodes/ZCracks/monCode_Cata.py b/OldCodes/ZCracks/monCode_Cata.py deleted file mode 100644 index dc9bbe2e..00000000 --- a/OldCodes/ZCracks/monCode_Cata.py +++ /dev/null @@ -1,66 +0,0 @@ -from Accas import * - -JdC = JDC_CATA (code = 'ZCrack', - execmodul = None, - ) - -class grma(GEOM): - pass - -class grno(GEOM): - pass - -ONGLET="oui" - -MAILLAGES = PROC(nom='MAILLAGES',op=None, - MAILLAGE_SAIN=FACT(statut='o', - sane_name=SIMP(typ=('Fichier', 'Med Files(*.med);;All Files (*)'),fr= "",ang= "Name of the initial uncracked mesh",statut= "o"), - if_quad=SIMP(typ="I",fr="",ang="1 for quadratic mesh",defaut=0,statut='o',into=[0,1]), - scale=SIMP(typ="R",fr="",ang="",statut='o',defaut=1), - ), - FISSURE=FACT(statut='o', - crack_name=SIMP(typ=('Fichier', 'Med Files(*.med);;All Files (*)',),fr= "",ang= "Name of the crack surface mesh",statut= "o"), - GENERE_FISSURE=FACT( - regles=(AU_MOINS_UN('ELLIPSE','DISQUE'),), - ELLIPSE=FACT( - center=SIMP(typ="R",fr="",ang="",statut='o',min=3,max=3), - normal=SIMP(typ="R",fr="",ang="",statut='o',min=3,max=3), - ra=SIMP(typ="R",fr="",ang="",statut='o'), - rb=SIMP(typ="R",fr="",ang="",statut='o'), - dir=SIMP(typ="R",fr="",ang="",statut='o',min=3,max=3), - ), - DISQUE=FACT( - center=SIMP(typ="R",fr="",ang="",statut='o',min=3,max=3), - normal=SIMP(typ="R",fr="",ang="",statut='o',min=3,max=3), - rayon=SIMP(typ="R",fr="",ang="",statut='o'), - ), - ), - ), - MAILLAGE_RESULTAT=FACT(statut='o', - cracked_name=SIMP(typ=('Fichier', 'Med Files(med);;All Files (*)','Sauvegarde'),fr= "",ang= "Name of the final mesh",statut= "o"), - crack_id=SIMP(typ="I",fr="",val_min=0, defaut=1), - repertoire=SIMP(typ='Repertoire',fr= "Repertoire ",ang= " Directory",statut= "f",), - ), - GROUPES=FACT(statut='f', - regles=(AU_MOINS_UN('elset_names','faset_names','liset_names','nset_names'),), - elset_names=SIMP(typ=grma,fr="",ang="names of volume element groups to be kept",min=1,max="**",statut="f"), - faset_names=SIMP(typ=grma,fr="",ang="names of surface element groups to be kept",min=1,max="**",statut="f"), - liset_names=SIMP(typ=grma,fr="",ang="names of line element groups to be kept",min=1,max="**",statut="f"), - nset_names=SIMP(typ=grno,fr="" ,ang="names of node element groups to be kept",min=1,max="**",statut="f"), -) -) - -REMESHING=PROC(nom='REMESHING',op=None, - yams_options=SIMP(typ='TXM',fr="",ang="parameters for yams command line",statut="f"), - gradation=SIMP(typ="R",fr="",ang="gradation remeshing parameter",val_max=2.3,defaut=1.3,statut='o'), - min_size=SIMP(typ="R",fr="",ang="minimal element edges length",statut='o'), - max_size=SIMP(typ="R",fr="",ang="maximal element edges length",statut='o'), - nb_iter=SIMP(typ="I",fr="",ang="number of iterations for remeshing process",defaut=2,statut='o'), - ridge_names=SIMP(typ=grma,fr="",ang="",min=1,max="**",statut="f"), - topo_names=SIMP(typ=grma,fr="",ang="",min=1,max="**",statut="f"), - geom_names=SIMP(typ=grma,fr="",ang="",min=1,max="**",statut="f"), - REMAILLAGE_LOCAL=FACT(statut='f', - elset_radius=SIMP(typ="R",fr="",ang="",statut='o'), - ), - filter_tol=SIMP(typ="R",fr="",ang="filtering tolerance for meshing operations",defaut=1.e-6,statut="f"), -) diff --git a/OldCodes/ZCracks/monCode_Cata.py.V0 b/OldCodes/ZCracks/monCode_Cata.py.V0 deleted file mode 100644 index 8ad40ea4..00000000 --- a/OldCodes/ZCracks/monCode_Cata.py.V0 +++ /dev/null @@ -1,40 +0,0 @@ -from Accas import * - -JdC = JDC_CATA (code = 'ZCrack', - execmodul = None, - ) - -class grma(GEOM): - pass - -class grno(GEOM): - pass - -FILES = PROC(nom='FILES',op=None, - crack_name=SIMP(typ=('Fichier', 'Med Files(*.med);;All Files (*)',),fr= "",ang= "Name of the crack surface mesh",statut= "o"), - sane_name=SIMP(typ=('Fichier', 'Med Files(*.med);;All Files (*)'),fr= "",ang= "Name of the initial uncracked mesh",statut= "o"), - cracked_name=SIMP(typ=('Fichier', 'Med Files(med);;All Files (*)','Sauvegarde'),fr= "",ang= "Name of the final mesh",statut= "o"), -) -PRESERVATION = PROC(nom='PRESERVATION',op=None, - elset_names=SIMP(typ=grma,fr="",ang="names of volume element groups to be kept",min=1,max="**",statut="f"), - faset_names=SIMP(typ=grma,fr="",ang="names of surface element groups to be kept",min=1,max="**",statut="f"), - liset_names=SIMP(typ=grma,fr="",ang="names of line element groups to be kept",min=1,max="**",statut="f"), - nset_names=SIMP(typ=grno,fr="" ,ang="names of node element groups to be kept",min=1,max="**",statut="f"), -) -REMESHING=PROC(nom='REMESHING',op=None, - gradation=SIMP(typ="R",fr="",ang="gradation remeshing parameter",val_max=2.3,defaut=1.3,statut='o'), - min_size=SIMP(typ="R",fr="",ang="minimal element edges length",statut='o'), - max_size=SIMP(typ="R",fr="",ang="maximal element edges length",statut='o'), - nb_iter=SIMP(typ="I",fr="",ang="number of iterations for remeshing process",defaut=2,statut='o'), - if_quad=SIMP(typ="I",fr="",ang="1 for quadratic mesh",defaut=0,statut='o',into=[0,1]), - - REMESHING_ADVANCED=FACT(statut="f", - yams_options=SIMP(typ='TXM',fr="",ang="parameters for yams command line",statut="f"), - filter_tol=SIMP(typ="R",fr="",ang="filtering tolerance for meshing operations",defaut=1.e-6,statut="f"), - grid_max=SIMP(typ="R",fr="",ang="truncation number for meshing operations",defaut=1.e11,statut="f"), - nb_velem=SIMP(typ="I",fr="",ang="number of element layers which size should be fixed to min_size",defaut=3,statut='f'), - if_barsoum=SIMP(typ="I",fr="",ang="element barsoum",defaut=1,statut='f',into=[0,1]), - -) -) - diff --git a/OldCodes/ZCracks/prefs.py b/OldCodes/ZCracks/prefs.py deleted file mode 100644 index d7a65711..00000000 --- a/OldCodes/ZCracks/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="ZCRACKS" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/OldCodes/ZCracks/prefs_ZCRACKS.py b/OldCodes/ZCracks/prefs_ZCRACKS.py deleted file mode 100644 index 44c905cd..00000000 --- a/OldCodes/ZCracks/prefs_ZCRACKS.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni -fileName="docMonCode.png" -image=1 - -# -catalogues=( - ('monCode','default',os.path.join(repIni,'monCode_Cata.py'),'ZCRACKS','python'), -) diff --git a/OldCodes/ZCracks/properties.py b/OldCodes/ZCracks/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/OldCodes/ZCracks/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/OldCodes/ZCracks/qtEficas_ZCracks.py b/OldCodes/ZCracks/qtEficas_ZCracks.py deleted file mode 100755 index b1254f2c..00000000 --- a/OldCodes/ZCracks/qtEficas_ZCracks.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -from PyQt4.QtCore import * -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/OldCodes/ts/Telemac_Cata.py b/OldCodes/ts/Telemac_Cata.py deleted file mode 100644 index b3f63f6f..00000000 --- a/OldCodes/ts/Telemac_Cata.py +++ /dev/null @@ -1,2666 +0,0 @@ -# coding: utf-8 - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'TELEMAC', - execmodul = None, - ) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ====================================================================== - -# ----------------------------------------------------------------------- -INITIALIZATION = PROC(nom = "INITIALIZATION",op = None, -# ----------------------------------------------------------------------- - - fr = "Initialisation des fichiers d'entrée et de sortie", - ang = "Input and Output files initialization", - UIinfo = { "groupes" : ( "CACHE", )}, - #UIinfo = { "groupes" : ( "iiii", )}, - -# ------------------------------------ - Title = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - fr = 'Titre du cas etudie. Ce titre figurera sur les dessins.', - ang = 'Title of the case being considered. This title shall be marked on the drawings.'), - #Working_Directory = SIMP( statut='o',typ='Repertoire',defaut='/tmp'), - -# ------------------------------------ - Input_Files = FACT(statut='o', -# ------------------------------------ - - # Dictionary = SIMP( statut='o', typ = ('Fichier', 'Dico (*.dico);;All Files (*)',), - # defaut='telemac2d.dico', - # fr='Dictionnaire des mots cles.', ang='Key word dictionary.',), -# PN : le mot cle doit etre dans le dictionnaire et repris du catalogue mais n -# est pas modifiable - -# ------------------------------------ - Geometry_File_Format = SIMP( statut = 'o', typ = 'TXM', -# ------------------------------------ - into = ['Serafin', 'MED', 'SerafinD'], - defaut = 'Serafin', - fr = 'Format du fichier de geometrie. Les valeurs possibles sont : \n \ - - SERAFIN : format standard simple precision pour Telemac; \n \ - - SERAFIND: format standard double precision pour Telemac; \n \ - - MED : format MED base sur HDF5', - ang = 'Results file format. Possible values are: \n\ - - SERAFIN : classical single precision format in Telemac;\n\ - - SERAFIND: classical double precision format in Telemac;\n\ - - MED : MED format based on HDF5',) , - - b_geofile_med = BLOC (condition = "Geometry_File_Format == 'MED'", -# ------------------------------------ - Geometry_File = SIMP( statut = 'o', -# ------------------------------------ -# PNPNPN Question Soizic --> pourqoi Geo Files -# idem pour Bottom_Topography_File - typ = ('Fichier',' Med Files (*.med);;All Files (*)',), - fr = 'Nom du fichier contenant le maillage du calcul a realiser.', - ang = 'Name of the file containing the mesh. \n\ -This file may also contain the topography and the friction coefficients.'), - - ), - b_geofile_serafin = BLOC (condition = "Geometry_File_Format in ( 'Serafin','SerafinD')", -# ------------------------------------ - Geometry_File = SIMP( statut = 'o', -# ------------------------------------ -# PNPNPN Question Soizic --> pourqoi Geo Files -# idem pour Bottom_Topography_File - typ = ('Fichier', 'Geo Files (*.geo);;All Files (*)',), - fr = 'Nom du fichier contenant le maillage du calcul a realiser.', - ang = 'Name of the file containing the mesh. \n\ -This file may also contain the topography and the friction coefficients.'), - - ), - #Steering_File = SIMP( statut = 'o', typ = ('Fichier', 'Steering Files (*.cas);;All Files (*)',),), - - -# ------------------------------------ - Fortran_File = SIMP(statut = 'f', -# ------------------------------------ - typ = ('Fichier', 'Fortran files (*.f);;All Files (*)'), - fr = 'Nom du fichier a soumettre', - ang = 'Name of FORTRAN file to be submitted',), - -# ------------------------------------ - Bottom_Topography_File = SIMP( statut = 'f', -# ------------------------------------ - typ = ('Fichier', 'Geo Files (*.geo);;All Files (*)',), - fr = "Nom du fichier eventuel contenant la bathymetrie associee au maillage. \ -Si ce mot-cle est utilise; c'est cette bathymetrie qui sera utilisee pour le calcul.", - ang = 'Name of the possible file containing the bathymetric data.\ -Where this keyword is used, these bathymetric data shall be used in the computation.', - ), - -# ------------------------------------ - Bottom_Smoothings = SIMP( statut = 'o',typ = 'I', defaut = 0 , -# ------------------------------------ - fr = 'Nombre de lissages effectues sur la topographie. chaque lissage, effectue a l aide dune matrice de masse, est conservatif.\n\ -Utilise lorsque les donnees de bathymetrie donnent des resultats trop irreguliers apres interpolation.', - ang = 'Number of smoothings on bottom topography. each smoothing is mass conservative. \n\ -to be used when interpolation of bathymetry on the mesh gives very rough results.',), - -# ------------------------------------ - Boundary_Conditions_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'Boundary Condition (*.cli);;All Files (*)',), - fr = 'Nom du fichier contenant les types de conditions aux limites. Ce fichier est rempli de facon automatique\n\ -par le mailleur au moyen de couleurs affectees aux noeuds des frontieres du domaine de calcul.', - ang = 'Name of the file containing the types of boundary conditions. This file is filled automatically\n\ -by the mesh generator through through colours that are assigned to the boundary nodes.',), - - -# ------------------------------------ - Validation = FACT( statut = 'f', -# ------------------------------------ -#PNPN--> creer le Mot_clef simple Validation si ce fact existe - -# ------------------------------------ - Reference_File_Format = SIMP( statut = 'o', -# ------------------------------------ - typ = 'TXM', - into = ['Serafin','MED','SerafinD'], - defaut = 'Serafin', - fr = 'Format du fichier de resultats. Les valeurs possibles sont : \n\ - - SERAFIN : format standard simple precision pour Telemac; \n\ - - SERAFIND: format standard double precision pour Telemac; \n\ - - MED : format MED base sur HDF5' , - ang = 'Results file format. Possible values are:\n \ - - SERAFIN : classical single precision format in Telemac;\n\ - - SERAFIND: classical double precision format in Telemac; \n\ - - MED : MED format based on HDF5' ,), - -# ------------------------------------ - Reference_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'Reference File (*.ref);;All Files (*)',), - fr = 'Fichier de resultats de reference pour la validation. Les resultats a placer dans ce fichier seront a ecrire sur le canal 22.', - ang = 'Binary-coded result file for validation. The results to be entered into this file shall be written on channel 22.',), - - ), # Fin de Validation - -# ------------------------------------ - Formatted_And_Binary_Files = FACT( statut = 'f', -# ------------------------------------ - -# ------------------------------------ - Formatted_Data_File_1 = SIMP( statut = 'f', typ = ('Fichier', 'formated File (*.txt);;All Files (*)',), -# ------------------------------------ - fr = "Fichier de donnees formate mis a la disposition de l''utilisateur. \n\ -Les donnees de ce fichier seront a lire sur le canal 26.", - ang = 'Formatted data file made available to the user.\n\ -The data in this file shall be read on channel 26.',), - -# ------------------------------------ - Formatted_Data_File_2 = SIMP( statut = 'f', typ = ('Fichier', 'formated File (*.txt);;All Files (*)',), -# ------------------------------------ - fr = "Fichier de donnees formate mis a la disposition de l'utilisateur. \n\ -Les donnees de ce fichier seront a lire sur le canal 27.", - ang = "Formatted data file made available to the user.\n\ -The data in this file shall be read on channel 27.",), - -# ------------------------------------ - Binary_Data_File_1 = SIMP( statut = 'f', typ = ('Fichier', 'All Files (*)',), -# ------------------------------------ - fr = 'Fichier de donnees code en binaire mis a la disposition de l utilisateur. \n\ -Les donnees de ce fichier seront a lire sur le canal 24.', - ang = 'Binary-coded data file made available to the user.\n\ -The data in this file shall be read on channel 24.',), - -# ------------------------------------ - Binary_Data_File_2 = SIMP( statut = 'f', typ = ('Fichier', 'All Files (*)',), -# ------------------------------------ - fr = 'Fichier de donnees code en binaire mis a la disposition de l utilisateur.\n\ -Les donnees de ce fichier seront a lire sur le canal 25.', - ang = 'Binary-coded data file made available to the user. \n\ -The data in this file shall be read on channel 25.',), - - ), # fin Formatted_And_Binary_Files - - ), # Fin de InputFile - - # ----------------------------------------------------------------------- - Initial_State = FACT(statut='o', - # ----------------------------------------------------------------------- - -# ------------------------------------ - Initial_Conditions = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ['Zero elevation','Constant elevation','Zero depth','Constant depth','Special','TPXO satellite altimetry'], - defaut = 'Zero elevation', - fr = "Permet de definir les conditions initiales sur les hauteurs d'eau. Les valeurs possibles sont :\n\ - - COTE NULLE. Initialise la cote de surface libre a 0. \nLes hauteurs d'eau initiales sont alors retrouvees en faisant la difference entre les cotes de surface libre et du fond. \n\ - - COTE CONSTANTE . Initialise la cote de surface libre a la valeur donnee par le mot-cle COTE INITIALE. Les hauteurs d'eau initiales sont calculees comme precedemment.\n\ - - HAUTEUR NULLE .Initialise les hauteurs d'eau a 0. \n\ - - HAUTEUR CONSTANTE. Initialise les hauteurs d'eau a la valeur donnee par le mot-cle HAUTEUR INITIALE. \n\ - - PARTICULIERES. Les conditions initiales sur la hauteur d'eau doivent etre precisees dans le sous-programme CONDIN. \n\ - - ALTIMETRIE SATELLITE TPXO. Les conditions initiales sur la hauteur d'eau et les vitesses sont etablies sur \n\ - la base des donnees satellite TPXO dont les 8 premiers constistuents ont ete extraits et sauves dans le fichier\n\ - BASE DE DONNEES DE MAREE." , - ang = 'Makes it possible to define the initial conditions with the water depth. The possible values are : \n\ - - ZERO ELEVATION. Initializes the free surface elevation to 0. \n The initial water depths are then found by computing the difference between the free surface and the bottom. \n\ - - CONSTANT ELEVATION. Initializes the water elevation to the value given by the keyword \n\ - - INITIAL ELEVATION. The initial water depths are computed as in the previous case. \n\ - - ZERO DEPTH. Initializes the water depths to 0. \n\ - - CONSTANT DEPTH. Initializes the water depths to the value givenby the key-word INITIAL DEPTH. \n\ - - SPECIAL. The initial conditions with the water depth should be stated in the CONDIN subroutine. \n\ - - TPXO SATELITE ALTIMETRY. The initial conditions on the free surface and velocities are established from the TPXO satellite program data,\n the harmonic constituents of which are stored in the TIDE DATA BASE file.', ), - -# ------------------------------------ - b_initial_elevation = BLOC (condition = "Initial_Conditions == 'Constant elevation'", -# ------------------------------------ -# ------------------------------------ - Initial_Elevation = SIMP(statut = 'o',typ = 'R', -# ------------------------------------ - fr = 'Valeur utilisee avec l''option : CONDITIONS INITIALES - COTE CONSTANTE', - ang = 'Value to be used with the option : INITIAL CONDITIONS -CONSTANT ELEVATION' ), - ) , # fin b_initial_elevation - -# ------------------------------------ - b_initial_depth = BLOC (condition = "Initial_Conditions == 'Constant depth'", -# ------------------------------------ -# ------------------------------------ - Initial_Depth = SIMP(statut = 'o',typ = 'R', -# ------------------------------------ - fr = 'Valeur utilisee avec l''option : CONDITIONS INITIALES :-HAUTEUR CONSTANTE-', - ang = 'Value to be used along with the option: INITIAL CONDITIONS -CONSTANT DEPTH-' ), - ),# fin b_initial_depth - -# ------------------------------------ - b_special = BLOC (condition = "Initial_Conditions == 'Special'", -# ------------------------------------ -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ------------------------------------ - defaut = "The initial conditions with the water depth should be stated in the CONDIN subroutine"), - ), # fin b_special - -#PNPN il faut changer la condition pour que cela soit dans maree. il faut une position = global_jdc et remonter # cela -# ------------------------------------ - b_initial_TPXO = BLOC (condition = "Initial_Conditions == 'TPXO satellite altimetry'", -# ------------------------------------ -# ------------------------------------ - Ascii_Database_For_Tide = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Base de donnees de constantes harmoniques tirees du fichier du modele de maree', - ang = 'Tide data base of harmonic constituents extracted from the tidal model file',), - ), # fin b_initial_TPXO - - ), # fin Initial_State - - -# ------------------------------------ - Computation_Continued = SIMP( statut = 'o',typ = bool,defaut = False,position = "global_jdc"), -# ------------------------------------ - -# ------------------------------------ - b_comput_con = BLOC(condition = 'Computation_Continued == True', - Computation_Continued_Settings = FACT(statut = 'o', - -# ------------------------------------ - Previous_Computation_File_Format = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ['Serafin','MED','SerafinD'], - defaut = 'Serafin', - fr = 'Format du fichier de resultats du calcul precedent. Les valeurs possibles sont : \n\ - - SERAFIN : format standard simple precision pour Telemac; \n\ - - SERAFIND: format standard double precision pour Telemac; \n\ - - MED : format MED base sur HDF5', - ang = 'Previous computation results file format. Possible values are: \n\ - - SERAFIN : classical single precision format in Telemac; \n\ - - SERAFIND: classical double precision format in Telemac; \n\ - - MED : MED format based on HDF5',), - -# ------------------------------------ - Previous_Computation_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'Computation File (*.res);;All Files (*)',), - fr = "Nom d'un fichier contenant les resultats d'un calcul precedent realise sur le meme maillage \n\ - et dont le dernier pas de temps enregistre va fournir les conditions initiales pour une suite de de calcul.", - ang = 'Name of a file containing the results of an earlier computation which was made on the same mesh.\n\ - The last recorded time step will provid the initial conditions for the new computation.', - ), -# ------------------------------------ - Initial_Time_Set_To_Zero = SIMP(typ = bool, statut = 'o', -# ------------------------------------ - fr = 'Remet le temps a zero en cas de suite de calcul', - ang = 'Initial time set to zero in case of restart', - defaut = "False"), - -# ------------------------------------ - Record_Number_For_Restart = SIMP(typ = 'I', statut = 'o', defaut = 0, -# ------------------------------------ - fr = "numero de l'enregistrement de depart dans le fichier du calcul precedent. 0 signifie qu'on prend le dernier enregistrement", - ang = "record number to start from in the previous computation file, 0 for last record" ), - - ), - ),# fin BLOC b_comput_con - -# ------------------------------------ - Coupling = FACT( statut = 'o', -# ------------------------------------ -# PNPNPN Attention 1 seul choix possible - fr = 'Liste des codes avec lesquels on couple Telemac-2D', - ang = 'List of codes to be coupled with Telemac-2D', - -# ------------------------------------ - Sisyphe = SIMP(statut = 'o',typ = bool,defaut = False , -# ------------------------------------ - fr = 'couplage interne avec Sisyphe', - ang = 'internal coupling with Sisyphe'), - -# ------------------------------------ - Tomawac = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'couplage interne avec Tomawac', - ang = 'internal coupling with Tomawac'), - -# ------------------------------------ - Delwacq = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'couplage interne avec Delwacq', - ang = 'internal coupling with Delwacq'), -# PNPNPN Attention : il faut des mots cles si Delwacq. a voir avec Soizic -# On verra apres - - ), # fin Coupling - -# ------------------------------------ - Parallel_Computation = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ -# Ce mot clef n existe pas dans le dico - into = ['Sequentiel','Parallel'], - defaut = 'Sequentiel',), - -# ------------------------------------ - b_para = BLOC(condition = 'Parallel_Computation == "Parallel"', -# ------------------------------------ -# ------------------------------------ - Parallel_Processors = SIMP(statut = 'o',typ = 'I', -# ------------------------------------ - val_min = 0,defaut = 1, - fr = 'NOMBRE DE PROCESSEURS EN CALCUL PARALLELE \n\ -0 : 1 machine, compilation sans bibliotheque de parallelisme \n\ -1 : 1 machine, compilation avec bibliotheque de parallelisme \n\ -2 : 2 processeurs ou machines en parallele etc... ', - ang = 'NUMBER OF PROCESSORS FOR PARALLEL PROCESSING \n\ -0 : 1 machine, compiling without parallel library \n\ -1 : 1 machine, compiling with a parallel library \n\ -2 : 2 processors or machines in parallel'), - ), # fin b_para - -)# INITIALISATION - -# ----------------------------------------------------------------------- -TIDE_PARAMETERS = PROC(nom = "TIDE_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ------------------------------------ - Inputs_Outputs_For_Tide = FACT( statut = 'o', -# ------------------------------------ - -# ------------------------------------ - Harmonic_Constants_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Constantes harmoniques extraites du fichier du modele de maree', - ang = 'Harmonic constants extracted from the tidalmodel file',), - -# ------------------------------------ - Tidal_Model_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Fichier de geometrie du modele dont sont extraites les constantes harmoniques', - ang = 'Geometry file of the model from which harmonic constituents are extracted',), - - ), # Fin Inputs_Outputs_For_Tide - -# ------------------------------------ - Location = FACT( statut = 'o', -# ------------------------------------ -# ------------------------------------ - Geographic_System = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Defined by user", "WGS84 longitude/latitude in real degrees", "WGS84 nothern UTM",\ - "WGS84 southern UTM","Lambert", "Mercator",], - defaut = "Defined by user", - fr = 'Systeme de coordonnees geographiques dans lequel est construit le modele numerique.', - ang = 'Geographic coordinates system in which the numerical model is built.',), - -# ------------------------------------ - b_geo_plan = BLOC(condition = "Geographic_System in ['WGS84 nothern UTM','WGS84 southern UTM','Lambert']", -# ------------------------------------ - -# ------------------------------------ - Zone_Number_In_Geographic_System = SIMP(statut = 'f',typ = 'TXM', -# ------------------------------------ - into = [ 'Lambert 1 north', 'Lambert 2 center', 'Lambert 3 south', \ - 'Lambert 4 corsica', 'Lambert 2 extended', 'UTM zone,E.G.'], - fr = "Numero de zone (fuseau ou type de projection) lors de l'utilisation d'une projection plane.\n \ -Indiquer le systeme geographique dans lequel est construit le modele numerique avec le mot-cle SYSTEME GEOGRAPHIQUE", - ang = 'Number of zone when using a plane projection. \n\ -Indicate the geographic system in which the numerical model is built with the keyword GEOGRAPHIC SYSTEM'), - ), # Fin b_geo_plan - ), # Fin Location - -# ------------------------------------ - Physical_Parameters = FACT(statut = 'o', -# ------------------------------------ - -# ------------------------------------ - Tide_Generating_Force = SIMP(statut = 'o', -# ------------------------------------ - typ = bool, defaut = False), - -# ------------------------------------ - b_Tide = BLOC(condition = "Tide_Generating_Force == True", -# ------------------------------------ -# ------------------------------------ - Longitude_Of_Origin_Point = SIMP(typ = 'R', -# ------------------------------------ - statut = 'o', defaut = 48., - fr = 'Fixe la valeur de la longitude du point origine du modele, lors de l utilisation de la force generatrice de la maree.', - ang = 'Give the value of the longitude of the origin point of the model, when taking into account of the tide generator force.',), - -# ------------------------------------ - Tidal_Data_Base = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ -# Soizic . Il faudrait une consigne ? avec des blocs ? -# en suspens pour JMJ - into = [ "JMJ", "TPXO", "Miscellaneous (LEGOS-NEA, FES20XX, PREVIMER...)",], - fr = 'Pour JMJ, renseigner la localisation du fichier bdd_jmj et geofin dans les mots-cles BASE DE DONNEES DE MAREE \n\ -et FICHIER DU MODELE DE MAREE. Pour TPXO, LEGOS-NEA, FES20XX et PREVIMER, l utilisateur doit telecharger les fichiers \n\ -de constantes harmoniques sur internet', - ang = 'For JMJ, indicate the location of the files bdd_jmj and geofin with keywords TIDE DATA BASE and TIDAL MODEL FILE.\n\ -For TPXO, LEGOS-NEA, FES20XX and PREVIMER, the user has to download files of harmonic constituents on the internet',), - -# ------------------------------------ - b_tpxo = BLOC(condition = "Tidal_Data_Base == 'TPXO'", -# ------------------------------------ - -# ------------------------------------ - Minor_Constituents_Inference = SIMP( statut = 'o',typ = bool, -# ------------------------------------ - defaut = False , - fr = 'Interpolation de composantes harmoniques mineures a partir de celles lues dans les \n\ -fichiers d entrees lies aux mots-cles BASE BINAIRE 1 DE DONNEES DE MAREE et BASE BINAIRE 2 DE DONNEES DE MAREE', - ang = 'Inference of minor constituents from the one read in input files linked to \n\ -keywords BINARY DATABASE 1 FOR TIDE and BINARY DATABASE 2 FOR TIDE',), - - - -# ------------------------------------ - Binary_Database_1_For_Tide = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', '(All Files (*),)',), - fr = 'Base de donnees binaire 1 tiree du fichier du modele de maree.\n\ -Dans le cas des donnees satellitaires de TPXO, ce fichier correspond aux donnees de niveau d''eau, par exemple h_tpxo7.2', - ang = 'Binary database 1 extracted from the tidal model file.\n\ -In the case of the TPXO satellite altimetry model, this file should be for free surface level, for instance h_tpxo7.2',), - -# ------------------------------------ - Binary_Database_2_For_Tide = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', '(All Files (*),)',), - fr= 'Base de donnees binaire 2 tiree du fichier du modele de maree.\n\ -Dans le cas des donnees satellitaires de TPXO, ce fichier correspond aux donnees de vitesse de marrees, par exemple u_tpxo7.2', - ang = 'Binary database 2 extracted from the tidal model file.\n\ -In the case of the TPXO satellite altimetry model, this file should be for tidal velocities, for instance u_tpxo7.2' ), - - ),#fin du bloc b_tpxo - ), # Fin du Bloc b_Tide - -# ------------------------------------ - Option_For_Tidal_Boundary_Conditions = SIMP( statut = 'o', -# ------------------------------------ - typ = 'TXM', defaut = 'No tide', - into = ['No tide', 'Real tide (recommended methodology)', 'Astronomical tide', \ - 'Mean spring tide', 'Mean tide', 'Mean neap tide', \ - 'Astronomical neap tide', 'Real tide (methodology before 2010)'],), - -# ------------------------------------ - b_Option_B = BLOC(condition = 'Option_For_Tidal_Boundary_Conditions!= "No tide"', -# ------------------------------------ -# ------------------------------------ - Coefficient_To_Calibrate_Tidal_Range = SIMP(statut = 'o', -# ------------------------------------ - typ = 'R', defaut = 1., - fr = 'Coefficient pour ajuster le marnage de l''onde de maree aux frontieres maritimes', - ang = 'Coefficient to calibrate the tidal range of tidal wave at tidal open boundary conditions'), - -# ------------------------------------ - Coefficient_To_Calibrate_Tidal_Velocities = SIMP(statut = 'o', -# ------------------------------------ - typ = 'R', defaut = 999999, - fr = 'Coefficient pour ajuster les composantes de vitesse de l''onde de maree aux frontieres maritimes.\n\ -La valeur par defaut 999999. signifie que c''est la racine carree du Coefficient_De_Calage_Du_Marnage qui est prise', - ang = 'Coefficient to calibrate the tidal velocities of tidal wave at tidal open boundary conditions.\n\ - Default value 999999. means that the square root of Coefficient_To_Calibrate_Tidal_Range is taken'), - -# ------------------------------------ - Coefficient_To_Calibrate_Sea_Level = SIMP(statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 0., - fr = 'Coefficient pour ajuster le niveau de mer', - ang = 'Coefficient to calibrate the sea level'), - ), # fin b_Option_B - - ), #fin Physical_Parameters -) # Fin TIDE_PARAMETERS - -# ----------------------------------------------------------------------- -BOUNDARY_CONDITIONS = PROC(nom = "BOUNDARY_CONDITIONS",op = None, -# ----------------------------------------------------------------------- - fr = 'On donne un ensemble de conditions par frontiere liquide', - ang = 'One condition set per liquid boundary is given', - UIinfo = { "groupes" : ( "CACHE", )}, - #UIinfo = { "groupes" : ( "iiii", )}, - # Dans l ideal il faut aller regarder selon les groupes dans le fichier med - # en sortie il faut aller chercher le .cli qui va bien - #Liquid_Boundaries = FACT(statut = 'f',max = '**', - # Options = SIMP(statut = 'f',typ = 'I',into = ['classical boundary conditions','Thompson method based on characteristics']) - # Prescribed_Flowrates = SIMP(statut = 'f',typ = 'R'), - # Prescribed_Elevations = SIMP(statut = 'f',typ = 'R'), - # Prescribed_Velocity = SIMP(statut = 'f',typ = 'R'), - # ), - -# Il va falloir une "traduction dans le langage du dico" -# Il faut seulement l un des 3 - -# ------------------------------------ - Liquid_Boundaries = FACT(statut = 'o',max = '**', -# ------------------------------------ - -# ------------------------------------ - Options = SIMP(statut = 'f',typ = 'I', -# ------------------------------------ - into = ['Classical boundary conditions','Thompson method based on characteristics'], - fr = 'On donne 1 entier par frontiere liquide', - ang = 'One integer per liquid boundary is given',), - -# ------------------------------------ - Type_Condition = SIMP(statut = 'o',typ = 'TXM', -# On ajoute le type pour rendre l 'ihm plus lisible -# mais ce mot-cle n existe pas dans le dico -# ------------------------------------ - into = ['Prescribed Flowrates', 'Prescribed Elevations', 'Prescribed Velocity'],), - -# ------------------------------------ - b_Flowrates = BLOC (condition = "Type_Condition == 'Prescribed Flowrates'", -# ------------------------------------ -# ------------------------------------ - Prescribed_Flowrates = SIMP(statut = 'o', -# ------------------------------------ - typ = 'R', - fr = ' Valeurs des debits imposes aux frontieres liquides entrantes.\n\ -Lire la partie du mode d''emploi consacree aux conditions aux limites', - ang = 'Values of prescribed flowrates at the inflow boundaries.\n\ -The section about boundary conditions is to be read in the manual'), - ), # fin b_Flowrates - -# ------------------------------------ - b_Elevations = BLOC (condition = "Type_Condition == 'Prescribed Elevations'", -# ------------------------------------ -# ------------------------------------ - Prescribed_Elevations = SIMP(statut = 'o',typ = 'R', -# ------------------------------------ - fr = 'Valeurs des cotes imposees aux frontieres liquides entrantes.\n\ -Lire la partie du mode d''emploi consacree aux conditions aux limites', - ang = 'Values of prescribed elevations at the inflow boundaries.\n\ -The section about boundary conditions is to be read in the manual'), - ), # fin b_Elevations - -# ------------------------------------ - b_Velocity = BLOC (condition = "Type_Condition == 'Prescribed Velocity'", -# ------------------------------------ -# ------------------------------------ - Prescribed_Velocities = SIMP(statut = 'o',typ = 'R', -# ------------------------------------ - fr = 'Valeurs des vitesses imposees aux frontieres liquides entrantes.\n\ -Lire la partie du mode d''emploi consacree aux conditions aux limites', - ang = 'Values of prescribed velocities at the liquid inflow boundaries.\n\ -Refer to the section dealing with the boundary conditions'), - ), # fin b_Velocity - - ), # fin des Liquid_Boundaries - -# ------------------------------------ - Liquid_Boundaries_File = SIMP( statut = 'f', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Fichier de variations en temps des conditions aux limites.\n\ -Les donnees de ce fichier seront a lire sur le canal 12.', - ang = 'Variations in time of boundary conditions. Data of this file are read on channel 12.', - ), - - -#PNPN Attention dans le Dico STAGE-DISCHARGE CURVES -#PNPN regarder le document de reference pour changer non programme -# ------------------------------------ - Stage_Discharge_Curves = SIMP(statut = 'f',typ = 'TXM', -# ------------------------------------ - into = ["No one","Z(Q)","Q(Z)"], - fr = 'Indique si une courbe de tarage doit etre utilisee pour une frontiere', - ang = 'Says if a discharge-elevation curve must be used for a given boundary',), - -# ------------------------------------ - b_discharge_curve = BLOC (condition = "Stage_Discharge_Curves != 'no'", -# ------------------------------------ -# ------------------------------------ - Stage_Discharge_Curves_File = SIMP( statut = 'f', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Nom du fichier contenant les courbes de tarage', - ang = 'Name of the file containing stage-discharge curves',), - ), # fin b_discharge_curve - -# ------------------------------------ - Elements_Masked_By_User = SIMP(statut = 'o',typ = bool, -# ------------------------------------ - defaut = False, - fr = 'Si oui remplir le sous-programme maskob', - ang = 'if yes rewrite subroutine maskob',), - -# ------------------------------------ - maskob = BLOC (condition = 'Elements_Masked_By_User == True', -# ------------------------------------ -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ------------------------------------ - defaut = "Remplir le sous-programme maskob"), - ) # fin maskob - -) # fin Boundary_Conditions - -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom = "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- - - UIinfo = { "groupes" : ( "CACHE", )}, - #UIinfo = { "groupes" : ( "iiii", )}, - -# ------------------------------------ - Equations = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ['Saint-Venant EF','Saint-Venant VF','Boussinesq'], - defaut = 'Saint-Venant EF', - fr = 'Choix des equations a resoudre', - ang = 'Choice of equations to solve',), - -# ------------------------------------ - Treatment_Of_The_Linear_System = SIMP(statut = 'o', typ = 'TXM', -# ------------------------------------ - into = ["Coupled", "Wave equation"], - defaut = "Coupled",), - -# ------------------------------------ - Finite_Volume_Scheme = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - into = [ "Roe scheme", "Kinetic order 1", "Kinetic order 2", "Zokagoa scheme order 1",\ - "Tchamen scheme order 1", "HLLC scheme order 1", "WAF scheme order 2"], - defaut = "Kinetic order 1",), - -# ------------------------------------ - Solver_Definition = FACT(statut = 'o', -# ------------------------------------ - -# ------------------------------------ - Solver = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Conjugate gradient", "Conjugate residual","Conjugate gradient on a normal equation",\ - "Minimum error", "CGSTAB", "GMRES", "Direct",], - fr = 'Permet de choisir le solveur utilise pour la resolution de l''etape de propagation. \n\ -Toutes les methodes proposees actuellement s''apparentent au Gradient Conjugue. Ce sont :\n\ - 1 : gradient conjugue 2 : residu conjugue 3 : gradient conjugue sur equation normale \n\ - 4 : erreur minimale 5 : gradient conjugue carre (non programme) 6 : gradient conjugue carre stabilise (cgstab)\n\ - 7 : gmres (voir aussi option du solveur) 8 : direct', - ang = 'Makes it possible to select the solver used for solving the propagation step.\n\ -All the currently available methods are variations of the Conjugate Gradient method. They are as follows: \n\ -1: conjugate gradient 2: conjugate residual 3: conjugate gradient on a normal equation\n\ -4: minimum error 5: conjugate gradient squared (not implemented) 6: conjugate gradient squared stabilised (cgstab) \n\ -7: gmres (see option for solver) 8: direct',), - -# ------------------------------------ - b_gmres = BLOC (condition = "Solver == 'GMRES'", -# ------------------------------------ -# ------------------------------------ - Solver_Option = SIMP(statut = 'o',typ = 'I', defaut = 2, val_min = 2,val_max = 15, -# ------------------------------------ - fr = 'la dimension de l''espace de KRILOV', - ang = 'dimension of the KRYLOV space',), - ), # fin b_gmres - -# ------------------------------------ - Solver_Accuracy = SIMP(statut = 'o',typ = 'R', defaut = 1e-4, -# ------------------------------------ - fr = 'Precision demandee pour la resolution de l''etape de propagation (cf. Note de principe).', - ang = 'Required accuracy for solving the propagation step (refer to Principle note).',), - -# ------------------------------------ - Maximum_Number_Of_Iterations_For_Solver = SIMP(statut = 'o',typ = 'I', defaut = 100, -# ------------------------------------ - fr = 'Les algorithmes utilises pour la resolution de l''etape de propagation etant iteratifs, \n\ -il est necessaire de limiter le nombre d''iterations autorisees.\n\ -Remarque : un maximum de 40 iterations par pas de temps semble raisonnable.', - ang = 'Since the algorithms used for solving the propagation step are iterative, \ -the allowed number of iterations should be limited.\n\ -Note: a maximum number of 40 iterations per time step seems to be reasonable.',), - - ), # fin Solver - -# ------------------------------------ - Linearity = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------ - Continuity_Correction = SIMP(typ = bool, statut = 'o', -# ------------------------------------ - defaut = False, - fr = 'Corrige les vitesses sur les points avec hauteur imposee ou l equation de continuite n a pas ete resolue', - ang = 'Correction of the velocities on points with a prescribed elevation, where the continuity equation has not been solved',), - - ), # Fin Linearity - -# ------------------------------------ - Precondionning_setting = FACT(statut = 'f', -# ------------------------------------ - -# ------------------------------------ - Preconditioning = SIMP(statut = 'o',typ = 'TXM',max="**", -# ------------------------------------ -# PNPN Soizic ? Est ce que c'est une liste -# Comment fait-on le into est faux : voir l aide -# PN Je propose qu 'on puisse faire +sieurs choix et qu on recalcule en sortie -# ou on propose des choix croisés parce que toutes les combinaisons ne sont pas possibles ? -# - into = [ "Diagonal", "No preconditioning", "Diagonal condensee", "Crout", "Gauss-Seidel", ], - defaut=("Diagonal",), homo="SansOrdreNiDoublon", - fr='Permet de preconditionner le systeme de l etape de propagation afin d accelerer la convergence \n\ -lors de sa resolution. Certains preconditionnements sont cumulables : (les diagonaux 2 ou 3 avec les autres)\n\ -Pour cette raison on ne retient que les nombres premiers pour designer les preconditionnements. Si l on souhaite en cumuler\n\ -plusieurs on formera le produit des options correspondantes.', - ang='Choice of the preconditioning in the propagation step linear system that the convergence is speeded up\n\ -when it is being solved.Some operations (either 2 or 3 diagonal preconditioning) can be performed concurrently with the others.\n\ -Only prime numbers are therefore kept to denote the preconditioning operations. When several of them are to be performed concurrently,\n\ -the product of relevant options shall be made.', - ), -# ------------------------------------ - C_U_Preconditioning = SIMP(typ = bool, statut = 'o', defaut=False, -# ------------------------------------ - fr = 'Changement de variable de H en C dans le systeme lineaire final', - ang = 'Change of variable from H to C in the final linear system' - ), - - ),# fin Preconditionnement - -# ------------------------------------ - Matrix_Informations = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------ - Matrix_Vector_Product = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Classic", "Frontal"], - defaut='Classic', - fr = 'attention, si frontal, il faut une numerotation speciale des points', - ang = 'beware, with option 2, a special numbering of points is required', - ), -# ------------------------------------ - Matrix_Storage = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Classical EBE","Edge-based storage",], - defaut='Edge-based storage', - ), - ),# fin Matrix_Informations - - -# ------------------------------------ - Advection = FACT(statut = 'o', -# ------------------------------------ - -# ------------------------------------ - Type_Of_Advection = FACT(statut = 'o', -# ------------------------------------ - -# PNPNPN recalcul -# Tres differents du dico liste de 4 -# PNPN eclaircir les choix SVP -# soizic. choix 3 et 4 et 13 et 14 -# Attention recalcul de Type_Of_Advection -# ------------------------------------ - Advection_Of_U_And_V = SIMP(statut = 'o',typ = bool, defaut = True, -# ------------------------------------ - fr = 'Prise en compte ou non de la convection de U et V.', - ang = 'The advection of U and V is taken into account or ignored.'), - -# ------------------------------------ - b_u_v = BLOC( condition = "Advection_Of_U_And_V == True", -# ------------------------------------ -# ------------------------------------ - Type_Of_Advection_U_And_V = SIMP(statut = 'o',typ = 'TXM',position = "global", -# ------------------------------------ - into = ["Characteristics", "SUPG", "Conservative N-scheme", 'Conservative N-scheme',\ - 'Conservative PSI-scheme', 'Non conservative PSI scheme', 'Implicit non conservative N scheme',\ - 'Edge-based N-scheme'], - defaut = "Characteristics", ), - -# ------------------------------------ - b_upwind = BLOC(condition = "Type_Of_Advection_U_And_V == 'SUPG'", -# ------------------------------------ -# ------------------------------------ - Supg_Option_U_And_V = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ - into = ['No upwinding', 'Classical SUPG','Modified SUPG']), - -# ------------------------------------ - Upwind_Coefficients_Of_U_And_V = SIMP(statut = 'o',typ = 'R', defaut = 1.) -# ------------------------------------ - ), # fin b_upwind - ),# fin b_u_v - -# ------------------------------------ - Advection_Of_H = SIMP(statut = 'o',typ = bool, defaut = True, -# ------------------------------------ - fr = 'Prise en compte ou non de la convection de H.', - ang = 'The advection of H is taken into account or ignored.'), - -# ------------------------------------ - b_h = BLOC( condition = "Advection_Of_H == True", -# ------------------------------------ -# ------------------------------------ - Type_Of_Advection_H = SIMP(statut = 'o',typ = 'TXM',position = "global", -# ------------------------------------ - into = ["characteristics", "SUPG", "conservative N-scheme", 'conservative N-scheme',\ - 'conservative PSI-scheme', 'non conservative PSI scheme', 'implicit non conservative N scheme',\ - 'edge-based N-scheme'], - defaut = "conservative PSI-scheme",), -# ------------------------------------ - b_upwind_H = BLOC(condition = "Type_Of_Advection_H == 'SUPG'", -# ------------------------------------ -# ------------------------------------ - Supg_Option_H = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ - into = ['No upwinding', 'Classical SUPG','Modified SUPG']), - -# ------------------------------------ - Upwind_Coefficients_Of_H = SIMP(statut = 'o',typ = 'R', defaut = 1.) -# ------------------------------------ - ), # fin b_upwind_H - ),# fin b_h - -# ------------------------------------ - Advection_Of_K_And_Epsilon = SIMP(statut = 'o',typ = bool, defaut = True, -# ------------------------------------ - fr = 'Prise en compte ou non de la convection de Tracer.', - ang = 'The advection of Tracer is taken into account or ignored.'), - -# ------------------------------------ - b_k = BLOC( condition = "Advection_Of_K_And_Epsilon == True", -# ------------------------------------ -# ------------------------------------ - Type_Of_Advection_K_And_Epsilon = SIMP(statut = 'o',typ = 'TXM',position = "global", -# ------------------------------------ - into = ["Characteristics", "SUPG", "Conservative N-scheme", 'Conservative N-scheme',\ - 'Conservative PSI-scheme', 'Non conservative PSI scheme', 'Implicit non conservative N scheme',\ - 'Edge-based N-scheme'], - defaut = "Characteristics",), -# ------------------------------------ - b_upwind_k = BLOC(condition = "Type_Of_Advection_K_And_Epsilon == 'SUPG'", -# ------------------------------------ -# ------------------------------------ - Supg_Option_Tracers = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ - into = ['No upwinding', 'Classical SUPG','Modified SUPG']), - -# ------------------------------------ - Upwind_Coefficients_Of_K_And_Epsilon = SIMP(statut = 'o',typ = 'R', defaut = 1.) -# ------------------------------------ - ),# fin b_upwind_k - ),# fin b_k - -# ------------------------------------ - Advection_Of_Tracers = SIMP(statut = 'o',typ = bool, defaut = True, -# ------------------------------------ - fr = 'Prise en compte ou non de la convection de Tracer.', - ang = 'The advection of Tracer is taken into account or ignored.'), - -# ------------------------------------ - b_tracers = BLOC( condition = "Advection_Of_Tracers == True", -# ------------------------------------ -# ------------------------------------ - Type_Of_Advection_Tracers = SIMP(statut = 'o',typ = 'TXM',position = "global", -# ------------------------------------ - into = ["Characteristics", "SUPG", "Conservative N-scheme", 'Conservative N-scheme',\ - 'Conservative PSI-scheme', 'Non conservative PSI scheme', 'Implicit non conservative N scheme',\ - 'Edge-based N-scheme'],), -# ------------------------------------ - b_upwind_Tracers = BLOC(condition = "Type_Of_Advection_Tracers == 'SUPG'", -# ------------------------------------ -# ------------------------------------ - Supg_Option_K_And_Epsilon = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ - into = ['No upwinding', 'Classical SUPG','Modified SUPG']), - -# ------------------------------------ - Upwind_Coefficients_Of_Tracers = SIMP(statut = 'o',typ = 'R', defaut = 1.) -# ------------------------------------ - ), # fin b_upwind_Tracers - ), # fin b_Tracers - -# ------------------------------------ - b_max = BLOC( condition = "(Advection_Of_Tracers == True and Type_Of_Advection_Tracers == 'Edge-based N-scheme') or (Advection_Of_K_And_Epsilon == True and Type_Of_Advection_K_And_Epsilon == 'Edge-based N-scheme') or (Advection_Of_U_And_V == True and Type_Of_Advection_U_And_V == 'Edge-based N-scheme') or ( Advection_Of_H == True and Type_Of_Advection_H == 'Edge-based N-scheme')", -# ------------------------------------ -# ------------------------------------ - Maximum_Number_Of_Iterations_For_Advection_Schemes = SIMP( statut = 'o',typ = 'I', defaut = 10 , -# ------------------------------------ - fr = 'Seulement pour schemes Edge-based N-scheme', - ang = 'Only for Edge-based N-scheme',), - ), # fin b_max - -# ------------------------------------ - b_traitement = BLOC( condition = "(Advection_Of_Tracers == True and Type_Of_Advection_Tracers in ['Edge-based N-scheme','SUPG','Conservative N-scheme','Conservative PSI-scheme']) or (Advection_Of_K_And_Epsilon == True and Type_Of_Advection_K_And_Epsilon in ['Edge-based N-scheme','SUPG','Conservative N-scheme','Conservative PSI-scheme']) or (Advection_Of_U_And_V == True and Type_Of_Advection_U_And_V in ['Edge-based N-scheme','SUPG','Conservative N-scheme','Conservative PSI-scheme']) or ( Advection_Of_H == True and Type_Of_Advection_H in ['Edge-based N-scheme','SUPG','Conservative N-scheme','Conservative PSI-scheme'])", -# ------------------------------------ - -# ------------------------------------ - Treatment_Of_Fluxes_At_The_Boundaries = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Priority to prescribed values","Priority to fluxes"], - fr = 'Utilise pour les schemas SUPG, PSI et N, \n\ -si Priorité aux flux, on ne retrouve pas exactement les valeurs imposees des traceurs,mais le flux est correct', - ang = 'Used so far only with the SUPG, PSI and N schemes.\n\ -if Priority to fluxes, Dirichlet prescribed values are not obeyed,but the fluxes are correct',), - - ), # fin b_traitement - ), # Fin Type_Of_Advection - - -#PNPNPN -# recalculer la liste de 4 -# Attention bloc selon le type de convection -# ------------------------------------ -# SUPG = FACT(statut = 'o', -# ------------------------------------ -# ------------------------------------ -# Supg_Option_U_And_V = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ -# into = ['No upwinding', 'Classical SUPG','Modified SUPG']), -# ------------------------------------ -# Supg_Option_H = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ -# into = ['No upwinding', 'Classical SUPG','Modified SUPG']), -# ------------------------------------ -# Supg_Option_Tracers = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ -# into = ['No upwinding', 'Classical SUPG','Modified SUPG']), -# ------------------------------------ -# Supg_Option_K_And_Epsilon = SIMP(statut = 'o', defaut = 'Modified SUPG', typ = 'TXM', -# ------------------------------------ -# into = ['No upwinding', 'Classical SUPG','Modified SUPG']), -# ), # Fin de SUPG - -# ------------------------------------ - Mass_Lumping_On_H = SIMP(statut = 'o',typ = 'R', defaut = 0, -# ------------------------------------ - fr = 'TELEMAC offre la possibilite d''effectuer du mass-lumping sur H ou U.\n\ -Ceci revient a ramener tout ou partie (suivant la valeur de ce coefficient) des matrices AM1 (h) ou AM2 (U) \n\ -et AM3 (V) sur leur diagonale. Cette technique permet d''accelerer le code dans des proportions tres\n\ -importantes et de le rendre egalement beaucoup plus stable. Cependant les solutions obtenues se trouvent lissees.\n\ -Ce parametre fixe le taux de mass-lumping effectue sur h.', - ang = 'TELEMAC provides an opportunity to carry out mass-lumping either on C,H or on the velocity. \n\ -This is equivalent to bringing the matrices AM1(h) or AM2(U) and AM3(V) wholly or partly, back onto their diagonal.\n\ -Thanks to that technique, the code can be speeded up to a quite significant extent and it can also be made much \n\ -more stable. The resulting solutions, however, become artificially smoothed. \n\ -This parameter sets the extent of mass-lumping that is performed on h.'), - -# ------------------------------------ - Mass_Lumping_On_Velocity = SIMP(statut = 'o', typ = 'R', defaut = 0, -# ------------------------------------ - fr = 'Fixe le taux de mass-lumping effectue sur la vitesse.', - ang = 'Sets the amount of mass-lumping that is performed on the velocity.'), - -# ------------------------------------ - Mass_Lumping_For_Weak_Characteristics = SIMP(statut = 'o',typ = 'R',defaut = 0, -# ------------------------------------ - fr = 'Applique a la matrice de masse', - ang = 'To be applied to the mass matrix',), -# ------------------------------------ - Free_Surface_Gradient_Compatibility = SIMP(statut = 'o',typ = 'R',defaut = 1., -# ------------------------------------ - fr = 'Des valeurs inferieures a 1 suppriment les oscillations parasites', - ang = 'Values less than 1 suppress spurious oscillations'), - -# ------------------------------------ - Number_Of_Sub_Iterations_For_Non_Linearities = SIMP(statut = 'o',typ = 'I', -# ------------------------------------ - defaut = 1, - fr = 'Permet de reactualiser, pour un meme pas de temps, les champs convecteur et propagateur \n\ -au cours de plusieurs sous-iterations.\n\ -A la premiere sous-iteration, ces champs sont donnes par C et le champ de vitesses au pas de temps precedent.\n\ -Aux iterations suivantes, ils sont pris egaux au champ de vitesse obtenu a la fin de la sous-iteration precedente. \n\ -Cette technique permet d''ameliorer la prise en compte des non linearites.', - ang = 'Used for updating, within one time step, the advection and propagation field.\n\ -upon the first sub-iteration, \n\ -these fields are given by C and the velocity field in the previous time step. At subsequent iterations, \n\ -the results of the previous sub-iteration is used to update the advection and propagation field.\n\ -The non-linearities can be taken into account through this technique.',), - - - ), # fin Advection - -#PNPNPN Il faut recalculer le MCSIMP Propagation -# ------------------------------------ - Propagation = FACT(statut = 'o', -# ------------------------------------ -# ------------------------------------ - Initial_Guess_For_H = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ['Zero', 'Previous', 'Extrapolation'], - defaut = 'Previous', - fr = 'Tir initial du solveur de l etape de propagation. Offre la possibilite de modifier la valeur initiale de DH,\n\ -accroissement de H, a chaque iteration, dans l etape de propagation en utilisant les valeurs finales de cette variable \n\ -aux pas de temps precedents. Ceci peut permettre daccelerer la vitesse de convergence lors de la resolution du systeme.', - ang = 'Initial guess for the solver in the propagation step. Makes it possible to modify the initial value of H, \n\ -upon each iteration in the propagation step, by using the ultimate values this variable had in the earlier time steps.\n\ -Thus, the convergence can be speeded up when the system is being solved.',), - - -# ------------------------------------ - Linearized_Propagation = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'Permet de lineariser l''etape de propagation; \n\ -par exemple lors de la realisation de cas tests pour lesquels on dispose d une solution analytique dans le cas linearise.', - ang = 'Provided for linearizing the propagation step; \n\ -e.g. when performing test-cases for which an analytical solution in the linearized case is available.' ), - -# ------------------------------------ - b_linear = BLOC(condition = "Linearized_Propagation == True ", -# ------------------------------------ -# ------------------------------------ - Mean_Depth_For_Linearization = SIMP(statut = 'o',typ = 'R', defaut = 0.0, val_min = 0, -# ------------------------------------ - fr = 'Fixe la hauteur d eau autour de laquelle s effectue la linearisation lorsque l option PROPAGATION LINEARISEE est choisie.', - ang = 'Sets the water depth about which the linearization is made when the LINEARIZED PROPAGATION OPTION is selected.'), - -# ------------------------------------ - Initial_Guess_For_U = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ['Zero', 'Previous', 'Extrapolation'], - defaut = 'Previous', - fr = 'Tir initial du solveur de l etape de propagation. Offre la possibilite de modifier la valeur initiale de DH,\n\ -accroissement de U, a chaque iteration, dans l etape de propagation en utilisant les valeurs finales de cette variable \n\ -aux pas de temps precedents. Ceci peut permettre daccelerer la vitesse de convergence lors de la resolution du systeme.', - ang = 'Initial guess for the solver in the propagation step. Makes it possible to modify the initial value of U, \n\ -upon each iteration in the propagation step, by using the ultimate values this variable had in the earlier time steps.\n\ -Thus, the convergence can be speeded up when the system is being solved.',), - - ), # fin b_linear - - ), # fin Propagation - - -# ------------------------------------ - Diffusion = FACT(statut = 'o', -# ------------------------------------ - -# ------------------------------------ - Diffusion_Of_Velocity = SIMP( statut='o',typ=bool, -# ------------------------------------ - defaut=False , - fr = 'Permet de decider si lon prend ou non en compte la diffusion des vitesses.', - ang= 'Makes it possible to decide whether the diffusion of velocity (i.e. viscosity) is taken into account or not.', - ), -# ------------------------------------ - b_Diffu = BLOC(condition = 'Diffusion_Of_Velocity == True', -# ------------------------------------ -# ------------------------------------ - Implicitation_For_Diffusion_Of_Velocity = SIMP(statut = 'o',typ = 'R',defaut = 0, -# ------------------------------------ - fr = 'Fixe la valeur du coefficient d''implicitation sur les termes de diffusion des vitesses', - ang = 'Sets the value of the implicitation coefficient for the diffusion of velocity',), - -# ------------------------------------ - Option_For_The_Diffusion_Of_Velocities = SIMP( statut='o',typ='TXM', -# ------------------------------------ - defaut=1 , - into=['Diffusion in the form div( nu grad(U))','Diffusion in the form 1/h div ( h nu grad(U) )'], - fr = '1: Diffusion de la forme div( nu grad(U) ) 2: Diffusion de la forme 1/h div ( h nu grad(U) )', - ang= '1: Diffusion in the form div( nu grad(U) ) 2: Diffusion in the form 1/h div ( h nu grad(U) )',), - - ), # fin b_Diffu - ), # fin Diffusion -# ------------------------------------ - Discretization_Implicitation = FACT(statut = 'f', -# ------------------------------------ - -# ------------------------------------ - Discretizations_In_Space = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Linear", "Quasi-bubble", "Quadratic"], - defaut = "Linear",), - -# ------------------------------------ - Implicitation_For_Depth = SIMP(statut = 'o',typ = 'R',defaut = 0.55, -# ------------------------------------ - fr = 'Fixe la valeur du coefficient d''implicitation sur C dans l''etape de propagation (cf. Note de principe).\n\ -Les valeurs inferieures a 0.5 donnent un schema instable.', - ang = 'Sets the value of the implicitation coefficient for C (the celerity of waves) in the propagation step (refer to principle note).\n\ -Values below 0.5 result in an unstable scheme.'), - -# ------------------------------------ - Implicitation_For_Velocity = SIMP(statut = 'o',typ = 'R',defaut = 0.55, -# ------------------------------------ - fr = 'Fixe la valeur du coefficient d''implicitation sur la vitesse dans l''etape de propagation (cf. Note de principe).\n\ -Les valeurs inferieures a 0.5 donnent un schema instable.', - ang = 'Sets the value of the implicitation coefficient for velocity in the propagation step (refer to principle note).\n\ -Values below 0.5 result in an unstable condition.'), - - ), # fin Discretization_Implicitation - - -# ------------------------------------ - Tidal=FACT(statut='f', -# ------------------------------------ - Tidal_Flats = SIMP(statut = 'o',typ = bool,defaut = True, -# ------------------------------------ - fr = 'permet de supprimer les tests sur les bancs decouvrants si on est certain qu''il n''y en aura pas, En cas de doute : oui', - ang = 'When no,the specific treatments for tidal flats are by-passed. This spares time, but of course you must be sure that you have no tidal flats'), - -# ------------------------------------ - b_tidal_flats = BLOC(condition = 'Tidal_Flats == True', -# ------------------------------------ -# ------------------------------------ - Option_For_The_Treatment_Of_Tidal_Flats = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Equations solved everywhere with correction on tidal flats", "Dry elements frozen", "1 but with porosity (defina method)",], - defaut="Equations solved everywhere with correction on tidal flats",), - -# ------------------------------------ - b_option_tidal_flats = BLOC(condition = 'Option_For_The_Treatment_Of_Tidal_Flats == "Equations solved everywhere with correction on tidal flats"', -# ------------------------------------ -# ------------------------------------ - Treatment_Of_Negative_Depths = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - into = [ 'No treatment', 'Smoothing', 'Flux control'], - defaut = 'Smoothing' ,), - ), # fin bloc b_option_tidal_flats - -# ------------------------------------ - Threshold_For_Negative_Depths = SIMP( statut = 'o',typ = 'R', defaut = 0.0 , -# ------------------------------------ - fr = 'En dessous du seuil, les hauteurs negatives sont lissees', - ang = 'Below the threshold the negative depths are smoothed',), - -# ------------------------------------ - Threshold_Depth_For_Receding_Procedure = SIMP(statut = 'o',typ = 'R',defaut = 0 , -# ------------------------------------ - fr = 'Si > 0., declenche la procedure de ressuyage qui evite le franchissement parasite des digues mal discretisees', - ang = 'If > 0., will trigger the receding procedure that avoids overwhelming of dykes which are too loosely discretised ',), - - -# ------------------------------------ - H_Clipping = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'Determine si on desire ou non limiter par valeur inferieure la hauteur d eau H (dans le cas des bancs decouvrants par exemple).', - ang = 'Determines whether limiting the water depth H by a lower value desirable or not. (for instance in the case of tidal flats)\n\ -This key-word may have an influence on mass conservation since the truncation of depth is equivalent to adding mass.',), - -# ------------------------------------ - b_clipping = BLOC(condition = 'H_Clipping == True', -# ------------------------------------ -# ------------------------------------ - Minimum_Value_Of_Depth = SIMP( statut = 'o',typ = 'R', defaut = 0.0 , -# ------------------------------------ - fr = 'Fixe la valeur minimale de a lorsque loption CLIPPING DE H est activee.', - ang = 'Sets the minimum H value when option H CLIPPING is implemented. Not fully implemented.',), - ), # fin b_clipping - ), # fin bloc b_tidal_flats - ), # fin bloc tidal - -# ------------------------------------ - Various = FACT( -# ------------------------------------ - -# ------------------------------------ - Newmark_Time_Integration_Coefficient = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - defaut = "Euler explicite", - into = ["Euler explicite","Order 2 in time"],), - -# ------------------------------------ - Option_For_Characteristics = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - defaut = "Strong" , - into = ['Strong','Weak',],), - - ),# fin Various - - -)# fin NUMERICAL_PARAMETERS - -# ----------------------------------------------------------------------- -PHYSICAL_PARAMETERS = PROC(nom = "PHYSICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- - UIinfo = { "groupes" : ( "CACHE", )}, -# ------------------------------------ - Friction_Setting = FACT(statut = 'o', -# ------------------------------------ -# ------------------------------------ - Friction_Data_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', ';;All Files (*)'), - fr = 'fichier de donnees pour le frottement', - ang = 'friction data file',), - -# ------------------------------------ - Depth_In_Friction_Terms = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - defaut = "Nodal" , - into = ("Nodal", "Average"),), - -# ------------------------------------ - Law_Of_Bottom_Friction = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - defaut = 'No friction' , - into = ('No friction', 'Haaland', 'Chezy', 'Strickler', 'Manning', 'Nikuradse','Log law','Colebrooke_white'), - fr = 'selectionne le type de formulation utilisee pour le calcul du frottement sur le fond.', - ang = 'Selects the type of formulation used for the bottom friction.',), - -# ------------------------------------ - b_Law_Friction = BLOC(condition = "Law_Of_Bottom_Friction!= 'No friction'", -# ------------------------------------ -# ------------------------------------ - Friction_Coefficient = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 50.0 , - fr = 'Fixe la valeur du coefficient de frottement pour la formulation choisie. \ -Attention, la signification de ce chiffre varie suivant la formule choisie : \ -1 : coefficient lineaire 2 : coefficient de Chezy 3 : coefficient de Strickler \ -4 : coefficient de Manning 5 : hauteur de rugosite de Nikuradse', - ang = 'Sets the value of the friction coefficient for the selected formulation. \ -It is noteworthy that the meaning of this figure changes according to the selected formula (Chezy, Strickler, etc.) : \ -1 : linear coefficient 2 : Chezy coefficient 3 : Strickler coefficient 4 : Manning coefficient 5 : Nikuradse grain size',), - ), # Fin b_Law_Friction - -# ------------------------------------ - b_Colebrooke_White = BLOC(condition = "Law_Of_Bottom_Friction == 'Colebrooke_white'", -# ------------------------------------ -# ------------------------------------ - Manning_Default_Value_For_Colebrook_White_Law = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 0.02 , - fr = 'valeur par defaut du manning pour la loi de frottement de Colebrook-White ', - ang = 'Manning default value for the friction law of Colebrook-White ',), - ), # Fin b_Colebrooke_White - -# ------------------------------------ - Non_Submerged_Vegetation_Friction = SIMP( statut = 'o',typ = bool, -# ------------------------------------ - defaut = False , - fr = 'calcul du frottement du a la vegetation non submergee', - ang = 'friction calculation of the non-submerged vegetation',), - -# ------------------------------------ - b_Non_Sub = BLOC(condition = ' Non_submerged_Vegetation_Friction == True', -# ------------------------------------ -# ------------------------------------ - Diameter_Of_Roughness_Elements = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 0.006 , - fr = 'diametre des elements de frottements', - ang = 'diameter of roughness element',), - -# ------------------------------------ - Spacing_Of_Roughness_Elements = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 0.14 , - fr = 'espacement des elements de frottement', - ang = 'spacing of rouhness element',), - ), # Fin b_Non_Sub - -# ------------------------------------ - Law_Of_Friction_On_Lateral_Boundaries = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - defaut = "No friction" , - into = ("No friction", "Haaland", "Chezy", "Strickler", "Manning", "Nikuradse", "Log law", "Colebrook-white"), - fr = 'selectionne le type de formulation utilisee pour le calcul du frottement sur les parois laterales.', - ang = 'Selects the type of formulation used for the friction on lateral boundaries.',), - - -# ------------------------------------ - b_Fric = BLOC(condition = 'Law_Of_Friction_On_Lateral_Boundaries != "No friction"', -# ------------------------------------ - -# PNPNPN soizic ?Ne faut-il pas un bloc sur Law_Of_Friction_On_Lateral_Boundaries -# ------------------------------------ - Roughness_Coefficient_Of_Boundaries = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 100.0 , - fr = 'Fixe la valeur du coefficient de frottement sur les frontieres solides avec un regime turbulent rugueux\n\ - sur les bords du domaine. meme convention que pour le coefficient de frottement', - ang = 'Sets the value of the friction coefficient of the solid boundary with the bed roughness option. Same meaning than friction coefficient',), - -# ------------------------------------ - Maximum_Number_Of_Friction_Domains = SIMP( statut = 'o',typ = 'I', -# ------------------------------------ - defaut = 10 , - fr = 'nombre maximal de zones pouvant etre definies pour le frottement. Peut etre augmente si necessaire', - ang = 'maximal number of zones defined for the friction. Could be increased if needed',), - ), - -# ------------------------------------ - Definition_Of_Zones = SIMP(typ = bool, statut = 'o', defaut = False, -# ------------------------------------ - fr = 'Declenche l''appel a def_zones, pour donner un numero de zone a chaque point', - ang = 'Triggers the call to def_zones to give a zone number to every point',), - -# ------------------------------------ - b_def_zone = BLOC (condition = 'Definition_Of_Zones == True', -# ------------------------------------ -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", defaut = "complete DEF_ZONES subroutine"), -# ------------------------------------ - ), # fin b_def_zone - - ), # Fin du bloc Friction -# ------------------------------------ - Meteorology = FACT(statut = 'f', -# ------------------------------------ - -# ------------------------------------ - Wind = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'Prise en compte ou non des effets du vent.', - ang = 'Determines whether the wind effects are to be taken into account or not.'), - -# ------------------------------------ - b_Wind = BLOC(condition = "Wind == True", -# ------------------------------------ -# ------------------------------------ - Wind_Velocity_Along_X = SIMP(statut = 'o',typ = 'R', defaut = 0., -# ------------------------------------ - fr = 'Composante de la vitesse du vent suivant l''axe des x (m/s).', - ang = 'Wind velocity, component along x axis (m/s).',), - -# ------------------------------------ - Wind_Velocity_Along_Y = SIMP(statut = 'o',typ = 'R',defaut = 0., -# ------------------------------------ - fr = 'Composante de la vitesse du vent suivant l''axe des y (m/s).', - ang = 'Wind velocity, component along y axis (m/s).',), - -# ------------------------------------ - Threshold_Depth_For_Wind = SIMP(statut = 'o',typ = 'R',defaut = 0., -# ------------------------------------ - fr = 'Retire la force due au vent dans les petites profondeurs', - ang = 'Wind is not taken into account for small depths' ), - -# ------------------------------------ - Coefficient_Of_Wind_Influence = SIMP( statut = 'o',typ = 'R', defaut = 0.0 , -# ------------------------------------ - fr = 'Fixe la valeur du coefficient d entrainement du vent (cf. Note de principe).', - ang = 'Sets the value of the wind driving coefficient. Refer to principle note.',), - -# ------------------------------------ - Option_For_Wind = SIMP( statut = 'o',typ = 'TXM', defaut = 0 , -# ------------------------------------ - into = ["No wind","Constant in time and space","Variable in time","Variable in time and space"], - fr = 'donne les options pour introduire le vent', - ang = 'gives option for managing the wind'), - -# ------------------------------------ - file_For_wind = BLOC (condition = 'Option_For_Wind == "Variable in time" or Option_For_Wind == "Variable in time and space"', -# ------------------------------------ -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ------------------------------------ - defaut = "give formated file 3"), - ), # fin bloc file_For_wind - -# ------------------------------------ - speed_For_wind = BLOC (condition = 'Option_For_Wind == "Constant in time and space"', -# ------------------------------------ -# ------------------------------------ - Speed_And_Direction_Of_Wind = SIMP( statut = 'o', defaut = (0.0, 0.0) , -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Donne la vitesse et la direction (en degres de 0 a 360, 0 etant y = 0 et x = +inf) du vent', - ang = 'gives the speed and direction (degre (from 0 to 360), 0 given y = 0 anx x = +infinity)',), - ), # speed_For_wind - - ), # fin b_Wind - -# ------------------------------------ - Air_Pressure = SIMP(statut = 'o',typ = bool, defaut = False, -# ------------------------------------ - fr = 'Permet de decider si l''on prend ou non en compte l''influence d''un champ de pression.', - ang = 'Provided to decide whether the influence of an atmosphere field is taken into account or not.'), - -# ------------------------------------ - b_air = BLOC(condition = "Air_Pressure == True", -# ------------------------------------ -# ------------------------------------ - Value_Of_Atmospheric_Pressure = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 100000.0 , - fr = 'donne la valeur de la pression atmospherique lorsquelle est constante en temps et en espace', - ang = 'gives the value of atmospheric pressure when it is contant in time and space',), - ), # fin b_air - -# ------------------------------------ - Rain_Or_Evaporation = SIMP(statut = 'o',typ = bool, -# ------------------------------------ - defaut = False, - fr = 'Pour ajouter un apport ou une perte d''eau en surface.', - ang = 'to add or remove water at the free surface. ',), - -# ----------------------------------- - b_Rain = BLOC(condition = "Rain_Or_Evaporation == True", -# ------------------------------------ -# ------------------------------------ - Rain_Or_Evaporation_In_Mm_Per_Day = SIMP(statut = 'o',typ = 'I',defaut = 0.), -# ------------------------------------ - ), # fin b_Rain - - ), # fin Meteorology - -# ------------------------------------ - Wave = FACT(statut = 'f', -# ------------------------------------ - -# ------------------------------------ - Wave_Driven_Currents = SIMP(statut = 'o', -# ------------------------------------ - typ = bool, defaut = False, - fr = 'Active la prise en compte des courants de houle', - ang = 'Wave driven currents are taken into account.'), - -# ------------------------------------ - b_Wave = BLOC(condition = "Wave_Driven_Currents == True", -# ------------------------------------ -# ------------------------------------ - Record_Number_In_Wave_File = SIMP(statut = 'o',typ = 'I', defaut = 1, -# ------------------------------------ - fr = 'Numero d enregistrement dans le fichier des courants de houle', - ang = 'Record number to read in the wave driven currents file'), - ), # fin b_Wave - ), # fin Wave - - - -# ------------------------------------ - Parameters_Estimation = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------ - Parameter_Estimation = SIMP( statut = 'o',typ = 'TXM', into = ["Friction","Frottement","Steady"], -# ------------------------------------ - fr = 'Liste des parametres a estimer', - ang = 'List of parameter to be estimated',), - -# ------------------------------------ - Identification_Method = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["List of tests", "Gradient simple", "Conj gradient", "Lagrange interp."], - defaut = 'GRadient simple',), - -# ------------------------------------ - Maximum_Number_Of_Iterations_For_Identification = SIMP(statut = 'o',typ = 'I',defaut = 20, -# ------------------------------------ - fr = 'chaque iteration comprend au moins un calcul direct et un calcul adjoint', - ang = 'every iteration implies at least a direct and an adjoint computation', ), - -# ------------------------------------ - Cost_Function = SIMP(statut = "f",typ = 'TXM', -# ------------------------------------ - defaut = 'Computed with h, u , v', - into = ['Computed with h, u , v', 'Computed with c, u , v'],), - -# ------------------------------------ - Tolerances_For_Identification = FACT( statut = 'o', -# ------------------------------------ -# PNPNPN recalculer en liste de 4 reels -# ------------------------------------ - Tolerance_For_H = SIMP( statut = 'o',typ = 'R', defaut=1.E-3, -# ------------------------------------ - fr = "precision absolue sur H", - ang = "absolute precision on H",), -# ------------------------------------ - Tolerance_For_U = SIMP( statut = 'o',typ = 'R', defaut=1.E-3, -# ------------------------------------ - fr = "precision absolue sur U", - ang = "absolute precision on U",), -# ------------------------------------ - Tolerance_For_V = SIMP( statut = 'o',typ = 'R', defaut=1.E-3, -# ------------------------------------ - fr = "precision absolue sur V", - ang = "absolute precision on V",), -# ------------------------------------ - Tolerance_For_cout = SIMP( statut = 'o',typ = 'R', defaut=1.E-4, -# ------------------------------------ - fr = "precision relative sur la fonction cout", - ang = "relative precision on the cost function",), - ),# fin Tolerances_For_Identification - - ), # fin fact Parameters_Estimation - -# ------------------------------------ - Sources = FACT( statut = 'f', -# ------------------------------------ -# ------------------------------------ - Number_Of_Sources = SIMP( statut = 'o',typ = 'I', defaut = 0 ,), -# ------------------------------------ -# Attention a la sortie a reformatter. voir page 68 du user manuel V7 - -# ------------------------------------ - sources_exists = BLOC(condition = "Number_Of_Sources!= 0", -# ------------------------------------ - -# ------------------------------------ - Sources_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Nom du fichier contenant les informations variables en temps des sources', - ang = 'Name of the file containing time-dependent information on sources',), - -#PNPNPNPN saisir autant de source que le nombre -# ------------------------------------ - Source = FACT(statut = 'o', -# ------------------------------------ - max = "**", -# ------------------------------------ - Abscissae_Of_Sources = SIMP( statut = 'o', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Valeurs des abscisses des sources de debit et de traceur.', - ang = 'abscissae of sources of flowrate and/or tracer',), - -# ------------------------------------ - Ordinates_Of_Sources = SIMP( statut = 'o', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Valeurs des ordonnees des sources de debit et de traceur.', - ang = 'ordinates of sources of flowrate and/or tracer',), - -# ------------------------------------ - Water_Discharge_Of_Sources = SIMP( statut = 'o', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Valeurs des debits des sources.', - ang = 'values of water discharge of sources',), - -# ------------------------------------ - Velocities_Of_The_Sources_Along_X = SIMP( statut = 'f', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Vitesses du courant a chacune des sources. Si elles ne sont pas donnees, on considere que la vitesse est celle du courant', - ang = 'Velocities at the sources. If they are not given, the velocity of the flow at this location is taken',), - -# ------------------------------------ - Velocities_Of_The_Sources_Along_Y = SIMP( statut = 'f', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Vitesses du courant a chacune des sources', - ang = 'Velocities at the sources',), - - ), # Fin du Fact Source - -# ------------------------------------ - Type_Of_Sources = SIMP(statut = 'o',typ = 'TXM',into = ["Normal","Dirac"], -# ------------------------------------ - fr = 'Source portee par une base elements finis Source portee par une fonction de Dirac', - ang = 'Source term multiplied by a finite element basis, Source term multiplied by a Dirac function',), - - ),#fin bloc source - exits - ),#fin MC source - exits - - -# ------------------------------------ - Coriolis_Settings = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------ - Coriolis = SIMP( statut='o',typ=bool, -# ------------------------------------ - defaut=False , - fr = 'Prise en compte ou non de la force de Coriolis.', - ang= 'The Coriolis force is taken into account or ignored.',), - -# ------------------------------------------------------- - Coriolis_Coefficient = SIMP( statut='o',typ='R', -# ------------------------------------------------------- - defaut=0.0 , - fr = 'Fixe la valeur du coefficient de la force de Coriolis. Celui-ci doit etre calcule en fonction de la latitude l \n\ -par la formule FCOR = 2w sin(l) , w etant la vitesse de rotation de la terre. w = 7.27 10-5 rad/s \n\ -Les composantes de la force de Coriolis sont alors : FU = FCOR x V FV = - FCOR x U', - ang= 'Sets the value of the Coriolis force coefficient, in cartesian coordinates. This coefficient,\n\ -denoted FCOR in the code, should be equal to 2 w sin(l)d where w denotes the earth angular speed of rotation and l the latitude. \n\ -w = 7.27 10-5 rad/sec The Coriolis force components are then: FU = FCOR x V, FV = -FCOR x U In spherical coordinates, the latitudes are known',), - ), #fin Coriolis_Settings - - - -# ------------------------------------ - Various = FACT( statut = 'f', -# ------------------------------------ -# ------------------------------------ - Water_Density = SIMP(statut = 'o',typ = 'R',defaut = 1000., -# ------------------------------------ - fr = 'Fixe la valeur de la masse volumique de l eau.', - ang = 'set the value of water density', - ), - -# ------------------------------------ - Gravity_Acceleration = SIMP(statut = 'o',typ = 'R',defaut = 9.81, -# ------------------------------------ - fr = 'Fixe la valeur de l acceleration de la pesanteur.', - ang = 'Set the value of the acceleration due to gravity.', - ), - -# ------------------------------------ - Vertical_Structures = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'Prise en compte de la force de trainee de structures verticales', - ang = 'drag forces from vertical structures are taken into account',), - -# ------------------------------------ - maskob = BLOC (condition = 'Vertical_Structures == True', -# ------------------------------------ -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ------------------------------------ - defaut = "subroutine DRAGFO must then be implemented"), - ), # fin maskob - ), - -# ----------------------------------------------------------------------- - Secondary_Currents_Settings = FACT( statut='f', -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Secondary_Currents = SIMP( statut='o',typ=bool, -# ----------------------------------------------------------------------- - defaut=False , - fr = 'Pour prendre en compte les courants secondaires', - ang= 'Using the parametrisation for secondary currents', - ), - -# ----------------------------------------------------------------------- - b_currents_exists = BLOC(condition = "Secondary_Currents == True", -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Production_Coefficient_For_Secondary_Currents = SIMP( statut='o',typ='R', -# ----------------------------------------------------------------------- - defaut=7.071 , - fr = 'Une constante dans les termes de creation de Omega', - ang= 'A constant in the production terms of Omega',), - -# ----------------------------------------------------------------------- - Dissipation_Coefficient_For_Secondary_Currents = SIMP( statut='o',typ='R', -# ----------------------------------------------------------------------- - defaut=0.5 , - fr = 'Coefficient de dissipation de Omega', - ang= 'Coefficient of dissipation term of Omega',), - - ), # fin b_currents_exists - ), # fin Secondary_Currents_Settings - -# ------------------------------------ - Tsunami = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------------------------- - Option_For_Tsunami_Generation = SIMP( statut='o',typ='I', defaut=0 , -# ------------------------------------------------------- - fr = '', - ang= '',), - -# ------------------------------------------------------- - Physical_Characteristics_Of_The_Tsunami = SIMP( statut='o',typ='R', -# ------------------------------------------------------- - min=10,max=10, - defaut=(100.0, 210000.0, 75000.0, 13.6, 81.0, 41.0, 110.0, 0.0, 0.0, 3.0) , - fr = '', - ang= '',), - ), #fin Tsunami - -)# fin PHYSICAL_PARAMETERS - -# ----------------------------------------------------------------------- -OUTPUT_FILES = PROC(nom = "OUTPUT_FILES",op = None, -# ----------------------------------------------------------------------- - -# ------------------------------------ - Graphic_And_Listing_Printouts = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------ - Variables_For_Graphic_Printouts = SIMP(statut = 'o',max = "**", typ = 'TXM', -# ------------------------------------ - into=[ "Velocity along X axis (m/s)", "Velocity along Y axis (m/s)", "Wave celerity (m/s)", "Water depth (m)", - "Free surface elevation (m)", "Bottom elevation (m)", "Froude number ", "Scalar flowrate of fluid (m2/s)", - "Tracer 1 etc. ", "Turbulent kinetic energy in K-Epsilon model (J/kg)", "Dissipation of turbulent energy (W/kg)", - "Turbulent viscosity of K-Epsilon model (m2/s)", "Flowrate along X axis (m2/s)", "Flowrate along Y axis (m2/s)", - "Scalar velocity (m/s)", "Wind along X axis (m/s)", "Wind along Y axis (m/s)", "Air pressure (Pa)", - "Friction coefficient", "Drift along X (m)", "Drift along Y (m)", "Courant number ", "Supplementary variable N ", - "Supplementary variable O ", "Supplementary variable R ", "Supplementary variable Z ", "Maximum elevation", - "Time of maximum elevation ", "Maximum velocity", "Time of maximum velocity", "Friction velocity "], - ), - #homo="SansOrdreNiDoublon"), - -# ------------------------------------ - Graphic_Printout_Period = SIMP(statut = 'o', typ = 'I',defaut = 1, -# ------------------------------------ - fr = 'Determine la periode en nombre de pas de temps d''impression des VARIABLES POUR LES SORTIES GRAPHIQUES \n\ - dans le FICHIER DES RESULTATS.', - ang = 'Determines, in number of time steps, the printout period for the VARIABLES FOR GRAPHIC PRINTOUTS in the RESULTS FILE.' ,), - -# ------------------------------------ - Number_Of_First_Time_Step_For_Graphic_Printouts = SIMP(statut = 'o', typ = 'I',defaut = 1, -# ------------------------------------ - fr = 'Determine le nombre de pas de temps a partir duquel debute l''ecriture des resultats dans le listing.', - ang = 'Determines the number of time steps after which the results are first written into the listing.'), - - -# ------------------------------------ - Results_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Nom du fichier dans lequel sont ecrits les resultats du calcul avec la periodicite donnee PERIODE POUR LES SORTIES GRAPHIQUES.', - ang = 'Name of the file into which the computation results shall be written, the periodicity being given by GRAPHIC PRINTOUT PERIOD.',), - -# ------------------------------------ - Results_File_Format = SIMP( statut = 'o',typ = 'TXM',into = ['Serafin','MED','SerafinD'], defaut = 'Serafin', -# ------------------------------------ - fr = 'Format du fichier de resultats. Les valeurs possibles sont : \n\ - - SERAFIN : format standard simple precision pour Telemac; \n\ - - SERAFIND: format standard double precision pour Telemac; \n\ - - MED : format MED base sur HDF5' , - ang = 'Results file format. Possible values are:\n \ - - SERAFIN : classical single precision format in Telemac;\n\ - - SERAFIND: classical double precision format in Telemac; \n\ - - MED : MED format based on HDF5' , - ), - -# ------------------------------------ - Listing_Printout_Period = SIMP(statut = 'o', typ = 'I',defaut = 1, -# ------------------------------------ - fr = 'Determine la periode en nombre de pas de temps d''impression des variables', - ang = 'Determines, in number of time steps, the printout period for the variables',), - -# ------------------------------------ - Listing_Printout = SIMP( statut='o',typ=bool, defaut=True , -# ------------------------------------ - fr = 'Sortie des resultats sur support papier. Si on met False, le listing ne contient que lentete et la mention FIN NORMALE DU PROGRAMME : La Valeur False est a eviter', - ang= 'Result printout on hard copy. When NO is selected, the listing only includes the heading and the phrase "NORMAL END OF PROGRAM" In addition, the options MASS BALANCE and VALIDATION are inhibited. Value False Not recommended for use.', - ), - -# ------------------------------------ - Variables_To_Be_Printed = SIMP(statut = 'o',max = "**", typ = 'TXM', -# ------------------------------------ - into = [ "Velocity along X axis (m/s)", "Velocity along Y axis (m/s)", "Wave celerity (m/s)", "Water depth (m)", - "Free surface elevation (m)", "Bottom elevation (m)", "Froude number", "Scalar flowrate of fluid (m2/s)", - "Tracer", "Turbulent kinetic energy in K-Epsilon model (J/kg)", "Dissipation of turbulent energy (W/kg)", - "Turbulent viscosity of K-Epsilon model (m2/s)", "Flowrate along x axis (m2/s)", "Flowrate along y axis (m2/s)", - "Scalar velocity (m/s)", "Wind along x axis (m/s)", "Wind along y axis (m/s)", "Air pressure (Pa)", - "Friction coefficient", "Drift along x (m)", "Drift along y (m)", "Courant number", - "Supplementary variable N", "Supplementary variable O", "Supplementary variable R", "Supplementary variable Z"] -,homo="SansOrdreNiDoublon"), - - ),# fin Listing_Graphic_Printouts - -# ------------------------------------ - Formatted_Results_File = SIMP( statut = 'f', -# ------------------------------------ - typ = ('Fichier','All Files (*)',), - fr = 'Fichier de resultats formate mis a la disposition de l utilisateur. \ -Les resultats a placer dans ce fichier seront a ecrire sur le canal 29.', - ang = 'Formatted file of results made available to the user. \ -The results to be entered into this file shall be written on channel 29.',), - - -# ------------------------------------ - Binary_Results_File = SIMP( statut = 'f', -# ------------------------------------ - typ = ('Fichier', ';;All Files (*)',), - fr = "Fichier de resultats code en binaire mis a la disposition de l'utilisateur.\n\ -Les resultats a placer dans ce fichier seront a ecrire sur le canal 28.", - ang = "Additional binary-coded result file made available to the user. \n\ -The results to be entered into this file shall be written on channel 28.",), - - -# ------------------------------------ - Output_Of_Initial_Conditions = SIMP(typ = bool, statut = 'o', -# ------------------------------------ - defaut = True, - fr = 'Si Vrai, impression des conditions initiales dans les resultats', - ang = 'If True, output of initial conditions in the results'), - -# ------------------------------------ - Number_Of_Private_Arrays = SIMP( statut='o',typ='I', -# ------------------------------------ - defaut=0 , - fr = 'Nombre de tableaux mis a disposition de l utilisateur', - ang= 'Number of arrays for own user programming', - ), - - -# ------------------------------------ - Information_About_Solver = SIMP(typ = bool, statut = 'f', -# ------------------------------------ - defaut = False, - fr = "Si vrai, Donne a chaque pas de temps le nombre d'iterations necessaires a la convergence du solveur de l'etape de propagation.", - ang = "if True, prints the number of iterations that have been necessary to get the solution of the linear system.",), - -# ------------------------------------ - Mass_Balance = SIMP( statut='o',typ=bool, -# ------------------------------------ - defaut=False , - fr = 'Determine si l on effectue ou non le bilan de masse sur le domaine. Cette procedure calcule a chaque pas de temps : \n\ -- les flux aux entrees et sorties du domaine, - le flux global a travers lensemble des parois du domaine (liquides ou solides) \n\ -- l erreur relative sur la masse pour ce pas de temps.\n\ -En fin de listing, on trouve l erreur relative sur la masse pour l ensemble du calcul.\n\ -Il ne sagit que dun calcul indicatif car il nexiste pas dexpression compatible du debit en formulation c,u,v.', - - ang= 'Determines whether a check of the mass-balance over the domain is mader or not.\n\ -This procedures computes the following at each time step: the domain inflows and outflows, the overall flow across all the boundaries,\n\ -the relative error in the mass for that time step. The relative error in the mass over the whole computation can be found at the end of the listing.', - ), - -# ------------------------------------ - Controls = FACT( statut='f', -# ------------------------------------ -# ------------------------------------ - Control_Sections = SIMP(statut = 'f',typ = Tuple(2),validators = VerifTypeTuple(('I','I')), -# ------------------------------------ - fr = 'Couples de points (numeros globaux dans le maillage) entre lesquels les debits instantanes et cumules seront donnes.', - ang = 'Couples of points (global numbers in the mesh) defining sections where the instantaneous and cumulated discharges will be given',), - -# ------------------------------------ - Printing_Cumulated_Flowrates = SIMP( statut = 'o',typ = bool, defaut = False , -# ------------------------------------ - fr = 'impression du flux cumule a travers les sections de controle', - ang = 'printing the cumulated flowrates through control sections',), - -# ------------------------------------ - Compatible_Computation_Of_Fluxes = SIMP( statut = 'o',typ = bool, defaut = False , -# ------------------------------------ - fr = 'flux a travers les sections de controle, calcul compatible avec l impermeabilite sous forme faible', - ang = 'flowrates through control sections, computation compatible with the weak formulation of no-flux boundary condition',), - -# ------------------------------------ - Sections_Input_File = SIMP( statut = 'f', typ = ('Fichier', 'All Files (*)'), -# ------------------------------------ - fr = 'sections input file, partitioned', - ang = 'sections input file, partitioned',), - -# ------------------------------------ - Sections_Output_File = SIMP( statut = 'f', typ = ('Fichier', 'All Files (*)'), -# ------------------------------------ - fr = 'sections output file, written by the master', - ang = 'sections output file, written by the master',), - - ),# fin controls -# ------------------------------------ - Fourier = FACT(statut = 'f', -# ------------------------------------ -# ------------------------------------ - Fourier_Analysis_Periods = SIMP( statut='o', -# ------------------------------------ - max='**', typ = 'R', - fr = 'Liste des periodes que lon veut analyser', - ang= 'List of periods to be analysed',), - -# ------------------------------------ - Time_Range_For_Fourier_Analysis = SIMP( statut='o', -# ------------------------------------ - typ = Tuple(2), validators = VerifTypeTuple(('R','R')), - defaut=(0.0, 0.0) , - fr = 'Pour le calcul du marnage et de la phase de la maree', - ang= 'For computing tidal range and phase of tide', - ), - -# ------------------------------------ - List_Of_Points = SIMP( statut='o', -# ------------------------------------ - typ = Tuple(2), validators = VerifTypeTuple(('I','I')), - fr = 'Liste de points remarquables pour les impressions', - ang= 'List of remarkable points for printouts',), - -# ------------------------------------ - Names_Of_Points = SIMP( statut='o',typ='TXM', -# ------------------------------------ - min=2,max=2 , - fr = 'Noms des points remarquables pour les impressions', - ang= 'Names of remarkable points for printouts', - ), - - ),# fin fourier -) # FIN OUTPUT_FILES - - -# ----------------------------------------------------------------------- -CONSTRUCTION_WORKS_MODELLING = PROC(nom = "CONSTRUCTION_WORKS_MODELLING",op = None, -# ----------------------------------------------------------------------- - -# Attention calculer le logique BREACH - -# ------------------------------------ - Number_Of_Culverts = SIMP( statut = 'o',typ = 'I', -# ------------------------------------ - defaut = 0 , - fr = 'Nombre de siphons traites comme des termes sources ou puits. Ces siphons doivent etre decrits comme des sources \ -dans le fichier cas. Leurs caracteristiques sont donnees dans le fichier de donnees des siphons (voir la documentation ecrite)', - ang = 'Number of culverts treated as source terms. They must be described as sources in the domain\ - and their features are given in the culvert data file (see written documentation)',), -# ------------------------------------ - culvert_exists = BLOC(condition = "Number_Of_Culverts!= 0", -# ------------------------------------ -# ------------------------------------ - Culvert_Data_File = SIMP( statut = 'o',typ = ('Fichier', 'All Files (*)',), -# ------------------------------------ - fr = 'Fichier de description des siphons presents dans le modele', - ang = 'Description of culvert existing in the model',), - ), # fin bloc culvert_exists - -# ------------------------------------ - Number_Of_Tubes = SIMP( statut = 'o',typ = 'I', -# ------------------------------------ - defaut = 0 , - fr = 'Nombre de buses ou ponts traites comme des termes sources ou puits. Ces buses doivent etre decrits comme des sources\n\ -dans le fichier cas. Leurs caracteristiques sont donnees dans le fichier de donnees des buses (voir la documentation ecrite)', - ang = 'Number of tubes or bridges treated as source terms. They must be described as sources in the domain \n\ -and their features are given in the tubes data file (see written documentation)',), -# ------------------------------------ - b_Tubes = BLOC(condition = "Number_Of_Tubes!= 0", -# ------------------------------------ -# ------------------------------------ - Tubes_Data_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Fichier de description des buses/ponts presents dans le modele', - ang = 'Description of tubes/bridges existing in the model',), - ), # in bloc b_Tubes - -# ------------------------------------ - Number_Of_Weirs = SIMP(statut = 'o',typ = 'I',defaut = 0, -# ------------------------------------ - fr = 'Nombre de seuils qui seront traites par des conditions aux limites. \n\ -Ces seuils doivent etre decrits comme des frontieres du domaine de calcul', - ang = 'Number of weirs that will be treated by boundary conditions.', - ), -# ------------------------------------ - b_Weirs = BLOC(condition = "Number_Of_Weirs!= 0", -# ------------------------------------ -# ------------------------------------ - Weirs_Data_File = SIMP( statut = 'o', -# ------------------------------------ - typ = ('Fichier', 'All Files (*)',), - fr = 'Fichier de description des seuils presents dans le modele', - ang = 'Description of weirs existing in the model',), - -# ------------------------------------ - Type_Of_Weirs = SIMP( statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Horizontal with same number of nodes upstream/downstream (Historical solution with bord)", - "General (New solution with sources points)"], - defaut = "Horizontal with same number of nodes upstream/downstream (Historical solution with bord)", - fr = 'Méthode de traitement des seuils ', - ang = 'Method for treatment of weirs',), - ),# fin b_Weirs - -# ------------------------------------ - Breach = SIMP(statut = 'o',typ = bool,defaut = False, -# ------------------------------------ - fr = 'Prise en compte de breches dans le calcul par modification altimetrique dans le maillage.', - ang = 'Take in account some breaches during the computation by modifying the bottom level of the mesh.',), - -# ------------------------------------ - b_Breaches = BLOC (condition = 'Breach == True', -# ------------------------------------ -# ------------------------------------ - Breaches_Data_File = SIMP( statut = 'o',typ = ('Fichier', 'All Files (*)',), -# ------------------------------------ - fr = 'Fichier de description des breches', - ang = 'Description of breaches',), - ), # fin b_Breaches - - -) # Fin CONSTRUCTION_WORKS_MODELLING - - -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom = "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- - UIinfo = { "groupes" : ( "CACHE", )}, -# ------------------------------------ - Location = FACT(statut = 'o', -# ------------------------------------ -# ------------------------------------ - Origin_Coordinates = SIMP( statut='o', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('I','I')),defaut = (0,0), - fr = 'Valeur en metres, utilise pour eviter les trop grands nombres, transmis dans le format Selafin mais pas d autre traitement pour l instant', - ang= 'Value in metres, used to avoid large real numbers, added in Selafin format, but so far no other treatment',), - - -# ------------------------------------ - Spherical_Coordinates = SIMP(typ = bool,statut = 'o',defaut = False, -# ------------------------------------ - fr = 'Choix des coordonnees spheriques pour la realisation du calcul ( pour les grands domaines de calcul).', - ang = 'Selection of spherical coordinates to perform the computation (for large computation domains).'), - -# ------------------------------------ - b_Spher = BLOC(condition = 'Spherical_Coordinates == True', -# ------------------------------------ -# ------------------------------------ - Latitude_Of_Origin_Point = SIMP(typ = 'R',statut = 'o',defaut = 48., -# ------------------------------------ - fr = 'Determine l origine utilisee pour le calcul de latitudes lorsque l on effectue un calcul en coordonnees spheriques.', - ang = 'Determines the origin used for computing latitudes when a computation is made in spherical coordinates.this latitude\n\ -is in particular used to compute the Coriolis force. In cartesian coordinates, Coriolis coefficient is considered constant.'), - -# ------------------------------------ - Spatial_Projection_Type = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Mercator","Latitude longitude"]), - ), # fin b_Spher - -# ------------------------------------ - b_Spher_faux = BLOC(condition = 'Spherical_Coordinates == False', -# ------------------------------------ -# ------------------------------------ - Spatial_Projection_Type = SIMP(statut = 'o',typ = 'TXM', -# ------------------------------------ - into = ["Cartesian, not georeferenced","Mercator","Latitude longitude"], - defaut = "Cartesian, not georeferenced",), - ), # fin b_Spher_faux - - ), # Fin de Location -# ------------------------------------ - Time = FACT(statut = 'o', -# ------------------------------------ - regles = (AU_MOINS_UN('Number_Of_Time_Steps','Duration'), - EXCLUS('Number_Of_Time_Steps','Duration'), - ), - -# ----------------------------------------------------------------------- - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ----------------------------------------------------------------------- - defaut = "Choose between Keywords 'Number_Of_Time_Steps' or 'Duration'"), - -# ------------------------------------ - Time_Step = SIMP(statut = 'o', -# ------------------------------------ - typ = 'R', defaut = 1, - fr = 'Definit le nombre de pas de temps effectues lors de l''execution du code.', - ang = 'Specifies the number of time steps performed when running the code.'), - -# ------------------------------------ - Number_Of_Time_Steps = SIMP(statut = 'f',typ = 'I', -# ------------------------------------ - fr = 'Definit le nombre de pas de temps effectues lors de l''execution du code.', - ang = 'Specifies the number of time steps performed when running the code.'), - -# ------------------------------------ - Duration = SIMP(statut = 'f',typ = 'R', -# ------------------------------------ - fr = 'duree de la simulation. alternative au parametre nombre de pas de temps. \n\ -On en deduit le nombre de pas de temps en prenant l''entier le plus proche de (duree du calcul/pas de temps).\n\ -Si le nombre de pas de temps est aussi donne, on prend la plus grande valeur', - ang = 'duration of simulation. May be used instead of the parameter NUMBER OF TIME STEPS. \n\ -The nearest integer to (duration/time step) is taken. If NUMBER OF TIME STEPS is also given, the greater value is taken',), - -# PNPN -# Attention, on laisse la règle mais il est possible d avoir les 2 en entrées --> attention au convert -# ------------------------------------ - Variable_Time_Step = SIMP(statut = 'o',typ = bool, defaut=False, -# ------------------------------------ - fr = 'Pas de temps variable pour avoir un nombre de courant souhaite', - ang = 'Variable time-step to get a given Courant number'), - -# ------------------------------------ - b_var_time = BLOC(condition = "Variable_Time_Step == True" , -# ------------------------------------ -# ------------------------------------ - Desired_Courant_Number = SIMP(statut = 'o',typ = 'R', -# ------------------------------------ - fr = 'Nombre de Courant souhaite ', - ang = 'Desired Courant number',), - ), - -# ------------------------------------ - Original_Date_Of_Time = FACT( statut = 'o', -# ------------------------------------ - fr = "Permet de fixer la date d'origine des temps du modele lors de la prise en compte de la force generatrice de la maree.", - ang = 'Give the date of the time origin of the model when taking into account the tide generating force.', - Year = SIMP(statut = 'o',typ = 'I',val_min = 1900, defaut = 1900), - Month = SIMP(statut = 'o',typ = 'I',val_min = 1,val_max = 12, defaut = 1), - Day = SIMP(statut = 'o',typ = 'I',val_min = 1,val_max = 31,defaut = 1),), - -# ------------------------------------ - Original_Hour_Of_Time = FACT( statut = 'o', -# ------------------------------------ - fr = "Permet de fixer l'heure d'origine des temps du modele lors de la prise en compte de la force generatrice de la maree.", - ang = 'Give the time of the time origin of the model when taking into account the tide generating force.', - Hour = SIMP(statut = 'o',typ = 'I',val_min = 0,val_max = 24, defaut = 0), - Minute = SIMP(statut = 'o',typ = 'I',val_min = 0,val_max = 60, defaut = 0), - Second = SIMP(statut = 'o',typ = 'I',val_min = 0,val_max = 60, defaut = 0), - ), - -# ------------------------------------ - Stop_If_A_Steady_State_Is_Reached = SIMP(statut = 'o', -# ------------------------------------ - typ = bool,defaut = False), - -# ------------------------------------ - b_stop = BLOC(condition = "Stop_If_A_Steady_State_Is_Reached == True" , -# ------------------------------------ -# ------------------------------------ - Stop_Criteria = SIMP(statut = 'o',typ = Tuple(3),validators = VerifTypeTuple(('R','R','R')), -# ------------------------------------ - fr = "Criteres d'arret pour un ecoulement permanent. ces coefficients sont respectivement appliques a\n\ - 1- U et V 2- H 3- T ", - ang = 'Stop criteria for a steady state These coefficients are applied respectively to\n\ - 1- U and V 2- H 3- T ',), - ), # fin b_stop - -# ------------------------------------ - Control_Of_Limits = SIMP(statut = 'o', -# ------------------------------------ - typ = bool, defaut = False, - fr = 'Le programme s''arrete si les limites sur u,v,h ou t sont depassees', - ang = 'The program is stopped if the limits on u,v,h, or t are trespassed',), - -# ------------------------------------ - b_limit = BLOC(condition = "Control_Of_Limit == True" , - Limit_Values = FACT(statut = 'o', -# Attention : 1 seul MC ds Telemac -# ------------------------------------ - fr = 'valeurs mini et maxi acceptables min puis max', - ang = 'min and max acceptable values ', - -# ------------------------------------ - Limit_Values_H = SIMP(statut = 'o',typ = Tuple(2), -# ------------------------------------ - validators = VerifTypeTuple(('R','R')), defaut = (-1000,9000)), -# ------------------------------------ - Limit_Values_U = SIMP(statut = 'o',typ = Tuple(2), -# ------------------------------------ - validators = VerifTypeTuple(('R','R')), defaut = (-1000,1000)), -# ------------------------------------ - Limit_Values_V = SIMP(statut = 'o',typ = Tuple(2), -# ------------------------------------ - validators = VerifTypeTuple(('R','R')), defaut = (-1000,1000)), -# ------------------------------------ - Limit_Values_T = SIMP(statut = 'o',typ = Tuple(2), -# ------------------------------------ - validators = VerifTypeTuple(('R','R')), defaut = (-1000,1000)), - ),), # fin Fact et b_limit - ), # Fin de Time - -# Attention il faut recalculer en sortie : il faut 0 ou 1 et non un boolean -# ------------------------------------ - Debugger = SIMP(typ = bool , statut = 'o', -# ------------------------------------ - defaut = False, - fr= 'Pour imprimer la sequence des appels, mettre 1', - ang = 'If 1, calls of subroutines will be printed in the listing',), - -) # Fin GENERAL_PARAMETERS - - -# ----------------------------------------------------------------------- -TURBULENCE = PROC(nom = "TURBULENCE",op = None, -# ----------------------------------------------------------------------- - -# ----------------------------------------------------------------------- - Turbulence_Model = SIMP( statut = 'o',typ = 'TXM', defaut = "Constant Viscosity", -# ----------------------------------------------------------------------- - into = ("Constant Viscosity", "Elder", "K-Epsilon Model", "Smagorinski"), - fr = 'Pour Elder, il faut pas oublier d ajuster les deux valeurs du mot-cle : COEFFICIENTS ADIMENSIONNELS DE DISPERSION\n\ -Pour K-Epsilon Model, ce meme parametre doit retrouver sa vraie valeur physique car elle est utilisee comme telle dans le modele de turbulence', - ang = 'When Elder, the two values of key-word : NON-DIMENSIONAL DISPERSION COEFFICIENTS are used \n\ -When K-Epsilon Model, this parameter should recover its true physical value, since it is used as such in the turbulence model.',), - -# ------------------------------------ - b_turbu_const = BLOC(condition = 'Turbulence_Model == "Constant Viscosity"', -# ------------------------------------ -# ------------------------------------ - Velocity_Diffusivity = SIMP( statut = 'o',typ = 'R', -# ------------------------------------ - defaut = 1.E-6, - fr = 'Fixe de facon uniforme pour l ensemble du domaine la valeur du coefficient de diffusion de viscosite globale (dynamique + turbulente).\n\ -Cette valeur peut avoir une influence non negligeable sur la forme et la taille des recirculations.', - ang = 'Sets, in an even way for the whole domain, the value of the coefficient of global (dynamic+turbulent) viscosity. \n\ -this value may have a significant effect both on the shapes and sizes of recirculation zones.',), - ), # fin b_turbu_const - -# ------------------------------------ - b_turbu_elder = BLOC(condition = 'Turbulence_Model == "Elder"', -# ------------------------------------ -# ------------------------------------ - Non_Dimensional_Dispersion_Coefficients = SIMP (statut = 'o', -# ------------------------------------ - typ = Tuple(2),validators = VerifTypeTuple(('R','R')),defaut = (6.,0.6), - fr = 'coefficients longitudinal et transversal dans la formule de Elder.', - ang = 'Longitudinal and transversal coefficients in elder s formula. Used only with turbulence model number 2',), - ), # fin bloc b_turbu_elder - -# ----------------------------------------------------------------------- - Accuracy_Of_K = SIMP( statut = 'o',typ = 'R', defaut = 1e-09 , -# ----------------------------------------------------------------------- - fr = 'Fixe la precision demandee sur k pour le test d arret dans letape de diffusion et termes sources du modele k-epsilon.', - ang = 'Sets the required accuracy for computing k in the diffusion and source terms step of the k-epsilon model.',), - -# ----------------------------------------------------------------------- - Accuracy_Of_Epsilon = SIMP( statut = 'o',typ = 'R', defaut = 1e-09 , -# ----------------------------------------------------------------------- - fr = 'Fixe la precision demandee sur epsilon pour le test darret dans letape de diffusion et termes sources de k et epsilon.', - ang = 'Sets the required accuracy for computing epsilon in the diffusion and source-terms step of the k-epsilon model.',), - -# ----------------------------------------------------------------------- - Time_Step_Reduction_For_K_Epsilon_Model = SIMP( statut = 'f',typ = 'R', defaut = 1.0 , -# ----------------------------------------------------------------------- - fr = 'Coefficient reducteur du pas de temps pour le modele k-epsilon (qui est normalement identique a celui du systeme hydrodynamique).\n\ -Utilisation deconseillee', - ang = 'Time step reduction coefficient for k-epsilon model (which is normally same the same as that of the hydrodynamic system).\n\ -Not recommended for use.',), - -# ----------------------------------------------------------------------- - Maximum_Number_Of_Iterations_For_K_And_Epsilon = SIMP( statut = 'o',typ = 'I', -# ----------------------------------------------------------------------- - defaut = 50 , - fr = 'Fixe le nombre maximum diterations accepte lors de la resolution du systeme diffusion-termes sources du modele k-epsilon.', - ang = 'Sets the maximum number of iterations that are acceptable when solving the diffusion source-terms step of the k-epsilon model.',), - -# ----------------------------------------------------------------------- - Turbulence_Model_For_Solid_Boundaries = SIMP( statut = 'o',typ = 'TXM', -# ----------------------------------------------------------------------- - defaut = 'Rough' , - into = ('Smooth', 'Rough'), - fr = 'Permet de choisir le regime de turbulence aux parois ', - ang = 'Provided for selecting the type of friction on the walls',), - -# ----------------------------------------------------------------------- - Solver_For_K_Epsilon_Model = SIMP( statut = 'o',typ = 'TXM', -# ----------------------------------------------------------------------- - defaut = "Conjugate gradient" , - into = ("Conjugate gradient", "Conjugate residuals", "Conjugate gradient on normal equation", - "Minimum error", "Conjugate gradient squared", "Conjugate gradient squared stabilised (CGSTAB)", - "GMRES", "Direct"), - fr = 'Permet de choisir le solveur utilise pour la resolution du systeme du modele k-epsilon', - ang = 'Makes it possible to select the solver used for solving the system of the k-epsilon model.',), - -# ----------------------------------------------------------------------- - b_gmres = BLOC(condition = 'Solver_For_K_Epsilon_Model == "GMRES"', -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Option_For_The_Solver_For_K_Epsilon_Model = SIMP( statut = 'o',typ = 'I', -# ----------------------------------------------------------------------- - defaut = 2 ,val_min = 2,val_max = 15, - fr = 'le mot cle est la dimension de lespace de KRILOV (valeurs conseillees entre 2 et 7)', - ang = 'dimension of the krylov space try values between 2 and 7',), - ), # fin bloc b_gmres - -# ----------------------------------------------------------------------- - Preconditioning_For_K_Epsilon_Model = SIMP( statut = 'o',typ = 'TXM', -# ----------------------------------------------------------------------- - defaut = 'Diagonal' , - into = ("Diagonal", "No preconditioning", "Diagonal condensed", "Crout", "Diagonal and crout", "Diagonal condensed and crout"), - fr = 'Permet de preconditionner le systeme relatif au modele k-epsilon', - ang = 'Preconditioning of the linear system in the diffusion step of the k-epsilon model.', - ), -# ----------------------------------------------------------------------- - Information_About_K_Epsilon_Model = SIMP(statut = 'o',typ = bool,defaut = True, -# ----------------------------------------------------------------------- - fr = 'Donne le nombre d iterations du solveur de l etape de diffusion et termes sources du modele k-epsilon.', - ang = 'Gives the number of iterations of the solver in the diffusion and source terms step of the k-epsilon model.', - ), -)# fin TURBULENCE - - - - -# ----------------------------------------------------------------------- -PARTICLE_TRANSPORT = PROC(nom = "PARTICLE_TRANSPORT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Number_Of_Drogues = SIMP(statut = 'o',typ = 'I',defaut = 0, -# ----------------------------------------------------------------------- - fr = 'Permet d''effectuer un suivi de flotteurs', - ang = 'Number of drogues in the computation.',), - -# ----------------------------------------------------------------------- - Algae_Transport_Model = SIMP( statut = 'o',typ = bool, defaut = False , -# ----------------------------------------------------------------------- - fr = 'Si oui, les flotteurs seront des algues', - ang = 'If yes, the floats or particles will be algae',), - -# ----------------------------------------------------------------------- - algae_exists = BLOC(condition = "Algae_Transport_Model == True", -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Algae_Type = SIMP( statut = 'o',typ = 'TXM', -# ----------------------------------------------------------------------- - into = ["Sphere", "Iridaea flaccida (close to ulva)", "Pelvetiopsis limitata", "Gigartina leptorhynchos"], - defaut = "Sphere", - fr = 'Type des algues. Pour sphere les algues seront modelisees comme des spheres, pour les autres choix voir Gaylord et al.(1994)', - ang = 'Algae type. For sphere, the algae particles will be modeled as spheres, for the other choices see Gaylord et al.(1994)',), - -# ----------------------------------------------------------------------- - Diameter_Of_Algae = SIMP( statut = 'o',typ = 'R', defaut = 0.1 , -# ----------------------------------------------------------------------- - fr = 'Diametre des algues en m', - ang = 'Diametre of algae in m',), - -# ----------------------------------------------------------------------- - Density_Of_Algae = SIMP( statut = 'o',typ = 'R', defaut = 1050.0 , -# ----------------------------------------------------------------------- - fr = 'Masse volumique des algues en kg/m3', - ang = 'Density of algae in kg/m3',), - -# ----------------------------------------------------------------------- - Thickness_Of_Algae = SIMP( statut = 'o',typ = 'R', defaut = 0.01 , -# ----------------------------------------------------------------------- - fr = 'Epaisseur des algues en m', - ang = 'Thickness of algae in m',), - ), # fin algae - - -# ----------------------------------------------------------------------- - Oil_Spill_Model = SIMP( statut = 'o',typ = bool, defaut = False , -# ----------------------------------------------------------------------- - fr = 'pour declencher le modele de derive de nappes, dans ce cas le fichier de commandes migrhycar est necessaire', - ang = 'will trigger the oil spill model, in this case the migrhycar steering file is needed',), - -# ----------------------------------------------------------------------- - oil_exists = BLOC(condition = "Oil_Spill_Model == True", -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Oil_Spill_Steering_File = SIMP( statut = 'o',typ = ('Fichier', 'All Files (*)',), -# ----------------------------------------------------------------------- - fr = 'Contient les donnees pour le modele de derive de nappes', - ang = 'Contains data for the oil spill model',), - ), # fin oil_exists - -# ----------------------------------------------------------------------- - drogues_exists = BLOC(condition = "Number_Of_Drogues!= 0 or Algae_Transport_Model == True or Oil_Spill_Model == True", -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Drogues_File = SIMP( statut = 'o',typ = ('Fichier', 'All Files (*)',), -# ----------------------------------------------------------------------- - fr = 'Fichier de resultat avec les positions des flotteurs', - ang = 'Results file with positions of drogues',), - -# ----------------------------------------------------------------------- - Printout_Period_For_Drogues = SIMP(statut = 'o',typ = 'I',defaut = 1, -# ----------------------------------------------------------------------- - fr = 'Nombre de pas de temps entre 2 sorties de positions de flotteurs dans le fichier des resultats binaire supplementaire\n\ -N affecte pas la qualite du calcul de la trajectoire', - ang = 'Number of time steps between 2 outputs of drogues positions in the binary file',), - ),#fin drogues ou algae - - -# ----------------------------------------------------------------------- - Stochastic_Diffusion_Model = SIMP( statut = 'o',typ = 'I', defaut = 0 , -# ----------------------------------------------------------------------- - fr = 'Pour les particules : flotteurs, algues, hydrocarbures', - ang = 'Meant for particles: drogues, algae, oil spills',), - -# ----------------------------------------------------------------------- - Number_Of_Lagrangian_Drifts = SIMP( statut = 'o',typ = 'I', defaut = 0 , -# ----------------------------------------------------------------------- - fr = 'Permet deffectuer simultanement plusieurs calculs de derives lagrangiennes initiees a des pas differents', - ang = 'Provided for performing several computations of lagrangian drifts starting at different times.',), - -# ----------------------------------------------------------------------- - b_cons = BLOC(condition = "Number_Of_Lagrangian_Drifts != 0", -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ----------------------------------------------------------------------- - defaut = "Add A and G in the VARIABLES FOR GRAPHIC PRINTOUTS key-word in POST_PROCESSING SECTION"), - ), # fin b_cons - -)# fin PARTICULE -# ----------------------------------------------------------------------- -TRACERS = PROC(nom = "TRACERS",op = None, -# ----------------------------------------------------------------------- - -# ----------------------------------------------------------------------- - Tracers_Setting = FACT(statut = 'o', -# ----------------------------------------------------------------------- - -# ----------------------------------------------------------------------- - Number_Of_Tracers = SIMP( statut='o',typ='I', -# ----------------------------------------------------------------------- - defaut=0 , - fr = 'Definit le nombre de traceurs.', - ang= 'Defines the number of tracers',), -#PNPNPN Recalculer Names_Of_Tracers et Initial_Values_Of_Tracers comme des listes -# pour Names_Of_Tracers = Names_Of_Tracers+Names_Of_Unit -# il faut faire un validateur (la chaine doit faire 16 caracteres evtuellement complete par des blancs) - -# ------------------------------------ - Tracer = FACT(statut = 'o', max="**", -# ------------------------------------ -# ----------------------------------------------------------------------- - Name_Of_Tracer = SIMP( statut='o',typ='TXM', -# ----------------------------------------------------------------------- - fr = 'Noms des traceurs en 16 caracteres', - ang= 'Name of tracers in 32 characters',), - -# ----------------------------------------------------------------------- - Name_Of_Unit = SIMP( statut='o',typ='TXM', -# ----------------------------------------------------------------------- - fr = 'Noms de l unité en 16 caracteres', - ang= 'Name of unit in 16 characters',), - - b_Computation_Continued = BLOC(condition = 'Computation_Continued == True', -#PNPNPN Attention: global_jdc ne fonctionne pas bien : pas de propagation si chgt de valeur de Computation_Continued -# ----------------------------------------------------------------------- - Initial_Values_Of_Tracers = SIMP( statut='o', -# ----------------------------------------------------------------------- - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - defaut=(0.0, 0.0) , - fr = 'Fixe la valeur initiale du traceur.', - ang= 'Sets the initial value of the tracer.',), - - ), # fin b_Computation_Continued -# ------------------------------------ - Boundary_Conditions = FACT( statut = 'f', -# ------------------------------------ -# ----------------------------------------------------------------------- - Prescribed_Tracers_Values = SIMP( statut='o', -# ----------------------------------------------------------------------- - typ = Tuple(2),validators = VerifTypeTuple(('R','R')), - fr = 'Valeurs du traceur imposees aux frontieres liquides entrantes. Lire la partie du manuel consacree aux conditions aux limites', - ang= 'Tracer values prescribed at the inflow boundaries. Read the manual section dealing with the boundary conditions',), - ), # fin Boundary_Conditions - ), # fin tracer - -# ----------------------------------------------------------------------- - Density_Effects = SIMP( statut='o',typ=bool, -# ----------------------------------------------------------------------- - defaut=False , - fr = 'prise en compte du gradient horizontal de densite le traceur est alors la salinite', - ang= 'the horizontal gradient of density is taken into account the tracer is then the salinity',), - -# ----------------------------------------------------------------------- - b_Density_Effects = BLOC(condition = 'Density_Effects == True', -# ----------------------------------------------------------------------- -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ------------------------------------ - defaut='the first Tracer must be the salinity expressed in kg/m3'), - -# ----------------------------------------------------------------------- - Mean_Temperature = SIMP( statut='o',typ='R', -# ----------------------------------------------------------------------- - defaut=20.0 , - fr = 'temperature de reference pour le calcul des effets de densite ', - ang= 'reference temperature for density effects',), - - ), # fin b_Density_Effects - - ), # fin b_Tracers_Settings -# ----------------------------------------------------------------------- - Solving = FACT( statut='o', -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Solver_For_Diffusion_Of_Tracers = SIMP( statut='o',typ='TXM', -# ----------------------------------------------------------------------- - defaut='1="conjugate gradient"' , - into =('1="conjugate gradient"', '2="conjugate residual"', '3="conjugate gradient on a normal equation"', - '4="minimum error"', '5="squared conjugate gradient"', '6="cgstab"', '7="gmres "', '8="direct"'),), - -# ----------------------------------------------------------------------- - Solver_Option_For_Tracers_Diffusion = SIMP( statut='o',typ='I', -# ----------------------------------------------------------------------- - defaut=2 , - fr = 'si le solveur est GMRES (7) le mot cle est la dimension de lespace de KRILOV (valeurs conseillees entre 2 et 15)', - ang= 'WHEN GMRES (7) IS CHOSEN, DIMENSION OF THE KRYLOV SPACE TRY VALUES BETWEEN 2 AND 15',), - -# ----------------------------------------------------------------------- - Preconditioning_For_Diffusion_Of_Tracers = SIMP( statut='o',typ='TXM', -# ----------------------------------------------------------------------- - defaut='2="diagonal"' , - into =('2="diagonal"', '0="no preconditioning "', '3="diagonal condensed"', '7="crout"', '14="diagonal and crout"', '21="diagonal condensed and crout"'), - fr = 'Permet de preconditionner le systeme relatif au traceur. Memes definition et possibilites que pour le mot-cle PRECONDITIONNEMENT.', - ang= 'Preconditioning of the linear system in the tracer diffusion step. Same definition and possibilities as for the keyword PRECONDITIONING', - ), - ), # fin_Solving - -# ----------------------------------------------------------------------- - Accuracy = FACT( statut='o', -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Accuracy_For_Diffusion_Of_Tracers = SIMP( statut='o',typ='R', defaut=1e-06 , -# ----------------------------------------------------------------------- - fr = 'Fixe la precision demandee pour le calcul de la diffusion du traceur.', - ang= 'Sets the required accuracy for computing the tracer diffusion.',), - -# ----------------------------------------------------------------------- - Maximum_Number_Of_Iterations_For_Diffusion_Of_Tracers = SIMP( statut='o',typ='I', defaut=60 , -# ----------------------------------------------------------------------- - fr = 'Limite le nombre diterations du solveur a chaque pas de temps pour le calcul de la diffusion du traceur.', - ang= 'Limits the number of solver iterations at each time step for the diffusion of tracer.',), - - ), # fin Accuracy -# ----------------------------------------------------------------------- - Sources = FACT( statut='o', -# ----------------------------------------------------------------------- -# ------------------------------------ - Consigne = SIMP(statut = "o",homo = 'information',typ = "TXM", -# ------------------------------------ - defaut = "La longueur de la liste doit etre nb de source * nb de tracers"), -# ----------------------------------------------------------------------- - Values_Of_The_Tracers_At_The_Sources = SIMP( statut='o',typ='R', max='**' , -# ----------------------------------------------------------------------- - fr = 'Valeurs des traceurs a chacune des sources', - ang= 'Values of the tracers at the sources',), - ), # fin Sources -# ----------------------------------------------------------------------- - Metereology = FACT( statut='o', -# ----------------------------------------------------------------------- -# en fait, c'est une liste de Tuple de 2. Il faudrait caluler la taille en fonction du Nombre de sources -# ----------------------------------------------------------------------- - Values_Of_Tracers_In_The_Rain = SIMP( -# ----------------------------------------------------------------------- - statut='o',typ='R',defaut=0, max=2 , fr = '', ang= '',), - ), # fin Metereology - -# ----------------------------------------------------------------------- - Numerical = FACT( statut='o', -# ----------------------------------------------------------------------- - -# ----------------------------------------------------------------------- - Implicitation_Coefficient_Of_Tracers = SIMP( statut='o',typ='R', -# ----------------------------------------------------------------------- - defaut=0.6 , - fr = 'Fixe la valeur du coefficient dimplicitation du traceur', - ang= 'Sets the value of the implicitation coefficient for the tracer',), - -# ----------------------------------------------------------------------- - Diffusion_Of_Tracers = SIMP( statut='o',typ=bool, -# ----------------------------------------------------------------------- - defaut=True , - fr = 'Prise en compte ou non de la diffusion du traceur passif.', - ang= 'The diffusion of the passive tracer is taken into account or ignored.',), - -# ------------------------------------ - b_Diffusion_Of_Tracers = BLOC(condition = 'Diffusion_Of_Tracers == True', -# ------------------------------------ -# ------------------------------------ - Coefficient_For_Diffusion_Of_Tracers = SIMP( statut='o',typ='R', -# ------------------------------------ - defaut=1e-06 , - fr = 'Fixe la valeur du coefficient de diffusion du traceur. Linfluence de ce parametre sur levolution du traceur dans le temps est importante.', - ang= 'Sets the value of the tracer diffusivity.',), - -# ------------------------------------ - Option_For_The_Diffusion_Of_Tracers = SIMP( statut='o',typ='TXM', -# ------------------------------------ - defaut='Diffusion in the form div( nu grad(T))' , - into=[ 'Diffusion in the form div( nu grad(T))', 'Diffusion in the form 1/h div ( h nu grad(T))',],), - ), # fin b_Diffusion_Of_Tracers - -# ------------------------------------ - Scheme_For_Advection_Of_Tracers = SIMP( statut='o',typ='TXM', -# ------------------------------------ - defaut="CHARACTERISTICS" , - into =("NO ADVECTION", "CHARACTERISTICS", "EXPLICIT + SUPG", "EXPLICIT LEO POSTMA", "EXPLICIT + MURD SCHEME N", - "EXPLICIT + MURD SCHEME PSI", "LEO POSTMA FOR TIDAL FLATS", "N-SCHEME FOR TIDAL FLATS"), - fr = 'Choix du schema de convection pour les traceurs, remplace FORME DE LA CONVECTION', - ang= 'Choice of the advection scheme for the tracers, replaces TYPE OF ADVECTION',), - -# ------------------------------------ - Scheme_Option_For_Advection_Of_Tracers = SIMP( statut='o',typ='TXM', -# ------------------------------------ - defaut='explicit' , - into=['explicit','predictor-corrector for tracers'], - fr = 'Si present remplace et a priorite sur : OPTION POUR LES CARACTERISTIQUES OPTION DE SUPG Si schema PSI : 1=explicite 2=predicteur-correcteur pour les traceurs', - ang= 'If present replaces and has priority over: OPTION FOR CHARACTERISTICS SUPG OPTION IF PSI SCHEME: 1=explicit 2=predictor-corrector for tracers',), - -# ------------------------------------ - Mass_Lumping_On_Tracers = SIMP ( statut='o',typ='R', -# ------------------------------------ - defaut=0, - fr = 'Fixe le taux de mass-lumping effectue sur le traceur.', - ang = 'Sets the amount of mass-lumping that is performed on the tracer.',), - - ), # fin Numerical -# ----------------------------------------------------------------------- - Degradation = FACT( statut='o', -# ----------------------------------------------------------------------- - -# PN Attention, il faut recalculer Law_Of_Tracers_Degradation -# et les coefficients. -# Question : pourquoi 2 et pas selon le nb de tracer -# Est ce que ce $ va sous tracer ? -# ----------------------------------------------------------------------- - Law1_Of_Tracers_Degradation = SIMP( statut='o',typ='TXM', -# ----------------------------------------------------------------------- - into=["NO DEGRADATION","F(T90) LAW"], - defaut="NO DEGRADATION", - fr = 'Prise en compte dune loi de decroissance des traceurs', - ang= 'Take in account a law for tracers decrease',), - -# ----------------------------------------------------------------------- - b_Law1 = BLOC(condition = 'Law1_Of_Tracers_Degradation == "F(T90) LAW"', -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Coefficient_1_For_Law_Of_Tracers_Degradation = SIMP( statut='o',typ='R', -# ----------------------------------------------------------------------- - fr = 'Coefficient 1 de la loi de decroissance des traceurs', - ang= 'Coefficient 1 of law for tracers decrease',), - ),# fin b_Law1 - -# ----------------------------------------------------------------------- - Law2_Of_Tracers_Degradation = SIMP( statut='o',typ='TXM', -# ----------------------------------------------------------------------- - into=["NO DEGRADATION","F(T90) LAW"], - defaut="NO DEGRADATION", - fr = 'Prise en compte dune loi de decroissance des traceurs', - ang= 'Take in account a law for tracers decrease',), - -# ----------------------------------------------------------------------- - b_Law2 = BLOC(condition = 'Law2_Of_Tracers_Degradation == "F(T90) LAW"', -# ----------------------------------------------------------------------- -# ----------------------------------------------------------------------- - Coefficient_2_For_Law_Of_Tracers_Degradation = SIMP( statut='o',typ='R', -# ----------------------------------------------------------------------- - fr = 'Coefficient 2 de la loi de decroissance des traceurs', - ang= 'Coefficient 2 of law for tracers decrease',), - ),# fin b_Law2 - ), # fin Degradation - -)# fin TRACERS - - -Ordre_Des_Commandes = ( 'INITIALIZATION', 'BOUNDARY_CONDITIONS','GENERAL_PARAMETERS', 'PHYSICAL_PARAMETERS', 'NUMERICAL_PARAMETERS', -'TURBULENCE', 'TRACERS', 'PARTICLE_TRANSPORT', 'CONSTRUCTION_WORKS_MODELLING', 'TIDE_PARAMETERS', 'OUTPUT_FILES') diff --git a/OldCodes/ts/a.py b/OldCodes/ts/a.py deleted file mode 100644 index 3e93a25c..00000000 --- a/OldCodes/ts/a.py +++ /dev/null @@ -1,8 +0,0 @@ -liste=l.split() -if len(liste) > 1 : - txt="" - for e in liste: - txt+='_'+e - txt=txt[1:] -else : - txt=l diff --git a/OldCodes/ts/dicoparser.py b/OldCodes/ts/dicoparser.py deleted file mode 100644 index 751673ed..00000000 --- a/OldCodes/ts/dicoparser.py +++ /dev/null @@ -1,160 +0,0 @@ - -import shlex - -DICO_EXT = '.dico' - -class DicoParser: - def __init__( self, theFileName, theStartAttr, theIndexAttr ): - if theFileName=='': - return - if not theFileName.endswith( DICO_EXT ): - theFileName += DICO_EXT - aFile = open( theFileName ) - self.data = self.parse( aFile.read(), theStartAttr, theIndexAttr ) - aFile.close() - - def parse( self, theText, theStartAttr, theIndexAttr ): - aTokenList = self.parse_tokens( theText ) - self.expand_values( aTokenList ) - aList = self.convert_to_tuples( aTokenList ) - return self.convert_to_blocks( aList, theStartAttr, theIndexAttr ) - - def parse_tokens( self, theText ): - theText = theText.replace( "''", "`" ) - aLexer = shlex.shlex( theText ) - aLexer.commenters = '/' - aLexer.quotes = '\'"' - aLexer.wordchars = aLexer.wordchars + '-.' - aTokenList = [] - for aToken in aLexer: - #print aToken - if aToken[0]=="'" and aToken[-1]=="'": - aToken = aToken[1:-1] - elif aToken[0]=='"' and aToken[-1]=='"': - aToken = aToken[1:-1] - if aToken=='`': - aToken = '' - aToken = aToken.replace( "`", "'" ) - aToken = aToken.replace( "\n", "" ) - aToken = self.simplify_spaces( aToken ) - #print aToken - aTokenList.append( aToken ) - return aTokenList - - def simplify_spaces( self, theToken ): - return ' '.join( theToken.split() ) - - def expand_values( self, theList ): - for i in xrange( 0, len( theList ) ): - if '=' in theList[i] and theList[i]!='=': - aTokenList = self.parse_tokens( theList[i] ) - aSubItemsList = self.convert_to_tuples( aTokenList ) - if( len( aSubItemsList ) == 0 ): - print theList[i] - theList[i] = aSubItemsList[0] # we assume that only one '=' in the subitem - - def convert_to_tuples( self, theList ): - aPairsList = [] - aKey = '' - i = 0 - n = len( theList ) - while i 0 and i0: - aData[aBlockKey] = aBlock - aBlockKey = '' - aBlock = {} - elif aKey==theIndexAttr: - #print "__index__" - aBlockKey = aValue - #print aBlockKey - aBlock[aKey] = aValue - #print aData - if len(aBlock)>0: - aData[aBlockKey] = aBlock - return aData - - def are_equal( self, theStrDico, theStrCata ): - return theStrDico == self.to_dico_str( theStrCata ) - - def to_dico_str( self, theStrCata ): - aCata = theStrCata.replace( '_', ' ' ) - aCata = aCata.upper() - return aCata - - def to_cata_str( self, theStrDico ): - aWordsList = theStrDico.split() - aCata = [] - for aWord in aWordsList: - aWord = aWord.lower() - aWord = aWord[0].upper() + aWord[1:] - aCata.append( aWord ) - return ' '.join( aCata ) - - def search_in_block( self, theBlock, theAttrTr ): - #print 'search_in_block:', theAttrTr - return theBlock[theAttrTr] - - def search( self, theIndexText, theAttrTr, theChoiceText, theAttrCh, theAttrChTr ): - anIndexText = self.to_dico_str( theIndexText ) - if not anIndexText in self.data: - return '' - - if theAttrCh=='': - return self.search_in_block( self.data[anIndexText], theAttrTr ) - - aDataCh = self.search_in_block( self.data[anIndexText], theAttrCh ) - aDataChTr = self.search_in_block( self.data[anIndexText], theAttrChTr ) - if isinstance( theChoiceText, basestring ): - aChoiceText = self.to_dico_str( theChoiceText ) - else: - aChoiceText = theChoiceText - #print 'Choice text:', aChoiceText - #print 'Choice data:', aDataCh - #print 'Choice tr data:', aDataChTr - if isinstance( aDataCh, basestring ) and aDataCh==aChoiceText: - return aDataChTr - - for i in xrange( 0, len(aDataCh) ): - if isinstance( aDataCh[i], tuple ): - aKey, aValue = aDataCh[i] - elif isinstance( aDataCh[i], basestring ): - aKey = '' - aValue = aDataCh[i] - #print aKey, aValue - if aValue==aChoiceText: - if isinstance( aDataChTr[i], tuple ): - aKeyTr, aValueTr = aDataChTr[i] - elif isinstance( aDataChTr[i], basestring ): - aKeyTr = '' - aValueTr = aDataChTr[i] - return aValueTr - return '' - - def translate( self, theIndexText, theAttrTr, theChoiceText='', theAttrCh='', theAttrChTr='' ): - aTrText = self.search( theIndexText, theAttrTr, theChoiceText, theAttrCh, theAttrChTr ) - #print aTrText - return self.to_cata_str( aTrText ) diff --git a/OldCodes/ts/main.ts b/OldCodes/ts/main.ts deleted file mode 100644 index f192f4e8..00000000 --- a/OldCodes/ts/main.ts +++ /dev/null @@ -1,1614 +0,0 @@ - - - - - - - Values_Of_Tracers_In_The_Rain - - - Valeurs_Des_Traceurs_Dans_La_Pluie - - - - - Threshold_Depth_For_Receding_Procedure - - - Profondeur_Limite_Pour_Procedure_De_Ressuyage - - - - - Title - - - Titre - - - - - Spatial_Projection_Type - - - Type_De_Projection_Spatiale - - - - - Stochastic_Diffusion_Model - - - Modele_De_Diffusion_Stochastique - - - - - Drogues_File - - - Fichier_Des_Flotteurs - - - - - Origin_Coordinates - - - Coordonnees_De_L'origine - - - - - Velocities_Of_The_Sources_Along_X - - - Vitesses_Des_Sources_Selon_X - - - - - Velocities_Of_The_Sources_Along_Y - - - Vitesses_Des_Sources_Selon_Y - - - - - Finite_Volume_Scheme - - - Schema_En_Volumes_Finis - - - - - Density_Of_Algae - - - Masse_Volumique_Des_Algues - - - - - Geometry_File - - - Fichier_De_Geometrie - - - - - Turbulence_Model - - - Modele_De_Turbulence - - - - - Oil_Spill_Model - - - Modele_De_Nappes_D'hydrocarbures - - - - - Definition_Of_Zones - - - Definition_De_Zones - - - - - Rain_Or_Evaporation - - - Pluie_Ou_Evaporation - - - - - Water_Density - - - Masse_Volumique_De_L'eau - - - - - Sources_File - - - Fichier_Des_Sources - - - - - Friction_Coefficient - - - Coefficient_De_Frottement - - - - - Roughness_Coefficient_Of_Boundaries - - - Coefficient_De_Rugosite_Des_Bords - - - - - Option_For_Tidal_Boundary_Conditions - - - Option_Pour_Les_Conditions_Aux_Limites_De_Maree - - - - - Coefficient_To_Calibrate_Tidal_Velocities - - - Coefficient_De_Calage_Des_Vitesses_De_Courant - - - - - Initial_Time_Set_To_Zero - - - Remise_A_Zero_Du_Temps - - - - - Maximum_Number_Of_Iterations_For_Diffusion_Of_Tracers - - - Maximum_D'iterations_Pour_La_Diffusion_Des_Traceurs - - - - - Binary_Results_File - - - Fichier_De_Resultats_Binaire - - - - - Number_Of_Drogues - - - Nombre_De_Flotteurs - - - - - Air_Pressure - - - Pression_Atmospherique - - - - - Mean_Depth_For_Linearization - - - Profondeur_Moyenne_Pour_La_Linearisation - - - - - Control_Of_Limits - - - Controle_Des_Limites - - - - - Free_Surface_Gradient_Compatibility - - - Compatibilite_Du_Gradient_De_Surface_Libre - - - - - Prescribed_Tracers_Values - - - Valeurs_Imposees_Des_Traceurs - - - - - defaut - - - Saint-venant_Ef - - - - - Velocity_Diffusivity - - - Coefficient_De_Diffusion_Des_Vitesses - - - - - Time_Step - - - Pas_De_Temps - - - - - Validation - - - Validation - - - - - Wind - - - Vent - - - - - Density_Effects - - - Effets_De_Densite - - - - - Implicitation_Coefficient_Of_Tracers - - - Coefficient_D'implicitation_Des_Traceurs - - - - - Formatted_Results_File - - - Fichier_De_Resultats_Formate - - - - - Debugger - - - Debugger - - - - - Equations - - - Equations - - - - - Original_Date_Of_Time - - - Date_De_L'origine_Des_Temps - - - - - Number_Of_Private_Arrays - - - Nombre_De_Tableaux_Prives - - - - - Prescribed_Elevations - - - Cotes_Imposees - - - - - Number_Of_Time_Steps - - - Nombre_De_Pas_De_Temps - - - - - Wind_Velocity_Along_X - - - Vitesse_Du_Vent_Suivant_X - - - - - Variables_To_Be_Printed - - - Variables_A_Imprimer - - - - - Preconditioning - - - Preconditionnement - - - - - Reference_File_Format - - - Format_Du_Fichier_De_Reference - - - - - Type_Of_Sources - - - Type_Des_Sources - - - - - Tidal_Flats - - - Bancs_Decouvrants - - - - - Ascii_Database_For_Tide - - - Base_Ascii_De_Donnees_De_Maree - - - - - Sections_Output_File - - - Fichier_De_Sortie_Des_Sections_De_Controle - - - - - Mean_Temperature - - - Temperature_Moyenne - - - - - Initial_Elevation - - - Cote_Initiale - - - - - Tubes_Data_File - - - Fichier_De_Donnees_Des_Buses - - - - - Boundary_Conditions_File - - - Fichier_Des_Conditions_Aux_Limites - - - - - Breach - - - Breche - - - - - Treatment_Of_The_Linear_System - - - Traitement_Du_Systeme_Lineaire - - - - - Coefficient_Of_Wind_Influence - - - Coefficient_D'influence_Du_Vent - - - - - List_Of_Points - - - Liste_De_Points - - - - - Listing_Printout_Period - - - Periode_Pour_Les_Sorties_Listing - - - - - Initial_Guess_For_H - - - Ordre_Du_Tir_Initial_Pour_H - - - - - Geometry_File_Format - - - Format_Du_Fichier_De_Geometrie - - - - - Coefficient_1_For_Law_Of_Tracers_Degradation - - - Coefficient_1_De_La_Loi_De_Degradation_Des_Traceurs - - - - - Number_Of_Lagrangian_Drifts - - - Nombre_De_Derives_Lagrangiennes - - - - - Weirs_Data_File - - - Fichier_De_Donnees_Des_Seuils - - - - - Rain_Or_Evaporation_In_Mm_Per_Day - - - Pluie_Ou_Evaporation_En_Mm_Par_Jour - - - - - Solver - - - Solveur - - - - - Maximum_Number_Of_Friction_Domains - - - Nombre_Maximum_De_Domaines_De_Frottement - - - - - Elements_Masked_By_User - - - Elements_Masques_Par_L'utilisateur - - - - - Control_Sections - - - Sections_De_Controle - - - - - Depth_In_Friction_Terms - - - Hauteur_Dans_Les_Termes_De_Frottement - - - - - Solver_Accuracy - - - Precision_Du_Solveur - - - - - Wave_Driven_Currents - - - Courants_De_Houle - - - - - Number_Of_Culverts - - - Nombre_De_Siphons - - - - - Liquid_Boundaries_File - - - Fichier_Des_Frontieres_Liquides - - - - - Maximum_Number_Of_Iterations_For_Identification - - - Maximum_D'iterations_Pour_L'identification - - - - - Coefficient_For_Diffusion_Of_Tracers - - - Coefficient_De_Diffusion_Des_Traceurs - - - - - Option_For_The_Diffusion_Of_Velocities - - - Option_Pour_La_Diffusion_Des_Vitesses - - - - - Coefficient_To_Calibrate_Tidal_Range - - - Coefficient_De_Calage_Du_Marnage - - - - - Binary_Data_File_1 - - - Fichier_De_Donnees_Binaire_1 - - - - - Binary_Data_File_2 - - - Fichier_De_Donnees_Binaire_2 - - - - - Minor_Constituents_Inference - - - Interpolation_De_Composantes_Mineures - - - - - Implicitation_For_Velocity - - - Implicitation_Pour_La_Vitesse - - - - - Continuity_Correction - - - Correction_De_Continuite - - - - - Original_Hour_Of_Time - - - Heure_De_L'origine_Des_Temps - - - - - Law_Of_Friction_On_Lateral_Boundaries - - - Loi_De_Frottement_Sur_Les_Parois_Laterales - - - - - Propagation - - - Propagation - - - - - Solver_For_Diffusion_Of_Tracers - - - Solveur_Pour_La_Diffusion_Des_Traceurs - - - - - Discretizations_In_Space - - - Discretisations_En_Espace - - - - - Solver_Option - - - Option_Du_Solveur - - - - - Advection_Of_H - - - Convection_De_H - - - - - Output_Of_Initial_Conditions - - - Sortie_Des_Conditions_Initiales - - - - - Record_Number_For_Restart - - - Enregistrement_Pour_Suite_De_Calcul - - - - - Accuracy_For_Diffusion_Of_Tracers - - - Precision_Pour_La_Diffusion_Des_Traceurs - - - - - Initial_Guess_For_U - - - Ordre_Du_Tir_Initial_Pour_U - - - - - Advection_Of_K_And_Epsilon - - - Convection_De_K_Et_Epsilon - - - - - Identification_Method - - - Methode_D'identification - - - - - Names_Of_Points - - - Noms_Des_Points - - - - - Zone_Number_In_Geographic_System - - - Numero_De_Fuseau_Ou_Projection_Dans_Le_Systeme_Geographique - - - - - Matrix_Storage - - - Stockage_Des_Matrices - - - - - Algae_Type - - - Type_Des_Algues - - - - - Thickness_Of_Algae - - - Epaisseur_Des_Algues - - - - - Newmark_Time_Integration_Coefficient - - - Coefficient_D'integration_En_Temps_De_Newmark - - - - - Friction_Data_File - - - Fichier_De_Donnees_Pour_Le_Frottement - - - - - Implicitation_For_Diffusion_Of_Velocity - - - Implicitation_Pour_La_Diffusion_Des_Vitesses - - - - - Limit_Values - - - Valeurs_Limites - - - - - Advection - - - Convection - - - - - Binary_Database_1_For_Tide - - - Base_Binaire_1_De_Donnees_De_Maree - - - - - Results_File - - - Fichier_Des_Resultats - - - - - Algae_Transport_Model - - - Modele_De_Transport_Des_Algues - - - - - Treatment_Of_Negative_Depths - - - Traitement_Des_Hauteurs_Negatives - - - - - Option_For_The_Diffusion_Of_Tracers - - - Option_Pour_La_Diffusion_Des_Traceurs - - - - - Ordinates_Of_Sources - - - Ordonnees_Des_Sources - - - - - Coriolis_Coefficient - - - Coefficient_De_Coriolis - - - - - Water_Discharge_Of_Sources - - - Debits_Des_Sources - - - - - Advection_Of_U_And_V - - - Convection_De_U_Et_V - - - - - Variables_For_Graphic_Printouts - - - Variables_Pour_Les_Sorties_Graphiques - - - - - Geographic_System - - - Systeme_Geographique - - - - - Coriolis - - - Coriolis - - - - - Desired_Courant_Number - - - Nombre_De_Courant_Souhaite - - - - - Latitude_Of_Origin_Point - - - Latitude_Du_Point_Origine - - - - - Time_Range_For_Fourier_Analysis - - - Bornes_En_Temps_Pour_L'analyse_De_Fourier - - - - - Graphic_Printout_Period - - - Periode_Pour_Les_Sorties_Graphiques - - - - - Tide_Generating_Force - - - Force_Generatrice_De_La_Maree - - - - - Preconditioning_For_Diffusion_Of_Tracers - - - Preconditionnement_Pour_La_Diffusion_Des_Traceurs - - - - - Number_Of_Tubes - - - Nombre_De_Buses - - - - - Vertical_Structures - - - Structures_Verticales - - - - - Stop_If_A_Steady_State_Is_Reached - - - Arret_Si_Un_Etat_Permanent_Est_Atteint - - - - - Number_Of_Weirs - - - Nombre_De_Seuils - - - - - Listing_Printout - - - Sortie_Listing - - - - - Previous_Computation_File - - - Fichier_Du_Calcul_Precedent - - - - - Fortran_File - - - Fichier_Fortran - - - - - Sections_Input_File - - - Fichier_Des_Sections_De_Controle - - - - - Binary_Database_2_For_Tide - - - Base_Binaire_2_De_Donnees_De_Maree - - - - - Results_File_Format - - - Format_Du_Fichier_Des_Resultats - - - - - Accuracy_Of_K - - - Precision_Sur_K - - - - - Tidal_Model_File - - - Fichier_Du_Modele_De_Maree - - - - - Fourier_Analysis_Periods - - - Periodes_D'analyse_De_Fourier - - - - - H_Clipping - - - Clipping_De_H - - - - - Tolerances_For_Identification - - - Precisions_Pour_L'identification - - - - - Previous_Computation_File_Format - - - Format_Du_Fichier_Du_Calcul_Precedent - - - - - Prescribed_Flowrates - - - Debits_Imposes - - - - - Bottom_Topography_File - - - Fichier_Des_Fonds - - - - - Implicitation_For_Depth - - - Implicitation_Pour_La_Hauteur - - - - - Cost_Function - - - Fonction_Cout - - - - - Diffusion_Of_Tracers - - - Diffusion_Des_Traceurs - - - - - Formatted_Data_File_1 - - - Fichier_De_Donnees_Formate_1 - - - - - Formatted_Data_File_2 - - - Fichier_De_Donnees_Formate_2 - - - - - Computation_Continued - - - Suite_De_Calcul - - - - - Breaches_Data_File - - - Fichier_De_Donnees_Des_Breches - - - - - Diffusion_Of_Velocity - - - Diffusion_Des_Vitesses - - - - - Type_Of_Advection - - - Forme_De_La_Convection - - - - - Solver_Option_For_Tracers_Diffusion - - - Option_Du_Solveur_Pour_La_Diffusion_Des_Traceurs - - - - - Advection_Of_Tracers - - - Convection_Des_Traceurs - - - - - Printout_Period_For_Drogues - - - Periode_Pour_Les_Sorties_De_Flotteurs - - - - - Option_For_The_Treatment_Of_Tidal_Flats - - - Option_De_Traitement_Des_Bancs_Decouvrants - - - - - Physical_Characteristics_Of_The_Tsunami - - - Parametres_Physiques_Du_Tsunami - - - - - Maximum_Number_Of_Iterations_For_K_And_Epsilon - - - Maximum_D'iterations_Pour_K_Et_Epsilon - - - - - Tidal_Data_Base - - - Base_De_Donnees_De_Maree - - - - - Maximum_Number_Of_Iterations_For_Solver - - - Maximum_D'iterations_Pour_Le_Solveur - - - - - Number_Of_Tracers - - - Nombre_De_Traceurs - - - - - Threshold_Depth_For_Wind - - - Profondeur_Limite_Pour_Le_Vent - - - - - Gravity_Acceleration - - - Acceleration_De_La_Pesanteur - - - - - Option_For_Characteristics - - - Option_Pour_Les_Caracteristiques - - - - - Spacing_Of_Roughness_Elements - - - Espacement_Des_Elements_De_Frottement - - - - - Parallel_Processors - - - Processeurs_Paralleles - - - - - Harmonic_Constants_File - - - Fichier_Des_Constantes_Harmoniques - - - - - Spherical_Coordinates - - - Coordonnees_Spheriques - - - - - Parameter_Estimation - - - Estimation_De_Parametre - - - - - Linearized_Propagation - - - Propagation_Linearisee - - - - - Accuracy_Of_Epsilon - - - Precision_Sur_Epsilon - - - - - Diameter_Of_Roughness_Elements - - - Diametre_Des_Elements_De_Frottement - - - - - Number_Of_First_Time_Step_For_Graphic_Printouts - - - Numero_Du_Premier_Pas_De_Temps_Pour_Les_Sorties_Graphiques - - - - - Threshold_For_Negative_Depths - - - Seuil_Pour_Les_Profondeurs_Negatives - - - - - Coefficient_To_Calibrate_Sea_Level - - - Coefficient_De_Calage_Du_Niveau_De_Mer - - - - - Wind_Velocity_Along_Y - - - Vitesse_Du_Vent_Suivant_Y - - - - - Information_About_Solver - - - Informations_Sur_Le_Solveur - - - - - Initial_Conditions - - - Conditions_Initiales - - - - - Culvert_Data_File - - - Fichier_De_Donnees_Des_Siphons - - - - - Maximum_Number_Of_Iterations_For_Advection_Schemes - - - Maximum_D'iterations_Pour_Les_Schemas_De_Convection - - - - - Longitude_Of_Origin_Point - - - Longitude_Du_Point_Origine - - - - - Law_Of_Bottom_Friction - - - Loi_De_Frottement_Sur_Le_Fond - - - - - Option_For_Tsunami_Generation - - - Option_Pour_La_Generation_De_Tsunami - - - - - Type_Of_Weirs - - - Type_Des_Seuils - - - - - Record_Number_In_Wave_File - - - Numero_De_L'enregistrement_Dans_Le_Fichier_De_Houle - - - - - Abscissae_Of_Sources - - - Abscisses_Des_Sources - - - - - Values_Of_The_Tracers_At_The_Sources - - - Valeurs_Des_Traceurs_Des_Sources - - - - - Treatment_Of_Fluxes_At_The_Boundaries - - - Traitement_Des_Flux_Aux_Frontieres - - - - - Printing_Cumulated_Flowrates - - - Impression_Du_Cumul_Des_Flux - - - - - Bottom_Smoothings - - - Lissages_Du_Fond - - - - - Initial_Depth - - - Hauteur_Initiale - - - - - Minimum_Value_Of_Depth - - - Valeur_Minimum_De_H - - - - - Reference_File - - - Fichier_De_Reference - - - - - Turbulence_Model_For_Solid_Boundaries - - - Regime_De_Turbulence_Pour_Les_Parois - - - - - Duration - - - Duree_Du_Calcul - - - - - Stop_Criteria - - - Criteres_D'arret - - - - - Prescribed_Velocities - - - Vitesses_Imposees - - - - - Initial_Values_Of_Tracers - - - Valeurs_Initiales_Des_Traceurs - - - - - Compatible_Computation_Of_Fluxes - - - Calcul_Compatible_Des_Flux - - - - diff --git a/OldCodes/ts/prefs.py b/OldCodes/ts/prefs.py deleted file mode 100644 index 87710926..00000000 --- a/OldCodes/ts/prefs.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="TELEMAC" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) -if os.path.join(os.path.dirname(os.path.abspath(__file__)),'..') not in sys.path: - sys.path.insert(0,os.path.join(os.path.dirname(os.path.abspath(__file__)),'..')) diff --git a/OldCodes/ts/telemac2dv6p3.dico b/OldCodes/ts/telemac2dv6p3.dico deleted file mode 100644 index 578f26b7..00000000 --- a/OldCodes/ts/telemac2dv6p3.dico +++ /dev/null @@ -1,5687 +0,0 @@ -&DYN -/ -/!RUBRIQUE 'ENTREES-SORTIES, FICHIERS' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'ENTREES-SORTIES, GENERALITES' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'PARAMETRES NUMERIQUES' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'PARAMETRES NUMERIQUES, SOLVEUR' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'EQUATIONS' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'EQUATIONS, CONDITIONS LIMITES' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'EQUATIONS, CONDITIONS INITIALES' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'EQUATIONS, SOURCES' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/!RUBRIQUE 'CONSTANTES PHYSIQUES' -/!BACKGROUND 'LightGray' -/!FOREGROUND 'Brown' -/---SYSTEME-TELEMAC-V6P3------------------------------TELEMAC-2D------------- -/ -/Signification des differents mode d'acquisition/restitution -/des fichiers vis a vis du parallelisme : -/ -/ - "SCAL" : -/ Meme fichier pour tous les processeurs lu par tous. -/ Seule la version du maitre est consideree apres calcul. -/ -/ - "SELAFIN" : -/ Le fichier est "decompose/regroupe en sous-domaines" avec les outils -/ "partel/gretel" (dans le mode par defaut "parallelisme automatique") -/ Chaque processeur dispose d'un fichier prive. -/ - "SELAFIN-GEOM" : -/ idem SELAFIN mais pour le fichier de geometrie ='FICHIER DE GEOMETRIE' -/ (usage par le regroupeur GRETEL en parallelisme) -/ -/ - "PARAL" : -/ Le fichier est duplique avant calcul ("LIT") pour chaque processeur -/ (avec une extension numerique), sauf s'il pre-existe avec cette -/ extension numerique : il est alors utilise (copie). -/ En mode "non automatique" : les fichiers lus doivent pre-exister avec -/ leur extension numerique. -/ S'il s'agit d'un fichier resultat ("ECR"), le fichier est restitue -/ avec son extension numerique (fichier specifique a chaque processeur). -/ -/ - "CONLIM" : -/ Cette valeur designe le fichier des "conditions aux limites" -/ (utilise par le decoupeur "partel"). -/ -/ - "SECTION" : -/ Sections input file, to be treated in parallel by partel in -/ a similar way as CONLIM !jaj #### -/ -/---SYSTEME-TELEMAC-V6P3------------------------DeltaCAD-/-Septembre-2003---- - -NOM = 'FICHIER DE GEOMETRIE' -NOM1 = 'GEOMETRY FILE' -TYPE = CARACTERE -INDEX = 6 -MNEMO = 'T2D_FILES(T2DGEO)%NAME' -TAILLE = 0 -SUBMIT = 'T2DGEO-READ-01;T2DGEO;OBLIG;BIN;LIT;SELAFIN-GEOM' -/DEFAUT = ' ' -/DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -COMPORT = -'Foreground ("ENTREES-SORTIES, FICHIERS*NOMS") -IS VALEUR (red)' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -AIDE = 'Nom du fichier contenant le maillage du calcul a realiser.' -AIDE1 = 'Name of the file containing the mesh. This file may also -contain the topography and the friction coefficients.' - -NOM = 'CONTROLE DES LIMITES' -NOM1 = 'CONTROL OF LIMITS' -TYPE = LOGIQUE -INDEX = 23 -MNEMO = 'VERLIM' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CONTROLE' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'CONTROL' -COMPORT = 'Affichage ("VALEURS LIMITES") IS VALEUR ()' -NIVEAU = 2 -AIDE = 'UTILISER AVEC LE MOT-CLE : VALEURS LIMITES, LE PROGRAMME -S''ARRETE SI LES LIMITES SUR U,V,H OU T SONT DEPASSEES' -AIDE1 = 'USE WITH THE KEY-WORD : LIMIT VALUES, THE PROGRAM IS STOPPED IF -THE LIMITS ON U,V,H, OR T ARE TRESPASSED' - -NOM = 'VALEURS LIMITES' -NOM1 = 'LIMIT VALUES' -TYPE = REEL -INDEX = 15 -MNEMO = '' -TAILLE = 8 -DEFAUT = -1000.;9000.;-1000.;1000.;-1000.;1000.;-1000.;1000. -DEFAUT1 = -1000.;9000.;-1000.;1000.;-1000.;1000.;-1000.;1000. -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CONTROLE' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'CONTROL' -COMPORT = -'Foreground ("ENTREES-SORTIES, GENERALITES*CONTROLE") -IS VALEUR (red)' -NIVEAU = 2 -AIDE = 'Utilise avec le mot-cle CONTROLE DES LIMITES - valeurs mini et maxi acceptables pour H,U,V et T dans l''ordre - suivant : min(H) max(H) min(U) max(U) - min(V) max(V) min(T) max(T)' -AIDE1 = 'To be used with the key-word CONTROL OF LIMITS - min and max acceptable values for H,U,V et T in the following - order : min(H) max(H) min(U) max(U) - min(V) max(V) min(T) max(T)' - -NOM = 'PERIODE POUR LES SORTIES GRAPHIQUES' -NOM1 = 'GRAPHIC PRINTOUT PERIOD' -TYPE = ENTIER -INDEX = 1 -MNEMO = 'LEOPRD' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -COMPORT = -'Foreground ("ENTREES-SORTIES, GRAPHIQUES ET LISTING") -IS VALEUR (red)' -NIVEAU = 1 -AIDE = 'Determine la periode en nombre de pas de temps d''impression -des ''VARIABLES POUR LES SORTIES GRAPHIQUES'' (voir ce mot-cle) -dans le FICHIER DES RESULTATS.' -AIDE1 = 'Determines, in number of time steps, the printout period for -the VARIABLES FOR GRAPHIC PRINTOUTS in the RESULTS FILE.' - -NOM = 'PERIODE DE SORTIE LISTING' -NOM1 = 'LISTING PRINTOUT PERIOD' -TYPE = ENTIER -INDEX = 2 -MNEMO = 'LISPRD' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 1 -AIDE = 'Determine la periode en nombre de pas de temps d''impression -des ''VARIABLES A IMPRIMER'' (voir ce mot-cle) Pour la mise au point, -il faut savoir que la sortie des resultats est effectuee -systematiquement sur le fichier de retour d''execution du code -(actuellement accessible par le menu 3.f de SPF sur IBM, et dans -le fichier !CAS.SORTIE sur station de travail)' -AIDE1 = 'Determines, in number of time steps, the printout period of -the VARIABLES TO BE PRINTED -The results are systematically printed out on the listing file -(file CAS.SORTIE at the workstation).' - -NOM = 'NOMBRE DE PAS DE TEMPS' -NOM1 = 'NUMBER OF TIME STEPS' -TYPE = ENTIER -INDEX = 3 -MNEMO = 'NIT' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -COMPORT = -'Foreground ("PARAMETRES NUMERIQUES*DUREE DU CALCUL") -IS VALEUR (blue)' -NIVEAU = 1 -AIDE = 'Definit le nombre de pas de temps effectues lors de -l''execution du code.' -AIDE1 = 'Specifies the number of time steps performed when running -the code.' - -NOM = 'ENTIER LIBRE 1' -NOM1 = 'FREE INTEGER 1' -TYPE = ENTIER -INDEX = 4 -MNEMO = 'ICONV' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = -13 -AIDE = 'Non active pour l''instant' -AIDE1 = 'So far not implemented' - -NOM = 'FORME DE LA CONVECTION' -NOM1 = 'TYPE OF ADVECTION' -TYPE = ENTIER -INDEX = 5 -MNEMO = 'ICONVF' -TAILLE = 4 -DEFAUT = 1;5;1;1 -DEFAUT1 = 1;5;1;1 -CHOIX = -'1="CARACTERISTIQUES"'; -'2="SUPG"'; -'3="SCHEMA N CONSERVATIF"' ; -'4="SCHEMA N CONSERVATIF"' ; -'5="SCHEMA PSI CONSERVATIF"'; -'6="SCHEMA PSI NON CONSERVATIF"'; -'7="SCHEMA N IMPLICITE NON CONSERVATIF"'; -'13="SCHEMA N PAR SEGMENTS"'; -'14="SCHEMA N PAR SEGMENTS"' -CHOIX1 = -'1="CHARACTERISTICS"'; -'2="SUPG"'; -'3="CONSERVATIVE N-SCHEME"'; -'4="CONSERVATIVE N-SCHEME"'; -'5="CONSERVATIVE PSI-SCHEME"'; -'6="NON CONSERVATIVE PSI SCHEME"'; -'7="IMPLICIT NON CONSERVATIVE N SCHEME"'; -'13="EDGE-BASED N-SCHEME"'; -'14="EDGE-BASED N-SCHEME"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'FORME DE LA CONVECTION' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'TYPE OF ADVECTION' -COMPORT = -'Foreground ("PARAMETRES NUMERIQUES*FORME DE LA CONVECTION") -IS VALEUR (blue)' -NIVEAU = 1 -AIDE = 'Choix du schema de convection pour chaque variable -ces coefficients sont respectivement appliques a -1) U et V 2) H 3) T 4) K ET EPSILON -1 : caracteristiques sur h -2 : SUPG -3 : Schema N conservatif -4 : Schema N conservatif -5 : Schema PSI conservatif -6 : Schema PSI non conservatif -7 : schema N implicite non conservatif -13 : Schema N par segment -14 : Schema N par segment -Second integer must be 5' -AIDE1 = 'Choice of advection schemes for every variable -These coefficients are applied respectively to -1) U et V 2) H 3) T 4) K and EPSILON -1: characteristics -2: SUPG -3: Conservative N-scheme -4: Conservative N-scheme -5: Conservative PSI-scheme -6 : Non conservative PSI scheme -7 : Implicit non conservative N scheme -13 : Edge-based N-scheme -14 : Edge-based N-scheme -Second integer must be 5' - -NOM = 'PRECONDITIONNEMENT' -NOM1 = 'PRECONDITIONING' -TYPE = ENTIER -INDEX = 14 -MNEMO = 'IPRECO' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -CHOIX = '2="diagonal"'; '0="aucun"'; -'3="diagonal condensee"'; '7="crout"';'11="gauss-seidel"'; -'14="diagonal et crout"'; '21="diagonal condense et crout"' -CHOIX1 = '2="diagonal"'; '0="no preconditioning"'; -'3="diagonal condensee"'; '7="crout"';'11="gauss-seidel"'; -'14="diagonal and crout"'; '21="diagonal condensed and crout"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -COMPORT = -'Foreground ("PARAMETRES NUMERIQUES*GENERAL") -IS VALEUR (blue)' -NIVEAU = 2 -AIDE = 'Permet de preconditionner le systeme de l''etape de propagation -afin d''accelerer la convergence lors de sa resolution. - - 0 : pas de preconditionnement; - - 2 : preconditionnement diagonal. - - 3 : preconditionnement diagonal-bloc - - 7 : preconditionnement de Crout par element ou segment - -11 : preconditionnement de Gauss-Seidel par element ou segment -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres) -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.' -AIDE1 = 'Choice of the preconditioning in the propagation step linear -system that the convergence is speeded up when it is being solved. - 0: no preconditioning - 2: diagonal preconditioning - 3: diagonal preconditioning with the condensed matrix - 7: Crout''s preconditioning per element or segment -11: Gauss-Seidel''s preconditioning per element or segment -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be made.' - -NOM = 'MAXIMUM D''ITERATIONS POUR LE SOLVEUR' -NOM1 = 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER' -TYPE = ENTIER -INDEX = 10 -MNEMO = 'NITMAX' -TAILLE = 0 -DEFAUT = 100 -DEFAUT1 = 100 -RUBRIQUE = 'PARAMETRES NUMERIQUES, SOLVEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, SOLVER' -COMPORT = -'Foreground ("PARAMETRES NUMERIQUES, SOLVEUR") -IS VALEUR (blue)' -NIVEAU = 2 -AIDE = 'Les algorithmes utilises pour la resolution de l''etape de -propagation etant iteratifs; il est necessaire de limiter le nombre -d''iterations autorisees. -Remarque : un maximum de 40 iterations par pas de temps semble -raisonnable.' -AIDE1 = 'Since the algorithms used for solving the propagation step are -iterative, the allowed number of iterations should be limited. -NOTE: a maximum number of 40 iterations per time step seems to be -reasonable.' - -NOM = 'ORDRE DU TIR INITIAL POUR H' -NOM1 = 'INITIAL GUESS FOR H' -TYPE = ENTIER -INDEX = 15 -MNEMO = 'IORDRH' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1=precedent'; -'0=zero'; -'2=extrapolation' -CHOIX1 = '1=previous'; -'0=zero'; -'2=extrapolation' -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -COMPORT = -'Foreground ("PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR") -IS VALEUR (blue)' -NIVEAU = 2 -AIDE = 'Tir initial du solveur de l''etape de propagation. -Offre la possibilite de modifier la valeur i -nitiale de DH, -accroissement de H, a chaque iteration, -dans l''etape de propagation en utilisant les valeurs -finales de cette variable aux pas de temps precedents. Ceci peut -permettre d''accelerer la vitesse de convergence lors de la resolution -du systeme. Trois possibilites sont offertes : - 0 : DH = 0. - 1 : DH = DHn (valeur finale de DH au pas de temps precedent), - 2 : DH = 2DHn - DHn-1 (extrapolation).' -AIDE1 = 'Initial guess for the solver in the propagation step. -Makes it possible to modify the initial value of C, upon each -iteration in the propagation step, by using the ultimate values this -variable had in the earlier time steps. Thus, the convergence can be -speeded up when the system is being solved. 3 options are available: - 0: DH = 0 - 1: DH = DHn (ultimate DH value in the next previous time step) - 2: DH = 2DHn - DHn-1 (extrapolation)' - -NOM = 'MAXIMUM D''ITERATIONS POUR K ET EPSILON' -NOM1 = 'MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON' -TYPE = ENTIER -INDEX = 13 -MNEMO = 'NKEMAX' -TAILLE = 0 -DEFAUT = 50 -DEFAUT1 = 50 -RUBRIQUE = 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, K-EPSILON MODEL' -COMPORT = -'Foreground ("PARAMETRES NUMERIQUES, MODELE K-EPSILON") -IS VALEUR (blue)' -NIVEAU = 2 -AIDE = 'Fixe le nombre maximum d''iterations accepte lors de la -resolution du systeme diffusion-termes sources du modele k-epsilon.' -AIDE1 = 'Sets the maximum number of iterations that are acceptable when -solving the diffusion source-terms step of the k-epsilon model.' - -NOM = 'LOI DE FROTTEMENT SUR LE FOND' -NOM1 = 'LAW OF BOTTOM FRICTION' -TYPE = ENTIER -INDEX = 8 -MNEMO = 'KFROT' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -CHOIX = '0="PAS DE FROTTEMENT"'; -'1="HAALAND"'; -'2="CHEZY"'; -'3="STRICKLER"'; -'4="MANNING"'; -'5="NIKURADSE"' -CHOIX1 = '0="NO FRICTION"'; -'1="HAALAND"'; -'2="CHEZY"'; -'3="STRICKLER"'; -'4="MANNING"'; -'5="NIKURADSE"' -RUBRIQUE = 'EQUATIONS';'FROTTEMENT ET LISSAGE' -RUBRIQUE1 = 'EQUATIONS';'FRICTION AND SMOOTHINGS' -COMPORT = -'Foreground ("EQUATIONS*FROTTEMENT ET LISSAGE") -IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'selectionne le type de formulation utilisee pour le calcul -du frottement sur le fond. -Les lois possibles sont les suivantes (cf. -Note de principe) : - 0 : pas de frottement sur le fond; -1 : formule de Haaland -2 : formule de Chezy -3 : formule de STRICKLER -4 : formule de MANNING -5 : formule de NIKURADSE ' -AIDE1 = 'Selects the type of formulation used for the bottom friction. -The possible laws are as follows (refer to the Principle note): -0: no friction against bottom, -1: Haaland''s formula -2: CHEZY''s formula -3: STRICKLER''s formula -4: MANNING''s formula -5: NIKURADSE''s formula ' - -NOM = 'MAXIMUM D''ITERATIONS POUR LA DIFFUSION DES TRACEURS' -NOM1 = 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS' -TYPE = ENTIER -INDEX = 9 -MNEMO = 'NITDIF' -TAILLE = 0 -DEFAUT = 60 -DEFAUT1 = 60 -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -COMPORT = -'Foreground ("EQUATIONS*TRACEUR*OPTIONS TRACEUR") IS VALEUR (brown)' -NIVEAU = 2 -AIDE = 'Limite le nombre d''iterations du solveur a chaque pas -de temps pour le calcul de la diffusion du traceur.' -AIDE1 = 'Limits the number of solver iterations at each time step for -the diffusion of tracer.' - -NOM = 'SOLVEUR POUR LA DIFFUSION DES TRACEURS' -NOM1 = 'SOLVER FOR DIFFUSION OF TRACERS' -TYPE = ENTIER -INDEX = 11 -MNEMO = 'SLVTRA%SLV' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="gradient conjuge"'; -'2="residu conjuge"'; -'3="gradient conjuge sur equation normale"'; -'4="erreur minimale"'; -'5="gradient conjuge carre"'; -'6="cgstab"'; -'7="gmres (voir ausi option du solveur)"'; -'8="direct"' -CHOIX1 = '1="conjugate gradient"'; -'2="conjugate residual"'; -'3="conjugate gradient on a normal equation"'; -'4="minimum error"'; -'5="squared conjugate gradient"'; -'6="cgstab"'; -'7="gmres (see option for the solver for tracer diffusion)"'; -'8="direct"' -RUBRIQUE = 'PARAMETRES NUMERIQUES, SOLVEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, SOLVER' -NIVEAU = 2 -AIDE = '1 : gradient conjugue 2 : residu conjugue 3 : gradient conjugue -sur equation normale 4 : erreur minimale 5 : gradient conjugue carre' -AIDE1 = '1 : conjugate gradient 2 : conjugate gradient -3 : conjugate gradient on a normal equation 4 : minimum error -5 : squared conjugate gradient 6 : cgstab -7 : gmres (see option for the solver for tracer diffusion) -8 : direct' - -NOM = 'OPTION DE PROPAGATION' -NOM1 = 'PROPAGATION OPTION' -TYPE = ENTIER -INDEX = 12 -MNEMO = 'OPTPRO' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -RUBRIQUE = 'EQUATIONS';'PROPAGATION' -RUBRIQUE1 = 'EQUATIONS';'PROPAGATION' -COMPORT = -'Foreground ("EQUATIONS*PROPAGATION") IS VALEUR (brown)' -NIVEAU = -13 -AIDE = 'Non active pour l''instant.' -AIDE1 = 'Not yet implemented.' - -NOM = 'ENTIER LIBRE 17' -NOM1 = 'FREE INTEGER 17' -TYPE = ENTIER -INDEX = 17 -MNEMO = 'STDGEO' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -NIVEAU = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -AIDE = ' ' -AIDE1 = ' ' - -NOM = 'ENTIER LIBRE 18' -NOM1 = 'FREE INTEGER 18' -TYPE = ENTIER -INDEX = 18 -MNEMO = 'STDRES' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -NIVEAU = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -AIDE = ' ' -AIDE1 = ' ' - -NOM = 'SOLVEUR' -NOM1 = 'SOLVER' -TYPE = ENTIER -INDEX = 19 -MNEMO = 'ISOLVE' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -CHOIX = '3="equation normale"'; -'1="gradient conjuge"'; -'2="residu conjuge"'; -'4="erreur minimale"'; -'6="cgstab"'; -'7="gmres"'; -'8="direct"' -CHOIX1 = '3="conjugate gradient on a normal equation"'; -'1="conjugate gradient"'; -'2="conjugate residual"'; -'4="minimum error"'; -'6="cgstab"'; -'7="gmres"'; -'8="direct"' -RUBRIQUE = 'PARAMETRES NUMERIQUES, SOLVEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, SOLVER' -NIVEAU = 2 -AIDE = 'Permet de choisir le solveur utilise pour la resolution de -l''etape de propagation. Toutes les methodes proposees actuellement -s''apparentent au Gradient Conjugue. Ce sont : - 1 : gradient conjugue - 2 : residu conjugue - 3 : gradient conjugue sur equation normale - 4 : erreur minimale - 5 : gradient conjugue carre (non programme) - 6 : gradient conjugue carre stabilise (cgstab) - 7 : gmres (voir aussi option du solveur) - 8 : direct' -AIDE1 = 'Makes it possible to select the solver used for solving the -propagation step. All the currently available methods are variations -of the Conjugate Gradient method. They are as follows: -1: conjugate gradient -2: conjugate residual -3: conjugate gradient on a normal equation -4: minimum error -5: conjugate gradient squared (not implemented) -6: conjugate gradient squared stabilised (cgstab) -7: gmres (see option for solver) -8: direct' - -NOM = 'ENTIER LIBRE 20' -NOM1 = 'FREE INTEGER 20' -TYPE = ENTIER -INDEX = 20 -MNEMO = 'STDPRE' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -NIVEAU = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -AIDE = ' ' -AIDE1 = ' ' - -NOM = 'NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES' -NOM1 = 'NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES' -TYPE = ENTIER -INDEX = 21 -MNEMO = 'NSOUSI' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Permet de reactualiser, pour un meme pas de temps, les champs -convecteur et propagateur au cours de plusieurs sous-iterations. A la -premiere sous-iteration, ces champs sont donnes par C et le champ de -vitesses au pas de temps precedent. Aux iterations suivantes, ils sont -pris egaux au champ de vitesse obtenu a la fin de la sous-iteration -precedente. Cette technique permet d''ameliorer la prise en compte des -non linearites.' -AIDE1 = 'Used for updating, within one time step, the advection and -propagation field. -upon the first sub-iteration, these fields are given by -C and the velocity field in the previous time step. At subsequent -iterations, the results of the previous sub-iteration is used to -update the advection and propagation field. -The non-linearities can be taken into account through this technique.' - -NOM = 'NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES' -NOM1 = 'NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS' -TYPE = ENTIER -INDEX = 22 -MNEMO = 'PTINIG' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 2 -AIDE = 'Determine le nombre de pas de temps a partir duquel debute -l''ecriture des resultats dans le ''FICHIER DES RESULTATS''.' -AIDE1 = 'Determines the number of time steps after which the results -are first written into the RESULTS FILE.' - -NOM = 'NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING' -NOM1 = 'NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS' -TYPE = ENTIER -INDEX = 23 -MNEMO = 'PTINIL' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 2 -AIDE = 'Determine le nombre de pas de temps a partir duquel debute -l''ecriture des resultats dans le listing.' -AIDE1 = 'Determines the number of time steps after which the results -are first written into the listing.' - -NOM = 'PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS' -NOM1 = 'PRECONDITIONING FOR DIFFUSION OF TRACERS' -TYPE = ENTIER -INDEX = 24 -MNEMO = 'IPREDI' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -CHOIX = '2="diagonal"'; '0="aucun"'; -'3="diagonal condensee"'; '7="crout"'; -'14="diagonal et crout"'; '21="diagonal condense et crout"' -CHOIX1 = '2="diagonal"'; '0="no preconditioning "'; -'3="diagonal condensed"'; '7="crout"'; -'14="diagonal and crout"'; '21="diagonal condensed and crout"' -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 2 -AIDE = 'Permet de preconditionner le systeme relatif au traceur. -Memes definition et possibilites que pour le mot-cle PRECONDITIONNEMENT. - 0 : pas de preconditionnement; - 2 : preconditionnement diagonal. - 3 : preconditionnement diagonal avec la matrice conde' -AIDE1 = 'Preconditioning of the linear system in the tracer diffusion -step. -Same definition and possibilities as for the keyword PRECONDITIONING - 0: no preconditioning - 2: diagonal preconditioning - 3: diagonal preconditioning with the condensed matrix - 7: Crout''s preconditioning per element.' - -NOM = 'SOLVEUR POUR LE MODELE K-EPSILON' -NOM1 = 'SOLVER FOR K-EPSILON MODEL' -TYPE = ENTIER -INDEX = 25 -MNEMO = 'ISOLKE' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="gradient conjugue"'; -'2="residu conjuge"'; -'3="gradient conjugue sur equation normal"'; -'4="erreur minimale"'; -'5="gradient conjugue carre"'; -'6="gradient conjugue carre stabilise (cgstab)"'; -'7="gmres (voir aussi option du solveur pour le modele k-epsilon"'; -'8="direct"' -CHOIX1 = '1="conjugate gradient"'; -'2="conjugate residuals"'; -'3="conjugate gradient on normal equation"'; -'4="minimum error"'; -'5="conjugate gradient squared"'; -'6="conjugate gradient squared stabilised (cgstab)"'; -'7="gmres (see option for the solver for k-epsilon model)"'; -'8="direct"' -RUBRIQUE = 'EQUATIONS';'MODELE DE TURBULENCE';'MODELE K-EPSILON' -RUBRIQUE1 = 'EQUATIONS';'TURBULENCE MODEL';'K-EPSILON MODEL' -COMPORT = -'Foreground ("EQUATIONS*MODELE DE TURBULENCE*MODELE K-EPSILON") -IS VALEUR (brown)' -NIVEAU = 2 -AIDE = 'Permet de choisir le solveur utilise pour la resolution -du systeme du modele k-epsilon : -1 : gradient conjugue -2 : residu conjugue -3 : gradient conjugue sur equation normale -4 : erreur minimale -5 : gradient conjugue carre -6 : gradient conjugue carre stabilise (cgstab) -7 : gmres (voir aussi option du solveur pour le modele k-epsilon) -8 : direct' -AIDE1 = 'Makes it possible to select the solver used for solving -the system of the k-epsilon model. -1: conjugate gradient -2: conjugate residuals -3: conjugate gradient on normal equation -4: minimum error -5: conjugate gradient squared -6: conjugate gradient squared stabilised (cgstab) -7: gmres (see option for the solver for k-epsilon model) -8: direct' - -NOM = 'PRECONDITIONNEMENT POUR LE MODELE K-EPSILON' -NOM1 = 'PRECONDITIONING FOR K-EPSILON MODEL' -TYPE = ENTIER -INDEX = 26 -MNEMO = 'IPREKE' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -CHOIX = '2="diagonal"'; '0="aucun"'; -'3="diagonal condensee"'; '7="crout"'; -'14="diagonal et crout"'; '21="diagonal condense et crout"' -CHOIX1 = '2="diagonal"'; '0="no preconditioning"'; -'3="diagonal condensed"'; '7="crout"'; -'14="diagonal and crout"'; '21="diagonal condensed and crout"' -RUBRIQUE = 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, K-EPSILON MODEL' -NIVEAU = 2 -AIDE = 'Permet de preconditionner le systeme relatif au modele k-epsilon -0 : pas de preconditionnement; -2 : preconditionnement diagonal. -3 : preconditionnement diagonal avec la matrice condensee. -7 : preconditionnement de Crout par element.' -AIDE1 = 'Preconditioning of the linear system in the diffusion step of -the k-epsilon model. -0: no preconditioning -2: diagonal preconditioning -3: diagonal preconditioning with the condensed matrix -7: Crout''s preconditioning per element' - -NOM = 'REGIME DE TURBULENCE POUR LES PAROIS' -NOM1 = 'TURBULENCE MODEL FOR SOLID BOUNDARIES' -TYPE = ENTIER -INDEX = 27 -MNEMO = 'LISRUG' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -CHOIX = '1=lisse'; '2=rugueux' -CHOIX1 = '1=smooth'; '2=rough' -RUBRIQUE = 'EQUATIONS';'MODELE DE TURBULENCE' -RUBRIQUE1 = 'EQUATIONS';'TURBULENCE MODEL' -NIVEAU = 1 -AIDE = 'Permet de choisir le regime de turbulence aux parois - 1 : regime turbulent lisse. - 2 : regime turbulent rugueux.' -AIDE1 = 'Provided for selecting the type of friction on the walls - 1: smooth - 2: rough' - -NOM = 'NOMBRE DE FLOTTEURS' -NOM1 = 'NUMBER OF DROGUES' -TYPE = ENTIER -INDEX = 28 -MNEMO = 'NFLOT' -CONTROLE = 0 ; 10 -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 2 -AIDE = 'Permet d''effectuer un suivi de flotteurs' -AIDE1 = 'Number of drogues in the computation. -The user must then fill the subroutine FLOT specifying -the coordinates of the starting points, their departure -and arrival times. -The trajectory of drogues is recorded in the BINARY RESULTS -FILE that must be given in the steering file' - -NOM = 'PERIODE POUR LES SORTIES DE FLOTTEURS' -NOM1 = 'PRINTOUT PERIOD FOR DROGUES' -TYPE = ENTIER -INDEX = 29 -MNEMO = 'FLOPRD' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 2 -AIDE = 'Nombre de pas de temps entre 2 sorties de positions de -flotteurs dans le fichier des resultats binaire supplementaire -N affecte pas la qualite du calcul de la trajectoire' -AIDE1 = 'Number of time steps between 2 outputs of drogues -positions in the binary file' - -NOM = 'NOMBRE DE DERIVES LAGRANGIENNES' -NOM1 = 'NUMBER OF LAGRANGIAN DRIFTS' -TYPE = ENTIER -INDEX = 30 -MNEMO = 'NFLAG' -CONTROLE = 0; 10 -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Permet d''effectuer simultanement plusieurs calculs de derives -lagrangiennes initiees a des pas differents' -AIDE1 = 'Provided for performing several computations of lagrangian -drifts starting at different times. -Add A and G in the VARIABLES FOR GRAPHIC PRINTOUTS key-word' - -NOM = 'LISSAGES DU FOND' -NOM1 = 'BOTTOM SMOOTHINGS' -TYPE = ENTIER -INDEX = 31 -MNEMO = 'LISFOND' -TAILLE = 0 -CONTROLE = 0 ; 10 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'EQUATIONS';'FROTTEMENT ET LISSAGE' -RUBRIQUE1 = 'EQUATIONS';'FRICTION AND SMOOTHINGS' -NIVEAU = 2 -AIDE = 'Nombre de lissages effectues sur la topographie. -chaque lissage, effectue a l''aide d''une matrice de masse, -est conservatif. -Utilise lorsque les donnees de bathymetrie donnent des resultats -trop irreguliers apres interpolation.' -AIDE1 ='Number of smoothings on bottom topography. -each smoothing is mass conservative. -to be used when interpolation of bathymetry on the mesh gives -very rough results.' - -NOM = 'OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS' -NOM1 = 'SOLVER OPTION FOR TRACERS DIFFUSION' -TYPE = ENTIER -INDEX = 32 -MNEMO = 'ISOLDI' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 2 -AIDE = 'si le solveur est GMRES (7) le mot cle est la dimension de -l''espace de KRILOV (valeurs conseillees entre 2 et 15)' -AIDE1 = 'WHEN GMRES (7) IS CHOSEN, DIMENSION OF THE KRYLOV SPACE -TRY VALUES BETWEEN 2 AND 15' - -NOM = 'OPTION DU SOLVEUR' -NOM1 = 'SOLVER OPTION' -TYPE = ENTIER -INDEX = 33 -MNEMO = 'ISOLVE' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES, SOLVEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, SOLVER' -NIVEAU = 2 -AIDE = 'si le solveur est GMRES (7) le mot cle est la dimension de -l''espace de KRILOV (valeurs conseillees entre 2 et 15)' -AIDE1 = 'WHEN GMRES (7) IS CHOSEN, DIMENSION OF THE KRYLOV SPACE -TRY VALUES BETWEEN 2 AND 15' - -NOM = 'OPTION DU SOLVEUR POUR LE MODELE K-EPSILON' -NOM1 = 'OPTION FOR THE SOLVER FOR K-EPSILON MODEL' -TYPE = ENTIER -INDEX = 34 -MNEMO = 'ISOLKE' -TAILLE = 0 -DEFAUT = 2 -DEFAUT1 = 2 -RUBRIQUE = 'EQUATIONS';'MODELE DE TURBULENCE';'MODELE K-EPSILON' -RUBRIQUE1 = 'EQUATIONS';'TURBULENCE MODEL';'K-EPSILON MODEL' -NIVEAU = 2 -AIDE = 'si le solveur est GMRES (7) le mot cle est la dimension de -l''espace de KRILOV (valeurs conseillees entre 2 et 15)' -AIDE1 = 'WHEN GMRES (7) IS CHOSEN, DIMENSION OF THE KRYLOV SPACE -TRY VALUES BETWEEN 2 AND 15' - -NOM = 'PAS DE TEMPS' -NOM1 = 'TIME STEP' -TYPE = REEL -INDEX = 1 -MNEMO = 'DT' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1 = 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -NIVEAU = 1 -AIDE = 'Definit le pas de temps en secondes. -Remarque : Pour une bonne precision; il est souhaitable de choisir -le pas de temps de telle sorte que le nombre de Courant de propagation -soit inferieur a 2 ; voir 3. -Ceci peut etre realisable en hydraulique fluviale ; mais ne l''est -pratiquement jamais en hydraulique maritime ou l''on peut atteindre -des valeurs de 50.' -AIDE1 = 'Specifies the time step in seconds.' - -NOM = 'ZERO' -NOM1 = 'ZERO' -TYPE = REEL -INDEX = 3 -MNEMO = 'ZERO' -TAILLE = 0 -DEFAUT = 1.E-12 -DEFAUT1 = 1.E-12 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = -13 -AIDE = 'Non active pour l''instant.' -AIDE1 = 'Not yet implemented' - -NOM = 'COEFFICIENT DE FROTTEMENT' -NOM1 = 'FRICTION COEFFICIENT' -TYPE = REEL -INDEX = 4 -MNEMO = 'FFON' -TAILLE = 0 -DEFAUT = 50. -DEFAUT1 = 50. -RUBRIQUE = 'EQUATIONS';'FROTTEMENT ET LISSAGE' -RUBRIQUE1 = 'EQUATIONS';'FRICTION AND SMOOTHINGS' -NIVEAU = 1 -AIDE = 'Fixe la valeur du coefficient de frottement pour la -formulation choisie. -Attention; la signification de ce chiffre varie suivant la formule -choisie : - 1 : coefficient lineaire - 2 : coefficient de Chezy - 3 : coefficient de Strickler - 4 : coefficient de Manning - 5 : hauteur de rugosite de Nikuradse' -AIDE1 = 'Sets the value of the friction coefficient for the selected -formulation. It is noteworthy that the meaning of this figure changes -according to the selected formula (Chezy, Strickler, etc.) : - 1 : linear coefficient - 2 : Chezy coefficient - 3 : Strickler coefficient - 4 : Manning coefficient - 5 : Nikuradse grain size' - -NOM = 'COEFFICIENT D''INFLUENCE DU VENT' -NOM1 = 'COEFFICIENT OF WIND INFLUENCE' -TYPE = REEL -INDEX = 6 -MNEMO = 'FAIR' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS';'VENT';'VALEURS NUMERIQUES' -RUBRIQUE1 = 'EQUATIONS';'WIND';'NUMERICS VALUES' -COMPORT = -'Foreground ("EQUATIONS*VENT*VALEURS NUMERIQUES") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Fixe la valeur du coefficient d''entrainement du vent (cf. -Note de principe).' -AIDE1 = 'Sets the value of the wind driving coefficient. -Refer to principle note.' - -NOM = 'VITESSE DU VENT SUIVANT X' -NOM1 = 'WIND VELOCITY ALONG X' -TYPE = REEL -INDEX = 7 -MNEMO = 'FUAIR' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS';'VENT';'VALEURS NUMERIQUES' -RUBRIQUE1 = 'EQUATIONS';'WIND';'NUMERICS VALUES' -NIVEAU = 1 -AIDE = 'Composante de la vitesse du vent suivant l''axe des x (m/s).' -AIDE1 = 'Wind velocity, component along x axis (m/s).' - -NOM = 'VITESSE DU VENT SUIVANT Y' -NOM1 = 'WIND VELOCITY ALONG Y' -TYPE = REEL -INDEX = 8 -MNEMO = 'FVAIR' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS';'VENT';'VALEURS NUMERIQUES' -RUBRIQUE1 = 'EQUATIONS';'WIND';'NUMERICS VALUES' -NIVEAU = 1 -AIDE = 'Composante de la vitesse du vent suivant l''axe des y (m/s).' -AIDE1 = 'Wind velocity, component along y axis (m/s).' - -NOM = 'VENT' -NOM1 = 'WIND' -TYPE = LOGIQUE -INDEX = 14 -MNEMO = 'VENT' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'EQUATIONS';'VENT' -RUBRIQUE1 = 'EQUATIONS';'WIND' -COMPORT = -'Affichage ("EQUATIONS*VENT*VALEURS NUMERIQUES") IS VALEUR ()'; -'Foreground ("EQUATIONS*VENT") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Prise en compte ou non des effets du vent.' -AIDE1 = 'Determines whether the wind effects are to be taken into -account or not.' - -NOM = 'VALEURS INITIALES DES TRACEURS' -NOM1 = 'INITIAL VALUES OF TRACERS' -TYPE = REEL -INDEX = 9 -MNEMO = 'TRAC0' -TAILLE = 2 -DEFAUT = 0.;0. -DEFAUT1 = 0.;0. -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 1 -AIDE = 'Fixe la valeur initiale du traceur.' -AIDE1 = 'Sets the initial value of the tracer.' - -NOM = 'COEFFICIENT DE DIFFUSION DES TRACEURS' -NOM1 = 'COEFFICIENT FOR DIFFUSION OF TRACERS' -TYPE = REEL -INDEX = 10 -MNEMO = 'DIFNU' -TAILLE = 0 -DEFAUT = 1.E-6 -DEFAUT1 = 1.E-6 -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 1 -AIDE = 'Fixe la valeur du coefficient de diffusion du traceur. -L''influence de ce parametre sur l''evolution du traceur dans -le temps est importante.' -AIDE1 = 'Sets the value of the tracer diffusivity.' - -NOM = 'PRECISION POUR LA DIFFUSION DES TRACEURS' -NOM1 = 'ACCURACY FOR DIFFUSION OF TRACERS' -TYPE = REEL -INDEX = 11 -MNEMO = 'EPSDIF' -TAILLE = 0 -DEFAUT = 1.E-6 -DEFAUT1 = 1.E-6 -RUBRIQUE = 'EQUATIONS';'SOLVEUR' -RUBRIQUE1 = 'EQUATIONS';'SOLVER' -COMPORT = -'Foreground ("EQUATIONS*SOLVEUR") IS VALEUR (brown)' -NIVEAU = 2 -AIDE = 'Fixe la precision demandee pour le calcul de la diffusion -du traceur.' -AIDE1 = 'Sets the required accuracy for computing the tracer -diffusion.' - -NOM = 'COEFFICIENT D''IMPLICITATION DES TRACEURS' -NOM1 = 'IMPLICITATION COEFFICIENT OF TRACERS' -TYPE = REEL -INDEX = 12 -MNEMO = 'TETADF' -TAILLE = 0 -DEFAUT = 0.6 -DEFAUT1 = 0.6 -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 2 -AIDE = 'Fixe la valeur du coefficient d''implicitation du traceur' -AIDE1 = 'Sets the value of the implicitation coefficient for the tracer' - -NOM = 'COEFFICIENT DE DIFFUSION DES VITESSES' -NOM1 = 'VELOCITY DIFFUSIVITY' -TYPE = REEL -INDEX = 13 -MNEMO = 'PROPNU' -TAILLE = 0 -DEFAUT = 1.E-6 -DEFAUT1 = 1.E-6 -RUBRIQUE = 'EQUATIONS';'MODELE DE TURBULENCE';'VISCOSITE CONSTANTE' -RUBRIQUE1 = 'EQUATIONS';'TURBULENCE MODEL';'CONSTANT VISCOSITY' -COMPORT = -'Foreground ("EQUATIONS*MODELE DE TURBULENCE*VISCOSITE CONSTANTE") -IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Fixe de facon uniforme pour l''ensemble du domaine; -la valeur du coefficient de diffusion de viscosite globale (dynamique + -turbulente). Cette valeur peut avoir une influence non negligeable sur -la forme et la taille des recirculations.' -AIDE1 = 'Sets, in an even way for the whole domain, the value of the -coefficient of global (dynamic+turbulent) viscosity. this value may -have a significant effect both on the shapes and sizes of -recirculation zones.' - -NOM = 'MODELE DE TURBULENCE' -NOM1 = 'TURBULENCE MODEL' -TYPE = ENTIER -INDEX = 7 -MNEMO = 'ITURB' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="VISCOSITE CONSTANTE"';'2="ELDER"';'3="MODELE K-EPSILON"' -;'4="SMAGORINSKI"' -CHOIX1 = '1="CONSTANT VISCOSITY"';'2="ELDER"';'3="K-EPSILON MODEL"' -;'4="SMAGORINSKI"' -RUBRIQUE = 'EQUATIONS';'MODELE DE TURBULENCE' -RUBRIQUE1 = 'EQUATIONS';'TURBULENCE MODEL' -COMPORT = 'Affichage -("COEFFICIENT DE DIFFUSION DES VITESSES") -IS VALEUR (#"MODELE DE TURBULENCE" - 3)'; -'Affichage -("EQUATIONS*MODELE DE TURBULENCE*MODELE K-EPSILON") IS VALEUR -(#"MODELE DE TURBULENCE" - 1)'; -'Foreground ("EQUATIONS*MODELE DE TURBULENCE") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = '3 choix sont possibles actuellement : viscosite constante (1) -modele de Elder (2) ou modele k-epsilon (3). -Attention : si on choisit l''option 1 -il ne faut pas oublier d''ajuster la valeur du mot-cle COEFFICIENT DE -DIFFUSION DES VITESSES. -si on choisit l''option 2 -il ne faut pas oublier d''ajuster les deux valeurs du mot-cle : -COEFFICIENTS ADIMENSIONNELS DE DISPERSION -Si on choisit l''option 3; -ce meme parametre doit retrouver sa vraie valeur physique car elle est -utilisee comme telle dans le modele de turbulence' -AIDE1 = 'The current alternatives are as follows: constant viscosity (1) -elder''s model (2) or k-epsilon model (3). -NOTE: when option 1 is chosen, it should be kept in mind that the -value of the keyword VELOCITY DIFFUSIVITY has to be ajusted. -When option 2 is chosen, the two values of key-word : -NON-DIMENSIONAL DISPERSION COEFFICIENTS are used -When option 3 is chosen, this parameter should recover its true -physical value, since it is used as such in the turbulence model.' - -NOM = 'PRECISION DU SOLVEUR' -NOM1 = 'SOLVER ACCURACY' -TYPE = REEL -INDEX = 14 -MNEMO = 'EPSI1' -TAILLE = 0 -DEFAUT = 1.E-4 -DEFAUT1 = 1.E-4 -RUBRIQUE = 'PARAMETRES NUMERIQUES, SOLVEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, SOLVER' -NIVEAU = 2 -AIDE = 'Precision demandee pour la resolution de l''etape de propagation - (cf. Note de principe).' -AIDE1 = 'Required accuracy for solving the propagation step -(refer to Principle note).' - -NOM = 'PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE' -NOM1 = 'THRESHOLD DEPTH FOR RECEDING PROCEDURE' -TYPE = REEL -INDEX = 16 -MNEMO = 'HREC' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Si > 0., declenche la procedure de ressuyage qui evite -le franchissement parasite des digues mal discretisees' -AIDE1 = 'If > 0., will trigger the receding procedure that -avoids overwhelming of dykes which are too loosely -discretised ' - -NOM = 'IMPLICITATION POUR LA HAUTEUR' -NOM1 = 'IMPLICITATION FOR DEPTH' -TYPE = REEL -INDEX = 17 -MNEMO = 'TETAC' -TAILLE = 0 -DEFAUT = 0.55 -DEFAUT1 = 0.55 -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -CONTROLE = 0.5 -AIDE = 'Fixe la valeur du coefficient d''implicitation sur C dans -l''etape de propagation (cf. Note de principe). -Les valeurs inferieures a 0.5 donnent un schema instable.' -AIDE1 = 'Sets the value of the implicitation coefficient for C -(the celerity of waves) in the propagation step -(refer to principle note). -Values below 0.5 result in an unstable scheme.' - -NOM = 'IMPLICITATION POUR LA VITESSE' -NOM1 = 'IMPLICITATION FOR VELOCITY' -TYPE = REEL -INDEX = 18 -MNEMO = 'TETAU' -TAILLE = 0 -DEFAUT = 0.55 -DEFAUT1 = 0.55 -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -AIDE = 'Fixe la valeur du coefficient d''implicitation sur la vitesse -dans l''etape de propagation (cf. Note de principe). -Les valeurs inferieures a 0.5 donnent un schema instable.' -AIDE1 = 'Sets the value of the implicitation coefficient for velocity -in the propagation step (refer to principle note). -Values below 0.5 result in an unstable condition.' - -NOM = 'IMPLICITATION POUR LA DIFFUSION DES VITESSES' -NOM1 = 'IMPLICITATION FOR DIFFUSION OF VELOCITY' -TYPE = REEL -INDEX = 19 -MNEMO = 'TETAD' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1 = 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -AIDE = 'Fixe la valeur du coefficient d''implicitation sur les termes de -diffusion des vitesses' -AIDE1 = 'Sets the value of the implicitation coefficient for -the diffusion of velocity' - -NOM = 'MASS-LUMPING SUR H' -NOM1 = 'MASS-LUMPING ON H' -TYPE = REEL -INDEX = 20 -MNEMO = 'AGGLOC' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -AIDE = 'TELEMAC offre la possibilite d''effectuer du mass-lumping -sur H ou U. -Ceci revient a ramener tout ou partie (suivant la valeur de ce -coefficient) des matrices AM1 (h) ou AM2 (U) et AM3 (V) sur -leur diagonale. -Cette technique permet d''accelerer le code dans des proportions tres -importantes et de le rendre egalement beaucoup plus stable. Cependant -les solutions obtenues se trouvent lissees. -Ce parametre fixe le taux de mass-lumping effectue sur h.' -AIDE1 = 'TELEMAC provides an opportunity to carry out mass-lumping -either on C,H or on the velocity. -This is equivalent to bringing the matrices AM1 (h) or AM2 (U) and -AM3 (V) wholly or partly, back onto their diagonal. -Thanks to that technique, the code can be speeded up to a quite -significant extent and it can also be made much more stable. The -resulting solutions, however, become artificially smoothed. -This parameter sets the extent of mass-lumping that is performed on h.' - -NOM = 'MASS-LUMPING SUR LA VITESSE' -NOM1 = 'MASS-LUMPING ON VELOCITY' -TYPE = REEL -INDEX = 21 -MNEMO = 'AGGLOU' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -AIDE = 'Fixe le taux de mass-lumping effectue sur la vitesse.' -AIDE1 = 'Sets the amount of mass-lumping that is performed on -the velocity.' - -NOM = 'VALEUR MINIMUM DE H' -NOM1 = 'MINIMUM VALUE OF DEPTH' -TYPE = REEL -INDEX = 22 -MNEMO = 'HMIN' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 3 -AIDE = 'Fixe la valeur minimale de a lorsque l''option CLIPPING -DE H est activee.' -AIDE1 = 'Sets the minimum H value when option H CLIPPING is -implemented. Not fully implemented.' - -NOM = 'REDUCTION DU PAS DE TEMPS POUR LE MODELE K-EPSILON' -NOM1 = 'TIME STEP REDUCTION FOR K-EPSILON MODEL' -TYPE = REEL -INDEX = 23 -MNEMO = 'REDUC' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1 = 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, K-EPSILON MODEL' -NIVEAU = 3 -AIDE = 'Coefficient reducteur du pas de temps pour le modele k-epsilon -(qui est normalement identique a celui du systeme hydrodynamique). -Utilisation deconseillee' -AIDE1 = 'Time step reduction coefficient for k-epsilon model -(which is normally same the same as that of the hydrodynamic system) -Not recommended for use.' - -NOM = 'PRECISION SUR K' -NOM1 = 'ACCURACY OF K' -TYPE = REEL -INDEX = 24 -MNEMO = 'EPSIK' -TAILLE = 0 -DEFAUT = 1.E-9 -DEFAUT1 = 1.E-9 -RUBRIQUE = 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, K-EPSILON MODEL' -NIVEAU = 2 -AIDE = 'Fixe la precision demandee sur k pour le test d''arret dans -l''etape de diffusion et termes sources du modele k-epsilon.' -AIDE1 = 'Sets the required accuracy for computing k in the diffusion -and source terms step of the k-epsilon model.' - -NOM = 'PRECISION SUR EPSILON' -NOM1 = 'ACCURACY OF EPSILON' -TYPE = REEL -INDEX = 25 -MNEMO = 'EPSIE' -TAILLE = 0 -DEFAUT = 1.E-9 -DEFAUT1 = 1.E-9 -RUBRIQUE = 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, K-EPSILON MODEL' -NIVEAU = 2 -AIDE = 'Fixe la precision demandee sur epsilon pour le test d''arret dan -s l''etape de diffusion et termes sources de k et epsilon.' -AIDE1 = 'Sets the required accuracy for computing epsilon in -the diffusion and source-terms step of the k-epsilon model.' - -NOM = 'PROFONDEUR MOYENNE POUR LA LINEARISATION' -NOM1 = 'MEAN DEPTH FOR LINEARIZATION' -TYPE = REEL -INDEX = 26 -MNEMO = 'HAULIN' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS';'HAUTEUR' -RUBRIQUE1 = 'EQUATIONS';'HIGHT' -COMPORT = -'Foreground ("EQUATIONS*HAUTEUR") IS VALEUR (brown)' -NIVEAU = 2 -AIDE = 'Fixe la hauteur d''eau autour de laquelle s''effectue la -linearisation lorsque l''option PROPAGATION LINEARISEE est choisie.' -AIDE1 = 'Sets the water depth about which the linearization is made when -the LINEARIZED PROPAGATION OPTION is selected.' - -NOM = 'COEFFICIENT DE RUGOSITE DES BORDS' -NOM1 = 'ROUGHNESS COEFFICIENT OF BOUNDARIES' -TYPE = REEL -INDEX = 29 -MNEMO = 'SB' -TAILLE = 0 -DEFAUT = 100. -DEFAUT1 = 100. -RUBRIQUE = 'EQUATIONS' -RUBRIQUE1 = 'EQUATIONS' -NIVEAU = 1 -AIDE = 'Fixe la valeur du coefficient de frottement sur les frontieres -solides avec un regime turbulent rugueux sur les bords du domaine. -meme convention que pour le coefficient de frottement: - 1 : non programme - 2 : coefficient de Chezy - 3 : coefficient de Strickler - 4 : coefficient de Manning - 5 : hauteur de rugosite de Nikuradse' -AIDE1 = 'Sets the value of the friction coefficient of the solid boundary -with the bed roughness option. Same meaning than friction coefficient' - -NOM = 'DEBITS IMPOSES' -NOM1 = 'PRESCRIBED FLOWRATES' -TYPE = REEL -INDEX = 30 -MNEMO = 'DEBIT' -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, CONDITIONS LIMITES' -RUBRIQUE1 = 'EQUATIONS, BOUNDARY CONDITIONS' -COMPORT = -'Foreground ("EQUATIONS, CONDITIONS LIMITES") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = ' Valeurs des debits imposes aux frontieres liquides entrantes. -Lire la partie du mode d''emploi consacree aux conditions aux limites' -AIDE1 = 'Values of prescribed flowrates at the inflow boundaries. -The section about boundary conditions is to be read in the manual' - -NOM = 'COTES IMPOSEES' -NOM1 = 'PRESCRIBED ELEVATIONS' -TYPE = REEL -INDEX = 31 -MNEMO = 'COTES' -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, CONDITIONS LIMITES' -RUBRIQUE1 = 'EQUATIONS, BOUNDARY CONDITIONS' -NIVEAU = 1 -AIDE = 'Valeurs des cotes imposees aux frontieres liquides entrantes. -Lire la partie du mode d''emploi consacree aux conditions aux limites' -AIDE1 = 'Values of prescribed elevations at the inflow boundaries. -The section about boundary conditions is to be read in the manual' - -NOM = 'VITESSES IMPOSEES' -NOM1 = 'PRESCRIBED VELOCITIES' -TYPE = REEL -INDEX = 32 -MNEMO = 'VITES' -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, CONDITIONS LIMITES' -RUBRIQUE1 = 'EQUATIONS, BOUNDARY CONDITIONS' -COMPORT = -'Foreground ("EQUATIONS, CONDITIONS LIMITES") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Valeurs des vitesses imposees aux frontieres liquides entrantes. -Lire la partie du mode d''emploi consacree aux conditions aux limites' -AIDE1 ='Values of prescribed velocities at the liquid inflow boundaries. -Refer to the section dealing with the boundary conditions' - -NOM = 'COTE INITIALE' -NOM1 = 'INITIAL ELEVATION' -TYPE = REEL -INDEX = 33 -MNEMO = 'COTINI' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS, CONDITIONS INITIALES' -RUBRIQUE1 = 'EQUATIONS, INITIAL CONDITIONS' -COMPORT = -'Foreground ("EQUATIONS, CONDITIONS INITIALES") IS VALEUR (brown)' -NIVEAU = 1 -CONTROLE = -427.; 8848. -AIDE = 'Valeur utilisee avec l''option : - CONDITIONS INITIALES - COTE CONSTANTE' -AIDE1 ='Value to be used with the option : -INITIAL CONDITIONS -CONSTANT ELEVATION' - -NOM = 'HAUTEUR INITIALE' -NOM1 = 'INITIAL DEPTH' -TYPE = REEL -INDEX = 34 -MNEMO = 'HAUTINI' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS, CONDITIONS INITIALES' -RUBRIQUE1 = 'EQUATIONS, INITIAL CONDITIONS' -NIVEAU = 1 -CONTROLE = 0; 20 -AIDE = 'Valeur utilisee avec l''option : -CONDITIONS INITIALES :-HAUTEUR CONSTANTE-' -AIDE1 = 'Value to be used along with the option: - INITIAL CONDITIONS -CONSTANT DEPTH-' - -NOM = 'VALEURS IMPOSEES DES TRACEURS' -NOM1 = 'PRESCRIBED TRACERS VALUES' -TYPE = REEL -INDEX = 35 -MNEMO = 'TRACER' -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, CONDITIONS LIMITES' -RUBRIQUE1 = 'EQUATIONS, BOUNDARY CONDITIONS' -NIVEAU = 1 -AIDE = 'Valeurs du traceur imposees aux frontieres liquides entrantes. -Lire la partie du mode d''emploi consacree aux conditions aux limites' -AIDE1 = 'Tracer values prescribed at the inflow boundaries. -Read the usermanual section dealing with the boundary conditions' - -NOM = 'ABSCISSES DES SOURCES' -NOM1 = 'ABSCISSAE OF SOURCES' -TYPE = REEL -INDEX = 36 -MNEMO = 'XSCE' -CONTROLE = -10000 ; 10000 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Valeurs des abscisses des sources de debit et de traceur.' -AIDE1 = 'abscissae of sources of flowrate and/or tracer' - -NOM = 'ORDONNEES DES SOURCES' -NOM1 = 'ORDINATES OF SOURCES' -TYPE = REEL -INDEX = 37 -MNEMO = 'YSCE' -CONTROLE = -10000 ; 10000 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Valeurs des ordonnees des sources de debit et de traceur.' -AIDE1 = 'ordinates of sources of flowrate and/or tracer' - -NOM = 'DEBITS DES SOURCES' -NOM1 = 'WATER DISCHARGE OF SOURCES' -TYPE = REEL -INDEX = 38 -MNEMO = 'DSCE' -CONTROLE = 0 ; 10000 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Valeurs des debits des sources.' -AIDE1 = 'values of water discharge of sources' - -NOM = 'VALEURS DES TRACEURS DES SOURCES' -NOM1 = 'VALUES OF THE TRACERS AT THE SOURCES' -TYPE = REEL -INDEX = 39 -MNEMO = 'TSCE' -CONTROLE = 0 ; 10000 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Valeurs des traceurs a chacune des sources' -AIDE1 = 'Values of the tracers at the sources' - -NOM = 'VITESSES DES SOURCES SELON X' -NOM1 = 'VELOCITIES OF THE SOURCES ALONG X' -TYPE = REEL -INDEX = 43 -MNEMO = 'USCE' -CONTROLE = 0 ; 10000 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Vitesses du courant a chacune des sources. Si elles ne sont pas -donnees, on considere que la vitesse est celle du courant' -AIDE1 = 'Velocities at the sources. If they are not given, the velocity -of the flow at this location is taken' - -NOM = 'VITESSES DES SOURCES SELON Y' -NOM1 = 'VELOCITIES OF THE SOURCES ALONG Y' -TYPE = REEL -INDEX = 44 -MNEMO = 'VSCE' -CONTROLE = 0 ; 10000 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Vitesses du courant a chacune des sources' -AIDE1 = 'Velocities at the sources' - -NOM = 'COEFFICIENTS DE DECENTREMENT' -NOM1 = 'UPWIND COEFFICIENTS' -TYPE = REEL -INDEX = 40 -MNEMO = 'COSUPG' -CONTROLE = 0 ; 10 -TAILLE = 4 -DEFAUT = 1.;1.;1.;1 -DEFAUT1 = 1.;1.;1.;1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 3 -AIDE = 'Coefficients utilises par la methode S.U.P.G. -ces coefficients sont respectivement appliques a - 1) U et V - 2) H ou C - 3) T - 4) K ET EPSILON ' -AIDE1 = 'Upwind coefficients used by the S.U.P.G. method -These coefficients are applied respectively to - 1) U and V - 2) H or C - 3) T - 4) K and epsilon ' - -NOM = 'CRITERES D''ARRET' -NOM1 = 'STOP CRITERIA' -TYPE = REEL -INDEX = 41 -MNEMO = 'CRIPER' -CONTROLE = 0 ; 10 -TAILLE = 3 -DEFAUT = 1.E-4;1.E-4;1.E-4 -DEFAUT1= 1.E-4;1.E-4;1.E-4 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Criteres d''arret pour un ecoulement permanent -ces coefficients sont respectivement appliques a - 1) U et V - 2) H - 3) T -A utiliser avec le mot-cle : ARRET SI UN ETAT PERMANENT EST ATTEINT' -AIDE1 = 'Stop criteria for a steady state -These coefficients are applied respectively to - 1) U and V - 2) H - 3) T -To be used with the key-word: STOP IF A STEADY STATE IS REACHED' - - -NOM = 'DUREE DU CALCUL' -NOM1 = 'DURATION' -TYPE = REEL -INDEX = 45 -MNEMO = 'DUREE' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1= 0. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -NIVEAU = 1 -AIDE = 'duree de la simulation. alternative au parametre nombre de pas -de temps. On en deduit le nombre de pas de temps en prenant l''entier le -plus proche de (duree du calcul/pas de temps). Si le nombre de pas de -temps est aussi donne, on prend la plus grande valeur' -AIDE1 = 'duration of simulation. May be used instead of the parameter -NUMBER OF TIME STEPS. The nearest integer to (duration/time step) is -taken. -If NUMBER OF TIME STEPS is also given, the greater value is taken' - -NOM = 'NORD' -NOM1 = 'NORTH' -TYPE = REEL -INDEX = 46 -MNEMO = 'NORD' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1= 0. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 2 -AIDE = 'Direction du nord en degres, par rapport a l''axe des y -dans le sens trigonometrique. Notation decimale 10.5 signifie 10 degres -et trente minutes.' -AIDE1 = 'Angle of the North with the y axis, in degrees. 10.5 means -10 degrees and 30 minutes.' - -NOM = 'TITRE' -NOM1 = 'TITLE' -TYPE = CARACTERE -INDEX = 1 -MNEMO = 'TITCAS' -TAILLE = 0 -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -COMPORT = -'Foreground ("ENTREES-SORTIES, GENERALITES*CALCUL") -IS VALEUR (red)' -NIVEAU = 1 -AIDE = 'Titre du cas etudie. Ce titre figurera sur les dessins.' -AIDE1 = 'Title of the case being considered. This title shall be marked -on the drawings.' - -NOM = 'VARIABLES POUR LES SORTIES GRAPHIQUES' -NOM1 = 'VARIABLES FOR GRAPHIC PRINTOUTS' -TYPE = CARACTERE -INDEX = 2 -MNEMO = 'SORTIE' -TAILLE = 0 -DEFAUT = 'U,V,H,B' -DEFAUT1 = 'U,V,H,B' -CHOIX = 'U="vitesse suivant l''axe des x (m/s)"'; -'V="vitesse suivant l''axe des y (m/s)"'; -'C="celerite des onde (m/s)"'; -'H="hauteur d''eau (m)"'; -'S="cote de surface libre (m)"'; -'B="cote du fond (m)"'; -'F="nombre de Froude "'; -'Q="debit scalaire du fluide (m2/s)"'; -'T1="traceur 1, etc. "'; -'K="energie turbulente du modele k-epsilon (J/kg)"'; -'E="dissipation de l''energie turbulente (W/kg)"'; -'D="viscosite turbulente du modele k-epsilon (m2/s)"'; -'I="debit suivant l''axe des x (m2/s)"'; -'J="debit suivant l''axe des y (m2/s)"'; -'M="vitesse scalaire (m/s)"'; -'X="vent suivant l''axe des x (m/s)"'; -'Y="vent suivant l''axe des y (m/s)"'; -'P="pression atmospherique (Pa)"'; -'W="coefficient de frottement sur le fond "'; -'A="derive en x (m)"'; -'G="derive en y (m)"'; -'L="nombre de Courant "'; -'N="variable supplementaire N "'; -'O="variable supplementaire O "'; -'R="variable supplementaire R "'; -'Z="variable supplementaire Z "'; -'MAXZ="cote maximum "'; -'TMXZ="temps de la cote maximum "'; -'MAXV="vitesse maximum "'; -'TMXV="temps de la vitesse maximum "'; -'US="vitesse de frottement "' -CHOIX1= 'U="velocity along x axis (m/s)"'; -'V="velocity along y axis (m/s)"'; -'C="wave celerity (m/s)"'; -'H="water depth (m)"'; -'S="free surface elevation (m)"'; -'B="bottom elevation (m)"'; -'F="Froude number "'; -'Q="scalar flowrate of fluid (m2/s)"'; -'T1="tracer 1 etc. "'; -'K="turbulent kinetic energy in k-epsilon model (J/kg)"'; -'E="dissipation of turbulent energy (W/kg)"'; -'D="turbulent viscosity of k-epsilon model (m2/s)"'; -'I="flowrate along x axis (m2/s)"'; -'J="flowrate along y axis (m2/s)"'; -'M="scalar velocity (m/s)"'; -'X="wind along x axis (m/s)"'; -'Y="wind along y axis (m/s)"'; -'P="air pressure (Pa)"'; -'W="friction coefficient"'; -'A="drift along x (m)"'; -'G="drift along y (m)"'; -'L="Courant number "'; -'N="supplementary variable N "'; -'O="supplementary variable O "'; -'R="supplementary variable R "'; -'Z="supplementary variable Z "'; -'MAXZ="maximum elevation"'; -'TMXZ="time of maximum elevation "'; -'MAXV="maximum velocity"'; -'TMXV="time of maximum velocity"'; -'US="friction velocity "' -COMPOSE=',' -APPARENCE = 'packing IS XmPACK_COLUMN' ; - 'numColumns IS 26';'LISTE IS EDITABLE' -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 1 -AIDE = 'Noms des variables que l''utilisateur veut ecrire dans -le fichier des resultats. -Chaque variable est representee par une lettre. -Le choix des separateurs est libre. -Les possibilites offertes sont les suivantes : - - U : vitesse suivant l''axe des x (m/s), - - V : vitesse suivant l''axe des y (m/s), - - C : celerite des ondes (m/s), - - H : hauteur d''eau (m), - - S : cote de surface libre (m), - - B : cote du fond (m), - - F : nombre de Froude, - - Q : debit scalaire du fluide (m2/s), - - T : traceur, - - K : energie turbulente du modele k-epsilon (J/kg), - - E : dissipation de l''energie turbulente (W/kg), - - D : viscosite turbulente du modele k-epsilon (m2/s), - - I : debit suivant l''axe des x (m2/s), - - J : debit suivant l''axe des y (m2/s), - - M : vitesse scalaire (m/s), - - X : vent suivant l''axe des x (m/s), - - Y : vent suivant l''axe des y (m/s), - - P : pression atmospherique (Pa), - - W : coefficient de frottement sur le fond, - - A : derive en x (m), - - G : derive en y (m), - - L : coefficient de frottement sur le fond. -L''utilisateur dispose egalement de 4 champs libres, qu''il peut -utiliser pour ecrire dans le fichier des resultats des variables -qu''il cree lui-meme. Ces variables propres a l''utlisateur doivent -etre calculees dans le sous-programme PRERES et le nom que l''on -desire leur donner doit etre ecrit dans le sous-programme NOMVAR. -Ces 7 champs sont : - - N, O, R, Z qui correspondent aux tableaux PRIVE(1,1), PRIVE(1,2), -PRIVE(1,3), PRIVE(1,4). A la difference des variables -precedentes, celles-ci sont conservees dans tout le programme, et -peuvent donc etre reutilisees. -Dans ce dernier cas ne pas oublier de donner une taille -suffisante au tableau PRIVE (dans le programme principal). -Il est ainsi possible de limiter, par exemple, la taille des fichiers -de resultats pour de tres gros calculs. Cependant, il faut etre -conscient du fait que, dans l''eventualite d''une reprise de calcul, -le code doit disposer, dans le fichier des resultats, des informations -necessaires a sa poursuite, a savoir : - - les vitesses U et V, - - les hauteurs d''eau H, - - les cotes du fond B. -Toutefois, TELEMAC peut recalculer certaines de ces variables a partir -d''autres qui lui seront fournies (par exemple, il recalculera H a -partir de S et B).' -AIDE1 = 'Names of variables the user wants to write into the results -file. Each variable is represented by a letter. The separators can be -freely selected. -The available capabilities are as follows: - U : velocity along x axis (m/s), - V : velocity along y axis (m/s), - C : wave celerity (m/s), - H : water depth (m), - S : free surface elevation (m), - B : bottom elevation (m), - F : Froude number, - Q : scalar flowrate of fluid (m2/s), - T : tracer - K : turbulent kinetic energy in k-epsilon model (J/kg), - E : dissipation of turbulent energy (W/kg), - D : turbulent viscosity of k-epsilon model (m2/s), - I : flowrate along x axis (m2/s), - J : flowrate along y axis (m2/s), - M : scalar velocity (m/s), - X : wind along x axis (m/s) - Y : wind along y axis (m/s), - P : air pressure (Pa), - W : friction coefficient , - A : drift along x, - G : drift along y, - L : nombre de courant. - -four other variables are also made available to the user who may use -them for writing into the file the results of variables he creates -himself. These user-specific variables should be computed in the -subroutine PRERES and their desired name should be written -into the subroutine NOMVAR. -These seven variables are as follows: - -N, O, R, Z which correspond to arrays PRIVE(1,1) up to PRIVE(1, -Unlike the preceding variables, they are preserved throughout the -program, so that they can be used again. -In the latter case, do not forget to provide the array PRIVE with -sufficiently large dimensions (in FORTRAN file). -With this key-word, one can limit the size of the RESULTS FILE. -It should be kept in mind, however, that if a computation has to be -continued, the RESULTS FILE should contain the appropriate information -for running the code,i.e.: - - velocities U and V, - - water depths H, - - bottom elevations B. -TELEMAC, however, can compute some of these variables from others -for example, it will compute H from S and B.' - -NOM = 'VARIABLES A IMPRIMER' -NOM1 = 'VARIABLES TO BE PRINTED' -TYPE = CARACTERE -INDEX = 3 -MNEMO = 'VARIMP' -TAILLE = 0 -DEFAUT = ' ' -DEFAUT1 = ' ' -/CHOIX = '" "="pas de variables"'; -CHOIX = 'U="vitesse suivant l''axe des x (m/s)"'; -'V="vitesse suivant l''axe des y (m/s)"'; -'C="celerite des ondes (m/s)"'; -'H="hauteur d''eau (m)"'; -'S="cote de surface libre (m)"'; -'B="cote du fond (m)"'; -'F="nombre de Froude"'; -'Q="debit scalaire du fluide (m2/s)"'; -'T="traceur"'; -'K="energie turbulente du modele k-epsilon (J/kg)"'; -'E="dissipation de l''energie turbulente (W/kg)"'; -'D="viscosite turbulente du modele k-epsilon (m2/s)"'; -'I="debit suivant l''axe des x (m2/s)"'; -'J="debit suivant l''axe des y (m2/s)"'; -'M="vitesse scalaire (m/s)"'; -'X="vent suivant l''axe des x (m/s)"'; -'Y="vent suivant l''axe des y (m/s)"'; -'P="pression atmospherique (Pa)"'; -'W="coefficient de frottement sur le fond"'; -'A="derive en x (m)"'; -'G="derive en y (m)"'; -'L="nombre de courants "'; -'N="variable supplementaire N"'; -'O="variable supplementaire O"'; -'R="variable supplementaire R"'; -'Z="variable supplementaire Z"' -CHOIX1 = 'U="velocity along x axis (m/s)"'; -'V="velocity along y axis (m/s)"'; -'C="wave celerity (m/s)"'; -'H="water depth (m)"'; -'S="free surface elevation (m)"'; -'B="bottom elevation (m)"'; -'F="Froude number"'; -'Q="scalar flowrate of fluid (m2/s)"'; -'T="tracer"'; -'K="turbulent kinetic energy in k-epsilon model (J/kg)"'; -'E="dissipation of turbulent energy (W/kg)"'; -'D="turbulent viscosity of k-epsilon model (m2/s)"'; -'I="flowrate along x axis (m2/s)"'; -'J="flowrate along y axis (m2/s)"'; -'M="scalar velocity (m/s)"'; -'X="wind along x axis (m/s)"'; -'Y="wind along y axis (m/s)"'; -'P="air pressure (Pa)"'; -'W="friction coefficient"'; -'A="drift along x (m)"'; -'G="drift along y (m)"'; -'L="nombre de courants "'; -'N="supplementary variable N"'; -'O="supplementary variable O"'; -'R="supplementary variable R"'; -'Z="supplementary variable Z"' -COMPOSE=',' -APPARENCE = 'packing IS XmPACK_COLUMN' ; 'numColumns IS 26' ; -'LISTE IS EDITABLE' - -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 1 -AIDE = 'Nom des variables que l''utilisateur desire ecrire a l''ecran. -Meme possibilites que pour les sorties graphiques.' -AIDE1 = '' - -NOM = 'USER CRAY' -NOM1 = 'USER CRAY' -TYPE = CARACTERE -INDEX = 4 -MNEMO = '' -TAILLE = 0 -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -COMPORT = -'Foreground ("ENTREES-SORTIES, GENERALITES*ENVIRONNEMENT") -IS VALEUR (red)' -NIVEAU = 2 -AIDE = 'Userid CRAY de l''utilisateur.' -AIDE1 = 'User''s identity on CRAY.' - -NOM = 'MOT DE PASSE CRAY' -NOM1 = 'PASSWORD' -TYPE = CARACTERE -INDEX = 5 -MNEMO = '' -TAILLE = 0 -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Mot de passe associe a l''USER CRAY.' -AIDE1 = 'Password related to USER CRAY.' - -NOM = 'FICHIER FORTRAN' -NOM1 = 'FORTRAN FILE' -TYPE = CARACTERE -INDEX = 7 -MNEMO = 'NOMFOR' -SUBMIT = 'INUTILE;t2dfort.f;FACUL;ASC;LIT;FORTRAN' -DEFAUT = 'DEFAUT' -DEFAUT1 = 'DEFAUT' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -AIDE = 'Nom du fichier FORTRAN a soumettre.' -AIDE1 = 'Name of FORTRAN file to be submitted.' - -NOM = 'FICHIER DES PARAMETRES' -NOM1 = 'STEERING FILE' -TYPE = CARACTERE -INDEX = 8 -MNEMO = 'NOMCAS' -SUBMIT = 'INUTILE;T2DCAS;OBLIG;ASC;LIT;CAS' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Nom du fichier contenant les parametres du calcul a realiser.' -AIDE1 = 'Name of the file containing the parameters of the computation -Written by the user.' - -NOM = 'FICHIER DES CONDITIONS AUX LIMITES' -NOM1 = 'BOUNDARY CONDITIONS FILE' -TYPE = CARACTERE -INDEX = 9 -MNEMO = 'T2D_FILES(T2DLIM)%NAME' -SUBMIT = 'T2DLIM-READ-07;T2DCLI;OBLIG;ASC;LIT;CONLIM' -/DEFAUT = ' ' -/DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -APPARENCE = 'LISTE IS FICHIER' -NIVEAU = 1 -AIDE = 'Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.' -AIDE1 = 'Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -through colours that are assigned to the boundary nodes.' - -NOM = 'FICHIER DU CALCUL PRECEDENT' -NOM1 = 'PREVIOUS COMPUTATION FILE' -TYPE = CARACTERE -INDEX = 10 -MNEMO = 'T2D_FILES(T2DPRE)%NAME' -SUBMIT = 'T2DPRE-READ-04;T2DPRE;FACUL;BIN;LIT;SELAFIN' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Nom d''un fichier contenant les resultats d''un calcul precedent -realise sur le meme maillage et dont le dernier pas de temps enregistre -va fournir les conditions initiales pour une suite de de calcul.' -AIDE1 = 'Name of a file containing the results of an earlier computation -which was made on the same mesh. The last recorded time step will provid -the initial conditions for the new computation.' - -NOM = 'FICHIER DES RESULTATS' -NOM1 = 'RESULTS FILE' -TYPE = CARACTERE -INDEX = 11 -MNEMO = 'T2D_FILES(T2DRES)%NAME' -/ READWRITE CAR RELU EN CAS DE VALIDATION -SUBMIT = 'T2DRES-READWRITE-08;T2DRES;OBLIG;BIN;ECR;SELAFIN' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Nom du fichier dans lequel seront ecrits les resultats du calcul -avec la periodicite donnee par le mot cle ''PERIODE POUR LES SORTIES -GRAPHIQUES''.' -AIDE1 = 'Name of the file into which the computation results shall be -written, -the periodicity being given by the key-word: -GRAPHIC PRINTOUT PERIOD.' - -NOM = 'NUMERO DE VERSION' -NOM1 = 'RELEASE' -TYPE = CARACTERE -INDEX = 12 -MNEMO = '' -TAILLE = 0 -DEFAUT = 'V6P3' -DEFAUT1 = 'V6P3' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = -3 -AIDE = 'Numero de version des bibliotheques utilisees par TELEMAC. -SUR UNE STATION DE TRAVAIL -5 versions sont donnees correspondant a : -TELEMAC,DAMO,UTILE,BIEF,HP' -AIDE1 = 'version number of the libraries used by TELEMAC. -ON A WORKSTATION -5 numbers are given, corresponding to the libraries called: -TELEMAC,DAMO,UTILE,BIEF,HP' - -NOM = 'TEMPS MACHINE CRAY' -NOM1 = 'CPU TIME' -TYPE = CARACTERE -INDEX = 13 -MNEMO = '' -DEFAUT = '10' -DEFAUT1 = '10' -NIVEAU = 2 -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -AIDE = 'Temps CPU (en secondes) alloue pour la realisation du calcul. -Attention; il s''agit bien d''une chaine de caracteres.' -AIDE1 = 'C.P.U. time (in seconds) allowed for making the computation. -Please note that this keyword is a string of characters.' - -NOM = 'PLACE MEMOIRE CRAY' -NOM1 = 'MEMORY SPACE' -TYPE = CARACTERE -INDEX = 14 -MNEMO = '' -TAILLE = 0 -DEFAUT = '1500000W' -DEFAUT1 = '1500000W' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Place memoire (en mots de 8 octets) reservee en machine pour la -realisation du calcul.' -AIDE1 = 'Storage capacity (in words of 8 bytes) reserved in machine for -making the computation.' - -NOM = 'FICHIER DES FONDS' -NOM1 = 'BOTTOM TOPOGRAPHY FILE' -TYPE = CARACTERE -INDEX = 15 -MNEMO = 'T2D_FILES(T2DFON)%NAME' -SUBMIT = 'T2DFON-READ-23;T2DFON;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Nom du fichier eventuel contenant la bathymetrie associee au -maillage. -Si ce mot-cle est utilise; c''est cette bathymetrie qui sera utilisee -pour le calcul.' -AIDE1 = 'Name of the possible file containing the bathymetric data. -Where this keyword is used, these bathymetric data shall be used in -the computation.' - -NOM = 'NUMERO DE COMPTE' -NOM1 = 'ACCOUNT NUMBER' -TYPE = CARACTERE -INDEX = 16 -MNEMO = ' ' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 2 -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -AIDE = 'Numero du compte calcul sur lequel sera impute le cout -du calcul.' -AIDE1 = 'Account number to which the cost of computation shall be -charged.' - -NOM = 'FICHIER DE DONNEES BINAIRE 1' -NOM1 = 'BINARY DATA FILE 1' -TYPE = CARACTERE -INDEX = 17 -MNEMO = 'T2D_FILES(T2DBI1)%NAME' -/WITH WAVE FORCING, IS A SELAFIN FILE -SUBMIT = 'T2DBI1-READ-24;T2DBI1;FACUL;BIN;LIT;SELAFIN' -/SUBMIT = 'NBI1-READ-24;T2DBI1;FACUL;BIN;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -APPARENCE = 'LISTE IS FICHIER' -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de donnees code en binaire mis a la disposition -de l''utilisateur. -Les donnees de ce fichier seront a lire sur le canal 24.' -AIDE1 = 'Binary-coded data file made available to the user. -The data in this file shall be read on channel 24.' - -NOM = 'FICHIER DE DONNEES BINAIRE 2' -NOM1 = 'BINARY DATA FILE 2' -TYPE = CARACTERE -INDEX = 18 -MNEMO = 'T2D_FILES(T2DBI2)%NAME' -TAILLE = 0 -SUBMIT = 'T2DBI2-READ-25;T2DBI2;FACUL;BIN;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de donnees code en binaire mis a la disposition -de l''utilisateur. -Les donnees de ce fichier seront a lire sur le canal 25.' -AIDE1 = 'Binary-coded data file made available to the user. -The data in this file shall be read on channel 25.' - -NOM = 'FICHIER DE DONNEES FORMATE 1' -NOM1 = 'FORMATTED DATA FILE 1' -TYPE = CARACTERE -INDEX = 19 -MNEMO = 'T2D_FILES(T2DFO1)%NAME' -SUBMIT = 'T2DFO1-READ-26;T2DFO1;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de donnees formate mis a la disposition de -l''utilisateur. -Les donnees de ce fichier seront a lire sur le canal 26.' -AIDE1 = 'Formatted data file made available to the user. -The data in this file shall be read on channel 26.' - -NOM = 'FICHIER DE DONNEES FORMATE 2' -NOM1 = 'FORMATTED DATA FILE 2' -TYPE = CARACTERE -INDEX = 20 -MNEMO = 'T2D_FILES(T2DFO2)%NAME' -SUBMIT = 'T2DFO2-READ-27;T2DFO2;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de donnees formate mis a la disposition de -l''utilisateur. -Les donnees de ce fichier seront a lire sur le canal 27.' -AIDE1 = 'Formatted data file made available to the user. -The data in this file shall be read on channel 27.' - -NOM = 'DESTINATION' -NOM1 = 'DESTINATION' -TYPE = CARACTERE -INDEX = 21 -MNEMO = '' -DEFAUT = 'CHE43A' -DEFAUT1 = 'CHE43A' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Nom eventuel d''une station de travail sur laquelle -l''utilisateur desire rediriger le fichier des resultats du calcul.' -AIDE1 = 'Possible name of a workstation to which the user wants -to reroute the result file.' - -NOM = 'USER SUR LA DESTINATION' -NOM1 = 'USER ON DESTINATION' -TYPE = CARACTERE -INDEX = 22 -MNEMO = '' -TAILLE = 0 -DEFAUT = 'JMH' -DEFAUT1 = 'JMH' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Nom de l''USER de l''utilisateur sur la station de travail -ou l''on desire rediriger le fichier de resultts.' -AIDE1 = 'User''s name of USER at the workstation onto which the -results file shall desirebly be rerouted.' - -NOM = 'NOMS DES VARIABLES CLANDESTINES' -NOM1 = 'NAMES OF CLANDESTINE VARIABLES' -TYPE = CARACTERE -INDEX = 23 -MNEMO = 'VARCLA' -TAILLE = 2 -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Noms de variables qui ne sont pas utilisees par TELEMAC; -mais qui doivent etre conservees lors de son execution. -Ceci peut etre utilise entre autres lors du couplage de TELEMAC -avec un autre code. -Les variables clandestines sont alors des variables propres a l''autre -code et sont rendues dans le fichier de resultats.' -AIDE1 = 'Names of variables that are not used by TELEMAC, but should be -preserved when it is being run. This keyword may be used, for instance -when it if TELEMAC is coupled with another code. Thus, the clandestine -variables belong to the other code and are given back in the results -file.' - - -NOM = 'FICHIER DE RESULTATS BINAIRE' -NOM1 = 'BINARY RESULTS FILE' -TYPE = CARACTERE -INDEX = 24 -MNEMO = 'T2D_FILES(T2DRBI)%NAME' -SUBMIT = 'T2DRBI-WRITE-28;T2DRBI;FACUL;BIN;ECR;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de resultats code en binaire mis a la disposition -de l''utilisateur. Les resultats a placer dans ce fichier seront a -ecrire sur le canal 28.' -AIDE1 = 'Additional binary-coded result file made available -to the user. The results to be entered into this file shall be written -on channel 28.' - -NOM = 'FICHIER DE RESULTATS FORMATE' -NOM1 = 'FORMATTED RESULTS FILE' -TYPE = CARACTERE -INDEX = 25 -MNEMO = 'T2D_FILES(T2DRFO)%NAME' -SUBMIT = 'T2DRFO-WRITE-29;T2DRFO;FACUL;ASC;ECR;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats formate mis a la disposition de -l''utilisateur. -Les resultats a placer dans ce fichier seront a ecrire sur -le canal 29.' -AIDE1 = 'Formatted file of results made available to the user. -The results to be entered into this file shall be written -on channel 29.' - -NOM = 'CONDITIONS INITIALES' -NOM1 = 'INITIAL CONDITIONS' -TYPE = CARACTERE -INDEX = 26 -MNEMO = 'CDTINI' -DEFAUT = 'COTE NULLE' -DEFAUT1 = 'ZERO ELEVATION' -NIVEAU = 1 -CHOIX = '"COTE NULLE"'; '"COTE CONSTANTE"'; -'"HAUTEUR NULLE"'; '"HAUTEUR CONSTANTE"'; '"PARTICULIERES"' ; -'"ALTIMETRIE SATELLITE TPXO"' -CHOIX1 = '"ZERO ELEVATION"'; '"CONSTANT ELEVATION"'; -'"ZERO DEPTH"'; '"CONSTANT DEPTH"'; '"SPECIAL"' ; -'"TPXO SATELLITE ALTIMETRY"' -RUBRIQUE = 'EQUATIONS, CONDITIONS INITIALES' -RUBRIQUE1 = 'EQUATIONS, INITIAL CONDITIONS' -AIDE = 'Permet de definir les conditions initiales sur -les hauteurs d''eau. -Les valeurs possibles sont : - - COTE NULLE. Initialise la cote de surface libre a 0. - Les hauteurs d''eau initiales sont alors retrouvees en - faisant la difference entre les cotes de surface libre - et du fond. - - COTE CONSTANTE .Initialise la cote de surface libre a la - valeur donnee par le mot-cle COTE INITIALE. Les hauteurs - d''eau initiales sont calculees comme precedemment. - - HAUTEUR NULLE .Initialise les hauteurs d''eau a 0. - - HAUTEUR CONSTANTE. Initialise les hauteurs d''eau a la valeur - donnee par le mot-cle HAUTEUR INITIALE. - - PARTICULIERES. Les conditions initiales sur la hauteur d''eau - doivent etre precisees dans le sous-programme CONDIN. - - ALTIMETRIE SATELLITE TPXO. Les conditions initiales sur la hauteur - d''eau et les vitesses sont etiblies sur la base des donnees - satellite TPXO dont les 8 premiers constistuents ont ete extrait - et sauves dans le fichier BASE DE DONNEES DE MAREE.' -AIDE1 = 'Makes it possible to define the initial conditions with -the water depth. -The possible values are as follows: - - ZERO ELEVATION-. Initializes the free surface elevation to 0. -The initial water depths are then found by computing the difference -between the free surface and the bottom. - - CONSTANT ELEVATION-. Initializes the water elevation to the value -given by the keyword -INITIAL ELEVATION-. The initial water depths -are computed as in the previous case. - - ZERO DEPTH-. Initializes the water depths to 0. - - CONSTANT DEPTH-. Initializes the water depths to the value given -by the key-word -INITIAL DEPTH-. - - SPECIAL-. The initial conditions with the water depth should be -stated in the CONDIN subroutine. - - TPXO SATELITE ALTIMETRY. The initial conditions on the free surface and -velocities are established from the TPXO satellite program data, the harmonic -constituents of which are stored in the TIDE DATA BASE file.' - -NOM = 'FORMAT DU FICHIER DE GEOMETRIE' -NOM1 = 'GEOMETRY FILE FORMAT' -TYPE = CARACTERE -INDEX = 27 -MNEMO = '????' -DEFAUT = 'SERAFIN ' -DEFAUT1 = 'SERAFIN ' -NIVEAU = 2 -CHOIX = 'SERAFIN ';'SERAFIND';'MED ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES' -AIDE = 'Format du fichier de geometrie. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5' -AIDE1 = 'Geometry file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5' - -NOM = 'FORMAT DU FICHIER DES RESULTATS' -NOM1 = 'RESULTS FILE FORMAT' -TYPE = CARACTERE -INDEX = 28 -MNEMO = '?????' -DEFAUT = 'SERAFIN ' -DEFAUT1 = 'SERAFIN ' -CHOIX = 'SERAFIN ';'SERAFIND';'MED ' -NIVEAU = 2 -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES' -AIDE = 'Format du fichier de resultats. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5' -AIDE1 = 'Results file format. Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5' - -NOM = 'FORMAT DU FICHIER DU CALCUL PRECEDENT' -NOM1 = 'PREVIOUS COMPUTATION FILE FORMAT' -TYPE = CARACTERE -INDEX = 29 -MNEMO = '?????' -DEFAUT = 'SERAFIN ' -DEFAUT1 = 'SERAFIN ' -CHOIX = 'SERAFIN ';'SERAFIND';'MED ' -NIVEAU = 2 -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES' -AIDE = 'Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5' -AIDE1 = 'Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5' - -NOM = 'BIBLIOTHEQUES' -NOM1 = 'LIBRARIES' -TYPE = CARACTERE -INDEX = 30 -MNEMO = '' -TAILLE = 0 -DEFAUT =' ' -DEFAUT1 =' ' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Obsolete' -AIDE1 = 'Obsolete' - -NOM = 'PRIORITE' -NOM1 = 'PRIORITY' -TYPE = CARACTERE -INDEX = 31 -MNEMO = '' -TAILLE = 0 -CHOIX = 'JOUR';'NUIT';'WEEK-END' -DEFAUT = 'JOUR' -DEFAUT1 = 'JOUR' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Utilise par la procedure de lancement sur station de travail' -AIDE1 = 'Utilise par la procedure de lancement sur station de travail' - - -NOM = 'SUITE DE CALCUL' -NOM1 = 'COMPUTATION CONTINUED' -TYPE = LOGIQUE -INDEX = 1 -MNEMO = 'DEBU' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Determine si le calcul en cours est independant de tout autre -resultat ou est une reprise effectuee a partir du resultat d''un calcul -precedent. -NON : Il s''agit du premier passage pour ce calcul et il est necessaire -de definir un jeu complet de conditions initiales -OUI : Il s''agit d''une reprise de calcul : -les conditions initiales sont constituees par le dernier pas de -temps du ''FICHIER DU CALCUL PRECEDENT'' du fichier des parametres -utilise pour soumettre le calcul. -Par contre, l''ensemble des donnees du fichier des parametres -peuvent etre redefinies ; ce qui offre la possibilite de changer -par exemple, le pas de temps, le modele de turbulence, le -frottement, d''ajouter ou retirer un traceur ... -De meme, il est necessaire de definir des conditions aux limites -(sous-programme BORD ou valeurs placees dans le fichier des -parametres), qui peuvent egalement etre modifiees.' -AIDE1 = 'Determines whether the computation under way is independent -result or is following an earlier result. -NO: It is the first run for this computation and a whole set of -initial conditions should be defined. -YES: It follows a former computation: -the initial conditions consist in the last time step of the -PREVIOUS COMPUTATION FILE in the steering file used for submitting -the computation. -All the data from the steering file may be defined once again, which -provides an opportunity to change, for example, the time step, -the turbulence model, the friction, to add or remove a tracer... -It is also possible to define new boundary conditions.' - -NOM = 'DIFFUSION DES TRACEURS' -NOM1 = 'DIFFUSION OF TRACERS' -TYPE = LOGIQUE -INDEX = 11 -MNEMO = 'DIFT' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 2 -AIDE = 'Prise en compte ou non de la diffusion du traceur passif.' -AIDE1 = 'The diffusion of the passive tracer is taken into account -or ignored.' - -NOM = 'SORTIE LISTING' -NOM1 = 'LISTING PRINTOUT' -TYPE = LOGIQUE -INDEX = 3 -MNEMO = 'LISTIN' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 1 -AIDE = 'Sortie des resultats sur support papier. -Si l''on met NON le listing ne contient que l''entete et la mention -FIN NORMALE DU PROGRAMME -Commande a eviter' -AIDE1 = 'Result printout on hard copy. -When NO is selected, the listing only includes the heading and the -phrase "NORMAL END OF PROGRAM" -In addition, the options MASS BALANCE and VALIDATION are inhibited. -Not recommended for use.' - -NOM = 'DIFFUSION DES VITESSES' -NOM1 = 'DIFFUSION OF VELOCITY' -TYPE = LOGIQUE -INDEX = 4 -MNEMO = 'DIFVIT' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'DIFFUSION DES VITESSES' -RUBRIQUE1 = 'EQUATIONS';'DIFFUSION OF VELOCITY' -COMPORT = -'Foreground ("EQUATIONS*DIFFUSION DES VITESSES") IS VALEUR (brown)' -NIVEAU = 2 -AIDE = 'Permet de decider si l''on prend ou non en compte la diffusion -des vitesses.' -AIDE1 = 'Makes it possible to decide whether the diffusion of velocity -(i.e. viscosity) is taken into account or not.' - -NOM = 'PRESSION ATMOSPHERIQUE' -NOM1 = 'AIR PRESSURE' -TYPE = LOGIQUE -INDEX = 5 -MNEMO = 'ATMOS' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'EQUATIONS';'PRESSION ATMOSPHERIQUE' -RUBRIQUE1 = 'EQUATIONS';'AIR PRESSURE' -COMPORT = -'Foreground ("EQUATIONS*PRESSION ATMOSPHERIQUE") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Permet de decider si l''on prend ou non en compte l''influence -d''un champ de pression.' -AIDE1 = 'Provided to decide whether the influence of an atmosphere field -is taken into account or not.' - -NOM = 'CONVECTION' -NOM1 = 'ADVECTION' -TYPE = LOGIQUE -INDEX = 6 -MNEMO = 'CONV' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'CONVECTION' -RUBRIQUE1 = 'EQUATIONS';'ADVECTION' -COMPORT = -'Foreground ("EQUATIONS*CONVECTION") IS VALEUR (brown)' -NIVEAU = 2 -AIDE = 'Prise en compte ou non des termes de convection. -En cas de reponse positive; -on peut encore supprimer certains termes de convection avec -les mots-cles CONVECTION DE ...' -AIDE1 = 'Are the advection terms taken into account or not? -If YES, some advection terms can still be deleted using the keywords --ADVECTION OF ..-' - -NOM = 'CONVECTION DE U ET V' -NOM1 = 'ADVECTION OF U AND V' -TYPE = LOGIQUE -INDEX = 7 -MNEMO = 'CONVV(1)' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'CONVECTION' -RUBRIQUE1 = 'EQUATIONS';'ADVECTION' -NIVEAU = 2 -AIDE = 'Prise en compte ou non de la convection de U et V.' -AIDE1= 'The advection of U and V is taken into account or ignored.' - -NOM = 'CONVECTION DE H' -NOM1 = 'ADVECTION OF H' -TYPE = LOGIQUE -INDEX = 8 -MNEMO = 'CONVV(2)' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'CONVECTION' -RUBRIQUE1 = 'EQUATIONS';'ADVECTION' -NIVEAU = 2 -AIDE = 'Prise en compte ou non de la convection de H. -Il s''agit en fait dans la version 2.0 de la convection de C' -AIDE1 = 'The advection of H is taken into account or ignored. -Actually, in version 2.0, the matter is about C advection.' - -NOM = 'CONVECTION DES TRACEURS' -NOM1 = 'ADVECTION OF TRACERS' -TYPE = LOGIQUE -INDEX = 9 -MNEMO = 'CONVV(3)' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'CONVECTION' -RUBRIQUE1 = 'EQUATIONS';'ADVECTION' -NIVEAU = 2 -AIDE = 'Prise en compte ou non de la convection du traceur passif.' -AIDE1 = 'The advection of the passive tracer is taken into account -or ignored.' - -NOM = 'CONVECTION DE K ET EPSILON' -NOM1 = 'ADVECTION OF K AND EPSILON' -TYPE = LOGIQUE -INDEX = 10 -MNEMO = 'CONVV(4)' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'MODELE DE TURBULENCE';'MODELE K-EPSILON' -RUBRIQUE1 = 'EQUATIONS';'TURBULENCE MODEL';'K-EPSILON MODEL' -NIVEAU = 2 -AIDE = 'Prise en compte ou non de la convection de k et epsilon.' -AIDE1 ='The k and epsilon advection is taken into account or ignored.' - -NOM = 'PROPAGATION' -NOM1 = 'PROPAGATION' -TYPE = LOGIQUE -INDEX = 12 -MNEMO = 'PROPA' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'EQUATIONS';'PROPAGATION' -RUBRIQUE1 = 'EQUATIONS';'PROPAGATION' -NIVEAU = 2 -AIDE = 'Prise en compte ou non de la propagation de la vitesse et de la -hauteur d''eau. -La diffusion etant contenue dans cette etape sera supprimee aussi.' -AIDE1 = 'Determines whether the propagation step is taken into account -or not. -The diffusion being included in that step will be deleted as well.' - -NOM = 'CORIOLIS' -NOM1 = CORIOLIS -TYPE = LOGIQUE -INDEX = 13 -MNEMO = 'CORIOL' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'EQUATIONS';'CORIOLIS' -RUBRIQUE1 = 'EQUATIONS';'CORIOLIS' -COMPORT = -'Foreground ("EQUATIONS*CORIOLIS") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Prise en compte ou non de la force de Coriolis.' -AIDE1 = 'The Coriolis force is taken into account or ignored.' - -NOM = 'INFORMATIONS SUR LE SOLVEUR' -NOM1 = 'INFORMATION ABOUT SOLVER' -TYPE = LOGIQUE -INDEX = 15 -MNEMO = 'INFOGR' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 2 -AIDE = 'Donne a chaque pas de temps le nombre d''iterations necessaires -a la convergence du solveur de l''etape de propagation.' -AIDE1 = 'if YES, prints the number of iterations that have been necessar -to get the solution of the linear system.' - -NOM = 'BILAN DE MASSE' -NOM1 = 'MASS-BALANCE' -TYPE = LOGIQUE -INDEX = 16 -MNEMO = 'BILMAS' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 1 -AIDE = 'Determine si l''on effectue ou non le bilan de masse -sur le domaine. -Cette procedure calcule a chaque pas de temps : - - les flux aux entrees et sorties du domaine; - - le flux global a travers l''ensemble des parois du domaine (liquides -ou solides) -- l''erreur relative sur la masse pour ce pas de temps. -En fin de listing, on trouve l''erreur relative sur la masse pour -l''ensemble du calcul. -Il ne s''agit que d''un calcul indicatif car il n''existe pas -d''expression compatible du debit en formulation c,u,v.' -AIDE1 = 'Determines whether a check of the mass-balance over -the domain is mader or not. -This procedures computes the following at each time step: -the domain inflows and outflows, -the overall flow across all the boundaries, -the relative error in the mass for that time step. -The relative error in the mass over the whole computation can be found -at the end of the listing.' - -NOM = 'CLIPPING DE H' -NOM1 = 'H CLIPPING' -TYPE = LOGIQUE -INDEX = 17 -MNEMO = 'CLIPH' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -AIDE = 'Determine si l''on desire ou non limiter par valeur inferieure -la hauteur d''eau H (dans le cas des bancs decouvrants par exemple).' -AIDE1 = 'Determines whether limiting the water depth H by a lower value -desirable or not. (for instance in the case of tidal flats) -This key-word may have an influence on mass conservation since -the truncation of depth is equivalent to adding mass.' - -NOM = 'COORDONNEES SPHERIQUES' -NOM1 = 'SPHERICAL COORDINATES' -TYPE = LOGIQUE -INDEX = 18 -MNEMO = 'SPHERI' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'EQUATIONS';'COORDONNEES SPHERIQUES' -RUBRIQUE1 = 'EQUATIONS';'SPHERICAL COORDINATES' -COMPORT = -'Foreground ("EQUATIONS*COORDONNEES SPHERIQUES") IS VALEUR (brown)' -NIVEAU = 1 -AIDE = 'Choix des coordonnees spheriques pour la realisation du calcul -( pour les grands domaines de calcul). -Attention : cette option est etroitement liee au maillage qui doit avoir -ete saisi sur une carte marine en projection de Mercator. -Il faut de plus relever sur la carte la LATITUDE DU POINT ORIGINE -(autre mot-cle) qui correspond dans le maillage a l''ordonnee y = 0.' -AIDE1 = 'Selection of spherical coordinates to perform the computation -(for large computation domains). -Warning: this option is closely related to the mesh that should have -been entered onto a nautical chart drawn as per Mercator projection -The LATITUDE OF ORIGIN POINT (another keyword), which corresponds to -ordinate y=0 in the mesh, must moreover be given.' - -NOM = 'PROPAGATION LINEARISEE' -NOM1 = 'LINEARIZED PROPAGATION' -TYPE = LOGIQUE -INDEX = 20 -MNEMO = 'PROLIN' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'EQUATIONS';'PROPAGATION' -RUBRIQUE1 = 'EQUATIONS';'PROPAGATION' -NIVEAU = 3 -AIDE = 'Permet de lineariser l''etape de propagation; -par exemple lors de la realisation de cas tests pour lesquels on dispose -d''une solution analytique dans le cas linearise.' -AIDE1 = 'Provided for linearizing the propagation step, e.g. when -performing test-cases for which an analytical solution in the linearized -case is available.' - -NOM = 'VALIDATION' -NOM1 = 'VALIDATION' -TYPE = LOGIQUE -INDEX = 21 -MNEMO = 'VALID' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Option utilisee principalement pour le dossier de validation. Le -fichier des resultats du calcul precedent est alors considere comme une -reference a laquelle on va comparer le calcul. La comparaison -est effectuee par le sous-programme VALIDA qui peut etre une comparaison -avec une solution exacte par exemple.' -AIDE1 = 'This option is primarily used for the validation documents. -The PREVIOUS COMPUTATION FILE is then considered as a -reference which the computation is going to be compared with. -The comparison is made by the subroutine VALIDA, which can be -modified as to -so as to include, for example,a comparison with an exact solution.' - -NOM = 'INFORMATIONS SUR LE MODELE K-EPSILON' -NOM1 = 'INFORMATION ABOUT K-EPSILON MODEL' -TYPE = LOGIQUE -INDEX = 22 -MNEMO = 'INFOKE' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'PARAMETRES NUMERIQUES, MODELE K-EPSILON' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, K-EPSILON MODEL' -NIVEAU = 2 -AIDE = 'Donne le nombre d''iterations du solveur de l''etape de -diffusion et termes sources du modele k-epsilon.' -AIDE1 = 'Gives the number of iterations of the solver in the diffusion -and source terms step of the k-epsilon model.' - -NOM = 'BANCS DECOUVRANTS' -NOM1 = 'TIDAL FLATS' -TYPE = LOGIQUE -INDEX = 24 -MNEMO = 'BANDEC' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'permet de supprimer les tests sur les bancs decouvrants, dans -les cas ou l''on est certain qu''il n''y en aura pas. -En cas de doute : oui' -AIDE1 = 'When no, the specific treatments for tidal flats are by-passed. -This spares time, but of course you must be sure that you have no -tidal flats' - -NOM = 'ARRET SI UN ETAT PERMANENT EST ATTEINT' -NOM1 = 'STOP IF A STEADY STATE IS REACHED' -TYPE = LOGIQUE -INDEX = 25 -MNEMO = 'STOPER' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'A UTILISER AVEC LE MOT-CLE : CRITERES D''ARRET' -AIDE1 = 'TO BE USED WITH THE KEY-WORD: STOP CRITERIA' - -NOM = 'ELEMENTS MASQUES PAR L''UTILISATEUR' -NOM1 = 'ELEMENTS MASKED BY USER' -TYPE = LOGIQUE -INDEX = 26 -MNEMO = 'MSKUSE' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'SI OUI REMPLIR LE SOUS-PROGRAMME MASKOB' -AIDE1 = 'IF YES REWRITE SUBROUTINE MASKOB' - -NOM = 'EFFETS DE DENSITE' -NOM1 = 'DENSITY EFFECTS' -TYPE = LOGIQUE -INDEX = 27 -MNEMO = 'ROVAR' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'PRISE EN COMPTE DU GRADIENT HORIZONTAL DE DENSITE - LE TRACEUR EST ALORS LA SALINITE' -AIDE1 = 'THE HORIZONTAL GRADIENT OF DENSITY IS TAKEN INTO ACCOUNT - THE TRACER IS THEN THE SALINITY' - -NOM = 'OPTION DE TRAITEMENT DES BANCS DECOUVRANTS' -NOM1 = 'OPTION FOR THE TREATMENT OF TIDAL FLATS' -TYPE = INTEGER -INDEX = 35 -MNEMO = 'OPTBAN' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Utilise si BANCS DECOUVRANTS est vrai -1 : EQUATIONS RESOLUES PARTOUT AVEC CORRECTION SUR LES BANCS DECOUVRANTS -2 : GEL DES ELEMENTS DECOUVRANTS -3 : COMME 1 MAIS AVEC POROSITE (METHODE DEFINA)' -AIDE1 = 'Used if TIDAL FLATS is true -1 : EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS -2 : DRY ELEMENTS FROZEN -3 : LIKE 1 BUT WITH POROSITY (DEFINA METHOD)' - -NOM = 'LONGUEUR DU VECTEUR' -NOM1 = 'VECTOR LENGTH' -TYPE = INTEGER -INDEX = 36 -MNEMO = 'LVMAC' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 3 -AIDE = 'LONGUEUR DU VECTEUR POUR LES MACHINES VECTORIELLES' -AIDE1 = 'VECTOR LENGTH ON VECTOR MACHINES' - -NOM = 'OPTION DE SUPG' -NOM1 = 'SUPG OPTION' -TYPE = INTEGER -INDEX = 37 -MNEMO = 'OPTSUP' -TAILLE = 4 -DEFAUT = 2;2;2;2 -DEFAUT1 = 2;2;2;2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '0:pas de decentrement SUPG 1:SUPG classique 2:SUPG modifiee -ces coefficients sont respectivement appliques a -1) U et V 2) H 3) T 4) K ET EPSILON ' -AIDE1 ='0:no upwinding 1: classical SUPG 2:modified SUPG -These coefficients are applied respectively to -1) U et V 2) H 3) T 4) K and EPSILON ' - -NOM = 'ORDRE DU TIR INITIAL POUR U' -NOM1 = 'INITIAL GUESS FOR U' -TYPE = INTEGER -INDEX = 38 -MNEMO = 'IORDRU' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '0=zero' ; '1=precedent'; '2=extrapolation' -CHOIX1 = '0=zero' ; '1=previous'; '2=extrapolation' -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 2 -AIDE = 'Tir initial du solveur de l''etape de propagation. -Offre la possibilite de modifier la valeur initiale de U, a chaque -iteration, dans l''etape de propagation en utilisant les valeurs -finales de cette variable aux pas de temps precedents. Ceci peut -permettre d''accelerer la vitesse de convergence lors de la resolution -du systeme. Trois possibilites sont offertes : - 0 : U = 0 - 1 : U = U(n) - 2 : U = 2 U(n)- U(n-1) (extrapolation)' -AIDE1 = 'Initial guess for the solver in the propagation step. -Makes it possible to modify the initial value of U, upon each -iteration in the propagation step, by using the ultimate values this -variable had in the earlier time steps. Thus, the convergence can be -speeded up when the system is being solved. 3 options are available: - 0 : U = 0 - 1 : U = U(n) - 2 : U = 2 U(n)- U(n-1) (extrapolation)' - -NOM = 'ENREGISTREMENT POUR SUITE DE CALCUL' -NOM1 = 'RECORD NUMBER FOR RESTART' -TYPE = ENTIER -INDEX = 39 -MNEMO = 'START_RECORD' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'En cas de suite de calcul, numero de l''enregistrement -de depart dans le fichier du calcul precedent. 0 signifie -qu''on prend le dernier enregistrement' -AIDE1 ='In case of COMPUTATION CONTINUED, record number to -start from in the PREVIOUS COMPUTATION FILE' - -NOM = 'MASSE VOLUMIQUE DE L''EAU' -NOM1 = 'WATER DENSITY' -TYPE = REEL -INDEX = 27 -MNEMO = 'ROEAU' -TAILLE = 0 -DEFAUT = 1000. -DEFAUT1 = 1000. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'Fixe la valeur de la masse volumique de l''eau.' -AIDE1 = 'set the value of water density' - -NOM = 'LATITUDE DU POINT ORIGINE' -NOM1 = 'LATITUDE OF ORIGIN POINT' -TYPE = REEL -INDEX = 28 -MNEMO = 'LAMBD0' -TAILLE = 0 -DEFAUT = 48. -DEFAUT1 = 48. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'Determine l''origine utilisee pour le calcul de latitudes -lorsque l''on effectue un calcul en coordonnees spheriques.' -AIDE1 = 'Determines the origin used for computing latitudes when -a computation is made in spherical coordinates. -this latitude is in particular used to compute the Coriolis force. -In cartesian coordinates, Coriolis coefficient is considered constant.' - -NOM = 'TEMPERATURE MOYENNE' -NOM1 = 'MEAN TEMPERATURE' -TYPE = REEL -INDEX = 42 -MNEMO = 'TREF' -CONTROLE = 0.; 100. -TAILLE = 0 -DEFAUT = 20. -DEFAUT1= 20. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'TEMPERATURE DE REFERENCE POUR LE CALCUL DES EFFETS DE DENSITE - A UTILISER AVEC LE MOT-CLE "EFFETS DE DENSITE"' -AIDE1 = 'REFERENCE TEMPERATURE FOR DENSITY EFFECTS - TO BE USED WITH THE KEY-WORD "DENSITY EFFECTS"' - -NOM = 'ACCELERATION DE LA PESANTEUR' -NOM1 = 'GRAVITY ACCELERATION' -TYPE = REEL -INDEX = 2 -MNEMO = 'GRAV' -TAILLE = 0 -DEFAUT = 9.81 -DEFAUT1 = 9.81 -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -COMPORT = -'Foreground ("CONSTANTES PHYSIQUES") IS VALEUR (yellow)' -NIVEAU = 1 -AIDE = 'Fixe la valeur de l''acceleration de la pesanteur.' -AIDE1 = 'Set the value of the acceleration due to gravity.' - -NOM = 'COEFFICIENT DE CORIOLIS' -NOM1 = 'CORIOLIS COEFFICIENT' -TYPE = REEL -INDEX = 5 -MNEMO = 'FCOR' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'Fixe la valeur du coefficient de la force de Coriolis. -Celui-ci doit etre calcule en fonction de la latitude l par la formule - FCOR = 2w sin(l) , w etant la vitesse de rotation de la terre. - w = 7.27 10-5 rad/s -Les composantes de la force de Coriolis sont alors : - FU = FCOR x V - FV = - FCOR x U' -AIDE1 = 'Sets the value of the Coriolis force coefficient, in cartesian -coordinates. -This coefficient, denoted FCOR in the code, should be equal to -2 w sin(l)d where w denotes the earth angular speed of rotation -and l the latitude. w = 7.27 10-5 rad/sec -The Coriolis force components are then: -FU = FCOR x V, -FV = -FCOR x U -In spherical coordinates, the latitudes are known' -/ -/ -/ -/ -/ NOUVEAUTES 3.1 -/ -/ -/ -/ -NOM = 'DISCRETISATIONS EN ESPACE' -NOM1 = 'DISCRETIZATIONS IN SPACE' -TYPE = ENTIER -INDEX = 16 -MNEMO = 'DISCRE' -TAILLE = 4 -DEFAUT = 11;11;11;11 -DEFAUT1 = 11;11;11;11 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 13 -AIDE = 'Choix de la discretisation pour chaque variable -ces coefficients sont respectivement appliques a -1) U et V 2) H 3) T 4) K ET EPSILON (NON PROGRAMME) -11 : lineaire -12 : quasi-bulle -13 : quadratique' -AIDE1 = 'Choice of space discretisation for every variable -These coefficients are applied respectively to -1) U and V 2) H 3) T 4) K and EPSILON (NOT IMPLEMENTED) -11: linear -12: quasi-bubble -13: quadratic' - -NOM = 'STOCKAGE DES MATRICES' -NOM1 = 'MATRIX STORAGE' -TYPE = ENTIER -INDEX = 40 -MNEMO = 'OPTASS' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -CHOIX = '1="EBE classique"'; -'3="Stockage par segments"' -CHOIX1 = '1="classical EBE"'; -'3="Edge-based storage"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '1 : EBE classique 3 : Stockage par segments' -AIDE1 = '1 : classical EBE 3 : Edge-based storage' - -NOM = 'COEFFICIENTS ADIMENSIONNELS DE DISPERSION' -NOM1 = 'NON-DIMENSIONAL DISPERSION COEFFICIENTS' -TYPE = REEL -INDEX = 47 -MNEMO = 'ELDER' -CONTROLE = 0 ; 10 -TAILLE = 2 -DEFAUT = 6. ; 0.6 -DEFAUT1= 6. ; 0.6 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'coefficients longitudinal et transversal dans la formule de -Elder. Utilises uniquement avec le modele de turbulence 2' -AIDE1 = 'Longitudinal and transversal coefficients in elder s formula. - Used only with turbulence model number 2' - -NOM = 'DICTIONNAIRE' -NOM1 = 'DICTIONARY' -TYPE = CARACTERE -INDEX = 100 -MNEMO = '' -SUBMIT = 'INUTILE;T2DDICO;OBLIG;ASC;LIT;DICO' -DEFAUT = 'telemac2d.dico' -DEFAUT1 = 'telemac2d.dico' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = -3 -AIDE ='Dictionnaire des mots cles.' -AIDE1 ='Key word dictionary.' - -NOM = 'DATE DE L''ORIGINE DES TEMPS' -NOM1 = 'ORIGINAL DATE OF TIME' -TYPE = INTEGER -INDEX = 41 -MNEMO = 'MARDAT' -TAILLE = 3 -DEFAUT = 1900;1;1 -DEFAUT1 = 1900;1;1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Permet de fixer la date d''origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.' -AIDE1 ='Give the date of the time origin of the model when taking into -account the tide generating force.' - -NOM = 'HEURE DE L''ORIGINE DES TEMPS' -NOM1 = 'ORIGINAL HOUR OF TIME' -TYPE = INTEGER -INDEX = 42 -MNEMO = 'MARTIM' -TAILLE = 3 -DEFAUT = 0;0;0 -DEFAUT1 = 0;0;0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Permet de fixer l''heure d''origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.' -AIDE1 ='Give the time of the time origin of the model when taking into -account of the tide generator force.' - -NOM = 'LONGITUDE DU POINT ORIGINE' -NOM1 = 'LONGITUDE OF ORIGIN POINT' -TYPE = REEL -INDEX = 48 -MNEMO = 'PHI0' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1= 0. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 2 -AIDE = 'Fixe la valeur de la longitude du point origine du modele, -lors de l''utilisation de la force generatrice de la maree.' -AIDE1 = 'Give the value of the longitude of the origin point -of the model, when taking into account of the tide generator force.' - -NOM = 'FORCE GENERATRICE DE LA MAREE' -NOM1 = 'TIDE GENERATING FORCE' -TYPE = LOGIQUE -INDEX = 28 -MNEMO = 'MAREE' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Active la prise en compte de la force generatrice de la maree' -AIDE1 = 'The tide generating force is taken into account. ' - -NOM = 'MASS-LUMPING SUR LES TRACEURS' -NOM1 = 'MASS-LUMPING ON TRACERS' -TYPE = REEL -INDEX = 49 -MNEMO = 'AGGLOT' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 2 -AIDE = 'Fixe le taux de mass-lumping effectue sur le traceur.' -AIDE1 = 'Sets the amount of mass-lumping that is performed on - the tracer.' - -NOM = 'CORRECTION DE CONTINUITE' -NOM1 = 'CONTINUITY CORRECTION' -TYPE = LOGIQUE -INDEX = 29 -MNEMO = 'CORCON' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Corrige les vitesses sur les points avec hauteur imposee ou -l''equation de continuite n''a pas ete resolue' -AIDE1 = 'Correction of the velocities on points with a prescribed -elevation, where the continuity equation has not been solved' - -/ NOUVEAUTES 3.2 - -NOM = 'REMISE A ZERO DU TEMPS' -NOM1 = 'INITIAL TIME SET TO ZERO' -TYPE = LOGIQUE -INDEX = 30 -MNEMO = 'RAZTIM' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Remet le temps a zero en cas de suite de calcul' -AIDE1 = 'Initial time set to zero in case of restart' - -NOM = 'PRODUIT MATRICE-VECTEUR' -NOM1 = 'MATRIX-VECTOR PRODUCT' -TYPE = ENTIER -INDEX = 43 -MNEMO = 'PRODUC' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '1 : classique 2 : frontal -attention, avec 2, il faut une numerotation speciale des points' -AIDE1 = '1 : classic 2 : frontal -beware, with option 2, a special numbering of points is required' - -NOM = 'SECTIONS DE CONTROLE' -NOM1 = 'CONTROL SECTIONS' -TYPE = INTEGER -INDEX = 44 -MNEMO = 'CTRLSC' -TAILLE = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Couples de points (numeros globaux dans le maillage) entre -lesquels les debits instantanes et cumules seront donnes.' -AIDE1 ='Couples of points (global numbers in the mesh) defining sections - where the instantaneous and cumulated discharges will be given' - - - -NOM = 'NOMBRE DE SEUILS' -NOM1 = 'NUMBER OF WEIRS' -TYPE = ENTIER -INDEX = 45 -MNEMO = 'NWEIRS' -CONTROLE = 0; 100 -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Nombre de seuils qui seront traites par des conditions aux -limites. Ces seuils doivent etre decrits comme des frontieres du -domaine de calcul, et leurs caracteristiques sont donnees dans le -fichier de donnees des seuils (voir la documentation ecrite)' -AIDE1 = 'Number of weirs that will be treated by boundary conditions. -They must be described as boundaries of the domain and their features -are given in the weir data file (see written documentation)' - -NOM = 'NOMBRE DE SIPHONS' -NOM1 = 'NUMBER OF CULVERTS' -TYPE = ENTIER -INDEX = 46 -MNEMO = 'NSIPH' -CONTROLE = 0; 100 -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Nombre de siphons traites comme des termes sources ou -puits. Ces siphons doivent etre decrits comme des sources dans le -fichier cas. Leurs caracteristiques sont donnees dans le -fichier de donnees des siphons (voir la documentation ecrite)' -AIDE1 = 'Number of culverts treated as source terms. -They must be described as sources in the domain and their features -are given in the culvert data file (see written documentation)' - -NOM = 'OPTION POUR LES FRONTIERES LIQUIDES' -NOM1 = 'OPTION FOR LIQUID BOUNDARIES' -TYPE = ENTIER -INDEX = 47 -MNEMO = 'FRTYPE' -CONTROLE = 1;2 -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, CONDITIONS LIMITES' -RUBRIQUE1 = 'EQUATIONS, BOUNDARY CONDITIONS' -NIVEAU = 1 -AIDE = 'On donne 1 entier par frontiere liquide - 1 : conditions aux limites classiques - 2 : methode de Thompson avec calcul de caracteristiques' -AIDE1 = 'One integer per liquid boundary is given - 1 : classical boundary conditions - 2 : Thompson method based on characteristics' - -NOM = 'BIBLIOTHEQUE PVM1' -NOM1 = 'PVM1 LIBRARY' -TYPE = CARACTERE -INDEX = 32 -MNEMO = '' -TAILLE = 0 -/CHOIX= '1="conditions aux limites classiques"'; -/ '2="methode de Thompson avec calcul de caracteristiques"' -/CHOIX1 = '1="classical boundary conditions"'; -/ '2="Thompson method based on characteristics"' -DEFAUT = ' ' -DEFAUT1 = ' ' -CHOIX = '" "="pas de biliotheque"'; -'"$PVM_ROOT/lib/$PVM_ARCH/libpvm3.a"="bibliotheque PVM1"' -CHOIX1 = '" "="no library"'; -'"$PVM_ROOT/lib/$PVM_ARCH/libpvm3.a"="PVM1 library"' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Utilise par la procedure de lancement sur station de travail' -AIDE1 = 'Utilise par la procedure de lancement sur station de travail' - - -NOM = 'BIBLIOTHEQUE PVM2' -NOM1 = 'PVM2 LIBRARY' -TYPE = CARACTERE -INDEX = 33 -MNEMO = '' -TAILLE = 0 -DEFAUT = ' ' -DEFAUT1 = ' ' -CHOIX = '" "="pas de biliotheque"'; -'"$PVM_ROOT/lib/$PVM_ARCH/libgpvm3.a"="bibliotheque PVM2"' -CHOIX1 = '" "="no library"'; -'"$PVM_ROOT/lib/$PVM_ARCH/libgpvm3.a"="PVM2 library"' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -NIVEAU = 2 -AIDE = 'Utilise par la procedure de lancement sur station de travail' -AIDE1 = 'Utilise par la procedure de lancement sur station de travail' - - -NOM = 'NOM DU CRAY' -NOM1 = 'CRAY NAME' -TYPE = CARACTERE -INDEX = 35 -DEFAUT = 'clcraya' -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'ENVIRONNEMENT' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATION ENVIRONMENT' -AIDE = '' -AIDE1 = '' - -/ NOUVEAUTES 4.0 - -NOM = 'PRECONDITIONNEMENT C-U' -NOM1 = 'C-U PRECONDITIONING' -TYPE = LOGIQUE -INDEX = 31 -MNEMO = 'PRECCU' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Changement de variable de H en C dans le systeme lineaire final' -AIDE1 = 'Change of variable from H to C in the final linear system' - -NOM = 'PAS DE TEMPS VARIABLE' -NOM1 = 'VARIABLE TIME-STEP' -TYPE = LOGIQUE -INDEX = 32 -MNEMO = 'DTVARI' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Pas de temps variable pour avoir un nombre de courant souhaite' -AIDE1 = 'Variable time-step to get a given Courant number' - -NOM = 'TRAITEMENT DU SYSTEME LINEAIRE' -NOM1 = 'TREATMENT OF THE LINEAR SYSTEM' -TYPE = ENTIER -INDEX = 48 -MNEMO = 'SOLSYS' -CONTROLE = 1;2 -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 =1 -CHOIX = '1="traitement couple"';'2="Equation d''onde"' -CHOIX1 = '1="coupled"';'2="Wave equation"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = '1 : Traitement couple 2 : equation d onde' -AIDE1 = '1 : Coupled 2 : wave equation' - -NOM = 'NOMBRE DE COURANT SOUHAITE' -NOM1 = 'DESIRED COURANT NUMBER' -TYPE = REEL -INDEX = 50 -MNEMO = 'CFLWTD' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1 = 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -NIVEAU = 2 -AIDE = 'Nombre de Courant souhaite en cas de pas de temps variable' -AIDE1 = 'Desired Courant number when VARIABLE TIME-STEP is set to YES' - -NOM = 'PROCESSEURS PARALLELES' -NOM1 = 'PARALLEL PROCESSORS' -TYPE = ENTIER -INDEX = 49 -MNEMO = 'NCSIZE' -CONTROLE = 0;256 -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'NOMBRE DE PROCESSEURS EN CALCUL PARALLELE -0 : 1 machine, compilation sans bibliotheque de parallelisme -1 : 1 machine, compilation avec bibliotheque de parallelisme -2 : 2 processeurs ou machines en parallele -etc... ' -AIDE1 = 'NUMBER OF PROCESSORS FOR PARALLEL PROCESSING -0 : 1 machine, compiling without parallel library -1 : 1 machine, compiling with a parallel library -2 : 2 processors or machines in parallel -etc....' - -NOM = 'EQUATIONS' -NOM1 = 'EQUATIONS' -TYPE = CARACTERE -INDEX = 36 -MNEMO = 'EQUA' -DEFAUT = 'SAINT-VENANT EF' -DEFAUT1 = 'SAINT-VENANT EF' -CHOIX = '"SAINT-VENANT EF"';'"SAINT-VENANT VF"';'"BOUSSINESQ"' -CHOIX1 = '"SAINT-VENANT EF"';'"SAINT-VENANT VF"';'"BOUSSINESQ"' -NIVEAU = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -AIDE = 'CHOIX DES EQUATIONS A RESOUDRE : SAINT-VENANT ELEMENTS FINIS, -SAINT-VENANT VOLUMES FINIS OU BOUSSINESQ 20 CARACTERES' -AIDE1 = 'CHOICE OF EQUATIONS TO SOLVE : SAINT-VENANT FINITE ELEMENTS, -SAINT-VENANT FINITE VOLUMES OR BOUSSINESQ 20 CHARACTERS' - -NOM = 'PROFILS DE VITESSE' -NOM1 = 'VELOCITY PROFILES' -TYPE = INTEGER -INDEX = 50 -MNEMO = 'PROVEL' -TAILLE = 2 -CHOIX='1="Profil normal constant"';'2="u et v dans le fichier - conlim"';'3="Vitesse normale donnee dans ubor dans le fichier - conlim"';'4="vitesse en racine carree de h"'; -'5="vitesse en racine carree de h, variante"' -CHOIX1='1="constant normal profile"';'2="u and v given in the - conlim file"';'3="normal velocity given in ubor in the conlim - file"';'4="velocity proportional to square root of depth"'; -'5="velocity proportional to square root of depth, variant"' -RUBRIQUE = 'EQUATIONS, CONDITIONS LIMITES' -RUBRIQUE1 = 'EQUATIONS, BOUNDARY CONDITIONS' -NIVEAU = 1 -AIDE = '1:profil normal constant - 2:u et v donnes dans le fichier conditions aux limites - 3:vitesse normale donnee dans ubor dans le fichier conlim - 4:profil en racine de la profondeur - 5:profil en racine de la profondeur, variante' -AIDE1= '1:constant normal profile - 2:u and v given in the boudary conditions file - 3:normal velocity given in ubor in the conlim file - 4:sqrt(depth) profile - 5:sqrt(depth) profile, variant' - -NOM = 'OPTION POUR LA DIFFUSION DES TRACEURS' -NOM1 = 'OPTION FOR THE DIFFUSION OF TRACERS' -TYPE = INTEGER -INDEX = 51 -MNEMO = 'OPDTRA' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="div( nu grad(T) )"'; -'2="1/h div ( h nu grad(T)"' -CHOIX1= '1="div( nu grad(T) )"'; -'2="1/h div ( h nu grad(T)"' -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 1 -AIDE = '1: Diffusion de la forme div( nu grad(T) ) - 2: Diffusion de la forme 1/h div ( h nu grad(T) )' -AIDE1= '1: Diffusion in the form div( nu grad(T) ) - 2: Diffusion in the form 1/h div ( h nu grad(T) )' - -NOM = 'OPTION POUR LA DIFFUSION DES VITESSES' -NOM1 = 'OPTION FOR THE DIFFUSION OF VELOCITIES' -TYPE = INTEGER -INDEX = 52 -MNEMO = 'OPDVIT' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="div( nu grad(U) )"'; -'2="1/h div ( h nu grad(U)"' -CHOIX1= '1="div( nu grad(U) )"'; -'2="1/h div ( h nu grad(U)"' -RUBRIQUE = 'PARAMETRES NUMERIQUES, VITESSE-CELERITE-HAUTEUR' -RUBRIQUE1 = 'NUMERICAL PARAMETERS, VELOCITY-CELERITY-HIGHT' -NIVEAU = 1 -AIDE = '1: Diffusion de la forme div( nu grad(U) ) - 2: Diffusion de la forme 1/h div ( h nu grad(U) )' -AIDE1= '1: Diffusion in the form div( nu grad(U) ) - 2: Diffusion in the form 1/h div ( h nu grad(U) )' - -NOM = 'TYPE DES SOURCES' -NOM1 = 'TYPE OF SOURCES' -TYPE = ENTIER -INDEX = 53 -MNEMO = 'OPTSOU' -CONTROLE = 1;2 -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 =1 -CHOIX = '1="Normal"';'2="Dirac"' -CHOIX1= '1="Normal"';'2="Dirac"' -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 2 -AIDE = '1: Source portee par une base elements finis - 2: Source portee par une fonction de Dirac' -AIDE1= '1: Source term multiplied by a finite element basis - 2: Source term multiplied by a Dirac function' - -/ NOUVEAUTES 5.0 - -NOM = 'NOMBRE DE TABLEAUX PRIVES' -NOM1 = 'NUMBER OF PRIVATE ARRAYS' -TYPE = ENTIER -INDEX = 54 -MNEMO = 'NPRIV' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Nombre de tableaux mis a disposition de l utilisateur' -AIDE1 = 'Number of arrays for own user programming' - -NOM = 'LANGUE' -NOM1 = 'LANGUAGE' -TYPE = ENTIER -INDEX = 55 -MNEMO = 'LNG' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 2 -CHOIX = '1="FRANCAIS"';'2="ANGLAIS"' -CHOIX1 = '1="FRANCAIS"';'2="ANGLAIS"' -RUBRIQUE = 'GENERAL' -RUBRIQUE1 = 'GENERAL' -NIVEAU = 1 -AIDE = '1 : FRANCAIS 2 : ANGLAIS' -AIDE1 = '1: FRENCH 2: ENGLISH' - -NOM = 'FICHIER DE REFERENCE' -NOM1 = 'REFERENCE FILE' -TYPE = CARACTERE -INDEX = 37 -MNEMO = 'T2D_FILES(T2DREF)%NAME' -SUBMIT = 'T2DREF-READ-22;T2DREF;FACUL;BIN;LIT;SELAFIN' -DEFAUT = ' ' -DEFAUT1 = ' ' -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de resultats de reference pour la validation. Les resultats a placer dans ce fichier seront a -ecrire sur le canal 22.' -AIDE1 = 'Binary-coded result file for validation. The results to be entered into this file shall be written -on channel 22.' - -NOM = 'FICHIER DES FRONTIERES LIQUIDES' -NOM1 = 'LIQUID BOUNDARIES FILE' -TYPE = CARACTERE -INDEX = 38 -MNEMO = 'T2D_FILES(T2DIMP)%NAME' -SUBMIT = 'T2DIMP-READ-12;T2DIMP;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de variations en temps des conditions aux limites. -Les donnees de ce fichier seront a lire sur le canal 12.' -AIDE1 = 'Variations in time of boundary conditions. Data of this file are read -on channel 12.' - -NOM = 'COURANTS DE HOULE' -NOM1 = 'WAVE DRIVEN CURRENTS' -TYPE = LOGIQUE -INDEX = 33 -MNEMO = 'COUROU' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Active la prise en compte des courants de houle' -AIDE1 = 'Wave driven currents are taken into account. ' - -NOM = 'NUMERO DE L''ENREGISTREMENT DANS LE FICHIER DE HOULE' -NOM1 = 'RECORD NUMBER IN WAVE FILE' -TYPE = ENTIER -INDEX = 56 -MNEMO = 'NPTH' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Numero d enregistrement dans le fichier des courants de houle' -AIDE1 = 'Record number to read in the wave driven currents file' - -/ NOUVEAUTES 5.1 - -NOM = 'STRUCTURES VERTICALES' -NOM1 = 'VERTICAL STRUCTURES' -TYPE = LOGIQUE -INDEX = 34 -MNEMO = 'VERTIC' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Prise en compte de la force de trainee de structures verticales -(il faut alors remplir la subroutine DRAGFO)' -AIDE1 = 'drag forces from vertical structures are taken into account. -(subroutine DRAGFO must then be implemented) ' - -NOM = 'SORTIE DES CONDITIONS INITIALES' -NOM1 = 'OUTPUT OF INITIAL CONDITIONS' -TYPE = LOGIQUE -INDEX = 35 -MNEMO = 'OUTINI' -TAILLE = 0 -DEFAUT = OUI -DEFAUT1 = YES -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Si OUI, impression des conditions initiales dans les resultats' -AIDE1 = 'If YES, output of initial conditions in the results' - -/ NOUVEAUTES 5.2 - -NOM = 'DOSSIER DE COUPLAGE' -NOM1 = 'COUPLING DIRECTORY' -TYPE = CARACTERE -INDEX = 39 -MNEMO = 'DOSSIER_COUPLAGE' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Nom complet du dossier d echange des fichiers - pour couplage de codes' -AIDE1 = 'Name with full path of the directory where the files will - be exchanged for coupling' - -NOM = 'COUPLAGE AVEC' -NOM1 = 'COUPLING WITH' -TYPE = CARACTERE -INDEX = 40 -MNEMO = 'COUPLING, IN BIEF' -DEFAUT = ' ' -DEFAUT1 = ' ' -CHOIX = '"SISYPHE"';'"TOMAWAC"';'"DELWAQ"' -CHOIX1 = '"SISYPHE"';'"TOMAWAC"';'"DELWAQ"' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Liste des codes avec lesquels on couple Telemac-2D - SISYPHE : couplage interne avec Sisyphe - TOMAWAC : couplage interne avec Tomawac - DELWAQ : sortie de fichiers de resultats pour Delwaq' -AIDE1 = 'List of codes to be coupled with Telemac-2D - SISYPHE : internal coupling with Sisyphe - TOMAWAC : internal coupling with Tomawac - DELWAQ: will yield results file for Delwaq' - -NOM = 'ESTIMATION DE PARAMETRE' -NOM1 = 'PARAMETER ESTIMATION' -TYPE = CARACTERE -INDEX = 60 -MNEMO = 'ESTIME' -DEFAUT = ' ' -DEFAUT1 = ' ' -CHOIX = '"FROTTEMENT"';'"FROTTEMENT, PERMANENT"' -CHOIX1 = '"FRICTION"';'"FROTTEMENT, STEADY"' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Liste des parametres a estimer, choix : FROTTEMENT - ou FROTTEMENT, PERMANENT' -AIDE1 = 'List of parameter to be estimated, choice : FRICTION - or FRICTION, STEADY' - -NOM = 'DEFINITION DE ZONES' -NOM1 = 'DEFINITION OF ZONES' -TYPE = LOGIQUE -INDEX = 36 -MNEMO = 'DEFZON' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Declenche l''appel a def_zones, pour donner - un numero de zone a chaque point' -AIDE1 = 'Triggers the call to def_zones - to give a zone number to every point' - -NOM = 'METHODE D''IDENTIFICATION' -NOM1 = 'IDENTIFICATION METHOD' -TYPE = ENTIER -INDEX = 57 -MNEMO = 'OPTID' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '0="plan d''experience"'; -'1="gradient simple"'; -'2="gradient conj"'; -'3="interp. de Lagrange"' -CHOIX1 = '0="list of tests"'; -'1="gradient simple"'; -'2="conj gradient"'; -'3="Lagrange interp."' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '0 : plan d''experience 1 : gradient simple - 2 : gradient conj. 3 : interp. de Lagrange' -AIDE1 = '0 : list of tests 1: gradient - 2 : conj. gradient 3 : lagrange interp.' - -NOM = 'PERIODES D''ANALYSE DE FOURIER' -NOM1 = 'FOURIER ANALYSIS PERIODS' -TYPE = REEL -INDEX = 51 -MNEMO = 'PERIAF' -TAILLE = 2 -RUBRIQUE = 'EQUATIONS, SOURCES' -RUBRIQUE1 = 'EQUATIONS, SOURCE TERMS' -NIVEAU = 1 -AIDE = 'Liste des periodes que l''on veut analyser' -AIDE1 = 'List of periods to be analysed' - -NOM = 'LISTE DE POINTS' -NOM1 = 'LIST OF POINTS' -TYPE = INTEGER -INDEX = 58 -MNEMO = 'LIST_PTS' -TAILLE = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Liste de points remarquables pour les impressions' -AIDE1= 'List of remarkable points for printouts' - -NOM = 'NOMS DES POINTS' -NOM1 = 'NAMES OF POINTS' -TYPE = CARACTERE -INDEX = 61 -MNEMO = 'NAME_PTS' -TAILLE = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Noms des points remarquables pour les impressions' -AIDE1= 'Names of remarkable points for printouts' - -NOM = 'FONCTION COUT' -NOM1 = 'COST FUNCTION' -TYPE = ENTIER -INDEX = 59 -MNEMO = 'OPTCOST' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '1 : calculee sur h, u , v 2 : calculee avec c, u , v' -AIDE1 = '1: computed with h, u , v 2: computed with c, u , v' - -NOM = 'MAXIMUM D''ITERATIONS POUR L''IDENTIFICATION' -NOM1 = 'MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION' -TYPE = ENTIER -INDEX = 60 -MNEMO = 'MAXEST' -TAILLE = 0 -DEFAUT = 20 -DEFAUT1 = 20 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'chaque iteration comprend au moins un - calcul direct et un calcul adjoint' -AIDE1 = 'every iteration implies at least a direct and - an adjoint computation' - -NOM = 'PERIODE DE COUPLAGE POUR SISYPHE' -NOM1 = 'COUPLING PERIOD FOR SISYPHE' -TYPE = ENTIER -INDEX = 61 -MNEMO = 'PERCOU' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'pour eviter de faire le couplage a chaque pas de temps' -AIDE1 = 'to avoid coupling at every time-step' - -NOM = 'PRECISIONS POUR L''IDENTIFICATION' -NOM1 = 'TOLERANCES FOR IDENTIFICATION' -TYPE = REEL -INDEX = 52 -MNEMO = 'TOLEST' -TAILLE = 4 -DEFAUT = 1.E-3;1.E-3;1.E-3;1.E-4 -DEFAUT1 = 1.E-3;1.E-3;1.E-3;1.E-4 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '4 nombres : precision absolue sur H, U, V, - et precision relative sur la fonction cout' -AIDE1 = '4 numbers: absolute precision on H, U V, - and relative precision on the cost function' -/ -/ NOUVEAUTES 5.3 -/ -NOM = 'SCHEMA EN VOLUMES FINIS' -NOM1 = 'FINITE VOLUME SCHEME' -TYPE = ENTIER -INDEX = 62 -MNEMO = 'OPTVF' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '0="schema de Roe"'; -'1="schéma cinetique ordre 1"'; -'2="schéma cinetique ordre 2"' ; -'3="schéma Zokagoa ordre 1"'; -'4="schéma Tchamen ordre 1"'; -'5="schéma HLLC ordre 1"'; -'6="schéma WAF ordre 2"' -CHOIX1 = '0="Roe scheme"'; -'1="kinetic order 1"'; -'2="kinetic order 2"'; -'3="Zokagoa scheme order 1"'; -'4="Tchamen scheme order 1"'; -'5="HLLC scheme order 1"'; -'6="WAF scheme order 2"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '0 : schema de Roe 1 : cinetique ordre 1 2 : cinetique ordre 2 -3 : schema de Zokagoa 4 : schema de Tchamen 5 : HLLC ordre 1 -6 : WAF ordre 2' -AIDE1 = '0: Roe scheme 1: kinetic order 1 2: kinetic order 2 -3 : Zokagoa scheme 4 : Tchamen scheme 5 : HLLC order 1 -6 : WAF order 2' -/ -/ NOUVEAUTES 5.4 -/ -NOM = 'FICHIER DES PARAMETRES DE SISYPHE' -NOM1 = 'SISYPHE STEERING FILE' -TYPE = CARACTERE -INDEX = 62 -MNEMO = 'PAS DE MNEMO' -DEFAUT = ' ' -DEFAUT1 = ' ' -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier des parametres de Sisyphe en cas de couplage interne' -AIDE1 = 'Sisyphe parameter file in case of internal coupling' -/ -/ NOUVEAUTES 5.5 -/ -NOM = 'DONNEES POUR LE FROTTEMENT' -NOM1 = 'FRICTION DATA' -TYPE = LOGIQUE -INDEX = 37 -MNEMO = 'FRICTB' -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'Lois de frottements definies par zone' -AIDE1 = 'Friction law defined by area' - -NOM = 'NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT' -NOM1 = 'MAXIMUM NUMBER OF FRICTION DOMAINS' -TYPE = INTEGER -INDEX = 63 -MNEMO = 'NZONMX' -DEFAUT = 10 -DEFAUT1 = 10 -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'nombre maximal de zones pouvant etre definies pour le -frottement. Peut etre augmente si necessaire' -AIDE1 = 'maximal number of zones defined for the friction. -Could be increased if needed' - -NOM = 'FICHIER DE DONNEES POUR LE FROTTEMENT' -NOM1 = 'FRICTION DATA FILE' -TYPE = CARACTERE -INDEX = 63 -MNEMO = 'T2D_FILES(T2DCOF)%NAME' -SUBMIT = 'T2DCOF-READ-35;T2DCOF;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'fichier de donnees pour le frottement' -AIDE1 = 'friction data file' - -NOM = 'VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE' -NOM1 = 'MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW' -TYPE = REEL -INDEX = 53 -MNEMO = 'NDEF' -DEFAUT = 0.02 -DEFAUT1 = 0.02 -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'valeur par defaut du manning pour la loi de frottement de -Colebrook-White (loi numero 7)' -AIDE1 = 'Manning default value for the friction law of Colebrook-White -(law number 7)' - -NOM = 'FROTTEMENT POUR LA VEGETATION NON SUBMERGEE' -NOM1 = 'NON-SUBMERGED VEGETATION FRICTION' -TYPE = LOGIQUE -INDEX = 38 -MNEMO = 'LINDNER' -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'calcul du frottement du a la vegetation non submergee' -AIDE1 = 'friction calculation of the non-submerged vegetation' - -NOM = 'DIAMETRE DES ELEMENTS DE FROTTEMENT' -NOM1 = 'DIAMETER OF ROUGHNESS ELEMENTS' -TYPE = REEL -INDEX = 54 -MNEMO = 'DP' -DEFAUT = 0.006 -DEFAUT1 = 0.006 -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'diametre des elements de frottements' -AIDE1 = 'diameter of roughness element' - -NOM = 'ESPACEMENT DES ELEMENTS DE FROTTEMENT' -NOM1 = 'SPACING OF ROUGHNESS ELEMENTS' -TYPE = REEL -INDEX = 55 -MNEMO = 'SP' -DEFAUT = 0.14 -DEFAUT1 = 0.14 -NIVEAU = 1 -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -AIDE = 'espacement des elements de frottement' -AIDE1 = 'spacing of rouhness element' - -NOM = 'IMPRESSION DU CUMUL DES FLUX' -NOM1 = 'PRINTING CUMULATED FLOWRATES' -TYPE = LOGIQUE -INDEX = 39 -MNEMO = 'CUMFLO' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -NIVEAU = 1 -AIDE = 'IMPRESSION DU FLUX CUMULE A TRAVERS LES SECTIONS DE CONTROLE' -AIDE1 = 'PRINTING THE CUMULATED FLOWRATES THROUGH CONTROL SECTIONS' - -NOM = 'CALCUL COMPATIBLE DES FLUX' -NOM1 = 'COMPATIBLE COMPUTATION OF FLUXES' -TYPE = LOGIQUE -INDEX = 40 -MNEMO = 'COMFLU' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'FLUX A TRAVERS LES SECTIONS DE CONTROLE, CALCUL COMPATIBLE -AVEC L''IMPERMEABILITE SOUS FORME FAIBLE' -AIDE1 = 'FLOWRATES THROUGH CONTROL SECTIONS, COMPUTATION COMPATIBLE -WITH THE WEAK FORMULATION OF NO-FLUX BOUNDARY CONDITION' -/ -/ NOUVEAUTES 5.6 -/ -NOM = 'PROFONDEUR LIMITE POUR LE VENT' -NOM1 = 'THRESHOLD DEPTH FOR WIND' -TYPE = REEL -INDEX = 56 -MNEMO = 'HWIND' -DEFAUT = 1. -DEFAUT1 = 1. -NIVEAU = 1 -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -AIDE = 'Retire la force due au vent dans les petites profondeurs' -AIDE1 = 'Wind is not taken into account for small depths' -/ -NOM = 'SEUIL POUR LES PROFONDEURS NEGATIVES' -NOM1 = 'THRESHOLD FOR NEGATIVE DEPTHS' -TYPE = REEL -INDEX = 57 -MNEMO = 'HNEG' -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'CONSTANTES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL CONSTANTS' -NIVEAU = 1 -AIDE = 'En dessous du seuil, les hauteurs negatives sont lissees' -AIDE1 = 'Below the threshold the negative depths are smoothed' -/ -/ FOR COMPATIBILITY WITH TELEMAC-3D -/ SEE TREATMENT IN LECDON_TELEMAC2D -/ -NOM = 'PERIODE POUR LES SORTIES LISTING' -NOM1 = 'LISTING PRINTOUT PERIOD' -TYPE = INTEGER -INDEX = 64 -MNEMO = 'LISPRD' -DEFAUT = 1 -DEFAUT1 = 1 -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -AIDE = 'Determine la periode en nombre de pas de temps d''impression -des ''VARIABLES A IMPRIMER'' (voir ce mot-cle) Pour la mise au point, -il faut savoir que la sortie des resultats est effectuee -systematiquement sur le fichier de retour d''execution du code -(actuellement accessible par le menu 3.f de SPF sur IBM, et dans -le fichier !CAS.SORTIE sur station de travail)' -AIDE1 = 'Determines, in number of time steps, the printout period of -the VARIABLES TO BE PRINTED -The results are systematically printed out on the listing file -(file CAS.SORTIE at the workstation).' -/ -/ -NOM = 'COORDONNEES DE L''ORIGINE' -NOM1 = 'ORIGIN COORDINATES' -TYPE = ENTIER -INDEX = 65 -MNEMO = 'I_ORIG,J_ORIG' -TAILLE = 2 -DEFAUT = 0;0 -DEFAUT1 = 0;0 -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CONTROLE' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'CONTROL' -NIVEAU = 2 -AIDE = 'Valeur en metres, utilise pour eviter les trops grands nombres, transmis -dans le format Selafin mais pas d''autre traitement pour l''instant' -AIDE1 = 'Value in metres, used to avoid large real numbers, -added in Selafin format, but so far no other treatment' -/ -/ NOUVEAUTES 5.7 -/ -NOM = 'PERIODE DE SORTIE POUR DELWAQ' -NOM1 = 'DELWAQ PRINTOUT PERIOD' -TYPE = ENTIER -INDEX = 66 -MNEMO = 'WAQPRD' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CONTROLE' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'CONTROL' -NIVEAU = 2 -AIDE = 'Periode de sortie des resultats pour Delwaq' -AIDE1 = 'Printout period for Delwaq file' -/ -NOM = 'FICHIER DELWAQ DES VOLUMES' -NOM1 = 'VOLUMES DELWAQ FILE' -TYPE = CARACTERE -INDEX = 64 -MNEMO = 'T2D_FILES(T2DSOU)%NAME' -SUBMIT = 'T2DDL1-WRITE-36;T2DDL1;FACUL;BIN;ECR;DELWAQPTS' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DES SURFACES DE FLUX' -NOM1 = 'EXCHANGE AREAS DELWAQ FILE' -TYPE = CARACTERE -INDEX = 65 -MNEMO = 'T2D_FILES(T2DDL2)%NAME' -SUBMIT = 'T2DDL2-WRITE-37;T2DDL2;FACUL;BIN;ECR;DELWAQSEG' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DES FLUX VERTICAUX' -NOM1 = 'VERTICAL FLUXES DELWAQ FILE' -TYPE = CARACTERE -INDEX = 66 -MNEMO = 'T2D_FILES(T2DDL3)%NAME' -SUBMIT = 'T2DDL3-WRITE-38;T2DDL3;FACUL;BIN;ECR;DELWAQSEG' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DE LA SALINITE' -NOM1 = 'SALINITY DELWAQ FILE' -TYPE = CARACTERE -INDEX = 67 -MNEMO = 'T2D_FILES(T2DDL4)%NAME' -SUBMIT = 'T2DDL4-WRITE-39;T2DDL4;FACUL;BIN;ECR;DELWAQPTS' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DES SURFACES DU FOND' -NOM1 = 'BOTTOM SURFACES DELWAQ FILE' -TYPE = CARACTERE -INDEX = 68 -MNEMO = 'T2D_FILES(T2DDL5)%NAME' -SUBMIT = 'T2DDL5-WRITE-40;T2DDL5;FACUL;BIN;ECR;DELWAQMET' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS' -NOM1 = 'EXCHANGES BETWEEN NODES DELWAQ FILE' -TYPE = CARACTERE -INDEX = 69 -MNEMO = 'T2D_FILES(T2DDL6)%NAME' -SUBMIT = 'T2DDL6-WRITE-41;T2DDL6;FACUL;BIN;ECR;DELWAQMET' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS' -NOM1 = 'NODES DISTANCES DELWAQ FILE' -TYPE = CARACTERE -INDEX = 70 -MNEMO = 'T2D_FILES(T2DDL7)%NAME' -SUBMIT = 'T2DDL7-WRITE-42;T2DDL7;FACUL;BIN;ECR;DELWAQMET' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DE LA TEMPERATURE' -NOM1 = 'TEMPERATURE DELWAQ FILE' -TYPE = CARACTERE -INDEX = 72 -MNEMO = 'T2D_FILES(T2DDL8)%NAME' -SUBMIT = 'T2DDL8-WRITE-43;T2DDL8;FACUL;BIN;ECR;DELWAQPTS' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DE LA VITESSE' -NOM1 = 'VELOCITY DELWAQ FILE' -TYPE = CARACTERE -INDEX = 76 -MNEMO = 'T2D_FILES(T2DDL9)%NAME' -SUBMIT = 'T2DDL9-WRITE-33;T2DDL9;FACUL;BIN;ECR;DELWAQPTS' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DELWAQ DE LA DIFFUSION' -NOM1 = 'DIFFUSIVITY DELWAQ FILE' -TYPE = CARACTERE -INDEX = 77 -MNEMO = 'T2D_FILES(T2DL10)%NAME' -SUBMIT = 'T2DL10-WRITE-34;T2DL10;FACUL;BIN;ECR;DELWAQPTS' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'FICHIER DE COMMANDE DELWAQ' -NOM1 = 'DELWAQ STEERING FILE' -TYPE = CARACTERE -INDEX = 71 -MNEMO = 'T2D_FILES(T2DL11)%NAME' -SUBMIT = 'T2DL11-WRITE-44;T2DL11;FACUL;ASC;ECR;DELWAQHYD' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier de resultats pour le couplage avec Delwaq' -AIDE1 = 'Results file for coupling with Delwaq' -/ -NOM = 'COMPATIBILITE DU GRADIENT DE SURFACE LIBRE' -NOM1 = 'FREE SURFACE GRADIENT COMPATIBILITY' -TYPE = REEL -INDEX = 58 -MNEMO = 'TETAZCOMP' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1= 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -NIVEAU = 1 -AIDE = 'Des valeurs inferieures a 1 suppriment les oscillations -parasites' -AIDE1 = 'Values less than 1 suppress spurious oscillations' -/ -NOM = 'BORNES EN TEMPS POUR L''ANALYSE DE FOURIER' -NOM1 = 'TIME RANGE FOR FOURIER ANALYSIS' -TYPE = REEL -INDEX = 59 -MNEMO = 'TAFBGN,TAFEND' -TAILLE = 2 -DEFAUT = 0.;0. -DEFAUT1= 0.;0. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -NIVEAU = 1 -AIDE = 'Pour le calcul du marnage et de la phase de la maree' -AIDE1 = 'For computing tidal range and phase of tide' -/ -/ NOUVEAUTES 5.8 (SAUF DEUX FICHIERS POUR DELWAQ MIS CI-DESSUS) -/ -NOM = 'NOMBRE DE TRACEURS' -NOM1 = 'NUMBER OF TRACERS' -TYPE = ENTIER -INDEX = 67 -MNEMO = 'NTRAC' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'EQUATIONS, TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER' -NIVEAU = 1 -/COMPORT = 'Affichage ("EQUATIONS*TRACEUR*OPTIONS TRACEUR") -/IS VALEUR ()'; -/'Foreground ("EQUATIONS*TRACEUR") IS VALEUR (brown)' -AIDE = 'Definit le nombre de traceurs.' -AIDE1 = 'Defines the number of tracers' -/ -NOM = 'NOMS DES TRACEURS' -NOM1 = 'NAMES OF TRACERS' -TYPE = CARACTERE -INDEX = 74 -MNEMO = 'NAMETRAC' -TAILLE = 2 -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -COMPORT = -'Foreground ("ENTREES-SORTIES, FICHIERS*NOMS") -IS BRUT (red)' -AIDE = 'Noms des traceurs en 32 caracteres, 16 pour le nom - 16 pour l''unite' -AIDE1 = 'Name of tracers in 32 characters, 16 for the name, - 16 for the unit.' -/ -NOM = 'SALINITE POUR DELWAQ' -NOM1 = 'SALINITY FOR DELWAQ' -TYPE = LOGIQUE -INDEX = 41 -MNEMO = 'SALI_DEL' -DEFAUT = NON -DEFAUT1 = NO -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -AIDE = 'Decide de la sortie de la salinite pour Delwaq' -AIDE1 = 'Triggers output of salinity for Delwaq' -/ -NOM = 'TEMPERATURE POUR DELWAQ' -NOM1 = 'TEMPERATURE FOR DELWAQ' -TYPE = LOGIQUE -INDEX = 42 -MNEMO = 'TEMP_DEL' -DEFAUT = NON -DEFAUT1 = NO -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -AIDE = 'Decide de la sortie de la temperature pour Delwaq' -AIDE1 = 'Triggers output of temperature for Delwaq' -/ -NOM = 'VITESSE POUR DELWAQ' -NOM1 = 'VELOCITY FOR DELWAQ' -TYPE = LOGIQUE -INDEX = 43 -MNEMO = 'VELO_DEL' -DEFAUT = NON -DEFAUT1 = NO -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -AIDE = 'Decide de la sortie de la vitesse pour Delwaq' -AIDE1 = 'Triggers output of velocity for Delwaq' -/ -NOM = 'DIFFUSION POUR DELWAQ' -NOM1 = 'DIFFUSIVITY FOR DELWAQ' -TYPE = LOGIQUE -INDEX = 44 -MNEMO = 'DIFF_DEL' -DEFAUT = NON -DEFAUT1 = NO -NIVEAU = 1 -RUBRIQUE = 'ENTREES-SORTIES, GRAPHIQUES ET LISTING' -RUBRIQUE1 = 'INPUT-OUTPUT, GRAPHICS AND LISTING' -AIDE = 'Decide de la sortie du coefficient de diffusion pour Delwaq' -AIDE1 = 'Triggers output of diffusion for Delwaq' -/ -/ NOUVEAUTES 5.9 -/ -NOM = 'COURBES DE TARAGE' -NOM1 = 'STAGE-DISCHARGE CURVES' -TYPE = ENTIER -INDEX = 68 -MNEMO = 'STA_DIS_CURVES' -TAILLE = 2 -CHOIX = '0="non"';'1="Z(Q)"';'non programme 2="Q(Z)"' -CHOIX1 = '0="no"';'1="Z(Q)"';'not programmed 2="Q(Z)"' -RUBRIQUE = 'CONDITIONS LIMITES' -RUBRIQUE1 = 'BOUNDARY CONDITIONS' -NIVEAU = 1 -AIDE = 'Indique si une courbe de tarage doit etre utilisee -pour une frontiere 0:non 1:Z(Q) 2: Q(Z) (2 non programme)' -AIDE1 = 'Says if a discharge-elevation curve must be used -for a given boundary :NO 1:Z(Q) 2: Q(Z) (2 not programmed)' -/ -NOM = 'FICHIER DES COURBES DE TARAGE' -NOM1 = 'STAGE-DISCHARGE CURVES FILE' -TYPE = CARACTERE -INDEX = 73 -MNEMO = 'T2D_FILES(T2DMAB)%NAME' -TAILLE = 0 -SUBMIT = 'T2DMAB-READ-11;T2DMAB;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -COMPORT = -'Foreground ("ENTREES-SORTIES, FICHIERS*NOMS") -IS VALEUR (red)' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -AIDE = 'Nom du fichier contenant les courbes de tarage' -AIDE1 = 'Name of the file containing stage-discharge curves' -/ -NOM = 'FICHIER DES SOURCES' -NOM1 = 'SOURCES FILE' -TYPE = CARACTERE -INDEX = 75 -MNEMO = 'T2D_FILES(T2DVEF)%NAME' -TAILLE = 0 -SUBMIT = 'T2DVEF-READ-10;T2DVEF;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -COMPORT = -'Foreground ("ENTREES-SORTIES, FICHIERS*NOMS") -IS VALEUR (red)' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -AIDE = 'Nom du fichier contenant les informations variables -en temps des sources' -AIDE1 = 'Name of the file containing time-dependent -information on sources' -/ -NOM = 'DEBUGGER' -NOM1 = 'DEBUGGER' -TYPE = INTEGER -INDEX = 69 -MNEMO = 'DEBUG' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE= 'Pour imprimer la sequence des appels, mettre 1' -AIDE1 = 'If 1, calls of subroutines will be printed in the listing' -/ -NOM = 'TRAITEMENT DES HAUTEURS NEGATIVES' -NOM1 = 'TREATMENT OF NEGATIVE DEPTHS' -TYPE = INTEGER -INDEX = 70 -MNEMO = 'OPT_HNEG' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE= 'Seulement avec OPTION DE TRAITEMENT DES BANCS DECOUVRANTS = 1 - 0 : pas de traitement 1 : lissage 2 : limitation des flux' -AIDE1 = 'Only with OPTION FOR THE TREATMENT OF TIDAL FLATS=1 - 0: no treatment 1:smoothing 2:flux control' -/ -NOM = 'FORMAT DU FICHIER DE REFERENCE' -NOM1 = 'REFERENCE FILE FORMAT' -TYPE = CARACTERE -INDEX = 78 -MNEMO = '?????' -DEFAUT = 'SERAFIN ' -DEFAUT1 = 'SERAFIN ' -CHOIX = 'SERAFIN ';'SERAFIND';'MED ' -CHOIX1 = 'SERAFIN ';'SERAFIND';'MED ' -NIVEAU = 2 -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES' -AIDE = 'Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5' -AIDE1 = 'Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5' -/ -/ NOUVEAUTES 6.0 -/ -NOM = 'HAUTEUR DANS LES TERMES DE FROTTEMENT' -NOM1 = 'DEPTH IN FRICTION TERMS' -TYPE = ENTIER -INDEX = 71 -MNEMO = 'HFROT' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="nodale"';'2="moyenne"' -CHOIX1 = '1="nodal"';'2="average"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = '1 : nodale 2 : moyenne' -AIDE1 = '1: nodal 2: average' -/ -// jaj #### added -/ -NOM = 'FICHIER DES SECTIONS DE CONTROLE' -NOM1 = 'SECTIONS INPUT FILE' -TYPE = CARACTERE -INDEX = 79 -MNEMO = 'T2D_FILES%ADR(T2DSEC)' -SUBMIT = 'NSCS-READ-45;T2DSEC;FACUL;ASC;LIT;SECTION' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -AIDE = 'sections input file, partitioned' -AIDE1 = 'sections input file, partitioned' - -NOM = 'FICHIER DE SORTIE DES SECTIONS DE CONTROLE' -NOM1 = 'SECTIONS OUTPUT FILE' -TYPE = CARACTERE -INDEX = 80 -MNEMO = 'T2D_FILES%ADR(T2DSEO)' -SUBMIT = 'NSEO-WRITE-46;T2DSEO;FACUL;ASC;ECR;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'sections output file, written by the master' -AIDE1 = 'sections output file, written by the master' -/ -// end of jaj #### added -/ -NOM = 'FICHIER DE COMMANDES HYDROCARBURES' -NOM1 = 'OILSPILL STEERING FILE' -TYPE = CARACTERE -INDEX = 81 -MNEMO = 'T2D_FILES(T2DMIG)' -SUBMIT = 'NMIG-READ-47;T2DMIG;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Contient les donnees pour le modele de derive de nappes' -AIDE1 = 'Contains data for the oil spill model' - -NOM = 'MODELE DE NAPPES D''HYDROCARBURES' -NOM1 = 'OIL SPILL MODEL' -TYPE = LOGIQUE -INDEX = 45 -MNEMO = 'SPILL_MODEL' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CONTROLE' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'CONTROL' -NIVEAU = 1 -AIDE = 'POUR DECLENCHER LE MODELE DE DERIVE DE NAPPES, DANS -CE CAS LE FICHIER DE COMMANDES MIGRHYCAR EST NECESSAIRE' -AIDE1 = 'WILL TRIGGER THE OIL SPILL MODEL, IN THIS CASE -THE MIGRHYCAR STEERING FILE IS NEEDED' -/ -/ VERSION 6.1 -/ -NOM = 'LOI DE FROTTEMENT SUR LES PAROIS LATERALES' -NOM1 = 'LAW OF FRICTION ON LATERAL BOUNDARIES' -TYPE = ENTIER -INDEX = 72 -MNEMO = 'KFROTL' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -CHOIX = '0="PAS DE FROTTEMENT"'; -'1="HAALAND"'; -'2="CHEZY"'; -'3="STRICKLER"'; -'4="MANNING"'; -'5="NIKURADSE"'; -'6="LOG LAW"'; -'7="COLEBROOK-WHITE"' -CHOIX1 = '0="NO FRICTION"'; -'1="HAALAND"'; -'2="CHEZY"'; -'3="STRICKLER"'; -'4="MANNING"'; -'5="NIKURADSE"'; -'6="LOG LAW"'; -'7="COLEBROOK-WHITE"' -RUBRIQUE = 'EQUATIONS';'FROTTEMENT' -RUBRIQUE1 = 'EQUATIONS';'FRICTION' -NIVEAU = 1 -AIDE = 'selectionne le type de formulation utilisee pour le calcul -du frottement sur les parois laterales. -Les lois possibles sont les suivantes (cf. Note de principe) : -0 : pas de frottement -1 : lineaire -2 : Chezy -3 : Strickler -4 : Manning -5 : formule de NIKURADSE -6 : loi en log -7 : Colebrook-White' -AIDE1 = 'Selects the type of formulation used for the friction on lateral boundaries. -The possible laws are as follows (refer to the Principle note): -0: no friction -1: linear -2: Chezy -3: Strickler -4: Manning -5: NIKURADSE''s formula -6 : law log -7 : Colebrook-White' - -NOM = 'FICHIER DES PARAMETRES DE TOMAWAC' -NOM1 = 'TOMAWAC STEERING FILE' -TYPE = CARACTERE -INDEX = 82 -MNEMO = 'PAS DE MNEMO' -DEFAUT = ' ' -DEFAUT1 = ' ' -NIVEAU = 1 -APPARENCE = 'LISTE IS FICHIER' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -AIDE = 'Fichier des parametres de Tomawac en cas de couplage interne' -AIDE1 = 'Tomawac parameter file in case of internal coupling' - -NOM = 'PERIODE DE COUPLAGE POUR TOMAWAC' -NOM1 = 'COUPLING PERIOD FOR TOMAWAC' -TYPE = ENTIER -INDEX = 73 -MNEMO = 'PERCOU_WAC' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'pour eviter de faire le couplage a chaque pas de temps' -AIDE1 = 'to avoid coupling at every time-step' - -NOM = 'COEFFICIENT D''INTEGRATION EN TEMPS DE NEWMARK' -NOM1 = 'NEWMARK TIME INTEGRATION COEFFICIENT' -TYPE = REEL -INDEX = 60 -MNEMO = 'GAMMA' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1= 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES';'DUREE DU CALCUL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'DURATION' -NIVEAU = 1 -AIDE = '1. : Euler explicite 0.5 : ordre 2 en temps' -AIDE1 = '1. : Euler explicit 0.5 : order 2 in time' - -NOM = 'TRAITEMENT DES FLUX AUX FRONTIERES' -NOM1 = 'TREATMENT OF FLUXES AT THE BOUNDARIES' -TYPE = INTEGER -INDEX = 74 -MNEMO = 'DIRFLU' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1= 1 -CHOIX='1="Priorite aux valeurs imposees"';'2="Priorite aux flux"' -CHOIX1='1="Priority to prescribed values"';'2="Priority to fluxes"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Utilise pour les schemas SUPG, PSI et N, avec option 2, on ne retrouve -pas exactement les valeurs imposees des traceurs, -mais le flux est correct' -AIDE1= 'Used so far only with the SUPG, PSI and N schemes. -With option 2, Dirichlet prescribed values are not obeyed, -but the fluxes are correct' - -NOM = 'OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE' -NOM1 = 'OPTION FOR TIDAL BOUNDARY CONDITIONS' -TYPE = INTEGER -INDEX = 75 -MNEMO = 'TIDALTYPE' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1= 0 -CHOIX= -'0="Pas de maree"'; -'1="Maree reelle (methodologie recommandee)"'; -'2="Maree de vive-eau exceptionnelle (coef. presque 120)"'; -'3="Maree de vive-eau moyenne (coef. presque 95)"'; -'4="Maree moyenne (coef. presque 70)"'; -'5="Maree de morte-eau moyenne (coef. presque 45)"'; -'6="Maree de morte-eau exceptionnelle (coef. presque 20)"'; -'7="Maree reelle (methodologie d avant 2010)"' -CHOIX1= -'0="No tide"'; -'1="Real tide (recommended methodology)"'; -'2="Astronomical tide"'; -'3="Mean spring tide"'; -'4="Mean tide"'; -'5="Mean neap tide"'; -'6="Astronomical neap tide"'; -'7="Real tide (methodology before 2010)"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Option pour les conditions aux limites de maree. -Pour des marees reelles, l option 1 est recommandee. -Calage possible par les mots-cles COEFFICIENT POUR CALAGE EN MARNAGE -et COEFFICIENT POUR CALAGE EN NIVEAU.' -AIDE1= 'Option for tidal boundary conditions. -For real tides, option 1 is recommended. -Possible calibration with keywords COEFFICIENT TO ADJUST TIDAL RANGE -and COEFFICIENT TO ADJUST SEA LEVEL.' - -NOM = 'FICHIER DES CONSTANTES HARMONIQUES' -NOM1 = 'HARMONIC CONSTANTS FILE' -TYPE = CARACTERE -INDEX = 83 -MNEMO = 'T2D_FILES(T2DHAR)' -SUBMIT = 'NHAR-READWRITE-13;T2DHAR;FACUL;ASC;ECRLIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Constantes harmoniques extraites du fichier du modele de maree' -AIDE1 = 'Harmonic constants extracted from the tidalmodel file' - -NOM = 'FICHIER DU MODELE DE MAREE' -NOM1 = 'TIDAL MODEL FILE' -TYPE = CARACTERE -INDEX = 84 -MNEMO = 'T2D_FILES(T2DTID)' -SUBMIT = 'NTID-READ-14;T2DTID;FACUL;BIN;LIT;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de geometrie du modele dont sont extraites -les constantes harmoniques' -AIDE1 = 'Geometry file of the model from which harmonic constituents -are extracted' - -NOM = 'BASE ASCII DE DONNEES DE MAREE' -NOM1 = 'ASCII DATABASE FOR TIDE' -TYPE = CARACTERE -INDEX = 85 -MNEMO = 'T2D_FILES(T2DBDD)' -SUBMIT = 'NBDD-READ-15;T2DBDD;FACUL;ASC;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Base de donnees de constantes harmoniques -tirees du fichier du modele de maree. -Ancien nom en version 6.1 : BASE DE DONNEES DE MAREE' -AIDE1 = 'Tide data base of harmonic constituents -extracted from the tidal model file. -Old name in 6.1 version: TIDE DATA BASE' -/ -/ VERSION 6.2 -/ -NOM = 'PLUIE OU EVAPORATION' -NOM1 = 'RAIN OR EVAPORATION' -TYPE = LOGIQUE -INDEX = 19 -MNEMO = 'RAIN' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Pour ajouter un apport ou une perte d''eau en surface. -Voir le mot-cle PLUIE OU EVAPORATION EN MM PAR JOUR' -AIDE1 = 'to add or remove water at the free surface. See the key-word -RAIN OR EVAPORATION IN MM PER DAY' -/ -NOM = 'PLUIE OU EVAPORATION EN MM PAR JOUR' -NOM1 = 'RAIN OR EVAPORATION IN MM PER DAY' -TYPE = REAL -INDEX = 61 -MNEMO = 'RAIN_MMPD' -TAILLE = 0 -DEFAUT = 0.D0 -DEFAUT1 = 0.D0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Pour ajouter un apport ou une perte d''eau en surface' -AIDE1 = 'to add or remove water at the free surface' -/ -NOM = 'BASE BINAIRE 1 DE DONNEES DE MAREE' -NOM1 = 'BINARY DATABASE 1 FOR TIDE' -TYPE = CARACTERE -INDEX = 86 -MNEMO = 'T2D_FILES(T2DBB1)' -SUBMIT = 'NBB1-READ-16;T2DBB1;FACUL;BIN;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Base de donnees binaire 1 tiree du fichier du modele de maree. - Dans le cas des donnees satellitaires de TPXO, ce fichier correspond - aux donnees de niveau d''eau, par exemple h_tpxo7.2' -AIDE1 = 'Binary database 1 extracted from the tidal model file. - In the case of the TPXO satellite altimetry model, this file should - be for free surface level, for instance h_tpxo7.2' - -NOM = 'BASE BINAIRE 2 DE DONNEES DE MAREE' -NOM1 = 'BINARY DATABASE 2 FOR TIDE' -TYPE = CARACTERE -INDEX = 87 -MNEMO = 'T2D_FILES(T2DBB2)' -SUBMIT = 'NBB2-READ-17;T2DBB2;FACUL;BIN;LIT;PARAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Base de donnees binaire 2 tiree du fichier du modele de maree. - Dans le cas des donnees satellitaires de TPXO, ce fichier correspond - aux donnees de vitesse de marrees, par exemple u_tpxo7.2' -AIDE1 = 'Binary database 2 extracted from the tidal model file. - In the case of the TPXO satellite altimetry model, this file should - be for tidal velocities, for instance u_tpxo7.2' - -NOM = 'OPTION POUR LA GENERATION DE TSUNAMI' -NOM1 = 'OPTION FOR TSUNAMI GENERATION' -TYPE = INTEGER -INDEX = 76 -MNEMO = 'OPTTSUNAMI' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1= 0 -CHOIX= -'0="Pas de Tsunami"'; -'1="Generation d''un Tsunami sur la base du modele de Okada 1992"' -CHOIX1= -'0="No Tsunami"'; -'1="Tsunami generated on the basis of the Okada model 1992"' -RUBRIQUE = 'PARAMETRES PHYSIQUES, CONDITIONS INITIALES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS, INITIAL CONDITIONS' -NIVEAU = 1 -AIDE = '' -/'Option pour la generation de Tsunami. -/Pour l''instant, seul de modele de Okada est programme. -/Les parametres physiques du modele chosit sont definis avec -/PARAMETRES PHYSIQUES DU TSUNAMI.' -AIDE1= '' -/'Option for the generation of Tsunami. -/Only the Okada model 1992 is programmed. -/The physical characteristics of the chosen Tsunami are set in -/PHYSICAL CHARACTERISTICS OF THE TSUNAMI.' - -NOM = 'PARAMETRES PHYSIQUES DU TSUNAMI' -NOM1 = 'PHYSICAL CHARACTERISTICS OF THE TSUNAMI' -TYPE = REEL -INDEX = 62 -MNEMO = 'COETSUNAMI' -TAILLE = 10 -DEFAUT = 100.;210000.;75000.;13.6;81.;41.;110.;0.;0.;3. -DEFAUT1= 100.;210000.;75000.;13.6;81.;41.;110.;0.;0.;3. -RUBRIQUE = 'PARAMETRES PHYSIQUES, CONDITIONS INITIALES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS, INITIAL CONDITIONS' -NIVEAU = 1 -AIDE = '' -/'Parametres physiques du modele de generation de tsunami' -AIDE1 = '' -/'Physical characteristics of the chosen Tsunami model: -/ - the focal depth (HH), -/ - the fault length (L), -/ - the fault width (W) -/ - the dislocation (D), -/ - the strike direction (TH), -/ - the dip angle (DL), -/ - the slip (RD), -/ - the epicentre latitude (Y0) and -/ - the epicentre longitude (X0) -/ - the ellipse ( WxL ) area of influence' - -NOM = 'VALEURS DES TRACEURS DANS LA PLUIE' -NOM1 = 'VALUES OF TRACERS IN THE RAIN' -TYPE = REEL -INDEX = 63 -MNEMO = 'TRAIN' -TAILLE = 2 -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = '' -AIDE1 = '' - -NOM = 'NOMBRE DE BUSES' -NOM1 = 'NUMBER OF TUBES' -TYPE = ENTIER -INDEX = 6 -MNEMO = 'NBUSE' -CONTROLE = 0; 100 -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 2 -AIDE = 'Nombre de buses ou ponts traites comme des termes sources ou -puits. Ces buses doivent etre decrits comme des sources dans le -fichier cas. Leurs caracteristiques sont donnees dans le -fichier de donnees des buses (voir la documentation ecrite)' -AIDE1 = 'Number of tubes or bridges treated as source terms. -They must be described as sources in the domain and their features -are given in the tubes data file (see written documentation)' - -NOM = 'FICHIER DE DONNEES DES SEUILS' -NOM1 = 'WEIRS DATA FILE' -TYPE = CARACTERE -INDEX = 88 -MNEMO = 'T2D_FILES(T2DSEU)%NAME' -SUBMIT = 'T2DSEU-READ-18;T2DSEU;FACUL;ASC;LIT;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de description des seuils presents dans le modele' -AIDE1 = 'Description of weirs existing in the model' - -NOM = 'FICHIER DE DONNEES DES SIPHONS' -NOM1 = 'CULVERT DATA FILE' -TYPE = CARACTERE -INDEX = 89 -MNEMO = 'T2D_FILES(T2DSIP)%NAME' -SUBMIT = 'T2DSIP-READ-19;T2DSIP;FACUL;ASC;LIT;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de description des siphons presents dans le modele' -AIDE1 = 'Description of culvert existing in the model' - -NOM = 'FICHIER DE DONNEES DES BUSES' -NOM1 = 'TUBES DATA FILE' -TYPE = CARACTERE -INDEX = 90 -MNEMO = 'T2D_FILES(T2DBUS)%NAME' -SUBMIT = 'T2DBUS-READ-20;T2DBUS;FACUL;ASC;LIT;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de description des buses/ponts presents dans le modele' -AIDE1 = 'Description of tubes/bridges existing in the model' - -NOM = 'COEFFICIENT DE CALAGE DU MARNAGE' -NOM1 = 'COEFFICIENT TO CALIBRATE TIDAL RANGE' -TYPE = REEL -INDEX = 64 -MNEMO = 'CTIDE' -TAILLE = 0 -DEFAUT = 1. -DEFAUT1 = 1. -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Coefficient pour ajuster le marnage de l''onde de maree -aux frontieres maritimes' -AIDE1 = 'Coefficient to calibrate the tidal range of tidal wave -at tidal open boundary conditions' - -NOM = 'COEFFICIENT DE CALAGE DES VITESSES DE COURANT' -NOM1 = 'COEFFICIENT TO CALIBRATE TIDAL VELOCITIES' -TYPE = REEL -INDEX = 65 -MNEMO = 'CTIDEV' -TAILLE = 0 -DEFAUT = 999999. -DEFAUT1 = 999999. -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Coefficient pour ajuster les composantes de vitesse -de l''onde de maree aux frontieres maritimes. -La valeur par defaut 999999. signifie que c''est la racine carree -du COEFFICIENT DE CALAGE DU MARNAGE qui est prise' -AIDE1 = 'Coefficient to calibrate the tidal velocities of tidal wave -at tidal open boundary conditions. -Default value 999999. means that the square root of -COEFFICIENT TO CALIBRATE TIDAL RANGE is taken' - -NOM = 'COEFFICIENT DE CALAGE DU NIVEAU DE MER' -NOM1 = 'COEFFICIENT TO CALIBRATE SEA LEVEL' -TYPE = REEL -INDEX = 66 -MNEMO = 'MSL' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Coefficient pour ajuster le niveau de mer' -AIDE1 = 'Coefficient to calibrate the sea level' - -NOM = 'BASE DE DONNEES DE MAREE' -NOM1 = 'TIDAL DATA BASE' -TYPE = ENTIER -INDEX = 77 -MNEMO = 'TIDALDB' -TAILLE = 0 -DEFAUT = -1 -DEFAUT1 = -1 -CHOIX= -'-1="PAS DE VALEUR PAR DEFAUT. CHOISIR LA BASE PARMI LES CHOIX POSSIBLES"'; -'1="JMJ"'; -'2="TPXO"'; -'3="LEGOS-NEA"'; -'4="FES2004"' -CHOIX1= -'-1="NO DEFAULT VALUE. CHOOSE THE BASE AMONG THE POSSIBLE CHOICES"'; -'1="JMJ"'; -'2="TPXO"'; -'3="LEGOS-NEA"'; -'4="FES2004"' -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Pour JMJ, renseigner la localisation du fichier bdd_jmj et geofin -dans les mots-cles BASE DE DONNEES DE MAREE et FICHIER DU MODELE DE MAREE. -Pour TPXO et LEGOS-NEA, l''utilisateur doit telecharger -les fichiers de constantes harmoniques sur internet. -Pour FES2004 : pas encore disponible' -AIDE1 = 'For JMJ, indicate the location of the files bdd_jmj and geofin with keywords -TIDE DATA BASE and TIDAL MODEL FILE. -For TPXO and LEGOS-NEA, the user have to download -files of harmonic constituents on the internet. -For FES2004: not yet available' - -NOM = 'SYSTEME GEOGRAPHIQUE' -NOM1 = 'GEOGRAPHIC SYSTEM' -TYPE = ENTIER -INDEX = 78 -MNEMO = 'GEOSYST' -TAILLE = 0 -DEFAUT = -1 -DEFAUT1 = -1 -CHOIX= -'-1="PAS DE VALEUR PAR DEFAUT. CHOISIR LE SYSTEME PARMI LES CHOIX POSSIBLES"'; -'0="DEFINI PAR L''UTILISATEUR"'; -'1="WGS84 LONGITUDE/LATITUDE EN DEGRES REELS"'; -'2="WGS84 NORD UTM"'; -'3="WGS84 SUD UTM"'; -'4="LAMBERT"'; -'5="MERCATOR POUR TELEMAC"' -CHOIX1= -'-1="NO DEFAULT VALUE. CHOOSE THE SYSTEM AMONG THE POSSIBLE CHOICES"'; -'0="DEFINED BY USER"'; -'1="WGS84 LONGITUDE/LATITUDE IN REAL DEGREES"'; -'2="WGS84 NORTHERN UTM"'; -'3="WGS84 SOUTHERN UTM"'; -'4="LAMBERT"'; -'5="MERCATOR FOR TELEMAC"' -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Systeme de coordonnees geographiques dans lequel est construit -le modele numerique. -Indiquer la zone correspondante avec le mot-cle ' -AIDE1 = 'Geographic coordinates system in which the numerical model is built. -Indicate the corresponding zone with the keyword ' - -NOM = 'NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE' -NOM1 = 'ZONE NUMBER IN GEOGRAPHIC SYSTEM' -TYPE = ENTIER -INDEX = 79 -MNEMO = 'NUMZONE' -TAILLE = 0 -DEFAUT = -1 -DEFAUT1 = -1 -CHOIX= -'-1="PAS DE VALEUR PAR DEFAUT. CHOISIR LE NUMERO PARMI LES CHOIX POSSIBLES"'; -'1="LAMBERT 1 NORD"'; -'2="LAMBERT 2 CENTRE"'; -'3="LAMBERT 3 SUD"'; -'4="LAMBERT 4 CORSE"'; -'22="LAMBERT 2 ETENDU"'; -'30="ZONE UTM, PAR EXEMPLE"' -CHOIX1= -'-1="NO DEFAULT VALUE. CHOOSE THE NUMBER AMONG THE POSSIBLE CHOICES"'; -'1="LAMBERT 1 NORTH"'; -'2="LAMBERT 2 CENTER"'; -'3="LAMBERT 3 SOUTH"'; -'4="LAMBERT 4 CORSICA"'; -'22="LAMBERT 2 EXTENDED"'; -'30="UTM ZONE, E.G."' -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Numero de zone (fuseau ou type de projection) -lors de l''utilisation d''une projection plane. -Indiquer le systeme geographique dans lequel est construit le modele numerique -avec le mot-cle SYSTEME GEOGRAPHIQUE' -AIDE1 = 'Number of zone when using a plane projection. -Indicate the geographic system in which the numerical model is built -with the keyword GEOGRAPHIC SYSTEM' - -NOM = 'INTERPOLATION DE COMPOSANTES MINEURES' -NOM1 = 'MINOR CONSTITUENTS INFERENCE' -TYPE = LOGIQUE -INDEX = 46 -MNEMO = 'INTMICON' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Pour la base de donnees TPXO uniquement. -Interpolation de composantes harmoniques mineures -a partir de celles lues dans les fichiers d''entree -lies aux mots-cles BASE BINAIRE 1 DE DONNEES DE MAREE -et BASE BINAIRE 2 DE DONNEES DE MAREE' -AIDE1 = 'For TPXO tidal data base only. -Inference of minor constituents from the one read in input files -linked to keywords BINARY DATABASE 1 FOR TIDE -and BINARY DATABASE 2 FOR TIDE' - -NOM = 'LOI DE DEGRADATION DES TRACEURS' -NOM1 = 'LAW OF TRACERS DEGRADATION' -TYPE = ENTIER -INDEX = 80 -MNEMO = 'LOITRAC' -TAILLE = 2 -DEFAUT = 0;0 -DEFAUT1 = 0;0 -CHOIX= -'0="PAS DE DEGRADATION"'; -'1="LOI EN F(T90)"' -CHOIX1= -'0="NO DEGRADATION"'; -'1="F(T90) LAW"' -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 1 -AIDE = 'Prise en compte d''une loi de decroissance des traceurs' -AIDE1 = 'Take in account a law for tracers decrease' - -NOM = 'COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS' -NOM1 = 'COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION' -TYPE = REAL -INDEX = 67 -MNEMO = 'COEF1TRAC' -TAILLE = 2 -RUBRIQUE = 'EQUATIONS';'TRACEUR';'OPTIONS TRACEUR' -RUBRIQUE1 = 'EQUATIONS';'TRACER';'TRACER OPTIONS' -NIVEAU = 1 -AIDE = 'Coefficient 1 de la loi de decroissance des traceurs' -AIDE1 = 'Coefficient 1 of law for tracers decrease' - -NOM = 'BRECHE' -NOM1 = 'BREACH' -TYPE = LOGIQUE -INDEX = 2 -MNEMO = 'BRECHE' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 1 -AIDE = 'Prise en compte de breches dans le calcul par -modification altimetrique dans le maillage. La description -des breches se fait avec le fichier de donnees des breches.' -AIDE1 = 'Take in account some breaches during the computation -by modifying the bottom level of the mesh. Brech description -is done with the breaches data file.' - -NOM = 'FICHIER DE DONNEES DES BRECHES' -NOM1 = 'BREACHES DATA FILE' -TYPE = CARACTERE -INDEX = 91 -MNEMO = 'T2D_FILES(T2DBRC)%NAME' -SUBMIT = 'T2DBUS-READ-21;T2DBRC;FACUL;ASC;LIT;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de description des breches' -AIDE1 = 'Description of breaches' -/ -/ VERSION 6.3 -/ -NOM = 'FICHIER DES FLOTTEURS' -NOM1 = 'DROGUES FILE' -TYPE = CARACTERE -INDEX = 92 -MNEMO = 'T2D_FILES(T2DFLO)%NAME' -SUBMIT = 'T2DFLO-WRITE-09;T2DFLO;FACUL;ASC;ECR;SCAL' -DEFAUT = ' ' -DEFAUT1 = ' ' -RUBRIQUE = 'ENTREES-SORTIES, FICHIERS';'NOMS' -RUBRIQUE1 = 'INPUT-OUTPUT, FILES';'NAMES' -NIVEAU = 1 -AIDE = 'Fichier de resultat avec les positions des flotteurs' -AIDE1 = 'Results file with positions of drogues' - -NOM = 'TYPE DE PROJECTION SPATIALE' -NOM1 = 'SPATIAL PROJECTION TYPE' -TYPE = ENTIER -INDEX = 81 -MNEMO = 'PROTYP' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="CARTESIEN, NON GEOREFERENCE"'; - '2="MERCATOR"'; - '3="LATITUDE LONGITUDE"' -CHOIX1 = '1="CARTESIAN, NOT GEOREFERENCED"'; - '2="MERCATOR"'; - '3="LATITUDE LONGITUDE"' -CONTROLE = 1 ; 3 -RUBRIQUE = 'EQUATIONS';'GENERAL' -RUBRIQUE1 = 'EQUATIONS';'GENERAL' -NIVEAU = 1 -AIDE = 'Option 2 ou 3 obligatoire pour les coordonnees spheriques' -AIDE1 = 'Option 2 or 3 mandatory for spherical coordinates' - -NOM = 'MODELE DE TRANSPORT DES ALGUES' -NOM1 = 'ALGAE TRANSPORT MODEL' -TYPE = LOGIQUE -INDEX = 47 -MNEMO = 'ALGAE' -TAILLE = 0 -DEFAUT = NON -DEFAUT1 = NO -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Si oui, les flotteurs seront des algues' -AIDE1 = 'If yes, the floats or particles will be algae' - -NOM = 'DIAMETRE DES ALGUES' -NOM1 = 'DIAMETRE OF ALGAE' -TYPE = REAL -INDEX = 68 -MNEMO = 'DALGAE' -TAILLE = 0 -DEFAUT = 0.1 -DEFAUT1 = 0.1 -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Diametre des algues en m' -AIDE1 = 'Diametre of algae in m' - -NOM = 'MASSE VOLUMIQUE DES ALGUES' -NOM1 = 'DENSITY OF ALGAE' -TYPE = REAL -INDEX = 69 -MNEMO = 'RALGAE' -TAILLE = 0 -DEFAUT = 1050. -DEFAUT1 = 1050. -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Masse volumique des algues en kg/m3' -AIDE1 = 'Density of algae in kg/m3' - -NOM = 'EPAISSEUR DES ALGUES' -NOM1 = 'THICKNESS OF ALGAE' -TYPE = REAL -INDEX = 70 -MNEMO = 'EALGAE' -TAILLE = 0 -DEFAUT = 0.01 -DEFAUT1 = 0.01 -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Epaisseur des algues en m' -AIDE1 = 'Thickness of algae in m' - -NOM = 'TYPE DES ALGUES' -NOM1 = 'ALGAE TYPE' -TYPE = ENTIER -INDEX = 82 -MNEMO = 'ALGTYP' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX = '1="SPHERE"'; - '2="IRIDAEA FLACCIDA (PROCHE DES ULVES)"'; - '3="PELVETIOPSIS LIMITATA"'; - '4="GIGARTINA LEPTORHYNCHOS"' -CHOIX1= '1="SPHERE"'; - '2="IRIDAEA FLACCIDA (CLOSE TO ULVA)"'; - '3="PELVETIOPSIS LIMITATA"'; - '4="GIGARTINA LEPTORHYNCHOS"' -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Type des algues. Pour le choix 1 les algues seront -modelisees comme des spheres, pour les autres choix voir Gaylord -et al. (1994).' -AIDE1 = 'Algae type. For choice 1 the algae particles will be -modeled as spheres, and for the other choices see Gaylord et -al. (1994)' - -NOM = 'OPTION POUR LES CARACTERISTIQUES' -NOM1 = 'OPTION FOR CHARACTERISTICS' -TYPE = ENTIER -INDEX = 83 -MNEMO = 'OPTCHA' -TAILLE = 0 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX='1="fortes"';'2="faibles"' -CHOIX1='1="strong"';'2="weak"' -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = '1: forme forte 2: forme faible' -AIDE1 = '1: strong form 2: weak form' - -NOM = 'MAXIMUM D''ITERATIONS POUR LES SCHEMAS DE CONVECTION' -NOM1 = 'MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES' -TYPE = ENTIER -INDEX = 84 -MNEMO = 'MAXADV' -TAILLE = 0 -DEFAUT = 10 -DEFAUT1 = 10 -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Seulement pour schemes 13 et 14' -AIDE1 = 'Only for schemes 13 and 14' - -NOM = 'MODELE DE DIFFUSION STOCHASTIQUE' -NOM1 = 'STOCHASTIC DIFFUSION MODEL' -TYPE = ENTIER -INDEX = 85 -MNEMO = 'STOCHA' -TAILLE = 0 -DEFAUT = 0 -DEFAUT1 = 0 -CHOIX='0="Pas de modele"';'1="??"';'2="??"' -CHOIX1='0="No model"';'1="??"';'2="??"' -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Pour les particules : flotteurs, algues, hydrocarbures' -AIDE1 = 'Meant for particles: drogues, algae, oil spills' - -NOM = 'NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES' -NOM1 = 'NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS' -TYPE = ENTIER -INDEX = 86 -MNEMO = 'NGAUSS' -TAILLE = 0 -DEFAUT = 3 -DEFAUT1 = 3 -CHOIX='1="1 point"';'3="3 points"';'6="6 points"' -CHOIX1='1="1 point"';'3="3 points"';'6="6 points"' -RUBRIQUE = 'PARAMETRES NUMERIQUES' -RUBRIQUE1 = 'NUMERICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Voir les release notes 6.3' -AIDE1 = 'See release notes 6.3' - -NOM = 'MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES' -NOM1 = 'MASS-LUMPING FOR WEAK CHARACTERISTICS' -TYPE = REAL -INDEX = 71 -MNEMO = 'AGGLOW' -TAILLE = 0 -DEFAUT = 0. -DEFAUT1 = 0. -RUBRIQUE = 'PARAMETRES PHYSIQUES' -RUBRIQUE1 = 'PHYSICAL PARAMETERS' -NIVEAU = 2 -AIDE = 'Applique a la matrice de masse' -AIDE1 = 'To be applied to the mass matrix' - -NOM = 'TYPE DES SEUILS' -NOM1 = 'TYPE OF WEIRS' -TYPE = ENTIER -INDEX = 87 -MNEMO = 'TYPSEUIL' -TAILLE = 1 -DEFAUT = 1 -DEFAUT1 = 1 -CHOIX= -'1="HORIZONTAL AVEC MEME NOMBRE DE NOEUDS AMONT/AVAL (Solution historique avec bord)"'; -'2="GENERALE (Nouvelle solution avec pts sources)"' -CHOIX1= -'1="HORIZONTAL WITH SAME NUMBER OF NODES UPSTREAM/DOWNSTREAM (Historical solution with bord)"'; -'2="GENERAL (New solution with sources points)"' -RUBRIQUE = 'PARAMETRES NUMERIQUES';'GENERAL' -RUBRIQUE1 = 'NUMERICAL PARAMETERS';'GENERAL' -NIVEAU = 1 -AIDE = 'Méthode de traitement des seuils' -AIDE1 = 'Method for treatment of weirs' - -/ -/ POUR LES LANCEURS PERL : -/ - -NOM = 'LISTE DES FICHIERS' -NOM1 = 'LIST OF FILES' -TYPE = CARACTERE -INDEX = 99 -MNEMO = '' -TAILLE = 43 -DEFAUT = 'FICHIER DES PARAMETRES'; - 'DICTIONNAIRE'; - 'FICHIER FORTRAN'; - 'FICHIER DE GEOMETRIE'; - 'FICHIER DES CONDITIONS AUX LIMITES'; - 'FICHIER DES RESULTATS'; - 'FICHIER DU CALCUL PRECEDENT'; - 'FICHIER DES FONDS'; - 'FICHIER DE DONNEES BINAIRE 1'; - 'FICHIER DE DONNEES BINAIRE 2'; - 'FICHIER DE DONNEES FORMATE 1'; - 'FICHIER DE DONNEES FORMATE 2'; - 'FICHIER DE RESULTATS BINAIRE'; - 'FICHIER DE RESULTATS FORMATE'; - 'FICHIER DE REFERENCE'; - 'FICHIER DES FRONTIERES LIQUIDES'; - 'FICHIER DE DONNEES POUR LE FROTTEMENT'; - 'FICHIER DELWAQ DES VOLUMES'; - 'FICHIER DELWAQ DES SURFACES DE FLUX'; - 'FICHIER DELWAQ DES FLUX VERTICAUX'; - 'FICHIER DELWAQ DE LA SALINITE'; - 'FICHIER DELWAQ DES SURFACES DU FOND'; - 'FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS'; - 'FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS'; - 'FICHIER DELWAQ DE LA TEMPERATURE'; - 'FICHIER DELWAQ DE LA VITESSE'; - 'FICHIER DELWAQ DE LA DIFFUSION'; - 'FICHIER DE COMMANDE DELWAQ'; - 'FICHIER DES COURBES DE TARAGE'; - 'FICHIER DES SOURCES'; - 'FICHIER DES SECTIONS DE CONTROLE'; - 'FICHIER DE SORTIE DES SECTIONS DE CONTROLE'; - 'FICHIER DE COMMANDES HYDROCARBURES'; - 'FICHIER DES CONSTANTES HARMONIQUES'; - 'FICHIER DU MODELE DE MAREE'; - 'BASE ASCII DE DONNEES DE MAREE'; - 'BASE BINAIRE 1 DE DONNEES DE MAREE'; - 'BASE BINAIRE 2 DE DONNEES DE MAREE'; - 'FICHIER DE DONNEES DES SEUILS'; - 'FICHIER DE DONNEES DES SIPHONS'; - 'FICHIER DE DONNEES DES BUSES'; - 'FICHIER DE DONNEES DES BRECHES'; - 'FICHIER DES FLOTTEURS' -DEFAUT1 ='STEERING FILE'; - 'DICTIONARY'; - 'FORTRAN FILE'; - 'GEOMETRY FILE'; - 'BOUNDARY CONDITIONS FILE'; - 'RESULTS FILE'; - 'PREVIOUS COMPUTATION FILE'; - 'BOTTOM TOPOGRAPHY FILE'; - 'BINARY DATA FILE 1'; - 'BINARY DATA FILE 2'; - 'FORMATTED DATA FILE 1'; - 'FORMATTED DATA FILE 2'; - 'BINARY RESULTS FILE'; - 'FORMATTED RESULTS FILE'; - 'REFERENCE FILE'; - 'LIQUID BOUNDARIES FILE'; - 'FRICTION DATA FILE'; - 'VOLUMES DELWAQ FILE'; - 'EXCHANGE AREAS DELWAQ FILE'; - 'VERTICAL FLUXES DELWAQ FILE'; - 'SALINITY DELWAQ FILE'; - 'VELOCITY DELWAQ FILE'; - 'DIFFUSIVITY DELWAQ FILE'; - 'BOTTOM SURFACES DELWAQ FILE'; - 'EXCHANGES BETWEEN NODES DELWAQ FILE'; - 'NODES DISTANCES DELWAQ FILE'; - 'TEMPERATURE DELWAQ FILE'; - 'DELWAQ STEERING FILE'; - 'STAGE-DISCHARGE CURVES FILE'; - 'SOURCES FILE'; - 'SECTIONS INPUT FILE'; - 'SECTIONS OUTPUT FILE'; - 'OILSPILL STEERING FILE'; - 'HARMONIC CONSTANTS FILE'; - 'TIDAL MODEL FILE'; - 'ASCII DATABASE FOR TIDE'; - 'BINARY DATABASE 1 FOR TIDE'; - 'BINARY DATABASE 2 FOR TIDE'; - 'WEIRS DATA FILE'; - 'CULVERT DATA FILE'; - 'TUBES DATA FILE'; - 'BREACHES DATA FILE'; - 'DROGUES FILE' -RUBRIQUE = 'FICHIERS' -RUBRIQUE1 = 'FILES' -NIVEAU = 1 -AIDE = 'Noms des fichiers exploites par le code' -AIDE1= 'File names of the used files' -// -//----Librairies du code------------------------------------------- -// -//Conventions de notation : -// VVV = version -// MMM = mode (debug ou non) -// PPP = plateforme -// LLL = extension d'une librairie ("a" ou "lib") -// | = separateur dans un path (/ sous Unix, \ sous NT) -// -// ex : "telemac2d|tel2d_VVV|PPP|telemac2dMMMVVV.LLL" - -NOM = 'DESCRIPTION DES LIBRAIRIES' -NOM1 = 'DESCRIPTION OF LIBRARIES' -TYPE = CARACTERE -INDEX = 54 -MNEMO = 'LINKLIBS' -TAILLE = 8 -DEFAUT = 'builds|PPP|lib|telemac2dMMMVVV.LLL'; -'builds|PPP|lib|sisypheMMMVVV.LLL'; -'builds|PPP|lib|tomawacMMMVVV.LLL'; -'builds|PPP|lib|dredgesimMMMVVV.LLL'; -'builds|PPP|lib|biefMMMVVV.LLL'; -'builds|PPP|lib|damoMMMVVV.LLL'; -'builds|PPP|lib|parallelMMMVVV.LLL'; -'builds|PPP|lib|specialMMMVVV.LLL' - -DEFAUT1 = 'builds|PPP|lib|telemac2dMMMVVV.LLL'; -'builds|PPP|lib|sisypheMMMVVV.LLL'; -'builds|PPP|lib|tomawacMMMVVV.LLL'; -'builds|PPP|lib|dredgesimMMMVVV.LLL'; -'builds|PPP|lib|biefMMMVVV.LLL'; -'builds|PPP|lib|damoMMMVVV.LLL'; -'builds|PPP|lib|parallelMMMVVV.LLL'; -'builds|PPP|lib|specialMMMVVV.LLL' - -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Description des librairies de T2D' -AIDE1 = 'LIBRARIES description' - -//----Executable par defaut du code--------------------------------- -// -//Conventions de notation : -// VVV = version -// MMM = mode (debug ou non) -// PPP = plateforme -// | = separateur dans un path (/ sous Unix, \ sous NT) -// -// ex : "telemac2d|tel2d_VVV|PPP|telemac2dMMMVVV.LLL" - -NOM = 'EXECUTABLE PAR DEFAUT' -NOM1 = 'DEFAULT EXECUTABLE' -TYPE = CARACTERE -INDEX = 57 -MNEMO = 'EXEDEF' -TAILLE = 1 -DEFAUT = 'builds|PPP|bin|telemac2dMMMVVV.exe' -DEFAUT1 = 'builds|PPP|bin|telemac2dMMMVVV.exe' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Executable par defaut de T2D' -AIDE1 = 'Default executable for T2D' - -NOM = 'EXECUTABLE PARALLELE PAR DEFAUT' -NOM1 = 'DEFAULT PARALLEL EXECUTABLE' -TYPE = CARACTERE -INDEX = 58 -MNEMO = 'EXEDEFPARA' -TAILLE = 1 -DEFAUT = 'builds|PPP|bin|telemac2dMMMVVV.exe' -DEFAUT1 = 'builds|PPP|bin|telemac2dMMMVVV.exe' -RUBRIQUE = 'ENTREES-SORTIES, GENERALITES';'CALCUL' -RUBRIQUE1 = 'INPUT-OUTPUT, INFORMATION';'COMPUTATIONAL INFORMATION' -NIVEAU = 1 -AIDE = 'Executable parallele par defaut de T2D' -AIDE1 = 'Default parallel executable for T2D' - diff --git a/OldCodes/ts/test_cata.py b/OldCodes/ts/test_cata.py deleted file mode 100644 index 748fd68d..00000000 --- a/OldCodes/ts/test_cata.py +++ /dev/null @@ -1,22 +0,0 @@ -from Accas import * -import types - -JdC = JDC_CATA (code = 'MAP', - execmodul = None, - ) -# ====================================================================== -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ====================================================================== -INITIALIZATION=PROC(nom="INITIALIZATION",op=None, -Control_Of_Limits = SIMP( statut='o',typ='bool', - defaut=False , - fr = 'UTILISER AVEC LE MOT-CLE : VALEURS LIMITES, LE PROGRAMME SARRETE SI LES LIMITES SUR U,V,H OU T SONT DEPASSEES', - ang= 'USE WITH THE KEY-WORD : LIMIT VALUES, THE PROGRAM IS STOPPED IF THE LIMITS ON U,V,H, OR T ARE TRESPASSED', - ), - -Limit_Values = SIMP( statut='o',typ='R', - defaut=(-1000.0, 9000.0, -1000.0, 1000.0, -1000.0, 1000.0, -1000.0, 1000.0) , - max=8 , - fr = 'Utilise avec le mot-cle CONTROLE DES LIMITES valeurs mini et maxi acceptables pour H,U,V et T dans lordre suivant : min(H) max(H) min(U) max(U) min(V) max(V) min(T) max(T)', - ang= 'To be used with the key-word CONTROL OF LIMITS min and max acceptable values for H,U,V et T in the following order : min(H) max(H) min(U) max(U) min(V) max(V) min(T) max(T)', - ) ) diff --git a/OldCodes/ts/test_dicoparser.py b/OldCodes/ts/test_dicoparser.py deleted file mode 100644 index c3ac9dfb..00000000 --- a/OldCodes/ts/test_dicoparser.py +++ /dev/null @@ -1,140 +0,0 @@ - -import dicoparser -import unittest - -class Test1( unittest.TestCase ): - def runTest(self): - d = dicoparser.DicoParser( '', '', '' ) - t = d.parse_tokens( """ - / comment - TYPE = LOGIQUE - INDEX = 23 - MNEMO = 'VERLIM' - MNEMO1 = '' - NOM = 'CONTROLE DES LIMITES' - RUBRIQUE1 = 'ENTREES-SORTIES, GENERALITES';'CONTROLE' - CHOIX1 = '0="list of tests"'; - '1="gradient simple"'; - '2="conj gradient"'; - '3="Lagrange interp."' - AIDE = 'UTILISER AVEC LE MOT-CLE : VALEURS LIMITES, LE PROGRAMME - S''ARRETE SI LES LIMITES SUR U,V,H OU T SONT DEPASSEES' - DEFAUT = -1000.;9000.;-1000. -""" ) - self.assertEqual( len(t), 39 ) - self.assertEqual( t[0], 'TYPE' ) - self.assertEqual( t[1], '=' ) - self.assertEqual( t[2], 'LOGIQUE' ) - self.assertEqual( t[3], 'INDEX' ) - self.assertEqual( t[4], '=' ) - self.assertEqual( t[5], '23' ) - self.assertEqual( t[6], 'MNEMO' ) - self.assertEqual( t[7], '=' ) - self.assertEqual( t[8], 'VERLIM' ) - self.assertEqual( t[9], 'MNEMO1' ) - self.assertEqual( t[10], '=' ) - self.assertEqual( t[11], '' ) - self.assertEqual( t[12], 'NOM' ) - self.assertEqual( t[13], '=' ) - self.assertEqual( t[14], 'CONTROLE DES LIMITES' ) - self.assertEqual( t[15], 'RUBRIQUE1' ) - self.assertEqual( t[16], '=' ) - self.assertEqual( t[17], 'ENTREES-SORTIES, GENERALITES' ) - self.assertEqual( t[18], ';' ) - self.assertEqual( t[19], 'CONTROLE' ) - self.assertEqual( t[20], 'CHOIX1' ) - self.assertEqual( t[21], '=' ) - self.assertEqual( t[22], '0="list of tests"' ) - self.assertEqual( t[23], ';' ) - self.assertEqual( t[24], '1="gradient simple"' ) - self.assertEqual( t[25], ';' ) - self.assertEqual( t[26], '2="conj gradient"' ) - self.assertEqual( t[27], ';' ) - self.assertEqual( t[28], '3="Lagrange interp."' ) - self.assertEqual( t[29], 'AIDE' ) - self.assertEqual( t[30], '=' ) - self.assertEqual( t[31], 'UTILISER AVEC LE MOT-CLE : VALEURS LIMITES, LE PROGRAMME S\'ARRETE SI LES LIMITES SUR U,V,H OU T SONT DEPASSEES' ) - self.assertEqual( t[32], 'DEFAUT' ) - self.assertEqual( t[33], '=' ) - self.assertEqual( t[34], '-1000.' ) - self.assertEqual( t[35], ';' ) - self.assertEqual( t[36], '9000.' ) - self.assertEqual( t[37], ';' ) - self.assertEqual( t[38], '-1000.' ) - - d.expand_values( t ) - self.assertEqual( t[24], ( '1', 'gradient simple' ) ) - self.assertEqual( t[26], ( '2', 'conj gradient' ) ) - self.assertEqual( t[28], ( '3', 'Lagrange interp.' ) ) - - lst = d.convert_to_tuples( t ) - self.assertEqual( len(lst), 9 ) - self.assertEqual( lst[0], ( 'TYPE', 'LOGIQUE' ) ) - self.assertEqual( lst[1], ( 'INDEX', '23' ) ) - self.assertEqual( lst[2], ( 'MNEMO', 'VERLIM' ) ) - self.assertEqual( lst[3], ( 'MNEMO1', '' ) ) - self.assertEqual( lst[4], ( 'NOM', 'CONTROLE DES LIMITES' ) ) - self.assertEqual( lst[5], ( 'RUBRIQUE1', ['ENTREES-SORTIES, GENERALITES', 'CONTROLE'] ) ) - self.assertEqual( lst[6], ( 'CHOIX1', [('0','list of tests'), ('1','gradient simple'), ('2','conj gradient'), ('3','Lagrange interp.') ] ) ) - self.assertEqual( lst[7], ( 'AIDE', 'UTILISER AVEC LE MOT-CLE : VALEURS LIMITES, LE PROGRAMME S\'ARRETE SI LES LIMITES SUR U,V,H OU T SONT DEPASSEES' ) ) - self.assertEqual( lst[8], ( 'DEFAUT', ['-1000.', '9000.', '-1000.' ] ) ) - -class Test2( unittest.TestCase ): - def runTest(self): - d = dicoparser.DicoParser( '', '', '' ) - self.assertEqual( d.are_equal( 'WIND IN SUMMER', 'Wind_In_Summer' ), True ) - self.assertEqual( d.are_equal( 'HELLO', 'Bonjour' ), False ) - self.assertEqual( d.are_equal( 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER', 'Maximum_Number_Of_Iterations_For_Solver' ), True ) - #self.assertEqual( d.are_equal( 'WIND IN SUMMER', 'Wind' ), True ) #TODO: check the specification about this issue - -class Test3( unittest.TestCase ): - def runTest(self): - d = dicoparser.DicoParser( 'test', 'NOM', 'NOM1' ) - #print d.data.keys() - #for aKey, aValue in d.data['TYPE OF ADVECTION'].iteritems(): - # print aKey, aValue - - self.assertEqual( d.data['TYPE OF ADVECTION'].keys(), ['AIDE', 'NOM', 'DEFAUT1', 'INDEX', 'NIVEAU', 'TAILLE', 'CHOIX1', 'RUBRIQUE1', 'MNEMO', 'NOM1', 'AIDE1', 'COMPORT', 'DEFAUT', 'CHOIX', 'RUBRIQUE', 'TYPE' ] ) - self.assertEqual( d.translate( 'Control_Of_Limits', 'NOM' ), 'Controle Des Limites' ) - self.assertEqual( d.translate( 'Type_Of_Advection', 'NOM' ), 'Forme De La Convection' ) - self.assertEqual( d.translate( 'Type_Of_Advection', '', 'Characteristics', 'CHOIX1', 'CHOIX' ), 'Caracteristiques' ) - -class Test4( unittest.TestCase ): - def runTest(self): - d = dicoparser.DicoParser( 'telemac2dv6p3.dico', 'NOM', 'NOM1' ) - self.assertEqual( d.translate( 'Reference_File_Format', 'NOM' ), 'Format Du Fichier De Reference' ) - self.assertEqual( d.translate( 'Reference_File_Format', '', 'Serafin', 'CHOIX1', 'CHOIX' ), 'Serafin' ) - self.assertEqual( d.translate( 'Reference_File_Format', '', 'Serafin', 'DEFAUT1', 'DEFAUT' ), 'Serafin' ) - self.assertEqual( d.translate( 'Destination', '', 'CHE43A', 'DEFAUT1', 'DEFAUT' ), 'Che43a' ) - self.assertEqual( d.translate( 'Destination', '', 0.0, 'DEFAUT1', 'DEFAUT' ), '' ) - self.assertEqual( d.translate( 'Destination', '', (1,2,3), 'DEFAUT1', 'DEFAUT' ), '' ) - -class Test5( unittest.TestCase ): - def runTest(self): - d = dicoparser.DicoParser( '', '', '' ) - t = d.parse_tokens( """ -CHOIX = '" "="pas de biliotheque"'; -'"$PVM_ROOT/lib/$PVM_ARCH/libpvm3.a"="bibliotheque PVM1"' -""" ) - self.assertEqual( len(t), 5 ) - self.assertEqual( t[0], 'CHOIX' ) - self.assertEqual( t[1], '=' ) - self.assertEqual( t[2], '" "="pas de biliotheque"' ) - self.assertEqual( t[3], ';' ) - self.assertEqual( t[4], '"$PVM_ROOT/lib/$PVM_ARCH/libpvm3.a"="bibliotheque PVM1"' ) - - -t1 = Test1() -t1.runTest() - -t2 = Test2() -t2.runTest() - -t3 = Test3() -t3.runTest() - -t4 = Test4() -t4.runTest() - -t5 = Test5() -t5.runTest() diff --git a/OldCodes/ts/test_translator.py b/OldCodes/ts/test_translator.py deleted file mode 100644 index 186d89b2..00000000 --- a/OldCodes/ts/test_translator.py +++ /dev/null @@ -1,19 +0,0 @@ -#! /usr/bin/env python -import prefs - -from translator import * -import unittest - -class Test1( unittest.TestCase ): - def runTest(self): - self.assertEqual( normalize( 'a_b' ), 'a__b' ) - self.assertEqual( normalize( 'a b' ), 'a_b' ) - self.assertEqual( normalize( 'a b' ), 'a__b' ) - self.assertEqual( normalize( 'a__b' ), 'a____b' ) - -t1 = Test1() -t1.runTest() - -#translate( 'telemac2dv6p3', 'test_cata', 'test' ) -#translate( 'telemac2dv6p3', 'Telemac_Cata_nouveau', 'test' ) -translate( 'telemac2dv6p3', 'Telemac_Cata', 'main', 'not_translated.txt' ) diff --git a/OldCodes/ts/translator.py b/OldCodes/ts/translator.py deleted file mode 100755 index 77793423..00000000 --- a/OldCodes/ts/translator.py +++ /dev/null @@ -1,89 +0,0 @@ - -import copy -from tsparser import * -from Accas import * -from Noyau import * -from dicoparser import * - -def normalize( theTranslation ): - aTranslation = theTranslation - if '_' in aTranslation: - aTranslation = '__'.join( aTranslation.split( '_' ) ) - - aTranslation = aTranslation.replace( ' ', '_' ) - return aTranslation - -def translate( theDicoFile, theCataFile, theTSFile, theNotTranslatedFile = '' ): - - SPECIAL = ['into', 'defaut'] - DICO = DicoParser( theDicoFile, 'NOM', 'NOM1' ) - PARSER = TSParser() - - def is_ok( theName, theObject ): - ok = isinstance( theObject, N_ENTITE.ENTITE ) or theName in SPECIAL - return ok - - def name_to_attr( theName ): - if theName=='into': - return 'CHOIX' - else: - return theName.upper() - - def dico_tr( theObject, theName, theParentObj, theParentName ): - #print "dicotr:", theObject, theName, theParentObj, theParentName - aTrans = '' - if theName in SPECIAL: - if theObject!=None: - #print theName, theObject - anAttrTr = name_to_attr( theName ) - anAttr = anAttrTr + '1' - if isinstance( theObject, basestring ): - #print theParentName, theName, theObject, '=>', - aTrans = DICO.translate( theParentName, '', theObject, anAttr, anAttrTr ) - #print aTrans - elif isinstance( theObject, tuple ): - #print theParentName, theName - for anItem in theObject: - #print anItem - if isinstance( anItem, basestring ) and '=' in anItem: - aList = DICO.convert_to_tuples( DICO.parse_tokens( anItem ) ) - #print " ", aList - for aListItem in aList: - if isinstance( aListItem, tuple ): - aKey, aValue = aListItem - #print " ", aValue, '=>', - aTrans = DICO.translate( theParentName, '', aValue, anAttr, anAttrTr ) - #print aTrans - #print - pass - - else: - #print theName, '=>', - aTrans = DICO.translate( theName, 'NOM' ) - #print aTrans - - aTrans = normalize( aTrans ) - return '', aTrans - - def sub( theObject ): - aDict = {} - if hasattr( theObject, 'entites' ): - aDict = copy.copy( theObject.entites ); - for s in SPECIAL: - if hasattr( theObject, s ): - aDict[s] = getattr( theObject, s ) - return aDict - - PARSER.check_object = is_ok - PARSER.translation = dico_tr - PARSER.sub_objects = sub - PARSER.parse( theCataFile, theTSFile ) - - if len( theNotTranslatedFile ) > 0: - PARSER.saveNotTranslated( theNotTranslatedFile ) - - #print - #print "Translations:" - #for key, value in p.data[''].iteritems(): - # print key, "=>", value - diff --git a/OldCodes/ts/tsparser.py b/OldCodes/ts/tsparser.py deleted file mode 100644 index afdeeae8..00000000 --- a/OldCodes/ts/tsparser.py +++ /dev/null @@ -1,127 +0,0 @@ - -import os.path -from xml.etree import ElementTree as ET -from xml.etree.ElementTree import * -from xml.dom import minidom -import re - -def get_file_name( theScript, theFileName, theExtension ): - anExt = '.'+theExtension - if theFileName=='': - return theScript+anExt - if theFileName.lower().endswith( anExt ): - return theFileName - else: - return theFileName + anExt - -class TSParser: - def __init__( self ): - self.data = {} - self.check_object = None # the function to check if the object is suitable for translation - self.translation = None # the function to translate the object's name - self.sub_objects = None # the function to get sub-objects of the given object - self.not_translated = {} - - def add( self, theContext, theSource, theTranslation ): - if len(theSource)==0 or len(theTranslation)==0: - return - if not theContext in self.data: - self.data[theContext] = {} - self.data[theContext][theSource] = theTranslation - - def saveXML( self, theFileName, theEncoding, theDocType, theRootElem ): - aRoughRepr = ET.tostring( theRootElem, theEncoding ) - aDoc = minidom.parseString( aRoughRepr ) - aDocType = minidom.getDOMImplementation( '' ).createDocumentType( theDocType, '', '' ) - aDoc.insertBefore( aDocType, aDoc.documentElement ) - anXmlRepr = aDoc.toprettyxml( indent=' ' ) - anXmlLines = anXmlRepr.split( '\n' )[1:] - anXmlRepr = '\n'.join( anXmlLines ) - anExpr = re.compile( '>\n\s+([^<>\s].*?)\n\s+\g<1> 0: - self.add( aContext, aName, aTranslation ) - elif self.isOK( '', anObject ) and len( aName ) > 0: - #print anObject, aName - self.not_translated[aName] = '' - - aSubObjects = {} - if self.sub_objects: - aSubObjects = self.sub_objects( anObject ) - self.parseObjects( aSubObjects, anObject, aName ) - - def saveNotTranslated( self, theFileName ): - aFile = open( theFileName, 'w' ) - aNotTranslated = self.not_translated.keys() - aNotTranslated.sort() - for aKey in aNotTranslated: - aFile.write( aKey + '\n' ) - aFile.close() diff --git a/PSEN_Eficas/ExtractGeneratorLoadLineandTransfoDico.py b/PSEN_Eficas/ExtractGeneratorLoadLineandTransfoDico.py deleted file mode 100755 index 9427e18c..00000000 --- a/PSEN_Eficas/ExtractGeneratorLoadLineandTransfoDico.py +++ /dev/null @@ -1,173 +0,0 @@ -#NetworkFile = r"C:\Users\J15773\Documents\GTDosier\PSENdocs\Victoria ALL - EFICAS PSEN\Data\2030Conv_HFP2.sav" -#PSSE_PATH = "C:/Program Files/PTI/PSSE33/PSSBIN" #emplacement de PSSE - -def ExtractGeneratorLoadLineandTransfoDico(NetworkFile,PSSE_PATH): - - import os - import sys - - print NetworkFile - print PSSE_PATH - sys.path.append(PSSE_PATH) - os.environ['PATH'] += ';' + PSSE_PATH + ';' - - import psspy - import redirect - - ###initialization PSSE - psspy.psseinit(10000) - _i=psspy.getdefaultint() - _f=psspy.getdefaultreal() - _s=psspy.getdefaultchar() - redirect.psse2py() - - # Silent execution of PSSe - islct=6 # 6=no output; 1=standard - psspy.progress_output(islct) - - #open Network File - psspy.case(NetworkFile) - - #Extract Loads - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - - string = ['NUMBER'] - ierr,iarray = psspy.aloadint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.aloadchar(sid,flag,string) - - LoadDico = {} # [Bus name, load ID, extended bus name, bus number] - for i in range(len(iarray[0])): - idname = "Lo" + str(int(carray[1][i])) - loadname = carray[0][i].strip()+ "__" + idname - loadname = loadname.replace(" ","_") - loadname = loadname.replace(".","_") - loadname = loadname.replace("&","and") - try: - int(loadname[0]) - loadname="_" + loadname - except: - pass - LoadDico[loadname]= {} - LoadDico[loadname]['BusName'] = carray[0][i].strip() - LoadDico[loadname]['ID'] = carray[1][i] - LoadDico[loadname]['BusExName'] =carray[2][i] - LoadDico[loadname]['BusNum']=iarray[0][i] - - #Extract Generators - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - string = ['NUMBER'] - ierr,iarray = psspy.amachint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.amachchar(sid,flag,string) - - MachineDico = {} # [Bus name, machine ID, extended bus name, bus number] - for i in range(len(iarray[0])): - idname = "Gr" + str(int(carray[1][i])) - machinename = carray[0][i].strip()+ "__" + idname - machinename = machinename.replace(" ","_") - machinename = machinename.replace(".","_") - machinename = machinename.replace("&","and") - try: - int(machinename[0]) - machinename="_" + machinename - except: - pass - MachineDico[machinename]={} - MachineDico[machinename]['NAME'] = carray[0][i].strip() - MachineDico[machinename]['ID'] = carray[1][i] - MachineDico[machinename]['EXNAME'] =carray[2][i] - MachineDico[machinename]['NUMBER']=iarray[0][i] - - #Extract Lignes - sid = -1 - owner = 1 - ties = 1 - flag = 2 #6 for two-winding transfos - entry = 1 #each branch once, not both directions - string = ['FROMNUMBER','TONUMBER'] - ierr,iarray = psspy.abrnint(sid,owner,ties,flag,entry,string) - string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] - ierr,carray = psspy.abrnchar(sid,owner,ties,flag,entry,string) - - LineDico = {} #[linename, Bus name 1, Bus name 2, ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] - for i in range(len(iarray[0])): - idname = carray[4][i] - if '@' in idname: - idname = idname.replace('@','Br') - else: - idname = 'Li' + str(int(idname)) - linename =carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname - linename = linename.replace(" ","_") - linename = linename.replace(".","_") - linename = linename.replace("&","and") - try: - int(linename[0]) - linename="_" + linename - except: - pass - LineDico[linename]={} - LineDico[linename]['FROMNAME']=carray[0][i].strip() - LineDico[linename]['TONAME']=carray[1][i].strip() - LineDico[linename]['ID']=carray[4][i] - LineDico[linename]['FROMEXNAME']=carray[2][i] - LineDico[linename]['TOEXNAME']=carray[3][i] - LineDico[linename]['FROMNUMBER']=iarray[0][i] - LineDico[linename]['TONUMBER']=iarray[1][i] - - #Extract Transfos - sid = -1 - owner = 1 - ties = 1 - flag = 6 #two-winding transfos - entry = 1 #each branch once, not both directions - string = ['FROMNUMBER','TONUMBER'] - ierr,iarray = psspy.abrnint(sid,owner,ties,flag,entry,string) - string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] - ierr,carray = psspy.abrnchar(sid,owner,ties,flag,entry,string) - - TfoDico = {} #[linename, Bus name 1, Bus name 2, machine ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] - for i in range(len(iarray[0])): - idname = 'Tr' + str(int(carray[4][i])) - tfoname = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname - tfoname = tfoname.replace(" ","_") - tfoname = tfoname.replace(".","_") - tfoname = tfoname.replace("&","and") - try: - int(tfoname[0]) - tfoname="_" + tfoname - except: - pass - TfoDico[tfoname]={} - TfoDico[tfoname]['FROMNAME']=carray[0][i].strip() - TfoDico[tfoname]['TONAME']=carray[1][i].strip() - TfoDico[tfoname]['ID']=carray[4][i] - TfoDico[tfoname]['FROMEXNAME']=carray[2][i] - TfoDico[tfoname]['TOEXNAME']=carray[3][i] - TfoDico[tfoname]['FROMNUMBER']=iarray[0][i] - TfoDico[tfoname]['TONUMBER']=iarray[1][i] - - return MachineDico, LoadDico, LineDico, TfoDico - - -#MachineDico, LoadDico, LineDico, TfoDico = ExtractGeneratorLoadLineandTransfoDico(NetworkFile,PSSE_PATH) - - -def ExtractGeneratorLoadLineandTransfoDico2(NetworkFile,PSSE_PATH): - MachineDico={'M1':'M1','M2':'M2','M3':'M3','M4':'M4','B6_BUS13__1':'AZ','CSPRING__1':'DD','GT12B__1':'ER','BSTMB__1':'JJ'} - LoadDico={'C1':'C1','C2':'C2','C3':'C3','C4':'C4'} - LineDico={'L1':'L1','L2':'L2','L3':'L3','L4':'L4'} - TfoDico={'T1':'T1','T2':'T2','T3':'T3','T4':'T4'} - MDico={'MZ1':'MZ1','MZ2':'MZ2','MZ3':'MZ3','MZ4':'MZ4'} - if NetworkFile == '/home/A96028/PSEN/PSEN_V8/Code/PSEN_Eficas/faux2.sav': - print "sans T1" - TfoDico={'T2':'T2','T3':'T3','T4':'T4'} - - - return MachineDico, LoadDico, LineDico, TfoDico, MDico diff --git a/PSEN_Eficas/ExtractGeneratorandLoadList.py b/PSEN_Eficas/ExtractGeneratorandLoadList.py deleted file mode 100755 index 08f45480..00000000 --- a/PSEN_Eficas/ExtractGeneratorandLoadList.py +++ /dev/null @@ -1,70 +0,0 @@ -NetworkFile = r"C:\Users\J15773\Documents\GTDosier\PSENdocs\Victoria ALL - EFICAS PSEN\Data\2030Conv_HFP2.sav" -PSSE_PATH = "C:/Program Files/PTI/PSSE33/PSSBIN" #emplacement de PSSE - -def ExtractGeneratorandLoadList(NetworkFile,PSSE_PATH): - - import os - import sys - - print NetworkFile - print PSSE_PATH - sys.path.append(PSSE_PATH) - os.environ['PATH'] += ';' + PSSE_PATH + ';' - - import psspy - import redirect - - ###initialization PSSE - psspy.psseinit(10000) - _i=psspy.getdefaultint() - _f=psspy.getdefaultreal() - _s=psspy.getdefaultchar() - redirect.psse2py() - - # Silent execution of PSSe - islct=6 # 6=no output; 1=standard - psspy.progress_output(islct) - - #open Network File - psspy.case(NetworkFile) - - #Extract Loads - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - - string = ['NUMBER'] - ierr,iarray = psspy.aloadint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.aloadchar(sid,flag,string) - - LoadList = [] # [Bus name, load ID, extended bus name, bus number] - for i in range(len(iarray[0])): - LoadList.append([carray[0][i].strip(),carray[1][i],carray[2][i],iarray[0][i]]) - - #Extract Generators - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - string = ['NUMBER'] - ierr,iarray = psspy.amachint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.amachchar(sid,flag,string) - - MachineList = [] # [Bus name, machine ID, extended bus name, bus number] - for i in range(len(iarray[0])): - MachineList.append([carray[0][i].strip(),carray[1][i],carray[2][i],iarray[0][i]]) - - return MachineList, LoadList - -def ExtractGeneratorandLoadList2(NetworkFile,PSSE_PATH): - MachineList = [['GT 6', '1 ', 'GT 6 11.500', 10], ['GT 7', '1 ', 'GT 7 11.500', 11], ['GT10', '1 ', 'GT10 11.500', 12], ['GT 5', '1 ', 'GT 5 11.500', 13], ['NEWHUNT', '1 ', 'NEWHUNT 11.500', 15], ['BSTMB', '1 ', 'BSTMB 11.500', 23], ['HYD_MAG', '1 ', 'HYD_MAG 6.9000', 25], ['RF1', '1 ', 'RF1 13.800', 37], ['OH2', '1 ', 'OH2 13.800', 41], ['RF2', '1 ', 'RF2 13.800', 42], ['GT3', '1 ', 'GT3 11.500', 43], ['OH3', '1 ', 'OH3 13.800', 47], ['OH4', '1 ', 'OH4 13.800', 50], ['OH6', '1 ', 'OH6 13.800', 52], ['GT 11', '1 ', 'GT 11 11.500', 56], ['B6_BUS13', '1 ', 'B6_BUS13 13.800', 57], ['GT8', '1 ', 'GT8 11.500', 58], ['HYDRR', '1 ', 'HYDRR 6.9000', 59], ['GT9', '1 ', 'GT9 11.500', 63], ['HYD_UWR', '1 ', 'HYD_UWR 6.9000', 64], ['HYD_RIOB', '1 ', 'HYD_RIOB 6.9000', 65], ['HRYD_LW', '1 ', 'HRYD_LW 6.9000', 68], ['GT13B', '1 ', 'GT13B 11.500', 76], ['GT12B', '1 ', 'GT12B 11.500', 77], ['CSPRING', '1 ', 'CSPRING 69.000', 91], ['OLDHARB1', '1 ', 'OLDHARB1 138.00', 114], ['WIGTON', '1 ', 'WIGTON 0.6900', 202], ['JEPWK1', '1 ', 'JEPWK1 11.500', 300], ['JEPWK1', '2 ', 'JEPWK1 11.500', 300], ['JEPWK1', '3 ', 'JEPWK1 11.500', 300], ['JEPWK2', '1 ', 'JEPWK2 11.500', 301], ['JEPWK2', '2 ', 'JEPWK2 11.500', 301], ['JEPWK2', '3 ', 'JEPWK2 11.500', 301], ['W_MUN1', '1 ', 'W_MUN1 69.000', 503], ['HYD_RHORN', '1 ', 'HYD_RHORN 69.000', 711]] - - LoadList= [['TREDEGAR', '1 ', 'TREDEGAR 69.000', 5], ['HOPE', '1 ', 'HOPE 69.000', 16], ['MILCHELT', '1 ', 'MILCHELT 69.000', 17], ['PARADISE', '1 ', 'PARADISE 69.000', 24], ['BLEDGE', '1 ', 'BLEDGE 69.000', 26], ['CANE RIV', '1 ', 'CANE RIV 69.000', 27], ['HIGHGATE', '1 ', 'HIGHGATE 69.000', 29], ['QUEENS D', '1 ', 'QUEENS D 69.000', 30], ['OCHO', '1 ', 'OCHO 69.000', 32], ['BOGUE_69', '1 ', 'BOGUE_69 69.000', 33], ['ROSE HAL', '1 ', 'ROSE HAL 69.000', 35], ['OH1', '1 ', 'OH1 13.800', 36], ['RF1', '1 ', 'RF1 13.800', 37], ['CEMENT C', '1 ', 'CEMENT C 69.000', 38], ['OBAY69', '1 ', 'OBAY69 69.000', 39], ['DUNCANS6', '1 ', 'DUNCANS6 69.000', 40], ['OH2', '1 ', 'OH2 13.800', 41], ['RF2', '1 ', 'RF2 13.800', 42], ['3MLS69', '1 ', '3MLS69 69.000', 45], ['WBLVD69', '1 ', 'WBLVD69 69.000', 46], ['OH3', '1 ', 'OH3 13.800', 47], ['PORT ANT', '1 ', 'PORT ANT 69.000', 48], ['OH4', '1 ', 'OH4 13.800', 50], ['B6_BUS13', '1 ', 'B6_BUS13 13.800', 57], ['GREENWOO', '1 ', 'GREENWOO 69.000', 60], ['LYSSONS', '1 ', 'LYSSONS 69.000', 61], ['PORUS', '1 ', 'PORUS 69.000', 62], ['R RIVER', '1 ', 'R RIVER 69.000', 66], ['MARTHA B', '1 ', 'MARTHA B 69.000', 67], ['WKH69', '1 ', 'WKH69 69.000', 69], ['PNASUS69', '1 ', 'PNASUS69 69.000', 70], ['ANNOTTO', '1 ', 'ANNOTTO 69.000', 71], ['UW RIVER', '1 ', 'UW RIVER 69.000', 74], ['KNDAL 69', '1 ', 'KNDAL 69 69.000', 75], ['MONYMUSK', '1 ', 'MONYMUSK 69.000', 78], ['OROCABES', '1 ', 'OROCABES 69.000', 79], ['MAGGOTTY', '1 ', 'MAGGOTTY 69.000', 80], ['UP PARK', '1 ', 'UP PARK 69.000', 82], ['TWICKENH', '1 ', 'TWICKENH 69.000', 85], ['MAY PEN', '1 ', 'MAY PEN 69.000', 88], ['PAJ', '1 ', 'PAJ 69.000', 89], ['GROAD_69', '1 ', 'GROAD_69 69.000', 90], ['CSPRING', '1 ', 'CSPRING 69.000', 91], ['S_ TREE6', '1 ', 'S_ TREE6 69.000', 92], ['NAGGOS H', '1 ', 'NAGGOS H 69.000', 94], ['GOODYEAR', '1 ', 'GOODYEAR 69.000', 99], ['HBAY_69', '1 ', 'HBAY_69 69.000', 101], ['RFORT69', '1 ', 'RFORT69 69.000', 102], ['RHODEN P', '1 ', 'RHODEN P 69.000', 105], ['DUHANEY6', '1 ', 'DUHANEY6 69.000', 107], ['CARDIFF', '1 ', 'CARDIFF 69.000', 109], ['JAB13.8', '1 ', 'JAB13.8 13.800', 112], ['JAM13.8', '1 ', 'JAM13.8 13.800', 113]] - return MachineList, LoadList - -if __name__ == "__main__": - MachineList,LoadList= ExtractGeneratorandLoadList2(NetworkFile,PSSE_PATH) - print MachineList, LoadList diff --git a/PSEN_Eficas/PSEN/PSEN_GUI.py b/PSEN_Eficas/PSEN/PSEN_GUI.py deleted file mode 100755 index 32b22dbe..00000000 --- a/PSEN_Eficas/PSEN/PSEN_GUI.py +++ /dev/null @@ -1,1220 +0,0 @@ -# -*- coding: cp1252 -*- -# ======================== PSEN graphic interface ======================== -# This Python script creates a graphical interface to parameter and launch PSEN - -# ============== Import useful modules ================= -from Tkinter import * -from ttk import Combobox -import tkFileDialog, os -import subprocess -from time import sleep -import numpy as np - -# ============== Initialize some variables ================= -config=[] -for i in range (60) : # config[] will be used as a list of preferences for PSEN study - config.append('') - -root = Tk() # Creates the main window -root.wm_withdraw() # The main window is withdrawn/hidden - -CIST=PhotoImage(file="lib\CISTlogo.gif") # Load images -header=PhotoImage(file="lib\header.gif") -WTcurve=PhotoImage(file="lib\WTcurve.gif") - -# ============== Define functions ================= - -# browse_PSSe function is used to get the .SAV file path from the user. -# tkFileDialog.askopenfilename offers a browsing interface to the user -def browse_PSSe() : - global savAdress - savAdress = tkFileDialog.askopenfilename(parent=fenPref,title='Open PSSe SAV file',filetypes=[('SAV files', '.sav')]) - savAdressD.set(savAdress) - fenPref.update_idletasks() # this updates the values in the fenPref window (defined in preferences()) - print 'Added: '+str(savAdress) - return savAdress - -# browse_ENR function is used to get a .CSV file path from the user -# The CSV file contains a list of machines and their type (PV, Wind, Interconnexion) -# tkFileDialog.askopenfilename offers a browsing interface to the user -def browse_ENR() : - global ENRpath - ENRpath = tkFileDialog.askopenfilename(parent=fenPref,title='Open ENR configuration',filetypes=[('CSV files', '.csv'),('All files', '.*')]) - ENRpathD.set(ENRpath) - fenPref.update_idletasks() # this updates the values in the fenPref window (defined in preferences()) - print 'Added: '+str(ENRpath) - return ENRpath - -# browse_folder function is used to get a folder path from the user -# This folder is used to save all study files (.sav, .csv, ...) -# tkFileDialog.askdirectory offers a browsing interface to the user -def browse_folder() : - global folderPATH - folderPATH = tkFileDialog.askdirectory(parent=fenPref,title='Choose working folder') - folderPATHD.set(folderPATH) - fenPref.update_idletasks() # this updates the values in the fenPref window (defined in preferences()) - print 'Added: '+str(folderPATH) - return folderPATH - -# savePref function is used to save preferences input in fenPref window (defined in preferences()) -def savePref() : - global Vcin, Vrate, Vcout, Rho, lossrate # These variables are global because they are used in savePSEN() - try : # Test if the user has defined all the requested variables - savAdress - folderPATH - ENRpath - VcinD - VrateD - VcoutD - RhoD - lossrateD - except NameError : # If not a new window pops up and explains the data is missing - fenetre2 = Tk() - champ_label = Label(fenetre2, text="ERROR\nNo file and/or folder selected", fg="red", font=("Century Gothic",16)) - champ_label.pack(side=TOP, fill=BOTH, expand=YES) - else : # If it's OK it gets the data from the fields and save it into config[] - config[9]=VcinD.get(); config[10]=VrateD.get(); config[11]=VcoutD.get(); config[12]=RhoD.get(); config[13]=lossrateD.get(); config[2]=ENRpathD.get(); config[1]=folderPATHD.get(); config[0]=savAdressD.get() - Vcin=VcinD.get() - Vrate=VrateD.get() - Vcout=VcoutD.get() - Rho=RhoD.get() - lossrate=lossrateD.get() - f=open("lib\pref.psen", "w") # Creates a config file with values to give to PSSEWrapper.py - f.write(str(savAdress)+";"+str(folderPATH)+";"+str(ENRpath)+";"+str(Vcin)+";"+str(Vrate)+";"+str(Vcout)+";"+str(Rho)+";"+str(lossrate)+";0\n") - f.close() - try : - fenPref - except NameError : - pass - else : - fenPref.destroy() - print 'Preferences saved' - -# refresh_pref function is used to refresh fields value in fenPref window (defined in preferences()) -def refresh_pref () : - try : - saved - except NameError : # if saved hasn't been created yet there is no data to update - pass - print 'No configuration yet' - else : # if it has been created we set fields variables and update the window with update_idletasks() - print 'Update values' - global continpath - global model_Path - global PSSEfolder - VcinD.set(config[9]) - VrateD.set(config[10]) - VcoutD.set(config[11]) - RhoD.set(config[12]) - lossrateD.set(config[13]) - ENRpathD.set(ENRpath) - folderPATHD.set(folderPATH) - savAdressD.set(savAdress) - fenPref.update_idletasks() - -# savePSEN function is used to create a .PSEN file containing all users parameters and preferences -def savePSEN() : - global savePATH - global saved - saved=1 - - # === We get all the fields data === - - MCS_num=var_MCS.get() - N_1_opt=N_1.get() - PV_opt=PV.get() - Wind1_opt=Wind1.get() - Wind2_opt=Wind1.get() - Load_opt=Load.get() - - load_type=choix_load.get() - load1=var_loadn1.get() - load2=var_loadn2.get() - load3=var_loadn3.get() - load4=var_loadn4.get() - loadPath=loadPathD.get() - - wind11_type=choix_wind11.get() - wind11=var_windn11.get() - wind12=var_windn12.get() - wind13=var_windn13.get() - wind14=var_windn14.get() - wind1Path=wind1PathD.get() - - wind21_type=choix_wind21.get() - wind21=var_windn21.get() - wind22=var_windn22.get() - wind23=var_windn23.get() - wind24=var_windn24.get() - wind2Path=wind2PathD.get() - - pv_type=choix_pv.get() - pv1=var_pvn1.get() - pv2=var_pvn2.get() - pv3=var_pvn3.get() - pv4=var_pvn4.get() - pvPath=pvPathD.get() - - C01=C01D.get() - C02=C02D.get() - C03=C03D.get() - C04=C04D.get() - C12=C12D.get() - C14=C14D.get() - C13=C13D.get() - C23=C23D.get() - C24=C24D.get() - C34=C34D.get() - - fuel_cost_opt = fuel_cost.get() - bus_shunt_opt = bus_shunt.get() - bus_loads_opt = bus_loads.get() - - rate_choice = rate_choiceD.get() - - try : - contin_lines_Path - contin_groups_Path - except NameError : # If the user hasn't choose a path for the contingency CSV file, we create it as blank to save the data - contin_lines_Path='' - contin_groups_Path='' - - # We ask the user the name and path of the file - savePATH = tkFileDialog.asksaveasfilename(parent=fenetre,title='Save the file as ...',defaultextension='.psen',filetypes=[('PSEN file', '.psen')]) - try : - len(savePATH)>0 - except NameError : - pass - else : # Writing all the variables in a specific order (could be improved with XML file for instance) - f=open(savePATH,'w') - f.write(str(savAdress)+";"+str(folderPATH)+";"+str(ENRpath)+";" - +str(contin_lines_Path)+";"+str(contin_groups_Path)+";"+str(model_Path)+";"+str(PSSEfolder)+";"+str(orange_Path)+";"+str(python_Path)+";" - +str(Vcin)+";"+str(Vrate)+";"+str(Vcout)+";"+str(Rho)+";"+str(lossrate)+";" - +str(MCS_num)+";"+str(N_1_opt)+";"+str(PV_opt)+";"+str(Wind1_opt)+";"+str(Wind2_opt)+";"+str(Load_opt)+";" - +str(load_type)+";"+str(load1)+";"+str(load2)+";"+str(load3)+";"+str(load4)+";"+str(loadPath)+";" - +str(wind11_type)+";"+str(wind11)+";"+str(wind12)+";"+str(wind13)+";"+str(wind14)+";"+str(wind1Path)+";" - +str(wind21_type)+";"+str(wind21)+";"+str(wind22)+";"+str(wind23)+";"+str(wind24)+";"+str(wind2Path)+";" - +str(pv_type)+";"+str(pv1)+";"+str(pv2)+";"+str(pv3)+";"+str(pv4)+";"+str(pvPath)+";" - +str(C01)+";"+str(C02)+";"+str(C03)+";"+str(C04)+";"+str(C12)+";"+str(C13)+";"+str(C14)+";"+str(C23)+";"+str(C24)+";"+str(C34)+";" - +str(fuel_cost_opt)+";"+str(bus_shunt_opt)+";"+str(bus_loads_opt)+";" - +str(rate_choice)+";0\n") - f.close() - print 'Successfuly saved case study' - -# preferences function is a new window to update some PSEN parameters -def preferences () : - global fenPref - global savAdressD - global folderPATHD - global ENRpathD - global VcinD - global VrateD - global VcoutD - global RhoD - global lossrateD - global config - - fenPref = Toplevel(root) # Creating a new window - fenPref.wm_iconbitmap('lib\PSEN.ico') # Window icon - fenPref.wm_title('PSEN - Probabilistic Studies of Electrical Networks') # Window title - - f0p=Frame(fenPref, height=70, width=500, bd=2, relief=RIDGE) - f0p.pack_propagate(0) # don't shrink - f0p.pack() - - Label(f0p, text="PSSe .SAV file", fg="black", justify=LEFT, font=("Century Gothic",12)).pack(anchor=NW, padx=10, expand=YES) - savAdressD=StringVar() - Entry(f0p, textvariable=savAdressD, width=50).pack(side=LEFT, padx=15, expand=YES) - Button(f0p, text="Load SAV file", command=browse_PSSe, height=15, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fline=Frame(fenPref, height=2, width=500, bg="grey") - fline.pack_propagate(0) # don't shrink - fline.pack(expand=1) - - f1p=Frame(fenPref, height=70, width=500, bd=2, relief=RIDGE) - f1p.pack_propagate(0) # don't shrink - f1p.pack() - - Label(f1p, text="Working folder adress :", fg="black", justify=LEFT, font=("Century Gothic",12)).pack(anchor=NW, padx=10, expand=YES) - folderPATHD=StringVar() - Entry(f1p, textvariable=folderPATHD, width=50).pack(side=LEFT, padx=15, expand=YES) - Button(f1p, text="Browse to working folder", command=browse_folder, height=15, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fline=Frame(fenPref, height=5, width=500, bg="grey") - fline.pack_propagate(0) # don't shrink - fline.pack(expand=1) - - f3p=Frame(fenPref, height=100, width=500, bd=2, relief=RIDGE) - f3p.pack_propagate(0) # don't shrink - f3p.pack() - - Label(f3p, text="Machines configuration :", fg="black", justify=LEFT, font=("Century Gothic",12)).pack(anchor=NW, padx=10, expand=YES) - Label(f3p, text="N.B. Use the PSSe machine tab, insert a new column in first and write PV for PV, W1 for wind 1, W2 for wind 2 or do nothing for non-ENR. Save as CSV", fg="black", justify=LEFT, wraplength=450).pack(anchor=NW, padx=10, expand=YES) - ENRpathD=StringVar() - Entry(f3p, textvariable=ENRpathD, width=50).pack(side=LEFT, padx=15, expand=YES) - Button(f3p, text="Browse to ENR CSV file", command=browse_ENR, height=15, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fline=Frame(fenPref, height=5, width=500, bg="grey") - fline.pack_propagate(0) # don't shrink - fline.pack(expand=1) - - f4p=Frame(fenPref, height=120, width=500, bd=2, relief=RIDGE) - f4p.pack_propagate(0) # don't shrink - f4p.pack() - - # Creates 5 entry for wind turbines characteristics - Label(f4p, text="Wind 1 & 2 characteristics :", fg="black", justify=LEFT, font=("Century Gothic",12)).pack(anchor=NW, padx=10, expand=YES) - Label(f4p, text="If wind law, enter the following parameters : \nVcin, Vrate, Vcout, rho (air density kg.m-3, base is 1.225), lossrate (base is 0.05)\nIf power law: Vcin=0, Vrate=1, Vcout>=1. Law must take values between 0 and 1.", fg="black", justify=LEFT, wraplength=450).pack(anchor=NW, padx=10, expand=YES) - VcinD = StringVar() - Entry(f4p, textvariable=VcinD, width=13).pack(side=LEFT, padx=5, pady=5) - VrateD = StringVar() - Entry(f4p, textvariable=VrateD, width=13).pack(side=LEFT, padx=5, pady=5) - VcoutD = StringVar() - Entry(f4p, textvariable=VcoutD, width=13).pack(side=LEFT, padx=5, pady=5) - RhoD = StringVar() - Entry(f4p, textvariable=RhoD, width=13).pack(side=LEFT, padx=5, pady=5) - lossrateD = StringVar() - Entry(f4p, textvariable=lossrateD, width=13).pack(side=LEFT, padx=5, pady=5) - - fline=Frame(fenPref, height=2, width=500, bg="grey") - fline.pack_propagate(0) # don't shrink - fline.pack(expand=1) - - f2p=Frame(fenPref, height=40, width=500, bd=2, relief=RIDGE) - f2p.pack_propagate(0) # don't shrink - f2p.pack() - - Button(f2p, text="Save and quit", command=savePref, height=1, width=30).pack(anchor=N, fill=BOTH, expand=1, padx=5, pady=3) - - # Refresh the window data - refresh_pref () - -# openPSEN function opens a .PSEN file with all PSEN parameters, read them and updates their value in the GUI -def openPSEN () : - global openPATH - global folderPATH - global savAdress - global ENRpath - global contin_lines_Path - global contin_groups_Path - global model_Path - global loadPath, wind1Path, wind2Path, pvPath - global PSSEfolder - global orange_Path - global python_Path - global config - global Vcin; global Vrate; global Vcout; global Rho; global lossrate - global PVpath - - openPATH = tkFileDialog.askopenfilename(parent=fenetre,title='Open PSEN file',filetypes=[('PSEN files', '.psen'),('All files', '.*'),]) - try : - os.lstat(openPATH) - except WindowsError : # If the user doesn't choose any file we don't open it - pass - except NameError : # If the user doesn't choose any file we don't open it - pass - else : - global saved # Create a saved variable : config list will be created - saved=1 - f=open(openPATH,'r') - lines=f.readlines() - config=lines[0].split(";") - savAdress=config[0]; folderPATH=config[1]; ENRpath=config[2]; - contin_lines_Path=config[3]; contin_groups_Path=config[4]; model_Path=config[5]; PSSEfolder=config[6]; orange_Path=config[7]; python_Path=config[8]; - Vcin=config[9]; Vrate=config[10]; Vcout=config[11]; Rho=config[12]; lossrate=config[13]; - loadPath=config[25]; wind1Path=config[31]; wind2Path=config[37]; pvPath=config[43]; - refresh(config) - f=open("lib\pref.psen", "w") - f.write(str(savAdress)+";"+str(folderPATH)+";"+str(ENRpath)+";"+str(Vcin)+";"+str(Vrate)+";"+str(Vcout)+";"+str(Rho)+";"+str(lossrate)+";0\n") - f.close() - print 'Successfuly opened '+str(openPATH) - -# This function is not used yet -def numToName (num) : - num=int(num) - if num == 1 : - name = "Normal(mean, stdev)" - elif num == 2 : - name = "Uniform(min, max)" - elif num == 3 : - name = "Exponential(lambda, gamma)" - elif num == 4 : - name = "Weibull(alpha, beta, gamma)" - elif num == 5 : - name = "TruncatedNormal(mean, stdev, min, max)" - elif num == 6 : - name = "Value list ([[v1,p1],[v2,p2],...])" - elif num == 7 : - name = "Histogram (steps, probabilities)" - elif num == 10 : - name = "PDF from file ()" - elif num == 20 : - name = "Time Serie from file (stepsize, number of points)" - return name - -# refresh function updates fields values in fenetre window -def refresh (config) : - var_MCS.set(config[14]) - N_1.set(config[15]) - PV.set(config[16]) - Wind1.set(config[17]) - Wind2.set(config[18]) - Load.set(config[19]) - - choix_load.set(config[20]) - var_loadn1.set(config[21]) - var_loadn2.set(config[22]) - var_loadn3.set(config[23]) - var_loadn4.set(config[24]) - loadPathD.set(config[25]) - - choix_wind11.set(config[26]) - var_windn11.set(config[27]) - var_windn12.set(config[28]) - var_windn13.set(config[39]) - var_windn14.set(config[30]) - wind1PathD.set(config[31]) - - choix_wind21.set(config[32]) - var_windn21.set(config[33]) - var_windn22.set(config[34]) - var_windn23.set(config[35]) - var_windn24.set(config[36]) - wind2PathD.set(config[37]) - - choix_pv.set(config[38]) - var_pvn1.set(config[39]) - var_pvn2.set(config[40]) - var_pvn3.set(config[41]) - var_pvn4.set(config[42]) - pvPathD.set(config[43]) - - C01D.set(config[44]) - C02D.set(config[45]) - C03D.set(config[46]) - C04D.set(config[47]) - C12D.set(config[48]) - C13D.set(config[49]) - C14D.set(config[50]) - C23D.set(config[51]) - C24D.set(config[52]) - C34D.set(config[53]) - - fuel_cost.set(config[54]) - bus_shunt.set(config[55]) - bus_loads.set(config[56]) - - rate_choiceD.set(config[57]) - - fenetre.update_idletasks() - -# PCpreferences function creates a window in which the user can choose some requested paths -def PCpreferences (): - global fenPrefPC - global python_Path - global orange_Path - global PSSEfolder - - fenPrefPC = Tk() - fenPrefPC.wm_iconbitmap('lib\PSEN.ico') - fenPrefPC.wm_title('PSEN - Probabilistic Studies of Electrical Networks') - - Label(fenPrefPC, text="Configure PSEN for your computer : ", fg="black", justify=LEFT, font=("Century Gothic",12)).pack(anchor=NW, padx=10, expand=YES) - Button(fenPrefPC, text="Path to Python 2.7.exe...", command=browse_Python, height=3, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - Button(fenPrefPC, text="Path to orngCanvas.pyw...", command=browse_Orange, height=3, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - Button(fenPrefPC, text="Path to PSSE33\PSSBIN...", command=browse_PSSEfolder, height=3, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - Button(fenPrefPC, text="Save and close", command=closePCpref, height=3, width=15).pack(anchor=S, fill=BOTH, expand=1, padx=5, pady=10) - -def closePCpref () : - try : # Test if the user has defined all the requested variables - python_Path - orange_Path - PSSEfolder - except NameError : # If not a new window pops up and explains the data is missing - fenetre2 = Tk() - champ_label = Label(fenetre2, text="ERROR\nNo file and/or folder selected", fg="red", font=("Century Gothic",16)) - champ_label.pack(side=TOP, fill=BOTH, expand=YES) - else : # If it's OK it gets the data from the fields and save it into config[] - config[6]=PSSEfolder; config[7]=orange_Path; config[8]=python_Path - try : - fenPrefPC - except NameError : - pass - else : - fenPrefPC.destroy() - print 'Data saved' - -# PCpreferences function creates a window in which the user can choose some requested paths -def ContinPreferences (): - global fenPrefC - global contin_lines_Path - global contin_groups_Path - - fenPrefC = Tk() - fenPrefC.wm_iconbitmap('lib\PSEN.ico') - fenPrefC.wm_title('PSEN - Probabilistic Studies of Electrical Networks') - - Label(fenPrefC, text="Choose contingency files with probabilities : ", fg="black", justify=LEFT, font=("Century Gothic",12)).pack(anchor=NW, padx=10, expand=YES) - Button(fenPrefC, text="Path to branches file", command=contin_lines, height=3, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - Button(fenPrefC, text="Path to groups file", command=contin_groups, height=3, width=30).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - Button(fenPrefC, text="Save and close", command=closeCpref, height=3, width=15).pack(anchor=S, fill=BOTH, expand=1, padx=5, pady=10) - -def closeCpref () : - try : # Test if the user has defined all the requested variables - contin_lines_Path - contin_groups_Path - except NameError : # If not a new window pops up and explains the data is missing - fenetre2 = Tk() - champ_label = Label(fenetre2, text="ERROR\nNo file and/or folder selected", fg="red", font=("Century Gothic",16)) - champ_label.pack(side=TOP, fill=BOTH, expand=YES) - else : # If it's OK it gets the data from the fields and save it into config[] - config[3]=contin_lines_Path; config[4]=contin_lines_Path - f=open("lib\contin.psen", "w") - f.write(str(contin_lines_Path)+";"+str(contin_groups_Path)+";0\n") - f.close() - try : - fenPrefC - except NameError : - pass - else : - print 'Added :\n'+str(contin_lines_Path)+'\n'+str(contin_groups_Path) - fenPrefC.destroy() - print 'Saved contingency data' - -def contin_lines () : - global contin_lines_Path - contin_lines_Path = tkFileDialog.askopenfilename(parent=fenetre,title='Choose contingency lines file',filetypes=[('CSV file', '.csv'),('All files', '.*')]) - return contin_lines_Path - -def contin_groups () : - global contin_groups_Path - contin_groups_Path = tkFileDialog.askopenfilename(parent=fenetre,title='Choose contingency groups file',filetypes=[('CSV file', '.csv'),('All files', '.*')]) - return contin_groups_Path - -# Hide command window -if os.name == 'nt': # The functions only work with Windows OS - try: - import win32gui, win32console, win32con - win32console.GetConsoleWindow() # do nothing, this is just a test - def set_attached_console_visible(): - state=is_attached_console_visible() - win32gui.ShowWindow(win32console.GetConsoleWindow(), win32con.SW_HIDE if state else win32con.SW_SHOW) - def is_attached_console_visible(): - return win32gui.IsWindowVisible(win32console.GetConsoleWindow()) - except (ImportError, NotImplementedError): - pass - - -# config_save function is used to save configuration for PSSEWrapper -def config_save(): - MCS_num=var_MCS.get() - N_1_opt=N_1.get() - PV_opt=PV.get() - Wind1_opt=Wind1.get() - Wind2_opt=Wind2.get() - Load_opt=Load.get() - - load_type=choix_load.get() - load1=var_loadn1.get() - load2=var_loadn2.get() - load3=var_loadn3.get() - load4=var_loadn4.get() - loadPath=loadPathD.get() - - wind11_type=choix_wind11.get() - wind11=var_windn11.get() - wind12=var_windn12.get() - wind13=var_windn13.get() - wind14=var_windn14.get() - wind1Path=wind1PathD.get() - - wind21_type=choix_wind21.get() - wind21=var_windn21.get() - wind22=var_windn22.get() - wind23=var_windn23.get() - wind24=var_windn24.get() - wind2Path=wind2PathD.get() - - pv_type=choix_pv.get() - pv1=var_pvn1.get() - pv2=var_pvn2.get() - pv3=var_pvn3.get() - pv4=var_pvn4.get() - pvPath=pvPathD.get() - - C01=C01D.get() - C02=C02D.get() - C03=C03D.get() - C04=C04D.get() - C12=C12D.get() - C13=C13D.get() - C14=C14D.get() - C23=C23D.get() - C24=C24D.get() - C34=C34D.get() - - fuel_cost_opt = fuel_cost.get() - bus_shunt_opt = bus_shunt.get() - bus_loads_opt = bus_loads.get() - - rate_choice=rate_choiceD.get() - - f=open("lib\config.psen", "w") -# Write probabilistic model data - f.write(str(MCS_num)+";"+str(N_1_opt)+";"+str(PV_opt)+";"+str(Wind1_opt)+";"+str(Wind2_opt)+";"+str(Load_opt)+";"+str(fuel_cost_opt)+";"+str(bus_shunt_opt)+";"+str(bus_loads_opt)+"\n") - -# Write load probabilistic model data - if load_type == "Normal(mean, stdev)" : - f.write('1;'+str(load1)+";"+str(load2)+';0') - elif load_type == "Uniform(min, max)" : - f.write('2;'+str(load1)+";"+str(load2)+';0') - elif load_type == "Exponential(lambda, gamma)" : - f.write('3;'+str(load1)+";"+str(load2)+';0') - elif load_type == "Weibull(alpha, beta, gamma)" : - f.write('4;'+str(load1)+";"+str(load2)+";"+str(load3)+';0') - elif load_type == "TruncatedNormal(mean, stdev, min, max)" : - f.write('5;'+str(load1)+";"+str(load2)+";"+str(load3)+";"+str(load4)+';0') - elif load_type == "Value list (values, probabilities)" : - f.write('6;'+str(load1)+";"+str(load2)+';0') - elif load_type == 'Histogram (steps, probabilities)' : - f.write('7;'+str(load1)+";"+str(load2)+';0') - elif load_type== "PDF from file ()" : - try : - loadPath - except NameError : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('10;'+loadPath+';0') - elif load_type== "Time Serie from file (stepsize, number of points)" : - try : - loadPath - except NameError : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('20;'+loadPath+";"+str(load1)+";"+str(load2)+';0') - else : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo load model selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - f.write("\n") - -# Write wind 1 probabilistic model data - if wind11_type == "Normal(mean, stdev)" : - f.write('1;'+str(wind11)+";"+str(wind12)+';0') - elif wind11_type == "Uniform(min, max)" : - f.write('2;'+str(wind11)+";"+str(wind12)+';0') - elif wind11_type == "Exponential(lambda, gamma)" : - f.write('3;'+str(wind11)+";"+str(wind12)+';0') - elif wind11_type == "Weibull(alpha, beta, gamma)" : - f.write('4;'+str(wind11)+";"+str(wind12)+";"+str(wind13)+';0') - elif wind11_type == "TruncatedNormal(mean, stdev, min, max)" : - f.write('5;'+str(wind11)+";"+str(wind12)+";"+str(wind13)+";"+str(wind14)+';0') - elif wind11_type == "Value list (values, probabilities)" : - f.write('6;'+str(wind11)+";"+str(wind12)+';0') - elif wind11_type == 'Histogram (steps, probabilities)' : - f.write('7;'+str(wind11)+";"+str(wind12)+';0') - elif wind11_type== "PDF from file ()" : - try : - wind1Path - except NameError : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('10;'+wind1Path+';0') - elif wind11_type== "Time Serie from file (stepsize, number of points)" : - try : - wind1Path - except NameError : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('20;'+wind1Path+";"+str(wind11)+";"+str(wind12)+';0') - else : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo wind model selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - f.write("\n") - -# Write wind 2 probabilistic model data - if wind21_type == "Normal(mean, stdev)" : - f.write('1;'+str(wind21)+";"+str(wind22)+';0') - elif wind21_type == "Uniform(min, max)" : - f.write('2;'+str(wind21)+";"+str(wind22)+';0') - elif wind21_type == "Exponential(lambda, gamma)" : - f.write('3;'+str(wind21)+";"+str(wind22)+';0') - elif wind21_type == "Weibull(alpha, beta, gamma)" : - f.write('4;'+str(wind21)+";"+str(wind22)+";"+str(wind23)+';0') - elif wind21_type == "TruncatedNormal(mean, stdev, min, max)" : - f.write('5;'+str(wind21)+";"+str(wind22)+";"+str(wind23)+";"+str(wind24)+';0') - elif wind21_type == "Value list (values, probabilities)" : - f.write('6;'+str(wind21)+";"+str(wind22)+';0') - elif wind21_type == 'Histogram (steps, probabilities)' : - f.write('7;'+str(wind21)+";"+str(wind22)+';0') - elif wind21_type== "PDF from file ()" : - try : - wind2Path - except NameError : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('10;'+wind2Path+';0') - elif wind21_type== "Time Serie from file (stepsize, number of points)" : - try : - wind2Path - except NameError : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('20;'+wind2Path+";"+str(wind21)+";"+str(wind22)+';0') - else : - fenetre2 = Tk() - Label(fenetre2, text="ERROR\nNo wind 2 model selected", fg="red", font=("Century Gothic",16)).pack(side=TOP, fill=BOTH, expand=YES) - f.write("\n") - -# Write correlation probabilistic model data - f.write(str(C01)+";"+str(C02)+";"+str(C03)+";"+str(C04)+";"+str(C12)+";"+str(C13)+";"+str(C14)+";"+str(C23)+";"+str(C24)+";"+str(C34)+";0") - f.write("\n") - -# Write pv probabilistic model data - if pv_type == "Normal(mean, stdev)" : - f.write('1;'+str(pv1)+";"+str(pv2)+';0') - elif pv_type == "Uniform(min, max)" : - f.write('2;'+str(pv1)+";"+str(pv2)+';0') - elif pv_type == "Exponential(lambda, gamma)" : - f.write('3;'+str(pv1)+";"+str(pv2)+';0') - elif pv_type == "Weibull(alpha, beta, gamma)" : - f.write('4;'+str(pv1)+";"+str(pv2)+";"+str(pv3)+';0') - elif pv_type == "TruncatedNormal(mean, stdev, min, max)" : - f.write('5;'+str(pv1)+";"+str(pv2)+";"+str(pv3)+";"+str(pv4)+';0') - elif pv_type == "Value list (values, probabilities)" : - f.write('6;'+str(pv1)+";"+str(pv2)+';0') - elif pv_type == 'Histogram (steps, probabilities)' : - f.write('7;'+str(pv1)+";"+str(pv2)+';0') - elif pv_type== "PDF from file ()" : - try : - pvPath - except NameError : - fenetre2 = Tk() - champ_label = Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)) - champ_label.pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('10;'+pvPath+';0') - elif pv_type== "Time Serie from file (stepsize, number of points)" : - try : - pvPath - except NameError : - fenetre2 = Tk() - champ_label = Label(fenetre2, text="ERROR\nNo file selected", fg="red", font=("Century Gothic",16)) - champ_label.pack(side=TOP, fill=BOTH, expand=YES) - else : - f.write('20;'+pvPath+";"+str(pv1)+";"+str(pv2)+';0') - else : - fenetre2 = Tk() - champ_label = Label(fenetre2, text="ERROR\nNo wind model selected", fg="red", font=("Century Gothic",16)) - champ_label.pack(side=TOP, fill=BOTH, expand=YES) - f.write("\n") - -# Write OPF data model - f.write(str(fuel_cost_opt) +";"+ str(bus_shunt_opt) +";"+ str(bus_loads_opt)+";0\n") - -# Write Imap rate choice - f.write(str(rate_choice)+";0\n") - - f.close() - - print 'Successfuly saved case data' - -# launch_PSEN function is used to run PSSEWrapper code with the configuration in the GUI -def launch_PSEN(): - config_save() # Current configuration is fist saved - PSEN_Path='PSEN/PSSEWrapper.py' - subprocess.Popen([python_Path,PSEN_Path]) - -# launch_orange function is used to launch Orange with the model file -def launch_Orange(): - subprocess.Popen([python_Path,orange_Path,model_Path]) - -# browse_load is used to select a .CSV file with a 1D array of load measures -def browse_load() : - global loadPath - loadPath = tkFileDialog.askopenfilename(parent=fenetre,title='Open file for load data estimation',filetypes=[('CSV files', '.csv'),('All files', '.*')]) - loadPathD.set(loadPath) - fenetre.update_idletasks() # updates the fields paths - return loadPath - -# browse_wind is used to select a .CSV file with a 1D array of wind measures -def browse_wind1() : - global wind1Path - wind1Path = tkFileDialog.askopenfilename(parent=fenetre,title='Open file for wind 1 data estimation',filetypes=[('CSV files', '.csv'),('All files', '.*')]) - wind1PathD.set(wind1Path) - fenetre.update_idletasks() # updates the fields paths - return wind1Path - -# browse_wind is used to select a .CSV file with a 1D array of wind measures -def browse_wind2() : - global wind2Path - wind2Path = tkFileDialog.askopenfilename(parent=fenetre,title='Open file for wind 2 data estimation',filetypes=[('CSV files', '.csv'),('All files', '.*')]) - wind2PathD.set(wind2Path) - fenetre.update_idletasks() # updates the fields paths - return wind2Path - -# browse_pv is used to select a .CSV file with a 1D array of PV measures -def browse_pv() : - global pvPath - pvPath = tkFileDialog.askopenfilename(parent=fenetre,title='Open file for PV data estimation',filetypes=[('CSV files', '.csv'),('All files', '.*')]) - pvPathD.set(pvPath) - fenetre.update_idletasks() # updates the fields paths - return pvPath - -# continload function is a browsing window returning the path to the contingency CSV file -def continload () : - global continpath - continpath = tkFileDialog.askopenfilename(parent=fenetre,title='Open contingency file',filetypes=[('CSV files', '.csv'),('All files', '.*')]) - try : - continpath - except NameError : - pass - else : # Saves the path into a file for PSSEWrapper.py - f=open("lib\contin.psen", "w") - f.write(str(continpath)+";0\n") - f.close() - return continpath - -# orangeload function is a browsing window returning the path to the orange model file OWS -def orangeload () : - global model_Path - model_Path = tkFileDialog.askopenfilename(parent=fenetre,title='Open orange file...',filetypes=[('Orange Widget Scripts', '.ows')]) - -def browse_PSSEfolder () : - global PSSEfolder - if os.path.exists("C:\Program Files\PTI\PSSE33\PSSBIN") == True : - path="C:\Program Files\PTI\PSSE33\PSSBIN" - else : - path="C:" - PSSEfolder = tkFileDialog.askdirectory(parent=fenPrefPC,title='Choose PSSE/PSSBIN folder', initialdir=path) - return PSSEfolder - -def browse_Python () : - global python_Path - if os.path.exists("C:\Python27") == True : - path="C:\Python27" - else : - path="C:" - python_Path = tkFileDialog.askopenfilename(parent=fenetre,title='Choose python.exe',filetypes=[('Executables', '.exe'),('All files', '.*')], initialdir=path) - return python_Path - -def browse_Orange () : - global orange_Path - if os.path.exists("C:\Python27\Lib\site-packages\Orange\OrangeCanvas") == True : - path="C:\Python27\Lib\site-packages\Orange\OrangeCanvas" - else : - path="C:" - orange_Path = tkFileDialog.askopenfilename(parent=fenetre,title='Choose orngCanvas.pyw',filetypes=[('Python file', '.pyw'),('All files', '.*')], initialdir=path) - return orange_Path -# On crée une fenêtre, racine de notre interface -def fenetre() : - global fenetre,var_MCS,N_1,PV,Wind1,Wind2,Load,choix_load,var_loadn1,var_loadn2,var_loadn3,var_loadn4,loadPathD,choix_wind11,var_windn11,var_windn12,var_windn13,var_windn14,wind1PathD,choix_wind21,var_windn21,var_windn22,var_windn23,var_windn24,wind2PathD,choix_pv,var_pvn1,var_pvn2,var_pvn3,var_pvn4,pvPathD,C01D,C02D,C03D,C04D,C12D,C13D,C14D,C23D,C24D,C34D,fuel_cost,bus_shunt,bus_loads,rate_choiceD - fenetre = Toplevel(root) - fenetre.wm_iconbitmap('lib\PSEN.ico') - fenetre.wm_title('PSEN - Probabilistic Studies of Electrical Networks') - - def openshort (event): - openPSEN() - def saveshort (event) : - savePSEN() - def quitshort (event) : - fenetre.destroy() - def orangeshort (event): - launch_Orange() - def runshort (event) : - launch_PSEN() - def prefshort (event) : - preferences() - - fenetre.bind_all("", quitshort) - fenetre.bind_all("", openshort) - fenetre.bind_all("", saveshort) - fenetre.bind_all("", orangeshort) - fenetre.bind_all("", runshort) - fenetre.bind_all("", prefshort) - - wd=500 - - # Create a toplevel menu - menubar=Menu(fenetre) - - filemenu = Menu(menubar, tearoff=0) - filemenu.add_command(label="Open PSEN", command=openPSEN, accelerator="Ctrl+O") - filemenu.add_command(label="Save PSEN", command=savePSEN, accelerator="Ctrl+S") - filemenu.add_separator() - filemenu.add_command(label="Exit", command=fenetre.quit, accelerator="Ctrl+Q") - menubar.add_cascade(label="File", menu=filemenu) - - editmenu = Menu(menubar, tearoff=0) - editmenu.add_command(label="Computer preferences", command=PCpreferences) - editmenu.add_separator() - editmenu.add_command(label="Study preferences", command=preferences, accelerator="Ctrl+P") - menubar.add_cascade(label="Edit", menu=editmenu) - - exemenu = Menu(menubar, tearoff=0) - exemenu.add_command(label="Run PSEN", command=preferences, accelerator="Ctrl+R") - menubar.add_cascade(label="Execution", menu=exemenu) - - contmenu = Menu(menubar, tearoff=0) - contmenu.add_command(label="Load contingency file", command=ContinPreferences) - menubar.add_cascade(label="Contingency analysis", menu=contmenu) - - orangemenu = Menu(menubar, tearoff=0) - orangemenu.add_command(label="Choose Orange model", command=orangeload) - orangemenu.add_command(label="Open Orange", command=launch_Orange, accelerator="Ctrl+A") - menubar.add_cascade(label="Orange analysis", menu=orangemenu) - - viewmenu = Menu(menubar, tearoff=0) - viewmenu.add_command(label="Show/Hide cmd window", command=set_attached_console_visible) - menubar.add_cascade(label="View", menu=viewmenu) - - # Display the menu - fenetre.config(menu=menubar) - - ftop=Frame(fenetre, height=140, width=2*wd, bd=2, relief=RIDGE) - ftop.pack_propagate(0) # don't shrink - ftop.pack() - - fmid=Frame(fenetre, height=500, width=2*wd) - fmid.pack_propagate(0) # don't shrink - fmid.pack() - - fleft=Frame(fmid, height=500, width=wd, bd=2, relief=RIDGE) - fleft.pack_propagate(0) # don't shrink - fleft.pack(side=LEFT) - - fright=Frame(fmid, height=500, width=wd, bd=2, relief=RIDGE) - fright.pack_propagate(0) # don't shrink - fright.pack(side=RIGHT) - - #canvas=Canvas(fenetre, width=600, height=100, bg='ivory') - Label(ftop, image=header).pack(side=TOP, fill=BOTH, expand=YES) - #canvas.pack(side=TOP,padx=5,pady=5) - - fline=Frame(ftop, height=2, width=2*wd, bg="grey") - fline.pack_propagate(0) # don't shrink - fline.pack(expand=1) - - fl0=Frame(fleft, height=55, width=wd) - fl0.pack_propagate(0) # don't shrink - fl0.pack() - - Label(fl0, text="Simulation parameters", fg="black", justify=LEFT, font=("Century Gothic",14)).pack(anchor=NW, padx=10, expand=NO) - - # Change Monte Carlo samplings - Label(fl0, text="Choose the number of samples:", fg="black").pack(side=LEFT, padx=10, expand=NO) - - var_MCS = StringVar() - Entry(fl0, textvariable=var_MCS, width=15).pack(side=LEFT, padx=15, expand=NO) - - fl01=Frame(fleft, height=30, width=wd) - fl01.pack_propagate(0) # don't shrink - fl01.pack() - - # Change N-1 study or not - N_1 = IntVar() - Checkbutton(fl01, text="N-1 study ?", variable=N_1).pack(side=LEFT, padx=2) - - # Include Load ? - Load = IntVar() - Checkbutton(fl01, text="Load study ?", variable=Load).pack(side=LEFT, padx=2) - - # Include Wind 1 ? - Wind1 = IntVar() - Checkbutton(fl01, text="Wind 1 study ?", variable=Wind1).pack(side=LEFT, padx=2) - - # Include Wind 2 ? - Wind2 = IntVar() - Checkbutton(fl01, text="Wind 2 study ?", variable=Wind2).pack(side=LEFT, padx=2) - - # Include PV - PV = IntVar() - Checkbutton(fl01, text="PV study ?", variable=PV).pack(side=LEFT, padx=2) - - Frame(fleft, height=2, width=wd, bg="grey").pack(pady=10, expand=NO) - - fl1=Frame(fleft, height=152, width=wd) - fl1.pack_propagate(0) # don't shrink - fl1.pack(pady=0, expand=NO) - - champ_label = Label(fl1, text="Correlation upper matrix :", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(anchor=NW, padx=10, expand=NO) - - champ_label = Label(fl1, text="Load N-1 Wind1 Wind2 Solar ", fg="black") - champ_label.pack(anchor=NE, padx=10) - - fl11=Frame(fl1, height=25, width=wd) - fl11.pack_propagate(0) # don't shrink - fl11.pack(padx=10, expand=NO) - C04D = StringVar() - Entry(fl11, textvariable=C04D, width=10).pack(side=RIGHT, padx=10, pady=5) - C04D.set(0) - C03D = StringVar() - Entry(fl11, textvariable=C03D, width=10).pack(side=RIGHT, padx=10, pady=5) - C03D.set(0) - C02D = StringVar() - Entry(fl11, textvariable=C02D, width=10).pack(side=RIGHT, padx=10, pady=5) - C02D.set(0) - C01D = StringVar() - Entry(fl11, textvariable=C01D, width=10).pack(side=RIGHT, padx=10, pady=5) - C01D.set(0) - - champ_label = Label(fl11, text="Load ", fg="black") - champ_label.pack(side=RIGHT, padx=10) - - fl12=Frame(fl1, height=25, width=wd) - fl12.pack_propagate(0) # don't shrink - fl12.pack(padx=10, expand=NO) - C14D = StringVar() - Entry(fl12, textvariable=C14D, width=10).pack(side=RIGHT, padx=10, pady=5) - C14D.set(0) - C13D = StringVar() - Entry(fl12, textvariable=C13D, width=10).pack(side=RIGHT, padx=10, pady=5) - C13D.set(0) - C12D = StringVar() - Entry(fl12, textvariable=C12D, width=10).pack(side=RIGHT, padx=10, pady=5) - C12D.set(0) - - champ_label = Label(fl12, text="N-1 ", fg="black") - champ_label.pack(side=RIGHT, padx=10) - - fl13=Frame(fl1, height=25, width=wd) - fl13.pack_propagate(0) # don't shrink - fl13.pack(padx=10, expand=NO) - C24D = StringVar() - Entry(fl13, textvariable=C24D, width=10).pack(side=RIGHT, padx=10, pady=5) - C24D.set(0) - C23D = StringVar() - Entry(fl13, textvariable=C23D, width=10).pack(side=RIGHT, padx=10, pady=5) - C23D.set(0) - - champ_label = Label(fl13, text="Wind1 ", fg="black") - champ_label.pack(side=RIGHT, padx=10) - - fl14=Frame(fl1, height=25, width=wd) - fl14.pack_propagate(0) # don't shrink - fl14.pack(padx=10, expand=NO) - C34D = StringVar() - Entry(fl14, textvariable=C34D, width=10).pack(side=RIGHT, padx=10, pady=5) - C34D.set(0) - - champ_label = Label(fl14, text="Wind2 ", fg="black") - champ_label.pack(side=RIGHT, padx=10) - - fline=Frame(fleft, height=2, width=wd, bg="grey") - fline.pack(pady=10, expand=NO) - - fl2=Frame(fleft, height=20, width=wd) - fl2.pack_propagate(0) # don't shrink - fl2.pack() - - champ_label = Label(fl2, text="PSSe OPF parameters", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(anchor=NW, padx=10, expand=NO) - - fl21=Frame(fleft, height=30, width=wd) - fl21.pack_propagate(0) # don't shrink - fl21.pack() - - # "Minimize fuel cost" - fuel_cost = IntVar() - Checkbutton(fl21, text="Minimize fuel cost", variable=fuel_cost).pack(side=LEFT, padx=10) - - # "Minimize adj. bus shunts" - bus_shunt = IntVar() - Checkbutton(fl21, text="Minimize adj. bus shunts", variable=bus_shunt).pack(side=LEFT, padx=10) - - # "Minimize adj. bus loads" - bus_loads = IntVar() - Checkbutton(fl21, text="Minimize adj. bus loads", variable=bus_loads).pack(side=LEFT, padx=10) - - fline=Frame(fleft, height=2, width=wd, bg="grey") - fline.pack(pady=10, expand=NO) - - fl3=Frame(fleft, height=20, width=wd) - fl3.pack_propagate(0) # don't shrink - fl3.pack() - - champ_label = Label(fl3, text="PSSe Irate choice :", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(side=LEFT, padx=10, expand=NO) - - # "Minimize fuel cost" - rate_choiceD = IntVar() - Radiobutton(fl3, text="Rate A", variable=rate_choiceD, value=1).pack(side=LEFT, padx=20) - Radiobutton(fl3, text="Rate B", variable=rate_choiceD, value=2).pack(side=LEFT, padx=10) - Radiobutton(fl3, text="Rate C", variable=rate_choiceD, value=3).pack(side=LEFT, padx=10) - -#---- Choose the probability laws --- - #---- Load model ---- - fr0=Frame(fright, height=55, width=wd) - fr0.pack_propagate(0) # don't shrink - fr0.pack(expand=NO, anchor=NW) - - champ_label = Label(fr0, text="Load model :", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(anchor=NW, padx=10, expand=NO) - - choix_load=StringVar() - laws_choice = ('Normal(mean, stdev)','Uniform(min, max)','Exponential(lambda, gamma)','Weibull(alpha, beta, gamma)', 'TruncatedNormal(mean, stdev, min, max)', 'Value list (values, probabilities)', 'Histogram (steps, probabilities)', 'PDF from file ()', 'Time Serie from file (stepsize, number of points)' ) - Combobox(fr0, textvariable = choix_load, values = laws_choice, state = 'readonly', width=50).pack(side=LEFT, padx=10, expand=NO) - choix_load.set('Choose your load model') - - fr01=Frame(fright, height=30, width=wd) - fr01.pack_propagate(0) # don't shrink - fr01.pack(expand=NO) - champ_label = Label(fr01, text="Parameters :", fg="black").pack(side=LEFT, padx=10, pady=0) - - var_loadn1 = StringVar() - Entry(fr01, textvariable=var_loadn1, width=12).pack(side=LEFT, padx=10, pady=5) - var_loadn2 = StringVar() - Entry(fr01, textvariable=var_loadn2, width=12).pack(side=LEFT, padx=10, pady=5) - var_loadn3 = StringVar() - Entry(fr01, textvariable=var_loadn3, width=12).pack(side=LEFT, padx=10, pady=5) - var_loadn4 = StringVar() - Entry(fr01, textvariable=var_loadn4, width=12).pack(side=LEFT, padx=10, pady=5) - - fr011=Frame(fright, height=35, width=wd) - fr011.pack_propagate(0) # don't shrink - fr011.pack(expand=NO) - - # We create the browse button - loadPathD=StringVar() - Entry(fr011, textvariable=loadPathD, width=50).pack(side=LEFT, padx=15, expand=YES) - - Button(fr011, text="Load data", command=browse_load).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fline=Frame(fright, height=2, width=wd, bg="grey") - fline.pack(pady=2, expand=NO) - - #---- Wind 1 model ---- - fr1=Frame(fright, height=55, width=wd) - fr1.pack_propagate(0) # don't shrink - fr1.pack(expand=NO, pady=0) - - champ_label = Label(fr1, text="Wind 1 distribution model :", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(anchor=NW, padx=10, expand=NO) - - choix_wind11=StringVar() - laws_choice = ('Normal(mean, stdev)','Uniform(min, max)','Exponential(lambda, gamma)','Weibull(alpha, beta, gamma)', 'TruncatedNormal(mean, stdev, min, max)', 'Value list (values, probabilities)', 'Histogram (steps, probabilities)', 'PDF from file ()', 'Time Serie from file (stepsize, number of points)' ) - Combobox(fr1, textvariable = choix_wind11, values = laws_choice, state = 'readonly', width=50).pack(side=LEFT, padx=10, expand=NO) - choix_wind11.set('Choose your wind model') - - fr11=Frame(fright, height=30, width=wd) - fr11.pack_propagate(0) # don't shrink - fr11.pack(expand=NO) - Label(fr11, text="Parameters :", fg="black").pack(side=LEFT, padx=10, pady=0) - - var_windn11 = StringVar() - Entry(fr11, textvariable=var_windn11, width=12).pack(side=LEFT, padx=10, pady=5) - var_windn12 = StringVar() - Entry(fr11, textvariable=var_windn12, width=12).pack(side=LEFT, padx=10, pady=5) - var_windn13 = StringVar() - Entry(fr11, textvariable=var_windn13, width=12).pack(side=LEFT, padx=10, pady=5) - var_windn14 = StringVar() - Entry(fr11, textvariable=var_windn14, width=12).pack(side=LEFT, padx=10, pady=5) - - fr111=Frame(fright, height=35, width=wd) - fr111.pack_propagate(0) # don't shrink - fr111.pack(expand=NO) - - # We create the browse button - wind1PathD=StringVar() - Entry(fr111, textvariable=wind1PathD, width=50).pack(side=LEFT, padx=15, expand=YES) - - Button(fr111, text="Wind 1 data", command=browse_wind1).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fline=Frame(fright, height=2, width=wd, bg="grey") - fline.pack(pady=2, expand=NO) - - #---- Wind 2 model ---- - fr2=Frame(fright, height=55, width=wd) - fr2.pack_propagate(0) # don't shrink - fr2.pack(expand=NO, pady=0) - - champ_label = Label(fr2, text="Wind 2 distribution model :", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(anchor=NW, padx=10, expand=NO) - - choix_wind21=StringVar() - laws_choice = ('Normal(mean, stdev)','Uniform(min, max)','Exponential(lambda, gamma)','Weibull(alpha, beta, gamma)', 'TruncatedNormal(mean, stdev, min, max)', 'Value list (values, probabilities)', 'Histogram (steps, probabilities)', 'PDF from file ()', 'Time Serie from file (stepsize, number of points)' ) - Combobox(fr2, textvariable = choix_wind21, values = laws_choice, state = 'readonly', width=50).pack(side=LEFT, padx=10, expand=NO) - choix_wind21.set('Choose your wind model') - - fr21=Frame(fright, height=30, width=wd) - fr21.pack_propagate(0) # don't shrink - fr21.pack(expand=NO) - Label(fr21, text="Parameters :", fg="black").pack(side=LEFT, padx=10, pady=0) - - var_windn21 = StringVar() - Entry(fr21, textvariable=var_windn21, width=12).pack(side=LEFT, padx=10, pady=5) - var_windn22 = StringVar() - Entry(fr21, textvariable=var_windn22, width=12).pack(side=LEFT, padx=10, pady=5) - var_windn23 = StringVar() - Entry(fr21, textvariable=var_windn23, width=12).pack(side=LEFT, padx=10, pady=5) - var_windn24 = StringVar() - Entry(fr21, textvariable=var_windn24, width=12).pack(side=LEFT, padx=10, pady=5) - - fr211=Frame(fright, height=35, width=wd) - fr211.pack_propagate(0) # don't shrink - fr211.pack(expand=NO) - - # We create the browse button - wind2PathD=StringVar() - Entry(fr211, textvariable=wind2PathD, width=50).pack(side=LEFT, padx=15, expand=YES) - - Button(fr211, text="Wind 2 data", command=browse_wind2).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fline=Frame(fright, height=2, width=wd, bg="grey") - fline.pack(pady=2, expand=NO) - - #---- PV model ---- - fr3=Frame(fright, height=55, width=wd) - fr3.pack_propagate(0) # don't shrink - fr3.pack(expand=NO, pady=0) - - champ_label = Label(fr3, text="Photovoltaic distribution model :", fg="black", justify=LEFT, font=("Century Gothic",14)) - champ_label.pack(anchor=NW, padx=10, expand=NO) - - choix_pv=StringVar() - laws_choice = ('Normal(mean, stdev)','Uniform(min, max)','Exponential(lambda, gamma)','Weibull(alpha, beta, gamma)', 'TruncatedNormal(mean, stdev, min, max)', 'Value list (values, probabilities)', 'Histogram (steps, probabilities)', 'PDF from file ()', 'Time Serie from file (stepsize, number of points)' ) - Combobox(fr3, textvariable = choix_pv, values = laws_choice, state = 'readonly', width=50).pack(side=LEFT, padx=10, expand=NO) - choix_pv.set('Choose your PV model') - - fr31=Frame(fright, height=30, width=wd) - fr31.pack_propagate(0) # don't shrink - fr31.pack(expand=NO) - Label(fr31, text="Parameters :", fg="black").pack(side=LEFT, padx=10, pady=0) - - var_pvn1 = StringVar() - Entry(fr31, textvariable=var_pvn1, width=12).pack(side=LEFT, padx=10, pady=5) - var_pvn2 = StringVar() - Entry(fr31, textvariable=var_pvn2, width=12).pack(side=LEFT, padx=10, pady=5) - var_pvn3 = StringVar() - Entry(fr31, textvariable=var_pvn3, width=12).pack(side=LEFT, padx=10, pady=5) - var_pvn4 = StringVar() - Entry(fr31, textvariable=var_pvn4, width=12).pack(side=LEFT, padx=10, pady=5) - - fr311=Frame(fright, height=35, width=wd) - fr311.pack_propagate(0) # don't shrink - fr311.pack(expand=NO) - - # We create the browse button - pvPathD=StringVar() - Entry(fr311, textvariable=pvPathD, width=50).pack(side=LEFT, padx=15, expand=YES) - - Button(fr311, text="PV data", command=browse_pv).pack(side=LEFT, fill=BOTH, expand=1, padx=5, pady=3) - - fb=Frame(fenetre, height=50, width=2*wd, bd=2, relief=RIDGE) - fb.pack_propagate(0) # don't shrink - fb.pack() - - Frame(fb, height=2, width=2*wd, bg="grey").pack(expand=1) - - # We create the launch button - Button(fb, text="Run PSEN", command=launch_PSEN, height=1, width=20, underline=YES).pack(expand=NO, padx=5, pady=3) - -# On démarre la boucle Tkinter qui s'interompt quand on ferme la fenêtre -fenetre() -root.mainloop() \ No newline at end of file diff --git a/PSEN_Eficas/PSEN/PSSEWrapper.py b/PSEN_Eficas/PSEN/PSSEWrapper.py deleted file mode 100755 index 3adb5ace..00000000 --- a/PSEN_Eficas/PSEN/PSSEWrapper.py +++ /dev/null @@ -1,742 +0,0 @@ -#=============================================================================== -# PSEN SCRIPT FOR PROBABILISTIC STUDIES OF ELECTICAL NETWORKS -#=============================================================================== -from openturns import * -from pylab import * -from math import* -import os, random -import numpy as np -from time import gmtime, strftime -from array import * -from support_functions import * - -# Ouverture du fichier de configuration et recupecation des valeurs sous forme de listes -f=open("C:\B31272\Documents\PSEN\PSENdev\lib\config.psen","r") -lines=f.readlines() -data_config=lines[0].split(";") -data_load2 = getUserLaw(lines[1].split(";"))[0] -data_wind1=getUserLaw(lines[2].split(";"))[0] -data_wind2=getUserLaw(lines[3].split(";"))[0] -data_corr=lines[4].split(";") -data_PV=getUserLaw(lines[5].split(";"))[0] -data_OPF=lines[6].split(";") -Irate_num=int(lines[7].split(";")[0]) -f.close() - -# Definition des variables pour les series temporelles : getUserLaw(lines[1].split(";"))[1][0] doit valoir 1 -# pour que le programme etudie les series temporelles -time_serie_file=[] -time_serie_mat=[] -for i in ([1,2,3,5]) : - TSoptions = getUserLaw(lines[i].split(";"))[1] - if TSoptions[0] == 1 : - time_serie=1 - f=open(TSoptions[1],"r") - linesTS=f.readlines() - f.close() - tsm=[] - for j in range (len(linesTS)) : - try : - float(linesTS[j]) - except ValueError : - linesTS[j] = commaToPoint(linesTS[j]) - else : - pass - tsm.append(float(linesTS[j])) - time_serie_mat.append(tsm) - time_serie_file.append(TSoptions[1]) - """time_serie_SS = TSoptions[2] - time_serie_TH = TSoptions[3]""" - else : - time_serie_file.append(-1) -time_serie_mat=zip(*time_serie_mat) - -# Ouverture du fichier de preferences et recuperation des donnees -f=open("C:\B31272\Documents\PSEN\PSENdev\lib\pref.psen","r") -lines=f.readlines() -f.close() -paths=lines[0].split(";") -WTconfig=[] -for i in range (3,8): - try : - paths[i] - except : - print "Error in defining wind turbines characteristics" - WTconfig=[3.,5.,25.,1.225,0.05] - else : - WTconfig.append(float(paths[i])) - -# Ouverture du fichier d'analyse de N-1 et recuperation des donnees -f=open("C:\B31272\Documents\PSEN\PSENdev\lib\contin.psen","r") -lines=f.readlines() -path_config_contin=lines[0].split(";") -f.close() - -# Definition des lois des cinq variables aleatoires -N_1=int(data_config[1]) # N_1=1 to do N-1 studies -wind_var1=int(data_config[3]) # To take wind1 variability into account -wind_var2=int(data_config[4]) # To take wind2 variability into account -PV_var=int(data_config[2]) # To take PV variability into account -load_var=int(data_config[5]) # To take load variability into account - -# Creation variable nom dossier N-1 -if N_1 == 1 : - folderN_1 = '1_' -else : - folderN_1 = '_' - -# Recuperation des chemins du dossier d'installation de PSSE, .SAV de l'etude et nom du rapport -folder=paths[1] -doc_base= paths[0] -exec_file="report.txt" - -# Definition des groupes de production PV, eoliennes, des intercos et des lignes en N-1 -ENR=config_ENR(paths[2]) -windTurbines1 = ENR[1] # Buses with wind turbines 1 -windTurbines2 = ENR[2] # Buses with wind turbines 2 -solarPV = ENR[0] # Buses with solar PV plant -intercos=ENR[3] # Buses with interconnexions -# Lines with contingency -try : - config_contingency(path_config_contin) -except IOError : # Si le fichier n'est pas dans un bon format on traite l'exception - nb_lines=1 - print 'Error with contingency input file' -else : - continAll = config_contingency(path_config_contin) - continLines = continAll[0] - continGroups = continAll[1] - continVal = continAll[2] - continProb = continAll[3] - - -# Probabilistic study information -#============================================================================== -# Create the marginal distributions -distributionX0 = data_load2 -distributionX1 = getUserDefined(continVal,continProb) -distributionX2 = data_wind1 -distributionX3 = data_wind2 -distributionX4 = data_PV - -# Create the correlations between the distributions -corr10=float(data_corr[0]) -corr20=float(data_corr[1]) -corr30=float(data_corr[2]) -corr40=float(data_corr[3]) -corr21=float(data_corr[4]) -corr31=float(data_corr[5]) -corr41=float(data_corr[6]) -corr32=float(data_corr[7]) -corr42=float(data_corr[8]) -corr43=float(data_corr[9]) - -# Probabilistic Study: central dispersion => Monte Carlo or LHS iterations -montecarlosize = int(data_config[0]) - -#Extension name for the folders and files -day=time.strftime("%Y%m%d", gmtime()) -hour=time.strftime("%Hh%Mm%S", gmtime()) - -#=============================================================================== -# CHARGEMENT DE PSSE - LOADING OF PSSE -#=============================================================================== -pssFolder=str(paths[3]) -import sys -sys.path.append(pssFolder)#r"C:\Program Files\PTI\PSSE33\PSSBIN") -os.environ['PATH'] = pssFolder+":"+os.environ['PATH'] #r"C:\Program Files\PTI\PSSE33\PSSBIN;"+ os.environ['PATH'] -os.chdir(folder) -import psspy -import pssarrays -import redirect -_i=psspy.getdefaultint() -_f=psspy.getdefaultreal() -_s=psspy.getdefaultchar() -redirect.psse2py() -#import pssdb -psspy.psseinit(80000) - -# Silent execution of PSSe -islct=6 # 6=no output; 1=standard -psspy.progress_output(islct) - -# Enregistrement de l'heure de debut de simulation -f=open(exec_file, 'a') -start_time=time.clock() -f.write("Starting time: %f; Monte Carlo Size : %f; " % (start_time, montecarlosize)) -f.close() - -#=============================================================================== -# Fonction de wrappage - Wrapper function -#=============================================================================== -def PSSEFunction(x): - # Definition des variables globales - global TStest - global Xt - global sizeY0 - global sizeY1 - global sizeY2 - global sizeY3 - global sizeY4 - global sizeY - global wind_var - global PV_var - global N_1 - global load_var - global logCSVfilename - global logTXTfilename - global ite - global folder - global day - global folderN_1 - global fich - global hour - global montecarlosize - global WTconfig - global x2 - - ite+=1 # incrementation du compteur - - # Load data from PSSe - psspy.case(doc_base) #Launching of PSSE and opening the working file - all_inputs_base=read_sav(doc_base) - buses_base=all_inputs_base[0] - lines_base=all_inputs_base[1] - transf_base=all_inputs_base[2] - plants_base=all_inputs_base[3] - loads_base=all_inputs_base[4] - shunt_base=all_inputs_base[5] - doci=folder+"\N"+folderN_1+day+"\CasNum"+str(ite)+".sav" - psspy.save(doci) - - # Total initial shunt on buses - init_shunt = 0 - for i in range(len(shunt_base)) : - init_shunt += float(shunt_base[i][2]) - - # Configuration de l'OPF a partir des parametres de l'utilisateur - nbeOPF=5 # Nombre de lancement max de l'OPF pour atteindre la convergence de l'algorithme - psspy.report_output(6,"",[0,0]) - psspy.produce_opf_log_file(1,r"""DETAIL""") - psspy.minimize_fuel_cost(int(data_OPF[0])) - psspy.minimize_adj_bus_shunts(int(data_OPF[1])) - psspy.minimize_load_adjustments(int(data_OPF[2])) - psspy.initial_opf_barrier_coeff(100.0) - psspy.opf_fix_all_generators(1) - psspy.set_opf_report_subsystem(3,1) - - - print " PSEN simulator, case number: "+str(ite) - - # 1. Affiche X - nx = x.getSize() - if TStest==1 : - for i in range (len (Xt)) : - if Xt[i] == -1 : - if i == 0 and load_var==1 : - pass - elif i == 1 and N_1==1 : - x[i]=int(floor(x[i])) # Si on etudie le N-1 on arrondie la valeur tiree en floor : on obtient le numero de la ligne - elif i == 2 and wind_var1==1 : - x[i]=eol(x[i],WTconfig) - elif i == 3 and wind_var2==1 : - x[i]=eol(x[i],WTconfig) - elif i == 4 and PV_var==1 : # Si on etudie la variabilite de l'eolien on lui donne la valeur de production de l'eolienne a partir du vent - pass - else : - x[i]=-1 - else : - x[i]=float(Xt[i]) # Dans le cas d'une etude temporelle on lui donne la valeur de Xt - else : - if load_var==1 : - pass # Sinon on donne la valeur tiree si on etudie la variabilite de x[0] - else : - x[0]=1 # Sinon on laisse la valeur de base - - if N_1==1 : - x[1]=int(floor(x[1])) # Si on etudie le N-1 on arrondie la valeur tiree en floor : on obtient le numero de la ligne - else : - x[1]=-1 # Sinon on donne -1 comme marqueur - - if wind_var1==1: - x[2]=eol(x[2],WTconfig) # Si on etudie la variabilite de l'eolien on lui donne la valeur de production de l'eolienne a partir du vent - else : - x[2]=0 # Sinon on considere qu'il n'y a pas d'eolien - - if wind_var2==1: - x[3]=eol(x[3],WTconfig) # Si on etudie la variabilite de l'eolien on lui donne la valeur de production de l'eolienne a partir du vent - else : - x[3]=0 # Sinon on considere qu'il n'y a pas d'eolien - - if PV_var==1 : # Si on etudie la variabilite du PV on laisse sa valeur a la va - pass - else : - x[4]=0 # Sinon on considere qu'il n'y a pas de PV - for i in range(0,nx): - print "x[%d]=%f" % (i,x[i]) - - # 2. Fait le calcul avec PSSE - #Editing some values in the PSSE .sav input file - # Change the values of the different loads and treat large changes of load to help convergence - if x[0] > 0.75 : - for i in range(0,np.array(loads_base).shape[0]) : # On change directement toutes les charges - psspy.load_chng_4(int(loads_base[i][0]),r"""1""",[1,_i,_i,_i,_i,_i],[x[0]*loads_base[i][1],x[0]*loads_base[i][2],_f,_f,_f,_f]) - elif x[0] > 0.4 : - for i in range(0,np.array(loads_base).shape[0]) : # On effectue un pretraitement en passant par une charge intermediaire - psspy.load_chng_4(int(loads_base[i][0]),r"""1""",[1,_i,_i,_i,_i,_i],[(1+x[0])/2*loads_base[i][1],(1+x[0])/2*loads_base[i][2],_f,_f,_f,_f]) - psspy.fnsl([0,0,0,1,1,0,99,0]) # Load flow Newton Raphson - psspy.bsys(3,0,[0.0,0.0],0,[],1,[1],0,[],0,[]) - psspy.set_opf_report_subsystem(3,0) - psspy.nopf(0,1) # Lancement OPF - for i in range(0,np.array(loads_base).shape[0]) : # On change toutes les charges - psspy.load_chng_4(int(loads_base[i][0]),r"""1""",[1,_i,_i,_i,_i,_i],[x[0]*loads_base[i][1],x[0]*loads_base[i][2],_f,_f,_f,_f]) - else : - for i in range(0,np.array(loads_base).shape[0]) : # On effectue un pretraitement en passant par une charge intermediaire - psspy.load_chng_4(int(loads_base[i][0]),r"""1""",[1,_i,_i,_i,_i,_i],[0.7*loads_base[i][1],0.7*loads_base[i][2],_f,_f,_f,_f]) - psspy.fnsl([0,0,0,1,1,0,99,0]) - psspy.bsys(3,0,[0.0,0.0],0,[],1,[1],0,[],0,[]) - psspy.set_opf_report_subsystem(3,0) - psspy.nopf(0,1) - for i in range(0,np.array(loads_base).shape[0]) : # On effectue un pretraitement en passant par une charge intermediaire - psspy.load_chng_4(int(loads_base[i][0]),r"""1""",[1,_i,_i,_i,_i,_i],[0.4*loads_base[i][1],0.4*loads_base[i][2],_f,_f,_f,_f]) - psspy.fnsl([0,0,0,1,1,0,99,0]) - psspy.bsys(3,0,[0.0,0.0],0,[],1,[1],0,[],0,[]) - psspy.set_opf_report_subsystem(3,0) - psspy.nopf(0,1) - for i in range(0,np.array(loads_base).shape[0]) : # On change toutes les charges - psspy.load_chng_4(int(loads_base[i][0]),r"""1""",[1,_i,_i,_i,_i,_i],[x[0]*loads_base[i][1],x[0]*loads_base[i][2],_f,_f,_f,_f]) - - x2=[] - for sz in range(0,nx): - x2.append(float(x[sz])) - - if x[1]<0 : - pass - elif x[1] < len(continLines) : # L'element tire est une ligne - line_num=int(x[1]) - from_bus=continLines[int(line_num)][0] - to_bus=continLines[int(line_num)][1] - br_id=continLines[int(line_num)][2]#.replace('@','') - psspy.branch_chng(from_bus,to_bus,str(br_id),[0,_i,_i,_i,_i,_i],[ _f, _f, _f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) - x2[1]='Line '+str(from_bus)+'-'+str(to_bus)+'#'+str(br_id) - elif x[1] < (len(continLines)+len(continGroups)) : - group_num = int(x[1])-len(continLines) - bus_num = continGroups[int(group_num)][0] - bus_id = continGroups[int(group_num)][1] - psspy.machine_chng_2(int(bus_num),str(bus_id),[0,_i,_i,_i,_i,_i],[_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) # Change Interconnection disponibility - psspy.opf_gendsp_indv(int(bus_num),str(bus_id),_i,0.0) - x2[1]='Group '+str(bus_num)+'#'+str(bus_id) - #elif x[1] < len(intercos) : - #mat_num=int(x[1]) - #psspy.machine_chng_2(int(intercos[mat_num][0]),str(intercos[mat_num][2]),[0,_i,_i,_i,_i,_i],[_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) # Change Interconnection disponibility - #psspy.opf_gendsp_indv(int(intercos[mat_num][0]),str(intercos[mat_num][2]),_i,0.0) - #x[1]=-mat_num - else : - pass - # Change the bus that is not in service - #intercos = [] - #line_num=int(x[1]-len(intercos)) - #from_bus=lines_con[int(line_num)-1][0] - #to_bus=lines_con[int(line_num)-1][1] - #br_id=lines_con[int(line_num)-1][2]#.replace('@','') - #psspy.branch_chng(from_bus,to_bus,str(br_id),[0,_i,_i,_i,_i,_i],[ _f, _f, _f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) - #x[1]=line_num - # Change the production of the wind turbines - if np.matrix(windTurbines1).shape[1]>0 : - for i in range(0,np.matrix(windTurbines1).shape[0]) : - psspy.machine_chng_2(windTurbines1[i][0],str(windTurbines1[i][2]),[1,_i,_i,_i,_i,_i],[x[2]*plants_base[windTurbines1[i][1]][6],_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) - - if np.matrix(windTurbines2).shape[1]>0 : - for i in range(0,np.matrix(windTurbines2).shape[0]) : - psspy.machine_chng_2(windTurbines2[i][0],str(windTurbines2[i][2]),[1,_i,_i,_i,_i,_i],[x[3]*plants_base[windTurbines2[i][1]][6],_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) - - # Change the production of the PV stations - if np.matrix(solarPV).shape[1]>0 : - for i in range(0,np.matrix(solarPV).shape[0]) : - psspy.machine_chng_2(solarPV[i][0],str(solarPV[i][2]),[1,_i,_i,_i,_i,_i],[x[4]*plants_base[solarPV[i][1]][6],_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f]) - - psspy.save(doci) #Saving .sav modifications - ok=1 - while nbeOPF>=0 : - #for i in (zip(*buses_base)[0]) : psspy.bus_chng_3(i,[_i,_i,_i,_i],[_f, 1.05,_f,_f,_f,_f,_f],_s) - psspy.fnsl([0,0,0,1,1,1,99,0]) - psspy.bsys(3,0,[0.0,0.0],0,[],1,[1],0,[],0,[]) - psspy.set_opf_report_subsystem(3,0) - psspy.nopf(0,1) - if psspy.solved()==7: - print 'CONVERGENCE CAS '+str(ite) - ok=1 - break - else : - print '===================================================================' - print 'NO CONVERGENCE' - print '===================================================================' - ok=0 - #for i in range (134) : - #psspy.opf_bus_indv(i,[_i,0],[_f, 0.7,_f,_f,_f]) - nbeOPF-=1 - psspy.save(doci) - all_inputs=read_sav(doci) - buses=all_inputs[0];lines=all_inputs[1];transf=all_inputs[2];plants=all_inputs[3];loads=all_inputs[4]; shunt=all_inputs_base[5] - - # 3. Affiche Y - sizeY4=np.matrix(shunt).shape[0] - y=np.zeros(2*sizeY0+sizeY1+3*sizeY2+sizeY3+sizeY4) - z=np.zeros(8) - rate_mat_index=Irate_num+2 - if ok==1 : - # Creates the quantities of interest - for i in range (sizeY2) : - if lines [i][rate_mat_index]>100 : - z[0]+=1 # Number of lines above 100% of their limits - for i in range (sizeY1): - if buses[i][2]>1.06 : - z[1]+=1 - if buses[i][2]<0.9399 : - z[1]+=1 # Number of buses outside of their voltage limits - for i in range (sizeY0) : - z[2]+=float(plants[i][3]) # Total active production - for i in range (sizeY3) : - z[3]+=float(loads[i][1]) # Total active consumption - z[4]=(z[2]-z[3])/z[2]*100 # Active power losses - for i in range (sizeY2) : - if lines [i][3]>z[5] : - z[5]=lines [i][rate_mat_index] # Max flow in lines - for i in range (sizeY2) : - if lines [i][rate_mat_index]>90 : - z[6]+=1 - z[6]=z[6]-z[0] # Number of lines between 90% and 100% of their limits - - final_shunt=0 - for i in range (sizeY4) : - final_shunt+=shunt[i][2] - z[7]=final_shunt-init_shunt - - # Creates the output vectors - for Pmach in range (sizeY0): - y[Pmach]=float(plants[Pmach][3]) - for Qmach in range (sizeY0): - y[Qmach+sizeY0]=float(plants[Qmach][4]) - for Vbus in range (sizeY1): - y[Vbus+2*sizeY0]=float(buses[Vbus][2]) - for Iline in range (sizeY2): - y[Iline+2*sizeY0+sizeY1]=float(lines[Iline][rate_mat_index]) - for Pline in range (sizeY2): - y[Pline+2*sizeY0+sizeY1+sizeY2]=float(lines[Pline][6]) - for Qline in range (sizeY2): - y[Qline+2*sizeY0+sizeY1+2*sizeY2]=float(lines[Qline][7]) - for Pload in range (sizeY3) : - y[Pload+2*sizeY0+sizeY1+3*sizeY2]=float(loads[Pload][1]) - for Qshunt in range (sizeY4) : - y[Qshunt+2*sizeY0+sizeY1+3*sizeY2+sizeY3]=float(shunt[Qshunt][2]) - - #Ecris les sorties - print "sorties:" - nz = len(z) - for i in range(0,nz): - print "z[%d]=%f" % (i,z[i]) - MyLogger(x2,y,z,logCSVfilename,logTXTfilename,ite) - #MyMultiLogger (x2, y, sizeY, z, ite, folder, day, fich, hour) - return NumericalPoint(z) - else : - MyLogger(x2,y,z,logCSVfilename,logTXTfilename,ite) - #MyMultiLogger (x2, y, sizeY, z, ite, folder, day, fich, hour) - return NumericalPoint(z) - -#=============================================================================== -# DEFINITION DU WRAPPER - WRAPPER's DEFINITION -#=============================================================================== -# Initialize size output -psspy.case(doc_base) -all_inputs_base=read_sav(doc_base) -buses_base=all_inputs_base[0] -lines_base=all_inputs_base[1] -trans_base=all_inputs_base[2] -plants_base=all_inputs_base[3] -loads_base=all_inputs_base[4] -shunt_base=all_inputs_base[5] -sizeY0=np.matrix(plants_base).shape[0] -sizeY1=np.matrix(buses_base).shape[0] -sizeY2=np.matrix(lines_base).shape[0] -sizeY3=np.matrix(loads_base).shape[0] -sizeY4=np.matrix(shunt_base).shape[0] -sizeY=[sizeY0,sizeY1,sizeY2,sizeY3,sizeY4] -sizeOutput=sizeY2 - - -class PSSEWrapperClass(OpenTURNSPythonFunction) : - def __init__(self) : - OpenTURNSPythonFunction.__init__(self,5,8) - def _exec(self,x) : - return PSSEFunction(x) - -# Initialize the folder -newpath = folder+"\N"+folderN_1+day -if not os.path.exists(newpath): os.makedirs(newpath) - -# Test the Num. Math. Function -pssefun = NumericalMathFunction(PSSEWrapperClass()) - -# Definition of the function to use -inputDim = pssefun.getInputDimension() -outputDim = pssefun.getOutputDimension() - -# Initialization of the distribution collection: -#aCollection = DistributionCollection() - -# Create a collection of the marginal distributions -collectionMarginals = DistributionCollection(inputDim) -collectionMarginals[0] = Distribution(distributionX0) # Load distribution -collectionMarginals[1] = Distribution(distributionX1) # N-1 distribution -collectionMarginals[2] = Distribution(distributionX2) # Wind 1 distribution -collectionMarginals[3] = Distribution(distributionX3) # Wind 2 distribution -collectionMarginals[4] = Distribution(distributionX4) # PV distribution - -#Create a correlation matrix as copulas -corr=CorrelationMatrix(inputDim) - -corr[1,0]=corr10 -corr[2,0]=corr20 -corr[3,0]=corr30 -corr[4,0]=corr40 -corr[0,1]=corr10 -corr[2,1]=corr21 -corr[3,1]=corr31 -corr[4,1]=corr41 -corr[0,2]=corr20 -corr[1,2]=corr21 -corr[3,2]=corr32 -corr[4,2]=corr42 -corr[0,3]=corr30 -corr[1,3]=corr31 -corr[2,3]=corr32 -corr[4,3]=corr43 -corr[0,4]=corr40 -corr[1,4]=corr41 -corr[2,4]=corr42 -corr[3,4]=corr43 - -copula=Copula(NormalCopula(corr)) - - -# Create the input probability distribution, args are the distributions, the correlation laws -inputDistribution = ComposedDistribution(collectionMarginals, copula) - -# Create the input random vector -"""inputRandomVector = RandomVector(inputDistribution) - -# Create the output variable of interest -outputVariableOfInterest = RandomVector(pssefun, inputRandomVector) -outputVariableOfInterest.setDescription(pssefun.getOutputDescription())""" - -#=============================================================================== -# ETUDE DE DISPERSION CENTRALE - CENTRAL DEVIATION STUDY -#=============================================================================== -# Initialize the logger : write the headers -logCSVfilename=folder+"\N"+folderN_1+day+"\simulationDClog"+hour+".csv" # Name of the file : global variable -f = open(logCSVfilename, "a") -f.write("Iteration;;X:Load(pu);X:lineOff#;XProdEolienne1%Pnom;XProdEolienne2%Pnom;X:ProdPV%Pnom;;Y:NbeTransit;Y:NbeTension;Y:PProdTot;Y:PConsoTot;Y:%Losses;Y:Max%A;Y:NbeTransit_0.9-1;Y:AddedMVAR;;") -# Names of the Output variables withConso the bus number -for name in range (sizeY0): - f.write("Y:PMachine"+str(plants_base[name][0])+";") -for name in range (sizeY0): - f.write("Y:QMachine"+str(plants_base[name][0])+";") -for name in range (sizeY1): - f.write("Y:VBus"+str(buses_base[name][0])+";") -for name in range (sizeY2): - f.write("Y"+str(name+1)+":%Rate "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+";") -for name in range (sizeY2): - f.write("Y"+str(name+1)+":P "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+";") -for name in range (sizeY2): - f.write("Y"+str(name+1)+":Q "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+";") -for name in range (sizeY3): - f.write("Y:Load "+str(loads_base[name][0])+";") -for name in range (sizeY4): - f.write("Y:Shunt bus "+str(shunt_base[name][0])+";") -f.write("\n") -# Names of the Output variables with the bus names -f.write("#;;pu;line number;%Pnom;%Pnom;%Pnom;;Nbe;Nbe;MW;MW;%;%;Nbe;MVAR;;") -for name in range (sizeY0): - f.write(str(plants_base[name][8])+";") -for name in range (sizeY0): - f.write(str(plants_base[name][8])+";") -for name in range (sizeY1): - f.write(str(buses_base[name][3])+";") -for name in range (sizeY2): - f.write(str(lines_base[name][8])+"-"+str(lines_base[name][9])+";") -for name in range (sizeY2): - f.write(str(lines_base[name][8])+"-"+str(lines_base[name][9])+";") -for name in range (sizeY2): - f.write(str(lines_base[name][8])+"-"+str(lines_base[name][9])+";") -for name in range (sizeY3): - f.write(str(loads_base[name][4])+";") -for name in range (sizeY4): - f.write(str(shunt_base[name][3])+";") -f.write("\n") -f.close() - -logTXTfilename=folder+"\N"+folderN_1+day+"\simulationDClog"+hour+".txt" # Name of the file : global variable -f = open(logTXTfilename, "a") -f.write("Iteration\tX:Load(pu)\tX:lineOff#\tXProdEolienne1%Pnom\ttXProdEolienne2%Pnom\tX:ProdPV%Pnom\tY:NbeTransit\tY:NbeTension\tY:PProdTot\tY:PConsoTot\tY:%Losses\tY:Max%A\tY:NbeTransit_0.9-1\tY:AddedShunt\t") -# Names of the Output variables withConso the bus number -for name in range (sizeY0): - f.write("Y:PMachine"+str(plants_base[name][0])+" - "+str(plants_base[name][8])+"\t") -for name in range (sizeY0): - f.write("Y:QMachine"+str(plants_base[name][0])+" - "+str(plants_base[name][8])+"\t") -for name in range (sizeY1): - f.write("Y:VBus"+str(buses_base[name][0])+" - "+str(buses_base[name][3])+"\t") -for name in range (sizeY2): - f.write("Y"+str(name+1)+":%RateA "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+" - "+str(lines_base[name][8])+"-"+str(lines_base[name][9])+"\t") -for name in range (sizeY2): - f.write("Y"+str(name+1)+":P "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+" - "+str(lines_base[name][8])+"-"+str(lines_base[name][9])+"\t") -for name in range (sizeY2): - f.write("Y"+str(name+1)+":Q "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+" - "+str(lines_base[name][8])+"-"+str(lines_base[name][9])+"\t") -for name in range (sizeY3): - f.write("Y:Load "+str(loads_base[name][0])+" - "+str(loads_base[name][4])+"\t") -for name in range (sizeY4): - f.write("Y:Shunt "+str(shunt_base[name][0])+" - "+str(shunt_base[name][3])+"\t") -f.write("\n") -f.close() - -""" -# Initialize the multilogger : write the headers -for fich in range (np.size(sizeY,0)): - multilogfilename=folder+"\N"+day+"\Y"+str(fich)+"simulationDClog"+hour+".csv" - f=open(multilogfilename, 'a') - f.write("Iteration;;X:Load(pu);X:lineOff#;XProdEolienne1%Pnom;XProdEolienne2%Pnom;X:ProdPV%Pnom;;Y:NbeTransit;Y:NbeTension;Y:PProdTot;Y:PConsoTot;Y:Max%A;Y:NbeTransit_0.9-1;;") - if fich == 0 : - for name in range (sizeY[0]): - f.write("Y:PMachine"+str(plants_base[name][0])+";") - f.write("\n") - f.write("#;;pu;line number;%Pnom;%Pnom;%Pnom;;Nbe;Nbe;MW;MW;%;%;Nbe;;") - for name in range (sizeY[0]): - f.write(str(plants_base[name][8])+";") - f.write("\n") - f.close() - elif fich == 1 : - for name in range (sizeY[1]): - f.write("Y:VBus"+str(buses_base[name][0])+";") - f.write("\n") - f.write("#;;pu;line number;%Pnom;%Pnom;%Pnom;;Nbe;Nbe;MW;MW;%;%;Nbe;;") - for name in range (sizeY[1]): - f.write(str(buses_base[name][3])+";") - f.write("\n") - f.close() - elif fich == 2 : - for name in range (sizeY[2]): - f.write("Y"+str(name+1)+":%RateA "+str(lines_base[name][0])+"-"+str(lines_base[name][1])+";") - f.write("\n") - f.write("#;;pu;line number;%Pnom;%Pnom;%Pnom;;Nbe;Nbe;MW;MW;%;%;Nbe;;") - for name in range (sizeY[2]): - f.write(str(lines_base[name][8])+"-"+str(lines_base[name][9])+";") - f.write("\n") - f.close() - elif fich == 3 : - for name in range (sizeY[3]): - f.write("Y:Ploads "+str(loads_base[name][0])+";") - f.write("\n") - f.write("#;;pu;line number;%Pnom;%Pnom;%Pnom;;Nbe;Nbe;MW;MW;%;%;Nbe;;") - for name in range (sizeY[3]): - f.write(str(loads_base[name][4])+";") - f.write("\n") - f.close() - -""" -# Start the simulations -ite=0 -print "\n\n\n Starting PSEN "+str(montecarlosize)+" simulations" - -"""inputSample=inputRandomVector.getSample(montecarlosize) -inputSample.setDescription( ("X0","X1","X2","X3") ) -inputSample.exportToCSVFile("InputSamples.csv")""" - -if sum(corr) == 5 : - myLHSE = LHSExperiment(inputDistribution,montecarlosize) - inputSample = myLHSE.generate() -else : - myMCE = MonteCarloExperiment(inputDistribution,montecarlosize) - inputSample = myMCE.generate() - -try : - time_serie -except NameError : - print 'Probabilistic' - TStest=0 - outputSampleAll = pssefun(inputSample)#outputVariableOfInterest.getSample(montecarlosize) -else : - TStest=1 - for i in range (len(time_serie_mat)) : - print 'Time serie' - RandomGenerator.SetSeed(i) - Xt=[] - n=0 - for j in range (len(time_serie_file)) : - if time_serie_file[j] == -1 : - Xt.append(-1) - n+=1 - else : - Xt.append(time_serie_mat[i][j-n]) - Xt.insert(1,-1) - try : - outputSampleAll - except : - outputSampleAll = pssefun(inputSample) - else : - outputSampleAll.add(pssefun(inputSample)) - -outputDim=outputSampleAll.getDimension() -outputSize=outputSampleAll.getSize() - -outputSample=NumericalSample(0,outputDim) -outputSampleMissed=NumericalSample(0,outputDim) - -for i in range (outputSize): - if outputSampleAll[i,5]==0 : - outputSampleMissed.add(outputSampleAll[i]) - else : - outputSample.add(outputSampleAll[i]) - -outputDescription=[] -for i in range (outputDim): - outputDescription.append("Y"+str(i)) -outputSample.setDescription( outputDescription ) - -# Get the empirical mean and standard deviations -empMeanX = inputSample.computeMean() -empSdX = inputSample.computeStandardDeviationPerComponent() -empiricalMean = outputSample.computeMean() -empiricalSd = outputSample.computeStandardDeviationPerComponent() - -f=open(logCSVfilename, 'a') -f.write("\n") -f.write('Mean;;') -for i in range(0,inputDim): - f.write("%f;" % (empMeanX[i])) -f.write(";") -for i in range(0,outputDim): - f.write("%f;" % (empiricalMean[i])) -f.write(";") -f.write("\nStandard deviation;;") -for i in range(0,inputDim): - f.write("%f;" % (empSdX[i])) -f.write(";") -for i in range(0,outputDim): - f.write("%f;" % (empiricalSd[i])) -f.write(";") -f.close() - -f=open(exec_file,'a') -#stop_time=100*times()[0] -stop_time=time.clock() -f.write("Stop time: %f; Duration: %f; Time per execution: %f; " % (stop_time, stop_time-start_time, (stop_time-start_time)/montecarlosize)) -f.write("\n\n") -f.close() - -print '\n\nSimulated '+str(montecarlosize)+' cases in '+ str(stop_time-start_time)+' seconds. Average '+str((stop_time-start_time)/montecarlosize)+'s per case.' - -nMissed=int(outputSampleMissed.getSize()) - -print '\n\n Non-convergence rate is '+str(round(nMissed*100/montecarlosize,3))+' % ('+str(outputSampleMissed.getSize())+' cases on '+str(montecarlosize)+')' - -#graphical_out(inputSample, outputSampleAll, inputDim, outputDim, montecarlosize) - diff --git a/PSEN_Eficas/PSEN/__init__.py b/PSEN_Eficas/PSEN/__init__.py deleted file mode 100755 index e69de29b..00000000 diff --git a/PSEN_Eficas/PSEN/exploit2.ows b/PSEN_Eficas/PSEN/exploit2.ows deleted file mode 100755 index 56005895..00000000 --- a/PSEN_Eficas/PSEN/exploit2.ows +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/PSEN_Eficas/PSEN/support_functions.py b/PSEN_Eficas/PSEN/support_functions.py deleted file mode 100755 index 4a84a08a..00000000 --- a/PSEN_Eficas/PSEN/support_functions.py +++ /dev/null @@ -1,599 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Created on Mon Jun 03 15:31:42 2013 - -@author: B31272 - -Fonctions de support -""" -import os,sys,random,string -sys.path.append(r"C:\Program Files\PTI\PSSE33\PSSBIN") -os.environ['PATH'] = r"C:\Program Files\PTI\PSSE33\PSSBIN;"+ os.environ['PATH'] -#os.chdir(folder) -import psspy -import pssarrays -import redirect -_i=psspy.getdefaultint() -_f=psspy.getdefaultreal() -_s=psspy.getdefaultchar() -redirect.psse2py() -#import pssdb -psspy.psseinit(80000) - -import numpy as np -from math import* -from openturns import * - -#=============================================================================== -# DEFINITION DES FONCTIONS - CREATION OF THE FUNCTIONS -#=============================================================================== - -#Fonction de transfert vent-puissance d'une eolienne -def eol(wind, WTconfig): - Vcin = WTconfig [0] - Vrate = WTconfig [1] - Vcout = WTconfig [2] - Rho = WTconfig [3] - lossrate = WTconfig [4] - if wind <= Vcin : - Pnorm=0 - elif wind < Vrate : - Pnorm=wind*(1-lossrate)#((wind**2-Vcin**2)/(Vrate**2-Vcin**2)*Rho/1.225*(1-lossrate)) - elif wind < Vcout : - Pnorm = 1*(1-lossrate) - else : - Pnorm=0 - return Pnorm - -#Fonction permettant de lire les donnees qui nous interessent et de les mettre dans une matrice -def read_sav(doc): - psspy.case(doc) - # Select what to report - if psspy.bsysisdef(0): - sid = 0 - else: # Select subsytem with all buses - sid = -1 - - flag_bus = 1 # in-service - flag_plant = 4 # in-service - flag_load = 1 # in-service - flag_swsh = 1 # in-service - flag_brflow = 1 # in-service - owner_brflow = 1 # bus, ignored if sid is -ve - ties_brflow = 5 # ignored if sid is -ve - entry = 1 # gives a single entry (each branch once) - - #Bus data (number, basekV, pu, name, ...) : PSSe has 3 functions one for integer data, one for real data and one for strings - istrings = ['number'] - ierr, idata = psspy.abusint(sid, flag_bus, istrings) - buses=idata - - rstrings = ['base','pu'] - ierr, rdata = psspy.abusreal(sid, flag_bus, rstrings) - buses.append(rdata[0]) - buses.append(rdata[1]) - - cstrings = ['name'] - ierr, cdata = psspy.abuschar(sid, flag_bus, cstrings) - buses.append(cdata[0]) - - buses=zip(*buses) # transpose the matrix - - del idata, rdata, istrings, rstrings - - #Lines data (from, to, amps, rate%a, ploss, qloss) - flag=2 #All non-transformer branches - istrings = ['fromnumber','tonumber'] - ierr, idata = psspy.abrnint(sid, owner_brflow, ties_brflow, flag, entry, istrings) - lines=idata - - rstrings=['amps','pctratea','pctrateb','pctratec','p','q'] - ierr, rdata = psspy.abrnreal(sid, owner_brflow, ties_brflow, flag, entry, rstrings) - for rc in range (np.matrix(rdata).shape[0]) : - lines.append(rdata[rc]) - - cstrings=['fromname','toname','id'] - ierr, cdata = psspy.abrnchar(sid, owner_brflow, ties_brflow, flag, entry, cstrings) - for rc in range (np.matrix(cdata).shape[0]) : - lines.append(cdata[rc]) - - lines=zip(*lines) # transpose the matrix - - del idata, rdata, istrings, rstrings - - #2 windings transformers data (from, to, amps, rate%a, ploss, qloss) - flag=6 #All transformer branches - istrings = ['fromnumber','tonumber'] - ierr, idata = psspy.abrnint(sid, owner_brflow, ties_brflow, flag, entry, istrings) - transf=idata - - rstrings=['amps','pctratea','ploss','qloss'] - ierr, rdata = psspy.abrnreal(sid, owner_brflow, ties_brflow, flag, entry, rstrings) - for rc in range (np.matrix(rdata).shape[0]) : - transf.append(rdata[rc]) - - transf=zip(*transf) # transpose the matrix - - del idata, rdata, istrings, rstrings - - #Machines data (bus, inservice, number, pgen, qgen, mvabase) - istrings = ['number','status'] - ierr, idata = psspy.amachint(sid, flag_plant, istrings) - plants=idata - - cstrings = ['id'] - ierr, cdata = psspy.amachchar(sid, flag_plant, cstrings) - for rc in range (np.matrix(cdata).shape[0]) : - plants.append(cdata[rc]) - - rstrings = ['pgen','qgen','mbase','pmax','qmax'] - ierr, rdata = psspy.amachreal(sid, flag_plant, rstrings) - for rc in range (np.matrix(rdata).shape[0]) : - plants.append(rdata[rc]) - - cstrings = ['name'] - ierr, cdata = psspy.amachchar(sid, flag_plant, cstrings) - plants.append(cdata[0]) - - nb_plants=np.matrix(plants).shape[1] - for rc in range (0,nb_plants) : - plants[3][rc]=float(plants[3][rc]*int(plants[1][rc])) # If the plant isn't in service its production is fixed to zero - plants[4][rc]=float(plants[4][rc]*int(plants[1][rc])) # If the plant isn't in service its production is fixed to zero - - plants=zip(*plants) # transpose the matrix - - #Loads data (bus, active, reactive) - istrings = ['number'] - ierr, idata = psspy.aloadint(sid, flag_load, istrings) - loads=idata - - xstrings = ['mvaact'] - ierr, xdata = psspy.aloadcplx(sid, flag_load, xstrings) - loads.append(np.real(xdata)[0]) # Append the real part of the load - loads.append(np.imag(xdata)[0]) #Append the imaginary part of the load - - istrings = ['status'] - ierr, idata = psspy.aloadint(sid, flag_load, istrings) - loads.append(idata[0]) - - cstrings = ['name'] - ierr, cdata = psspy.aloadchar(sid, flag_load, cstrings) - loads.append(cdata[0]) - - nb_loads=np.matrix(loads).shape[1] - for rc in range (0,nb_loads) : - loads[1][rc]=float(loads[1][rc]*int(loads[3][rc])) # If the load isn't in service its consumption is fixed to zero - loads[2][rc]=float(loads[2][rc]*int(loads[3][rc])) # If the load isn't in service its consumption is fixed to zero - - loads=zip(*loads) # transpose the matrix - - #Fixed shunt data (number, MVAR, name, ...) - istrings = ['number','status'] - ierr, idata = psspy.afxshntbusint(sid, flag_bus, istrings) - shunt=idata - - xstrings = ['shuntact'] - ierr, xdata = psspy.afxshntbuscplx(sid, flag_bus, xstrings) - shunt.append(np.imag(xdata)[0]) #Append the imaginary part of the load - - cstrings = ['name'] - ierr, cdata = psspy.afxshntbuschar(sid, flag_bus, cstrings) - shunt.append(cdata[0]) - - shunt=zip(*shunt) # transpose the matrix - - return buses, lines, transf, plants, loads, shunt - -# Fonction pour ecrire un fichier de sortie type csv -def MyLogger(x,y,z,logCSVfilename,logTXTfilename,ite): - f=open(logCSVfilename, 'a') - f.write("%f;" % (ite)) - f.write(";") - nx = len(x) - for i in range(0,nx): - f.write(str(x[i]))#f.write("%f;" % (x[i])) - f.write(";") - f.write(";") - nz = len(z) - for i in range(0,nz): - f.write("%f;" % (z[i])) - f.write(";") - ny = len(y) - for j in range(0,ny): - f.write("%f;" % (y[j])) - f.write("\n") - f.close() - - f=open(logTXTfilename, 'a') - f.write("%f\t" % (ite)) - nx = len(x) - for i in range(0,nx): - f.write(str(x[i]))#f.write("%f\t" % (x[i])) - f.write("\t") - nz = len(z) - for i in range(0,nz): - f.write("%f\t" % (z[i])) - ny = len(y) - for j in range(0,ny): - f.write("%f\t" % (y[j])) - f.write("\n") - f.close() - - -# Fonction pour ecrire un fichier de sortie type csv pour chaque type de grandeur de sortie -def MyMultiLogger (x, y, sizeY, z, ite, folder, day, fich, hour): - global ny - y0=0 - for fich in range (np.size(sizeY,0)): - multilogfilename=folder+"\N"+day+"\Y"+str(fich)+"simulationDClog"+hour+".csv" - f=open(multilogfilename, 'a') - f.write("%f;" % (ite)) - f.write(";") - nx = len(x) - for i in range(0,nx): - f.write("%f;" % (x[i])) - f.write(";") - nz = len(z) - for i in range(0,nz): - f.write("%f;" % (z[i])) - f.write(";") - ny = sizeY[fich] - for j in range(0,ny): - f.write("%f;" % (y[j+y0])) - f.write("\n") - f.close() - y0 += ny - print "Fichiers "+str(ite)+" enregistres\n\n" - -# Analyses graphiques -def graphical_out (inputSample, outputSampleAll, inputDim, outputDim, montecarlosize) : - print "\n\n\n Writing graphical analysis files..." - # A Pairwise scatter plot of the inputs - myGraph = Graph() - myPairs = Pairs(inputSample, 'Inputs relations', inputSample.getDescription(), "red", "bullet") - myGraph.add(Drawable(myPairs)) - myGraph.draw("Input Samples",640,480,GraphImplementation.PDF) - #View(myGraph.getBitmap()) - print 'Input pairwise scatterplot done...' - - # A Pairwise scatter plot of the outputs - myGraph = Graph() - myPairs = Pairs(outputSampleAll, 'Output relations', outputSampleAll.getDescription(), "red", "bullet") - myGraph.add(Drawable(myPairs)) - myGraph.draw("Output Samples",640,480,GraphImplementation.PDF) - #View(myGraph.getBitmap()) - print 'Output pairwise scatterplot done...' - - # A Pairwise scatter plot of the inputs/outputs - # Draw all scatter plots yj vs xi - for j in range(outputDim): - outputSamplej=outputSampleAll.getMarginal(j) - Ylabelstr=outputSamplej.getDescription()[0] - for i in range(inputDim): - inputSamplei=inputSample.getMarginal(i) - Xlabelstr=inputSamplei.getDescription()[0] - X=NumericalSample(montecarlosize,2) - for k in range(montecarlosize): - X[k,0]=inputSamplei[k][0] - X[k,1]=outputSamplej[k][0] - myGraph = Graph() - myCloud=Cloud(X); - mytitle=Ylabelstr+"vs"+Xlabelstr - myGraph.add(Drawable(myCloud)) - myGraph.setAxes(1) - myGraph.setXTitle(Xlabelstr) - myGraph.setYTitle(Ylabelstr) - myGraph.draw(mytitle,640,480,GraphImplementation.PDF) - #ViewImage(myGraph.getBitmap()) - print 'Input/Output pairwise scatterplot done...' - - # An histogram of the inputs - for i in range(inputDim): - inputSamplei=inputSample.getMarginal(i) - myGraph = VisualTest.DrawHistogram(inputSamplei) - labelarray=inputSamplei.getDescription() - labelstr=labelarray[0] - myGraph.setTitle(labelstr) - myGraph.setName(labelstr) - myGraph.setXTitle(labelstr) - myGraph.setYTitle("Frequency") - myGraph.draw(labelstr,640,480,GraphImplementation.PDF) - #View(myGraph.getBitmap()) - print 'Input histogram done...' - - # An histogram of the outputs - for j in range(outputDim): - outputSamplej=outputSampleAll.getMarginal(j) - myGraph = VisualTest.DrawHistogram(outputSamplej) - labelarray=outputSamplej.getDescription() - labelstr=labelarray[0] - myGraph.setTitle(labelstr) - myGraph.setName(labelstr) - myGraph.setXTitle(labelstr) - myGraph.setYTitle("Frequency") - myGraph.draw(labelstr,640,480,GraphImplementation.PDF) - #View(myGraph.getBitmap()) - print 'Output histogram done' - print 'Graphical output terminated' - -def config_ENR(path_config_ENR) : - PV=[] - Wind1=[] - Wind2=[] - Interco=[] - f=open(path_config_ENR,"r") - lines=f.readlines() - for i in range (len(lines)) : - line = lines[i].split(";") - if str(line[0]).upper() == 'PV' : - PV.append([int(line[1]),i-1,int(line[3])]) - elif str(line[0]).upper() == 'W1' : - Wind1.append([int(line[1]),i-1,int(line[3])]) - elif str(line[0]).upper() == 'W2' : - Wind2.append([int(line[1]),i-1,int(line[3])]) - elif str(line[0]).upper() == 'I' : - Interco.append([int(line[1]),i-1,int(line[3])]) - else : - pass - return PV, Wind1, Wind2, Interco - -def config_contingency(path_config_contin) : - lines_con=[] - groups_con=[] - # Loading of lines contingency configuration - f=open(path_config_contin[0],"r") - lines=f.readlines() - f.close() - for i in range (len(lines)) : - line=lines[i].split(";") - try : - int(line[1]) - except ValueError : - pass - else : - if line[0] == '' : - line[0] = '0' - lines_con.append([int(line[1]), int(line[3]), str(line[5]),float(line[0].replace(',','.'))]) - - # Loading of groups contingency configuration - f=open(path_config_contin[1],"r") - lines=f.readlines() - f.close() - for i in range (len(lines)) : - line=lines[i].split(";") - try : - int(line[1]) - except ValueError : - pass - else : - if line[0] == '' : - line[0] = '0' - groups_con.append([int(line[1]), int(line[3]),float(line[0].replace(',','.'))]) - - sizeLines = len(lines_con) - sizeGroups = len(groups_con) - val=[] - prob=[] - for i in range(sizeLines+sizeGroups) : - val.append(int(i)) - - for i in range (sizeLines) : - prob.append(lines_con[i][3]) - for i in range (sizeGroups) : - prob.append(groups_con[i][2]) - - return lines_con, groups_con, val, prob - -def LoadARMA(time_serie_file, time_serie_SS, time_serie_TH) : - f=open(time_serie_file,"r") - lines=f.readlines() - N=len(lines) - Xt=[] - for i in range(N) : - Xt.append([float(lines[i])]) - - myTG=RegularGrid(0,float(time_serie_SS),N) - TS=TimeSeries(myTG,NumericalSample(Xt)) - myWN=WhiteNoise(Distribution(Normal(0,1)),myTG) - myState=ARMAState(TS.getSample(),NumericalSample()) - p=12 - q=0 - d=1 - myFactory = ARMALikelihoodFactory ( p , q , d ) - myARMA = myFactory.build(TS) - - myARMA.setState(myState) - - AR = myARMA.getARCoefficients() - MA = myARMA.getMACoefficients() - - ts = myARMA.getRealization() - ts.setName('A realization') - myTSGraph=ts.drawMarginal(0) - myTSGraph.draw('Realization'+str(p)+","+str(q),640,480,GraphImplementation.PDF) - myARMAState=myARMA.getState() - - #Make a prediction of the future on next Nit instants - Nit = int(time_serie_TH) - myARMA2=ARMA(AR,MA,myWN,myARMAState) - possibleFuture=myARMA2.getFuture(Nit) - possibleFuture.setName('Possible future') - - Xt2=[] - for i in range (len(possibleFuture)): - Xt2.append(possibleFuture.getValueAtIndex(i)[0]) - Max=float(max(Xt2)) - Min=float(min(Xt2)) - h=float(Max-Min) - for i in range (len(possibleFuture)): - value= (Xt2[i]-Min+h/3)/(Max-Min+h/3) - possibleFuture.setValueAtIndex(i,NumericalPoint(1,value)) - - myFG=possibleFuture.drawMarginal(0) - myFG.draw('Future'+str(Nit),640,480,GraphImplementation.PDF) - - return possibleFuture - -def LoadTS(time_serie_file) : - TS=[] - for i in range(len(time_serie_file)) : - if time_serie_file[i] == -1 : - pass - else : - f=open(time_serie_file[i],"r") - lines=f.readlines() - N=len(lines) - Xt=[] - for j in range(N) : - try : - float(lines[i]) - except ValueError : - lines[i] = commaToPoint(lines[i]) - else : - pass - Xt.append([float(lines[j])]) - TS.append(Xt) - return TS - - -def KSDist(filename) : - f=open(filename,"r") - print "Creating Kernel Smoothing distribution from: "+str(filename) - lines=f.readlines() - N=len(lines) - Xt=[] - for i in range(N) : - if lines[i] == "\n" : - print "End of file" - break - else : - try : - float(lines[i]) - except ValueError : - lines[i] = commaToPoint(lines[i]) - else : - pass - Xt.append([float(lines[i])]) - NS=NumericalSample(Xt) - kernel=KernelSmoothing(Uniform()) - myBandwith = kernel.computeSilvermanBandwidth(NS) - KS=kernel.build(NS,myBandwith,1) - return KS - -def threshold (inputRandomVector, outputVariableOfInterest,pssefun,inputDistribution) : - # We create a quadraticCumul algorithm - myQuadraticCumul = QuadraticCumul(outputVariableOfInterest) - - # We compute the several elements provided by the quadratic cumul algorithm - # and evaluate the number of calculus needed - nbBefr = pssefun.getEvaluationCallsNumber() - - # Mean first order - meanFirstOrder = myQuadraticCumul.getMeanFirstOrder()[0] - nbAfter1 = pssefun.getEvaluationCallsNumber() - - # Mean second order - meanSecondOrder = myQuadraticCumul.getMeanSecondOrder()[0] - nbAfter2 = pssefun.getEvaluationCallsNumber() - - # Standard deviation - stdDeviation = sqrt(myQuadraticCumul.getCovariance()[0,0]) - nbAfter3 = pssefun.getEvaluationCallsNumber() - - print "First order mean=", myQuadraticCumul.getMeanFirstOrder()[0] - print "Evaluation calls number = ", nbAfter1 - nbBefr - print "Second order mean=", myQuadraticCumul.getMeanSecondOrder()[0] - print "Evaluation calls number = ", nbAfter2 - nbAfter1 - print "Standard deviation=", sqrt(myQuadraticCumul.getCovariance()[0,0]) - print "Evaluation calls number = ", nbAfter3 - nbAfter2 - - print "Importance factors=" - for i in range(inputRandomVector.getDimension()) : - print inputDistribution.getDescription()[i], " = ", myQuadraticCumul.getImportanceFactors()[i] - print "" - -def getUserDefined (val, prob): - try : - val = val.split(',') - prob = prob.split(',') - except AttributeError : - pass - dim = len (val) - coll = UserDefinedPairCollection() - for i in range (dim) : - UDpair=UserDefinedPair(NumericalPoint(1,float(val[i])),float(prob[i])) - coll.add(UDpair) - return UserDefined(coll) - -def getHistogram (step, prob) : - try : - step = step.split(',') - prob = prob.split(',') - except AttributeError : - pass - dim = len (step) - myHistogram = HistogramPairCollection(dim) - for i in range (dim) : - myHistogram[i]=HistogramPair(float(step[i]),float(prob[i])) - return myHistogram - -def getUserLaw (description) : - law_num=int(description[0]) - time_serie=0 - time_serie_file='' - time_serie_SS=0 - time_serie_TH=0 - if law_num == 1 : - law=Normal(float(description[1]),float(description[2])) - elif law_num == 2 : - law=Uniform(float(description[1]),float(description[2])) - elif law_num == 3 : - law=Exponential(float(description[1]),float(description[2])) - elif law_num == 4 : - law=Weibull(float(description[1]),float(description[2]),float(description[3])) - elif law_num == 5 : - law=TruncatedNormal(float(description[1]),float(description[2]),float(description[3]),float(description[4])) - elif law_num == 6 : - law=UserDefined(getUserDefined (description[1], description[2])) - elif law_num == 7 : - law=Histogram(0.0, getHistogram (description[1], description[2])) - elif law_num == 10 : - law=KSDist(description[1]) - elif law_num == 20 : - law = Uniform(0.999999,1) - time_serie=1 - time_serie_file=description[1] - """time_serie_SS=description[2] - time_serie_TH=description[3]""" - else : - law = Uniform(0.999999,1) - return law, [time_serie, time_serie_file] #[time_serie, time_serie_file, time_serie_SS, time_serie_TH] - -def contingency_automatic (dfxPath, acccPath, rate) : - psspy.accc_with_dsp_3( 0.5,[0,0,0,1,1,2,0,0,0,0,0],r"""ALL""",dfxPath,acccPath,"","","") - psspy.accc_single_run_report_4([1,int(rate),int(rate),1,1,0,1,0,0,0,0,0],[0,0,0,0,6000],[ 0.5, 5.0, 100.0,0.0,0.0,0.0, 99999.],acccPath) - - rslt_summary=pssarrays.accc_summary(acccPath) - if int(rate) == 1 : - rate = rslt_summary.rating.a - elif int(rate) == 2 : - rate = rslt_summary.rating.b - elif int(rate) == 3 : - rate = rslt_summary.rating.c - else : - print "NO RATE CHOOSEN" - - Labels=rlst.colabel - contin_load=[] - for label in Labels : - t=[] - rslt=pssarrays.accc_solution(acccPath,contingency,label,0.5,5.0) - ampFlow=rslt.ampflow - for i in range (len(rA)) : - t.append(ampFlow[i]/rate[i]) - contin_load.append(t) - return contin_load - -def commaToPoint (string) : - stringReplaced = string.replace(',','.') - return stringReplaced \ No newline at end of file diff --git a/PSEN_Eficas/PSEN_Cata.py b/PSEN_Eficas/PSEN_Cata.py deleted file mode 100644 index d74d7e4a..00000000 --- a/PSEN_Eficas/PSEN_Cata.py +++ /dev/null @@ -1,2498 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * -import opsPSEN - -class loi ( ASSD ) : pass -class variable ( ASSD ) : pass -class sd_charge ( ASSD ) : pass -class sd_generateur ( ASSD ) : pass -class sd_ligne ( ASSD ) : pass -class sd_transfo ( ASSD ) : pass -class sd_moteur (ASSD) : pass -#class sd_busbar ( sd_generateur,sd_charge ) : pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -class Matrice: - def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): - self.nbLigs=nbLigs - self.nbCols=nbCols - self.methodeCalculTaille=methodeCalculTaille - self.formatSortie=formatSortie - self.valSup=valSup - self.valMin=valMin - self.structure=structure - - def __convert__(self,valeur): - # Attention ne verifie pas grand chose - if type(valeur) != types.ListType : - return None - return valeur - - def info(self): - return "Matrice %s x %s" % (self.nbLigs, self.nbCols) - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'PSEN', - execmodul = None, - regles = ( AU_MOINS_UN ( 'PSSE_PARAMETERS' ), - AU_MOINS_UN ( 'DIRECTORY' ), - AU_MOINS_UN ( 'DISTRIBUTION' ), - AU_MOINS_UN ( 'SIMULATION' ), - AU_PLUS_UN ( 'PSSE_PARAMETERS' ), - AU_PLUS_UN ( 'DIRECTORY' ), - AU_PLUS_UN ( 'SIMULATION' ), - AU_PLUS_UN ( 'CORRELATION' ), - AU_PLUS_UN ( 'N_1_GENERATORS' ), - AU_PLUS_UN ( 'N_1_LINES' ), - AU_PLUS_UN ( 'N_1_LOADS' ), - AU_PLUS_UN ( 'N_1_MOTORS' ), - AU_PLUS_UN ( 'N_1_TRANSFORMERS' ), - - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- - -MONGENER = OPER ( nom = "MONGENER", - sd_prod = sd_generateur, - UIinfo = {"groupes": ("CACHE")}, - op = None, - fr = "Generateur", - ang = "Generator", - - ID = SIMP ( statut = 'o', typ = "TXM", fr = "num bus", ang = "num bus",), -) -MONMOTEUR = OPER ( nom = "MONMOTEUR", - sd_prod = sd_moteur, - UIinfo = {"groupes": ("CACHE")}, - op = None, - fr = "Moteur", - ang = "Motor", - - ID = SIMP ( statut = 'o', typ = "TXM", fr = "num bus", ang = "num bus",), -) -MACHARGE = OPER ( nom = "MACHARGE", - sd_prod = sd_charge, - UIinfo = {"groupes": ("CACHE")}, - op = None, - fr = "Charge", - ang = "Load", - - ID = SIMP ( statut = 'o', typ = "TXM", fr = "nom charge", ang = "load name",), -) -MALIGNE = OPER ( nom = "MALIGNE", - sd_prod = sd_ligne, - UIinfo = {"groupes": ("CACHE")}, - op = None, - fr = "Ligne", - ang = "Line", - - ID = SIMP ( statut = 'o', typ = "TXM", fr = "nom ligne", ang = "line name",), -) -MONTRANSFO = OPER ( nom = "MONTRANSFO", - sd_prod = sd_transfo, - UIinfo = {"groupes": ("CACHE")}, - op = None, - fr = "Transformateur", - ang = "Transformer", - - ID = SIMP ( statut = 'o', typ = "TXM", fr = "nom transformateur", ang = "transformer name",), -) - - - -PSSE_PARAMETERS = PROC ( nom = "PSSE_PARAMETERS", - op=None, - docu = "", - ALGORITHM = SIMP ( statut = "o", - typ='TXM', - into=["Optimum Power Flow","Economic Dispatch and Power Flow"], - defaut="Optimum Power Flow", - ), - I_MAX = SIMP ( statut = "o", - typ='TXM', - into=['RateA','RateB','RateC'], - defaut='RateA', - ), - LOCK_TAPS = SIMP ( statut = "o", - typ=bool, - defaut=True, - ), - - b_OPF = BLOC (condition = "ALGORITHM == 'Optimum Power Flow'", - FUEL_COST = SIMP ( statut = "o", - typ=bool, - defaut=True, - ), - LOADSHEDDING_COST = SIMP ( statut = "o", - typ=bool, - defaut=False, - ), - MVAR_COST = SIMP ( statut = "o", - typ=bool, - defaut=False, - ), - ITERATION_LIMIT = SIMP ( statut = "o", - typ = "I", - val_min=1, - defaut=20, - ), - QGEN_CONTROL = SIMP ( statut = "o", - typ = bool, - defaut = True, - ), - b_QgenControl = BLOC (condition = "QGEN_CONTROL == True", - SAVE_CASE_BEFORE_QCONTROL = SIMP ( statut = "o", - typ = bool, - defaut = False, - fr = "Sauvegarder des fichiers de cas avant d'avoir deconnecte les groupes ne produisant pas de la puissance active", - ang = "Save network case files before having disconnected groups that dont generate active power.", - ), - ), - ), - - b_ECD = BLOC (condition = "ALGORITHM == 'Economic Dispatch and Power Flow'", - ecd_file=SIMP(statut="o", typ = ('Fichier', 'Economic Dispatch Files (*.ecd);;All Files (*)',),), - ), - -## P_MIN= SIMP ( statut = "o", -## typ=bool, -## defaut=True, -## ), -) - -SIMULATION = PROC ( nom = "SIMULATION", - op = None, - docu = "", - regles =(EXCLUS('NUMBER_PACKAGE','CONVERGENCE'), UN_PARMI('NUMBER_PACKAGE','CONVERGENCE'),), - - SIZE_PACKAGE = SIMP ( statut = "o", - typ = "I", - val_min=10, - defaut=100, - ), - NUMBER_PACKAGE = SIMP ( statut = "f", - typ = "I", - val_min=1, - ), - CONVERGENCE = SIMP ( statut = "f", - typ="I", - into=[1], - ), - -## STUDY = SIMP ( statut = "o", -## typ = "TXM", -## into = ( 'N-1', 'Load', 'Wind-1', 'Wind-2', 'PV' ), -## max=5, -## fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS", -## ang = "Open TURNS library debug level print", -## ), -) - - -#================================ -# Definition du modele physique -#================================ - - - -CORRELATION = PROC ( nom = 'CORRELATION', - op = None, - docu = "", - fr = "Correlation entre variables", - ang = "Variable correlation", - -#### Copula = SIMP ( statut = "o", -#### typ = 'TXM', -#### into = ( "Independent", "Normal" ), -#### defaut = "Independent", -#### fr = "Type de la copule", -#### ang = "Copula kind", -#### ), -## -## # Matrix = BLOC ( condition = "Copula in ( 'Normal', )", -## - CorrelationMatrix = SIMP ( statut = "o", - typ = Matrice(nbLigs=None, - nbCols=None, - methodeCalculTaille='NbDeDistributions', - structure="symetrique"), - fr = "Matrice de correlation entre les variables d'entree", - ang = "Correlation matrix for input variables", - #val_max=1.0, - #val_min=-1.0 - ), -## #), # Fin BLOC Matrix -## -## -) - -DIRECTORY = MACRO ( nom = 'DIRECTORY', - op=None, - fr = "Chargement des directoires et fichiers", - ang = "Load directories and files necessary to run PSEN", - sd_prod = opsPSEN.INCLUDE, - op_init = opsPSEN.INCLUDE_context, - #sd_prod=None, - fichier_ini = 1, - - PSSE_path=SIMP(statut="o",typ='Repertoire',defaut='C:\Program Files\PTI\PSSE33\PSSBIN'), - sav_file=SIMP(statut="o", typ = ('Fichier', 'Network Case Files (*.sav);;All Files (*)',),), - results_folder=SIMP(statut="o",typ='Repertoire'), - #lines_file=SIMP(statut="o" ,typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',),), - #groups_file=SIMP(statut="o", typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',),), - #generationsystem_file=SIMP(statut="o" ,typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',),), - -) - - - -#================================ -# Importation des fichiers csv N-1 -#================================ - -N_1_LINES = PROC( nom="N_1_LINES", - op = None, - docu = "", - fr = "N-1 lignes", - ang = "N-1 lines", - Activated = SIMP ( statut='o', typ=bool, defaut=True), -## FileName = SIMP ( statut = "o", -## typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), -## fr = "chemin du fichier csv des probabilites des defauts lignes", -## ang = "csv file path with probabilities of line outages", -## ), - Probability = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Probabilite d'indisponibilite de la ligne", - ang = "Probability that the line is not available", - validators=VerifTypeTuple((sd_ligne,'R')),), - ) - -N_1_TRANSFORMERS = PROC( nom="N_1_TRANSFORMERS", - op = None, - docu = "", - fr = "N-1 transformateurs", - ang = "N-1 transformers", - Activated = SIMP ( statut='o', typ=bool, defaut=True), -## FileName = SIMP ( statut = "o", -## typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), -## fr = "chemin du fichier csv des probabilites des defauts transformateur", -## ang = "csv file path with probabilities of transformer outages", -## ), - Probability = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Probabilite d'indisponibilite de la ligne", - ang = "Probability that the line is not available", - validators=VerifTypeTuple((sd_transfo,'R')),), - ) -N_1_GENERATORS = PROC( nom="N_1_GENERATORS", - op = None, - docu = "", - fr = "N-1 generateurs", - ang = "N-1 generators", - Activated = SIMP ( statut='o', typ=bool, defaut=True), -## FileName = SIMP ( statut = "o", -## typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), -## fr = "chemin du fichier csv des probabilites des defauts generateurs", -## ang = "csv file path with probabilities of generator outages", -## ), - Probability = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Probabilite d'indisponibilite du generateur", - ang = "Probability that the generator is not available", - validators=VerifTypeTuple((sd_generateur,'R')),), - ) -N_1_MOTORS = PROC( nom="N_1_MOTORS", - op = None, - docu = "", - fr = "N-1 moteurs", - ang = "N-1 motors", - Activated = SIMP ( statut='o', typ=bool, defaut=True), -## FileName = SIMP ( statut = "o", -## typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), -## fr = "chemin du fichier csv des probabilites des defauts generateurs", -## ang = "csv file path with probabilities of generator outages", -## ), - Probability = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Probabilite d'indisponibilite du moteur", - ang = "Probability that the motor is not available", - validators=VerifTypeTuple((sd_moteur,'R')),), - ) -N_1_LOADS = PROC( nom="N_1_LOADS", - op = None, - docu = "", - fr = "N-1 charges", - ang = "N-1 loads", - Activated = SIMP ( statut='o', typ=bool, defaut=True), -## FileName = SIMP ( statut = "o", -## typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), -## fr = "chemin du fichier csv des probabilites des defauts charges", -## ang = "csv file path with probabilities of load outages", -## ), - Probability = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Probabilite d'indisponibilite du generateur", - ang = "Probability that the generator is not available", - validators=VerifTypeTuple((sd_charge,'R')),), - ) - - - - -#================================ -# Definition des LOIS -#================================ - -# Nota : les variables de type OPER doivent etre en majuscules ! -# Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type) -DISTRIBUTION = OPER ( nom = "DISTRIBUTION", - sd_prod = loi, - op = 68, - fr = "Definitions des lois marginales utilisees par les variables d'entree", - -#==== -# Choisir generateur ou charge -#==== - -## TypeMachine = SIMP ( statut='o', typ='TXM', -## into = ('charge','vent1','vent2','pv','N-1',), -## ), - Activated = SIMP ( statut='o', typ=bool, defaut=True), - ComponentType = SIMP (statut='o', typ='TXM', - into = ('Generator','Load','Motor','Line','Transformer'),), - b_gener = BLOC (condition = "ComponentType == 'Generator'", - - Type = SIMP (statut= "o", typ = "TXM", - into = ("Generator Power Level", "Generator Availability"), - fr = "Choisir si c'est le niveau de puissance ou la disponibilit� du generateur qui sera tiree", - ang= "Choose whether the power level or the availability of the generator will be set by the law", - defaut = "Generator Power Level", - ), - - Sampling = SIMP (statut= "o", typ = "TXM", - into = ("Same sample for all generators", "One sample per generator"), - fr = "Choisir si une seule tirage sera fait pour tous les generateurs ou si des tirages differents seront faits pour chaque generateur", - ang= "Choose whether one drawing/sample will be performed for all of the generators or whether a different drawing/sample will be performed for each generator.", - defaut = "Same sample for all generators", - ), - - Generator = SIMP(statut='o',typ=sd_generateur,max="**", homo="SansOrdreNiDoublon",docu="sd_generateur"), - -#==== -# Type de distribution -#==== - - b_gener_level = BLOC (condition= "Type == 'Generator Power Level'", - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( "Exponential", - "Histogram", - "Normal", - #"Rayleigh", - "PDF_from_file", - "TruncatedNormal", - "TimeSeries_from_file", - "Uniform", - "UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - - EXPONENTIAL = BLOC ( condition = " Law in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - HISTOGRAM = BLOC ( condition = " Law in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - NORMAL = BLOC ( condition = " Law in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - RAYLEIGH = BLOC ( condition = " Law in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - PDF = BLOC ( condition = " Law in ( 'PDF_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Nom du fichier .csv", - ang = ".csv file name", - ), - ), - - - - TRUNCATEDNORMAL = BLOC ( condition = " Law in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronqu�e", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronqu�e", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - UNIFORM = BLOC ( condition = " Law in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, prob.)", - ang = "List of pairs : (value, prob.)", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC USERDEFINED - - - WEIBULL = BLOC ( condition = " Law in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - - - Transfer_Function = FACT(statut='f', - - TF_Input = SIMP ( statut='o', - typ = 'TXM', - fr = 'Entrer une fonction de transfert � partir d''un fichier .pow (vitesse de vent - puissance eolienne)\n \ - ou entrer une liste de tuples (valeur tiree - puissance normalisee)', - ang = 'Enter wind speed - turbine production transfer function as a .pow file, \n \ - or enter a generic list of (law output value, normalized power output) tuples', - into = ('.pow file', 'tuples list'), - ), - b_file = BLOC(condition = "TF_Input == '.pow file'", - File_Name = SIMP ( statut = "o", - typ = ('Fichier', 'Pow files (*.pow);;All Files (*)',), - fr = "Nom du fichier de transfer .pow", - ang = ".pow file name", - ), - Wind_Speed_Measurement_Height = SIMP ( statut = 'o', - typ = "R", - max = 1, - fr = 'Hauteur (en metres) a laquelle les mesures de vitesse du vent ont ete prises', - ang = 'Height of wind speed measurements (m)', - sug = 10, - val_min = 0, - ), - Hub_Height = SIMP (statut = 'o', - typ = "R", - fr = 'hauteur de moyeu de l''eolienne', - ang = 'wind turbine hub height', - sug = 80, - val_min = 0,), - AlphaWS = SIMP (statut = 'o', - typ = "R", - fr = 'l''alpha pour extrapoler les mesures de vitesse du vent a la hauteur du moyeu ', - ang = 'alpha used to extrapolate wind speed measurements to hub height', - defaut = 1./7, - val_min = 0, - val_max = 1, - ), - Percent_Losses = SIMP (statut = 'o', - typ = "R", - fr = 'pourcentage de pertes entre la sortie theorique d''une turbine et la sortie de la centrale', - ang = 'percent losses between theoretical power output of a single turbine and the output of the farm', - defaut = 5, - val_min = 0, - val_max = 100, - ), - ), #fin du bloc FileName - - b_tuples = BLOC(condition = "TF_Input == 'tuples list'", - - TF_Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - min = 2, - fr = "Liste de couples : valeur tiree, puissance normalisee sortie", - ang = "List of couples : value set by law, normalized power output", - validators=VerifTypeTuple(('R','R')), - ), - ), #fin du block Tuples List - - ), #fin du FACT Transfer Function - - ), #fin du bloc generator level - - - b_gener_avail = BLOC (condition= "Type == 'Generator Availability'", - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( #"Exponential", - #"Histogram", - #"Normal", - #"Rayleigh", - #"PDF_from_file", - #"TruncatedNormal", - "TimeSeries_from_file", - #"Uniform", - "UserDefined", - #"Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - defaut="UserDefined", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, prob.)", - ang = "List of pairs : (value, prob.)", - validators=VerifTypeTuple(('R','R')), - defaut=((0,0.0),(1,1.0)), - ), - - ), # Fin BLOC USERDEFINED - - - ), #fin du bloc generator avail - - - ), #fin du bloc generateur - -#Bloc Charge - b_charge = BLOC (condition = "ComponentType == 'Load'", - - -#==== -# Type de distribution -#==== - - Type = SIMP (statut= "o", typ = "TXM", - into = ("Load Level", "Load Availability"), - fr = "Choisir si c'est le niveau de charge ou la disponibilit� de la charge qui sera tiree", - ang= "Choose whether the power level or the availability of the load will be set by the law", - defaut = "Load Level", - ), - - Sampling = SIMP (statut= "o", typ = "TXM", - into = ("Same sample for all loads", "One sample per load"), - fr = "Choisir si une seule tirage sera fait pour tous les charges ou si des tirages differents seront faits pour chaque charge", - ang= "Choose whether one drawing/sample will be performed for all of the loads or whether a different drawing/sample will be performed for each load.", - defaut = "Same sample for all loads", - ), - - Load = SIMP(statut='o',typ=sd_charge,max="**", homo="SansOrdreNiDoublon",), - - - b_charge_level = BLOC (condition = "Type == 'Load Level'", - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( "Exponential", - "Histogram", - "Normal", - #"Rayleigh", - "PDF_from_file", - "TruncatedNormal", - "TimeSeries_from_file", - "Uniform", - "UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - - EXPONENTIAL = BLOC ( condition = " Law in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - HISTOGRAM = BLOC ( condition = " Law in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - NORMAL = BLOC ( condition = " Law in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - RAYLEIGH = BLOC ( condition = " Law in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - PDF = BLOC ( condition = " Law in ( 'PDF_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Nom du fichier .csv", - ang = ".csv file name", - ), - ), - - - - TRUNCATEDNORMAL = BLOC ( condition = " Law in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronqu�e", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronqu�e", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - UNIFORM = BLOC ( condition = " Law in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, probabilite)", - ang = "List of pairs : (value, probability)", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC USERDEFINED - - - WEIBULL = BLOC ( condition = " Law in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - - ), #fin du block Load Level - - - b_charge_avail = BLOC (condition = "Type == 'Load Availability'", - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( #"Exponential", - #"Histogram", - #"Normal", - #"Rayleigh", - #"PDF_from_file", - #"TruncatedNormal", - "TimeSeries_from_file", - #"Uniform", - "UserDefined", - #"Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - defaut = "UserDefined", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, probabilite)", - ang = "List of pairs : (value, probability)", - validators=VerifTypeTuple(('R','R')), - defaut=((0,0.0),(1,1.0)), - ), - - ), # Fin BLOC USERDEFINED - - - ), #fin du block Load Avail - - - ), #fin du bloc charge - - - -#Bloc Moteur - b_moteur = BLOC (condition = "ComponentType == 'Motor'", - - -#==== -# Type de distribution -#==== - - Type = SIMP (statut= "o", typ = "TXM", - into = ("Motor Level", "Motor Availability"), - fr = "Choisir si c'est le niveau de charge du moteur ou la disponibilit� du moteur qui sera tiree", - ang= "Choose whether the power level or the availability of the motor will be set by the law", - defaut = "Motor Level", - ), - - Sampling = SIMP (statut= "o", typ = "TXM", - into = ("Same sample for all motors", "One sample per motor"), - fr = "Choisir si une seule tirage sera fait pour tous les moteurs ou si des tirages differents seront faits pour chaque moteur", - ang= "Choose whether one drawing/sample will be performed for all of the motors or whether a different drawing/sample will be performed for each motor.", - defaut = "Same sample for all motors", - ), - - Motor = SIMP(statut='o',typ=sd_moteur,max="**", homo="SansOrdreNiDoublon",), - - - b_moteur_level = BLOC (condition = "Type == 'Motor Level'", - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( "Exponential", - "Histogram", - "Normal", - #"Rayleigh", - "PDF_from_file", - "TruncatedNormal", - "TimeSeries_from_file", - "Uniform", - "UserDefined", - "Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - - EXPONENTIAL = BLOC ( condition = " Law in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - HISTOGRAM = BLOC ( condition = " Law in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - NORMAL = BLOC ( condition = " Law in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - RAYLEIGH = BLOC ( condition = " Law in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - PDF = BLOC ( condition = " Law in ( 'PDF_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Nom du fichier .csv", - ang = ".csv file name", - ), - ), - - - - TRUNCATEDNORMAL = BLOC ( condition = " Law in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronqu�e", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronqu�e", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - UNIFORM = BLOC ( condition = " Law in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, probabilite)", - ang = "List of pairs : (value, probability)", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC USERDEFINED - - - WEIBULL = BLOC ( condition = " Law in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - - ), #fin du block Load Level - - - b_moteur_avail = BLOC (condition = "Type == 'Motor Availability'", - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( #"Exponential", - #"Histogram", - #"Normal", - #"Rayleigh", - #"PDF_from_file", - #"TruncatedNormal", - "TimeSeries_from_file", - #"Uniform", - "UserDefined", - #"Weibull", - ), - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - defaut = "UserDefined", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, probabilite)", - ang = "List of pairs : (value, probability)", - validators=VerifTypeTuple(('R','R')), - defaut=((0,0.0),(1,1.0)), - ), - - ), # Fin BLOC USERDEFINED - - - ), #fin du block Load Avail - - - ), #fin du bloc moteur - - - b_ligne = BLOC (condition = "ComponentType == 'Line'", - - -#==== -# Type de distribution -#==== - - Type = SIMP (statut= "o", typ = "TXM", - into = ("Line Availability",), - fr = "La disponibilite de la ligne sera tiree", - ang= "Line availability will be set by the law", - defaut = "Line Availability", - ), - - Sampling = SIMP (statut= "o", typ = "TXM", - into = ("Same sample for all lines", "One sample per line"), - fr = "Choisir si une seule tirage sera fait pour tous les lignes ou si des tirages differents seront faits pour chaque ligne", - ang= "Choose whether one drawing/sample will be performed for all of the lines or whether a different drawing/sample will be performed for each line.", - defaut = "Same sample for all lines", - ), - - Line = SIMP(statut='o',typ=sd_ligne,max="**", homo="SansOrdreNiDoublon"), - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( #"Exponential", - #"Histogram", - #"Normal", - #"Rayleigh", - #"PDF_from_file", - #"TruncatedNormal", - "TimeSeries_from_file", - #"Uniform", - "UserDefined", - #"Weibull", - ), - defaut = "UserDefined", - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - - - EXPONENTIAL = BLOC ( condition = " Law in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - HISTOGRAM = BLOC ( condition = " Law in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - NORMAL = BLOC ( condition = " Law in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - - RAYLEIGH = BLOC ( condition = " Law in ( 'Rayleigh', ) ", - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Parametre Sigma de la loi | Sigma > 0", - ang = "Sigma parameter | Sigma > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - ), # Fin BLOC RAYLEIGH - - PDF = BLOC ( condition = " Law in ( 'PDF_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Nom du fichier .csv", - ang = ".csv file name", - ), - ), - - - - TRUNCATEDNORMAL = BLOC ( condition = " Law in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronqu�e", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronqu�e", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - UNIFORM = BLOC ( condition = " Law in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, probabilite)", - ang = "List of pairs : (value, probability)", - validators=VerifTypeTuple(('R','R')), - defaut=((0,0.0),(1,1.0)), - ), - - ), # Fin BLOC USERDEFINED - - - WEIBULL = BLOC ( condition = " Law in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - - ), #fin du bloc ligne - - b_transfo = BLOC (condition = "ComponentType == 'Transformer'", - - -#==== -# Type de distribution -#==== - - Type = SIMP (statut= "o", typ = "TXM", - into = ("Transformer Availability",), - fr = "La disponibilite du transformateur sera tiree", - ang= "Transformer availability will be set by the law", - defaut = "Transformer Availability" - ), - - Sampling = SIMP (statut= "o", typ = "TXM", - into = ("Same sample for all transformers", "One sample per transformer"), - fr = "Choisir si une seule tirage sera fait pour tous les transforamteurs ou si des tirages differents seront faits pour chaque transformateur", - ang= "Choose whether one drawing/sample will be performed for all of the tranformers or whether a different drawing/sample will be performed for each transformer.", - defaut = "Same sample for all transformers", - ), - - Transformer = SIMP(statut='o',typ=sd_transfo,max="**", homo="SansOrdreNiDoublon"), - - Law = SIMP ( statut = "o", typ = "TXM", - into = ( #"Beta", - #"Exponential", - #"Gamma", - #"Geometric", - #"Gumbel", - #"Histogram", - #"Laplace", - #"Logistic", - #"LogNormal", - #"MultiNomial", - #"NonCentralStudent", - #"Normal", - #"Poisson", - #"Rayleigh", - #"Student", - #"PDF_from_file", - #"Triangular", - #"TruncatedNormal", - "TimeSeries_from_file", - #"Uniform", - "UserDefined", - #"Weibull", - ), - defaut="UserDefined", - fr = "Choix du type de la loi marginale", - ang = "1D marginal distribution", - ), - - -#==== -# Definition des parametres selon le type de la loi -#==== - -## NONPARAM = BLOC ( condition = " Law in ( 'NonParametrique', ) ", -## -## FileName = SIMP ( statut = "o", -## typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), -## fr = "Nom du modele physique", -## ang = "Physical model identifier", -## ), -## ), - -# BETA = BLOC ( condition = " Law in ( 'Beta', ) ", -# -# Settings = SIMP ( statut = "o", -# typ = "TXM", -# max = 1, -# into = ( "RT", "MuSigma" ), -# defaut = "RT", -# fr = "Parametrage de la loi beta", -# ang = "Beta distribution parameter set", -# ), -# -# RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ", -# -# R = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre R de la loi | R > 0", -# ang = "R parameter | R > 0", -# ), -# -# # T > R -# T = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre T de la loi | T > R", -# ang = "T parameter | T > R", -# ), -# -# ), # Fin BLOC RT_Parameters -# -# -# MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne de la loi", -# ang = "Mean value", -# ), -# -# Sigma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Ecart type de la loi", -# ang = "Standard deviation", -# ), -# -# ), # Fin BLOC MuSigma_Parameters -# -# -# A = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne inferieure du support de la loi", -# ang = "Support lower bound", -# ), -# -# # B > A -# B = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne superieure du support de la loi", -# ang = "Support upper bound", -# ), -# -# ), # Fin BLOC BETA - - - - EXPONENTIAL = BLOC ( condition = " Law in ( 'Exponential', ) ", - - Lambda = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Lambda | Lambda > 0", - ang = "Lambda parameter | Lambda > 0", - ), - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC EXPONENTIAL - - - -# GAMMA = BLOC ( condition = " Law in ( 'Gamma', ) ", -# -# Settings = SIMP ( statut = "o", -# typ = "TXM", -# max = 1, -# into = ( "KLambda", "MuSigma" ), -# defaut = "KLambda", -# fr = "Parametrage de la loi gamma", -# ang = "Gamma distribution parameter set", -# ), -# -# KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ", -# -# K = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre K de la loi | K > 0", -# ang = "K parameter | K > 0", -# ), -# -# Lambda = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre Lambda de la loi | Lambda > 0", -# ang = "Lambda parameter | Lambda > 0", -# ), -# -# ), # Fin BLOC KLambda_Parameters -# -# -# MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne de la loi", -# ang = "Mean value", -# ), -# -# Sigma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Ecart type de la loi", -# ang = "Standard deviation", -# ), -# -# ), # Fin BLOC MuSigma_Parameters -# -# Gamma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne inferieure du supoport de la loi", -# ang = "Support lower bound", -# ), -# -# -# ), # Fin BLOC GAMMA - - -# -# GEOMETRIC = BLOC ( condition = " Law in ( 'Geometric', ) ", -# -# P = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# val_max = 1., -# fr = "Parametre P | 0 < P < 1", -# ang = "P parameter | 0 < P < 1", -# ), -# -# ), # Fin BLOC GEOMETRIC -# -# -# -# GUMBEL = BLOC ( condition = " Law in ( 'Gumbel', ) ", -# -# Settings = SIMP ( statut = "o", -# typ = "TXM", -# max = 1, -# into = ( "AlphaBeta", "MuSigma" ), -# defaut = "AlphaBeta", -# fr = "Parametrage de la loi gumbel", -# ang = "Gumbel distribution parameter set", -# ), -# -# AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", -# -# Alpha = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre Alpha de la loi | Alpha > 0", -# ang = "Alpha parameter | Alpha > 0", -# ), -# -# Beta = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Beta de la loi", -# ang = "Beta parameter", -# ), -# -# ), # Fin BLOC AlphaBeta_Parameters -# -# -# MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne de la loi", -# ang = "Mean value", -# ), -# -# Sigma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Ecart type de la loi", -# ang = "Standard deviation", -# ), -# -# ), # Fin BLOC MuSigma_Parameters -# -# ), # Fin BLOC GUMBEL - - - - HISTOGRAM = BLOC ( condition = " Law in ( 'Histogram', ) ", - - First = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du supoport de la loi", - ang = "Support lower bound", - ), - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : largeur de classe, hauteur de classe", - ang = "Class bandwidth, class height couple list", - validators=VerifTypeTuple(('R','R')), - ), - - ), # Fin BLOC HISTOGRAM - - - -# LAPLACE = BLOC ( condition = " Law in ( 'Laplace', ) ", -# -# Lambda = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre Lambda | Lambda > 0", -# ang = "Lambda parameter | Lambda > 0", -# ), -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne de la loi", -# ang = "Mean value", -# ), -# -# ), # Fin BLOC LAPLACE -# -# LOGNORMAL = BLOC ( condition = " Law in ( 'LogNormal', ) ", -# -# Settings = SIMP ( statut = "o", -# typ = "TXM", -# max = 1, -# into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ), -# defaut = "MuSigmaLog", -# fr = "Parametrage de la loi lognormale", -# ang = "Lognormal distribution parameter set", -# ), -# -# MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne de la loi", -# ang = "Mean value", -# ), -# -# Sigma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Ecart type de la loi", -# ang = "Standard deviation", -# ), -# -# ), # Fin BLOC MuSigma_Parameters -# -# MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ", -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne de la loi", -# ang = "Mean value", -# ), -# -# SigmaOverMu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Rapport ecart type / moyenne de la loi", -# ang = "Standard deviation / mean value ratio", -# ), -# -# ), # Fin BLOC MuSigmaOverMu_Parameters -# -# MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ", -# -# MuLog = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Moyenne du log", -# ang = "Log mean value", -# ), -# -# SigmaLog = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Ecart type du log", -# ang = "Log standard deviation", -# ), -# -# ), # Fin BLOC MuSigmaLog_Parameters -# -# Gamma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne inferieure du support de la loi", -# ang = "Support lower bound", -# ), -# -# ), # Fin BLOC LOGNORMAL -# -# -# -# LOGISTIC = BLOC ( condition = " Law in ( 'Logistic', ) ", -# -# Alpha = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne inferieure du supoport de la loi", -# ang = "Support lower bound", -# ), -# -# Beta = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre Beta de la loi | Beta > 0", -# ang = "Beta parameter | Beta > 0", -# ), -# -# ), # Fin BLOC LOGISTIC -# -# -# -# MULTINOMIAL = BLOC ( condition = " Law in ( 'MultiNomial', ) ", -# -# N = SIMP ( statut = "o", -# typ = "I", -# max = 1, -# fr = "Parametre N de la loi | N > 0", -# ang = "N parameter | N > 0", -# ), -# -# # Il faut definir une collection de couples ( x,p ) -# Values = SIMP ( statut = 'o', -# typ = "R", -# max = '**', -# fr = "Liste de probabilit�s", -# ang = "Probability list", -# validators=VerifTypeTuple(('R','R')), -# ), -# -# ), # Fin BLOC MULTINOMIAL -# -# -# NONCENTRALSTUDENT = BLOC ( condition = " Law in ( 'NonCentralStudent', ) ", -# -# Nu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Nu de la loi | Nu > 0", -# ang = "Nu parameter | Nu > 0", -# ), -# -# Delta = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Delta de la loi | Delta > 0", -# ang = "Delta parameter | Delta > 0", -# ), -# -# Gamma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Gamma de centrage de la loi", -# ang = "Gamma parameter", -# ), -# -# ), # Fin BLOC NONCENTRALSTUDENT - - - NORMAL = BLOC ( condition = " Law in ( 'Normal', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC NORMAL - - -# -# POISSON = BLOC ( condition = " Law in ( 'Poisson', ) ", -# -# Lambda = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 0., -# fr = "Parametre Lambda de la loi | Lambda > 0", -# ang = "Lambda parameter | Lambda > 0", -# ), -# -# ), # Fin BLOC POISSON -# -# -# -# RAYLEIGH = BLOC ( condition = " Law in ( 'Rayleigh', ) ", -# -# Sigma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Sigma de la loi | Sigma > 0", -# ang = "Sigma parameter | Sigma > 0", -# ), -# -# Gamma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne inferieure du support de la loi", -# ang = "Support lower bound", -# ), -# ), # Fin BLOC RAYLEIGH - - PDF = BLOC ( condition = " Law in ( 'PDF_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Nom du fichier .csv", - ang = ".csv file name", - ), - ), - -# STUDENT = BLOC ( condition = " Law in ( 'Student', ) ", -# -# Mu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Mu de la loi", -# ang = "Mu parameter", -# ), -# -# Nu = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# val_min = 2., -# fr = "Parametre Nu de la loi | Nu > 2", -# ang = "Nu parameter | Nu > 2", -# ), -# -# Sigma = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Parametre Sigma de la loi", -# ang = "Sigma parameter", -# ), -# -# ), # Fin BLOC STUDENT -# -# -# -# TRIANGULAR = BLOC ( condition = " Law in ( 'Triangular', ) ", -# -# A = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne inferieure du support de la loi | A < M < B", -# ang = "Support lower bound | A < M < B", -# ), -# -# M = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Mode de la loi | A < M < B", -# ang = "Mode | A < M < B", -# ), -# -# B = SIMP ( statut = "o", -# typ = "R", -# max = 1, -# fr = "Borne superieure du support de la loi | A < M < B", -# ang = "Support upper bound | A < M < B", -# ), -# -# ), # Fin BLOC TRIANGULAR -# -# - - TRUNCATEDNORMAL = BLOC ( condition = " Law in ( 'TruncatedNormal', ) ", - - MuN = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi Normale non tronqu�e", - ang = "Mean value of the associated non truncated normal distribution", - ), - - SigmaN = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart-type de la loi Normale non tronqu�e", - ang = "Standard deviation of the associated non truncated normal distribution", - ), - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure de la loi | A < B", - ang = "Lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure de la loi | A < B", - ang = "Upper bound | A < B", - ), - - ), # Fin BLOC TRUNCATEDNORMAL - - - TimeSeries = BLOC ( condition = " Law in ( 'TimeSeries_from_file', ) ", - - FileName = SIMP ( statut = "o", - typ = ('Fichier', 'Wrapper Files (*.csv);;All Files (*)',), - fr = "Fichier CSV d'une serie temporelle", - ang = "CSV file of a time series", - ), - ), - - - UNIFORM = BLOC ( condition = " Law in ( 'Uniform', ) ", - - A = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi | A < B", - ang = "Support lower bound | A < B", - ), - - B = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne superieure du support de la loi | A < B", - ang = "Support upper bound | A < B", - ), - - ), # Fin BLOC UNIFORM - - - USERDEFINED = BLOC ( condition = " Law in ( 'UserDefined', ) ", - - # Il faut definir une collection de couples ( x,p ) - Values = SIMP ( statut = 'o', - typ = Tuple(2), - max = '**', - fr = "Liste de couples : (valeur, probabilite)", - ang = "List of pairs : (value, probability)", - validators=VerifTypeTuple(('R','R')), - defaut=((0,0.0),(1,1.0)), - ), - - ), # Fin BLOC USERDEFINED - - - WEIBULL = BLOC ( condition = " Law in ( 'Weibull', ) ", - - Settings = SIMP ( statut = "o", - typ = "TXM", - max = 1, - into = ( "AlphaBeta", "MuSigma" ), - defaut = "AlphaBeta", - fr = "Parametrage de la loi weibull", - ang = "Weibull distribution parameter set", - ), - - AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ", - - Alpha = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Alpha de la loi | Alpha > 0", - ang = "Alpha parameter | Alpha > 0", - ), - - Beta = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Parametre Beta de la loi | Beta > 0", - ang = "Beta parameter | Beta > 0", - ), - - ), # Fin BLOC AlphaBeta_Parameters - - - MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ", - - Mu = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Moyenne de la loi", - ang = "Mean value", - ), - - Sigma = SIMP ( statut = "o", - typ = "R", - max = 1, - val_min = 0., - fr = "Ecart type de la loi", - ang = "Standard deviation", - ), - - ), # Fin BLOC MuSigma_Parameters - - Gamma = SIMP ( statut = "o", - typ = "R", - max = 1, - fr = "Borne inferieure du support de la loi", - ang = "Support lower bound", - ), - - ), # Fin BLOC WEIBULL - - - - ), #fin du bloc transformer - - -) - -Classement_Commandes_Ds_Arbre=('DIRECTORY', 'DISTRIBUTION', 'CORRELATION',) - -Ordre_Des_Commandes = ( 'DIRECTORY', 'PSSE_PARAMETERS', 'SIMULATION', 'DISTRIBUTION', 'CORRELATION', - 'N_1_GENERATORS', 'N_1_LINES', 'N_1_TRANSFORMERS', 'N_1_LOADS',) diff --git a/PSEN_Eficas/configuration_PSEN.py b/PSEN_Eficas/configuration_PSEN.py deleted file mode 100755 index 4ab64b85..00000000 --- a/PSEN_Eficas/configuration_PSEN.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/PSEN_Eficas/mesScripts.py b/PSEN_Eficas/mesScripts.py deleted file mode 100755 index 15f80ed6..00000000 --- a/PSEN_Eficas/mesScripts.py +++ /dev/null @@ -1,35 +0,0 @@ -def view_zone(listeparam) : - item=listeparam[0] - import visu_geom - visu_zone = visu_geom.VisuGeom(from_eficas=True, - eficas_item=item, - ligne_arbre=False) - visu_zone.visualize() - -def view_ligne_arbre(listeparam) : - item=listeparam[0] - import visu_geom - visu_arbre = visu_geom.VisuGeom(from_eficas=True, - eficas_item=item, - ligne_arbre=True) - visu_arbre.visualize() - -def import_zone(listeparam,appli) : - item=listeparam[0] - # simulation de la recuperation zone - #import eficasSalome - #eficasSalome.runEficas(code='MT',fichier='/home/I29518/test_zone.comm') - appli.viewmanager.handleOpen(fichier='/home/A96028/Install_EficasV1/EficasV1/MT/MT_include.comm') - -def import_zone2(listeparam,appli) : - editor=listeparam[0] - itemWidget=listeparam[1] - texte="sansnom=ZONE(NOEUDS=(_F(NOM='N1', X=0.0,), _F(NOM='N2', X=0.19,),), ELEMENTS=(_F(NOM='E1', DEBUT='N1', FIN='N2', RAFFINAGE='NON', MATERIAU=MAT_R01, SECTION_MASSE=_F(TYPE_SECTION='CONSTANTE', DIAM_EXTERN_DEBUT=0.1, DIAM_INTERN_DEBUT=0,), SECTION_RIGIDITE=_F(TYPE_SECTION='CONSTANTE', DIAM_EXTERN_DEBUT=0.1, DIAM_INTERN_DEBUT=0.0,),), _F(NOM='E2', DEBUT='N2', FIN='N3', RAFFINAGE='NON', MATERIAU=MAT_R01, SECTION_MASSE=_F(TYPE_SECTION='VARIABLE', DIAM_EXTERN_DEBUT=0.1, DIAM_INTERN_DEBUT=0, DIAM_EXTERN_SORTIE=0.2, DIAM_INTERN_SORTIE=0.0,), SECTION_RIGIDITE=_F(TYPE_SECTION='VARIABLE', DIAM_EXTERN_DEBUT=0.1, DIAM_INTERN_DEBUT=0.0, DIAM_EXTERN_SORTIE=0.2, DIAM_INTERN_SORTIE=0.0,),),),);" - editor.updateJdc(itemWidget,texte) - -def Source(): - print "jjjjjjjjjjjjjjjjjjj" - -dict_commandes={ - 'GENDOF':(Source,"Source",(),False,True,"affiche un message"), - } diff --git a/PSEN_Eficas/mesScripts_PSEN.py b/PSEN_Eficas/mesScripts_PSEN.py deleted file mode 100644 index 3e795416..00000000 --- a/PSEN_Eficas/mesScripts_PSEN.py +++ /dev/null @@ -1,113 +0,0 @@ -def exportToCsv(listeparam) : - texte="" - editor= listeparam[0] - item = listeparam[1] - fn=None - try : - from PyQt4.QtGui import QFileDialog, QMessageBox - fichier = QFileDialog.getOpenFileName() - if fichier == None : return - except : - try : - from PyQt5.QtWidgets import QFileDialog, QMessageBox - fichier = QFileDialog.getOpenFileName() - if fichier[0] == None : return - fichier=fichier[0] - except: - pass - - nouvelleVal=[] - prob=item.object.get_child('Probability') - valeur=prob.get_valeur() - texte="" - for v in valeur : - texte+=v[0].nom+";"+str(v[1]).replace('.',',')+"\n" - - try : - fn=open(fichier,'wb') - fn.write(texte) - fn.close() - except Exception, why: - QMessageBox.critical(editor, ("Save file failed"), - ('unable to save ')+str(fn) + str(why)) - - -def importFromCsv(listeparam) : - texte="" - editor= listeparam[0] - item = listeparam[1] - node = listeparam[2] - fn=None - try : - from PyQt4.QtGui import QFileDialog - fichier = QFileDialog.getOpenFileName() - if fichier == None : return - fn=open(fichier) - except : - try : - from PyQt5.QtWidgets import QFileDialog - fichier = QFileDialog.getOpenFileName() - if fichier[0] == None : return - fn=open(fichier[0]) - except: - pass - #fn=open('Classeur1.csv') - if not fn : return - nouvelleVal=[] - prob=item.object.get_child('Probability') - monType=prob.definition.validators.typeDesTuples[0] - listeObjet=item.object.etape.parent.get_sd_avant_du_bon_type(item.object.etape,(monType,)) - for ligne in fn.readlines(): - try : - nom,valeur = ligne.split(';') - except : - texte += "not able to process: "+ ligne - continue - if nom not in listeObjet : - texte += nom + " : ignored (not known in Eficas) \n " - continue - try : - concept=item.jdc.get_concept(nom) - except : - texte += nom + ": ignored (not known in Eficas) \n " - continue - try : - valNum=valeur.replace (',','.') - valeur=eval (valNum, {}) - except : - texte += valeur + " : unable to eval \n " - continue - nouvelleVal.append((concept,valeur)) - # exec nom in self.jdc - - if nouvelleVal != [] : prob.set_valeur(nouvelleVal) - if texte != "" : - try : - from PyQt5.QtWidgets import QMessageBox - except : - from PyQt4.QtGui import QMessageBox - QMessageBox.information( None,'unable to append values',texte,) - - node.affichePanneau() - - print "et ici" - -# le dictionnaire des commandes a la structure suivante : -# la clef est la commande qui va proposer l action -# puis un tuple qui contient -# - la fonction a appeler -# - le label dans le menu du clic droit -# - un tuple contenant les parametres attendus par la fonction -# - appelable depuis Salome uniquement -) -# - appelable depuis un item valide uniquement -# - toolTip -dict_commandes={ - 'N_1_GENERATORS':( - (exportToCsv,"exportToCsv",('editor','item'),False,False,"export values to cvs File"), - (importFromCsv,"importFromCsv",('editor','item','self'),False,False,"import values from cvs File"), - ), - 'N_1_LINES':( - (exportToCsv,"exportToCsv",('editor','item'),False,False,"export values to cvs File"), - (importFromCsv,"importFromCsv",('editor','item','self'),False,False,"import values from cvs File"), - ) - } diff --git a/PSEN_Eficas/opsPSEN.py b/PSEN_Eficas/opsPSEN.py deleted file mode 100755 index 09c331f4..00000000 --- a/PSEN_Eficas/opsPSEN.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -#from ExtractGeneratorLoadLineandTransfoDico import ExtractGeneratorLoadLineandTransfoDico -from ExtractGeneratorLoadLineandTransfoDico import ExtractGeneratorLoadLineandTransfoDico2 - -def INCLUDE(self,PSSE_path,sav_file,**args): - """ - Fonction sd_prod pour la macro INCLUDE - """ - - if sav_file==None: return - reevalue=0 - listeADeTruire=[] - listeNouveau=[] - toClean=False - if hasattr(self,'fichier_ini'): - reevalue=1 - if self.fichier_ini == sav_file : return - self.fichier_ini=sav_file - if hasattr(self,'old_context_fichier_init' ): - toClean=True - for concept in self.old_context_fichier_init.values(): - #self.jdc.delete_concept(concept) - listeADeTruire.append(concept) - self.jdc_aux=None - self.contexte_fichier_init={} - #self.reevalue_sd_jdc() - self.jdc.reset_context() - - self.fichier_ini=sav_file - self.contexte_fichier_init = {} - self.fichier_unite = 999 - self.fichier_err = None - self.fichier_text="" - - unite = 999 - - #try : - if 1: - MachineDico,LoadDico,LineDico,TransfoDico, MotorDico = ExtractGeneratorLoadLineandTransfoDico2(sav_file,PSSE_path) - else : - #except : - if self.jdc.appli is not None: - self.jdc.appli.affiche_alerte("Error", 'An error happened in ExtractGeneratorandLoadList execution ') - self.g_context = {} - self.etapes = [] - self.jdc_aux = None - self.fichier_err = str(exc) - self.contexte_fichier_init = {} - - - for nom in MachineDico.keys(): - self.fichier_text += "%s=MONGENER(ID='%s',);\n" % (nom, 'a') - listeNouveau.append(nom) - - for nom in LoadDico.keys(): - self.fichier_text += "%s=MACHARGE(ID='%s',);\n" % (nom, 'a') - listeNouveau.append(nom) - - for nom in LineDico.keys(): - self.fichier_text += "%s=MALIGNE(ID='%s',);\n" % (nom,'a') - listeNouveau.append(nom) - - for nom in TransfoDico.keys(): - self.fichier_text += "%s=MONTRANSFO(ID='%s',);\n" % (nom,'a') - listeNouveau.append(nom) - - for nom in MotorDico.keys(): - self.fichier_text += "%s=MONMOTEUR(ID='%s',);\n" % (nom,'a') - listeNouveau.append(nom) - - import Extensions.jdc_include - self.JdC_aux = Extensions.jdc_include.JDC_CATA_INCLUDE(code='PSEN', execmodul=None) - self.make_contexte_include(None, self.fichier_text) - self.old_context_fichier_init = self.contexte_fichier_init - self.parent.record_unit(unite, self) - - self.jdc.MachineDico=MachineDico - self.jdc.LoadDico=LoadDico - self.jdc.LineDico=LineDico - self.jdc.TransfoDico=TransfoDico - self.jdc.MotorDico = MotorDico - - if toClean: - for concept in listeADeTruire : - if concept.nom not in listeNouveau: self.jdc.delete_concept(concept) - self.reevalue_sd_jdc() - -def INCLUDE_context(self,d): - """ - Fonction op_init pour macro INCLUDE - """ - for k,v in self.g_context.items(): - d[k]=v - diff --git a/PSEN_Eficas/prefs.py b/PSEN_Eficas/prefs.py deleted file mode 100755 index c19b171d..00000000 --- a/PSEN_Eficas/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="PSEN" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/PSEN_Eficas/prefs_PSEN.py b/PSEN_Eficas/prefs_PSEN.py deleted file mode 100755 index 4d2dcc26..00000000 --- a/PSEN_Eficas/prefs_PSEN.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='ang' #'fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni - - -# -catalogues=( - ('PSEN','default',os.path.join(repIni,'PSEN_Cata.py'),'PSEN','python'), -) diff --git a/PSEN_Eficas/properties.py b/PSEN_Eficas/properties.py deleted file mode 100755 index 1d328a46..00000000 --- a/PSEN_Eficas/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/PSEN_Eficas/qtEficas_PSEN.py b/PSEN_Eficas/qtEficas_PSEN.py deleted file mode 100755 index 94598c5f..00000000 --- a/PSEN_Eficas/qtEficas_PSEN.py +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -#sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -import prefs -name='prefs_'+prefs.code -__import__(name) - - -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/ProcessOutputs_Eficas/EssaiMulti.py b/ProcessOutputs_Eficas/EssaiMulti.py deleted file mode 100755 index 87f9905b..00000000 --- a/ProcessOutputs_Eficas/EssaiMulti.py +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -import os -import sys -from multiprocessing import Process -from multiprocessing import Lock -from multiprocessing import Pool - -def worker(num): - """thread worker function""" - print 'Worker:', num - return - -def test1(): - for i in range(5): - p = Process(target=worker, args=(i,)) - p.start() - p.join() - -def info(title): - print(title) - print('parent process:', os.getppid()) - print('process id:', os.getpid()) - -def f(name): - info('function f') - print('hello', name) - -def test2(): - info('test2') - p = Process(target=f, args=('pascale',)) - p.start() - p.join() - -def f(l, i): - l.acquire() - try: - print('hello world', i) - finally: - l.release() - - -def test3(lock): - for num in range(10): - Process(target=f, args=(lock, num)).start() - - # sorties evt desordonnees - for i in range(50): - p = Process(target=worker, args=(i,)).start() - -def g(x): - return x*x - - -def test4(): - import traceback - traceback.print_stack() - num_cores = 4 - FolderPath='tmp' - - monPool=Pool(maxtasksperchild=1) #create a multiprocessing.Pool object - for l in range(num_cores): - print(" lct on core "+str(l) ) - p= monPool.apply_async(g,(l,)) - - res = monPool.apply_async(g, (20,)) # runs in *only* one process - print res.get(timeout=1) # prints "400" - - # evaluate "os.getpid()" asynchronously - res = monPool.apply_async(os.getpid, ()) # runs in *only* one process - print res.get(timeout=1) # prints the PID of that process - - # launching multiple evaluations asynchronously *may* use more processes - multiple_results = [monPool.apply_async(os.getpid, ()) for i in range(4)] - print [res.get(timeout=1) for res in multiple_results] - - - -if __name__ == '__main__': - #test1() - - #test2() - - #lock = Lock() - #test3(lock) - print ('je suis dans main du run') - test4() - diff --git a/ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDico.py b/ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDico.py deleted file mode 100644 index d9188102..00000000 --- a/ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDico.py +++ /dev/null @@ -1,620 +0,0 @@ -import os -import sys -import numpy as np -import copy - -#import Storage - - -def getNominalkV(NetworkFile): - print "begin getNominalkV for ", NetworkFile - - print "version en dur" - BusList=(1,2,3,4,6) - LinesList=(7,8,9,10) - TransfosList=('Transfos_A', 'Transfos_B', 'Transfos_C', 'Transfos_D') - return BusList, LinesList, TransfosList - - import psspy - import redirect - - psspy.psseinit(80000) - redirect.psse2py() - psspy.progress_output(6) - - psspy.case(NetworkFile) - print "before buses" - # Buses - - sid = -1 - flag = 2 - ierr, ret = psspy.abusreal(sid, flag, ['BASE']) - Storage.BusBase = ret[0] - - ierr, carray = psspy.abuschar(sid, flag, ['NAME']) - Storage.BusBaseList = {} - for i in range(len(carray[0])): - Storage.BusBaseList[carray[0][i]] = ret[0][i] - - BusList = [] - for item in Storage.BusBase: - if item not in BusList: - BusList.append(item) - BusList = sorted(BusList) - - print "after buses" - - # Lines - - owner = 1 - ties = 1 - flag = 2 - entry = 1 - string = ['FROMNAME', 'TONAME'] - ierr, carray = psspy.abrnchar(sid, owner, ties, flag, entry, string) - - for i in range(len(carray[0])): - nom = Storage.BusBaseList[carray[0][i]] - name = carray[0][i] + '-' + carray[1][i] - Storage.LinesBaseList[name] = nom - Storage.LinesBase.append(nom) - - LinesList = [] - for item in Storage.LinesBase: - if item not in LinesList: - LinesList.append(item) - LinesList = sorted(LinesList) - - print "after lines" - - # Transfos - - owner = 1 - ties = 1 - flag = 6 - entry = 1 - string = ['FROMNAME', 'TONAME'] - ierr, carray = psspy.abrnchar(sid, owner, ties, flag, entry, string) - - for i in range(len(carray[0])): - nom1 = Storage.BusBaseList[carray[0][i]] - nom2 = Storage.BusBaseList[carray[1][i]] - name = carray[0][i] + '-' + carray[1][i] - Storage.TransfoBaseList[name] = [nom1, nom2] - Storage.TransfoBase.append([nom1, nom2]) - - TransfosList = [] - for item in Storage.TransfoBase: - string = str(item[0]) + ' - ' + str(item[1]) - if string not in TransfosList: - TransfosList.append(string) - TransfosList = sorted(TransfosList) - - print "after transfos" - - # Generators - - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - string = ['NUMBER'] - ierr,iarray = psspy.amachint(sid,flag,string) - - string = ['NAME','ID'] - ierr,carray = psspy.amachchar(sid,flag,string) - - for i in range(len(iarray[0])): - idname = "GR" + carray[1][i] - machinename = carray[0][i].strip()+ "__" + idname - machinename = machinename.replace(" ","_") - machinename = machinename.replace("-","_") - machinename = machinename.replace(".","_") - machinename = machinename.replace("&","and") - try: - int(machinename[0]) - machinename = "_" + machinename - except: - pass - Storage.GenBaseList[machinename] = iarray[0][i] - - return BusList, LinesList, TransfosList - -#PN --> inutiles -#def getBusNominalkV(NetworkFile): -# import psspy -# import redirect -# -# psspy.psseinit(80000) -# redirect.psse2py() -# psspy.progress_output(6) -# -# psspy.case(NetworkFile) -# -# sid = -1 -# flag = 2 -# ierr, ret = psspy.abusreal(sid, flag, ['BASE']) -# Storage.BusBase = ret[0] -# -# ierr, carray = psspy.abuschar(sid, flag, ['NAME']) -# buses = {} -# for i in range(len(carray[0])): -# buses[carray[0][i]] = ret[0][i] -# Storage.BusNames = buses -# ret = [] -# for item in Storage.BusBase: -# if item not in ret: -# ret.append(item) -# return sorted(ret) - -#def updateConts(): -# Storage.ContFullList = [] -# tmp = Storage.BusBaseList.keys() -# tmp.sort() -# for key in tmp: -# Storage.ContFullList.append(key) -# tmp = Storage.GenBaseList.keys() -# tmp.sort() -# for key in tmp: -# Storage.ContFullList.append(key) -# tmp = Storage.LinesBaseList.keys() -# tmp.sort() -# for key in tmp: -# Storage.ContFullList.append(key) -# tmp = Storage.TransfoBaseList.keys() -# tmp.sort() -# for key in tmp: -# Storage.ContFullList.append(key) -# print Storage.ContFullList -# return Storage.ContFullList -# -#def newContingency(MatList): -# Storage.CustomContingencies.append(MatList) -# -#def checkIfBorder(graph, key, depth, tmplist): -# if key in tmplist: -# return True -# if depth == 0: -# return False -# NonBorders = 0 -# for item in graph[key]: -# if not checkIfBorder(graph, item, depth - 1, tmplist): -# NonBorders += 1 -# if NonBorders < 2: # A generator is considered as isolated if it has less than two non-borders neighbours -# if key not in tmplist: -# tmplist.append(key) -# return True -# return False -# -#def getTrueLines(NetworkFile): -# import psspy -# import redirect -# -# psspy.psseinit(80000) -# redirect.psse2py() -# psspy.progress_output(6) -# -# psspy.case(NetworkFile) -# -# sid = -1 -# owner = 1 -# ties = 1 -# flag = 4 # 6 for two-winding transfos -# entry = 1 #each branch once, not both directions -# string = ['FROMNAME', 'TONAME', 'ID'] -# ierr, iarray = psspy.abrnchar(sid, owner, ties, flag, entry, string) -# string = ['FROMNUMBER', 'TONUMBER'] -# ierr, carray = psspy.abrnint(sid, owner, ties, flag, entry, string) -# -# lst = [] -# tmplist = [] -# try: -# for i in range(len(carray[0])): -# if carray[0][i] not in lst and carray[0][i] not in tmplist: -# tmplist.append(carray[0][i]) -# elif carray[0][i] not in lst and carray[0][i] in tmplist: -# tmplist.remove(carray[0][i]) -# lst.append(carray[0][i]) -# if carray[1][i] not in lst and carray[1][i] not in tmplist: -# tmplist.append(carray[1][i]) -# elif carray[1][i] not in lst and carray[1][i] in tmplist: -# tmplist.remove(carray[1][i]) -# lst.append(carray[1][i]) -# except: -# pass -# -# # Create the graph -# graph = {} -# for i in range(len(carray[0])): -# try: -# if graph[carray[0][i]]: -# pass -# except: -# graph[carray[0][i]] = [] -# if carray[1][i] not in graph[carray[0][i]]: -# graph[carray[0][i]].append(carray[1][i]) -# try: -# if graph[carray[1][i]]: -# pass -# except: -# graph[carray[1][i]] = [] -# if carray[0][i] not in graph[carray[1][i]]: -# graph[carray[1][i]].append(carray[0][i]) -# -# # Search it twice, to ensure everything is mapped -# for key in sorted(graph.keys()): -# checkIfBorder(graph, key, Storage.RecursiveDepth, tmplist) -# for key in reversed(sorted(graph.keys())): -# checkIfBorder(graph, key, Storage.RecursiveDepth, tmplist) -# -# Storage.IsolatedGenList = [] -# # Unfold it -# for i in range(len(carray[0])): -# if carray[0][i] in tmplist: -# if iarray[0][i] not in Storage.IsolatedGenList: -# Storage.IsolatedGenList.append(iarray[0][i]) -# if carray[1][i] in tmplist: -# if iarray[1][i] not in Storage.IsolatedGenList: -# Storage.IsolatedGenList.append(iarray[1][i]) -# -# lines = [] -# outLines = [] -# for i in range(len(iarray[0])): -# name = iarray[0][i] + '-' + iarray[1][i] -# if '@' in iarray[2][i] or '*' in iarray[2][i]: -# outLines.append(name) -# elif iarray[0][i] not in Storage.IsolatedGenList and iarray[1][i] not in Storage.IsolatedGenList: -# lines.append(name) -# else: -# outLines.append(name) -# Storage.TrueLines = lines -# return lines -# -#NoBreakersandSwitches = True -# -#def ExtractGeneratorLoadLineandTransfoDico(NetworkFile,PSSE_PATH): -# import os -# import sys -# import numpy as np -# -# print NetworkFile -# print PSSE_PATH -# sys.path.append(PSSE_PATH) -# os.environ['PATH'] += ';' + PSSE_PATH + ';' -# -# import psspy -# import redirect -# -# ###initialization PSSE -# psspy.psseinit(10000) -# _i=psspy.getdefaultint() -# _f=psspy.getdefaultreal() -# _s=psspy.getdefaultchar() -# redirect.psse2py() -# -# # Silent execution of PSSe -# islct=6 # 6=no output; 1=standard -# psspy.progress_output(islct) -# -# #open Network File -# psspy.case(NetworkFile) -# -# # Extract Buses -# sid = -1 # all buses -# flag = 2 -# string = ['NUMBER'] -# ierr, iarray = psspy.abusint(sid, flag, string) -# -# string = ['NAME', 'EXNAME'] -# ierr, carray = psspy.abuschar(sid, flag, string) -# -# string = ['BASE'] -# ierr, ret = psspy.abusreal(sid, flag, string) -# -# BusDico = {} -# BusNominal = {} -# for i in range(len(iarray[0])): -# BusNum = iarray[0][i] -# BusDico[str(BusNum)] = carray[0][i].strip() -# BusNominal[BusDico[str(BusNum)]] = ret[0][i] -# -# #Extract Loads -# sid = -1 #all buses -# flag = 1 #all in service loads/generators (4 all loads/generators) -# -# -# string = ['NUMBER'] -# ierr,iarray = psspy.aloadint(sid,flag,string) -# -# string = ['NAME','ID','EXNAME'] -# ierr,carray = psspy.aloadchar(sid,flag,string) -# -# string = ['mvaact'] -# ierr, xdata = psspy.aloadcplx(sid, flag, string) -# -# LoadDico = {} # [Bus name, load ID, extended bus name, bus number] -# for i in range(len(iarray[0])): -# idname = "Lo" + carray[1][i].strip() -## try: #id is an integer -## idname = "Lo" + str(int(carray[1][i])) -## except: #id is not an integer -## idname = "Lo" + carray[1][i] -# loadname = carray[0][i].strip()+ "__" + idname -# loadname = loadname.replace(" ","_") -# loadname = loadname.replace("-","_") -# loadname = loadname.replace(".","_") -# loadname = loadname.replace("&","and") -# try: -# int(loadname[0]) -# loadname="_" + loadname -# except: -# pass -# LoadDico[loadname]= {} -# LoadDico[loadname]['NAME'] = carray[0][i].strip() -# LoadDico[loadname]['ID'] = carray[1][i] -# LoadDico[loadname]['EXNAME'] =carray[2][i] -# LoadDico[loadname]['NUMBER']=iarray[0][i] -# LoadDico[loadname]['P']=np.real(xdata)[0][i] -# LoadDico[loadname]['Q']=np.imag(xdata)[0][i] -# -# #Extract Generators -# sid = -1 #all buses -# flag = 1 #all in service loads/generators (4 all loads/generators) -# -# string = ['NUMBER'] -# ierr,iarray = psspy.amachint(sid,flag,string) -# -# string = ['NAME','ID','EXNAME'] -# ierr,carray = psspy.amachchar(sid,flag,string) -# -# rstrings = ['pgen','qgen','mbase','pmax','qmax','pmin','qmin'] -# ierr, rarray = psspy.amachreal(sid, flag, rstrings) -# -# MachineDico = {} # [Bus name, machine ID, extended bus name, bus number] -# for i in range(len(iarray[0])): -# idname = "Gr" + carray[1][i].strip() -### try: -### idname = "Gr" + str(int(carray[1][i])) -### except: -### idname = "Gr" + carray[1][i] -# machinename = carray[0][i].strip()+ "__" + idname -# machinename = machinename.replace(" ","_") -# machinename = machinename.replace("-","_") -# machinename = machinename.replace(".","_") -# machinename = machinename.replace("&","and") -# try: -# int(machinename[0]) -# machinename="_" + machinename -# except: -# pass -# MachineDico[machinename]={} -# MachineDico[machinename]['NAME'] = carray[0][i].strip() -# MachineDico[machinename]['ID'] = carray[1][i] -# MachineDico[machinename]['EXNAME'] =carray[2][i] -# MachineDico[machinename]['NUMBER']=iarray[0][i] -# MachineDico[machinename]['P']=rarray[0][i] -# MachineDico[machinename]['Q']=rarray[1][i] -# MachineDico[machinename]['PMAX']=rarray[3][i] -# MachineDico[machinename]['QMAX']=rarray[4][i] -# MachineDico[machinename]['PMIN']=rarray[5][i] -# MachineDico[machinename]['QMIN']=rarray[6][i] -# -# #Extract Motors -# sid = -1 #all buses -# flag = 1 #all in service loads/generators (4 all loads/generators) -# -# string = ['NUMBER','PSETCODE','BASECODE'] -# ierr,iarray = psspy.aindmacint(sid,flag,string) -# -# string = ['NAME','ID','EXNAME'] -# ierr,carray = psspy.aindmacchar(sid,flag,string) -# -# rstrings = ['psetpoint','mbase','p','q'] -# ierr, rarray = psspy.aindmacreal(sid, flag, rstrings) -# -# -# MotorDico = {} # [Bus name, machine ID, extended bus name, bus number] -# for i in range(len(iarray[0])): -# idname = "Mo" + carray[1][i].strip() -### try: -### idname = "Gr" + str(int(carray[1][i])) -### except: -### idname = "Gr" + carray[1][i] -# motorname = carray[0][i].strip()+ "__" + idname -# motorname = motorname.replace(" ","_") -# motorname = motorname.replace("-","_") -# motorname = motorname.replace(".","_") -# motorname = motorname.replace("&","and") -# try: -# int(motorname[0]) -# motorname="_" + motorname -# except: -# pass -# MotorDico[motorname]={} -# MotorDico[motorname]['NAME'] = carray[0][i].strip() -# MotorDico[motorname]['ID'] = carray[1][i] -# MotorDico[motorname]['EXNAME'] =carray[2][i] -# MotorDico[motorname]['NUMBER']=iarray[0][i] -# MotorDico[motorname]['PSETCODE']=iarray[1][i] -# MotorDico[motorname]['BASECODE']=iarray[2][i] -# MotorDico[motorname]['PSETPOINT']=rarray[0][i] -# MotorDico[motorname]['MBASE']=rarray[1][i] -# MotorDico[motorname]['P']=rarray[2][i] -# MotorDico[motorname]['Q']=rarray[3][i] -# -# -# #Extract Lignes -# sid = -1 -# owner = 1 -# ties = 1 -# flag = 2 #6 for two-winding transfos -# entry = 1 #each branch once, not both directions -# string = ['FROMNUMBER','TONUMBER'] -# ierr,iarray = psspy.abrnint(sid,owner,ties,flag,entry,string) -# string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] -# ierr,carray = psspy.abrnchar(sid,owner,ties,flag,entry,string) -# -# LineDico = {} #[linename, Bus name 1, Bus name 2, ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] -# for i in range(len(iarray[0])): -# idname = carray[4][i].strip() -# #idname = carray[4][i] -# if '@' in idname: -# idname = idname.replace('@','Br') -# elif '*' in idname: -# idname = idname.replace('*','Sw') -# else: -# try: -# idname = 'Li' + str(int(idname)) -# except: -# idname = 'Li' + idname -# linename =carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname -# linename = linename.replace(" ","_") -# linename = linename.replace("-","_") -# linename = linename.replace(".","_") -# linename = linename.replace("&","and") -# try: -# int(linename[0]) -# linename="_" + linename -# except: -# pass -# if NoBreakersandSwitches: -# if 'Br' not in idname and 'Sw' not in idname: -# LineDico[linename]={} -# LineDico[linename]['FROMNAME']=carray[0][i].strip() -# LineDico[linename]['TONAME']=carray[1][i].strip() -# LineDico[linename]['ID']=carray[4][i] -# LineDico[linename]['FROMEXNAME']=carray[2][i] -# LineDico[linename]['TOEXNAME']=carray[3][i] -# LineDico[linename]['FROMNUMBER']=iarray[0][i] -# LineDico[linename]['TONUMBER']=iarray[1][i] -# -# #Extract Branches -# sid = -1 -# owner = 1 -# ties = 1 -# flag = 4 # lines & transfos -# entry = 1 #each branch once, not both directions -# string = ['FROMNUMBER','TONUMBER'] -# ierr, iarray = psspy.abrnint(sid, owner, ties, flag, entry, string) -# string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] -# ierr, carray = psspy.abrnchar(sid, owner, ties, flag, entry, string) -# -# BranchesDico = {} #[linename, Bus name 1, Bus name 2, ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] -# for i in range(len(iarray[0])): -# idname = carray[4][i] -# if '@' in idname: -# idname = idname.replace('@','Br') -# elif '*' in idname: -# idname = idname.replace('*','Sw') -# else: -# idname = 'LI' + idname -# linename = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname -# linename = linename.replace(" ","_") -# linename = linename.replace("-","_") -# linename = linename.replace(".","_") -# linename = linename.replace("&","and") -# try: -# int(linename[0]) -# linename = "_" + linename -# except: -# pass -# if linename[-1] == '_': -# linename = linename[:-1] -# BranchesDico[linename] = {} -# BranchesDico[linename]['FROMNAME'] = carray[0][i].strip() -# BranchesDico[linename]['TONAME'] = carray[1][i].strip() -# BranchesDico[linename]['ID'] = carray[4][i] -# BranchesDico[linename]['FROMEXNAME'] = carray[2][i] -# BranchesDico[linename]['TOEXNAME'] = carray[3][i] -# BranchesDico[linename]['FROMNUMBER'] = iarray[0][i] -# BranchesDico[linename]['TONUMBER'] = iarray[1][i] -# -# -# #Extract Transfos -# sid = -1 -# owner = 1 -# ties = 1 -# flag = 6 #two-winding transfos -# entry = 1 #each branch once, not both directions -# string = ['FROMNUMBER','TONUMBER'] -# ierr,iarray = psspy.abrnint(sid,owner,ties,flag,entry,string) -# string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] -# ierr,carray = psspy.abrnchar(sid,owner,ties,flag,entry,string) -# -# TfoDico = {} #[linename, Bus name 1, Bus name 2, machine ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] -# for i in range(len(iarray[0])): -# idname = 'Tr' + carray[4][i].strip() -### try: -### idname = 'Tr' + str(int(carray[4][i])) -### except: -### idname = 'Tr' + carray[4][i] -# tfoname = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname -# tfoname = tfoname.replace(" ","_") -# tfoname = tfoname.replace("-","_") -# tfoname = tfoname.replace(".","_") -# tfoname = tfoname.replace("&","and") -# try: -# int(tfoname[0]) -# tfoname="_" + tfoname -# except: -# pass -# TfoDico[tfoname]={} -# TfoDico[tfoname]['FROMNAME']=carray[0][i].strip() -# TfoDico[tfoname]['TONAME']=carray[1][i].strip() -# TfoDico[tfoname]['ID']=carray[4][i] -# TfoDico[tfoname]['FROMEXNAME']=carray[2][i] -# TfoDico[tfoname]['TOEXNAME']=carray[3][i] -# TfoDico[tfoname]['FROMNUMBER']=iarray[0][i] -# TfoDico[tfoname]['TONUMBER']=iarray[1][i] -# TfoDico[tfoname]['#WIND']=2 -# print "Read Transfos" -# -# #Extract 3 winding Transfos -# sid = -1 #assume a subsystem containing all buses in working case -# owner_3flow = 1 #1 = use bus ownership 2 = use tfo ownership -# ties_3flow = 3 #ignored bc sid is negative. 3 = interior subsystem and subsystem tie 3 winding transformers -# flag=3 #all 3 winding transfo windings -# string = ['wind1number','wind2number','wind3number'] -# ierr,iarray = psspy.awndint(sid,owner,ties,flag,entry,string) -# string = ['wind1name','wind2name','wind3name','wind1exname','wind2exname','wind3exname','id'] -# ierr,carray = psspy.awndchar(sid,owner,ties,flag,entry,string) -# -# #[Bus name 1, Bus name 2, Bus name 3, machine ID, extended bus name 1, extended bus name 2, extended bus name 3, bus number 1, bus number 2, bus number 3] -# for i in range(len(iarray[0])): -# idname = 'Tr' + carray[6][i].strip() -### try: -### idname = 'Tr' + str(int(carray[4][i])) -### except: -### idname = 'Tr' + carray[4][i] -# tfoname = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + carray[2][i].strip() + "__" + idname -# tfoname = tfoname.replace(" ","_") -# tfoname = tfoname.replace("-","_") -# tfoname = tfoname.replace(".","_") -# tfoname = tfoname.replace("&","and") -# try: -# int(tfoname[0]) -# tfoname="_" + tfoname -# except: -# pass -# TfoDico[tfoname]={} -# TfoDico[tfoname]['FROMNAME']=carray[0][i].strip() -# TfoDico[tfoname]['TONAME']=carray[1][i].strip() -# TfoDico[tfoname]['3NAME']=carray[2][i].strip() -# TfoDico[tfoname]['ID']=carray[6][i] -# TfoDico[tfoname]['FROMEXNAME']=carray[3][i] -# TfoDico[tfoname]['TOEXNAME']=carray[4][i] -# TfoDico[tfoname]['3EXNAME']=carray[5][i] -# TfoDico[tfoname]['FROMNUMBER']=iarray[0][i] -# TfoDico[tfoname]['TONUMBER']=iarray[1][i] -# TfoDico[tfoname]['3NUMBER']=iarray[2][i] -# TfoDico[tfoname]['#WIND']=3 -# print "Read 3-Winding Transfos" -# -# return MachineDico, LoadDico, LineDico, TfoDico, MotorDico, BusDico, BranchesDico, BusNominal -# -# -##NetworkFile = r'\\Atlas.edf.fr\co\dpit-cist-siege\Der.012\Dpt-Etudes-Reseaux.001\Outils DER - Divers (excel, codes python, etc.)\PSEN_V15\Example\Results\N_20160705_17h36m34\package0_N_20160705_17h36m34\BaseCase.sav' -##PSSE_PATH=r"C:\Program Files (x86)\PTI\PSSE33\PSSBIN" -##sys.path.append(PSSE_PATH) -##os.environ['PATH'] += ';' + PSSE_PATH + ';' -##getNominalkV(NetworkFile) -##updateConts() diff --git a/ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDicoProcess.py b/ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDicoProcess.py deleted file mode 100644 index 653e23f8..00000000 --- a/ProcessOutputs_Eficas/ExtractGeneratorLoadLineandTransfoDicoProcess.py +++ /dev/null @@ -1,631 +0,0 @@ -import os -import sys -import numpy as np -import copy - -path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','TreatOutputs')) -sys.path.append(path1) -import Options - - -def getNominalkV(NetworkFile): - - print "version en dur" - - BusList=[11.0, 30.0, 90.0] - LinesList=[30.0, 90.0] - TransfosList=['11.0 - 30.0', '11.0 - 90.0', '30.0 - 90.0', '90.0 - 30.0'] - return BusList, LinesList, TransfosList - - - - - - import psspy - import redirect - - psspy.psseinit(80000) - redirect.psse2py() - psspy.progress_output(6) - - psspy.case(NetworkFile) - # Buses - - sid = -1 - flag = 2 - ierr, ret = psspy.abusreal(sid, flag, ['BASE']) - Options.BusBase = ret[0] - - ierr, carray = psspy.abuschar(sid, flag, ['NAME']) - Options.BusBaseList = {} - for i in range(len(carray[0])): - Options.BusBaseList[carray[0][i]] = ret[0][i] - - BusList = [] - for item in Options.BusBase: - if item not in BusList: - BusList.append(item) - BusList = sorted(BusList) - - # Lines - - owner = 1 - ties = 1 - flag = 2 - entry = 1 - string = ['FROMNAME', 'TONAME'] - ierr, carray = psspy.abrnchar(sid, owner, ties, flag, entry, string) - - for i in range(len(carray[0])): - nom = Options.BusBaseList[carray[0][i]] - name = carray[0][i] + '-' + carray[1][i] - Options.LinesBaseList[name] = nom - Options.LinesBase.append(nom) - - LinesList = [] - for item in Options.LinesBase: - if item not in LinesList: - LinesList.append(item) - LinesList = sorted(LinesList) - - # Transfos - - owner = 1 - ties = 1 - flag = 6 - entry = 1 - string = ['FROMNAME', 'TONAME'] - ierr, carray = psspy.abrnchar(sid, owner, ties, flag, entry, string) - - for i in range(len(carray[0])): - nom1 = Options.BusBaseList[carray[0][i]] - nom2 = Options.BusBaseList[carray[1][i]] - name = carray[0][i] + '-' + carray[1][i] - Options.TransfoBaseList[name] = [nom1, nom2] - Options.TransfoBase.append([nom1, nom2]) - - TransfosList = [] - for item in Options.TransfoBase: - string = str(item[0]) + ' - ' + str(item[1]) - if string not in TransfosList: - TransfosList.append(string) - TransfosList = sorted(TransfosList) - - # Generators - - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - string = ['NUMBER'] - ierr,iarray = psspy.amachint(sid,flag,string) - - string = ['NAME','ID'] - ierr,carray = psspy.amachchar(sid,flag,string) - - for i in range(len(iarray[0])): - idname = "GR" + carray[1][i] - machinename = carray[0][i].strip()+ "__" + idname - machinename = machinename.replace(" ","_") - machinename = machinename.replace("-","_") - machinename = machinename.replace(".","_") - machinename = machinename.replace("&","and") - try: - int(machinename[0]) - machinename = "_" + machinename - except: - pass - Options.GenBaseList[machinename] = iarray[0][i] - - return BusList, LinesList, TransfosList - -def getBusNominalkV(NetworkFile): - import psspy - import redirect - - psspy.psseinit(80000) - redirect.psse2py() - psspy.progress_output(6) - - psspy.case(NetworkFile) - - sid = -1 - flag = 2 - ierr, ret = psspy.abusreal(sid, flag, ['BASE']) - Options.BusBase = ret[0] - - ierr, carray = psspy.abuschar(sid, flag, ['NAME']) - buses = {} - for i in range(len(carray[0])): - buses[carray[0][i]] = ret[0][i] - Options.BusNames = buses - ret = [] - for item in Options.BusBase: - if item not in ret: - ret.append(item) - return sorted(ret) - -def updateConts(): - Options.ContFullList = [] - tmp = Options.BusBaseList - tmp.sort() - for key in tmp: - Options.ContFullList.append(key) - tmp = Options.GenBaseList - tmp.sort() - for key in tmp: - Options.ContFullList.append(key) - tmp = Options.LinesBaseList - tmp.sort() - for key in tmp: - Options.ContFullList.append(key) - tmp = Options.TransfoBaseList - tmp.sort() - for key in tmp: - Options.ContFullList.append(key) - print Options.ContFullList - return Options.ContFullList - -def newContingency(MatList): - Options.CustomContingencies.append(MatList) - -def checkIfBorder(graph, key, depth, tmplist): - #print "in checkifBorder" - #print "depth ",depth - #print graph - if key in tmplist: - return True - if depth == 0: - return False - NonBorders = 0 - for item in graph[key]: - if not checkIfBorder(graph, item, depth - 1, tmplist): - NonBorders += 1 - if NonBorders < 2: # A generator is considered as isolated if it has less than two non-borders neighbours - if key not in tmplist: - tmplist.append(key) - return True - return False - -def getTrueLines(NetworkFile): - import psspy - import redirect - - psspy.psseinit(80000) - redirect.psse2py() - psspy.progress_output(6) - - psspy.case(NetworkFile) - - sid = -1 - owner = 1 - ties = 1 - flag = 4 # 6 for two-winding transfos - entry = 1 #each branch once, not both directions - string = ['FROMNAME', 'TONAME', 'ID'] - ierr, iarray = psspy.abrnchar(sid, owner, ties, flag, entry, string) - string = ['FROMNUMBER', 'TONUMBER'] - ierr, carray = psspy.abrnint(sid, owner, ties, flag, entry, string) - - lst = [] - tmplist = [] - try: - for i in range(len(carray[0])): - if carray[0][i] not in lst and carray[0][i] not in tmplist: - tmplist.append(carray[0][i]) - elif carray[0][i] not in lst and carray[0][i] in tmplist: - tmplist.remove(carray[0][i]) - lst.append(carray[0][i]) - if carray[1][i] not in lst and carray[1][i] not in tmplist: - tmplist.append(carray[1][i]) - elif carray[1][i] not in lst and carray[1][i] in tmplist: - tmplist.remove(carray[1][i]) - lst.append(carray[1][i]) - except: - pass - - # Create the graph - graph = {} - for i in range(len(carray[0])): - try: - if graph[carray[0][i]]: - pass - except: - graph[carray[0][i]] = [] - if carray[1][i] not in graph[carray[0][i]]: - graph[carray[0][i]].append(carray[1][i]) - try: - if graph[carray[1][i]]: - pass - except: - graph[carray[1][i]] = [] - if carray[0][i] not in graph[carray[1][i]]: - graph[carray[1][i]].append(carray[0][i]) - - - # Search it twice, to ensure everything is mapped - for key in sorted(graph): - #print key - checkIfBorder(graph, key, Options.RecursiveDepth, tmplist) - #print "out of Checkif 0" - #print "" - for key in reversed(sorted(graph)): - checkIfBorder(graph, key, Options.RecursiveDepth, tmplist) - - Options.IsolatedGenList = [] - # Unfold it - for i in range(len(carray[0])): - if carray[0][i] in tmplist: - if iarray[0][i] not in Options.IsolatedGenList: - Options.IsolatedGenList.append(iarray[0][i]) - if carray[1][i] in tmplist: - if iarray[1][i] not in Options.IsolatedGenList: - Options.IsolatedGenList.append(iarray[1][i]) - - lines = [] - outLines = [] - for i in range(len(iarray[0])): - name = iarray[0][i] + '-' + iarray[1][i] - if '@' in iarray[2][i] or '*' in iarray[2][i]: - outLines.append(name) - elif iarray[0][i] not in Options.IsolatedGenList and iarray[1][i] not in Options.IsolatedGenList: - lines.append(name) - else: - outLines.append(name) - Options.TrueLines = lines - - return lines - -NoBreakersandSwitches = True - -def ExtractGeneratorLoadLineandTransfoDico(NetworkFile,PSSE_PATH): - - print "version en dur" - MachineDico={'M1':'M1','M2':'M2','M3':'M3','M4':'M4','B6_BUS13__1':'AZ','CSPRING__1':'DD','GT12B__1':'ER','BSTMB__1':'JJ'} - LoadDico={'C1':'C1','C2':'C2','C3':'C3','C4':'C4'} - LineDico={'L1':'L1','L2':'L2','L3':'L3','L4':'L4'} - TfoDico={'T1':'T1','T2':'T2','T3':'T3','T4':'T4'} - MDico={'MZ1':'MZ1','MZ2':'MZ2','MZ3':'MZ3','MZ4':'MZ4'} - BranchesDico={'B11':'B1','B2':'B2','B3':'B3','B4':'B4'} - BusNomial={'Bus1':'Bus1','Bus2':'Bus2','Bus3':'Bus3','Bus4':'Bus4'} - - return MachineDico, LoadDico, LineDico, TfoDico, MotorDico, BusDico, BranchesDico, BusNominal - - - import os - import sys - import numpy as np - - sys.path.append(PSSE_PATH) - os.environ['PATH'] += ';' + PSSE_PATH + ';' - - import psspy - import redirect - - ###initialization PSSE - psspy.psseinit(10000) - _i=psspy.getdefaultint() - _f=psspy.getdefaultreal() - _s=psspy.getdefaultchar() - redirect.psse2py() - - # Silent execution of PSSe - islct=6 # 6=no output; 1=standard - psspy.progress_output(islct) - - #open Network File - psspy.case(NetworkFile) - - # Extract Buses - sid = -1 # all buses - flag = 2 - string = ['NUMBER'] - ierr, iarray = psspy.abusint(sid, flag, string) - - string = ['NAME', 'EXNAME'] - ierr, carray = psspy.abuschar(sid, flag, string) - - string = ['BASE'] - ierr, ret = psspy.abusreal(sid, flag, string) - - BusDico = {} - BusNominal = {} - for i in range(len(iarray[0])): - BusNum = iarray[0][i] - BusDico[str(BusNum)] = carray[0][i].strip() - BusNominal[BusDico[str(BusNum)]] = ret[0][i] - - #Extract Loads - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - - string = ['NUMBER'] - ierr,iarray = psspy.aloadint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.aloadchar(sid,flag,string) - - string = ['mvaact'] - ierr, xdata = psspy.aloadcplx(sid, flag, string) - - LoadDico = {} # [Bus name, load ID, extended bus name, bus number] - for i in range(len(iarray[0])): - idname = "Lo" + carray[1][i].strip() -# try: #id is an integer -# idname = "Lo" + str(int(carray[1][i])) -# except: #id is not an integer -# idname = "Lo" + carray[1][i] - loadname = carray[0][i].strip()+ "__" + idname - loadname = loadname.replace(" ","_") - loadname = loadname.replace("-","_") - loadname = loadname.replace(".","_") - loadname = loadname.replace("&","and") - try: - int(loadname[0]) - loadname="_" + loadname - except: - pass - LoadDico[loadname]= {} - LoadDico[loadname]['NAME'] = carray[0][i].strip() - LoadDico[loadname]['ID'] = carray[1][i] - LoadDico[loadname]['EXNAME'] =carray[2][i] - LoadDico[loadname]['NUMBER']=iarray[0][i] - LoadDico[loadname]['P']=np.real(xdata)[0][i] - LoadDico[loadname]['Q']=np.imag(xdata)[0][i] - - #Extract Generators - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - string = ['NUMBER'] - ierr,iarray = psspy.amachint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.amachchar(sid,flag,string) - - rstrings = ['pgen','qgen','mbase','pmax','qmax','pmin','qmin'] - ierr, rarray = psspy.amachreal(sid, flag, rstrings) - - MachineDico = {} # [Bus name, machine ID, extended bus name, bus number] - for i in range(len(iarray[0])): - idname = "Gr" + carray[1][i].strip() -## try: -## idname = "Gr" + str(int(carray[1][i])) -## except: -## idname = "Gr" + carray[1][i] - machinename = carray[0][i].strip()+ "__" + idname - machinename = machinename.replace(" ","_") - machinename = machinename.replace("-","_") - machinename = machinename.replace(".","_") - machinename = machinename.replace("&","and") - try: - int(machinename[0]) - machinename="_" + machinename - except: - pass - MachineDico[machinename]={} - MachineDico[machinename]['NAME'] = carray[0][i].strip() - MachineDico[machinename]['ID'] = carray[1][i] - MachineDico[machinename]['EXNAME'] =carray[2][i] - MachineDico[machinename]['NUMBER']=iarray[0][i] - MachineDico[machinename]['P']=rarray[0][i] - MachineDico[machinename]['Q']=rarray[1][i] - MachineDico[machinename]['PMAX']=rarray[3][i] - MachineDico[machinename]['QMAX']=rarray[4][i] - MachineDico[machinename]['PMIN']=rarray[5][i] - MachineDico[machinename]['QMIN']=rarray[6][i] - - #Extract Motors - sid = -1 #all buses - flag = 1 #all in service loads/generators (4 all loads/generators) - - string = ['NUMBER','PSETCODE','BASECODE'] - ierr,iarray = psspy.aindmacint(sid,flag,string) - - string = ['NAME','ID','EXNAME'] - ierr,carray = psspy.aindmacchar(sid,flag,string) - - rstrings = ['psetpoint','mbase','p','q'] - ierr, rarray = psspy.aindmacreal(sid, flag, rstrings) - - - MotorDico = {} # [Bus name, machine ID, extended bus name, bus number] - for i in range(len(iarray[0])): - idname = "Mo" + carray[1][i].strip() -## try: -## idname = "Gr" + str(int(carray[1][i])) -## except: -## idname = "Gr" + carray[1][i] - motorname = carray[0][i].strip()+ "__" + idname - motorname = motorname.replace(" ","_") - motorname = motorname.replace("-","_") - motorname = motorname.replace(".","_") - motorname = motorname.replace("&","and") - try: - int(motorname[0]) - motorname="_" + motorname - except: - pass - MotorDico[motorname]={} - MotorDico[motorname]['NAME'] = carray[0][i].strip() - MotorDico[motorname]['ID'] = carray[1][i] - MotorDico[motorname]['EXNAME'] =carray[2][i] - MotorDico[motorname]['NUMBER']=iarray[0][i] - MotorDico[motorname]['PSETCODE']=iarray[1][i] - MotorDico[motorname]['BASECODE']=iarray[2][i] - MotorDico[motorname]['PSETPOINT']=rarray[0][i] - MotorDico[motorname]['MBASE']=rarray[1][i] - MotorDico[motorname]['P']=rarray[2][i] - MotorDico[motorname]['Q']=rarray[3][i] - - - #Extract Lignes - sid = -1 - owner = 1 - ties = 1 - flag = 2 #6 for two-winding transfos - entry = 1 #each branch once, not both directions - string = ['FROMNUMBER','TONUMBER'] - ierr,iarray = psspy.abrnint(sid,owner,ties,flag,entry,string) - string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] - ierr,carray = psspy.abrnchar(sid,owner,ties,flag,entry,string) - - LineDico = {} #[linename, Bus name 1, Bus name 2, ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] - for i in range(len(iarray[0])): - idname = carray[4][i].strip() - #idname = carray[4][i] - if '@' in idname: - idname = idname.replace('@','Br') - elif '*' in idname: - idname = idname.replace('*','Sw') - else: - try: - idname = 'Li' + str(int(idname)) - except: - idname = 'Li' + idname - linename =carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname - linename = linename.replace(" ","_") - linename = linename.replace("-","_") - linename = linename.replace(".","_") - linename = linename.replace("&","and") - try: - int(linename[0]) - linename="_" + linename - except: - pass - if NoBreakersandSwitches: - if 'Br' not in idname and 'Sw' not in idname: - LineDico[linename]={} - LineDico[linename]['FROMNAME']=carray[0][i].strip() - LineDico[linename]['TONAME']=carray[1][i].strip() - LineDico[linename]['ID']=carray[4][i] - LineDico[linename]['FROMEXNAME']=carray[2][i] - LineDico[linename]['TOEXNAME']=carray[3][i] - LineDico[linename]['FROMNUMBER']=iarray[0][i] - LineDico[linename]['TONUMBER']=iarray[1][i] - - #Extract Branches - sid = -1 - owner = 1 - ties = 1 - flag = 4 # lines & transfos - entry = 1 #each branch once, not both directions - string = ['FROMNUMBER','TONUMBER'] - ierr, iarray = psspy.abrnint(sid, owner, ties, flag, entry, string) - string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] - ierr, carray = psspy.abrnchar(sid, owner, ties, flag, entry, string) - - BranchesDico = {} #[linename, Bus name 1, Bus name 2, ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] - for i in range(len(iarray[0])): - idname = carray[4][i] - if '@' in idname: - idname = idname.replace('@','Br') - elif '*' in idname: - idname = idname.replace('*','Sw') - else: - idname = 'LI' + idname - linename = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname - linename = linename.replace(" ","_") - linename = linename.replace("-","_") - linename = linename.replace(".","_") - linename = linename.replace("&","and") - try: - int(linename[0]) - linename = "_" + linename - except: - pass - if linename[-1] == '_': - linename = linename[:-1] - BranchesDico[linename] = {} - BranchesDico[linename]['FROMNAME'] = carray[0][i].strip() - BranchesDico[linename]['TONAME'] = carray[1][i].strip() - BranchesDico[linename]['ID'] = carray[4][i] - BranchesDico[linename]['FROMEXNAME'] = carray[2][i] - BranchesDico[linename]['TOEXNAME'] = carray[3][i] - BranchesDico[linename]['FROMNUMBER'] = iarray[0][i] - BranchesDico[linename]['TONUMBER'] = iarray[1][i] - - - #Extract Transfos - sid = -1 - owner = 1 - ties = 1 - flag = 6 #two-winding transfos - entry = 1 #each branch once, not both directions - string = ['FROMNUMBER','TONUMBER'] - ierr,iarray = psspy.abrnint(sid,owner,ties,flag,entry,string) - string = ['FROMNAME','TONAME','FROMEXNAME','TOEXNAME','ID'] - ierr,carray = psspy.abrnchar(sid,owner,ties,flag,entry,string) - - TfoDico = {} #[linename, Bus name 1, Bus name 2, machine ID, extended bus name 1, extended bus name 2, bus number 1, bus number 2] - for i in range(len(iarray[0])): - idname = 'Tr' + carray[4][i].strip() -## try: -## idname = 'Tr' + str(int(carray[4][i])) -## except: -## idname = 'Tr' + carray[4][i] - tfoname = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + idname - tfoname = tfoname.replace(" ","_") - tfoname = tfoname.replace("-","_") - tfoname = tfoname.replace(".","_") - tfoname = tfoname.replace("&","and") - try: - int(tfoname[0]) - tfoname="_" + tfoname - except: - pass - TfoDico[tfoname]={} - TfoDico[tfoname]['FROMNAME']=carray[0][i].strip() - TfoDico[tfoname]['TONAME']=carray[1][i].strip() - TfoDico[tfoname]['ID']=carray[4][i] - TfoDico[tfoname]['FROMEXNAME']=carray[2][i] - TfoDico[tfoname]['TOEXNAME']=carray[3][i] - TfoDico[tfoname]['FROMNUMBER']=iarray[0][i] - TfoDico[tfoname]['TONUMBER']=iarray[1][i] - TfoDico[tfoname]['#WIND']=2 - - #Extract 3 winding Transfos - sid = -1 #assume a subsystem containing all buses in working case - owner_3flow = 1 #1 = use bus ownership 2 = use tfo ownership - ties_3flow = 3 #ignored bc sid is negative. 3 = interior subsystem and subsystem tie 3 winding transformers - flag=3 #all 3 winding transfo windings - string = ['wind1number','wind2number','wind3number'] - ierr,iarray = psspy.awndint(sid,owner,ties,flag,entry,string) - string = ['wind1name','wind2name','wind3name','wind1exname','wind2exname','wind3exname','id'] - ierr,carray = psspy.awndchar(sid,owner,ties,flag,entry,string) - - #[Bus name 1, Bus name 2, Bus name 3, machine ID, extended bus name 1, extended bus name 2, extended bus name 3, bus number 1, bus number 2, bus number 3] - for i in range(len(iarray[0])): - idname = 'Tr' + carray[6][i].strip() -## try: -## idname = 'Tr' + str(int(carray[4][i])) -## except: -## idname = 'Tr' + carray[4][i] - tfoname = carray[0][i].strip() + "__" + carray[1][i].strip() + "__" + carray[2][i].strip() + "__" + idname - tfoname = tfoname.replace(" ","_") - tfoname = tfoname.replace("-","_") - tfoname = tfoname.replace(".","_") - tfoname = tfoname.replace("&","and") - try: - int(tfoname[0]) - tfoname="_" + tfoname - except: - pass - TfoDico[tfoname]={} - TfoDico[tfoname]['FROMNAME']=carray[0][i].strip() - TfoDico[tfoname]['TONAME']=carray[1][i].strip() - TfoDico[tfoname]['3NAME']=carray[2][i].strip() - TfoDico[tfoname]['ID']=carray[6][i] - TfoDico[tfoname]['FROMEXNAME']=carray[3][i] - TfoDico[tfoname]['TOEXNAME']=carray[4][i] - TfoDico[tfoname]['3EXNAME']=carray[5][i] - TfoDico[tfoname]['FROMNUMBER']=iarray[0][i] - TfoDico[tfoname]['TONUMBER']=iarray[1][i] - TfoDico[tfoname]['3NUMBER']=iarray[2][i] - TfoDico[tfoname]['#WIND']=3 - - #print MachineDico, LoadDico, LineDico, TfoDico, MotorDico, BusDico, BranchesDico, BusNominal - return MachineDico, LoadDico, LineDico, TfoDico, MotorDico, BusDico, BranchesDico, BusNominal - - - diff --git a/ProcessOutputs_Eficas/PSEN_Cata_N1.py b/ProcessOutputs_Eficas/PSEN_Cata_N1.py deleted file mode 100644 index 92d795f4..00000000 --- a/ProcessOutputs_Eficas/PSEN_Cata_N1.py +++ /dev/null @@ -1,280 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * -import opsPSEN_N1 -import pn -# -#class loi ( ASSD ) : pass -#class variable ( ASSD ) : pass -class sd_charge ( ASSD ) : pass -class sd_generateur ( ASSD ) : pass -class sd_ligne ( ASSD ) : pass -class sd_transfo ( ASSD ) : pass -class sd_moteur ( ASSD ) : pass -# - -# import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - import types - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -# class Matrice: -# def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): -# self.nbLigs=nbLigs -# self.nbCols=nbCols -# self.methodeCalculTaille=methodeCalculTaille -# self.formatSortie=formatSortie -# self.valSup=valSup -# self.valMin=valMin -# self.structure=structure -# -# def __convert__(self,valeur): -# # Attention ne verifie pas grand chose -# if type(valeur) != types.ListType : -# return None -# return valeur -# -# def info(self): -# return "Matrice %s x %s" % (self.nbLigs, self.nbCols) -# -# __repr__=info -# __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'PSEN', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CASE_SELECTION', 'CONTINGENCY_PROCESSING' ), - AU_MOINS_UN ( 'CONTINGENCY_SELECTION','N_PROCESSING_OPTIONS','CONTINGENCY_PROCESSING' ), - PRESENT_PRESENT ( 'CONTINGENCY_SELECTION','CONTINGENCY_OPTIONS' ), - PRESENT_PRESENT ( 'CONTINGENCY_PROCESSING','CONTINGENCY_OPTIONS' ), - AU_MOINS_UN ( 'SIMULATION' ), - # AU_PLUS_UN ( 'PSSE_PARAMETERS' ), - AU_PLUS_UN ( 'CASE_SELECTION' ), - AU_PLUS_UN ( 'CONTINGENCY_OPTIONS' ), - AU_PLUS_UN ( 'CONTINGENCY_SELECTION' ), - AU_PLUS_UN ( 'CONTINGENCY_PROCESSING' ), - AU_PLUS_UN ( 'N_PROCESSING_OPTIONS' ), - # AU_PLUS_UN ( 'N_1_LINES' ), - # AU_PLUS_UN ( 'N_1_LOADS' ), - # AU_PLUS_UN ( 'N_1_TRANSFORMERS' ), - - ), - ) # Fin JDC_CATA - -MODIFICATION_CATALOGUE = MACRO ( nom = "MODIFICATION_CATALOGUE", - sd_prod = pn.modification_catalogue, - op_init= pn.modification_catalogue2, - op=None, - UIinfo={"groupes":("CACHE")}, - Fonction=SIMP(statut='o', typ='TXM', into=['ajoutDefinitionMC']), - Etape=SIMP(statut='o', typ='TXM',), - Genea=SIMP(statut='o', typ='TXM', min=0, max='**'), - NomSIMP=SIMP(statut='o', typ='TXM',), - TypeSIMP=SIMP(statut='o', typ='TXM',), - PhraseArguments=SIMP(statut='o', typ='TXM',),) - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- -## TODO : RUN -CASE_SELECTION = MACRO ( nom = "CASE_SELECTION", - sd_prod = opsPSEN_N1.INCLUDE, - op_init = opsPSEN_N1.INCLUDE_context, - fichier_ini = 1, - op = None, - fr = "Selectionnez les cas a analyser", - ang = 'Select the cases to analyze', - PSSE_path = SIMP(statut="o",typ='Repertoire',defaut='C:\Program Files (x86)\PTI\PSSE33\PSSBIN'), - output_folder = SIMP(statut="o", typ="Repertoire"), - - - BusesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - LinesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - TransformersList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - MaxDepth = SIMP(statut = 'o', typ = 'I', defaut = 5), - OutputNewCsv = SIMP ( statut = "o",typ=bool,defaut=False,), - ) -N_PROCESSING_OPTIONS = PROC ( nom = 'N_PROCESSING_OPTIONS', - op = None, - ang = "Select whether the program should be displaying data about the different categories.\nThe values displayed will be the min, max, and mean of each item, plus a chart.", - Output_bus_values = SIMP(statut = 'o', typ = bool, defaut = True), - Output_lines_values = SIMP(statut = 'o', typ = bool, defaut = True), - Output_transformer_values = SIMP(statut = 'o', typ = bool, defaut = True), - Threshold_selection_for_the_treated_cases = FACT( - statut = 'f', - Branches = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - Transformers = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - High_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - Low_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - ), - ) - - -CONTINGENCY_OPTIONS = PROC (nom = 'CONTINGENCY_OPTIONS', - op = None, - - GeneralOptions = FACT(statut='o', - Vmin = SIMP(statut = 'o', typ = 'R', defaut = 0.9, val_min = 0), - Vmax = SIMP(statut = 'o', typ = 'R', defaut = 1.1, val_min = 0), - ContingencyRate = SIMP(statut = 'o', typ = 'TXM', defaut = 'a', into=['a', 'b']), - FlowLimitLines = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0), - FlowLimitTransformers = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0), - Tolerance = SIMP(statut = 'o', typ = 'R', defaut = 0.5, val_min = 0), - TripLines = SIMP(statut = 'o', typ = bool, defaut = True), - TripTransfos = SIMP(statut = 'o', typ = bool, defaut = True), - TripGenerators = SIMP(statut = 'o', typ = bool, defaut = True), - TripBuses = SIMP(statut = 'o', typ = bool, defaut = False), - ), - - LoadFlowOptions = FACT(statut='o', - AdjustTaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Lock', '1 - Stepping', '2 - Direct'], defaut = '1 - Stepping'), - AdjustDCtaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable'], defaut = '1 - Enable'), - SolutionMethod = SIMP(statut = 'o', typ = 'TXM', into = ['0 - FDNS', '1 - FNSL', '2 - Optimized FDNS'], defaut = '1 - FNSL'), - AdjustSwitchedShunts = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable', '2 - Enable continuous mode'], defaut = '1 - Enable'), - DispatchMode = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Reserve', '2 - Pmax', '3 - Inertia', '4 - Droop'], defaut = '1 - Reserve'), - FlatStart = SIMP(statut = 'o', typ = bool, defaut = False), - VarLimits = SIMP(statut = 'o', typ = 'I', defaut = 99,ang = 'if set to -1, var limits will not be applied'), - ), - -# OutputOptions = FACT(statut='o', -# consigne1 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Output PSSE multiple contingency report to Shell?'), -# MultipleContingencyReport = SIMP(statut = 'o', typ = bool, defaut = True, ang = 'Output PSSE multiple contingency report to Shell?'), -# consigne2 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Write an Excel file for the results of each case file?'), -# WriteIndivExcels = SIMP(statut = 'o', typ = bool, defaut = True), -# consigne3 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Add a tab in Excel results file for the differences between the max flow rate (MVAR) and the actual flow rate in lines and transformers?'), -# WriteFlowDifs = SIMP(statut = 'o', typ = bool, defaut = True), -# ), - ) - - - - -CONTINGENCY_SELECTION = PROC(nom='CONTINGENCY_SELECTION',op = None, - SelectionMethod = SIMP(statut='o',typ='TXM',into=['CaseSelectionFromFile','SelectAllCases','SelectWorstCases'], - ), - - b_file = BLOC(condition="SelectionMethod=='CaseSelectionFromFile'", - CaseSelectionFromFiles = FACT( - statut = 'o', - case = FACT(statut='o',max='**', - case_name=SIMP(statut='o',typ='TXM'), - csv_file= SIMP(statut='o', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)',),),), -# regles=(AU_MOINS_UN('branch_cases','transformer_cases','high_voltage_cases','low_voltage_cases',),), -# branch_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), -# transformer_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde',),), -# high_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), -# low_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), - ), - -# CaseSelectionFromFile = FACT( -# statut = 'o', -# input_path = SIMP(statut="o",typ='Repertoire'), -# branch_cases = SIMP(statut='o', typ='TXM'), -# transformer_cases = SIMP(statut='o', typ='TXM'), -# high_cases = SIMP(statut='o', typ='TXM'), -# low_cases = SIMP(statut='o', typ='TXM'), -# ), - - ), - -# b_all = BLOC(condition="SelectionMethod=='SelectAllCases'", -# SelectAllCases = FACT( -# statut='o', -# all_cases = SIMP(statut='o', typ=bool, defaut = True), -# ), -# ), - - b_worst = BLOC(condition="SelectionMethod=='SelectWorstCases'", - SelectWorstCases = FACT( - regles = (AU_MOINS_UN('AvgLineLoad', 'AvgLineLoadPercent','AvgTransformerLoad','AvgTransformerLoadPercent','AvgHighVoltage', 'AvgHighVoltagePercent','AvgLowVoltage', 'AvgLowVoltagePercent'), - EXCLUS('AvgLineLoad', 'AvgLineLoadPercent'),EXCLUS('AvgTransformerLoad','AvgTransformerLoadPercent'),EXCLUS('AvgHighVoltage', 'AvgHighVoltagePercent'),EXCLUS('AvgLowVoltage', 'AvgLowVoltagePercent'),), - statut = 'o', - consigne = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Choose at least one of the potential selection criteria from the SelectWorstCases list on the right.'), - AvgLineLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgLineLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgTransformerLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgTransformerLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgHighVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgHighVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgLowVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgLowVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - ), - ), - - - Automatic_N_2_Selection = FACT(statut='f', - - BusesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - LinesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - TransformersList = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - ), - - MultipleContingencyList = FACT (statut='f', - max="**", - ComponentList=SIMP(statut='o', typ = 'TXM', max='**', homo = 'SansOrdreNiDoublon',), - ), - - ) - -CONTINGENCY_PROCESSING = MACRO ( nom = 'CONTINGENCY_PROCESSING', - sd_prod = opsPSEN_N1.PROCESS, - op_init = opsPSEN_N1.PROCESS_context, - - #sd_prod=None, - - op = None, - fichier_ini = 1, - fr = "", - ang="", - XLS_file = SIMP(statut="o", typ = ('Fichier', 'XLS file (*.xls);;All Files (*)',),), - b_TabList = BLOC(condition="XLS_file != None and XLS_file != ''", - TabList = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), ), - -# b_highVoltage = BLOC(condition="'High Voltage 0' in TabList", -# HighVoltageBuses = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), -# HighVoltageContingencies = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), -# ), - - ) - -Ordre_Des_Commandes = ('CASE_SELECTION' , 'N_PROCESSING_OPTIONS' , 'CONTINGENCY_SELECTION', 'CONTINGENCY_OPTIONS' ,'CONTINGENCY_PROCESSING',) -Classement_Commandes_Ds_Arbre = ('CASE_SELECTION' , 'N_PROCESSING_OPTIONS' , 'CONTINGENCY_SELECTION', 'CONTINGENCY_OPTIONS' ,'CONTINGENCY_PROCESSING',) diff --git a/ProcessOutputs_Eficas/PSEN_Cata_N1.py.ok b/ProcessOutputs_Eficas/PSEN_Cata_N1.py.ok deleted file mode 100644 index f2598161..00000000 --- a/ProcessOutputs_Eficas/PSEN_Cata_N1.py.ok +++ /dev/null @@ -1,250 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR -from Accas import * -import opsPSEN_N1 -# -# - -# import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -# class Matrice: -# def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None): -# self.nbLigs=nbLigs -# self.nbCols=nbCols -# self.methodeCalculTaille=methodeCalculTaille -# self.formatSortie=formatSortie -# self.valSup=valSup -# self.valMin=valMin -# self.structure=structure -# -# def __convert__(self,valeur): -# # Attention ne verifie pas grand chose -# if type(valeur) != types.ListType : -# return None -# return valeur -# -# def info(self): -# return "Matrice %s x %s" % (self.nbLigs, self.nbCols) -# -# __repr__=info -# __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'PSEN', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CASE_SELECTION' ), - # AU_MOINS_UN ( 'DIRECTORY' ), - # AU_MOINS_UN ( 'DISTRIBUTION' ), - # AU_MOINS_UN ( 'SIMULATION' ), - # AU_PLUS_UN ( 'PSSE_PARAMETERS' ), - # AU_PLUS_UN ( 'DIRECTORY' ), - # AU_PLUS_UN ( 'SIMULATION' ), - # AU_PLUS_UN ( 'CORRELATION' ), - # AU_PLUS_UN ( 'N_1_GENERATORS' ), - # AU_PLUS_UN ( 'N_1_LINES' ), - # AU_PLUS_UN ( 'N_1_LOADS' ), - # AU_PLUS_UN ( 'N_1_TRANSFORMERS' ), - - ), - ) # Fin JDC_CATA - - -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- -## TODO : RUN -CASE_SELECTION = MACRO ( nom = "CASE_SELECTION", - sd_prod = opsPSEN_N1.INCLUDE, - op_init = opsPSEN_N1.INCLUDE_context, - fichier_ini = 1, - op = None, - fr = "Sélectionnez les cas à analyser", - ang = 'Select the cases to analyze', - PSSE_path = SIMP(statut="o",typ='Repertoire',defaut='C:\Program Files (x86)\PTI\PSSE33\PSSBIN'), - output_folder = SIMP(statut="o", typ="Repertoire"), - - - BusesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - LinesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - TransformersList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - MaxDepth = SIMP(statut = 'o', typ = 'I', defaut = 5), - OutputNewCsv = SIMP ( statut = "o",typ=bool,defaut=False,), - ) -N_PROCESSING_OPTIONS = PROC ( nom = 'N_PROCESSING_OPTIONS', - op = None, - ang = "Select whether the program should be displaying data ablout the different categories. The values displayed will be the min, max, and mean of each item, plus a chart.", - Output_bus_values = SIMP(statut = 'o', typ = bool, defaut = True), - Output_lines_values = SIMP(statut = 'o', typ = bool, defaut = True), - Output_transformer_values = SIMP(statut = 'o', typ = bool, defaut = True), - Threshold_selection_for_the_treated_cases = FACT( - statut = 'f', - Branches = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - Transformers = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - High_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - Low_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - ), - ) - - -CONTINGENCY_OPTIONS = PROC (nom = 'CONTINGENCY_OPTIONS', - op = None, - - GeneralOptions = FACT(statut='o', - Vmin = SIMP(statut = 'o', typ = 'R', defaut = 0.9, val_min = 0), - Vmax = SIMP(statut = 'o', typ = 'R', defaut = 1.1, val_min = 0), - ContingencyRate = SIMP(statut = 'o', typ = 'TXM', defaut = 'a', into=['a', 'b']), - FlowLimitLines = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0), - FlowLimitTransformers = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0), - Tolerance = SIMP(statut = 'o', typ = 'R', defaut = 0.5, val_min = 0), - TripLines = SIMP(statut = 'o', typ = bool, defaut = True), - TripTransfos = SIMP(statut = 'o', typ = bool, defaut = True), - TripGenerators = SIMP(statut = 'o', typ = bool, defaut = True), - ), - - LoadFlowOptions = FACT(statut='o', - AdjustTaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Lock', '1 - Stepping', '2 - Direct'], defaut = '1 - Stepping'), - AdjustDCtaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable'], defaut = '1 - Enable'), - SolutionMethod = SIMP(statut = 'o', typ = 'TXM', into = ['0 - FDNS', '1 - FNSL', '2 - Optimized FDNS'], defaut = '1 - FNSL'), - AdjustSwitchedShunts = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable', '2 - Enable continuous mode'], defaut = '1 - Enable'), - DispatchMode = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Reserve', '2 - Pmax', '3 - Inertia', '4 - Droop'], defaut = '1 - Reserve'), - FlatStart = SIMP(statut = 'o', typ = bool, defaut = False), - VarLimits = SIMP(statut = 'o', typ = 'I', defaut = 99,ang = 'if set to -1, var limits will not be applied'), - ), - - OutputOptions = FACT(statut='o', - consigne1 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Output PSSE multiple contingency report to Shell?'), - MultipleContingencyReport = SIMP(statut = 'o', typ = bool, defaut = True, ang = 'Output PSSE multiple contingency report to Shell?'), - consigne2 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Write an Excel file for the results of each case file?'), - WriteIndivExcels = SIMP(statut = 'o', typ = bool, defaut = True), - consigne3 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Add a tab in Excel results file for the differences between the max flow rate (MVAR) and the actual flow rate in lines and transformers?'), - WriteFlowDifs = SIMP(statut = 'o', typ = bool, defaut = True), - ), - ) - - - - -CONTINGENCY_SELECTION = PROC(nom='CONTINGENCY_SELECTION',op = None, - SelectionMethod = SIMP(statut='o',typ='TXM',into=['CaseSelectionFromFile','SelectAllCases','SelectWorstCases'], - ), - - b_file = BLOC(condition="SelectionMethod=='CaseSelectionFromFile'", - CaseSelectionFromFiles = FACT( - statut = 'o', - regles=(AU_MOINS_UN('branch_cases','transformer_cases','high_voltage_cases','low_voltage_cases',),), - branch_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), - transformer_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde',),), - high_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), - low_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), - ), - -# CaseSelectionFromFile = FACT( -# statut = 'o', -# input_path = SIMP(statut="o",typ='Repertoire'), -# branch_cases = SIMP(statut='o', typ='TXM'), -# transformer_cases = SIMP(statut='o', typ='TXM'), -# high_cases = SIMP(statut='o', typ='TXM'), -# low_cases = SIMP(statut='o', typ='TXM'), -# ), - - ), - -# b_all = BLOC(condition="SelectionMethod=='SelectAllCases'", -# SelectAllCases = FACT( -# statut='o', -# all_cases = SIMP(statut='o', typ=bool, defaut = True), -# ), -# ), - - b_worst = BLOC(condition="SelectionMethod=='SelectWorstCases'", - SelectWorstCases = FACT( - regles = (UN_PARMI('AvgBranchLoad', 'AvgBranchLoadPercent'), UN_PARMI('AvgTransformerLoad', 'AvgTransformerLoadPercent'), UN_PARMI('AvgHighVoltage', 'AvgHighVoltagePercent'), UN_PARMI('AvgLowVoltage', 'AvgLowVoltagePercent'),), - statut = 'o', - consigne = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Choose at least one of the potential selection criteria from the SelectWorstCases list on the right.'), - AvgBranchLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgBranchLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgTransformerLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgTransformerLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgHighVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgHighVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgLowVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgLowVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - ), - ), - - - Automatic_N_2_Selection = FACT(statut='f', - - BusesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - LinesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - TransformersList = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - ), - - MultipleContingencyList = FACT (statut='f', - max="**", - ComponentList=SIMP(statut='o', typ = 'TXM', max='**', homo = 'SansOrdreNiDoublon',), - ), - - ) - -CONTINGENCY_PROCESSING = MACRO ( nom = 'CONTINGENCY_PROCESSING', - sd_prod = opsPSEN_N1.PROCESS, - op_init = opsPSEN_N1.PROCESS_context, - - #sd_prod=None, - - op = None, - fichier_ini = 1, - fr = "", - ang="", - XLS_file = SIMP(statut="o", typ = ('Fichier', 'XLS file (*.xls);;All Files (*)',),), - TabList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', homo = 'SansOrdreNiDoublon'), - -# b_highVoltage = BLOC(condition="'High Voltage 0' in TabList", -# HighVoltageBuses = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), -# HighVoltageContingencies = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), -# ), - - ) - -Ordre_Des_Commandes = ('CASE_SELECTION' , 'N_PROCESSING_OPTIONS' , 'CONTINGENCY_OPTIONS' , 'CONTINGENCY_SELECTION',) diff --git a/ProcessOutputs_Eficas/ProcessOutputs_Cata.py b/ProcessOutputs_Eficas/ProcessOutputs_Cata.py deleted file mode 100644 index 70144662..00000000 --- a/ProcessOutputs_Eficas/ProcessOutputs_Cata.py +++ /dev/null @@ -1,240 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -------------------------------------------------- -# debut entete -# -------------------------------------------------- - -from Accas import * -import opsPSEN_N1 -import pn -# - -# import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - import types - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -#CONTEXT.debug = 1 -JdC = JDC_CATA ( code = 'PSEN', - execmodul = None, - regles = ( AU_MOINS_UN ( 'CASE_SELECTION', 'CONTINGENCY_PROCESSING' ), - AU_MOINS_UN ( 'CONTINGENCY_SELECTION','N_PROCESSING_OPTIONS','CONTINGENCY_PROCESSING' ), - PRESENT_PRESENT ( 'CONTINGENCY_SELECTION','CONTINGENCY_OPTIONS' ), - # AU_MOINS_UN ( 'SIMULATION' ), - # AU_PLUS_UN ( 'PSSE_PARAMETERS' ), - AU_PLUS_UN ( 'CASE_SELECTION' ), - AU_PLUS_UN ( 'CONTINGENCY_OPTIONS' ), - AU_PLUS_UN ( 'CONTINGENCY_SELECTION' ), - AU_PLUS_UN ( 'CONTINGENCY_PROCESSING' ), - AU_PLUS_UN ( 'N_PROCESSING_OPTIONS' ), - # AU_PLUS_UN ( 'N_1_LINES' ), - # AU_PLUS_UN ( 'N_1_LOADS' ), - # AU_PLUS_UN ( 'N_1_TRANSFORMERS' ), - - ), - ) # Fin JDC_CATA - -MODIFICATION_CATALOGUE = MACRO ( nom = "MODIFICATION_CATALOGUE", - sd_prod = pn.modification_catalogue, - op_init= pn.modification_catalogue2, - op=None, - UIinfo={"groupes":("CACHE")}, - Fonction=SIMP(statut='o', typ='TXM', into=['ajoutDefinitionMC']), - Etape=SIMP(statut='o', typ='TXM',), - Genea=SIMP(statut='o', typ='TXM', min=0, max='**'), - NomSIMP=SIMP(statut='o', typ='TXM',), - TypeSIMP=SIMP(statut='o', typ='TXM',), - PhraseArguments=SIMP(statut='o', typ='TXM',), -) -# -------------------------------------------------- -# fin entete -# -------------------------------------------------- -## TODO : RUN -CASE_SELECTION = MACRO ( nom = "CASE_SELECTION", - sd_prod = opsPSEN_N1.INCLUDE, - op_init = opsPSEN_N1.INCLUDE_context, - fichier_ini = 1, - op = None, - fr = "Sélectionnez les cas à analyser", - ang = 'Select the cases to analyze', - PSSE_path = SIMP(statut="o",typ='Repertoire',defaut='C:\Program Files (x86)\PTI\PSSE33\PSSBIN'), - output_folder = SIMP(statut="o", typ="Repertoire"), - - - BusesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - LinesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - TransformersList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - MaxDepth = SIMP(statut = 'o', typ = 'I', defaut = 5), - OutputNewCsv = SIMP ( statut = "o",typ=bool,defaut=False,), - ) -N_PROCESSING_OPTIONS = PROC ( nom = 'N_PROCESSING_OPTIONS', - op = None, - ang = "Select whether the program should be displaying data about the different categories.\nThe values displayed will be the min, max, and mean of each item, plus a chart.", - Output_bus_values = SIMP(statut = 'o', typ = bool, defaut = True), - Output_lines_values = SIMP(statut = 'o', typ = bool, defaut = True), - Output_transformer_values = SIMP(statut = 'o', typ = bool, defaut = True), - Threshold_selection_for_the_treated_cases = FACT( - statut = 'f', - Branches = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - Transformers = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - High_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - Low_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),), - ), - ) - - -CONTINGENCY_OPTIONS = PROC (nom = 'CONTINGENCY_OPTIONS', - op = None, - - GeneralOptions = FACT(statut='o', - Vmin = SIMP(statut = 'o', typ = 'R', defaut = 0.9, val_min = 0), - Vmax = SIMP(statut = 'o', typ = 'R', defaut = 1.1, val_min = 0), - ContingencyRate = SIMP(statut = 'o', typ = 'TXM', defaut = 'a', into=['a', 'b']), - FlowLimitLines = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0), - FlowLimitTransformers = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0), - Tolerance = SIMP(statut = 'o', typ = 'R', defaut = 0.5, val_min = 0), - TripLines = SIMP(statut = 'o', typ = bool, defaut = True), - TripTransfos = SIMP(statut = 'o', typ = bool, defaut = True), - TripGenerators = SIMP(statut = 'o', typ = bool, defaut = True), - ), - - LoadFlowOptions = FACT(statut='o', - AdjustTaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Lock', '1 - Stepping', '2 - Direct'], defaut = '1 - Stepping'), - AdjustDCtaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable'], defaut = '1 - Enable'), - SolutionMethod = SIMP(statut = 'o', typ = 'TXM', into = ['0 - FDNS', '1 - FNSL', '2 - Optimized FDNS'], defaut = '1 - FNSL'), - AdjustSwitchedShunts = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable', '2 - Enable continuous mode'], defaut = '1 - Enable'), - DispatchMode = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Reserve', '2 - Pmax', '3 - Inertia', '4 - Droop'], defaut = '1 - Reserve'), - FlatStart = SIMP(statut = 'o', typ = bool, defaut = False), - VarLimits = SIMP(statut = 'o', typ = 'I', defaut = 99,ang = 'if set to -1, var limits will not be applied'), - ), - -# OutputOptions = FACT(statut='o', -# consigne1 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Output PSSE multiple contingency report to Shell?'), -# MultipleContingencyReport = SIMP(statut = 'o', typ = bool, defaut = True, ang = 'Output PSSE multiple contingency report to Shell?'), -# consigne2 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Write an Excel file for the results of each case file?'), -# WriteIndivExcels = SIMP(statut = 'o', typ = bool, defaut = True), -# consigne3 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Add a tab in Excel results file for the differences between the max flow rate (MVAR) and the actual flow rate in lines and transformers?'), -# WriteFlowDifs = SIMP(statut = 'o', typ = bool, defaut = True), -# ), - ) - - - - -CONTINGENCY_SELECTION = PROC(nom='CONTINGENCY_SELECTION',op = None, - SelectionMethod = SIMP(statut='o',typ='TXM',into=['CaseSelectionFromFile','SelectAllCases','SelectWorstCases'], - ), - - b_file = BLOC(condition="SelectionMethod=='CaseSelectionFromFile'", - CaseSelectionFromFiles = FACT( - statut = 'o', - case = FACT(statut='o',max='**', - case_name=SIMP(statut='o',typ='TXM'), - csv_file= SIMP(statut='o', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)',),),), -# regles=(AU_MOINS_UN('branch_cases','transformer_cases','high_voltage_cases','low_voltage_cases',),), -# branch_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), -# transformer_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde',),), -# high_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), -# low_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),), - ), -# ', -# CaseSelectionFromFile = FACT( -# statut = 'o', -# input_path = SIMP(statut="o",typ='Repertoire'), -# branch_cases = SIMP(statut='o', typ='TXM'), -# transformer_cases = SIMP(statut='o', typ='TXM'), -# high_cases = SIMP(statut='o', typ='TXM'), -# low_cases = SIMP(statut='o', typ='TXM'), -# ), - - ), - -# b_all = BLOC(condition="SelectionMethod=='SelectAllCases'", -# SelectAllCases = FACT( -# statut='o', -# all_cases = SIMP(statut='o', typ=bool, defaut = True), -# ), -# ), - - b_worst = BLOC(condition="SelectionMethod=='SelectWorstCases'", - SelectWorstCases = FACT( - regles = (AU_MOINS_UN('AvgBranchLoad', 'AvgBranchLoadPercent','AvgTransformerLoad','AvgTransformerLoadPercent','AvgHighVoltage', 'AvgHighVoltagePercent','AvgLowVoltage', 'AvgLowVoltagePercent'), - EXCLUS('AvgBranchLoad', 'AvgBranchLoadPercent'),EXCLUS('AvgTransformerLoad','AvgTransformerLoadPercent'),EXCLUS('AvgHighVoltage', 'AvgHighVoltagePercent'),EXCLUS('AvgLowVoltage', 'AvgLowVoltagePercent'),), - statut = 'o', - consigne = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Choose at least one of the potential selection criteria from the SelectWorstCases list on the right.'), - AvgBranchLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgBranchLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgTransformerLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgTransformerLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgHighVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgHighVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - AvgLowVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0), - AvgLowVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100), - ), - ), - - - Automatic_N_2_Selection = FACT(statut='f', - - BusesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - LinesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - TransformersList = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - ), - - MultipleContingencyList = FACT (statut='f', - max="**", - ComponentList=SIMP(statut='o', typ = 'TXM', max='**', homo = 'SansOrdreNiDoublon',), - ), - - ) - -CONTINGENCY_PROCESSING = MACRO ( nom = 'CONTINGENCY_PROCESSING', - sd_prod = opsPSEN_N1.PROCESS, - op_init = opsPSEN_N1.PROCESS_context, - op = None, - fichier_ini = 1, - fr = "", - ang="", - XLS_file = SIMP(statut="f", typ = ('Fichier', 'XLS file (*.xls);;All Files (*)',),), - b_TabList = BLOC(condition="XLS_file != None and XLS_file != ''", - TabList = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'), - - ), - - ) - -Ordre_Des_Commandes = ('CASE_SELECTION' , 'N_PROCESSING_OPTIONS' , 'CONTINGENCY_SELECTION', 'CONTINGENCY_OPTIONS' ,'CONTINGENCY_PROCESSING',) -Classement_Commandes_Ds_Arbre = ('CASE_SELECTION' , 'N_PROCESSING_OPTIONS' , 'CONTINGENCY_SELECTION', 'CONTINGENCY_OPTIONS' ,'CONTINGENCY_PROCESSING',) diff --git a/ProcessOutputs_Eficas/configuration_PSEN_N1.py b/ProcessOutputs_Eficas/configuration_PSEN_N1.py deleted file mode 100644 index e17d4912..00000000 --- a/ProcessOutputs_Eficas/configuration_PSEN_N1.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - ## test - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues','affiche'] - - configuration.CONFIG_BASE.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/ProcessOutputs_Eficas/mesScripts_PSEN_N1.py b/ProcessOutputs_Eficas/mesScripts_PSEN_N1.py deleted file mode 100644 index 12bf5db9..00000000 --- a/ProcessOutputs_Eficas/mesScripts_PSEN_N1.py +++ /dev/null @@ -1,23 +0,0 @@ -def EficasProcessXLS(listeparam) : - print "dans processXLS" - item=listeparam[0] - dico=item.process_N1() - print dico - - print "version pour Pascale --> decommenter les 2 lignes suivantes pour Laura" - #from Processor import processXLS - #processXLS(dico) - - -# le dictionnaire des commandes a la structure suivante : -# la clef est la commande qui va proposer l action -# puis un tuple qui contient -# - la fonction a appeler -# - le label dans le menu du clic droit -# - un tuple contenant les parametres attendus par la fonction -# - appelable depuis Salome uniquement -) -# - appelable depuis un item valide uniquement -# - toolTip -dict_commandes={ - 'CONTINGENCY_PROCESSING': ( (EficasProcessXLS,"process",('editor','item',),False,True,"process values "),), - } diff --git a/ProcessOutputs_Eficas/opsPSEN_N1.py b/ProcessOutputs_Eficas/opsPSEN_N1.py deleted file mode 100644 index 9554556b..00000000 --- a/ProcessOutputs_Eficas/opsPSEN_N1.py +++ /dev/null @@ -1,195 +0,0 @@ - -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -from ExtractGeneratorLoadLineandTransfoDicoProcess import * -import os - -path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','TreatOutputs')) -sys.path.append(path1) -import Options - -def INCLUDE(self,PSSE_path,**args): - """ - Fonction sd_prod pour la macro INCLUDE - """ - CaseFolder = args['output_folder'] - Options.RecursiveDepth = args['MaxDepth'] - if CaseFolder==None: - return - reevalue=0 - if hasattr(self,'fichier_ini'): - reevalue=1 - if self.fichier_ini == CaseFolder : return - if hasattr(self,'old_context_fichier_init' ): - for concept in self.old_context_fichier_init.values(): - self.jdc.delete_concept(concept) - self.jdc_aux=None - self.contexte_fichier_init={} - self.reevalue_sd_jdc() - self.jdc.reset_context() - - self.fichier_ini=CaseFolder - self.contexte_fichier_init = {} - self.fichier_unite = 999 - self.fichier_err = None - self.fichier_text="" - - unite = 999 - - CaseFile = '' - FolderList = os.listdir(CaseFolder) - for folder in FolderList: - if folder[0:7] == 'package' or folder[0:4]== 'core': - # Get BaseCase.sav inside the first package folder we find - FolderContents = os.listdir(os.path.join(CaseFolder, folder)) - for file in FolderContents: - if file == 'BaseCase.sav': - CaseFile = os.path.join(os.path.join(CaseFolder, folder), file) - break - break - - - #try: - if 1 : - BusList, LinesList, TransfosList = getNominalkV(CaseFile) - #print "version en dur : decommenter la ligne suivante" - #getTrueLines(CaseFile) - #except Exception, e: - # exc_type, exc_obj, exc_tb = sys.exec_info() - # print(e) - # print(exc_type, exc_tb.tb_lineno) - - - for e in self.jdc.etapes: - if e.nom == 'CASE_SELECTION' : - etape=e - break - self.jdc.editor.changeIntoMC(e, 'BusesList', BusList) - self.jdc.editor.changeIntoMC(e, 'LinesList', LinesList) - self.jdc.editor.changeIntoMC(e, 'TransformersList', TransfosList) - - self.jdc.editor.changeIntoDefMC('CONTINGENCY_SELECTION', ('Automatic_N_2_Selection', 'BusesList'), BusList) - self.jdc.editor.changeIntoDefMC('CONTINGENCY_SELECTION', ('Automatic_N_2_Selection', 'LinesList'), LinesList) - self.jdc.editor.changeIntoDefMC('CONTINGENCY_SELECTION', ('Automatic_N_2_Selection', 'TransformersList'), TransfosList) - - - try: - print "version en dur : decommenter la ligne suivante" - #a = updateConts() - self.jdc.editor.changeIntoDefMC('CONTINGENCY_SELECTION', ('MultipleContingencyList', 'ComponentList'), Options.ContFullList) - except Exception as e: - exc_type, exc_obj, exc_tb = sys.exec_info() - print(e) - print(exc_type, exc_tb.tb_lineno) - - - - - -def INCLUDE_context(self,d): - """ - Fonction op_init pour macro INCLUDE - """ - for k,v in self.g_context.items(): - d[k]=v - - -def PROCESS_context(self,d): - print "dans le init du Process" - if self.get_child('XLS_file').valeur == "" or self.get_child('XLS_file').valeur== None : return - self.OngletsSelectionnes= self.get_child('b_TabList').get_child('TabList').valeur - print "fin de PROCESS_context" - -def PROCESS(self,XLS_file,**args): - - # self = Accas.A_MACRO_ETAPE.MACRO_ETAPE - self.sauve_args=args - if XLS_file == "" or XLS_file == None: return - #print XLS_file - #Storage.csvFileName = XLS_file - # c est la premiere fois - - if not (hasattr(self,'sheets')) : - #print 'attention en dur' - #from Processor_Storage import * - #print getSheets - #getSheets() - #ComponentList, ContingencyList = getComponentandContingencyList(Storage.sheets[0]) - #print ComponentList - #print ContingencyList - #Storage.selectedDoubleRow[Storage.sheets[0]]=['PV MATIMBA'] - #Storage.selectedDoubleCol[Storage.sheets[0]]=['MAZENOD_MHDAM_LI1_'] - #self.jdc.editor.changeIntoMC(self,'TabList',Storage.sheets) - #self.sheets=Storage.sheets - #self.OngletsValeurs=[] - - from Processor import getXLSinfo - self.sheets = getXLSinfo(XLS_file) - self.jdc.editor.changeIntoMC(self,'TabList',self.sheets.keys(),('b_TabList',)) - - self.MCAjoutes=[] - self.OngletsSelectionnes=[] - - else : - # On a selectionne un onglet - # On teste si on a modifie la liste des onglets - - nouveauxOngletsSelectionnes= self.get_child('b_TabList').get_child('TabList').valeur - if nouveauxOngletsSelectionnes==self.OngletsSelectionnes : return - if nouveauxOngletsSelectionnes==() or nouveauxOngletsSelectionnes == [] : - for MC in self.MCAjoutes : self.jdc.editor.deleteMC(self,MC,('b_TabList',)) - self.MCAjoutes=[] - self.OngletsSelectionnes=[] - self.jdc.editor.fenetreCentraleAffichee.reaffiche() - return - - for Onglet in nouveauxOngletsSelectionnes: - if Onglet in self.OngletsSelectionnes : continue - - MCFils='Component_List_For_'+Onglet - monInto=self.sheets[Onglet][0] - self.jdc.editor.ajoutDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils,'TXM',min=0, max='**', into=monInto, homo= 'SansOrdreNiDoublon') - self.jdc.editor.ajoutMC(self,MCFils,[],('b_TabList',)) - self.MCAjoutes.append(MCFils) - - MCFils='Contingency_List_For_'+Onglet - monInto=self.sheets[Onglet][1] - self.jdc.editor.ajoutDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils,'TXM',min=0, max='**', into=monInto, homo= 'SansOrdreNiDoublon') - self.jdc.editor.ajoutMC(self,MCFils,[],('b_TabList',)) - self.MCAjoutes.append(MCFils) - - - for Onglet in self.OngletsSelectionnes: - if Onglet in nouveauxOngletsSelectionnes : continue - - MCFils='Contingency_List_For_'+Onglet - self.jdc.editor.deleteMC(self,MCFils,('b_TabList',)) - self.jdc.editor.deleteDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils) - self.MCAjoutes.remove(MCFils) - - MCFils='Component_List_For_'+Onglet - self.jdc.editor.deleteMC(self,MCFils,('b_TabList',)) - self.jdc.editor.deleteDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils) - self.MCAjoutes.remove(MCFils) - - self.OngletsSelectionnes=nouveauxOngletsSelectionnes - self.jdc.editor.fenetreCentraleAffichee.reaffiche() - diff --git a/ProcessOutputs_Eficas/prefs.py b/ProcessOutputs_Eficas/prefs.py deleted file mode 100644 index 647d0ae9..00000000 --- a/ProcessOutputs_Eficas/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="PSEN_N1" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/ProcessOutputs_Eficas/prefs_PSEN_N1.py b/ProcessOutputs_Eficas/prefs_PSEN_N1.py deleted file mode 100644 index ffebe865..00000000 --- a/ProcessOutputs_Eficas/prefs_PSEN_N1.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='en' #'fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni - -affiche='ordre' - -# -catalogues=( - ('PSEN_N1','default',os.path.join(repIni,'PSEN_Cata_N1.py'),'ProcessOutputs','python'), -) diff --git a/ProcessOutputs_Eficas/properties.py b/ProcessOutputs_Eficas/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/ProcessOutputs_Eficas/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/ProcessOutputs_Eficas/qtEficas_PSEN_N1.py b/ProcessOutputs_Eficas/qtEficas_PSEN_N1.py deleted file mode 100755 index 948867b5..00000000 --- a/ProcessOutputs_Eficas/qtEficas_PSEN_N1.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -import sys,os -#sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -import prefs -name='prefs_'+prefs.code -__import__(name) - -#acceder scripts de Lucie -path1 = os.path.abspath(os.path.join(os.path.abspath(__file__),'TreatOutputs')) -path1 = 'C:\\Logiciels DER\\PSEN_V15\\Code\\ProcessOutputs_Eficas\TreatOutputs' -sys.path.append(path1) - -print ('kjlkjlkjkl') -print ('kjlkjlkjkl') -print ('kjlkjlkjkl') -print ('kjlkjlkjkl') -print ('kjlkjlkjkl') -print ('kjlkjlkjkl') -print ('kjlkjlkjkl') - -from InterfaceQT4 import eficas_go -if __name__ == '__main__': eficas_go.lance_eficas(code=prefs.code) diff --git a/ReacteurNumerique/cataPocRN.py b/ReacteurNumerique/cataPocRN.py new file mode 100644 index 00000000..4b739b57 --- /dev/null +++ b/ReacteurNumerique/cataPocRN.py @@ -0,0 +1,114 @@ +# -*- coding: utf-8 -*- +# Copyright (C) 2008-2018 EDF R&D +# +# This file is part of SALOME ADAO module +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +import os, re +import Accas +from Accas import * +monFichier=os.path.abspath(__file__) + +JdC = JDC_CATA ( + code='Essai' + ) +VERSION_CATALOGUE='V_0' + + +class Matrice: + def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None,typElt='R',typEltInto=None, listeHeaders=None): + self.nbLigs=nbLigs + self.nbCols=nbCols + self.methodeCalculTaille=methodeCalculTaille + self.formatSortie=formatSortie + self.valSup=valSup + self.valMin=valMin + self.structure=structure + self.typElt=typElt + self.listeHeaders=listeHeaders + self.typEltInto=typEltInto + + def __convert__(self,valeur): + # Attention ne verifie pas grand chose + if type(valeur) != types.ListType : + return None + return valeur + + def info(self): + return "Matrice %s x %s" % (self.nbLigs, self.nbCols) + + __repr__=info + __str__=info + + + +Techno_Data = PROC( nom = 'Techno_Data', + Radial_Description = FACT (statut ='o', + assembly_width = SIMP (statut='o', typ = 'R'), + assembly_map = SIMP ( statut = "o", + typ = Matrice(nbLigs=8, + nbCols=8, + valSup=1, + valMin=-1, + typElt='TXM', + typEltInto=('U1','R1'), + listeHeaders=None), + defaut=(['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1'], + ['U1','U1','U1','U1','U1','U1','U1','U1']) + ), + + ), # Radial_Description + #road_map = SIMP ( statut = "o", + # typ = Matrice(nbLigs=8, + # nbCols=8, + # valSup=1, + # valMin=-1, + # ),), + + Rod_Description = FACT (statut ='o', + RB=FACT( statut ='o', + step_height = SIMP (statut='o', typ = 'R'), + nsteps = SIMP (statut='o', typ = 'I',), + ), + ), # Rod_Description + Axial_Description = FACT(statut ='o', + lower_refl_size = SIMP (statut='o', typ = 'R'), + fuel_size = SIMP (statut='o', typ = 'R'), + upper_ref = SIMP (statut='o', typ = 'R'), + ), + Grids = FACT (statut ='o', + mixing = FACT(statut ='o', + positions = SIMP (statut='o', typ = 'R'), + size = SIMP (statut='o', typ = 'R'), + ), + non_mixing = FACT( statut ='o', + positions = SIMP (statut='o', typ = 'R'), + size = SIMP (statut='o', typ = 'R'), + ), + ), + Nominal_Power = SIMP (statut='o', typ = 'R'), + + +) # Techno data + + diff --git a/ReacteurNumerique/configuration_EssaiRN.py b/ReacteurNumerique/configuration_EssaiRN.py new file mode 100644 index 00000000..4d130a7a --- /dev/null +++ b/ReacteurNumerique/configuration_EssaiRN.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +# CONFIGURATION MANAGEMENT OF EDF VERSION +# ====================================================================== +# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG +# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY +# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY +# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR +# (AT YOUR OPTION) ANY LATER VERSION. +# +# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT +# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF +# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU +# GENERAL PUBLIC LICENSE FOR MORE DETAILS. +# +# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE +# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, +# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. +# +# +# ====================================================================== +""" + Ce module sert pour charger les paramètres de configuration d'EFICAS +""" +# Modules Python +from InterfaceQT4 import configuration +import os + + +class CONFIG(configuration.configBase): + + #----------------------------------- + def __init__(self,appli,repIni): + #----------------------------------- + + self.labels_user=['catalogues','lang','force_langue'] + self.labels_eficas=['lang','rep_cata','catalogues'] + + configuration.configBase.__init__(self,appli,'.Eficas_monCode') + + +def make_config(appli,rep): + return CONFIG(appli,rep) + diff --git a/ReacteurNumerique/prefs.py b/ReacteurNumerique/prefs.py new file mode 100644 index 00000000..2cabfffc --- /dev/null +++ b/ReacteurNumerique/prefs.py @@ -0,0 +1,22 @@ +# Copyright (C) 2007-2012 EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# +code="EssaiRN" +import sys, os +if os.path.dirname(os.path.abspath(__file__)) not in sys.path : + sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/ReacteurNumerique/prefs_EssaiRN.py b/ReacteurNumerique/prefs_EssaiRN.py new file mode 100644 index 00000000..1e8a0c38 --- /dev/null +++ b/ReacteurNumerique/prefs_EssaiRN.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +# maConfiguration MANAGEMENT OF EDF VERSION +# ====================================================================== +# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG +# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY +# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY +# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR +# (AT YOUR OPTION) ANY LATER VERSION. +# +# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT +# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF +# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU +# GENERAL PUBLIC LICENSE FOR MORE DETAILS. +# +# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE +# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, +# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. +# +# +# ====================================================================== + +import os,sys +# repIni sert a localiser le fichier editeur.ini +# Obligatoire +repIni=os.path.dirname(os.path.abspath(__file__)) +INSTALLDIR=os.path.join(repIni,'..') +sys.path[:0]=[INSTALLDIR] + + +# lang indique la langue utilisee pour les chaines d'aide : fr ou ang +lang='fr' + +# Codage des strings qui accepte les accents (en remplacement de 'ascii') +encoding='iso-8859-1' + +# +#typeDeCata='XML' +catalogues=( + ('Essai','PocRN',os.path.join(repIni,'cataPocRN.py'),'python','python'), +) +#nombreDeBoutonParLigne=4 +simpleClic=True +#closeFrameRechercheCommande=True +boutonDsMenuBar=False +#closeArbre=True +afficheListesPliees=False +#withXSD=True +afficheCommandesPliees = False +#dumpXSD=True +#afficheIhm=False diff --git a/ReacteurNumerique/qtEficasEssai.py b/ReacteurNumerique/qtEficasEssai.py new file mode 100755 index 00000000..349334aa --- /dev/null +++ b/ReacteurNumerique/qtEficasEssai.py @@ -0,0 +1,36 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# Copyright (C) 2007-2013 EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# +""" + Ce module sert a lancer EFICAS configure pour MAP +""" +# Modules Python +# Modules Eficas +import prefs +name='prefs_'+prefs.code +__import__(name) + +import os, sys +sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) + +import prefs +from InterfaceQT4 import eficas_go +print (prefs.code) +eficas_go.lanceEficas(code=prefs.code) diff --git a/SPECA/SPECA_Cata_V1.py b/SPECA/SPECA_Cata_V1.py deleted file mode 100644 index 72771cf5..00000000 --- a/SPECA/SPECA_Cata_V1.py +++ /dev/null @@ -1,542 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - - -# rend disponible le type tuple (liste) -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - - -# -#CONTEXT.debug = 1 - -VERSION_CATALOGUE="2.0.0"; - -JdC = JDC_CATA ( code = 'SPECA', - execmodul = None, - regles=(AU_MOINS_UN('SPECIFICATION_ANALYSE',), - AU_PLUS_UN('SPECIFICATION_ANALYSE',), - ), - )# Fin JDC_CATA - -## ----- SPECIFICATION DE L'ETUDE ----- ## -SPECIFICATION_ANALYSE= MACRO (nom = 'SPECIFICATION_ANALYSE', - op = None, - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Specification des analyses", - TYPE_ANALYSE = SIMP(statut='o', typ='TXM',into=('STATIQUE', 'MODALE', 'HARMONIQUE', 'TRANSITOIRE', 'TRANSITOIRE_ACCIDENTEL','SYNTHESE')), - # pour V1.1 flexion uniquement - TYPE_COMPORTEMENT = BLOC(condition = "TYPE_ANALYSE in ('MODALE','HARMONIQUE','STATIQUE','TRANSITOIRE','TRANSITOIRE_ACCIDENTEL','SYNTHESE')", - FLEXION = SIMP(statut='o',typ='TXM',into=('OUI',),defaut='OUI',fr="Inclure la flexion ?"), - TORSION = SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Inclure la torsion ?"), - COMPRESSION = SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Inclure la compression ?"), - ), -### ----- CALCUL STATIQUE ----- ## - ANALYSE_STATIQUE = BLOC(condition = "TYPE_ANALYSE == 'STATIQUE' ", - - POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - CHARGES = SIMP(statut='o',typ='TXM',into=('DELIGNAGE','FORCE','AUCUNE'),defaut=None,fr="Choix d'application d'une charge"), - DELIGNAGE = BLOC(condition = "CHARGES == 'DELIGNAGE' ",fr="Application d'un delignage", - PARAM_DELIGNAGE = FACT(statut='o',min=1,max='**',fr="Parametres du delignage", - NOM_PALIER = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom d'un palier deligne"), - #VALEURS = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des valeurs du delignage du palier"), - DX = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du DX du delignage du palier"), - DY = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du DY du delignage du palier"), - ), # fin PARAM_DELIGNAGE - ), # fin DELIGNAGE - # min=1,max=2, - FORCE = BLOC(condition = "CHARGES == 'FORCE' ",fr="Application d'une force", - PARAM_FORCE = FACT(statut='o',min=1,max='**',fr="Parametres de la force", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la coordonnee de la force"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement de la magnitude de la force"), - FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin PARAM_FORCE - ), # fin FORCE - ## fin specification calcul statique - - ## POST-TRAITEMENTS DU CALCUL STATIQUE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Choix du type de post-traitement", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','REAC_NODA','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition="TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement",regles=UN_PARMI('POSITION','PALIER'), - POSITION = SIMP(statut='f',typ='R',defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',max='**',typ='TXM',defaut=None,fr="Renseignement du nom du palier"), - ), # fin DEPL - CONTRAINTES = BLOC(condition="TYPE == 'CONTRAINTES' ",fr="Contraintes",regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',defaut=None,fr="Renseignement de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),fr="Choix de toutes les containtes"), - ), # fin CONTRAINTES - #REAC_NODA = BLOC(condition="TYPE == 'REAC_NODA' ", fr="Reaction nodale",regles=UN_PARMI('POSITION','ZONE','TOUT'), - #REAC_NODA = BLOC(condition="TYPE == 'REAC_NODA' ", fr="Reaction nodale",regles=UN_PARMI('POSITION','TOUT'), - REAC_NODA = BLOC(condition="TYPE == 'REAC_NODA' ", fr="Reaction nodale",regles=UN_PARMI('POSITION','PALIER'), - POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la reaction"), - #ZONE = SIMP(statut='f',typ='TXM',defaut=None,fr="Renseignement de l'etiquette de la zone de la reaction"), - PALIER = SIMP(statut='f',max='**',typ='TXM',defaut=None,fr="Renseignement du nom du palier"), - ), # fin REAC_NODA - ), # fin POST_TRAITEMENT - ## fin bloc POST_TRAITEMENTS - - ),# fin ANALYSE_STATIQUE - -### ----- CALCUL MODALE ----- ## - ANALYSE_MODALE = BLOC(condition = "TYPE_ANALYSE == 'MODALE' ", - BASE_CALCUL = SIMP(statut='o',typ="TXM",into=('MODALE','PHYSIQUE'),defaut=None,fr="Choix de la base du calcul modal"), - BASE_MODALE = BLOC(condition="BASE_CALCUL=='MODALE'",fr="Calcul sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES=SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de mode"), - FREQ_MAX=SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale"), - ), # fin BASE_MODALE - AMORTISSEMENT = SIMP(statut='o',typ='TXM',min=1,max=1,into=('OUI','NON'),defaut='OUI',fr="Choix de prise en compte de l'amortissment"), - GYROSCOPIE = SIMP(statut='o',typ='TXM',min=1,max=1,into=('OUI','NON'),defaut='OUI',fr="Choix de prise en compte de la gyroscopie"), - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste des vitesses de rotation (tr/min)"), - OPTION_CALCUL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('PLUS_PETITE','CENTRE'),defaut=None,fr="Choix de l'option de calcul"), - # 20121018 EDF demande de retirer cette option : l'option bande ne fonctionne pas avec MODE_ITER_SIMULT - #OPTION_CALCUL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('BANDE','PLUS_PETITE','CENTRE'),defaut=None,fr="Choix de l'option de calcul"), - #BANDE = BLOC(condition="OPTION_CALCUL=='BANDE'",fr="Option BANDE", - # FREQ_MIN = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence minimale (Hz)"), - # FREQ_MAX = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale (Hz)"), - #), # fin BANDE - PLUS_PETITE = BLOC(condition="OPTION_CALCUL=='PLUS_PETITE'",fr="Option PLUS_PETITE", - NMAX_FREQ = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre maximal de frequence"), - ), # fin PLUS_PETITE - CENTRE = BLOC(condition="OPTION_CALCUL=='CENTRE'",fr="Option CENTRE", - FREQ = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence centrale (Hz)"), - NMAX_FREQ = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre maximal de frequence"), - ), # fin CENTRE - METHODE=SIMP(statut='f',typ='TXM',min=1,max=1,into=('QZ','SORENSEN'),defaut='SORENSEN',fr="Choix de la méthode de résolution"), - - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Choix du type de post-traitement", - TYPE = SIMP(statut='o',typ='TXM',defaut=None,into=('TABLEAU_PARAM_MODAUX','DIAG_CAMPBELL'),), - #TABLEAU_PARAM_MODAUX = SIMP(statut='f',typ='TXM',min=1,max=1,defaut=None,into=('SIMPLE','COMPLET'),fr="Choix du type de tableau"), - TABLEAU_PARAM_MODAUX = BLOC(condition = "TYPE == 'TABLEAU_PARAM_MODAUX'",fr="Choix du type de tableau", - TABLEAU = SIMP(statut='o',max=1,typ='TXM',defaut='SIMPLE',into=('SIMPLE','COMPLET'),), - ), # fin TABLEAU_PARAM_MODAUX - DIAG_CAMPBELL = BLOC(condition = "TYPE == 'DIAG_CAMPBELL'", fr = "Choix des options du diagramme de Campbell", - PRECESSION = SIMP(statut='o',typ='TXM',max=1,defaut=None,into=('SOMME','PLUS_GRANDE_ORBITE'),), - SUIVI = SIMP(statut='o',typ='TXM',max=1,defaut=None,into=('SANS_TRI','TRI_PREC','TRI_FORM_MOD'),), - # 20121018 ajout de NB_MODES a la demande de Ionel Nistor - NB_MODES = SIMP(statut='o',typ='I',max=1,defaut=None,fr="Nombre de modes affiches dans le diagramme, doit etre inferieur au nombre de modes calcules"), - ), # fin DIAG_CAMPBELL - #DIAG_CAMPBELL = SIMP(statut='f',typ='TXM',min=1,max=1,defaut=None,into=('OUI','NON'),fr="Choix de calcul du diagramme de Campbell (uniquement si plusieurs vitesses de rotation ont ete renseignees)",), - ), # fin POST_TRAITEMENTS - - - ), # fin ANALYSE_MODALE - -## ----- CALCUL HARMONIQUE ----- ## - ANALYSE_HARMONIQUE = BLOC(condition = "TYPE_ANALYSE == 'HARMONIQUE' ",fr="Analyse harmonique", - - ## specification calcul harmonique - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('PHYSIQUE','MODALE'),defaut=None,fr="Choix de la base du calcul harmonique"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Calcul harmonique sur base modale", - #MODALE = FACT(statut='o', - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de mode"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale"), - #),# fin MODALE - ),# fin BASE_MODALE - AMORTISSEMENT_P = BLOC(condition = "BASE_CALCUL == 'PHYSIQUE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - ), # fin AMORTISSEMENT_P - AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - # cft modif 20130603 - #AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - #),# fin AMOR_REDUIT - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes"), - ),# fin AMOR_MODALE - ), # fin AMORTISSEMENT_M - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste des vitesses de rotation"), - # 20121018 retrait de defaut_fn a la demande de EDF - #CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','HARMONIQUE','DEFAUT_FN','EXTERNE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - #CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','DELIGNAGE','HARMONIQUE','EXTERNE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','HARMONIQUE','EXTERNE','AUCUNE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - BALOURD = BLOC(condition = "CHARGES == 'BALOURD' ",fr="Charge balourd appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge balourd"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la magnitude de la charge balourd (en kg.m)"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge balourd (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (en degres)"), - ),# fin BALOURD - # 20121106 retrait de delgnage a le demande de EDF - #DELIGNAGE = BLOC(condition = "CHARGES == 'DELIGNAGE' ",fr="Application d'un delignage", - #PARAM_DELIGNAGE = FACT(statut='o',min=1,max='**',fr="Parametres du delignage", - #PALIERS = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom d'un palier deligne"), - #VALEURS = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des valeurs du delignage du palier"), - #), # fin PARAM_DELIGNAGE - #), # fin DELIGNAGE - HARMONIQUE = BLOC(condition = "CHARGES == 'HARMONIQUE' ",fr="Charge harmonique appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge harmonique"), - PUIS_PULS = SIMP(statut='o',typ='I',min=1,max=1,into=(0,1,2),defaut=None,fr="Renseignement de la puissance de pulsation de la charge harmonique"), - PULSATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la pulsation d'excitation harmonique (en rad/s)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la magnitude de la charge harmonique, (unite : N.s^i (avec i = PUIS_PULS))"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge harmonique (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (en degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY'),defaut=None,fr="Renseignement du type de DDL excite sur lequel porte la charge"), - ), # fin HARMONIQUE - # 20121018 retrait de defaut_fn a la demande de EDF - #DEFAUT_FN = BLOC(condition = "CHARGES == 'DEFAUT_FN' ",fr="Charge defaut de fibre neutre appliquee", - #POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du defaut de fibre neutre"), - #TR_Y = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du vecteur de translation en Y du defaut de fibre neutre"), - #TR_Z = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du vecteur de translation en Z du defaut de fibre neutre"), - #ROT_Y = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du moment de rotation en Y du defaut de fibre neutre"), - #ROT_Z = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du moment de rotation en Z du defaut de fibre neutre"), - #), # fin DEFAUT_FN - EXTERNE = BLOC(condition = "CHARGES == 'EXTERNE' ",fr="Charge externe appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge externe"), - FONC_APPLI = SIMP(typ=('Fichier','Charge Externe (*.csv)'),docu='',min=1,max=1,statut='o',defaut=None,fr="Renseignement de la fonction appliquee à la charge externe (fichier cvs)"), - ), # fin EXTERNE - ## fin secification calcul harmonique - - # test cft 20120531 - ## POST-TRAITEMENTS DU CALCUL HARMONIQUE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Choix du type de post-traitement", - #TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - # 2012119 retrait de DEPL_ABS - #TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_RELA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - # 20130513 ajout de REAC_NODA - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_RELA','REAC_NODA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition = "TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement",regles=UN_PARMI('POSITION','PALIER'), - POSITION = SIMP(statut='f',typ='R',defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',max='**',typ='TXM',defaut=None,fr="Renseignement du nom du palier"), - ), # fin DEPL - # pas d'options pour EFFORTS_PAL et REAC_NODA - #EFFORTS_PAL = BLOC(condition = "TYPE == 'EFFORTS_PAL'", fr = "Efforts paliers", - #PALIER = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - #), # fin EFFORTS_PAL - # BASE_CALCUL == 'MODALE' - CONTRAINTES = BLOC(condition="TYPE == 'CONTRAINTES' ",fr="Contraintes",regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),min=1,max=1,fr="Renseignement de la contrainte"), - ), # fin CONTRAINTES - ), - ## fin bloc POST_TRAITEMENTS - - ),# fin ANALYSE_HARMONIQUE - -### ----- CALCUL TRANSITOIRE ----- ## - ANALYSE_TRANSISTOIRE = BLOC(condition = "TYPE_ANALYSE == 'TRANSITOIRE' ",fr="Analyse transitoire", - POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - VITESSE = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,into=('CONSTANTE','VARIABLE'),fr="Renseignement du type de vitesse de rotation"), - BASE_C = BLOC(condition ="VITESSE == 'CONSTANTE'", - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('PHYSIQUE','MODALE'),defaut=None,fr="Choix de la base du calcul transitoire"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Calcul transitoire sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de mode"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale"), - ),# fin BASE_MODALE - AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - # cft modif 20130603 - #AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - #),# fin AMOR_REDUIT - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes"), - ),# fin AMOR_MODALE - ), # fin AMORTISSEMENT_M - ), # fin BASE_C - BASE_V = BLOC(condition ="VITESSE == 'VARIABLE'", - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('MODALE'),defaut='MODALE',fr="Choix de la base du calcul transitoire"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Calcul transitoire sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de mode"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale"), - ),# fin BASE_MODALE - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - # cft modif 20130603 - #AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - #),# fin AMOR_REDUIT - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes"), - ),# fin AMOR_MODALE - ), # fin BASE_C - #BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Calcul transitoire sur base modale", - # regles=UN_PARMI('NB_MODES','FREQ_MAX'), - # NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de mode"), - # FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale"), - #),# fin BASE_MODALE - # cft modif 20130603 - - #AMORTISSEMENT_P = BLOC(condition = "BASE_CALCUL == 'PHYSIQUE' ", - # AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - #), # fin AMORTISSEMENT_P - #AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - # AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - # # cft modif 20130603 - # #AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # # LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - # #),# fin AMOR_REDUIT - # AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - # ),# fin AMOR_MODALE - #), # fin AMORTISSEMENT_M - - - #AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL','REDUIT'),defaut=None,fr="Choix du type d'amortissement"), - #AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - #),# fin AMOR_REDUIT - #AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - # AMOR_REDUIT = SIMP(statut='o', typ='R', min=1,max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - #),# fin AMOR_MODALE - #VITESSE = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,into=('CONSTANTE','VARIABLE'),fr="Renseignement du type de vitesse de rotation"), - VITESSE_CONSTANTE = BLOC(condition = "VITESSE == 'CONSTANTE' ", fr="Vitesse de rotation constante", - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation"), - ),# fin VITESSE_CONSTANTE - VITESSE_VARIABLE = BLOC(condition = "VITESSE == 'VARIABLE' ", fr="Vitesse de rotation variable", regles=UN_PARMI('LINEAIRE','EXPONENTIELLE','FORMULE'), - LINEAIRE = FACT(statut='f',min=1,max=1,fr="Renseignement de la fonction lineaire de la vitesse de rotation", - VITESSE_INITIALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation initiale (en tr/min)",), - VITESSE_FINALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation finale (en tr/min)",), - DEPHASAGE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la postion angulaire (en degre)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement du pas (ou liste) de mise a jour des matrices des paliers (en tours)"), - ),# fin LINEAIRE - EXPONENTIELLE = FACT(statut='f',min=1,max=1,fr="Renseignement de la fonction exponentielle de la vitesse de rotation", - VITESSE_INITIALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation initiale (en tr/min)",), - VITESSE_FINALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation finale (en tr/min)",), - DEPHASAGE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la postion angulaire (en degre)"), - LAMBDA = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du parametre de l'exponentielle"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement du pas (ou liste) de mise a jour des matrices des paliers (en tours)"), - ),# fin VITESSE_EXPONENTIELLE - FORMULE = FACT(statut='f',min=1,max=1,fr="Renseignement de la fonction de la vitesse de rotation", - FICHIER = SIMP(statut='o',typ=('Fichier','Formule vitesse rotation (*.*)'),min=1,max=1,defaut=None,fr="Renseignement du fichier contenant les fonctions de la vitesse de rotation"), - OM = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule de position angulaire (max 8 caractere)"), - PHI = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule de vitesse angulaire (max 8 caractere)"), - ACC = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule d'acceleration angulaire (max 8 caractere)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max='**',defaut=None,fr="Renseignement du pas (ou liste) de mise a jour des matrices des paliers (en tours)"), - ),# fin VITESSE_EXPONENTIELLE - ),# fin VITESSE_VARIABLE - #POIDS_PROPRE = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Choix d'application du poids propre (pesanteur)"), - # 20121018 retrait de defaut_fn a la demande de EDF - #CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','DEFAUT_FN','DELIGNAGE','EXTERNE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - # 20121119 retrait de delignage - #CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','DELIGNAGE','EXTERNE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','FORCE','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - BALOURD = BLOC(condition = "CHARGES == 'BALOURD' ",fr="Charge balourd appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge balourd"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la magnitude de la charge balourd (en kg.m)"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge balourd (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (en degres)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseigner l'instant pour déclencher le balourd"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseigner le temps pour la montée jusqu'à la valeur finale du balourd"), - ),# fin BALOURD - FORCE = BLOC(condition = "CHARGES == 'FORCE' ",fr="Application d'une force", - PARAM_FORCE = FACT(statut='o',min=1,max='**',fr="Parametres de la force", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la coordonnee de la force"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement de la magnitude de la force"), - FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin PARAM_FORCE - ), # fin FORCE - HARMONIQUE = BLOC(condition = "CHARGES == 'HARMONIQUE' ",fr="Charge harmonique appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge harmonique"), - PUIS_PULS = SIMP(statut='o',typ='I',min=1,max=1,into=(0,1,2),defaut=None,fr="Renseignement de la puissance de pulsation de la charge harmonique"), - PULSATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la pulsation d'excitation harmonique (en rad/s)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la magnitude de la charge harmonique, (unite : N.s^i (avec i = PUIS_PULS)"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge harmonique (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (en degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY'),defaut=None,fr="Renseignement du type de DDL excite sur lequel porte la charge"), - ), # fin HARMONIQUE - # 20121018 retrait de defaut_fn a la demande de EDF - #DEFAUT_FN = BLOC(condition = "CHARGES == 'DEFAUT_FN' ",fr="Charge defaut de fibre neutre appliquee", - #POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du defaut de fibre neutre"), - #TR_Y = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du vecteur de translation en Y du defaut de fibre neutre"), - #TR_Z = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du vecteur de translation en Z du defaut de fibre neutre"), - #ROT_Y = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du moment de rotation en Y du defaut de fibre neutre"), - #ROT_Z = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du moment de rotation en Z du defaut de fibre neutre"), - #), # fin DEFAUT_FN - # 20121119 retrait de delignage - #DELIGNAGE = BLOC(condition = "CHARGES == 'DELIGNAGE' ",fr="Application d'un delignage", - #PARAM_DELIGNAGE = FACT(statut='o',min=1,max='**',fr="Parametres du delignage", - #PALIERS = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom d'un palier deligne"), - #VALEURS = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des valeurs du delignage du palier"), - #), # fin PARAM_DELIGNAGE - #), # fin DELIGNAGE - # retrait force fichier externe - #EXTERNE = BLOC(condition = "CHARGES == 'EXTERNE' ",fr="Charge externe appliquee", - #POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge externe"), - #FONC_APPLI = SIMP(typ=('Fichier','Charge Externe (*.csv)'),docu='',min=1,max=1,statut='o',defaut=None,fr="Renseignement de la fonction appliquee à la charge externe (fichier cvs)"), - #), # fin EXTERNE - ETAT_INIT = FACT(statut='o',fr="Renseignement de l'etat initial", - #RESULTAT = SIMP(statut='o',typ=('sd_resultat'),max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - RESULTAT = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - INST_INIT = SIMP(statut='f',typ='R',max=1,defaut=0.0,fr="Renseignement de l'instant initial"), - ), # fin ETAT_INIT - PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS','LISTE'),defaut=None,fr="Choix du type de parametrage temporel"), - #PAS = BLOC(condition = "VITESSE == 'VARIABLE'",fr="Renseignement des parametres des pas", - PAS = BLOC(condition = "PARAM_TEMPS == 'PAS'",fr="Renseignement des parametres des pas", - TEMPS_PAS = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps (en s)"), - INST_INI = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de l'instant initial du pas"), - INST_FIN = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de l'instant final du pas"), - ), # fin TEMPS_PAS - LIST_INST = BLOC(condition = "PARAM_TEMPS == 'LISTE'",fr="Renseignement d'une liste de pas", - LISTE = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement d'une liste de pas"), - ), # fin LIST_INST - PAS_ARCHIVAGE = SIMP(statut='o',typ='I',max=1,defaut=None,fr="Renseignement du pas d'archivage",), - SCHEMA_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('NEWMARK','EULER','WILSON','ADAPT_ORDRE1','ADAPT_ORDRE2','DIFF_CENTRE'),defaut='NEWMARK',fr="Choix d'un schema temporel"), - NEWMARK = BLOC(condition = "SCHEMA_TEMPS == 'NEWMARK' ",fr="Choix de la methode de NEWMARK", - BETA = SIMP(statut='f',typ='R',max=1,defaut=0.25,fr="Renseignement de la valeur beta pour la methode de NEWMARK"), - GAMMA = SIMP(statut='f',typ='R',max=1,defaut=0.25,fr="Renseignement de la valeur gamma pour la methode de NEWMARK"), - ),# fin NEWMARK - WILSON = BLOC(condition = "SCHEMA_TEMPS == 'WILSON' ",fr="Choix de la methode de WILSON", - THETA = SIMP(statut='f',typ='R',max=1,defaut=1.4,fr="Renseignement de la valeur theta pour la methode de WILSON"), - ), # fin WILSON - #Ionel le 19122012, FISSURE n'est pas dans la V1 - #FISSURE = BLOC(condition = "BASE_CALCUL == 'MODALE' ",fr="Choix de calcul avec fissure", - # EMPLACEMENT = FACT(statut='o',fr="Renseignement de l'emplacement de la fissure", - # regles=UN_PARMI('POSITION','NOEUD'), - # POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la fissure"), - # NOEUD = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du noeud de la fissure"), - # ), # fin EMPLACEMENT - # VITE_ROTA = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de ?? "), - # ANGL_INIT = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de ?? "), - # K_PHI = SIMP(statut='o',typ=('Fichier','K.PHI (*.*)'),docu='',min=1,max=1,defaut=None,fr="Renseignement de la loi de comportement en raideur de la fissure"), - # DK_DPHI = SIMP(statut='o',typ=('Fichier','DK.DPHI (*.*)'),docu='',min=1,max=1,defaut=None,fr="Renseignement de la deivee de la loi de comportement en raideur de la fissure"), - #), # fin FISSURE - - ## POST_TRAITEMENTS de l'analyse transitoire - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Choix des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition = "TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement",regles=UN_PARMI('POSITION','PALIER'), - #POSITION_DEPL = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du deplacement"), - POSITION = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - ), # fin DEPL - # 20121119 pas de mots-cles specifique pour efforts_paliers - #EFFORTS_PAL = BLOC(condition = "TYPE == 'EFFORTS_PAL'", fr = "Efforts paliers", - #PALIER = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - #), # fin EFFORTS_PAL - CONTRAINTES = BLOC(condition = "TYPE == 'CONTRAINTES' ",fr="Contraintes", - regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),max=1,fr="tout"), - ), # fin CONTRAINTES - ), # fin POST_TRAITEMENTS - - ), # fin ANALYSE_TRANSISTOIRE - - -### ----- CALCUL COUPLE CODE_ASTER/EYDOS ----- ## - ANALYSE_TRANSITOIRE_ACCIDENTEL = BLOC(condition = "TYPE_ANALYSE == 'TRANSITOIRE_ACCIDENTEL' ",fr="Analyse transitoire accidentelle", - #BASE_MODALE = FACT(statut='o', fr="Choix des parametres de la base modale", - POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - BASE_MODALE = BLOC(condition = "True", fr="Choix des parametres de la base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de mode"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale"), - ),# fin BASE_MODALE - # cft 20131217 suppression amortissement reduit - #AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL','REDUIT'),defaut=None,fr="Choix du type d'amortissement"), - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements modaux reduits (en %), la taille de la liste doit etre egale au nombre de modes"), - ),# fin AMOR_REDUIT - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation"), - #POIDS_PROPRE = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Choix d'application du poids propre (pesanteur)"), - # 20121018 retrait de defaut_fn a la demande de EDF - #CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','DEFAUT_FN','DELIGNAGE','EXTERNE','EFFORTS_PALIERS'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - #CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','DELIGNAGE','EXTERNE','EFFORTS_PALIERS'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - CHARGES = SIMP(statut='o',typ='TXM',into=('BALOURD','EXTERNE'),defaut=None,min=1,max=1,fr="Choix du type de charge a appliquer"), - BALOURD = BLOC(condition = "CHARGES == 'BALOURD' ",fr="Charge balourd appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge balourd"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la magnitude de la charge balourd (en kg.m)"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge balourd (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (en degres)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseigner l'instant pour déclencher le balourd"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseigner le temps pour la montée jusqu'à la valeur finale du balourd"), - ),# fin BALOURD - # a commenter - # 20121018 retrait de defaut_fn a la demande de EDF - #DEFAUT_FN = BLOC(condition = "CHARGES == 'DEFAUT_FN' ",fr="Charge defaut de fibre neutre appliquee", - #POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du defaut de fibre neutre"), - #TR_Y = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du vecteur de translation en Y du defaut de fibre neutre"), - #TR_Z = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du vecteur de translation en Z du defaut de fibre neutre"), - #ROT_Y = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du moment de rotation en Y du defaut de fibre neutre"), - #ROT_Z = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du moment de rotation en Z du defaut de fibre neutre"), - #), # fin DEFAUT_FN - #DELIGNAGE = BLOC(condition = "CHARGES == 'DELIGNAGE' ",fr="Application d'un delignage", - #PARAM_DELIGNAGE = FACT(statut='o',min=1,max='**',fr="Parametres du delignage", - #PALIERS = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom d'un palier deligne"), - #VALEURS = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des valeurs du delignage du palier"), - #), # fin PARAM_DELIGNAGE - #), # fin DELIGNAGE - EXTERNE = BLOC(condition = "CHARGES == 'EXTERNE' ",fr="Charge externe appliquee", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la charge externe"), - FONC_APPLI = SIMP(typ=('Fichier','Charge Externe (*.csv)'),docu='',min=1,max=1,statut='o',defaut=None,fr="Renseignement de la fonction appliquee à la charge externe (fichier cvs)"), - ), # fin EXTERNE - #EFFORTS_PALIERS = BLOC(condition = "CHARGES == 'EFFORTS_PALIERS' ",fr="Application d'un effort palier", - #PALIER = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier de l'effort"), - #VALEURS = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignment de la valeur de l'effort sur le palier"), - #), # fin EFFORTS_PALIERS - ETAT_INIT = FACT(statut='o',fr="Renseignement de l'etat initial", - #RESULTAT = SIMP(statut='o',typ=('sd_resultat'),max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - # 20121126 - #RESULTAT = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - INST_INIT = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de l'instant initial"), - ), # fin ETAT_INIT - #PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS','LIST_INST'),defaut=None,fr="Choix du type de parametrage temporel"), - # 20121126 - PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS'),defaut="PAS",fr="Choix du type de parametrage temporel",), - PAS = BLOC(condition = "PARAM_TEMPS == 'PAS' ",fr="Renseignement des parametres des pas", - PAS_ASTER = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps Aster (en s)",), - PAS_EDYOS = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps Edyos (en s)",), - INST_FIN = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de l'instant final (en s)",), - ), # fin TEMPS_PAS - #LIST_INST = BLOC(condition = "PARAM_TEMPS == 'LIST_INST' ",fr="Renseignement d'une liste de pas", - #LISTE = SIMP(statut='f',typ='R',min=1,max='**',defaut=None,fr="Renseignement d'une liste de pas"), - #), # fin LIST_INST - PAS_ARCHIVAGE = SIMP(statut='o',typ='I',max=1,defaut=None,fr="Renseignement du pas d'archivage",), - PARA_MEM = SIMP(statut='f',typ='I',max=1,defaut=6400,fr="Renseigner la taille de la memoire en Mo",), - PARA_CPU = SIMP(statut='f',typ='I',max=1,defaut=10000,fr="Renseigner le temps CPU max en secondes",), - SCHEMA_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('EULER','ADAPT_ORDRE1','ADAPT_ORDRE2'),defaut='ADAPT_ORDRE2',fr="Choix d'un schema temporel"), - - ## POST_TRAITEMENTS de l'analyse transitoire - POST_TRAITEMENTS = FACT(statut='o',fr="Choix des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition = "TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - ), # fin DEPL - # pas d'info à rentrer pour les efforts palier (post-traitement sur tout les paliers) - #EFFORTS_PAL = BLOC(condition = "TYPE == 'EFFORTS_PAL'", fr = "Efforts paliers", - #PALIER = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - #), # fin EFFORTS_PAL - CONTRAINTES = BLOC(condition = "TYPE == 'CONTRAINTES' ",fr="Contraintes", - regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),max=1,fr="tout"), - ), # fin CONTRAINTES - ), # fin POST_TRAITEMENTS - - - ), # fin ANALYSE_TRANSITOIRE_ACCIDENTEL - -)# fin SPECIFICATION_ANALYSE diff --git a/SPECA/SPECA_Cata_V2016.py b/SPECA/SPECA_Cata_V2016.py deleted file mode 100644 index fddaecb4..00000000 --- a/SPECA/SPECA_Cata_V2016.py +++ /dev/null @@ -1,415 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - - -# rend disponible le type tuple (liste) -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - - -# -#CONTEXT.debug = 1 - -VERSION_CATALOGUE="2016.0.0"; - -JdC = JDC_CATA ( code = 'SPECA', - execmodul = None, - regles=(AU_MOINS_UN('SPECIFICATION_ANALYSE',), - AU_PLUS_UN('SPECIFICATION_ANALYSE',), - ), - )# Fin JDC_CATA - -## ----- SPECIFICATION DE L'ETUDE ----- ## -SPECIFICATION_ANALYSE= MACRO (nom = 'SPECIFICATION_ANALYSE', - op = None, - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Specification des analyses", - TYPE_ANALYSE = SIMP(statut='o', typ='TXM',into=('STATIQUE', 'MODALE', 'HARMONIQUE', 'TRANSITOIRE', 'TRANSITOIRE_ACCIDENTEL','SYNTHESE')), - # pour V1.1 flexion uniquement - #TYPE_COMPORTEMENT = SIMP(statut='o', typ='TXM',into=('FLEXION',),defaut='FLEXION',fr="Renseignement du type de comportement voulu"), - TYPE_COMPORTEMENT = BLOC(condition = "TYPE_ANALYSE in ('MODALE','HARMONIQUE','STATIQUE','TRANSITOIRE','TRANSITOIRE_ACCIDENTEL')", - FLEXION = SIMP(statut='o',typ='TXM',into=('OUI',),defaut='OUI',fr="Prise en compte la flexion de la ligne d'arbres: obligatoire"), - TORSION = SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Choix de la prise en compte la torsion de la ligne d'arbres"), - COMPRESSION = SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Choix de la prise en compte la traction/compression de la ligne d'arbres"), - ), - - SURCHARGE=BLOC(condition = "TYPE_ANALYSE in ('MODALE','HARMONIQUE','STATIQUE','TRANSITOIRE','TRANSITOIRE_ACCIDENTEL','SYNTHESE')",statut="f", - TEMPLATE=SIMP( statut="f", - typ=("Fichier","Fichier Template (*.tpl)"), - min=1,max=1, - fr="Utiliser un template d'analyse modifie" - ), - PARAMETRES= FACT(statut='f',min=1,max='**',fr="Definition et renseignement des parametres utilises dans le template surcharge", - CLE=SIMP(statut='o',typ='TXM',defaut=None,fr="Nom du parametre dans le template"), - TYPE=SIMP(statut='o',typ='TXM',into=('ENTIER','REEL','CHAINE','FICHIER','REPERTOIRE'),fr="Nature du parametre a renseigner"), - ENTIER=BLOC(condition="TYPE=='ENTIER'", - VALUE=SIMP(statut='o',typ='I',defaut=0,fr="Renseignement d'un nombre entier"), - ), - REEL=BLOC(condition="TYPE=='REEL'", - VALUE=SIMP(statut='o',typ='R',defaut=0.0,fr="Renseignement d'un nombre reel"), - ), - CHAINE=BLOC(condition="TYPE=='CHAINE'", - VALUE=SIMP(statut='o',typ='TXM',defaut='',fr="Renseignement d'une chaine de caracteres"), - ), - FICHIER=BLOC(condition="TYPE=='FICHIER'", - VALUE=SIMP(statut='o',typ=("Fichier","All files (*.*)"),fr="Renseignement d'un fichier") - ), - REPERTOIRE =BLOC(condition="TYPE=='REPERTOIRE'", - VALUE=SIMP(statut='o',typ="Repertoire",fr="Renseignement d'un repertoire") - ), - - ), - ), - - - -### ----- CALCUL STATIQUE ----- ## - ANALYSE_STATIQUE = BLOC(condition = "TYPE_ANALYSE == 'STATIQUE' ",fr="Analyse statique (vitesse de rotation nulle de la ligne d'arbres)", - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('POIDS','FORCE','MOMENT','DELIGNAGE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - POIDS = BLOC(condition = "TYPE == 'POIDS' ",fr="Prise en compte du champ de pesanteur", - GRAVITE = SIMP(statut='o',typ='R',defaut=9.81,fr="Renseignement de l'intensite de la gravite (m/s^2)"), - DIRECTION = SIMP(statut='o',typ='R',min=3,max=3,defaut=(1,0,0),fr="Renseignement de la direction de la force de gravite"), - ), # fin POIDS - FORCE = BLOC(condition = "TYPE == 'FORCE' ",fr="Application d'une force ponctuelle", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique la force (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant la force (N)"), - #FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin FORCE - MOMENT = BLOC(condition = "TYPE == 'MOMENT' ",fr="Application d'un moment ponctuel", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - ), # fin MOMENT - DELIGNAGE = BLOC(condition = "TYPE == 'DELIGNAGE' ",fr="Application d'un delignage sur un ou plusieurs paliers", - NOM_PALIER = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom du palier deligne"), - DX = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du delignage suivant X du palier (m)"), - DY = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du delignage suivant Y du palier (m)"), - ), # fin Delignage - ), #fin CHARGES - - # POST-TRAITEMENTS DU CALCUL STATIQUE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - CONTRAINTES = SIMP(statut='o',typ='TXM',into=('OUI', 'NON'),defaut='NON',fr="Export des contraintes en tout noeud de la ligne d'arbres"), - ), #fin POST_TRAITEMENTS - ),# fin ANALYSE_STATIQUE - -### ----- CALCUL MODALE ----- ## - ANALYSE_MODALE = BLOC(condition = "TYPE_ANALYSE == 'MODALE' ",fr="Analyse modale de la ligne d'arbres", - BASE_CALCUL = SIMP(statut='o',typ="TXM",into=('MODALE','PHYSIQUE'),defaut=None,fr="Choix du type de resolution de l'analyse modale (sur base physique ou sur base modale)"), - BASE_MODALE = BLOC(condition="BASE_CALCUL=='MODALE'",fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES=SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX=SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ), # fin BASE_MODALE - AMORTISSEMENT = SIMP(statut='o',typ='TXM',min=1,max=1,into=('OUI','NON'),defaut='OUI',fr="Choix de la prise en compte de l'amortissment"), - GYROSCOPIE = SIMP(statut='o',typ='TXM',min=1,max=1,into=('OUI','NON'),defaut='OUI',fr="Choix de la prise en compte de la gyroscopie"), - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste des vitesses de rotation etudiees (tr/min)"), - OPTION_CALCUL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('PLUS_PETITE','CENTRE'),defaut=None,fr="Choix de l'option de calcul"), - PLUS_PETITE = BLOC(condition="OPTION_CALCUL=='PLUS_PETITE'",fr="Calcul des n premieres frequences", - NMAX_FREQ = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre maximal de frequences a calculer"), - ), # fin PLUS_PETITE - CENTRE = BLOC(condition="OPTION_CALCUL=='CENTRE'",fr="Calcul d'un nombre n de frequences autour d'une frequence donnee", - FREQ = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence centrale (Hz)"), - NMAX_FREQ = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre maximal de frequences"), - ), # fin CENTRE - METHODE=SIMP(statut='f',typ='TXM',min=1,max=1,into=('QZ','SORENSEN'),defaut='SORENSEN',fr="Choix de la methode de resolution"), - - # POST-TRAITEMENTS DU CALCUL MODAL - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('AUCUN','DIAG_CAMPBELL'), defaut = 'AUCUN'), - DIAG_CAMPBELL = BLOC(condition="TYPE == 'DIAG_CAMPBELL'",fr="Choix des options du diagramme de Campbell", - PRECESSION = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,into=('SOMME','PLUS_GRANDE_ORBITE'),fr="Critere de determination de la precession"), - SUIVI= SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,into=('SANS_TRI','TRI_PREC','TRI_FORM_MOD'),fr="Methode de suivi des modes"), - NB_MODES = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Nombre de modes affiches dans le diagramme, doit etre inferieur au nombre de modes calcules (NMAX_FREQ)"), - ), # fin DIAG_CAMPBELL - ),# fin POST_TRAITEMENTS - ), # fin ANALYSE_MODALE - -## ----- CALCUL HARMONIQUE ----- ## - ANALYSE_HARMONIQUE = BLOC(condition = "TYPE_ANALYSE == 'HARMONIQUE' ",fr="Analyse harmonique de la ligne d'arbres", - - ## specification calcul harmonique - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('PHYSIQUE','MODALE'),defaut=None,fr="Choix du type de resolution de l'analyse modale (sur base physique ou sur base modale)"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Resolution sur base modale", - #MODALE = FACT(statut='o', - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - #),# fin MODALE - ),# fin BASE_MODALE - AMORTISSEMENT_P = BLOC(condition = "BASE_CALCUL == 'PHYSIQUE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL',),defaut='STRUCTUREL',fr="Choix du type d'amortissement"), - ), # fin AMORTISSEMENT_P - AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_MODALE - ), # fin AMORTISSEMENT_M - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste des vitesses de rotation etudiees (tr/min)"), - # 20121018 retrait de defaut_fn a la demande de EDF - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('BALOURD','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - BALOURD = BLOC(condition = "TYPE == 'BALOURD' ",fr="Chargement de type balourd", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique le balourd (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude du balourd (kg.m)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (degres)"), - ),# fin BALOURD - HARMONIQUE = BLOC(condition = "TYPE == 'HARMONIQUE' ",fr="Charge harmonique", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique la charge harmonique (m)"), - FREQUENCE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence d'excitation harmonique (Hz)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude de la charge harmonique, (N)"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste de coefficients appliques sur la charge harmonique (autant que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY','DZ','DRZ'),defaut=None,fr="Renseignement du DDL sur lequel s'applique la charge harmonique"), - ), # fin HARMONIQUE - ), #FIN CHARGES - - # POST-TRAITEMENTS DU CALCUL HARMONIQUE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - CONTRAINTES = SIMP(statut='o',typ='TXM',into=('OUI', 'NON'),defaut='NON',fr="Export des contraintes en tout noeud de la ligne d'arbres"), - ), - ## fin POST_TRAITEMENTS - - ),# fin ANALYSE_HARMONIQUE - -### ----- CALCUL TRANSITOIRE ----- ## - ANALYSE_TRANSISTOIRE = BLOC(condition = "TYPE_ANALYSE == 'TRANSITOIRE' ",fr="Analyse transitoire de la ligne d'arbres", - - VITESSE = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,into=('CONSTANTE','VARIABLE'),fr="Renseignement du type de vitesse de rotation consideree"), - BASE_C = BLOC(condition ="VITESSE == 'CONSTANTE'",fr="Analyse transitoire a vitesse constante", - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('PHYSIQUE','MODALE'),defaut=None,fr="Choix du type de resolution de l'analyse transitoire (sur base physique ou sur base modale)"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ),# fin BASE_MODALE - AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_MODALE - ), # fin AMORTISSEMENT_M - ), # fin BASE_C - BASE_V = BLOC(condition ="VITESSE == 'VARIABLE'",fr="Analyse transitoire a vitesse variable", - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('MODALE',),defaut='MODALE',fr="Choix du type de resolution de l'analyse transitoire (obligatoirement sur base modale)"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ),# fin BASE_MODALE - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_MODALE - ), # fin BASE_C - VITESSE_CONSTANTE = BLOC(condition = "VITESSE == 'CONSTANTE' ", fr="Vitesse de rotation constante", - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation (tr/min)"), - ),# fin VITESSE_CONSTANTE - VITESSE_VARIABLE = BLOC(condition = "VITESSE == 'VARIABLE' ", fr="Vitesse de rotation variable", regles=UN_PARMI('LINEAIRE','EXPONENTIELLE','FORMULE'), - LINEAIRE = FACT(statut='f',min=1,max=1,fr="Variation lineaire de la vitesse de rotation", - VITESSE_INITIALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation initiale (tr/min)",), - VITESSE_FINALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation finale (tr/min)",), - DEPHASAGE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la postion angulaire initiale (degres)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement du pas de mise a jour des matrices des paliers (tr/min)"), - ),# fin LINEAIRE - EXPONENTIELLE = FACT(statut='f',min=1,max=1,fr="Variation exponentielle de la vitesse de rotation", - VITESSE_INITIALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation initiale (tr/min)",), - VITESSE_FINALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation finale (tr/min)",), - DEPHASAGE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la postion angulaire initiale (degres)"), - LAMBDA = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du parametre de la loi exponentielle (Hz)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement du pas de mise a jour des matrices des paliers (tr/min)"), - ),# fin EXPONENTIELLE - FORMULE = FACT(statut='f',min=1,max=1,fr="Fonction personnalisee decrivant la variation de la vitesse de rotation", - FICHIER = SIMP(statut='o',typ=('Fichier','Formule vitesse rotation (*.*)'),min=1,max=1,defaut=None,fr="Renseignement du fichier contenant les fonctions de la vitesse de rotation"), - PHI = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule de position angulaire (max 8 caractere)"), - OM = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule de vitesse angulaire (max 8 caractere)"), - ACC = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule d'acceleration angulaire (max 8 caractere)"), - VITE_MOY = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la moyenne des vitesses balayees (tr/min)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max='**',defaut=None,fr="Renseignement du pas de mise a jour des matrices des paliers (tr/min)"), - ),# fin FORMULE - ),# fin VITESSE_VARIABLE - #POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('POIDS','BALOURD','FORCE','MOMENT','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - BALOURD = BLOC(condition = "TYPE == 'BALOURD' ",fr="Chargement de type balourd", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique le balourd (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude du balourd (kg.m)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (degres)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du balourd (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre l'amplitude nominale du balourd (s)"), - ),# fin BALOURD - POIDS = BLOC(condition = "TYPE == 'POIDS' ",fr="Prise en compte du champ de pesanteur", - GRAVITE = SIMP(statut='o',typ='R',defaut=9.81,fr="Renseignement de l'intensite de la gravite (m/s^2)"), - DIRECTION = SIMP(statut='o',typ='R',min=3,max=3,defaut=(1,0,0),fr="Renseignement de la direction de la force de gravite"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du poids (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale du poids (s)"), - ), # fin POIDS - FORCE = BLOC(condition = "TYPE == 'FORCE' ",fr="Application d'une force ponctuelle", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique la force (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant la force (N)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition de la force (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale de la force (s)"), - #FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin FORCE - MOMENT = BLOC(condition = "TYPE == 'MOMENT' ",fr="Application d'un moment ponctuel", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du moment (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale du moment (s)"), - ), # fin MOMENT - HARMONIQUE = BLOC(condition = "TYPE == 'HARMONIQUE' ",fr="Charge harmonique", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique la charge harmonique (m)"), - FREQUENCE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence d'excitation harmonique (Hz)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude de la charge harmonique, (N)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition de la charge harmonique (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale de la charge harmonique (s)"), - #FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge harmonique (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY','DZ','DRZ'),defaut=None,fr="Renseignement du DDL sur lequel s'applique la charge harmonique"), - ), # fin HARMONIQUE - ), #fin CHARGES - - ETAT_INIT = FACT(statut='o',fr="Renseignement de l'etat initial du calcul", - #RESULTAT = SIMP(statut='o',typ=('sd_resultat'),max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - RESULTAT = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Choix de la structure de donnees de type 'resultat' de Code_Aster"), - INST_INIT = SIMP(statut='f',typ='R',max=1,defaut=0.0,fr="Renseignement de l'instant de la structure de donnees a partir duquel il faut lancer le calcul (s)"), - ), # fin ETAT_INIT - PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS','LISTE'),defaut=None,fr="Choix du type de discretisation temporelle"), - #PAS = BLOC(condition = "VITESSE == 'VARIABLE'",fr="Renseignement des parametres des pas", - PAS = BLOC(condition = "PARAM_TEMPS == 'PAS'",fr="Renseignement de pas de temps", - TEMPS_PAS = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps d'integration(en s)"), - INST_INI = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de l'instant initial du calcul (s)"), - INST_FIN = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de l'instant final du calcul (s)"), - ), # fin TEMPS_PAS - LIST_INST = BLOC(condition = "PARAM_TEMPS == 'LISTE'",fr="Renseignement d'une liste d'instants", - LISTE = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement d'une liste d'instants auxquels resoudre le calcul (s)"), - ), # fin LIST_INST - PAS_ARCHIVAGE = SIMP(statut='o',typ='I',max=1,defaut=1,fr="Renseignement du pas d'archivage des resultats (une sauvegarde tous les 'PAS_ARCHIVAGE' instants d'integration)",), - SCHEMA_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('NEWMARK','EULER','WILSON','ADAPT_ORDRE1','ADAPT_ORDRE2','DIFF_CENTRE'),defaut='NEWMARK',fr="Choix d'un schema d'integration temporelle"), - NEWMARK = BLOC(condition = "SCHEMA_TEMPS == 'NEWMARK' ",fr="Methode de NEWMARK", - BETA = SIMP(statut='f',typ='R',max=1,defaut=0.25,fr="Renseignement de la valeur beta pour la methode de NEWMARK"), - GAMMA = SIMP(statut='f',typ='R',max=1,defaut=0.25,fr="Renseignement de la valeur gamma pour la methode de NEWMARK"), - ),# fin NEWMARK - WILSON = BLOC(condition = "SCHEMA_TEMPS == 'WILSON' ",fr="Methode de WILSON", - THETA = SIMP(statut='f',typ='R',max=1,defaut=1.4,fr="Renseignement de la valeur theta pour la methode de WILSON"), - ), # fin WILSON - - # POST-TRAITEMENTS DU CALCUL TRANSITOIRE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - CONTRAINTES = SIMP(statut='o',typ='TXM',into=('OUI', 'NON'),defaut='NON',fr="Export des contraintes en tout noeud de la ligne d'arbres"), - ), # fin POST_TRAITEMENTS - - ), # fin ANALYSE_TRANSISTOIRE - - -### ----- CALCUL COUPLE CODE_ASTER/EYDOS ----- ## - ANALYSE_TRANSITOIRE_ACCIDENTEL = BLOC(condition = "TYPE_ANALYSE == 'TRANSITOIRE_ACCIDENTEL' ",fr="Analyse transitoire accidentelle de la ligne d'arbres", - #BASE_MODALE = FACT(statut='o', fr="Choix des parametres de la base modale", - #POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - BASE_MODALE = BLOC(condition = "True", fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ),# fin BASE_MODALE - # cft 20131217 suppression amortissement reduit - #AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL','REDUIT'),defaut=None,fr="Choix du type d'amortissement"), - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL',),defaut='STRUCTUREL',fr="Choix du type d'amortissement"), - AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements modaux reduits (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_REDUIT - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation (tr/min)"), - - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('POIDS','BALOURD','FORCE','MOMENT','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - BALOURD = BLOC(condition = "TYPE == 'BALOURD' ",fr="Chargement de type balourd", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique le balourd (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude du balourd (kg.m)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (degres)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du balourd (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre l'amplitude nominale du balourd (s)"), - ),# fin BALOURD - POIDS = BLOC(condition = "TYPE == 'POIDS' ",fr="Prise en compte du champ de pesanteur", - GRAVITE = SIMP(statut='o',typ='R',defaut=9.81,fr="Renseignement de l'intensite de la gravite (m/s^2)"), - DIRECTION = SIMP(statut='o',typ='R',min=3,max=3,defaut=(1,0,0),fr="Renseignement de la direction de la force de gravite"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du poids (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale du poids (s)"), - ), # fin POIDS - FORCE = BLOC(condition = "TYPE == 'FORCE' ",fr="Application d'une force ponctuelle", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition de la force (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale de la force (s)"), - #FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin FORCE - MOMENT = BLOC(condition = "TYPE == 'MOMENT' ",fr="Application d'un moment ponctuel", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du moment (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale du moment (s)"), - ), # fin MOMENT - HARMONIQUE = BLOC(condition = "TYPE == 'HARMONIQUE' ",fr="Charge harmonique", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique la charge harmonique (m)"), - FREQUENCE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence d'excitation harmonique (Hz)"), - AMPLITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude de la charge harmonique, (N)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition de la charge harmonique (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre la valeur nominale de la charge harmonique (s)"), - #FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge harmonique (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY','DZ','DRZ'),defaut=None,fr="Renseignement du DDL sur lequel s'applique la charge harmonique"), - ), # fin HARMONIQUE - ), #fin CHARGES - ETAT_INIT = FACT(statut='o',fr="Renseignement de l'etat initial du calcul", - #RESULTAT = SIMP(statut='o',typ=('sd_resultat'),max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - # 20121126 - #RESULTAT = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - INST_INIT = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de l'instant initial a partir duquel il faut lancer le calcul (s)"), - ), # fin ETAT_INIT - #PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS','LIST_INST'),defaut=None,fr="Choix du type de parametrage temporel"), - # 20121126 - PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS',),defaut="PAS",fr="Choix du type de discretisation temporelle",), - PAS = BLOC(condition = "PARAM_TEMPS == 'PAS' ",fr="Renseignement de pas de temps", - PAS_ASTER = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps d'integration Code_Aster (en s)",), - PAS_EDYOS = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps d'integration Edyos (en s)",), - INST_FIN = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de l'instant final du calcul (en s)",), - ), # fin TEMPS_PAS - #LIST_INST = BLOC(condition = "PARAM_TEMPS == 'LIST_INST' ",fr="Renseignement d'une liste de pas", - #LISTE = SIMP(statut='f',typ='R',min=1,max='**',defaut=None,fr="Renseignement d'une liste de pas"), - #), # fin LIST_INST - PAS_ARCHIVAGE = SIMP(statut='o',typ='I',max=1,defaut=1,fr="Renseignement du pas d'archivage des resultats (une sauvegarde tous les 'PAS_ARCHIVAGE' instants d'integration)",), - PARA_MEM = SIMP(statut='f',typ='I',max=1,defaut=6400,fr="Renseigner la taille maximale de la memoire (Mo)",), - PARA_CPU = SIMP(statut='f',typ='I',max=1,defaut=10000,fr="Renseigner le temps CPU maximal (s)",), - SCHEMA_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('EULER','ADAPT_ORDRE1','ADAPT_ORDRE2'),defaut='ADAPT_ORDRE2',fr="Choix d'un schema d'integration temporelle"), - - # POST-TRAITEMENTS DU CALCUL TRANSITOIRE ACCIDENTEL - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - CONTRAINTES = SIMP(statut='o',typ='TXM',into=('OUI', 'NON'),defaut='NON',fr="Export des contraintes en tout noeud de la ligne d'arbres"), - ), # fin POST_TRAITEMENTS - ), # fin ANALYSE_TRANSITOIRE_ACCIDENTEL - -)# fin SPECIFICATION_ANALYSE diff --git a/SPECA/SPECA_Cata_V2_00.py b/SPECA/SPECA_Cata_V2_00.py deleted file mode 100644 index f6c34acf..00000000 --- a/SPECA/SPECA_Cata_V2_00.py +++ /dev/null @@ -1,458 +0,0 @@ -## -*- coding: utf-8 -*- -# -## -------------------------------------------------- -## debut entete -## -------------------------------------------------- -# -from Accas import * - - -# rend disponible le type tuple (liste) -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - - -# -#CONTEXT.debug = 1 - -VERSION_CATALOGUE="2.0.0"; - -JdC = JDC_CATA ( code = 'SPECA', - execmodul = None, - regles=(AU_MOINS_UN('SPECIFICATION_ANALYSE',), - AU_PLUS_UN('SPECIFICATION_ANALYSE',), - ), - )# Fin JDC_CATA - -## ----- SPECIFICATION DE L'ETUDE ----- ## -SPECIFICATION_ANALYSE= MACRO (nom = 'SPECIFICATION_ANALYSE', - op = None, - UIinfo = {"groupes":("Machine tournante",)}, - fr = "Specification des analyses", - TYPE_ANALYSE = SIMP(statut='o', typ='TXM',into=('STATIQUE', 'MODALE', 'HARMONIQUE', 'TRANSITOIRE', 'TRANSITOIRE_ACCIDENTEL','SYNTHESE')), - # pour V1.1 flexion uniquement - #TYPE_COMPORTEMENT = SIMP(statut='o', typ='TXM',into=('FLEXION'),defaut='FLEXION',fr="Renseignement du type de comportement voulu"), - TYPE_COMPORTEMENT = BLOC(condition = "TYPE_ANALYSE in ('MODALE','HARMONIQUE','STATIQUE','TRANSITOIRE','TRANSITOIRE_ACCIDENTEL','SYNTHESE')", - FLEXION = SIMP(statut='o',typ='TXM',into=('OUI',),defaut='OUI',fr="Prise en compte la flexion de la ligne d'arbres: obligatoire"), - TORSION = SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Choix de la prise en compte la torsion de la ligne d'arbres"), - COMPRESSION = SIMP(statut='f',typ='TXM',into=('OUI','NON'),defaut='NON',fr="Choix de la prise en compte la traction/compression de la ligne d'arbres"), - ), - - SURCHARGE=BLOC(condition = "TYPE_ANALYSE in ('MODALE','HARMONIQUE','STATIQUE','TRANSITOIRE','TRANSITOIRE_ACCIDENTEL','SYNTHESE')",statut="f", - TEMPLATE=SIMP( statut="f", - typ=("Fichier","Fichier Template (*.tpl)"), - min=1,max=1, - fr="Utiliser un template d'analyse modifie" - ), - PARAMETRES= FACT(statut='f',min=1,max='**',fr="Definition et renseignement des parametres utilises dans le template surcharge", - CLE=SIMP(statut='o',typ='TXM',defaut=None,fr="Nom du parametre dans le template"), - TYPE=SIMP(statut='o',typ='TXM',into=('ENTIER','REEL','CHAINE','FICHIER','REPERTOIRE'),fr="Nature du parametre a renseigner"), - ENTIER=BLOC(condition="TYPE=='ENTIER'", - VALUE=SIMP(statut='o',typ='I',defaut=0,fr="Renseignement d'un nombre entier"), - ), - REEL=BLOC(condition="TYPE=='REEL'", - VALUE=SIMP(statut='o',typ='R',defaut=0.0,fr="Renseignement d'un nombre reel"), - ), - CHAINE=BLOC(condition="TYPE=='CHAINE'", - VALUE=SIMP(statut='o',typ='TXM',defaut='',fr="Renseignement d'une chaine de caracteres"), - ), - FICHIER=BLOC(condition="TYPE=='FICHIER'", - VALUE=SIMP(statut='o',typ=("Fichier","All files (*.*)"),fr="Renseignement d'un fichier") - ), - REPERTOIRE =BLOC(condition="TYPE=='REPERTOIRE'", - VALUE=SIMP(statut='o',typ="Repertoire",fr="Renseignement d'un repertoire") - ), - - ), - ), - - - -### ----- CALCUL STATIQUE ----- ## - ANALYSE_STATIQUE = BLOC(condition = "TYPE_ANALYSE == 'STATIQUE' ",fr="Analyse statique (vitesse de rotation nulle de la ligne d'arbres)" - - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('POIDS','FORCE','MOMENT','DELIGNAGE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - POIDS = BLOC(condition = "TYPE == 'POIDS' ",fr="Prise en compte du champ de pesanteur", - GRAVITE = SIMP(statut='o',typ='R',defaut=9.81,fr="Renseignement de l'intensite de la gravite (m/s^2)"), - DIRECTION = SIMP(statut='o',typ='R',min=3,max=3,defaut=(1,0,0),fr="Renseignement de la direction de la force de gravite"), - ), # fin POIDS - FORCE = BLOC(condition = "TYPE == 'FORCE' ",fr="Application d'une force ponctuelle", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique la force (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant la force (N)"), - #FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin FORCE - MOMENT = BLOC(condition = "TYPE == 'MOMENT' ",fr="Application d'un moment ponctuel", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - ), # fin MOMENT - DELIGNAGE = BLOC(condition = "TYPE == 'DELIGNAGE' ",fr="Application d'un delignage sur un ou plusieurs paliers", - NOM_PALIER = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom du palier deligne"), - DX = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du delignage suivant X du palier (m)"), - DY = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du delignage suivant Y du palier (m)"), - ), # fin Delignage - ), #fin CHARGES - - ## POST-TRAITEMENTS DU CALCUL STATIQUE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','REAC_NODA','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition="TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement",regles=UN_PARMI('POSITION','PALIER'), - POSITION = SIMP(statut='f',typ='R',defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',max='**',typ='TXM',defaut=None,fr="Renseignement du nom du palier"), - ), # fin DEPL - CONTRAINTES = BLOC(condition="TYPE == 'CONTRAINTES' ",fr="Export des contraintes",regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',defaut=None,fr="Renseignement de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),fr="Export pour tous les noeuds"), - ), # fin CONTRAINTES - REAC_NODA = BLOC(condition="TYPE == 'REAC_NODA' ", fr="Reaction nodale",regles=UN_PARMI('POSITION','PALIER'), - POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la reaction"), - #ZONE = SIMP(statut='f',typ='TXM',defaut=None,fr="Renseignement de l'etiquette de la zone de la reaction"), - PALIER = SIMP(statut='f',max='**',typ='TXM',defaut=None,fr="Renseignement du nom du palier"), - ), # fin REAC_NODA - ), # fin POST_TRAITEMENT - ## fin bloc POST_TRAITEMENTS - - ),# fin ANALYSE_STATIQUE - -### ----- CALCUL MODALE ----- ## - ANALYSE_MODALE = BLOC(condition = "TYPE_ANALYSE == 'MODALE' ",fr="Analyse modale de la ligne d'arbres" - BASE_CALCUL = SIMP(statut='o',typ="TXM",into=('MODALE','PHYSIQUE'),defaut=None,fr="Choix du type de resolution de l'analyse modale (sur base physique ou sur base modale)"), - BASE_MODALE = BLOC(condition="BASE_CALCUL=='MODALE'",fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES=SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX=SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ), # fin BASE_MODALE - AMORTISSEMENT = SIMP(statut='o',typ='TXM',min=1,max=1,into=('OUI','NON'),defaut='OUI',fr="Choix de la prise en compte de l'amortissment"), - GYROSCOPIE = SIMP(statut='o',typ='TXM',min=1,max=1,into=('OUI','NON'),defaut='OUI',fr="Choix de la prise en compte de la gyroscopie"), - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste des vitesses de rotation etudiees (tr/min)"), - OPTION_CALCUL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('PLUS_PETITE','CENTRE'),defaut=None,fr="Choix de l'option de calcul"), - PLUS_PETITE = BLOC(condition="OPTION_CALCUL=='PLUS_PETITE'",fr="Option PLUS_PETITE",fr="Calcul des n premieres frequences" - NMAX_FREQ = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre maximal de frequences a calculer"), - ), # fin PLUS_PETITE - CENTRE = BLOC(condition="OPTION_CALCUL=='CENTRE'",fr="Option CENTRE",fr="Calcul d'un nombre n de frequences autour d'une frequence donnee" - FREQ = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence centrale (Hz)"), - NMAX_FREQ = SIMP(statut='o',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre maximal de frequences"), - ), # fin CENTRE - METHODE=SIMP(statut='f',typ='TXM',min=1,max=1,into=('QZ','SORENSEN'),defaut='SORENSEN',fr="Choix de la methode de resolution"), - - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',defaut=None,into=('TABLEAU_PARAM_MODAUX','DIAG_CAMPBELL'),fr="Choix du type de post-traitement",), - #TABLEAU_PARAM_MODAUX = SIMP(statut='f',typ='TXM',min=1,max=1,defaut=None,into=('SIMPLE','COMPLET'),fr="Choix du type de tableau"), - TABLEAU_PARAM_MODAUX = BLOC(condition = "TYPE == 'TABLEAU_PARAM_MODAUX'",fr="Choix du type de tableau", - TABLEAU = SIMP(statut='o',max=1,typ='TXM',defaut='SIMPLE',into=('SIMPLE','COMPLET'),), - ), # fin TABLEAU_PARAM_MODAUX - DIAG_CAMPBELL = BLOC(condition = "TYPE == 'DIAG_CAMPBELL'", fr = "Choix des options du diagramme de Campbell", - PRECESSION = SIMP(statut='o',typ='TXM',max=1,defaut=None,into=('SOMME','PLUS_GRANDE_ORBITE'),fr="Critere de determination de la precession"), - SUIVI = SIMP(statut='o',typ='TXM',max=1,defaut=None,into=('SANS_TRI','TRI_PREC','TRI_FORM_MOD'),fr="Methode de suivi des modes"), - # 20121018 ajout de NB_MODES a la demande de Ionel Nistor - NB_MODES = SIMP(statut='o',typ='I',max=1,defaut=None,fr="Nombre de modes affiches dans le diagramme, doit etre inferieur au nombre de modes calcules (NMAX_FREQ)"), - ), # fin DIAG_CAMPBELL - #DIAG_CAMPBELL = SIMP(statut='f',typ='TXM',min=1,max=1,defaut=None,into=('OUI','NON'),fr="Choix de calcul du diagramme de Campbell (uniquement si plusieurs vitesses de rotation ont ete renseignees)",), - ), # fin POST_TRAITEMENTS - - - ), # fin ANALYSE_MODALE - -## ----- CALCUL HARMONIQUE ----- ## - ANALYSE_HARMONIQUE = BLOC(condition = "TYPE_ANALYSE == 'HARMONIQUE' ",fr="Analyse harmonique de la ligne d'arbres", - - ## specification calcul harmonique - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('PHYSIQUE','MODALE'),defaut=None,fr="Choix du type de resolution de l'analyse modale (sur base physique ou sur base modale)"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Resolution sur base modale", - #MODALE = FACT(statut='o', - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - #),# fin MODALE - ),# fin BASE_MODALE - AMORTISSEMENT_P = BLOC(condition = "BASE_CALCUL == 'PHYSIQUE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - ), # fin AMORTISSEMENT_P - AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_MODALE - ), # fin AMORTISSEMENT_M - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste des vitesses de rotation etudiees (tr/min)"), - # 20121018 retrait de defaut_fn a la demande de EDF - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('BALOURD','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - BALOURD = BLOC(condition = "TYPE == 'BALOURD' ",fr="Chargement de type balourd", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique le balourd (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude du balourd (kg.m)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (degres)"), - ),# fin BALOURD - HARMONIQUE = BLOC(condition = "TYPE == 'HARMONIQUE' ",fr="Charge harmonique", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique la charge harmonique (m)"), - FREQUENCE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence d'excitation harmonique (Hz)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude de la charge harmonique, (N)"), - FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la liste de coefficients appliques sur la charge harmonique (autant que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY','DZ','DRZ'),defaut=None,fr="Renseignement du DDL sur lequel s'applique la charge harmonique"), - ), # fin HARMONIQUE - ), #FIN CHARGES - ## POST-TRAITEMENTS DU CALCUL HARMONIQUE - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_RELA','REAC_NODA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition = "TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement",regles=UN_PARMI('POSITION','PALIER'), - POSITION = SIMP(statut='f',typ='R',defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',max='**',typ='TXM',defaut=None,fr="Renseignement du nom du palier"), - ), # fin DEPL - CONTRAINTES = BLOC(condition="TYPE == 'CONTRAINTES' ",fr="Export des contraintes",regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),min=1,max=1,fr="Export pour tous les noeuds"), - ), # fin CONTRAINTES - ), - ## fin bloc POST_TRAITEMENTS - - ),# fin ANALYSE_HARMONIQUE - -### ----- CALCUL TRANSITOIRE ----- ## - ANALYSE_TRANSISTOIRE = BLOC(condition = "TYPE_ANALYSE == 'TRANSITOIRE' ",fr="Analyse transitoire de la ligne d'arbres", - - VITESSE = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,into=('CONSTANTE','VARIABLE'),fr="Renseignement du type de vitesse de rotation consideree"), - BASE_C = BLOC(condition ="VITESSE == 'CONSTANTE'",fr="Analyse transitoire a vitesse constante" - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('PHYSIQUE','MODALE'),defaut=None,fr="Choix du type de resolution de l'analyse transitoire (sur base physique ou sur base modale)"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ),# fin BASE_MODALE - AMORTISSEMENT_M = BLOC(condition = "BASE_CALCUL == 'MODALE' ", - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_MODALE - ), # fin AMORTISSEMENT_M - ), # fin BASE_C - BASE_V = BLOC(condition ="VITESSE == 'VARIABLE'",fr="Analyse transitoire a vitesse variable" - BASE_CALCUL = SIMP(statut='o',typ='TXM',into=('MODALE'),defaut='MODALE',fr="Choix du type de resolution de l'analyse transitoire (obligatoirement sur base modale)"), - BASE_MODALE = BLOC(condition = "BASE_CALCUL == 'MODALE' ", fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ),# fin BASE_MODALE - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('REDUIT','STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_MODAL = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max=1,defaut=None,fr="Renseignement de l'amortissement modal reduit (en %)"), - AMOR_REDUIT = SIMP(statut='o', typ='R', min=1, max='**',defaut=None,fr="Renseignement de l'amortissement modal reduit (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_MODALE - ), # fin BASE_C - VITESSE_CONSTANTE = BLOC(condition = "VITESSE == 'CONSTANTE' ", fr="Vitesse de rotation constante", - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation (tr/min)"), - ),# fin VITESSE_CONSTANTE - VITESSE_VARIABLE = BLOC(condition = "VITESSE == 'VARIABLE' ", fr="Vitesse de rotation variable", regles=UN_PARMI('LINEAIRE','EXPONENTIELLE','FORMULE'), - LINEAIRE = FACT(statut='f',min=1,max=1,fr="Variation lineaire de la vitesse de rotation", - VITESSE_INITIALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation initiale (tr/min)",), - VITESSE_FINALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation finale (tr/min)",), - DEPHASAGE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la postion angulaire initiale (degres)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement du pas de mise a jour des matrices des paliers (tr/min)"), - ),# fin LINEAIRE - EXPONENTIELLE = FACT(statut='f',min=1,max=1,fr="Variation exponentielle de la vitesse de rotation", - VITESSE_INITIALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation initiale (tr/min)",), - VITESSE_FINALE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation finale (tr/min)",), - DEPHASAGE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la postion angulaire initiale (degres)"), - LAMBDA = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du parametre de la loi exponentielle (Hz)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement du pas de mise a jour des matrices des paliers (tr/min)"), - ),# fin EXPONENTIELLE - FORMULE = FACT(statut='f',min=1,max=1,fr="Fonction personnalisee decrivant la variation de la vitesse de rotation", - FICHIER = SIMP(statut='o',typ=('Fichier','Formule vitesse rotation (*.*)'),min=1,max=1,defaut=None,fr="Renseignement du fichier contenant les fonctions de la vitesse de rotation"), - PHI = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule de position angulaire (max 8 caractere)"), - OM = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule de vitesse angulaire (max 8 caractere)"), - ACC = SIMP(statut='o',typ='TXM',min=1,max=1,defaut=None,fr="Renseignement du nom de la formule d'acceleration angulaire (max 8 caractere)"), - VITE_MOY = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la moyenne des vitesses balayees (tr/min)"), - PAS_MAJ = SIMP(statut='f',typ='R',min=1,max='**',defaut=None,fr="Renseignement du pas de mise a jour des matrices des paliers (tr/min)"), - ),# fin FORMULE - ),# fin VITESSE_VARIABLE - #POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('POIDS','BALOURD','FORCE','MOMENT','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - BALOURD = BLOC(condition = "TYPE == 'BALOURD' ",fr="Chargement de type balourd", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique le balourd (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude du balourd (kg.m)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (degres)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du balourd (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre l'amplitude nominale du balourd (s)"), - ),# fin BALOURD - POIDS = BLOC(condition = "TYPE == 'POIDS' ",fr="Prise en compte du champ de pesanteur", - GRAVITE = SIMP(statut='o',typ='R',defaut=9.81,fr="Renseignement de l'intensite de la gravite (m/s^2)"), - DIRECTION = SIMP(statut='o',typ='R',min=3,max=3,defaut=(1,0,0),fr="Renseignement de la direction de la force de gravite"), - ), # fin POIDS - FORCE = BLOC(condition = "TYPE == 'FORCE' ",fr="Application d'une force ponctuelle", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique la force (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant la force (N)"), - #FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin FORCE - MOMENT = BLOC(condition = "TYPE == 'MOMENT' ",fr="Application d'un moment ponctuel", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - ), # fin MOMENT - HARMONIQUE = BLOC(condition = "TYPE == 'HARMONIQUE' ",fr="Charge harmonique", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique la charge harmonique (m)"), - FREQUENCE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence d'excitation harmonique (Hz)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude de la charge harmonique, (N)"), - #FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge harmonique (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY','DZ','DRZ'),defaut=None,fr="Renseignement du DDL sur lequel s'applique la charge harmonique"), - ), # fin HARMONIQUE - ), #fin CHARGES - - ETAT_INIT = FACT(statut='o',fr="Renseignement de l'etat initial du calcul", - #RESULTAT = SIMP(statut='o',typ=('sd_resultat'),max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - RESULTAT = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Choix de la structure de donnees de type 'resultat' de Code_Aster"), - INST_INIT = SIMP(statut='f',typ='R',max=1,defaut=0.0,fr="Renseignement de l'instant de la structure de donnees a partir duquel il faut lancer le calcul (s)"), - ), # fin ETAT_INIT - PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS','LISTE'),defaut=None,fr="Choix du type de discretisation temporelle"), - #PAS = BLOC(condition = "VITESSE == 'VARIABLE'",fr="Renseignement des parametres des pas", - PAS = BLOC(condition = "PARAM_TEMPS == 'PAS'",fr="Renseignement de pas de temps", - TEMPS_PAS = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps d'integration(en s)"), - INST_INI = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de l'instant initial du calcul (s)"), - INST_FIN = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de l'instant final du calcul (s)"), - ), # fin TEMPS_PAS - LIST_INST = BLOC(condition = "PARAM_TEMPS == 'LISTE'",fr="Renseignement d'une liste d'instants", - LISTE = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement d'une liste d'instants auxquels resoudre le calcul (s)"), - ), # fin LIST_INST - PAS_ARCHIVAGE = SIMP(statut='o',typ='I',max=1,defaut=1,fr="Renseignement du pas d'archivage des resultats (une sauvegarde tous les 'PAS_ARCHIVAGE' instants d'integration)",), - SCHEMA_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('NEWMARK','EULER','WILSON','ADAPT_ORDRE1','ADAPT_ORDRE2','DIFF_CENTRE'),defaut='NEWMARK',fr="Choix d'un schema d'integration temporelle"), - NEWMARK = BLOC(condition = "SCHEMA_TEMPS == 'NEWMARK' ",fr="Methode de NEWMARK", - BETA = SIMP(statut='f',typ='R',max=1,defaut=0.25,fr="Renseignement de la valeur beta pour la methode de NEWMARK"), - GAMMA = SIMP(statut='f',typ='R',max=1,defaut=0.25,fr="Renseignement de la valeur gamma pour la methode de NEWMARK"), - ),# fin NEWMARK - WILSON = BLOC(condition = "SCHEMA_TEMPS == 'WILSON' ",fr="Methode de WILSON", - THETA = SIMP(statut='f',typ='R',max=1,defaut=1.4,fr="Renseignement de la valeur theta pour la methode de WILSON"), - ), # fin WILSON - - ## POST_TRAITEMENTS de l'analyse transitoire - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition = "TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement",regles=UN_PARMI('POSITION','PALIER'), - #POSITION_DEPL = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du deplacement"), - POSITION = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - ), # fin DEPL - CONTRAINTES = BLOC(condition = "TYPE == 'CONTRAINTES' ",fr="Export des contraintes", - regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),max=1,fr="Export pour tous les noeuds"), - ), # fin CONTRAINTES - ), # fin POST_TRAITEMENTS - - ), # fin ANALYSE_TRANSISTOIRE - - -### ----- CALCUL COUPLE CODE_ASTER/EYDOS ----- ## - ANALYSE_TRANSITOIRE_ACCIDENTEL = BLOC(condition = "TYPE_ANALYSE == 'TRANSITOIRE_ACCIDENTEL' ",fr="Analyse transitoire accidentelle de la ligne d'arbres", - #BASE_MODALE = FACT(statut='o', fr="Choix des parametres de la base modale", - #POIDS = SIMP(statut='o',typ='TXM',into=('OUI','NON'),defaut='OUI',fr="Choix d'application d'un poids"), - BASE_MODALE = BLOC(condition = "True", fr="Resolution sur base modale", - regles=UN_PARMI('NB_MODES','FREQ_MAX'), - NB_MODES = SIMP(statut='f',typ='I',min=1,max=1,defaut=None,fr="Renseignement du nombre de modes constituant la base de projection"), - FREQ_MAX = SIMP(statut='f',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence maximale des modes constituant la base de projection (Hz)"), - ),# fin BASE_MODALE - # cft 20131217 suppression amortissement reduit - #AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL','REDUIT'),defaut=None,fr="Choix du type d'amortissement"), - AMORTISSEMENT = SIMP(statut='o', typ='TXM',into=('STRUCTUREL'),defaut=None,fr="Choix du type d'amortissement"), - AMOR_REDUIT = BLOC(condition = "AMORTISSEMENT == 'REDUIT' ", - #LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements"), - LIST_AMOR = SIMP(statut='o', typ='R', min=1,max='**',defaut=None,fr="Renseignement de la liste des amortissements modaux reduits (en %), la taille de la liste doit etre egale au nombre de modes constituant la base de projection"), - ),# fin AMOR_REDUIT - VITESSE_ROTATION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la vitesse de rotation (tr/min)"), - - CHARGES= FACT(statut='o',min=1,max='**',fr="Definition et renseignement du chargement applique", - TYPE = SIMP(statut='o',typ='TXM',into=('POIDS','BALOURD','FORCE','MOMENT','HARMONIQUE'),defaut=None,min=1,max=1,fr="Choix du type de chargement a appliquer"), - BALOURD = BLOC(condition = "TYPE == 'BALOURD' ",fr="Chargement de type balourd", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique le balourd (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude du balourd (kg.m)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge balourd (degres)"), - INST_APPLI= SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement de l'instant d'apparition du balourd (s)"), - TEMPS_MONTEE=SIMP(statut='f',typ='R',min=1,max=1,defaut=0,fr="Renseignement du temps necessaire pour atteindre l'amplitude nominale du balourd (s)"), - ),# fin BALOURD - POIDS = BLOC(condition = "TYPE == 'POIDS' ",fr="Prise en compte du champ de pesanteur", - GRAVITE = SIMP(statut='o',typ='R',defaut=9.81,fr="Renseignement de l'intensite de la gravite (m/s^2)"), - DIRECTION = SIMP(statut='o',typ='R',min=3,max=3,defaut=(1,0,0),fr="Renseignement de la direction de la force de gravite"), - ), # fin POIDS - FORCE = BLOC(condition = "TYPE == 'FORCE' ",fr="Application d'une force ponctuelle", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - #FONC_APPLI = SIMP(statut='f',typ='R',min=2,max=2,defaut=None,fr="Renseignement de la fonction appliquee"), - ), # fin FORCE - MOMENT = BLOC(condition = "TYPE == 'MOMENT' ",fr="Application d'un moment ponctuel", - POSITION = SIMP(statut='o',typ='R',defaut=None,fr="Renseignement de la position axiale ou s'applique le moment (m)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=3,max=3,defaut=None,fr="Renseignement des 3 composantes decrivant le moment (N/m)"), - ), # fin MOMENT - HARMONIQUE = BLOC(condition = "TYPE == 'HARMONIQUE' ",fr="Charge harmonique", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la position axiale ou s'applique la charge harmonique (m)"), - FREQUENCE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la frequence d'excitation harmonique (Hz)"), - MAGNITUDE = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de l'amplitude de la charge harmonique, (N)"), - #FONC_APPLI = SIMP(statut='o',typ='R',min=1,max='**',defaut=None,fr="Renseignement de la fonction appliquee de la charge harmonique (autant de valeurs que de vitesses de rotation)"), - PHASE_DEG = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement du decalage de la phase de la charge harmonique (degres)"), - TYPE_DDL = SIMP(statut='o',typ='TXM',min=1,max=1,into=('DX','DRX','DY','DRY','DZ','DRZ'),defaut=None,fr="Renseignement du DDL sur lequel s'applique la charge harmonique"), - ), # fin HARMONIQUE - ), #fin CHARGES - ETAT_INIT = FACT(statut='o',fr="Renseignement de l'etat initial du calcul", - #RESULTAT = SIMP(statut='o',typ=('sd_resultat'),max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - # 20121126 - #RESULTAT = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Choix de la structure de donnees resultat de code aster "), - INST_INIT = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de l'instant initial a partir duquel il faut lancer le calcul (s)"), - ), # fin ETAT_INIT - #PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS','LIST_INST'),defaut=None,fr="Choix du type de parametrage temporel"), - # 20121126 - PARAM_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('PAS'),defaut="PAS",fr="Choix du type de discretisation temporelle",), - PAS = BLOC(condition = "PARAM_TEMPS == 'PAS' ",fr="Renseignement de pas de temps", - PAS_ASTER = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps d'integration Code_Aster (en s)",), - PAS_EDYOS = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement du pas de temps d'integration Edyos (en s)",), - INST_FIN = SIMP(statut='o',typ='R',max=1,defaut=None,fr="Renseignement de l'instant final du calcul (en s)",), - ), # fin TEMPS_PAS - #LIST_INST = BLOC(condition = "PARAM_TEMPS == 'LIST_INST' ",fr="Renseignement d'une liste de pas", - #LISTE = SIMP(statut='f',typ='R',min=1,max='**',defaut=None,fr="Renseignement d'une liste de pas"), - #), # fin LIST_INST - PAS_ARCHIVAGE = SIMP(statut='o',typ='I',max=1,defaut=1,fr="Renseignement du pas d'archivage des resultats (une sauvegarde tous les 'PAS_ARCHIVAGE' instants d'integration)",), - PARA_MEM = SIMP(statut='f',typ='I',max=1,defaut=6400,fr="Renseigner la taille maximale de la memoire (Mo)",), - PARA_CPU = SIMP(statut='f',typ='I',max=1,defaut=10000,fr="Renseigner le temps CPU maximal (s)",), - SCHEMA_TEMPS = SIMP(statut='o',typ='TXM',max=1,into=('EULER','ADAPT_ORDRE1','ADAPT_ORDRE2'),defaut='ADAPT_ORDRE2',fr="Choix d'un schema d'integration temporelle"), - - ## POST_TRAITEMENTS de l'analyse transitoire - POST_TRAITEMENTS = FACT(statut='o',max='**',fr="Definition et renseignement des post-traitements", - TYPE = SIMP(statut='o',typ='TXM',into=('DEPL_ABS','DEPL_RELA','EFFORTS_PAL','CONTRAINTES'),defaut=None,fr="Choix du type de post-traitement"), - DEPL = BLOC(condition = "TYPE in ('DEPL_ABS','DEPL_RELA') ",fr="Deplacement", - POSITION = SIMP(statut='o',typ='R',min=1,max=1,defaut=None,fr="Renseignement de la coordonnee du deplacement"), - PALIER = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - ), # fin DEPL - # pas d'info à rentrer pour les efforts palier (post-traitement sur tout les paliers) - #EFFORTS_PAL = BLOC(condition = "TYPE == 'EFFORTS_PAL'", fr = "Efforts paliers", - #PALIER = SIMP(statut='o',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette du palier"), - #), # fin EFFORTS_PAL - CONTRAINTES = BLOC(condition = "TYPE == 'CONTRAINTES' ",fr="Export des contraintes", - regles=UN_PARMI('POSITION','ZONE','TOUT'), - POSITION = SIMP(statut='f',typ='R',max=1,defaut=None,fr="Renseignement de la coordonnee de la contrainte"), - ZONE = SIMP(statut='f',typ='TXM',max=1,defaut=None,fr="Renseignement de l'etiquette de la zone de la contrainte"), - TOUT = SIMP(statut='f',typ='TXM',into=('OUI'),max=1,fr="Export pour tous les noeuds"), - ), # fin CONTRAINTES - ), # fin POST_TRAITEMENTS - - - ), # fin ANALYSE_TRANSITOIRE_ACCIDENTEL - -)# fin SPECIFICATION_ANALYSE diff --git a/SPECA/configuration_SPECA.py b/SPECA/configuration_SPECA.py deleted file mode 100644 index b9b56fe0..00000000 --- a/SPECA/configuration_SPECA.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/SPECA/prefs.py b/SPECA/prefs.py deleted file mode 100644 index cba83434..00000000 --- a/SPECA/prefs.py +++ /dev/null @@ -1,4 +0,0 @@ -code='SPECA' -import sys, os -if os.path.abspath(__file__) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/SPECA/prefs_SPECA.py b/SPECA/prefs_SPECA.py deleted file mode 100644 index 21b1e76c..00000000 --- a/SPECA/prefs_SPECA.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# -catalogues=( - ('SPECA','V2016',os.path.join(repIni,'SPECA_Cata_V2016.py'),'python','python'), -) diff --git a/SPECA/properties.py b/SPECA/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/SPECA/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/SPECA/qtEficasSPECA.py b/SPECA/qtEficasSPECA.py deleted file mode 100755 index e02b8c74..00000000 --- a/SPECA/qtEficasSPECA.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour MAP -""" -# Modules Python -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - - -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/Telemac/.monCode_Cata.py.swp b/Telemac/.monCode_Cata.py.swp deleted file mode 100644 index 6d2dd181..00000000 Binary files a/Telemac/.monCode_Cata.py.swp and /dev/null differ diff --git a/Telemac/CMakeLists.txt b/Telemac/CMakeLists.txt deleted file mode 100644 index 40bcc8f6..00000000 --- a/Telemac/CMakeLists.txt +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - - -install ( FILES aideAuxConvertisseurs.py configuration_TELEMAC.py dicoCasEnToCata.py dicoCasFrToCata.py enum_Telemac2d_auto.py prefs.py prefs_TELEMAC.py properties.py qtEficas_Telemac.py telemac2d_cata_auto.py labelCataToIhm_en.qm labelCataToIhm_fr.qm telemac2d_dicoCasEnToCata.py telemac2d_dicoCasFrToCata.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/Telemac - ) - - - -### Local Variables: -### mode: cmake -### End: diff --git a/Telemac/__init__.py b/Telemac/__init__.py deleted file mode 100644 index df53d551..00000000 --- a/Telemac/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# diff --git a/Telemac/aideAuxConvertisseurs.py b/Telemac/aideAuxConvertisseurs.py deleted file mode 100644 index a00a8f27..00000000 --- a/Telemac/aideAuxConvertisseurs.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -"""Ce module contient le plugin generateur de fichier au format Code_Carmel3D pour EFICAS. -""" - -ListeSupprimeCasToEficas = ('Validation','Parallel_Processors') diff --git a/Telemac/artemis_cata_auto.py b/Telemac/artemis_cata_auto.py deleted file mode 100644 index 7627bc48..00000000 --- a/Telemac/artemis_cata_auto.py +++ /dev/null @@ -1,1966 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'ARTEMIS', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant le maillage du calcul a realiser.""", - ang = """Name of the file which contains the computational mesh.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_SMOOTHING = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de lissages effectues sur la topographie. -Chaque lissage, effectue a l aide d une matrice de masse, -est conservatif. -Utilise lorsque les donnees de bathymetrie donnent des resultats -trop irreguliers apres interpolation.""", - ang = """Number of smoothings done on the topography. -Each smoothing, using a mass matrix, is conservative. -It is used when bathymetric data provide too irregular results -after interpolation.""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier FORTRAN a soumettre, contenant les -sous-programmes specifiques au modele.""", - ang = """Name of the FORTRAN file to be submitted, including specific -subroutines of the model.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est construit de facon automatique par le mailleur et \stbtel -au moyen de couleurs affectees aux noeuds des frontieres du domaine -de calcul.""", - ang = """Name of the boundary conditions file. It is automatically built -by \stbtel or by the mesh generator MATISSE.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier eventuel contenant la bathymetrie associee au -maillage. -Si ce mot-cle est utilise, c est cette bathymetrie qui sera -utilisee pour le calcul.""", - ang = """Name of a potential bathymetry file. If this keyword is specified, -the bathymetry which it is defining is accounted for.""", - ), -# ----------------------------------- - BINARY_DATA_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de donnees, code en binaire, mis a la disposition de -l utilisateur.""", - ang = """Data file, written in binary mode, at the disposal of the user.""", - ), -# ----------------------------------- - BINARY_DATA_FILE_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de donnees, code en binaire, mis a la disposition de -l utilisateur.""", - ang = """Data file, written in binary mode, at the disposal of the user.""", - ), -# ----------------------------------- - FORMATTED_DATA_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de donnees formate mis a la disposition de l utilisateur.""", - ang = """Data file, written in ASCII mode, at the disposal of the user.""", - ), -# ----------------------------------- - FORMATTED_DATA_FILE_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de donnees formate mis a la disposition de l utilisateur.""", - ang = """Data file, written in ASCII mode, at the disposal of the user.""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. -Le \telkey{FICHIER DE REFERENCE} est alors considere comme une -reference a laquelle on va comparer le calcul. La comparaison est -effectuee par le sous-programme \telfile{BIEF\_VALIDA} qui peut etre une -comparaison avec une solution exacte par exemple.""", - ang = """This option is primarily used for the validation documents. -The \telkey{REFERENCE FILE} is then considered as a -reference which the computation is going to be compared with. -The comparison is made by the subroutine \telfile{BIEF\_VALIDA}, -which can be modified as to -so as to include, for example, a comparison with an exact solution.""", - ), -# ----------------------------------- - b_VALIDATIONG = BLOC(condition="VALIDATION == True", -# ----------------------------------- -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE REFERENCE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """\telkey{REFERENCE FILE} format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de resultats de reference pour la validation.""", - ang = """Binary-coded result file for validation.""", - ), - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE GEOMETRIE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{GEOMETRY FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BINARY_DATA_FILE_1_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE DONNEES BINAIRE 1}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """\telkey{BINARY DATA FILE 1} format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BINARY_DATA_FILE_2_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE DONNEES BINAIRE 2}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """\telkey{BINARY DATA FILE 2} format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), - ), -# ----------------------------------- - GLOBAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TITLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie.""", - ang = """Title of the studied case.""", - ), -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Longueur du vecteur pour les machines vectorielles.""", - ang = """Vector length on vector machines.""", - ), -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs pour la decomposition en parallele : -\begin{itemize} -\item 0 : 1 machine, compilation sans bibliotheque de parallelisme ; -\item 1 : 1 machine, compilation avec bibliotheque de parallelisme ; -\item 2 : 2 processeurs ou machines en parallele. -etc... -\end{itemize}""", - ang = """Number of processors for domain partition: -\begin{itemize} -\item 0: 1 machine, compiling without parallel library, -\item 1: 1 machine, compiling with a parallel library, -\item 2: 2 processors or machines in parallel. -etc... -\end{itemize}""", - ), -# ----------------------------------- - CHECKING_THE_MESH = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI on appelle le sous-programme \telfile{CHECKMESH} -qui verifie la coherence du maillage, points superposes, etc.""", - ang = """If this keyword is equal to YES, a call to subroutine -\telfile{CHECKMESH} will look for errors in the mesh, -superimposed points, etc.""", - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GRAPHIC_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode, en nombre de periodes de houle, -d impression des \telkey{VARIABLES POUR LES SORTIES GRAPHIQUES} -(voir ce mot-cle) dans le \telkey{FICHIER DES RESULTATS}.""", - ang = """Fixes the period, in number of wave periods, for the writing -of the \telkey{VARIABLES FOR GRAPHIC PRINTOUTS} (see this keyword) -in the \telkey{RESULTS FILE}.""", - ), -# ----------------------------------- - VARIABLES_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["wave height","wave phase","velocity u (free surface)(t=0)","velocity v (free surface)(t=0)","free surface elevation (t=0)","bottom elevation","still water height","phase velocity","group velocity","wave number","real potential","imaginal potential","prive(1,1)","prive(1,2)","prive(1,3)","prive(1,4)","first mean spectral period","second mean spectral period","third mean spectral period","force along X","force along Y","wave incidence radian","breaking rate","SXX stress","SXY stress","SYY stress"], - defaut = [], - fr = """Noms des variables que l utilisateur veut ecrire dans -le \telkey{FICHIER DES RESULTATS}. -Le choix des separateurs est libre. -Les possibilites offertes sont les suivantes : -\begin{itemize} -\item HS hauteur de la houle ; -\item PHAS phase de la houle ; -\item U0 vitesse u en surface (a $t$ = 0) ; -\item V0 vitesse v en surface (a $t$ = 0) ; -\item ZS cote de la surface libre (a $t$ = 0) ; -\item ZF fond ; -\item HW hauteur d eau au repos ; -\item C vitesse de phase ; -\item CG vitesse de groupe ; -\item K nombre d onde ; -\item PHIR potentiel reel ; -\item PHII potentiel imaginaire ; -\item D prive(1,1) (variable 13) ; -\item E prive(1,2) (variable 14) ; -\item F prive(1,3) (variable 15) ; -\item G prive(1,4) (variable 16) ; -\item T01 premiere periode moyenne spectrale ; -\item T02 deuxieme periode moyenne spectrale ; -\item TM troisieme periode moyenne spectrale ; -\item FX force en X ; -\item FY force en Y ; -\item INC incidence de la houle ; -\item QB taux de deferlement ; -\item SXX contrainte SXX ; -\item SXY contrainte SXY ; -\item SYY contrainte SYY. -\end{itemize} -L utilisateur dispose de 4 champs libres, qu il peut -utiliser pour ecrire dans le fichier des resultats des variables -qu il cree lui-meme. Ces variables propres a l utlisateur doivent -etre calculees dans le sous-programme \telfile{CALRES} et le nom que -l on desire leur donner doit etre ecrit dans le sous-programme -\telfile{NOMVAR}. -Ces 4 champs sont : -\telfile{D, E, F, G} qui correspondent aux tableaux -\telfile{PRIVE(1,1), PRIVE(1,2), PRIVE(1,3), PRIVE(1,4)}. -A la difference des variables - precedentes, celles-ci sont conservees dans tout le programme, et - peuvent donc etre reutilisees. - Dans ce dernier cas ne pas oublier de donner une taille - suffisante au tableau PRIVE, -en precisant le parametre \telfile{NPRIV} -(dans le programme principal).""", - ang = """Names of the variables that the user wants to write in the -\telkey{RESULTS FILE}. -Separators between variable names can be choosen free. - The allowable values are: -\begin{itemize} -\item HS=wave height, -\item PHAS=wave phase, -\item U0=velocity u (free surface at $t$ = 0), -\item V0=velocity v (free surface at $t$ = 0), -\item ZS=free surface elevation (at $t$ = 0), -\item ZF=bottom elevation, -\item HW=still water height, -\item C=phase velocity, -\item CG=group velocity, -\item K=wave number, -\item PHIR=real potential, -\item PHII=imaginal potential, -\item D=prive(1,1), -\item E=prive(1,2), -\item F=prive(1,3), -\item G=prive(1,4), -\item T01=first mean spectral period, -\item T02=second mean spectral period, -\item TM=third mean spectral period, -\item FX=force along X, -\item FY=force along Y, -\item INC=wave incidence radian, -\item QB=breaking rate, -\item SXX=SXX stress, -\item SXY=SXY stress, -\item SYY=SYY stress. -\end{itemize} -The user has 4 free variables at his/her disposal to create other -variables by him/herself. These variables have to be computed -in the \telfile{CALRES} subroutine, and the name that we want to -attribute has to be precibed in the \telfile{NOMVAR} subroutine. -The 4 free variable fields are: -\telfile{D, E, F, G} which corresponds to the private arrays -\telfile{PRIVE(1,1), PRIVE(1,2), PRIVE(1,3) and PRIVE (1,4)}. -Contrary to the previous - variables, these are conserved all through the computation, and can - be used again. - Do not forget to specify the number of private arrays you want to -use in the principal programme (variable \telfile{NPRIV}).""", - ), -# ----------------------------------- - RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats du calcul, -avec la periodicite donnee par le mot cle -\telkey{PERIODE DE SORTIE GRAPHIQUE}. -Sur IBM, ce fichier est alloue automatiquement s il n existe pas, -avec les caracteristiques suivantes : - Format d enregistrement : VBS ; - Longueur d enregistrement : X ; - Taille de bloc : 6204 ; - Nombre de pistes : 50 en primaire, 10 en secondaire. -La place memoire ainsi reservee est suffisante pour la plupart des -calculs de dimension moyenne.""", - ang = """Name of the results file corresponding to the computations and -which contains the variables specified by the keyword -\telkey{VARIABLES FOR GRAPHIC PRINTOUTS}.""", - ), -# ----------------------------------- - BINARY_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier des resultats, code en binaire, mis a la disposition de -l utilisateur.""", - ang = """Results file, written in binary mode, at the disposal of the user.""", - ), -# ----------------------------------- - FORMATTED_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier des resultats formate mis a la disposition de l utilisateur.""", - ang = """Results file, written in ASCII mode, at the disposal of the user.""", - ), -# ----------------------------------- - NUMBER_OF_PRIVATE_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Permet de fixer le nombre de variables privees.""", - ang = """Give the number of private variables.""", - ), -# ----------------------------------- - RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE RESULTATS}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{RESULTS FILE}. Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), -# ----------------------------------- - LISTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LISTING_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode, en nombre de periodes de houle, -d impression des \telkey{VARIABLES A IMPRIMER} (voir ce mot-cle). Pour -la mise au point, il faut savoir que la sortie des resultats est -effectuee systematiquement sur le fichier de retour d execution du code -(actuellement accessible par le menu 3.e de SPF sur IBM).""", - ang = """Fixes the period, in number of wave periods, for the writing -of the \telkey{VARIABLES TO BE PRINTED} (see this keyword).""", - ), -# ----------------------------------- - LISTING_PRINTOUT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Sortie des resultats sur support papier. -Si l on met NON le listing ne contient que l en-tete et la mention -FIN NORMALE DU PROGRAMME. -Commande a eviter.""", - ang = """If NO is specified for this keyword, the printout listing just -contains the head and the sentence END OF PROGRAM. -It is advised not to use this way.""", - ), -# ----------------------------------- - INFORMATIONS_ABOUT_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Donne le nombre d iterations necessaires a la convergence du solveur.""", - ang = """Gives the iterations number which was necessary for the solver -to converge.""", - ), -# ----------------------------------- - VARIABLES_TO_BE_PRINTED = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["wave height","wave phase","velocity u (free surface)(t=0)","velocity v (free surface)(t=0)","free surface elevation (t=0)","bottom elevation","still water height","phase velocity","group velocity","wave number","real potential","imaginal potential","prive(1,1)","prive(1,2)","prive(1,3)","prive(1,4)","first mean spectral period","second mean spectral period","third mean spectral period","force along X","force along Y","wave incidence radian","breaking rate","SXX stress","SXY stress","SYY stress"], - defaut = '', - fr = """Nom des variables que l utilisateur desire ecrire a l ecran. -Memes possibilites que pour les sorties graphiques.""", - ang = """Name of variables taht the user whishes to write on the screen. -Possibilities are the same as for graphic outputs.""", - ), - ), -# ----------------------------------- - FREE_SURFACE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FREE_SURFACE_ANIMATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Option utilisee si l on veut produire le fichier de phases -et amplitudes qui servira a calculer la position de la surface libre -en tout point du maillage. -A besoin des noms de \telkey{FICHIER DES PHASES ET AMPLITUDES} et -\telkey{FICHIER DE SURFACE LIBRE}.""", - ang = """This option informs that the phase and amplitude file is to -be generated. This file will be used to determine the free surface -elevation throughout the model area. -Remember to give \telkey{AMPLITUDE AND PHASE FILE} and -\telkey{FREE SURFACE FILE}.""", - ), -# ----------------------------------- - AMPLITUDE_AND_PHASE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les phases et amplitudes -pour toutes les periodes et directions simulees dans le fichier des -parametres.""", - ang = """Name of the results file corresponding to the computations and -which contains the phase and amplitude at every point for all the -periods and directions specified in the steering file.""", - ), -# ----------------------------------- - AMPLITUDE_AND_PHASE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DES PHASES ET AMPLITUDES}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{AMPLITUDE AND PHASE FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - FREE_SURFACE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - defaut = '', - fr = """Nom du fichier dans lequel sera ecrite la surface libre fonction du -temps pour permettre une animation du fichier.""", - ang = """Name of the results file corresponding to the computations and -which contains the free surface at every point as a function of time. -This file can be animated to check free surface variations with time.""", - ), -# ----------------------------------- - FREE_SURFACE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE SURFACE LIBRE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{FREE SURFACE FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - FIRST_TIME_IN_THE_FREE_SURFACE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [10000.], - fr = """Determine le temps a partir duquel debute l ecriture -des resultats dans le \telkey{FICHIER DE SURFACE LIBRE}.""", - ang = """Determines the time from which the results are written -in the \telkey{FREE SURFACE FILE}.""", - ), -# ----------------------------------- - TIME_STEP = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.25, - fr = """Definit le pas de temps en secondes pour la sortie graphique -\telkey{FICHIER DE SURFACE LIBRE}.""", - ang = """Specifies the time step in seconds in - \telkey{FREE SURFACE FILE}.""", - ), -# ----------------------------------- - NUMBER_OF_TIME_STEPS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Definit le nombre de pas de temps pour la sortie graphique -\telkey{FICHIER DE SURFACE LIBRE}.""", - ang = """Specifies the number of time steps in - \telkey{FREE SURFACE FILE}.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom= "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DEBUGGER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Pour imprimer la sequence des appels, mettre 1.""", - ang = """If 1, calls of subroutines will be printed in the listing.""", - ), -# ----------------------------------- - TIME = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ORIGINAL_DATE_OF_TIME = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer la date d origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.""", - ang = """Give the date of the time origin of the model when taking into -account the tide generating force.""", - ), -# ----------------------------------- - ORIGINAL_HOUR_OF_TIME = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer l heure d origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.""", - ang = """Give the time of the time origin of the model when taking into -account the tide generating force.""", - ), - ), -# ----------------------------------- - LOCATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ORIGIN_COORDINATES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 2, max= 2, - defaut = [0,0], - fr = """Valeur en metres, utilise pour eviter les trop grands -nombres, transmis -dans le format SERAFIN mais pas d autre traitement pour l instant.""", - ang = """Value in metres, used to avoid large real numbers, -added in SERAFIN format, but so far no other treatment.""", - ), - ), -) -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom= "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MATRIX_STORAGE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Classical EBE","Assembled EBE","Edge-based storage"], - defaut = "Edge-based storage", - fr = """Permet de definir la methode de stockage des matrices. -Les choix possibles sont : -\begin{itemize} -\item 1 : EBE classique ; -\item 2 : EBE assemble ; -\item 3 : stockage par segments. -\end{itemize} -Attention, avec 2, il faut une numerotation speciale des points.""", - ang = """Defines the method to store matrices. The possible choices are: -\begin{itemize} -\item 1: classical EBE, -\item 2: assembled EBE, -\item 3: edge-based storage. -\end{itemize} -Beware, with option 2, a special numbering of points is required.""", - ), -# ----------------------------------- - MATRIX_VECTOR_PRODUCT = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Les choix possibles sont : -\begin{itemize} -\item 1 : Ancien Produit ; -\item 2 : Nouveau Produit Frontal. -\end{itemize}""", - ang = """Possible choices are: -\begin{itemize} -\item 1: Classical Product, -\item 2: New Frontal Product. -\end{itemize}""", - ), -# ----------------------------------- - ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-12], - fr = """Non active pour l instant.""", - ang = """Non active at the moment.""", - ), -# ----------------------------------- - SOLVER_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 60000, - fr = """Les algorithmes utilises pour la resolution du systeme -matriciel etant iteratifs, il est necessaire de limiter le nombre -d iterations autorisees.""", - ang = """Algorithms used for solving the matrix system are iterative. -It is then necessary to limit the maximum number of iterations.""", - ), -# ----------------------------------- - PRECONDITIONING = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal preconditioning","block-diagonal preconditioning","absolute value diagonal preconditioning","Crout preconditioning"], - defaut = "diagonal preconditioning", - fr = """Permet de preconditionner le systeme de l etape de propagation afin -d accelerer la convergence lors de sa resolution. -\begin{itemize} -\item 0 : pas de preconditionnement ; -\item 2 : preconditionnement diagonal ; -\item 3 : preconditionnement bloc-diagonal ; -\item 5 : preconditionnement diagonal en valeur absolue ; -\item 7 : preconditionnement de Crout par element. -\end{itemize} -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres). -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Enables to apply preconditionning the matrix system to accelerate -the convergence of the solver. -\begin{itemize} -\item 0: no preconditionning, -\item 2: diagonal preconditionning, -\item 3: block-diagonal preconditionning, -\item 5: diagonal preconditionning in absolute value, -\item 7: Element Crout preconditionning. -\end{itemize} -Few of them can be combined -(numbers 2 or 3 with the other). -To combine some preconditionnings, impose the product of the previous -numbers: example 6 means preconditioning 2 and 3 applied.""", - ), -# ----------------------------------- - SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","CGSTAB","GMRES","direct","parallel direct (MUMPS)"], - defaut = "direct", - fr = """Permet de choisir le solveur utilise pour la resolution de l etape de -propagation. Toutes les methodes proposees actuellement s apparentent -au Gradient Conjugue. Ce sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre (non programme) ; -\item 6 : gradient conjugue de type CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize}""", - ang = """Enables to choose the solver used for solving the matrix system. -They are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on the normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient (not programmed), -\item 6: CGSTAB conjugate gradient, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize}""", - ), -# ----------------------------------- - SOLVER_OPTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 3, - fr = """Parametre definissant la dimension de l espace de Krylov -pour le solveur 7 (GMRES).""", - ang = """Defines the dimension of the Krylov space when using -the solver 7 (GMRES).""", - ), -# ----------------------------------- - SOLVER_ACCURACY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-4, - fr = """Precision demandee pour la resolution de l equation de Berkhoff.""", - ang = """Accuracy requested for the linear system solver.""", - ), - ), -# ----------------------------------- - DISSIPATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """Donne la precision requise pour les sous-iterations du calcul -du coefficient de dissipation.""", - ang = """Fixes the accuracy requested for sub-iterations necessary to -determine the dissipation coefficients.""", - ), -# ----------------------------------- - MAXIMUM_OF_SUB_ITERATIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [15], - fr = """Donne le nombre maximum admis de sous-iterations pour le calcul -du coefficient de dissipation.""", - ang = """Fixes the maximum number of sub-iterations for the computation -of dissipation.""", - ), -# ----------------------------------- - DISSIPATION_RELAXATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.5], - fr = """Donne le coefficient de relaxation entre deux sous-iterations -pour le calcul du coefficient de dissipation.""", - ang = """Fixes the relaxation coefficient used between two sub-iterations -for the computation of the dissipation term.""", - ), - ), -) -# ----------------------------------------------------------------------- -BOUNDARY_CONDITIONS = PROC(nom= "BOUNDARY_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PHASE_REFERENCE_COORDINATES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.,0.], - fr = """Coordonnees pour l origine des phases. Ne change rien -aux hauteurs de vagues calculees.""", - ang = """Coordinates of reference point for phase. Will -not change the wave height computed.""", - ), -# ----------------------------------- - RANDOM_WAVE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_PERIODS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [5], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MONODIRECTIONNELLE} = OUI - ou avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Pour un calcul en houle aleatoire monodirectionnelle ou -multidirectionnelle, nombre de bandes d egale energie servant a -discretiser le spectre d energie en frequence.""", - ang = """Used with option -\telkey{MONODIRECTIONAL RANDOM WAVE} = YES - or -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -It fixes the number of iso-energy frequency bands which discretize -the energy spectrum.""", - ), -# ----------------------------------- - PEAK_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [10.0], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MONODIRECTIONNELLE} = OUI - ou avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Fixe la periode de pic (en secondes) du spectre d energie.""", - ang = """Used with option -\telkey{MONODIRECTIONAL RANDOM WAVE} = YES - or -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -Fixes the peak period (in seconds) of the energy spectrum.""", - ), -# ----------------------------------- - GAMMA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [3.3], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MONODIRECTIONNELLE} = OUI - ou avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Indique la valeur de $\gamma$ pour le spectre d energie : -\begin{itemize} -\item GAMMA = 1 : spectre de Pierson-Moskowitz ; -\item GAMMA = 3.3 : spectre de JONSWAP moyen (valeur par defaut). -\end{itemize}""", - ang = """Used with option -\telkey{MONODIRECTIONAL RANDOM WAVE} = YES - or -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -Fixes the $\gamma$ value tor the JONSWAP wave energy spectrum: -\begin{itemize} -\item GAMMA = 1: Pierson-Moskowitz, -\item GAMMA = 3.3: mean JONSWAP spectrum (default value). -\end{itemize}""", - ), -# ----------------------------------- - MINIMUM_SPECTRAL_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.02], - fr = """Valeur de la periode minimum voulue en secondes -si on veut tronquer le spectre pour le calcul -des periodes en houle aleatoire (voir sous-programme \telfile{PERALE}).""", - ang = """Minimum period value requested in seconds -if it is necessary to alter the energy spectrum -for the computation of the periods in the case -of random waves (see \telfile{PERALE} subroutine).""", - ), -# ----------------------------------- - MAXIMUM_SPECTRAL_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [200.], - fr = """Valeur de la periode maximum voulue en secondes -si on veut tronquer le spectre pour le calcul -des periodes en houle aleatoire (voir sous-programme \telfile{PERALE}).""", - ang = """Maximum period value requested in seconds -if it is necessary to alter the energy spectrum -for the computation of the periods in the case -of random waves (see \telfile{PERALE} subroutine).""", - ), -# ----------------------------------- - MONODIRECTIONAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MONODIRECTIONAL_RANDOM_WAVE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Oui, si l on veut effectuer un calcul en houle aleatoire -monodirectionnelle (voir reels index 12, 13 et entier index 10).""", - ang = """Yes, if one wants to run computation in random monodirectional waves -(see real keywords of index 12, 13 and integer of index 10).""", - ), - ), -# ----------------------------------- - MULTIDIRECTIONAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MULTIDIRECTIONAL_RANDOM_WAVE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Oui, si l on veut effectuer un calcul en houle aleatoire -multidirectionnelle (voir les reels index 12, 13, 14, 15 et 16 et -les entiers index 10 et 11.""", - ang = """Yes, if one wants to run computation in random multidirectional waves -(see real keywords of index 12, 13 and integer of index 10).""", - ), -# ----------------------------------- - NUMBER_OF_DIRECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [5], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Pour un calcul en houle aleatoire multidirectionnelle, -nombre de bandes d egale energie servant a discretiser le spectre -directionnel d energie.""", - ang = """Used with the option -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -It fixes the number of iso-energy bands which discretizes the wave -directional spectrum.""", - ), -# ----------------------------------- - MINIMUM_ANGLE_OF_PROPAGATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [-180.], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Indique la borne inferieure de l intervalle des directions de - propagation dans le cas d une houle aleatoire multidirectionnelle - L angle est donne en degres et est compte positivement dans le sens - direct a partir de l axe $x$.""", - ang = """Used with the option -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -Fixes the minimum value (in degrees) of the directions range. It is -counted positively in the trigonometric sense relatively to the $x$ -axis.""", - ), -# ----------------------------------- - MAXIMUM_ANGLE_OF_PROPAGATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [180.], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Indique la borne superieure de l intervalle des directions de - propagation dans le cas d une houle aleatoire multidirectionnelle. - L angle est donne en degres et est compte positivement dans le sens - direct a partir de l axe $x$.""", - ang = """Used with the option -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -Fixes the maximum value (in degrees) of the directions range. It is -counted positively in the trigonometric sense relatively to the $x$ -axis.""", - ), -# ----------------------------------- - S_EXPONENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [20.], - fr = """Valeur utilisee avec l option -\telkey{HOULE ALEATOIRE MULTIDIRECTIONNELLE} = OUI. -Indique la valeur maximale de l exposant $s$ dans l expression donnant - la repartition directionnelle de la houle. - Cette expression est celle donnee par Goda dans Random Seas and - Design of Maritime Structures - University of Tokyo Press: - G(f,teta) = G0 * (cos(teta/2))**2s. f est la frequence et teta est - la direction de propagation de la houle.""", - ang = """Used with the option -\telkey{MULTIDIRECTIONAL RANDOM WAVE} = YES. -Fixes the maximum value of exponent $S$ in the Goda formula used to -express the directional wave energy spreading. -See GODA Y., Random Seas and Design of Maritime Structures - Univ. -of Tokyo Press, 1987.""", - ), - ), - ), -# ----------------------------------- - PERIODS_SCANNING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PERIOD_SCANNING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Oui, si l on veut effectuer plusieurs calculs en balayant un -intervalle de periodes (voir reels index 8,9 et 10).""", - ang = """Yes, if one wants to run computations by scanning a period range -(resonance computations, see also reals of index 8, 9, and 10).""", - ), -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BEGINNING_PERIOD_FOR_PERIOD_SCANNING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Valeur utilisee avec l option -\telkey{BALAYAGE EN PERIODE} = OUI. -Indique la borne gauche de l intervalle de periodes a parcourir - (pour par exemple rechercher les periodes de resonances).""", - ang = """Used with the option -\telkey{PERIOD SCANNING} = YES. -Fixes the minimum value (in seconds) of the period range to be used for -the period scanning.""", - ), -# ----------------------------------- - ENDING_PERIOD_FOR_PERIOD_SCANNING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Valeur utilisee avec l option -\telkey{BALAYAGE EN PERIODE} = OUI. -Indique la borne droite de l intervalle de periodes a parcourir - (pour par exemple rechercher les periodes de resonances).""", - ang = """Used with the option -\telkey{PERIOD SCANNING} = YES. -Fixes the maximum value (in seconds) of the period range to be used for -the period scanning.""", - ), -# ----------------------------------- - STEP_FOR_PERIOD_SCANNING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Valeur utilisee avec l option -\telkey{BALAYAGE EN PERIODE} = OUI. -Indique le pas a prendre pour effectuer le balayage en periodes - (pour par exemple rechercher les periodes de resonances).""", - ang = """Used with the option -\telkey{PERIOD SCANNING} = YES. -Fixes the value of the period step (in seconds) to be used for -the period scanning.""", - ), - ), - ), -# ----------------------------------- - MONOCHROMATIC_WAVE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WAVE_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [10.], - fr = """Definit la periode de la houle en mode monochromatique.""", - ang = """Defines the wave period for monochromatic mode.""", - ), -# ----------------------------------- - DIRECTION_OF_WAVE_PROPAGATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.0], - fr = """Donne la direction du vecteur d onde de la houle incidente. L angle -est donne en degres et est compte positivement dans le sens direct -a partir de l axe des $x$. -Il s agit de la direction principale de propagation. -Cette direction est la meme a toutes les frontieres maritimes. -Si l utilisateur veut specifier des directions differentes sur -differentes frontieres, il doit le faire dans son FORTRAN dans le -sous-programme \telfile{BORH} en specifiant la variable -\telfile{TETAB}.""", - ang = """Fixes the direction towards the incident waves at boundaries go to. -It is counted in degrees and positively in the trigonometric sense -relatively to the $x$ axis. -This value is prescribed as a constant value along all the wave -incident type boundaries. If one wants to specify a non uniform value, -the user has to specify the value \telfile{TETAB} in the subroutine - \telfile{BORH}.""", - ), -# ----------------------------------- - WAVE_HEIGHTS_SMOOTHING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """OUI si on souhaite lisser les hauteurs de houle -pour ameliorer le calcul des contraintes de radiation -(actif uniquement en houle reguliere). -Valeur par defaut = NON.""", - ang = """YES when one wants to smooth the wave heights -to improve the radiation stresses computation -(only used in regular wave mode). -Default value = NO.""", - ), - ), -# ----------------------------------- - AUTOMATIC_TETAP_ANGLE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUB_ITERATIONS_ACCURACY_FOR_TETAP = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """Donne la precision requise pour les sous-iterations du calcul -automatique de cos($\theta_p$).""", - ang = """Fixes the accuracy requested for sub-iterations necessary to -determine value of $\theta_p$ (criterion on cos($\theta_p$)).""", - ), -# ----------------------------------- - AUTOMATIC_TETAP_CALCULATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Si = OUI : calcul automatique des angles $\theta_p$ -(basee sur la direction de la vitesse).""", - ang = """If = TRUE: automatic calculation of $\theta_p$ -(based on velocity direction).""", - ), -# ----------------------------------- - MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [15], - fr = """Donne le nombre maximum admis de sous-iterations pour le calcul -automatique de $\theta_p$.""", - ang = """Fixes the maximum number of sub-iterations for the automatic -computation of $\theta_p$.""", - ), -# ----------------------------------- - RELAXATION_ON_TETAP = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """Donne le coefficient de relaxation entre deux sous-iterations -pour le calcul de l angle d incidence automatique.""", - ang = """Fixes the relaxation coefficient used between two sub-iterations -for the computation of automatic $\theta_p$.""", - ), - ), -# ----------------------------------- - AUTOMATIC_PHASE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - AUTOMATIC_CALCULATION_OF_PHASE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """OUI : calcul automatique de la phase -(basee sur une profondeur de reference).""", - ang = """TRUE: automatic calculation of incident phase -(based on reference water depth).""", - ), -# ----------------------------------- - REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [-1.0], - fr = """Profondeur de reference pour le calcul de la phase. -Essayez de mettre la frontiere incidente sur une zone -de bathymetrie homogene. -La profondeur a renseigner doit etre representative de la profondeur -d eau sur la frontiere.""", - ang = """Water depth for automatic incident phase calculation. -Try to put the incident wave boundary on a regular topography zone. -The reference water depth should be representative of the water depth -on the boundary.""", - ), - ), -) -# ----------------------------------------------------------------------- -PHYSICAL_PARAMETERS = PROC(nom= "PHYSICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GRAVITY_ACCELERATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 9.81, - fr = """Fixe la valeur de l acceleration de la pesanteur en m/s$^2$.""", - ang = """Sets the value of the acceleration due to gravity in m/s$^2$.""", - ), -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INITIAL_WATER_LEVEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Valeur utilisee avec l option -\telkey{CONDITIONS INITIALES} : ''COTE CONSTANTE''.""", - ang = """Value to be used with the option -\telkey{INITIAL CONDITIONS}: ''CONSTANT ELEVATION''.""", - ), -# ----------------------------------- - INITIAL_DEPTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Valeur utilisee avec l option -\telkey{CONDITIONS INITIALES} : ''HAUTEUR CONSTANTE''.""", - ang = """Value to be used along with the option -\telkey{INITIAL CONDITIONS}: ''CONSTANT DEPTH''.""", - ), -# ----------------------------------- - INITIAL_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['ZERO ELEVATION','CONSTANT ELEVATION','ZERO DEPTH','CONSTANT DEPTH','SPECIAL'], - defaut = 'ZERO ELEVATION', - fr = """Permet de definir les conditions initiales sur les hauteurs d eau. -Les valeurs possibles sont : -\begin{itemize} -\item COTE NULLE : Initialise la cote de surface libre a 0. - Les hauteurs d eau initiales sont alors retrouvees en - faisant la difference entre les cotes de surface libre - et du fond ; -\item COTE CONSTANTE : Initialise la cote de surface libre a la -valeur donnee par le mot-cle \telkey{COTE INITIALE}. Les hauteurs -d eau initiales sont calculees comme precedemment. -\item HAUTEUR NULLE : Initialise les hauteurs d eau a 0. -\item HAUTEUR CONSTANTE : Initialise les hauteurs d eau a la valeur -donnee par le mot-cle \telkey{HAUTEUR INITIALE}. -\item PARTICULIERES : Les conditions initiales sur la hauteur d eau -doivent etre precisees dans le sous-programme \telfile{CONDIH}. -\end{itemize}""", - ang = """Enables to define the initial conditions on water depths. -The possible values are as follows: -\begin{itemize} -\item ZERO ELEVATION: fixes the free surface level to 0. -Water depths are then equal to the difference between -free surface level and bottom level, -\item CONSTANT ELEVATION: fixes the free surface level to the value -specified by the keyword \telkey{INITIAL WATER LEVEL}. Water -level are then computed as before, -\item ZERO DEPTH: initializes the water depths to 0, -\item CONSTANT DEPTH: initializes the water depths to the value -specified by the keyword \telkey{INITIAL DEPTH}, -\item SPECIAL: initial conditions on water depths are to be -precised in the subroutine \telfile{CONDIH}. -\end{itemize}""", - ), - ), -# ----------------------------------- - DISSIPATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BATHYMETRIC_BREAKING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BREAKING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Oui, si l on souhaite integrer le processus de deferlement -bathymetrique (voir reels index 18, 19, 20, 21, 22, 23 -et entiers index 12, 13).""", - ang = """Yes, if one wants to account for breaking process (see also -reals of index 18, 19, 20, 21, 22, 23, and integer of index -12, 13).""", - ), -# ----------------------------------- - KDALLY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.1], - fr = """Donne le coefficient $K$ dans la formulation de la dissipation -par deferlement d apres Dally et al., 1984.""", - ang = """Fixes the coefficient $K$ used in the formulation of the dissipation -coefficient proposed by Dally et al. 1984.""", - ), -# ----------------------------------- - BREAKING_LAW = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["BATTJES \& JANSSEN","DALLY"], - defaut = ["BATTJES \& JANSSEN"], - fr = """Specifie la formulation choisie pour le coefficient de dissipation -par deferlement. N est effectif qu en houle reguliere. -\begin{itemize} -\item 1 : Formulation de Battjes \& Jansen, 1978 ; -\item 2 : Formulation de Dally et al., 1984. -\end{itemize} -En houle aleatoire, la seule formulation utilisee est celle de -Battjes \& Janssen, 1978.""", - ang = """Specifies the formulation chosen for calculating the dissipation -coefficient through breaking. Only effective for monochromatic wave -mode. -\begin{itemize} -\item 1: Formulation of Battjes \& Janssen, 1978, -\item 2: Formulation of Dally et al., 1984. -\end{itemize} -In random wave mode, the formulation of B \& J, 1978 is the only one -to be used.""", - ), -# ----------------------------------- - ALPHA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.0], - fr = """Donne le coefficient $\alpha$ dans la formulation de la dissipation -par deferlement en houle aleatoire d apres Battjes \& Janssen.""", - ang = """Fixes the coefficient $\alpha$ used in the formulation of the -dissipation coefficient through breaking proposed by Battjes \& Janssen, -1978 for random waves.""", - ), -# ----------------------------------- - GAMMAS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.88], - fr = """Donne le coefficient $\gamma_s$ dans le critere de la hauteur de -deferlement. Ne pas confondre avec le coefficient $\gamma$ qui -intervient dans la formule du spectre de JONSWAP.""", - ang = """Fixes the coefficient $\gamma_s$ used in the criterion of the critical -breaking wave height. Do not confuse with coefficient $\gamma$ -used in the JONSWAP spectrum.""", - ), -# ----------------------------------- - GDALLY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.4], - fr = """Donne le coefficient $\Gamma$ dans la formulation de la dissipation par -Dally et al., 1984. Ne pas confondre avec $\gamma$ (Formule de JONSWAP) -et Gammas (Critere de deferlement).""", - ang = """Fixes the $\Gamma$ coefficient used in the formulation of Dally et al., -1984, for the dissipation coefficient in surf-breaking. Do not confuse -with the coefficient $\gamma$ used in the JONSWAP formulae and -coefficient gammas used to determine the breaking wave height -criterion.""", - ), - ), -# ----------------------------------- - BOTTOM_FRICTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FRICTION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Oui, si on veut prendre en compte le frottement sur le fond dans -la simulation.""", - ang = """Yes, if one wants to include dissipation through bottom friction -in the computation.""", - ), -# ----------------------------------- - FLUID_KINEMATIC_VISCOSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - defaut = [1.0E-6], - fr = """Viscosite cinematique du fluide (eau) en m$^2$/s. -\begin{itemize} -\item 1.793E-6 : Pour une temperature de 0 C ; -\item 1.567E-6 : Pour une temperature de 4 C ; -\item 1.237E-6 : Pour une temperature de 12 C ; -\item 1.112E-6 : Pour une temperature de 16 C ; -\item 1.011E-6 : Pour une temperature de 20 C ; -\item 0.802E-6 : Pour une temperature de 30 C ; -\item 0.661E-6 : Pour une temperature de 40 C. -\item 1.0E-6 : Valeur par defaut. -\end{itemize}""", - ang = """Kinematic viscosity of the fluid (water) in m$^2$/s. -\begin{itemize} -\item 1.793E-6: for a temperature of 0 C, -\item 1.567E-6: for a temperature of 4 C, -\item 1.237E-6: for a temperature of 12 C, -\item 1.112E-6: for a temperature of 16 C, -\item 1.011E-6: for a temperature of 20 C, -\item 0.802E-6: for a temperature of 30 C, -\item 0.661E-6: for a temperature of 40 C, -\item 1.0E-6: default value. -\end{itemize}""", - ), -# ----------------------------------- - DIAMETER90 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - defaut = [0.15E-3], - fr = """\telfile{DIAM90} represente le diametre maximum, en m, de 90 \% -en poids des sediments. -\begin{itemize} -\item 1.0E-3 : Pour des sables tres grossiers ; -\item 0.5E-3 : Pour des sables grossiers ; -\item 0.25E-3 : Pour des sables moyens ; -\item 0.125E-3 : Pour des sables fins ; -\item 0.062E-3 : Pour des sables tres fins ; -\item 0.15E-3 : Valeur par defaut. -\end{itemize}""", - ang = """\telfile{DIAM90} is the maximum grain diameter, in m, which defines -90 \% of the total weight of sediment. -\begin{itemize} -\item 1.0E-3: for very coarse sand, -\item 0.5E-3: for coarse sand, -\item 0.25E-3: for medium sand, -\item 0.125E-3: for fine sand, -\item 0.062E-3: for very fine sand, -\item 0.15E-3: default value. -\end{itemize}""", - ), -# ----------------------------------- - DIAMETER50 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - defaut = [0.10E-3], - fr = """\telfile{DIAM50} represente le diametre maximum de 50 \% en poids des -sediments. En general, on a \telfile{DIAM90} = 1.5 $\times$ -\telfile{DIAM50} -\telfile{DIAM50} est plus souvent donne dans des tables -\begin{itemize} -\item 0.66E-3 : Pour des sables tres grossiers ; -\item 0.33E-3 : Pour des sables grossiers ; -\item 0.17E-3 : Pour des sables moyens ; -\item 0.083E-3 : Pour des sables fins ; -\item 0.040E-3 : Pour des sables tres fins ; -\item 0.10E-3 : Valeur par defaut. -\end{itemize}""", - ang = """\telfile{DIAM50} is the maximum grain diameter, in m, which defines -50 \% of the total weight of sediment. Usually, we have -\telfile{DIAM90} = 1.5 $\times$ \telfile{DIAM50}. -\telfile{DIAM50} is a more common value used. -\begin{itemize} -\item 0.66E-3: for very coarse sand, -\item 0.33E-3: for coarse sand, -\item 0.17E-3: for medium sand, -\item 0.083E-3: for fine sand, -\item 0.040E-3: for very fine sand, -\item 0.10E-3: default value. -\end{itemize}""", - ), -# ----------------------------------- - SEDIMENT_SPECIFIC_WEIGHT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [2650.0], - fr = """Masse volumique du sediment en kg/m$^3$.""", - ang = """Sediment specific weight in kg/m$^3$.""", - ), -# ----------------------------------- - FLUID_SPECIFIC_MASS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1000.0], - fr = """Masse volumique du fluide (eau) en kg/m$^3$.""", - ang = """Fluid specific weight (water) in kg/m$^3$.""", - ), -# ----------------------------------- - HYDRAULIC_REGIME_IMPOSED = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Utilise avec l option \telkey{FROTTEMENT} = OUI. -Permet de choisir d imposer le regime hydraulique dans le cas -d un calcul automatique du facteur de frottement sur fonds sableux.""", - ang = """Used with the option \telkey{FRICTION} = YES. -Enables to impose the hydraulic regime in the case of an automatic -calculation of the friction factor for sandy beds.""", - ), -# ----------------------------------- - SKIN_ROUGHNESS_ONLY = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Utilise avec l option \telkey{FROTTEMENT} = OUI. -Permet de choisir de ne prendre en compte -que la rugosite de peau dans le cas d un calcul automatique -du facteur de frottement sur fonds sableux.""", - ang = """Used with the option \telkey{FRICTION} = YES. -Enables to restrict the total roughness to the skin roughness -in the case of an automatic calculation of the friction -factor for sandy beds.""", - ), -# ----------------------------------- - HYDRAULIC_REGIME_TYPE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["laminar regime","smooth-turbulent regime","rough-turbulent regime","transient regime"], - defaut = ["laminar regime"], - fr = """Utilise si le mot-cle \telkey{REGIME HYDRAULIQUE IMPOSE} = OUI. -Determine le regime hydraulique. -\begin{itemize} -\item regime laminaire ; -\item turbulent lisse ; -\item turbulent rugueux ; -\item transitoire. -\end{itemize}""", - ang = """Used with option \telkey{HYDRAULIC REGIME IMPOSED} = YES. -Determines the type of the hydraulic regime (laminar, -smooth-turbulent, rough-turbulent, transient). -\begin{itemize} -\item laminar regime, -\item smooth-turbulent regime, -\item rough-turbulent regime, -\item transient regime. -\end{itemize}""", - ), -# ----------------------------------- - BOTTOM_FRICTION_LAW = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["Kostense formulation integrating Ue calculation (1986)","Putnam \& Johnson formulation (1949)"], - defaut = ["Kostense formulation integrating Ue calculation (1986)"], - fr = """Utilise avec l option \telkey{FROTTEMENT} = OUI. -Fixe le choix de la formulation du frottement : -\begin{itemize} -\item 1 : Kostense et al., 1986 ; -\item 2 : Putnam \& Johnson, 1949. -\end{itemize}""", - ang = """Used with the option \telkey{FRICTION} = YES. -Fixes the formulation used for bottom friction law: -\begin{itemize} -\item 1: Kostense et al., 1986, -\item 2: Putnam \& Johnson, 1949. -\end{itemize}""", - ), -# ----------------------------------- - FRICTION_FACTOR_IMPOSED = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Utilise avec l option \telkey{FROTTEMENT} = OUI. -OUI permet de choisir d imposer un facteur de frottement, par un -mot-cle s il est uniforme (voir le reel d index 29) ou en -programmant dans le sous-programme \telfile{FWSPEC}. -Si NON, \artemis considere par defaut que les fonds sont sableux, -et calcule automatiquement le facteur de frottement avec les -caracteristiques du sediment et de l ecoulement.""", - ang = """Used with the option \telkey{FRICTION} = YES. -If YES, enables the user to impose a friction factor, by a keyword -for a constant value (see real of index 29) or by programming in -the \telfile{FWSPEC} subroutine for non-uniform value. -If NO, \artemis automatically computes the friction factor assuming -that the bottom is sandy and uses the characteristics of sediment -and of motion.""", - ), -# ----------------------------------- - FRICTION_FACTOR = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Utilise si le mot-cle \telkey{FACTEUR DE FROTTEMENT IMPOSE} = OUI. -Fixe le facteur de frottement choisi uniforme sur le domaine.""", - ang = """Used with the option \telkey{FRICTION FACTOR IMPOSED} = YES. -Fixes the value of the friction factor uniform over the domain.""", - ), -# ----------------------------------- - FRICTION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """A ne pas confondre avec le \telkey{FACTEUR DE FROTTEMENT}. -Non utilise dans \artemis. -On le laisse par coherence avec \telemac{2d}.""", - ang = """Do not confuse with the \telkey{FRICTION FACTOR}. -Not used in \artemis. -It is let here for consistence with \telemac{2d}.""", - ), -# ----------------------------------- - RIPPLES_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - defaut = [0.7], - fr = """Specifie le coefficient de rides utilise dans la formule de -Van Rijn pour calculer le facteur de frottement : -\begin{itemize} -\item 1.0 : pour des rides seules, -\item 0.7 : pour des rides superposees a des vagues de sable. -\end{itemize}""", - ang = """Fixes the ripples coefficient used in the formulae of Van Rijn -to calculate the friction factor: -\begin{itemize} -\item 1.0: for single ripples, -\item 0.7: for ripples superimposed to sand waves. -\end{itemize}""", - ), - ), - ), -# ----------------------------------- - CURRENT_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUB_ITERATIONS_ACCURACY_FOR_CURRENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """Donne la precision requise pour les sous-iterations du calcul -du nombre d onde en presence de courant (vecteur d onde).""", - ang = """Fixes the accuracy requested for sub-iterations necessary to -determine the wave vector.""", - ), -# ----------------------------------- - CURRENT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Si = OUI : Prise en compte de la refraction de la houle par le courant. -Modele retenu : Kostense et Al. (1988).""", - ang = """If = TRUE: Wave refraction due to current is described using - Kostense model (1988).""", - ), - ), -# ----------------------------------- - VARYING_TOPOGRAPHY = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RAPIDLY_VARYING_TOPOGRAPHY = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["mild-slope equation","gradient second order term","curvature second order term","gradient + curvature second order terms"], - defaut = ["mild-slope equation"], - fr = """Prise en compte des fortes pentes et courbures dans Berkhoff -\begin{itemize} -\item 0 : Berkhoff simple ; -\item 1 : prise en compte terme pente en grad($h$)$^2$ ; -\item 2 : prise en compte terme courbure en laplacien($h$) ; -\item 3 : prise en compte des termes de pente et courbure. -\end{itemize} -Modele retenu pour les fonctions E1 et E2 : Chamberlain -et Porter (1995).""", - ang = """Extension of mild-slope equation with second - order bottom effects -\begin{itemize} -\item 0: mild-slope equation, -\item 1: gradient second order term: grad($h$)$^2$, -\item 2: curvature second order term: laplacian($h$), -\item 3: gradient + curvature second order terms. -\end{itemize} -Model used for functions E1 and E2 expression: Chamberlain -and Porter (1995).""", - ), - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul a realiser.""", - ang = """Name of the steering file used for the computation.""", - ), -# ----------------------------------- - PARTITIONING_TOOL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['METIS','SCOTCH','PARMETIS','PTSCOTCH'], - defaut = 'METIS', - fr = """Choix du partitionneur : -\begin{itemize} -\item 1 : METIS ; -\item 2 : SCOTCH ; -\item 3 : PARMETIS ; -\item 4 : PTSCOTCH. -\end{itemize}""", - ang = """Partitioning tool selection: -\begin{itemize} -\item 1: METIS, -\item 2: SCOTCH, -\item 3: PARMETIS, -\item 4: PTSCOTCH. -\end{itemize}""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'artemis.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -# ----------------------------------- - CONCATENATE_PARTEL_OUTPUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Avec cette option, partel ne generera plus un fichier (GEO/CLI/PAR) -par processeur mais une concatenation de ceux-ci, ainsi qu un fichier -d index associe. Ainsi plutot que d avoir 3P fichiers, il n y en a -plus que 6.""", - ang = """With this option, partel no more generates a file (GEO/CLI/PAR) per -process but a single concatenate file of them, associated to an index -file. Then instead of having partel generating 3P files, it only -generates 6 files.""", - ), -) -# ----------------------------------------------------------------------- -NESTING_WITH_TOMAWAC = PROC(nom= "NESTING_WITH_TOMAWAC",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NESTING_WITHIN_TOMAWAC_OUTER_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["No nesting","Uses a TOMAWAC spectrum (1 point) as input to ARTEMIS","Uses several TOMAWAC spectra located along ARTEMIS boundary"], - defaut = ["No nesting"], - fr = """A besoin de NOMBRE DE DIRECTION DANS LE SPECTRE TOMAWAC et -NOMBRE DE FREQUENCES DANS LE SPECTRE TOMAWAC pour l option 1. -A besoin des noms de \telkey{FICHIER DE RESULTATS GLOBAL TOMAWAC}, -\telkey{FICHIER DE SPECTRE GLOBAL TOMAWAC} et -\telkey{COORDONNEES POUR LE SPECTRE F DE REFERENCE} pour l option 2. -Donner \telkey{INSTANT DE LECTURE DU SPECTRE TOMAWAC} pour 1 et 2""", - ang = """Remember to give NUMBER OF DIRECTIONS IN TOMAWAC SPECTRUM -and NUMBER OF FREQUENCIES IN TOMAWAC SPECTRUM with option 1. -Remember to give \telkey{TOMAWAC OUTER RESULT FILE}, -\telkey{TOMAWAC OUTER SPECTRAL FILE} and -\telkey{COORDINATES OF THE REFERENCE F SPECTRUM} if using option 2. -\telkey{INSTANT FOR READING TOMAWAC SPECTRUM} required -in cases 1 and 2.""", - ), -# ----------------------------------- - INSTANT_FOR_READING_TOMAWAC_SPECTRUM = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Indique l instant de calcul \tomawac associe au spectre -qui doit etre importe dans \artemis.""", - ang = """Give the instant of the \tomawac computation at which we -want to import the spectrum for \artemis.""", - ), -# ----------------------------------- - COORDINATES_OF_THE_REFERENCE_F_SPECTRUM = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [-99999.9,-99999.9], - fr = """Coordonnees du point de reference pour le spectre en -frequence.""", - ang = """Coordinates for the frequency spectrum reference point.""", - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TOMAWAC_OUTER_SPECTRAL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de spectre provenant d un modele global -\tomawac.""", - ang = """Name of the spectral file from an outer \tomawac wave -model.""", - ), -# ----------------------------------- - TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE SPECTRE GLOBAL TOMAWAC}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{TOMAWAC OUTER SPECTRAL FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - TOMAWAC_LIQUID_BOUNDARY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de frontieres liquides provenant d un modele -global \tomawac.""", - ang = """Name of a file containing the liquid boundaries derived -from an outer \tomawac wave model.""", - ), -# ----------------------------------- - TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE FRONTIERES LIQUIDES TOMAWAC}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{TOMAWAC LIQUID BOUNDARY FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TOMAWAC_OUTER_RESULT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de resultats 2D provenant d un modele global -\tomawac.""", - ang = """Name of a file containing the results of an outer \tomawac -wave model.""", - ), -# ----------------------------------- - TOMAWAC_OUTER_RESULT_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE RESULTATS GLOBAL TOMAWAC}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{TOMAWAC OUTER RESULT FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -GENERAL_PARAMETERS();\ -NUMERICAL_PARAMETERS();\ -BOUNDARY_CONDITIONS();\ -PHYSICAL_PARAMETERS();\ -NESTING_WITH_TOMAWAC();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'GENERAL_PARAMETERS', -'NUMERICAL_PARAMETERS', -'BOUNDARY_CONDITIONS', -'PHYSICAL_PARAMETERS', -'INTERNAL', -'NESTING_WITH_TOMAWAC') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.artemis_enum_auto' -dicoCasEn = source+'.artemis_dicoCasEnToCata' -dicoCasFr = source+'.artemis_dicoCasFrToCata' diff --git a/Telemac/artemis_dicoCasEnToCata.py b/Telemac/artemis_dicoCasEnToCata.py deleted file mode 100644 index 460cbaac..00000000 --- a/Telemac/artemis_dicoCasEnToCata.py +++ /dev/null @@ -1,240 +0,0 @@ -dicoCataToEngTelemac = { - "GEOMETRY_FILE" : "GEOMETRY FILE", - "TITLE" : "TITLE", - "DEBUGGER" : "DEBUGGER", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "MATRIX_STORAGE" : "MATRIX STORAGE", - "MATRIX_VECTOR_PRODUCT" : "MATRIX-VECTOR PRODUCT", - "GRAPHIC_PRINTOUT_PERIOD" : "GRAPHIC PRINTOUT PERIOD", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER", - "NUMBER_OF_PERIODS" : "NUMBER OF PERIODS", - "BOTTOM_TOPOGRAPHY_SMOOTHING" : "BOTTOM TOPOGRAPHY SMOOTHING", - "INITIAL_WATER_LEVEL" : "INITIAL WATER LEVEL", - "PRECONDITIONING" : "PRECONDITIONING", - "SOLVER" : "SOLVER", - "SOLVER_OPTION" : "SOLVER OPTION", - "PEAK_PERIOD" : "PEAK PERIOD", - "GAMMA" : "GAMMA", - "MONODIRECTIONAL_RANDOM_WAVE" : "MONODIRECTIONAL RANDOM WAVE", - "MULTIDIRECTIONAL_RANDOM_WAVE" : "MULTIDIRECTIONAL RANDOM WAVE", - "PERIOD_SCANNING" : "PERIOD SCANNING", - "SOLVER_ACCURACY" : "SOLVER ACCURACY", - "INITIAL_DEPTH" : "INITIAL DEPTH", - "WAVE_PERIOD" : "WAVE PERIOD", - "GRAVITY_ACCELERATION" : "GRAVITY ACCELERATION", - "INITIAL_CONDITIONS" : "INITIAL CONDITIONS", - "NUMBER_OF_DIRECTIONS" : "NUMBER OF DIRECTIONS", - "DIRECTION_OF_WAVE_PROPAGATION" : "DIRECTION OF WAVE PROPAGATION", - "ZERO" : "ZERO", - "BEGINNING_PERIOD_FOR_PERIOD_SCANNING" : "BEGINNING PERIOD FOR PERIOD SCANNING", - "ENDING_PERIOD_FOR_PERIOD_SCANNING" : "ENDING PERIOD FOR PERIOD SCANNING", - "STEP_FOR_PERIOD_SCANNING" : "STEP FOR PERIOD SCANNING", - "MINIMUM_ANGLE_OF_PROPAGATION" : "MINIMUM ANGLE OF PROPAGATION", - "MAXIMUM_ANGLE_OF_PROPAGATION" : "MAXIMUM ANGLE OF PROPAGATION", - "S_EXPONENT" : "S EXPONENT", - "LISTING_PRINTOUT" : "LISTING PRINTOUT", - "INFORMATIONS_ABOUT_SOLVER" : "INFORMATIONS ABOUT SOLVER", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES FOR GRAPHIC PRINTOUTS", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES TO BE PRINTED", - "FORTRAN_FILE" : "FORTRAN FILE", - "STEERING_FILE" : "STEERING FILE", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "RESULTS_FILE" : "RESULTS FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "BINARY_DATA_FILE_1" : "BINARY DATA FILE 1", - "BINARY_DATA_FILE_2" : "BINARY DATA FILE 2", - "FORMATTED_DATA_FILE_1" : "FORMATTED DATA FILE 1", - "FORMATTED_DATA_FILE_2" : "FORMATTED DATA FILE 2", - "BINARY_RESULTS_FILE" : "BINARY RESULTS FILE", - "FORMATTED_RESULTS_FILE" : "FORMATTED RESULTS FILE", - "SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION" : "SUB-ITERATIONS ACCURACY FOR DISSIPATION", - "SUB_ITERATIONS_ACCURACY_FOR_CURRENT" : "SUB-ITERATIONS ACCURACY FOR CURRENT", - "SUB_ITERATIONS_ACCURACY_FOR_TETAP" : "SUB-ITERATIONS ACCURACY FOR TETAP", - "BREAKING" : "BREAKING", - "CURRENT" : "CURRENT", - "AUTOMATIC_TETAP_CALCULATION" : "AUTOMATIC TETAP CALCULATION", - "AUTOMATIC_CALCULATION_OF_PHASE" : "AUTOMATIC CALCULATION OF PHASE", - "REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE" : "REFERENCE WATER DEPTH FOR AUTOMATIC PHASE", - "PHASE_REFERENCE_COORDINATES" : "PHASE REFERENCE COORDINATES", - "KDALLY" : "KDALLY", - "BREAKING_LAW" : "BREAKING LAW", - "MAXIMUM_OF_SUB_ITERATIONS" : "MAXIMUM OF SUB-ITERATIONS", - "DISSIPATION_RELAXATION" : "DISSIPATION RELAXATION", - "MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP" : "MAXIMUM OF SUB-ITERATIONS FOR TETAP", - "RELAXATION_ON_TETAP" : "RELAXATION ON TETAP", - "ALPHA" : "ALPHA", - "GAMMAS" : "GAMMAS", - "GDALLY" : "GDALLY", - "FRICTION" : "FRICTION", - "FLUID_KINEMATIC_VISCOSITY" : "FLUID KINEMATIC VISCOSITY", - "DIAMETER90" : "DIAMETER90", - "DIAMETER50" : "DIAMETER50", - "SEDIMENT_SPECIFIC_WEIGHT" : "SEDIMENT SPECIFIC WEIGHT", - "FLUID_SPECIFIC_MASS" : "FLUID SPECIFIC MASS", - "HYDRAULIC_REGIME_IMPOSED" : "HYDRAULIC REGIME IMPOSED", - "SKIN_ROUGHNESS_ONLY" : "SKIN ROUGHNESS ONLY", - "WAVE_HEIGHTS_SMOOTHING" : "WAVE HEIGHTS SMOOTHING", - "VALIDATION" : "VALIDATION", - "HYDRAULIC_REGIME_TYPE" : "HYDRAULIC REGIME TYPE", - "BOTTOM_FRICTION_LAW" : "BOTTOM FRICTION LAW", - "FRICTION_FACTOR_IMPOSED" : "FRICTION FACTOR IMPOSED", - "FRICTION_FACTOR" : "FRICTION FACTOR", - "FRICTION_COEFFICIENT" : "FRICTION COEFFICIENT", - "RIPPLES_COEFFICIENT" : "RIPPLES COEFFICIENT", - "MINIMUM_SPECTRAL_PERIOD" : "MINIMUM SPECTRAL PERIOD", - "MAXIMUM_SPECTRAL_PERIOD" : "MAXIMUM SPECTRAL PERIOD", - "ORIGINAL_DATE_OF_TIME" : "ORIGINAL DATE OF TIME", - "ORIGINAL_HOUR_OF_TIME" : "ORIGINAL HOUR OF TIME", - "NUMBER_OF_PRIVATE_VARIABLES" : "NUMBER OF PRIVATE VARIABLES", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "PARTITIONING_TOOL" : "PARTITIONING TOOL", - "ORIGIN_COORDINATES" : "ORIGIN COORDINATES", - "REFERENCE_FILE" : "REFERENCE FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "BINARY_DATA_FILE_1_FORMAT" : "BINARY DATA FILE 1 FORMAT", - "BINARY_DATA_FILE_2_FORMAT" : "BINARY DATA FILE 2 FORMAT", - "RAPIDLY_VARYING_TOPOGRAPHY" : "RAPIDLY VARYING TOPOGRAPHY", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "FREE_SURFACE_ANIMATION" : "FREE SURFACE ANIMATION", - "AMPLITUDE_AND_PHASE_FILE" : "AMPLITUDE AND PHASE FILE", - "AMPLITUDE_AND_PHASE_FILE_FORMAT" : "AMPLITUDE AND PHASE FILE FORMAT", - "FREE_SURFACE_FILE" : "FREE SURFACE FILE", - "FREE_SURFACE_FILE_FORMAT" : "FREE SURFACE FILE FORMAT", - "FIRST_TIME_IN_THE_FREE_SURFACE_FILE" : "FIRST TIME IN THE FREE SURFACE FILE", - "TIME_STEP" : "TIME STEP", - "NUMBER_OF_TIME_STEPS" : "NUMBER OF TIME STEPS", - "NESTING_WITHIN_TOMAWAC_OUTER_MODEL" : "NESTING WITHIN TOMAWAC OUTER MODEL", - "INSTANT_FOR_READING_TOMAWAC_SPECTRUM" : "INSTANT FOR READING TOMAWAC SPECTRUM", - "TOMAWAC_OUTER_SPECTRAL_FILE" : "TOMAWAC OUTER SPECTRAL FILE", - "TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT" : "TOMAWAC OUTER SPECTRAL FILE FORMAT", - "TOMAWAC_OUTER_RESULT_FILE" : "TOMAWAC OUTER RESULT FILE", - "TOMAWAC_OUTER_RESULT_FILE_FORMAT" : "TOMAWAC OUTER RESULT FILE FORMAT", - "TOMAWAC_LIQUID_BOUNDARY_FILE" : "TOMAWAC LIQUID BOUNDARY FILE", - "TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT" : "TOMAWAC LIQUID BOUNDARY FILE FORMAT", - "COORDINATES_OF_THE_REFERENCE_F_SPECTRUM" : "COORDINATES OF THE REFERENCE F SPECTRUM", - "DICTIONARY" : "DICTIONARY", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATE PARTEL OUTPUT", -} -dicoCasEnToCata = { - "GEOMETRY FILE" : "GEOMETRY_FILE", - "TITLE" : "TITLE", - "DEBUGGER" : "DEBUGGER", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "MATRIX STORAGE" : "MATRIX_STORAGE", - "MATRIX-VECTOR PRODUCT" : "MATRIX_VECTOR_PRODUCT", - "GRAPHIC PRINTOUT PERIOD" : "GRAPHIC_PRINTOUT_PERIOD", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "NUMBER OF PERIODS" : "NUMBER_OF_PERIODS", - "BOTTOM TOPOGRAPHY SMOOTHING" : "BOTTOM_TOPOGRAPHY_SMOOTHING", - "INITIAL WATER LEVEL" : "INITIAL_WATER_LEVEL", - "PRECONDITIONING" : "PRECONDITIONING", - "SOLVER" : "SOLVER", - "SOLVER OPTION" : "SOLVER_OPTION", - "PEAK PERIOD" : "PEAK_PERIOD", - "GAMMA" : "GAMMA", - "MONODIRECTIONAL RANDOM WAVE" : "MONODIRECTIONAL_RANDOM_WAVE", - "MULTIDIRECTIONAL RANDOM WAVE" : "MULTIDIRECTIONAL_RANDOM_WAVE", - "PERIOD SCANNING" : "PERIOD_SCANNING", - "SOLVER ACCURACY" : "SOLVER_ACCURACY", - "INITIAL DEPTH" : "INITIAL_DEPTH", - "WAVE PERIOD" : "WAVE_PERIOD", - "GRAVITY ACCELERATION" : "GRAVITY_ACCELERATION", - "INITIAL CONDITIONS" : "INITIAL_CONDITIONS", - "NUMBER OF DIRECTIONS" : "NUMBER_OF_DIRECTIONS", - "DIRECTION OF WAVE PROPAGATION" : "DIRECTION_OF_WAVE_PROPAGATION", - "ZERO" : "ZERO", - "BEGINNING PERIOD FOR PERIOD SCANNING" : "BEGINNING_PERIOD_FOR_PERIOD_SCANNING", - "ENDING PERIOD FOR PERIOD SCANNING" : "ENDING_PERIOD_FOR_PERIOD_SCANNING", - "STEP FOR PERIOD SCANNING" : "STEP_FOR_PERIOD_SCANNING", - "MINIMUM ANGLE OF PROPAGATION" : "MINIMUM_ANGLE_OF_PROPAGATION", - "MAXIMUM ANGLE OF PROPAGATION" : "MAXIMUM_ANGLE_OF_PROPAGATION", - "S EXPONENT" : "S_EXPONENT", - "LISTING PRINTOUT" : "LISTING_PRINTOUT", - "INFORMATIONS ABOUT SOLVER" : "INFORMATIONS_ABOUT_SOLVER", - "VARIABLES FOR GRAPHIC PRINTOUTS" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "VARIABLES TO BE PRINTED" : "VARIABLES_TO_BE_PRINTED", - "FORTRAN FILE" : "FORTRAN_FILE", - "STEERING FILE" : "STEERING_FILE", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "RESULTS FILE" : "RESULTS_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "BINARY DATA FILE 1" : "BINARY_DATA_FILE_1", - "BINARY DATA FILE 2" : "BINARY_DATA_FILE_2", - "FORMATTED DATA FILE 1" : "FORMATTED_DATA_FILE_1", - "FORMATTED DATA FILE 2" : "FORMATTED_DATA_FILE_2", - "BINARY RESULTS FILE" : "BINARY_RESULTS_FILE", - "FORMATTED RESULTS FILE" : "FORMATTED_RESULTS_FILE", - "SUB-ITERATIONS ACCURACY FOR DISSIPATION" : "SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION", - "SUB-ITERATIONS ACCURACY FOR CURRENT" : "SUB_ITERATIONS_ACCURACY_FOR_CURRENT", - "SUB-ITERATIONS ACCURACY FOR TETAP" : "SUB_ITERATIONS_ACCURACY_FOR_TETAP", - "BREAKING" : "BREAKING", - "CURRENT" : "CURRENT", - "AUTOMATIC TETAP CALCULATION" : "AUTOMATIC_TETAP_CALCULATION", - "AUTOMATIC CALCULATION OF PHASE" : "AUTOMATIC_CALCULATION_OF_PHASE", - "REFERENCE WATER DEPTH FOR AUTOMATIC PHASE" : "REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE", - "PHASE REFERENCE COORDINATES" : "PHASE_REFERENCE_COORDINATES", - "KDALLY" : "KDALLY", - "BREAKING LAW" : "BREAKING_LAW", - "MAXIMUM OF SUB-ITERATIONS" : "MAXIMUM_OF_SUB_ITERATIONS", - "DISSIPATION RELAXATION" : "DISSIPATION_RELAXATION", - "MAXIMUM OF SUB-ITERATIONS FOR TETAP" : "MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP", - "RELAXATION ON TETAP" : "RELAXATION_ON_TETAP", - "ALPHA" : "ALPHA", - "GAMMAS" : "GAMMAS", - "GDALLY" : "GDALLY", - "FRICTION" : "FRICTION", - "FLUID KINEMATIC VISCOSITY" : "FLUID_KINEMATIC_VISCOSITY", - "DIAMETER90" : "DIAMETER90", - "DIAMETER50" : "DIAMETER50", - "SEDIMENT SPECIFIC WEIGHT" : "SEDIMENT_SPECIFIC_WEIGHT", - "FLUID SPECIFIC MASS" : "FLUID_SPECIFIC_MASS", - "HYDRAULIC REGIME IMPOSED" : "HYDRAULIC_REGIME_IMPOSED", - "SKIN ROUGHNESS ONLY" : "SKIN_ROUGHNESS_ONLY", - "WAVE HEIGHTS SMOOTHING" : "WAVE_HEIGHTS_SMOOTHING", - "VALIDATION" : "VALIDATION", - "HYDRAULIC REGIME TYPE" : "HYDRAULIC_REGIME_TYPE", - "BOTTOM FRICTION LAW" : "BOTTOM_FRICTION_LAW", - "FRICTION FACTOR IMPOSED" : "FRICTION_FACTOR_IMPOSED", - "FRICTION FACTOR" : "FRICTION_FACTOR", - "FRICTION COEFFICIENT" : "FRICTION_COEFFICIENT", - "RIPPLES COEFFICIENT" : "RIPPLES_COEFFICIENT", - "MINIMUM SPECTRAL PERIOD" : "MINIMUM_SPECTRAL_PERIOD", - "MAXIMUM SPECTRAL PERIOD" : "MAXIMUM_SPECTRAL_PERIOD", - "ORIGINAL DATE OF TIME" : "ORIGINAL_DATE_OF_TIME", - "ORIGINAL HOUR OF TIME" : "ORIGINAL_HOUR_OF_TIME", - "NUMBER OF PRIVATE VARIABLES" : "NUMBER_OF_PRIVATE_VARIABLES", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "PARTITIONING TOOL" : "PARTITIONING_TOOL", - "ORIGIN COORDINATES" : "ORIGIN_COORDINATES", - "REFERENCE FILE" : "REFERENCE_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "BINARY DATA FILE 1 FORMAT" : "BINARY_DATA_FILE_1_FORMAT", - "BINARY DATA FILE 2 FORMAT" : "BINARY_DATA_FILE_2_FORMAT", - "RAPIDLY VARYING TOPOGRAPHY" : "RAPIDLY_VARYING_TOPOGRAPHY", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "FREE SURFACE ANIMATION" : "FREE_SURFACE_ANIMATION", - "AMPLITUDE AND PHASE FILE" : "AMPLITUDE_AND_PHASE_FILE", - "AMPLITUDE AND PHASE FILE FORMAT" : "AMPLITUDE_AND_PHASE_FILE_FORMAT", - "FREE SURFACE FILE" : "FREE_SURFACE_FILE", - "FREE SURFACE FILE FORMAT" : "FREE_SURFACE_FILE_FORMAT", - "FIRST TIME IN THE FREE SURFACE FILE" : "FIRST_TIME_IN_THE_FREE_SURFACE_FILE", - "TIME STEP" : "TIME_STEP", - "NUMBER OF TIME STEPS" : "NUMBER_OF_TIME_STEPS", - "NESTING WITHIN TOMAWAC OUTER MODEL" : "NESTING_WITHIN_TOMAWAC_OUTER_MODEL", - "INSTANT FOR READING TOMAWAC SPECTRUM" : "INSTANT_FOR_READING_TOMAWAC_SPECTRUM", - "TOMAWAC OUTER SPECTRAL FILE" : "TOMAWAC_OUTER_SPECTRAL_FILE", - "TOMAWAC OUTER SPECTRAL FILE FORMAT" : "TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT", - "TOMAWAC OUTER RESULT FILE" : "TOMAWAC_OUTER_RESULT_FILE", - "TOMAWAC OUTER RESULT FILE FORMAT" : "TOMAWAC_OUTER_RESULT_FILE_FORMAT", - "TOMAWAC LIQUID BOUNDARY FILE" : "TOMAWAC_LIQUID_BOUNDARY_FILE", - "TOMAWAC LIQUID BOUNDARY FILE FORMAT" : "TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT", - "COORDINATES OF THE REFERENCE F SPECTRUM" : "COORDINATES_OF_THE_REFERENCE_F_SPECTRUM", - "DICTIONARY" : "DICTIONARY", - "CONCATENATE PARTEL OUTPUT" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/artemis_dicoCasFrToCata.py b/Telemac/artemis_dicoCasFrToCata.py deleted file mode 100644 index a8a8867b..00000000 --- a/Telemac/artemis_dicoCasFrToCata.py +++ /dev/null @@ -1,240 +0,0 @@ -dicoCataToFrTelemac = { - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "TITLE" : "TITRE", - "DEBUGGER" : "DEBUGGER", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "MATRIX_STORAGE" : "STOCKAGE DES MATRICES", - "MATRIX_VECTOR_PRODUCT" : "PRODUIT MATRICE-VECTEUR", - "GRAPHIC_PRINTOUT_PERIOD" : "PERIODE DE SORTIE GRAPHIQUE", - "LISTING_PRINTOUT_PERIOD" : "PERIODE DE SORTIE LISTING", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM D'ITERATIONS POUR LE SOLVEUR", - "NUMBER_OF_PERIODS" : "NOMBRE DE PERIODES DE DISCRETISATION", - "BOTTOM_TOPOGRAPHY_SMOOTHING" : "LISSAGES DU FOND", - "INITIAL_WATER_LEVEL" : "COTE INITIALE", - "PRECONDITIONING" : "PRECONDITIONNEMENT", - "SOLVER" : "SOLVEUR", - "SOLVER_OPTION" : "OPTION DU SOLVEUR", - "PEAK_PERIOD" : "PERIODE DE PIC", - "GAMMA" : "GAMMA", - "MONODIRECTIONAL_RANDOM_WAVE" : "HOULE ALEATOIRE MONODIRECTIONNELLE", - "MULTIDIRECTIONAL_RANDOM_WAVE" : "HOULE ALEATOIRE MULTIDIRECTIONNELLE", - "PERIOD_SCANNING" : "BALAYAGE EN PERIODE", - "SOLVER_ACCURACY" : "PRECISION DU SOLVEUR", - "INITIAL_DEPTH" : "HAUTEUR INITIALE", - "WAVE_PERIOD" : "PERIODE DE LA HOULE", - "GRAVITY_ACCELERATION" : "ACCELERATION DE LA PESANTEUR", - "INITIAL_CONDITIONS" : "CONDITIONS INITIALES", - "NUMBER_OF_DIRECTIONS" : "NOMBRE DE DIRECTIONS DE DISCRETISATION", - "DIRECTION_OF_WAVE_PROPAGATION" : "DIRECTION DE PROPAGATION DE LA HOULE", - "ZERO" : "ZERO", - "BEGINNING_PERIOD_FOR_PERIOD_SCANNING" : "PERIODE DE DEBUT POUR LE BALAYAGE EN PERIODE", - "ENDING_PERIOD_FOR_PERIOD_SCANNING" : "PERIODE DE FIN POUR LE BALAYAGE EN PERIODE", - "STEP_FOR_PERIOD_SCANNING" : "PAS POUR LE BALAYAGE EN PERIODE", - "MINIMUM_ANGLE_OF_PROPAGATION" : "ANGLE MINIMUM DE PROPAGATION", - "MAXIMUM_ANGLE_OF_PROPAGATION" : "ANGLE MAXIMUM DE PROPAGATION", - "S_EXPONENT" : "EXPOSANT S", - "LISTING_PRINTOUT" : "SORTIE LISTING", - "INFORMATIONS_ABOUT_SOLVER" : "INFORMATIONS SUR LE SOLVEUR", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES A IMPRIMER", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "BINARY_DATA_FILE_1" : "FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_2" : "FICHIER DE DONNEES BINAIRE 2", - "FORMATTED_DATA_FILE_1" : "FICHIER DE DONNEES FORMATE 1", - "FORMATTED_DATA_FILE_2" : "FICHIER DE DONNEES FORMATE 2", - "BINARY_RESULTS_FILE" : "FICHIER DES RESULTATS BINAIRE", - "FORMATTED_RESULTS_FILE" : "FICHIER DES RESULTATS FORMATE", - "SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION" : "PRECISION SUR LES SOUS-ITERATIONS POUR LA DISSIPATION", - "SUB_ITERATIONS_ACCURACY_FOR_CURRENT" : "PRECISION SUR LES SOUS-ITERATIONS POUR COURANT", - "SUB_ITERATIONS_ACCURACY_FOR_TETAP" : "PRECISION SUR LES SOUS-ITERATIONS POUR TETAP", - "BREAKING" : "DEFERLEMENT", - "CURRENT" : "COURANT", - "AUTOMATIC_TETAP_CALCULATION" : "CALCUL AUTOMATIQUE DE TETAP", - "AUTOMATIC_CALCULATION_OF_PHASE" : "CALCUL AUTOMATIQUE DE LA PHASE", - "REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE" : "PROFONDEUR DE REFERENCE POUR LA PHASE AUTOMATIQUE", - "PHASE_REFERENCE_COORDINATES" : "COORDONNEES DE REFERENCE POUR LA PHASE", - "KDALLY" : "KDALLY", - "BREAKING_LAW" : "FORMULATION DU DEFERLEMENT", - "MAXIMUM_OF_SUB_ITERATIONS" : "MAXIMUM DE SOUS-ITERATIONS", - "DISSIPATION_RELAXATION" : "RELAXATION SUR LA DISSIPATION", - "MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP" : "MAXIMUM DE SOUS-ITERATIONS POUR TETAP", - "RELAXATION_ON_TETAP" : "RELAXATION SUR TETAP", - "ALPHA" : "ALPHA", - "GAMMAS" : "GAMMAS", - "GDALLY" : "GDALLY", - "FRICTION" : "FROTTEMENT", - "FLUID_KINEMATIC_VISCOSITY" : "VISCOSITE CINEMATIQUE DU FLUIDE", - "DIAMETER90" : "DIAMETRE90", - "DIAMETER50" : "DIAMETRE50", - "SEDIMENT_SPECIFIC_WEIGHT" : "MASSE VOLUMIQUE DU SEDIMENT", - "FLUID_SPECIFIC_MASS" : "MASSE VOLUMIQUE DU FLUIDE", - "HYDRAULIC_REGIME_IMPOSED" : "REGIME HYDRAULIQUE IMPOSE", - "SKIN_ROUGHNESS_ONLY" : "RUGOSITE DE PEAU SEULE", - "WAVE_HEIGHTS_SMOOTHING" : "LISSAGE DES HAUTEURS DE HOULE", - "VALIDATION" : "VALIDATION", - "HYDRAULIC_REGIME_TYPE" : "TYPE DU REGIME HYDRAULIQUE", - "BOTTOM_FRICTION_LAW" : "FORMULATION DU FROTTEMENT DE FOND", - "FRICTION_FACTOR_IMPOSED" : "FACTEUR DE FROTTEMENT IMPOSE", - "FRICTION_FACTOR" : "FACTEUR DE FROTTEMENT", - "FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT", - "RIPPLES_COEFFICIENT" : "COEFFICIENT DE RIDES", - "MINIMUM_SPECTRAL_PERIOD" : "PERIODE MINIMUM DU SPECTRE", - "MAXIMUM_SPECTRAL_PERIOD" : "PERIODE MAXIMUM DU SPECTRE", - "ORIGINAL_DATE_OF_TIME" : "DATE DE L'ORIGINE DES TEMPS", - "ORIGINAL_HOUR_OF_TIME" : "HEURE DE L'ORIGINE DES TEMPS", - "NUMBER_OF_PRIVATE_VARIABLES" : "NOMBRE DE VARIABLES PRIVEES", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "PARTITIONING_TOOL" : "PARTITIONNEUR", - "ORIGIN_COORDINATES" : "COORDONNEES DE L'ORIGINE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DE RESULTATS", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "BINARY_DATA_FILE_1_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_2_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 2", - "RAPIDLY_VARYING_TOPOGRAPHY" : "VARIATION RAPIDE DE LA BATHYMETRIE", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "FREE_SURFACE_ANIMATION" : "ANIMATION DE LA SURFACE LIBRE", - "AMPLITUDE_AND_PHASE_FILE" : "FICHIER DES PHASES ET AMPLITUDES", - "AMPLITUDE_AND_PHASE_FILE_FORMAT" : "FORMAT DU FICHIER DES PHASES ET AMPLITUDES", - "FREE_SURFACE_FILE" : "FICHIER DE SURFACE LIBRE", - "FREE_SURFACE_FILE_FORMAT" : "FORMAT DU FICHIER DE SURFACE LIBRE", - "FIRST_TIME_IN_THE_FREE_SURFACE_FILE" : "PREMIER TEMPS DANS LE FICHIER DE SURFACE LIBRE", - "TIME_STEP" : "PAS DE TEMPS", - "NUMBER_OF_TIME_STEPS" : "NOMBRE DE PAS DE TEMPS", - "NESTING_WITHIN_TOMAWAC_OUTER_MODEL" : "CHAINAGE AVEC MODELE GLOBAL TOMAWAC", - "INSTANT_FOR_READING_TOMAWAC_SPECTRUM" : "INSTANT DE LECTURE DU SPECTRE TOMAWAC", - "TOMAWAC_OUTER_SPECTRAL_FILE" : "FICHIER DE SPECTRE GLOBAL TOMAWAC", - "TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT" : "FORMAT DU FICHIER DE SPECTRE GLOBAL TOMAWAC", - "TOMAWAC_OUTER_RESULT_FILE" : "FICHIER DE RESULTATS GLOBAL TOMAWAC", - "TOMAWAC_OUTER_RESULT_FILE_FORMAT" : "FORMAT DU FICHIER DE RESULTATS GLOBAL TOMAWAC", - "TOMAWAC_LIQUID_BOUNDARY_FILE" : "FICHIER DE FRONTIERES LIQUIDES TOMAWAC", - "TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT" : "FORMAT DU FICHIER DE FRONTIERES LIQUIDES TOMAWAC", - "COORDINATES_OF_THE_REFERENCE_F_SPECTRUM" : "COORDONNEES POUR LE SPECTRE F DE REFERENCE", - "DICTIONARY" : "DICTIONNAIRE", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATION SORTIE PARTEL", -} -dicoCasFrToCata = { - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "TITRE" : "TITLE", - "DEBUGGER" : "DEBUGGER", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "STOCKAGE DES MATRICES" : "MATRIX_STORAGE", - "PRODUIT MATRICE-VECTEUR" : "MATRIX_VECTOR_PRODUCT", - "PERIODE DE SORTIE GRAPHIQUE" : "GRAPHIC_PRINTOUT_PERIOD", - "PERIODE DE SORTIE LISTING" : "LISTING_PRINTOUT_PERIOD", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "NOMBRE DE PERIODES DE DISCRETISATION" : "NUMBER_OF_PERIODS", - "LISSAGES DU FOND" : "BOTTOM_TOPOGRAPHY_SMOOTHING", - "COTE INITIALE" : "INITIAL_WATER_LEVEL", - "PRECONDITIONNEMENT" : "PRECONDITIONING", - "SOLVEUR" : "SOLVER", - "OPTION DU SOLVEUR" : "SOLVER_OPTION", - "PERIODE DE PIC" : "PEAK_PERIOD", - "GAMMA" : "GAMMA", - "HOULE ALEATOIRE MONODIRECTIONNELLE" : "MONODIRECTIONAL_RANDOM_WAVE", - "HOULE ALEATOIRE MULTIDIRECTIONNELLE" : "MULTIDIRECTIONAL_RANDOM_WAVE", - "BALAYAGE EN PERIODE" : "PERIOD_SCANNING", - "PRECISION DU SOLVEUR" : "SOLVER_ACCURACY", - "HAUTEUR INITIALE" : "INITIAL_DEPTH", - "PERIODE DE LA HOULE" : "WAVE_PERIOD", - "ACCELERATION DE LA PESANTEUR" : "GRAVITY_ACCELERATION", - "CONDITIONS INITIALES" : "INITIAL_CONDITIONS", - "NOMBRE DE DIRECTIONS DE DISCRETISATION" : "NUMBER_OF_DIRECTIONS", - "DIRECTION DE PROPAGATION DE LA HOULE" : "DIRECTION_OF_WAVE_PROPAGATION", - "ZERO" : "ZERO", - "PERIODE DE DEBUT POUR LE BALAYAGE EN PERIODE" : "BEGINNING_PERIOD_FOR_PERIOD_SCANNING", - "PERIODE DE FIN POUR LE BALAYAGE EN PERIODE" : "ENDING_PERIOD_FOR_PERIOD_SCANNING", - "PAS POUR LE BALAYAGE EN PERIODE" : "STEP_FOR_PERIOD_SCANNING", - "ANGLE MINIMUM DE PROPAGATION" : "MINIMUM_ANGLE_OF_PROPAGATION", - "ANGLE MAXIMUM DE PROPAGATION" : "MAXIMUM_ANGLE_OF_PROPAGATION", - "EXPOSANT S" : "S_EXPONENT", - "SORTIE LISTING" : "LISTING_PRINTOUT", - "INFORMATIONS SUR LE SOLVEUR" : "INFORMATIONS_ABOUT_SOLVER", - "VARIABLES POUR LES SORTIES GRAPHIQUES" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "VARIABLES A IMPRIMER" : "VARIABLES_TO_BE_PRINTED", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1", - "FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2", - "FICHIER DE DONNEES FORMATE 1" : "FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2" : "FORMATTED_DATA_FILE_2", - "FICHIER DES RESULTATS BINAIRE" : "BINARY_RESULTS_FILE", - "FICHIER DES RESULTATS FORMATE" : "FORMATTED_RESULTS_FILE", - "PRECISION SUR LES SOUS-ITERATIONS POUR LA DISSIPATION" : "SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION", - "PRECISION SUR LES SOUS-ITERATIONS POUR COURANT" : "SUB_ITERATIONS_ACCURACY_FOR_CURRENT", - "PRECISION SUR LES SOUS-ITERATIONS POUR TETAP" : "SUB_ITERATIONS_ACCURACY_FOR_TETAP", - "DEFERLEMENT" : "BREAKING", - "COURANT" : "CURRENT", - "CALCUL AUTOMATIQUE DE TETAP" : "AUTOMATIC_TETAP_CALCULATION", - "CALCUL AUTOMATIQUE DE LA PHASE" : "AUTOMATIC_CALCULATION_OF_PHASE", - "PROFONDEUR DE REFERENCE POUR LA PHASE AUTOMATIQUE" : "REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE", - "COORDONNEES DE REFERENCE POUR LA PHASE" : "PHASE_REFERENCE_COORDINATES", - "KDALLY" : "KDALLY", - "FORMULATION DU DEFERLEMENT" : "BREAKING_LAW", - "MAXIMUM DE SOUS-ITERATIONS" : "MAXIMUM_OF_SUB_ITERATIONS", - "RELAXATION SUR LA DISSIPATION" : "DISSIPATION_RELAXATION", - "MAXIMUM DE SOUS-ITERATIONS POUR TETAP" : "MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP", - "RELAXATION SUR TETAP" : "RELAXATION_ON_TETAP", - "ALPHA" : "ALPHA", - "GAMMAS" : "GAMMAS", - "GDALLY" : "GDALLY", - "FROTTEMENT" : "FRICTION", - "VISCOSITE CINEMATIQUE DU FLUIDE" : "FLUID_KINEMATIC_VISCOSITY", - "DIAMETRE90" : "DIAMETER90", - "DIAMETRE50" : "DIAMETER50", - "MASSE VOLUMIQUE DU SEDIMENT" : "SEDIMENT_SPECIFIC_WEIGHT", - "MASSE VOLUMIQUE DU FLUIDE" : "FLUID_SPECIFIC_MASS", - "REGIME HYDRAULIQUE IMPOSE" : "HYDRAULIC_REGIME_IMPOSED", - "RUGOSITE DE PEAU SEULE" : "SKIN_ROUGHNESS_ONLY", - "LISSAGE DES HAUTEURS DE HOULE" : "WAVE_HEIGHTS_SMOOTHING", - "VALIDATION" : "VALIDATION", - "TYPE DU REGIME HYDRAULIQUE" : "HYDRAULIC_REGIME_TYPE", - "FORMULATION DU FROTTEMENT DE FOND" : "BOTTOM_FRICTION_LAW", - "FACTEUR DE FROTTEMENT IMPOSE" : "FRICTION_FACTOR_IMPOSED", - "FACTEUR DE FROTTEMENT" : "FRICTION_FACTOR", - "COEFFICIENT DE FROTTEMENT" : "FRICTION_COEFFICIENT", - "COEFFICIENT DE RIDES" : "RIPPLES_COEFFICIENT", - "PERIODE MINIMUM DU SPECTRE" : "MINIMUM_SPECTRAL_PERIOD", - "PERIODE MAXIMUM DU SPECTRE" : "MAXIMUM_SPECTRAL_PERIOD", - "DATE DE L'ORIGINE DES TEMPS" : "ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS" : "ORIGINAL_HOUR_OF_TIME", - "NOMBRE DE VARIABLES PRIVEES" : "NUMBER_OF_PRIVATE_VARIABLES", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "PARTITIONNEUR" : "PARTITIONING_TOOL", - "COORDONNEES DE L'ORIGINE" : "ORIGIN_COORDINATES", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FORMAT DU FICHIER DE RESULTATS" : "RESULTS_FILE_FORMAT", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1_FORMAT", - "FORMAT DU FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2_FORMAT", - "VARIATION RAPIDE DE LA BATHYMETRIE" : "RAPIDLY_VARYING_TOPOGRAPHY", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "ANIMATION DE LA SURFACE LIBRE" : "FREE_SURFACE_ANIMATION", - "FICHIER DES PHASES ET AMPLITUDES" : "AMPLITUDE_AND_PHASE_FILE", - "FORMAT DU FICHIER DES PHASES ET AMPLITUDES" : "AMPLITUDE_AND_PHASE_FILE_FORMAT", - "FICHIER DE SURFACE LIBRE" : "FREE_SURFACE_FILE", - "FORMAT DU FICHIER DE SURFACE LIBRE" : "FREE_SURFACE_FILE_FORMAT", - "PREMIER TEMPS DANS LE FICHIER DE SURFACE LIBRE" : "FIRST_TIME_IN_THE_FREE_SURFACE_FILE", - "PAS DE TEMPS" : "TIME_STEP", - "NOMBRE DE PAS DE TEMPS" : "NUMBER_OF_TIME_STEPS", - "CHAINAGE AVEC MODELE GLOBAL TOMAWAC" : "NESTING_WITHIN_TOMAWAC_OUTER_MODEL", - "INSTANT DE LECTURE DU SPECTRE TOMAWAC" : "INSTANT_FOR_READING_TOMAWAC_SPECTRUM", - "FICHIER DE SPECTRE GLOBAL TOMAWAC" : "TOMAWAC_OUTER_SPECTRAL_FILE", - "FORMAT DU FICHIER DE SPECTRE GLOBAL TOMAWAC" : "TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT", - "FICHIER DE RESULTATS GLOBAL TOMAWAC" : "TOMAWAC_OUTER_RESULT_FILE", - "FORMAT DU FICHIER DE RESULTATS GLOBAL TOMAWAC" : "TOMAWAC_OUTER_RESULT_FILE_FORMAT", - "FICHIER DE FRONTIERES LIQUIDES TOMAWAC" : "TOMAWAC_LIQUID_BOUNDARY_FILE", - "FORMAT DU FICHIER DE FRONTIERES LIQUIDES TOMAWAC" : "TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT", - "COORDONNEES POUR LE SPECTRE F DE REFERENCE" : "COORDINATES_OF_THE_REFERENCE_F_SPECTRUM", - "DICTIONNAIRE" : "DICTIONARY", - "CONCATENATION SORTIE PARTEL" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/artemis_enum_auto.py b/Telemac/artemis_enum_auto.py deleted file mode 100644 index 3fcb3edc..00000000 --- a/Telemac/artemis_enum_auto.py +++ /dev/null @@ -1,503 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'MATRIX_STORAGE' : { - 1:"Classical EBE", - 2:"Assembled EBE", - 3:"Edge-based storage", - }, -'PRECONDITIONING' : { - 0:"no preconditioning", - 2:"diagonal preconditioning", - 3:"block-diagonal preconditioning", - 5:"absolute value diagonal preconditioning", - 7:"Crout preconditioning", - }, -'SOLVER' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"CGSTAB", - 7:"GMRES", - 8:"direct", - 9:"parallel direct (MUMPS)", - }, -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'HS':"wave height", - 'PHAS':"wave phase", - 'U0':"velocity u (free surface)(t=0)", - 'V0':"velocity v (free surface)(t=0)", - 'ZS':"free surface elevation (t=0)", - 'ZF':"bottom elevation", - 'HW':"still water height", - 'C':"phase velocity", - 'CG':"group velocity", - 'K':"wave number", - 'PHIR':"real potential", - 'PHII':"imaginal potential", - 'D':"prive(1,1)", - 'E':"prive(1,2)", - 'F':"prive(1,3)", - 'G':"prive(1,4)", - 'T01':"first mean spectral period", - 'T02':"second mean spectral period", - 'TM':"third mean spectral period", - 'FX':"force along X", - 'FY':"force along Y", - 'INC':"wave incidence radian", - 'QB':"breaking rate", - 'SXX':"SXX stress", - 'SXY':"SXY stress", - 'SYY':"SYY stress", - }, -'VARIABLES_TO_BE_PRINTED' : { - 'HS':"wave height", - 'PHAS':"wave phase", - 'U0':"velocity u (free surface)(t=0)", - 'V0':"velocity v (free surface)(t=0)", - 'ZS':"free surface elevation (t=0)", - 'ZF':"bottom elevation", - 'HW':"still water height", - 'C':"phase velocity", - 'CG':"group velocity", - 'K':"wave number", - 'PHIR':"real potential", - 'PHII':"imaginal potential", - 'D':"prive(1,1)", - 'E':"prive(1,2)", - 'F':"prive(1,3)", - 'G':"prive(1,4)", - 'T01':"first mean spectral period", - 'T02':"second mean spectral period", - 'TM':"third mean spectral period", - 'FX':"force along X", - 'FY':"force along Y", - 'INC':"wave incidence radian", - 'QB':"breaking rate", - 'SXX':"SXX stress", - 'SXY':"SXY stress", - 'SYY':"SYY stress", - }, -'BREAKING_LAW' : { - 1:"BATTJES \& JANSSEN", - 2:"DALLY", - }, -'HYDRAULIC_REGIME_TYPE' : { - 1:"laminar regime", - 2:"smooth-turbulent regime", - 3:"rough-turbulent regime", - 4:"transient regime", - }, -'BOTTOM_FRICTION_LAW' : { - 1:"Kostense formulation integrating Ue calculation (1986)", - 2:"Putnam \& Johnson formulation (1949)", - }, -'RAPIDLY_VARYING_TOPOGRAPHY' : { - 0:"mild-slope equation", - 1:"gradient second order term", - 2:"curvature second order term", - 3:"gradient + curvature second order terms", - }, -'NESTING_WITHIN_TOMAWAC_OUTER_MODEL' : { - 0:"No nesting", - 1:"Uses a TOMAWAC spectrum (1 point) as input to ARTEMIS", - 2:"Uses several TOMAWAC spectra located along ARTEMIS boundary", - }, -} -TelemacdicoFr = { -'MATRIX_STORAGE' : { - 1:"EBE classique", - 2:"EBE assemble", - 3:"Stockage par segments", - }, -'PRECONDITIONING' : { - 0:"pas de preconditionnement", - 2:"preconditionnement diagonal", - 3:"preconditionnement bloc-diagonal", - 5:"preconditionnement diagonal en valeur absolue", - 7:"preconditionnement de Crout par element", - }, -'SOLVER' : { - 1:"gradient conjugue", - 2:"residu conjugue", - 3:"gradient conjugue sur equation normale", - 4:"erreur minimale", - 5:"gradient conjugue carre (non programme)", - 6:"CGSTAB", - 7:"GMRES", - 8:"direct", - 9:"direct parallele (MUMPS)", - }, -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'HS':"hauteur de la houle", - 'PHAS':"phase de la houle", - 'U0':"vitesse u en surface a t=0", - 'V0':"vitesse v en surface a t=0", - 'ZS':"cote de la surface libre", - 'ZF':"fond", - 'HW':"hauteur d eau au repos", - 'C':"vitesse de phase", - 'CG':"vitesse de groupe", - 'K':"nombre d onde", - 'PHIR':"potentiel reel", - 'PHII':"potentiel imaginaire", - 'D':"prive(1,1)", - 'E':"prive(1,2)", - 'F':"prive(1,3)", - 'G':"prive(1,4)", - 'T01':"premiere periode moyenne spectrale", - 'T02':"deuxieme periode moyenne spectrale", - 'TM':"troisieme periode moyenne spectrale", - 'FX':"force en X", - 'FY':"force en Y", - 'INC':"incidence de la houle", - 'QB':"taux de deferlement", - 'SXX':"contrainte SXX", - 'SXY':"contrainte SXY", - 'SYY':"contrainte SYY", - }, -'VARIABLES_TO_BE_PRINTED' : { - 'HS':"hauteur de la houle", - 'PHAS':"phase de la houle", - 'U0':"vitesse u en surface a t=0", - 'V0':"vitesse v en surface a t=0", - 'ZS':"cote de la surface libre", - 'ZF':"fond", - 'HW':"hauteur d eau au repos", - 'C':"vitesse de phase", - 'CG':"vitesse de groupe", - 'K':"nombre d onde", - 'PHIR':"potentiel reel", - 'PHII':"potentiel imaginaire", - 'D':"prive(1,1)", - 'E':"prive(1,2)", - 'F':"prive(1,3)", - 'G':"prive(1,4)", - 'T01':"premiere periode moyenne spectrale", - 'T02':"deuxieme periode moyenne spectrale", - 'TM':"troisieme periode moyenne spectrale", - 'FX':"force en X", - 'FY':"force en Y", - 'INC':"incidence de la houle", - 'QB':"taux de deferlement", - 'SXX':"contrainte SXX", - 'SXY':"contrainte SXY", - 'SYY':"contrainte SYY", - }, -'BREAKING_LAW' : { - 1:"BATTJES \& JANSSEN", - 2:"DALLY", - }, -'HYDRAULIC_REGIME_TYPE' : { - 1:"regime laminaire", - 2:"regime turbulent lisse", - 3:"regime turbulent rugueux", - 4:"regime transitoire", - }, -'BOTTOM_FRICTION_LAW' : { - 1:"Formulation de Kostense integrant le calcul de Ue (1986)", - 2:"Formulation de Putnam \& Johnson (1949)", - }, -'RAPIDLY_VARYING_TOPOGRAPHY' : { - 0:"BERKHOFF SIMPLE", - 1:"PRISE EN COMPTE TERME DE PENTE", - 2:"PRISE EN COMPTE TERME DE COURBURE", - 3:"PRISE EN COMPTE DES TERMES DE PENTE ET COURBURE", - }, -'NESTING_WITHIN_TOMAWAC_OUTER_MODEL' : { - 0:"Pas de chainage", - 1:"Utilise un spectre TOMAWAC (1 point) en entree du calcul artemis", - 2:"Utilise plusieurs spectres TOMAWAC le long de la frontiere", - }, -} - -DicoCasFrToCata = { - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "TITRE":"TITLE", - "DEBUGGER":"DEBUGGER", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "STOCKAGE DES MATRICES":"MATRIX_STORAGE", - "PRODUIT MATRICE-VECTEUR":"MATRIX_VECTOR_PRODUCT", - "PERIODE DE SORTIE GRAPHIQUE":"GRAPHIC_PRINTOUT_PERIOD", - "PERIODE DE SORTIE LISTING":"LISTING_PRINTOUT_PERIOD", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "NOMBRE DE PERIODES DE DISCRETISATION":"NUMBER_OF_PERIODS", - "LISSAGES DU FOND":"BOTTOM_TOPOGRAPHY_SMOOTHING", - "COTE INITIALE":"INITIAL_WATER_LEVEL", - "PRECONDITIONNEMENT":"PRECONDITIONING", - "SOLVEUR":"SOLVER", - "OPTION DU SOLVEUR":"SOLVER_OPTION", - "PERIODE DE PIC":"PEAK_PERIOD", - "GAMMA":"GAMMA", - "HOULE ALEATOIRE MONODIRECTIONNELLE":"MONODIRECTIONAL_RANDOM_WAVE", - "HOULE ALEATOIRE MULTIDIRECTIONNELLE":"MULTIDIRECTIONAL_RANDOM_WAVE", - "BALAYAGE EN PERIODE":"PERIOD_SCANNING", - "PRECISION DU SOLVEUR":"SOLVER_ACCURACY", - "HAUTEUR INITIALE":"INITIAL_DEPTH", - "PERIODE DE LA HOULE":"WAVE_PERIOD", - "ACCELERATION DE LA PESANTEUR":"GRAVITY_ACCELERATION", - "CONDITIONS INITIALES":"INITIAL_CONDITIONS", - "NOMBRE DE DIRECTIONS DE DISCRETISATION":"NUMBER_OF_DIRECTIONS", - "DIRECTION DE PROPAGATION DE LA HOULE":"DIRECTION_OF_WAVE_PROPAGATION", - "ZERO":"ZERO", - "PERIODE DE DEBUT POUR LE BALAYAGE EN PERIODE":"BEGINNING_PERIOD_FOR_PERIOD_SCANNING", - "PERIODE DE FIN POUR LE BALAYAGE EN PERIODE":"ENDING_PERIOD_FOR_PERIOD_SCANNING", - "PAS POUR LE BALAYAGE EN PERIODE":"STEP_FOR_PERIOD_SCANNING", - "ANGLE MINIMUM DE PROPAGATION":"MINIMUM_ANGLE_OF_PROPAGATION", - "ANGLE MAXIMUM DE PROPAGATION":"MAXIMUM_ANGLE_OF_PROPAGATION", - "EXPOSANT S":"S_EXPONENT", - "SORTIE LISTING":"LISTING_PRINTOUT", - "INFORMATIONS SUR LE SOLVEUR":"INFORMATIONS_ABOUT_SOLVER", - "VARIABLES POUR LES SORTIES GRAPHIQUES":"VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "VARIABLES A IMPRIMER":"VARIABLES_TO_BE_PRINTED", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1", - "FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2", - "FICHIER DE DONNEES FORMATE 1":"FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2":"FORMATTED_DATA_FILE_2", - "FICHIER DES RESULTATS BINAIRE":"BINARY_RESULTS_FILE", - "FICHIER DES RESULTATS FORMATE":"FORMATTED_RESULTS_FILE", - "PRECISION SUR LES SOUS-ITERATIONS POUR LA DISSIPATION":"SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION", - "PRECISION SUR LES SOUS-ITERATIONS POUR COURANT":"SUB_ITERATIONS_ACCURACY_FOR_CURRENT", - "PRECISION SUR LES SOUS-ITERATIONS POUR TETAP":"SUB_ITERATIONS_ACCURACY_FOR_TETAP", - "DEFERLEMENT":"BREAKING", - "COURANT":"CURRENT", - "CALCUL AUTOMATIQUE DE TETAP":"AUTOMATIC_TETAP_CALCULATION", - "CALCUL AUTOMATIQUE DE LA PHASE":"AUTOMATIC_CALCULATION_OF_PHASE", - "PROFONDEUR DE REFERENCE POUR LA PHASE AUTOMATIQUE":"REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE", - "COORDONNEES DE REFERENCE POUR LA PHASE":"PHASE_REFERENCE_COORDINATES", - "KDALLY":"KDALLY", - "FORMULATION DU DEFERLEMENT":"BREAKING_LAW", - "MAXIMUM DE SOUS-ITERATIONS":"MAXIMUM_OF_SUB_ITERATIONS", - "RELAXATION SUR LA DISSIPATION":"DISSIPATION_RELAXATION", - "MAXIMUM DE SOUS-ITERATIONS POUR TETAP":"MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP", - "RELAXATION SUR TETAP":"RELAXATION_ON_TETAP", - "ALPHA":"ALPHA", - "GAMMAS":"GAMMAS", - "GDALLY":"GDALLY", - "FROTTEMENT":"FRICTION", - "VISCOSITE CINEMATIQUE DU FLUIDE":"FLUID_KINEMATIC_VISCOSITY", - "DIAMETRE90":"DIAMETER90", - "DIAMETRE50":"DIAMETER50", - "MASSE VOLUMIQUE DU SEDIMENT":"SEDIMENT_SPECIFIC_WEIGHT", - "MASSE VOLUMIQUE DU FLUIDE":"FLUID_SPECIFIC_MASS", - "REGIME HYDRAULIQUE IMPOSE":"HYDRAULIC_REGIME_IMPOSED", - "RUGOSITE DE PEAU SEULE":"SKIN_ROUGHNESS_ONLY", - "LISSAGE DES HAUTEURS DE HOULE":"WAVE_HEIGHTS_SMOOTHING", - "VALIDATION":"VALIDATION", - "TYPE DU REGIME HYDRAULIQUE":"HYDRAULIC_REGIME_TYPE", - "FORMULATION DU FROTTEMENT DE FOND":"BOTTOM_FRICTION_LAW", - "FACTEUR DE FROTTEMENT IMPOSE":"FRICTION_FACTOR_IMPOSED", - "FACTEUR DE FROTTEMENT":"FRICTION_FACTOR", - "COEFFICIENT DE FROTTEMENT":"FRICTION_COEFFICIENT", - "COEFFICIENT DE RIDES":"RIPPLES_COEFFICIENT", - "PERIODE MINIMUM DU SPECTRE":"MINIMUM_SPECTRAL_PERIOD", - "PERIODE MAXIMUM DU SPECTRE":"MAXIMUM_SPECTRAL_PERIOD", - "DATE DE L'ORIGINE DES TEMPS":"ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS":"ORIGINAL_HOUR_OF_TIME", - "NOMBRE DE VARIABLES PRIVEES":"NUMBER_OF_PRIVATE_VARIABLES", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "PARTITIONNEUR":"PARTITIONING_TOOL", - "COORDONNEES DE L'ORIGINE":"ORIGIN_COORDINATES", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FORMAT DU FICHIER DE RESULTATS":"RESULTS_FILE_FORMAT", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1_FORMAT", - "FORMAT DU FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2_FORMAT", - "VARIATION RAPIDE DE LA BATHYMETRIE":"RAPIDLY_VARYING_TOPOGRAPHY", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "ANIMATION DE LA SURFACE LIBRE":"FREE_SURFACE_ANIMATION", - "FICHIER DES PHASES ET AMPLITUDES":"AMPLITUDE_AND_PHASE_FILE", - "FORMAT DU FICHIER DES PHASES ET AMPLITUDES":"AMPLITUDE_AND_PHASE_FILE_FORMAT", - "FICHIER DE SURFACE LIBRE":"FREE_SURFACE_FILE", - "FORMAT DU FICHIER DE SURFACE LIBRE":"FREE_SURFACE_FILE_FORMAT", - "PREMIER TEMPS DANS LE FICHIER DE SURFACE LIBRE":"FIRST_TIME_IN_THE_FREE_SURFACE_FILE", - "PAS DE TEMPS":"TIME_STEP", - "NOMBRE DE PAS DE TEMPS":"NUMBER_OF_TIME_STEPS", - "CHAINAGE AVEC MODELE GLOBAL TOMAWAC":"NESTING_WITHIN_TOMAWAC_OUTER_MODEL", - "INSTANT DE LECTURE DU SPECTRE TOMAWAC":"INSTANT_FOR_READING_TOMAWAC_SPECTRUM", - "FICHIER DE SPECTRE GLOBAL TOMAWAC":"TOMAWAC_OUTER_SPECTRAL_FILE", - "FORMAT DU FICHIER DE SPECTRE GLOBAL TOMAWAC":"TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT", - "FICHIER DE RESULTATS GLOBAL TOMAWAC":"TOMAWAC_OUTER_RESULT_FILE", - "FORMAT DU FICHIER DE RESULTATS GLOBAL TOMAWAC":"TOMAWAC_OUTER_RESULT_FILE_FORMAT", - "FICHIER DE FRONTIERES LIQUIDES TOMAWAC":"TOMAWAC_LIQUID_BOUNDARY_FILE", - "FORMAT DU FICHIER DE FRONTIERES LIQUIDES TOMAWAC":"TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT", - "COORDONNEES POUR LE SPECTRE F DE REFERENCE":"COORDINATES_OF_THE_REFERENCE_F_SPECTRUM", - "DICTIONNAIRE":"DICTIONARY", - "CONCATENATION SORTIE PARTEL":"CONCATENATE_PARTEL_OUTPUT", -} - -DicoCasEnToCata = { - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'TITLE':'TITLE', - 'DEBUGGER':'DEBUGGER', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'MATRIX STORAGE':'MATRIX_STORAGE', - 'MATRIX-VECTOR PRODUCT':'MATRIX_VECTOR_PRODUCT', - 'GRAPHIC PRINTOUT PERIOD':'GRAPHIC_PRINTOUT_PERIOD', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER', - 'NUMBER OF PERIODS':'NUMBER_OF_PERIODS', - 'BOTTOM TOPOGRAPHY SMOOTHING':'BOTTOM_TOPOGRAPHY_SMOOTHING', - 'INITIAL WATER LEVEL':'INITIAL_WATER_LEVEL', - 'PRECONDITIONING':'PRECONDITIONING', - 'SOLVER':'SOLVER', - 'SOLVER OPTION':'SOLVER_OPTION', - 'PEAK PERIOD':'PEAK_PERIOD', - 'GAMMA':'GAMMA', - 'MONODIRECTIONAL RANDOM WAVE':'MONODIRECTIONAL_RANDOM_WAVE', - 'MULTIDIRECTIONAL RANDOM WAVE':'MULTIDIRECTIONAL_RANDOM_WAVE', - 'PERIOD SCANNING':'PERIOD_SCANNING', - 'SOLVER ACCURACY':'SOLVER_ACCURACY', - 'INITIAL DEPTH':'INITIAL_DEPTH', - 'WAVE PERIOD':'WAVE_PERIOD', - 'GRAVITY ACCELERATION':'GRAVITY_ACCELERATION', - 'INITIAL CONDITIONS':'INITIAL_CONDITIONS', - 'NUMBER OF DIRECTIONS':'NUMBER_OF_DIRECTIONS', - 'DIRECTION OF WAVE PROPAGATION':'DIRECTION_OF_WAVE_PROPAGATION', - 'ZERO':'ZERO', - 'BEGINNING PERIOD FOR PERIOD SCANNING':'BEGINNING_PERIOD_FOR_PERIOD_SCANNING', - 'ENDING PERIOD FOR PERIOD SCANNING':'ENDING_PERIOD_FOR_PERIOD_SCANNING', - 'STEP FOR PERIOD SCANNING':'STEP_FOR_PERIOD_SCANNING', - 'MINIMUM ANGLE OF PROPAGATION':'MINIMUM_ANGLE_OF_PROPAGATION', - 'MAXIMUM ANGLE OF PROPAGATION':'MAXIMUM_ANGLE_OF_PROPAGATION', - 'S EXPONENT':'S_EXPONENT', - 'LISTING PRINTOUT':'LISTING_PRINTOUT', - 'INFORMATIONS ABOUT SOLVER':'INFORMATIONS_ABOUT_SOLVER', - 'VARIABLES FOR GRAPHIC PRINTOUTS':'VARIABLES_FOR_GRAPHIC_PRINTOUTS', - 'VARIABLES TO BE PRINTED':'VARIABLES_TO_BE_PRINTED', - 'FORTRAN FILE':'FORTRAN_FILE', - 'STEERING FILE':'STEERING_FILE', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'RESULTS FILE':'RESULTS_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'BINARY DATA FILE 1':'BINARY_DATA_FILE_1', - 'BINARY DATA FILE 2':'BINARY_DATA_FILE_2', - 'FORMATTED DATA FILE 1':'FORMATTED_DATA_FILE_1', - 'FORMATTED DATA FILE 2':'FORMATTED_DATA_FILE_2', - 'BINARY RESULTS FILE':'BINARY_RESULTS_FILE', - 'FORMATTED RESULTS FILE':'FORMATTED_RESULTS_FILE', - 'SUB-ITERATIONS ACCURACY FOR DISSIPATION':'SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION', - 'SUB-ITERATIONS ACCURACY FOR CURRENT':'SUB_ITERATIONS_ACCURACY_FOR_CURRENT', - 'SUB-ITERATIONS ACCURACY FOR TETAP':'SUB_ITERATIONS_ACCURACY_FOR_TETAP', - 'BREAKING':'BREAKING', - 'CURRENT':'CURRENT', - 'AUTOMATIC TETAP CALCULATION':'AUTOMATIC_TETAP_CALCULATION', - 'AUTOMATIC CALCULATION OF PHASE':'AUTOMATIC_CALCULATION_OF_PHASE', - 'REFERENCE WATER DEPTH FOR AUTOMATIC PHASE':'REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE', - 'PHASE REFERENCE COORDINATES':'PHASE_REFERENCE_COORDINATES', - 'KDALLY':'KDALLY', - 'BREAKING LAW':'BREAKING_LAW', - 'MAXIMUM OF SUB-ITERATIONS':'MAXIMUM_OF_SUB_ITERATIONS', - 'DISSIPATION RELAXATION':'DISSIPATION_RELAXATION', - 'MAXIMUM OF SUB-ITERATIONS FOR TETAP':'MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP', - 'RELAXATION ON TETAP':'RELAXATION_ON_TETAP', - 'ALPHA':'ALPHA', - 'GAMMAS':'GAMMAS', - 'GDALLY':'GDALLY', - 'FRICTION':'FRICTION', - 'FLUID KINEMATIC VISCOSITY':'FLUID_KINEMATIC_VISCOSITY', - 'DIAMETER90':'DIAMETER90', - 'DIAMETER50':'DIAMETER50', - 'SEDIMENT SPECIFIC WEIGHT':'SEDIMENT_SPECIFIC_WEIGHT', - 'FLUID SPECIFIC MASS':'FLUID_SPECIFIC_MASS', - 'HYDRAULIC REGIME IMPOSED':'HYDRAULIC_REGIME_IMPOSED', - 'SKIN ROUGHNESS ONLY':'SKIN_ROUGHNESS_ONLY', - 'WAVE HEIGHTS SMOOTHING':'WAVE_HEIGHTS_SMOOTHING', - 'VALIDATION':'VALIDATION', - 'HYDRAULIC REGIME TYPE':'HYDRAULIC_REGIME_TYPE', - 'BOTTOM FRICTION LAW':'BOTTOM_FRICTION_LAW', - 'FRICTION FACTOR IMPOSED':'FRICTION_FACTOR_IMPOSED', - 'FRICTION FACTOR':'FRICTION_FACTOR', - 'FRICTION COEFFICIENT':'FRICTION_COEFFICIENT', - 'RIPPLES COEFFICIENT':'RIPPLES_COEFFICIENT', - 'MINIMUM SPECTRAL PERIOD':'MINIMUM_SPECTRAL_PERIOD', - 'MAXIMUM SPECTRAL PERIOD':'MAXIMUM_SPECTRAL_PERIOD', - 'ORIGINAL DATE OF TIME':'ORIGINAL_DATE_OF_TIME', - 'ORIGINAL HOUR OF TIME':'ORIGINAL_HOUR_OF_TIME', - 'NUMBER OF PRIVATE VARIABLES':'NUMBER_OF_PRIVATE_VARIABLES', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'PARTITIONING TOOL':'PARTITIONING_TOOL', - 'ORIGIN COORDINATES':'ORIGIN_COORDINATES', - 'REFERENCE FILE':'REFERENCE_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'BINARY DATA FILE 1 FORMAT':'BINARY_DATA_FILE_1_FORMAT', - 'BINARY DATA FILE 2 FORMAT':'BINARY_DATA_FILE_2_FORMAT', - 'RAPIDLY VARYING TOPOGRAPHY':'RAPIDLY_VARYING_TOPOGRAPHY', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'FREE SURFACE ANIMATION':'FREE_SURFACE_ANIMATION', - 'AMPLITUDE AND PHASE FILE':'AMPLITUDE_AND_PHASE_FILE', - 'AMPLITUDE AND PHASE FILE FORMAT':'AMPLITUDE_AND_PHASE_FILE_FORMAT', - 'FREE SURFACE FILE':'FREE_SURFACE_FILE', - 'FREE SURFACE FILE FORMAT':'FREE_SURFACE_FILE_FORMAT', - 'FIRST TIME IN THE FREE SURFACE FILE':'FIRST_TIME_IN_THE_FREE_SURFACE_FILE', - 'TIME STEP':'TIME_STEP', - 'NUMBER OF TIME STEPS':'NUMBER_OF_TIME_STEPS', - 'NESTING WITHIN TOMAWAC OUTER MODEL':'NESTING_WITHIN_TOMAWAC_OUTER_MODEL', - 'INSTANT FOR READING TOMAWAC SPECTRUM':'INSTANT_FOR_READING_TOMAWAC_SPECTRUM', - 'TOMAWAC OUTER SPECTRAL FILE':'TOMAWAC_OUTER_SPECTRAL_FILE', - 'TOMAWAC OUTER SPECTRAL FILE FORMAT':'TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT', - 'TOMAWAC OUTER RESULT FILE':'TOMAWAC_OUTER_RESULT_FILE', - 'TOMAWAC OUTER RESULT FILE FORMAT':'TOMAWAC_OUTER_RESULT_FILE_FORMAT', - 'TOMAWAC LIQUID BOUNDARY FILE':'TOMAWAC_LIQUID_BOUNDARY_FILE', - 'TOMAWAC LIQUID BOUNDARY FILE FORMAT':'TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT', - 'COORDINATES OF THE REFERENCE F SPECTRUM':'COORDINATES_OF_THE_REFERENCE_F_SPECTRUM', - 'DICTIONARY':'DICTIONARY', - 'CONCATENATE PARTEL OUTPUT':'CONCATENATE_PARTEL_OUTPUT', -} -DicoEnumCasFrToEnumCasEn = { -'INITIAL_CONDITIONS':{ - "COTE NULLE":"ZERO ELEVATION", - "COTE CONSTANTE":"CONSTANT ELEVATION", - "HAUTEUR NULLE":"ZERO DEPTH", - "HAUTEUR CONSTANTE":"CONSTANT DEPTH", - "PARTICULIERES":"SPECIAL", -}, - -'PARTITIONING_TOOL':{ - "METIS":"METIS", - "SCOTCH":"SCOTCH", - "PARMETIS":"PARMETIS", - "PTSCOTCH":"PTSCOTCH", -}, - -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_DATA_FILE_1_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_DATA_FILE_2_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -} diff --git a/Telemac/artemis_labelCataToIhm_en.qm b/Telemac/artemis_labelCataToIhm_en.qm deleted file mode 100644 index 3297e2f4..00000000 Binary files a/Telemac/artemis_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/artemis_labelCataToIhm_en.ts b/Telemac/artemis_labelCataToIhm_en.ts deleted file mode 100644 index 9c926495..00000000 --- a/Telemac/artemis_labelCataToIhm_en.ts +++ /dev/null @@ -1,596 +0,0 @@ - - @default - - GEOMETRY_FILE - Geometry file - - - TITLE - Title - - - DEBUGGER - Debugger - - - VECTOR_LENGTH - Vector length - - - MATRIX_STORAGE - Matrix storage - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum number of iterations for solver - - - NUMBER_OF_PERIODS - Number of periods - - - BOTTOM_TOPOGRAPHY_SMOOTHING - Bottom topography smoothing - - - INITIAL_WATER_LEVEL - Initial water level - - - PRECONDITIONING - Preconditioning - - - SOLVER - Solver - - - SOLVER_OPTION - Solver option - - - PEAK_PERIOD - Peak period - - - GAMMA - Gamma - - - MONODIRECTIONAL_RANDOM_WAVE - Monodirectional random wave - - - MULTIDIRECTIONAL_RANDOM_WAVE - Multidirectional random wave - - - PERIOD_SCANNING - Period scanning - - - SOLVER_ACCURACY - Solver accuracy - - - INITIAL_DEPTH - Initial depth - - - WAVE_PERIOD - Wave period - - - GRAVITY_ACCELERATION - Gravity acceleration - - - INITIAL_CONDITIONS - Initial conditions - - - NUMBER_OF_DIRECTIONS - Number of directions - - - DIRECTION_OF_WAVE_PROPAGATION - Direction of wave propagation - - - ZERO - Zero - - - BEGINNING_PERIOD_FOR_PERIOD_SCANNING - Beginning period for period scanning - - - ENDING_PERIOD_FOR_PERIOD_SCANNING - Ending period for period scanning - - - STEP_FOR_PERIOD_SCANNING - Step for period scanning - - - MINIMUM_ANGLE_OF_PROPAGATION - Minimum angle of propagation - - - MAXIMUM_ANGLE_OF_PROPAGATION - Maximum angle of propagation - - - S_EXPONENT - S exponent - - - LISTING_PRINTOUT - Listing printout - - - INFORMATIONS_ABOUT_SOLVER - Informations about solver - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - FORTRAN_FILE - Fortran file - - - STEERING_FILE - Steering file - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - RESULTS_FILE - Results file - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - BINARY_DATA_FILE_1 - Binary data file 1 - - - BINARY_DATA_FILE_2 - Binary data file 2 - - - FORMATTED_DATA_FILE_1 - Formatted data file 1 - - - FORMATTED_DATA_FILE_2 - Formatted data file 2 - - - BINARY_RESULTS_FILE - Binary results file - - - FORMATTED_RESULTS_FILE - Formatted results file - - - SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION - Sub-iterations accuracy for dissipation - - - SUB_ITERATIONS_ACCURACY_FOR_CURRENT - Sub-iterations accuracy for current - - - SUB_ITERATIONS_ACCURACY_FOR_TETAP - Sub-iterations accuracy for tetap - - - BREAKING - Breaking - - - CURRENT - Current - - - AUTOMATIC_TETAP_CALCULATION - Automatic tetap calculation - - - AUTOMATIC_CALCULATION_OF_PHASE - Automatic calculation of phase - - - REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE - Reference water depth for automatic phase - - - PHASE_REFERENCE_COORDINATES - Phase reference coordinates - - - KDALLY - Kdally - - - BREAKING_LAW - Breaking law - - - MAXIMUM_OF_SUB_ITERATIONS - Maximum of sub-iterations - - - DISSIPATION_RELAXATION - Dissipation relaxation - - - MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP - Maximum of sub-iterations for tetap - - - RELAXATION_ON_TETAP - Relaxation on tetap - - - ALPHA - Alpha - - - GAMMAS - Gammas - - - GDALLY - Gdally - - - FRICTION - Friction - - - FLUID_KINEMATIC_VISCOSITY - Fluid kinematic viscosity - - - DIAMETER90 - Diameter90 - - - DIAMETER50 - Diameter50 - - - SEDIMENT_SPECIFIC_WEIGHT - Sediment specific weight - - - FLUID_SPECIFIC_MASS - Fluid specific mass - - - HYDRAULIC_REGIME_IMPOSED - Hydraulic regime imposed - - - SKIN_ROUGHNESS_ONLY - Skin roughness only - - - WAVE_HEIGHTS_SMOOTHING - Wave heights smoothing - - - VALIDATION - Validation - - - HYDRAULIC_REGIME_TYPE - Hydraulic regime type - - - BOTTOM_FRICTION_LAW - Bottom friction law - - - FRICTION_FACTOR_IMPOSED - Friction factor imposed - - - FRICTION_FACTOR - Friction factor - - - FRICTION_COEFFICIENT - Friction coefficient - - - RIPPLES_COEFFICIENT - Ripples coefficient - - - MINIMUM_SPECTRAL_PERIOD - Minimum spectral period - - - MAXIMUM_SPECTRAL_PERIOD - Maximum spectral period - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - NUMBER_OF_PRIVATE_VARIABLES - Number of private variables - - - PARALLEL_PROCESSORS - Parallel processors - - - PARTITIONING_TOOL - Partitioning tool - - - ORIGIN_COORDINATES - Origin coordinates - - - REFERENCE_FILE - Reference file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - RESULTS_FILE_FORMAT - Results file format - - - REFERENCE_FILE_FORMAT - Reference file format - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - BINARY_DATA_FILE_2_FORMAT - Binary data file 2 format - - - RAPIDLY_VARYING_TOPOGRAPHY - Rapidly varying topography - - - CHECKING_THE_MESH - Checking the mesh - - - FREE_SURFACE_ANIMATION - Free surface animation - - - AMPLITUDE_AND_PHASE_FILE - Amplitude and phase file - - - AMPLITUDE_AND_PHASE_FILE_FORMAT - Amplitude and phase file format - - - FREE_SURFACE_FILE - Free surface file - - - FREE_SURFACE_FILE_FORMAT - Free surface file format - - - FIRST_TIME_IN_THE_FREE_SURFACE_FILE - First time in the free surface file - - - TIME_STEP - Time step - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - NESTING_WITHIN_TOMAWAC_OUTER_MODEL - Nesting within TOMAWAC outer model - - - INSTANT_FOR_READING_TOMAWAC_SPECTRUM - Instant for reading TOMAWAC spectrum - - - TOMAWAC_OUTER_SPECTRAL_FILE - TOMAWAC outer spectral file - - - TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT - TOMAWAC outer spectral file format - - - TOMAWAC_OUTER_RESULT_FILE - TOMAWAC outer result file - - - TOMAWAC_OUTER_RESULT_FILE_FORMAT - TOMAWAC outer result file format - - - TOMAWAC_LIQUID_BOUNDARY_FILE - TOMAWAC liquid boundary file - - - TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT - TOMAWAC liquid boundary file format - - - COORDINATES_OF_THE_REFERENCE_F_SPECTRUM - Coordinates of the reference f spectrum - - - DICTIONARY - Dictionary - - - CONCATENATE_PARTEL_OUTPUT - Concatenate partel output - - - COMPUTATION_ENVIRONMENT - Computation environment - - - GENERAL_PARAMETERS - General parameters - - - NUMERICAL_PARAMETERS - Numerical parameters - - - BOUNDARY_CONDITIONS - Boundary conditions - - - PHYSICAL_PARAMETERS - Physical parameters - - - INTERNAL - Internal - - - NESTING_WITH_TOMAWAC - Nesting with TOMAWAC - - - INPUT - Input - - - GLOBAL - Global - - - OUTPUT - Output - - - SOLVER_INFO - Solver info - - - RANDOM_WAVE - Random wave - - - INITIALIZATION - Initialization - - - PERIODS_SCANNING - Periods scanning - - - MONOCHROMATIC_WAVE - Monochromatic wave - - - DISSIPATION - Dissipation - - - CURRENT_INFO - Current info - - - AUTOMATIC_TETAP_ANGLE - Automatic tetap angle - - - AUTOMATIC_PHASE - Automatic phase - - - TIME - Time - - - LOCATION - Location - - - VARYING_TOPOGRAPHY - Varying topography - - - DATA - Data - - - RESULTS - Results - - - LISTING - Listing - - - MONODIRECTIONAL - Monodirectional - - - MULTIDIRECTIONAL - Multidirectional - - - BATHYMETRIC_BREAKING - Bathymetric breaking - - - BOTTOM_FRICTION - Bottom friction - - - FREE_SURFACE - Free surface - - - diff --git a/Telemac/artemis_labelCataToIhm_fr.qm b/Telemac/artemis_labelCataToIhm_fr.qm deleted file mode 100644 index 254ba847..00000000 Binary files a/Telemac/artemis_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/artemis_labelCataToIhm_fr.ts b/Telemac/artemis_labelCataToIhm_fr.ts deleted file mode 100644 index 9d28f921..00000000 --- a/Telemac/artemis_labelCataToIhm_fr.ts +++ /dev/null @@ -1,644 +0,0 @@ - - @default - - GEOMETRY_FILE - Fichier de geometrie - - - TITLE - Titre - - - DEBUGGER - Debugger - - - VECTOR_LENGTH - Longueur du vecteur - - - MATRIX_STORAGE - Stockage des matrices - - - MATRIX_VECTOR_PRODUCT - Produit matrice-vecteur - - - GRAPHIC_PRINTOUT_PERIOD - Periode de sortie graphique - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum d'iterations pour le solveur - - - NUMBER_OF_PERIODS - Nombre de periodes de discretisation - - - BOTTOM_TOPOGRAPHY_SMOOTHING - Lissages du fond - - - INITIAL_WATER_LEVEL - Cote initiale - - - PRECONDITIONING - Preconditionnement - - - SOLVER - Solveur - - - SOLVER_OPTION - Option du solveur - - - PEAK_PERIOD - Periode de pic - - - GAMMA - Gamma - - - MONODIRECTIONAL_RANDOM_WAVE - Houle aleatoire monodirectionnelle - - - MULTIDIRECTIONAL_RANDOM_WAVE - Houle aleatoire multidirectionnelle - - - PERIOD_SCANNING - Balayage en periode - - - SOLVER_ACCURACY - Precision du solveur - - - INITIAL_DEPTH - Hauteur initiale - - - WAVE_PERIOD - Periode de la houle - - - GRAVITY_ACCELERATION - Acceleration de la pesanteur - - - INITIAL_CONDITIONS - Conditions initiales - - - NUMBER_OF_DIRECTIONS - Nombre de directions de discretisation - - - DIRECTION_OF_WAVE_PROPAGATION - Direction de propagation de la houle - - - ZERO - Zero - - - BEGINNING_PERIOD_FOR_PERIOD_SCANNING - Periode de debut pour le balayage en periode - - - ENDING_PERIOD_FOR_PERIOD_SCANNING - Periode de fin pour le balayage en periode - - - STEP_FOR_PERIOD_SCANNING - Pas pour le balayage en periode - - - MINIMUM_ANGLE_OF_PROPAGATION - Angle minimum de propagation - - - MAXIMUM_ANGLE_OF_PROPAGATION - Angle maximum de propagation - - - S_EXPONENT - Exposant s - - - LISTING_PRINTOUT - Sortie listing - - - INFORMATIONS_ABOUT_SOLVER - Informations sur le solveur - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - FORTRAN_FILE - Fichier fortran - - - STEERING_FILE - Fichier des parametres - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - RESULTS_FILE - Fichier des resultats - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - BINARY_DATA_FILE_1 - Fichier de donnees binaire 1 - - - BINARY_DATA_FILE_2 - Fichier de donnees binaire 2 - - - FORMATTED_DATA_FILE_1 - Fichier de donnees formate 1 - - - FORMATTED_DATA_FILE_2 - Fichier de donnees formate 2 - - - BINARY_RESULTS_FILE - Fichier des resultats binaire - - - FORMATTED_RESULTS_FILE - Fichier des resultats formate - - - SUB_ITERATIONS_ACCURACY_FOR_DISSIPATION - Precision sur les sous-iterations pour la dissipation - - - SUB_ITERATIONS_ACCURACY_FOR_CURRENT - Precision sur les sous-iterations pour courant - - - SUB_ITERATIONS_ACCURACY_FOR_TETAP - Precision sur les sous-iterations pour tetap - - - BREAKING - Deferlement - - - CURRENT - Courant - - - AUTOMATIC_TETAP_CALCULATION - Calcul automatique de tetap - - - AUTOMATIC_CALCULATION_OF_PHASE - Calcul automatique de la phase - - - REFERENCE_WATER_DEPTH_FOR_AUTOMATIC_PHASE - Profondeur de reference pour la phase automatique - - - PHASE_REFERENCE_COORDINATES - Coordonnees de reference pour la phase - - - KDALLY - Kdally - - - BREAKING_LAW - Formulation du deferlement - - - MAXIMUM_OF_SUB_ITERATIONS - Maximum de sous-iterations - - - DISSIPATION_RELAXATION - Relaxation sur la dissipation - - - MAXIMUM_OF_SUB_ITERATIONS_FOR_TETAP - Maximum de sous-iterations pour tetap - - - RELAXATION_ON_TETAP - Relaxation sur tetap - - - ALPHA - Alpha - - - GAMMAS - Gammas - - - GDALLY - Gdally - - - FRICTION - Frottement - - - FLUID_KINEMATIC_VISCOSITY - Viscosite cinematique du fluide - - - DIAMETER90 - Diametre90 - - - DIAMETER50 - Diametre50 - - - SEDIMENT_SPECIFIC_WEIGHT - Masse volumique du sediment - - - FLUID_SPECIFIC_MASS - Masse volumique du fluide - - - HYDRAULIC_REGIME_IMPOSED - Regime hydraulique impose - - - SKIN_ROUGHNESS_ONLY - Rugosite de peau seule - - - WAVE_HEIGHTS_SMOOTHING - Lissage des hauteurs de Houle - - - VALIDATION - Validation - - - HYDRAULIC_REGIME_TYPE - Type du regime hydraulique - - - BOTTOM_FRICTION_LAW - Formulation du frottement de fond - - - FRICTION_FACTOR_IMPOSED - Facteur de frottement impose - - - FRICTION_FACTOR - Facteur de frottement - - - FRICTION_COEFFICIENT - Coefficient de frottement - - - RIPPLES_COEFFICIENT - Coefficient de rides - - - MINIMUM_SPECTRAL_PERIOD - Periode minimum du spectre - - - MAXIMUM_SPECTRAL_PERIOD - Periode maximum du spectre - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - NUMBER_OF_PRIVATE_VARIABLES - Nombre de variables privees - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - PARTITIONING_TOOL - Partitionneur - - - ORIGIN_COORDINATES - Coordonnees de l'origine - - - REFERENCE_FILE - Fichier de reference - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - RESULTS_FILE_FORMAT - Format du fichier de resultats - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - BINARY_DATA_FILE_1_FORMAT - Format du fichier de donnees binaire 1 - - - BINARY_DATA_FILE_2_FORMAT - Format du fichier de donnees binaire 2 - - - RAPIDLY_VARYING_TOPOGRAPHY - Variation rapide de la bathymetrie - - - CHECKING_THE_MESH - Verification du maillage - - - FREE_SURFACE_ANIMATION - Animation de la surface libre - - - AMPLITUDE_AND_PHASE_FILE - Fichier des phases et amplitudes - - - AMPLITUDE_AND_PHASE_FILE_FORMAT - Format du fichier des phases et amplitudes - - - FREE_SURFACE_FILE - Fichier de surface libre - - - FREE_SURFACE_FILE_FORMAT - Format du fichier de surface libre - - - FIRST_TIME_IN_THE_FREE_SURFACE_FILE - Premier temps dans le fichier de surface libre - - - TIME_STEP - Pas de temps - - - NUMBER_OF_TIME_STEPS - Nombre de pas de temps - - - NESTING_WITHIN_TOMAWAC_OUTER_MODEL - Chainage avec modele global TOMAWAC - - - INSTANT_FOR_READING_TOMAWAC_SPECTRUM - Instant de lecture du spectre TOMAWAC - - - TOMAWAC_OUTER_SPECTRAL_FILE - Fichier de spectre global TOMAWAC - - - TOMAWAC_OUTER_SPECTRAL_FILE_FORMAT - Format du fichier de spectre global TOMAWAC - - - TOMAWAC_OUTER_RESULT_FILE - Fichier de resultats global TOMAWAC - - - TOMAWAC_OUTER_RESULT_FILE_FORMAT - Format du fichier de resultats global TOMAWAC - - - TOMAWAC_LIQUID_BOUNDARY_FILE - Fichier de frontieres liquides TOMAWAC - - - TOMAWAC_LIQUID_BOUNDARY_FILE_FORMAT - Format du fichier de frontieres liquides TOMAWAC - - - COORDINATES_OF_THE_REFERENCE_F_SPECTRUM - Coordonnees pour le spectre f de reference - - - DICTIONARY - Dictionnaire - - - CONCATENATE_PARTEL_OUTPUT - Concatenation sortie partel - - - ZERO ELEVATION - COTE NULLE - - - CONSTANT ELEVATION - COTE CONSTANTE - - - ZERO DEPTH - HAUTEUR NULLE - - - CONSTANT DEPTH - HAUTEUR CONSTANTE - - - SPECIAL - PARTICULIERES - - - METIS - METIS - - - SCOTCH - SCOTCH - - - PARMETIS - PARMETIS - - - PTSCOTCH - PTSCOTCH - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - GENERAL_PARAMETERS - Parametres generaux - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - BOUNDARY_CONDITIONS - Conditions aux limites - - - PHYSICAL_PARAMETERS - Parametres physiques - - - INTERNAL - Interne - - - NESTING_WITH_TOMAWAC - Chainage avec TOMAWAC - - - INPUT - Entree - - - GLOBAL - Global - - - OUTPUT - Sortie - - - SOLVER_INFO - Info solveur - - - RANDOM_WAVE - Houle aleatoire - - - INITIALIZATION - Initialisation - - - PERIODS_SCANNING - Balayage en periodes - - - MONOCHROMATIC_WAVE - Houle monochromatique - - - DISSIPATION - Dissipation - - - CURRENT_INFO - Info courant - - - AUTOMATIC_TETAP_ANGLE - Angle tetap automatique - - - AUTOMATIC_PHASE - Phase automatique - - - TIME - Temps - - - LOCATION - Localisation - - - VARYING_TOPOGRAPHY - Variation bathymetrie - - - DATA - Donnees - - - RESULTS - Resultats - - - LISTING - Listing - - - MONODIRECTIONAL - Monodirectionnelle - - - MULTIDIRECTIONAL - Multidirectionnelle - - - BATHYMETRIC_BREAKING - Deferlement bathymetrique - - - BOTTOM_FRICTION - Frottement fond - - - FREE_SURFACE - Surface libre - - - diff --git a/Telemac/configuration_TELEMAC.py b/Telemac/configuration_TELEMAC.py deleted file mode 100644 index 4d130a7a..00000000 --- a/Telemac/configuration_TELEMAC.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.configBase): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang','force_langue'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.configBase.__init__(self,appli,'.Eficas_monCode') - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/Telemac/dicoCasEnToCata.py b/Telemac/dicoCasEnToCata.py deleted file mode 100644 index ef2be654..00000000 --- a/Telemac/dicoCasEnToCata.py +++ /dev/null @@ -1,622 +0,0 @@ -dicoCataToEngTelemac = { - "TITLE" : "TITLE", - "INITIAL_CONDITIONS" : "INITIAL CONDITIONS", - "INITIAL_ELEVATION" : "INITIAL ELEVATION", - "INITIAL_DEPTH" : "INITIAL DEPTH", - "BINARY_DATA_FILE_1_FORMAT" : "BINARY DATA FILE 1 FORMAT", - "BINARY_DATA_FILE_1" : "BINARY DATA FILE 1", - "BINARY_DATA_FILE_2_FORMAT" : "BINARY DATA FILE 2 FORMAT", - "BINARY_DATA_FILE_2" : "BINARY DATA FILE 2", - "FORMATTED_DATA_FILE_1" : "FORMATTED DATA FILE 1", - "FORMATTED_DATA_FILE_2" : "FORMATTED DATA FILE 2", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "FORTRAN_FILE" : "FORTRAN FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "BOTTOM_SMOOTHINGS" : "BOTTOM SMOOTHINGS", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "REFERENCE_FILE" : "REFERENCE FILE", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "MAXIMUM NUMBER OF BOUNDARIES", - "MAXIMUM_NUMBER_OF_SOURCES" : "MAXIMUM NUMBER OF SOURCES", - "MAXIMUM_NUMBER_OF_TRACERS" : "MAXIMUM NUMBER OF TRACERS", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "COMPUTATION_CONTINUED" : "COMPUTATION CONTINUED", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "PREVIOUS COMPUTATION FILE FORMAT", - "PREVIOUS_COMPUTATION_FILE" : "PREVIOUS COMPUTATION FILE", - "RECORD_NUMBER_FOR_RESTART" : "RECORD NUMBER FOR RESTART", - "INITIAL_TIME_SET_TO_ZERO" : "INITIAL TIME SET TO ZERO", - "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS" : "NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS", - "GRAPHIC_PRINTOUT_PERIOD" : "GRAPHIC PRINTOUT PERIOD", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES FOR GRAPHIC PRINTOUTS", - "NUMBER_OF_PRIVATE_ARRAYS" : "NUMBER OF PRIVATE ARRAYS", - "NAMES_OF_PRIVATE_VARIABLES" : "NAMES OF PRIVATE VARIABLES", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "RESULTS_FILE" : "RESULTS FILE", - "BINARY_RESULTS_FILE_FORMAT" : "BINARY RESULTS FILE FORMAT", - "BINARY_RESULTS_FILE" : "BINARY RESULTS FILE", - "FORMATTED_RESULTS_FILE" : "FORMATTED RESULTS FILE", - "CONTROL_SECTIONS" : "CONTROL SECTIONS", - "PRINTING_CUMULATED_FLOWRATES" : "PRINTING CUMULATED FLOWRATES", - "COMPATIBLE_COMPUTATION_OF_FLUXES" : "COMPATIBLE COMPUTATION OF FLUXES", - "SECTIONS_INPUT_FILE" : "SECTIONS INPUT FILE", - "SECTIONS_OUTPUT_FILE" : "SECTIONS OUTPUT FILE", - "FLUXLINE" : "FLUXLINE", - "FLUXLINE_INPUT_FILE" : "FLUXLINE INPUT FILE", - "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS" : "NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "LISTING_FOR_PRINTOUT_PERIOD" : "LISTING FOR PRINTOUT PERIOD", - "LISTING_PRINTOUT" : "LISTING PRINTOUT", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES TO BE PRINTED", - "MASS_BALANCE" : "MASS-BALANCE", - "INFORMATION_ABOUT_SOLVER" : "INFORMATION ABOUT SOLVER", - "LIST_OF_POINTS" : "LIST OF POINTS", - "NAMES_OF_POINTS" : "NAMES OF POINTS", - "FOURIER_ANALYSIS_PERIODS" : "FOURIER ANALYSIS PERIODS", - "TIME_RANGE_FOR_FOURIER_ANALYSIS" : "TIME RANGE FOR FOURIER ANALYSIS", - "PRESCRIBED_ELEVATIONS" : "PRESCRIBED ELEVATIONS", - "PRESCRIBED_FLOWRATES" : "PRESCRIBED FLOWRATES", - "PRESCRIBED_VELOCITIES" : "PRESCRIBED VELOCITIES", - "STAGE_DISCHARGE_CURVES" : "STAGE-DISCHARGE CURVES", - "STAGE_DISCHARGE_CURVES_FILE" : "STAGE-DISCHARGE CURVES FILE", - "VELOCITY_PROFILES" : "VELOCITY PROFILES", - "OPTION_FOR_LIQUID_BOUNDARIES" : "OPTION FOR LIQUID BOUNDARIES", - "LIQUID_BOUNDARIES_FILE" : "LIQUID BOUNDARIES FILE", - "ELEMENTS_MASKED_BY_USER" : "ELEMENTS MASKED BY USER", - "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS" : "MAXIMUM NUMBER OF FRICTION DOMAINS", - "FRICTION_DATA" : "FRICTION DATA", - "FRICTION_DATA_FILE" : "FRICTION DATA FILE", - "LAW_OF_BOTTOM_FRICTION" : "LAW OF BOTTOM FRICTION", - "FRICTION_COEFFICIENT" : "FRICTION COEFFICIENT", - "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW" : "MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW", - "DEPTH_IN_FRICTION_TERMS" : "DEPTH IN FRICTION TERMS", - "NON_SUBMERGED_VEGETATION_FRICTION" : "NON-SUBMERGED VEGETATION FRICTION", - "DIAMETER_OF_ROUGHNESS_ELEMENTS" : "DIAMETER OF ROUGHNESS ELEMENTS", - "SPACING_OF_ROUGHNESS_ELEMENTS" : "SPACING OF ROUGHNESS ELEMENTS", - "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES" : "LAW OF FRICTION ON LATERAL BOUNDARIES", - "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES" : "ROUGHNESS COEFFICIENT OF BOUNDARIES", - "DEFINITION_OF_ZONES" : "DEFINITION OF ZONES", - "ZONES_FILE" : "ZONES FILE", - "WIND" : "WIND", - "OPTION_FOR_WIND" : "OPTION FOR WIND", - "COEFFICIENT_OF_WIND_INFLUENCE" : "COEFFICIENT OF WIND INFLUENCE", - "WIND_VELOCITY_ALONG_X" : "WIND VELOCITY ALONG X", - "WIND_VELOCITY_ALONG_Y" : "WIND VELOCITY ALONG Y", - "SPEED_AND_DIRECTION_OF_WIND" : "SPEED AND DIRECTION OF WIND", - "THRESHOLD_DEPTH_FOR_WIND" : "THRESHOLD DEPTH FOR WIND", - "AIR_PRESSURE" : "AIR PRESSURE", - "VALUE_OF_ATMOSPHERIC_PRESSURE" : "VALUE OF ATMOSPHERIC PRESSURE", - "RAIN_OR_EVAPORATION" : "RAIN OR EVAPORATION", - "RAIN_OR_EVAPORATION_IN_MM_PER_DAY" : "RAIN OR EVAPORATION IN MM PER DAY", - "RAINFALL_RUNOFF_MODEL" : "RAINFALL-RUNOFF MODEL", - "ANTECEDENT_MOISTURE_CONDITIONS" : "ANTECEDENT MOISTURE CONDITIONS", - "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS" : "DURATION OF RAIN OR EVAPORATION IN HOURS", - "ASCII_ATMOSPHERIC_DATA_FILE" : "ASCII ATMOSPHERIC DATA FILE", - "BINARY_ATMOSPHERIC_DATA_FILE" : "BINARY ATMOSPHERIC DATA FILE", - "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT" : "BINARY ATMOSPHERIC DATA FILE FORMAT", - "OPTION_FOR_INITIAL_ABSTRACTION_RATIO" : "OPTION FOR INITIAL ABSTRACTION RATIO", - "WAVE_DRIVEN_CURRENTS" : "WAVE DRIVEN CURRENTS", - "RECORD_NUMBER_IN_WAVE_FILE" : "RECORD NUMBER IN WAVE FILE", - "WAVE_ENHANCED_FRICTION_FACTOR" : "WAVE ENHANCED FRICTION FACTOR", - "PARAMETER_ESTIMATION" : "PARAMETER ESTIMATION", - "COST_FUNCTION" : "COST FUNCTION", - "IDENTIFICATION_METHOD" : "IDENTIFICATION METHOD", - "TOLERANCES_FOR_IDENTIFICATION" : "TOLERANCES FOR IDENTIFICATION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION" : "MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION", - "ABSCISSAE_OF_SOURCES" : "ABSCISSAE OF SOURCES", - "ORDINATES_OF_SOURCES" : "ORDINATES OF SOURCES", - "WATER_DISCHARGE_OF_SOURCES" : "WATER DISCHARGE OF SOURCES", - "VELOCITIES_OF_THE_SOURCES_ALONG_X" : "VELOCITIES OF THE SOURCES ALONG X", - "VELOCITIES_OF_THE_SOURCES_ALONG_Y" : "VELOCITIES OF THE SOURCES ALONG Y", - "TYPE_OF_SOURCES" : "TYPE OF SOURCES", - "SOURCES_FILE" : "SOURCES FILE", - "BLOBAL_NUMBERS_OF_SOURCE_NODES" : "BLOBAL NUMBERS OF SOURCE NODES", - "WATER_QUALITY_PROCESS" : "WATER QUALITY PROCESS", - "WATER_DENSITY" : "WATER DENSITY", - "GRAVITY_ACCELERATION" : "GRAVITY ACCELERATION", - "VERTICAL_STRUCTURES" : "VERTICAL STRUCTURES", - "EQUATIONS" : "EQUATIONS", - "TREATMENT_OF_THE_LINEAR_SYSTEM" : "TREATMENT OF THE LINEAR SYSTEM", - "FINITE_VOLUME_SCHEME" : "FINITE VOLUME SCHEME", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS_COEFFICIENT" : "CORIOLIS COEFFICIENT", - "OPTION_FOR_TSUNAMI_GENERATION" : "OPTION FOR TSUNAMI GENERATION", - "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI" : "PHYSICAL CHARACTERISTICS OF THE TSUNAMI", - "SECONDARY_CURRENTS" : "SECONDARY CURRENTS", - "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "PRODUCTION COEFFICIENT FOR SECONDARY CURRENTS", - "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "DISSIPATION COEFFICIENT FOR SECONDARY CURRENTS", - "DEBUGGER" : "DEBUGGER", - "TIME_STEP" : "TIME STEP", - "NUMBER_OF_TIME_STEPS" : "NUMBER OF TIME STEPS", - "DURATION" : "DURATION", - "ORIGINAL_DATE_OF_TIME" : "ORIGINAL DATE OF TIME", - "ORIGINAL_HOUR_OF_TIME" : "ORIGINAL HOUR OF TIME", - "STOP_IF_A_STEADY_STATE_IS_REACHED" : "STOP IF A STEADY STATE IS REACHED", - "STOP_CRITERIA" : "STOP CRITERIA", - "CONTROL_OF_LIMITS" : "CONTROL OF LIMITS", - "LIMIT_VALUES" : "LIMIT VALUES", - "VARIABLE_TIME_STEP" : "VARIABLE TIME-STEP", - "DESIRED_COURANT_NUMBER" : "DESIRED COURANT NUMBER", - "ORIGIN_COORDINATES" : "ORIGIN COORDINATES", - "SPHERICAL_COORDINATES" : "SPHERICAL COORDINATES", - "LATITUDE_OF_ORIGIN_POINT" : "LATITUDE OF ORIGIN POINT", - "LONGITUDE_OF_ORIGIN_POINT" : "LONGITUDE OF ORIGIN POINT", - "NORTH" : "NORTH", - "SPATIAL_PROJECTION_TYPE" : "SPATIAL PROJECTION TYPE", - "SOLVER" : "SOLVER", - "SOLVER_OPTION" : "SOLVER OPTION", - "SOLVER_ACCURACY" : "SOLVER ACCURACY", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER", - "CONTINUITY_CORRECTION" : "CONTINUITY CORRECTION", - "PRECONDITIONING" : "PRECONDITIONING", - "C_U_PRECONDITIONING" : "C-U PRECONDITIONING", - "IMPLICITATION_FOR_DEPTH" : "IMPLICITATION FOR DEPTH", - "IMPLICITATION_FOR_VELOCITY" : "IMPLICITATION FOR VELOCITY", - "DISCRETIZATIONS_IN_SPACE" : "DISCRETIZATIONS IN SPACE", - "PROPAGATION" : "PROPAGATION", - "INITIAL_GUESS_FOR_H" : "INITIAL GUESS FOR H", - "LINEARIZED_PROPAGATION" : "LINEARIZED PROPAGATION", - "INITIAL_GUESS_FOR_U" : "INITIAL GUESS FOR U", - "MEAN_DEPTH_FOR_LINEARIZATION" : "MEAN DEPTH FOR LINEARIZATION", - "ADVECTION" : "ADVECTION", - "ADVECTION_OF_H" : "ADVECTION OF H", - "ADVECTION_OF_U_AND_V" : "ADVECTION OF U AND V", - "TYPE_OF_ADVECTION" : "TYPE OF ADVECTION", - "OPTION_FOR_CHARACTERISTICS" : "OPTION FOR CHARACTERISTICS", - "SUPG_OPTION" : "SUPG OPTION", - "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS" : "NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS", - "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS" : "MASS-LUMPING FOR WEAK CHARACTERISTICS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES", - "UPWIND_COEFFICIENTS" : "UPWIND COEFFICIENTS", - "MASS_LUMPING_ON_H" : "MASS-LUMPING ON H", - "MASS_LUMPING_ON_VELOCITY" : "MASS-LUMPING ON VELOCITY", - "SCHEME_FOR_ADVECTION_OF_VELOCITIES" : "SCHEME FOR ADVECTION OF VELOCITIES", - "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES" : "SCHEME OPTION FOR ADVECTION OF VELOCITIES", - "FREE_SURFACE_GRADIENT_COMPATIBILITY" : "FREE SURFACE GRADIENT COMPATIBILITY", - "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES" : "NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TREATMENT OF FLUXES AT THE BOUNDARIES", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES", - "PSI_SCHEME_OPTION" : "PSI SCHEME OPTION", - "DIFFUSION_OF_VELOCITY" : "DIFFUSION OF VELOCITY", - "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES" : "OPTION FOR THE DIFFUSION OF VELOCITIES", - "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY" : "IMPLICITATION FOR DIFFUSION OF VELOCITY", - "AD_NUMBER_OF_DERIVATIVES" : "AD NUMBER OF DERIVATIVES", - "AD_NAMES_OF_DERIVATIVES" : "AD NAMES OF DERIVATIVES", - "MATRIX_STORAGE" : "MATRIX STORAGE", - "MATRIX_VECTOR_PRODUCT" : "MATRIX-VECTOR PRODUCT", - "NEWMARK_TIME_INTEGRATION_COEFFICIENT" : "NEWMARK TIME INTEGRATION COEFFICIENT", - "ZERO" : "ZERO", - "PROPAGATION_OPTION" : "PROPAGATION OPTION", - "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION" : "OPTION OF THE HYDROSTATIC RECONSTRUCTION", - "VELOCITY_DIFFUSIVITY" : "VELOCITY DIFFUSIVITY", - "TURBULENCE_MODEL" : "TURBULENCE MODEL", - "SOLVER_FOR_K_EPSILON_MODEL" : "SOLVER FOR K-EPSILON MODEL", - "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL" : "OPTION FOR THE SOLVER FOR K-EPSILON MODEL", - "PRECONDITIONING_FOR_K_EPSILON_MODEL" : "PRECONDITIONING FOR K-EPSILON MODEL", - "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS" : "NON-DIMENSIONAL DISPERSION COEFFICIENTS", - "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES" : "TURBULENCE REGIME FOR SOLID BOUNDARIES", - "INFORMATION_ABOUT_K_EPSILON_MODEL" : "INFORMATION ABOUT K-EPSILON MODEL", - "ADVECTION_OF_K_AND_EPSILON" : "ADVECTION OF K AND EPSILON", - "SCHEME_FOR_ADVECTION_OF_K_EPSILON" : "SCHEME FOR ADVECTION OF K-EPSILON", - "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON" : "SCHEME OPTION FOR ADVECTION OF K-EPSILON", - "TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL" : "TIME STEP REDUCTION FOR K-EPSILON MODEL", - "ACCURACY_OF_K" : "ACCURACY OF K", - "ACCURACY_OF_EPSILON" : "ACCURACY OF EPSILON", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON" : "MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON", - "TIDAL_FLATS" : "TIDAL FLATS", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION FOR THE TREATMENT OF TIDAL FLATS", - "TREATMENT_OF_NEGATIVE_DEPTHS" : "TREATMENT OF NEGATIVE DEPTHS", - "THRESHOLD_FOR_NEGATIVE_DEPTHS" : "THRESHOLD FOR NEGATIVE DEPTHS", - "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE" : "THRESHOLD DEPTH FOR RECEDING PROCEDURE", - "H_CLIPPING" : "H CLIPPING", - "MINIMUM_VALUE_OF_DEPTH" : "MINIMUM VALUE OF DEPTH", - "PRESCRIBED_TRACERS_VALUES" : "PRESCRIBED TRACERS VALUES", - "NUMBER_OF_TRACERS" : "NUMBER OF TRACERS", - "NAMES_OF_TRACERS" : "NAMES OF TRACERS", - "INITIAL_VALUES_OF_TRACERS" : "INITIAL VALUES OF TRACERS", - "DENSITY_EFFECTS" : "DENSITY EFFECTS", - "MEAN_TEMPERATURE" : "MEAN TEMPERATURE", - "SOLVER_FOR_DIFFUSION_OF_TRACERS" : "SOLVER FOR DIFFUSION OF TRACERS", - "SOLVER_OPTION_FOR_TRACERS_DIFFUSION" : "SOLVER OPTION FOR TRACERS DIFFUSION", - "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS" : "PRECONDITIONING FOR DIFFUSION OF TRACERS", - "ACCURACY_FOR_DIFFUSION_OF_TRACERS" : "ACCURACY FOR DIFFUSION OF TRACERS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS" : "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS", - "VALUES_OF_THE_TRACERS_AT_THE_SOURCES" : "VALUES OF THE TRACERS AT THE SOURCES", - "VALUES_OF_TRACERS_IN_THE_RAIN" : "VALUES OF TRACERS IN THE RAIN", - "ADVECTION_OF_TRACERS" : "ADVECTION OF TRACERS", - "IMPLICITATION_COEFFICIENT_OF_TRACERS" : "IMPLICITATION COEFFICIENT OF TRACERS", - "DIFFUSION_OF_TRACERS" : "DIFFUSION OF TRACERS", - "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS" : "COEFFICIENT FOR DIFFUSION OF TRACERS", - "OPTION_FOR_THE_DIFFUSION_OF_TRACERS" : "OPTION FOR THE DIFFUSION OF TRACERS", - "SCHEME_FOR_ADVECTION_OF_TRACERS" : "SCHEME FOR ADVECTION OF TRACERS", - "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS" : "SCHEME OPTION FOR ADVECTION OF TRACERS", - "MASS_LUMPING_ON_TRACERS" : "MASS-LUMPING ON TRACERS", - "LAW_OF_TRACERS_DEGRADATION" : "LAW OF TRACERS DEGRADATION", - "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION" : "COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION", - "NUMBER_OF_DROGUES" : "NUMBER OF DROGUES", - "PRINTOUT_PERIOD_FOR_DROGUES" : "PRINTOUT PERIOD FOR DROGUES", - "DROGUES_FILE" : "DROGUES FILE", - "ALGAE_TRANSPORT_MODEL" : "ALGAE TRANSPORT MODEL", - "ALGAE_TYPE" : "ALGAE TYPE", - "DIAMETRE_OF_ALGAE" : "DIAMETRE OF ALGAE", - "DENSITY_OF_ALGAE" : "DENSITY OF ALGAE", - "THICKNESS_OF_ALGAE" : "THICKNESS OF ALGAE", - "OIL_SPILL_MODEL" : "OIL SPILL MODEL", - "OIL_SPILL_STEERING_FILE" : "OIL SPILL STEERING FILE", - "STOCHASTIC_DIFFUSION_MODEL" : "STOCHASTIC DIFFUSION MODEL", - "NUMBER_OF_LAGRANGIAN_DRIFTS" : "NUMBER OF LAGRANGIAN DRIFTS", - "NUMBER_OF_WEIRS" : "NUMBER OF WEIRS", - "WEIRS_DATA_FILE" : "WEIRS DATA FILE", - "TYPE_OF_WEIRS" : "TYPE OF WEIRS", - "NUMBER_OF_SIPHONS" : "NUMBER OF SIPHONS", - "SIPHONS_DATA_FILE" : "SIPHONS DATA FILE", - "NUMBER_OF_CULVERTS" : "NUMBER OF CULVERTS", - "CULVERTS_DATA_FILE" : "CULVERTS DATA FILE", - "OPTION_FOR_CULVERTS" : "OPTION FOR CULVERTS", - "BREACH" : "BREACH", - "BREACHES_DATA_FILE" : "BREACHES DATA FILE", - "TIDAL_DATA_BASE" : "TIDAL DATA BASE", - "TIDAL_MODEL_FILE" : "TIDAL MODEL FILE", - "ASCII_DATABASE_FOR_TIDE" : "ASCII DATABASE FOR TIDE", - "BINARY_DATABASE_1_FOR_TIDE" : "BINARY DATABASE 1 FOR TIDE", - "BINARY_DATABASE_2_FOR_TIDE" : "BINARY DATABASE 2 FOR TIDE", - "MINOR_CONSTITUENTS_INFERENCE" : "MINOR CONSTITUENTS INFERENCE", - "HARMONIC_CONSTANTS_FILE" : "HARMONIC CONSTANTS FILE", - "TIDE_GENERATING_FORCE" : "TIDE GENERATING FORCE", - "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS" : "OPTION FOR TIDAL BOUNDARY CONDITIONS", - "GEOGRAPHIC_SYSTEM" : "GEOGRAPHIC SYSTEM", - "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM" : "ZONE NUMBER IN GEOGRAPHIC SYSTEM", - "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL" : "COEFFICIENT TO CALIBRATE SEA LEVEL", - "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE" : "COEFFICIENT TO CALIBRATE TIDAL RANGE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES" : "COEFFICIENT TO CALIBRATE TIDAL VELOCITIES", - "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER", - "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER", - "COUPLING_WITH" : "COUPLING WITH", - "NAMES_OF_CLANDESTINE_VARIABLES" : "NAMES OF CLANDESTINE VARIABLES", - "COUPLING_DIRECTORY" : "COUPLING DIRECTORY", - "DELWAQ_PRINTOUT_PERIOD" : "DELWAQ PRINTOUT PERIOD", - "VOLUMES_DELWAQ_FILE" : "VOLUMES DELWAQ FILE", - "EXCHANGE_AREAS_DELWAQ_FILE" : "EXCHANGE AREAS DELWAQ FILE", - "VERTICAL_FLUXES_DELWAQ_FILE" : "VERTICAL FLUXES DELWAQ FILE", - "SALINITY_DELWAQ_FILE" : "SALINITY DELWAQ FILE", - "BOTTOM_SURFACES_DELWAQ_FILE" : "BOTTOM SURFACES DELWAQ FILE", - "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE" : "EXCHANGES BETWEEN NODES DELWAQ FILE", - "NODES_DISTANCES_DELWAQ_FILE" : "NODES DISTANCES DELWAQ FILE", - "TEMPERATURE_DELWAQ_FILE" : "TEMPERATURE DELWAQ FILE", - "VELOCITY_DELWAQ_FILE" : "VELOCITY DELWAQ FILE", - "DIFFUSIVITY_DELWAQ_FILE" : "DIFFUSIVITY DELWAQ FILE", - "DELWAQ_STEERING_FILE" : "DELWAQ STEERING FILE", - "SALINITY_FOR_DELWAQ" : "SALINITY FOR DELWAQ", - "TEMPERATURE_FOR_DELWAQ" : "TEMPERATURE FOR DELWAQ", - "VELOCITY_FOR_DELWAQ" : "VELOCITY FOR DELWAQ", - "DIFFUSIVITY_FOR_DELWAQ" : "DIFFUSIVITY FOR DELWAQ", - "SISYPHE_STEERING_FILE" : "SISYPHE STEERING FILE", - "COUPLING_PERIOD_FOR_SISYPHE" : "COUPLING PERIOD FOR SISYPHE", - "TOMAWAC_STEERING_FILE" : "TOMAWAC STEERING FILE", - "COUPLING_PERIOD_FOR_TOMAWAC" : "COUPLING PERIOD FOR TOMAWAC", - "WAQTEL_STEERING_FILE" : "WAQTEL STEERING FILE", - "LANGUAGE" : "LANGUAGE", - "STEERING_FILE" : "STEERING FILE", - "DICTIONARY" : "DICTIONARY", - "PARTITIONING_TOOL" : "PARTITIONING TOOL", - "RELEASE" : "RELEASE", - "LIST_OF_FILES" : "LIST OF FILES", - "DESCRIPTION_OF_LIBRARIES" : "DESCRIPTION OF LIBRARIES", - "DEFAULT_EXECUTABLE" : "DEFAULT EXECUTABLE", - "DEFAULT_PARALLEL_EXECUTABLE" : "DEFAULT PARALLEL EXECUTABLE", -} -dicoCasEnToCata = { - "TITLE" : "TITLE", - "INITIAL CONDITIONS" : "INITIAL_CONDITIONS", - "INITIAL ELEVATION" : "INITIAL_ELEVATION", - "INITIAL DEPTH" : "INITIAL_DEPTH", - "BINARY DATA FILE 1 FORMAT" : "BINARY_DATA_FILE_1_FORMAT", - "BINARY DATA FILE 1" : "BINARY_DATA_FILE_1", - "BINARY DATA FILE 2 FORMAT" : "BINARY_DATA_FILE_2_FORMAT", - "BINARY DATA FILE 2" : "BINARY_DATA_FILE_2", - "FORMATTED DATA FILE 1" : "FORMATTED_DATA_FILE_1", - "FORMATTED DATA FILE 2" : "FORMATTED_DATA_FILE_2", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "FORTRAN FILE" : "FORTRAN_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "BOTTOM SMOOTHINGS" : "BOTTOM_SMOOTHINGS", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "VALIDATION" : "VALIDATION", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "REFERENCE FILE" : "REFERENCE_FILE", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "MAXIMUM NUMBER OF BOUNDARIES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "MAXIMUM NUMBER OF SOURCES" : "MAXIMUM_NUMBER_OF_SOURCES", - "MAXIMUM NUMBER OF TRACERS" : "MAXIMUM_NUMBER_OF_TRACERS", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "COMPUTATION CONTINUED" : "COMPUTATION_CONTINUED", - "PREVIOUS COMPUTATION FILE FORMAT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "PREVIOUS COMPUTATION FILE" : "PREVIOUS_COMPUTATION_FILE", - "RECORD NUMBER FOR RESTART" : "RECORD_NUMBER_FOR_RESTART", - "INITIAL TIME SET TO ZERO" : "INITIAL_TIME_SET_TO_ZERO", - "NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS" : "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "GRAPHIC PRINTOUT PERIOD" : "GRAPHIC_PRINTOUT_PERIOD", - "VARIABLES FOR GRAPHIC PRINTOUTS" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NUMBER OF PRIVATE ARRAYS" : "NUMBER_OF_PRIVATE_ARRAYS", - "NAMES OF PRIVATE VARIABLES" : "NAMES_OF_PRIVATE_VARIABLES", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "RESULTS FILE" : "RESULTS_FILE", - "BINARY RESULTS FILE FORMAT" : "BINARY_RESULTS_FILE_FORMAT", - "BINARY RESULTS FILE" : "BINARY_RESULTS_FILE", - "FORMATTED RESULTS FILE" : "FORMATTED_RESULTS_FILE", - "CONTROL SECTIONS" : "CONTROL_SECTIONS", - "PRINTING CUMULATED FLOWRATES" : "PRINTING_CUMULATED_FLOWRATES", - "COMPATIBLE COMPUTATION OF FLUXES" : "COMPATIBLE_COMPUTATION_OF_FLUXES", - "SECTIONS INPUT FILE" : "SECTIONS_INPUT_FILE", - "SECTIONS OUTPUT FILE" : "SECTIONS_OUTPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "FLUXLINE INPUT FILE" : "FLUXLINE_INPUT_FILE", - "NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS" : "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "LISTING FOR PRINTOUT PERIOD" : "LISTING_FOR_PRINTOUT_PERIOD", - "LISTING PRINTOUT" : "LISTING_PRINTOUT", - "VARIABLES TO BE PRINTED" : "VARIABLES_TO_BE_PRINTED", - "MASS-BALANCE" : "MASS_BALANCE", - "INFORMATION ABOUT SOLVER" : "INFORMATION_ABOUT_SOLVER", - "LIST OF POINTS" : "LIST_OF_POINTS", - "NAMES OF POINTS" : "NAMES_OF_POINTS", - "FOURIER ANALYSIS PERIODS" : "FOURIER_ANALYSIS_PERIODS", - "TIME RANGE FOR FOURIER ANALYSIS" : "TIME_RANGE_FOR_FOURIER_ANALYSIS", - "PRESCRIBED ELEVATIONS" : "PRESCRIBED_ELEVATIONS", - "PRESCRIBED FLOWRATES" : "PRESCRIBED_FLOWRATES", - "PRESCRIBED VELOCITIES" : "PRESCRIBED_VELOCITIES", - "STAGE-DISCHARGE CURVES" : "STAGE_DISCHARGE_CURVES", - "STAGE-DISCHARGE CURVES FILE" : "STAGE_DISCHARGE_CURVES_FILE", - "VELOCITY PROFILES" : "VELOCITY_PROFILES", - "OPTION FOR LIQUID BOUNDARIES" : "OPTION_FOR_LIQUID_BOUNDARIES", - "LIQUID BOUNDARIES FILE" : "LIQUID_BOUNDARIES_FILE", - "ELEMENTS MASKED BY USER" : "ELEMENTS_MASKED_BY_USER", - "MAXIMUM NUMBER OF FRICTION DOMAINS" : "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS", - "FRICTION DATA" : "FRICTION_DATA", - "FRICTION DATA FILE" : "FRICTION_DATA_FILE", - "LAW OF BOTTOM FRICTION" : "LAW_OF_BOTTOM_FRICTION", - "FRICTION COEFFICIENT" : "FRICTION_COEFFICIENT", - "MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW" : "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW", - "DEPTH IN FRICTION TERMS" : "DEPTH_IN_FRICTION_TERMS", - "NON-SUBMERGED VEGETATION FRICTION" : "NON_SUBMERGED_VEGETATION_FRICTION", - "DIAMETER OF ROUGHNESS ELEMENTS" : "DIAMETER_OF_ROUGHNESS_ELEMENTS", - "SPACING OF ROUGHNESS ELEMENTS" : "SPACING_OF_ROUGHNESS_ELEMENTS", - "LAW OF FRICTION ON LATERAL BOUNDARIES" : "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "ROUGHNESS COEFFICIENT OF BOUNDARIES" : "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES", - "DEFINITION OF ZONES" : "DEFINITION_OF_ZONES", - "ZONES FILE" : "ZONES_FILE", - "WIND" : "WIND", - "OPTION FOR WIND" : "OPTION_FOR_WIND", - "COEFFICIENT OF WIND INFLUENCE" : "COEFFICIENT_OF_WIND_INFLUENCE", - "WIND VELOCITY ALONG X" : "WIND_VELOCITY_ALONG_X", - "WIND VELOCITY ALONG Y" : "WIND_VELOCITY_ALONG_Y", - "SPEED AND DIRECTION OF WIND" : "SPEED_AND_DIRECTION_OF_WIND", - "THRESHOLD DEPTH FOR WIND" : "THRESHOLD_DEPTH_FOR_WIND", - "AIR PRESSURE" : "AIR_PRESSURE", - "VALUE OF ATMOSPHERIC PRESSURE" : "VALUE_OF_ATMOSPHERIC_PRESSURE", - "RAIN OR EVAPORATION" : "RAIN_OR_EVAPORATION", - "RAIN OR EVAPORATION IN MM PER DAY" : "RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "RAINFALL-RUNOFF MODEL" : "RAINFALL_RUNOFF_MODEL", - "ANTECEDENT MOISTURE CONDITIONS" : "ANTECEDENT_MOISTURE_CONDITIONS", - "DURATION OF RAIN OR EVAPORATION IN HOURS" : "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS", - "ASCII ATMOSPHERIC DATA FILE" : "ASCII_ATMOSPHERIC_DATA_FILE", - "BINARY ATMOSPHERIC DATA FILE" : "BINARY_ATMOSPHERIC_DATA_FILE", - "BINARY ATMOSPHERIC DATA FILE FORMAT" : "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "OPTION FOR INITIAL ABSTRACTION RATIO" : "OPTION_FOR_INITIAL_ABSTRACTION_RATIO", - "WAVE DRIVEN CURRENTS" : "WAVE_DRIVEN_CURRENTS", - "RECORD NUMBER IN WAVE FILE" : "RECORD_NUMBER_IN_WAVE_FILE", - "WAVE ENHANCED FRICTION FACTOR" : "WAVE_ENHANCED_FRICTION_FACTOR", - "PARAMETER ESTIMATION" : "PARAMETER_ESTIMATION", - "COST FUNCTION" : "COST_FUNCTION", - "IDENTIFICATION METHOD" : "IDENTIFICATION_METHOD", - "TOLERANCES FOR IDENTIFICATION" : "TOLERANCES_FOR_IDENTIFICATION", - "MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION", - "ABSCISSAE OF SOURCES" : "ABSCISSAE_OF_SOURCES", - "ORDINATES OF SOURCES" : "ORDINATES_OF_SOURCES", - "WATER DISCHARGE OF SOURCES" : "WATER_DISCHARGE_OF_SOURCES", - "VELOCITIES OF THE SOURCES ALONG X" : "VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VELOCITIES OF THE SOURCES ALONG Y" : "VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "TYPE OF SOURCES" : "TYPE_OF_SOURCES", - "SOURCES FILE" : "SOURCES_FILE", - "BLOBAL NUMBERS OF SOURCE NODES" : "BLOBAL_NUMBERS_OF_SOURCE_NODES", - "WATER QUALITY PROCESS" : "WATER_QUALITY_PROCESS", - "WATER DENSITY" : "WATER_DENSITY", - "GRAVITY ACCELERATION" : "GRAVITY_ACCELERATION", - "VERTICAL STRUCTURES" : "VERTICAL_STRUCTURES", - "EQUATIONS" : "EQUATIONS", - "TREATMENT OF THE LINEAR SYSTEM" : "TREATMENT_OF_THE_LINEAR_SYSTEM", - "FINITE VOLUME SCHEME" : "FINITE_VOLUME_SCHEME", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS COEFFICIENT" : "CORIOLIS_COEFFICIENT", - "OPTION FOR TSUNAMI GENERATION" : "OPTION_FOR_TSUNAMI_GENERATION", - "PHYSICAL CHARACTERISTICS OF THE TSUNAMI" : "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI", - "SECONDARY CURRENTS" : "SECONDARY_CURRENTS", - "PRODUCTION COEFFICIENT FOR SECONDARY CURRENTS" : "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DISSIPATION COEFFICIENT FOR SECONDARY CURRENTS" : "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DEBUGGER" : "DEBUGGER", - "TIME STEP" : "TIME_STEP", - "NUMBER OF TIME STEPS" : "NUMBER_OF_TIME_STEPS", - "DURATION" : "DURATION", - "ORIGINAL DATE OF TIME" : "ORIGINAL_DATE_OF_TIME", - "ORIGINAL HOUR OF TIME" : "ORIGINAL_HOUR_OF_TIME", - "STOP IF A STEADY STATE IS REACHED" : "STOP_IF_A_STEADY_STATE_IS_REACHED", - "STOP CRITERIA" : "STOP_CRITERIA", - "CONTROL OF LIMITS" : "CONTROL_OF_LIMITS", - "LIMIT VALUES" : "LIMIT_VALUES", - "VARIABLE TIME-STEP" : "VARIABLE_TIME_STEP", - "DESIRED COURANT NUMBER" : "DESIRED_COURANT_NUMBER", - "ORIGIN COORDINATES" : "ORIGIN_COORDINATES", - "SPHERICAL COORDINATES" : "SPHERICAL_COORDINATES", - "LATITUDE OF ORIGIN POINT" : "LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE OF ORIGIN POINT" : "LONGITUDE_OF_ORIGIN_POINT", - "NORTH" : "NORTH", - "SPATIAL PROJECTION TYPE" : "SPATIAL_PROJECTION_TYPE", - "SOLVER" : "SOLVER", - "SOLVER OPTION" : "SOLVER_OPTION", - "SOLVER ACCURACY" : "SOLVER_ACCURACY", - "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "CONTINUITY CORRECTION" : "CONTINUITY_CORRECTION", - "PRECONDITIONING" : "PRECONDITIONING", - "C-U PRECONDITIONING" : "C_U_PRECONDITIONING", - "IMPLICITATION FOR DEPTH" : "IMPLICITATION_FOR_DEPTH", - "IMPLICITATION FOR VELOCITY" : "IMPLICITATION_FOR_VELOCITY", - "DISCRETIZATIONS IN SPACE" : "DISCRETIZATIONS_IN_SPACE", - "PROPAGATION" : "PROPAGATION", - "INITIAL GUESS FOR H" : "INITIAL_GUESS_FOR_H", - "LINEARIZED PROPAGATION" : "LINEARIZED_PROPAGATION", - "INITIAL GUESS FOR U" : "INITIAL_GUESS_FOR_U", - "MEAN DEPTH FOR LINEARIZATION" : "MEAN_DEPTH_FOR_LINEARIZATION", - "ADVECTION" : "ADVECTION", - "ADVECTION OF H" : "ADVECTION_OF_H", - "ADVECTION OF U AND V" : "ADVECTION_OF_U_AND_V", - "TYPE OF ADVECTION" : "TYPE_OF_ADVECTION", - "OPTION FOR CHARACTERISTICS" : "OPTION_FOR_CHARACTERISTICS", - "SUPG OPTION" : "SUPG_OPTION", - "NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS" : "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING FOR WEAK CHARACTERISTICS" : "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "UPWIND COEFFICIENTS" : "UPWIND_COEFFICIENTS", - "MASS-LUMPING ON H" : "MASS_LUMPING_ON_H", - "MASS-LUMPING ON VELOCITY" : "MASS_LUMPING_ON_VELOCITY", - "SCHEME FOR ADVECTION OF VELOCITIES" : "SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "SCHEME OPTION FOR ADVECTION OF VELOCITIES" : "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "FREE SURFACE GRADIENT COMPATIBILITY" : "FREE_SURFACE_GRADIENT_COMPATIBILITY", - "NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES" : "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "TREATMENT OF FLUXES AT THE BOUNDARIES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "PSI SCHEME OPTION" : "PSI_SCHEME_OPTION", - "DIFFUSION OF VELOCITY" : "DIFFUSION_OF_VELOCITY", - "OPTION FOR THE DIFFUSION OF VELOCITIES" : "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION FOR DIFFUSION OF VELOCITY" : "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY", - "AD NUMBER OF DERIVATIVES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NAMES OF DERIVATIVES" : "AD_NAMES_OF_DERIVATIVES", - "MATRIX STORAGE" : "MATRIX_STORAGE", - "MATRIX-VECTOR PRODUCT" : "MATRIX_VECTOR_PRODUCT", - "NEWMARK TIME INTEGRATION COEFFICIENT" : "NEWMARK_TIME_INTEGRATION_COEFFICIENT", - "ZERO" : "ZERO", - "PROPAGATION OPTION" : "PROPAGATION_OPTION", - "OPTION OF THE HYDROSTATIC RECONSTRUCTION" : "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION", - "VELOCITY DIFFUSIVITY" : "VELOCITY_DIFFUSIVITY", - "TURBULENCE MODEL" : "TURBULENCE_MODEL", - "SOLVER FOR K-EPSILON MODEL" : "SOLVER_FOR_K_EPSILON_MODEL", - "OPTION FOR THE SOLVER FOR K-EPSILON MODEL" : "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL", - "PRECONDITIONING FOR K-EPSILON MODEL" : "PRECONDITIONING_FOR_K_EPSILON_MODEL", - "NON-DIMENSIONAL DISPERSION COEFFICIENTS" : "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS", - "TURBULENCE REGIME FOR SOLID BOUNDARIES" : "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES", - "INFORMATION ABOUT K-EPSILON MODEL" : "INFORMATION_ABOUT_K_EPSILON_MODEL", - "ADVECTION OF K AND EPSILON" : "ADVECTION_OF_K_AND_EPSILON", - "SCHEME FOR ADVECTION OF K-EPSILON" : "SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "SCHEME OPTION FOR ADVECTION OF K-EPSILON" : "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "TIME STEP REDUCTION FOR K-EPSILON MODEL" : "TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL", - "ACCURACY OF K" : "ACCURACY_OF_K", - "ACCURACY OF EPSILON" : "ACCURACY_OF_EPSILON", - "MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON", - "TIDAL FLATS" : "TIDAL_FLATS", - "OPTION FOR THE TREATMENT OF TIDAL FLATS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TREATMENT OF NEGATIVE DEPTHS" : "TREATMENT_OF_NEGATIVE_DEPTHS", - "THRESHOLD FOR NEGATIVE DEPTHS" : "THRESHOLD_FOR_NEGATIVE_DEPTHS", - "THRESHOLD DEPTH FOR RECEDING PROCEDURE" : "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE", - "H CLIPPING" : "H_CLIPPING", - "MINIMUM VALUE OF DEPTH" : "MINIMUM_VALUE_OF_DEPTH", - "PRESCRIBED TRACERS VALUES" : "PRESCRIBED_TRACERS_VALUES", - "NUMBER OF TRACERS" : "NUMBER_OF_TRACERS", - "NAMES OF TRACERS" : "NAMES_OF_TRACERS", - "INITIAL VALUES OF TRACERS" : "INITIAL_VALUES_OF_TRACERS", - "DENSITY EFFECTS" : "DENSITY_EFFECTS", - "MEAN TEMPERATURE" : "MEAN_TEMPERATURE", - "SOLVER FOR DIFFUSION OF TRACERS" : "SOLVER_FOR_DIFFUSION_OF_TRACERS", - "SOLVER OPTION FOR TRACERS DIFFUSION" : "SOLVER_OPTION_FOR_TRACERS_DIFFUSION", - "PRECONDITIONING FOR DIFFUSION OF TRACERS" : "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "ACCURACY FOR DIFFUSION OF TRACERS" : "ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "VALUES OF THE TRACERS AT THE SOURCES" : "VALUES_OF_THE_TRACERS_AT_THE_SOURCES", - "VALUES OF TRACERS IN THE RAIN" : "VALUES_OF_TRACERS_IN_THE_RAIN", - "ADVECTION OF TRACERS" : "ADVECTION_OF_TRACERS", - "IMPLICITATION COEFFICIENT OF TRACERS" : "IMPLICITATION_COEFFICIENT_OF_TRACERS", - "DIFFUSION OF TRACERS" : "DIFFUSION_OF_TRACERS", - "COEFFICIENT FOR DIFFUSION OF TRACERS" : "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS", - "OPTION FOR THE DIFFUSION OF TRACERS" : "OPTION_FOR_THE_DIFFUSION_OF_TRACERS", - "SCHEME FOR ADVECTION OF TRACERS" : "SCHEME_FOR_ADVECTION_OF_TRACERS", - "SCHEME OPTION FOR ADVECTION OF TRACERS" : "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "MASS-LUMPING ON TRACERS" : "MASS_LUMPING_ON_TRACERS", - "LAW OF TRACERS DEGRADATION" : "LAW_OF_TRACERS_DEGRADATION", - "COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION" : "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION", - "NUMBER OF DROGUES" : "NUMBER_OF_DROGUES", - "PRINTOUT PERIOD FOR DROGUES" : "PRINTOUT_PERIOD_FOR_DROGUES", - "DROGUES FILE" : "DROGUES_FILE", - "ALGAE TRANSPORT MODEL" : "ALGAE_TRANSPORT_MODEL", - "ALGAE TYPE" : "ALGAE_TYPE", - "DIAMETRE OF ALGAE" : "DIAMETRE_OF_ALGAE", - "DENSITY OF ALGAE" : "DENSITY_OF_ALGAE", - "THICKNESS OF ALGAE" : "THICKNESS_OF_ALGAE", - "OIL SPILL MODEL" : "OIL_SPILL_MODEL", - "OIL SPILL STEERING FILE" : "OIL_SPILL_STEERING_FILE", - "STOCHASTIC DIFFUSION MODEL" : "STOCHASTIC_DIFFUSION_MODEL", - "NUMBER OF LAGRANGIAN DRIFTS" : "NUMBER_OF_LAGRANGIAN_DRIFTS", - "NUMBER OF WEIRS" : "NUMBER_OF_WEIRS", - "WEIRS DATA FILE" : "WEIRS_DATA_FILE", - "TYPE OF WEIRS" : "TYPE_OF_WEIRS", - "NUMBER OF SIPHONS" : "NUMBER_OF_SIPHONS", - "SIPHONS DATA FILE" : "SIPHONS_DATA_FILE", - "NUMBER OF CULVERTS" : "NUMBER_OF_CULVERTS", - "CULVERTS DATA FILE" : "CULVERTS_DATA_FILE", - "OPTION FOR CULVERTS" : "OPTION_FOR_CULVERTS", - "BREACH" : "BREACH", - "BREACHES DATA FILE" : "BREACHES_DATA_FILE", - "TIDAL DATA BASE" : "TIDAL_DATA_BASE", - "TIDAL MODEL FILE" : "TIDAL_MODEL_FILE", - "ASCII DATABASE FOR TIDE" : "ASCII_DATABASE_FOR_TIDE", - "BINARY DATABASE 1 FOR TIDE" : "BINARY_DATABASE_1_FOR_TIDE", - "BINARY DATABASE 2 FOR TIDE" : "BINARY_DATABASE_2_FOR_TIDE", - "MINOR CONSTITUENTS INFERENCE" : "MINOR_CONSTITUENTS_INFERENCE", - "HARMONIC CONSTANTS FILE" : "HARMONIC_CONSTANTS_FILE", - "TIDE GENERATING FORCE" : "TIDE_GENERATING_FORCE", - "OPTION FOR TIDAL BOUNDARY CONDITIONS" : "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "GEOGRAPHIC SYSTEM" : "GEOGRAPHIC_SYSTEM", - "ZONE NUMBER IN GEOGRAPHIC SYSTEM" : "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "COEFFICIENT TO CALIBRATE SEA LEVEL" : "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "COEFFICIENT TO CALIBRATE TIDAL RANGE" : "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT TO CALIBRATE TIDAL VELOCITIES" : "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER" : "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER" : "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "COUPLING WITH" : "COUPLING_WITH", - "NAMES OF CLANDESTINE VARIABLES" : "NAMES_OF_CLANDESTINE_VARIABLES", - "COUPLING DIRECTORY" : "COUPLING_DIRECTORY", - "DELWAQ PRINTOUT PERIOD" : "DELWAQ_PRINTOUT_PERIOD", - "VOLUMES DELWAQ FILE" : "VOLUMES_DELWAQ_FILE", - "EXCHANGE AREAS DELWAQ FILE" : "EXCHANGE_AREAS_DELWAQ_FILE", - "VERTICAL FLUXES DELWAQ FILE" : "VERTICAL_FLUXES_DELWAQ_FILE", - "SALINITY DELWAQ FILE" : "SALINITY_DELWAQ_FILE", - "BOTTOM SURFACES DELWAQ FILE" : "BOTTOM_SURFACES_DELWAQ_FILE", - "EXCHANGES BETWEEN NODES DELWAQ FILE" : "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "NODES DISTANCES DELWAQ FILE" : "NODES_DISTANCES_DELWAQ_FILE", - "TEMPERATURE DELWAQ FILE" : "TEMPERATURE_DELWAQ_FILE", - "VELOCITY DELWAQ FILE" : "VELOCITY_DELWAQ_FILE", - "DIFFUSIVITY DELWAQ FILE" : "DIFFUSIVITY_DELWAQ_FILE", - "DELWAQ STEERING FILE" : "DELWAQ_STEERING_FILE", - "SALINITY FOR DELWAQ" : "SALINITY_FOR_DELWAQ", - "TEMPERATURE FOR DELWAQ" : "TEMPERATURE_FOR_DELWAQ", - "VELOCITY FOR DELWAQ" : "VELOCITY_FOR_DELWAQ", - "DIFFUSIVITY FOR DELWAQ" : "DIFFUSIVITY_FOR_DELWAQ", - "SISYPHE STEERING FILE" : "SISYPHE_STEERING_FILE", - "COUPLING PERIOD FOR SISYPHE" : "COUPLING_PERIOD_FOR_SISYPHE", - "TOMAWAC STEERING FILE" : "TOMAWAC_STEERING_FILE", - "COUPLING PERIOD FOR TOMAWAC" : "COUPLING_PERIOD_FOR_TOMAWAC", - "WAQTEL STEERING FILE" : "WAQTEL_STEERING_FILE", - "LANGUAGE" : "LANGUAGE", - "STEERING FILE" : "STEERING_FILE", - "DICTIONARY" : "DICTIONARY", - "PARTITIONING TOOL" : "PARTITIONING_TOOL", - "RELEASE" : "RELEASE", - "LIST OF FILES" : "LIST_OF_FILES", - "DESCRIPTION OF LIBRARIES" : "DESCRIPTION_OF_LIBRARIES", - "DEFAULT EXECUTABLE" : "DEFAULT_EXECUTABLE", - "DEFAULT PARALLEL EXECUTABLE" : "DEFAULT_PARALLEL_EXECUTABLE", -} diff --git a/Telemac/dicoCasFrToCata.py b/Telemac/dicoCasFrToCata.py deleted file mode 100644 index f92cbd7f..00000000 --- a/Telemac/dicoCasFrToCata.py +++ /dev/null @@ -1,622 +0,0 @@ -dicoCataToFrTelemac = { - "TITLE" : "TITRE", - "INITIAL_CONDITIONS" : "CONDITIONS INITIALES", - "INITIAL_ELEVATION" : "COTE INITIALE", - "INITIAL_DEPTH" : "HAUTEUR INITIALE", - "BINARY_DATA_FILE_1_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_1" : "FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_2_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 2", - "BINARY_DATA_FILE_2" : "FICHIER DE DONNEES BINAIRE 2", - "FORMATTED_DATA_FILE_1" : "FICHIER DE DONNEES FORMATE 1", - "FORMATTED_DATA_FILE_2" : "FICHIER DE DONNEES FORMATE 2", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "BOTTOM_SMOOTHINGS" : "LISSAGES DU FOND", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "NOMBRE MAXIMUM DE FRONTIERES", - "MAXIMUM_NUMBER_OF_SOURCES" : "NOMBRE MAXIMUM DE SOURCES", - "MAXIMUM_NUMBER_OF_TRACERS" : "NOMBRE MAXIMUM DE TRACEURS", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "COMPUTATION_CONTINUED" : "SUITE DE CALCUL", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER DU CALCUL PRECEDENT", - "PREVIOUS_COMPUTATION_FILE" : "FICHIER DU CALCUL PRECEDENT", - "RECORD_NUMBER_FOR_RESTART" : "ENREGISTREMENT POUR SUITE DE CALCUL", - "INITIAL_TIME_SET_TO_ZERO" : "REMISE A ZERO DU TEMPS", - "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS" : "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES", - "GRAPHIC_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES GRAPHIQUES", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES", - "NUMBER_OF_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES", - "NAMES_OF_PRIVATE_VARIABLES" : "NOMS DES VARIABLES PRIVEES", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "BINARY_RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DE RESULTATS BINAIRE", - "BINARY_RESULTS_FILE" : "FICHIER DE RESULTATS BINAIRE", - "FORMATTED_RESULTS_FILE" : "FICHIER DE RESULTATS FORMATE", - "CONTROL_SECTIONS" : "SECTIONS DE CONTROLE", - "PRINTING_CUMULATED_FLOWRATES" : "IMPRESSION DU CUMUL DES FLUX", - "COMPATIBLE_COMPUTATION_OF_FLUXES" : "CALCUL COMPATIBLE DES FLUX", - "SECTIONS_INPUT_FILE" : "FICHIER DES SECTIONS DE CONTROLE", - "SECTIONS_OUTPUT_FILE" : "FICHIER DE SORTIE DES SECTIONS DE CONTROLE", - "FLUXLINE" : "FLUXLINE", - "FLUXLINE_INPUT_FILE" : "FICHIER DE FLUXLINE", - "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS" : "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING", - "LISTING_PRINTOUT_PERIOD" : "PERIODE DE SORTIE LISTING", - "LISTING_FOR_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES LISTING", - "LISTING_PRINTOUT" : "SORTIE LISTING", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES A IMPRIMER", - "MASS_BALANCE" : "BILAN DE MASSE", - "INFORMATION_ABOUT_SOLVER" : "INFORMATIONS SUR LE SOLVEUR", - "LIST_OF_POINTS" : "LISTE DE POINTS", - "NAMES_OF_POINTS" : "NOMS DES POINTS", - "FOURIER_ANALYSIS_PERIODS" : "PERIODES D'ANALYSE DE FOURIER", - "TIME_RANGE_FOR_FOURIER_ANALYSIS" : "BORNES EN TEMPS POUR L'ANALYSE DE FOURIER", - "PRESCRIBED_ELEVATIONS" : "COTES IMPOSEES", - "PRESCRIBED_FLOWRATES" : "DEBITS IMPOSES", - "PRESCRIBED_VELOCITIES" : "VITESSES IMPOSEES", - "STAGE_DISCHARGE_CURVES" : "COURBES DE TARAGE", - "STAGE_DISCHARGE_CURVES_FILE" : "FICHIER DES COURBES DE TARAGE", - "VELOCITY_PROFILES" : "PROFILS DE VITESSE", - "OPTION_FOR_LIQUID_BOUNDARIES" : "OPTION POUR LES FRONTIERES LIQUIDES", - "LIQUID_BOUNDARIES_FILE" : "FICHIER DES FRONTIERES LIQUIDES", - "ELEMENTS_MASKED_BY_USER" : "ELEMENTS MASQUES PAR L'UTILISATEUR", - "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS" : "NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT", - "FRICTION_DATA" : "DONNEES POUR LE FROTTEMENT", - "FRICTION_DATA_FILE" : "FICHIER DE DONNEES POUR LE FROTTEMENT", - "LAW_OF_BOTTOM_FRICTION" : "LOI DE FROTTEMENT SUR LE FOND", - "FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT", - "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW" : "VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE", - "DEPTH_IN_FRICTION_TERMS" : "HAUTEUR DANS LES TERMES DE FROTTEMENT", - "NON_SUBMERGED_VEGETATION_FRICTION" : "FROTTEMENT POUR LA VEGETATION NON SUBMERGEE", - "DIAMETER_OF_ROUGHNESS_ELEMENTS" : "DIAMETRE DES ELEMENTS DE FROTTEMENT", - "SPACING_OF_ROUGHNESS_ELEMENTS" : "ESPACEMENT DES ELEMENTS DE FROTTEMENT", - "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES" : "LOI DE FROTTEMENT SUR LES PAROIS LATERALES", - "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES" : "COEFFICIENT DE RUGOSITE DES BORDS", - "DEFINITION_OF_ZONES" : "DEFINITION DE ZONES", - "ZONES_FILE" : "FICHIER DES ZONES", - "WIND" : "VENT", - "OPTION_FOR_WIND" : "OPTION DU VENT", - "COEFFICIENT_OF_WIND_INFLUENCE" : "COEFFICIENT D'INFLUENCE DU VENT", - "WIND_VELOCITY_ALONG_X" : "VITESSE DU VENT SUIVANT X", - "WIND_VELOCITY_ALONG_Y" : "VITESSE DU VENT SUIVANT Y", - "SPEED_AND_DIRECTION_OF_WIND" : "VITESSE ET DIRECTION DU VENT", - "THRESHOLD_DEPTH_FOR_WIND" : "PROFONDEUR LIMITE POUR LE VENT", - "AIR_PRESSURE" : "PRESSION ATMOSPHERIQUE", - "VALUE_OF_ATMOSPHERIC_PRESSURE" : "VALEUR DE LA PRESSION ATMOSPHERIQUE", - "RAIN_OR_EVAPORATION" : "PLUIE OU EVAPORATION", - "RAIN_OR_EVAPORATION_IN_MM_PER_DAY" : "PLUIE OU EVAPORATION EN MM PAR JOUR", - "RAINFALL_RUNOFF_MODEL" : "MODELE PLUIE-DEBIT", - "ANTECEDENT_MOISTURE_CONDITIONS" : "CONDITIONS D'HUMIDITE PRECEDENTE", - "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS" : "DUREE DE LA PLUIE OU EVAPORATION EN HEURES", - "ASCII_ATMOSPHERIC_DATA_FILE" : "FICHIER ASCII DE DONNEES ATMOSPHERIQUES", - "BINARY_ATMOSPHERIC_DATA_FILE" : "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES", - "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT" : "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES", - "OPTION_FOR_INITIAL_ABSTRACTION_RATIO" : "OPTION POUR RATIO DES PERTES INITIALES", - "WAVE_DRIVEN_CURRENTS" : "COURANTS DE HOULE", - "RECORD_NUMBER_IN_WAVE_FILE" : "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE", - "WAVE_ENHANCED_FRICTION_FACTOR" : "AUGMENTATION DU FROTTEMENT PAR LA HOULE", - "PARAMETER_ESTIMATION" : "ESTIMATION DE PARAMETRE", - "COST_FUNCTION" : "FONCTION COUT", - "IDENTIFICATION_METHOD" : "METHODE D'IDENTIFICATION", - "TOLERANCES_FOR_IDENTIFICATION" : "PRECISIONS POUR L'IDENTIFICATION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION" : "MAXIMUM D'ITERATIONS POUR L'IDENTIFICATION", - "ABSCISSAE_OF_SOURCES" : "ABSCISSES DES SOURCES", - "ORDINATES_OF_SOURCES" : "ORDONNEES DES SOURCES", - "WATER_DISCHARGE_OF_SOURCES" : "DEBITS DES SOURCES", - "VELOCITIES_OF_THE_SOURCES_ALONG_X" : "VITESSES DES SOURCES SELON X", - "VELOCITIES_OF_THE_SOURCES_ALONG_Y" : "VITESSES DES SOURCES SELON Y", - "TYPE_OF_SOURCES" : "TYPE DES SOURCES", - "SOURCES_FILE" : "FICHIER DES SOURCES", - "BLOBAL_NUMBERS_OF_SOURCE_NODES" : "NUMEROS GLOBAUX DES NOEUDS DES SOURCES", - "WATER_QUALITY_PROCESS" : "PROCESSUS QUALITE D'EAU", - "WATER_DENSITY" : "MASSE VOLUMIQUE DE L'EAU", - "GRAVITY_ACCELERATION" : "ACCELERATION DE LA PESANTEUR", - "VERTICAL_STRUCTURES" : "STRUCTURES VERTICALES", - "EQUATIONS" : "EQUATIONS", - "TREATMENT_OF_THE_LINEAR_SYSTEM" : "TRAITEMENT DU SYSTEME LINEAIRE", - "FINITE_VOLUME_SCHEME" : "SCHEMA EN VOLUMES FINIS", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS_COEFFICIENT" : "COEFFICIENT DE CORIOLIS", - "OPTION_FOR_TSUNAMI_GENERATION" : "OPTION POUR LA GENERATION DE TSUNAMI", - "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI" : "PARAMETRES PHYSIQUES DU TSUNAMI", - "SECONDARY_CURRENTS" : "COURANTS SECONDAIRES", - "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "COEFFICIENT DE PRODUCTION POUR COURANTS SECONDAIRES", - "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "COEFFICIENT DE DISSIPATION POUR COURANTS SECONDAIRES", - "DEBUGGER" : "DEBUGGER", - "TIME_STEP" : "PAS DE TEMPS", - "NUMBER_OF_TIME_STEPS" : "NOMBRE DE PAS DE TEMPS", - "DURATION" : "DUREE DU CALCUL", - "ORIGINAL_DATE_OF_TIME" : "DATE DE L'ORIGINE DES TEMPS", - "ORIGINAL_HOUR_OF_TIME" : "HEURE DE L'ORIGINE DES TEMPS", - "STOP_IF_A_STEADY_STATE_IS_REACHED" : "ARRET SI UN ETAT PERMANENT EST ATTEINT", - "STOP_CRITERIA" : "CRITERES D'ARRET", - "CONTROL_OF_LIMITS" : "CONTROLE DES LIMITES", - "LIMIT_VALUES" : "VALEURS LIMITES", - "VARIABLE_TIME_STEP" : "PAS DE TEMPS VARIABLE", - "DESIRED_COURANT_NUMBER" : "NOMBRE DE COURANT SOUHAITE", - "ORIGIN_COORDINATES" : "COORDONNEES DE L'ORIGINE", - "SPHERICAL_COORDINATES" : "COORDONNEES SPHERIQUES", - "LATITUDE_OF_ORIGIN_POINT" : "LATITUDE DU POINT ORIGINE", - "LONGITUDE_OF_ORIGIN_POINT" : "LONGITUDE DU POINT ORIGINE", - "NORTH" : "NORD", - "SPATIAL_PROJECTION_TYPE" : "TYPE DE PROJECTION SPATIALE", - "SOLVER" : "SOLVEUR", - "SOLVER_OPTION" : "OPTION DU SOLVEUR", - "SOLVER_ACCURACY" : "PRECISION DU SOLVEUR", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM D'ITERATIONS POUR LE SOLVEUR", - "CONTINUITY_CORRECTION" : "CORRECTION DE CONTINUITE", - "PRECONDITIONING" : "PRECONDITIONNEMENT", - "C_U_PRECONDITIONING" : "PRECONDITIONNEMENT C-U", - "IMPLICITATION_FOR_DEPTH" : "IMPLICITATION POUR LA HAUTEUR", - "IMPLICITATION_FOR_VELOCITY" : "IMPLICITATION POUR LA VITESSE", - "DISCRETIZATIONS_IN_SPACE" : "DISCRETISATIONS EN ESPACE", - "PROPAGATION" : "PROPAGATION", - "INITIAL_GUESS_FOR_H" : "ORDRE DU TIR INITIAL POUR H", - "LINEARIZED_PROPAGATION" : "PROPAGATION LINEARISEE", - "INITIAL_GUESS_FOR_U" : "ORDRE DU TIR INITIAL POUR U", - "MEAN_DEPTH_FOR_LINEARIZATION" : "PROFONDEUR MOYENNE POUR LA LINEARISATION", - "ADVECTION" : "CONVECTION", - "ADVECTION_OF_H" : "CONVECTION DE H", - "ADVECTION_OF_U_AND_V" : "CONVECTION DE U ET V", - "TYPE_OF_ADVECTION" : "FORME DE LA CONVECTION", - "OPTION_FOR_CHARACTERISTICS" : "OPTION POUR LES CARACTERISTIQUES", - "SUPG_OPTION" : "OPTION DE SUPG", - "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS" : "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES", - "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS" : "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION", - "UPWIND_COEFFICIENTS" : "COEFFICIENTS DE DECENTREMENT", - "MASS_LUMPING_ON_H" : "MASS-LUMPING SUR H", - "MASS_LUMPING_ON_VELOCITY" : "MASS-LUMPING SUR LA VITESSE", - "SCHEME_FOR_ADVECTION_OF_VELOCITIES" : "SCHEMA POUR LA CONVECTION DES VITESSES", - "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES" : "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES", - "FREE_SURFACE_GRADIENT_COMPATIBILITY" : "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE", - "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES" : "NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TRAITEMENT DES FLUX AUX FRONTIERES", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS", - "PSI_SCHEME_OPTION" : "OPTION DU SCHEMA PSI", - "DIFFUSION_OF_VELOCITY" : "DIFFUSION DES VITESSES", - "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES" : "OPTION POUR LA DIFFUSION DES VITESSES", - "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY" : "IMPLICITATION POUR LA DIFFUSION DES VITESSES", - "AD_NUMBER_OF_DERIVATIVES" : "AD NOMBRE DE DERIVEES", - "AD_NAMES_OF_DERIVATIVES" : "AD NOMS DES DERIVEES", - "MATRIX_STORAGE" : "STOCKAGE DES MATRICES", - "MATRIX_VECTOR_PRODUCT" : "PRODUIT MATRICE-VECTEUR", - "NEWMARK_TIME_INTEGRATION_COEFFICIENT" : "COEFFICIENT D'INTEGRATION EN TEMPS DE NEWMARK", - "ZERO" : "ZERO", - "PROPAGATION_OPTION" : "OPTION DE PROPAGATION", - "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION" : "OPTION DE LA RECONSTRUCION HYDROSTATIQUE", - "VELOCITY_DIFFUSIVITY" : "COEFFICIENT DE DIFFUSION DES VITESSES", - "TURBULENCE_MODEL" : "MODELE DE TURBULENCE", - "SOLVER_FOR_K_EPSILON_MODEL" : "SOLVEUR POUR LE MODELE K-EPSILON", - "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL" : "OPTION DU SOLVEUR POUR LE MODELE K-EPSILON", - "PRECONDITIONING_FOR_K_EPSILON_MODEL" : "PRECONDITIONNEMENT POUR LE MODELE K-EPSILON", - "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS" : "COEFFICIENTS ADIMENSIONNELS DE DISPERSION", - "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES" : "REGIME DE TURBULENCE POUR LES PAROIS", - "INFORMATION_ABOUT_K_EPSILON_MODEL" : "INFORMATIONS SUR LE MODELE K-EPSILON", - "ADVECTION_OF_K_AND_EPSILON" : "CONVECTION DE K ET EPSILON", - "SCHEME_FOR_ADVECTION_OF_K_EPSILON" : "SCHEMA POUR LA CONVECTION DU K-EPSILON", - "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON" : "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON", - "TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL" : "REDUCTION DU PAS DE TEMPS POUR LE MODELE K-EPSILON", - "ACCURACY_OF_K" : "PRECISION SUR K", - "ACCURACY_OF_EPSILON" : "PRECISION SUR EPSILON", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON" : "MAXIMUM D'ITERATIONS POUR K ET EPSILON", - "TIDAL_FLATS" : "BANCS DECOUVRANTS", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS", - "TREATMENT_OF_NEGATIVE_DEPTHS" : "TRAITEMENT DES HAUTEURS NEGATIVES", - "THRESHOLD_FOR_NEGATIVE_DEPTHS" : "SEUIL POUR LES PROFONDEURS NEGATIVES", - "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE" : "PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE", - "H_CLIPPING" : "CLIPPING DE H", - "MINIMUM_VALUE_OF_DEPTH" : "VALEUR MINIMUM DE H", - "PRESCRIBED_TRACERS_VALUES" : "VALEURS IMPOSEES DES TRACEURS", - "NUMBER_OF_TRACERS" : "NOMBRE DE TRACEURS", - "NAMES_OF_TRACERS" : "NOMS DES TRACEURS", - "INITIAL_VALUES_OF_TRACERS" : "VALEURS INITIALES DES TRACEURS", - "DENSITY_EFFECTS" : "EFFETS DE DENSITE", - "MEAN_TEMPERATURE" : "TEMPERATURE MOYENNE", - "SOLVER_FOR_DIFFUSION_OF_TRACERS" : "SOLVEUR POUR LA DIFFUSION DES TRACEURS", - "SOLVER_OPTION_FOR_TRACERS_DIFFUSION" : "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS", - "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS" : "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS", - "ACCURACY_FOR_DIFFUSION_OF_TRACERS" : "PRECISION POUR LA DIFFUSION DES TRACEURS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS" : "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS", - "VALUES_OF_THE_TRACERS_AT_THE_SOURCES" : "VALEURS DES TRACEURS DES SOURCES", - "VALUES_OF_TRACERS_IN_THE_RAIN" : "VALEURS DES TRACEURS DANS LA PLUIE", - "ADVECTION_OF_TRACERS" : "CONVECTION DES TRACEURS", - "IMPLICITATION_COEFFICIENT_OF_TRACERS" : "COEFFICIENT D'IMPLICITATION DES TRACEURS", - "DIFFUSION_OF_TRACERS" : "DIFFUSION DES TRACEURS", - "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS" : "COEFFICIENT DE DIFFUSION DES TRACEURS", - "OPTION_FOR_THE_DIFFUSION_OF_TRACERS" : "OPTION POUR LA DIFFUSION DES TRACEURS", - "SCHEME_FOR_ADVECTION_OF_TRACERS" : "SCHEMA POUR LA CONVECTION DES TRACEURS", - "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS" : "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS", - "MASS_LUMPING_ON_TRACERS" : "MASS-LUMPING SUR LES TRACEURS", - "LAW_OF_TRACERS_DEGRADATION" : "LOI DE DEGRADATION DES TRACEURS", - "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION" : "COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS", - "NUMBER_OF_DROGUES" : "NOMBRE DE FLOTTEURS", - "PRINTOUT_PERIOD_FOR_DROGUES" : "PERIODE POUR LES SORTIES DE FLOTTEURS", - "DROGUES_FILE" : "FICHIER DES FLOTTEURS", - "ALGAE_TRANSPORT_MODEL" : "MODELE DE TRANSPORT DES ALGUES", - "ALGAE_TYPE" : "TYPE DES ALGUES", - "DIAMETRE_OF_ALGAE" : "DIAMETRE DES ALGUES", - "DENSITY_OF_ALGAE" : "MASSE VOLUMIQUE DES ALGUES", - "THICKNESS_OF_ALGAE" : "EPAISSEUR DES ALGUES", - "OIL_SPILL_MODEL" : "MODELE DE NAPPES D'HYDROCARBURES", - "OIL_SPILL_STEERING_FILE" : "FICHIER DE COMMANDES HYDROCARBURES", - "STOCHASTIC_DIFFUSION_MODEL" : "MODELE DE DIFFUSION STOCHASTIQUE", - "NUMBER_OF_LAGRANGIAN_DRIFTS" : "NOMBRE DE DERIVES LAGRANGIENNES", - "NUMBER_OF_WEIRS" : "NOMBRE DE SEUILS", - "WEIRS_DATA_FILE" : "FICHIER DE DONNEES DES SEUILS", - "TYPE_OF_WEIRS" : "TYPE DES SEUILS", - "NUMBER_OF_SIPHONS" : "NOMBRE DE SIPHONS", - "SIPHONS_DATA_FILE" : "FICHIER DE DONNEES DES SIPHONS", - "NUMBER_OF_CULVERTS" : "NOMBRE DE BUSES", - "CULVERTS_DATA_FILE" : "FICHIER DE DONNEES DES BUSES", - "OPTION_FOR_CULVERTS" : "OPTION POUR LES BUSES", - "BREACH" : "BRECHE", - "BREACHES_DATA_FILE" : "FICHIER DE DONNEES DES BRECHES", - "TIDAL_DATA_BASE" : "BASE DE DONNEES DE MAREE", - "TIDAL_MODEL_FILE" : "FICHIER DU MODELE DE MAREE", - "ASCII_DATABASE_FOR_TIDE" : "BASE ASCII DE DONNEES DE MAREE", - "BINARY_DATABASE_1_FOR_TIDE" : "BASE BINAIRE 1 DE DONNEES DE MAREE", - "BINARY_DATABASE_2_FOR_TIDE" : "BASE BINAIRE 2 DE DONNEES DE MAREE", - "MINOR_CONSTITUENTS_INFERENCE" : "INTERPOLATION DE COMPOSANTES MINEURES", - "HARMONIC_CONSTANTS_FILE" : "FICHIER DES CONSTANTES HARMONIQUES", - "TIDE_GENERATING_FORCE" : "FORCE GENERATRICE DE LA MAREE", - "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS" : "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE", - "GEOGRAPHIC_SYSTEM" : "SYSTEME GEOGRAPHIQUE", - "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM" : "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE", - "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL" : "COEFFICIENT DE CALAGE DU NIVEAU DE MER", - "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE" : "COEFFICIENT DE CALAGE DU MARNAGE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES" : "COEFFICIENT DE CALAGE DES VITESSES DE COURANT", - "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER", - "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER", - "COUPLING_WITH" : "COUPLAGE AVEC", - "NAMES_OF_CLANDESTINE_VARIABLES" : "NOMS DES VARIABLES CLANDESTINES", - "COUPLING_DIRECTORY" : "DOSSIER DE COUPLAGE", - "DELWAQ_PRINTOUT_PERIOD" : "PERIODE DE SORTIE POUR DELWAQ", - "VOLUMES_DELWAQ_FILE" : "FICHIER DELWAQ DES VOLUMES", - "EXCHANGE_AREAS_DELWAQ_FILE" : "FICHIER DELWAQ DES SURFACES DE FLUX", - "VERTICAL_FLUXES_DELWAQ_FILE" : "FICHIER DELWAQ DES FLUX VERTICAUX", - "SALINITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA SALINITE", - "BOTTOM_SURFACES_DELWAQ_FILE" : "FICHIER DELWAQ DES SURFACES DU FOND", - "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE" : "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS", - "NODES_DISTANCES_DELWAQ_FILE" : "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS", - "TEMPERATURE_DELWAQ_FILE" : "FICHIER DELWAQ DE LA TEMPERATURE", - "VELOCITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA VITESSE", - "DIFFUSIVITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA DIFFUSION", - "DELWAQ_STEERING_FILE" : "FICHIER DE COMMANDE DELWAQ", - "SALINITY_FOR_DELWAQ" : "SALINITE POUR DELWAQ", - "TEMPERATURE_FOR_DELWAQ" : "TEMPERATURE POUR DELWAQ", - "VELOCITY_FOR_DELWAQ" : "VITESSE POUR DELWAQ", - "DIFFUSIVITY_FOR_DELWAQ" : "DIFFUSION POUR DELWAQ", - "SISYPHE_STEERING_FILE" : "FICHIER DES PARAMETRES DE SISYPHE", - "COUPLING_PERIOD_FOR_SISYPHE" : "PERIODE DE COUPLAGE POUR SISYPHE", - "TOMAWAC_STEERING_FILE" : "FICHIER DES PARAMETRES DE TOMAWAC", - "COUPLING_PERIOD_FOR_TOMAWAC" : "PERIODE DE COUPLAGE POUR TOMAWAC", - "WAQTEL_STEERING_FILE" : "FICHIER DES PARAMETRES DE WAQTEL", - "LANGUAGE" : "LANGUE", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "DICTIONARY" : "DICTIONNAIRE", - "PARTITIONING_TOOL" : "PARTITIONNEUR", - "RELEASE" : "NUMERO DE VERSION", - "LIST_OF_FILES" : "LISTE DES FICHIERS", - "DESCRIPTION_OF_LIBRARIES" : "DESCRIPTION DES LIBRAIRIES", - "DEFAULT_EXECUTABLE" : "EXECUTABLE PAR DEFAUT", - "DEFAULT_PARALLEL_EXECUTABLE" : "EXECUTABLE PARALLELE PAR DEFAUT", -} -dicoCasFrToCata = { - "TITRE" : "TITLE", - "CONDITIONS INITIALES" : "INITIAL_CONDITIONS", - "COTE INITIALE" : "INITIAL_ELEVATION", - "HAUTEUR INITIALE" : "INITIAL_DEPTH", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1_FORMAT", - "FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2_FORMAT", - "FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2", - "FICHIER DE DONNEES FORMATE 1" : "FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2" : "FORMATTED_DATA_FILE_2", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "LISSAGES DU FOND" : "BOTTOM_SMOOTHINGS", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "VALIDATION" : "VALIDATION", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "NOMBRE MAXIMUM DE SOURCES" : "MAXIMUM_NUMBER_OF_SOURCES", - "NOMBRE MAXIMUM DE TRACEURS" : "MAXIMUM_NUMBER_OF_TRACERS", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "SUITE DE CALCUL" : "COMPUTATION_CONTINUED", - "FORMAT DU FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE", - "ENREGISTREMENT POUR SUITE DE CALCUL" : "RECORD_NUMBER_FOR_RESTART", - "REMISE A ZERO DU TEMPS" : "INITIAL_TIME_SET_TO_ZERO", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES" : "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "PERIODE POUR LES SORTIES GRAPHIQUES" : "GRAPHIC_PRINTOUT_PERIOD", - "VARIABLES POUR LES SORTIES GRAPHIQUES" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE TABLEAUX PRIVES" : "NUMBER_OF_PRIVATE_ARRAYS", - "NOMS DES VARIABLES PRIVEES" : "NAMES_OF_PRIVATE_VARIABLES", - "FORMAT DU FICHIER DES RESULTATS" : "RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "FORMAT DU FICHIER DE RESULTATS BINAIRE" : "BINARY_RESULTS_FILE_FORMAT", - "FICHIER DE RESULTATS BINAIRE" : "BINARY_RESULTS_FILE", - "FICHIER DE RESULTATS FORMATE" : "FORMATTED_RESULTS_FILE", - "SECTIONS DE CONTROLE" : "CONTROL_SECTIONS", - "IMPRESSION DU CUMUL DES FLUX" : "PRINTING_CUMULATED_FLOWRATES", - "CALCUL COMPATIBLE DES FLUX" : "COMPATIBLE_COMPUTATION_OF_FLUXES", - "FICHIER DES SECTIONS DE CONTROLE" : "SECTIONS_INPUT_FILE", - "FICHIER DE SORTIE DES SECTIONS DE CONTROLE" : "SECTIONS_OUTPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "FICHIER DE FLUXLINE" : "FLUXLINE_INPUT_FILE", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING" : "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "PERIODE DE SORTIE LISTING" : "LISTING_PRINTOUT_PERIOD", - "PERIODE POUR LES SORTIES LISTING" : "LISTING_FOR_PRINTOUT_PERIOD", - "SORTIE LISTING" : "LISTING_PRINTOUT", - "VARIABLES A IMPRIMER" : "VARIABLES_TO_BE_PRINTED", - "BILAN DE MASSE" : "MASS_BALANCE", - "INFORMATIONS SUR LE SOLVEUR" : "INFORMATION_ABOUT_SOLVER", - "LISTE DE POINTS" : "LIST_OF_POINTS", - "NOMS DES POINTS" : "NAMES_OF_POINTS", - "PERIODES D'ANALYSE DE FOURIER" : "FOURIER_ANALYSIS_PERIODS", - "BORNES EN TEMPS POUR L'ANALYSE DE FOURIER" : "TIME_RANGE_FOR_FOURIER_ANALYSIS", - "COTES IMPOSEES" : "PRESCRIBED_ELEVATIONS", - "DEBITS IMPOSES" : "PRESCRIBED_FLOWRATES", - "VITESSES IMPOSEES" : "PRESCRIBED_VELOCITIES", - "COURBES DE TARAGE" : "STAGE_DISCHARGE_CURVES", - "FICHIER DES COURBES DE TARAGE" : "STAGE_DISCHARGE_CURVES_FILE", - "PROFILS DE VITESSE" : "VELOCITY_PROFILES", - "OPTION POUR LES FRONTIERES LIQUIDES" : "OPTION_FOR_LIQUID_BOUNDARIES", - "FICHIER DES FRONTIERES LIQUIDES" : "LIQUID_BOUNDARIES_FILE", - "ELEMENTS MASQUES PAR L'UTILISATEUR" : "ELEMENTS_MASKED_BY_USER", - "NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT" : "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS", - "DONNEES POUR LE FROTTEMENT" : "FRICTION_DATA", - "FICHIER DE DONNEES POUR LE FROTTEMENT" : "FRICTION_DATA_FILE", - "LOI DE FROTTEMENT SUR LE FOND" : "LAW_OF_BOTTOM_FRICTION", - "COEFFICIENT DE FROTTEMENT" : "FRICTION_COEFFICIENT", - "VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE" : "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW", - "HAUTEUR DANS LES TERMES DE FROTTEMENT" : "DEPTH_IN_FRICTION_TERMS", - "FROTTEMENT POUR LA VEGETATION NON SUBMERGEE" : "NON_SUBMERGED_VEGETATION_FRICTION", - "DIAMETRE DES ELEMENTS DE FROTTEMENT" : "DIAMETER_OF_ROUGHNESS_ELEMENTS", - "ESPACEMENT DES ELEMENTS DE FROTTEMENT" : "SPACING_OF_ROUGHNESS_ELEMENTS", - "LOI DE FROTTEMENT SUR LES PAROIS LATERALES" : "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "COEFFICIENT DE RUGOSITE DES BORDS" : "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES", - "DEFINITION DE ZONES" : "DEFINITION_OF_ZONES", - "FICHIER DES ZONES" : "ZONES_FILE", - "VENT" : "WIND", - "OPTION DU VENT" : "OPTION_FOR_WIND", - "COEFFICIENT D'INFLUENCE DU VENT" : "COEFFICIENT_OF_WIND_INFLUENCE", - "VITESSE DU VENT SUIVANT X" : "WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y" : "WIND_VELOCITY_ALONG_Y", - "VITESSE ET DIRECTION DU VENT" : "SPEED_AND_DIRECTION_OF_WIND", - "PROFONDEUR LIMITE POUR LE VENT" : "THRESHOLD_DEPTH_FOR_WIND", - "PRESSION ATMOSPHERIQUE" : "AIR_PRESSURE", - "VALEUR DE LA PRESSION ATMOSPHERIQUE" : "VALUE_OF_ATMOSPHERIC_PRESSURE", - "PLUIE OU EVAPORATION" : "RAIN_OR_EVAPORATION", - "PLUIE OU EVAPORATION EN MM PAR JOUR" : "RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "MODELE PLUIE-DEBIT" : "RAINFALL_RUNOFF_MODEL", - "CONDITIONS D'HUMIDITE PRECEDENTE" : "ANTECEDENT_MOISTURE_CONDITIONS", - "DUREE DE LA PLUIE OU EVAPORATION EN HEURES" : "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS", - "FICHIER ASCII DE DONNEES ATMOSPHERIQUES" : "ASCII_ATMOSPHERIC_DATA_FILE", - "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES" : "BINARY_ATMOSPHERIC_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES" : "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "OPTION POUR RATIO DES PERTES INITIALES" : "OPTION_FOR_INITIAL_ABSTRACTION_RATIO", - "COURANTS DE HOULE" : "WAVE_DRIVEN_CURRENTS", - "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE" : "RECORD_NUMBER_IN_WAVE_FILE", - "AUGMENTATION DU FROTTEMENT PAR LA HOULE" : "WAVE_ENHANCED_FRICTION_FACTOR", - "ESTIMATION DE PARAMETRE" : "PARAMETER_ESTIMATION", - "FONCTION COUT" : "COST_FUNCTION", - "METHODE D'IDENTIFICATION" : "IDENTIFICATION_METHOD", - "PRECISIONS POUR L'IDENTIFICATION" : "TOLERANCES_FOR_IDENTIFICATION", - "MAXIMUM D'ITERATIONS POUR L'IDENTIFICATION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION", - "ABSCISSES DES SOURCES" : "ABSCISSAE_OF_SOURCES", - "ORDONNEES DES SOURCES" : "ORDINATES_OF_SOURCES", - "DEBITS DES SOURCES" : "WATER_DISCHARGE_OF_SOURCES", - "VITESSES DES SOURCES SELON X" : "VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VITESSES DES SOURCES SELON Y" : "VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "TYPE DES SOURCES" : "TYPE_OF_SOURCES", - "FICHIER DES SOURCES" : "SOURCES_FILE", - "NUMEROS GLOBAUX DES NOEUDS DES SOURCES" : "BLOBAL_NUMBERS_OF_SOURCE_NODES", - "PROCESSUS QUALITE D'EAU" : "WATER_QUALITY_PROCESS", - "MASSE VOLUMIQUE DE L'EAU" : "WATER_DENSITY", - "ACCELERATION DE LA PESANTEUR" : "GRAVITY_ACCELERATION", - "STRUCTURES VERTICALES" : "VERTICAL_STRUCTURES", - "EQUATIONS" : "EQUATIONS", - "TRAITEMENT DU SYSTEME LINEAIRE" : "TREATMENT_OF_THE_LINEAR_SYSTEM", - "SCHEMA EN VOLUMES FINIS" : "FINITE_VOLUME_SCHEME", - "CORIOLIS" : "CORIOLIS", - "COEFFICIENT DE CORIOLIS" : "CORIOLIS_COEFFICIENT", - "OPTION POUR LA GENERATION DE TSUNAMI" : "OPTION_FOR_TSUNAMI_GENERATION", - "PARAMETRES PHYSIQUES DU TSUNAMI" : "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI", - "COURANTS SECONDAIRES" : "SECONDARY_CURRENTS", - "COEFFICIENT DE PRODUCTION POUR COURANTS SECONDAIRES" : "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "COEFFICIENT DE DISSIPATION POUR COURANTS SECONDAIRES" : "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DEBUGGER" : "DEBUGGER", - "PAS DE TEMPS" : "TIME_STEP", - "NOMBRE DE PAS DE TEMPS" : "NUMBER_OF_TIME_STEPS", - "DUREE DU CALCUL" : "DURATION", - "DATE DE L'ORIGINE DES TEMPS" : "ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS" : "ORIGINAL_HOUR_OF_TIME", - "ARRET SI UN ETAT PERMANENT EST ATTEINT" : "STOP_IF_A_STEADY_STATE_IS_REACHED", - "CRITERES D'ARRET" : "STOP_CRITERIA", - "CONTROLE DES LIMITES" : "CONTROL_OF_LIMITS", - "VALEURS LIMITES" : "LIMIT_VALUES", - "PAS DE TEMPS VARIABLE" : "VARIABLE_TIME_STEP", - "NOMBRE DE COURANT SOUHAITE" : "DESIRED_COURANT_NUMBER", - "COORDONNEES DE L'ORIGINE" : "ORIGIN_COORDINATES", - "COORDONNEES SPHERIQUES" : "SPHERICAL_COORDINATES", - "LATITUDE DU POINT ORIGINE" : "LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE DU POINT ORIGINE" : "LONGITUDE_OF_ORIGIN_POINT", - "NORD" : "NORTH", - "TYPE DE PROJECTION SPATIALE" : "SPATIAL_PROJECTION_TYPE", - "SOLVEUR" : "SOLVER", - "OPTION DU SOLVEUR" : "SOLVER_OPTION", - "PRECISION DU SOLVEUR" : "SOLVER_ACCURACY", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "CORRECTION DE CONTINUITE" : "CONTINUITY_CORRECTION", - "PRECONDITIONNEMENT" : "PRECONDITIONING", - "PRECONDITIONNEMENT C-U" : "C_U_PRECONDITIONING", - "IMPLICITATION POUR LA HAUTEUR" : "IMPLICITATION_FOR_DEPTH", - "IMPLICITATION POUR LA VITESSE" : "IMPLICITATION_FOR_VELOCITY", - "DISCRETISATIONS EN ESPACE" : "DISCRETIZATIONS_IN_SPACE", - "PROPAGATION" : "PROPAGATION", - "ORDRE DU TIR INITIAL POUR H" : "INITIAL_GUESS_FOR_H", - "PROPAGATION LINEARISEE" : "LINEARIZED_PROPAGATION", - "ORDRE DU TIR INITIAL POUR U" : "INITIAL_GUESS_FOR_U", - "PROFONDEUR MOYENNE POUR LA LINEARISATION" : "MEAN_DEPTH_FOR_LINEARIZATION", - "CONVECTION" : "ADVECTION", - "CONVECTION DE H" : "ADVECTION_OF_H", - "CONVECTION DE U ET V" : "ADVECTION_OF_U_AND_V", - "FORME DE LA CONVECTION" : "TYPE_OF_ADVECTION", - "OPTION POUR LES CARACTERISTIQUES" : "OPTION_FOR_CHARACTERISTICS", - "OPTION DE SUPG" : "SUPG_OPTION", - "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES" : "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES" : "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "COEFFICIENTS DE DECENTREMENT" : "UPWIND_COEFFICIENTS", - "MASS-LUMPING SUR H" : "MASS_LUMPING_ON_H", - "MASS-LUMPING SUR LA VITESSE" : "MASS_LUMPING_ON_VELOCITY", - "SCHEMA POUR LA CONVECTION DES VITESSES" : "SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES" : "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE" : "FREE_SURFACE_GRADIENT_COMPATIBILITY", - "NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES" : "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "TRAITEMENT DES FLUX AUX FRONTIERES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "OPTION DU SCHEMA PSI" : "PSI_SCHEME_OPTION", - "DIFFUSION DES VITESSES" : "DIFFUSION_OF_VELOCITY", - "OPTION POUR LA DIFFUSION DES VITESSES" : "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION POUR LA DIFFUSION DES VITESSES" : "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY", - "AD NOMBRE DE DERIVEES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES" : "AD_NAMES_OF_DERIVATIVES", - "STOCKAGE DES MATRICES" : "MATRIX_STORAGE", - "PRODUIT MATRICE-VECTEUR" : "MATRIX_VECTOR_PRODUCT", - "COEFFICIENT D'INTEGRATION EN TEMPS DE NEWMARK" : "NEWMARK_TIME_INTEGRATION_COEFFICIENT", - "ZERO" : "ZERO", - "OPTION DE PROPAGATION" : "PROPAGATION_OPTION", - "OPTION DE LA RECONSTRUCION HYDROSTATIQUE" : "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION", - "COEFFICIENT DE DIFFUSION DES VITESSES" : "VELOCITY_DIFFUSIVITY", - "MODELE DE TURBULENCE" : "TURBULENCE_MODEL", - "SOLVEUR POUR LE MODELE K-EPSILON" : "SOLVER_FOR_K_EPSILON_MODEL", - "OPTION DU SOLVEUR POUR LE MODELE K-EPSILON" : "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL", - "PRECONDITIONNEMENT POUR LE MODELE K-EPSILON" : "PRECONDITIONING_FOR_K_EPSILON_MODEL", - "COEFFICIENTS ADIMENSIONNELS DE DISPERSION" : "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS", - "REGIME DE TURBULENCE POUR LES PAROIS" : "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES", - "INFORMATIONS SUR LE MODELE K-EPSILON" : "INFORMATION_ABOUT_K_EPSILON_MODEL", - "CONVECTION DE K ET EPSILON" : "ADVECTION_OF_K_AND_EPSILON", - "SCHEMA POUR LA CONVECTION DU K-EPSILON" : "SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON" : "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "REDUCTION DU PAS DE TEMPS POUR LE MODELE K-EPSILON" : "TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL", - "PRECISION SUR K" : "ACCURACY_OF_K", - "PRECISION SUR EPSILON" : "ACCURACY_OF_EPSILON", - "MAXIMUM D'ITERATIONS POUR K ET EPSILON" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON", - "BANCS DECOUVRANTS" : "TIDAL_FLATS", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TRAITEMENT DES HAUTEURS NEGATIVES" : "TREATMENT_OF_NEGATIVE_DEPTHS", - "SEUIL POUR LES PROFONDEURS NEGATIVES" : "THRESHOLD_FOR_NEGATIVE_DEPTHS", - "PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE" : "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE", - "CLIPPING DE H" : "H_CLIPPING", - "VALEUR MINIMUM DE H" : "MINIMUM_VALUE_OF_DEPTH", - "VALEURS IMPOSEES DES TRACEURS" : "PRESCRIBED_TRACERS_VALUES", - "NOMBRE DE TRACEURS" : "NUMBER_OF_TRACERS", - "NOMS DES TRACEURS" : "NAMES_OF_TRACERS", - "VALEURS INITIALES DES TRACEURS" : "INITIAL_VALUES_OF_TRACERS", - "EFFETS DE DENSITE" : "DENSITY_EFFECTS", - "TEMPERATURE MOYENNE" : "MEAN_TEMPERATURE", - "SOLVEUR POUR LA DIFFUSION DES TRACEURS" : "SOLVER_FOR_DIFFUSION_OF_TRACERS", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS" : "SOLVER_OPTION_FOR_TRACERS_DIFFUSION", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS" : "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "PRECISION POUR LA DIFFUSION DES TRACEURS" : "ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "VALEURS DES TRACEURS DES SOURCES" : "VALUES_OF_THE_TRACERS_AT_THE_SOURCES", - "VALEURS DES TRACEURS DANS LA PLUIE" : "VALUES_OF_TRACERS_IN_THE_RAIN", - "CONVECTION DES TRACEURS" : "ADVECTION_OF_TRACERS", - "COEFFICIENT D'IMPLICITATION DES TRACEURS" : "IMPLICITATION_COEFFICIENT_OF_TRACERS", - "DIFFUSION DES TRACEURS" : "DIFFUSION_OF_TRACERS", - "COEFFICIENT DE DIFFUSION DES TRACEURS" : "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS", - "OPTION POUR LA DIFFUSION DES TRACEURS" : "OPTION_FOR_THE_DIFFUSION_OF_TRACERS", - "SCHEMA POUR LA CONVECTION DES TRACEURS" : "SCHEME_FOR_ADVECTION_OF_TRACERS", - "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS" : "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "MASS-LUMPING SUR LES TRACEURS" : "MASS_LUMPING_ON_TRACERS", - "LOI DE DEGRADATION DES TRACEURS" : "LAW_OF_TRACERS_DEGRADATION", - "COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS" : "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION", - "NOMBRE DE FLOTTEURS" : "NUMBER_OF_DROGUES", - "PERIODE POUR LES SORTIES DE FLOTTEURS" : "PRINTOUT_PERIOD_FOR_DROGUES", - "FICHIER DES FLOTTEURS" : "DROGUES_FILE", - "MODELE DE TRANSPORT DES ALGUES" : "ALGAE_TRANSPORT_MODEL", - "TYPE DES ALGUES" : "ALGAE_TYPE", - "DIAMETRE DES ALGUES" : "DIAMETRE_OF_ALGAE", - "MASSE VOLUMIQUE DES ALGUES" : "DENSITY_OF_ALGAE", - "EPAISSEUR DES ALGUES" : "THICKNESS_OF_ALGAE", - "MODELE DE NAPPES D'HYDROCARBURES" : "OIL_SPILL_MODEL", - "FICHIER DE COMMANDES HYDROCARBURES" : "OIL_SPILL_STEERING_FILE", - "MODELE DE DIFFUSION STOCHASTIQUE" : "STOCHASTIC_DIFFUSION_MODEL", - "NOMBRE DE DERIVES LAGRANGIENNES" : "NUMBER_OF_LAGRANGIAN_DRIFTS", - "NOMBRE DE SEUILS" : "NUMBER_OF_WEIRS", - "FICHIER DE DONNEES DES SEUILS" : "WEIRS_DATA_FILE", - "TYPE DES SEUILS" : "TYPE_OF_WEIRS", - "NOMBRE DE SIPHONS" : "NUMBER_OF_SIPHONS", - "FICHIER DE DONNEES DES SIPHONS" : "SIPHONS_DATA_FILE", - "NOMBRE DE BUSES" : "NUMBER_OF_CULVERTS", - "FICHIER DE DONNEES DES BUSES" : "CULVERTS_DATA_FILE", - "OPTION POUR LES BUSES" : "OPTION_FOR_CULVERTS", - "BRECHE" : "BREACH", - "FICHIER DE DONNEES DES BRECHES" : "BREACHES_DATA_FILE", - "BASE DE DONNEES DE MAREE" : "TIDAL_DATA_BASE", - "FICHIER DU MODELE DE MAREE" : "TIDAL_MODEL_FILE", - "BASE ASCII DE DONNEES DE MAREE" : "ASCII_DATABASE_FOR_TIDE", - "BASE BINAIRE 1 DE DONNEES DE MAREE" : "BINARY_DATABASE_1_FOR_TIDE", - "BASE BINAIRE 2 DE DONNEES DE MAREE" : "BINARY_DATABASE_2_FOR_TIDE", - "INTERPOLATION DE COMPOSANTES MINEURES" : "MINOR_CONSTITUENTS_INFERENCE", - "FICHIER DES CONSTANTES HARMONIQUES" : "HARMONIC_CONSTANTS_FILE", - "FORCE GENERATRICE DE LA MAREE" : "TIDE_GENERATING_FORCE", - "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE" : "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "SYSTEME GEOGRAPHIQUE" : "GEOGRAPHIC_SYSTEM", - "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE" : "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "COEFFICIENT DE CALAGE DU NIVEAU DE MER" : "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "COEFFICIENT DE CALAGE DU MARNAGE" : "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT DE CALAGE DES VITESSES DE COURANT" : "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER" : "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER" : "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "COUPLAGE AVEC" : "COUPLING_WITH", - "NOMS DES VARIABLES CLANDESTINES" : "NAMES_OF_CLANDESTINE_VARIABLES", - "DOSSIER DE COUPLAGE" : "COUPLING_DIRECTORY", - "PERIODE DE SORTIE POUR DELWAQ" : "DELWAQ_PRINTOUT_PERIOD", - "FICHIER DELWAQ DES VOLUMES" : "VOLUMES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DE FLUX" : "EXCHANGE_AREAS_DELWAQ_FILE", - "FICHIER DELWAQ DES FLUX VERTICAUX" : "VERTICAL_FLUXES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA SALINITE" : "SALINITY_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DU FOND" : "BOTTOM_SURFACES_DELWAQ_FILE", - "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS" : "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS" : "NODES_DISTANCES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA TEMPERATURE" : "TEMPERATURE_DELWAQ_FILE", - "FICHIER DELWAQ DE LA VITESSE" : "VELOCITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA DIFFUSION" : "DIFFUSIVITY_DELWAQ_FILE", - "FICHIER DE COMMANDE DELWAQ" : "DELWAQ_STEERING_FILE", - "SALINITE POUR DELWAQ" : "SALINITY_FOR_DELWAQ", - "TEMPERATURE POUR DELWAQ" : "TEMPERATURE_FOR_DELWAQ", - "VITESSE POUR DELWAQ" : "VELOCITY_FOR_DELWAQ", - "DIFFUSION POUR DELWAQ" : "DIFFUSIVITY_FOR_DELWAQ", - "FICHIER DES PARAMETRES DE SISYPHE" : "SISYPHE_STEERING_FILE", - "PERIODE DE COUPLAGE POUR SISYPHE" : "COUPLING_PERIOD_FOR_SISYPHE", - "FICHIER DES PARAMETRES DE TOMAWAC" : "TOMAWAC_STEERING_FILE", - "PERIODE DE COUPLAGE POUR TOMAWAC" : "COUPLING_PERIOD_FOR_TOMAWAC", - "FICHIER DES PARAMETRES DE WAQTEL" : "WAQTEL_STEERING_FILE", - "LANGUE" : "LANGUAGE", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DICTIONNAIRE" : "DICTIONARY", - "PARTITIONNEUR" : "PARTITIONING_TOOL", - "NUMERO DE VERSION" : "RELEASE", - "LISTE DES FICHIERS" : "LIST_OF_FILES", - "DESCRIPTION DES LIBRAIRIES" : "DESCRIPTION_OF_LIBRARIES", - "EXECUTABLE PAR DEFAUT" : "DEFAULT_EXECUTABLE", - "EXECUTABLE PARALLELE PAR DEFAUT" : "DEFAULT_PARALLEL_EXECUTABLE", -} diff --git a/Telemac/enum_Telemac2d_auto.py b/Telemac/enum_Telemac2d_auto.py deleted file mode 100644 index 94358540..00000000 --- a/Telemac/enum_Telemac2d_auto.py +++ /dev/null @@ -1,1435 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wave celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'T1':"tracer 1 etc.", - 'T*':"All the tracers 1 to 9.", - 'T1*':"All the tracers 10 to 19.", - 'K':"turbulent kinetic energy in k-epsilon model (J/kg)", - 'E':"dissipation of turbulent energy (W/kg)", - 'D':"turbulent viscosity (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"scalar velocity (m/s)", - 'X':"wind along x axis (m/s)", - 'Y':"wind along y axis (m/s)", - 'P':"air pressure (Pa)", - 'W':"friction coefficient", - 'A':"drift along x (m)", - 'G':"drift along y (m)", - 'L':"Courant number ", - 'N':"supplementary variable N", - 'O':"supplementary variable O", - 'R':"supplementary variable R", - 'Z':"supplementary variable Z", - 'MAXZ':"maximum elevation", - 'TMXZ':"time of maximum elevation", - 'MAXV':"maximum velocity", - 'TMXV':"time of maximum velocity", - 'US':"friction velocity", - 'G1':"gradient 1, etc. ", - }, -'VARIABLES_TO_BE_PRINTED' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wave celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'Tn':"tracer 1, etc.", - 'K':"turbulent kinetic energy in k-epsilon model (J/kg)", - 'E':"dissipation of turbulent energy (W/kg)", - 'D':"turbulent viscosity of k-epsilon model (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"scalar velocity (m/s)", - 'X':"wind along x axis (m/s)", - 'Y':"wind along y axis (m/s)", - 'P':"air pressure (Pa)", - 'W':"friction coefficient", - 'A':"drift along x (m)", - 'G':"drift along y (m)", - 'L':"nombre de courants ", - 'N':"supplementary variable N", - 'O':"supplementary variable O", - 'R':"supplementary variable R", - 'Z':"supplementary variable Z", - 'Gn':"gradient 1, etc.", - }, -'STAGE_DISCHARGE_CURVES' : { - 0:"no", - 1:"Z(Q)", - 2:"Q(Z) not programmed", - }, -'VELOCITY_PROFILES' : { - 1:"constant normal profile", - 2:"u and v given in the conlim file", - 3:"normal velocity given in ubor in the conlim file", - 4:"velocity proportional to square root of depth", - 5:"velocity proportional to square root of depth, variant", - }, -'OPTION_FOR_LIQUID_BOUNDARIES' : { - 1:"classical", - 2:"Thompson method based on characteristics", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"NO FRICTION", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'DEPTH_IN_FRICTION_TERMS' : { - 1:"nodal", - 2:"average", - }, -'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES' : { - 0:"NO FRICTION", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - 6:"LOG LAW", - 7:"COLEBROOK-WHITE", - }, -'OPTION_FOR_WIND' : { - 1:"constant in time and space", - 2:"variable in time given by formated file", - 3:"variable in time and space given by formated file", - }, -'RAINFALL_RUNOFF_MODEL' : { - 0:"No infiltration", - 1:"CN runoff model", - }, -'COST_FUNCTION' : { - 1:"Computed with h,u,v", - 2:"Computed with c,u,v", - }, -'IDENTIFICATION_METHOD' : { - 0:"list of tests", - 1:"gradient simple", - 2:"conj gradient", - 3:"Lagrange interp.", - }, -'TYPE_OF_SOURCES' : { - 1:"Normal", - 2:"Dirac", - }, -'TREATMENT_OF_THE_LINEAR_SYSTEM' : { - 1:"coupled", - 2:"Wave equation", - }, -'FINITE_VOLUME_SCHEME' : { - 0:"Roe scheme", - 1:"kinetic order 1", - 2:"kinetic order 2", - 3:"Zokagoa scheme order 1", - 4:"Tchamen scheme order 1", - 5:"HLLC scheme order 1", - 6:"WAF scheme order 2", - }, -'OPTION_FOR_TSUNAMI_GENERATION' : { - 0:"No Tsunami", - 1:"Tsunami generated on the basis of the Okada model 1992", - }, -'SPATIAL_PROJECTION_TYPE' : { - 1:"CARTESIAN, NOT GEOREFERENCED", - 2:"MERCATOR", - 3:"LATITUDE LONGITUDE", - }, -'SOLVER' : { - 3:"conjugate gradient on a normal equation", - 1:"conjugate gradient", - 2:"conjugate residual", - 4:"minimum error", - 6:"cgstab", - 7:"gmres", - 8:"direct", - }, -'PRECONDITIONING' : { - 2:"diagonal", - 0:"no preconditioning", - 3:"block-diagonal (4-9 matrices)", - 5:"absolute value of diagonal", - 7:"crout", - 11:"gauss-seidel", - 14:"diagonal and crout", - }, -'DISCRETIZATIONS_IN_SPACE' : { - 11:"linear", - 12:"quasi-bubble", - 13:"quadratic", - }, -'INITIAL_GUESS_FOR_H' : { - 1:"previous", - 0:"zero", - 2:"extrapolation", - }, -'INITIAL_GUESS_FOR_U' : { - 0:"zero", - 1:"previous", - 2:"extrapolation", - }, -'TYPE_OF_ADVECTION' : { - 1:"CHARACTERISTICS", - 2:"SUPG", - 3:"CONSERVATIVE N-SCHEME LP", - 4:"CONSERVATIVE N-SCHEME", - 5:"CONSERVATIVE PSI-SCHEME", - 13:"EDGE-BASED N-SCHEME LP", - 14:"EDGE-BASED N-SCHEME", - 15:"ERIA SCHEME", - }, -'OPTION_FOR_CHARACTERISTICS' : { - 1:"strong", - 2:"weak", - }, -'SCHEME_FOR_ADVECTION_OF_VELOCITIES' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"N-SCHEME FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priority to prescribed values", - 2:"Priority to fluxes", - }, -'PSI_SCHEME_OPTION' : { - 1:"explicit", - 2:"predictor-corrector", - }, -'OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES' : { - 1:"div( nu grad(U) )", - 2:"1/h div ( h nu grad(U)", - }, -'MATRIX_STORAGE' : { - 1:"classical EBE", - 3:"Edge-based storage", - }, -'TURBULENCE_MODEL' : { - 1:"CONSTANT VISCOSITY", - 2:"ELDER", - 3:"K-EPSILON MODEL", - 4:"SMAGORINSKI", - 5:"MIXING LENGTH", - 6:"SPALART-ALLMARAS", - }, -'SOLVER_FOR_K_EPSILON_MODEL' : { - 1:"conjugate gradient", - 2:"conjugate residuals", - 3:"conjugate gradient on normal equation", - 4:"minimum error", - 5:"conjugate gradient squared", - 6:"conjugate gradient squared stabilised (cgstab)", - 7:"gmres (see option for the solver for k-epsilon model)", - 8:"direct", - }, -'PRECONDITIONING_FOR_K_EPSILON_MODEL' : { - 2:"diagonal", - 0:"no preconditioning", - 7:"crout", - 14:"diagonal and crout", - }, -'TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES' : { - 1:"smooth", - 2:"rough", - }, -'SCHEME_FOR_ADVECTION_OF_K_EPSILON' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME FOR TIDAL FLATS", - }, -'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS' : { - 1:"EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS", - 2:"DRY ELEMENTS FROZEN", - 3:"LIKE 1 BUT WITH POROSITY (DEFINA METHOD)", - }, -'TREATMENT_OF_NEGATIVE_DEPTHS' : { - 1:"SMOOTHING", - 2:"FLUX CONTROL", - 3:"FLUX CONTROL (ERIA)", - }, -'SOLVER_FOR_DIFFUSION_OF_TRACERS' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres (see option for the solver for tracer diffusion)", - 8:"direct", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS' : { - 0:"no preconditioning ", - 2:"diagonal", - 7:"crout", - 14:"diagonal and crout", - }, -'OPTION_FOR_THE_DIFFUSION_OF_TRACERS' : { - 1:"div( nu grad(T) )", - 2:"1/h div ( h nu grad(T)", - }, -'SCHEME_FOR_ADVECTION_OF_TRACERS' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME FOR TIDAL FLATS", - }, -'LAW_OF_TRACERS_DEGRADATION' : { - 0:"NO DEGRADATION", - 1:"F(T90) LAW", - }, -'ALGAE_TYPE' : { - 1:"SPHERE", - 2:"IRIDAEA FLACCIDA (CLOSE TO ULVA)", - 3:"PELVETIOPSIS LIMITATA", - 4:"GIGARTINA LEPTORHYNCHOS", - }, -'STOCHASTIC_DIFFUSION_MODEL' : { - 0:"No model", - 1:"brownian movement", - }, -'TYPE_OF_WEIRS' : { - 1:"HORIZONTAL WITH SAME NUMBER OF NODES UPSTREAM/DOWNSTREAM", - 2:"GENERAL", - }, -'TIDAL_DATA_BASE' : { - -1:"NO DEFAULT VALUE", - 1:"JMJ", - 2:"TPXO", - 3:"MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...)", - }, -'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS' : { - 0:"No tide", - 1:"Real tide (recommended methodology)", - 2:"Astronomical tide", - 3:"Mean spring tide", - 4:"Mean tide", - 5:"Mean neap tide", - 6:"Astronomical neap tide", - 7:"Real tide (methodology before 2010)", - }, -'GEOGRAPHIC_SYSTEM' : { - -1:"NO DEFAULT VALUE", - 0:"DEFINED BY USER", - 1:"WGS84 LONGITUDE/LATITUDE IN REAL DEGREES", - 2:"WGS84 NORTHERN UTM", - 3:"WGS84 SOUTHERN UTM", - 4:"LAMBERT", - 5:"MERCATOR FOR TELEMAC", - }, -'ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM' : { - -1:"NO DEFAULT VALUE", - 1:"LAMBERT 1 NORTH", - 2:"LAMBERT 2 CENTER", - 3:"LAMBERT 3 SOUTH", - 4:"LAMBERT 4 CORSICA", - 22:"LAMBERT 2 EXTENDED", - 30:"UTM ZONE, E.G.", - }, -'LANGUAGE' : { - 1:"FRANCAIS", - 2:"ANGLAIS", - }, -} -TelemacdicoFr = { -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite des onde (m/s)", - 'H':"hauteur d eau (m)", - 'S':"cote de surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit scalaire du fluide (m2/s)", - 'T1':"traceur 1, etc.", - 'T*':"Tous les traceurs de 1a 9.", - 'T1*':"Tous les traceurs 10 a 19.", - 'K':"energie turbulente du modele k-epsilon (J/kg)", - 'E':"dissipation de l energie turbulente (W/kg)", - 'D':"viscosite turbulente (m2/s)", - 'I':"debit suivant l axe des x (m2/s)", - 'J':"debit suivant l axe des y (m2/s)", - 'M':"vitesse scalaire (m/s)", - 'X':"vent suivant l axe des x (m/s)", - 'Y':"vent suivant l axe des y (m/s)", - 'P':"pression atmospherique (Pa)", - 'W':"coefficient de frottement sur le fond ", - 'A':"derive en x (m)", - 'G':"derive en y (m)", - 'L':"nombre de Courant ", - 'N':"variable supplementaire N", - 'O':"variable supplementaire O", - 'R':"variable supplementaire R", - 'Z':"variable supplementaire Z", - 'MAXZ':"cote maximum", - 'TMXZ':"temps de la cote maximum", - 'MAXV':"vitesse maximum", - 'TMXV':"temps de la vitesse maximum", - 'US':"vitesse de frottement", - 'G1':"gradient 1, etc. ", - }, -'VARIABLES_TO_BE_PRINTED' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite des ondes (m/s)", - 'H':"hauteur d eau (m)", - 'S':"cote de surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit scalaire du fluide (m2/s)", - 'Tn':"traceur 1, etc.", - 'K':"energie turbulente du modele k-epsilon (J/kg)", - 'E':"dissipation de l energie turbulente (W/kg)", - 'D':"viscosite turbulente du modele k-epsilon (m2/s)", - 'I':"debit suivant l axe des x (m2/s)", - 'J':"debit suivant l axe des y (m2/s)", - 'M':"vitesse scalaire (m/s)", - 'X':"vent suivant l axe des x (m/s)", - 'Y':"vent suivant l axe des y (m/s)", - 'P':"pression atmospherique (Pa)", - 'W':"coefficient de frottement sur le fond", - 'A':"derive en x (m)", - 'G':"derive en y (m)", - 'L':"nombre de courants ", - 'N':"variable supplementaire N", - 'O':"variable supplementaire O", - 'R':"variable supplementaire R", - 'Z':"variable supplementaire Z", - 'Gn':"gradient 1, etc.", - }, -'STAGE_DISCHARGE_CURVES' : { - 0:"non", - 1:"Z(Q)", - 2:"Q(Z) non programme", - }, -'VELOCITY_PROFILES' : { - 1:"Profil normal constant", - 2:"u et v dans le fichier conlim", - 3:"Vitesse normale donnee dans ubor dans le fichier conlim", - 4:"vitesse en racine carree de h", - 5:"vitesse en racine carree de h, variante", - }, -'OPTION_FOR_LIQUID_BOUNDARIES' : { - 1:"classique", - 2:"methode de Thompson avec calcul de caracteristiques", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"PAS DE FROTTEMENT", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'DEPTH_IN_FRICTION_TERMS' : { - 1:"nodale", - 2:"moyenne", - }, -'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES' : { - 0:"PAS DE FROTTEMENT", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - 6:"LOG LAW", - 7:"COLEBROOK-WHITE", - }, -'OPTION_FOR_WIND' : { - 1:"constant en temps et en espace", - 2:"variable en temps donne par fichier formate", - 3:"variable en temps et en espace donne par fichier formate", - }, -'RAINFALL_RUNOFF_MODEL' : { - 0:"Pas d infiltration", - 1:"Modele CN", - }, -'COST_FUNCTION' : { - 1:"Calculee sur h,u,v", - 2:"Calculee avec c,u,v", - }, -'IDENTIFICATION_METHOD' : { - 0:"plan d experience", - 1:"gradient simple", - 2:"gradient conj", - 3:"interp. de Lagrange", - }, -'TYPE_OF_SOURCES' : { - 1:"Normal", - 2:"Dirac", - }, -'TREATMENT_OF_THE_LINEAR_SYSTEM' : { - 1:"traitement couple", - 2:"Equation d onde", - }, -'FINITE_VOLUME_SCHEME' : { - 0:"schema de Roe", - 1:"schema cinetique ordre 1", - 2:"schema cinetique ordre 2", - 3:"schema Zokagoa ordre 1", - 4:"schema Tchamen ordre 1", - 5:"schema HLLC ordre 1", - 6:"schema WAF ordre 2", - }, -'OPTION_FOR_TSUNAMI_GENERATION' : { - 0:"Pas de Tsunami", - 1:"Generation d un Tsunami sur la base du modele de Okada 1992", - }, -'SPATIAL_PROJECTION_TYPE' : { - 1:"CARTESIEN, NON GEOREFERENCE", - 2:"MERCATOR", - 3:"LATITUDE LONGITUDE", - }, -'SOLVER' : { - 3:"equation normale", - 1:"gradient conjuge", - 2:"residu conjuge", - 4:"erreur minimale", - 6:"cgstab", - 7:"gmres", - 8:"direct", - }, -'PRECONDITIONING' : { - 2:"diagonal", - 0:"aucun", - 3:"bloc-diagonal (4 ou 9 matrices)", - 5:"valeur absolue diagonale", - 7:"crout", - 11:"gauss-seidel", - 14:"diagonal et crout", - }, -'DISCRETIZATIONS_IN_SPACE' : { - 11:"lineaire", - 12:"quasi-bulle", - 13:"quadratique", - }, -'INITIAL_GUESS_FOR_H' : { - 1:"precedent", - 0:"zero", - 2:"extrapolation", - }, -'INITIAL_GUESS_FOR_U' : { - 0:"zero", - 1:"precedent", - 2:"extrapolation", - }, -'TYPE_OF_ADVECTION' : { - 1:"CARACTERISTIQUES", - 2:"SUPG", - 3:"SCHEMA N CONSERVATIF LP", - 4:"SCHEMA N CONSERVATIF", - 5:"SCHEMA PSI CONSERVATIF", - 13:"SCHEMA N PAR SEGMENTS LP", - 14:"SCHEMA N PAR SEGMENTS", - 15:"SCHEMA ERIA", - }, -'OPTION_FOR_CHARACTERISTICS' : { - 1:"fortes", - 2:"faibles", - }, -'SCHEME_FOR_ADVECTION_OF_VELOCITIES' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"SCHEMA N POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priorite aux valeurs imposees", - 2:"Priorite aux flux", - }, -'PSI_SCHEME_OPTION' : { - 1:"explicite", - 2:"predicteur-correcteur", - }, -'OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES' : { - 1:"div( nu grad(U) )", - 2:"1/h div ( h nu grad(U)", - }, -'MATRIX_STORAGE' : { - 1:"EBE classique", - 3:"Stockage par segments", - }, -'TURBULENCE_MODEL' : { - 1:"VISCOSITE CONSTANTE", - 2:"ELDER", - 3:"MODELE K-EPSILON", - 4:"SMAGORINSKI", - 5:"MIXING LENGTH", - 6:"SPALART-ALLMARAS", - }, -'SOLVER_FOR_K_EPSILON_MODEL' : { - 1:"gradient conjugue", - 2:"residu conjuge", - 3:"gradient conjugue sur equation normal", - 4:"erreur minimale", - 5:"gradient conjugue carre", - 6:"gradient conjugue carre stabilise (cgstab)", - 7:"gmres (voir aussi option du solveur pour le modele k-epsilon", - 8:"direct", - }, -'PRECONDITIONING_FOR_K_EPSILON_MODEL' : { - 2:"diagonal", - 0:"aucun", - 7:"crout", - 14:"diagonal et crout", - }, -'TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES' : { - 1:"lisse", - 2:"rugueux", - }, -'SCHEME_FOR_ADVECTION_OF_K_EPSILON' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA POUR BANCS DECOUVRANTS", - }, -'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS' : { - 1:"EQUATIONS RESOLUES PARTOUT, CORRECTION SUR LES BANCS DECOUVRANTS", - 2:"GEL DES ELEMENTS DECOUVRANTS", - 3:"COMME 1 MAIS AVEC POROSITE (METHODE DEFINA)", - }, -'TREATMENT_OF_NEGATIVE_DEPTHS' : { - 1:"LISSAGE", - 2:"LIMITATION DES FLUX", - 3:"LIMITATION DES FLUX (ERIA)", - }, -'SOLVER_FOR_DIFFUSION_OF_TRACERS' : { - 1:"gradient conjuge", - 2:"residu conjuge", - 3:"gradient conjuge sur equation normale", - 4:"erreur minimale", - 5:"gradient conjuge carre", - 6:"cgstab", - 7:"gmres (voir ausi option du solveur)", - 8:"direct", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS' : { - 0:"aucun", - 2:"diagonal", - 7:"crout", - 14:"diagonal et crout", - }, -'OPTION_FOR_THE_DIFFUSION_OF_TRACERS' : { - 1:"div( nu grad(T) )", - 2:"1/h div ( h nu grad(T)", - }, -'SCHEME_FOR_ADVECTION_OF_TRACERS' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA POUR BANCS DECOUVRANTS", - }, -'LAW_OF_TRACERS_DEGRADATION' : { - 0:"PAS DE DEGRADATION", - 1:"LOI EN F(T90)", - }, -'ALGAE_TYPE' : { - 1:"SPHERE", - 2:"IRIDAEA FLACCIDA (PROCHE DES ULVES)", - 3:"PELVETIOPSIS LIMITATA", - 4:"GIGARTINA LEPTORHYNCHOS", - }, -'STOCHASTIC_DIFFUSION_MODEL' : { - 0:"Pas de modele", - 1:"mouvement brownien", - }, -'TYPE_OF_WEIRS' : { - 1:"HORIZONTAL AVEC MEME NOMBRE DE NOEUDS AMONT/AVAL", - 2:"GENERALE", - }, -'TIDAL_DATA_BASE' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 1:"JMJ", - 2:"TPXO", - 3:"DIVERS (LEGOS-NEA, FES20XX, PREVIMER...)", - }, -'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS' : { - 0:"Pas de maree", - 1:"Maree reelle (methodologie recommandee)", - 2:"Maree de vive-eau exceptionnelle (coef. presque 120)", - 3:"Maree de vive-eau moyenne (coef. presque 95)", - 4:"Maree moyenne (coef. presque 70)", - 5:"Maree de morte-eau moyenne (coef. presque 45)", - 6:"Maree de morte-eau exceptionnelle (coef. presque 20)", - 7:"Maree reelle (methodologie d avant 2010)", - }, -'GEOGRAPHIC_SYSTEM' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 0:"DEFINI PAR L UTILISATEUR", - 1:"WGS84 LONGITUDE/LATITUDE EN DEGRES REELS", - 2:"WGS84 NORD UTM", - 3:"WGS84 SUD UTM", - 4:"LAMBERT", - 5:"MERCATOR POUR TELEMAC", - }, -'ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 1:"LAMBERT 1 NORD", - 2:"LAMBERT 2 CENTRE", - 3:"LAMBERT 3 SUD", - 4:"LAMBERT 4 CORSE", - 22:"LAMBERT 2 ETENDU", - 30:"ZONE UTM, PAR EXEMPLE", - }, -'LANGUAGE' : { - 1:"FRANCAIS", - 2:"ANGLAIS", - }, -} - -DicoCasFrToCata = { - "TITRE":"TITLE", - "CONDITIONS INITIALES":"INITIAL_CONDITIONS", - "COTE INITIALE":"INITIAL_ELEVATION", - "HAUTEUR INITIALE":"INITIAL_DEPTH", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1_FORMAT", - "FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2_FORMAT", - "FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2", - "FICHIER DE DONNEES FORMATE 1":"FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2":"FORMATTED_DATA_FILE_2", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "LISSAGES DU FOND":"BOTTOM_SMOOTHINGS", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "VALIDATION":"VALIDATION", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES":"MAXIMUM_NUMBER_OF_BOUNDARIES", - "NOMBRE MAXIMUM DE SOURCES":"MAXIMUM_NUMBER_OF_SOURCES", - "NOMBRE MAXIMUM DE TRACEURS":"MAXIMUM_NUMBER_OF_TRACERS", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "SUITE DE CALCUL":"COMPUTATION_CONTINUED", - "FORMAT DU FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE_FORMAT", - "FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE", - "ENREGISTREMENT POUR SUITE DE CALCUL":"RECORD_NUMBER_FOR_RESTART", - "REMISE A ZERO DU TEMPS":"INITIAL_TIME_SET_TO_ZERO", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES":"NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "PERIODE POUR LES SORTIES GRAPHIQUES":"GRAPHIC_PRINTOUT_PERIOD", - "VARIABLES POUR LES SORTIES GRAPHIQUES":"VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE TABLEAUX PRIVES":"NUMBER_OF_PRIVATE_ARRAYS", - "NOMS DES VARIABLES PRIVEES":"NAMES_OF_PRIVATE_VARIABLES", - "FORMAT DU FICHIER DES RESULTATS":"RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "FORMAT DU FICHIER DE RESULTATS BINAIRE":"BINARY_RESULTS_FILE_FORMAT", - "FICHIER DE RESULTATS BINAIRE":"BINARY_RESULTS_FILE", - "FICHIER DE RESULTATS FORMATE":"FORMATTED_RESULTS_FILE", - "SECTIONS DE CONTROLE":"CONTROL_SECTIONS", - "IMPRESSION DU CUMUL DES FLUX":"PRINTING_CUMULATED_FLOWRATES", - "CALCUL COMPATIBLE DES FLUX":"COMPATIBLE_COMPUTATION_OF_FLUXES", - "FICHIER DES SECTIONS DE CONTROLE":"SECTIONS_INPUT_FILE", - "FICHIER DE SORTIE DES SECTIONS DE CONTROLE":"SECTIONS_OUTPUT_FILE", - "FLUXLINE":"FLUXLINE", - "FICHIER DE FLUXLINE":"FLUXLINE_INPUT_FILE", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING":"NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "PERIODE DE SORTIE LISTING":"LISTING_PRINTOUT_PERIOD", - "PERIODE POUR LES SORTIES LISTING":"LISTING_FOR_PRINTOUT_PERIOD", - "SORTIE LISTING":"LISTING_PRINTOUT", - "VARIABLES A IMPRIMER":"VARIABLES_TO_BE_PRINTED", - "BILAN DE MASSE":"MASS_BALANCE", - "INFORMATIONS SUR LE SOLVEUR":"INFORMATION_ABOUT_SOLVER", - "LISTE DE POINTS":"LIST_OF_POINTS", - "NOMS DES POINTS":"NAMES_OF_POINTS", - "PERIODES D'ANALYSE DE FOURIER":"FOURIER_ANALYSIS_PERIODS", - "BORNES EN TEMPS POUR L'ANALYSE DE FOURIER":"TIME_RANGE_FOR_FOURIER_ANALYSIS", - "COTES IMPOSEES":"PRESCRIBED_ELEVATIONS", - "DEBITS IMPOSES":"PRESCRIBED_FLOWRATES", - "VITESSES IMPOSEES":"PRESCRIBED_VELOCITIES", - "COURBES DE TARAGE":"STAGE_DISCHARGE_CURVES", - "FICHIER DES COURBES DE TARAGE":"STAGE_DISCHARGE_CURVES_FILE", - "PROFILS DE VITESSE":"VELOCITY_PROFILES", - "OPTION POUR LES FRONTIERES LIQUIDES":"OPTION_FOR_LIQUID_BOUNDARIES", - "FICHIER DES FRONTIERES LIQUIDES":"LIQUID_BOUNDARIES_FILE", - "ELEMENTS MASQUES PAR L'UTILISATEUR":"ELEMENTS_MASKED_BY_USER", - "NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT":"MAXIMUM_NUMBER_OF_FRICTION_DOMAINS", - "DONNEES POUR LE FROTTEMENT":"FRICTION_DATA", - "FICHIER DE DONNEES POUR LE FROTTEMENT":"FRICTION_DATA_FILE", - "LOI DE FROTTEMENT SUR LE FOND":"LAW_OF_BOTTOM_FRICTION", - "COEFFICIENT DE FROTTEMENT":"FRICTION_COEFFICIENT", - "VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE":"MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW", - "HAUTEUR DANS LES TERMES DE FROTTEMENT":"DEPTH_IN_FRICTION_TERMS", - "FROTTEMENT POUR LA VEGETATION NON SUBMERGEE":"NON_SUBMERGED_VEGETATION_FRICTION", - "DIAMETRE DES ELEMENTS DE FROTTEMENT":"DIAMETER_OF_ROUGHNESS_ELEMENTS", - "ESPACEMENT DES ELEMENTS DE FROTTEMENT":"SPACING_OF_ROUGHNESS_ELEMENTS", - "LOI DE FROTTEMENT SUR LES PAROIS LATERALES":"LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "COEFFICIENT DE RUGOSITE DES BORDS":"ROUGHNESS_COEFFICIENT_OF_BOUNDARIES", - "DEFINITION DE ZONES":"DEFINITION_OF_ZONES", - "FICHIER DES ZONES":"ZONES_FILE", - "VENT":"WIND", - "OPTION DU VENT":"OPTION_FOR_WIND", - "COEFFICIENT D'INFLUENCE DU VENT":"COEFFICIENT_OF_WIND_INFLUENCE", - "VITESSE DU VENT SUIVANT X":"WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y":"WIND_VELOCITY_ALONG_Y", - "VITESSE ET DIRECTION DU VENT":"SPEED_AND_DIRECTION_OF_WIND", - "PROFONDEUR LIMITE POUR LE VENT":"THRESHOLD_DEPTH_FOR_WIND", - "PRESSION ATMOSPHERIQUE":"AIR_PRESSURE", - "VALEUR DE LA PRESSION ATMOSPHERIQUE":"VALUE_OF_ATMOSPHERIC_PRESSURE", - "PLUIE OU EVAPORATION":"RAIN_OR_EVAPORATION", - "PLUIE OU EVAPORATION EN MM PAR JOUR":"RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "MODELE PLUIE-DEBIT":"RAINFALL_RUNOFF_MODEL", - "CONDITIONS D'HUMIDITE PRECEDENTE":"ANTECEDENT_MOISTURE_CONDITIONS", - "DUREE DE LA PLUIE OU EVAPORATION EN HEURES":"DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS", - "FICHIER ASCII DE DONNEES ATMOSPHERIQUES":"ASCII_ATMOSPHERIC_DATA_FILE", - "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES":"BINARY_ATMOSPHERIC_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES":"BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "OPTION POUR RATIO DES PERTES INITIALES":"OPTION_FOR_INITIAL_ABSTRACTION_RATIO", - "COURANTS DE HOULE":"WAVE_DRIVEN_CURRENTS", - "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE":"RECORD_NUMBER_IN_WAVE_FILE", - "AUGMENTATION DU FROTTEMENT PAR LA HOULE":"WAVE_ENHANCED_FRICTION_FACTOR", - "ESTIMATION DE PARAMETRE":"PARAMETER_ESTIMATION", - "FONCTION COUT":"COST_FUNCTION", - "METHODE D'IDENTIFICATION":"IDENTIFICATION_METHOD", - "PRECISIONS POUR L'IDENTIFICATION":"TOLERANCES_FOR_IDENTIFICATION", - "MAXIMUM D'ITERATIONS POUR L'IDENTIFICATION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION", - "ABSCISSES DES SOURCES":"ABSCISSAE_OF_SOURCES", - "ORDONNEES DES SOURCES":"ORDINATES_OF_SOURCES", - "DEBITS DES SOURCES":"WATER_DISCHARGE_OF_SOURCES", - "VITESSES DES SOURCES SELON X":"VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VITESSES DES SOURCES SELON Y":"VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "TYPE DES SOURCES":"TYPE_OF_SOURCES", - "FICHIER DES SOURCES":"SOURCES_FILE", - "NUMEROS GLOBAUX DES NOEUDS DES SOURCES":"BLOBAL_NUMBERS_OF_SOURCE_NODES", - "PROCESSUS QUALITE D'EAU":"WATER_QUALITY_PROCESS", - "MASSE VOLUMIQUE DE L'EAU":"WATER_DENSITY", - "ACCELERATION DE LA PESANTEUR":"GRAVITY_ACCELERATION", - "STRUCTURES VERTICALES":"VERTICAL_STRUCTURES", - "EQUATIONS":"EQUATIONS", - "TRAITEMENT DU SYSTEME LINEAIRE":"TREATMENT_OF_THE_LINEAR_SYSTEM", - "SCHEMA EN VOLUMES FINIS":"FINITE_VOLUME_SCHEME", - "CORIOLIS":"CORIOLIS", - "COEFFICIENT DE CORIOLIS":"CORIOLIS_COEFFICIENT", - "OPTION POUR LA GENERATION DE TSUNAMI":"OPTION_FOR_TSUNAMI_GENERATION", - "PARAMETRES PHYSIQUES DU TSUNAMI":"PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI", - "COURANTS SECONDAIRES":"SECONDARY_CURRENTS", - "COEFFICIENT DE PRODUCTION POUR COURANTS SECONDAIRES":"PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "COEFFICIENT DE DISSIPATION POUR COURANTS SECONDAIRES":"DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DEBUGGER":"DEBUGGER", - "PAS DE TEMPS":"TIME_STEP", - "NOMBRE DE PAS DE TEMPS":"NUMBER_OF_TIME_STEPS", - "DUREE DU CALCUL":"DURATION", - "DATE DE L'ORIGINE DES TEMPS":"ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS":"ORIGINAL_HOUR_OF_TIME", - "ARRET SI UN ETAT PERMANENT EST ATTEINT":"STOP_IF_A_STEADY_STATE_IS_REACHED", - "CRITERES D'ARRET":"STOP_CRITERIA", - "CONTROLE DES LIMITES":"CONTROL_OF_LIMITS", - "VALEURS LIMITES":"LIMIT_VALUES", - "PAS DE TEMPS VARIABLE":"VARIABLE_TIME_STEP", - "NOMBRE DE COURANT SOUHAITE":"DESIRED_COURANT_NUMBER", - "COORDONNEES DE L'ORIGINE":"ORIGIN_COORDINATES", - "COORDONNEES SPHERIQUES":"SPHERICAL_COORDINATES", - "LATITUDE DU POINT ORIGINE":"LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE DU POINT ORIGINE":"LONGITUDE_OF_ORIGIN_POINT", - "NORD":"NORTH", - "TYPE DE PROJECTION SPATIALE":"SPATIAL_PROJECTION_TYPE", - "SOLVEUR":"SOLVER", - "OPTION DU SOLVEUR":"SOLVER_OPTION", - "PRECISION DU SOLVEUR":"SOLVER_ACCURACY", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "CORRECTION DE CONTINUITE":"CONTINUITY_CORRECTION", - "PRECONDITIONNEMENT":"PRECONDITIONING", - "PRECONDITIONNEMENT C-U":"C_U_PRECONDITIONING", - "IMPLICITATION POUR LA HAUTEUR":"IMPLICITATION_FOR_DEPTH", - "IMPLICITATION POUR LA VITESSE":"IMPLICITATION_FOR_VELOCITY", - "DISCRETISATIONS EN ESPACE":"DISCRETIZATIONS_IN_SPACE", - "PROPAGATION":"PROPAGATION", - "ORDRE DU TIR INITIAL POUR H":"INITIAL_GUESS_FOR_H", - "PROPAGATION LINEARISEE":"LINEARIZED_PROPAGATION", - "ORDRE DU TIR INITIAL POUR U":"INITIAL_GUESS_FOR_U", - "PROFONDEUR MOYENNE POUR LA LINEARISATION":"MEAN_DEPTH_FOR_LINEARIZATION", - "CONVECTION":"ADVECTION", - "CONVECTION DE H":"ADVECTION_OF_H", - "CONVECTION DE U ET V":"ADVECTION_OF_U_AND_V", - "FORME DE LA CONVECTION":"TYPE_OF_ADVECTION", - "OPTION POUR LES CARACTERISTIQUES":"OPTION_FOR_CHARACTERISTICS", - "OPTION DE SUPG":"SUPG_OPTION", - "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES":"NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES":"MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "COEFFICIENTS DE DECENTREMENT":"UPWIND_COEFFICIENTS", - "MASS-LUMPING SUR H":"MASS_LUMPING_ON_H", - "MASS-LUMPING SUR LA VITESSE":"MASS_LUMPING_ON_VELOCITY", - "SCHEMA POUR LA CONVECTION DES VITESSES":"SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES":"SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE":"FREE_SURFACE_GRADIENT_COMPATIBILITY", - "NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES":"NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "TRAITEMENT DES FLUX AUX FRONTIERES":"TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "OPTION DU SCHEMA PSI":"PSI_SCHEME_OPTION", - "DIFFUSION DES VITESSES":"DIFFUSION_OF_VELOCITY", - "OPTION POUR LA DIFFUSION DES VITESSES":"OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION POUR LA DIFFUSION DES VITESSES":"IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY", - "AD NOMBRE DE DERIVEES":"AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES":"AD_NAMES_OF_DERIVATIVES", - "STOCKAGE DES MATRICES":"MATRIX_STORAGE", - "PRODUIT MATRICE-VECTEUR":"MATRIX_VECTOR_PRODUCT", - "COEFFICIENT D'INTEGRATION EN TEMPS DE NEWMARK":"NEWMARK_TIME_INTEGRATION_COEFFICIENT", - "ZERO":"ZERO", - "OPTION DE PROPAGATION":"PROPAGATION_OPTION", - "OPTION DE LA RECONSTRUCION HYDROSTATIQUE":"OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION", - "COEFFICIENT DE DIFFUSION DES VITESSES":"VELOCITY_DIFFUSIVITY", - "MODELE DE TURBULENCE":"TURBULENCE_MODEL", - "SOLVEUR POUR LE MODELE K-EPSILON":"SOLVER_FOR_K_EPSILON_MODEL", - "OPTION DU SOLVEUR POUR LE MODELE K-EPSILON":"OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL", - "PRECONDITIONNEMENT POUR LE MODELE K-EPSILON":"PRECONDITIONING_FOR_K_EPSILON_MODEL", - "COEFFICIENTS ADIMENSIONNELS DE DISPERSION":"NON_DIMENSIONAL_DISPERSION_COEFFICIENTS", - "REGIME DE TURBULENCE POUR LES PAROIS":"TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES", - "INFORMATIONS SUR LE MODELE K-EPSILON":"INFORMATION_ABOUT_K_EPSILON_MODEL", - "CONVECTION DE K ET EPSILON":"ADVECTION_OF_K_AND_EPSILON", - "SCHEMA POUR LA CONVECTION DU K-EPSILON":"SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON":"SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "REDUCTION DU PAS DE TEMPS POUR LE MODELE K-EPSILON":"TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL", - "PRECISION SUR K":"ACCURACY_OF_K", - "PRECISION SUR EPSILON":"ACCURACY_OF_EPSILON", - "MAXIMUM D'ITERATIONS POUR K ET EPSILON":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON", - "BANCS DECOUVRANTS":"TIDAL_FLATS", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS":"OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TRAITEMENT DES HAUTEURS NEGATIVES":"TREATMENT_OF_NEGATIVE_DEPTHS", - "SEUIL POUR LES PROFONDEURS NEGATIVES":"THRESHOLD_FOR_NEGATIVE_DEPTHS", - "PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE":"THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE", - "CLIPPING DE H":"H_CLIPPING", - "VALEUR MINIMUM DE H":"MINIMUM_VALUE_OF_DEPTH", - "VALEURS IMPOSEES DES TRACEURS":"PRESCRIBED_TRACERS_VALUES", - "NOMBRE DE TRACEURS":"NUMBER_OF_TRACERS", - "NOMS DES TRACEURS":"NAMES_OF_TRACERS", - "VALEURS INITIALES DES TRACEURS":"INITIAL_VALUES_OF_TRACERS", - "EFFETS DE DENSITE":"DENSITY_EFFECTS", - "TEMPERATURE MOYENNE":"MEAN_TEMPERATURE", - "SOLVEUR POUR LA DIFFUSION DES TRACEURS":"SOLVER_FOR_DIFFUSION_OF_TRACERS", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS":"SOLVER_OPTION_FOR_TRACERS_DIFFUSION", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS":"PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "PRECISION POUR LA DIFFUSION DES TRACEURS":"ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "VALEURS DES TRACEURS DES SOURCES":"VALUES_OF_THE_TRACERS_AT_THE_SOURCES", - "VALEURS DES TRACEURS DANS LA PLUIE":"VALUES_OF_TRACERS_IN_THE_RAIN", - "CONVECTION DES TRACEURS":"ADVECTION_OF_TRACERS", - "COEFFICIENT D'IMPLICITATION DES TRACEURS":"IMPLICITATION_COEFFICIENT_OF_TRACERS", - "DIFFUSION DES TRACEURS":"DIFFUSION_OF_TRACERS", - "COEFFICIENT DE DIFFUSION DES TRACEURS":"COEFFICIENT_FOR_DIFFUSION_OF_TRACERS", - "OPTION POUR LA DIFFUSION DES TRACEURS":"OPTION_FOR_THE_DIFFUSION_OF_TRACERS", - "SCHEMA POUR LA CONVECTION DES TRACEURS":"SCHEME_FOR_ADVECTION_OF_TRACERS", - "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS":"SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "MASS-LUMPING SUR LES TRACEURS":"MASS_LUMPING_ON_TRACERS", - "LOI DE DEGRADATION DES TRACEURS":"LAW_OF_TRACERS_DEGRADATION", - "COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS":"COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION", - "NOMBRE DE FLOTTEURS":"NUMBER_OF_DROGUES", - "PERIODE POUR LES SORTIES DE FLOTTEURS":"PRINTOUT_PERIOD_FOR_DROGUES", - "FICHIER DES FLOTTEURS":"DROGUES_FILE", - "MODELE DE TRANSPORT DES ALGUES":"ALGAE_TRANSPORT_MODEL", - "TYPE DES ALGUES":"ALGAE_TYPE", - "DIAMETRE DES ALGUES":"DIAMETRE_OF_ALGAE", - "MASSE VOLUMIQUE DES ALGUES":"DENSITY_OF_ALGAE", - "EPAISSEUR DES ALGUES":"THICKNESS_OF_ALGAE", - "MODELE DE NAPPES D'HYDROCARBURES":"OIL_SPILL_MODEL", - "FICHIER DE COMMANDES HYDROCARBURES":"OIL_SPILL_STEERING_FILE", - "MODELE DE DIFFUSION STOCHASTIQUE":"STOCHASTIC_DIFFUSION_MODEL", - "NOMBRE DE DERIVES LAGRANGIENNES":"NUMBER_OF_LAGRANGIAN_DRIFTS", - "NOMBRE DE SEUILS":"NUMBER_OF_WEIRS", - "FICHIER DE DONNEES DES SEUILS":"WEIRS_DATA_FILE", - "TYPE DES SEUILS":"TYPE_OF_WEIRS", - "NOMBRE DE SIPHONS":"NUMBER_OF_SIPHONS", - "FICHIER DE DONNEES DES SIPHONS":"SIPHONS_DATA_FILE", - "NOMBRE DE BUSES":"NUMBER_OF_CULVERTS", - "FICHIER DE DONNEES DES BUSES":"CULVERTS_DATA_FILE", - "OPTION POUR LES BUSES":"OPTION_FOR_CULVERTS", - "BRECHE":"BREACH", - "FICHIER DE DONNEES DES BRECHES":"BREACHES_DATA_FILE", - "BASE DE DONNEES DE MAREE":"TIDAL_DATA_BASE", - "FICHIER DU MODELE DE MAREE":"TIDAL_MODEL_FILE", - "BASE ASCII DE DONNEES DE MAREE":"ASCII_DATABASE_FOR_TIDE", - "BASE BINAIRE 1 DE DONNEES DE MAREE":"BINARY_DATABASE_1_FOR_TIDE", - "BASE BINAIRE 2 DE DONNEES DE MAREE":"BINARY_DATABASE_2_FOR_TIDE", - "INTERPOLATION DE COMPOSANTES MINEURES":"MINOR_CONSTITUENTS_INFERENCE", - "FICHIER DES CONSTANTES HARMONIQUES":"HARMONIC_CONSTANTS_FILE", - "FORCE GENERATRICE DE LA MAREE":"TIDE_GENERATING_FORCE", - "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE":"OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "SYSTEME GEOGRAPHIQUE":"GEOGRAPHIC_SYSTEM", - "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE":"ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "COEFFICIENT DE CALAGE DU NIVEAU DE MER":"COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "COEFFICIENT DE CALAGE DU MARNAGE":"COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT DE CALAGE DES VITESSES DE COURANT":"COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER":"LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER":"GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "COUPLAGE AVEC":"COUPLING_WITH", - "NOMS DES VARIABLES CLANDESTINES":"NAMES_OF_CLANDESTINE_VARIABLES", - "DOSSIER DE COUPLAGE":"COUPLING_DIRECTORY", - "PERIODE DE SORTIE POUR DELWAQ":"DELWAQ_PRINTOUT_PERIOD", - "FICHIER DELWAQ DES VOLUMES":"VOLUMES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DE FLUX":"EXCHANGE_AREAS_DELWAQ_FILE", - "FICHIER DELWAQ DES FLUX VERTICAUX":"VERTICAL_FLUXES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA SALINITE":"SALINITY_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DU FOND":"BOTTOM_SURFACES_DELWAQ_FILE", - "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS":"EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS":"NODES_DISTANCES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA TEMPERATURE":"TEMPERATURE_DELWAQ_FILE", - "FICHIER DELWAQ DE LA VITESSE":"VELOCITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA DIFFUSION":"DIFFUSIVITY_DELWAQ_FILE", - "FICHIER DE COMMANDE DELWAQ":"DELWAQ_STEERING_FILE", - "SALINITE POUR DELWAQ":"SALINITY_FOR_DELWAQ", - "TEMPERATURE POUR DELWAQ":"TEMPERATURE_FOR_DELWAQ", - "VITESSE POUR DELWAQ":"VELOCITY_FOR_DELWAQ", - "DIFFUSION POUR DELWAQ":"DIFFUSIVITY_FOR_DELWAQ", - "FICHIER DES PARAMETRES DE SISYPHE":"SISYPHE_STEERING_FILE", - "PERIODE DE COUPLAGE POUR SISYPHE":"COUPLING_PERIOD_FOR_SISYPHE", - "FICHIER DES PARAMETRES DE TOMAWAC":"TOMAWAC_STEERING_FILE", - "PERIODE DE COUPLAGE POUR TOMAWAC":"COUPLING_PERIOD_FOR_TOMAWAC", - "FICHIER DES PARAMETRES DE WAQTEL":"WAQTEL_STEERING_FILE", - "LANGUE":"LANGUAGE", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DICTIONNAIRE":"DICTIONARY", - "PARTITIONNEUR":"PARTITIONING_TOOL", - "NUMERO DE VERSION":"RELEASE", - "LISTE DES FICHIERS":"LIST_OF_FILES", - "DESCRIPTION DES LIBRAIRIES":"DESCRIPTION_OF_LIBRARIES", - "EXECUTABLE PAR DEFAUT":"DEFAULT_EXECUTABLE", - "EXECUTABLE PARALLELE PAR DEFAUT":"DEFAULT_PARALLEL_EXECUTABLE", -} - -DicoCasEnToCata = { - 'TITLE':'TITLE', - 'INITIAL CONDITIONS':'INITIAL_CONDITIONS', - 'INITIAL ELEVATION':'INITIAL_ELEVATION', - 'INITIAL DEPTH':'INITIAL_DEPTH', - 'BINARY DATA FILE 1 FORMAT':'BINARY_DATA_FILE_1_FORMAT', - 'BINARY DATA FILE 1':'BINARY_DATA_FILE_1', - 'BINARY DATA FILE 2 FORMAT':'BINARY_DATA_FILE_2_FORMAT', - 'BINARY DATA FILE 2':'BINARY_DATA_FILE_2', - 'FORMATTED DATA FILE 1':'FORMATTED_DATA_FILE_1', - 'FORMATTED DATA FILE 2':'FORMATTED_DATA_FILE_2', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'FORTRAN FILE':'FORTRAN_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'BOTTOM SMOOTHINGS':'BOTTOM_SMOOTHINGS', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'VALIDATION':'VALIDATION', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'REFERENCE FILE':'REFERENCE_FILE', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'MAXIMUM NUMBER OF BOUNDARIES':'MAXIMUM_NUMBER_OF_BOUNDARIES', - 'MAXIMUM NUMBER OF SOURCES':'MAXIMUM_NUMBER_OF_SOURCES', - 'MAXIMUM NUMBER OF TRACERS':'MAXIMUM_NUMBER_OF_TRACERS', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'COMPUTATION CONTINUED':'COMPUTATION_CONTINUED', - 'PREVIOUS COMPUTATION FILE FORMAT':'PREVIOUS_COMPUTATION_FILE_FORMAT', - 'PREVIOUS COMPUTATION FILE':'PREVIOUS_COMPUTATION_FILE', - 'RECORD NUMBER FOR RESTART':'RECORD_NUMBER_FOR_RESTART', - 'INITIAL TIME SET TO ZERO':'INITIAL_TIME_SET_TO_ZERO', - 'NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS':'NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS', - 'GRAPHIC PRINTOUT PERIOD':'GRAPHIC_PRINTOUT_PERIOD', - 'VARIABLES FOR GRAPHIC PRINTOUTS':'VARIABLES_FOR_GRAPHIC_PRINTOUTS', - 'NUMBER OF PRIVATE ARRAYS':'NUMBER_OF_PRIVATE_ARRAYS', - 'NAMES OF PRIVATE VARIABLES':'NAMES_OF_PRIVATE_VARIABLES', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'RESULTS FILE':'RESULTS_FILE', - 'BINARY RESULTS FILE FORMAT':'BINARY_RESULTS_FILE_FORMAT', - 'BINARY RESULTS FILE':'BINARY_RESULTS_FILE', - 'FORMATTED RESULTS FILE':'FORMATTED_RESULTS_FILE', - 'CONTROL SECTIONS':'CONTROL_SECTIONS', - 'PRINTING CUMULATED FLOWRATES':'PRINTING_CUMULATED_FLOWRATES', - 'COMPATIBLE COMPUTATION OF FLUXES':'COMPATIBLE_COMPUTATION_OF_FLUXES', - 'SECTIONS INPUT FILE':'SECTIONS_INPUT_FILE', - 'SECTIONS OUTPUT FILE':'SECTIONS_OUTPUT_FILE', - 'FLUXLINE':'FLUXLINE', - 'FLUXLINE INPUT FILE':'FLUXLINE_INPUT_FILE', - 'NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS':'NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'LISTING FOR PRINTOUT PERIOD':'LISTING_FOR_PRINTOUT_PERIOD', - 'LISTING PRINTOUT':'LISTING_PRINTOUT', - 'VARIABLES TO BE PRINTED':'VARIABLES_TO_BE_PRINTED', - 'MASS-BALANCE':'MASS_BALANCE', - 'INFORMATION ABOUT SOLVER':'INFORMATION_ABOUT_SOLVER', - 'LIST OF POINTS':'LIST_OF_POINTS', - 'NAMES OF POINTS':'NAMES_OF_POINTS', - 'FOURIER ANALYSIS PERIODS':'FOURIER_ANALYSIS_PERIODS', - 'TIME RANGE FOR FOURIER ANALYSIS':'TIME_RANGE_FOR_FOURIER_ANALYSIS', - 'PRESCRIBED ELEVATIONS':'PRESCRIBED_ELEVATIONS', - 'PRESCRIBED FLOWRATES':'PRESCRIBED_FLOWRATES', - 'PRESCRIBED VELOCITIES':'PRESCRIBED_VELOCITIES', - 'STAGE-DISCHARGE CURVES':'STAGE_DISCHARGE_CURVES', - 'STAGE-DISCHARGE CURVES FILE':'STAGE_DISCHARGE_CURVES_FILE', - 'VELOCITY PROFILES':'VELOCITY_PROFILES', - 'OPTION FOR LIQUID BOUNDARIES':'OPTION_FOR_LIQUID_BOUNDARIES', - 'LIQUID BOUNDARIES FILE':'LIQUID_BOUNDARIES_FILE', - 'ELEMENTS MASKED BY USER':'ELEMENTS_MASKED_BY_USER', - 'MAXIMUM NUMBER OF FRICTION DOMAINS':'MAXIMUM_NUMBER_OF_FRICTION_DOMAINS', - 'FRICTION DATA':'FRICTION_DATA', - 'FRICTION DATA FILE':'FRICTION_DATA_FILE', - 'LAW OF BOTTOM FRICTION':'LAW_OF_BOTTOM_FRICTION', - 'FRICTION COEFFICIENT':'FRICTION_COEFFICIENT', - 'MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW':'MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW', - 'DEPTH IN FRICTION TERMS':'DEPTH_IN_FRICTION_TERMS', - 'NON-SUBMERGED VEGETATION FRICTION':'NON_SUBMERGED_VEGETATION_FRICTION', - 'DIAMETER OF ROUGHNESS ELEMENTS':'DIAMETER_OF_ROUGHNESS_ELEMENTS', - 'SPACING OF ROUGHNESS ELEMENTS':'SPACING_OF_ROUGHNESS_ELEMENTS', - 'LAW OF FRICTION ON LATERAL BOUNDARIES':'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES', - 'ROUGHNESS COEFFICIENT OF BOUNDARIES':'ROUGHNESS_COEFFICIENT_OF_BOUNDARIES', - 'DEFINITION OF ZONES':'DEFINITION_OF_ZONES', - 'ZONES FILE':'ZONES_FILE', - 'WIND':'WIND', - 'OPTION FOR WIND':'OPTION_FOR_WIND', - 'COEFFICIENT OF WIND INFLUENCE':'COEFFICIENT_OF_WIND_INFLUENCE', - 'WIND VELOCITY ALONG X':'WIND_VELOCITY_ALONG_X', - 'WIND VELOCITY ALONG Y':'WIND_VELOCITY_ALONG_Y', - 'SPEED AND DIRECTION OF WIND':'SPEED_AND_DIRECTION_OF_WIND', - 'THRESHOLD DEPTH FOR WIND':'THRESHOLD_DEPTH_FOR_WIND', - 'AIR PRESSURE':'AIR_PRESSURE', - 'VALUE OF ATMOSPHERIC PRESSURE':'VALUE_OF_ATMOSPHERIC_PRESSURE', - 'RAIN OR EVAPORATION':'RAIN_OR_EVAPORATION', - 'RAIN OR EVAPORATION IN MM PER DAY':'RAIN_OR_EVAPORATION_IN_MM_PER_DAY', - 'RAINFALL-RUNOFF MODEL':'RAINFALL_RUNOFF_MODEL', - 'ANTECEDENT MOISTURE CONDITIONS':'ANTECEDENT_MOISTURE_CONDITIONS', - 'DURATION OF RAIN OR EVAPORATION IN HOURS':'DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS', - 'ASCII ATMOSPHERIC DATA FILE':'ASCII_ATMOSPHERIC_DATA_FILE', - 'BINARY ATMOSPHERIC DATA FILE':'BINARY_ATMOSPHERIC_DATA_FILE', - 'BINARY ATMOSPHERIC DATA FILE FORMAT':'BINARY_ATMOSPHERIC_DATA_FILE_FORMAT', - 'OPTION FOR INITIAL ABSTRACTION RATIO':'OPTION_FOR_INITIAL_ABSTRACTION_RATIO', - 'WAVE DRIVEN CURRENTS':'WAVE_DRIVEN_CURRENTS', - 'RECORD NUMBER IN WAVE FILE':'RECORD_NUMBER_IN_WAVE_FILE', - 'WAVE ENHANCED FRICTION FACTOR':'WAVE_ENHANCED_FRICTION_FACTOR', - 'PARAMETER ESTIMATION':'PARAMETER_ESTIMATION', - 'COST FUNCTION':'COST_FUNCTION', - 'IDENTIFICATION METHOD':'IDENTIFICATION_METHOD', - 'TOLERANCES FOR IDENTIFICATION':'TOLERANCES_FOR_IDENTIFICATION', - 'MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION', - 'ABSCISSAE OF SOURCES':'ABSCISSAE_OF_SOURCES', - 'ORDINATES OF SOURCES':'ORDINATES_OF_SOURCES', - 'WATER DISCHARGE OF SOURCES':'WATER_DISCHARGE_OF_SOURCES', - 'VELOCITIES OF THE SOURCES ALONG X':'VELOCITIES_OF_THE_SOURCES_ALONG_X', - 'VELOCITIES OF THE SOURCES ALONG Y':'VELOCITIES_OF_THE_SOURCES_ALONG_Y', - 'TYPE OF SOURCES':'TYPE_OF_SOURCES', - 'SOURCES FILE':'SOURCES_FILE', - 'BLOBAL NUMBERS OF SOURCE NODES':'BLOBAL_NUMBERS_OF_SOURCE_NODES', - 'WATER QUALITY PROCESS':'WATER_QUALITY_PROCESS', - 'WATER DENSITY':'WATER_DENSITY', - 'GRAVITY ACCELERATION':'GRAVITY_ACCELERATION', - 'VERTICAL STRUCTURES':'VERTICAL_STRUCTURES', - 'EQUATIONS':'EQUATIONS', - 'TREATMENT OF THE LINEAR SYSTEM':'TREATMENT_OF_THE_LINEAR_SYSTEM', - 'FINITE VOLUME SCHEME':'FINITE_VOLUME_SCHEME', - 'CORIOLIS':'CORIOLIS', - 'CORIOLIS COEFFICIENT':'CORIOLIS_COEFFICIENT', - 'OPTION FOR TSUNAMI GENERATION':'OPTION_FOR_TSUNAMI_GENERATION', - 'PHYSICAL CHARACTERISTICS OF THE TSUNAMI':'PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI', - 'SECONDARY CURRENTS':'SECONDARY_CURRENTS', - 'PRODUCTION COEFFICIENT FOR SECONDARY CURRENTS':'PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS', - 'DISSIPATION COEFFICIENT FOR SECONDARY CURRENTS':'DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS', - 'DEBUGGER':'DEBUGGER', - 'TIME STEP':'TIME_STEP', - 'NUMBER OF TIME STEPS':'NUMBER_OF_TIME_STEPS', - 'DURATION':'DURATION', - 'ORIGINAL DATE OF TIME':'ORIGINAL_DATE_OF_TIME', - 'ORIGINAL HOUR OF TIME':'ORIGINAL_HOUR_OF_TIME', - 'STOP IF A STEADY STATE IS REACHED':'STOP_IF_A_STEADY_STATE_IS_REACHED', - 'STOP CRITERIA':'STOP_CRITERIA', - 'CONTROL OF LIMITS':'CONTROL_OF_LIMITS', - 'LIMIT VALUES':'LIMIT_VALUES', - 'VARIABLE TIME-STEP':'VARIABLE_TIME_STEP', - 'DESIRED COURANT NUMBER':'DESIRED_COURANT_NUMBER', - 'ORIGIN COORDINATES':'ORIGIN_COORDINATES', - 'SPHERICAL COORDINATES':'SPHERICAL_COORDINATES', - 'LATITUDE OF ORIGIN POINT':'LATITUDE_OF_ORIGIN_POINT', - 'LONGITUDE OF ORIGIN POINT':'LONGITUDE_OF_ORIGIN_POINT', - 'NORTH':'NORTH', - 'SPATIAL PROJECTION TYPE':'SPATIAL_PROJECTION_TYPE', - 'SOLVER':'SOLVER', - 'SOLVER OPTION':'SOLVER_OPTION', - 'SOLVER ACCURACY':'SOLVER_ACCURACY', - 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER', - 'CONTINUITY CORRECTION':'CONTINUITY_CORRECTION', - 'PRECONDITIONING':'PRECONDITIONING', - 'C-U PRECONDITIONING':'C_U_PRECONDITIONING', - 'IMPLICITATION FOR DEPTH':'IMPLICITATION_FOR_DEPTH', - 'IMPLICITATION FOR VELOCITY':'IMPLICITATION_FOR_VELOCITY', - 'DISCRETIZATIONS IN SPACE':'DISCRETIZATIONS_IN_SPACE', - 'PROPAGATION':'PROPAGATION', - 'INITIAL GUESS FOR H':'INITIAL_GUESS_FOR_H', - 'LINEARIZED PROPAGATION':'LINEARIZED_PROPAGATION', - 'INITIAL GUESS FOR U':'INITIAL_GUESS_FOR_U', - 'MEAN DEPTH FOR LINEARIZATION':'MEAN_DEPTH_FOR_LINEARIZATION', - 'ADVECTION':'ADVECTION', - 'ADVECTION OF H':'ADVECTION_OF_H', - 'ADVECTION OF U AND V':'ADVECTION_OF_U_AND_V', - 'TYPE OF ADVECTION':'TYPE_OF_ADVECTION', - 'OPTION FOR CHARACTERISTICS':'OPTION_FOR_CHARACTERISTICS', - 'SUPG OPTION':'SUPG_OPTION', - 'NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS':'NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS', - 'MASS-LUMPING FOR WEAK CHARACTERISTICS':'MASS_LUMPING_FOR_WEAK_CHARACTERISTICS', - 'MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES', - 'UPWIND COEFFICIENTS':'UPWIND_COEFFICIENTS', - 'MASS-LUMPING ON H':'MASS_LUMPING_ON_H', - 'MASS-LUMPING ON VELOCITY':'MASS_LUMPING_ON_VELOCITY', - 'SCHEME FOR ADVECTION OF VELOCITIES':'SCHEME_FOR_ADVECTION_OF_VELOCITIES', - 'SCHEME OPTION FOR ADVECTION OF VELOCITIES':'SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES', - 'FREE SURFACE GRADIENT COMPATIBILITY':'FREE_SURFACE_GRADIENT_COMPATIBILITY', - 'NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES':'NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES', - 'TREATMENT OF FLUXES AT THE BOUNDARIES':'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES', - 'NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES', - 'NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES', - 'PSI SCHEME OPTION':'PSI_SCHEME_OPTION', - 'DIFFUSION OF VELOCITY':'DIFFUSION_OF_VELOCITY', - 'OPTION FOR THE DIFFUSION OF VELOCITIES':'OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES', - 'IMPLICITATION FOR DIFFUSION OF VELOCITY':'IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY', - 'AD NUMBER OF DERIVATIVES':'AD_NUMBER_OF_DERIVATIVES', - 'AD NAMES OF DERIVATIVES':'AD_NAMES_OF_DERIVATIVES', - 'MATRIX STORAGE':'MATRIX_STORAGE', - 'MATRIX-VECTOR PRODUCT':'MATRIX_VECTOR_PRODUCT', - 'NEWMARK TIME INTEGRATION COEFFICIENT':'NEWMARK_TIME_INTEGRATION_COEFFICIENT', - 'ZERO':'ZERO', - 'PROPAGATION OPTION':'PROPAGATION_OPTION', - 'OPTION OF THE HYDROSTATIC RECONSTRUCTION':'OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION', - 'VELOCITY DIFFUSIVITY':'VELOCITY_DIFFUSIVITY', - 'TURBULENCE MODEL':'TURBULENCE_MODEL', - 'SOLVER FOR K-EPSILON MODEL':'SOLVER_FOR_K_EPSILON_MODEL', - 'OPTION FOR THE SOLVER FOR K-EPSILON MODEL':'OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL', - 'PRECONDITIONING FOR K-EPSILON MODEL':'PRECONDITIONING_FOR_K_EPSILON_MODEL', - 'NON-DIMENSIONAL DISPERSION COEFFICIENTS':'NON_DIMENSIONAL_DISPERSION_COEFFICIENTS', - 'TURBULENCE REGIME FOR SOLID BOUNDARIES':'TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES', - 'INFORMATION ABOUT K-EPSILON MODEL':'INFORMATION_ABOUT_K_EPSILON_MODEL', - 'ADVECTION OF K AND EPSILON':'ADVECTION_OF_K_AND_EPSILON', - 'SCHEME FOR ADVECTION OF K-EPSILON':'SCHEME_FOR_ADVECTION_OF_K_EPSILON', - 'SCHEME OPTION FOR ADVECTION OF K-EPSILON':'SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON', - 'TIME STEP REDUCTION FOR K-EPSILON MODEL':'TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL', - 'ACCURACY OF K':'ACCURACY_OF_K', - 'ACCURACY OF EPSILON':'ACCURACY_OF_EPSILON', - 'MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON', - 'TIDAL FLATS':'TIDAL_FLATS', - 'OPTION FOR THE TREATMENT OF TIDAL FLATS':'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS', - 'TREATMENT OF NEGATIVE DEPTHS':'TREATMENT_OF_NEGATIVE_DEPTHS', - 'THRESHOLD FOR NEGATIVE DEPTHS':'THRESHOLD_FOR_NEGATIVE_DEPTHS', - 'THRESHOLD DEPTH FOR RECEDING PROCEDURE':'THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE', - 'H CLIPPING':'H_CLIPPING', - 'MINIMUM VALUE OF DEPTH':'MINIMUM_VALUE_OF_DEPTH', - 'PRESCRIBED TRACERS VALUES':'PRESCRIBED_TRACERS_VALUES', - 'NUMBER OF TRACERS':'NUMBER_OF_TRACERS', - 'NAMES OF TRACERS':'NAMES_OF_TRACERS', - 'INITIAL VALUES OF TRACERS':'INITIAL_VALUES_OF_TRACERS', - 'DENSITY EFFECTS':'DENSITY_EFFECTS', - 'MEAN TEMPERATURE':'MEAN_TEMPERATURE', - 'SOLVER FOR DIFFUSION OF TRACERS':'SOLVER_FOR_DIFFUSION_OF_TRACERS', - 'SOLVER OPTION FOR TRACERS DIFFUSION':'SOLVER_OPTION_FOR_TRACERS_DIFFUSION', - 'PRECONDITIONING FOR DIFFUSION OF TRACERS':'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS', - 'ACCURACY FOR DIFFUSION OF TRACERS':'ACCURACY_FOR_DIFFUSION_OF_TRACERS', - 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS', - 'VALUES OF THE TRACERS AT THE SOURCES':'VALUES_OF_THE_TRACERS_AT_THE_SOURCES', - 'VALUES OF TRACERS IN THE RAIN':'VALUES_OF_TRACERS_IN_THE_RAIN', - 'ADVECTION OF TRACERS':'ADVECTION_OF_TRACERS', - 'IMPLICITATION COEFFICIENT OF TRACERS':'IMPLICITATION_COEFFICIENT_OF_TRACERS', - 'DIFFUSION OF TRACERS':'DIFFUSION_OF_TRACERS', - 'COEFFICIENT FOR DIFFUSION OF TRACERS':'COEFFICIENT_FOR_DIFFUSION_OF_TRACERS', - 'OPTION FOR THE DIFFUSION OF TRACERS':'OPTION_FOR_THE_DIFFUSION_OF_TRACERS', - 'SCHEME FOR ADVECTION OF TRACERS':'SCHEME_FOR_ADVECTION_OF_TRACERS', - 'SCHEME OPTION FOR ADVECTION OF TRACERS':'SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS', - 'MASS-LUMPING ON TRACERS':'MASS_LUMPING_ON_TRACERS', - 'LAW OF TRACERS DEGRADATION':'LAW_OF_TRACERS_DEGRADATION', - 'COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION':'COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION', - 'NUMBER OF DROGUES':'NUMBER_OF_DROGUES', - 'PRINTOUT PERIOD FOR DROGUES':'PRINTOUT_PERIOD_FOR_DROGUES', - 'DROGUES FILE':'DROGUES_FILE', - 'ALGAE TRANSPORT MODEL':'ALGAE_TRANSPORT_MODEL', - 'ALGAE TYPE':'ALGAE_TYPE', - 'DIAMETRE OF ALGAE':'DIAMETRE_OF_ALGAE', - 'DENSITY OF ALGAE':'DENSITY_OF_ALGAE', - 'THICKNESS OF ALGAE':'THICKNESS_OF_ALGAE', - 'OIL SPILL MODEL':'OIL_SPILL_MODEL', - 'OIL SPILL STEERING FILE':'OIL_SPILL_STEERING_FILE', - 'STOCHASTIC DIFFUSION MODEL':'STOCHASTIC_DIFFUSION_MODEL', - 'NUMBER OF LAGRANGIAN DRIFTS':'NUMBER_OF_LAGRANGIAN_DRIFTS', - 'NUMBER OF WEIRS':'NUMBER_OF_WEIRS', - 'WEIRS DATA FILE':'WEIRS_DATA_FILE', - 'TYPE OF WEIRS':'TYPE_OF_WEIRS', - 'NUMBER OF SIPHONS':'NUMBER_OF_SIPHONS', - 'SIPHONS DATA FILE':'SIPHONS_DATA_FILE', - 'NUMBER OF CULVERTS':'NUMBER_OF_CULVERTS', - 'CULVERTS DATA FILE':'CULVERTS_DATA_FILE', - 'OPTION FOR CULVERTS':'OPTION_FOR_CULVERTS', - 'BREACH':'BREACH', - 'BREACHES DATA FILE':'BREACHES_DATA_FILE', - 'TIDAL DATA BASE':'TIDAL_DATA_BASE', - 'TIDAL MODEL FILE':'TIDAL_MODEL_FILE', - 'ASCII DATABASE FOR TIDE':'ASCII_DATABASE_FOR_TIDE', - 'BINARY DATABASE 1 FOR TIDE':'BINARY_DATABASE_1_FOR_TIDE', - 'BINARY DATABASE 2 FOR TIDE':'BINARY_DATABASE_2_FOR_TIDE', - 'MINOR CONSTITUENTS INFERENCE':'MINOR_CONSTITUENTS_INFERENCE', - 'HARMONIC CONSTANTS FILE':'HARMONIC_CONSTANTS_FILE', - 'TIDE GENERATING FORCE':'TIDE_GENERATING_FORCE', - 'OPTION FOR TIDAL BOUNDARY CONDITIONS':'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS', - 'GEOGRAPHIC SYSTEM':'GEOGRAPHIC_SYSTEM', - 'ZONE NUMBER IN GEOGRAPHIC SYSTEM':'ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM', - 'COEFFICIENT TO CALIBRATE SEA LEVEL':'COEFFICIENT_TO_CALIBRATE_SEA_LEVEL', - 'COEFFICIENT TO CALIBRATE TIDAL RANGE':'COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE', - 'COEFFICIENT TO CALIBRATE TIDAL VELOCITIES':'COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES', - 'LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER':'LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER', - 'GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER':'GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER', - 'COUPLING WITH':'COUPLING_WITH', - 'NAMES OF CLANDESTINE VARIABLES':'NAMES_OF_CLANDESTINE_VARIABLES', - 'COUPLING DIRECTORY':'COUPLING_DIRECTORY', - 'DELWAQ PRINTOUT PERIOD':'DELWAQ_PRINTOUT_PERIOD', - 'VOLUMES DELWAQ FILE':'VOLUMES_DELWAQ_FILE', - 'EXCHANGE AREAS DELWAQ FILE':'EXCHANGE_AREAS_DELWAQ_FILE', - 'VERTICAL FLUXES DELWAQ FILE':'VERTICAL_FLUXES_DELWAQ_FILE', - 'SALINITY DELWAQ FILE':'SALINITY_DELWAQ_FILE', - 'BOTTOM SURFACES DELWAQ FILE':'BOTTOM_SURFACES_DELWAQ_FILE', - 'EXCHANGES BETWEEN NODES DELWAQ FILE':'EXCHANGES_BETWEEN_NODES_DELWAQ_FILE', - 'NODES DISTANCES DELWAQ FILE':'NODES_DISTANCES_DELWAQ_FILE', - 'TEMPERATURE DELWAQ FILE':'TEMPERATURE_DELWAQ_FILE', - 'VELOCITY DELWAQ FILE':'VELOCITY_DELWAQ_FILE', - 'DIFFUSIVITY DELWAQ FILE':'DIFFUSIVITY_DELWAQ_FILE', - 'DELWAQ STEERING FILE':'DELWAQ_STEERING_FILE', - 'SALINITY FOR DELWAQ':'SALINITY_FOR_DELWAQ', - 'TEMPERATURE FOR DELWAQ':'TEMPERATURE_FOR_DELWAQ', - 'VELOCITY FOR DELWAQ':'VELOCITY_FOR_DELWAQ', - 'DIFFUSIVITY FOR DELWAQ':'DIFFUSIVITY_FOR_DELWAQ', - 'SISYPHE STEERING FILE':'SISYPHE_STEERING_FILE', - 'COUPLING PERIOD FOR SISYPHE':'COUPLING_PERIOD_FOR_SISYPHE', - 'TOMAWAC STEERING FILE':'TOMAWAC_STEERING_FILE', - 'COUPLING PERIOD FOR TOMAWAC':'COUPLING_PERIOD_FOR_TOMAWAC', - 'WAQTEL STEERING FILE':'WAQTEL_STEERING_FILE', - 'LANGUAGE':'LANGUAGE', - 'STEERING FILE':'STEERING_FILE', - 'DICTIONARY':'DICTIONARY', - 'PARTITIONING TOOL':'PARTITIONING_TOOL', - 'RELEASE':'RELEASE', - 'LIST OF FILES':'LIST_OF_FILES', - 'DESCRIPTION OF LIBRARIES':'DESCRIPTION_OF_LIBRARIES', - 'DEFAULT EXECUTABLE':'DEFAULT_EXECUTABLE', - 'DEFAULT PARALLEL EXECUTABLE':'DEFAULT_PARALLEL_EXECUTABLE', -} -DicoEnumCasFrToEnumCasEn = { -'INITIAL_CONDITIONS':{ - "COTE NULLE":"ZERO ELEVATION", - "COTE CONSTANTE":"CONSTANT ELEVATION", - "HAUTEUR NULLE":"ZERO DEPTH", - "HAUTEUR CONSTANTE":"CONSTANT DEPTH", - "SPECIAL":"SPECIAL", - "PARTICULIERES":"PARTICULIERES", - "PARTICULAR":"PARTICULAR", - "ALTIMETRIE SATELLITE TPXO":"TPXO SATELLITE ALTIMETRY", -}, - -'BINARY_DATA_FILE_1_FORMAT':{ - "BIN":"BIN", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_DATA_FILE_2_FORMAT':{ - "BIN":"BIN", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_RESULTS_FILE_FORMAT':{ - "BIN":"BIN", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_ATMOSPHERIC_DATA_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PARAMETER_ESTIMATION':{ - "":"", - "FROTTEMENT":"FRICTION", - "FROTTEMENT, PERMANENT":"FRICTION, STEADY", -}, - -'EQUATIONS':{ - "SAINT-VENANT EF":"SAINT-VENANT FE", - "SAINT-VENANT VF":"SAINT-VENANT FV", - "BOUSSINESQ":"BOUSSINESQ", -}, - -'COUPLING_WITH':{ - "SISYPHE":"SISYPHE", - "TOMAWAC":"TOMAWAC", - "DELWAQ":"DELWAQ", -}, - -'PARTITIONING_TOOL':{ - "METIS":"METIS", - "SCOTCH":"SCOTCH", - "PARMETIS":"PARMETIS", - "PTSCOTCH":"PTSCOTCH", -}, - -} diff --git a/Telemac/gaia_cata_auto.py b/Telemac/gaia_cata_auto.py deleted file mode 100644 index d9a6a6f6..00000000 --- a/Telemac/gaia_cata_auto.py +++ /dev/null @@ -1,2190 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'GAIA', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GLOBAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TITLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie. -Ce titre sera inscrit dans les sorties.""", - ang = """Title of the case being considered.""", - ), -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """NOMBRE DE PROCESSEURS EN CALCUL PARALLELE -0 : 1 machine, compilation sans bibliotheque de parallelisme -1 : 1 machine, compilation avec bibliotheque de parallelisme -2 : 2 processeurs ou machines en parallele -etc...""", - ang = """NUMBER OF PROCESSORS FOR PARALLEL PROCESSING -0 : 1 machine, compiling without parallel library -1 : 1 machine, compiling with a parallel library -2 : 2 processors or machines in parallel -etc....""", - ), -# ----------------------------------- - CHECKING_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Si oui on appelle le sous-programme checkmesh qui verifie -la coherence du maillage, points superposes, etc.""", - ang = """if this key word is equal to yes, a call to subroutine -checkmesh will look for errors in the mesh, superimposed points, etc.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 30, - fr = """nombre maximal de frontieres differentes dans le maillage. -Sert au dimensionnement de la memoire, a augmenter si necessaire""", - ang = """maximal number of boundaries in the mesh. -Used for dimensioning arrays. Can be increased if needed""", - ), - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. -Si ce mot-cle vaut OUI, les resultats du calcul vont alors etre -compares aux valeurs du fichier de reference. -La comparaison est effectuee par le sous-programme VALIDA qui peut -etre modifie pour realiser, par exemple, une comparaison avec -une solution exacte.""", - ang = """This option is primarily used for the validation -documents. If this keyword is equal to YES, the REFERENCE FILE -is then considered as a reference which the computation is -going to be compared with. -The comparison is made by the subroutine VALIDA, which can be -modified so as to include,for example,a comparison with an -exact solution.""", - ), -# ----------------------------------- - b_VALIDATIONG = BLOC(condition="VALIDATION == True", -# ----------------------------------- -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier servant a valider le calcul. -Si VALIDATION = OUI, les resultats du calcul vont etre -comparees aux valeurs contenues dans ce fichier. -La comparaison est effectuee par le sous-programme VALIDA.""", - ang = """Name of the file used to validate the computation. -If VALIDATION = YES, the results of the computation will be -compared with the values of this file. The comparison is -made by the subroutine VALIDA.""", - ), - ), - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_PRIVATE_ARRAYS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Nombre de tableaux mis a disposition de l utilisateur""", - ang = """Number of arrays for own user programming""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - RELEASE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = 'TRUNK', - fr = """Numero de version des bibliotheques utilisees par GAIA.""", - ang = """Release of the libraries used by GAIA.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'gaia.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -) -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom= "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DEBUGGER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Pour imprimer la sequence des appels, mettre 1""", - ang = """If 1, calls of subroutines will be printed in the listing""", - ), -# ----------------------------------- - LOCATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ORIGIN_COORDINATES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min= 2, max= 2, - defaut = [0,0], - fr = """Valeur en metres, utilise pour eviter les trop grands nombres, -transmis dans le format Selafin mais pas d''autre traitement pour -l''instant""", - ang = """Value in metres, used to avoid large real numbers, -added in Selafin format, but so far no other treatment""", - ), - ), -) -# ----------------------------------------------------------------------- -HYDRODYNAMICS = PROC(nom= "HYDRODYNAMICS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - TIDAL_FLATS_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Utilise si ''BANCS DECOUVRANTS'' est vrai - 1 : EQUATIONS RESOLUES PARTOUT AVEC CORRECTION - SUR LES BANCS DECOUVRANTS - 2 : GEL DES ELEMENTS DECOUVRANTS -Il est conseille de choisir l''option 1 car elle permet de -conserver la masse.""", - ang = """Used if ''TIDAL FLATS'' is true - 1 : EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS - 2 : DRY ELEMENTS FROZEN -It is recommended to choose 1 since it ensures mass conservation.""", - ), -# ----------------------------------- - MINIMAL_VALUE_OF_THE_WATER_HEIGHT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-3, - fr = """Fixe la valeur minimale de la hauteur d''eau. -Est utilise lorsque le mot cle BANCS DECOUVRANTS est egal a oui.""", - ang = """Sets the minimum value of the water depth. -Is used when the keyword TIDAL FLATS is equal to yes.""", - ), -# ----------------------------------- - TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """permet de supprimer les tests sur les bancs decouvrants, dans -les cas ou l''on est certain qu''il n''y en aura pas. -En cas de doute : oui""", - ang = """When no, the specific treatments for tidal flats -are by-passed. -This spares time, but of course you must be sure that you -have no tidal flats""", - ), - ), -) -# ----------------------------------------------------------------------- -MISCELLANEOUS = PROC(nom= "MISCELLANEOUS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NESTOR = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Pour le couplage avec NESTOR""", - ang = """For coupling with NESTOR""", - ), -# ----------------------------------- - NESTOR_ACTION_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de commandes de nestor""", - ang = """Name of the Nestor steering file""", - ), -# ----------------------------------- - NESTOR_POLYGON_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de polygons de Nestor""", - ang = """Name of the Nestor polygon file""", - ), -# ----------------------------------- - NESTOR_RESTART_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de phydef-cf.cfg.ds de Nestor""", - ang = """Name of the Nestor file phydef-cf.cfg.ds""", - ), -# ----------------------------------- - NESTOR_SURFACE_REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de reference surface de Nestor""", - ang = """Name of the Nestor file which contains the reference - water surface""", - ), -) -# ----------------------------------------------------------------------- -GENERAL = PROC(nom= "GENERAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - FLUXLINE_INPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de fluxline""", - ang = """Name of the Fluxline file""", - ), -# ----------------------------------- - FLUXLINE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """FLUXLINE""", - ang = """Use Fluxline to compute flux over lines""", - ), -# ----------------------------------- - CONTROL_SECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - fr = """Couples de points (numeros globaux dans le maillage) entre -lesquels les debits instantanes et cumules seront donnes.""", - ang = """Couples of points (global numbers in the mesh) defining sections - where the instantaneous and cumulated discharges will be given""", - ), -# ----------------------------------- - SECONDARY_CURRENTS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Pour prendre en compte les courants secondaires""", - ang = """using the parametrisation for secondary currents""", - ), -# ----------------------------------- - SECONDARY_CURRENTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Pour prendre en compte les courants secondaires avec FICHIER""", - ang = """The radii needed for the parametrisation of secondary currents -are read from SELAFIN file""", - ), -# ----------------------------------- - EFFECT_OF_WAVES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prend en compte l''effet de la houle sur le transport solide""", - ang = """Takes into account the effect of waves""", - ), -# ----------------------------------- - TYPE_OF_WAVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Utilise pour calculer Uw - Si Uw est calcule par Tomawac, choisir 2 (defaut) - 1= vagues regulieres (monochormatique) - 2= vagues irregulieres (spectre)""", - ang = """is used to calculate Uw - if Uw is calculated with Tomawac, choose 2 (default) - 1= regular (monochromatic) waves - 2= irregular (spectral) waves""", - ), -) -# ----------------------------------------------------------------------- -COHESIVE_AND_NON_COHESIVE = PROC(nom= "COHESIVE_AND_NON_COHESIVE",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - BED_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """3 types de modeles de lit sont disponibles : -1 : multicouche (couche active automatique si plusieurs classes) -2 : multicouche avec consolidation -3 : consolidation basee sur la theorie de Gibson""", - ang = """3 kinds of bed model are available: -1 : multilayers (automatic active layer if several classes) -2 : multilayer with consolidation -3 : consolidation model based on Gibson theory""", - ), -# ----------------------------------- - CHARRIAGE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CLASSES_SHIELDS_PARAMETERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [-9.,-9.], - fr = """Utilise pour determiner la valeur de la contrainte critique -d''entrainement (sediments non-cohesifs). En multiclasse, specifier la -valeur pour chaque classe. Donner valeur negative pour les sediments -cohesifs.""", - ang = """Used to determine the critical bed shear stress value -(non-cohesive sediments). -For multi grain size, -the shields parameter needs to be specified for each class. -It is necessary to give a negative value -in the parameter file for cohesive sediments.""", - ), - ), -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CLASSES_SETTLING_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [-9,-9.], - fr = """Fixe la valeur de vitesse de chute pour chaque sediment. Donner une -valuer negative pour utiliser les formules de Stokes, Zanke ou Van -Rijn (appliquées selon la taille des grains).""", - ang = """Sets the value of settling velocity for every sediment. Give a -negative value to use the Stokes, Zanke or Van Rijn formulae -(depending on the grain size)""", - ), -# ----------------------------------- - EQUILIBRIUM_INFLOW_CONCENTRATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Impose la concentration en entree du domaine dans les cas 2D. -Pour les sediments non-cohesifs, la concentration d''equilibre est -calculee en accord avec la formule de transport pour tous les sable.""", - ang = """Imposes the equilibrium concentration at the inlet boundaries in 2D -cases. -For non cohesive sediments, the equilibrium near bed concentration is -computed with respect to the suspension transport formula for all -sands.""", - ), - ), -# ----------------------------------- - BED_MATERIAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CLASSES_SEDIMENT_DIAMETERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [.01,.01], - fr = """Sets value of diameter dm for particular size class.""", - ang = """Sets value of diameter dm for particular size class.""", - ), -# ----------------------------------- - CLASSES_HIDING_FACTOR = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [1.,1.], - fr = """Fixe la valeur du facteur de pavage par classe -granulometrique""", - ang = """Sets value of hiding factor for particular size class.""", - ), -# ----------------------------------- - CLASSES_INITIAL_FRACTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [1.,0.], - fr = """Fixe la fraction initiale de chaque classe sédimentologique -dans le mélange. Attention, la somme de AVA0 sur toutes les -classes doit valoir 1.""", - ang = """Sets the value of the initial fraction of each sediment class. -Beware that the sum over all classes must be equal to 1.""", - ), -# ----------------------------------- - LAYERS_INITIAL_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Epaisseurs initiales des sediments (m).""", - ang = """Sediment layers thickness (m) for initialisation.""", - ), -# ----------------------------------- - CLASSES_TYPE_OF_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Liste des types de sediment: cohesif (CO) ou non cohesif (NCO).""", - ang = """ Liste of types of sediment: cohesive (CO) ou non cohesive (NCO).""", - ), - ), -) -# ----------------------------------------------------------------------- -BED_STRUCTURE = PROC(nom= "BED_STRUCTURE",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Nombre de couche du lit initial, defaut NUMSTRAT=1""", - ang = """Number of layers for initial stratification, default NUMSTRAT=1""", - ), - ), -) -# ----------------------------------------------------------------------- -USELESS = PROC(nom= "USELESS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """longueur du vecteur pour les machines vectorielles.""", - ang = """vector length on vector machines.""", - ), -# ----------------------------------- - STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul -a realiser. Il peut-etre ecrit par l''utilisateur avec EDAMOX.""", - ang = """Name of the file containing the parameters -of the computation. Could be written by the user with EDAMOX.""", - ), -) -# ----------------------------------------------------------------------- -INPUT_OUTPUT__FILES = PROC(nom= "INPUT_OUTPUT__FILES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de geometrie. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Geometry file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - NAMES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant le maillage du calcul a realiser.""", - ang = """Name of the file containing the mesh. This file may also -contain the topography and the friction coefficients.""", - ), -# ----------------------------------- - NAMES_OF_PRIVATE_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des variables privees en 32 caracteres, 16 pour le nom - 16 pour l''unite. Elles correspondent au bloc PRIVE - et peuvent etre lues dans le fichier de geometrie si elles - y sont presentes avec leur nom""", - ang = """Name of private variables in 32 characters, 16 for the name, - 16 for the unit. They are stored in the block PRIVE and - can be read in the geometry file if they are here with their - name""", - ), -# ----------------------------------- - BEDLOAD_BOUNDARIES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de variations en temps des conditions aux limites en charriage. -Les donnees de ce fichier sont sur le canal GAI\_FILES(GAILIQ)%LU.""", - ang = """Variations in time of boundary conditions in bedload. Data of this file -are read on channel GAI\_FILES(GAILIQ)%LU.""", - ), - ), -) -# ----------------------------------------------------------------------- -RESULTS = PROC(nom= "RESULTS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Results file format. Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - fr = """Nom du fichier dans lequel seront ecrits les resultats avec -une periodicite donnee par le mot cle PERIODE DE SORTIE GRAPHIQUE -dans telemac2d ou telemac3d.""", - ang = """Name of the file into wich the computation results shall be -written, the periodicity being given by the keyword -GRAPHIC PRINTOUT PERIOD in telemac2d or telemac3d.""", - ), -# ----------------------------------- - VARIABLES_TO_BE_PRINTED = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["velocity along x axis (m/s)","velocity along y axis (m/s)","wawe celerity (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","Froude number","scalar flowrate of fluid (m2/s)","flowrate along x axis (m2/s)","flowrate along y axis (m2/s)","bed-load discharge (m2/s)","bed-load discharge along x axis (m2/s)","bed-load discharge along y axis (m2/s)","bottom evolution (m)","non erodable bottom","bed friction coefficient (m if Nikuradse)","mean bottom friction (N/m2)","wave angle with axis Oy (deg)","wave height","wave period","fraction of sediment of class i in the first layer","fraction of sediment of class i in the second layer","bed load transport rate of sediment of class i", "thicknes of bed layer i", "concentration of bed layer i ","concentration for class i","supplementary variable A","supplementary variable G","supplementary variable L","supplementary variable O"], - defaut = '', - fr = """Nom des variables que l''utilisateur desire ecrire sur -le lisring. Meme possibilites que pour les sorties graphiques.""", - ang = """Names of variables the user wants to write on the listing. -Each variable is represented by a letter in the same manner as -it is done in the graphic results file.""", - ), -# ----------------------------------- - LISTING_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression -des ''VARIABLES A IMPRIMER'' (voir ce mot-cle). -La sortie des resultats est effectuee sur le fichier listing -(fichier cas\_numerodeprocessus.sortie sur station de travail).""", - ang = """Determines, in number of time steps, the printout period of -the ''VARIABLES TO BE PRINTED''. -The results are printed out on the listing file -(file cas\_numerodeprocessus.sortie on a workstation).""", - ), -# ----------------------------------- - MASS_BALANCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si oui ou non le bilan de masse est realise.""", - ang = """Determines whether a check of the mass-balance over the domain -is made or not""", - ), -# ----------------------------------- - SECTIONS_OUTPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """sections output file, written by the master""", - ang = """sections output file, written by the master""", - ), -# ----------------------------------- - C_VSM_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats C-VSM du -calcul avec la periodicite donnee par le mot cle -\telkey{C-VSM FULL PRINTOUT PERIOD}.""", - ang = """Name of the file into which the C-VSM results of the computation -are written, the periodicity being given by the keyword: -\telkey{C-VSM FULL PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - C_VSM_RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DES C-VSM}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{C-VSM RESULT FILE}. Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -) -# ----------------------------------------------------------------------- -DATA_FILES = PROC(nom= "DATA_FILES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - WAVE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de houle. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Wave file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier FORTRAN a soumettre.""", - ang = """Name of FORTRAN file to be submitted.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -colours that are assigned to the computation domain boundary nodes.""", - ), -# ----------------------------------- - WAVE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul -precedent TOMAWAC realise sur le meme maillage. La houle sera donnee, -par le dernier pas de temps -de ce fichier . Seules les donnees de houle de ce fichier -seront conservees (hauteur de houle, periode de -houle, angle de la houle). -Les donnees hydrodynamiques(hauteur d''eau,vitesses) seront lues -dans le fichier hydrodynamique (Verifier la compatibilite !!!) -Les donnees de houle peuvent aussi etre imposees -par l''utilisateur dans le sous programme USER\_FORCING\_GAIA. -ou encore lues dans le fichier hydrodynamique.""", - ang = """Name of a file containing the results a previous -TOMAWAC computation made on the same mesh. The wave data (wave height, - wave period, wave angle ) will -be given by the last record of the file. -The user has to verify that both informations (wave and current data) -are consistent. -Remark :The wave data can also be specified in - the hydrodynamic file. the user has also - the possibility to give the values -of the wave data in the subroutine USER\_FORCING\_GAIA. -This is recommended for non-steady flow simulation.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier facultatif contenant la bathymetrie -associee au maillage.""", - ang = """Name of the possible file containing the bathymetric data.""", - ), -# ----------------------------------- - SECTIONS_INPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """sections input file, partitioned""", - ang = """sections input file, partitioned""", - ), -) -# ----------------------------------------------------------------------- -INITIAL_CONDITIONS = PROC(nom= "INITIAL_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un -calcul precedent sedimentologique realise sur le meme maillage -et dont le dernier pas de temps enregistre va fournir les -conditions initiales pour une suite de de calcul.""", - ang = """Name of a file containing the results of an -earlier sedimentological computation which was made -on the same mesh. The last recorded time step will provide -the initial conditions for the new computation.""", - ), -# ----------------------------------- - COMPUTATION_CONTINUED = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Determine si le calcul en cours est independant de tout autre -resultat ou est une reprise effectuee a partir du resultat d''un calcul -precedent. -NON : Il s''agit du premier passage pour ce calcul et il est necessaire -de definir un jeu complet de conditions initiales -OUI : Il s''agit d''une reprise de calcul : -les conditions initiales sont constituees par le dernier pas de temps du -FICHIER PRECEDENT SEDIMENTOLOGIQUE du fichier des parametres utilise -pour soumettre le calcul. -Par contre, l''ensemble des donnees du fichier des parametres -peuvent etre redefinies -De meme, il est necessaire de definir des conditions aux limites""", - ang = """Determines whether the computation under way is an independent -result or is following an earlier result. -NO: It is the first run for this computation and a whole set of -initial conditions should be defined. -YES: It follows a former computation: -the initial conditions consist in the last time step of the -PREVIOUS COMPUTATION FILE -in the steering file used for submitting the computation. -All the data from the steering file may be defined once again, which -provides an opportunity to change, for example, the time step. -It is also possible to define new boundary conditions.""", - ), -) -# ----------------------------------------------------------------------- -INPUT_OUTPUT__GRAPHICS_AND_LISTING = PROC(nom= "INPUT_OUTPUT__GRAPHICS_AND_LISTING",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - VARIABLES_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["velocity along x axis (m/s)","velocity along y axis (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","scalar flowrate of fluid (m2/s)","flowrate along x axis (m2/s)","flowrate along y axis (m2/s)","non erodable bottom","Bed Shear stress (Totalfriction) (N/m2)","wave height","wave period","wave angle with axis Oy (deg)","bed-load discharge (kg/(m*s))","bed-load discharge along x axis (kg/(m*s))","bed-load discharge along y axis (kg/(m*s))","bottom evolution (m)","total bed roughness (m)","Skin friction correction factor","Mean grain diameter","wave orbital velocity (m/s)","fraction of non cohesive sediment of class i, in 1st layer","fraction of non cohesive sediment of class i, in 2nd layer","fraction of non cohesive sediment of class i, in k layer","solid transport load of class i","mass concentration of class i","mass concentration of class i for 2D graphic printouts (only for 3D simulations)","sediment viscosity along x axis (m2/s) - only 3D","sediment viscosity along y axis (m2/s) - only 3D","sediment viscosity along z axis (m2/s) - only 3D","bed load transport rate (kg/(m*s))","bed load transport rate x axis","bed load transport rate y axis","bedload transport rate of class i","thickness of the k layer","concentration of bed layer k","bed load transport rate of sediment of class i","supplementary variable A","supplementary variable G","supplementary variable L","supplementary variable O","fraction of cohesive sediment of class i, in 1st layer","fraction of cohesive sediment of class i, in 2nd layer","fraction of cohesive sediment of class i, in k layer","porosity of k layer","mass of non cohesive sediment of class i, in 1st layer","mass of non cohesive sediment of class i, in 2nd layer","mass of non cohesive sediment of class i, in k layer","mass of cohesiv], - defaut = ["velocity along x axis (m/s)","velocity along y axis (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","non erodable bottom","bottom evolution (m)"], - fr = """Noms des variables que l''utilisateur veut ecrire dans -le fichier des resultats. -Chaque variable est representee par une lettre. -Le choix des separateurs est libre. Voir CHOIX ci-dessus. - On peut utiliser *, *A* signifie : toutes les fractions""", - ang = """Names of variables the user wants to write -into the graphic results file. -Each variable is represented by a letter. See CHOIX1 above. - One can use *, *A* means all fractions""", - ), -) -# ----------------------------------------------------------------------- -TIME = PROC(nom= "TIME",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_SUB_ITERATIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """permet de realiser des sous iterations au sein de la -boucle en temps (En mode non permananet). -Peut etre utile en non permanent lorsque le -pas de temps qui est donne par le pas de sortie graphique du -FICHIER DE CALCUL PRECEDENT est trop grand.""", - ang = """enable to realize sub-iteration inside a time step -(this key word is not used if the key word VARIABLE TIME-STEP -is set equal to yes). It could be useful for a non steady case -be useful for a non steady case when the time step which is fixed -by the graphic printout period of the HYDRODYNAMIC FILE -is too large.""", - ), -# ----------------------------------- - ORIGINAL_HOUR_OF_TIME = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer l''heure d''origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.""", - ang = """Give the time of the time origin of the model when taking into -account of the tide generator force.""", - ), -# ----------------------------------- - ORIGINAL_DATE_OF_TIME = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer la date d''origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.""", - ang = """Give the date of the time origin of the model when taking into -account the tide generating force.""", - ), -) -# ----------------------------------------------------------------------- -NON_COHESIVE = PROC(nom= "NON_COHESIVE",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - LAYERS_NON_COHESIVE_BED_POROSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.4,0.4], - fr = """la concentration volumique du lit est definie par -CSF= (1-porosite) -Ce parametre est utilise pour les sediments non-cohesifs.""", - ang = """The bed volume concentration CSF=(1-porosity) is used to -calculate the bed evolution of non-cohesive sand transport.""", - ), -# ----------------------------------- - CHARRIAGE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Donne la proportion du debit solide total impose par classe. -Donner un nombre par classe de non-cohesifs""", - ang = """Gives the proportion of the imposed solid discharge for each class. -Give one numbre for each non-cohesive class""", - ), - ), - ), -# ----------------------------------- - BEDLOAD = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MORPHOLOGICAL_FACTOR_ON_TIME_SCALE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Coefficient d''amplification de l''echelle des temps""", - ang = """amplification coefficient of time scale""", - ), -# ----------------------------------- - MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Coefficient d''amplification de l''evolution du lit""", - ang = """amplification coefficient of bed evolution""", - ), -# ----------------------------------- - MINIMUM_DEPTH_FOR_BEDLOAD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-2, - fr = """Suppression des flux de sediment de et vers les points secs""", - ang = """To cancel sediment fluxes to and from dry points""", - ), -# ----------------------------------- - BED_LOAD_FOR_ALL_SANDS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """calcul avec charriage""", - ang = """""", - ), -# ----------------------------------- - BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """10 formules de transport solide sont implementees dans GAIA. -Les formules Ne3, Ne30 et Ne9 ne doivent pas etre utilisees en cas de -couplage avec la suspension. -Les formules Ne4, Ne5, Ne8 and Ne9 calculent le taux de transport sous -l''action combinee de la houle et du courant : - 1 : MEYER-PETER (charriage) - 2 : EINSTEIN-BROWN (charriage) - 3 : ENGELUND-HANSEN + CHOLLET ET CUNGE (VERSION 5.3) - 30: ENGELUND-HANSEN (total) - 4 : BIJKER (charriage + suspension) - 5 : SOULSBY - VAN RIJN (charriage + suspension) - 6 : HUNZIKER (uniquement granulometrie etendue) - DE MASQUAGE DE HUNZIKER APPLIQUEE - et mot-cle HIDING-FACTOR not used - 7 : VAN RIJN (bed load) - 8 : BAILARD (charriage + suspension) - 9 : DIBAJNIA ET WATANABE (total) - 10 : WILCOCK ET CROWE (granulometrie etendue) -L''utilisateur a aussi la possibilite d''imposer une autre formule de -transport solide (sous-programme bedload\_qb\_user.f) en fixant la -valeur du mot cle a 0 : - 0 : IMPOSEE PAR L''UTILISATEUR -Attention : dans ce cas, il n''est pas possible de choisir l''option -PAS DE TEMPS VARIABLE.""", - ang = """10 bed-load or total load transport formulas are implemented in -GAIA. -The formula Ne3, Ne30 and Ne9 should not be used in the case of coupling -with the suspension. -The formula Ne4, Ne5, Ne8 and Ne9 model the transport under the -combined action of currents and waves : - 1 : MEYER-PETER (bed load) - 2 : EINSTEIN-BROWN (bed load) - 3 : ENGELUND-HANSEN + CHOLLET AND CUNGE (VERSION 5.3) - 30: ENGELUND-HANSEN (total) - 4 : BIJKER (bed load + suspension) - 5 : SOULSBY - VAN RIJN (bed load + suspension) - 6 : HUNZIKER (only for sand grading) - IN THIS CASE HIDING FACTOR KEYWORD DISCARDED - And Hunziker formula used - 7 : VAN RIJN (bed load) - 8 : BAILARD (bed load + suspension) - 9 : DIBAJNIA ET WATANABE (total) - 10 : WILCOCK AND CROWE (graded sediment) -Users can also program other formulas (subroutine bedload\_qb\_user.f) -setting this key word to zero : - 0 : FORMULA PROGRAMMED BY USER -Warning : it is not then possible to choose the option -VARIABLE TIME-STEP""", - ), -# ----------------------------------- - B_VALUE_FOR_THE_BIJKER_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2.E0, - fr = """Coefficient b de la formule de Bijker""", - ang = """b value for the Bijker formula""", - ), -# ----------------------------------- - MPM_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 8.0E-00, - fr = """""", - ang = """""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PRESCRIBED_SOLID_DISCHARGES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """ Valeurs des debits solides imposes aux frontieres -liquides entrantes (kg/s). -Une valeur par frontiere liquide""", - ang = """Values of prescribed solid discharges -at the inflow boundaries (kg/s). -One value per liquid boundary""", - ), - ), -# ----------------------------------- - SLOPE_INFLUENCE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FORMULA_FOR_SLOPE_EFFECT = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : formule de Koch et Flokstra, modifie le transport solide - mot cle associe : BETA - 2 : formule de Soulsby, modifie la contrainte seuil, ne peut - donc etre utilisee que avec une formule a seuil. - mot cle associe : ANGLE DE REPOS DU SEDIMENT""", - ang = """1 : formula of Koch et Flokstra, modification of bed load - linked keyword : BETA - 2 : formula of Soulsby, modification critical shear stress, - can only be used with a threshold fomula - linked keyword : FRICTION ANGLE OF THE SEDIMENT""", - ), -# ----------------------------------- - FRICTION_ANGLE_OF_THE_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 40., - fr = """Angle de repos du sediment, intervient pour la prise de compte - de la pente sur la contrainte critique par la formule de Soulsby. -Utiliser si ...=2""", - ang = """Angle of repose of the sediment. Used in the Soulsby formula to -take into account the influence of bed slope on critical shear stress. -Use if ...=2""", - ), -# ----------------------------------- - FORMULA_FOR_DEVIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : Koch et Flokstra - 2 : formule de Talmon et al. 1995, JHR 33(4) formules (1) et -(17) mot cle associe : BETA2""", - ang = """1: Koch and Flokstra - 2: formula of Talmon et al. 1995, JHR 33(4) formulas (1) and -(17) linked keyword : BETA2""", - ), -# ----------------------------------- - PARAMETER_FOR_DEVIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.85, - fr = """Parametre pour la deviation causee par effet de pente - pour la formule de Talmon et al. -Une valeur elevee provoque une faible deviation""", - ang = """Parameter pour la deviation pour la formule de Talmon et al.""", - ), -# ----------------------------------- - SLOPE_EFFECT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Prise en compte de l''effet de pente : -deviation et modification du seuil critique. -NON supprime les mots-cles - POUR EFFET DE PENTE et POUR LA DEVIATION""", - ang = """If yes, slope effect taken into account: -deviation + modification of critical shear stress. -NO will cancel the key-words -FORMULA FOR SLOPE EFFECT and FORMULA FOR DEVIATION""", - ), -# ----------------------------------- - BETA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.3, - fr = """Determine la valeur du coefficient beta qui intervient dans la -formulation de l''effet de pente de Koch et Flokstra.""", - ang = """Specifies the value of the beta coefficient used in the Koch -and Flokstra slope effect formulation.""", - ), - ), - ), -# ----------------------------------- - FRICTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 3.0, - fr = """Ratio pour le calcul du frottement de peau. -rugosite de peau = ratio * diametre moyen. -( pour la granulometrie etendue, le diametre moyen utilise -est une valeur moyenne par noeud calculee a partir de la fraction -et du diametre moyen de chaque sediment en chaque noeud du maillage)""", - ang = """ Ratio for the computation of skin friction. -skin roughness = ratio * mean diameter -(for the mixture of sand, the mean diameter used is a value per node -which is computed thanks to the fraction and the mean diameter of each -sediment for each node of the mesh) -if KSPRATIO =0 : use skin friction prediction from Van Rijn (2007) -for currents and the Wiberg and Harris method for waves""", - ), -# ----------------------------------- - SKIN_FRICTION_CORRECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Correction du frottement pour le transport solide (voir aussi KSPRATIO) -pour faire en sorte que le frottement de peau soit utilisé dans -les formules au lieu du frottement issu de l''hydrodynamique, -qui comprend souvent d''autres effets (surtout en 2D) - 0 : Pas de correction (TAUP= TOB), valide si la rugosite - donnee a TELEMAC est physique - proche de la rugosite de peau - estimee a 3d50 - 1 : Correction pour fond plat (KSP= KSPRATIO * D50) - 2 : Prise en compte des rides""", - ang = """Formula to modify the shear stress in sediment flow rate formulae -so they use the skin bed roughness (see also KSPRATIO) - 0 : No correction (TAUP= TOB), valid if the roughness provided - to TELEMAC is physical - close to the skin roughness, usually - estimated to 3d50 - 1 : Correction for a flat bed (KSP= KSPRATIO * D50) - 2 : Ripple correction factor""", - ), -# ----------------------------------- - ADVANCED = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BED_ROUGHNESS_PREDICTOR_OPTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : Fond plat ks=KSPRATIO D50, -2: Fond ride (methode de Wiberg et Harris), -3: Dunes et megarides (methode de Van Rijn)""", - ang = """1: Flat bed, 2: Rippled bed, -3: Dunes and mega ripples (Method of Van Rijn)""", - ), -# ----------------------------------- - COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Calcul de la rugosite de Nikuradse a l''echelle du sediment -- voir OPTION DU PREDICTEUR DE RUGOSITE -. Elle peut etre -differente de la rugosite utilisee pour l''hydrodynamique -dans les cas avec vagues ou avec une granulometrie variable en -temps et en espace. Le frottement -modifie pourra eventuellement etre envoye a Telemac mais ce n''est -pas encore supporte.""", - ang = """Compute a bed roughness at the sediment scale - see -BED ROUGHNESS PREDICTOR OPTION -. It can be different from -the hydrodynamics roughness due to the action of waves or to -a space-time varying grain size distribution. This roughness -could be sent to Telemac but it is not supported yet.""", - ), - ), - ), -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SETTLING_LAG = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Uses the velocity profile based on the Miles approximation""", - ang = """Uses the velocity profile based on the Miles approximation""", - ), -# ----------------------------------- - SUSPENSION_FOR_ALL_SANDS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active la suspension pour tous les sables. Il n''est pas possible -d''avoir un comportement different entre classe de sable. La vase -est toujours consideree en suspension.""", - ang = """Activate suspension for all the sands in the simulation. It is not -possible to have a different behaviour between sand classes. Mud -is always considered in suspension.""", - ), -# ----------------------------------- - SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Different formules sont proposees pour le calcul de la concentration -d''equilibre: -1 : formule de Zyserman et Fredsoe -2 : methode de Bijker. La concentration au fond - est reliee au taux de transport par charriage -3 : formule de Van Rijn (1987) -4 : formule de Soulsy\_van Rijn""", - ang = """Different choice to compute the equilibrium near-bed concentration -1 : Zysderman and Fredsoe, equilibrium formula -2: Bijker method. The near bed concentration -is related to the bedload . This option cannot be used -without bedload transport -3: Van Rijn formula -4: Soulsby\_van Rijn formula""", - ), - ), -# ----------------------------------- - BED_MATERIAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ACTIVE_LAYER_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [10000.], - fr = """Epaisseur de reference pour la stratification du lit. La -composition de la premiere couche sert a calculer le transport -solide. Utiliser une tres grande valeur pour ne pas avoir de -stratification.""", - ang = """Thickness for bed stratification. Composition of first -layer is used to compute bed load transport rate. If you do not want -a stratification, use a large value""", - ), -# ----------------------------------- - HIDING_FACTOR_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """4 formules pour le hiding factor sont programmees dans GAIA - 0: const => il faut donner le HIDING FACTOR PAR CLASSE - 1: Egiazaroff - 2: Ashida \& Michiue - : - 4: Karim, Holly \& Yang""", - ang = """4 hiding factor formulas are implemented in GAIA - 0: const => need to give CLASSES HIDING FACTOR - 1: Egiazaroff - 2: Ashida \& Michiue - : - 4: Karim, Holly \& Yang""", - ), -# ----------------------------------- - CONSTANT_ACTIVE_LAYER_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """epaisseur de couche active constante ou non""", - ang = """constant active layer thickness or not""", - ), -# ----------------------------------- - D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [.01], - fr = """Fixe la valeur de D90 pour des simulations avec une - seule classe de sable. Pour des simulations avec plusieurs - classes de sable, D90 est calcule par GAIA.""", - ang = """Sets the value of diameter d90 for simulations with one sand class. - With multiple sand classes, D90 is computed by GAIA.""", - ), - ), -# ----------------------------------- - BED_STRUCTURE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ADVANCED = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SEDIMENT_SLIDE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte de la pente d''equilibre du sable donnee par le -mot-cle ANGLE DE FROTTEMENT DU SEDIMENT""", - ang = """If yes, the key-word FRICTION ANGLE OF THE SEDIMENT is taken -into account for slope stability""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -INITIAL_CONDITION = PROC(nom= "INITIAL_CONDITION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SETTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.,0.], - fr = """Fixe les valeurs initiales de concentration des sediments en -suspension.""", - ang = """Sets the initial values of suspended sediment concentration.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -BOUNDARY_CONDITIONS = PROC(nom= "BOUNDARY_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SETTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', max='**', - fr = """Valeurs de concentration des sediment en suspension imposees aux -frontieres liquides entrantes. Les valeurs sont imposees a la premiere -frontiere, puis la deuxieme etc. suivant la meme logique que pour les -traceurs.""", - ang = """Suspended sediment concentration values prescribed at the inflow -boundaries. Determines the imposed value of sediments at the first -boundary, then at the second and so on, with the same logic as tracers.""", - ), -# ----------------------------------- - VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["User defined","Constant","Constant or Rouse if sediment", "Normalized Rouse profile and imposed conc", "Modified Rouse profile accounting for molecular viscosity"], - fr = """Permet de specifier le type de profil de concentration des -sediments sur la verticale (uniquement pour des simulations 3D). -Les choix possibles sont : -\begin{itemize} -\item 0 : Programmation utilisateur ; -\item 1 : Constant ; -\item 2 : Rouse equilibrium concentration ; -\item 3 : Rouse (normalise) et concentration imposee. -\item 4 : Rouse modifie avec viscosite moleculaire. -\end{itemize}""", - ang = """Specifies the type of profiles of sediment concentration on the -vertical (only for 3D simulations). Possible choices are: -\begin{itemize} -\item 0: user defined, -\item 1: constant, -\item 2: Rouse equilibrium, constant (diluted sediment) -or Rouse (sediment), -\item 3: Rouse (normalized) and imposed concentration. -\item 4: Rouse modified with molecular viscosity. -\end{itemize}""", - ), -# ----------------------------------- - SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des sediments en suspension a chacune des sources. -toutes les sources pour le premier sediment -puis toutes les sources du deuxieme sediment, etc. -Par exemple, s''il y a 3 sediments en suspension (SED1, SED2 et SED3) -et 2 sources (S1 et S2), la syntaxe suivante est utilisee :\\ -S1\_SED1;S1\_SED2;S1\_SED3;S2\_SED1;S2\_SED2;S2\_SED3\\ -10.0; 10.0; 0.0; 0.0; 10.0; 10.0""", - ang = """Values of the suspended sediments at the sources. -All sources for the first suspended sediment, then -all sources for the second suspended sediment, etc. -For example, if there are 3 suspended sediments (SED1, SED2 and SED3) -and 2 sources (S1 and S2), the following syntax is used:\\ -S1\_SED1;S1\_SED2;S1\_SED3;S2\_SED1;S2\_SED2;S2\_SED3\\ -10.0; 10.0; 0.0; 0.0; 10.0; 10.0""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom= "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [50], - fr = """Seulement pour le charriage elements finis. -Parametres de positive\_depths. -Ancienne valeur par defaut = 10 jusqu en version 8.1.""", - ang = """Only for bedload in finite elements. -Parameter for positive\_depths. -Old default value = 10 until release 8.1.""", - ), -# ----------------------------------- - BEDLOAD = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - UPWINDING_FOR_BEDLOAD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.5E0, - fr = """Parametre pour la résolution VF de equation d Exner, -0.5 = Centre (precis), 1 = Decentrage amont (stable car diffusif)""", - ang = """Parameter for FV solving the Exner equation, -0.5 = Centered (precise), 1 = Upwind (stable because diffusive)""", - ), - ), -# ----------------------------------- - ADVECTION_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO ADVECTION","CHARACTERISTICS","EXPLICIT + SUPG","EXPLICIT LEO POSTMA","EXPLICIT + MURD SCHEME N","EXPLICIT + MURD SCHEME PSI","N-SCHEME FOR TIDAL FLATS","N-SCHEME FOR TIDAL FLATS","ERIA SCHEME - ONLY IN 2D"], - defaut = "EXPLICIT + MURD SCHEME PSI", - fr = """Choix du schema de convection pour les sediments en suspension, -ERIA fonctionne uniquement en 2D. A donner en suivant l''ordre -des sediments en suspension""", - ang = """Choice of the advection scheme for the suspended sediments, -ERIA works only in 3D. The order of the chosen scheme must follow -the order of the suspended sediments.""", - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 4, - fr = """Si schema PSI ou N : 1=explicite 2=predicteur-correcteur -3=predicteur-correcteur deuxieme ordre en temps -4=implicite""", - ang = """If N or PSI SCHEME: 1=explicit 2=predictor-corrector -3= predictor-corrector second-order in time 4= implicit""", - ), - ), - ), -# ----------------------------------- - SOLVER = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["NO DIFFUSION","IMPLICIT","VERTICAL DIFFUSION ONLY"], - defaut = "IMPLICIT", - fr = """Permet de specifier si l''on utilise ou non la diffusion -des sediments pour des simulations 3d. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de diffusion, -\item 1 : implicite; -\item 2 : diffusion verticale seulement. -\end{itemize}""", - ang = """Monitors the choice of the diffusion scheme -for sediments in 3D simulations. -Possible choices are: -\begin{itemize} -\item 0: no diffusion, -\item 1: implicit, -\item 2: vertical diffusion only. -\end{itemize}""", - ), -# ----------------------------------- - SOLVER_FOR_DIFFUSION_OF_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - defaut = ["conjugate gradient"], - fr = """Permet de choisir le solveur utilise pour la resolution de -la suspension. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize}""", - ang = """Choice of the solver for suspension resolution. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize}""", - ), -# ----------------------------------- - SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7).""", - ang = """Dimension of Krylov space for the GMRES method (7).""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 60, - fr = """Limite le nombre d''iterations du solveur a chaque pas -de temps pour le calcul de la diffusion de la suspension.""", - ang = """Limits the number of solver iterations for the diffusion of -sediments.""", - ), -# ----------------------------------- - ACCURACY_FOR_DIFFUSION_OF_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-8], - fr = """Fixe la precision demandee pour le calcul de la diffusion -de la suspension. Une seule valeur est acceptee pour tous les -solveurs.""", - ang = """Sets the accuracy needed for the computation of -the diffusion of suspension. It is not possible to set different -values for different solvers, only one is accepted.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme relatif -a la diffusion de la suspension. Les choix possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee en 3D; -\item 5 : diagonal avec valeurs absolues en 3D ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE en 3D; -\item 13 : matrice fournie par l''utilisateur en 3D ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale en 3D; -\item 21 : diagonal condensee et Crout en 3D; -\item 34 : diagonal et solveur direct sur la verticale en 3D. -\end{itemize}""", - ang = """Choice of preconditioning for the diffusion of sediments. -Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix in 3D, -\item 5: diagonal with absolute values in 3D, -\item 7: Crout, -\item 11: Gauss-Seidel EBE in 3D, -\item 13: matrix defined by the user in 3D, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical in 3D, -\item 21: diagonal condensed and Crout in 3D, -\item 34: diagonal and direct solver on the vertical in 3D. -\end{itemize}""", - ), - ), - ), -# ----------------------------------- - AUTOMATIC_DIFFERENTIATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - AD_NUMBER_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Definit le nombre de derivees utilisateurs, dans le cadre -de la differentiation algorithmique.""", - ang = """Defines the number of user derivatives, within the framework -of the algorithmic differentiation.""", - ), -# ----------------------------------- - AD_NAMES_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des derivees utilisateurs en 32 caracteres, - 16 pour le nom, 16 pour l''unite""", - ang = """Name of user derivatives in 32 characters, - 16 for the name, 16 for the unit.""", - ), -# ----------------------------------- - AD_NUMBER_OF_DIRECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Definit le nombre de directions de differentiateurs.""", - ang = """Defines the number of directions for the differentiators""", - ), -# ----------------------------------- - AD_SYMBOLIC_LINEAR_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet le solveur lineaire symbolique pour l AD.""", - ang = """Enables the symbolic linear solver for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_RESET_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Remet a zero les derivees pour l AD.""", - ang = """Resets the derivatives for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Solveur lineaire iteratif : test de convergence des derivees -pour l AD.""", - ang = """Iterative linear solvers: derivative convergence test for AD.""", - ), - ), -) -# ----------------------------------------------------------------------- -SEDIMENT_INFO = PROC(nom= "SEDIMENT_INFO",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SETTLING_VELOCITY = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Choix de schema vertical pour la diffusion et le depot du -sediment (uniquement pour le 3D): -\begin{itemize} -\item 0 : Diffusion implicite ; -\item 1 : Schema implicite de convection-diffusion -(tridiagonal matrix solver) ; -\item 2 : Convection faible \telfile{sed\_fall.f} -\end{itemize}""", - ang = """Choice of the vertical scheme for diffusion and settling of -sediment (only in 3D): -\begin{itemize} -\item 0: Implicit-diffusion scheme, -\item 1: Implicit-convection scheme (Tridiagonal matrix solver), -\item 2: \telfile{set\_fall.f} -\end{itemize}""", - ), - ), -) -# ----------------------------------------------------------------------- -COHESIVE = PROC(nom= "COHESIVE",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.5,1.], - fr = """Taux critique d erosion de la vase needs to be defined - for each layer (N par m2)""", - ang = """Critical erosion shear stress of the mud per layer (N per m2)""", - ), - ), - ), -# ----------------------------------- - SETTLING_VELOCITY = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - HINDERED_SETTLING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide si la formulation entravee doit etre utilisee -pour calculer la vitesse de chute de la vase.""", - ang = """Decides if hindered formulation is to be used to -compute settling velocity for mud.""", - ), -# ----------------------------------- - HINDERED_SETTLING_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Type de vitesse de chute entravee : -\begin{itemize} -\item 1 : Whitehouse et al. (2000) - fonctionne ; -\item 2 : Winterwerp (1999) - ne fonctionne pas actuellement. -\end{itemize}""", - ang = """Type of hindered settling: -\begin{itemize} -\item 1: Whitehouse et al. (2000) - working, -\item 2: Winterwerp (1999) - not currently working. -\end{itemize}""", - ), -# ----------------------------------- - WEAK_SOIL_CONCENTRATION_FOR_MUD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.0, - fr = """Concentration limite en kg/m$^3$ au-dela de laquelle -la couche de vase fluide devient solide. -Cette valeur est demandee lorsque -\telkey{VITESSE DE CHUTE ENTRAVEE} = OUI.""", - ang = """The sediment concentration at which sediment -forms a weak soil in kg/m$^3$. These values are needed when -\telkey{HINDERED SETTLING} = YES.""", - ), -# ----------------------------------- - THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.0, - fr = """Concentration de sediment a laquelle la chute entravee est -initiee. Ces valeurs sont necessaires lorsque -\telkey{VITESSE DE CHUTE ENTRAVEE} = OUI.""", - ang = """The sediment concentration at which hindered settling is -initiated. These values are needed when -\telkey{HINDERED SETTLING} = YES.""", - ), -# ----------------------------------- - FLOCCULATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide si la formulation entravee doit etre utilisee -pour calculer la vitesse de chute pour la vase.""", - ang = """Decides if hindered formulation is to be used to -compute settling velocity for mud.""", - ), -# ----------------------------------- - FLOCCULATION_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Formule pour floculation : -\begin{itemize} -\item 1: Van Leussen ; -\item 2: Soulsby et al. (2013). -\end{itemize}""", - ang = """Type of flocculation formula: -\begin{itemize} -\item 1: Van Leussen, -\item 2: Soulsby et al. (2013). -\end{itemize}""", - ), -# ----------------------------------- - FLOCCULATION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.3, - fr = """Coefficient intervenant dans la modelisation de l''influence de -la turbulence sur la floculation, il intervient plus precisement dans -le terme de formation des flocs par les contraintes turbulentes -(coefficient $a$ de la formule de Van Leussen). -Valeur a imposer si -\telkey{INFLUENCE DE LA TURBULENCE SUR LA VITESSE DE CHUTE} -= OUI.""", - ang = """When the influence of turbulence on the settling velocity -is modelled, this coefficient traduces the formation of flocs by -turbulence (coefficient $a$ of Van Leussen formula). -Value to be imposed if -\telkey{INFLUENCE OF TURBULENCE ON SETTLING VELOCITY} = YES.""", - ), -# ----------------------------------- - COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.09, - fr = """Coefficient intervenant dans la modelisation de l''influence de -la turbulence sur la floculation, il intervient plus precisement dans -le terme de destruction des flocs par les contraintes turbulentes -(coefficient $b$ de la formulede Van Leussen). -Valeur a imposer si -\telkey{INFLUENCE DE LA TURBULENCE SUR LA VITESSE DE CHUTE} -= OUI.""", - ang = """When the influence of turbulence on the settling velocity -is modelled, this coefficient traduces the breaking of flocs by -turbulence (coefficient $b$ of Van Leussen formula). -Value to be imposed if -\telkey{INFLUENCE OF TURBULENCE ON SETTLING VELOCITY} = YES.""", - ), - ), -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [1000.,1000.], - fr = """Contrainte critique de depot (Pa)""", - ang = """Critical shear stress for deposition (Pa)""", - ), -# ----------------------------------- - LAYERS_PARTHENIADES_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [1.E-3,1.E-3], - fr = """constante de la loi d''erosion de la vase (Kg/m2/s)""", - ang = """constant of the Krone and Partheniades erosion law (Kg/m2/s)""", - ), - ), -# ----------------------------------- - BED_STRUCTURE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LAYERS_MUD_CONCENTRATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Concentration du lit de vase en g/ l - defini par couches""", - ang = """Concentrations of the mud-bed in g per l (per layer)""", - ), - ), - ), -# ----------------------------------- - CONSOLIDATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Structure verticale du lit cohesif- le nombre de couche doit - etre inferieur a 10""", - ang = """Vertical bed structure - The number of layers should be less - than 10""", - ), -# ----------------------------------- - LAYERS_MASS_TRANSFER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Coefficients de transfert de masse du modele -de tassement multicouche en s-1""", - ang = """Mass transfert coefficients of -the multilayer consolidation model in s-1""", - ), - ), -) -# ----------------------------------------------------------------------- -NUMERICAL = PROC(nom= "NUMERICAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-10, - fr = """Fixe le zero de GAIA utilise pour les clippings.""", - ang = """Sets the zero of GAIA used for clipping values.""", - ), -# ----------------------------------- - FINITE_VOLUMES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Methodes volumes finis ou pas""", - ang = """Set finite volumes method or not""", - ), -# ----------------------------------- - MATRIX_VECTOR_PRODUCT = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """""", - ang = """""", - ), -# ----------------------------------- - MATRIX_STORAGE = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """""", - ang = """""", - ), -) -# ----------------------------------------------------------------------- -PHYSICS = PROC(nom= "PHYSICS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - CLASSES_SEDIMENT_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [2650.,2650.], - fr = """Fixe la valeur de la masse volumique du sediment par classe en Kg/m3""", - ang = """Sets the value of the sediment density for each class en Kg/m3""", - ), -# ----------------------------------- - WATER_VISCOSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Definit la viscosite cinematique de l''eau. - M/S2""", - ang = """Specifies the water kinematic viscosity. - M/S2""", - ), -) -# ----------------------------------------------------------------------- -SUSPENSION = PROC(nom= "SUSPENSION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - CORRECTION_ON_CONVECTION_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Modification du champ convecteur 2D pour prise en compte du -gradient vertical de vitesse et concentration""", - ang = """Modification of 2D convection velocities to account for -velocity and concentration profiles""", - ), -# ----------------------------------- - THETA_IMPLICITATION_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """facteur implicitation du terme de depot et de la diffusion. - si teta =0, tout le terme de depot est traite de maniere explicite. - Valide seulement pour le modèle 2D.""", - ang = """ implicitation factor for the deposition flux and the diffusion. - for teta =0, the deposition flux is only explicit. - Only valid for the 2D model.""", - ), -# ----------------------------------- - TURBULENCE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [1.E-6], - fr = """Fixe la valeur du coefficient de diffusion des sediments en -suspension en 2D. -L''influence de ce parametre sur l''evolution des sediments dans -le temps est importante. C'' est un scalaire (une seule valeur pour -tous les sediments.""", - ang = """Sets the value of the suspended sediments diffusivity in 2D. -This value may have a significant effect on the evolution of -sediments in time. It is a scalar (one value for all sediments).""", - ), -# ----------------------------------- - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe les valeurs de coefficients de diffusion horizontal des -sediments, en 3D. L''influence de ce parametre sur l''evolution des -sediments dans le temps est importante. -C'' est un tableau avec une valeur par sediment en suspension, - separation par un point virgule.""", - ang = """Sets the values of the horizontal diffusion of sediments in 3D. -These values may have a significant effect on the evolution of -sediments in time. -It is an array, with one value per suspended sediment, separated by - semicolons.""", - ), - ), -) -# ----------------------------------------------------------------------- -SUSPENSIONS = PROC(nom= "SUSPENSIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - TURBULENCE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe les valeurs de coefficients de diffusion vertical des -sediments, en 3D. L''influence de ce parametre sur l''evolution des - sediments dans le temps est importante. -C'' est un tableau avec une valeur par sediemnts en suspension, -separation par un point virgule.""", - ang = """Sets the values of the vertical diffusion of sediments in 3D. -These values may have a significant effect on the evolution of -sediments in time. -It is an array, with one value per suspended sediment, separated by - semicolons.""", - ), - ), -) -# ----------------------------------------------------------------------- -SEDIMENTOLOGY = PROC(nom= "SEDIMENTOLOGY",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GENERAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SECONDARY_CURRENTS_ALPHA_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.0E-00, - fr = """(-)""", - ang = """Alpha coefficient of secondary current(-), -Should be chosen between 0.75 (rough bottom) and 1 (smooth bottom)""", - ), - ), -) -# ----------------------------------------------------------------------- -BED_MATERIAL = PROC(nom= "BED_MATERIAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - C_VSM = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VERTICAL_GRAIN_SORTING_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """(-)""", - ang = """Defines the model of the vertical grain sorting: - 0 = HR-VSM = Layer Model (Classic Hirano / Ribberink approach) - 1 = C-VSM (Continous Vertical Grain Sorting Model)""", - ), -# ----------------------------------- - C_VSM_MAXIMUM_SECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [200], - fr = """(-)""", - ang = """Defines the maximum discretisation of the - Continous Vertical Sorting Model: - Should be bigger than 8xNumber of Fractions. - The bigger the higher the RAM requirements, - but the faster and accurater the - bookkeeping of the sediments.""", - ), -# ----------------------------------- - C_VSM_FULL_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """(-)""", - ang = """Number of Timesteps to next printout - of the full C-VSM. These printouts are highly - time and disc consuming. - 0 = Coupled to GRAPHIC PRINTOUT PERIOD - >0 = Own printout period for the C-VSM""", - ), -# ----------------------------------- - C_VSM_PRINTOUT_SELECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=13, max=13, - defaut = '0;0;0;0;0;0;0;0;0;0;0;0;0', - fr = """(-)""", - ang = """Printout the C-VSM for the whole model as 3D - \telkey{C-VSM RESULTS FILE} - or / and for some nodes as - \telkey{C-VSM NODE FILE} - Give Up to 100 INTEGER numbers separated by ";" - 0 = Full model .-> VSPRES - N = 1,2...NPOINT; 2D-ID of a SELFIN MESH POINT ->*\_VSP.CSV""", - ), -# ----------------------------------- - ACTIVE_LAYER_THICKNESS_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """(-)""", - ang = """MODEL FOR ACTIVE LAYER THICKNESS - 0 = ELAY0 (Keyword: ACTIVE LAYER THICKNESS) - 1 = Hunziker \& G$\ddot{u}$nther - 2 = Fredsoe \& Deigaard (1992) - 3 = van RIJN (1993) - 4 = Wong (2006) - 5 = Malcherek (2003) - 6 = $3*d50$ within last time steps ALT""", - ), - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -GENERAL_PARAMETERS();\ -HYDRODYNAMICS();\ -MISCELLANEOUS();\ -GENERAL();\ -COHESIVE_AND_NON_COHESIVE();\ -BED_STRUCTURE();\ -USELESS();\ -INPUT_OUTPUT__FILES();\ -RESULTS();\ -DATA_FILES();\ -INITIAL_CONDITIONS();\ -INPUT_OUTPUT__GRAPHICS_AND_LISTING();\ -TIME();\ -NON_COHESIVE();\ -INITIAL_CONDITION();\ -BOUNDARY_CONDITIONS();\ -NUMERICAL_PARAMETERS();\ -SEDIMENT_INFO();\ -COHESIVE();\ -NUMERICAL();\ -PHYSICS();\ -SUSPENSION();\ -SUSPENSIONS();\ -SEDIMENTOLOGY();\ -BED_MATERIAL();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'INTERNAL', -'GENERAL_PARAMETERS', -'HYDRODYNAMICS', -'MISCELLANEOUS', -'GENERAL', -'COHESIVE_AND_NON_COHESIVE', -'BED_STRUCTURE', -'USELESS', -'INPUT_OUTPUT__FILES', -'RESULTS', -'DATA_FILES', -'INITIAL_CONDITIONS', -'INPUT_OUTPUT__GRAPHICS_AND_LISTING', -'TIME', -'NON_COHESIVE', -'INITIAL_CONDITION', -'BOUNDARY_CONDITIONS', -'NUMERICAL_PARAMETERS', -'SEDIMENT_INFO', -'COHESIVE', -'NUMERICAL', -'PHYSICS', -'SUSPENSION', -'SUSPENSIONS', -'SEDIMENTOLOGY', -'BED_MATERIAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.gaia_enum_auto' -dicoCasEn = source+'.gaia_dicoCasEnToCata' -dicoCasFr = source+'.gaia_dicoCasFrToCata' diff --git a/Telemac/gaia_dicoCasEnToCata.py b/Telemac/gaia_dicoCasEnToCata.py deleted file mode 100644 index 5a0addd1..00000000 --- a/Telemac/gaia_dicoCasEnToCata.py +++ /dev/null @@ -1,292 +0,0 @@ -dicoCataToEngTelemac = { - "TITLE" : "TITLE", - "RELEASE" : "RELEASE", - "DICTIONARY" : "DICTIONARY", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "VALIDATION" : "VALIDATION", - "NUMBER_OF_PRIVATE_ARRAYS" : "NUMBER OF PRIVATE ARRAYS", - "ORIGIN_COORDINATES" : "ORIGIN COORDINATES", - "DEBUGGER" : "DEBUGGER", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION FOR THE TREATMENT OF TIDAL FLATS", - "NESTOR" : "NESTOR", - "NESTOR_ACTION_FILE" : "NESTOR ACTION FILE", - "NESTOR_POLYGON_FILE" : "NESTOR POLYGON FILE", - "NESTOR_RESTART_FILE" : "NESTOR RESTART FILE", - "NESTOR_SURFACE_REFERENCE_FILE" : "NESTOR SURFACE REFERENCE FILE", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "MAXIMUM NUMBER OF BOUNDARIES", - "FLUXLINE_INPUT_FILE" : "FLUXLINE INPUT FILE", - "FLUXLINE" : "FLUXLINE", - "CONTROL_SECTIONS" : "CONTROL SECTIONS", - "CLASSES_SHIELDS_PARAMETERS" : "CLASSES SHIELDS PARAMETERS", - "MINIMAL_VALUE_OF_THE_WATER_HEIGHT" : "MINIMAL VALUE OF THE WATER HEIGHT", - "TIDAL_FLATS" : "TIDAL FLATS", - "SECONDARY_CURRENTS" : "SECONDARY CURRENTS", - "SECONDARY_CURRENTS_FILE" : "SECONDARY CURRENTS FILE", - "NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION" : "NUMBER OF LAYERS FOR INITIAL STRATIFICATION", - "EFFECT_OF_WAVES" : "EFFECT OF WAVES", - "TYPE_OF_WAVES" : "TYPE OF WAVES", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "STEERING_FILE" : "STEERING FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "NAMES_OF_PRIVATE_VARIABLES" : "NAMES OF PRIVATE VARIABLES", - "BEDLOAD_BOUNDARIES_FILE" : "BEDLOAD BOUNDARIES FILE", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "RESULTS_FILE" : "RESULTS FILE", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES TO BE PRINTED", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "MASS_BALANCE" : "MASS-BALANCE", - "SECTIONS_OUTPUT_FILE" : "SECTIONS OUTPUT FILE", - "C_VSM_RESULTS_FILE" : "C-VSM RESULTS FILE", - "C_VSM_RESULTS_FILE_FORMAT" : "C-VSM RESULTS FILE FORMAT", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "WAVE_FILE_FORMAT" : "WAVE FILE FORMAT", - "FORTRAN_FILE" : "FORTRAN FILE", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "WAVE_FILE" : "WAVE FILE", - "REFERENCE_FILE" : "REFERENCE FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "SECTIONS_INPUT_FILE" : "SECTIONS INPUT FILE", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT" : "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE FORMAT", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE" : "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE", - "COMPUTATION_CONTINUED" : "COMPUTATION CONTINUED", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES FOR GRAPHIC PRINTOUTS", - "NUMBER_OF_SUB_ITERATIONS" : "NUMBER OF SUB-ITERATIONS", - "ORIGINAL_HOUR_OF_TIME" : "ORIGINAL HOUR OF TIME", - "ORIGINAL_DATE_OF_TIME" : "ORIGINAL DATE OF TIME", - "PRESCRIBED_SOLID_DISCHARGES" : "PRESCRIBED SOLID DISCHARGES", - "CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION" : "CLASSES IMPOSED SOLID DISCHARGES DISTRIBUTION", - "INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES" : "INITIAL SUSPENDED SEDIMENTS CONCENTRATION VALUES", - "PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES" : "PRESCRIBED SUSPENDED SEDIMENTS CONCENTRATION VALUES", - "VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS" : "VERTICAL PROFILES OF SUSPENDED SEDIMENTS", - "SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES" : "SUSPENDED SEDIMENTS CONCENTRATION VALUES AT THE SOURCES", - "SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS" : "SCHEME FOR ADVECTION OF SUSPENDED SEDIMENTS", - "SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS" : "SCHEME OPTION FOR ADVECTION OF SUSPENDED SEDIMENTS", - "SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D" : "SCHEME FOR DIFFUSION OF SUSPENDED SEDIMENTS IN 3D", - "SOLVER_FOR_DIFFUSION_OF_SUSPENSION" : "SOLVER FOR DIFFUSION OF SUSPENSION", - "SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION" : "SOLVER OPTION FOR DIFFUSION OF SUSPENSION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION" : "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER FOR SUSPENSION", - "ACCURACY_FOR_DIFFUSION_OF_SUSPENSION" : "ACCURACY FOR DIFFUSION OF SUSPENSION", - "PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION" : "PRECONDITIONING FOR DIFFUSION OF SUSPENSION", - "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY" : "ADVECTION-DIFFUSION SCHEME WITH SETTLING VELOCITY", - "HINDERED_SETTLING" : "HINDERED SETTLING", - "HINDERED_SETTLING_FORMULA" : "HINDERED SETTLING FORMULA", - "WEAK_SOIL_CONCENTRATION_FOR_MUD" : "WEAK SOIL CONCENTRATION FOR MUD", - "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING" : "THRESHOLD CONCENTRATION FOR HINDERED SETTLING", - "FLOCCULATION" : "FLOCCULATION", - "FLOCCULATION_FORMULA" : "FLOCCULATION FORMULA", - "FLOCCULATION_COEFFICIENT" : "FLOCCULATION COEFFICIENT", - "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION" : "COEFFICIENT RELATIVE TO FLOC DESTRUCTION", - "ZERO" : "ZERO", - "FINITE_VOLUMES" : "FINITE VOLUMES", - "MATRIX_VECTOR_PRODUCT" : "MATRIX-VECTOR PRODUCT", - "MATRIX_STORAGE" : "MATRIX STORAGE", - "UPWINDING_FOR_BEDLOAD" : "UPWINDING FOR BEDLOAD", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS" : "MAXIMUM NUMBER OF ITERATIONS FOR POSITIVE THICKNESS", - "BED_ROUGHNESS_PREDICTOR_OPTION" : "BED ROUGHNESS PREDICTOR OPTION", - "AD_NUMBER_OF_DERIVATIVES" : "AD NUMBER OF DERIVATIVES", - "AD_NAMES_OF_DERIVATIVES" : "AD NAMES OF DERIVATIVES", - "AD_NUMBER_OF_DIRECTIONS" : "AD NUMBER OF DIRECTIONS", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SYMBOLIC LINEAR SOLVER", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD LINEAR SOLVER RESET DERIVATIVES", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD LINEAR SOLVER DERIVATIVE CONVERGENCE", - "CLASSES_SEDIMENT_DENSITY" : "CLASSES SEDIMENT DENSITY", - "LAYERS_NON_COHESIVE_BED_POROSITY" : "LAYERS NON COHESIVE BED POROSITY", - "WATER_VISCOSITY" : "WATER VISCOSITY", - "SETTLING_LAG" : "SETTLING LAG", - "CLASSES_SETTLING_VELOCITIES" : "CLASSES SETTLING VELOCITIES", - "SUSPENSION_FOR_ALL_SANDS" : "SUSPENSION FOR ALL SANDS", - "EQUILIBRIUM_INFLOW_CONCENTRATION" : "EQUILIBRIUM INFLOW CONCENTRATION", - "SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS" : "SUSPENSION TRANSPORT FORMULA FOR ALL SANDS", - "CORRECTION_ON_CONVECTION_VELOCITY" : "CORRECTION ON CONVECTION VELOCITY", - "THETA_IMPLICITATION_FOR_SUSPENSION" : "THETA IMPLICITATION FOR SUSPENSION", - "CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION" : "CLASSES CRITICAL SHEAR STRESS FOR MUD DEPOSITION", - "LAYERS_PARTHENIADES_CONSTANT" : "LAYERS PARTHENIADES CONSTANT", - "COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS" : "COEFFICIENT FOR DIFFUSION OF SUSPENDED SEDIMENTS", - "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS" : "COEFFICIENT FOR HORIZONTAL DIFFUSION OF SUSPENDED SEDIMENTS", - "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS" : "COEFFICIENT FOR VERTICAL DIFFUSION OF SUSPENDED SEDIMENTS", - "CLASSES_SEDIMENT_DIAMETERS" : "CLASSES SEDIMENT DIAMETERS", - "CLASSES_HIDING_FACTOR" : "CLASSES HIDING FACTOR", - "CLASSES_INITIAL_FRACTION" : "CLASSES INITIAL FRACTION", - "ACTIVE_LAYER_THICKNESS" : "ACTIVE LAYER THICKNESS", - "HIDING_FACTOR_FORMULA" : "HIDING FACTOR FORMULA", - "CONSTANT_ACTIVE_LAYER_THICKNESS" : "CONSTANT ACTIVE LAYER THICKNESS", - "LAYERS_INITIAL_THICKNESS" : "LAYERS INITIAL THICKNESS", - "D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS" : "D90 SAND DIAMETER FOR ONLY ONE CLASS", - "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER" : "RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER", - "SKIN_FRICTION_CORRECTION" : "SKIN FRICTION CORRECTION", - "FORMULA_FOR_SLOPE_EFFECT" : "FORMULA FOR SLOPE EFFECT", - "FRICTION_ANGLE_OF_THE_SEDIMENT" : "FRICTION ANGLE OF THE SEDIMENT", - "FORMULA_FOR_DEVIATION" : "FORMULA FOR DEVIATION", - "PARAMETER_FOR_DEVIATION" : "PARAMETER FOR DEVIATION", - "SEDIMENT_SLIDE" : "SEDIMENT SLIDE", - "SLOPE_EFFECT" : "SLOPE EFFECT", - "BETA" : "BETA", - "COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE" : "COMPUTE BED ROUGHNESS AT SEDIMENT SCALE", - "SECONDARY_CURRENTS_ALPHA_COEFFICIENT" : "SECONDARY CURRENTS ALPHA COEFFICIENT", - "MORPHOLOGICAL_FACTOR_ON_TIME_SCALE" : "MORPHOLOGICAL FACTOR ON TIME SCALE", - "MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION" : "MORPHOLOGICAL FACTOR ON BED EVOLUTION", - "MINIMUM_DEPTH_FOR_BEDLOAD" : "MINIMUM DEPTH FOR BEDLOAD", - "BED_LOAD_FOR_ALL_SANDS" : "BED LOAD FOR ALL SANDS", - "BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS" : "BED-LOAD TRANSPORT FORMULA FOR ALL SANDS", - "B_VALUE_FOR_THE_BIJKER_FORMULA" : "B VALUE FOR THE BIJKER FORMULA", - "MPM_COEFFICIENT" : "MPM COEFFICIENT", - "BED_MODEL" : "BED MODEL", - "CLASSES_TYPE_OF_SEDIMENT" : "CLASSES TYPE OF SEDIMENT", - "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL" : "NUMBER OF LAYERS OF THE CONSOLIDATION MODEL", - "LAYERS_MASS_TRANSFER" : "LAYERS MASS TRANSFER", - "LAYERS_MUD_CONCENTRATION" : "LAYERS MUD CONCENTRATION", - "LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD" : "LAYERS CRITICAL EROSION SHEAR STRESS OF THE MUD", - "VERTICAL_GRAIN_SORTING_MODEL" : "VERTICAL GRAIN SORTING MODEL", - "C_VSM_MAXIMUM_SECTIONS" : "C-VSM MAXIMUM SECTIONS", - "C_VSM_FULL_PRINTOUT_PERIOD" : "C-VSM FULL PRINTOUT PERIOD", - "C_VSM_PRINTOUT_SELECTION" : "C-VSM PRINTOUT SELECTION", - "ACTIVE_LAYER_THICKNESS_FORMULA" : "ACTIVE LAYER THICKNESS FORMULA", -} -dicoCasEnToCata = { - "TITLE" : "TITLE", - "RELEASE" : "RELEASE", - "DICTIONARY" : "DICTIONARY", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "VALIDATION" : "VALIDATION", - "NUMBER OF PRIVATE ARRAYS" : "NUMBER_OF_PRIVATE_ARRAYS", - "ORIGIN COORDINATES" : "ORIGIN_COORDINATES", - "DEBUGGER" : "DEBUGGER", - "OPTION FOR THE TREATMENT OF TIDAL FLATS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "NESTOR" : "NESTOR", - "NESTOR ACTION FILE" : "NESTOR_ACTION_FILE", - "NESTOR POLYGON FILE" : "NESTOR_POLYGON_FILE", - "NESTOR RESTART FILE" : "NESTOR_RESTART_FILE", - "NESTOR SURFACE REFERENCE FILE" : "NESTOR_SURFACE_REFERENCE_FILE", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "MAXIMUM NUMBER OF BOUNDARIES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "FLUXLINE INPUT FILE" : "FLUXLINE_INPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "CONTROL SECTIONS" : "CONTROL_SECTIONS", - "CLASSES SHIELDS PARAMETERS" : "CLASSES_SHIELDS_PARAMETERS", - "MINIMAL VALUE OF THE WATER HEIGHT" : "MINIMAL_VALUE_OF_THE_WATER_HEIGHT", - "TIDAL FLATS" : "TIDAL_FLATS", - "SECONDARY CURRENTS" : "SECONDARY_CURRENTS", - "SECONDARY CURRENTS FILE" : "SECONDARY_CURRENTS_FILE", - "NUMBER OF LAYERS FOR INITIAL STRATIFICATION" : "NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION", - "EFFECT OF WAVES" : "EFFECT_OF_WAVES", - "TYPE OF WAVES" : "TYPE_OF_WAVES", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "STEERING FILE" : "STEERING_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "NAMES OF PRIVATE VARIABLES" : "NAMES_OF_PRIVATE_VARIABLES", - "BEDLOAD BOUNDARIES FILE" : "BEDLOAD_BOUNDARIES_FILE", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "RESULTS FILE" : "RESULTS_FILE", - "VARIABLES TO BE PRINTED" : "VARIABLES_TO_BE_PRINTED", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "MASS-BALANCE" : "MASS_BALANCE", - "SECTIONS OUTPUT FILE" : "SECTIONS_OUTPUT_FILE", - "C-VSM RESULTS FILE" : "C_VSM_RESULTS_FILE", - "C-VSM RESULTS FILE FORMAT" : "C_VSM_RESULTS_FILE_FORMAT", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "WAVE FILE FORMAT" : "WAVE_FILE_FORMAT", - "FORTRAN FILE" : "FORTRAN_FILE", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "WAVE FILE" : "WAVE_FILE", - "REFERENCE FILE" : "REFERENCE_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "SECTIONS INPUT FILE" : "SECTIONS_INPUT_FILE", - "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE FORMAT" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT", - "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "COMPUTATION CONTINUED" : "COMPUTATION_CONTINUED", - "VARIABLES FOR GRAPHIC PRINTOUTS" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NUMBER OF SUB-ITERATIONS" : "NUMBER_OF_SUB_ITERATIONS", - "ORIGINAL HOUR OF TIME" : "ORIGINAL_HOUR_OF_TIME", - "ORIGINAL DATE OF TIME" : "ORIGINAL_DATE_OF_TIME", - "PRESCRIBED SOLID DISCHARGES" : "PRESCRIBED_SOLID_DISCHARGES", - "CLASSES IMPOSED SOLID DISCHARGES DISTRIBUTION" : "CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION", - "INITIAL SUSPENDED SEDIMENTS CONCENTRATION VALUES" : "INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES", - "PRESCRIBED SUSPENDED SEDIMENTS CONCENTRATION VALUES" : "PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES", - "VERTICAL PROFILES OF SUSPENDED SEDIMENTS" : "VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS", - "SUSPENDED SEDIMENTS CONCENTRATION VALUES AT THE SOURCES" : "SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES", - "SCHEME FOR ADVECTION OF SUSPENDED SEDIMENTS" : "SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS", - "SCHEME OPTION FOR ADVECTION OF SUSPENDED SEDIMENTS" : "SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS", - "SCHEME FOR DIFFUSION OF SUSPENDED SEDIMENTS IN 3D" : "SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D", - "SOLVER FOR DIFFUSION OF SUSPENSION" : "SOLVER_FOR_DIFFUSION_OF_SUSPENSION", - "SOLVER OPTION FOR DIFFUSION OF SUSPENSION" : "SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION", - "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER FOR SUSPENSION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION", - "ACCURACY FOR DIFFUSION OF SUSPENSION" : "ACCURACY_FOR_DIFFUSION_OF_SUSPENSION", - "PRECONDITIONING FOR DIFFUSION OF SUSPENSION" : "PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION", - "ADVECTION-DIFFUSION SCHEME WITH SETTLING VELOCITY" : "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY", - "HINDERED SETTLING" : "HINDERED_SETTLING", - "HINDERED SETTLING FORMULA" : "HINDERED_SETTLING_FORMULA", - "WEAK SOIL CONCENTRATION FOR MUD" : "WEAK_SOIL_CONCENTRATION_FOR_MUD", - "THRESHOLD CONCENTRATION FOR HINDERED SETTLING" : "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING", - "FLOCCULATION" : "FLOCCULATION", - "FLOCCULATION FORMULA" : "FLOCCULATION_FORMULA", - "FLOCCULATION COEFFICIENT" : "FLOCCULATION_COEFFICIENT", - "COEFFICIENT RELATIVE TO FLOC DESTRUCTION" : "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION", - "ZERO" : "ZERO", - "FINITE VOLUMES" : "FINITE_VOLUMES", - "MATRIX-VECTOR PRODUCT" : "MATRIX_VECTOR_PRODUCT", - "MATRIX STORAGE" : "MATRIX_STORAGE", - "UPWINDING FOR BEDLOAD" : "UPWINDING_FOR_BEDLOAD", - "MAXIMUM NUMBER OF ITERATIONS FOR POSITIVE THICKNESS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS", - "BED ROUGHNESS PREDICTOR OPTION" : "BED_ROUGHNESS_PREDICTOR_OPTION", - "AD NUMBER OF DERIVATIVES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NAMES OF DERIVATIVES" : "AD_NAMES_OF_DERIVATIVES", - "AD NUMBER OF DIRECTIONS" : "AD_NUMBER_OF_DIRECTIONS", - "AD SYMBOLIC LINEAR SOLVER" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD LINEAR SOLVER RESET DERIVATIVES" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD LINEAR SOLVER DERIVATIVE CONVERGENCE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "CLASSES SEDIMENT DENSITY" : "CLASSES_SEDIMENT_DENSITY", - "LAYERS NON COHESIVE BED POROSITY" : "LAYERS_NON_COHESIVE_BED_POROSITY", - "WATER VISCOSITY" : "WATER_VISCOSITY", - "SETTLING LAG" : "SETTLING_LAG", - "CLASSES SETTLING VELOCITIES" : "CLASSES_SETTLING_VELOCITIES", - "SUSPENSION FOR ALL SANDS" : "SUSPENSION_FOR_ALL_SANDS", - "EQUILIBRIUM INFLOW CONCENTRATION" : "EQUILIBRIUM_INFLOW_CONCENTRATION", - "SUSPENSION TRANSPORT FORMULA FOR ALL SANDS" : "SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS", - "CORRECTION ON CONVECTION VELOCITY" : "CORRECTION_ON_CONVECTION_VELOCITY", - "THETA IMPLICITATION FOR SUSPENSION" : "THETA_IMPLICITATION_FOR_SUSPENSION", - "CLASSES CRITICAL SHEAR STRESS FOR MUD DEPOSITION" : "CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION", - "LAYERS PARTHENIADES CONSTANT" : "LAYERS_PARTHENIADES_CONSTANT", - "COEFFICIENT FOR DIFFUSION OF SUSPENDED SEDIMENTS" : "COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "COEFFICIENT FOR HORIZONTAL DIFFUSION OF SUSPENDED SEDIMENTS" : "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "COEFFICIENT FOR VERTICAL DIFFUSION OF SUSPENDED SEDIMENTS" : "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "CLASSES SEDIMENT DIAMETERS" : "CLASSES_SEDIMENT_DIAMETERS", - "CLASSES HIDING FACTOR" : "CLASSES_HIDING_FACTOR", - "CLASSES INITIAL FRACTION" : "CLASSES_INITIAL_FRACTION", - "ACTIVE LAYER THICKNESS" : "ACTIVE_LAYER_THICKNESS", - "HIDING FACTOR FORMULA" : "HIDING_FACTOR_FORMULA", - "CONSTANT ACTIVE LAYER THICKNESS" : "CONSTANT_ACTIVE_LAYER_THICKNESS", - "LAYERS INITIAL THICKNESS" : "LAYERS_INITIAL_THICKNESS", - "D90 SAND DIAMETER FOR ONLY ONE CLASS" : "D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS", - "RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER" : "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "SKIN FRICTION CORRECTION" : "SKIN_FRICTION_CORRECTION", - "FORMULA FOR SLOPE EFFECT" : "FORMULA_FOR_SLOPE_EFFECT", - "FRICTION ANGLE OF THE SEDIMENT" : "FRICTION_ANGLE_OF_THE_SEDIMENT", - "FORMULA FOR DEVIATION" : "FORMULA_FOR_DEVIATION", - "PARAMETER FOR DEVIATION" : "PARAMETER_FOR_DEVIATION", - "SEDIMENT SLIDE" : "SEDIMENT_SLIDE", - "SLOPE EFFECT" : "SLOPE_EFFECT", - "BETA" : "BETA", - "COMPUTE BED ROUGHNESS AT SEDIMENT SCALE" : "COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE", - "SECONDARY CURRENTS ALPHA COEFFICIENT" : "SECONDARY_CURRENTS_ALPHA_COEFFICIENT", - "MORPHOLOGICAL FACTOR ON TIME SCALE" : "MORPHOLOGICAL_FACTOR_ON_TIME_SCALE", - "MORPHOLOGICAL FACTOR ON BED EVOLUTION" : "MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION", - "MINIMUM DEPTH FOR BEDLOAD" : "MINIMUM_DEPTH_FOR_BEDLOAD", - "BED LOAD FOR ALL SANDS" : "BED_LOAD_FOR_ALL_SANDS", - "BED-LOAD TRANSPORT FORMULA FOR ALL SANDS" : "BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS", - "B VALUE FOR THE BIJKER FORMULA" : "B_VALUE_FOR_THE_BIJKER_FORMULA", - "MPM COEFFICIENT" : "MPM_COEFFICIENT", - "BED MODEL" : "BED_MODEL", - "CLASSES TYPE OF SEDIMENT" : "CLASSES_TYPE_OF_SEDIMENT", - "NUMBER OF LAYERS OF THE CONSOLIDATION MODEL" : "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL", - "LAYERS MASS TRANSFER" : "LAYERS_MASS_TRANSFER", - "LAYERS MUD CONCENTRATION" : "LAYERS_MUD_CONCENTRATION", - "LAYERS CRITICAL EROSION SHEAR STRESS OF THE MUD" : "LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD", - "VERTICAL GRAIN SORTING MODEL" : "VERTICAL_GRAIN_SORTING_MODEL", - "C-VSM MAXIMUM SECTIONS" : "C_VSM_MAXIMUM_SECTIONS", - "C-VSM FULL PRINTOUT PERIOD" : "C_VSM_FULL_PRINTOUT_PERIOD", - "C-VSM PRINTOUT SELECTION" : "C_VSM_PRINTOUT_SELECTION", - "ACTIVE LAYER THICKNESS FORMULA" : "ACTIVE_LAYER_THICKNESS_FORMULA", -} diff --git a/Telemac/gaia_dicoCasFrToCata.py b/Telemac/gaia_dicoCasFrToCata.py deleted file mode 100644 index 354a9090..00000000 --- a/Telemac/gaia_dicoCasFrToCata.py +++ /dev/null @@ -1,292 +0,0 @@ -dicoCataToFrTelemac = { - "TITLE" : "TITRE", - "RELEASE" : "NUMERO DE VERSION", - "DICTIONARY" : "DICTIONNAIRE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "VALIDATION" : "VALIDATION", - "NUMBER_OF_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES", - "ORIGIN_COORDINATES" : "COORDONNEES DE L'ORIGINE", - "DEBUGGER" : "DEBUGGER", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS", - "NESTOR" : "NESTOR", - "NESTOR_ACTION_FILE" : "FICHIER DE NESTOR ACTION", - "NESTOR_POLYGON_FILE" : "FICHIER DE NESTOR POLYGON", - "NESTOR_RESTART_FILE" : "FICHIER DE NESTOR RESTART", - "NESTOR_SURFACE_REFERENCE_FILE" : "FICHIER DE NESTOR DE SURFACE REFERENCE", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "NOMBRE MAXIMUM DE FRONTIERES", - "FLUXLINE_INPUT_FILE" : "FICHIER DE FLUXLINE", - "FLUXLINE" : "FLUXLINE", - "CONTROL_SECTIONS" : "SECTIONS DE CONTROLE", - "CLASSES_SHIELDS_PARAMETERS" : "PARAMETRES DE SHIELDS PAR CLASSE", - "MINIMAL_VALUE_OF_THE_WATER_HEIGHT" : "VALEUR MINIMUM DE H", - "TIDAL_FLATS" : "BANCS DECOUVRANTS", - "SECONDARY_CURRENTS" : "COURANTS SECONDAIRES", - "SECONDARY_CURRENTS_FILE" : "FICHIER DE COURANTS SECONDAIRES", - "NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION" : "NOMBRE DE COUCHES POUR STRATIFICATION INITIALE", - "EFFECT_OF_WAVES" : "PRISE EN COMPTE DE LA HOULE", - "TYPE_OF_WAVES" : "TYPE DE HOULE", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "NAMES_OF_PRIVATE_VARIABLES" : "NOMS DES VARIABLES PRIVEES", - "BEDLOAD_BOUNDARIES_FILE" : "FICHIER DES FRONTIERES POUR LE CHARRIAGE", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES A IMPRIMER", - "LISTING_PRINTOUT_PERIOD" : "PERIODE DE SORTIE LISTING", - "MASS_BALANCE" : "BILAN DE MASSE", - "SECTIONS_OUTPUT_FILE" : "SECTIONS OUTPUT FILE", - "C_VSM_RESULTS_FILE" : "FICHIER DES RESULTATS C-VSM", - "C_VSM_RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES C-VSM RESULTATS", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "WAVE_FILE_FORMAT" : "FORMAT DU FICHIER DE HOULE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "WAVE_FILE" : "FICHIER DE HOULE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "SECTIONS_INPUT_FILE" : "FICHIER DES SECTIONS DE CONTROLE", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER PRECEDENT SEDIMENTOLOGIQUE", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE" : "FICHIER PRECEDENT SEDIMENTOLOGIQUE", - "COMPUTATION_CONTINUED" : "SUITE DE CALCUL", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES", - "NUMBER_OF_SUB_ITERATIONS" : "NOMBRE DE SOUS-ITERATIONS", - "ORIGINAL_HOUR_OF_TIME" : "HEURE DE L'ORIGINE DES TEMPS", - "ORIGINAL_DATE_OF_TIME" : "DATE DE L'ORIGINE DES TEMPS", - "PRESCRIBED_SOLID_DISCHARGES" : "DEBITS SOLIDES IMPOSES", - "CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION" : "DISTRIBUTION DES DEBITS IMPOSES PAR CLASSE", - "INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES" : "VALEURS INITIALES DE CONCENTRATION DES SEDIMENTS EN SUSPENSION", - "PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES" : "VALEURS IMPOSEES DES CONCENTRATIONS DES SEDIMENTS EN SUSPENSION", - "VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS" : "PROFILS DES SEDIMENTS EN SUSPENSION SUR LA VERTICALE", - "SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES" : "VALEURS DES SEDIMENTS EN SUSPENSION DES SOURCES", - "SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS" : "SCHEMA POUR LA CONVECTION DES SEDIMENTS EN SUSPENSION", - "SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS" : "OPTION DU SCHEMA POUR LA CONVECTION DES SEDIMENTS EN SUSPENSION", - "SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D" : "SCHEMA POUR LA DIFFUSION DES SEDIMENTS EN SUSPENSION EN 3D", - "SOLVER_FOR_DIFFUSION_OF_SUSPENSION" : "SOLVEUR POUR LA DIFFUSION DE LA SUSPENSION", - "SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION" : "OPTION DU SOLVEUR POUR LA DIFFUSION DE LA SUSPENSION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION" : "MAXIMUM D'ITERATIONS POUR LE SOLVEUR POUR LA SUSPENSION", - "ACCURACY_FOR_DIFFUSION_OF_SUSPENSION" : "PRECISION POUR LA DIFFUSION DE LA SUSPENSION", - "PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION" : "PRECONDITIONNEMENT POUR LA DIFFUSION DE LA SUSPENSION", - "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY" : "SCHEMA DE CONVECTION DIFFUSION AVEC VITESSE DE CHUTE", - "HINDERED_SETTLING" : "VITESSE DE CHUTE ENTRAVEE", - "HINDERED_SETTLING_FORMULA" : "FORMULE POUR VITESSE DE CHUTE ENTRAVEE", - "WEAK_SOIL_CONCENTRATION_FOR_MUD" : "CONCENTRATION LIMITE FLUIDE-SOLIDE", - "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING" : "CONCENTRATION LIMITE POUR VITESSE DE CHUTE ENTRAVEE", - "FLOCCULATION" : "FLOCULATION", - "FLOCCULATION_FORMULA" : "FORMULE POUR FLOCULATION", - "FLOCCULATION_COEFFICIENT" : "COEFFICIENT TRADUISANT LA FORMATION DES FLOCS", - "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION" : "COEFFICIENT TRADUISANT LA DESTRUCTION DES FLOCS", - "ZERO" : "ZERO", - "FINITE_VOLUMES" : "VOLUMES FINIS", - "MATRIX_VECTOR_PRODUCT" : "PRODUIT MATRICE-VECTEUR", - "MATRIX_STORAGE" : "STOCKAGE DES MATRICES", - "UPWINDING_FOR_BEDLOAD" : "DECENTREMENT POUR LE CHARRIAGE", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS" : "MAXIMUM D'ITERATIONS POUR LES EPAISSEURS POSITIVES", - "BED_ROUGHNESS_PREDICTOR_OPTION" : "OPTION DU PREDICTEUR DE RUGOSITE", - "AD_NUMBER_OF_DERIVATIVES" : "AD NOMBRE DE DERIVEES", - "AD_NAMES_OF_DERIVATIVES" : "AD NOMS DES DERIVEES", - "AD_NUMBER_OF_DIRECTIONS" : "AD NOMBRE DE DIRECTIONS", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SOLVEUR LINEAIRE SYMBOLIQUE", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE", - "CLASSES_SEDIMENT_DENSITY" : "MASSE VOLUMIQUE DU SEDIMENT PAR CLASSE", - "LAYERS_NON_COHESIVE_BED_POROSITY" : "POROSITE DU LIT NON COHESIF PAR COUCHE", - "WATER_VISCOSITY" : "VISCOSITE CINEMATIQUE EAU", - "SETTLING_LAG" : "SETTLING LAG", - "CLASSES_SETTLING_VELOCITIES" : "VITESSES DE CHUTE PAR CLASSE", - "SUSPENSION_FOR_ALL_SANDS" : "SUSPENSION POUR TOUS LES SABLES", - "EQUILIBRIUM_INFLOW_CONCENTRATION" : "CONCENTRATION D'EQUILIBRE EN ENTREE", - "SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS" : "FORMULE DE TRANSPORT POUR TOUS LES SABLES", - "CORRECTION_ON_CONVECTION_VELOCITY" : "CORRECTION DU CHAMP CONVECTEUR", - "THETA_IMPLICITATION_FOR_SUSPENSION" : "THETA IMPLICITATION POUR SUSPENSION", - "CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION" : "CONTRAINTE CRITIQUE DE DEPOT DE LA VASE PAR CLASSE", - "LAYERS_PARTHENIADES_CONSTANT" : "CONSTANTE DE PARTHENIADES PAR COUCHE", - "COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS" : "COEFFICIENT DE DIFFUSION DES SEDIMENTS EN SUSPENSION", - "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS" : "COEFFICIENT DE DIFFUSION HORIZONTAL DES SEDIMENTS EN SUSPENSION", - "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS" : "COEFFICIENT DE DIFFUSION VERTICAL DES SEDIMENTS EN SUSPENSION", - "CLASSES_SEDIMENT_DIAMETERS" : "DIAMETRES DES GRAINS PAR CLASSE", - "CLASSES_HIDING_FACTOR" : "HIDING FACTOR PAR CLASSE", - "CLASSES_INITIAL_FRACTION" : "FRACTION INITIALE PAR CLASSE", - "ACTIVE_LAYER_THICKNESS" : "EPAISSEUR DE COUCHE ACTIVE", - "HIDING_FACTOR_FORMULA" : "HIDING FACTOR FORMULA", - "CONSTANT_ACTIVE_LAYER_THICKNESS" : "EPAISSEUR DE COUCHE ACTIVE CONSTANTE", - "LAYERS_INITIAL_THICKNESS" : "EPAISSEURS INITIALES PAR COUCHE", - "D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS" : "DIAMETRE D90 POUR UNE SEULE CLASSE DE SABLE", - "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER" : "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN", - "SKIN_FRICTION_CORRECTION" : "CORRECTION FROTTEMENT DE PEAU", - "FORMULA_FOR_SLOPE_EFFECT" : "FORMULE POUR EFFET DE PENTE", - "FRICTION_ANGLE_OF_THE_SEDIMENT" : "ANGLE DE FROTTEMENT DU SEDIMENT", - "FORMULA_FOR_DEVIATION" : "FORMULE POUR LA DEVIATION", - "PARAMETER_FOR_DEVIATION" : "PARAMETRE POUR LA DEVIATION", - "SEDIMENT_SLIDE" : "GLISSEMENT DU SEDIMENT", - "SLOPE_EFFECT" : "EFFET DE PENTE", - "BETA" : "BETA", - "COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE" : "CALCUL DE LA RUGOSITE SEDIMENTAIRE", - "SECONDARY_CURRENTS_ALPHA_COEFFICIENT" : "SECONDARY CURRENTS ALPHA COEFFICIENT", - "MORPHOLOGICAL_FACTOR_ON_TIME_SCALE" : "FACTEUR MORPHOLOGIQUE SUR L'ECHELLE DES TEMPS", - "MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION" : "FACTEUR MORPHOLOGIQUE SUR L'EVOLUTION DU LIT", - "MINIMUM_DEPTH_FOR_BEDLOAD" : "PROFONDEUR MINIMUM POUR LE CHARRIAGE", - "BED_LOAD_FOR_ALL_SANDS" : "CHARRIAGE POUR TOUS LES SABLES", - "BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS" : "FORMULE DE TRANSPORT SOLIDE POUR TOUS LES SABLES", - "B_VALUE_FOR_THE_BIJKER_FORMULA" : "COEFFICIENT B DE LA FORMULE DE BIJKER", - "MPM_COEFFICIENT" : "MPM COEFFICIENT", - "BED_MODEL" : "MODELE DE LIT", - "CLASSES_TYPE_OF_SEDIMENT" : "TYPE DE SEDIMENT PAR CLASSE", - "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL" : "NOMBRE DE COUCHES POUR LE TASSEMENT", - "LAYERS_MASS_TRANSFER" : "TRANSFERT DE MASSE PAR COUCHE", - "LAYERS_MUD_CONCENTRATION" : "CONCENTRATIONS DE LA VASE PAR COUCHE", - "LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD" : "CONTRAINTE CRITIQUE D'EROSION DE LA VASE PAR COUCHE", - "VERTICAL_GRAIN_SORTING_MODEL" : "VERTICAL GRAIN SORTING MODEL", - "C_VSM_MAXIMUM_SECTIONS" : "C-VSM MAXIMUM SECTIONS", - "C_VSM_FULL_PRINTOUT_PERIOD" : "C-VSM FULL PRINTOUT PERIOD", - "C_VSM_PRINTOUT_SELECTION" : "C-VSM PRINTOUT SELECTION", - "ACTIVE_LAYER_THICKNESS_FORMULA" : "ACTIVE LAYER THICKNESS FORMULA", -} -dicoCasFrToCata = { - "TITRE" : "TITLE", - "NUMERO DE VERSION" : "RELEASE", - "DICTIONNAIRE" : "DICTIONARY", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "VALIDATION" : "VALIDATION", - "NOMBRE DE TABLEAUX PRIVES" : "NUMBER_OF_PRIVATE_ARRAYS", - "COORDONNEES DE L'ORIGINE" : "ORIGIN_COORDINATES", - "DEBUGGER" : "DEBUGGER", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "NESTOR" : "NESTOR", - "FICHIER DE NESTOR ACTION" : "NESTOR_ACTION_FILE", - "FICHIER DE NESTOR POLYGON" : "NESTOR_POLYGON_FILE", - "FICHIER DE NESTOR RESTART" : "NESTOR_RESTART_FILE", - "FICHIER DE NESTOR DE SURFACE REFERENCE" : "NESTOR_SURFACE_REFERENCE_FILE", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "FICHIER DE FLUXLINE" : "FLUXLINE_INPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "SECTIONS DE CONTROLE" : "CONTROL_SECTIONS", - "PARAMETRES DE SHIELDS PAR CLASSE" : "CLASSES_SHIELDS_PARAMETERS", - "VALEUR MINIMUM DE H" : "MINIMAL_VALUE_OF_THE_WATER_HEIGHT", - "BANCS DECOUVRANTS" : "TIDAL_FLATS", - "COURANTS SECONDAIRES" : "SECONDARY_CURRENTS", - "FICHIER DE COURANTS SECONDAIRES" : "SECONDARY_CURRENTS_FILE", - "NOMBRE DE COUCHES POUR STRATIFICATION INITIALE" : "NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION", - "PRISE EN COMPTE DE LA HOULE" : "EFFECT_OF_WAVES", - "TYPE DE HOULE" : "TYPE_OF_WAVES", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "NOMS DES VARIABLES PRIVEES" : "NAMES_OF_PRIVATE_VARIABLES", - "FICHIER DES FRONTIERES POUR LE CHARRIAGE" : "BEDLOAD_BOUNDARIES_FILE", - "FORMAT DU FICHIER DES RESULTATS" : "RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "VARIABLES A IMPRIMER" : "VARIABLES_TO_BE_PRINTED", - "PERIODE DE SORTIE LISTING" : "LISTING_PRINTOUT_PERIOD", - "BILAN DE MASSE" : "MASS_BALANCE", - "SECTIONS OUTPUT FILE" : "SECTIONS_OUTPUT_FILE", - "FICHIER DES RESULTATS C-VSM" : "C_VSM_RESULTS_FILE", - "FORMAT DU FICHIER DES C-VSM RESULTATS" : "C_VSM_RESULTS_FILE_FORMAT", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FORMAT DU FICHIER DE HOULE" : "WAVE_FILE_FORMAT", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER DE HOULE" : "WAVE_FILE", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "FICHIER DES SECTIONS DE CONTROLE" : "SECTIONS_INPUT_FILE", - "FORMAT DU FICHIER PRECEDENT SEDIMENTOLOGIQUE" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT", - "FICHIER PRECEDENT SEDIMENTOLOGIQUE" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "SUITE DE CALCUL" : "COMPUTATION_CONTINUED", - "VARIABLES POUR LES SORTIES GRAPHIQUES" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE SOUS-ITERATIONS" : "NUMBER_OF_SUB_ITERATIONS", - "HEURE DE L'ORIGINE DES TEMPS" : "ORIGINAL_HOUR_OF_TIME", - "DATE DE L'ORIGINE DES TEMPS" : "ORIGINAL_DATE_OF_TIME", - "DEBITS SOLIDES IMPOSES" : "PRESCRIBED_SOLID_DISCHARGES", - "DISTRIBUTION DES DEBITS IMPOSES PAR CLASSE" : "CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION", - "VALEURS INITIALES DE CONCENTRATION DES SEDIMENTS EN SUSPENSION" : "INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES", - "VALEURS IMPOSEES DES CONCENTRATIONS DES SEDIMENTS EN SUSPENSION" : "PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES", - "PROFILS DES SEDIMENTS EN SUSPENSION SUR LA VERTICALE" : "VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS", - "VALEURS DES SEDIMENTS EN SUSPENSION DES SOURCES" : "SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES", - "SCHEMA POUR LA CONVECTION DES SEDIMENTS EN SUSPENSION" : "SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS", - "OPTION DU SCHEMA POUR LA CONVECTION DES SEDIMENTS EN SUSPENSION" : "SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS", - "SCHEMA POUR LA DIFFUSION DES SEDIMENTS EN SUSPENSION EN 3D" : "SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D", - "SOLVEUR POUR LA DIFFUSION DE LA SUSPENSION" : "SOLVER_FOR_DIFFUSION_OF_SUSPENSION", - "OPTION DU SOLVEUR POUR LA DIFFUSION DE LA SUSPENSION" : "SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR POUR LA SUSPENSION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION", - "PRECISION POUR LA DIFFUSION DE LA SUSPENSION" : "ACCURACY_FOR_DIFFUSION_OF_SUSPENSION", - "PRECONDITIONNEMENT POUR LA DIFFUSION DE LA SUSPENSION" : "PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION", - "SCHEMA DE CONVECTION DIFFUSION AVEC VITESSE DE CHUTE" : "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY", - "VITESSE DE CHUTE ENTRAVEE" : "HINDERED_SETTLING", - "FORMULE POUR VITESSE DE CHUTE ENTRAVEE" : "HINDERED_SETTLING_FORMULA", - "CONCENTRATION LIMITE FLUIDE-SOLIDE" : "WEAK_SOIL_CONCENTRATION_FOR_MUD", - "CONCENTRATION LIMITE POUR VITESSE DE CHUTE ENTRAVEE" : "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING", - "FLOCULATION" : "FLOCCULATION", - "FORMULE POUR FLOCULATION" : "FLOCCULATION_FORMULA", - "COEFFICIENT TRADUISANT LA FORMATION DES FLOCS" : "FLOCCULATION_COEFFICIENT", - "COEFFICIENT TRADUISANT LA DESTRUCTION DES FLOCS" : "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION", - "ZERO" : "ZERO", - "VOLUMES FINIS" : "FINITE_VOLUMES", - "PRODUIT MATRICE-VECTEUR" : "MATRIX_VECTOR_PRODUCT", - "STOCKAGE DES MATRICES" : "MATRIX_STORAGE", - "DECENTREMENT POUR LE CHARRIAGE" : "UPWINDING_FOR_BEDLOAD", - "MAXIMUM D'ITERATIONS POUR LES EPAISSEURS POSITIVES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS", - "OPTION DU PREDICTEUR DE RUGOSITE" : "BED_ROUGHNESS_PREDICTOR_OPTION", - "AD NOMBRE DE DERIVEES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES" : "AD_NAMES_OF_DERIVATIVES", - "AD NOMBRE DE DIRECTIONS" : "AD_NUMBER_OF_DIRECTIONS", - "AD SOLVEUR LINEAIRE SYMBOLIQUE" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "MASSE VOLUMIQUE DU SEDIMENT PAR CLASSE" : "CLASSES_SEDIMENT_DENSITY", - "POROSITE DU LIT NON COHESIF PAR COUCHE" : "LAYERS_NON_COHESIVE_BED_POROSITY", - "VISCOSITE CINEMATIQUE EAU" : "WATER_VISCOSITY", - "SETTLING LAG" : "SETTLING_LAG", - "VITESSES DE CHUTE PAR CLASSE" : "CLASSES_SETTLING_VELOCITIES", - "SUSPENSION POUR TOUS LES SABLES" : "SUSPENSION_FOR_ALL_SANDS", - "CONCENTRATION D'EQUILIBRE EN ENTREE" : "EQUILIBRIUM_INFLOW_CONCENTRATION", - "FORMULE DE TRANSPORT POUR TOUS LES SABLES" : "SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS", - "CORRECTION DU CHAMP CONVECTEUR" : "CORRECTION_ON_CONVECTION_VELOCITY", - "THETA IMPLICITATION POUR SUSPENSION" : "THETA_IMPLICITATION_FOR_SUSPENSION", - "CONTRAINTE CRITIQUE DE DEPOT DE LA VASE PAR CLASSE" : "CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION", - "CONSTANTE DE PARTHENIADES PAR COUCHE" : "LAYERS_PARTHENIADES_CONSTANT", - "COEFFICIENT DE DIFFUSION DES SEDIMENTS EN SUSPENSION" : "COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "COEFFICIENT DE DIFFUSION HORIZONTAL DES SEDIMENTS EN SUSPENSION" : "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "COEFFICIENT DE DIFFUSION VERTICAL DES SEDIMENTS EN SUSPENSION" : "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "DIAMETRES DES GRAINS PAR CLASSE" : "CLASSES_SEDIMENT_DIAMETERS", - "HIDING FACTOR PAR CLASSE" : "CLASSES_HIDING_FACTOR", - "FRACTION INITIALE PAR CLASSE" : "CLASSES_INITIAL_FRACTION", - "EPAISSEUR DE COUCHE ACTIVE" : "ACTIVE_LAYER_THICKNESS", - "HIDING FACTOR FORMULA" : "HIDING_FACTOR_FORMULA", - "EPAISSEUR DE COUCHE ACTIVE CONSTANTE" : "CONSTANT_ACTIVE_LAYER_THICKNESS", - "EPAISSEURS INITIALES PAR COUCHE" : "LAYERS_INITIAL_THICKNESS", - "DIAMETRE D90 POUR UNE SEULE CLASSE DE SABLE" : "D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS", - "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN" : "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "CORRECTION FROTTEMENT DE PEAU" : "SKIN_FRICTION_CORRECTION", - "FORMULE POUR EFFET DE PENTE" : "FORMULA_FOR_SLOPE_EFFECT", - "ANGLE DE FROTTEMENT DU SEDIMENT" : "FRICTION_ANGLE_OF_THE_SEDIMENT", - "FORMULE POUR LA DEVIATION" : "FORMULA_FOR_DEVIATION", - "PARAMETRE POUR LA DEVIATION" : "PARAMETER_FOR_DEVIATION", - "GLISSEMENT DU SEDIMENT" : "SEDIMENT_SLIDE", - "EFFET DE PENTE" : "SLOPE_EFFECT", - "BETA" : "BETA", - "CALCUL DE LA RUGOSITE SEDIMENTAIRE" : "COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE", - "SECONDARY CURRENTS ALPHA COEFFICIENT" : "SECONDARY_CURRENTS_ALPHA_COEFFICIENT", - "FACTEUR MORPHOLOGIQUE SUR L'ECHELLE DES TEMPS" : "MORPHOLOGICAL_FACTOR_ON_TIME_SCALE", - "FACTEUR MORPHOLOGIQUE SUR L'EVOLUTION DU LIT" : "MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION", - "PROFONDEUR MINIMUM POUR LE CHARRIAGE" : "MINIMUM_DEPTH_FOR_BEDLOAD", - "CHARRIAGE POUR TOUS LES SABLES" : "BED_LOAD_FOR_ALL_SANDS", - "FORMULE DE TRANSPORT SOLIDE POUR TOUS LES SABLES" : "BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS", - "COEFFICIENT B DE LA FORMULE DE BIJKER" : "B_VALUE_FOR_THE_BIJKER_FORMULA", - "MPM COEFFICIENT" : "MPM_COEFFICIENT", - "MODELE DE LIT" : "BED_MODEL", - "TYPE DE SEDIMENT PAR CLASSE" : "CLASSES_TYPE_OF_SEDIMENT", - "NOMBRE DE COUCHES POUR LE TASSEMENT" : "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL", - "TRANSFERT DE MASSE PAR COUCHE" : "LAYERS_MASS_TRANSFER", - "CONCENTRATIONS DE LA VASE PAR COUCHE" : "LAYERS_MUD_CONCENTRATION", - "CONTRAINTE CRITIQUE D'EROSION DE LA VASE PAR COUCHE" : "LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD", - "VERTICAL GRAIN SORTING MODEL" : "VERTICAL_GRAIN_SORTING_MODEL", - "C-VSM MAXIMUM SECTIONS" : "C_VSM_MAXIMUM_SECTIONS", - "C-VSM FULL PRINTOUT PERIOD" : "C_VSM_FULL_PRINTOUT_PERIOD", - "C-VSM PRINTOUT SELECTION" : "C_VSM_PRINTOUT_SELECTION", - "ACTIVE LAYER THICKNESS FORMULA" : "ACTIVE_LAYER_THICKNESS_FORMULA", -} diff --git a/Telemac/gaia_enum_auto.py b/Telemac/gaia_enum_auto.py deleted file mode 100644 index a6d15eed..00000000 --- a/Telemac/gaia_enum_auto.py +++ /dev/null @@ -1,593 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'VARIABLES_TO_BE_PRINTED' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wawe celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"bed-load discharge (m2/s)", - 'N':"bed-load discharge along x axis (m2/s)", - 'P':"bed-load discharge along y axis (m2/s)", - 'E':"bottom evolution (m)", - 'R':"non erodable bottom", - 'KS':"bed friction coefficient (m if Nikuradse)", - 'TOB':"mean bottom friction (N/m2)", - 'THETAW':"wave angle with axis Oy (deg)", - 'W':"wave height", - 'X':"wave period", - '1Ai':"fraction of sediment of class i in the first layer", - '2Ai':"fraction of sediment of class i in the second layer", - 'QSi':"bed load transport rate of sediment of class i", - '*ES': "thicknes of bed layer i", - '*CONC': "concentration of bed layer i ", - 'CSi':"concentration for class i", - 'A':"supplementary variable A", - 'G':"supplementary variable G", - 'L':"supplementary variable L", - 'O':"supplementary variable O", - }, -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'Q':"scalar flowrate of fluid (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'R':"non erodable bottom", - 'TOB':"Bed Shear stress (Totalfriction) (N/m2)", - 'W':"wave height", - 'X':"wave period", - 'THETAW':"wave angle with axis Oy (deg)", - 'M':"bed-load discharge (kg/(m*s))", - 'N':"bed-load discharge along x axis (kg/(m*s))", - 'P':"bed-load discharge along y axis (kg/(m*s))", - 'E':"bottom evolution (m)", - 'KS':"total bed roughness (m)", - 'MU':"Skin friction correction factor", - 'D50':"Mean grain diameter", - 'UWB':"wave orbital velocity (m/s)", - '1Ai':"fraction of non cohesive sediment of class i, in 1st layer", - '2Ai':"fraction of non cohesive sediment of class i, in 2nd layer", - 'kAi':"fraction of non cohesive sediment of class i, in k layer", - 'QSi':"solid transport load of class i", - 'CSi':"mass concentration of class i", - 'C2DSi':"mass concentration of class i for 2D graphic printouts (only f, - 'SVX':"sediment viscosity along x axis (m2/s) - only 3D", - 'SVY':"sediment viscosity along y axis (m2/s) - only 3D", - 'SVZ':"sediment viscosity along z axis (m2/s) - only 3D", - 'QSBL':"bed load transport rate (kg/(m*s))", - 'QSBLX':"bed load transport rate x axis", - 'QSBLY':"bed load transport rate y axis", - 'QSBLi':"bedload transport rate of class i", - 'kES':"thickness of the k layer", - 'kCONC':"concentration of bed layer k", - 'QSi':"bed load transport rate of sediment of class i", - 'A':"supplementary variable A", - 'G':"supplementary variable G", - 'L':"supplementary variable L", - 'O':"supplementary variable O", - '1Ri':"fraction of cohesive sediment of class i, in 1st layer", - '2Ri':"fraction of cohesive sediment of class i, in 2nd layer", - 'kRi':"fraction of cohesive sediment of class i, in k layer", - 'kXKV':"porosity of k layer", - '1Si':"mass of non cohesive sediment of class i, in 1st layer", - '2Si':"mass of non cohesive sediment of class i, in 2nd layer", - 'kSi':"mass of non cohesive sediment of class i, in k layer", - '1Mi':"mass of cohesiv, - }, -'VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS' : { - 0:"User defined", - 1:"Constant", - 2:"Constant or Rouse if sediment", - 3: "Normalized Rouse profile and imposed conc", - 4: "Modified Rouse profile accounting for molecular viscosity", - }, -'SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"N-SCHEME FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME - ONLY IN 2D", - }, -'SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D' : { - 0:"NO DIFFUSION", - 1:"IMPLICIT", - 2:"VERTICAL DIFFUSION ONLY", - }, -'SOLVER_FOR_DIFFUSION_OF_SUSPENSION' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -} -TelemacdicoFr = { -'VARIABLES_TO_BE_PRINTED' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite", - 'H':"hauteur d eau (m)", - 'S':"cote de la surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit", - 'I':"composante du debit selon l axe des x", - 'J':"composante du debit selon l axe des y", - 'M':"debit solide", - 'N':"composante du debit solide selon l axe des x", - 'P':"composante du debit solide selon l axe des y", - 'E':"evolution du fond", - 'R':"fonds non erodables", - 'W':"hauteur de houle", - 'X':"periode de houle", - 'KS':"coefficient de frottement (m)", - 'TOB':"frottement moyen (N/m2)", - 'THETAW':"angle entre la houle et l axe Oy (deg)", - '1Ai':"fraction de sediment de la classe i dans la premiere couche", - '2Ai':"fraction de sediment de la classe i dans la deuxieme couche", - 'QSi':"debit solide pour la classe i", - 'CSi':"concentration pour la classe i", - '*ES': "thicknes of bed layer i", - '*CONC': "concentration of bed layer i ", - 'A':"variable supplementaire A", - 'G':"variable supplementaire G", - 'L':"variable supplementaire L", - 'O':"variable supplementaire O", - }, -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'H':"hauteur d eau (m)", - 'S':"cote de la surface libre (m)", - 'B':"cote du fond (m)", - 'Q':"debit", - 'I':"composante du debit selon l axe des x", - 'J':"composante du debit selon l axe des y", - 'R':"fonds non erodables", - 'TOB':"Contrainte de frottement(N/m2)", - 'W':"hauteur de houle", - 'X':"periode de houle", - 'THETAW':"angle entre la houle et l axe Oy (deg)", - 'M':"debit solide", - 'N':"composante du debit solide selon l axe des x", - 'P':"composante du debit solide selon l axe des y", - 'E':"evolution du fond", - 'KS':"coefficient de Rugosite totale (m)", - 'MU':"Coefficient de correction pour frottement de peau", - 'D50':"Diametre moyen du sediment", - 'UWB':"wave orbital velocity (m/s)", - '1Ai':"fraction de sediment non cohesif de la classe i, 1ere couche", - '2Ai':"fraction de sediment non cohesif de la classe i, 2eme couche", - 'kAi':"fraction de sediment non cohesif de la classe i, couche k", - 'QSi':"debit solide pour la classe i", - 'CSi':"concentration massique pour la classe i", - 'C2DSi':"concentration massique pour la classe i pour les sortie 2D (que po, - 'SVX':"viscosites pour les sediments suivant l axe des x (m2/s) - 3D", - 'SVY':"viscosites pour les sediments suivant l axe des y (m2/s) - 3D", - 'SVZ':"viscosites pour les sediments suivant l axe des z (m2/s) - 3D", - 'QSBL':"taux de transport par charriage", - 'QSBLX':"taux de transport par charriage selon l axe des x", - 'QSBLY':"taux de transport par charriage selon l axe des y", - 'QSBLi':"taux de transport par charriage pour la classe i", - 'kES':"epaisseur de la couche k", - 'kCONC':"concentration of bed layer k", - 'A':"variable supplementaire A", - 'G':"variable supplementaire G", - 'L':"variable supplementaire L", - 'O':"variable supplementaire O", - '1Ri':"fraction de sediment cohesif de la classe i, 1ere couche", - '2Ri':"fraction de sediment cohesif de la classe i, 2eme couche", - 'kRi':"fraction de sediment cohesif of classe i, couche k", - 'kXKV':"porosite de la couche k", - '1Si':"masse de sediment non cohesif de la classe i, 1ere couche", - '2Si':"masse de sediment non cohesif de la clas, - }, -'VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS' : { - 0:"Programmation utilisateur", - 1:"Constant", - 2:"Constant ou Rouse si sediment", - 3: "Profil de Rouse normalise et concentration imposee", - 4: "Profil de Rouse modifie avec viscosite moleculaire", - }, -'SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"SCHEMA N POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA - UNIQUEMENT 2D", - }, -'SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D' : { - 0:"PAS DE DIFFUSION", - 1:"IMPLICITE", - 2:"VERTICAL DIFFUSION ONLY", - }, -'SOLVER_FOR_DIFFUSION_OF_SUSPENSION' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -} - -DicoCasFrToCata = { - "TITRE":"TITLE", - "NUMERO DE VERSION":"RELEASE", - "DICTIONNAIRE":"DICTIONARY", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "VALIDATION":"VALIDATION", - "NOMBRE DE TABLEAUX PRIVES":"NUMBER_OF_PRIVATE_ARRAYS", - "COORDONNEES DE L'ORIGINE":"ORIGIN_COORDINATES", - "DEBUGGER":"DEBUGGER", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS":"OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "NESTOR":"NESTOR", - "FICHIER DE NESTOR ACTION":"NESTOR_ACTION_FILE", - "FICHIER DE NESTOR POLYGON":"NESTOR_POLYGON_FILE", - "FICHIER DE NESTOR RESTART":"NESTOR_RESTART_FILE", - "FICHIER DE NESTOR DE SURFACE REFERENCE":"NESTOR_SURFACE_REFERENCE_FILE", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES":"MAXIMUM_NUMBER_OF_BOUNDARIES", - "FICHIER DE FLUXLINE":"FLUXLINE_INPUT_FILE", - "FLUXLINE":"FLUXLINE", - "SECTIONS DE CONTROLE":"CONTROL_SECTIONS", - "PARAMETRES DE SHIELDS PAR CLASSE":"CLASSES_SHIELDS_PARAMETERS", - "VALEUR MINIMUM DE H":"MINIMAL_VALUE_OF_THE_WATER_HEIGHT", - "BANCS DECOUVRANTS":"TIDAL_FLATS", - "COURANTS SECONDAIRES":"SECONDARY_CURRENTS", - "FICHIER DE COURANTS SECONDAIRES":"SECONDARY_CURRENTS_FILE", - "NOMBRE DE COUCHES POUR STRATIFICATION INITIALE":"NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION", - "PRISE EN COMPTE DE LA HOULE":"EFFECT_OF_WAVES", - "TYPE DE HOULE":"TYPE_OF_WAVES", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "NOMS DES VARIABLES PRIVEES":"NAMES_OF_PRIVATE_VARIABLES", - "FICHIER DES FRONTIERES POUR LE CHARRIAGE":"BEDLOAD_BOUNDARIES_FILE", - "FORMAT DU FICHIER DES RESULTATS":"RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "VARIABLES A IMPRIMER":"VARIABLES_TO_BE_PRINTED", - "PERIODE DE SORTIE LISTING":"LISTING_PRINTOUT_PERIOD", - "BILAN DE MASSE":"MASS_BALANCE", - "SECTIONS OUTPUT FILE":"SECTIONS_OUTPUT_FILE", - "FICHIER DES RESULTATS C-VSM":"C_VSM_RESULTS_FILE", - "FORMAT DU FICHIER DES C-VSM RESULTATS":"C_VSM_RESULTS_FILE_FORMAT", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FORMAT DU FICHIER DE HOULE":"WAVE_FILE_FORMAT", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER DE HOULE":"WAVE_FILE", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "FICHIER DES SECTIONS DE CONTROLE":"SECTIONS_INPUT_FILE", - "FORMAT DU FICHIER PRECEDENT SEDIMENTOLOGIQUE":"PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT", - "FICHIER PRECEDENT SEDIMENTOLOGIQUE":"PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "SUITE DE CALCUL":"COMPUTATION_CONTINUED", - "VARIABLES POUR LES SORTIES GRAPHIQUES":"VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE SOUS-ITERATIONS":"NUMBER_OF_SUB_ITERATIONS", - "HEURE DE L'ORIGINE DES TEMPS":"ORIGINAL_HOUR_OF_TIME", - "DATE DE L'ORIGINE DES TEMPS":"ORIGINAL_DATE_OF_TIME", - "DEBITS SOLIDES IMPOSES":"PRESCRIBED_SOLID_DISCHARGES", - "DISTRIBUTION DES DEBITS IMPOSES PAR CLASSE":"CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION", - "VALEURS INITIALES DE CONCENTRATION DES SEDIMENTS EN SUSPENSION":"INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES", - "VALEURS IMPOSEES DES CONCENTRATIONS DES SEDIMENTS EN SUSPENSION":"PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES", - "PROFILS DES SEDIMENTS EN SUSPENSION SUR LA VERTICALE":"VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS", - "VALEURS DES SEDIMENTS EN SUSPENSION DES SOURCES":"SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES", - "SCHEMA POUR LA CONVECTION DES SEDIMENTS EN SUSPENSION":"SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS", - "OPTION DU SCHEMA POUR LA CONVECTION DES SEDIMENTS EN SUSPENSION":"SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS", - "SCHEMA POUR LA DIFFUSION DES SEDIMENTS EN SUSPENSION EN 3D":"SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D", - "SOLVEUR POUR LA DIFFUSION DE LA SUSPENSION":"SOLVER_FOR_DIFFUSION_OF_SUSPENSION", - "OPTION DU SOLVEUR POUR LA DIFFUSION DE LA SUSPENSION":"SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR POUR LA SUSPENSION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION", - "PRECISION POUR LA DIFFUSION DE LA SUSPENSION":"ACCURACY_FOR_DIFFUSION_OF_SUSPENSION", - "PRECONDITIONNEMENT POUR LA DIFFUSION DE LA SUSPENSION":"PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION", - "SCHEMA DE CONVECTION DIFFUSION AVEC VITESSE DE CHUTE":"ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY", - "VITESSE DE CHUTE ENTRAVEE":"HINDERED_SETTLING", - "FORMULE POUR VITESSE DE CHUTE ENTRAVEE":"HINDERED_SETTLING_FORMULA", - "CONCENTRATION LIMITE FLUIDE-SOLIDE":"WEAK_SOIL_CONCENTRATION_FOR_MUD", - "CONCENTRATION LIMITE POUR VITESSE DE CHUTE ENTRAVEE":"THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING", - "FLOCULATION":"FLOCCULATION", - "FORMULE POUR FLOCULATION":"FLOCCULATION_FORMULA", - "COEFFICIENT TRADUISANT LA FORMATION DES FLOCS":"FLOCCULATION_COEFFICIENT", - "COEFFICIENT TRADUISANT LA DESTRUCTION DES FLOCS":"COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION", - "ZERO":"ZERO", - "VOLUMES FINIS":"FINITE_VOLUMES", - "PRODUIT MATRICE-VECTEUR":"MATRIX_VECTOR_PRODUCT", - "STOCKAGE DES MATRICES":"MATRIX_STORAGE", - "DECENTREMENT POUR LE CHARRIAGE":"UPWINDING_FOR_BEDLOAD", - "MAXIMUM D'ITERATIONS POUR LES EPAISSEURS POSITIVES":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS", - "OPTION DU PREDICTEUR DE RUGOSITE":"BED_ROUGHNESS_PREDICTOR_OPTION", - "AD NOMBRE DE DERIVEES":"AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES":"AD_NAMES_OF_DERIVATIVES", - "AD NOMBRE DE DIRECTIONS":"AD_NUMBER_OF_DIRECTIONS", - "AD SOLVEUR LINEAIRE SYMBOLIQUE":"AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "MASSE VOLUMIQUE DU SEDIMENT PAR CLASSE":"CLASSES_SEDIMENT_DENSITY", - "POROSITE DU LIT NON COHESIF PAR COUCHE":"LAYERS_NON_COHESIVE_BED_POROSITY", - "VISCOSITE CINEMATIQUE EAU":"WATER_VISCOSITY", - "SETTLING LAG":"SETTLING_LAG", - "VITESSES DE CHUTE PAR CLASSE":"CLASSES_SETTLING_VELOCITIES", - "SUSPENSION POUR TOUS LES SABLES":"SUSPENSION_FOR_ALL_SANDS", - "CONCENTRATION D'EQUILIBRE EN ENTREE":"EQUILIBRIUM_INFLOW_CONCENTRATION", - "FORMULE DE TRANSPORT POUR TOUS LES SABLES":"SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS", - "CORRECTION DU CHAMP CONVECTEUR":"CORRECTION_ON_CONVECTION_VELOCITY", - "THETA IMPLICITATION POUR SUSPENSION":"THETA_IMPLICITATION_FOR_SUSPENSION", - "CONTRAINTE CRITIQUE DE DEPOT DE LA VASE PAR CLASSE":"CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION", - "CONSTANTE DE PARTHENIADES PAR COUCHE":"LAYERS_PARTHENIADES_CONSTANT", - "COEFFICIENT DE DIFFUSION DES SEDIMENTS EN SUSPENSION":"COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "COEFFICIENT DE DIFFUSION HORIZONTAL DES SEDIMENTS EN SUSPENSION":"COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "COEFFICIENT DE DIFFUSION VERTICAL DES SEDIMENTS EN SUSPENSION":"COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS", - "DIAMETRES DES GRAINS PAR CLASSE":"CLASSES_SEDIMENT_DIAMETERS", - "HIDING FACTOR PAR CLASSE":"CLASSES_HIDING_FACTOR", - "FRACTION INITIALE PAR CLASSE":"CLASSES_INITIAL_FRACTION", - "EPAISSEUR DE COUCHE ACTIVE":"ACTIVE_LAYER_THICKNESS", - "HIDING FACTOR FORMULA":"HIDING_FACTOR_FORMULA", - "EPAISSEUR DE COUCHE ACTIVE CONSTANTE":"CONSTANT_ACTIVE_LAYER_THICKNESS", - "EPAISSEURS INITIALES PAR COUCHE":"LAYERS_INITIAL_THICKNESS", - "DIAMETRE D90 POUR UNE SEULE CLASSE DE SABLE":"D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS", - "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN":"RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "CORRECTION FROTTEMENT DE PEAU":"SKIN_FRICTION_CORRECTION", - "FORMULE POUR EFFET DE PENTE":"FORMULA_FOR_SLOPE_EFFECT", - "ANGLE DE FROTTEMENT DU SEDIMENT":"FRICTION_ANGLE_OF_THE_SEDIMENT", - "FORMULE POUR LA DEVIATION":"FORMULA_FOR_DEVIATION", - "PARAMETRE POUR LA DEVIATION":"PARAMETER_FOR_DEVIATION", - "GLISSEMENT DU SEDIMENT":"SEDIMENT_SLIDE", - "EFFET DE PENTE":"SLOPE_EFFECT", - "BETA":"BETA", - "CALCUL DE LA RUGOSITE SEDIMENTAIRE":"COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE", - "SECONDARY CURRENTS ALPHA COEFFICIENT":"SECONDARY_CURRENTS_ALPHA_COEFFICIENT", - "FACTEUR MORPHOLOGIQUE SUR L'ECHELLE DES TEMPS":"MORPHOLOGICAL_FACTOR_ON_TIME_SCALE", - "FACTEUR MORPHOLOGIQUE SUR L'EVOLUTION DU LIT":"MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION", - "PROFONDEUR MINIMUM POUR LE CHARRIAGE":"MINIMUM_DEPTH_FOR_BEDLOAD", - "CHARRIAGE POUR TOUS LES SABLES":"BED_LOAD_FOR_ALL_SANDS", - "FORMULE DE TRANSPORT SOLIDE POUR TOUS LES SABLES":"BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS", - "COEFFICIENT B DE LA FORMULE DE BIJKER":"B_VALUE_FOR_THE_BIJKER_FORMULA", - "MPM COEFFICIENT":"MPM_COEFFICIENT", - "MODELE DE LIT":"BED_MODEL", - "TYPE DE SEDIMENT PAR CLASSE":"CLASSES_TYPE_OF_SEDIMENT", - "NOMBRE DE COUCHES POUR LE TASSEMENT":"NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL", - "TRANSFERT DE MASSE PAR COUCHE":"LAYERS_MASS_TRANSFER", - "CONCENTRATIONS DE LA VASE PAR COUCHE":"LAYERS_MUD_CONCENTRATION", - "CONTRAINTE CRITIQUE D'EROSION DE LA VASE PAR COUCHE":"LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD", - "VERTICAL GRAIN SORTING MODEL":"VERTICAL_GRAIN_SORTING_MODEL", - "C-VSM MAXIMUM SECTIONS":"C_VSM_MAXIMUM_SECTIONS", - "C-VSM FULL PRINTOUT PERIOD":"C_VSM_FULL_PRINTOUT_PERIOD", - "C-VSM PRINTOUT SELECTION":"C_VSM_PRINTOUT_SELECTION", - "ACTIVE LAYER THICKNESS FORMULA":"ACTIVE_LAYER_THICKNESS_FORMULA", -} - -DicoCasEnToCata = { - 'TITLE':'TITLE', - 'RELEASE':'RELEASE', - 'DICTIONARY':'DICTIONARY', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'VALIDATION':'VALIDATION', - 'NUMBER OF PRIVATE ARRAYS':'NUMBER_OF_PRIVATE_ARRAYS', - 'ORIGIN COORDINATES':'ORIGIN_COORDINATES', - 'DEBUGGER':'DEBUGGER', - 'OPTION FOR THE TREATMENT OF TIDAL FLATS':'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS', - 'NESTOR':'NESTOR', - 'NESTOR ACTION FILE':'NESTOR_ACTION_FILE', - 'NESTOR POLYGON FILE':'NESTOR_POLYGON_FILE', - 'NESTOR RESTART FILE':'NESTOR_RESTART_FILE', - 'NESTOR SURFACE REFERENCE FILE':'NESTOR_SURFACE_REFERENCE_FILE', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'MAXIMUM NUMBER OF BOUNDARIES':'MAXIMUM_NUMBER_OF_BOUNDARIES', - 'FLUXLINE INPUT FILE':'FLUXLINE_INPUT_FILE', - 'FLUXLINE':'FLUXLINE', - 'CONTROL SECTIONS':'CONTROL_SECTIONS', - 'CLASSES SHIELDS PARAMETERS':'CLASSES_SHIELDS_PARAMETERS', - 'MINIMAL VALUE OF THE WATER HEIGHT':'MINIMAL_VALUE_OF_THE_WATER_HEIGHT', - 'TIDAL FLATS':'TIDAL_FLATS', - 'SECONDARY CURRENTS':'SECONDARY_CURRENTS', - 'SECONDARY CURRENTS FILE':'SECONDARY_CURRENTS_FILE', - 'NUMBER OF LAYERS FOR INITIAL STRATIFICATION':'NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION', - 'EFFECT OF WAVES':'EFFECT_OF_WAVES', - 'TYPE OF WAVES':'TYPE_OF_WAVES', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'STEERING FILE':'STEERING_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'NAMES OF PRIVATE VARIABLES':'NAMES_OF_PRIVATE_VARIABLES', - 'BEDLOAD BOUNDARIES FILE':'BEDLOAD_BOUNDARIES_FILE', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'RESULTS FILE':'RESULTS_FILE', - 'VARIABLES TO BE PRINTED':'VARIABLES_TO_BE_PRINTED', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'MASS-BALANCE':'MASS_BALANCE', - 'SECTIONS OUTPUT FILE':'SECTIONS_OUTPUT_FILE', - 'C-VSM RESULTS FILE':'C_VSM_RESULTS_FILE', - 'C-VSM RESULTS FILE FORMAT':'C_VSM_RESULTS_FILE_FORMAT', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'WAVE FILE FORMAT':'WAVE_FILE_FORMAT', - 'FORTRAN FILE':'FORTRAN_FILE', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'WAVE FILE':'WAVE_FILE', - 'REFERENCE FILE':'REFERENCE_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'SECTIONS INPUT FILE':'SECTIONS_INPUT_FILE', - 'PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE FORMAT':'PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT', - 'PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE':'PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE', - 'COMPUTATION CONTINUED':'COMPUTATION_CONTINUED', - 'VARIABLES FOR GRAPHIC PRINTOUTS':'VARIABLES_FOR_GRAPHIC_PRINTOUTS', - 'NUMBER OF SUB-ITERATIONS':'NUMBER_OF_SUB_ITERATIONS', - 'ORIGINAL HOUR OF TIME':'ORIGINAL_HOUR_OF_TIME', - 'ORIGINAL DATE OF TIME':'ORIGINAL_DATE_OF_TIME', - 'PRESCRIBED SOLID DISCHARGES':'PRESCRIBED_SOLID_DISCHARGES', - 'CLASSES IMPOSED SOLID DISCHARGES DISTRIBUTION':'CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION', - 'INITIAL SUSPENDED SEDIMENTS CONCENTRATION VALUES':'INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES', - 'PRESCRIBED SUSPENDED SEDIMENTS CONCENTRATION VALUES':'PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES', - 'VERTICAL PROFILES OF SUSPENDED SEDIMENTS':'VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS', - 'SUSPENDED SEDIMENTS CONCENTRATION VALUES AT THE SOURCES':'SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES', - 'SCHEME FOR ADVECTION OF SUSPENDED SEDIMENTS':'SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS', - 'SCHEME OPTION FOR ADVECTION OF SUSPENDED SEDIMENTS':'SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS', - 'SCHEME FOR DIFFUSION OF SUSPENDED SEDIMENTS IN 3D':'SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D', - 'SOLVER FOR DIFFUSION OF SUSPENSION':'SOLVER_FOR_DIFFUSION_OF_SUSPENSION', - 'SOLVER OPTION FOR DIFFUSION OF SUSPENSION':'SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION', - 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER FOR SUSPENSION':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION', - 'ACCURACY FOR DIFFUSION OF SUSPENSION':'ACCURACY_FOR_DIFFUSION_OF_SUSPENSION', - 'PRECONDITIONING FOR DIFFUSION OF SUSPENSION':'PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION', - 'ADVECTION-DIFFUSION SCHEME WITH SETTLING VELOCITY':'ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY', - 'HINDERED SETTLING':'HINDERED_SETTLING', - 'HINDERED SETTLING FORMULA':'HINDERED_SETTLING_FORMULA', - 'WEAK SOIL CONCENTRATION FOR MUD':'WEAK_SOIL_CONCENTRATION_FOR_MUD', - 'THRESHOLD CONCENTRATION FOR HINDERED SETTLING':'THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING', - 'FLOCCULATION':'FLOCCULATION', - 'FLOCCULATION FORMULA':'FLOCCULATION_FORMULA', - 'FLOCCULATION COEFFICIENT':'FLOCCULATION_COEFFICIENT', - 'COEFFICIENT RELATIVE TO FLOC DESTRUCTION':'COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION', - 'ZERO':'ZERO', - 'FINITE VOLUMES':'FINITE_VOLUMES', - 'MATRIX-VECTOR PRODUCT':'MATRIX_VECTOR_PRODUCT', - 'MATRIX STORAGE':'MATRIX_STORAGE', - 'UPWINDING FOR BEDLOAD':'UPWINDING_FOR_BEDLOAD', - 'MAXIMUM NUMBER OF ITERATIONS FOR POSITIVE THICKNESS':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS', - 'BED ROUGHNESS PREDICTOR OPTION':'BED_ROUGHNESS_PREDICTOR_OPTION', - 'AD NUMBER OF DERIVATIVES':'AD_NUMBER_OF_DERIVATIVES', - 'AD NAMES OF DERIVATIVES':'AD_NAMES_OF_DERIVATIVES', - 'AD NUMBER OF DIRECTIONS':'AD_NUMBER_OF_DIRECTIONS', - 'AD SYMBOLIC LINEAR SOLVER':'AD_SYMBOLIC_LINEAR_SOLVER', - 'AD LINEAR SOLVER RESET DERIVATIVES':'AD_LINEAR_SOLVER_RESET_DERIVATIVES', - 'AD LINEAR SOLVER DERIVATIVE CONVERGENCE':'AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE', - 'CLASSES SEDIMENT DENSITY':'CLASSES_SEDIMENT_DENSITY', - 'LAYERS NON COHESIVE BED POROSITY':'LAYERS_NON_COHESIVE_BED_POROSITY', - 'WATER VISCOSITY':'WATER_VISCOSITY', - 'SETTLING LAG':'SETTLING_LAG', - 'CLASSES SETTLING VELOCITIES':'CLASSES_SETTLING_VELOCITIES', - 'SUSPENSION FOR ALL SANDS':'SUSPENSION_FOR_ALL_SANDS', - 'EQUILIBRIUM INFLOW CONCENTRATION':'EQUILIBRIUM_INFLOW_CONCENTRATION', - 'SUSPENSION TRANSPORT FORMULA FOR ALL SANDS':'SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS', - 'CORRECTION ON CONVECTION VELOCITY':'CORRECTION_ON_CONVECTION_VELOCITY', - 'THETA IMPLICITATION FOR SUSPENSION':'THETA_IMPLICITATION_FOR_SUSPENSION', - 'CLASSES CRITICAL SHEAR STRESS FOR MUD DEPOSITION':'CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION', - 'LAYERS PARTHENIADES CONSTANT':'LAYERS_PARTHENIADES_CONSTANT', - 'COEFFICIENT FOR DIFFUSION OF SUSPENDED SEDIMENTS':'COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS', - 'COEFFICIENT FOR HORIZONTAL DIFFUSION OF SUSPENDED SEDIMENTS':'COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS', - 'COEFFICIENT FOR VERTICAL DIFFUSION OF SUSPENDED SEDIMENTS':'COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS', - 'CLASSES SEDIMENT DIAMETERS':'CLASSES_SEDIMENT_DIAMETERS', - 'CLASSES HIDING FACTOR':'CLASSES_HIDING_FACTOR', - 'CLASSES INITIAL FRACTION':'CLASSES_INITIAL_FRACTION', - 'ACTIVE LAYER THICKNESS':'ACTIVE_LAYER_THICKNESS', - 'HIDING FACTOR FORMULA':'HIDING_FACTOR_FORMULA', - 'CONSTANT ACTIVE LAYER THICKNESS':'CONSTANT_ACTIVE_LAYER_THICKNESS', - 'LAYERS INITIAL THICKNESS':'LAYERS_INITIAL_THICKNESS', - 'D90 SAND DIAMETER FOR ONLY ONE CLASS':'D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS', - 'RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER':'RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER', - 'SKIN FRICTION CORRECTION':'SKIN_FRICTION_CORRECTION', - 'FORMULA FOR SLOPE EFFECT':'FORMULA_FOR_SLOPE_EFFECT', - 'FRICTION ANGLE OF THE SEDIMENT':'FRICTION_ANGLE_OF_THE_SEDIMENT', - 'FORMULA FOR DEVIATION':'FORMULA_FOR_DEVIATION', - 'PARAMETER FOR DEVIATION':'PARAMETER_FOR_DEVIATION', - 'SEDIMENT SLIDE':'SEDIMENT_SLIDE', - 'SLOPE EFFECT':'SLOPE_EFFECT', - 'BETA':'BETA', - 'COMPUTE BED ROUGHNESS AT SEDIMENT SCALE':'COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE', - 'SECONDARY CURRENTS ALPHA COEFFICIENT':'SECONDARY_CURRENTS_ALPHA_COEFFICIENT', - 'MORPHOLOGICAL FACTOR ON TIME SCALE':'MORPHOLOGICAL_FACTOR_ON_TIME_SCALE', - 'MORPHOLOGICAL FACTOR ON BED EVOLUTION':'MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION', - 'MINIMUM DEPTH FOR BEDLOAD':'MINIMUM_DEPTH_FOR_BEDLOAD', - 'BED LOAD FOR ALL SANDS':'BED_LOAD_FOR_ALL_SANDS', - 'BED-LOAD TRANSPORT FORMULA FOR ALL SANDS':'BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS', - 'B VALUE FOR THE BIJKER FORMULA':'B_VALUE_FOR_THE_BIJKER_FORMULA', - 'MPM COEFFICIENT':'MPM_COEFFICIENT', - 'BED MODEL':'BED_MODEL', - 'CLASSES TYPE OF SEDIMENT':'CLASSES_TYPE_OF_SEDIMENT', - 'NUMBER OF LAYERS OF THE CONSOLIDATION MODEL':'NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL', - 'LAYERS MASS TRANSFER':'LAYERS_MASS_TRANSFER', - 'LAYERS MUD CONCENTRATION':'LAYERS_MUD_CONCENTRATION', - 'LAYERS CRITICAL EROSION SHEAR STRESS OF THE MUD':'LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD', - 'VERTICAL GRAIN SORTING MODEL':'VERTICAL_GRAIN_SORTING_MODEL', - 'C-VSM MAXIMUM SECTIONS':'C_VSM_MAXIMUM_SECTIONS', - 'C-VSM FULL PRINTOUT PERIOD':'C_VSM_FULL_PRINTOUT_PERIOD', - 'C-VSM PRINTOUT SELECTION':'C_VSM_PRINTOUT_SELECTION', - 'ACTIVE LAYER THICKNESS FORMULA':'ACTIVE_LAYER_THICKNESS_FORMULA', -} -DicoEnumCasFrToEnumCasEn = { -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'C_VSM_RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'WAVE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -} diff --git a/Telemac/gaia_labelCataToIhm_en.qm b/Telemac/gaia_labelCataToIhm_en.qm deleted file mode 100644 index 5903fac8..00000000 Binary files a/Telemac/gaia_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/gaia_labelCataToIhm_en.ts b/Telemac/gaia_labelCataToIhm_en.ts deleted file mode 100644 index 514f7a98..00000000 --- a/Telemac/gaia_labelCataToIhm_en.ts +++ /dev/null @@ -1,772 +0,0 @@ - - @default - - TITLE - Title - - - RELEASE - Release - - - DICTIONARY - Dictionary - - - PARALLEL_PROCESSORS - Parallel processors - - - VALIDATION - Validation - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - ORIGIN_COORDINATES - Origin coordinates - - - DEBUGGER - Debugger - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - NESTOR - Nestor - - - NESTOR_ACTION_FILE - Nestor action file - - - NESTOR_POLYGON_FILE - Nestor polygon file - - - NESTOR_RESTART_FILE - Nestor restart file - - - NESTOR_SURFACE_REFERENCE_FILE - Nestor surface reference file - - - CHECKING_THE_MESH - Checking the mesh - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - FLUXLINE_INPUT_FILE - Fluxline input file - - - FLUXLINE - Fluxline - - - CONTROL_SECTIONS - Control sections - - - CLASSES_SHIELDS_PARAMETERS - Classes shields parameters - - - MINIMAL_VALUE_OF_THE_WATER_HEIGHT - Minimal value of the water height - - - TIDAL_FLATS - Tidal flats - - - SECONDARY_CURRENTS - Secondary currents - - - SECONDARY_CURRENTS_FILE - Secondary currents file - - - NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION - Number of layers for initial stratification - - - EFFECT_OF_WAVES - Effect of waves - - - TYPE_OF_WAVES - Type of waves - - - VECTOR_LENGTH - Vector length - - - STEERING_FILE - Steering file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - GEOMETRY_FILE - Geometry file - - - NAMES_OF_PRIVATE_VARIABLES - Names of private variables - - - BEDLOAD_BOUNDARIES_FILE - Bedload boundaries file - - - RESULTS_FILE_FORMAT - Results file format - - - RESULTS_FILE - Results file - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - MASS_BALANCE - Mass-balance - - - SECTIONS_OUTPUT_FILE - Sections output file - - - C_VSM_RESULTS_FILE - C-vsm results file - - - C_VSM_RESULTS_FILE_FORMAT - C-vsm results file format - - - REFERENCE_FILE_FORMAT - Reference file format - - - WAVE_FILE_FORMAT - Wave file format - - - FORTRAN_FILE - Fortran file - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - WAVE_FILE - Wave file - - - REFERENCE_FILE - Reference file - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - SECTIONS_INPUT_FILE - Sections input file - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT - Previous sedimentological computation file format - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE - Previous sedimentological computation file - - - COMPUTATION_CONTINUED - Computation continued - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - NUMBER_OF_SUB_ITERATIONS - Number of sub-iterations - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - PRESCRIBED_SOLID_DISCHARGES - Prescribed solid discharges - - - CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION - Classes imposed solid discharges distribution - - - INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES - Initial suspended sediments concentration values - - - PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES - Prescribed suspended sediments concentration values - - - VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS - Vertical profiles of suspended sediments - - - SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES - Suspended sediments concentration values at the sources - - - SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS - Scheme for advection of suspended sediments - - - SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS - Scheme option for advection of suspended sediments - - - SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D - Scheme for diffusion of suspended sediments in 3d - - - SOLVER_FOR_DIFFUSION_OF_SUSPENSION - Solver for diffusion of suspension - - - SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION - Solver option for diffusion of suspension - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION - Maximum number of iterations for solver for suspension - - - ACCURACY_FOR_DIFFUSION_OF_SUSPENSION - Accuracy for diffusion of suspension - - - PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION - Preconditioning for diffusion of suspension - - - ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY - Advection-diffusion scheme with settling velocity - - - HINDERED_SETTLING - Hindered settling - - - HINDERED_SETTLING_FORMULA - Hindered settling formula - - - WEAK_SOIL_CONCENTRATION_FOR_MUD - Weak soil concentration for mud - - - THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING - Threshold concentration for Hindered settling - - - FLOCCULATION - Flocculation - - - FLOCCULATION_FORMULA - Flocculation formula - - - FLOCCULATION_COEFFICIENT - Flocculation coefficient - - - COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION - Coefficient relative to floc destruction - - - ZERO - Zero - - - FINITE_VOLUMES - Finite volumes - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - MATRIX_STORAGE - Matrix storage - - - UPWINDING_FOR_BEDLOAD - Upwinding for bedload - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS - Maximum number of iterations for positive thickness - - - BED_ROUGHNESS_PREDICTOR_OPTION - Bed roughness predictor option - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - AD_NUMBER_OF_DIRECTIONS - Ad number of directions - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad symbolic linear solver - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad linear solver reset derivatives - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad linear solver derivative convergence - - - CLASSES_SEDIMENT_DENSITY - Classes sediment density - - - LAYERS_NON_COHESIVE_BED_POROSITY - Layers non cohesive bed porosity - - - WATER_VISCOSITY - Water viscosity - - - SETTLING_LAG - Settling lag - - - CLASSES_SETTLING_VELOCITIES - Classes settling velocities - - - SUSPENSION_FOR_ALL_SANDS - Suspension for all sands - - - EQUILIBRIUM_INFLOW_CONCENTRATION - Equilibrium inflow concentration - - - SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS - Suspension transport formula for all sands - - - CORRECTION_ON_CONVECTION_VELOCITY - Correction on convection velocity - - - THETA_IMPLICITATION_FOR_SUSPENSION - Theta implicitation for suspension - - - CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION - Classes critical shear stress for mud deposition - - - LAYERS_PARTHENIADES_CONSTANT - Layers partheniades constant - - - COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS - Coefficient for diffusion of suspended sediments - - - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS - Coefficient for Horizontal diffusion of suspended sediments - - - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS - Coefficient for vertical diffusion of suspended sediments - - - CLASSES_SEDIMENT_DIAMETERS - Classes sediment diameters - - - CLASSES_HIDING_FACTOR - Classes hiding factor - - - CLASSES_INITIAL_FRACTION - Classes initial fraction - - - ACTIVE_LAYER_THICKNESS - Active layer thickness - - - HIDING_FACTOR_FORMULA - Hiding factor formula - - - CONSTANT_ACTIVE_LAYER_THICKNESS - Constant active layer thickness - - - LAYERS_INITIAL_THICKNESS - Layers initial thickness - - - D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS - D90 sand diameter for only one class - - - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER - Ratio between skin friction and mean diameter - - - SKIN_FRICTION_CORRECTION - Skin friction correction - - - FORMULA_FOR_SLOPE_EFFECT - Formula for slope effect - - - FRICTION_ANGLE_OF_THE_SEDIMENT - Friction angle of the sediment - - - FORMULA_FOR_DEVIATION - Formula for deviation - - - PARAMETER_FOR_DEVIATION - Parameter for deviation - - - SEDIMENT_SLIDE - Sediment slide - - - SLOPE_EFFECT - Slope effect - - - BETA - Beta - - - COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE - Compute bed roughness at sediment scale - - - SECONDARY_CURRENTS_ALPHA_COEFFICIENT - Secondary currents alpha coefficient - - - MORPHOLOGICAL_FACTOR_ON_TIME_SCALE - Morphological factor on time scale - - - MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION - Morphological factor on bed evolution - - - MINIMUM_DEPTH_FOR_BEDLOAD - Minimum depth for bedload - - - BED_LOAD_FOR_ALL_SANDS - Bed load for all sands - - - BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS - Bed-load transport formula for all sands - - - B_VALUE_FOR_THE_BIJKER_FORMULA - B value for the bijker formula - - - MPM_COEFFICIENT - Mpm coefficient - - - BED_MODEL - Bed model - - - CLASSES_TYPE_OF_SEDIMENT - Classes type of sediment - - - NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL - Number of layers of the consolidation model - - - LAYERS_MASS_TRANSFER - Layers mass transfer - - - LAYERS_MUD_CONCENTRATION - Layers mud concentration - - - LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD - Layers critical erosion shear stress of the mud - - - VERTICAL_GRAIN_SORTING_MODEL - Vertical grain sorting model - - - C_VSM_MAXIMUM_SECTIONS - C-vsm maximum sections - - - C_VSM_FULL_PRINTOUT_PERIOD - C-vsm full printout period - - - C_VSM_PRINTOUT_SELECTION - C-vsm printout selection - - - ACTIVE_LAYER_THICKNESS_FORMULA - Active layer thickness formula - - - COMPUTATION_ENVIRONMENT - Computation environment - - - INTERNAL - Internal - - - GENERAL_PARAMETERS - General parameters - - - HYDRODYNAMICS - Hydrodynamics - - - MISCELLANEOUS - Miscellaneous - - - GENERAL - General - - - COHESIVE_AND_NON_COHESIVE - Cohesive and non cohesive - - - BED_STRUCTURE - Bed structure - - - USELESS - Useless - - - INPUT_OUTPUT__FILES - Input-output, files - - - RESULTS - Results - - - DATA_FILES - Data files - - - INITIAL_CONDITIONS - Initial conditions - - - INPUT_OUTPUT__GRAPHICS_AND_LISTING - Input-output, graphics and listing - - - TIME - Time - - - NON_COHESIVE - Non cohesive - - - INITIAL_CONDITION - Initial condition - - - BOUNDARY_CONDITIONS - Boundary conditions - - - NUMERICAL_PARAMETERS - Numerical parameters - - - SEDIMENT_INFO - Sediment info - - - COHESIVE - Cohesive - - - NUMERICAL - Numerical - - - PHYSICS - Physics - - - SUSPENSION - Suspension - - - SUSPENSIONS - Suspensions - - - SEDIMENTOLOGY - Sedimentology - - - BED_MATERIAL - Bed material - - - GLOBAL - Global - - - INPUT - Input - - - OUTPUT - Output - - - LOCATION - Location - - - TIDAL_FLATS_INFO - Tidal flats info - - - CHARRIAGE - Charriage - - - INITIALIZATION - Initialization - - - NAMES - Names - - - BEDLOAD - Bedload - - - SETTING - Setting - - - ADVECTION_INFO - Advection info - - - SOLVER - Solver - - - SETTLING_VELOCITY - Settling velocity - - - FRICTION - Friction - - - AUTOMATIC_DIFFERENTIATION - Automatic differentiation - - - TURBULENCE - Turbulence - - - CONSOLIDATION - Consolidation - - - C_VSM - C-vsm - - - DATA - Data - - - ADVANCED - Advanced - - - SLOPE_INFLUENCE - Slope influence - - - diff --git a/Telemac/gaia_labelCataToIhm_fr.qm b/Telemac/gaia_labelCataToIhm_fr.qm deleted file mode 100644 index 39b1eff4..00000000 Binary files a/Telemac/gaia_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/gaia_labelCataToIhm_fr.ts b/Telemac/gaia_labelCataToIhm_fr.ts deleted file mode 100644 index e638bdaf..00000000 --- a/Telemac/gaia_labelCataToIhm_fr.ts +++ /dev/null @@ -1,784 +0,0 @@ - - @default - - TITLE - Titre - - - RELEASE - Numero de version - - - DICTIONARY - Dictionnaire - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - VALIDATION - Validation - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - ORIGIN_COORDINATES - Coordonnees de l'origine - - - DEBUGGER - Debugger - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option de traitement des bancs decouvrants - - - NESTOR - Nestor - - - NESTOR_ACTION_FILE - Fichier de nestor action - - - NESTOR_POLYGON_FILE - Fichier de nestor polygon - - - NESTOR_RESTART_FILE - Fichier de nestor restart - - - NESTOR_SURFACE_REFERENCE_FILE - Fichier de nestor de surface reference - - - CHECKING_THE_MESH - Verification du maillage - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Nombre maximum de frontieres - - - FLUXLINE_INPUT_FILE - Fichier de fluxline - - - FLUXLINE - Fluxline - - - CONTROL_SECTIONS - Sections de controle - - - CLASSES_SHIELDS_PARAMETERS - Parametres de shields par classe - - - MINIMAL_VALUE_OF_THE_WATER_HEIGHT - Valeur minimum de H - - - TIDAL_FLATS - Bancs decouvrants - - - SECONDARY_CURRENTS - Courants secondaires - - - SECONDARY_CURRENTS_FILE - Fichier de courants secondaires - - - NUMBER_OF_LAYERS_FOR_INITIAL_STRATIFICATION - Nombre de couches pour stratification initiale - - - EFFECT_OF_WAVES - Prise en compte de la houle - - - TYPE_OF_WAVES - Type de Houle - - - VECTOR_LENGTH - Longueur du vecteur - - - STEERING_FILE - Fichier des parametres - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - GEOMETRY_FILE - Fichier de geometrie - - - NAMES_OF_PRIVATE_VARIABLES - Noms des variables privees - - - BEDLOAD_BOUNDARIES_FILE - Fichier des frontieres pour le charriage - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - RESULTS_FILE - Fichier des resultats - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - MASS_BALANCE - Bilan de masse - - - SECTIONS_OUTPUT_FILE - Sections output file - - - C_VSM_RESULTS_FILE - Fichier des resultats c-vsm - - - C_VSM_RESULTS_FILE_FORMAT - Format du fichier des c-vsm resultats - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - WAVE_FILE_FORMAT - Format du fichier de Houle - - - FORTRAN_FILE - Fichier fortran - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - WAVE_FILE - Fichier de Houle - - - REFERENCE_FILE - Fichier de reference - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - SECTIONS_INPUT_FILE - Fichier des sections de controle - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT - Format du fichier precedent sedimentologique - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE - Fichier precedent sedimentologique - - - COMPUTATION_CONTINUED - Suite de calcul - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - NUMBER_OF_SUB_ITERATIONS - Nombre de sous-iterations - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - PRESCRIBED_SOLID_DISCHARGES - Debits solides imposes - - - CLASSES_IMPOSED_SOLID_DISCHARGES_DISTRIBUTION - Distribution des debits imposes par classe - - - INITIAL_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES - Valeurs initiales de concentration des sediments en suspension - - - PRESCRIBED_SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES - Valeurs imposees des concentrations des sediments en suspension - - - VERTICAL_PROFILES_OF_SUSPENDED_SEDIMENTS - Profils des sediments en suspension sur la verticale - - - SUSPENDED_SEDIMENTS_CONCENTRATION_VALUES_AT_THE_SOURCES - Valeurs des sediments en suspension des sources - - - SCHEME_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS - Schema pour la convection des sediments en suspension - - - SCHEME_OPTION_FOR_ADVECTION_OF_SUSPENDED_SEDIMENTS - Option du schema pour la convection des sediments en suspension - - - SCHEME_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS_IN_3D - Schema pour la diffusion des sediments en suspension en 3d - - - SOLVER_FOR_DIFFUSION_OF_SUSPENSION - Solveur pour la diffusion de la suspension - - - SOLVER_OPTION_FOR_DIFFUSION_OF_SUSPENSION - Option du solveur pour la diffusion de la suspension - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION - Maximum d'iterations pour le solveur pour la suspension - - - ACCURACY_FOR_DIFFUSION_OF_SUSPENSION - Precision pour la diffusion de la suspension - - - PRECONDITIONING_FOR_DIFFUSION_OF_SUSPENSION - Preconditionnement pour la diffusion de la suspension - - - ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY - Schema de convection diffusion avec vitesse de chute - - - HINDERED_SETTLING - Vitesse de chute entravee - - - HINDERED_SETTLING_FORMULA - Formule pour vitesse de chute entravee - - - WEAK_SOIL_CONCENTRATION_FOR_MUD - Concentration limite fluide-solide - - - THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING - Concentration limite pour vitesse de chute entravee - - - FLOCCULATION - Floculation - - - FLOCCULATION_FORMULA - Formule pour floculation - - - FLOCCULATION_COEFFICIENT - Coefficient traduisant la formation des flocs - - - COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION - Coefficient traduisant la destruction des flocs - - - ZERO - Zero - - - FINITE_VOLUMES - Volumes finis - - - MATRIX_VECTOR_PRODUCT - Produit matrice-vecteur - - - MATRIX_STORAGE - Stockage des matrices - - - UPWINDING_FOR_BEDLOAD - Decentrement pour le charriage - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_POSITIVE_THICKNESS - Maximum d'iterations pour les epaisseurs positives - - - BED_ROUGHNESS_PREDICTOR_OPTION - Option du predicteur de rugosite - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre de derivees - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - AD_NUMBER_OF_DIRECTIONS - Ad nombre de directions - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad solveur lineaire symbolique - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad remise a zero des derivees du solveur lineaire - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad convergence des derivees pour le solveur lineaire - - - CLASSES_SEDIMENT_DENSITY - Masse volumique du sediment par classe - - - LAYERS_NON_COHESIVE_BED_POROSITY - Porosite du lit non cohesif par couche - - - WATER_VISCOSITY - Viscosite cinematique eau - - - SETTLING_LAG - Settling lag - - - CLASSES_SETTLING_VELOCITIES - Vitesses de chute par classe - - - SUSPENSION_FOR_ALL_SANDS - Suspension pour tous les sables - - - EQUILIBRIUM_INFLOW_CONCENTRATION - Concentration d'equilibre en entree - - - SUSPENSION_TRANSPORT_FORMULA_FOR_ALL_SANDS - Formule de transport pour tous les sables - - - CORRECTION_ON_CONVECTION_VELOCITY - Correction du champ convecteur - - - THETA_IMPLICITATION_FOR_SUSPENSION - Theta implicitation pour suspension - - - CLASSES_CRITICAL_SHEAR_STRESS_FOR_MUD_DEPOSITION - Contrainte critique de depot de la vase par classe - - - LAYERS_PARTHENIADES_CONSTANT - Constante de partheniades par couche - - - COEFFICIENT_FOR_DIFFUSION_OF_SUSPENDED_SEDIMENTS - Coefficient de diffusion des sediments en suspension - - - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS - Coefficient de diffusion Horizontal des sediments en suspension - - - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_SUSPENDED_SEDIMENTS - Coefficient de diffusion vertical des sediments en suspension - - - CLASSES_SEDIMENT_DIAMETERS - Diametres des grains par classe - - - CLASSES_HIDING_FACTOR - Hiding factor par classe - - - CLASSES_INITIAL_FRACTION - Fraction initiale par classe - - - ACTIVE_LAYER_THICKNESS - Epaisseur de couche active - - - HIDING_FACTOR_FORMULA - Hiding factor formula - - - CONSTANT_ACTIVE_LAYER_THICKNESS - Epaisseur de couche active constante - - - LAYERS_INITIAL_THICKNESS - Epaisseurs initiales par couche - - - D90_SAND_DIAMETER_FOR_ONLY_ONE_CLASS - Diametre d90 pour Une seule classe de sable - - - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER - Ratio entre la rugosite de peau et le diametre moyen - - - SKIN_FRICTION_CORRECTION - Correction frottement de peau - - - FORMULA_FOR_SLOPE_EFFECT - Formule pour effet de pente - - - FRICTION_ANGLE_OF_THE_SEDIMENT - Angle de frottement du sediment - - - FORMULA_FOR_DEVIATION - Formule pour la deviation - - - PARAMETER_FOR_DEVIATION - Parametre pour la deviation - - - SEDIMENT_SLIDE - Glissement du sediment - - - SLOPE_EFFECT - Effet de pente - - - BETA - Beta - - - COMPUTE_BED_ROUGHNESS_AT_SEDIMENT_SCALE - Calcul de la rugosite sedimentaire - - - SECONDARY_CURRENTS_ALPHA_COEFFICIENT - Secondary currents alpha coefficient - - - MORPHOLOGICAL_FACTOR_ON_TIME_SCALE - Facteur morphologique sur l'echelle des temps - - - MORPHOLOGICAL_FACTOR_ON_BED_EVOLUTION - Facteur morphologique sur l'evolution du lit - - - MINIMUM_DEPTH_FOR_BEDLOAD - Profondeur minimum pour le charriage - - - BED_LOAD_FOR_ALL_SANDS - Charriage pour tous les sables - - - BED_LOAD_TRANSPORT_FORMULA_FOR_ALL_SANDS - Formule de transport solide pour tous les sables - - - B_VALUE_FOR_THE_BIJKER_FORMULA - Coefficient b de la formule de bijker - - - MPM_COEFFICIENT - Mpm coefficient - - - BED_MODEL - Modele de lit - - - CLASSES_TYPE_OF_SEDIMENT - Type de sediment par classe - - - NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL - Nombre de couches pour le tassement - - - LAYERS_MASS_TRANSFER - Transfert de masse par couche - - - LAYERS_MUD_CONCENTRATION - Concentrations de la vase par couche - - - LAYERS_CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD - Contrainte critique d'erosion de la vase par couche - - - VERTICAL_GRAIN_SORTING_MODEL - Vertical grain sorting model - - - C_VSM_MAXIMUM_SECTIONS - C-vsm maximum sections - - - C_VSM_FULL_PRINTOUT_PERIOD - C-vsm full printout period - - - C_VSM_PRINTOUT_SELECTION - C-vsm printout selection - - - ACTIVE_LAYER_THICKNESS_FORMULA - Active layer thickness formula - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - INTERNAL - Interne - - - GENERAL_PARAMETERS - Parametres generaux - - - HYDRODYNAMICS - Hydrodynamique - - - MISCELLANEOUS - Divers - - - GENERAL - General - - - COHESIVE_AND_NON_COHESIVE - Cohesif et non cohesif - - - BED_STRUCTURE - Structure du lit - - - USELESS - Inutile - - - INPUT_OUTPUT__FILES - Entrees-sorties, fichiers - - - RESULTS - Resultats - - - DATA_FILES - Fichiers donnees - - - INITIAL_CONDITIONS - Conditions initiales - - - INPUT_OUTPUT__GRAPHICS_AND_LISTING - Entrees-sorties, graphiques et listing - - - TIME - Temps - - - NON_COHESIVE - Non cohesif - - - INITIAL_CONDITION - Condition initial - - - BOUNDARY_CONDITIONS - Conditions aux limites - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - SEDIMENT_INFO - Sediment info - - - COHESIVE - Cohesif - - - NUMERICAL - Numerique - - - PHYSICS - Physique - - - SUSPENSION - Suspension - - - SUSPENSIONS - Suspensions - - - SEDIMENTOLOGY - Sedimentologie - - - BED_MATERIAL - Granulometrie - - - GLOBAL - Global - - - INPUT - Entree - - - OUTPUT - Sortie - - - LOCATION - Localisation - - - TIDAL_FLATS_INFO - Info bancs decouvrants - - - CHARRIAGE - Bedload - - - INITIALIZATION - Initialisation - - - NAMES - Noms - - - BEDLOAD - Charriage - - - SETTING - Parametrage - - - ADVECTION_INFO - Info convection - - - SOLVER - Solveur - - - SETTLING_VELOCITY - Vitesse de chute - - - FRICTION - Frottement - - - AUTOMATIC_DIFFERENTIATION - Differentiation automatique - - - TURBULENCE - Turbulence - - - CONSOLIDATION - Tassement - - - C_VSM - C-vsm - - - DATA - Donnees - - - ADVANCED - Avance - - - SLOPE_INFLUENCE - Influence pente - - - diff --git a/Telemac/khione_cata_auto.py b/Telemac/khione_cata_auto.py deleted file mode 100644 index ae3b6958..00000000 --- a/Telemac/khione_cata_auto.py +++ /dev/null @@ -1,1311 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'KHIONE', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - INPUT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul -des glaces a realiser. Donne par l''utilisateur.""", - ang = """Name of the file containing parameters of the ice -computation. Provided by the user.""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier ou repertoire FORTRAN a soumettre, -contenant les sous-programmes specifiques au modele.""", - ang = """Name of the FORTRAN file or directory to be submitted, -including specific subroutines of the model.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -colours that are assigned to the boundary nodes.""", - ), -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de geometrie, identique a celui de \telemac{2D}.""", - ang = """Geometry file identical to the \telemac{2D} one.""", - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE GEOMETRIE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{GEOMETRY FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de resultats de reference pour la validation. -Si \telkey{VALIDATION} = OUI, les resultats du calcul vont etre -compares aux valeurs contenues dans ce fichier. -La comparaison est effectuee par le sous-programme \telfile{VALIDA}.""", - ang = """Name of the binary-coded result file used to validate the compuation. -If \telkey{VALIDATION} = YES, the results of the computation will be -compared with the values of this file. -The comparison is done by the subroutine \telfile{BIEF\_VALIDA}.""", - ), -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE REFERENCE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{REFERENCE FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. -Si ce mot-cle vaut OUI, les resultats du calcul vont alors etre -compares aux valeurs du \telkey{FICHIER DE REFERENCE}. -Le \telkey{FICHIER DE REFERENCE} est alors considere comme une -reference a laquelle on va comparer le calcul. La comparaison est -effectuee par le sous-programme \telfile{BIEF\_VALIDA} -qui peut etre une comparaison avec une solution exacte par exemple.""", - ang = """This option is primarily used for the validation documents. -If this keyword is equal to YES, the \telkey{REFERENCE FILE} -is then considered as a reference which the computation is -going to be compared with. -The \telkey{REFERENCE FILE} is then considered as a reference -which the computation is going to be compared with. -The comparison is done by the subroutine \telfile{BIEF\_VALIDA}, -which can be modified so as to include, for example, -a comparison with an exact solution.""", - ), - ), - ), -# ----------------------------------- - GLOBAL = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - TITLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie.""", - ang = """Title of the case being considered.""", - ), -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs pour la decomposition en parallele: -\begin{itemize} -\item 0 : 1 machine, compilation sans bibliotheque de parallelisme ; -\item 1 : 1 machine, compilation avec bibliotheque de parallelisme ; -\item 2 : 2 processeurs ou machines en parallele etc... -\end{itemize}""", - ang = """Number of processors for domain partition. -\begin{itemize} -\item 0: 1 machine, compiling without parallel library, -\item 1: 1 machine, compiling with a parallel library, -\item 2: 2 processors or machines in parallel etc... -\end{itemize}""", - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - fr = """Nom du fichier dans lequel seront ecrits les resultats du -calcul avec la periodicite donnee par le mot cle \telkey{PERIODE DE -SORTIES DES GLACES}.""", - ang = """Name of the file into which the computation results -are written with a periodicity given by the keyword -\telkey{ICE PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - RESULTS_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DES RESULTATS}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{RESULTS FILE}. Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - VARIABLES_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["SOLRAD CLEAR SKY","SOLRAD CLOUDY","NET SOLRAD","EFFECTIVE SOLRAD","EVAPO HEAT FLUX","CONDUC HEAT FLUX","PRECIP HEAT FLUX","FRAZIL THETA0","FRAZIL THETA1","REENTRAINMENT","SETTLING VEL.",""SOLID ICE CONC.,"SOLID ICE THICK.","FRAZIL THICKNESS","UNDER ICE THICK.","EQUIV. SURFACE","TOP ICE COVER","BOTTOM ICE COVERM","TOTAL ICE THICK.M ","CARACTERISTIQUES","TOTAL NUMBER OF PARTICLES","TOTAL CONCENTRATION OF FRAZIL","CONCENTRATION OF FRAZIL BY CLASS","PARTICLE NUMBER OF FRAZIL BY CLASS","WATER TEMPERATURE","SALINITY OF WATER"], - defaut = '', - fr = """Noms des variables que l''utilisateur veut ecrire dans -le \telkey{FICHIER DES RESULTATS DES GLACES}. -Chaque variable est representee par une lettre. -Le choix des separateurs est libre.""", - ang = """Names of variables that may be written in the -\telkey{ICE RESULTS FILE}. -Every variable is represented by a group of letters with -any separator between them , ; or blank.""", - ), -# ----------------------------------- - GRAPHIC_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Determine la periode en nombre de pas de temps d''impression des -\telkey{VARIABLES POUR LES SORTIES GRAPHIQUES} -(voir ce mot-cle) dans le \telkey{FICHIER DES RESULTATS}.""", - ang = """Determines, in number of time steps, the printout period for the -\telkey{VARIABLES FOR GRAPHIC PRINTOUTS} -in the \telkey{RESULTS FILE}.""", - ), -# ----------------------------------- - CLOGGING_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier ASCII de resultats de la glace accumulee aux prises d eau.""", - ang = """ASCII file of results for clogged ice parameters at water intakes.""", - ), - ), -# ----------------------------------- - LISTING = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - VARIABLES_TO_BE_PRINTED = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', max='**', - into = ['TO BE EDITED'], - defaut = '', - fr = """Mot cle necessaire mais qui ne fait rien.""", - ang = """Necessary keyword but does not do much.""", - ), -# ----------------------------------- - LISTING_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Determine la periode en nombre de pas de temps d''impression des -\telkey{VARIABLES A IMPRIMER} (voir ce mot-cle). -Pour la mise au point, il faut -savoir que la sortie des resultats est effectuee systematiquement sur le -listing (CAS.SORTIE sur station de travail).""", - ang = """Determines, in number of time steps, the printout period of the -\telkey{VARIABLES TO BE PRINTED}. -The results are systematically printed out on -the listing file (file CAS.SORTIE at the workstation).""", - ), -# ----------------------------------- - MASS_BALANCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si l''on effectue ou non le bilan de masse -sur le domaine.""", - ang = """Determines whether a check of the mass-balance over -the domain is done or not.""", - ), - ), - ), -# ----------------------------------- - RESTART = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - PREVIOUS_ICE_COVER_COMPUTATION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul de couvert de -glace precedent realise sur le meme maillage et dont le dernier pas de -temps enregistre va fournir les conditions initiales pour une suite de -de calcul.""", - ang = """Name of a file containing the results of an earlier ice cover -computation which was made on the same mesh. The last recorded time -step will provide the initial conditions for the new computation.""", - ), -# ----------------------------------- - PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul de couvert de glace precedent. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel. -\end{itemize}""", - ang = """Previous ice cover computation results file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel. -\end{itemize}""", - ), -# ----------------------------------- - PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul Lagrangien de -couvert de blocs de glace precedent et dont le dernier pas de -temps enregistre va fournir les conditions initiales pour une suite de -de calcul.""", - ang = """Name of a file containing the results of ice blocks from an earlier -Lagrangian computation. The last recorded time step will provide the -initial conditions for the new computation.""", - ), -# ----------------------------------- - PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats Lagrangien du calcul de couvert -de glace precedent. -Les valeurs possibles sont : -\begin{itemize} -\item UNKNOWN : format non-defini simple precision pour \tel ; -\item UNKNOWND: format non-defini double precision pour \tel. -\end{itemize}""", - ang = """Previous ice cover blocks computation results file format. -Possible values are: -\begin{itemize} -\item UNKNOWN : not-yet-defined single precision format in \tel, -\item UNKNOWND: not-yet-defined double precision format in \tel. -\end{itemize}""", - ), - ), -# ----------------------------------- - INITIALIZATION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - INITIAL_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['"WITHOUT ICE COVER"','"CONSTANT ICE COVER"','"SPECIAL"','"PARTICULIERES"','"PARTICULAR"'], - defaut = 'WITHOUT ICE COVER', - fr = """Permet de definir les conditions initiales sur le couvert de glaces. -Les valeurs possibles sont : -\begin{itemize} -\item SANS COUVERT DE GLACE ; -\item COUVERT DE GLACE CONSTANT ; -\item PARTICULIERES. Les conditions initiales sur le couvert de glace -doivent etre precisees dans le sous-programme \telfile{CONDICE}. -\end{itemize}""", - ang = """Makes it possible to define the initial conditions with ice cover. -The possible values are as follows: -\begin{itemize} -\item WITHOUT ICE COVER, -\item CONSTANT ICE COVER, -\item SPECIAL. The initial conditions with the water depth should be -stated in the \telfile{CONDICE} subroutine. -\end{itemize}""", - ), - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'KHIONE.DICO', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -) -# ----------------------------------------------------------------------- -ICE_COVER = PROC(nom= "ICE_COVER",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.07], - fr = """""", - ang = """""", - ), -# ----------------------------------- - CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.4], - fr = """""", - ang = """""", - ), -# ----------------------------------- - ICE_COVER_IMPACT_ON_HYDRODYNAMIC = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte de l''impact du couvert de glace sur -l''hydrodynamique.""", - ang = """Computation of ice cover impact on the hydrodynamic.""", - ), -# ----------------------------------- - BORDER_ICE_COVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte du calcul de glace de bord statique.""", - ang = """Computation of border ice cover.""", - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [-1.1], - fr = """""", - ang = """""", - ), -# ----------------------------------- - CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - FRICTION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - LAW_OF_ICE_COVER_FRICTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO FRICTION","HAALAND","CHEZY","STRICKLER","MANNING","NIKURADSE"], - defaut = "MANNING", - fr = """Selectionne le type de formulation utilisee pour le calcul du -frottement sous le couvert de glace. Les lois possibles sont les -suivantes (cf. Note de principe) : -\begin{itemize} -\item 0 : pas de frottement sur le fond ; -\item 1 : formule de Haaland ; -\item 2 : formule de Chezy ; -\item 3 : formule de Strickler ; -\item 4 : formule de Manning ; -\item 5 : formule de Nikuradse. -\end{itemize}""", - ang = """Selects the type of formulation used for the under ice cover friction. -The possible laws are as follows (refer to the Principle note): -\begin{itemize} -\item 0: no friction against bottom, -\item 1: Haaland formula, -\item 2: Chezy formula, -\item 3: Strickler formula, -\item 4: Manning formula, -\item 5: Nikuradse formula. -\end{itemize}""", - ), -# ----------------------------------- - FRICTION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.04, - fr = """Fixe la valeur du coefficient de frottement pour la -formulation choisie. -Attention : la signification de ce chiffre varie suivant la formule -choisie : -\begin{itemize} -\item 1 : coefficient lineaire ; -\item 2 : coefficient de Chezy ; -\item 3 : coefficient de Strickler ; -\item 4 : coefficient de Manning ; -\item 5 : hauteur de rugosite de Nikuradse. -\end{itemize}""", - ang = """Sets the value of the friction coefficient for the selected -formulation. It is noteworthy that the meaning of this figure changes -according to the selected formula (Chezy, Strickler, etc.): -\begin{itemize} -\item 1: linear coefficient, -\item 2: Chezy coefficient, -\item 3: Strickler coefficient, -\item 4: Manning coefficient, -\item 5: Nikuradse grain size. -\end{itemize}""", - ), -# ----------------------------------- - MAXIMAL_FRICTION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.04, - fr = """Fixe le coefficient de frottement maximal lorsque la celui-ci depend -de l''epaisseur du couvert de glace.""", - ang = """Sets the maximal friction coefficient when it depends linearly on the -ice cover thickness.""", - ), -# ----------------------------------- - LAW_FOR_FRICTION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["CONSTANT FRICTION COEF","LINEAR FRICTION COEF"], - defaut = "CONSTANT FRICTION COEF", - fr = """Selectionne entre un coefficient de friction constant ou variable -lineairement en fonction de l''epaisseur du couvert de glace.""", - ang = """Selection between constant friction coefficient of linearly dependant -on ice cover thickness.""", - ), -# ----------------------------------- - EQUIVALENT_SURFACE_ICE_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.001], - fr = """""", - ang = """""", - ), - ), - ), -# ----------------------------------- - ICE_DYNAMICS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - INCLUDE_ICE_DYNAMICS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Active les processessus de dynamique des glaces de surfaces.""", - ang = """Switch the surface ice dynamics processes.""", - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL = PROC(nom= "GENERAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SALINITY = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Ajoute la salinite et modifie le point de congelation de la glace en -fonction.""", - ang = """Add salinity tracer and modify freezing point of water accordingly.""", - ), -# ----------------------------------- - ENERGY_BALANCE_VERSION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["SIMPLIFIED ENERGY BALANCE","FULL ENERGY BALANCE"], - defaut = ["SIMPLIFIED ENERGY BALANCE"], - fr = """Choix de la version du bilan energetique.""", - ang = """Choice of the energy balance version.""", - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - AIR_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.225, - fr = """Fixe la valeur de la masse volumique de l''air.""", - ang = """Sets the value of air density.""", - ), -# ----------------------------------- - ICE_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 916.8, - fr = """Fixe la valeur de la masse volumique de la glace, en kg/m$^3$.""", - ang = """Sets the value of ice density, in kg/m$^3$.""", - ), -# ----------------------------------- - POROSITY_OF_SURFACE_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.4], - fr = """""", - ang = """""", - ), -# ----------------------------------- - WATER_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 999.972, - fr = """Fixe la valeur de la masse volumique de l''eau, en kg/m$^3$.""", - ang = """Sets the value of water density, in kg/m$^3$.""", - ), -# ----------------------------------- - KINEMATIC_WATER_VISCOSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.792E-6, - fr = """Definit la viscosite cinematique de l''eau. En m/s$^2$.""", - ang = """Specifies the water kinematic viscosity. In m/s$^2$.""", - ), - ), -) -# ----------------------------------------------------------------------- -THERMAL_BUDGET = PROC(nom= "THERMAL_BUDGET",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - HEAT_BUDGET = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Prise en compte des echanges thermiques dans le calcul.""", - ang = """Computation of the thermal exchanges in \khione.""", - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WATER_SPECIFIC_HEAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [4180.], - fr = """Fixe la valeur de la chaleur specifique de l eau, en J/kg/K.""", - ang = """Sets the value of the specific heat of water, in J/kg/K.""", - ), -# ----------------------------------- - SPECIFIC_HEAT_OF_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2.04E+03, - fr = """Fixe la valeur de la chaleur specifique de la glace, -en J/kg/K.""", - ang = """Sets the value of the specific heat of ice, -in J/kg/K.""", - ), -# ----------------------------------- - LATENT_HEAT_OF_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 3.34E5, - fr = """Fixe la valeur de la chaleur latente de la glace.""", - ang = """Sets the value of the latent heat of ice.""", - ), -# ----------------------------------- - WATER_AIR_HEAT_EXCHANGE_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [20.], - fr = """Fixe la valeur du coefficient d''echange thermique entre - l''eau et l''air.""", - ang = """Sets the heat exchange coefficient between water and air.""", - ), - ), -# ----------------------------------- - CONSTANT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WATER_AIR_HEAT_EXCHANGE_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [50.], - fr = """Fixe la valeur de la constante d''echange thermique entre - l''eau et l''air.""", - ang = """Sets the heat exchange constant between water and air.""", - ), -# ----------------------------------- - ICE_AIR_HEAT_EXCHANGE_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [12.189], - fr = """Fixe la valeur du coefficient d''echange thermique lineaire - entre la glace et l''air.""", - ang = """Sets the linearised heat flux exchange coefficient between - ice and air.""", - ), -# ----------------------------------- - ICE_AIR_HEAT_EXCHANGE_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [32.547], - fr = """Fixe la valeur de la constante d''echange thermique lineaire - entre la glace et l''air.""", - ang = """Sets the linearised heat flux exchange constant between ice and air.""", - ), -# ----------------------------------- - CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1448.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1118.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - BOLTZMANN_CONSTANT__WM_2K_4_ = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [5.67D-8], - fr = """""", - ang = """""", - ), - ), -# ----------------------------------- - CALIBRATION_COEFFICIENT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """Fixe la valeur du coefficient de calage du flux radiatif -entre l''atmosphere et la surface libre.""", - ang = """Sets heat flux calibration coefficient for effective back -radiation on the free surface.""", - ), -# ----------------------------------- - COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """Fixe la valeur du coefficient de calage du transfert de chaleur -evaporatif entre l''atmosphere et la surface libre.""", - ang = """Sets heat flux calibration coefficient for evaporative heat -transfert between air and atmosphere.""", - ), -# ----------------------------------- - COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """Fixe la valeur du coefficient de calage du transfert de chaleur -conductif entre l''atmosphere et la surface libre.""", - ang = """Sets heat flux calibration coefficient for conductive heat -transfert between air and atmosphere.""", - ), -# ----------------------------------- - COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """Fixe la valeur du coefficient de calage du transfert de chaleur -entre l''atmosphere et la surface libre lie aux precipitations.""", - ang = """Sets heat flux calibration coefficient for precipitation heat -transfert between air and atmosphere.""", - ), - ), -# ----------------------------------- - THERMAL_CONDUCTIVITY = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.56594], - fr = """""", - ang = """""", - ), -# ----------------------------------- - THERMAL_CONDUCTIVITY_OF_BLACK_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [2.24], - fr = """""", - ang = """""", - ), -# ----------------------------------- - THERMAL_CONDUCTIVITY_OF_SNOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.3], - fr = """""", - ang = """""", - ), - ), -# ----------------------------------- - TURBULENCE = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [7.541], - fr = """""", - ang = """""", - ), - ), -# ----------------------------------- - METEOROLOGICAL_PROCESSES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - ALBEDO_OF_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.2], - fr = """Fixe la constante albedo des glaces.""", - ang = """Sets the albedo of ice.""", - ), -# ----------------------------------- - ATMOSPHERE_WATER_EXCHANGE_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["LINEARISED FORMULA","MODEL WITH COMPLETE BALANCE"], - defaut = ["LINEARISED FORMULA"], - fr = """Choix du modele d echanges entre l eau et l atmosphere. -\begin{itemize} -\item 0: formule linearisee (default) ; -\item 1: modele a bilan complet. -\end{itemize}""", - ang = """Choice of the atmosphere-water exchange model. -\begin{itemize} -\item 0: linearised formula, -\item 1: model with complete balance. -\end{itemize}""", - ), -# ----------------------------------- - WIND = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - HEIGHT_OF_MEASURED_WIND = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [4.5], - fr = """Fixe la valeur de la hauteur a laquelle le vent est mesure, en metres.""", - ang = """Sets the height at which the wind is measured, in meters.""", - ), - ), -# ----------------------------------- - SUN = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Fixe l''elevation du modele relative au niveau moyen des oceans.""", - ang = """Sets the relative model elevation from mean sea level.""", - ), -# ----------------------------------- - SUN_SET_ANGLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [180.], - fr = """Fixe l''angle du soleil couchant, 180 degres pour l''horizontale.""", - ang = """Sets the sun set angle, 180 degrees for the horizontal.""", - ), -# ----------------------------------- - SUN_RISE_ANGLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Fixe l''angle du soleil levant, 0 degres pour l''horizontale.""", - ang = """Sets the sun rise angle, 0 degrees for the horizontal.""", - ), -# ----------------------------------- - SOLAR_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1380.], - fr = """Fixe la constante solaire.""", - ang = """Sets the solar constant. -The solar constant, a measure of flux density, is the mean solar -electromagnetic radiation (the solar irradiance) per unit area that -would be incident on a plane perpendicular to the rays, at a distance -of one astronomical unit (AU) from the Sun (roughly the mean distance -from the Sun to the Earth). The solar constant includes all types of -solar radiation, not just the visible light. It is measured by -satellite as being 1.361 kilowatts per square meter (kW/m$^2$) at solar -minimum and approximately 0.1~\% greater (roughly 1.362 kW/m$^2$) at -solar maximum. -The solar "constant" is not a physical constant in scientific -sense; that is, it is not like the Planck constant or the speed of -light, which are absolutely constant in physics. The solar constant is -merely an average of the actually varying value. It has been shown to -vary in the past 400 years over a range of less than 0.2~\%.""", - ), - ), -# ----------------------------------- - AIR = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - DEWPOINT_TEMPERATURE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """En $^{\circ}$C, temperature de rosee lorsque celle-ci n est pas deja -donnee dans un des fichiers meteo.""", - ang = """In $^{\circ}$C, dewpoint temperature used when it is not already -provided within one of the meteo files.""", - ), -# ----------------------------------- - VISIBILITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E13], - fr = """En metres, visibilite lorsque celle-ci n est pas deja donnee -dans un des fichiers meteo.""", - ang = """In meters, visibility used when it is not already provided -within one of the meteo files.""", - ), - ), -# ----------------------------------- - POSITION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - GLOBAL_LONGITUDE__IN_DEGREES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [75.], - fr = """Fixe la longitude globale, en degres.""", - ang = """Sets the global longitude, in degrees.""", - ), -# ----------------------------------- - LOCAL_LONGITUDE__IN__DEGREES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [75.43], - fr = """Fixe la longitude locale, en degres.""", - ang = """Sets the local longitude, in degrees.""", - ), -# ----------------------------------- - EAST_OR_WEST_LONGITUDE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [-1.], - fr = """-1., pour les longitudes ouest; +1. pour les longitude est.""", - ang = """-1., for west longitudes; +1. for east longitudes""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -FRAZIL = PROC(nom= "FRAZIL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SCHEME_OPTION_FOR_THERMAL_GROWTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["EXPLICIT TIME SCHEME","SEMI-IMPLICIT TIME SCHEME"], - defaut = ["EXPLICIT TIME SCHEME"], - fr = """Choix du schema d''integration en temps pour le terme source -de croissance thermique de frasil.""", - ang = """Time integration option for the frazil thermal growth source term.""", - ), -# ----------------------------------- - MODEL_FOR_THE_SECONDARY_NUCLEATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO MODEL","SVENSSON AND OMSTEDT 1994","WANG AND DOERING 2005"], - defaut = ["SVENSSON AND OMSTEDT 1994"], - fr = """Choix du modele de nucleation secondaire, -valable uniquement pour le modele multi-classes.""", - ang = """Choice of the model for secondary nucleation, -only for multi-class model.""", - ), -# ----------------------------------- - SECONDARY_NUCLEATION_NMAX_PARAMETER = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = [1.E3], - fr = """Choix du parametre NMAX pour la nucleation secondaire.""", - ang = """Choice of secondary nucleation NMAX parameter.""", - ), -# ----------------------------------- - MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO MODEL","SVENSSON AND OMSTEDT 1994"], - defaut = ["SVENSSON AND OMSTEDT 1994"], - fr = """Choix du modele de floculation et rupture, -valable uniquement pour le modele multi-classes.""", - ang = """Choice of the model for flocculation and breakup, -only for multi-class model.""", - ), -# ----------------------------------- - FLOCCULATION_AFLOC_PARAMETER = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = [1.E3], - fr = """Choix du parametre \telfile{AFLOC} pour la floculation.""", - ang = """Choice of flocculation \telfile{AFLOC} parameter.""", - ), -# ----------------------------------- - MODEL_FOR_FRAZIL_SEEDING = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO MODEL","MINIMUM CONC. THRESHOLD","CONSTANT SEEDING RATE","BOTH OPTIONS 1 AND 2"], - defaut = ["MINIMUM CONC. THRESHOLD"], - fr = """Choix du modele d''ensemencement du frasil.""", - ang = """Choice of the model for frazil seeding.""", - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Fixe le nombre de classes de particules de frasil en suspension.""", - ang = """Sets the number of classes of suspended frazil ice granules.""", - ), -# ----------------------------------- - FRAZIL_CRYSTALS_RADIUS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [1.E-4], - fr = """""", - ang = """""", - ), -# ----------------------------------- - FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [10.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - MODEL_FOR_THE_BUOYANCY_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["DALY (1984)","HAALAND","GOSIK & OSTERKAMP (1983)"], - defaut = ["DALY (1984)"], - fr = """""", - ang = """""", - ), -# ----------------------------------- - FREEZING_POINT_OF_WATER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [15.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - FRAZIL_SEEDING_RATE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [50.], - fr = """Nombre de cristaux par unite de volume ajoutees par seconde.""", - ang = """Number of crystals per unit volume added per second.""", - ), -# ----------------------------------- - MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1000], - fr = """Nombre minimum de cristaux par unite de volume.""", - ang = """Minimum number of crystals per unit volume.""", - ), - ), -# ----------------------------------- - CALIBRATION_COEFFICIENT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """""", - ang = """""", - ), - ), -# ----------------------------------- - TURBULENCE = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUSSELT_NUMBER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [4.], - fr = """""", - ang = """""", - ), -# ----------------------------------- - MODEL_FOR_THE_NUSSELT_NUMBER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """""", - ang = """""", - ), -# ----------------------------------- - MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """\begin{itemize} -\item 0: valeurs constantes fixees par defaut dans le code ; -\item 1: valeurs estimees a partir d''une integration verticale -du modele de longueur de melange ; -\item 2: valeurs calculees et donnees par \telemac{2D}. -\end{itemize}""", - ang = """\begin{itemize} -\item 0: constant values set in the code, -\item 1: values estimated from vertical integration of a mixed length -model, -\item 2: values computed and given by \telemac{2D}. -\end{itemize}""", - ), - ), -# ----------------------------------- - PRECIPITATION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - FRAZIL_PRECIPITATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte de le precipitation du frasil.""", - ang = """Computation of the frazil precipitation.""", - ), - ), -) -# ----------------------------------------------------------------------- -CLOGGING = PROC(nom= "CLOGGING",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - CLOGGING_ON_BARS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte de l''impact du colmatage sur les grilles.""", - ang = """Computation of clogging on grid.""", - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - GLACE = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - POROSITY_OF_ACCUMULATED_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.67], - fr = """""", - ang = """""", - ), -# ----------------------------------- - ANGLE_OF_ACCUMULATED_ICE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [35.], - fr = """""", - ang = """""", - ), - ), -# ----------------------------------- - GRID = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 4, max= 4, - defaut = [0.06,0.01,0.06,0.01], - fr = """Caracteristiques des barres verticales et horizontales, dans l ordre : -\begin{itemize} -\item 1 : distance entre les centres des barres transversales ; -\item 2 : diametre des barres transversales ; -\item 3 : distance verticale entre les centres des barres verticales ; -\item 4 : diametre des barres verticales. -\end{itemize} -Un diametre de zero pour un certain groupe de barres entrainera la - supression des barres de ce groupe.""", - ang = """Characteristics of vertical and transverse bars, in order of -appearance: -\begin{itemize} -\item 1: distance between the centre of the transverse bars, -\item 2: diameter of the transverse bars, -\item 3: distance between the centre of the vertical bars, -\item 4: diameter of the vertical bars. -\end{itemize} -A zero diameter for one particular set of bars will result in not - having those bars on the rack.""", - ), - ), - ), -# ----------------------------------- - BOUNDARIES_CONDITION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CLOGGED_BOUNDARY_NUMBERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Liste des numeros de frontieres liquides ou des grilles de prises -d''eau sont presentes.""", - ang = """List of liquid boundary numbers where intake racks are present.""", - ), -# ----------------------------------- - CLOGGED_SECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Liste des noeuds composant les sections sur lequelles -on a une grille potentiellement colmatee, vont par paire : -sec1\_depart;sec1\_arrivee;sec2\_depart;sec2\_arrivee;...""", - ang = """List of nodes on which the sections represent -a clogged rack, goes by couple: -sec1\_start;sec1\_end;sec2\_start;sec2\_end;...""", - ), - ), -) -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom= "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - AUTOMATIC_DIFFERENTIATION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - AD_NUMBER_OF_DERIVATIVES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Definit le nombre de derivees utilisateurs, dans le cadre -de la differentiation algorithmique.""", - ang = """Defines the number of user derivatives, within the framework -of the algorithmic differentiation.""", - ), -# ----------------------------------- - AD_NAMES_OF_DERIVATIVES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des derivees utilisateurs en 32 caracteres, -16 pour le nom, 16 pour l''unite.""", - ang = """Name of user derivatives in 32 characters, -16 for the name, 16 for the unit.""", - ), - ), -) -TEXTE_NEW_JDC = "\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'INTERNAL', -'ICE_COVER', -'GENERAL', -'THERMAL_BUDGET', -'FRAZIL', -'CLOGGING', -'NUMERICAL_PARAMETERS') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.khione_enum_auto' -dicoCasEn = source+'.khione_dicoCasEnToCata' -dicoCasFr = source+'.khione_dicoCasFrToCata' diff --git a/Telemac/khione_dicoCasEnToCata.py b/Telemac/khione_dicoCasEnToCata.py deleted file mode 100644 index c62d4c5a..00000000 --- a/Telemac/khione_dicoCasEnToCata.py +++ /dev/null @@ -1,206 +0,0 @@ -dicoCataToEngTelemac = { - "STEERING_FILE" : "STEERING FILE", - "FORTRAN_FILE" : "FORTRAN FILE", - "TITLE" : "TITLE", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "REFERENCE_FILE" : "REFERENCE FILE", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "RESULTS_FILE" : "RESULTS FILE", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "PREVIOUS_ICE_COVER_COMPUTATION_FILE" : "PREVIOUS ICE COVER COMPUTATION FILE", - "PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT" : "PREVIOUS ICE COVER COMPUTATION FILE FORMAT", - "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE" : "PREVIOUS ICE BLOCKS COMPUTATION FILE", - "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT" : "PREVIOUS ICE BLOCKS COMPUTATION FILE FORMAT", - "DICTIONARY" : "DICTIONARY", - "INITIAL_CONDITIONS" : "INITIAL CONDITIONS", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES FOR GRAPHIC PRINTOUTS", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES TO BE PRINTED", - "GRAPHIC_PRINTOUT_PERIOD" : "GRAPHIC PRINTOUT PERIOD", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "MASS_BALANCE" : "MASS-BALANCE", - "VALIDATION" : "VALIDATION", - "LAW_OF_ICE_COVER_FRICTION" : "LAW OF ICE COVER FRICTION", - "FRICTION_COEFFICIENT" : "FRICTION COEFFICIENT", - "MAXIMAL_FRICTION_COEFFICIENT" : "MAXIMAL FRICTION COEFFICIENT", - "LAW_FOR_FRICTION_COEFFICIENT" : "LAW FOR FRICTION COEFFICIENT", - "EQUIVALENT_SURFACE_ICE_THICKNESS" : "EQUIVALENT SURFACE ICE THICKNESS", - "AIR_DENSITY" : "AIR DENSITY", - "ICE_DENSITY" : "ICE DENSITY", - "WATER_SPECIFIC_HEAT" : "WATER SPECIFIC HEAT", - "SPECIFIC_HEAT_OF_ICE" : "SPECIFIC HEAT OF ICE", - "LATENT_HEAT_OF_ICE" : "LATENT HEAT OF ICE", - "WATER_AIR_HEAT_EXCHANGE_COEFFICIENT" : "WATER-AIR HEAT EXCHANGE COEFFICIENT", - "WATER_AIR_HEAT_EXCHANGE_CONSTANT" : "WATER-AIR HEAT EXCHANGE CONSTANT", - "ICE_AIR_HEAT_EXCHANGE_COEFFICIENT" : "ICE-AIR HEAT EXCHANGE COEFFICIENT", - "ICE_AIR_HEAT_EXCHANGE_CONSTANT" : "ICE-AIR HEAT EXCHANGE CONSTANT", - "COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION" : "COEFFICIENT FOR CALIBRATION OF BACK RADIATION", - "COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT" : "COEFFICIENT FOR CALIBRATION OF EVAPORATIVE HEAT TRANSFERT", - "COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT" : "COEFFICIENT FOR CALIBRATION OF CONDUCTIVE HEAT TRANSFERT", - "COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT" : "COEFFICIENT FOR CALIBRATION OF PRECIPITATION HEAT TRANSFERT", - "THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL" : "THERMAL CONDUCTIVITY BETWEEN WATER AND FRAZIL", - "THERMAL_CONDUCTIVITY_OF_BLACK_ICE" : "THERMAL CONDUCTIVITY OF BLACK ICE", - "THERMAL_CONDUCTIVITY_OF_SNOW" : "THERMAL CONDUCTIVITY OF SNOW", - "POROSITY_OF_SURFACE_ICE" : "POROSITY OF SURFACE ICE", - "NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE" : "NUMBER OF CLASSES FOR SUSPENDED FRAZIL ICE", - "NUSSELT_NUMBER" : "NUSSELT NUMBER", - "MODEL_FOR_THE_NUSSELT_NUMBER" : "MODEL FOR THE NUSSELT NUMBER", - "FRAZIL_CRYSTALS_RADIUS" : "FRAZIL CRYSTALS RADIUS", - "FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO" : "FRAZIL CRYSTALS DIAMETER THICKNESS RATIO", - "MODEL_FOR_THE_BUOYANCY_VELOCITY" : "MODEL FOR THE BUOYANCY VELOCITY", - "SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS" : "SETTLING COEFFICIENT OF FRAZIL ON BARS", - "POROSITY_OF_ACCUMULATED_ICE" : "POROSITY OF ACCUMULATED ICE", - "ANGLE_OF_ACCUMULATED_ICE" : "ANGLE OF ACCUMULATED ICE", - "PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK" : "PHYSICAL CHARACTERISTICS OF THE INTAKE RACK", - "CLOGGED_BOUNDARY_NUMBERS" : "CLOGGED BOUNDARY NUMBERS", - "CLOGGED_SECTIONS" : "CLOGGED SECTIONS", - "CLOGGING_RESULTS_FILE" : "CLOGGING RESULTS FILE", - "CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE" : "CRITICAL VELOCITY FOR STATIC BORDER ICE", - "CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE" : "CRITICAL VELOCITY FOR DYNAMIC BORDER ICE", - "HEIGHT_OF_MEASURED_WIND" : "HEIGHT OF MEASURED WIND", - "RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL" : "RELATIVE MODEL ELEVATION FROM MEAN SEA LEVEL", - "SUN_SET_ANGLE" : "SUN SET ANGLE", - "SUN_RISE_ANGLE" : "SUN RISE ANGLE", - "SOLAR_CONSTANT" : "SOLAR CONSTANT", - "ALBEDO_OF_ICE" : "ALBEDO OF ICE", - "DEWPOINT_TEMPERATURE" : "DEWPOINT TEMPERATURE", - "VISIBILITY" : "VISIBILITY", - "GLOBAL_LONGITUDE__IN_DEGREES" : "GLOBAL LONGITUDE, IN DEGREES", - "LOCAL_LONGITUDE__IN__DEGREES" : "LOCAL LONGITUDE, IN DEGREES", - "EAST_OR_WEST_LONGITUDE" : "EAST OR WEST LONGITUDE", - "INCLUDE_ICE_DYNAMICS" : "INCLUDE ICE DYNAMICS", - "AD_NUMBER_OF_DERIVATIVES" : "AD NUMBER OF DERIVATIVES", - "AD_NAMES_OF_DERIVATIVES" : "AD NAMES OF DERIVATIVES", - "WATER_DENSITY" : "WATER DENSITY", - "KINEMATIC_WATER_VISCOSITY" : "KINEMATIC WATER VISCOSITY", - "CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE" : "CONSTANT FOR HEAT TRANSFER BETWEEN TURBULENT WATER AND ICE", - "CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW" : "CONSTANT FOR HEAT TRANSFER FOR SUPERCOOLED TURBULENT FLOW", - "NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE" : "NUSSELT NUMBER FOR HEAT TRANSFER BETWEEN LAMINAR WATER AND ICE", - "BOLTZMANN_CONSTANT__WM_2K_4_" : "BOLTZMANN CONSTANT (WM-2K-4)", - "FREEZING_POINT_OF_WATER" : "FREEZING POINT OF WATER", - "CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE" : "CRITICAL WATER TEMPERATURE FOR STATIC BORDER ICE", - "CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE" : "CHANNEL WIDTH FOR THE COMPUTATION OF SURFACE TEMPERATURE", - "CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION" : "CONCENTRATION OF SURFACE ICE WHEN FORMATION", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "HEAT_BUDGET" : "HEAT BUDGET", - "ICE_COVER_IMPACT_ON_HYDRODYNAMIC" : "ICE COVER IMPACT ON HYDRODYNAMIC", - "CLOGGING_ON_BARS" : "CLOGGING ON BARS", - "BORDER_ICE_COVER" : "BORDER ICE COVER", - "SALINITY" : "SALINITY", - "ENERGY_BALANCE_VERSION" : "ENERGY BALANCE VERSION", - "SCHEME_OPTION_FOR_THERMAL_GROWTH" : "SCHEME OPTION FOR THERMAL GROWTH", - "MODEL_FOR_THE_SECONDARY_NUCLEATION" : "MODEL FOR THE SECONDARY NUCLEATION", - "SECONDARY_NUCLEATION_NMAX_PARAMETER" : "SECONDARY NUCLEATION NMAX PARAMETER", - "MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP" : "MODEL FOR THE FLOCCULATION AND BREAKUP", - "FLOCCULATION_AFLOC_PARAMETER" : "FLOCCULATION AFLOC PARAMETER", - "MODEL_FOR_FRAZIL_SEEDING" : "MODEL FOR FRAZIL SEEDING", - "FRAZIL_SEEDING_RATE" : "FRAZIL SEEDING RATE", - "MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS" : "MINIMUM NUMBER OF FRAZIL CRYSTALS", - "ATMOSPHERE_WATER_EXCHANGE_MODEL" : "ATMOSPHERE-WATER EXCHANGE MODEL", - "MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS" : "MODEL FOR ESTIMATION OF TURBULENCE PARAMETERS", - "FRAZIL_PRECIPITATION" : "FRAZIL PRECIPITATION", -} -dicoCasEnToCata = { - "STEERING FILE" : "STEERING_FILE", - "FORTRAN FILE" : "FORTRAN_FILE", - "TITLE" : "TITLE", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "REFERENCE FILE" : "REFERENCE_FILE", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "RESULTS FILE" : "RESULTS_FILE", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "PREVIOUS ICE COVER COMPUTATION FILE" : "PREVIOUS_ICE_COVER_COMPUTATION_FILE", - "PREVIOUS ICE COVER COMPUTATION FILE FORMAT" : "PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT", - "PREVIOUS ICE BLOCKS COMPUTATION FILE" : "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE", - "PREVIOUS ICE BLOCKS COMPUTATION FILE FORMAT" : "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT", - "DICTIONARY" : "DICTIONARY", - "INITIAL CONDITIONS" : "INITIAL_CONDITIONS", - "VARIABLES FOR GRAPHIC PRINTOUTS" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "VARIABLES TO BE PRINTED" : "VARIABLES_TO_BE_PRINTED", - "GRAPHIC PRINTOUT PERIOD" : "GRAPHIC_PRINTOUT_PERIOD", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "MASS-BALANCE" : "MASS_BALANCE", - "VALIDATION" : "VALIDATION", - "LAW OF ICE COVER FRICTION" : "LAW_OF_ICE_COVER_FRICTION", - "FRICTION COEFFICIENT" : "FRICTION_COEFFICIENT", - "MAXIMAL FRICTION COEFFICIENT" : "MAXIMAL_FRICTION_COEFFICIENT", - "LAW FOR FRICTION COEFFICIENT" : "LAW_FOR_FRICTION_COEFFICIENT", - "EQUIVALENT SURFACE ICE THICKNESS" : "EQUIVALENT_SURFACE_ICE_THICKNESS", - "AIR DENSITY" : "AIR_DENSITY", - "ICE DENSITY" : "ICE_DENSITY", - "WATER SPECIFIC HEAT" : "WATER_SPECIFIC_HEAT", - "SPECIFIC HEAT OF ICE" : "SPECIFIC_HEAT_OF_ICE", - "LATENT HEAT OF ICE" : "LATENT_HEAT_OF_ICE", - "WATER-AIR HEAT EXCHANGE COEFFICIENT" : "WATER_AIR_HEAT_EXCHANGE_COEFFICIENT", - "WATER-AIR HEAT EXCHANGE CONSTANT" : "WATER_AIR_HEAT_EXCHANGE_CONSTANT", - "ICE-AIR HEAT EXCHANGE COEFFICIENT" : "ICE_AIR_HEAT_EXCHANGE_COEFFICIENT", - "ICE-AIR HEAT EXCHANGE CONSTANT" : "ICE_AIR_HEAT_EXCHANGE_CONSTANT", - "COEFFICIENT FOR CALIBRATION OF BACK RADIATION" : "COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION", - "COEFFICIENT FOR CALIBRATION OF EVAPORATIVE HEAT TRANSFERT" : "COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT", - "COEFFICIENT FOR CALIBRATION OF CONDUCTIVE HEAT TRANSFERT" : "COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT", - "COEFFICIENT FOR CALIBRATION OF PRECIPITATION HEAT TRANSFERT" : "COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT", - "THERMAL CONDUCTIVITY BETWEEN WATER AND FRAZIL" : "THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL", - "THERMAL CONDUCTIVITY OF BLACK ICE" : "THERMAL_CONDUCTIVITY_OF_BLACK_ICE", - "THERMAL CONDUCTIVITY OF SNOW" : "THERMAL_CONDUCTIVITY_OF_SNOW", - "POROSITY OF SURFACE ICE" : "POROSITY_OF_SURFACE_ICE", - "NUMBER OF CLASSES FOR SUSPENDED FRAZIL ICE" : "NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE", - "NUSSELT NUMBER" : "NUSSELT_NUMBER", - "MODEL FOR THE NUSSELT NUMBER" : "MODEL_FOR_THE_NUSSELT_NUMBER", - "FRAZIL CRYSTALS RADIUS" : "FRAZIL_CRYSTALS_RADIUS", - "FRAZIL CRYSTALS DIAMETER THICKNESS RATIO" : "FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO", - "MODEL FOR THE BUOYANCY VELOCITY" : "MODEL_FOR_THE_BUOYANCY_VELOCITY", - "SETTLING COEFFICIENT OF FRAZIL ON BARS" : "SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS", - "POROSITY OF ACCUMULATED ICE" : "POROSITY_OF_ACCUMULATED_ICE", - "ANGLE OF ACCUMULATED ICE" : "ANGLE_OF_ACCUMULATED_ICE", - "PHYSICAL CHARACTERISTICS OF THE INTAKE RACK" : "PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK", - "CLOGGED BOUNDARY NUMBERS" : "CLOGGED_BOUNDARY_NUMBERS", - "CLOGGED SECTIONS" : "CLOGGED_SECTIONS", - "CLOGGING RESULTS FILE" : "CLOGGING_RESULTS_FILE", - "CRITICAL VELOCITY FOR STATIC BORDER ICE" : "CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE", - "CRITICAL VELOCITY FOR DYNAMIC BORDER ICE" : "CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE", - "HEIGHT OF MEASURED WIND" : "HEIGHT_OF_MEASURED_WIND", - "RELATIVE MODEL ELEVATION FROM MEAN SEA LEVEL" : "RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL", - "SUN SET ANGLE" : "SUN_SET_ANGLE", - "SUN RISE ANGLE" : "SUN_RISE_ANGLE", - "SOLAR CONSTANT" : "SOLAR_CONSTANT", - "ALBEDO OF ICE" : "ALBEDO_OF_ICE", - "DEWPOINT TEMPERATURE" : "DEWPOINT_TEMPERATURE", - "VISIBILITY" : "VISIBILITY", - "GLOBAL LONGITUDE, IN DEGREES" : "GLOBAL_LONGITUDE__IN_DEGREES", - "LOCAL LONGITUDE, IN DEGREES" : "LOCAL_LONGITUDE__IN__DEGREES", - "EAST OR WEST LONGITUDE" : "EAST_OR_WEST_LONGITUDE", - "INCLUDE ICE DYNAMICS" : "INCLUDE_ICE_DYNAMICS", - "AD NUMBER OF DERIVATIVES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NAMES OF DERIVATIVES" : "AD_NAMES_OF_DERIVATIVES", - "WATER DENSITY" : "WATER_DENSITY", - "KINEMATIC WATER VISCOSITY" : "KINEMATIC_WATER_VISCOSITY", - "CONSTANT FOR HEAT TRANSFER BETWEEN TURBULENT WATER AND ICE" : "CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE", - "CONSTANT FOR HEAT TRANSFER FOR SUPERCOOLED TURBULENT FLOW" : "CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW", - "NUSSELT NUMBER FOR HEAT TRANSFER BETWEEN LAMINAR WATER AND ICE" : "NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE", - "BOLTZMANN CONSTANT (WM-2K-4)" : "BOLTZMANN_CONSTANT__WM_2K_4_", - "FREEZING POINT OF WATER" : "FREEZING_POINT_OF_WATER", - "CRITICAL WATER TEMPERATURE FOR STATIC BORDER ICE" : "CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE", - "CHANNEL WIDTH FOR THE COMPUTATION OF SURFACE TEMPERATURE" : "CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE", - "CONCENTRATION OF SURFACE ICE WHEN FORMATION" : "CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "HEAT BUDGET" : "HEAT_BUDGET", - "ICE COVER IMPACT ON HYDRODYNAMIC" : "ICE_COVER_IMPACT_ON_HYDRODYNAMIC", - "CLOGGING ON BARS" : "CLOGGING_ON_BARS", - "BORDER ICE COVER" : "BORDER_ICE_COVER", - "SALINITY" : "SALINITY", - "ENERGY BALANCE VERSION" : "ENERGY_BALANCE_VERSION", - "SCHEME OPTION FOR THERMAL GROWTH" : "SCHEME_OPTION_FOR_THERMAL_GROWTH", - "MODEL FOR THE SECONDARY NUCLEATION" : "MODEL_FOR_THE_SECONDARY_NUCLEATION", - "SECONDARY NUCLEATION NMAX PARAMETER" : "SECONDARY_NUCLEATION_NMAX_PARAMETER", - "MODEL FOR THE FLOCCULATION AND BREAKUP" : "MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP", - "FLOCCULATION AFLOC PARAMETER" : "FLOCCULATION_AFLOC_PARAMETER", - "MODEL FOR FRAZIL SEEDING" : "MODEL_FOR_FRAZIL_SEEDING", - "FRAZIL SEEDING RATE" : "FRAZIL_SEEDING_RATE", - "MINIMUM NUMBER OF FRAZIL CRYSTALS" : "MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS", - "ATMOSPHERE-WATER EXCHANGE MODEL" : "ATMOSPHERE_WATER_EXCHANGE_MODEL", - "MODEL FOR ESTIMATION OF TURBULENCE PARAMETERS" : "MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS", - "FRAZIL PRECIPITATION" : "FRAZIL_PRECIPITATION", -} diff --git a/Telemac/khione_dicoCasFrToCata.py b/Telemac/khione_dicoCasFrToCata.py deleted file mode 100644 index 846cf307..00000000 --- a/Telemac/khione_dicoCasFrToCata.py +++ /dev/null @@ -1,206 +0,0 @@ -dicoCataToFrTelemac = { - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "TITLE" : "TITRE", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS", - "PREVIOUS_ICE_COVER_COMPUTATION_FILE" : "FICHIER COUVERT DE GLACE DU CALCUL PRECEDENT", - "PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER COUVERT DE GLACE DU CALCUL PRECEDENT", - "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE" : "FICHIER BLOCS DE GLACE DU CALCUL PRECEDENT", - "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER BLOCS DE GLACE DU CALCUL PRECEDENT", - "DICTIONARY" : "DICTIONNAIRE", - "INITIAL_CONDITIONS" : "CONDITIONS INITIALES", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES A IMPRIMER", - "GRAPHIC_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES GRAPHIQUES", - "LISTING_PRINTOUT_PERIOD" : "PERIODE DE SORTIE LISTING", - "MASS_BALANCE" : "BILAN DE MASSE", - "VALIDATION" : "VALIDATION", - "LAW_OF_ICE_COVER_FRICTION" : "LOI DE FROTTEMENT SOUS LE COUVERT DE GLACE", - "FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT", - "MAXIMAL_FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT MAXIMAL", - "LAW_FOR_FRICTION_COEFFICIENT" : "LOI POUR LE COEFFICIENT DE FROTTEMENT", - "EQUIVALENT_SURFACE_ICE_THICKNESS" : "EPAISSEUR DE COUVERT DE GLACE CARACTERISTIQUE", - "AIR_DENSITY" : "MASSE VOLUMIQUE DE L'AIR", - "ICE_DENSITY" : "MASSE VOLUMIQUE DE LA GLACE", - "WATER_SPECIFIC_HEAT" : "CHALEUR SPECIFIQUE DE L'EAU", - "SPECIFIC_HEAT_OF_ICE" : "CHALEUR SPECIFIQUE DE LA GLACE", - "LATENT_HEAT_OF_ICE" : "CHALEUR LATENTE DE LA GLACE", - "WATER_AIR_HEAT_EXCHANGE_COEFFICIENT" : "COEFFICIENT D'ECHANGE THERMIQUE EAU-AIR", - "WATER_AIR_HEAT_EXCHANGE_CONSTANT" : "CONSTANTE D'ECHANGE THERMIQUE EAU-AIR", - "ICE_AIR_HEAT_EXCHANGE_COEFFICIENT" : "COEFFICIENT D'ECHANGE THERMIQUE GLACE-AIR", - "ICE_AIR_HEAT_EXCHANGE_CONSTANT" : "CONSTANTE D'ECHANGE THERMIQUE GLACE-AIR", - "COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION" : "COEFFICIENT DE CALAGE DU FLUX RADIATIF ATMOSPHERIQUE", - "COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT" : "COEFFICIENT DE CALAGE DU TRANSFERT EVAPORATIF", - "COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT" : "COEFFICIENT DE CALAGE DU TRANSFERT CONDUCTIF", - "COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT" : "COEFFICIENT DE CALAGE DU TRANSFERT LIE AUX PRECIPITATIONS", - "THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL" : "CONDUCTIVITE THERMIQUE ENTRE EAU ET FRASIL", - "THERMAL_CONDUCTIVITY_OF_BLACK_ICE" : "CONDUCTIVITE THERMIQUE DE LA GLACE SOMBRE", - "THERMAL_CONDUCTIVITY_OF_SNOW" : "CONDUCTIVITE THERMIQUE DE LA NEIGE", - "POROSITY_OF_SURFACE_ICE" : "POROSITE DE LA GLACE DE SURFACE", - "NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE" : "NOMBRE DE CLASSES POUR LA SUSPENSION DE FRASIL", - "NUSSELT_NUMBER" : "NOMBRE DE NUSSELT", - "MODEL_FOR_THE_NUSSELT_NUMBER" : "MODELE POUR LE CALCUL DU NOMBRE DE NUSSELT", - "FRAZIL_CRYSTALS_RADIUS" : "RAYON DES CRISTAUX DE FRASIL", - "FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO" : "RATIO DIAMETRE EPAISSEUR D'UN CRISTAL DE FRASIL", - "MODEL_FOR_THE_BUOYANCY_VELOCITY" : "MODELE POUR LE CALCUL DE LA VITESSE DE FLOTTABILITE", - "SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS" : "COEFFICIENT DE DEPOSITION DES GLACES SUR BARRES", - "POROSITY_OF_ACCUMULATED_ICE" : "POROSITE DE LA GLACE ACCUMULEE", - "ANGLE_OF_ACCUMULATED_ICE" : "ANGLE D ACCUMULATION DE LA GLACE", - "PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK" : "PARAMETRES PHYSIQUES DE LA GRILLE D ENTREE", - "CLOGGED_BOUNDARY_NUMBERS" : "NUMEROS DES FRONTIERES GLACEES", - "CLOGGED_SECTIONS" : "SECTIONS COLMATEES", - "CLOGGING_RESULTS_FILE" : "FICHIER DE RESULTATS DE LA GLACE ACCUMULEE", - "CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE" : "VITESSE CRITIQUE POUR LA GLACE DE BORD STATIQUE", - "CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE" : "VITESSE CRITIQUE POUR LA GLACE DE BORD DYNAMIQUE", - "HEIGHT_OF_MEASURED_WIND" : "HAUTEUR DE MESURE DU VENT", - "RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL" : "ELEVATION DU MODELE RELATIVE AU NIVEAU MOYEN DES OCEANS", - "SUN_SET_ANGLE" : "ANGLE DU SOLEIL COUCHANT", - "SUN_RISE_ANGLE" : "ANGLE DU SOLEIL LEVANT", - "SOLAR_CONSTANT" : "CONSTANTE SOLAIRE", - "ALBEDO_OF_ICE" : "ALBEDO DES GLACES", - "DEWPOINT_TEMPERATURE" : "TEMPERATURE DE ROSEE", - "VISIBILITY" : "VISIBILITE", - "GLOBAL_LONGITUDE__IN_DEGREES" : "LONGITUDE GLOBALE, EN DEGRES", - "LOCAL_LONGITUDE__IN__DEGREES" : "LONGITUDE LOCALE, EN DEGRES", - "EAST_OR_WEST_LONGITUDE" : "LONGITUDE EST OU OUEST", - "INCLUDE_ICE_DYNAMICS" : "INCLURE LA DYNAMIQUE DES GLACES", - "AD_NUMBER_OF_DERIVATIVES" : "AD NOMBRE DE DERIVEES", - "AD_NAMES_OF_DERIVATIVES" : "AD NOMS DES DERIVEES", - "WATER_DENSITY" : "MASSE VOLUMIQUE DE L'EAU", - "KINEMATIC_WATER_VISCOSITY" : "VISCOSITE CINEMATIQUE DE L'EAU", - "CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE" : "CONST. POUR LE TRANSFERT THERMIQUE ENTRE L'EAU ET LA GLACE", - "CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW" : "CONST. POUR LE TRANSFERT THERMIQUE POUR L'EAU EN SURFUSION", - "NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE" : "NOMBRE DE NUSSELT POUR LE TRANFERT THERMIQUE LAMINAIRE", - "BOLTZMANN_CONSTANT__WM_2K_4_" : "CONSTANTE DE BOLTZMANN", - "FREEZING_POINT_OF_WATER" : "TEMPERATURE DE CONGELATION DE L'EAU", - "CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE" : "TEMPERATURE D'EAU CRITIQUE POUR LA GLACE DE BORD STATIQUE", - "CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE" : "LARGEUR DU CHENAL POUR LE CALCUL DE LA TEMPERATURE DE SURFACE", - "CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION" : "CONCENTRATION MAXIMALE DU COUVERT DE GLACE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "HEAT_BUDGET" : "BILAN THERMIQUE", - "ICE_COVER_IMPACT_ON_HYDRODYNAMIC" : "IMPACT DU COUVERT SUR L'HYDRODYNAMIQUE", - "CLOGGING_ON_BARS" : "COLMATAGE DES GRILLES", - "BORDER_ICE_COVER" : "GLACE DE BORD STATIQUE", - "SALINITY" : "SALINITE", - "ENERGY_BALANCE_VERSION" : "VERSION DU BILAN ENERGETIQUE", - "SCHEME_OPTION_FOR_THERMAL_GROWTH" : "OPTION DU SCHEMA POUR LA CROISSANCE THERMIQUE", - "MODEL_FOR_THE_SECONDARY_NUCLEATION" : "MODELE POUR LA NUCLEATION SECONDAIRE", - "SECONDARY_NUCLEATION_NMAX_PARAMETER" : "PARAMETRE NMAX POUR LA NUCLEATION SECONDAIRE", - "MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP" : "MODELE POUR LA FLOCULATION ET RUPTURE", - "FLOCCULATION_AFLOC_PARAMETER" : "PARAMETRE AFLOC POUR LA FLOCULATION", - "MODEL_FOR_FRAZIL_SEEDING" : "MODELE POUR L'ENSEMENCEMENT DU FRASIL", - "FRAZIL_SEEDING_RATE" : "TAUX D'ENSEMENCEMENT DE FRASIL", - "MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS" : "NOMBRE MINIMUM DE CRISTAUX DE FRASIL", - "ATMOSPHERE_WATER_EXCHANGE_MODEL" : "MODELE D'ECHANGES EAU-ATMOSPHERE", - "MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS" : "MODELE POUR L'ESTIMATION DES PARAMETRES DE TURBULENCE", - "FRAZIL_PRECIPITATION" : "PRECIPITATION DU FRASIL", -} -dicoCasFrToCata = { - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "TITRE" : "TITLE", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "FORMAT DU FICHIER DES RESULTATS" : "RESULTS_FILE_FORMAT", - "FICHIER COUVERT DE GLACE DU CALCUL PRECEDENT" : "PREVIOUS_ICE_COVER_COMPUTATION_FILE", - "FORMAT DU FICHIER COUVERT DE GLACE DU CALCUL PRECEDENT" : "PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT", - "FICHIER BLOCS DE GLACE DU CALCUL PRECEDENT" : "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE", - "FORMAT DU FICHIER BLOCS DE GLACE DU CALCUL PRECEDENT" : "PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT", - "DICTIONNAIRE" : "DICTIONARY", - "CONDITIONS INITIALES" : "INITIAL_CONDITIONS", - "VARIABLES POUR LES SORTIES GRAPHIQUES" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "VARIABLES A IMPRIMER" : "VARIABLES_TO_BE_PRINTED", - "PERIODE POUR LES SORTIES GRAPHIQUES" : "GRAPHIC_PRINTOUT_PERIOD", - "PERIODE DE SORTIE LISTING" : "LISTING_PRINTOUT_PERIOD", - "BILAN DE MASSE" : "MASS_BALANCE", - "VALIDATION" : "VALIDATION", - "LOI DE FROTTEMENT SOUS LE COUVERT DE GLACE" : "LAW_OF_ICE_COVER_FRICTION", - "COEFFICIENT DE FROTTEMENT" : "FRICTION_COEFFICIENT", - "COEFFICIENT DE FROTTEMENT MAXIMAL" : "MAXIMAL_FRICTION_COEFFICIENT", - "LOI POUR LE COEFFICIENT DE FROTTEMENT" : "LAW_FOR_FRICTION_COEFFICIENT", - "EPAISSEUR DE COUVERT DE GLACE CARACTERISTIQUE" : "EQUIVALENT_SURFACE_ICE_THICKNESS", - "MASSE VOLUMIQUE DE L'AIR" : "AIR_DENSITY", - "MASSE VOLUMIQUE DE LA GLACE" : "ICE_DENSITY", - "CHALEUR SPECIFIQUE DE L'EAU" : "WATER_SPECIFIC_HEAT", - "CHALEUR SPECIFIQUE DE LA GLACE" : "SPECIFIC_HEAT_OF_ICE", - "CHALEUR LATENTE DE LA GLACE" : "LATENT_HEAT_OF_ICE", - "COEFFICIENT D'ECHANGE THERMIQUE EAU-AIR" : "WATER_AIR_HEAT_EXCHANGE_COEFFICIENT", - "CONSTANTE D'ECHANGE THERMIQUE EAU-AIR" : "WATER_AIR_HEAT_EXCHANGE_CONSTANT", - "COEFFICIENT D'ECHANGE THERMIQUE GLACE-AIR" : "ICE_AIR_HEAT_EXCHANGE_COEFFICIENT", - "CONSTANTE D'ECHANGE THERMIQUE GLACE-AIR" : "ICE_AIR_HEAT_EXCHANGE_CONSTANT", - "COEFFICIENT DE CALAGE DU FLUX RADIATIF ATMOSPHERIQUE" : "COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION", - "COEFFICIENT DE CALAGE DU TRANSFERT EVAPORATIF" : "COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT", - "COEFFICIENT DE CALAGE DU TRANSFERT CONDUCTIF" : "COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT", - "COEFFICIENT DE CALAGE DU TRANSFERT LIE AUX PRECIPITATIONS" : "COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT", - "CONDUCTIVITE THERMIQUE ENTRE EAU ET FRASIL" : "THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL", - "CONDUCTIVITE THERMIQUE DE LA GLACE SOMBRE" : "THERMAL_CONDUCTIVITY_OF_BLACK_ICE", - "CONDUCTIVITE THERMIQUE DE LA NEIGE" : "THERMAL_CONDUCTIVITY_OF_SNOW", - "POROSITE DE LA GLACE DE SURFACE" : "POROSITY_OF_SURFACE_ICE", - "NOMBRE DE CLASSES POUR LA SUSPENSION DE FRASIL" : "NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE", - "NOMBRE DE NUSSELT" : "NUSSELT_NUMBER", - "MODELE POUR LE CALCUL DU NOMBRE DE NUSSELT" : "MODEL_FOR_THE_NUSSELT_NUMBER", - "RAYON DES CRISTAUX DE FRASIL" : "FRAZIL_CRYSTALS_RADIUS", - "RATIO DIAMETRE EPAISSEUR D'UN CRISTAL DE FRASIL" : "FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO", - "MODELE POUR LE CALCUL DE LA VITESSE DE FLOTTABILITE" : "MODEL_FOR_THE_BUOYANCY_VELOCITY", - "COEFFICIENT DE DEPOSITION DES GLACES SUR BARRES" : "SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS", - "POROSITE DE LA GLACE ACCUMULEE" : "POROSITY_OF_ACCUMULATED_ICE", - "ANGLE D ACCUMULATION DE LA GLACE" : "ANGLE_OF_ACCUMULATED_ICE", - "PARAMETRES PHYSIQUES DE LA GRILLE D ENTREE" : "PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK", - "NUMEROS DES FRONTIERES GLACEES" : "CLOGGED_BOUNDARY_NUMBERS", - "SECTIONS COLMATEES" : "CLOGGED_SECTIONS", - "FICHIER DE RESULTATS DE LA GLACE ACCUMULEE" : "CLOGGING_RESULTS_FILE", - "VITESSE CRITIQUE POUR LA GLACE DE BORD STATIQUE" : "CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE", - "VITESSE CRITIQUE POUR LA GLACE DE BORD DYNAMIQUE" : "CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE", - "HAUTEUR DE MESURE DU VENT" : "HEIGHT_OF_MEASURED_WIND", - "ELEVATION DU MODELE RELATIVE AU NIVEAU MOYEN DES OCEANS" : "RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL", - "ANGLE DU SOLEIL COUCHANT" : "SUN_SET_ANGLE", - "ANGLE DU SOLEIL LEVANT" : "SUN_RISE_ANGLE", - "CONSTANTE SOLAIRE" : "SOLAR_CONSTANT", - "ALBEDO DES GLACES" : "ALBEDO_OF_ICE", - "TEMPERATURE DE ROSEE" : "DEWPOINT_TEMPERATURE", - "VISIBILITE" : "VISIBILITY", - "LONGITUDE GLOBALE, EN DEGRES" : "GLOBAL_LONGITUDE__IN_DEGREES", - "LONGITUDE LOCALE, EN DEGRES" : "LOCAL_LONGITUDE__IN__DEGREES", - "LONGITUDE EST OU OUEST" : "EAST_OR_WEST_LONGITUDE", - "INCLURE LA DYNAMIQUE DES GLACES" : "INCLUDE_ICE_DYNAMICS", - "AD NOMBRE DE DERIVEES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES" : "AD_NAMES_OF_DERIVATIVES", - "MASSE VOLUMIQUE DE L'EAU" : "WATER_DENSITY", - "VISCOSITE CINEMATIQUE DE L'EAU" : "KINEMATIC_WATER_VISCOSITY", - "CONST. POUR LE TRANSFERT THERMIQUE ENTRE L'EAU ET LA GLACE" : "CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE", - "CONST. POUR LE TRANSFERT THERMIQUE POUR L'EAU EN SURFUSION" : "CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW", - "NOMBRE DE NUSSELT POUR LE TRANFERT THERMIQUE LAMINAIRE" : "NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE", - "CONSTANTE DE BOLTZMANN" : "BOLTZMANN_CONSTANT__WM_2K_4_", - "TEMPERATURE DE CONGELATION DE L'EAU" : "FREEZING_POINT_OF_WATER", - "TEMPERATURE D'EAU CRITIQUE POUR LA GLACE DE BORD STATIQUE" : "CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE", - "LARGEUR DU CHENAL POUR LE CALCUL DE LA TEMPERATURE DE SURFACE" : "CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE", - "CONCENTRATION MAXIMALE DU COUVERT DE GLACE" : "CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "BILAN THERMIQUE" : "HEAT_BUDGET", - "IMPACT DU COUVERT SUR L'HYDRODYNAMIQUE" : "ICE_COVER_IMPACT_ON_HYDRODYNAMIC", - "COLMATAGE DES GRILLES" : "CLOGGING_ON_BARS", - "GLACE DE BORD STATIQUE" : "BORDER_ICE_COVER", - "SALINITE" : "SALINITY", - "VERSION DU BILAN ENERGETIQUE" : "ENERGY_BALANCE_VERSION", - "OPTION DU SCHEMA POUR LA CROISSANCE THERMIQUE" : "SCHEME_OPTION_FOR_THERMAL_GROWTH", - "MODELE POUR LA NUCLEATION SECONDAIRE" : "MODEL_FOR_THE_SECONDARY_NUCLEATION", - "PARAMETRE NMAX POUR LA NUCLEATION SECONDAIRE" : "SECONDARY_NUCLEATION_NMAX_PARAMETER", - "MODELE POUR LA FLOCULATION ET RUPTURE" : "MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP", - "PARAMETRE AFLOC POUR LA FLOCULATION" : "FLOCCULATION_AFLOC_PARAMETER", - "MODELE POUR L'ENSEMENCEMENT DU FRASIL" : "MODEL_FOR_FRAZIL_SEEDING", - "TAUX D'ENSEMENCEMENT DE FRASIL" : "FRAZIL_SEEDING_RATE", - "NOMBRE MINIMUM DE CRISTAUX DE FRASIL" : "MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS", - "MODELE D'ECHANGES EAU-ATMOSPHERE" : "ATMOSPHERE_WATER_EXCHANGE_MODEL", - "MODELE POUR L'ESTIMATION DES PARAMETRES DE TURBULENCE" : "MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS", - "PRECIPITATION DU FRASIL" : "FRAZIL_PRECIPITATION", -} diff --git a/Telemac/khione_enum_auto.py b/Telemac/khione_enum_auto.py deleted file mode 100644 index 918711bb..00000000 --- a/Telemac/khione_enum_auto.py +++ /dev/null @@ -1,400 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'PHCL':"SOLRAD CLEAR SKY", - 'PHRI':"SOLRAD CLOUDY", - 'PHPS':"NET SOLRAD", - 'PHIB':"EFFECTIVE SOLRAD", - 'PHIE':"EVAPO HEAT FLUX", - 'PHIH':"CONDUC HEAT FLUX", - 'PHIP':"PRECIP HEAT FLUX", - 'COV_TH0':"FRAZIL THETA0", - 'COV_TH1':"FRAZIL THETA1", - 'COV_BT1':"REENTRAINMENT", - 'COV_VBB':"SETTLING VEL.", - 'COV_FC':""SOLID ICE CONC., - 'COV_THS':"SOLID ICE THICK.", - 'COV_THF':"FRAZIL THICKNESS", - 'COV_THUN':"UNDER ICE THICK.", - 'COV_EQ':"EQUIV. SURFACE", - 'COV_ET':"TOP ICE COVER", - 'COV_EB':"BOTTOM ICE COVERM", - 'COV_THT':"TOTAL ICE THICK.M ", - 'ICETYPE':"CARACTERISTIQUES", - 'NTOT':"TOTAL NUMBER OF PARTICLES", - 'CTOT':"TOTAL CONCENTRATION OF FRAZIL", - 'F*':"CONCENTRATION OF FRAZIL BY CLASS", - 'N*':"PARTICLE NUMBER OF FRAZIL BY CLASS", - 'TEMP':"WATER TEMPERATURE", - 'SAL':"SALINITY OF WATER", - }, -'LAW_OF_ICE_COVER_FRICTION' : { - 0:"NO FRICTION", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'LAW_FOR_FRICTION_COEFFICIENT' : { - 0:"CONSTANT FRICTION COEF", - 1:"LINEAR FRICTION COEF", - }, -'MODEL_FOR_THE_BUOYANCY_VELOCITY' : { - 1:"DALY (1984)", - 2:"HAALAND", - 3:"GOSIK & OSTERKAMP (1983)", - }, -'ENERGY_BALANCE_VERSION' : { - 1:"SIMPLIFIED ENERGY BALANCE", - 2:"FULL ENERGY BALANCE", - }, -'SCHEME_OPTION_FOR_THERMAL_GROWTH' : { - 1:"EXPLICIT TIME SCHEME", - 2:"SEMI-IMPLICIT TIME SCHEME", - }, -'MODEL_FOR_THE_SECONDARY_NUCLEATION' : { - 0:"NO MODEL", - 1:"SVENSSON AND OMSTEDT 1994", - 2:"WANG AND DOERING 2005", - }, -'MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP' : { - 0:"NO MODEL", - 1:"SVENSSON AND OMSTEDT 1994", - }, -'MODEL_FOR_FRAZIL_SEEDING' : { - 0:"NO MODEL", - 1:"MINIMUM CONC. THRESHOLD", - 2:"CONSTANT SEEDING RATE", - 3:"BOTH OPTIONS 1 AND 2", - }, -'ATMOSPHERE_WATER_EXCHANGE_MODEL' : { - 0:"LINEARISED FORMULA", - 1:"MODEL WITH COMPLETE BALANCE", - }, -} -TelemacdicoFr = { -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'PHCL':"SOLRAD CLEAR SKY", - 'PHRI':"SOLRAD CLOUDY", - 'PHPS':"NET SOLRAD", - 'PHIB':"EFFECTIVE SOLRAD", - 'PHIE':"EVAPO HEAT FLUX", - 'PHIH':"CONDUC HEAT FLUX", - 'PHIP':"PRECIP HEAT FLUX", - 'COV_TH0':"FRAZIL THETA0", - 'COV_TH1':"FRAZIL THETA1", - 'COV_BT1':"REENTRAINMENT", - 'COV_VBB':"SETTLING VEL.", - 'COV_FC':""SOLID ICE CONC., - 'COV_THS':"SOLID ICE THICK.", - 'COV_THF':"FRAZIL THICKNESS", - 'COV_THUN':"UNDER ICE THICK.", - 'COV_EQ':"EQUIV. SURFACE", - 'COV_ET':"TOP ICE COVER", - 'COV_EB':"BOTTOM ICE COVERM", - 'COV_THT':"TOTAL ICE THICK.M ", - 'ICETYPE':"CARACTERISTIQUES", - 'NTOT':"TOTAL NUMBER OF PARTICLES", - 'CTOT':"TOTAL CONCENTRATION OF FRAZIL", - 'F*':"CONCENTRATION OF FRAZIL BY CLASS", - 'N*':"PARTICLE NUMBER OF FRAZIL BY CLASS", - 'TEMP':"WATER TEMPERATURE", - 'SAL':"SALINITY OF WATER", - }, -'LAW_OF_ICE_COVER_FRICTION' : { - 0:"PAS DE FROTTEMENT", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'LAW_FOR_FRICTION_COEFFICIENT' : { - 0:"COEF DE FRICTION CONSTANT", - 1:"COEF DE FRICTION LINEAIRE", - }, -'MODEL_FOR_THE_BUOYANCY_VELOCITY' : { - 1:"DALY (1984)", - 2:"MATOUSEK (1992)", - 3:"GOSIK & OSTERKAMP (1983)", - }, -'ENERGY_BALANCE_VERSION' : { - 1:"SIMPLIFIED ENERGY BALANCE", - 2:"FULL ENERGY BALANCE", - }, -'SCHEME_OPTION_FOR_THERMAL_GROWTH' : { - 1:"EXPLICIT TIME SCHEME", - 2:"SEMI-IMPLICIT TIME SCHEME", - }, -'MODEL_FOR_THE_SECONDARY_NUCLEATION' : { - 0:"PAS DE MODELE", - 1:"SVENSSON ET OMSTEDT 1994", - 2:"WANG ET DOERING 2005", - }, -'MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP' : { - 0:"PAS DE MODELE", - 1:"SVENSSON ET OMSTEDT 1994", - }, -'MODEL_FOR_FRAZIL_SEEDING' : { - 0:"PAS DE MODELE", - 1:"SEUIL MINIMUM DE CONC.", - 2:"TAUX D'ENSEMENCEMENT CONSTANT", - 3:"OPTIONS 1 AND 2", - }, -'ATMOSPHERE_WATER_EXCHANGE_MODEL' : { - 0:"FORMULE LINEARISEE", - 1:"MODELE A BILAN COMPLET", - }, -} - -DicoCasFrToCata = { - "FICHIER DES PARAMETRES":"STEERING_FILE", - "FICHIER FORTRAN":"FORTRAN_FILE", - "TITRE":"TITLE", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "FORMAT DU FICHIER DES RESULTATS":"RESULTS_FILE_FORMAT", - "FICHIER COUVERT DE GLACE DU CALCUL PRECEDENT":"PREVIOUS_ICE_COVER_COMPUTATION_FILE", - "FORMAT DU FICHIER COUVERT DE GLACE DU CALCUL PRECEDENT":"PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT", - "FICHIER BLOCS DE GLACE DU CALCUL PRECEDENT":"PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE", - "FORMAT DU FICHIER BLOCS DE GLACE DU CALCUL PRECEDENT":"PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT", - "DICTIONNAIRE":"DICTIONARY", - "CONDITIONS INITIALES":"INITIAL_CONDITIONS", - "VARIABLES POUR LES SORTIES GRAPHIQUES":"VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "VARIABLES A IMPRIMER":"VARIABLES_TO_BE_PRINTED", - "PERIODE POUR LES SORTIES GRAPHIQUES":"GRAPHIC_PRINTOUT_PERIOD", - "PERIODE DE SORTIE LISTING":"LISTING_PRINTOUT_PERIOD", - "BILAN DE MASSE":"MASS_BALANCE", - "VALIDATION":"VALIDATION", - "LOI DE FROTTEMENT SOUS LE COUVERT DE GLACE":"LAW_OF_ICE_COVER_FRICTION", - "COEFFICIENT DE FROTTEMENT":"FRICTION_COEFFICIENT", - "COEFFICIENT DE FROTTEMENT MAXIMAL":"MAXIMAL_FRICTION_COEFFICIENT", - "LOI POUR LE COEFFICIENT DE FROTTEMENT":"LAW_FOR_FRICTION_COEFFICIENT", - "EPAISSEUR DE COUVERT DE GLACE CARACTERISTIQUE":"EQUIVALENT_SURFACE_ICE_THICKNESS", - "MASSE VOLUMIQUE DE L'AIR":"AIR_DENSITY", - "MASSE VOLUMIQUE DE LA GLACE":"ICE_DENSITY", - "CHALEUR SPECIFIQUE DE L'EAU":"WATER_SPECIFIC_HEAT", - "CHALEUR SPECIFIQUE DE LA GLACE":"SPECIFIC_HEAT_OF_ICE", - "CHALEUR LATENTE DE LA GLACE":"LATENT_HEAT_OF_ICE", - "COEFFICIENT D'ECHANGE THERMIQUE EAU-AIR":"WATER_AIR_HEAT_EXCHANGE_COEFFICIENT", - "CONSTANTE D'ECHANGE THERMIQUE EAU-AIR":"WATER_AIR_HEAT_EXCHANGE_CONSTANT", - "COEFFICIENT D'ECHANGE THERMIQUE GLACE-AIR":"ICE_AIR_HEAT_EXCHANGE_COEFFICIENT", - "CONSTANTE D'ECHANGE THERMIQUE GLACE-AIR":"ICE_AIR_HEAT_EXCHANGE_CONSTANT", - "COEFFICIENT DE CALAGE DU FLUX RADIATIF ATMOSPHERIQUE":"COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION", - "COEFFICIENT DE CALAGE DU TRANSFERT EVAPORATIF":"COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT", - "COEFFICIENT DE CALAGE DU TRANSFERT CONDUCTIF":"COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT", - "COEFFICIENT DE CALAGE DU TRANSFERT LIE AUX PRECIPITATIONS":"COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT", - "CONDUCTIVITE THERMIQUE ENTRE EAU ET FRASIL":"THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL", - "CONDUCTIVITE THERMIQUE DE LA GLACE SOMBRE":"THERMAL_CONDUCTIVITY_OF_BLACK_ICE", - "CONDUCTIVITE THERMIQUE DE LA NEIGE":"THERMAL_CONDUCTIVITY_OF_SNOW", - "POROSITE DE LA GLACE DE SURFACE":"POROSITY_OF_SURFACE_ICE", - "NOMBRE DE CLASSES POUR LA SUSPENSION DE FRASIL":"NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE", - "NOMBRE DE NUSSELT":"NUSSELT_NUMBER", - "MODELE POUR LE CALCUL DU NOMBRE DE NUSSELT":"MODEL_FOR_THE_NUSSELT_NUMBER", - "RAYON DES CRISTAUX DE FRASIL":"FRAZIL_CRYSTALS_RADIUS", - "RATIO DIAMETRE EPAISSEUR D'UN CRISTAL DE FRASIL":"FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO", - "MODELE POUR LE CALCUL DE LA VITESSE DE FLOTTABILITE":"MODEL_FOR_THE_BUOYANCY_VELOCITY", - "COEFFICIENT DE DEPOSITION DES GLACES SUR BARRES":"SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS", - "POROSITE DE LA GLACE ACCUMULEE":"POROSITY_OF_ACCUMULATED_ICE", - "ANGLE D ACCUMULATION DE LA GLACE":"ANGLE_OF_ACCUMULATED_ICE", - "PARAMETRES PHYSIQUES DE LA GRILLE D ENTREE":"PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK", - "NUMEROS DES FRONTIERES GLACEES":"CLOGGED_BOUNDARY_NUMBERS", - "SECTIONS COLMATEES":"CLOGGED_SECTIONS", - "FICHIER DE RESULTATS DE LA GLACE ACCUMULEE":"CLOGGING_RESULTS_FILE", - "VITESSE CRITIQUE POUR LA GLACE DE BORD STATIQUE":"CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE", - "VITESSE CRITIQUE POUR LA GLACE DE BORD DYNAMIQUE":"CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE", - "HAUTEUR DE MESURE DU VENT":"HEIGHT_OF_MEASURED_WIND", - "ELEVATION DU MODELE RELATIVE AU NIVEAU MOYEN DES OCEANS":"RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL", - "ANGLE DU SOLEIL COUCHANT":"SUN_SET_ANGLE", - "ANGLE DU SOLEIL LEVANT":"SUN_RISE_ANGLE", - "CONSTANTE SOLAIRE":"SOLAR_CONSTANT", - "ALBEDO DES GLACES":"ALBEDO_OF_ICE", - "TEMPERATURE DE ROSEE":"DEWPOINT_TEMPERATURE", - "VISIBILITE":"VISIBILITY", - "LONGITUDE GLOBALE, EN DEGRES":"GLOBAL_LONGITUDE__IN_DEGREES", - "LONGITUDE LOCALE, EN DEGRES":"LOCAL_LONGITUDE__IN__DEGREES", - "LONGITUDE EST OU OUEST":"EAST_OR_WEST_LONGITUDE", - "INCLURE LA DYNAMIQUE DES GLACES":"INCLUDE_ICE_DYNAMICS", - "AD NOMBRE DE DERIVEES":"AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES":"AD_NAMES_OF_DERIVATIVES", - "MASSE VOLUMIQUE DE L'EAU":"WATER_DENSITY", - "VISCOSITE CINEMATIQUE DE L'EAU":"KINEMATIC_WATER_VISCOSITY", - "CONST. POUR LE TRANSFERT THERMIQUE ENTRE L'EAU ET LA GLACE":"CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE", - "CONST. POUR LE TRANSFERT THERMIQUE POUR L'EAU EN SURFUSION":"CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW", - "NOMBRE DE NUSSELT POUR LE TRANFERT THERMIQUE LAMINAIRE":"NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE", - "CONSTANTE DE BOLTZMANN":"BOLTZMANN_CONSTANT__WM_2K_4_", - "TEMPERATURE DE CONGELATION DE L'EAU":"FREEZING_POINT_OF_WATER", - "TEMPERATURE D'EAU CRITIQUE POUR LA GLACE DE BORD STATIQUE":"CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE", - "LARGEUR DU CHENAL POUR LE CALCUL DE LA TEMPERATURE DE SURFACE":"CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE", - "CONCENTRATION MAXIMALE DU COUVERT DE GLACE":"CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "BILAN THERMIQUE":"HEAT_BUDGET", - "IMPACT DU COUVERT SUR L'HYDRODYNAMIQUE":"ICE_COVER_IMPACT_ON_HYDRODYNAMIC", - "COLMATAGE DES GRILLES":"CLOGGING_ON_BARS", - "GLACE DE BORD STATIQUE":"BORDER_ICE_COVER", - "SALINITE":"SALINITY", - "VERSION DU BILAN ENERGETIQUE":"ENERGY_BALANCE_VERSION", - "OPTION DU SCHEMA POUR LA CROISSANCE THERMIQUE":"SCHEME_OPTION_FOR_THERMAL_GROWTH", - "MODELE POUR LA NUCLEATION SECONDAIRE":"MODEL_FOR_THE_SECONDARY_NUCLEATION", - "PARAMETRE NMAX POUR LA NUCLEATION SECONDAIRE":"SECONDARY_NUCLEATION_NMAX_PARAMETER", - "MODELE POUR LA FLOCULATION ET RUPTURE":"MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP", - "PARAMETRE AFLOC POUR LA FLOCULATION":"FLOCCULATION_AFLOC_PARAMETER", - "MODELE POUR L'ENSEMENCEMENT DU FRASIL":"MODEL_FOR_FRAZIL_SEEDING", - "TAUX D'ENSEMENCEMENT DE FRASIL":"FRAZIL_SEEDING_RATE", - "NOMBRE MINIMUM DE CRISTAUX DE FRASIL":"MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS", - "MODELE D'ECHANGES EAU-ATMOSPHERE":"ATMOSPHERE_WATER_EXCHANGE_MODEL", - "MODELE POUR L'ESTIMATION DES PARAMETRES DE TURBULENCE":"MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS", - "PRECIPITATION DU FRASIL":"FRAZIL_PRECIPITATION", -} - -DicoCasEnToCata = { - 'STEERING FILE':'STEERING_FILE', - 'FORTRAN FILE':'FORTRAN_FILE', - 'TITLE':'TITLE', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'REFERENCE FILE':'REFERENCE_FILE', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'RESULTS FILE':'RESULTS_FILE', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'PREVIOUS ICE COVER COMPUTATION FILE':'PREVIOUS_ICE_COVER_COMPUTATION_FILE', - 'PREVIOUS ICE COVER COMPUTATION FILE FORMAT':'PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT', - 'PREVIOUS ICE BLOCKS COMPUTATION FILE':'PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE', - 'PREVIOUS ICE BLOCKS COMPUTATION FILE FORMAT':'PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT', - 'DICTIONARY':'DICTIONARY', - 'INITIAL CONDITIONS':'INITIAL_CONDITIONS', - 'VARIABLES FOR GRAPHIC PRINTOUTS':'VARIABLES_FOR_GRAPHIC_PRINTOUTS', - 'VARIABLES TO BE PRINTED':'VARIABLES_TO_BE_PRINTED', - 'GRAPHIC PRINTOUT PERIOD':'GRAPHIC_PRINTOUT_PERIOD', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'MASS-BALANCE':'MASS_BALANCE', - 'VALIDATION':'VALIDATION', - 'LAW OF ICE COVER FRICTION':'LAW_OF_ICE_COVER_FRICTION', - 'FRICTION COEFFICIENT':'FRICTION_COEFFICIENT', - 'MAXIMAL FRICTION COEFFICIENT':'MAXIMAL_FRICTION_COEFFICIENT', - 'LAW FOR FRICTION COEFFICIENT':'LAW_FOR_FRICTION_COEFFICIENT', - 'EQUIVALENT SURFACE ICE THICKNESS':'EQUIVALENT_SURFACE_ICE_THICKNESS', - 'AIR DENSITY':'AIR_DENSITY', - 'ICE DENSITY':'ICE_DENSITY', - 'WATER SPECIFIC HEAT':'WATER_SPECIFIC_HEAT', - 'SPECIFIC HEAT OF ICE':'SPECIFIC_HEAT_OF_ICE', - 'LATENT HEAT OF ICE':'LATENT_HEAT_OF_ICE', - 'WATER-AIR HEAT EXCHANGE COEFFICIENT':'WATER_AIR_HEAT_EXCHANGE_COEFFICIENT', - 'WATER-AIR HEAT EXCHANGE CONSTANT':'WATER_AIR_HEAT_EXCHANGE_CONSTANT', - 'ICE-AIR HEAT EXCHANGE COEFFICIENT':'ICE_AIR_HEAT_EXCHANGE_COEFFICIENT', - 'ICE-AIR HEAT EXCHANGE CONSTANT':'ICE_AIR_HEAT_EXCHANGE_CONSTANT', - 'COEFFICIENT FOR CALIBRATION OF BACK RADIATION':'COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION', - 'COEFFICIENT FOR CALIBRATION OF EVAPORATIVE HEAT TRANSFERT':'COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT', - 'COEFFICIENT FOR CALIBRATION OF CONDUCTIVE HEAT TRANSFERT':'COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT', - 'COEFFICIENT FOR CALIBRATION OF PRECIPITATION HEAT TRANSFERT':'COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT', - 'THERMAL CONDUCTIVITY BETWEEN WATER AND FRAZIL':'THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL', - 'THERMAL CONDUCTIVITY OF BLACK ICE':'THERMAL_CONDUCTIVITY_OF_BLACK_ICE', - 'THERMAL CONDUCTIVITY OF SNOW':'THERMAL_CONDUCTIVITY_OF_SNOW', - 'POROSITY OF SURFACE ICE':'POROSITY_OF_SURFACE_ICE', - 'NUMBER OF CLASSES FOR SUSPENDED FRAZIL ICE':'NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE', - 'NUSSELT NUMBER':'NUSSELT_NUMBER', - 'MODEL FOR THE NUSSELT NUMBER':'MODEL_FOR_THE_NUSSELT_NUMBER', - 'FRAZIL CRYSTALS RADIUS':'FRAZIL_CRYSTALS_RADIUS', - 'FRAZIL CRYSTALS DIAMETER THICKNESS RATIO':'FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO', - 'MODEL FOR THE BUOYANCY VELOCITY':'MODEL_FOR_THE_BUOYANCY_VELOCITY', - 'SETTLING COEFFICIENT OF FRAZIL ON BARS':'SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS', - 'POROSITY OF ACCUMULATED ICE':'POROSITY_OF_ACCUMULATED_ICE', - 'ANGLE OF ACCUMULATED ICE':'ANGLE_OF_ACCUMULATED_ICE', - 'PHYSICAL CHARACTERISTICS OF THE INTAKE RACK':'PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK', - 'CLOGGED BOUNDARY NUMBERS':'CLOGGED_BOUNDARY_NUMBERS', - 'CLOGGED SECTIONS':'CLOGGED_SECTIONS', - 'CLOGGING RESULTS FILE':'CLOGGING_RESULTS_FILE', - 'CRITICAL VELOCITY FOR STATIC BORDER ICE':'CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE', - 'CRITICAL VELOCITY FOR DYNAMIC BORDER ICE':'CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE', - 'HEIGHT OF MEASURED WIND':'HEIGHT_OF_MEASURED_WIND', - 'RELATIVE MODEL ELEVATION FROM MEAN SEA LEVEL':'RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL', - 'SUN SET ANGLE':'SUN_SET_ANGLE', - 'SUN RISE ANGLE':'SUN_RISE_ANGLE', - 'SOLAR CONSTANT':'SOLAR_CONSTANT', - 'ALBEDO OF ICE':'ALBEDO_OF_ICE', - 'DEWPOINT TEMPERATURE':'DEWPOINT_TEMPERATURE', - 'VISIBILITY':'VISIBILITY', - 'GLOBAL LONGITUDE, IN DEGREES':'GLOBAL_LONGITUDE__IN_DEGREES', - 'LOCAL LONGITUDE, IN DEGREES':'LOCAL_LONGITUDE__IN__DEGREES', - 'EAST OR WEST LONGITUDE':'EAST_OR_WEST_LONGITUDE', - 'INCLUDE ICE DYNAMICS':'INCLUDE_ICE_DYNAMICS', - 'AD NUMBER OF DERIVATIVES':'AD_NUMBER_OF_DERIVATIVES', - 'AD NAMES OF DERIVATIVES':'AD_NAMES_OF_DERIVATIVES', - 'WATER DENSITY':'WATER_DENSITY', - 'KINEMATIC WATER VISCOSITY':'KINEMATIC_WATER_VISCOSITY', - 'CONSTANT FOR HEAT TRANSFER BETWEEN TURBULENT WATER AND ICE':'CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE', - 'CONSTANT FOR HEAT TRANSFER FOR SUPERCOOLED TURBULENT FLOW':'CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW', - 'NUSSELT NUMBER FOR HEAT TRANSFER BETWEEN LAMINAR WATER AND ICE':'NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE', - 'BOLTZMANN CONSTANT (WM-2K-4)':'BOLTZMANN_CONSTANT__WM_2K_4_', - 'FREEZING POINT OF WATER':'FREEZING_POINT_OF_WATER', - 'CRITICAL WATER TEMPERATURE FOR STATIC BORDER ICE':'CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE', - 'CHANNEL WIDTH FOR THE COMPUTATION OF SURFACE TEMPERATURE':'CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE', - 'CONCENTRATION OF SURFACE ICE WHEN FORMATION':'CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'HEAT BUDGET':'HEAT_BUDGET', - 'ICE COVER IMPACT ON HYDRODYNAMIC':'ICE_COVER_IMPACT_ON_HYDRODYNAMIC', - 'CLOGGING ON BARS':'CLOGGING_ON_BARS', - 'BORDER ICE COVER':'BORDER_ICE_COVER', - 'SALINITY':'SALINITY', - 'ENERGY BALANCE VERSION':'ENERGY_BALANCE_VERSION', - 'SCHEME OPTION FOR THERMAL GROWTH':'SCHEME_OPTION_FOR_THERMAL_GROWTH', - 'MODEL FOR THE SECONDARY NUCLEATION':'MODEL_FOR_THE_SECONDARY_NUCLEATION', - 'SECONDARY NUCLEATION NMAX PARAMETER':'SECONDARY_NUCLEATION_NMAX_PARAMETER', - 'MODEL FOR THE FLOCCULATION AND BREAKUP':'MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP', - 'FLOCCULATION AFLOC PARAMETER':'FLOCCULATION_AFLOC_PARAMETER', - 'MODEL FOR FRAZIL SEEDING':'MODEL_FOR_FRAZIL_SEEDING', - 'FRAZIL SEEDING RATE':'FRAZIL_SEEDING_RATE', - 'MINIMUM NUMBER OF FRAZIL CRYSTALS':'MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS', - 'ATMOSPHERE-WATER EXCHANGE MODEL':'ATMOSPHERE_WATER_EXCHANGE_MODEL', - 'MODEL FOR ESTIMATION OF TURBULENCE PARAMETERS':'MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS', - 'FRAZIL PRECIPITATION':'FRAZIL_PRECIPITATION', -} -DicoEnumCasFrToEnumCasEn = { -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", -}, - -'PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", -}, - -'INITIAL_CONDITIONS':{ - ""SANS COUVERT DE GLACE"":""WITHOUT ICE COVER"", - ""COUVERT DE GLACE CONSTANT"":""CONSTANT ICE COVER"", - ""PARTICULIERES"":""SPECIAL"", - ""SPECIAL"":""PARTICULIERES"", - ""PARTICULAR"":""PARTICULAR"", -}, - -'VARIABLES_TO_BE_PRINTED':{ - "A EDITER":"TO BE EDITED", -}, - -} diff --git a/Telemac/khione_labelCataToIhm_en.qm b/Telemac/khione_labelCataToIhm_en.qm deleted file mode 100644 index 2f4d4c9d..00000000 Binary files a/Telemac/khione_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/khione_labelCataToIhm_en.ts b/Telemac/khione_labelCataToIhm_en.ts deleted file mode 100644 index c1824923..00000000 --- a/Telemac/khione_labelCataToIhm_en.ts +++ /dev/null @@ -1,540 +0,0 @@ - - @default - - STEERING_FILE - Steering file - - - FORTRAN_FILE - Fortran file - - - TITLE - Title - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - GEOMETRY_FILE - Geometry file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - REFERENCE_FILE - Reference file - - - REFERENCE_FILE_FORMAT - Reference file format - - - RESULTS_FILE - Results file - - - RESULTS_FILE_FORMAT - Results file format - - - PREVIOUS_ICE_COVER_COMPUTATION_FILE - Previous ice cover computation file - - - PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT - Previous ice cover computation file format - - - PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE - Previous ice blocks computation file - - - PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT - Previous ice blocks computation file format - - - DICTIONARY - Dictionary - - - INITIAL_CONDITIONS - Initial conditions - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - MASS_BALANCE - Mass-balance - - - VALIDATION - Validation - - - LAW_OF_ICE_COVER_FRICTION - Law of ice cover friction - - - FRICTION_COEFFICIENT - Friction coefficient - - - MAXIMAL_FRICTION_COEFFICIENT - Maximal friction coefficient - - - LAW_FOR_FRICTION_COEFFICIENT - Law for friction coefficient - - - EQUIVALENT_SURFACE_ICE_THICKNESS - Equivalent surface ice thickness - - - AIR_DENSITY - Air density - - - ICE_DENSITY - Ice density - - - WATER_SPECIFIC_HEAT - Water specific heat - - - SPECIFIC_HEAT_OF_ICE - Specific heat of ice - - - LATENT_HEAT_OF_ICE - Latent heat of ice - - - WATER_AIR_HEAT_EXCHANGE_COEFFICIENT - Water-air heat exchange coefficient - - - WATER_AIR_HEAT_EXCHANGE_CONSTANT - Water-air heat exchange constant - - - ICE_AIR_HEAT_EXCHANGE_COEFFICIENT - Ice-air heat exchange coefficient - - - ICE_AIR_HEAT_EXCHANGE_CONSTANT - Ice-air heat exchange constant - - - COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION - Coefficient for calibration of back radiation - - - COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT - Coefficient for calibration of evaporative heat transfert - - - COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT - Coefficient for calibration of conductive heat transfert - - - COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT - Coefficient for calibration of precipitation Heat transfert - - - THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL - Thermal conductivity between water and frazil - - - THERMAL_CONDUCTIVITY_OF_BLACK_ICE - Thermal conductivity of black ice - - - THERMAL_CONDUCTIVITY_OF_SNOW - Thermal conductivity of snow - - - POROSITY_OF_SURFACE_ICE - Porosity of surface ice - - - NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE - Number of classes for suspended frazil ice - - - NUSSELT_NUMBER - Nusselt number - - - MODEL_FOR_THE_NUSSELT_NUMBER - Model for the nusselt number - - - FRAZIL_CRYSTALS_RADIUS - Frazil crystals radius - - - FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO - Frazil crystals diameter thickness ratio - - - MODEL_FOR_THE_BUOYANCY_VELOCITY - Model for the buoyancy velocity - - - SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS - Settling coefficient of frazil on bars - - - POROSITY_OF_ACCUMULATED_ICE - Porosity of accumulated ice - - - ANGLE_OF_ACCUMULATED_ICE - Angle of accumulated ice - - - PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK - Physical characteristics of the intake rack - - - CLOGGED_BOUNDARY_NUMBERS - Clogged boundary numbers - - - CLOGGED_SECTIONS - Clogged sections - - - CLOGGING_RESULTS_FILE - Clogging results file - - - CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE - Critical velocity for static border ice - - - CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE - Critical velocity for dynamic border ice - - - HEIGHT_OF_MEASURED_WIND - Height of measured wind - - - RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL - Relative model elevation from mean sea level - - - SUN_SET_ANGLE - Sun set angle - - - SUN_RISE_ANGLE - Sun rise angle - - - SOLAR_CONSTANT - Solar constant - - - ALBEDO_OF_ICE - Albedo of ice - - - DEWPOINT_TEMPERATURE - Dewpoint temperature - - - VISIBILITY - Visibility - - - GLOBAL_LONGITUDE__IN_DEGREES - Global longitude, in degrees - - - LOCAL_LONGITUDE__IN__DEGREES - Local longitude, in degrees - - - EAST_OR_WEST_LONGITUDE - East or west longitude - - - INCLUDE_ICE_DYNAMICS - Include ice dynamics - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - WATER_DENSITY - Water density - - - KINEMATIC_WATER_VISCOSITY - Kinematic water viscosity - - - CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE - Constant for Heat transfer between turbulent water and ice - - - CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW - Constant for Heat transfer for supercooled turbulent flow - - - NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE - Nusselt number for Heat transfer between laminar water and ice - - - BOLTZMANN_CONSTANT__WM_2K_4_ - Boltzmann constant (wm-2k-4) - - - FREEZING_POINT_OF_WATER - Freezing point of water - - - CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE - Critical water temperature for static border ice - - - CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE - Channel width for the computation of surface temperature - - - CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION - Concentration of surface ice when formation - - - PARALLEL_PROCESSORS - Parallel processors - - - HEAT_BUDGET - Heat budget - - - ICE_COVER_IMPACT_ON_HYDRODYNAMIC - Ice cover impact on Hydrodynamic - - - CLOGGING_ON_BARS - Clogging on bars - - - BORDER_ICE_COVER - Border ice cover - - - SALINITY - Salinity - - - ENERGY_BALANCE_VERSION - Energy balance version - - - SCHEME_OPTION_FOR_THERMAL_GROWTH - Scheme option for thermal growth - - - MODEL_FOR_THE_SECONDARY_NUCLEATION - Model for the secondary nucleation - - - SECONDARY_NUCLEATION_NMAX_PARAMETER - Secondary nucleation nmax parameter - - - MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP - Model for the flocculation and breakup - - - FLOCCULATION_AFLOC_PARAMETER - Flocculation afloc parameter - - - MODEL_FOR_FRAZIL_SEEDING - Model for frazil seeding - - - FRAZIL_SEEDING_RATE - Frazil seeding rate - - - MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS - Minimum number of frazil crystals - - - ATMOSPHERE_WATER_EXCHANGE_MODEL - Atmosphere-water exchange model - - - MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS - Model for estimation of turbulence parameters - - - FRAZIL_PRECIPITATION - Frazil precipitation - - - COMPUTATION_ENVIRONMENT - Computation environment - - - INTERNAL - Internal - - - ICE_COVER - Ice cover - - - GENERAL - General - - - THERMAL_BUDGET - Thermal budget - - - FRAZIL - Frazil - - - CLOGGING - Clogging - - - NUMERICAL_PARAMETERS - Numerical parameters - - - INPUT - Input - - - GLOBAL - Global - - - OUTPUT - Output - - - RESTART - Restart - - - INITIALIZATION - Initialization - - - PHYSICAL_PARAMETERS - Physical parameters - - - CONSTANT - Constant - - - CALIBRATION_COEFFICIENT - Calibration coefficient - - - THERMAL_CONDUCTIVITY - Thermal conductivity - - - TURBULENCE - Turbulence - - - BOUNDARIES_CONDITION - Boundaries condition - - - METEOROLOGICAL_PROCESSES - Meteorological processes - - - ICE_DYNAMICS - Ice dynamics - - - AUTOMATIC_DIFFERENTIATION - Automatic differentiation - - - PRECIPITATION - Precipitation - - - DATA - Data - - - RESULTS - Results - - - LISTING - Listing - - - FRICTION - Friction - - - GLACE - Glace - - - GRID - Grid - - - WIND - Wind - - - SUN - Sun - - - AIR - Air - - - POSITION - Position - - - diff --git a/Telemac/khione_labelCataToIhm_fr.qm b/Telemac/khione_labelCataToIhm_fr.qm deleted file mode 100644 index cfa3e746..00000000 Binary files a/Telemac/khione_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/khione_labelCataToIhm_fr.ts b/Telemac/khione_labelCataToIhm_fr.ts deleted file mode 100644 index 036880e1..00000000 --- a/Telemac/khione_labelCataToIhm_fr.ts +++ /dev/null @@ -1,576 +0,0 @@ - - @default - - STEERING_FILE - Fichier des parametres - - - FORTRAN_FILE - Fichier fortran - - - TITLE - Titre - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - GEOMETRY_FILE - Fichier de geometrie - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - REFERENCE_FILE - Fichier de reference - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - RESULTS_FILE - Fichier des resultats - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - PREVIOUS_ICE_COVER_COMPUTATION_FILE - Fichier couvert de glace du calcul precedent - - - PREVIOUS_ICE_COVER_COMPUTATION_FILE_FORMAT - Format du fichier couvert de glace du calcul precedent - - - PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE - Fichier blocs de glace du calcul precedent - - - PREVIOUS_ICE_BLOCKS_COMPUTATION_FILE_FORMAT - Format du fichier blocs de glace du calcul precedent - - - DICTIONARY - Dictionnaire - - - INITIAL_CONDITIONS - Conditions initiales - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - GRAPHIC_PRINTOUT_PERIOD - Periode pour les sorties graphiques - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - MASS_BALANCE - Bilan de masse - - - VALIDATION - Validation - - - LAW_OF_ICE_COVER_FRICTION - Loi de frottement sous le couvert de glace - - - FRICTION_COEFFICIENT - Coefficient de frottement - - - MAXIMAL_FRICTION_COEFFICIENT - Coefficient de frottement maximal - - - LAW_FOR_FRICTION_COEFFICIENT - Loi pour le coefficient de frottement - - - EQUIVALENT_SURFACE_ICE_THICKNESS - Epaisseur de couvert de glace caracteristique - - - AIR_DENSITY - Masse volumique de l'air - - - ICE_DENSITY - Masse volumique de la glace - - - WATER_SPECIFIC_HEAT - Chaleur specifique de l'eau - - - SPECIFIC_HEAT_OF_ICE - Chaleur specifique de la glace - - - LATENT_HEAT_OF_ICE - Chaleur latente de la glace - - - WATER_AIR_HEAT_EXCHANGE_COEFFICIENT - Coefficient d'echange thermique eau-air - - - WATER_AIR_HEAT_EXCHANGE_CONSTANT - Constante d'echange thermique eau-air - - - ICE_AIR_HEAT_EXCHANGE_COEFFICIENT - Coefficient d'echange thermique glace-air - - - ICE_AIR_HEAT_EXCHANGE_CONSTANT - Constante d'echange thermique glace-air - - - COEFFICIENT_FOR_CALIBRATION_OF_BACK_RADIATION - Coefficient de calage du flux radiatif atmospherique - - - COEFFICIENT_FOR_CALIBRATION_OF_EVAPORATIVE_HEAT_TRANSFERT - Coefficient de calage du transfert evaporatif - - - COEFFICIENT_FOR_CALIBRATION_OF_CONDUCTIVE_HEAT_TRANSFERT - Coefficient de calage du transfert conductif - - - COEFFICIENT_FOR_CALIBRATION_OF_PRECIPITATION_HEAT_TRANSFERT - Coefficient de calage du transfert lie aux precipitations - - - THERMAL_CONDUCTIVITY_BETWEEN_WATER_AND_FRAZIL - Conductivite thermique entre eau et frasil - - - THERMAL_CONDUCTIVITY_OF_BLACK_ICE - Conductivite thermique de la glace sombre - - - THERMAL_CONDUCTIVITY_OF_SNOW - Conductivite thermique de la neige - - - POROSITY_OF_SURFACE_ICE - Porosite de la glace de surface - - - NUMBER_OF_CLASSES_FOR_SUSPENDED_FRAZIL_ICE - Nombre de classes pour la suspension de frasil - - - NUSSELT_NUMBER - Nombre de nusselt - - - MODEL_FOR_THE_NUSSELT_NUMBER - Modele pour le calcul du nombre de nusselt - - - FRAZIL_CRYSTALS_RADIUS - Rayon des cristaux de frasil - - - FRAZIL_CRYSTALS_DIAMETER_THICKNESS_RATIO - Ratio diametre epaisseur d'un cristal de frasil - - - MODEL_FOR_THE_BUOYANCY_VELOCITY - Modele pour le calcul de la vitesse de flottabilite - - - SETTLING_COEFFICIENT_OF_FRAZIL_ON_BARS - Coefficient de deposition des glaces sur barres - - - POROSITY_OF_ACCUMULATED_ICE - Porosite de la glace accumulee - - - ANGLE_OF_ACCUMULATED_ICE - Angle d accumulation de la glace - - - PHYSICAL_CHARACTERISTICS_OF_THE_INTAKE_RACK - Parametres physiques de la grille d entree - - - CLOGGED_BOUNDARY_NUMBERS - Numeros des frontieres glacees - - - CLOGGED_SECTIONS - Sections colmatees - - - CLOGGING_RESULTS_FILE - Fichier de resultats de la glace accumulee - - - CRITICAL_VELOCITY_FOR_STATIC_BORDER_ICE - Vitesse critique pour la glace de bord statique - - - CRITICAL_VELOCITY_FOR_DYNAMIC_BORDER_ICE - Vitesse critique pour la glace de bord dynamique - - - HEIGHT_OF_MEASURED_WIND - Hauteur de mesure du vent - - - RELATIVE_MODEL_ELEVATION_FROM_MEAN_SEA_LEVEL - Elevation du modele relative au niveau moyen des oceans - - - SUN_SET_ANGLE - Angle du soleil couchant - - - SUN_RISE_ANGLE - Angle du soleil levant - - - SOLAR_CONSTANT - Constante solaire - - - ALBEDO_OF_ICE - Albedo des glaces - - - DEWPOINT_TEMPERATURE - Temperature de rosee - - - VISIBILITY - Visibilite - - - GLOBAL_LONGITUDE__IN_DEGREES - Longitude globale, en degres - - - LOCAL_LONGITUDE__IN__DEGREES - Longitude locale, en degres - - - EAST_OR_WEST_LONGITUDE - Longitude est ou ouest - - - INCLUDE_ICE_DYNAMICS - Inclure la dynamique des glaces - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre de derivees - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - WATER_DENSITY - Masse volumique de l'eau - - - KINEMATIC_WATER_VISCOSITY - Viscosite cinematique de l'eau - - - CONSTANT_FOR_HEAT_TRANSFER_BETWEEN_TURBULENT_WATER_AND_ICE - Const. pour le transfert thermique entre l'eau et la glace - - - CONSTANT_FOR_HEAT_TRANSFER_FOR_SUPERCOOLED_TURBULENT_FLOW - Const. pour le transfert thermique pour l'eau en surfusion - - - NUSSELT_NUMBER_FOR_HEAT_TRANSFER_BETWEEN_LAMINAR_WATER_AND_ICE - Nombre de nusselt pour le tranfert thermique laminaire - - - BOLTZMANN_CONSTANT__WM_2K_4_ - Constante de boltzmann - - - FREEZING_POINT_OF_WATER - Temperature de congelation de l'eau - - - CRITICAL_WATER_TEMPERATURE_FOR_STATIC_BORDER_ICE - Temperature d'eau critique pour la glace de bord statique - - - CHANNEL_WIDTH_FOR_THE_COMPUTATION_OF_SURFACE_TEMPERATURE - Largeur du chenal pour le calcul de la temperature de surface - - - CONCENTRATION_OF_SURFACE_ICE_WHEN_FORMATION - Concentration maximale du couvert de glace - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - HEAT_BUDGET - Bilan thermique - - - ICE_COVER_IMPACT_ON_HYDRODYNAMIC - Impact du couvert sur l'hydrodynamique - - - CLOGGING_ON_BARS - Colmatage des grilles - - - BORDER_ICE_COVER - Glace de bord statique - - - SALINITY - Salinite - - - ENERGY_BALANCE_VERSION - Version du bilan energetique - - - SCHEME_OPTION_FOR_THERMAL_GROWTH - Option du schema pour la croissance thermique - - - MODEL_FOR_THE_SECONDARY_NUCLEATION - Modele pour la nucleation secondaire - - - SECONDARY_NUCLEATION_NMAX_PARAMETER - Parametre nmax pour la nucleation secondaire - - - MODEL_FOR_THE_FLOCCULATION_AND_BREAKUP - Modele pour la floculation et rupture - - - FLOCCULATION_AFLOC_PARAMETER - Parametre afloc pour la floculation - - - MODEL_FOR_FRAZIL_SEEDING - Modele pour l'ensemencement du frasil - - - FRAZIL_SEEDING_RATE - Taux d'ensemencement de frasil - - - MINIMUM_NUMBER_OF_FRAZIL_CRYSTALS - Nombre minimum de cristaux de frasil - - - ATMOSPHERE_WATER_EXCHANGE_MODEL - Modele d'echanges eau-atmosphere - - - MODEL_FOR_ESTIMATION_OF_TURBULENCE_PARAMETERS - Modele pour l'estimation des parametres de turbulence - - - FRAZIL_PRECIPITATION - Precipitation du frasil - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - "WITHOUT ICE COVER" - "SANS COUVERT DE GLACE" - - - "CONSTANT ICE COVER" - "COUVERT DE GLACE CONSTANT" - - - "SPECIAL" - "PARTICULIERES" - - - "PARTICULIERES" - "SPECIAL" - - - "PARTICULAR" - "PARTICULAR" - - - TO BE EDITED - A EDITER - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - INTERNAL - Interne - - - ICE_COVER - Couvert de glace - - - GENERAL - General - - - THERMAL_BUDGET - Thermique - - - FRAZIL - Frasil - - - CLOGGING - Colmatage - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - INPUT - Entree - - - GLOBAL - Global - - - OUTPUT - Sortie - - - RESTART - Reprise de calcul - - - INITIALIZATION - Initialisation - - - PHYSICAL_PARAMETERS - Parametres physiques - - - CONSTANT - Constante - - - CALIBRATION_COEFFICIENT - Coefficient de calage - - - THERMAL_CONDUCTIVITY - Conductivite thermique - - - TURBULENCE - Turbulence - - - BOUNDARIES_CONDITION - Condition aux limites - - - METEOROLOGICAL_PROCESSES - Meteo - - - ICE_DYNAMICS - Dynamique des glaces - - - AUTOMATIC_DIFFERENTIATION - Differentiation automatique - - - PRECIPITATION - Precipitation - - - DATA - Donnees - - - RESULTS - Resultats - - - LISTING - Listing - - - FRICTION - Frottement - - - GLACE - Glace - - - GRID - Grille - - - WIND - Vent - - - SUN - Soleil - - - AIR - Air - - - POSITION - Position - - - diff --git a/Telemac/labelCataToIhm_en.qm b/Telemac/labelCataToIhm_en.qm deleted file mode 100644 index 05ca84d2..00000000 Binary files a/Telemac/labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/labelCataToIhm_en.ts b/Telemac/labelCataToIhm_en.ts deleted file mode 100644 index 6f244f81..00000000 --- a/Telemac/labelCataToIhm_en.ts +++ /dev/null @@ -1,1240 +0,0 @@ - - @default - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient to calibrate tidal velocities - - - COST_FUNCTION - Cost function - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - DENSITY_OF_ALGAE - Density of algae - - - STEERING_FILE - Steering file - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Number of corrections of distributive schemes - - - LONGITUDE_OF_ORIGIN_POINT - Longitude of origin point - - - PREVIOUS_COMPUTATION_FILE - Previous computation file - - - DIAMETER_OF_ROUGHNESS_ELEMENTS - Diameter of roughness elements - - - THICKNESS_OF_ALGAE - Thickness of algae - - - CORIOLIS - Coriolis - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option for tidal boundary conditions - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - ADVECTION - Advection - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Newmark time integration coefficient - - - TIME_STEP - Time step - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Value of atmospheric pressure - - - LISTING_FOR_PRINTOUT_PERIOD - Listing for printout period - - - BINARY_DATABASE_2_FOR_TIDE - Binary database 2 for tide - - - VOLUMES_DELWAQ_FILE - Volumes DELWAQ file - - - DESCRIPTION_OF_LIBRARIES - Description of libraries - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Stop if a steady state is reached - - - SALINITY_DELWAQ_FILE - Salinity DELWAQ file - - - IMPLICITATION_FOR_DEPTH - Implicitation for depth - - - DROGUES_FILE - Drogues file - - - TEMPERATURE_FOR_DELWAQ - Temperature for DELWAQ - - - BLOBAL_NUMBERS_OF_SOURCE_NODES - Blobal numbers of source nodes - - - INITIAL_DEPTH - Initial depth - - - IDENTIFICATION_METHOD - Identification method - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient for diffusion of tracers - - - VELOCITY_DIFFUSIVITY - Velocity diffusivity - - - VECTOR_LENGTH - Vector length - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - LINEARIZED_PROPAGATION - Linearized propagation - - - PRECONDITIONING - Preconditioning - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Manning default value for colebrook-white law - - - PRINTOUT_PERIOD_FOR_DROGUES - Printout period for drogues - - - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS - Duration of rain or evaporation in hours - - - DEBUGGER - Debugger - - - DICTIONARY - Dictionary - - - SIPHONS_DATA_FILE - Siphons data file - - - WATER_DISCHARGE_OF_SOURCES - Water discharge of sources - - - ADVECTION_OF_U_AND_V - Advection of U and V - - - ANTECEDENT_MOISTURE_CONDITIONS - Antecedent moisture conditions - - - DIFFUSION_OF_VELOCITY - Diffusion of velocity - - - WATER_DENSITY - Water density - - - ORIGIN_COORDINATES - Origin coordinates - - - LATITUDE_OF_ORIGIN_POINT - Latitude of origin point - - - PRESCRIBED_TRACERS_VALUES - Prescribed tracers values - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum number of iterations for solver - - - FLUXLINE - Fluxline - - - TIDE_GENERATING_FORCE - Tide generating force - - - VELOCITY_FOR_DELWAQ - Velocity for DELWAQ - - - PARALLEL_PROCESSORS - Parallel processors - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Roughness coefficient of boundaries - - - RAINFALL_RUNOFF_MODEL - Rainfall-runoff model - - - PSI_SCHEME_OPTION - Psi scheme option - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Scheme option for advection of velocities - - - INITIAL_CONDITIONS - Initial conditions - - - INITIAL_TIME_SET_TO_ZERO - Initial time set to zero - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Number of sub-iterations for non-linearities - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option for the diffusion of tracers - - - CULVERTS_DATA_FILE - Culverts data file - - - ACCURACY_OF_EPSILON - Accuracy of epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum number of iterations for diffusion of tracers - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping on velocity - - - FRICTION_DATA_FILE - Friction data file - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Scheme for advection of K-epsilon - - - SOLVER_ACCURACY - Solver accuracy - - - NAMES_OF_POINTS - Names of points - - - TOMAWAC_STEERING_FILE - TOMAWAC steering file - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - STOP_CRITERIA - Stop criteria - - - BINARY_RESULTS_FILE_FORMAT - Binary results file format - - - TEMPERATURE_DELWAQ_FILE - Temperature DELWAQ file - - - PROPAGATION - Propagation - - - FINITE_VOLUME_SCHEME - Finite volume scheme - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Implicitation coefficient of tracers - - - CORIOLIS_COEFFICIENT - Coriolis coefficient - - - PRESCRIBED_FLOWRATES - Prescribed flowrates - - - TURBULENCE_MODEL - Turbulence model - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Number of first time step for listing printouts - - - PRINTING_CUMULATED_FLOWRATES - Printing cumulated flowrates - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Number of first time step for graphic printouts - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Physical characteristics of the tsunami - - - MASS_BALANCE - Mass-balance - - - BINARY_DATABASE_1_FOR_TIDE - Binary database 1 for tide - - - SOURCES_FILE - Sources file - - - LAW_OF_TRACERS_DEGRADATION - Law of tracers degradation - - - SECTIONS_INPUT_FILE - Sections input file - - - CONTROL_SECTIONS - Control sections - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solver for diffusion of tracers - - - RESULTS_FILE_FORMAT - Results file format - - - SECONDARY_CURRENTS - Secondary currents - - - OPTION_FOR_INITIAL_ABSTRACTION_RATIO - Option for initial abstraction ratio - - - TYPE_OF_WEIRS - Type of weirs - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Number of sub-steps of distributive schemes - - - SPACING_OF_ROUGHNESS_ELEMENTS - Spacing of roughness elements - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Scheme option for advection of K-epsilon - - - COUPLING_WITH - Coupling with - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - THRESHOLD_DEPTH_FOR_WIND - Threshold depth for wind - - - VELOCITY_PROFILES - Velocity profiles - - - ALGAE_TYPE - Algae type - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Treatment of fluxes at the boundaries - - - MINOR_CONSTITUENTS_INFERENCE - Minor constituents inference - - - STAGE_DISCHARGE_CURVES - Stage-discharge curves - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Global number of the point to calibrate high water - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Rain or evaporation in mm per day - - - REFERENCE_FILE_FORMAT - Reference file format - - - SALINITY_FOR_DELWAQ - Salinity for DELWAQ - - - DIFFUSIVITY_FOR_DELWAQ - Diffusivity for DELWAQ - - - BOTTOM_SURFACES_DELWAQ_FILE - Bottom surfaces DELWAQ file - - - FORMATTED_DATA_FILE_1 - Formatted data file 1 - - - FORMATTED_DATA_FILE_2 - Formatted data file 2 - - - COMPUTATION_CONTINUED - Computation continued - - - RECORD_NUMBER_IN_WAVE_FILE - Record number in wave file - - - C_U_PRECONDITIONING - C-U preconditioning - - - LIST_OF_POINTS - List of points - - - TYPE_OF_ADVECTION - Type of advection - - - WIND_VELOCITY_ALONG_X - Wind velocity along X - - - WIND_VELOCITY_ALONG_Y - Wind velocity along Y - - - TOLERANCES_FOR_IDENTIFICATION - Tolerances for identification - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Previous computation file format - - - DISCRETIZATIONS_IN_SPACE - Discretizations in space - - - BINARY_ATMOSPHERIC_DATA_FILE - Binary atmospheric data file - - - BINARY_RESULTS_FILE - Binary results file - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Exchanges between nodes DELWAQ file - - - CONTINUITY_CORRECTION - Continuity correction - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Scheme for advection of velocities - - - EXCHANGE_AREAS_DELWAQ_FILE - Exchange areas DELWAQ file - - - SISYPHE_STEERING_FILE - Sisyphe steering file - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation for diffusion of velocity - - - ADVECTION_OF_K_AND_EPSILON - Advection of K and epsilon - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Free surface gradient compatibility - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Values of the tracers at the sources - - - NUMBER_OF_CULVERTS - Number of culverts - - - RELEASE - Release - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - LANGUAGE - Language - - - NAMES_OF_PRIVATE_VARIABLES - Names of private variables - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditioning for diffusion of tracers - - - VALIDATION - Validation - - - NUMBER_OF_SIPHONS - Number of siphons - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Binary atmospheric data file format - - - WEIRS_DATA_FILE - Weirs data file - - - IMPLICITATION_FOR_VELOCITY - Implicitation for velocity - - - DEFINITION_OF_ZONES - Definition of zones - - - LISTING_PRINTOUT - Listing printout - - - MEAN_DEPTH_FOR_LINEARIZATION - Mean depth for linearization - - - COUPLING_PERIOD_FOR_TOMAWAC - Coupling period for TOMAWAC - - - WAVE_ENHANCED_FRICTION_FACTOR - Wave enhanced friction factor - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - DEPTH_IN_FRICTION_TERMS - Depth in friction terms - - - MASS_LUMPING_ON_H - Mass-lumping on H - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Number of lagrangian drifts - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Non-dimensional dispersion coefficients - - - FOURIER_ANALYSIS_PERIODS - Fourier analysis periods - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - EQUATIONS - Equations - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum number of iterations for identification - - - WIND - Wind - - - SPEED_AND_DIRECTION_OF_WIND - Speed and direction of wind - - - NAMES_OF_CLANDESTINE_VARIABLES - Names of clandestine variables - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - NON_SUBMERGED_VEGETATION_FRICTION - Non-submerged vegetation friction - - - TYPE_OF_SOURCES - Type of sources - - - TIDAL_FLATS - Tidal flats - - - TITLE - Title - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Law of friction on lateral boundaries - - - STAGE_DISCHARGE_CURVES_FILE - Stage-discharge curves file - - - DESIRED_COURANT_NUMBER - Desired courant number - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Dissipation coefficient for secondary currents - - - COUPLING_PERIOD_FOR_SISYPHE - Coupling period for sisyphe - - - ALGAE_TRANSPORT_MODEL - Algae transport model - - - ABSCISSAE_OF_SOURCES - Abscissae of sources - - - LIQUID_BOUNDARIES_FILE - Liquid boundaries file - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Velocities of the sources along X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Velocities of the sources along Y - - - MAXIMUM_NUMBER_OF_SOURCES - Maximum number of sources - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Solver option for tracers diffusion - - - INFORMATION_ABOUT_SOLVER - Information about solver - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - DIAMETRE_OF_ALGAE - Diametre of algae - - - COUPLING_DIRECTORY - Coupling directory - - - DELWAQ_PRINTOUT_PERIOD - DELWAQ printout period - - - BOTTOM_SMOOTHINGS - Bottom smoothings - - - AIR_PRESSURE - Air pressure - - - PRESCRIBED_ELEVATIONS - Prescribed elevations - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping for weak characteristics - - - GRAVITY_ACCELERATION - Gravity acceleration - - - LIMIT_VALUES - Limit values - - - RESULTS_FILE - Results file - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Scheme option for advection of tracers - - - OPTION_FOR_CHARACTERISTICS - Option for characteristics - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Time range for fourier analysis - - - VERTICAL_FLUXES_DELWAQ_FILE - Vertical fluxes DELWAQ file - - - ORDINATES_OF_SOURCES - Ordinates of sources - - - MAXIMUM_NUMBER_OF_TRACERS - Maximum number of tracers - - - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES - Turbulence regime for solid boundaries - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Local number of the point to calibrate high water - - - NODES_DISTANCES_DELWAQ_FILE - Nodes distances DELWAQ file - - - NUMBER_OF_DROGUES - Number of drogues - - - SOLVER_FOR_K_EPSILON_MODEL - Solver for K-Epsilon model - - - SECTIONS_OUTPUT_FILE - Sections output file - - - HARMONIC_CONSTANTS_FILE - Harmonic constants file - - - OPTION_FOR_CULVERTS - Option for culverts - - - ASCII_ATMOSPHERIC_DATA_FILE - ASCII atmospheric data file - - - INITIAL_ELEVATION - Initial elevation - - - ZERO - Zero - - - BREACHES_DATA_FILE - Breaches data file - - - OPTION_FOR_WIND - Option for wind - - - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION - Option of the hydrostatic reconstruction - - - NUMBER_OF_TRACERS - Number of tracers - - - DIFFUSIVITY_DELWAQ_FILE - Diffusivity DELWAQ file - - - ADVECTION_OF_TRACERS - Advection of tracers - - - SOLVER_OPTION - Solver option - - - MATRIX_STORAGE - Matrix storage - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient to calibrate tidal range - - - BINARY_DATA_FILE_1 - Binary data file 1 - - - BINARY_DATA_FILE_2 - Binary data file 2 - - - CONTROL_OF_LIMITS - Control of limits - - - RECORD_NUMBER_FOR_RESTART - Record number for restart - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Number of Gauss points for weak characteristics - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient of wind influence - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditioning for K-Epsilon model - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Production coefficient for secondary currents - - - MINIMUM_VALUE_OF_DEPTH - Minimum value of depth - - - ELEMENTS_MASKED_BY_USER - Elements masked by user - - - FRICTION_COEFFICIENT - Friction coefficient - - - PRESCRIBED_VELOCITIES - Prescribed velocities - - - NAMES_OF_TRACERS - Names of tracers - - - VELOCITY_DELWAQ_FILE - Velocity DELWAQ file - - - H_CLIPPING - H clipping - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Zone number in geographic system - - - SUPG_OPTION - SUPG option - - - PARAMETER_ESTIMATION - Parameter estimation - - - CHECKING_THE_MESH - Checking the mesh - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Compatible computation of fluxes - - - LIST_OF_FILES - List of files - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Maximum number of friction domains - - - DURATION - Duration - - - DELWAQ_STEERING_FILE - DELWAQ steering file - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 for law of tracers degradation - - - ACCURACY_OF_K - Accuracy of K - - - WATER_QUALITY_PROCESS - Water quality process - - - ADVECTION_OF_H - Advection of H - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Scheme for advection of tracers - - - BINARY_DATA_FILE_2_FORMAT - Binary data file 2 format - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient to calibrate sea level - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option for the diffusion of velocities - - - INITIAL_GUESS_FOR_H - Initial guess for H - - - MASS_LUMPING_ON_TRACERS - Mass-lumping on tracers - - - OPTION_FOR_LIQUID_BOUNDARIES - Option for liquid boundaries - - - GEOMETRY_FILE - Geometry file - - - WAQTEL_STEERING_FILE - Waqtel steering file - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum number of iterations for advection schemes - - - FLUXLINE_INPUT_FILE - Fluxline input file - - - RAIN_OR_EVAPORATION - Rain or evaporation - - - LAW_OF_BOTTOM_FRICTION - Law of bottom friction - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Accuracy for diffusion of tracers - - - MEAN_TEMPERATURE - Mean temperature - - - PARTITIONING_TOOL - Partitioning tool - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option for the solver for K-Epsilon model - - - SPATIAL_PROJECTION_TYPE - Spatial projection type - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Threshold for negative depths - - - DEFAULT_PARALLEL_EXECUTABLE - Default parallel executable - - - INITIAL_GUESS_FOR_U - Initial guess for U - - - DIFFUSION_OF_TRACERS - Diffusion of tracers - - - DEFAULT_EXECUTABLE - Default executable - - - FORMATTED_RESULTS_FILE - Formatted results file - - - VALUES_OF_TRACERS_IN_THE_RAIN - Values of tracers in the rain - - - VERTICAL_STRUCTURES - Vertical structures - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum number of iterations for K and Epsilon - - - UPWIND_COEFFICIENTS - Upwind coefficients - - - FRICTION_DATA - Friction data - - - NUMBER_OF_WEIRS - Number of weirs - - - OPTION_FOR_TSUNAMI_GENERATION - Option for tsunami generation - - - VARIABLE_TIME_STEP - Variable time-step - - - WAVE_DRIVEN_CURRENTS - Wave driven currents - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Information about K-Epsilon model - - - ZONES_FILE - Zones file - - - SPHERICAL_COORDINATES - Spherical coordinates - - - NORTH - North - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Treatment of the linear system - - - REFERENCE_FILE - Reference file - - - DENSITY_EFFECTS - Density effects - - - ASCII_DATABASE_FOR_TIDE - ASCII database for tide - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Threshold depth for receding procedure - - - OIL_SPILL_MODEL - Oil spill model - - - SOLVER - Solver - - - TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL - Time step reduction for K-Epsilon model - - - STOCHASTIC_DIFFUSION_MODEL - Stochastic diffusion model - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - GEOGRAPHIC_SYSTEM - Geographic system - - - FORTRAN_FILE - Fortran file - - - PROPAGATION_OPTION - Propagation option - - - OIL_SPILL_STEERING_FILE - Oil spill steering file - - - TIDAL_DATA_BASE - Tidal data base - - - TIDAL_MODEL_FILE - Tidal model file - - - BREACH - Breach - - - TREATMENT_OF_NEGATIVE_DEPTHS - Treatment of negative depths - - - INITIAL_VALUES_OF_TRACERS - Initial values of tracers - - - diff --git a/Telemac/labelCataToIhm_fr.qm b/Telemac/labelCataToIhm_fr.qm deleted file mode 100644 index eb9c2954..00000000 Binary files a/Telemac/labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/labelCataToIhm_fr.ts b/Telemac/labelCataToIhm_fr.ts deleted file mode 100644 index 0d60b40a..00000000 --- a/Telemac/labelCataToIhm_fr.ts +++ /dev/null @@ -1,1336 +0,0 @@ - - @default - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient de calage des vitesses de courant - - - COST_FUNCTION - Fonction cout - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - DENSITY_OF_ALGAE - Masse volumique des algues - - - STEERING_FILE - Fichier des parametres - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Nombre de corrections des schemas distributifs - - - LONGITUDE_OF_ORIGIN_POINT - Longitude du point origine - - - PREVIOUS_COMPUTATION_FILE - Fichier du calcul precedent - - - DIAMETER_OF_ROUGHNESS_ELEMENTS - Diametre des elements de frottement - - - THICKNESS_OF_ALGAE - Epaisseur des algues - - - CORIOLIS - Coriolis - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option pour les conditions aux limites de maree - - - PARTICULIERES - PARTICULIERES - - - NUMBER_OF_TIME_STEPS - Nombre de pas de temps - - - ADVECTION - Convection - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Coefficient d'integration en temps de newmark - - - ZERO DEPTH - HAUTEUR NULLE - - - TIME_STEP - Pas de temps - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Valeur de la pression atmospherique - - - LISTING_FOR_PRINTOUT_PERIOD - Periode pour les sorties listing - - - BINARY_DATABASE_2_FOR_TIDE - Base binaire 2 de donnees de maree - - - VOLUMES_DELWAQ_FILE - Fichier DELWAQ des volumes - - - DESCRIPTION_OF_LIBRARIES - Description des librairies - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Arret si un etat permanent est atteint - - - SALINITY_DELWAQ_FILE - Fichier DELWAQ de la salinite - - - IMPLICITATION_FOR_DEPTH - Implicitation pour la hauteur - - - DROGUES_FILE - Fichier des flotteurs - - - TEMPERATURE_FOR_DELWAQ - Temperature pour DELWAQ - - - BLOBAL_NUMBERS_OF_SOURCE_NODES - Numeros globaux des noeuds des sources - - - INITIAL_DEPTH - Hauteur initiale - - - PARMETIS - PARMETIS - - - IDENTIFICATION_METHOD - Methode d'identification - - - SAINT-VENANT FE - SAINT-VENANT EF - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient de diffusion des traceurs - - - VELOCITY_DIFFUSIVITY - Coefficient de diffusion des vitesses - - - VECTOR_LENGTH - Longueur du vecteur - - - GRAPHIC_PRINTOUT_PERIOD - Periode pour les sorties graphiques - - - LINEARIZED_PROPAGATION - Propagation linearisee - - - PRECONDITIONING - Preconditionnement - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Valeur par defaut du manning pour la loi de colebrook-white - - - PRINTOUT_PERIOD_FOR_DROGUES - Periode pour les sorties de flotteurs - - - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS - Duree de la pluie ou evaporation en heures - - - DEBUGGER - Debugger - - - DICTIONARY - Dictionnaire - - - SIPHONS_DATA_FILE - Fichier de donnees des siphons - - - WATER_DISCHARGE_OF_SOURCES - Debits des sources - - - ADVECTION_OF_U_AND_V - Convection de U et V - - - ANTECEDENT_MOISTURE_CONDITIONS - Conditions d'humidite precedente - - - DIFFUSION_OF_VELOCITY - Diffusion des vitesses - - - CONSTANT DEPTH - HAUTEUR CONSTANTE - - - WATER_DENSITY - Masse volumique de l'eau - - - ORIGIN_COORDINATES - Coordonnees de l'origine - - - LATITUDE_OF_ORIGIN_POINT - Latitude du point origine - - - PRESCRIBED_TRACERS_VALUES - Valeurs imposees des traceurs - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum d'iterations pour le solveur - - - FLUXLINE - Fluxline - - - TIDE_GENERATING_FORCE - Force generatrice de la maree - - - VELOCITY_FOR_DELWAQ - Vitesse pour DELWAQ - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Coefficient de rugosite des bords - - - RAINFALL_RUNOFF_MODEL - Modele pluie-debit - - - PSI_SCHEME_OPTION - Option du schema PSI - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Option du schema pour la convection des vitesses - - - INITIAL_CONDITIONS - Conditions initiales - - - INITIAL_TIME_SET_TO_ZERO - Remise a zero du temps - - - PTSCOTCH - PTSCOTCH - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Nombre de sous-iterations pour les non-linearites - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option pour la diffusion des traceurs - - - CULVERTS_DATA_FILE - Fichier de donnees des buses - - - ACCURACY_OF_EPSILON - Precision sur epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum d'iterations pour la diffusion des traceurs - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping sur la vitesse - - - FRICTION_DATA_FILE - Fichier de donnees pour le frottement - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Schema pour la convection du K-Epsilon - - - SOLVER_ACCURACY - Precision du solveur - - - NAMES_OF_POINTS - Noms des points - - - TOMAWAC_STEERING_FILE - Fichier des parametres de TOMAWAC - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - STOP_CRITERIA - Criteres d'arret - - - BINARY_RESULTS_FILE_FORMAT - Format du fichier de resultats binaire - - - TEMPERATURE_DELWAQ_FILE - Fichier DELWAQ de la temperature - - - PROPAGATION - Propagation - - - FINITE_VOLUME_SCHEME - Schema en volumes finis - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Coefficient d'implicitation des traceurs - - - CORIOLIS_COEFFICIENT - Coefficient de coriolis - - - PRESCRIBED_FLOWRATES - Debits imposes - - - TURBULENCE_MODEL - Modele de turbulence - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Numero du premier pas de temps pour les sorties listing - - - PRINTING_CUMULATED_FLOWRATES - Impression du cumul des flux - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Numero du premier pas de temps pour les sorties graphiques - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Parametres physiques du tsunami - - - MASS_BALANCE - Bilan de masse - - - BINARY_DATABASE_1_FOR_TIDE - Base binaire 1 de donnees de maree - - - SOURCES_FILE - Fichier des sources - - - LAW_OF_TRACERS_DEGRADATION - Loi de degradation des traceurs - - - SECTIONS_INPUT_FILE - Fichier des sections de controle - - - CONTROL_SECTIONS - Sections de controle - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solveur pour la diffusion des traceurs - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - SECONDARY_CURRENTS - Courants secondaires - - - BIN - BIN - - - OPTION_FOR_INITIAL_ABSTRACTION_RATIO - Option pour ratio des pertes initiales - - - TYPE_OF_WEIRS - Type des seuils - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Nombre de sous-pas des schemas distributifs - - - SPACING_OF_ROUGHNESS_ELEMENTS - Espacement des elements de frottement - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Option du schema pour la convection du K-Epsilon - - - COUPLING_WITH - Couplage avec - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - THRESHOLD_DEPTH_FOR_WIND - Profondeur limite pour le vent - - - VELOCITY_PROFILES - Profils de vitesse - - - ALGAE_TYPE - Type des algues - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Traitement des flux aux frontieres - - - MINOR_CONSTITUENTS_INFERENCE - Interpolation de composantes mineures - - - STAGE_DISCHARGE_CURVES - Courbes de tarage - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero global du point pour caler la pleine mer - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Pluie ou evaporation en mm par jour - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - SALINITY_FOR_DELWAQ - Salinite pour DELWAQ - - - DIFFUSIVITY_FOR_DELWAQ - Diffusion pour DELWAQ - - - DELWAQ - DELWAQ - - - BOTTOM_SURFACES_DELWAQ_FILE - Fichier DELWAQ des surfaces du fond - - - FORMATTED_DATA_FILE_1 - Fichier de donnees formate 1 - - - FORMATTED_DATA_FILE_2 - Fichier de donnees formate 2 - - - COMPUTATION_CONTINUED - Suite de calcul - - - RECORD_NUMBER_IN_WAVE_FILE - Numero de l'enregistrement dans le fichier de Houle - - - C_U_PRECONDITIONING - Preconditionnement C-U - - - LIST_OF_POINTS - Liste de points - - - TYPE_OF_ADVECTION - Forme de la convection - - - WIND_VELOCITY_ALONG_X - Vitesse du vent suivant X - - - WIND_VELOCITY_ALONG_Y - Vitesse du vent suivant Y - - - TOLERANCES_FOR_IDENTIFICATION - Precisions pour l'identification - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Format du fichier du calcul precedent - - - METIS - METIS - - - DISCRETIZATIONS_IN_SPACE - Discretisations en espace - - - BINARY_ATMOSPHERIC_DATA_FILE - Fichier binaire de donnees atmospheriques - - - BINARY_RESULTS_FILE - Fichier de resultats binaire - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Fichier DELWAQ des echanges entre noeuds - - - CONTINUITY_CORRECTION - Correction de continuite - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Schema pour la convection des vitesses - - - EXCHANGE_AREAS_DELWAQ_FILE - Fichier DELWAQ des surfaces de flux - - - SISYPHE_STEERING_FILE - Fichier des parametres de sisyphe - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation pour la diffusion des vitesses - - - ADVECTION_OF_K_AND_EPSILON - Convection de K et epsilon - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Compatibilite du gradient de surface libre - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Valeurs des traceurs des sources - - - NUMBER_OF_CULVERTS - Nombre de buses - - - ZERO ELEVATION - COTE NULLE - - - RELEASE - Numero de version - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - LANGUAGE - Langue - - - NAMES_OF_PRIVATE_VARIABLES - Noms des variables privees - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditionnement pour la diffusion des traceurs - - - VALIDATION - Validation - - - NUMBER_OF_SIPHONS - Nombre de siphons - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Format du fichier binaire de donnees atmospheriques - - - WEIRS_DATA_FILE - Fichier de donnees des seuils - - - IMPLICITATION_FOR_VELOCITY - Implicitation pour la vitesse - - - DEFINITION_OF_ZONES - Definition de zones - - - TOMAWAC - TOMAWAC - - - LISTING_PRINTOUT - Sortie listing - - - MEAN_DEPTH_FOR_LINEARIZATION - Profondeur moyenne pour la linearisation - - - COUPLING_PERIOD_FOR_TOMAWAC - Periode de couplage pour TOMAWAC - - - WAVE_ENHANCED_FRICTION_FACTOR - Augmentation du frottement par la houle - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - DEPTH_IN_FRICTION_TERMS - Hauteur dans les termes de frottement - - - MASS_LUMPING_ON_H - Mass-lumping sur H - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Nombre de derives lagrangiennes - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Coefficients adimensionnels de dispersion - - - FOURIER_ANALYSIS_PERIODS - Periodes d'analyse de fourier - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - EQUATIONS - Equations - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum d'iterations pour l'identification - - - WIND - Vent - - - SPEED_AND_DIRECTION_OF_WIND - Vitesse et direction du vent - - - NAMES_OF_CLANDESTINE_VARIABLES - Noms des variables clandestines - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - NON_SUBMERGED_VEGETATION_FRICTION - Frottement pour la vegetation non submergee - - - TYPE_OF_SOURCES - Type des sources - - - TIDAL_FLATS - Bancs decouvrants - - - TITLE - Titre - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Loi de frottement sur les parois laterales - - - FRICTION - FROTTEMENT - - - STAGE_DISCHARGE_CURVES_FILE - Fichier des courbes de tarage - - - DESIRED_COURANT_NUMBER - Nombre de courant souhaite - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Coefficient de dissipation pour courants secondaires - - - COUPLING_PERIOD_FOR_SISYPHE - Periode de couplage pour sisyphe - - - ALGAE_TRANSPORT_MODEL - Modele de transport des algues - - - ABSCISSAE_OF_SOURCES - Abscisses des sources - - - LIQUID_BOUNDARIES_FILE - Fichier des frontieres liquides - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Vitesses des sources selon X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Vitesses des sources selon Y - - - MAXIMUM_NUMBER_OF_SOURCES - Nombre maximum de sources - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Option du solveur pour la diffusion des traceurs - - - INFORMATION_ABOUT_SOLVER - Informations sur le solveur - - - BOUSSINESQ - BOUSSINESQ - - - BINARY_DATA_FILE_1_FORMAT - Format du fichier de donnees binaire 1 - - - DIAMETRE_OF_ALGAE - Diametre des algues - - - CONSTANT ELEVATION - COTE CONSTANTE - - - COUPLING_DIRECTORY - Dossier de couplage - - - DELWAQ_PRINTOUT_PERIOD - Periode de sortie pour DELWAQ - - - BOTTOM_SMOOTHINGS - Lissages du fond - - - AIR_PRESSURE - Pression atmospherique - - - PRESCRIBED_ELEVATIONS - Cotes imposees - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping pour les caracteristiques faibles - - - GRAVITY_ACCELERATION - Acceleration de la pesanteur - - - LIMIT_VALUES - Valeurs limites - - - RESULTS_FILE - Fichier des resultats - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Option du schema pour la convection des traceurs - - - OPTION_FOR_CHARACTERISTICS - Option pour les caracteristiques - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option de traitement des bancs decouvrants - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Bornes en temps pour l'analyse de fourier - - - VERTICAL_FLUXES_DELWAQ_FILE - Fichier DELWAQ des flux verticaux - - - ORDINATES_OF_SOURCES - Ordonnees des sources - - - SERAFIN - SERAFIN - - - MAXIMUM_NUMBER_OF_TRACERS - Nombre maximum de traceurs - - - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES - Regime de turbulence pour les parois - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero local du point pour caler la pleine mer - - - NODES_DISTANCES_DELWAQ_FILE - Fichier DELWAQ des distances entre noeuds - - - NUMBER_OF_DROGUES - Nombre de flotteurs - - - SOLVER_FOR_K_EPSILON_MODEL - Solveur pour le modele K-Epsilon - - - SECTIONS_OUTPUT_FILE - Fichier de sortie des sections de controle - - - HARMONIC_CONSTANTS_FILE - Fichier des constantes harmoniques - - - OPTION_FOR_CULVERTS - Option pour les buses - - - ASCII_ATMOSPHERIC_DATA_FILE - Fichier ASCII de donnees atmospheriques - - - INITIAL_ELEVATION - Cote initiale - - - ZERO - Zero - - - BREACHES_DATA_FILE - Fichier de donnees des breches - - - OPTION_FOR_WIND - Option du vent - - - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION - Option de la reconstrucion Hydrostatique - - - SERAFIND - SERAFIND - - - NUMBER_OF_TRACERS - Nombre de traceurs - - - DIFFUSIVITY_DELWAQ_FILE - Fichier DELWAQ de la diffusion - - - TPXO SATELLITE ALTIMETRY - ALTIMETRIE SATELLITE TPXO - - - ADVECTION_OF_TRACERS - Convection des traceurs - - - MED - MED - - - SOLVER_OPTION - Option du solveur - - - MATRIX_STORAGE - Stockage des matrices - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient de calage du marnage - - - BINARY_DATA_FILE_1 - Fichier de donnees binaire 1 - - - BINARY_DATA_FILE_2 - Fichier de donnees binaire 2 - - - CONTROL_OF_LIMITS - Controle des limites - - - RECORD_NUMBER_FOR_RESTART - Enregistrement pour suite de calcul - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Nombre de points de Gauss pour les caracteristiques faibles - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient d'influence du vent - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditionnement pour le modele K-Epsilon - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Coefficient de production pour courants secondaires - - - MINIMUM_VALUE_OF_DEPTH - Valeur minimum de H - - - ELEMENTS_MASKED_BY_USER - Elements masques par l'utilisateur - - - FRICTION_COEFFICIENT - Coefficient de frottement - - - PRESCRIBED_VELOCITIES - Vitesses imposees - - - NAMES_OF_TRACERS - Noms des traceurs - - - SPECIAL - SPECIAL - - - VELOCITY_DELWAQ_FILE - Fichier DELWAQ de la vitesse - - - H_CLIPPING - Clipping de H - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Numero de fuseau ou projection dans le systeme geographique - - - SUPG_OPTION - Option de SUPG - - - PARAMETER_ESTIMATION - Estimation de parametre - - - CHECKING_THE_MESH - Verification du maillage - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre de derivees - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Calcul compatible des flux - - - LIST_OF_FILES - Liste des fichiers - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Nombre maximum de domaines de frottement - - - DURATION - Duree du calcul - - - DELWAQ_STEERING_FILE - Fichier de commande DELWAQ - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 de la loi de degradation des traceurs - - - ACCURACY_OF_K - Precision sur k - - - PARTICULAR - PARTICULAR - - - WATER_QUALITY_PROCESS - Processus qualite d'eau - - - ADVECTION_OF_H - Convection de H - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Schema pour la convection des traceurs - - - BINARY_DATA_FILE_2_FORMAT - Format du fichier de donnees binaire 2 - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient de calage du niveau de mer - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option pour la diffusion des vitesses - - - INITIAL_GUESS_FOR_H - Ordre du tir initial pour H - - - MASS_LUMPING_ON_TRACERS - Mass-lumping sur les traceurs - - - OPTION_FOR_LIQUID_BOUNDARIES - Option pour les frontieres liquides - - - GEOMETRY_FILE - Fichier de geometrie - - - WAQTEL_STEERING_FILE - Fichier des parametres de waqtel - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum d'iterations pour les schemas de convection - - - FLUXLINE_INPUT_FILE - Fichier de fluxline - - - RAIN_OR_EVAPORATION - Pluie ou evaporation - - - LAW_OF_BOTTOM_FRICTION - Loi de frottement sur le fond - - - MATRIX_VECTOR_PRODUCT - Produit matrice-vecteur - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Precision pour la diffusion des traceurs - - - MEAN_TEMPERATURE - Temperature moyenne - - - FRICTION, STEADY - FROTTEMENT, PERMANENT - - - PARTITIONING_TOOL - Partitionneur - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Nombre maximum de frontieres - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option du solveur pour le modele K-Epsilon - - - SAINT-VENANT FV - SAINT-VENANT VF - - - SPATIAL_PROJECTION_TYPE - Type de projection spatiale - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Seuil pour les profondeurs negatives - - - DEFAULT_PARALLEL_EXECUTABLE - Executable parallele par defaut - - - INITIAL_GUESS_FOR_U - Ordre du tir initial pour U - - - DIFFUSION_OF_TRACERS - Diffusion des traceurs - - - DEFAULT_EXECUTABLE - Executable par defaut - - - FORMATTED_RESULTS_FILE - Fichier de resultats formate - - - VALUES_OF_TRACERS_IN_THE_RAIN - Valeurs des traceurs dans la pluie - - - VERTICAL_STRUCTURES - Structures verticales - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum d'iterations pour k et epsilon - - - UPWIND_COEFFICIENTS - Coefficients de decentrement - - - FRICTION_DATA - Donnees pour le frottement - - - NUMBER_OF_WEIRS - Nombre de seuils - - - OPTION_FOR_TSUNAMI_GENERATION - Option pour la generation de tsunami - - - VARIABLE_TIME_STEP - Pas de temps variable - - - WAVE_DRIVEN_CURRENTS - Courants de Houle - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Informations sur le modele K-Epsilon - - - ZONES_FILE - Fichier des zones - - - SPHERICAL_COORDINATES - Coordonnees spheriques - - - NORTH - Nord - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Traitement du systeme lineaire - - - REFERENCE_FILE - Fichier de reference - - - DENSITY_EFFECTS - Effets de densite - - - ASCII_DATABASE_FOR_TIDE - Base ASCII de donnees de maree - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Profondeur limite pour procedure de ressuyage - - - OIL_SPILL_MODEL - Modele de nappes d'hydrocarbures - - - SOLVER - Solveur - - - TIME_STEP_REDUCTION_FOR_K_EPSILON_MODEL - Reduction du pas de temps pour le modele K-Epsilon - - - STOCHASTIC_DIFFUSION_MODEL - Modele de diffusion stochastique - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - GEOGRAPHIC_SYSTEM - Systeme geographique - - - FORTRAN_FILE - Fichier fortran - - - PROPAGATION_OPTION - Option de propagation - - - OIL_SPILL_STEERING_FILE - Fichier de commandes hydrocarbures - - - TIDAL_DATA_BASE - Base de donnees de maree - - - TIDAL_MODEL_FILE - Fichier du modele de maree - - - BREACH - Breche - - - SISYPHE - SISYPHE - - - TREATMENT_OF_NEGATIVE_DEPTHS - Traitement des hauteurs negatives - - - SCOTCH - SCOTCH - - - INITIAL_VALUES_OF_TRACERS - Valeurs initiales des traceurs - - - diff --git a/Telemac/postel3d_cata_auto.py b/Telemac/postel3d_cata_auto.py deleted file mode 100644 index 10a50491..00000000 --- a/Telemac/postel3d_cata_auto.py +++ /dev/null @@ -1,522 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'POSTEL3D', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RD_RESULT_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED base sur HDF5. -\end{itemize}""", - ang = """Results file format. Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - RD_RESULT_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier des resultats 3D obtenu par un calcul avec -\telemac{3D}.""", - ang = """Name of the 3D result file generated by a \telemac{3D} run.""", - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de geometrie. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED base sur HDF5. -\end{itemize}""", - ang = """Geometry file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de geometrie.""", - ang = """Name of the geometry file.""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier FORTRAN a soumettre.\\ -Il ne sert a priori qu''a dimensionner les tableaux utilises par -\postel, mais peut contenir des sous-programmes modifies ou propres -a l''utilisateur.""", - ang = """Name of FORTRAN file to be submitted.\\ -It is supposed to be used only to dimension the array used by \postel -but can also contain subroutines modified by the user.""", - ), - ), - ), -# ----------------------------------- - GLOBAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs pour la decomposition en parallele: -\begin{itemize} -\item 0 : 1 machine, compilation sans bibliotheque de parallelisme ; -\item 1 : 1 machine, compilation avec bibliotheque de parallelisme ; -\item 2 : 2 processeurs ou machines en parallele etc... -\end{itemize}""", - ang = """Number of processors for domain partition. -\begin{itemize} -\item 0: 1 machine, compiling without parallel library, -\item 1: 1 machine, compiling with a parallel library, -\item 2: 2 processors or machines in parallel etc... -\end{itemize}""", - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL = PROC(nom= "GENERAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Seuls les enregistrements au-dela de ce numero seront traites -pour les coupes.""", - ang = """Only records after that time will be in the cross sections.""", - ), -# ----------------------------------- - PRINTOUT_PERIOD_FOR_CROSS_SECTIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Periode en nombre d''enregistrements entre 2 coupes.""", - ang = """Period in number of records between two cross sections.""", - ), -) -# ----------------------------------------------------------------------- -HORIZONTAL_CROSS_SECTION = PROC(nom= "HORIZONTAL_CROSS_SECTION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_HORIZONTAL_CROSS_SECTIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Permet de definir simultanement plusieurs coupes horizontales. -La valeur maximale autorisee est 9.""", - ang = """Allow multiple horizontal sections. The maximum value is 9.""", - ), -# ----------------------------------- - b_NUMBER_OF_HORIZONTAL_CROSS_SECTIONSG = BLOC(condition="NUMBER_OF_HORIZONTAL_CROSS_SECTIONS > 0", -# ----------------------------------- -# ----------------------------------- - HORIZONTAL_CROSS_SECTION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED base sur HDF5. -\end{itemize}""", - ang = """Results file format. Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - HORIZONTAL_CROSS_SECTION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom generique des fichiers des coupes horizontales. -Le fichier contenant la coupe $i$ aura pour nom ce nom generique suivi -de l''extension .i.""", - ang = """Generic name for the horizontal cross sections file. -The file containing the cross section $i$ name will be the generic -followed by the extension .i.""", - ), -# ----------------------------------- - REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min=0, max='**', - defaut = [0,1,2,3,4,5,6,7,8], - fr = """Chaque coupe horizontale sera parallele a son plan de reference. -Ainsi il est possible de faire des coupes par exemple : -\begin{itemize} -\item a telle distance au-dessus du fond ; -\item a telle distance sous la surface ; -\item suivant un plan intermediaire\ldots -\end{itemize} -Le plan 0 correspond au plan parfaitement horizontal a la cote 0.""", - ang = """Each horizontal cross section will be parallel to its reference -plane. It is then possible to make cross sections which are: -\begin{itemize} -\item at a chosen distance above the bottom, -\item at a chosen distance below the surface, -\item referenced to an inbetween plane\ldots -\end{itemize} -Plane 0 corresponds to the plane perfecly horizontal to the height 0.""", - ), -# ----------------------------------- - ELEVATION_FROM_REFERENCE_LEVEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.,0.,0.,0.,0.,0.,0.,0.,0.], - fr = """Decalage entre la coupe et son plan de reference, ceci pour -chaque coupe horizontale.""", - ang = """Gap between the cross sections and its reference plane, this -must be defined for cross section.""", - ), - ), -) -# ----------------------------------------------------------------------- -VERTICAL_CROSS_SECTION = PROC(nom= "VERTICAL_CROSS_SECTION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_VERTICAL_CROSS_SECTIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Permet de definir simultanement plusieurs coupes verticales. -La valeur maximale autorisee est 9.""", - ang = """Allow multiple vertical sections. The maximum value is 9.""", - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSG = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 0", -# ----------------------------------- -# ----------------------------------- - VERTICAL_CROSS_SECTION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED base sur HDF5. -\end{itemize}""", - ang = """Results file format. Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - VERTICAL_CROSS_SECTION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom generique des fichiers des coupes verticales. -Le fichier contenant la coupe $i$ au $j$e pas de temps enregistre aura -pour nom ce nom generique suivi de l extension .i.j.""", - ang = """Generic name for the vertical cross sections file. The file -containing the cross section $i$ for the $j$ time step name will be the -generic followed by the extension .i.j.""", - ), -# ----------------------------------- - NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 120, - fr = """Il s''agit du nombre de points suivant l''horizontale.""", - ang = """It is the number of points along the horizontal.""", - ), -# ----------------------------------- - DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [1.,1.,1.,1.,1.,1.,1.,1.,1.], - fr = """Rapport entre echelles verticale et horizontale pour chaque -coupe verticale.""", - ang = """Ratio between vertical and horizontal scales for each vertical -cross section.""", - ), -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSH = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 1", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSI = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 2", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSJ = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 3", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSK = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 4", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSL = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 5", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSM = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 6", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSN = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 7", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -# ----------------------------------- - b_NUMBER_OF_VERTICAL_CROSS_SECTIONSO = BLOC(condition="NUMBER_OF_VERTICAL_CROSS_SECTIONS > 8", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Tout est dans le titre.""", - ang = """It is all said in the title.""", - ), - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les references des fichiers et -les options du calcul a realiser.""", - ang = """Name of the file containing the parameters of the computation. -Written by the user.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'postel3d.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -GENERAL();\ -HORIZONTAL_CROSS_SECTION();\ -VERTICAL_CROSS_SECTION();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'GENERAL', -'HORIZONTAL_CROSS_SECTION', -'VERTICAL_CROSS_SECTION', -'INTERNAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.postel3d_enum_auto' -dicoCasEn = source+'.postel3d_dicoCasEnToCata' -dicoCasFr = source+'.postel3d_dicoCasFrToCata' diff --git a/Telemac/postel3d_dicoCasEnToCata.py b/Telemac/postel3d_dicoCasEnToCata.py deleted file mode 100644 index 6413e89c..00000000 --- a/Telemac/postel3d_dicoCasEnToCata.py +++ /dev/null @@ -1,80 +0,0 @@ -dicoCataToEngTelemac = { - "RD_RESULT_FILE_FORMAT" : "3D RESULT FILE FORMAT", - "RD_RESULT_FILE" : "3D RESULT FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "FORTRAN_FILE" : "FORTRAN FILE", - "NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS" : "NUMBER OF FIRST RECORD FOR CROSS SECTIONS", - "PRINTOUT_PERIOD_FOR_CROSS_SECTIONS" : "PRINTOUT PERIOD FOR CROSS SECTIONS", - "NUMBER_OF_HORIZONTAL_CROSS_SECTIONS" : "NUMBER OF HORIZONTAL CROSS SECTIONS", - "HORIZONTAL_CROSS_SECTION_FILE_FORMAT" : "HORIZONTAL CROSS SECTION FILE FORMAT", - "HORIZONTAL_CROSS_SECTION_FILE" : "HORIZONTAL CROSS SECTION FILE", - "REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION" : "REFERENCE LEVEL FOR EACH HORIZONTAL CROSS SECTION", - "ELEVATION_FROM_REFERENCE_LEVEL" : "ELEVATION FROM REFERENCE LEVEL", - "NUMBER_OF_VERTICAL_CROSS_SECTIONS" : "NUMBER OF VERTICAL CROSS SECTIONS", - "VERTICAL_CROSS_SECTION_FILE_FORMAT" : "VERTICAL CROSS SECTION FILE FORMAT", - "VERTICAL_CROSS_SECTION_FILE" : "VERTICAL CROSS SECTION FILE", - "NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION" : "NUMBER OF NODES FOR VERTICAL CROSS SECTION DISCRETIZATION", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 1", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 1", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 2", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 2", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 3", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 3", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 4", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 4", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 5", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 5", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 6", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 6", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 7", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 7", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 8", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 8", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9" : "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 9", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9" : "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 9", - "DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL" : "DISTORSION BETWEEN VERTICAL AND HORIZONTAL", - "STEERING_FILE" : "STEERING FILE", - "DICTIONARY" : "DICTIONARY", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", -} -dicoCasEnToCata = { - "3D RESULT FILE FORMAT" : "RD_RESULT_FILE_FORMAT", - "3D RESULT FILE" : "RD_RESULT_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "FORTRAN FILE" : "FORTRAN_FILE", - "NUMBER OF FIRST RECORD FOR CROSS SECTIONS" : "NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS", - "PRINTOUT PERIOD FOR CROSS SECTIONS" : "PRINTOUT_PERIOD_FOR_CROSS_SECTIONS", - "NUMBER OF HORIZONTAL CROSS SECTIONS" : "NUMBER_OF_HORIZONTAL_CROSS_SECTIONS", - "HORIZONTAL CROSS SECTION FILE FORMAT" : "HORIZONTAL_CROSS_SECTION_FILE_FORMAT", - "HORIZONTAL CROSS SECTION FILE" : "HORIZONTAL_CROSS_SECTION_FILE", - "REFERENCE LEVEL FOR EACH HORIZONTAL CROSS SECTION" : "REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION", - "ELEVATION FROM REFERENCE LEVEL" : "ELEVATION_FROM_REFERENCE_LEVEL", - "NUMBER OF VERTICAL CROSS SECTIONS" : "NUMBER_OF_VERTICAL_CROSS_SECTIONS", - "VERTICAL CROSS SECTION FILE FORMAT" : "VERTICAL_CROSS_SECTION_FILE_FORMAT", - "VERTICAL CROSS SECTION FILE" : "VERTICAL_CROSS_SECTION_FILE", - "NUMBER OF NODES FOR VERTICAL CROSS SECTION DISCRETIZATION" : "NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 1" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 1" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 2" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 2" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 3" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 3" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 4" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 4" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 5" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 5" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 6" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 6" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 7" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 7" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 8" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 8" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8", - "ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 9" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9", - "ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 9" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9", - "DISTORSION BETWEEN VERTICAL AND HORIZONTAL" : "DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL", - "STEERING FILE" : "STEERING_FILE", - "DICTIONARY" : "DICTIONARY", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", -} diff --git a/Telemac/postel3d_dicoCasFrToCata.py b/Telemac/postel3d_dicoCasFrToCata.py deleted file mode 100644 index 072fc59e..00000000 --- a/Telemac/postel3d_dicoCasFrToCata.py +++ /dev/null @@ -1,80 +0,0 @@ -dicoCataToFrTelemac = { - "RD_RESULT_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS 3D", - "RD_RESULT_FILE" : "FICHIER DES RESULTATS 3D", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS" : "NUMERO DU PREMIER ENREGISTREMENT POUR LES COUPES", - "PRINTOUT_PERIOD_FOR_CROSS_SECTIONS" : "PERIODE DE SORTIE DES COUPES", - "NUMBER_OF_HORIZONTAL_CROSS_SECTIONS" : "NOMBRE DE COUPES HORIZONTALES", - "HORIZONTAL_CROSS_SECTION_FILE_FORMAT" : "FORMAT DU FICHIER DES COUPES HORIZONTALES", - "HORIZONTAL_CROSS_SECTION_FILE" : "FICHIER DES COUPES HORIZONTALES", - "REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION" : "PLAN DE REFERENCE POUR CHAQUE COUPE HORIZONTALE", - "ELEVATION_FROM_REFERENCE_LEVEL" : "HAUTEUR PAR RAPPORT AU PLAN DE REFERENCE", - "NUMBER_OF_VERTICAL_CROSS_SECTIONS" : "NOMBRE DE COUPES VERTICALES", - "VERTICAL_CROSS_SECTION_FILE_FORMAT" : "FORMAT DU FICHIER DES COUPES VERTICALES", - "VERTICAL_CROSS_SECTION_FILE" : "FICHIER DES COUPES VERTICALES", - "NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION" : "NOMBRE DE POINTS DE DISCRETISATION POUR LES COUPES VERTICALES", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 1", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 1", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 2", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 2", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 3", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 3", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 4", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 4", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 5", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 5", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 6", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 6", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 7", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 7", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 8", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 8", - "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9" : "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 9", - "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9" : "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 9", - "DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL" : "DISTORSION ENTRE VERTICALE ET HORIZONTALE", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "DICTIONARY" : "DICTIONNAIRE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", -} -dicoCasFrToCata = { - "FORMAT DU FICHIER DES RESULTATS 3D" : "RD_RESULT_FILE_FORMAT", - "FICHIER DES RESULTATS 3D" : "RD_RESULT_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "NUMERO DU PREMIER ENREGISTREMENT POUR LES COUPES" : "NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS", - "PERIODE DE SORTIE DES COUPES" : "PRINTOUT_PERIOD_FOR_CROSS_SECTIONS", - "NOMBRE DE COUPES HORIZONTALES" : "NUMBER_OF_HORIZONTAL_CROSS_SECTIONS", - "FORMAT DU FICHIER DES COUPES HORIZONTALES" : "HORIZONTAL_CROSS_SECTION_FILE_FORMAT", - "FICHIER DES COUPES HORIZONTALES" : "HORIZONTAL_CROSS_SECTION_FILE", - "PLAN DE REFERENCE POUR CHAQUE COUPE HORIZONTALE" : "REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION", - "HAUTEUR PAR RAPPORT AU PLAN DE REFERENCE" : "ELEVATION_FROM_REFERENCE_LEVEL", - "NOMBRE DE COUPES VERTICALES" : "NUMBER_OF_VERTICAL_CROSS_SECTIONS", - "FORMAT DU FICHIER DES COUPES VERTICALES" : "VERTICAL_CROSS_SECTION_FILE_FORMAT", - "FICHIER DES COUPES VERTICALES" : "VERTICAL_CROSS_SECTION_FILE", - "NOMBRE DE POINTS DE DISCRETISATION POUR LES COUPES VERTICALES" : "NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 1" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 1" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 2" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 2" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 3" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 3" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 4" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 4" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 5" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 5" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 6" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 6" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 7" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 7" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 8" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 8" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 9" : "ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 9" : "ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9", - "DISTORSION ENTRE VERTICALE ET HORIZONTALE" : "DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DICTIONNAIRE" : "DICTIONARY", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", -} diff --git a/Telemac/postel3d_enum_auto.py b/Telemac/postel3d_enum_auto.py deleted file mode 100644 index 3fe6691a..00000000 --- a/Telemac/postel3d_enum_auto.py +++ /dev/null @@ -1,114 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -} -TelemacdicoFr = { -} - -DicoCasFrToCata = { - "FORMAT DU FICHIER DES RESULTATS 3D":"RD_RESULT_FILE_FORMAT", - "FICHIER DES RESULTATS 3D":"RD_RESULT_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FICHIER FORTRAN":"FORTRAN_FILE", - "NUMERO DU PREMIER ENREGISTREMENT POUR LES COUPES":"NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS", - "PERIODE DE SORTIE DES COUPES":"PRINTOUT_PERIOD_FOR_CROSS_SECTIONS", - "NOMBRE DE COUPES HORIZONTALES":"NUMBER_OF_HORIZONTAL_CROSS_SECTIONS", - "FORMAT DU FICHIER DES COUPES HORIZONTALES":"HORIZONTAL_CROSS_SECTION_FILE_FORMAT", - "FICHIER DES COUPES HORIZONTALES":"HORIZONTAL_CROSS_SECTION_FILE", - "PLAN DE REFERENCE POUR CHAQUE COUPE HORIZONTALE":"REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION", - "HAUTEUR PAR RAPPORT AU PLAN DE REFERENCE":"ELEVATION_FROM_REFERENCE_LEVEL", - "NOMBRE DE COUPES VERTICALES":"NUMBER_OF_VERTICAL_CROSS_SECTIONS", - "FORMAT DU FICHIER DES COUPES VERTICALES":"VERTICAL_CROSS_SECTION_FILE_FORMAT", - "FICHIER DES COUPES VERTICALES":"VERTICAL_CROSS_SECTION_FILE", - "NOMBRE DE POINTS DE DISCRETISATION POUR LES COUPES VERTICALES":"NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 1":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 1":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 2":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 2":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 3":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 3":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 4":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 4":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 5":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 5":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 6":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 6":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 7":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 7":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 8":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 8":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8", - "ABSCISSES DES SOMMETS DE LA COUPE VERTICALE 9":"ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9", - "ORDONNEES DES SOMMETS DE LA COUPE VERTICALE 9":"ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9", - "DISTORSION ENTRE VERTICALE ET HORIZONTALE":"DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DICTIONNAIRE":"DICTIONARY", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", -} - -DicoCasEnToCata = { - '3D RESULT FILE FORMAT':'RD_RESULT_FILE_FORMAT', - '3D RESULT FILE':'RD_RESULT_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'FORTRAN FILE':'FORTRAN_FILE', - 'NUMBER OF FIRST RECORD FOR CROSS SECTIONS':'NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS', - 'PRINTOUT PERIOD FOR CROSS SECTIONS':'PRINTOUT_PERIOD_FOR_CROSS_SECTIONS', - 'NUMBER OF HORIZONTAL CROSS SECTIONS':'NUMBER_OF_HORIZONTAL_CROSS_SECTIONS', - 'HORIZONTAL CROSS SECTION FILE FORMAT':'HORIZONTAL_CROSS_SECTION_FILE_FORMAT', - 'HORIZONTAL CROSS SECTION FILE':'HORIZONTAL_CROSS_SECTION_FILE', - 'REFERENCE LEVEL FOR EACH HORIZONTAL CROSS SECTION':'REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION', - 'ELEVATION FROM REFERENCE LEVEL':'ELEVATION_FROM_REFERENCE_LEVEL', - 'NUMBER OF VERTICAL CROSS SECTIONS':'NUMBER_OF_VERTICAL_CROSS_SECTIONS', - 'VERTICAL CROSS SECTION FILE FORMAT':'VERTICAL_CROSS_SECTION_FILE_FORMAT', - 'VERTICAL CROSS SECTION FILE':'VERTICAL_CROSS_SECTION_FILE', - 'NUMBER OF NODES FOR VERTICAL CROSS SECTION DISCRETIZATION':'NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 1':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 1':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 2':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 2':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 3':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 3':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 4':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 4':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 5':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 5':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 6':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 6':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 7':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 7':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 8':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 8':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8', - 'ABSCISSAE OF THE VERTICES OF VERTICAL CROSS SECTION 9':'ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9', - 'ORDINATES OF THE VERTICES OF VERTICAL CROSS SECTION 9':'ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9', - 'DISTORSION BETWEEN VERTICAL AND HORIZONTAL':'DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL', - 'STEERING FILE':'STEERING_FILE', - 'DICTIONARY':'DICTIONARY', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', -} -DicoEnumCasFrToEnumCasEn = { -'RD_RESULT_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'HORIZONTAL_CROSS_SECTION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'VERTICAL_CROSS_SECTION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -} diff --git a/Telemac/postel3d_labelCataToIhm_en.qm b/Telemac/postel3d_labelCataToIhm_en.qm deleted file mode 100644 index 224bf890..00000000 Binary files a/Telemac/postel3d_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/postel3d_labelCataToIhm_en.ts b/Telemac/postel3d_labelCataToIhm_en.ts deleted file mode 100644 index 752eb309..00000000 --- a/Telemac/postel3d_labelCataToIhm_en.ts +++ /dev/null @@ -1,188 +0,0 @@ - - @default - - RD_RESULT_FILE_FORMAT - 3d result file format - - - RD_RESULT_FILE - 3d result file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - GEOMETRY_FILE - Geometry file - - - FORTRAN_FILE - Fortran file - - - NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS - Number of first record for cross sections - - - PRINTOUT_PERIOD_FOR_CROSS_SECTIONS - Printout period for cross sections - - - NUMBER_OF_HORIZONTAL_CROSS_SECTIONS - Number of Horizontal cross sections - - - HORIZONTAL_CROSS_SECTION_FILE_FORMAT - Horizontal cross section file format - - - HORIZONTAL_CROSS_SECTION_FILE - Horizontal cross section file - - - REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION - Reference level for each horizontal cross section - - - ELEVATION_FROM_REFERENCE_LEVEL - Elevation from reference level - - - NUMBER_OF_VERTICAL_CROSS_SECTIONS - Number of vertical cross sections - - - VERTICAL_CROSS_SECTION_FILE_FORMAT - Vertical cross section file format - - - VERTICAL_CROSS_SECTION_FILE - Vertical cross section file - - - NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION - Number of nodes for vertical cross section discretization - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 - Abscissae of the vertices of vertical cross section 1 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 - Ordinates of the vertices of vertical cross section 1 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 - Abscissae of the vertices of vertical cross section 2 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 - Ordinates of the vertices of vertical cross section 2 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 - Abscissae of the vertices of vertical cross section 3 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 - Ordinates of the vertices of vertical cross section 3 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 - Abscissae of the vertices of vertical cross section 4 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 - Ordinates of the vertices of vertical cross section 4 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 - Abscissae of the vertices of vertical cross section 5 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 - Ordinates of the vertices of vertical cross section 5 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 - Abscissae of the vertices of vertical cross section 6 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 - Ordinates of the vertices of vertical cross section 6 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 - Abscissae of the vertices of vertical cross section 7 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 - Ordinates of the vertices of vertical cross section 7 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 - Abscissae of the vertices of vertical cross section 8 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 - Ordinates of the vertices of vertical cross section 8 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 - Abscissae of the vertices of vertical cross section 9 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 - Ordinates of the vertices of vertical cross section 9 - - - DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL - Distorsion between vertical and horizontal - - - STEERING_FILE - Steering file - - - DICTIONARY - Dictionary - - - PARALLEL_PROCESSORS - Parallel processors - - - COMPUTATION_ENVIRONMENT - Computation environment - - - GENERAL - General - - - HORIZONTAL_CROSS_SECTION - Horizontal cross section - - - VERTICAL_CROSS_SECTION - Vertical cross section - - - INTERNAL - Internal - - - INPUT - Input - - - GLOBAL - Global - - - DATA - Data - - - diff --git a/Telemac/postel3d_labelCataToIhm_fr.qm b/Telemac/postel3d_labelCataToIhm_fr.qm deleted file mode 100644 index be27168c..00000000 Binary files a/Telemac/postel3d_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/postel3d_labelCataToIhm_fr.ts b/Telemac/postel3d_labelCataToIhm_fr.ts deleted file mode 100644 index 7aaed041..00000000 --- a/Telemac/postel3d_labelCataToIhm_fr.ts +++ /dev/null @@ -1,200 +0,0 @@ - - @default - - RD_RESULT_FILE_FORMAT - Format du fichier des resultats 3d - - - RD_RESULT_FILE - Fichier des resultats 3d - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - GEOMETRY_FILE - Fichier de geometrie - - - FORTRAN_FILE - Fichier fortran - - - NUMBER_OF_FIRST_RECORD_FOR_CROSS_SECTIONS - Numero du premier enregistrement pour les coupes - - - PRINTOUT_PERIOD_FOR_CROSS_SECTIONS - Periode de sortie des coupes - - - NUMBER_OF_HORIZONTAL_CROSS_SECTIONS - Nombre de coupes horizontales - - - HORIZONTAL_CROSS_SECTION_FILE_FORMAT - Format du fichier des coupes horizontales - - - HORIZONTAL_CROSS_SECTION_FILE - Fichier des coupes horizontales - - - REFERENCE_LEVEL_FOR_EACH_HORIZONTAL_CROSS_SECTION - Plan de reference pour chaque coupe horizontale - - - ELEVATION_FROM_REFERENCE_LEVEL - Hauteur par rapport au plan de reference - - - NUMBER_OF_VERTICAL_CROSS_SECTIONS - Nombre de coupes verticales - - - VERTICAL_CROSS_SECTION_FILE_FORMAT - Format du fichier des coupes verticales - - - VERTICAL_CROSS_SECTION_FILE - Fichier des coupes verticales - - - NUMBER_OF_NODES_FOR_VERTICAL_CROSS_SECTION_DISCRETIZATION - Nombre de points de discretisation pour les coupes verticales - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 - Abscisses des sommets de la coupe verticale 1 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_1 - Ordonnees des sommets de la coupe verticale 1 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 - Abscisses des sommets de la coupe verticale 2 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_2 - Ordonnees des sommets de la coupe verticale 2 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 - Abscisses des sommets de la coupe verticale 3 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_3 - Ordonnees des sommets de la coupe verticale 3 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 - Abscisses des sommets de la coupe verticale 4 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_4 - Ordonnees des sommets de la coupe verticale 4 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 - Abscisses des sommets de la coupe verticale 5 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_5 - Ordonnees des sommets de la coupe verticale 5 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 - Abscisses des sommets de la coupe verticale 6 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_6 - Ordonnees des sommets de la coupe verticale 6 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 - Abscisses des sommets de la coupe verticale 7 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_7 - Ordonnees des sommets de la coupe verticale 7 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 - Abscisses des sommets de la coupe verticale 8 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_8 - Ordonnees des sommets de la coupe verticale 8 - - - ABSCISSAE_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 - Abscisses des sommets de la coupe verticale 9 - - - ORDINATES_OF_THE_VERTICES_OF_VERTICAL_CROSS_SECTION_9 - Ordonnees des sommets de la coupe verticale 9 - - - DISTORSION_BETWEEN_VERTICAL_AND_HORIZONTAL - Distorsion entre verticale et horizontale - - - STEERING_FILE - Fichier des parametres - - - DICTIONARY - Dictionnaire - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - GENERAL - Generalites - - - HORIZONTAL_CROSS_SECTION - Coupe horizontale - - - VERTICAL_CROSS_SECTION - Coupe verticale - - - INTERNAL - Internal - - - INPUT - Entree - - - GLOBAL - Global - - - DATA - Donnees - - - diff --git a/Telemac/prefs.py b/Telemac/prefs.py deleted file mode 100644 index f1db1e19..00000000 --- a/Telemac/prefs.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -from __future__ import absolute_import -code="TELEMAC" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/Telemac/prefs_TELEMAC.py b/Telemac/prefs_TELEMAC.py deleted file mode 100644 index def24cac..00000000 --- a/Telemac/prefs_TELEMAC.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -from __future__ import absolute_import -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='ang' -#lang='fr' -#force_langue=True - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' -docPath=repIni - -# -catalogues=( - #('TELEMAC','default',os.path.join(repIni,'Telemac_Cata_nouveau.py'),'TELEMAC','python'), - #('TELEMAC','cas',os.path.join(repIni,'Telemac_Cata.py'),'TELEMAC','TELEMAC'), - ('2D','cas',os.path.join(repIni,'telemac2d_cata_auto.py'),'TELEMAC','TELEMAC'), - #('TELEMAC','cas',os.path.join(repIni,'Telemac_Cata.py'),'python','TELEMAC3'), - #('TELEMAC','comm',os.path.join(repIni,'Telemac_Cata.py'),'TELEMAC2','python'), -) -mode_nouv_commande="figee" -affiche = "ordre" -translatorFichier = os.path.join(repIni,'labelCataToIhm') -closeFrameRecherche=True diff --git a/Telemac/properties.py b/Telemac/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/Telemac/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/Telemac/qtEficas_Telemac.py b/Telemac/qtEficas_Telemac.py deleted file mode 100755 index c140518c..00000000 --- a/Telemac/qtEficas_Telemac.py +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour Code_Aster -""" -# Modules Python -# Modules Eficas - -from __future__ import absolute_import -import sys,os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lanceEficas(code=prefs.code) diff --git a/Telemac/reecrit_cas_en_comm.py b/Telemac/reecrit_cas_en_comm.py deleted file mode 100755 index 4415f8f2..00000000 --- a/Telemac/reecrit_cas_en_comm.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -""" -""" -# Modules Python -from __future__ import absolute_import -from __future__ import print_function - -import sys,os - -# Modules Eficas -import prefs -if hasattr(prefs,'encoding'): - # Hack pour changer le codage par defaut des strings - import sys - reload(sys) - sys.setdefaultencoding(prefs.encoding) - del sys.setdefaultencoding - # Fin hack - - -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) -from InterfaceQT4 import eficas_go - -from PyQt5.QtWidgets import QApplication -app = QApplication(sys.argv) -#for badf in ('t2d_bridge.cas','t2d_estu_gir.cas' ): -#for f in ('t2d_bj78.cas',): -for f in ('t2d_weirs.cas',): -#for f in ('t2d_bj78.cas' ,'t2d_bowl_fe.cas' ,'t2d_bowl_vf.cas' ,'t2d_bowl_vf_gb.cas' ,'t2d_breach.cas' ,'t2d_break.cas' ,'t2d_bumpcri.cas' ,'t2d_bumpflu.cas' ,'t2d_cavity.cas' ,'t2d_cinetiques.cas' ,'t2d_clotilde.cas' ,'t2d_cone.cas' ,'t2d_confluence.cas' ,'t2d_culm.cas' ,'t2d_dambreak_v1p0.cas' ,'t2d_dambreak_v2p0.cas' ,'t2d_digue.cas' ,'t2d_donau.cas' ,'t2d_dragforce.cas' ,'t2d_estimation.cas' ,'t2d_flotteurs_v1p0.cas' ,'t2d_flotteurs_v2p0.cas' ,'t2d_friction.cas' ,'t2d_gouttedo.cas' ,'t2d_gouttedo_cin.cas' ,'t2d_gouttedo_qua.cas' ,'t2d_hydraulic_jump_v1p0.cas' ,'t2d_hydraulic_jump_v2p0.cas' ,'t2d_init-1.cas' ,'t2d_init-2.cas' ,'t2d_init-3.cas' ,'t2d_init_cin.cas' ,'t2d_island.cas' ,'t2d_m2wave.cas' ,'t2d_malpasset-large.cas' ,'t2d_malpasset-large_med.cas' ,'t2d_malpasset-small_charac.cas' ,'t2d_malpasset-small_cin.cas' ,'t2d_malpasset-small_ERIA.cas' ,'t2d_malpasset-small_pos.cas' ,'t2d_malpasset-small_prim.cas' ,'t2d_mersey.cas' ,'t2d_monai.cas' ,'t2d_okada.cas' ,'t2d_ondem2.cas' ,'t2d_pildepon.cas' ,'t2d_pildepon_cin.cas' ,'t2d_pildepon_qua.cas' ,'t2d_pluie.cas' ,'t2d_pluie_cn.cas' ,'t2d_pluie_cn_geo_hyetograph.cas' ,'t2d_porosite.cas' ,'t2d_riogrande.cas' ,'t2d_ritter.cas' ,'t2d_riv_art.cas' ,'t2d_ruptmoui.cas' ,'t2d_seccurrents.cas' ,'t2d_seiche.cas' ,'t2d_shoal.cas' ,'t2d_siphon.cas' ,'t2d_swash.cas' ,'t2d_tests_channel.cas' ,'t2d_thacker.cas' ,'t2d_thomson.cas' ,'t2d_tide-ES_real.cas' ,'t2d_tide-jmj_real_gen.cas' ,'t2d_tide-jmj_type.cas' ,'t2d_tide-jmj_type_gen.cas' ,'t2d_tide-jmj_type_med.cas' ,'t2d_tide-NEA_prior_real.cas' ,'t2d_tide-NEA_prior_type.cas' ,'t2d_tracer_decay.cas' ,'t2d_trdec.cas' ,'t2d_triangular_shelf.cas' ,'t2d_vasque.cas' ,'t2d_waq_o2.cas' ,'t2d_waq_thermic.cas' ,'t2d_wave.cas' ,'t2d_weirs.cas' ,'t2d_wesel.cas' ,'t2d_wesel_pos.cas' ,'t2d_wind.cas' ,'t2d_wind_txy_bin.cas' ,'t2d_wind_txy.cas' ,'waq_steer.cas') : - - if f == ' ' : continue - print ("Traitement de : ", 'CasEn/'+f) - - # on veut ouvrir un fichier directement au lancement d'Eficas - eficas_go.lance_eficas_ssIhm_reecrit(code='TELEMAC',fichier = 'CasEn/'+f,ou = 'CasEn_Reecrits',cr=True) - print ("\n") diff --git a/Telemac/sisyphe_cata_auto.py b/Telemac/sisyphe_cata_auto.py deleted file mode 100644 index c77a0c0b..00000000 --- a/Telemac/sisyphe_cata_auto.py +++ /dev/null @@ -1,2382 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'SISYPHE', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -INPUT_OUTPUT__INFORMATION = PROC(nom= "INPUT_OUTPUT__INFORMATION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - COMPUTATIONAL_INFORMATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TITLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie. -Ce titre sera inscrit dans les sorties.""", - ang = """Title of the case being considered.""", - ), - ), -) -# ----------------------------------------------------------------------- -MISCELLANEOUS = PROC(nom= "MISCELLANEOUS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """NOMBRE DE PROCESSEURS EN CALCUL PARALLELE -0 : 1 machine, compilation sans bibliotheque de parallelisme -1 : 1 machine, compilation avec bibliotheque de parallelisme -2 : 2 processeurs ou machines en parallele -etc...""", - ang = """NUMBER OF PROCESSORS FOR PARALLEL PROCESSING -0 : 1 machine, compiling without parallel library -1 : 1 machine, compiling with a parallel library -2 : 2 processors or machines in parallel -etc....""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. -Si ce mot-cle vaut OUI, les resultats du calcul vont alors etre -compares aux valeurs du fichier de reference. -La comparaison est effectuee par le sous-programme VALIDA qui peut -etre modifie pour realiser, par exemple, une comparaison avec -une solution exacte.""", - ang = """This option is primarily used for the validation -documents. If this keyword is equal to YES, the REFERENCE FILE -is then considered as a reference which the computation is -going to be compared with. -The comparison is made by the subroutine VALIDA, which can be -modified so as to include,for example,a comparison with an -exact solution.""", - ), -# ----------------------------------- - b_VALIDATIONG = BLOC(condition="VALIDATION == True", -# ----------------------------------- -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier servant a valider le calcul. -Si VALIDATION = OUI, les resultats du calcul vont etre -comparees aux valeurs contenues dans ce fichier. -La comparaison est effectuee par le sous-programme VALIDA.""", - ang = """Name of the file used to validate the computation. -If VALIDATION = YES, the results of the computation will be -compared with the values of this file. The comparison is -made by the subroutine VALIDA.""", - ), - ), -# ----------------------------------- - NUMBER_OF_PRIVATE_ARRAYS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Nombre de tableaux mis a disposition de l utilisateur""", - ang = """Number of arrays for own user programming""", - ), -# ----------------------------------- - ORIGIN_COORDINATES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 2, max= 2, - defaut = [0,0], - fr = """Valeur en metres, utilise pour eviter les trop grands nombres, -transmis dans le format Selafin mais pas d''autre traitement pour -l''instant""", - ang = """Value in metres, used to avoid large real numbers, -added in Selafin format, but so far no other treatment""", - ), -# ----------------------------------- - DEBUGGER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Pour imprimer la sequence des appels, mettre 1""", - ang = """If 1, calls of subroutines will be printed in the listing""", - ), -# ----------------------------------- - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Utilise si ''BANCS DECOUVRANTS'' est vrai - 1 : EQUATIONS RESOLUES PARTOUT AVEC CORRECTION - SUR LES BANCS DECOUVRANTS - 2 : GEL DES ELEMENTS DECOUVRANTS -Il est conseille de choisir l''option 1 car elle permet de -conserver la masse.""", - ang = """Used if ''TIDAL FLATS'' is true - 1 : EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS - 2 : DRY ELEMENTS FROZEN -It is recommended to choose 1 since it ensures mass conservation.""", - ), -# ----------------------------------- - NESTOR = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Pour le couplage avec NESTOR""", - ang = """For coupling with NESTOR""", - ), -# ----------------------------------- - NESTOR_ACTION_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de commandes de nestor""", - ang = """Name of the Nestor steering file""", - ), -# ----------------------------------- - NESTOR_POLYGON_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de polygons de Nestor""", - ang = """Name of the Nestor polygon file""", - ), -# ----------------------------------- - NESTOR_RESTART_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de phydef-cf.cfg.ds de Nestor""", - ang = """Name of the Nestor file phydef-cf.cfg.ds""", - ), -# ----------------------------------- - NESTOR_SURFACE_REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de reference surface de Nestor""", - ang = """Name of the Nestor file which contains the reference - water surface""", - ), -) -# ----------------------------------------------------------------------- -GENERAL = PROC(nom= "GENERAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - CHECKING_THE_MESH = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Si oui on appelle le sous-programme checkmesh qui verifie -la coherence du maillage, points superposes, etc.""", - ang = """if this key word is equal to yes, a call to subroutine -checkmesh will look for errors in the mesh, superimposed points, etc.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 30, - fr = """nombre maximal de frontieres differentes dans le maillage. -Sert au dimensionnement de la memoire, a augmenter si necessaire""", - ang = """maximal number of boundaries in the mesh. -Used for dimensioning arrays. Can be increased if needed""", - ), -# ----------------------------------- - FLUXLINE_INPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de fluxline""", - ang = """Name of the Fluxline file""", - ), -# ----------------------------------- - FLUXLINE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """FLUXLINE""", - ang = """Use Fluxline to compute flux over lines""", - ), -# ----------------------------------- - CONTROL_SECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - fr = """Couples de points (numeros globaux dans le maillage) entre -lesquels les debits instantanes et cumules seront donnes.""", - ang = """Couples of points (global numbers in the mesh) defining sections - where the instantaneous and cumulated discharges will be given""", - ), -# ----------------------------------- - STATIONARY_MODE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """(-)""", - ang = """(-)""", - ), -# ----------------------------------- - SHIELDS_PARAMETERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - fr = """Utilise pour determiner la valeur de la contrainte critique -d''entrainement (sediments non-cohesifs). En multiclasse, specifier la -valeur pour chaque classe,sinon on prend la meme valeur. Par defaut (si -aucune valeur donnee) le code calcule lui meme le parametre de Shields -en fonction du diametre.""", - ang = """Used to determine the critical bed shear stress value -(non-cohesive sediments). -For multi grain size, -the shields parameter needs to be specified for each class. If only one -value is specified, the shields parameter will be considered constant. -The default option (no shields given in parameter file) -is to calculate the shields parameter as a function of -sand grain diameter (see logical CALAC).""", - ), -# ----------------------------------- - OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Ce parametre permet de fixer la methode retenue pour traiter -les fonds non erodables : - 0 = FONDS ERODABLES PARTOUT - 1 = MINIMISATION DU DEBIT SOLIDE POUR LES FONDS NON ERODABLES - 2 = DEBIT SOLIDE NUL POUR LES FONDS NON ERODABLES - 3 = MINIMISATION DU DEBIT SOLIDE EN ELEMENTS FINIS/MASS-LUMPING - 4 = MINIMISATION DU DEBIT SOLIDE EN VOLUMES FINIS -Quand le fond rigide peut etre atteint lors de la simulation, il est -conseille d utiliser la metode 3 ou bien 4""", - ang = """This parameters determines the method used to treat the -non erodable bottoms : - 0 = ERODABLE BOTTOMS EVERYWHERE - 1 = MINIMISATION OF THE SOLID DISCHARGE - 2 = NUL SOLID DISCHARGE - 3 = MINIMISATION OF THE SOLID DISCHARGE IN FE / MASS-LUMPING - 4 = MINIMISATION OF THE SOLID DISCHARGE IN FINITE VOLUMES -When the rigid bed can be reached during the computation, it is advised -to use the method 3 or the method 4""", - ), -# ----------------------------------- - MINIMAL_VALUE_OF_THE_WATER_HEIGHT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-3, - fr = """Fixe la valeur minimale de la hauteur d''eau. -Est utilise lorsque le mot cle BANCS DECOUVRANTS est egal a oui.""", - ang = """Sets the minimum value of the water depth. -Is used when the keyword TIDAL FLATS is equal to yes.""", - ), -# ----------------------------------- - TIDAL_FLATS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """permet de supprimer les tests sur les bancs decouvrants, dans -les cas ou l''on est certain qu''il n''y en aura pas. -En cas de doute : oui""", - ang = """When no, the specific treatments for tidal flats -are by-passed. -This spares time, but of course you must be sure that you -have no tidal flats""", - ), -# ----------------------------------- - SECONDARY_CURRENTS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Pour prendre en compte les courants secondaires""", - ang = """using the parametrisation for secondary currents""", - ), -# ----------------------------------- - SECONDARY_CURRENTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Pour prendre en compte les courants secondaires avec FICHIER""", - ang = """The radii needed for the parametrisation of secondary currents -are read from SELAFIN file""", - ), -# ----------------------------------- - GRAIN_FEEDING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Now suppressed""", - ang = """Now suppressed""", - ), -# ----------------------------------- - STEADY_CASE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Definit si l''hydrodynamique a prendre en compte est -permanente ou non. Si la valeur OUI est donnee a ce mot-cle, -le dernier enregistrement du fichier du calcul precedent -constituera le champ (h,u,v et eventuellement hauteur et periode -de houle) a prendre en compte.""", - ang = """Specifies steady or unsteady case.If this keyword -is equal to YES, the last record of the previous computation -file will give the values of h,u,v and eventually wave height -and period to be considered.""", - ), -# ----------------------------------- - CONSTANT_FLOW_DISCHARGE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """constant flow discharge or not""", - ang = """constant flow discharge or not""", - ), -# ----------------------------------- - NUMBER_OF_ITERATIONS_FOR_TELEMAC = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 500, - fr = """Nombre d''iteration a effecuter avec telemac pour obtenir -un nouvel ecoulement quasi stationnaire. -A utiliser avec l''option constant flow discharge""", - ang = """Number of iteration to do wtih telemac in order to obtain a -new quasi-stationary flow. -To use with the option constant flow discharge""", - ), -# ----------------------------------- - CRITERION_TO_UPDATE_THE_FLOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Critere (Hauteur du fond>CRIT\_CFD*Hauteur d''eau) pour mettre -a jour l''ecoulement. -A utiliser avec l''option constant flow discharge""", - ang = """Criterion (Bottom height>CRIT\_CFD*Water depth) in order to -update the flow. -To use with the option constant flow discharge""", - ), -# ----------------------------------- - CRITICAL_EVOLUTION_RATIO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Definit le moment ou l''extrapolation du champ de courant -par SISYPHE n''est plus valable. Ce nombre represente le rapport -maximum entre les evolutions et la hauteur d''eau admissible. -Generalement, on admet qu''une evolution inferieure a 0,1 fois -la hauteur d''eau ne modifie pas sensiblement la repartition -du champ de courant.""", - ang = """Specifies the moment when the SISYPHE extrapolation current -filed is no more valid. This value set the maximum ratio between -evolutions and the water depth. -Generally, it is considered that an evolution lower than 0,1 time the -water depth does not perceptibly modify the current field distribution.""", - ), -# ----------------------------------- - NUMBER_OF_BED_LOAD_MODEL_LAYERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Comme son nom l''indique..., defaut NOMBLAY=2""", - ang = """This is the given allocation limit, secure default NOMLAY=2""", - ), -# ----------------------------------- - MASS_CONCENTRATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """par defaut, le code calcule les concentrations volumiques. -Ce mot cle permet dimprimer et de relire des concentrations en g/l. -Les concentrations imposees aux limites -(fichier condim, concentration de condim\_susp) -sont alors aussi donnees par l utilisateur en g/l et -reconverties en concentration volumique par le code.""", - ang = """Determines if concentrations (input and output) -are mass concentrations in g/l or adimensionnal volume concentrations -(default option).""", - ), -# ----------------------------------- - EFFECT_OF_WAVES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prend en compte l''effet de la houle sur le transport solide""", - ang = """Takes into account the effect of waves""", - ), -# ----------------------------------- - MIXED_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Melange sable vase: 2 classes seulement""", - ang = """Mixture of cohesive and non cohesive sediment : 2 class only""", - ), -) -# ----------------------------------------------------------------------- -USELESS = PROC(nom= "USELESS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """longueur du vecteur pour les machines vectorielles.""", - ang = """vector length on vector machines.""", - ), -# ----------------------------------- - STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul -a realiser. Il peut-etre ecrit par l''utilisateur avec EDAMOX.""", - ang = """Name of the file containing the parameters -of the computation. Could be written by the user with EDAMOX.""", - ), -# ----------------------------------- - MEAN_DIAMETER_OF_THE_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [.01,.01,.01,.01,.01,.01,.01,.01,.01,.01], - fr = """Sets value of diameter dm for particular size class.""", - ang = """Sets value of diameter dm for particular size class.""", - ), -# ----------------------------------- - GEOMETRY_FILE_BINARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = 'STD', - fr = """Type de binaire pour l''ecriture du fichier de geometrie. -Ce type depend de la machine ou ce fichier est genere. -Les differentes valeurs sont : - IBM, pour un fichier sur IBM (depuis un CRAY) - I3E, pour un fichier sur HP (depuis un CRAY) - STD, pour le type de binaire de la machine ou l''utilisateur - travaille. Les commandes standard READ et WRITE sont - alors utilisees.""", - ang = """Binary file type used for writing the geometry file. -This type depends on the machine on which the file was generated. -The possible values are as follows : - IBM, for a file on an IBM (from a CRAY) - I3E, for a file on an HP (from a CRAY) - STD, binary type of the machine on which the user is working. - The normal READ and WRITE commands are then used.""", - ), -# ----------------------------------- - HYDRODYNAMIC_FILE_BINARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = 'STD', - fr = """obsolete""", - ang = """obsolete""", - ), -# ----------------------------------- - BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = 'STD', - fr = """Type de binaire pour l''ecriture du fichier precedent -sedimentologique. Ce type depend de la machine ou le fichier -precedent sedimentologique est genere. Les differentes valeurs -sont identiques a celles du fichier de geometrie.""", - ang = """Binary file type used for writing the previous -sedimentological computation results file. -This type depends on the machine on which the file -was generated. The possible values are the same as for -the geometry file.""", - ), -# ----------------------------------- - RESULTS_FILE_BINARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = 'STD', - fr = """Type de binaire pour l''ecriture du fichier des resultats. -Ce type depend de la machine ou le fichier des resultats est genere. -Les differentes valeurs sont identiques a celles du fichier de -geometrie.""", - ang = """Binary file type used for writing the results file. -This type depends on the machine on which the file was generated. -The possible values are the same as for the geometry file.""", - ), -# ----------------------------------- - REFERENCE_FILE_BINARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = 'STD', - fr = """Type de binaire pour l''ecriture du fichier de reference. -Ce type depend de la machine ou le fichier de reference est genere. -Les differentes valeurs sont identiques a celles du fichier -de geometrie.""", - ang = """Binary file type used for writing the reference file. -This type depends on the machine on which the file was generated. -The possible values are the same as for the geometry file.""", - ), -) -# ----------------------------------------------------------------------- -INPUT_OUTPUT__FILES = PROC(nom= "INPUT_OUTPUT__FILES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de geometrie. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Geometry file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - NAMES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant le maillage du calcul a realiser.""", - ang = """Name of the file containing the mesh. This file may also -contain the topography and the friction coefficients.""", - ), -# ----------------------------------- - HYDRODYNAMIC_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul -precedent realise sur le meme maillage. L''hydrodynamique -du calcul sera donnee, soit par le dernier pas de temps -de ce fichier si le calcul est permanent, -soit par les pas de temps representant la maree -ou la crue consideree si le calcul est instationnaire -Remarque : Si l''on modelise le transport sous l''action -combinee du courant et de la houle (mot-cle DE -TRANSPORT SOLIDE =4) ce fichier doit contenir non -seulement les donnees hydrodynamiques(hauteur d''eau,vitesses) -mais aussi les donnees de houle (hauteur de houle, periode de -houle).Les donnees de houle peuvent toutefois etre imposees -par l''utilisateur dans le sous programme CONDIM.""", - ang = """Name of a file containing the results a previous -computation made on the same mesh. The hydrodynamic will -be given by the last record of the file if the case is -steady or, if the case is unsteady, by the time steps -describing the tide or flood. -Remark :If the bed-load transport under the combined -action of currents and wave is modelled (keyword -BED-LOAD TRANSPORT FORMULA set equal to 4), this file -must contain not only the hydrodynamic data -(water height, velocities) but also the wave data -(wave height, wave period).However, the user has also - the possibility to give the values -of the wave data in the subroutine CONDIM.""", - ), -# ----------------------------------- - NAMES_OF_PRIVATE_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des variables privees en 32 caracteres, 16 pour le nom - 16 pour l''unite. Elles correspondent au bloc PRIVE - et peuvent etre lues dans le fichier de geometrie si elles - y sont presentes avec leur nom""", - ang = """Name of private variables in 32 characters, 16 for the name, - 16 for the unit. They are stored in the block PRIVE and - can be read in the geometry file if they are here with their - name""", - ), -# ----------------------------------- - LIQUID_BOUNDARIES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de variations en temps des conditions aux limites. -Les donnees de ce fichier sont sur le canal SIS\_FILES(SISLIQ)%LU.""", - ang = """Variations in time of boundary conditions. Data of this file -are read on channel SIS\_FILES(SISLIQ)%LU.""", - ), - ), -) -# ----------------------------------------------------------------------- -RESULTS = PROC(nom= "RESULTS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Results file format. Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - fr = """Nom du fichier dans lequel seront ecrits les resultats avec -une periodicite donnee par le mot cle PERIODE DE SORTIE GRAPHIQUE.""", - ang = """Name of the file into wich the computation results shall be -written, the periodicity being given by the keyword -GRAPHIC PRINTOUT PERIOD.""", - ), -# ----------------------------------- - VARIABLES_TO_BE_PRINTED = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["velocity along x axis (m/s)","velocity along y axis (m/s)","wawe celerity (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","Froude number","scalar flowrate of fluid (m2/s)","flowrate along x axis (m2/s)","flowrate along y axis (m2/s)","bed-load discharge (m2/s)","bed-load discharge along x axis (m2/s)","bed-load discharge along y axis (m2/s)","bottom evolution (m)","non erodable bottom","bed friction coefficient (m if Nikuradse)","mean bottom friction (N/m2)","wave angle with axis Oy (deg)","wave height","wave period","fraction of sediment of class i in the first layer","fraction of sediment of class i in the second layer","bed load transport rate of sediment of class i", "thicknes of bed layer i", "concentration of bed layer i ","concentration for class i","saturated concentration (kg/m3)","supplementary variable A","supplementary variable G","supplementary variable L","supplementary variable O","reference level for Nestor "], - defaut = '', - fr = """Nom des variables que l''utilisateur desire ecrire sur -le lisring. Meme possibilites que pour les sorties graphiques.""", - ang = """Names of variables the user wants to write on the listing. -Each variable is represented by a letter in the same manner as -it is done in the graphic results file.""", - ), -# ----------------------------------- - GRAPHIC_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression -des ''VARIABLES POUR LES SORTIES GRAPHIQUES'' (voir ce mot-cle) -dans le ''FICHIER DES RESULTATS''.""", - ang = """Determines, in number of time steps, the printout period for -the ''VARIABLES FOR GRAPHIC PRINTOUTS'' in the ''RESULTS FILE''.""", - ), -# ----------------------------------- - LISTING_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression -des ''VARIABLES A IMPRIMER'' (voir ce mot-cle). -La sortie des resultats est effectuee sur le fichier listing -(fichier cas\_numerodeprocessus.sortie sur station de travail).""", - ang = """Determines, in number of time steps, the printout period of -the ''VARIABLES TO BE PRINTED''. -The results are printed out on the listing file -(file cas\_numerodeprocessus.sortie on a workstation).""", - ), -# ----------------------------------- - MASS_BALANCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si oui ou non le bilan de masse est realise.""", - ang = """Determines whether a check of the mass-balance over the domain -is made or not""", - ), -# ----------------------------------- - SECTIONS_OUTPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """sections output file, written by the master""", - ang = """sections output file, written by the master""", - ), -# ----------------------------------- - C_VSM_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats C-VSM du -calcul avec la periodicite donnee par le mot cle -\telkey{C-VSM FULL PRINTOUT PERIOD}.""", - ang = """Name of the file into which the C-VSM results of the computation -are written, the periodicity being given by the keyword: -\telkey{C-VSM FULL PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - C_VSM_RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DES C-VSM}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{C-VSM RESULT FILE}. Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -) -# ----------------------------------------------------------------------- -DATA_FILES = PROC(nom= "DATA_FILES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - HYDRODYNAMIC_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - WAVE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de houle. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Wave file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier FORTRAN a soumettre.""", - ang = """Name of FORTRAN file to be submitted.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -colours that are assigned to the computation domain boundary nodes.""", - ), -# ----------------------------------- - WAVE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul -precedent TOMAWAC realise sur le meme maillage. La houle sera donnee, -par le dernier pas de temps -de ce fichier . Seules les donnees de houle de ce fichier -seront conservees (hauteur de houle, periode de -houle, angle de la houle). -Les donnees hydrodynamiques(hauteur d''eau,vitesses) seront lues -dans le fichier hydrodynamique (Verifier la compatibilite !!!) -Les donnees de houle peuvent aussi etre imposees -par l''utilisateur dans le sous programme CONDIM\_SISYPHE. -ou encore lues dans le fichier hydrodynamique.""", - ang = """Name of a file containing the results a previous -TOMAWAC computation made on the same mesh. The wave data (wave height, - wave period, wave angle ) will -be given by the last record of the file. -The user has to verify that both informations (wave and current data) -are consistent. -Remark :The wave data can also be specified in - the hydrodynamic file. the user has also - the possibility to give the values -of the wave data in the subroutine CONDIM. -This is recommended for non-steady flow simulation.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier facultatif contenant la bathymetrie -associee au maillage.""", - ang = """Name of the possible file containing the bathymetric data.""", - ), -# ----------------------------------- - SECTIONS_INPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """sections input file, partitioned""", - ang = """sections input file, partitioned""", - ), -) -# ----------------------------------------------------------------------- -INITIAL_CONDITIONS = PROC(nom= "INITIAL_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -- SERAFIN : classical single precision format in Telemac; -- SERAFIND: classical double precision format in Telemac; -- MED : MED format based on HDF5""", - ), -# ----------------------------------- - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un -calcul precedent sedimentologique realise sur le meme maillage -et dont le dernier pas de temps enregistre va fournir les -conditions initiales pour une suite de de calcul.""", - ang = """Name of a file containing the results of an -earlier sedimentological computation which was made -on the same mesh. The last recorded time step will provide -the initial conditions for the new computation.""", - ), -# ----------------------------------- - COMPUTATION_CONTINUED = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Determine si le calcul en cours est independant de tout autre -resultat ou est une reprise effectuee a partir du resultat d''un calcul -precedent. -NON : Il s''agit du premier passage pour ce calcul et il est necessaire -de definir un jeu complet de conditions initiales -OUI : Il s''agit d''une reprise de calcul : -les conditions initiales sont constituees par le dernier pas de temps du -FICHIER PRECEDENT SEDIMENTOLOGIQUE du fichier des parametres utilise -pour soumettre le calcul. -Par contre, l''ensemble des donnees du fichier des parametres -peuvent etre redefinies -De meme, il est necessaire de definir des conditions aux limites""", - ang = """Determines whether the computation under way is an independent -result or is following an earlier result. -NO: It is the first run for this computation and a whole set of -initial conditions should be defined. -YES: It follows a former computation: -the initial conditions consist in the last time step of the -PREVIOUS COMPUTATION FILE -in the steering file used for submitting the computation. -All the data from the steering file may be defined once again, which -provides an opportunity to change, for example, the time step. -It is also possible to define new boundary conditions.""", - ), -) -# ----------------------------------------------------------------------- -INPUT_OUTPUT__GRAPHICS_AND_LISTING = PROC(nom= "INPUT_OUTPUT__GRAPHICS_AND_LISTING",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - VARIABLES_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["velocity along x axis (m/s)","velocity along y axis (m/s)","wawe celerity (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","Froude number","scalar flowrate of fluid (m2/s)","flowrate along x axis (m2/s)","flowrate along y axis (m2/s)","bed-load discharge (m2/s)","bed-load discharge along x axis (m2/s)","bed-load discharge along y axis (m2/s)","bottom evolution (m)","non erodable bottom","total bed roughness (m)","Bed Shear stress (Totalfriction) (N/m2)","Skin friction correction factor","Mean grain diameter","wave angle with axis Oy (deg)","suspended load transport rate (m2/s)","bed load transport rate (m2/s)","wave height","wave period","wave orbital velocity (m/s)","fraction of sediment of class i in the first layer","fraction of sediment of class i in the second layer","fraction of sediment of class i in the k layer","thickness of the k layer","concentration of bed layer k","bed load transport rate of sediment of class i","concentration volumic or mass concentration for class i","saturated concentration (kg/m3)","supplementary variable A","supplementary variable G","supplementary variable L","supplementary variable O","reference level for Nestor "], - defaut = ["velocity along x axis (m/s)","velocity along y axis (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","non erodable bottom","bottom evolution (m)"], - fr = """Noms des variables que l''utilisateur veut ecrire dans -le fichier des resultats. -Chaque variable est representee par une lettre. -Le choix des separateurs est libre. Voir CHOIX ci-dessus. - On peut utiliser *, *A* signifie : toutes les fractions""", - ang = """Names of variables the user wants to write -into the graphic results file. -Each variable is represented by a letter. See CHOIX1 above. - One can use *, *A* means all fractions""", - ), -) -# ----------------------------------------------------------------------- -TIME = PROC(nom= "TIME",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - STARTING_TIME_OF_THE_HYDROGRAM = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = -1000., - fr = """Ce mot cle fixe le temps auquel le calcul SISYPHE debute -sauf en cas de suite de calcul car le temps initial est -alors lu sur le FICHIER PRECEDENT SEDIMENTOLOGIQUE. En non -permanent, ce mot cle designe de plus le temps correspondant -au premier enregistrement a lire dans le "fichier du calcul -precedent" contenant les donnees hydrodynamiques.""", - ang = """this key word specifies the time when SISYPHE computation -begins except when a computation is continued (the initial time -is then read on the "previous sendimentological file". -For an unsteady case, it moreover specifies the time which -corresponds to the 1st record to be read in the "previous -computation file"(the file which contains the hydrodynamic - data).""", - ), -# ----------------------------------- - NUMBER_OF_TIME_STEPS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Definit, en permanent, le nombre de pas de temps effectues -lors de l''execution du code. En non permanent, ce mot-cle -n''est pas utilise.""", - ang = """Specifies, for a steady case, the number of time steps -performed when running the code. For an unsteady case, this -keyword is not used.""", - ), -# ----------------------------------- - TIME_STEP = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Definit le pas de temps du calcul en secondes en -permanent. En non permanent, ce pas de temps est donne par le -pas de sortie graphique du fichier precedent. Mais si aucun -nom n''est donne pour le ''FICHIER DU CALCUL PRECEDENT'' (les -variables hydrodynamiques pouvant etre imposees dans CONDIM), -la valeur du pas de temps donnee dans le fichier des -parametres est la aussi consideree. -Remarque : si le mot-cle "PAS DE TEMPS VARIABLE EST EGAL A OUI" -le pas de temps necessaire a une bonne resolution est calcule -dans le code et des sous iterations sont realisees.""", - ang = """Specifies the time step in seconds in steady case. -For an unsteady case, this time step is fixed by the graphic -printout period of the previous computation file, except if -no name is given for the ''HYDRODYNAMIC FILE'' in -the steering file. -Remark : If the keyword ''VARIABLE TIME STEP'' is set equal -to yes, the time step required for a correct resolution is -computed in the code and sub-iterations are performed""", - ), -# ----------------------------------- - NUMBER_OF_SUB_ITERATIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """permet de realiser des sous iterations au sein de la -boucle en temps (En mode non permananet). -Peut etre utile en non permanent lorsque le -pas de temps qui est donne par le pas de sortie graphique du -FICHIER DE CALCUL PRECEDENT est trop grand.""", - ang = """enable to realize sub-iteration inside a time step -(this key word is not used if the key word VARIABLE TIME-STEP -is set equal to yes). It could be useful for a non steady case -be useful for a non steady case when the time step which is fixed -by the graphic printout period of the HYDRODYNAMIC FILE -is too large.""", - ), -# ----------------------------------- - NUMBER_OF_TIDES_OR_FLOODS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """En non permanent, definit le nombre de marees ou de crues -effectuees lors de l''execution du code.En permanent, ce mot-cle -n''est pas utilise.""", - ang = """For an unsteady case, specifies the number of tides or -floods performed when running the code. For a steady case, this -keyword is not used.""", - ), -# ----------------------------------- - ORIGINAL_HOUR_OF_TIME = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer l''heure d''origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.""", - ang = """Give the time of the time origin of the model when taking into -account of the tide generator force.""", - ), -# ----------------------------------- - ORIGINAL_DATE_OF_TIME = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer la date d''origine des temps du modele lors -de la prise en compte de la force generatrice de la maree.""", - ang = """Give the date of the time origin of the model when taking into -account the tide generating force.""", - ), -# ----------------------------------- - TIDE_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 44640., - fr = """Fixe la valeur de la periode de l''evenement -(maree ou crue) en non permanent.""", - ang = """Sets the period of the event (tide or flood) -for an unsteady case.""", - ), -) -# ----------------------------------------------------------------------- -EQUATIONS__BOUNDARY_CONDITIONS = PROC(nom= "EQUATIONS__BOUNDARY_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PRESCRIBED_SOLID_DISCHARGES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """ Valeurs des debits solides imposes aux frontieres -liquides entrantes (m3/s sans les vides). -Une valeur par frontiere liquide""", - ang = """Values of prescribed solid discharges -at the inflow boundaries (m3/s without voids). -One value per liquid boundary""", - ), -) -# ----------------------------------------------------------------------- -SOLVER = PROC(nom= "SOLVER",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient on a normal equation","conjugate gradient","conjugate residual","minimum error","cgstab","gmres","direct"], - defaut = ["conjugate gradient on a normal equation"], - fr = """Permet de choisir le solveur utilise pour la resolution de -l''equation de continuite sur le fond (ce parametre n''est utilise -que si le mot cle MASS LUMPING est egal a faux). Toutes les methodes -proposees actuellement s''apparentent au Gradient Conjugue. Ce sont : - 1 : gradient conjugue - 2 : residu conjugue - 3 : gradient conjugue sur equation normale - 4 : erreur minimale - 5 : gradient conjugue carre (non programme) - 6 : gradient conjugue carre stabilise (cgstab) - 7 : gmres (voir aussi option du solveur)""", - ang = """Makes it possible to select the solver used for solving the -bottom evolution equation (Used only if the key-word MASS LUMPING -is equal to false). All the currently available methods are -variations of the Conjugate Gradient method. They are as follows: -1: conjugate gradient -2: conjugate residual -3: conjugate gradient on a normal equation -4: minimum error -5: conjugate gradient squared (not implemented) -6: conjugate gradient squared stabilised (cgstab) -7: gmres (see option for solver)""", - ), -# ----------------------------------- - SOLVER_OPTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [2], - fr = """si le solveur est GMRES (7) le mot cle est la dimension de -l''espace de KRILOV (valeurs conseillees entre 2 et 15). Ce parametre -n''est utilise que si le mot cle MASS LUMPING est egal a faux.""", - ang = """WHEN GMRES (7) IS CHOSEN, DIMENSION OF THE KRYLOV SPACE -TRY VALUES BETWEEN 2 AND 15. Used only if the key-word MASS LUMPING -is equal to false""", - ), -# ----------------------------------- - PRECONDITIONING = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["diagonal","no preconditioning","diagonal condensee","crout","diagonal and crout","diagonal condensed and crout"], - defaut = ["diagonal"], - fr = """Permet de preconditionner le systeme lineaire afin d''accelerer -la convergence lors de sa resolution (ce parametre n''est utilise que -si le mot cle MASS LUMPING est egal a faux). - - 0 : pas de preconditionnement; - - 2 : preconditionnement diagonal. - - 3 : preconditionnement diagonal-bloc - - 7 : preconditionnement de Crout par element. -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres) -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Choice of the preconditioning in the resolution of the linear -system that the convergence is speeded up when it is being solved (Used -only if the key-word MASS LUMPING is equal to false). - 0: no preconditioning - 2: diagonal preconditioning - 3: diagonal preconditioning with the condensed matrix - 7: Crout''s preconditioning per element (not implemented). -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be made.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [60], - fr = """Les algorithmes utilises pour la resolution de l''etape de -propagation etant iteratifs; il est necessaire de limiter le nombre -d''iterations autorisees. -Remarque : Ce parametre n''est utilise que si le mot cle MASS LUMPING -est egal a faux.""", - ang = """Since the algorithms used for solving the propagation step are -iterative, the allowed number of iterations should be limited. -NOTE:Used only if the key-word MASS LUMPING is equal to false .""", - ), -# ----------------------------------- - SOLVER_OPTION_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [2], - fr = """Parametre supplementaire disponible pour le solveur. -Dans le cas du solveur gmres, il s''agit de la dimension -de l''espace de Krylov.""", - ang = """""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [50], - fr = """""", - ang = """""", - ), -# ----------------------------------- - SOLVER_ACCURACY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-7], - fr = """Precision demandee pour la resolution du systeme -(ce parametre n''est utilise que si le mot cle MASS LUMPING - est egal a faux).""", - ang = """Required accuracy for solving the linear system -(used only if the key word MASS LUMPING is equal to false).""", - ), -# ----------------------------------- - SOLVER_ACCURACY_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-8], - fr = """""", - ang = """""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["diagonal","no preconditioning","diagonal condensee","crout"], - defaut = ["diagonal"], - fr = """Permet de preconditionner le systeme de l''etape de propagation -afin d''accelerer la convergence lors de sa resolution. - - 0 : pas de preconditionnement, - - 2 : preconditionnement diagonal. - - 3 : preconditionnement diagonal avec la matrice condensee. - - 7 : preconditionnement de Crout par element. - Certains preconditionnements sont cumulables - (les diagonaux 2 ou 3 avec les autres) - Pour cette raison on ne retient que les nombres premiers pour - designer les preconditionnements. Si l''on souhaite en cumuler - plusieurs on formera le produit des options correspondantes.""", - ang = """""", - ), -) -# ----------------------------------------------------------------------- -NUMERICAL = PROC(nom= "NUMERICAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MASS_LUMPING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Si oui, on effectue du mass-lumping sur la cote du fond. -Ceci revient a ramener toute la matrice de masse sur sa -diagonale lors de la resolution du systeme. Cette technique permet -d''accelerer le code et de le rendre egalement plus stable. Cependant, -les solutions obtenues se trouvent lissees.""", - ang = """If this key word is equal to yes, the mass matrix is then -condensed on its diagonal.This technique is used to accelerate the -computation and also to make it more stable.However, the solutions -obtained are smoothed.""", - ), -# ----------------------------------- - TETA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Definit le coefficient d''implicitation du schema numerique.""", - ang = """Specifies the implicitation coefficient of the numerical -scheme.""", - ), -# ----------------------------------- - ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-10, - fr = """Fixe le zero du code.""", - ang = """Sets the zero of the code.""", - ), -# ----------------------------------- - FINITE_VOLUMES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Methodes volumes finis ou pas""", - ang = """Set finite volumes method or not""", - ), -# ----------------------------------- - TYPE_OF_ADVECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["CHARACTERISTICS","SUPG","CONSERVATIVE N-SCHEME","CONSERVATIVE N-SCHEME","CONSERVATIVE PSI-SCHEME","NON CONSERVATIVE PSI SCHEME","IMPLICIT NON CONSERVATIVE N SCHEME","EDGE-BASED N-SCHEME","EDGE-BASED N-SCHEME","ERIA SCHEME"], - defaut = ["CHARACTERISTICS"], - fr = """Determine le schema utilise pour la convection : -1: caracteristiques -2: schema semi-implicite + supg -3 et 4: schema N -5: schema psi -6: schema psi non conservatif -7: schema N non conservatif -13 et 14: schema N par segment (recommande pour les bancs decouvrants)""", - ang = """Scheme used for advection of suspended sediment : -1: characteristics -2: semi-implicit SUPG -3 et 4: N scheme -5: psi scheme -6: non conservative psi scheme -7: non conservative N scheme -13 et 14: Edge-based N scheme (recommended for tidal flats)""", - ), -# ----------------------------------- - SUPG_OPTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [2], - fr = """""", - ang = """""", - ), -# ----------------------------------- - MATRIX_VECTOR_PRODUCT = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """""", - ang = """""", - ), -# ----------------------------------- - MATRIX_STORAGE = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """""", - ang = """""", - ), -# ----------------------------------- - OPTION_FOR_THE_DIFFUSION_OF_TRACER = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["div( nu grad(T) )","1/h div ( h nu grad(T)"], - defaut = ["div( nu grad(T) )"], - fr = """1: Diffusion de la forme div( nu grad(T) ) - 2: Diffusion de la forme 1/h div ( h nu grad(T) )""", - ang = """1: Diffusion in the form div( nu grad(T) ) - 2: Diffusion in the form 1/h div ( h nu grad(T) )""", - ), -) -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom= "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [50], - fr = """Seulement pour schemes 13 et 14. -Ancienne valeur par defaut = 10 jusqu en version 8.1.""", - ang = """Only for schemes 13 and 14. -Old default value = 10 until release 8.1.""", - ), -# ----------------------------------- - GENERAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PARTITIONING_TOOL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['METIS','SCOTCH','PARMETIS','PTSCOTCH'], - defaut = 'METIS', - fr = """CHOIX DU PARTITIONNEUR -1 : METIS -2 : SCOTCH -3 : PARMETIS -4 : PTSCOTCH -etc...""", - ang = """PARTITIONING TOOL SELECTION -1 : METIS -2 : SCOTCH -3 : PARMETIS -4 : PTSCOTCH -etc...""", - ), -# ----------------------------------- - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Pour les options avec predicteur-correcteur""", - ang = """For predictor-corrector options""", - ), -# ----------------------------------- - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Pour les options predicteur-correcteur -avec schema localement implicite""", - ang = """Only for implicit scheme with predictor-corrector""", - ), -# ----------------------------------- - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Priority to prescribed values","Priority to fluxes"], - defaut = ["Priority to fluxes"], - fr = """Utilise pour les schemas PSI et N, avec option 2, on ne retrouve -pas exactement les valeurs imposees des traceurs, -mais le flux est correct""", - ang = """Used so far only with the PSI and N schemes. -With option 2, Dirichlet prescribed values are not obeyed, -but the fluxes are correct""", - ), -# ----------------------------------- - BED_ROUGHNESS_PREDICTOR_OPTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : Fond plat ks=KSPRATIO D50, -2: Fond ride (methode de Wiberg et Harris), -3: Dunes et megarides (methode de Van Rijn)""", - ang = """1: Flat bed, 2: Rippled bed, -3: Dunes and mega ripples (Method of Van Rijn)""", - ), - ), -# ----------------------------------- - SOLVER = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","gmres (see option for the solver for tracer diffusion)","direct"], - defaut = ["conjugate gradient on a normal equation"], - fr = """Permet de choisir le solveur utilise pour la resolution -de l''etape de propagation. Toutes les methodes proposees -actuellement s''apparentent au Gradient Conjugue. Ce sont : - 1 : gradient conjugue - 2 : residu conjugue - 3 : gradient conjugue sur equation normale - 4 : erreur minimale - 7 : gmres""", - ang = """""", - ), - ), - ), -# ----------------------------------- - AUTOMATIC_DIFFERENTIATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - AD_NUMBER_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Definit le nombre de derivees utilisateurs, dans le cadre -de la differentiation algorithmique.""", - ang = """Defines the number of user derivatives, within the framework -of the algorithmic differentiation.""", - ), -# ----------------------------------- - AD_NAMES_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des derivees utilisateurs en 32 caracteres, - 16 pour le nom, 16 pour l''unite""", - ang = """Name of user derivatives in 32 characters, - 16 for the name, 16 for the unit.""", - ), -# ----------------------------------- - AD_NUMBER_OF_DIRECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Definit le nombre de directions de differentiateurs.""", - ang = """Defines the number of directions for the differentiators""", - ), -# ----------------------------------- - AD_SYMBOLIC_LINEAR_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet le solveur lineaire symbolique pour l AD.""", - ang = """Enables the symbolic linear solver for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_RESET_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Remet a zero les derivees pour l AD.""", - ang = """Resets the derivatives for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Solveur lineaire iteratif : test de convergence des derivees -pour l AD.""", - ang = """Iterative linear solvers: derivative convergence test for AD.""", - ), - ), -) -# ----------------------------------------------------------------------- -PHYSICS = PROC(nom= "PHYSICS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - WATER_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1000., - fr = """Fixe la valeur de la masse volumique de l''eau.""", - ang = """sets the value of water density.""", - ), -# ----------------------------------- - SEDIMENT_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2650., - fr = """Fixe la valeur de la masse volumique du sediment - en Kg/m3""", - ang = """sets the value of the sediment density - en Kg/m3""", - ), -# ----------------------------------- - NON_COHESIVE_BED_POROSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.4, - fr = """la concentration volumique du lit est definie par -CSF= (1-porosite) -Ce parametre est utilise pour les sediments non-cohesifs.""", - ang = """The bed volume concentration CSF=(1-porosity) is used to -calculate the bed evolution of non-cohesive sand transport.""", - ), -# ----------------------------------- - GRAVITY_ACCELERATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 9.81, - fr = """Fixe la valeur de l''acceleration de la pesanteur. - M/S2""", - ang = """Sets the value of the acceleration due to gravity. - M/S2""", - ), -# ----------------------------------- - WATER_VISCOSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Definit la viscosite cinematique de l''eau. - M/S2""", - ang = """Specifies the water kinematic viscosity. - M/S2""", - ), -# ----------------------------------- - SETTLING_LAG = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Uses the velocity profile based on the Miles approximation""", - ang = """Uses the velocity profile based on the Miles approximation""", - ), -) -# ----------------------------------------------------------------------- -SUSPENSION = PROC(nom= "SUSPENSION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SETTLING_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - fr = """Pas de valeur par defaut -Si non donne par l utilisateur, on utilise la subroutine vitchu-sisyphe -: -formules de Stokes, Zanke ou Van Rijn, selon la taille des grains""", - ang = """The default value is not given. If the user does not -give a value, the subroutine vitchu-sisyphe is used: -Stockes, Zanke or Van Rijn formulae depending on the grain size""", - ), -# ----------------------------------- - SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """calcul avec suspension""", - ang = """""", - ), -# ----------------------------------- - DISPERSION_ALONG_THE_FLOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """""", - ang = """""", - ), -# ----------------------------------- - DISPERSION_ACROSS_THE_FLOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """""", - ang = """""", - ), -# ----------------------------------- - EQUILIBRIUM_INFLOW_CONCENTRATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """impose la concentration en entree du domaine et les -concentrations initiales en utilisant la formule de Fredsoe pour les -sediments non-cohesifs""", - ang = """impose the equilibrium concentration for the inflow and at t=0 -in the whole domain thanks to the formula of Fredsoe for non cohesive -sediments""", - ), -# ----------------------------------- - REFERENCE_CONCENTRATION_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : formule de Zyserman et Fredsoe - 2 : methode de Bijker. La concentration au fond - est reliee au taux de transport par charriage - 3 : formule de Van Rijn (1987) - 4 : formule de Soulsy\_van Rijn""", - ang = """1 : Zysderman and Fredsoe, equilibrium formula - 2: Bijker method. The near bed concentration - is related to the bedload . This option cannot be used - without bedload transport - 3: Van Rijn formula - 4: Soulsby\_van Rijn formula""", - ), -# ----------------------------------- - CORRECTION_ON_CONVECTION_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Modification du champ convecteur 2D pour prise en compte du -gradient vertical de vitesse et concentration""", - ang = """Modification of 2D convection velocities to account for -velocity and concentration profiles""", - ), -# ----------------------------------- - INITIAL_SUSPENSION_CONCENTRATIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Pour la suspension, sert a initialiser la valeur - de la concentration volumique pour chaque classe. ne sera pas pris - en compte si CONCENTRATION EN ENTREE IMPOSEE=OUI""", - ang = """In case of suspension, will be used to initialize the value -of volume concentration for each class. Will not be used if - EQUILIBRIUM INFLOW CONCENTRATION=YES""", - ), -# ----------------------------------- - CONCENTRATION_PER_CLASS_AT_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Pour la suspension, sert a initialiser la valeur - de la concentration volumique de chaque classe pour chaque frontiere - ordre : frontiere 1 (classe 1, classe 2, etc.) , puis frontiere 2, etc""", - ang = """In case of suspension, will be used to initialize the value -of volume concentration for each class and each boundary -order: boundary 1 (class 1, class2, etc., then boundary 2, etc.""", - ), -# ----------------------------------- - DIFFUSION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Prise en compte de la diffusion de la concentration de sediment -en suspension""", - ang = """If yes, diffusion of the concentration of suspended -sediment is done""", - ), -# ----------------------------------- - OPTION_FOR_THE_DISPERSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """ 1 les mots cles dispersion longitudinale -et dispersion transversale permettent d affecter une valeur constante, -2 K1=alphal u*h et K2=alphat u*h affectent les valeurs alphal et alphat -(par default alphal=6 et alphat=0.6, 3 dipersion fournie par - telemac2d""", - ang = """ 1 les mots cles dispersion longitudinale -et dispersion transversale permettent d affecter une valeur constante, -2 K1=alphal u*h et K2=alphat u*h affectent les valeurs alphal et alphat -(par default alphal=6 et alphat=0.6, 3 dipersion fournie par - telemac2d""", - ), -# ----------------------------------- - TETA_SUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """facteur implicitation du terme de depot et de la diffusion. - si teta =0, tout le terme de depot est traite de maniere explicite.""", - ang = """ implicitation factor for the deposition flux and the diffusion. - for teta =0, the deposition flux is only explicit.""", - ), -# ----------------------------------- - CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1000., - fr = """Vitesse critique de depot de la vase (m/s)""", - ang = """Critical shear velocity for deposition (m/s)""", - ), -# ----------------------------------- - PARTHENIADES_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-03, - fr = """constante de la loi d''erosion de la vase (Kg/m2/s)""", - ang = """constant of the Krone and Partheniades erosion law (Kg/m2/s)""", - ), -) -# ----------------------------------------------------------------------- -BED_MATERIAL = PROC(nom= "BED_MATERIAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - D90 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [.01,.01,.01,.01,.01,.01,.01,.01,.01,.01], - fr = """Sets value of diameter d90 for particular size class. -Si le mot cle n est pas entre, la valeur par defaut est -celle du diametre moyen des grains""", - ang = """Sets value of diameter d90 for particular size class. -If the keyword is not in the sterring file, the default value -is the value of the mean diameter of the sediment.""", - ), -# ----------------------------------- - SEDIMENT_DIAMETERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [.01,.01,.01,.01,.01,.01,.01,.01,.01,.01], - fr = """Sets value of diameter dm for particular size class.""", - ang = """Sets value of diameter dm for particular size class.""", - ), -# ----------------------------------- - HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [1.,1.,1.,1.,1.,1.,1.,1.,1.,1.], - fr = """Fixe la valeur du facteur de pavage par classe -granulometrique""", - ang = """Sets value of hiding factor for particular size class.""", - ), -# ----------------------------------- - NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Fixe la valeur du nombre de classes granulometriques -de grains considerees dans le calcul""", - ang = """Sets value of number of size classes of bed materials.""", - ), -# ----------------------------------- - INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [1.,0.,0.,0.,0.,0.,0.,0.,0.,0.], - fr = """Sets value of initial fraction for particular size class.""", - ang = """Sets value of initial fraction for particular size class.""", - ), -# ----------------------------------- - ACTIVE_LAYER_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [10000], - fr = """Epaisseur de reference pour la stratification du lit. La -composition de la premiere couche sert a calculer le transport -solide. Utiliser une tres grande valeur pour ne pas avoir de -stratification.""", - ang = """Thickness for bed stratification. Composition of first -layer is used to compute bed load transport rate. If you do not want -a stratification, use a large value""", - ), -# ----------------------------------- - HIDING_FACTOR_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """4 formules pour le hiding factor sont programmees dans SISYPHE - 0: const => il faut donner le HIDING FACTOR PAR CLASSE GRANULO - 1: Egiazaroff - 2: Ashida \& Michiue - : - 4: Karim, Holly \& Yang""", - ang = """4 hiding factor formulas are implemented in SISYPHE - 0: const => need to give HIDING FACTOR FOR PARTICULAR SIZE CLASS - 1: Egiazaroff - 2: Ashida \& Michiue - : - 4: Karim, Holly \& Yang""", - ), -# ----------------------------------- - CONSTANT_ACTIVE_LAYER_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """epaisseur de couche active constante ou non""", - ang = """constant active layer thickness or not""", - ), -# ----------------------------------- - COHESIVE_SEDIMENTS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, min=10, max=10, - defaut = [False,False,False,False,False,False,False,False,False,False], - fr = """""", - ang = """""", - ), -# ----------------------------------- - C_VSM = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VERTICAL_GRAIN_SORTING_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """(-)""", - ang = """Defines the model of the vertical grain sorting: - 0 = HR-VSM = Layer Model (Classic Hirano / Ribberink approach) - 1 = C-VSM (Continous Vertical Grain Sorting Model)""", - ), -# ----------------------------------- - C_VSM_MAXIMUM_SECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [200], - fr = """(-)""", - ang = """Defines the maximum discretisation of the - Continous Vertical Sorting Model: - Should be bigger than 8xNumber of Fractions. - The bigger the higher the RAM requirements, - but the faster and accurater the - bookkeeping of the sediments.""", - ), -# ----------------------------------- - C_VSM_FULL_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """(-)""", - ang = """Number of Timesteps to next printout - of the full C-VSM. These printouts are highly - time and disc consuming. - 0 = Coupled to GRAPHIC PRINTOUT PERIOD - >0 = Own printout period for the C-VSM""", - ), -# ----------------------------------- - C_VSM_PRINTOUT_SELECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=13, max=13, - defaut = '0;0;0;0;0;0;0;0;0;0;0;0;0', - fr = """(-)""", - ang = """Printout the C-VSM for the whole model as 3D - \telkey{C-VSM RESULTS FILE} - or / and for some nodes as - \telkey{C-VSM NODE FILE} - Give Up to 100 INTEGER numbers separated by ";" - 0 = Full model .-> VSPRES - N = 1,2...NPOINT; 2D-ID of a SELFIN MESH POINT ->*\_VSP.CSV""", - ), -# ----------------------------------- - C_VSM_DYNAMIC_ALT_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [5], - fr = """(-)""", - ang = """MODEL FOR ACTIVE LAYER THICKNESS - 0 = ELAY0 (Keyword: ACTIVE LAYER THICKNESS) - 1 = Hunziker \& G$\ddot{u}$nther - 2 = Fredsoe \& Deigaard (1992) - 3 = van RIJN (1993) - 4 = Wong (2006) - 5 = Malcherek (2003) - 6 = $3*d50$ within last time steps ALT""", - ), - ), -) -# ----------------------------------------------------------------------- -FRICTION = PROC(nom= "FRICTION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 3.0, - fr = """Ratio pour le calcul du frottement de peau. -rugosite de peau = ratio * diametre moyen. -( pour la granulometrie etendue, le diametre moyen utilise -est une valeur moyenne par noeud calculee a partir de la fraction -et du diametre moyen de chaque sediment en chaque noeud du maillage)""", - ang = """ Ratio for the computation of skin friction. -skin roughness = ratio * mean diameter -(for the mixture of sand, the mean diameter used is a value per node -which is computed thanks to the fraction and the mean diameter of each -sediment for each node of the mesh) -if KSPRATIO =0 : use skin friction prediction from Van Rijn (2007) -for currents and the Wiberg and Harris method for waves""", - ), -# ----------------------------------- - SKIN_FRICTION_CORRECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """prise en compte du frottement de peau (voir aussi KSPRATIO) - 0 : pas de correction (TAUP= TOB) - 1 : fond plat (KSP= KSPRATIO * D50) - 2 : prise en compte des rides""", - ang = """formula to predict the skin bed roughness (see also KSPRATIO) - 0 : NO correction (TAUP= TOB) - 1 : Flat bed (KSP= KSPRATIO * D50) - 2 : Ripple correction factor""", - ), -# ----------------------------------- - FRICTION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 50., - fr = """Fixe la valeur du coefficient de Strickler -intervenant dans le calcul de la contrainte de -frottement au fond. Sa signification depend de -la LOI DE FROTTEMENT SUR LE FOND.""", - ang = """Sets the value of the friction coefficient -to calculate the bed shear stress. -Depends on the LAW OF BOTTOM FRICTION.""", - ), -# ----------------------------------- - LAW_OF_BOTTOM_FRICTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["FLAT BOTTOM","EQUILIBRIUM SAND RIPPLES (WAVES ONLY) KS=(MAX 3D50,ETA)","CHEZY","STRICKLER","MANNING","NIKURADSE"], - defaut = ["STRICKLER"], - fr = """Selectionne le type de formulation utilisee pour le calcul -du frottement sur le fond, voir COEFFICIENT DE FROTTEMENT. -Pour les lois possibles, voir CHOIX ci-dessus (cf. Note de principe). -En cas de couplage avec Telemac, le choix du frottement est impose par -Telemac, sauf si le mot-cle :PREDICTION DE LA RUGOSITE est mis a OUI""", - ang = """Selects the type of formulation used for the bottom friction. -To know the possible laws see CHOIX1 above. See FRICTION COEFFICIENT. -Beware: in the case of internal coupling with Telemac, the friction -coefficient is selected in the Telemac steering file, except when BED -ROUGHNESS PREDICTION is set to YES""", - ), -) -# ----------------------------------------------------------------------- -SLOPE_EFFECT = PROC(nom= "SLOPE_EFFECT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - FORMULA_FOR_SLOPE_EFFECT = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : formule de Koch et Flokstra, modifie le transport solide - mot cle associe : BETA - 2 : formule de Soulsby, modifie la contrainte seuil, ne peut - donc etre utilisee que avec une formule a seuil. - mot cle associe : ANGLE DE REPOS DU SEDIMENT""", - ang = """1 : formula of Koch et Flokstra, modification of bed load - linked keyword : BETA - 2 : formula of Soulsby, modification critical shear stress, - can only be used with a threshold fomula - linked keyword : FRICTION ANGLE OF THE SEDIMENT""", - ), -# ----------------------------------- - FRICTION_ANGLE_OF_THE_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 40., - fr = """Angle de repos du sediment, intervient pour la prise de compte - de la pente sur la contrainte critique par la formule de Soulsby. -Utiliser si ...=2""", - ang = """Angle of repose of the sediment. Used in the Soulsby formula to -take into account the influence of bed slope on critical shear stress. -Use if ...=2""", - ), -# ----------------------------------- - FORMULA_FOR_DEVIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1 : Koch et Flokstra - 2 : formule de Talmon et al. 1995, JHR 33(4) formules (1) et -(17) mot cle associe : BETA2""", - ang = """1: Koch and Flokstra - 2: formula of Talmon et al. 1995, JHR 33(4) formulas (1) and -(17) linked keyword : BETA2""", - ), -# ----------------------------------- - PARAMETER_FOR_DEVIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.85, - fr = """Parametre pour la deviation causee par effet de pente - pour la formule de Talmon et al. -Une valeur elevee provoque une faible deviation""", - ang = """Parameter pour la deviation pour la formule de Talmon et al.""", - ), -# ----------------------------------- - SEDIMENT_SLIDE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte de la pente d''equilibre du sable donnee par le -mot-cle ANGLE DE FROTTEMENT DU SEDIMENT""", - ang = """If yes, the key-word FRICTION ANGLE OF THE SEDIMENT is taken -into account for slope stability""", - ), -# ----------------------------------- - SLOPE_EFFECT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Prise en compte de l''effet de pente : -deviation et modification du seuil critique. -NON supprime les mots-cles - POUR EFFET DE PENTE et POUR LA DEVIATION""", - ang = """If yes, slope effect taken into account: -deviation + modification of critical shear stress. -NO will cancel the key-words -FORMULA FOR SLOPE EFFECT and FORMULA FOR DEVIATION""", - ), -# ----------------------------------- - BETA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.3, - fr = """Determine la valeur du coefficient beta qui intervient dans la -formulation de l''effet de pente de Koch et Flokstra.""", - ang = """Specifies the value of the beta coefficient used in the Koch -and Flokstra slope effect formulation.""", - ), -) -# ----------------------------------------------------------------------- -SEDIMENT_TRANSPORT = PROC(nom= "SEDIMENT_TRANSPORT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NONEQUILIBRIUM_BED_LOAD = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BED_ROUGHNESS_PREDICTION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Calcul de la rugosite de Nikuradse -- voir OPTION DU PREDICTEUR DE RUGOSITE - -la loi de frottement est forcee a 5 et le coefficient de frottement -ne sont pas utilises. -En cas de couplage, le frottement est envoye a Telemac""", - ang = """The bed roughness is predicted according to the selected -BED ROUGHNESS PREDICTOR OPTION. In case of coupling with Telemac2d, -the calculated bed roughness is sent to Telemac. -The FRICTION COEFFICIENT and FRICTION LAW are no longer -used (KFROT is set to 5)""", - ), - ), -) -# ----------------------------------------------------------------------- -SEDIMENTOLOGY = PROC(nom= "SEDIMENTOLOGY",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GENERAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SECONDARY_CURRENTS_ALPHA_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.0E-00, - fr = """(-)""", - ang = """Alpha coefficient of secondary current(-), -Should be chosen between 0.75 (rough bottom) and 1 (smooth bottom)""", - ), - ), -) -# ----------------------------------------------------------------------- -COMPUTATIONAL_INFORMATION = PROC(nom= "COMPUTATIONAL_INFORMATION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GENERAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MORPHOLOGICAL_FACTOR = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Coefficient de l''echelle des temps""", - ang = """Amplification for the morphological time scale""", - ), -# ----------------------------------- - MINIMUM_DEPTH_FOR_BEDLOAD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-2, - fr = """Suppression des flux de sediment de et vers les points secs""", - ang = """To cancel sediment fluxes to and from dry points""", - ), - ), -) -# ----------------------------------------------------------------------- -BED_LOAD = PROC(nom= "BED_LOAD",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - BED_LOAD = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """calcul avec charriage""", - ang = """""", - ), -# ----------------------------------- - BED_LOAD_TRANSPORT_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """11 formules de transport solide sont implementees dans SISYPHE. -Les formules Ne3, Ne30 et Ne9 ne doivent pas etre utilisees en cas de -couplage avec la suspension. -Les formules Ne4, Ne5, Ne8 and Ne9 calculent le taux de transport sous -l''action combinee de la houle et du courant : - 1 : MEYER-PETER (charriage) - 2 : EINSTEIN-BROWN (charriage) - 3 : ENGELUND-HANSEN + CHOLLET ET CUNGE (VERSION 5.3) - 30: ENGELUND-HANSEN (total) - 4 : BIJKER (charriage + suspension) - 5 : SOULSBY - VAN RIJN (charriage + suspension) - 6 : HUNZIKER (uniquement granulometrie etendue) - DE MASQUAGE DE HUNZIKER APPLIQUEE - et mot-cle HIDING-FACTOR not used - 7 : VAN RIJN (bed load) - 8 : BAILARD (charriage + suspension) - 9 : DIBAJNIA ET WATANABE (total) - 10 : WILCOCK ET CROWE (granulometrie etendue) -L''utilisateur a aussi la possibilite d''imposer une autre formule de -transport solide (sous-programme QSFORM.F) en fixant la valeur -du mot cle a 0 : - 0 : IMPOSEE PAR L''UTILISATEUR -Attention : dans ce cas, il n''est pas possible de choisir l''option -PAS DE TEMPS VARIABLE.""", - ang = """11 bed-load or total load transport formulas are implemented in -SISYPHE. -The formula Ne3, Ne30 and Ne9 should not be used in the case of coupling -with the suspension. -The formula Ne4, Ne5, Ne8 and Ne9 model the transport under the -combined action of currents and waves : - 1 : MEYER-PETER (bed load) - 2 : EINSTEIN-BROWN (bed load) - 3 : ENGELUND-HANSEN + CHOLLET AND CUNGE (VERSION 5.3) - 30: ENGELUND-HANSEN (total) - 4 : BIJKER (bed load + suspension) - 5 : SOULSBY - VAN RIJN (bed load + suspension) - 6 : HUNZIKER (only for sand grading) - IN THIS CASE HIDING FACTOR KEYWORD DISCARDED - And Hunziker formula used - 7 : VAN RIJN (bed load) - 8 : BAILARD (bed load + suspension) - 9 : DIBAJNIA ET WATANABE (total) - 10 : WILCOCK AND CROWE (graded sediment) -Users can also program other formulas (subroutine QSFORM.f) setting -this key word to zero : - 0 : FORMULA PROGRAMMED BY USER -Warning : it is not then possible to choose the option -VARIABLE TIME-STEP""", - ), -# ----------------------------------- - B_VALUE_FOR_THE_BIJKER_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2.E0, - fr = """Coefficient b de la formule de Bijker""", - ang = """b value for the Bijker formula""", - ), -# ----------------------------------- - MPM_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 8.0E-00, - fr = """(-)""", - ang = """Meyer-Peter Mueller Coefficient(-)""", - ), -) -# ----------------------------------------------------------------------- -EQUATIONS__ADVECTION = PROC(nom= "EQUATIONS__ADVECTION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GENERAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Si present remplace et a priorite sur : -OPTION POUR LES CARACTERISTIQUES (pas programme) -OPTION DE SUPG -Avec schema PSI : 1=explicit 2=predicteur-correcteur -pour les traceurs""", - ang = """If present replaces and has priority over: -OPTION FOR CHARACTERISTICS (not yet implemented) -SUPG OPTION -IF PSI SCHEME: 1=explicit 2=predictor-corrector -for tracers""", - ), - ), -) -# ----------------------------------------------------------------------- -CONSOLIDATION = PROC(nom= "CONSOLIDATION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - CONSOLIDATION_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """1:Modele multicouche de Walther, -2: Modele de Thiebot (base sur la theorie de Gibson)""", - ang = """1: Multilayer model of Walther, -2: Model of Thiebot (based on Gibson theory)""", - ), -# ----------------------------------- - GEL_CONCENTRATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 310.E0, - fr = """Concentration de transition pour modele de Thiebot (Kg/m3)""", - ang = """Gel Concentration (Kg/m3)""", - ), -# ----------------------------------- - MAXIMUM_CONCENTRATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 364.E0, - fr = """Concentration maximale du modele de Thiebot (Kg/m3)""", - ang = """Maximum Concentration for Thiebot consolidation model(Kg/m3)""", - ), -# ----------------------------------- - PERMEABILITY_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 8.E0, - fr = """Coefficient de permeabilite pour le modele de consolidation""", - ang = """Coefficient of permeability for consolidation model""", - ), -# ----------------------------------- - MUD_CONSOLIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Prise en compte du tassement par un modele multi-couche""", - ang = """consolidation of the mud or sand mud-mixture sediment bed - accounted for""", - ), -# ----------------------------------- - NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Structure verticale du lit cohesif- le nombre de couche doit - etre inferieur a 10""", - ang = """Vertical bed structure - The number of layers should be less - than 10""", - ), -# ----------------------------------- - MASS_TRANSFER_PER_LAYER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Coefficients de transfert de masse du modele -de tassement multicouche en s-1""", - ang = """Mass transfert coefficients of -the multilayer consolidation model in s-1""", - ), -) -# ----------------------------------------------------------------------- -COHESIVE_SEDIMENT = PROC(nom= "COHESIVE_SEDIMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MUD_CONCENTRATION_PER_LAYER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Concentration du lit de vase en g/ l - defini par couches""", - ang = """Concentrations of the mud-bed in g per l (per layer)""", - ), -# ----------------------------------- - CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [0.01,0.02,0.03,0.04,0.05,0.06,0.07,0.08,0.09,1.], - fr = """Taux critique d erosion de la vase needs to be defined - for each layer (N par m2)""", - ang = """Critical erosion shear stress of the mud per layer (N per m2)""", - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - CONCATENATE_PARTEL_OUTPUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Avec cette option partel ne genereras non plus un fichier (GEO/CLI/PAR) -par processeur mais une concaténation de ceux-ci, ainsi qu''un fichier -d''index associé. Ainsi plutot que d''avoir 3P fichiers, il n''y en a -plus que 6.""", - ang = """With this option partel no more generates a file (GEO/CLI/PAR) per -process but a single concatenate file of them, associated to an index -file. Then instead of having partel generating 3P files, it only -generates 6 files.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'sisyphev6p2.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -) -TEXTE_NEW_JDC = "\ -INPUT_OUTPUT__INFORMATION();\ -MISCELLANEOUS();\ -GENERAL();\ -USELESS();\ -INPUT_OUTPUT__FILES();\ -RESULTS();\ -DATA_FILES();\ -INITIAL_CONDITIONS();\ -INPUT_OUTPUT__GRAPHICS_AND_LISTING();\ -TIME();\ -EQUATIONS__BOUNDARY_CONDITIONS();\ -SOLVER();\ -NUMERICAL();\ -NUMERICAL_PARAMETERS();\ -PHYSICS();\ -SUSPENSION();\ -BED_MATERIAL();\ -FRICTION();\ -SLOPE_EFFECT();\ -SEDIMENT_TRANSPORT();\ -SEDIMENTOLOGY();\ -COMPUTATIONAL_INFORMATION();\ -BED_LOAD();\ -EQUATIONS__ADVECTION();\ -CONSOLIDATION();\ -COHESIVE_SEDIMENT();\ -" -Ordre_Des_Commandes = ( -'INPUT_OUTPUT__INFORMATION', -'MISCELLANEOUS', -'GENERAL', -'USELESS', -'INPUT_OUTPUT__FILES', -'RESULTS', -'DATA_FILES', -'INITIAL_CONDITIONS', -'INPUT_OUTPUT__GRAPHICS_AND_LISTING', -'TIME', -'EQUATIONS__BOUNDARY_CONDITIONS', -'SOLVER', -'NUMERICAL', -'NUMERICAL_PARAMETERS', -'PHYSICS', -'SUSPENSION', -'BED_MATERIAL', -'FRICTION', -'SLOPE_EFFECT', -'SEDIMENT_TRANSPORT', -'SEDIMENTOLOGY', -'COMPUTATIONAL_INFORMATION', -'BED_LOAD', -'EQUATIONS__ADVECTION', -'CONSOLIDATION', -'COHESIVE_SEDIMENT', -'INTERNAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.sisyphe_enum_auto' -dicoCasEn = source+'.sisyphe_dicoCasEnToCata' -dicoCasFr = source+'.sisyphe_dicoCasFrToCata' diff --git a/Telemac/sisyphe_dicoCasEnToCata.py b/Telemac/sisyphe_dicoCasEnToCata.py deleted file mode 100644 index c4d271b3..00000000 --- a/Telemac/sisyphe_dicoCasEnToCata.py +++ /dev/null @@ -1,352 +0,0 @@ -dicoCataToEngTelemac = { - "TITLE" : "TITLE", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "VALIDATION" : "VALIDATION", - "NUMBER_OF_PRIVATE_ARRAYS" : "NUMBER OF PRIVATE ARRAYS", - "ORIGIN_COORDINATES" : "ORIGIN COORDINATES", - "DEBUGGER" : "DEBUGGER", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION FOR THE TREATMENT OF TIDAL FLATS", - "NESTOR" : "NESTOR", - "NESTOR_ACTION_FILE" : "NESTOR ACTION FILE", - "NESTOR_POLYGON_FILE" : "NESTOR POLYGON FILE", - "NESTOR_RESTART_FILE" : "NESTOR RESTART FILE", - "NESTOR_SURFACE_REFERENCE_FILE" : "NESTOR SURFACE REFERENCE FILE", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "MAXIMUM NUMBER OF BOUNDARIES", - "FLUXLINE_INPUT_FILE" : "FLUXLINE INPUT FILE", - "FLUXLINE" : "FLUXLINE", - "CONTROL_SECTIONS" : "CONTROL SECTIONS", - "STATIONARY_MODE" : "STATIONARY MODE", - "SHIELDS_PARAMETERS" : "SHIELDS PARAMETERS", - "OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS" : "OPTION FOR THE TREATMENT OF NON ERODABLE BEDS", - "MINIMAL_VALUE_OF_THE_WATER_HEIGHT" : "MINIMAL VALUE OF THE WATER HEIGHT", - "TIDAL_FLATS" : "TIDAL FLATS", - "SECONDARY_CURRENTS" : "SECONDARY CURRENTS", - "SECONDARY_CURRENTS_FILE" : "SECONDARY CURRENTS FILE", - "GRAIN_FEEDING" : "GRAIN-FEEDING", - "STEADY_CASE" : "STEADY CASE", - "CONSTANT_FLOW_DISCHARGE" : "CONSTANT FLOW DISCHARGE", - "NUMBER_OF_ITERATIONS_FOR_TELEMAC" : "NUMBER OF ITERATIONS FOR TELEMAC", - "CRITERION_TO_UPDATE_THE_FLOW" : "CRITERION TO UPDATE THE FLOW", - "CRITICAL_EVOLUTION_RATIO" : "CRITICAL EVOLUTION RATIO", - "NUMBER_OF_BED_LOAD_MODEL_LAYERS" : "NUMBER OF BED LOAD MODEL LAYERS", - "MASS_CONCENTRATION" : "MASS CONCENTRATION", - "EFFECT_OF_WAVES" : "EFFECT OF WAVES", - "MIXED_SEDIMENT" : "MIXED SEDIMENT", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "STEERING_FILE" : "STEERING FILE", - "MEAN_DIAMETER_OF_THE_SEDIMENT" : "MEAN DIAMETER OF THE SEDIMENT", - "GEOMETRY_FILE_BINARY" : "GEOMETRY FILE BINARY", - "HYDRODYNAMIC_FILE_BINARY" : "HYDRODYNAMIC FILE BINARY", - "BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE" : "BINARY OF THE PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE", - "RESULTS_FILE_BINARY" : "RESULTS FILE BINARY", - "REFERENCE_FILE_BINARY" : "REFERENCE FILE BINARY", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "HYDRODYNAMIC_FILE" : "HYDRODYNAMIC FILE", - "NAMES_OF_PRIVATE_VARIABLES" : "NAMES OF PRIVATE VARIABLES", - "LIQUID_BOUNDARIES_FILE" : "LIQUID BOUNDARIES FILE", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "RESULTS_FILE" : "RESULTS FILE", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES TO BE PRINTED", - "GRAPHIC_PRINTOUT_PERIOD" : "GRAPHIC PRINTOUT PERIOD", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "MASS_BALANCE" : "MASS-BALANCE", - "SECTIONS_OUTPUT_FILE" : "SECTIONS OUTPUT FILE", - "C_VSM_RESULTS_FILE" : "C-VSM RESULTS FILE", - "C_VSM_RESULTS_FILE_FORMAT" : "C-VSM RESULTS FILE FORMAT", - "HYDRODYNAMIC_FILE_FORMAT" : "HYDRODYNAMIC FILE FORMAT", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "WAVE_FILE_FORMAT" : "WAVE FILE FORMAT", - "FORTRAN_FILE" : "FORTRAN FILE", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "WAVE_FILE" : "WAVE FILE", - "REFERENCE_FILE" : "REFERENCE FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "SECTIONS_INPUT_FILE" : "SECTIONS INPUT FILE", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT" : "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE FORMAT", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE" : "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE", - "COMPUTATION_CONTINUED" : "COMPUTATION CONTINUED", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES FOR GRAPHIC PRINTOUTS", - "STARTING_TIME_OF_THE_HYDROGRAM" : "STARTING TIME OF THE HYDROGRAM", - "NUMBER_OF_TIME_STEPS" : "NUMBER OF TIME STEPS", - "TIME_STEP" : "TIME STEP", - "NUMBER_OF_SUB_ITERATIONS" : "NUMBER OF SUB-ITERATIONS", - "NUMBER_OF_TIDES_OR_FLOODS" : "NUMBER OF TIDES OR FLOODS", - "ORIGINAL_HOUR_OF_TIME" : "ORIGINAL HOUR OF TIME", - "ORIGINAL_DATE_OF_TIME" : "ORIGINAL DATE OF TIME", - "TIDE_PERIOD" : "TIDE PERIOD", - "PRESCRIBED_SOLID_DISCHARGES" : "PRESCRIBED SOLID DISCHARGES", - "SOLVER" : "SOLVER", - "SOLVER_OPTION" : "SOLVER OPTION", - "PRECONDITIONING" : "PRECONDITIONING", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER", - "SOLVER_OPTION_FOR_SUSPENSION" : "SOLVER OPTION FOR SUSPENSION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION" : "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER FOR SUSPENSION", - "SOLVER_ACCURACY" : "SOLVER ACCURACY", - "SOLVER_ACCURACY_FOR_SUSPENSION" : "SOLVER ACCURACY FOR SUSPENSION", - "PRECONDITIONING_FOR_SUSPENSION" : "PRECONDITIONING FOR SUSPENSION", - "MASS_LUMPING" : "MASS-LUMPING", - "TETA" : "TETA", - "ZERO" : "ZERO", - "FINITE_VOLUMES" : "FINITE VOLUMES", - "TYPE_OF_ADVECTION" : "TYPE OF ADVECTION", - "SUPG_OPTION" : "SUPG OPTION", - "MATRIX_VECTOR_PRODUCT" : "MATRIX-VECTOR PRODUCT", - "MATRIX_STORAGE" : "MATRIX STORAGE", - "OPTION_FOR_THE_DIFFUSION_OF_TRACER" : "OPTION FOR THE DIFFUSION OF TRACER", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES", - "PARTITIONING_TOOL" : "PARTITIONING TOOL", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TREATMENT OF FLUXES AT THE BOUNDARIES", - "BED_ROUGHNESS_PREDICTOR_OPTION" : "BED ROUGHNESS PREDICTOR OPTION", - "SOLVER_FOR_SUSPENSION" : "SOLVER FOR SUSPENSION", - "AD_NUMBER_OF_DERIVATIVES" : "AD NUMBER OF DERIVATIVES", - "AD_NAMES_OF_DERIVATIVES" : "AD NAMES OF DERIVATIVES", - "AD_NUMBER_OF_DIRECTIONS" : "AD NUMBER OF DIRECTIONS", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SYMBOLIC LINEAR SOLVER", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD LINEAR SOLVER RESET DERIVATIVES", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD LINEAR SOLVER DERIVATIVE CONVERGENCE", - "WATER_DENSITY" : "WATER DENSITY", - "SEDIMENT_DENSITY" : "SEDIMENT DENSITY", - "NON_COHESIVE_BED_POROSITY" : "NON COHESIVE BED POROSITY", - "GRAVITY_ACCELERATION" : "GRAVITY ACCELERATION", - "WATER_VISCOSITY" : "WATER VISCOSITY", - "SETTLING_LAG" : "SETTLING LAG", - "SETTLING_VELOCITIES" : "SETTLING VELOCITIES", - "SUSPENSION" : "SUSPENSION", - "DISPERSION_ALONG_THE_FLOW" : "DISPERSION ALONG THE FLOW", - "DISPERSION_ACROSS_THE_FLOW" : "DISPERSION ACROSS THE FLOW", - "EQUILIBRIUM_INFLOW_CONCENTRATION" : "EQUILIBRIUM INFLOW CONCENTRATION", - "REFERENCE_CONCENTRATION_FORMULA" : "REFERENCE CONCENTRATION FORMULA", - "CORRECTION_ON_CONVECTION_VELOCITY" : "CORRECTION ON CONVECTION VELOCITY", - "INITIAL_SUSPENSION_CONCENTRATIONS" : "INITIAL SUSPENSION CONCENTRATIONS", - "CONCENTRATION_PER_CLASS_AT_BOUNDARIES" : "CONCENTRATION PER CLASS AT BOUNDARIES", - "DIFFUSION" : "DIFFUSION", - "OPTION_FOR_THE_DISPERSION" : "OPTION FOR THE DISPERSION", - "TETA_SUSPENSION" : "TETA SUSPENSION", - "CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION" : "CRITICAL SHEAR VELOCITY FOR MUD DEPOSITION", - "PARTHENIADES_CONSTANT" : "PARTHENIADES CONSTANT", - "D90" : "D90", - "SEDIMENT_DIAMETERS" : "SEDIMENT DIAMETERS", - "HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS" : "HIDING FACTOR FOR PARTICULAR SIZE CLASS", - "NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL" : "NUMBER OF SIZE-CLASSES OF BED MATERIAL", - "INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS" : "INITIAL FRACTION FOR PARTICULAR SIZE CLASS", - "ACTIVE_LAYER_THICKNESS" : "ACTIVE LAYER THICKNESS", - "HIDING_FACTOR_FORMULA" : "HIDING FACTOR FORMULA", - "CONSTANT_ACTIVE_LAYER_THICKNESS" : "CONSTANT ACTIVE LAYER THICKNESS", - "COHESIVE_SEDIMENTS" : "COHESIVE SEDIMENTS", - "VERTICAL_GRAIN_SORTING_MODEL" : "VERTICAL GRAIN SORTING MODEL", - "C_VSM_MAXIMUM_SECTIONS" : "C-VSM MAXIMUM SECTIONS", - "C_VSM_FULL_PRINTOUT_PERIOD" : "C-VSM FULL PRINTOUT PERIOD", - "C_VSM_PRINTOUT_SELECTION" : "C-VSM PRINTOUT SELECTION", - "C_VSM_DYNAMIC_ALT_MODEL" : "C-VSM DYNAMIC ALT MODEL", - "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER" : "RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER", - "SKIN_FRICTION_CORRECTION" : "SKIN FRICTION CORRECTION", - "FRICTION_COEFFICIENT" : "FRICTION COEFFICIENT", - "LAW_OF_BOTTOM_FRICTION" : "LAW OF BOTTOM FRICTION", - "FORMULA_FOR_SLOPE_EFFECT" : "FORMULA FOR SLOPE EFFECT", - "FRICTION_ANGLE_OF_THE_SEDIMENT" : "FRICTION ANGLE OF THE SEDIMENT", - "FORMULA_FOR_DEVIATION" : "FORMULA FOR DEVIATION", - "PARAMETER_FOR_DEVIATION" : "PARAMETER FOR DEVIATION", - "SEDIMENT_SLIDE" : "SEDIMENT SLIDE", - "SLOPE_EFFECT" : "SLOPE EFFECT", - "BETA" : "BETA", - "BED_ROUGHNESS_PREDICTION" : "BED ROUGHNESS PREDICTION", - "SECONDARY_CURRENTS_ALPHA_COEFFICIENT" : "SECONDARY CURRENTS ALPHA COEFFICIENT", - "MORPHOLOGICAL_FACTOR" : "MORPHOLOGICAL FACTOR", - "MINIMUM_DEPTH_FOR_BEDLOAD" : "MINIMUM DEPTH FOR BEDLOAD", - "BED_LOAD" : "BED LOAD", - "BED_LOAD_TRANSPORT_FORMULA" : "BED-LOAD TRANSPORT FORMULA", - "B_VALUE_FOR_THE_BIJKER_FORMULA" : "B VALUE FOR THE BIJKER FORMULA", - "MPM_COEFFICIENT" : "MPM COEFFICIENT", - "SCHEME_OPTION_FOR_ADVECTION" : "SCHEME OPTION FOR ADVECTION", - "CONSOLIDATION_MODEL" : "CONSOLIDATION MODEL", - "GEL_CONCENTRATION" : "GEL CONCENTRATION", - "MAXIMUM_CONCENTRATION" : "MAXIMUM CONCENTRATION", - "PERMEABILITY_COEFFICIENT" : "PERMEABILITY COEFFICIENT", - "MUD_CONSOLIDATION" : "MUD CONSOLIDATION", - "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL" : "NUMBER OF LAYERS OF THE CONSOLIDATION MODEL", - "MASS_TRANSFER_PER_LAYER" : "MASS TRANSFER PER LAYER", - "MUD_CONCENTRATION_PER_LAYER" : "MUD CONCENTRATION PER LAYER", - "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD" : "CRITICAL EROSION SHEAR STRESS OF THE MUD", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATE PARTEL OUTPUT", - "DICTIONARY" : "DICTIONARY", -} -dicoCasEnToCata = { - "TITLE" : "TITLE", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "VALIDATION" : "VALIDATION", - "NUMBER OF PRIVATE ARRAYS" : "NUMBER_OF_PRIVATE_ARRAYS", - "ORIGIN COORDINATES" : "ORIGIN_COORDINATES", - "DEBUGGER" : "DEBUGGER", - "OPTION FOR THE TREATMENT OF TIDAL FLATS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "NESTOR" : "NESTOR", - "NESTOR ACTION FILE" : "NESTOR_ACTION_FILE", - "NESTOR POLYGON FILE" : "NESTOR_POLYGON_FILE", - "NESTOR RESTART FILE" : "NESTOR_RESTART_FILE", - "NESTOR SURFACE REFERENCE FILE" : "NESTOR_SURFACE_REFERENCE_FILE", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "MAXIMUM NUMBER OF BOUNDARIES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "FLUXLINE INPUT FILE" : "FLUXLINE_INPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "CONTROL SECTIONS" : "CONTROL_SECTIONS", - "STATIONARY MODE" : "STATIONARY_MODE", - "SHIELDS PARAMETERS" : "SHIELDS_PARAMETERS", - "OPTION FOR THE TREATMENT OF NON ERODABLE BEDS" : "OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS", - "MINIMAL VALUE OF THE WATER HEIGHT" : "MINIMAL_VALUE_OF_THE_WATER_HEIGHT", - "TIDAL FLATS" : "TIDAL_FLATS", - "SECONDARY CURRENTS" : "SECONDARY_CURRENTS", - "SECONDARY CURRENTS FILE" : "SECONDARY_CURRENTS_FILE", - "GRAIN-FEEDING" : "GRAIN_FEEDING", - "STEADY CASE" : "STEADY_CASE", - "CONSTANT FLOW DISCHARGE" : "CONSTANT_FLOW_DISCHARGE", - "NUMBER OF ITERATIONS FOR TELEMAC" : "NUMBER_OF_ITERATIONS_FOR_TELEMAC", - "CRITERION TO UPDATE THE FLOW" : "CRITERION_TO_UPDATE_THE_FLOW", - "CRITICAL EVOLUTION RATIO" : "CRITICAL_EVOLUTION_RATIO", - "NUMBER OF BED LOAD MODEL LAYERS" : "NUMBER_OF_BED_LOAD_MODEL_LAYERS", - "MASS CONCENTRATION" : "MASS_CONCENTRATION", - "EFFECT OF WAVES" : "EFFECT_OF_WAVES", - "MIXED SEDIMENT" : "MIXED_SEDIMENT", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "STEERING FILE" : "STEERING_FILE", - "MEAN DIAMETER OF THE SEDIMENT" : "MEAN_DIAMETER_OF_THE_SEDIMENT", - "GEOMETRY FILE BINARY" : "GEOMETRY_FILE_BINARY", - "HYDRODYNAMIC FILE BINARY" : "HYDRODYNAMIC_FILE_BINARY", - "BINARY OF THE PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE" : "BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "RESULTS FILE BINARY" : "RESULTS_FILE_BINARY", - "REFERENCE FILE BINARY" : "REFERENCE_FILE_BINARY", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "HYDRODYNAMIC FILE" : "HYDRODYNAMIC_FILE", - "NAMES OF PRIVATE VARIABLES" : "NAMES_OF_PRIVATE_VARIABLES", - "LIQUID BOUNDARIES FILE" : "LIQUID_BOUNDARIES_FILE", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "RESULTS FILE" : "RESULTS_FILE", - "VARIABLES TO BE PRINTED" : "VARIABLES_TO_BE_PRINTED", - "GRAPHIC PRINTOUT PERIOD" : "GRAPHIC_PRINTOUT_PERIOD", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "MASS-BALANCE" : "MASS_BALANCE", - "SECTIONS OUTPUT FILE" : "SECTIONS_OUTPUT_FILE", - "C-VSM RESULTS FILE" : "C_VSM_RESULTS_FILE", - "C-VSM RESULTS FILE FORMAT" : "C_VSM_RESULTS_FILE_FORMAT", - "HYDRODYNAMIC FILE FORMAT" : "HYDRODYNAMIC_FILE_FORMAT", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "WAVE FILE FORMAT" : "WAVE_FILE_FORMAT", - "FORTRAN FILE" : "FORTRAN_FILE", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "WAVE FILE" : "WAVE_FILE", - "REFERENCE FILE" : "REFERENCE_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "SECTIONS INPUT FILE" : "SECTIONS_INPUT_FILE", - "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE FORMAT" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT", - "PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "COMPUTATION CONTINUED" : "COMPUTATION_CONTINUED", - "VARIABLES FOR GRAPHIC PRINTOUTS" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "STARTING TIME OF THE HYDROGRAM" : "STARTING_TIME_OF_THE_HYDROGRAM", - "NUMBER OF TIME STEPS" : "NUMBER_OF_TIME_STEPS", - "TIME STEP" : "TIME_STEP", - "NUMBER OF SUB-ITERATIONS" : "NUMBER_OF_SUB_ITERATIONS", - "NUMBER OF TIDES OR FLOODS" : "NUMBER_OF_TIDES_OR_FLOODS", - "ORIGINAL HOUR OF TIME" : "ORIGINAL_HOUR_OF_TIME", - "ORIGINAL DATE OF TIME" : "ORIGINAL_DATE_OF_TIME", - "TIDE PERIOD" : "TIDE_PERIOD", - "PRESCRIBED SOLID DISCHARGES" : "PRESCRIBED_SOLID_DISCHARGES", - "SOLVER" : "SOLVER", - "SOLVER OPTION" : "SOLVER_OPTION", - "PRECONDITIONING" : "PRECONDITIONING", - "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "SOLVER OPTION FOR SUSPENSION" : "SOLVER_OPTION_FOR_SUSPENSION", - "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER FOR SUSPENSION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION", - "SOLVER ACCURACY" : "SOLVER_ACCURACY", - "SOLVER ACCURACY FOR SUSPENSION" : "SOLVER_ACCURACY_FOR_SUSPENSION", - "PRECONDITIONING FOR SUSPENSION" : "PRECONDITIONING_FOR_SUSPENSION", - "MASS-LUMPING" : "MASS_LUMPING", - "TETA" : "TETA", - "ZERO" : "ZERO", - "FINITE VOLUMES" : "FINITE_VOLUMES", - "TYPE OF ADVECTION" : "TYPE_OF_ADVECTION", - "SUPG OPTION" : "SUPG_OPTION", - "MATRIX-VECTOR PRODUCT" : "MATRIX_VECTOR_PRODUCT", - "MATRIX STORAGE" : "MATRIX_STORAGE", - "OPTION FOR THE DIFFUSION OF TRACER" : "OPTION_FOR_THE_DIFFUSION_OF_TRACER", - "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "PARTITIONING TOOL" : "PARTITIONING_TOOL", - "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "TREATMENT OF FLUXES AT THE BOUNDARIES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "BED ROUGHNESS PREDICTOR OPTION" : "BED_ROUGHNESS_PREDICTOR_OPTION", - "SOLVER FOR SUSPENSION" : "SOLVER_FOR_SUSPENSION", - "AD NUMBER OF DERIVATIVES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NAMES OF DERIVATIVES" : "AD_NAMES_OF_DERIVATIVES", - "AD NUMBER OF DIRECTIONS" : "AD_NUMBER_OF_DIRECTIONS", - "AD SYMBOLIC LINEAR SOLVER" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD LINEAR SOLVER RESET DERIVATIVES" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD LINEAR SOLVER DERIVATIVE CONVERGENCE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "WATER DENSITY" : "WATER_DENSITY", - "SEDIMENT DENSITY" : "SEDIMENT_DENSITY", - "NON COHESIVE BED POROSITY" : "NON_COHESIVE_BED_POROSITY", - "GRAVITY ACCELERATION" : "GRAVITY_ACCELERATION", - "WATER VISCOSITY" : "WATER_VISCOSITY", - "SETTLING LAG" : "SETTLING_LAG", - "SETTLING VELOCITIES" : "SETTLING_VELOCITIES", - "SUSPENSION" : "SUSPENSION", - "DISPERSION ALONG THE FLOW" : "DISPERSION_ALONG_THE_FLOW", - "DISPERSION ACROSS THE FLOW" : "DISPERSION_ACROSS_THE_FLOW", - "EQUILIBRIUM INFLOW CONCENTRATION" : "EQUILIBRIUM_INFLOW_CONCENTRATION", - "REFERENCE CONCENTRATION FORMULA" : "REFERENCE_CONCENTRATION_FORMULA", - "CORRECTION ON CONVECTION VELOCITY" : "CORRECTION_ON_CONVECTION_VELOCITY", - "INITIAL SUSPENSION CONCENTRATIONS" : "INITIAL_SUSPENSION_CONCENTRATIONS", - "CONCENTRATION PER CLASS AT BOUNDARIES" : "CONCENTRATION_PER_CLASS_AT_BOUNDARIES", - "DIFFUSION" : "DIFFUSION", - "OPTION FOR THE DISPERSION" : "OPTION_FOR_THE_DISPERSION", - "TETA SUSPENSION" : "TETA_SUSPENSION", - "CRITICAL SHEAR VELOCITY FOR MUD DEPOSITION" : "CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION", - "PARTHENIADES CONSTANT" : "PARTHENIADES_CONSTANT", - "D90" : "D90", - "SEDIMENT DIAMETERS" : "SEDIMENT_DIAMETERS", - "HIDING FACTOR FOR PARTICULAR SIZE CLASS" : "HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS", - "NUMBER OF SIZE-CLASSES OF BED MATERIAL" : "NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL", - "INITIAL FRACTION FOR PARTICULAR SIZE CLASS" : "INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS", - "ACTIVE LAYER THICKNESS" : "ACTIVE_LAYER_THICKNESS", - "HIDING FACTOR FORMULA" : "HIDING_FACTOR_FORMULA", - "CONSTANT ACTIVE LAYER THICKNESS" : "CONSTANT_ACTIVE_LAYER_THICKNESS", - "COHESIVE SEDIMENTS" : "COHESIVE_SEDIMENTS", - "VERTICAL GRAIN SORTING MODEL" : "VERTICAL_GRAIN_SORTING_MODEL", - "C-VSM MAXIMUM SECTIONS" : "C_VSM_MAXIMUM_SECTIONS", - "C-VSM FULL PRINTOUT PERIOD" : "C_VSM_FULL_PRINTOUT_PERIOD", - "C-VSM PRINTOUT SELECTION" : "C_VSM_PRINTOUT_SELECTION", - "C-VSM DYNAMIC ALT MODEL" : "C_VSM_DYNAMIC_ALT_MODEL", - "RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER" : "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "SKIN FRICTION CORRECTION" : "SKIN_FRICTION_CORRECTION", - "FRICTION COEFFICIENT" : "FRICTION_COEFFICIENT", - "LAW OF BOTTOM FRICTION" : "LAW_OF_BOTTOM_FRICTION", - "FORMULA FOR SLOPE EFFECT" : "FORMULA_FOR_SLOPE_EFFECT", - "FRICTION ANGLE OF THE SEDIMENT" : "FRICTION_ANGLE_OF_THE_SEDIMENT", - "FORMULA FOR DEVIATION" : "FORMULA_FOR_DEVIATION", - "PARAMETER FOR DEVIATION" : "PARAMETER_FOR_DEVIATION", - "SEDIMENT SLIDE" : "SEDIMENT_SLIDE", - "SLOPE EFFECT" : "SLOPE_EFFECT", - "BETA" : "BETA", - "BED ROUGHNESS PREDICTION" : "BED_ROUGHNESS_PREDICTION", - "SECONDARY CURRENTS ALPHA COEFFICIENT" : "SECONDARY_CURRENTS_ALPHA_COEFFICIENT", - "MORPHOLOGICAL FACTOR" : "MORPHOLOGICAL_FACTOR", - "MINIMUM DEPTH FOR BEDLOAD" : "MINIMUM_DEPTH_FOR_BEDLOAD", - "BED LOAD" : "BED_LOAD", - "BED-LOAD TRANSPORT FORMULA" : "BED_LOAD_TRANSPORT_FORMULA", - "B VALUE FOR THE BIJKER FORMULA" : "B_VALUE_FOR_THE_BIJKER_FORMULA", - "MPM COEFFICIENT" : "MPM_COEFFICIENT", - "SCHEME OPTION FOR ADVECTION" : "SCHEME_OPTION_FOR_ADVECTION", - "CONSOLIDATION MODEL" : "CONSOLIDATION_MODEL", - "GEL CONCENTRATION" : "GEL_CONCENTRATION", - "MAXIMUM CONCENTRATION" : "MAXIMUM_CONCENTRATION", - "PERMEABILITY COEFFICIENT" : "PERMEABILITY_COEFFICIENT", - "MUD CONSOLIDATION" : "MUD_CONSOLIDATION", - "NUMBER OF LAYERS OF THE CONSOLIDATION MODEL" : "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL", - "MASS TRANSFER PER LAYER" : "MASS_TRANSFER_PER_LAYER", - "MUD CONCENTRATION PER LAYER" : "MUD_CONCENTRATION_PER_LAYER", - "CRITICAL EROSION SHEAR STRESS OF THE MUD" : "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD", - "CONCATENATE PARTEL OUTPUT" : "CONCATENATE_PARTEL_OUTPUT", - "DICTIONARY" : "DICTIONARY", -} diff --git a/Telemac/sisyphe_dicoCasFrToCata.py b/Telemac/sisyphe_dicoCasFrToCata.py deleted file mode 100644 index 9e1036c6..00000000 --- a/Telemac/sisyphe_dicoCasFrToCata.py +++ /dev/null @@ -1,352 +0,0 @@ -dicoCataToFrTelemac = { - "TITLE" : "TITRE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "VALIDATION" : "VALIDATION", - "NUMBER_OF_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES", - "ORIGIN_COORDINATES" : "COORDONNEES DE L'ORIGINE", - "DEBUGGER" : "DEBUGGER", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS", - "NESTOR" : "NESTOR", - "NESTOR_ACTION_FILE" : "FICHIER DE NESTOR ACTION", - "NESTOR_POLYGON_FILE" : "FICHIER DE NESTOR POLYGON", - "NESTOR_RESTART_FILE" : "FICHIER DE NESTOR RESTART", - "NESTOR_SURFACE_REFERENCE_FILE" : "FICHIER DE NESTOR DE SURFACE REFERENCE", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "NOMBRE MAXIMUM DE FRONTIERES", - "FLUXLINE_INPUT_FILE" : "FICHIER DE FLUXLINE", - "FLUXLINE" : "FLUXLINE", - "CONTROL_SECTIONS" : "SECTIONS DE CONTROLE", - "STATIONARY_MODE" : "STATIONARY MODE", - "SHIELDS_PARAMETERS" : "PARAMETRES DE SHIELDS", - "OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS" : "OPTION DE TRAITEMENT DES FONDS NON ERODABLES", - "MINIMAL_VALUE_OF_THE_WATER_HEIGHT" : "VALEUR MINIMUM DE H", - "TIDAL_FLATS" : "BANCS DECOUVRANTS", - "SECONDARY_CURRENTS" : "COURANTS SECONDAIRES", - "SECONDARY_CURRENTS_FILE" : "FICHIER DE COURANTS SECONDAIRES", - "GRAIN_FEEDING" : "GRAIN-FEEDING", - "STEADY_CASE" : "CAS PERMANENT", - "CONSTANT_FLOW_DISCHARGE" : "CONSTANT FLOW DISCHARGE", - "NUMBER_OF_ITERATIONS_FOR_TELEMAC" : "NOMBRE D'ITERATIONS POUR TELEMAC", - "CRITERION_TO_UPDATE_THE_FLOW" : "CRITERE POUR METTRE A JOUR L'HYDRODYNAMIQUE", - "CRITICAL_EVOLUTION_RATIO" : "RAPPORT D'EVOLUTION CRITIQUE", - "NUMBER_OF_BED_LOAD_MODEL_LAYERS" : "NOMBRE DE COUCHES POUR GRANULO ETENDUE", - "MASS_CONCENTRATION" : "CONCENTRATION MASSIQUE", - "EFFECT_OF_WAVES" : "PRISE EN COMPTE DE LA HOULE", - "MIXED_SEDIMENT" : "SEDIMENT MIXTE", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "MEAN_DIAMETER_OF_THE_SEDIMENT" : "DIAMETRE MOYEN DES GRAINS", - "GEOMETRY_FILE_BINARY" : "STANDARD DU FICHIER DE GEOMETRIE", - "HYDRODYNAMIC_FILE_BINARY" : "STANDARD DU FICHIER HYDRODYNAMIQUE", - "BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE" : "STANDARD DU FICHIER PRECEDENT SEDIMENTOLOGIQUE", - "RESULTS_FILE_BINARY" : "STANDARD DU FICHIER RESULTAT", - "REFERENCE_FILE_BINARY" : "STANDARD DU FICHIER DE REFERENCE", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "HYDRODYNAMIC_FILE" : "FICHIER HYDRODYNAMIQUE", - "NAMES_OF_PRIVATE_VARIABLES" : "NOMS DES VARIABLES PRIVEES", - "LIQUID_BOUNDARIES_FILE" : "FICHIER DES FRONTIERES LIQUIDES", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES A IMPRIMER", - "GRAPHIC_PRINTOUT_PERIOD" : "PERIODE DE SORTIE GRAPHIQUE", - "LISTING_PRINTOUT_PERIOD" : "PERIODE DE SORTIE LISTING", - "MASS_BALANCE" : "BILAN DE MASSE", - "SECTIONS_OUTPUT_FILE" : "SECTIONS OUTPUT FILE", - "C_VSM_RESULTS_FILE" : "FICHIER DES RESULTATS C-VSM", - "C_VSM_RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES C-VSM RESULTATS", - "HYDRODYNAMIC_FILE_FORMAT" : "FORMAT DU FICHIER HYDRODYNAMIQUE", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "WAVE_FILE_FORMAT" : "FORMAT DU FICHIER DE HOULE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "WAVE_FILE" : "FICHIER DE HOULE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "SECTIONS_INPUT_FILE" : "FICHIER DES SECTIONS DE CONTROLE", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER PRECEDENT SEDIMENTOLOGIQUE", - "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE" : "FICHIER PRECEDENT SEDIMENTOLOGIQUE", - "COMPUTATION_CONTINUED" : "SUITE DE CALCUL", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES", - "STARTING_TIME_OF_THE_HYDROGRAM" : "TEMPS D'ORIGINE DE L'HYDROGRAMME", - "NUMBER_OF_TIME_STEPS" : "NOMBRE DE PAS DE TEMPS", - "TIME_STEP" : "PAS DE TEMPS", - "NUMBER_OF_SUB_ITERATIONS" : "NOMBRE DE SOUS-ITERATIONS", - "NUMBER_OF_TIDES_OR_FLOODS" : "NOMBRE DE MAREES OU CRUES", - "ORIGINAL_HOUR_OF_TIME" : "HEURE DE L'ORIGINE DES TEMPS", - "ORIGINAL_DATE_OF_TIME" : "DATE DE L'ORIGINE DES TEMPS", - "TIDE_PERIOD" : "PERIODE DE LA MAREE", - "PRESCRIBED_SOLID_DISCHARGES" : "DEBITS SOLIDES IMPOSES", - "SOLVER" : "SOLVEUR", - "SOLVER_OPTION" : "OPTION DU SOLVEUR", - "PRECONDITIONING" : "PRECONDITIONNEMENT", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM D'ITERATIONS POUR LE SOLVEUR", - "SOLVER_OPTION_FOR_SUSPENSION" : "OPTION DU SOLVEUR POUR LA SUSPENSION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION" : "MAXIMUM D'ITERATIONS POUR LE SOLVEUR POUR LA SUSPENSION", - "SOLVER_ACCURACY" : "PRECISION DU SOLVEUR", - "SOLVER_ACCURACY_FOR_SUSPENSION" : "PRECISION DU SOLVEUR POUR LA SUSPENSION", - "PRECONDITIONING_FOR_SUSPENSION" : "PRECONDITIONNEMENT POUR LA SUSPENSION", - "MASS_LUMPING" : "MASS-LUMPING", - "TETA" : "TETA", - "ZERO" : "ZERO", - "FINITE_VOLUMES" : "VOLUMES FINIS", - "TYPE_OF_ADVECTION" : "FORME DE LA CONVECTION", - "SUPG_OPTION" : "OPTION DE SUPG", - "MATRIX_VECTOR_PRODUCT" : "PRODUIT MATRICE-VECTEUR", - "MATRIX_STORAGE" : "STOCKAGE DES MATRICES", - "OPTION_FOR_THE_DIFFUSION_OF_TRACER" : "OPTION POUR LA DIFFUSION DU TRACEUR", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION", - "PARTITIONING_TOOL" : "PARTITIONNEUR", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TRAITEMENT DES FLUX AUX FRONTIERES", - "BED_ROUGHNESS_PREDICTOR_OPTION" : "OPTION DU PREDICTEUR DE RUGOSITE", - "SOLVER_FOR_SUSPENSION" : "SOLVEUR POUR LA SUSPENSION", - "AD_NUMBER_OF_DERIVATIVES" : "AD NOMBRE DE DERIVEES", - "AD_NAMES_OF_DERIVATIVES" : "AD NOMS DES DERIVEES", - "AD_NUMBER_OF_DIRECTIONS" : "AD NOMBRE DE DIRECTIONS", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SOLVEUR LINEAIRE SYMBOLIQUE", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE", - "WATER_DENSITY" : "MASSE VOLUMIQUE DE L'EAU", - "SEDIMENT_DENSITY" : "MASSE VOLUMIQUE DU SEDIMENT", - "NON_COHESIVE_BED_POROSITY" : "POROSITE DU LIT NON COHESIF", - "GRAVITY_ACCELERATION" : "GRAVITE", - "WATER_VISCOSITY" : "VISCOSITE CINEMATIQUE EAU", - "SETTLING_LAG" : "SETTLING LAG", - "SETTLING_VELOCITIES" : "VITESSES DE CHUTE", - "SUSPENSION" : "SUSPENSION", - "DISPERSION_ALONG_THE_FLOW" : "DISPERSION LONGITUDINALE", - "DISPERSION_ACROSS_THE_FLOW" : "DISPERSION TRANSVERSALE", - "EQUILIBRIUM_INFLOW_CONCENTRATION" : "CONCENTRATION D'EQUILIBRE EN ENTREE", - "REFERENCE_CONCENTRATION_FORMULA" : "FORMULE POUR LA CONCENTRATION DE REFERENCE", - "CORRECTION_ON_CONVECTION_VELOCITY" : "CORRECTION DU CHAMP CONVECTEUR", - "INITIAL_SUSPENSION_CONCENTRATIONS" : "CONCENTRATIONS INITIALES EN SUSPENSION", - "CONCENTRATION_PER_CLASS_AT_BOUNDARIES" : "CONCENTRATIONS PAR CLASSE AUX FRONTIERES", - "DIFFUSION" : "DIFFUSION", - "OPTION_FOR_THE_DISPERSION" : "OPTION POUR LA DISPERSION", - "TETA_SUSPENSION" : "TETA SUSPENSION", - "CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION" : "VITESSE CRITIQUE DE DEPOT DE LA VASE", - "PARTHENIADES_CONSTANT" : "CONSTANTE DE PARTHENIADES", - "D90" : "D90", - "SEDIMENT_DIAMETERS" : "DIAMETRES DES GRAINS", - "HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS" : "HIDING FACTOR PAR CLASSE GRANULO", - "NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL" : "NOMBRE DE CLASSES GRANULOMETRIQUES", - "INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS" : "FRACTION INITIALE PAR CLASSE SEDIMENTOLOGIQUE", - "ACTIVE_LAYER_THICKNESS" : "EPAISSEUR DE COUCHE ACTIVE", - "HIDING_FACTOR_FORMULA" : "HIDING FACTOR FORMULA", - "CONSTANT_ACTIVE_LAYER_THICKNESS" : "EPAISSEUR DE COUCHE ACTIVE CONSTANTE", - "COHESIVE_SEDIMENTS" : "SEDIMENTS COHESIFS", - "VERTICAL_GRAIN_SORTING_MODEL" : "VERTICAL GRAIN SORTING MODEL", - "C_VSM_MAXIMUM_SECTIONS" : "C-VSM MAXIMUM SECTIONS", - "C_VSM_FULL_PRINTOUT_PERIOD" : "C-VSM FULL PRINTOUT PERIOD", - "C_VSM_PRINTOUT_SELECTION" : "C-VSM PRINTOUT SELECTION", - "C_VSM_DYNAMIC_ALT_MODEL" : "C-VSM DYNAMIC ALT MODEL", - "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER" : "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN", - "SKIN_FRICTION_CORRECTION" : "CORRECTION FROTTEMENT DE PEAU", - "FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT", - "LAW_OF_BOTTOM_FRICTION" : "LOI DE FROTTEMENT SUR LE FOND", - "FORMULA_FOR_SLOPE_EFFECT" : "FORMULE POUR EFFET DE PENTE", - "FRICTION_ANGLE_OF_THE_SEDIMENT" : "ANGLE DE FROTTEMENT DU SEDIMENT", - "FORMULA_FOR_DEVIATION" : "FORMULE POUR LA DEVIATION", - "PARAMETER_FOR_DEVIATION" : "PARAMETRE POUR LA DEVIATION", - "SEDIMENT_SLIDE" : "GLISSEMENT DU SEDIMENT", - "SLOPE_EFFECT" : "EFFET DE PENTE", - "BETA" : "BETA", - "BED_ROUGHNESS_PREDICTION" : "PREDICTION DE LA RUGOSITE", - "SECONDARY_CURRENTS_ALPHA_COEFFICIENT" : "SECONDARY CURRENTS ALPHA COEFFICIENT", - "MORPHOLOGICAL_FACTOR" : "FACTEUR MORPHOLOGIQUE", - "MINIMUM_DEPTH_FOR_BEDLOAD" : "PROFONDEUR MINIMUM POUR LE CHARRIAGE", - "BED_LOAD" : "CHARRIAGE", - "BED_LOAD_TRANSPORT_FORMULA" : "FORMULE DE TRANSPORT SOLIDE", - "B_VALUE_FOR_THE_BIJKER_FORMULA" : "COEFFICIENT B DE LA FORMULE DE BIJKER", - "MPM_COEFFICIENT" : "MPM COEFFICIENT", - "SCHEME_OPTION_FOR_ADVECTION" : "OPTION DU SCHEMA POUR LA CONVECTION", - "CONSOLIDATION_MODEL" : "OPTION DU MODELE DE TASSEMENT", - "GEL_CONCENTRATION" : "CONCENTRATION GEL", - "MAXIMUM_CONCENTRATION" : "CONCENTRATION MAXIMALE", - "PERMEABILITY_COEFFICIENT" : "COEFFICIENT DE PERMEABILITE", - "MUD_CONSOLIDATION" : "TASSEMENT DU LIT COHESIF", - "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL" : "NOMBRE DE COUCHES POUR LE TASSEMENT", - "MASS_TRANSFER_PER_LAYER" : "TRANSFERT DE MASSE PAR COUCHE", - "MUD_CONCENTRATION_PER_LAYER" : "CONCENTRATIONS DU LIT DE VASE", - "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD" : "CONTRAINTE CRITIQUE D'EROSION DE LA VASE", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATION SORTIE PARTEL", - "DICTIONARY" : "DICTIONNAIRE", -} -dicoCasFrToCata = { - "TITRE" : "TITLE", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "VALIDATION" : "VALIDATION", - "NOMBRE DE TABLEAUX PRIVES" : "NUMBER_OF_PRIVATE_ARRAYS", - "COORDONNEES DE L'ORIGINE" : "ORIGIN_COORDINATES", - "DEBUGGER" : "DEBUGGER", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "NESTOR" : "NESTOR", - "FICHIER DE NESTOR ACTION" : "NESTOR_ACTION_FILE", - "FICHIER DE NESTOR POLYGON" : "NESTOR_POLYGON_FILE", - "FICHIER DE NESTOR RESTART" : "NESTOR_RESTART_FILE", - "FICHIER DE NESTOR DE SURFACE REFERENCE" : "NESTOR_SURFACE_REFERENCE_FILE", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "FICHIER DE FLUXLINE" : "FLUXLINE_INPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "SECTIONS DE CONTROLE" : "CONTROL_SECTIONS", - "STATIONARY MODE" : "STATIONARY_MODE", - "PARAMETRES DE SHIELDS" : "SHIELDS_PARAMETERS", - "OPTION DE TRAITEMENT DES FONDS NON ERODABLES" : "OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS", - "VALEUR MINIMUM DE H" : "MINIMAL_VALUE_OF_THE_WATER_HEIGHT", - "BANCS DECOUVRANTS" : "TIDAL_FLATS", - "COURANTS SECONDAIRES" : "SECONDARY_CURRENTS", - "FICHIER DE COURANTS SECONDAIRES" : "SECONDARY_CURRENTS_FILE", - "GRAIN-FEEDING" : "GRAIN_FEEDING", - "CAS PERMANENT" : "STEADY_CASE", - "CONSTANT FLOW DISCHARGE" : "CONSTANT_FLOW_DISCHARGE", - "NOMBRE D'ITERATIONS POUR TELEMAC" : "NUMBER_OF_ITERATIONS_FOR_TELEMAC", - "CRITERE POUR METTRE A JOUR L'HYDRODYNAMIQUE" : "CRITERION_TO_UPDATE_THE_FLOW", - "RAPPORT D'EVOLUTION CRITIQUE" : "CRITICAL_EVOLUTION_RATIO", - "NOMBRE DE COUCHES POUR GRANULO ETENDUE" : "NUMBER_OF_BED_LOAD_MODEL_LAYERS", - "CONCENTRATION MASSIQUE" : "MASS_CONCENTRATION", - "PRISE EN COMPTE DE LA HOULE" : "EFFECT_OF_WAVES", - "SEDIMENT MIXTE" : "MIXED_SEDIMENT", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DIAMETRE MOYEN DES GRAINS" : "MEAN_DIAMETER_OF_THE_SEDIMENT", - "STANDARD DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_BINARY", - "STANDARD DU FICHIER HYDRODYNAMIQUE" : "HYDRODYNAMIC_FILE_BINARY", - "STANDARD DU FICHIER PRECEDENT SEDIMENTOLOGIQUE" : "BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "STANDARD DU FICHIER RESULTAT" : "RESULTS_FILE_BINARY", - "STANDARD DU FICHIER DE REFERENCE" : "REFERENCE_FILE_BINARY", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FICHIER HYDRODYNAMIQUE" : "HYDRODYNAMIC_FILE", - "NOMS DES VARIABLES PRIVEES" : "NAMES_OF_PRIVATE_VARIABLES", - "FICHIER DES FRONTIERES LIQUIDES" : "LIQUID_BOUNDARIES_FILE", - "FORMAT DU FICHIER DES RESULTATS" : "RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "VARIABLES A IMPRIMER" : "VARIABLES_TO_BE_PRINTED", - "PERIODE DE SORTIE GRAPHIQUE" : "GRAPHIC_PRINTOUT_PERIOD", - "PERIODE DE SORTIE LISTING" : "LISTING_PRINTOUT_PERIOD", - "BILAN DE MASSE" : "MASS_BALANCE", - "SECTIONS OUTPUT FILE" : "SECTIONS_OUTPUT_FILE", - "FICHIER DES RESULTATS C-VSM" : "C_VSM_RESULTS_FILE", - "FORMAT DU FICHIER DES C-VSM RESULTATS" : "C_VSM_RESULTS_FILE_FORMAT", - "FORMAT DU FICHIER HYDRODYNAMIQUE" : "HYDRODYNAMIC_FILE_FORMAT", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FORMAT DU FICHIER DE HOULE" : "WAVE_FILE_FORMAT", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER DE HOULE" : "WAVE_FILE", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "FICHIER DES SECTIONS DE CONTROLE" : "SECTIONS_INPUT_FILE", - "FORMAT DU FICHIER PRECEDENT SEDIMENTOLOGIQUE" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT", - "FICHIER PRECEDENT SEDIMENTOLOGIQUE" : "PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "SUITE DE CALCUL" : "COMPUTATION_CONTINUED", - "VARIABLES POUR LES SORTIES GRAPHIQUES" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "TEMPS D'ORIGINE DE L'HYDROGRAMME" : "STARTING_TIME_OF_THE_HYDROGRAM", - "NOMBRE DE PAS DE TEMPS" : "NUMBER_OF_TIME_STEPS", - "PAS DE TEMPS" : "TIME_STEP", - "NOMBRE DE SOUS-ITERATIONS" : "NUMBER_OF_SUB_ITERATIONS", - "NOMBRE DE MAREES OU CRUES" : "NUMBER_OF_TIDES_OR_FLOODS", - "HEURE DE L'ORIGINE DES TEMPS" : "ORIGINAL_HOUR_OF_TIME", - "DATE DE L'ORIGINE DES TEMPS" : "ORIGINAL_DATE_OF_TIME", - "PERIODE DE LA MAREE" : "TIDE_PERIOD", - "DEBITS SOLIDES IMPOSES" : "PRESCRIBED_SOLID_DISCHARGES", - "SOLVEUR" : "SOLVER", - "OPTION DU SOLVEUR" : "SOLVER_OPTION", - "PRECONDITIONNEMENT" : "PRECONDITIONING", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "OPTION DU SOLVEUR POUR LA SUSPENSION" : "SOLVER_OPTION_FOR_SUSPENSION", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR POUR LA SUSPENSION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION", - "PRECISION DU SOLVEUR" : "SOLVER_ACCURACY", - "PRECISION DU SOLVEUR POUR LA SUSPENSION" : "SOLVER_ACCURACY_FOR_SUSPENSION", - "PRECONDITIONNEMENT POUR LA SUSPENSION" : "PRECONDITIONING_FOR_SUSPENSION", - "MASS-LUMPING" : "MASS_LUMPING", - "TETA" : "TETA", - "ZERO" : "ZERO", - "VOLUMES FINIS" : "FINITE_VOLUMES", - "FORME DE LA CONVECTION" : "TYPE_OF_ADVECTION", - "OPTION DE SUPG" : "SUPG_OPTION", - "PRODUIT MATRICE-VECTEUR" : "MATRIX_VECTOR_PRODUCT", - "STOCKAGE DES MATRICES" : "MATRIX_STORAGE", - "OPTION POUR LA DIFFUSION DU TRACEUR" : "OPTION_FOR_THE_DIFFUSION_OF_TRACER", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "PARTITIONNEUR" : "PARTITIONING_TOOL", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "TRAITEMENT DES FLUX AUX FRONTIERES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "OPTION DU PREDICTEUR DE RUGOSITE" : "BED_ROUGHNESS_PREDICTOR_OPTION", - "SOLVEUR POUR LA SUSPENSION" : "SOLVER_FOR_SUSPENSION", - "AD NOMBRE DE DERIVEES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES" : "AD_NAMES_OF_DERIVATIVES", - "AD NOMBRE DE DIRECTIONS" : "AD_NUMBER_OF_DIRECTIONS", - "AD SOLVEUR LINEAIRE SYMBOLIQUE" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "MASSE VOLUMIQUE DE L'EAU" : "WATER_DENSITY", - "MASSE VOLUMIQUE DU SEDIMENT" : "SEDIMENT_DENSITY", - "POROSITE DU LIT NON COHESIF" : "NON_COHESIVE_BED_POROSITY", - "GRAVITE" : "GRAVITY_ACCELERATION", - "VISCOSITE CINEMATIQUE EAU" : "WATER_VISCOSITY", - "SETTLING LAG" : "SETTLING_LAG", - "VITESSES DE CHUTE" : "SETTLING_VELOCITIES", - "SUSPENSION" : "SUSPENSION", - "DISPERSION LONGITUDINALE" : "DISPERSION_ALONG_THE_FLOW", - "DISPERSION TRANSVERSALE" : "DISPERSION_ACROSS_THE_FLOW", - "CONCENTRATION D'EQUILIBRE EN ENTREE" : "EQUILIBRIUM_INFLOW_CONCENTRATION", - "FORMULE POUR LA CONCENTRATION DE REFERENCE" : "REFERENCE_CONCENTRATION_FORMULA", - "CORRECTION DU CHAMP CONVECTEUR" : "CORRECTION_ON_CONVECTION_VELOCITY", - "CONCENTRATIONS INITIALES EN SUSPENSION" : "INITIAL_SUSPENSION_CONCENTRATIONS", - "CONCENTRATIONS PAR CLASSE AUX FRONTIERES" : "CONCENTRATION_PER_CLASS_AT_BOUNDARIES", - "DIFFUSION" : "DIFFUSION", - "OPTION POUR LA DISPERSION" : "OPTION_FOR_THE_DISPERSION", - "TETA SUSPENSION" : "TETA_SUSPENSION", - "VITESSE CRITIQUE DE DEPOT DE LA VASE" : "CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION", - "CONSTANTE DE PARTHENIADES" : "PARTHENIADES_CONSTANT", - "D90" : "D90", - "DIAMETRES DES GRAINS" : "SEDIMENT_DIAMETERS", - "HIDING FACTOR PAR CLASSE GRANULO" : "HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS", - "NOMBRE DE CLASSES GRANULOMETRIQUES" : "NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL", - "FRACTION INITIALE PAR CLASSE SEDIMENTOLOGIQUE" : "INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS", - "EPAISSEUR DE COUCHE ACTIVE" : "ACTIVE_LAYER_THICKNESS", - "HIDING FACTOR FORMULA" : "HIDING_FACTOR_FORMULA", - "EPAISSEUR DE COUCHE ACTIVE CONSTANTE" : "CONSTANT_ACTIVE_LAYER_THICKNESS", - "SEDIMENTS COHESIFS" : "COHESIVE_SEDIMENTS", - "VERTICAL GRAIN SORTING MODEL" : "VERTICAL_GRAIN_SORTING_MODEL", - "C-VSM MAXIMUM SECTIONS" : "C_VSM_MAXIMUM_SECTIONS", - "C-VSM FULL PRINTOUT PERIOD" : "C_VSM_FULL_PRINTOUT_PERIOD", - "C-VSM PRINTOUT SELECTION" : "C_VSM_PRINTOUT_SELECTION", - "C-VSM DYNAMIC ALT MODEL" : "C_VSM_DYNAMIC_ALT_MODEL", - "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN" : "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "CORRECTION FROTTEMENT DE PEAU" : "SKIN_FRICTION_CORRECTION", - "COEFFICIENT DE FROTTEMENT" : "FRICTION_COEFFICIENT", - "LOI DE FROTTEMENT SUR LE FOND" : "LAW_OF_BOTTOM_FRICTION", - "FORMULE POUR EFFET DE PENTE" : "FORMULA_FOR_SLOPE_EFFECT", - "ANGLE DE FROTTEMENT DU SEDIMENT" : "FRICTION_ANGLE_OF_THE_SEDIMENT", - "FORMULE POUR LA DEVIATION" : "FORMULA_FOR_DEVIATION", - "PARAMETRE POUR LA DEVIATION" : "PARAMETER_FOR_DEVIATION", - "GLISSEMENT DU SEDIMENT" : "SEDIMENT_SLIDE", - "EFFET DE PENTE" : "SLOPE_EFFECT", - "BETA" : "BETA", - "PREDICTION DE LA RUGOSITE" : "BED_ROUGHNESS_PREDICTION", - "SECONDARY CURRENTS ALPHA COEFFICIENT" : "SECONDARY_CURRENTS_ALPHA_COEFFICIENT", - "FACTEUR MORPHOLOGIQUE" : "MORPHOLOGICAL_FACTOR", - "PROFONDEUR MINIMUM POUR LE CHARRIAGE" : "MINIMUM_DEPTH_FOR_BEDLOAD", - "CHARRIAGE" : "BED_LOAD", - "FORMULE DE TRANSPORT SOLIDE" : "BED_LOAD_TRANSPORT_FORMULA", - "COEFFICIENT B DE LA FORMULE DE BIJKER" : "B_VALUE_FOR_THE_BIJKER_FORMULA", - "MPM COEFFICIENT" : "MPM_COEFFICIENT", - "OPTION DU SCHEMA POUR LA CONVECTION" : "SCHEME_OPTION_FOR_ADVECTION", - "OPTION DU MODELE DE TASSEMENT" : "CONSOLIDATION_MODEL", - "CONCENTRATION GEL" : "GEL_CONCENTRATION", - "CONCENTRATION MAXIMALE" : "MAXIMUM_CONCENTRATION", - "COEFFICIENT DE PERMEABILITE" : "PERMEABILITY_COEFFICIENT", - "TASSEMENT DU LIT COHESIF" : "MUD_CONSOLIDATION", - "NOMBRE DE COUCHES POUR LE TASSEMENT" : "NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL", - "TRANSFERT DE MASSE PAR COUCHE" : "MASS_TRANSFER_PER_LAYER", - "CONCENTRATIONS DU LIT DE VASE" : "MUD_CONCENTRATION_PER_LAYER", - "CONTRAINTE CRITIQUE D'EROSION DE LA VASE" : "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD", - "CONCATENATION SORTIE PARTEL" : "CONCATENATE_PARTEL_OUTPUT", - "DICTIONNAIRE" : "DICTIONARY", -} diff --git a/Telemac/sisyphe_enum_auto.py b/Telemac/sisyphe_enum_auto.py deleted file mode 100644 index 8034a51b..00000000 --- a/Telemac/sisyphe_enum_auto.py +++ /dev/null @@ -1,677 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'VARIABLES_TO_BE_PRINTED' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wawe celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"bed-load discharge (m2/s)", - 'N':"bed-load discharge along x axis (m2/s)", - 'P':"bed-load discharge along y axis (m2/s)", - 'E':"bottom evolution (m)", - 'R':"non erodable bottom", - 'KS':"bed friction coefficient (m if Nikuradse)", - 'TOB':"mean bottom friction (N/m2)", - 'THETAW':"wave angle with axis Oy (deg)", - 'W':"wave height", - 'X':"wave period", - '1Ai':"fraction of sediment of class i in the first layer", - '2Ai':"fraction of sediment of class i in the second layer", - 'QSi':"bed load transport rate of sediment of class i", - '*ES': "thicknes of bed layer i", - '*CONC': "concentration of bed layer i ", - 'CSi':"concentration for class i", - 'CSAT':"saturated concentration (kg/m3)", - 'A':"supplementary variable A", - 'G':"supplementary variable G", - 'L':"supplementary variable L", - 'O':"supplementary variable O", - 'ZRL':"reference level for Nestor ", - }, -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wawe celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"bed-load discharge (m2/s)", - 'N':"bed-load discharge along x axis (m2/s)", - 'P':"bed-load discharge along y axis (m2/s)", - 'E':"bottom evolution (m)", - 'R':"non erodable bottom", - 'KS':"total bed roughness (m)", - 'TOB':"Bed Shear stress (Totalfriction) (N/m2)", - 'MU':"Skin friction correction factor", - 'D50':"Mean grain diameter", - 'THETAW':"wave angle with axis Oy (deg)", - 'QSSUSP':"suspended load transport rate (m2/s)", - 'QSBL':"bed load transport rate (m2/s)", - 'W':"wave height", - 'X':"wave period", - 'UWB':"wave orbital velocity (m/s)", - '1Ai':"fraction of sediment of class i in the first layer", - '2Ai':"fraction of sediment of class i in the second layer", - 'kAi':"fraction of sediment of class i in the k layer", - 'kES':"thickness of the k layer", - 'kCONC':"concentration of bed layer k", - 'QSi':"bed load transport rate of sediment of class i", - 'CSi':"concentration volumic or mass concentration for class i", - 'CSAT':"saturated concentration (kg/m3)", - 'A':"supplementary variable A", - 'G':"supplementary variable G", - 'L':"supplementary variable L", - 'O':"supplementary variable O", - 'ZRL':"reference level for Nestor ", - }, -'SOLVER' : { - 3:"conjugate gradient on a normal equation", - 1:"conjugate gradient", - 2:"conjugate residual", - 4:"minimum error", - 6:"cgstab", - 7:"gmres", - 8:"direct", - }, -'PRECONDITIONING' : { - 2:"diagonal", - 0:"no preconditioning", - 3:"diagonal condensee", - 7:"crout", - 14:"diagonal and crout", - 21:"diagonal condensed and crout", - }, -'PRECONDITIONING_FOR_SUSPENSION' : { - 2:"diagonal", - 0:"no preconditioning", - 3:"diagonal condensee", - 7:"crout", - }, -'TYPE_OF_ADVECTION' : { - 1:"CHARACTERISTICS", - 2:"SUPG", - 3:"CONSERVATIVE N-SCHEME", - 4:"CONSERVATIVE N-SCHEME", - 5:"CONSERVATIVE PSI-SCHEME", - 6:"NON CONSERVATIVE PSI SCHEME", - 7:"IMPLICIT NON CONSERVATIVE N SCHEME", - 13:"EDGE-BASED N-SCHEME", - 14:"EDGE-BASED N-SCHEME", - 15:"ERIA SCHEME", - }, -'OPTION_FOR_THE_DIFFUSION_OF_TRACER' : { - 1:"div( nu grad(T) )", - 2:"1/h div ( h nu grad(T)", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priority to prescribed values", - 2:"Priority to fluxes", - }, -'SOLVER_FOR_SUSPENSION' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 7:"gmres (see option for the solver for tracer diffusion)", - 8:"direct", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"FLAT BOTTOM", - 1:"EQUILIBRIUM SAND RIPPLES (WAVES ONLY) KS=(MAX 3D50,ETA)", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -} -TelemacdicoFr = { -'VARIABLES_TO_BE_PRINTED' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite", - 'H':"hauteur d eau (m)", - 'S':"cote de la surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit", - 'I':"composante du debit selon l axe des x", - 'J':"composante du debit selon l axe des y", - 'M':"debit solide", - 'N':"composante du debit solide selon l axe des x", - 'P':"composante du debit solide selon l axe des y", - 'E':"evolution du fond", - 'R':"fonds non erodables", - 'W':"hauteur de houle", - 'X':"periode de houle", - 'KS':"coefficient de frottement (m)", - 'TOB':"frottement moyen (N/m2)", - 'THETAW':"angle entre la houle et l'axe Oy (deg)", - '1Ai':"fraction de sediment de la classe i dans la premiere couche", - '2Ai':"fraction de sediment de la classe i dans la deuxieme couche", - 'QSi':"debit solide pour la classe i", - 'CSi':"concentration pour la classe i", - '*ES': "thicknes of bed layer i", - '*CONC': "concentration of bed layer i ", - 'CSAT':"saturated concentration (kg/m3)", - 'A':"variable supplementaire A", - 'G':"variable supplementaire G", - 'L':"variable supplementaire L", - 'O':"variable supplementaire O", - 'ZRL':"reference level for Nestor", - }, -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite", - 'H':"hauteur d eau (m)", - 'S':"cote de la surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit", - 'I':"composante du debit selon l axe des x", - 'J':"composante du debit selon l axe des y", - 'M':"debit solide", - 'N':"composante du debit solide selon l axe des x", - 'P':"composante du debit solide selon l axe des y", - 'E':"evolution du fond", - 'R':"fonds non erodables", - 'W':"hauteur de houle", - 'X':"periode de houle", - 'UWB':"wave orbital velocity (m/s)", - 'KS':"coefficient de Rugosite totale (m)", - 'TOB':"Contrainte de frottement(N/m2)", - 'MU':"Coefficient de correction pour frottement de peau", - 'D50':"Diametre moyen du sediment", - 'THETAW':"angle entre la houle et l'axe Oy (deg)", - 'QSSUSP':"taux de transport en suspension", - 'QSBL':"taux de transport par charriage", - '1Ai':"fraction de sediment de la classe i dans la premiere couche", - '2Ai':"fraction de sediment de la classe i dans la deuxieme couche", - 'kAi':"fraction of sediment of class i in the k layer", - 'kES':"thickness of the k layer", - 'kCONC':"concentration of bed layer k", - 'QSi':"debit solide pour la classe i", - 'CSi':"concentration volumique ou g/l pour la classe i", - 'CSAT':"concentration volumique equil ou g/l", - 'A':"variable supplementaire A", - 'G':"variable supplementaire G", - 'L':"variable supplementaire L", - 'O':"variable supplementaire O", - 'ZRL':"reference level for Nestor ", - }, -'SOLVER' : { - 3:"equation normale", - 1:"gradient conjuge", - 2:"residu conjuge", - 4:"erreur minimale", - 6:"cgstab", - 7:"gmres", - 8:"direct", - }, -'PRECONDITIONING' : { - 2:"diagonal", - 0:"aucun", - 3:"diagonal condensee", - 7:"crout", - 14:"diagonal et crout", - 21:"diagonal condense et crout", - }, -'PRECONDITIONING_FOR_SUSPENSION' : { - 2:"diagonal", - 0:"aucun", - 3:"diagonal condensee", - 7:"crout", - }, -'TYPE_OF_ADVECTION' : { - 1:"CARACTERISTIQUES", - 2:"SUPG", - 3:"SCHEMA N CONSERVATIF", - 4:"SCHEMA N CONSERVATIF", - 5:"SCHEMA PSI CONSERVATIF", - 6:"SCHEMA PSI NON CONSERVATIF", - 7:"SCHEMA N IMPLICITE NON CONSERVATIF", - 13:"SCHEMA N PAR SEGMENTS", - 14:"SCHEMA N PAR SEGMENTS", - 15:"SCHEMA ERIA", - }, -'OPTION_FOR_THE_DIFFUSION_OF_TRACER' : { - 1:"div( nu grad(T) )", - 2:"1/h div ( h nu grad(T)", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priorite aux valeurs imposees", - 2:"Priorite aux flux", - }, -'SOLVER_FOR_SUSPENSION' : { - 1:"gradient conjuge", - 2:"residu conjuge", - 3:"gradient conjuge sur equation normale", - 4:"erreur minimale", - 7:"gmres (voir ausi option du solveur)", - 8:"direct", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"FLAT BOTTOM", - 1:"EQUILIBRIUM SAND RIPPLES (WAVES ONLY) KS=(MAX 3D50,ETA)", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -} - -DicoCasFrToCata = { - "TITRE":"TITLE", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "VALIDATION":"VALIDATION", - "NOMBRE DE TABLEAUX PRIVES":"NUMBER_OF_PRIVATE_ARRAYS", - "COORDONNEES DE L'ORIGINE":"ORIGIN_COORDINATES", - "DEBUGGER":"DEBUGGER", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS":"OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "NESTOR":"NESTOR", - "FICHIER DE NESTOR ACTION":"NESTOR_ACTION_FILE", - "FICHIER DE NESTOR POLYGON":"NESTOR_POLYGON_FILE", - "FICHIER DE NESTOR RESTART":"NESTOR_RESTART_FILE", - "FICHIER DE NESTOR DE SURFACE REFERENCE":"NESTOR_SURFACE_REFERENCE_FILE", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES":"MAXIMUM_NUMBER_OF_BOUNDARIES", - "FICHIER DE FLUXLINE":"FLUXLINE_INPUT_FILE", - "FLUXLINE":"FLUXLINE", - "SECTIONS DE CONTROLE":"CONTROL_SECTIONS", - "STATIONARY MODE":"STATIONARY_MODE", - "PARAMETRES DE SHIELDS":"SHIELDS_PARAMETERS", - "OPTION DE TRAITEMENT DES FONDS NON ERODABLES":"OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS", - "VALEUR MINIMUM DE H":"MINIMAL_VALUE_OF_THE_WATER_HEIGHT", - "BANCS DECOUVRANTS":"TIDAL_FLATS", - "COURANTS SECONDAIRES":"SECONDARY_CURRENTS", - "FICHIER DE COURANTS SECONDAIRES":"SECONDARY_CURRENTS_FILE", - "GRAIN-FEEDING":"GRAIN_FEEDING", - "CAS PERMANENT":"STEADY_CASE", - "CONSTANT FLOW DISCHARGE":"CONSTANT_FLOW_DISCHARGE", - "NOMBRE D'ITERATIONS POUR TELEMAC":"NUMBER_OF_ITERATIONS_FOR_TELEMAC", - "CRITERE POUR METTRE A JOUR L'HYDRODYNAMIQUE":"CRITERION_TO_UPDATE_THE_FLOW", - "RAPPORT D'EVOLUTION CRITIQUE":"CRITICAL_EVOLUTION_RATIO", - "NOMBRE DE COUCHES POUR GRANULO ETENDUE":"NUMBER_OF_BED_LOAD_MODEL_LAYERS", - "CONCENTRATION MASSIQUE":"MASS_CONCENTRATION", - "PRISE EN COMPTE DE LA HOULE":"EFFECT_OF_WAVES", - "SEDIMENT MIXTE":"MIXED_SEDIMENT", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DIAMETRE MOYEN DES GRAINS":"MEAN_DIAMETER_OF_THE_SEDIMENT", - "STANDARD DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_BINARY", - "STANDARD DU FICHIER HYDRODYNAMIQUE":"HYDRODYNAMIC_FILE_BINARY", - "STANDARD DU FICHIER PRECEDENT SEDIMENTOLOGIQUE":"BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "STANDARD DU FICHIER RESULTAT":"RESULTS_FILE_BINARY", - "STANDARD DU FICHIER DE REFERENCE":"REFERENCE_FILE_BINARY", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FICHIER HYDRODYNAMIQUE":"HYDRODYNAMIC_FILE", - "NOMS DES VARIABLES PRIVEES":"NAMES_OF_PRIVATE_VARIABLES", - "FICHIER DES FRONTIERES LIQUIDES":"LIQUID_BOUNDARIES_FILE", - "FORMAT DU FICHIER DES RESULTATS":"RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "VARIABLES A IMPRIMER":"VARIABLES_TO_BE_PRINTED", - "PERIODE DE SORTIE GRAPHIQUE":"GRAPHIC_PRINTOUT_PERIOD", - "PERIODE DE SORTIE LISTING":"LISTING_PRINTOUT_PERIOD", - "BILAN DE MASSE":"MASS_BALANCE", - "SECTIONS OUTPUT FILE":"SECTIONS_OUTPUT_FILE", - "FICHIER DES RESULTATS C-VSM":"C_VSM_RESULTS_FILE", - "FORMAT DU FICHIER DES C-VSM RESULTATS":"C_VSM_RESULTS_FILE_FORMAT", - "FORMAT DU FICHIER HYDRODYNAMIQUE":"HYDRODYNAMIC_FILE_FORMAT", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FORMAT DU FICHIER DE HOULE":"WAVE_FILE_FORMAT", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER DE HOULE":"WAVE_FILE", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "FICHIER DES SECTIONS DE CONTROLE":"SECTIONS_INPUT_FILE", - "FORMAT DU FICHIER PRECEDENT SEDIMENTOLOGIQUE":"PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT", - "FICHIER PRECEDENT SEDIMENTOLOGIQUE":"PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE", - "SUITE DE CALCUL":"COMPUTATION_CONTINUED", - "VARIABLES POUR LES SORTIES GRAPHIQUES":"VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "TEMPS D'ORIGINE DE L'HYDROGRAMME":"STARTING_TIME_OF_THE_HYDROGRAM", - "NOMBRE DE PAS DE TEMPS":"NUMBER_OF_TIME_STEPS", - "PAS DE TEMPS":"TIME_STEP", - "NOMBRE DE SOUS-ITERATIONS":"NUMBER_OF_SUB_ITERATIONS", - "NOMBRE DE MAREES OU CRUES":"NUMBER_OF_TIDES_OR_FLOODS", - "HEURE DE L'ORIGINE DES TEMPS":"ORIGINAL_HOUR_OF_TIME", - "DATE DE L'ORIGINE DES TEMPS":"ORIGINAL_DATE_OF_TIME", - "PERIODE DE LA MAREE":"TIDE_PERIOD", - "DEBITS SOLIDES IMPOSES":"PRESCRIBED_SOLID_DISCHARGES", - "SOLVEUR":"SOLVER", - "OPTION DU SOLVEUR":"SOLVER_OPTION", - "PRECONDITIONNEMENT":"PRECONDITIONING", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "OPTION DU SOLVEUR POUR LA SUSPENSION":"SOLVER_OPTION_FOR_SUSPENSION", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR POUR LA SUSPENSION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION", - "PRECISION DU SOLVEUR":"SOLVER_ACCURACY", - "PRECISION DU SOLVEUR POUR LA SUSPENSION":"SOLVER_ACCURACY_FOR_SUSPENSION", - "PRECONDITIONNEMENT POUR LA SUSPENSION":"PRECONDITIONING_FOR_SUSPENSION", - "MASS-LUMPING":"MASS_LUMPING", - "TETA":"TETA", - "ZERO":"ZERO", - "VOLUMES FINIS":"FINITE_VOLUMES", - "FORME DE LA CONVECTION":"TYPE_OF_ADVECTION", - "OPTION DE SUPG":"SUPG_OPTION", - "PRODUIT MATRICE-VECTEUR":"MATRIX_VECTOR_PRODUCT", - "STOCKAGE DES MATRICES":"MATRIX_STORAGE", - "OPTION POUR LA DIFFUSION DU TRACEUR":"OPTION_FOR_THE_DIFFUSION_OF_TRACER", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "PARTITIONNEUR":"PARTITIONING_TOOL", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "TRAITEMENT DES FLUX AUX FRONTIERES":"TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "OPTION DU PREDICTEUR DE RUGOSITE":"BED_ROUGHNESS_PREDICTOR_OPTION", - "SOLVEUR POUR LA SUSPENSION":"SOLVER_FOR_SUSPENSION", - "AD NOMBRE DE DERIVEES":"AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES":"AD_NAMES_OF_DERIVATIVES", - "AD NOMBRE DE DIRECTIONS":"AD_NUMBER_OF_DIRECTIONS", - "AD SOLVEUR LINEAIRE SYMBOLIQUE":"AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "MASSE VOLUMIQUE DE L'EAU":"WATER_DENSITY", - "MASSE VOLUMIQUE DU SEDIMENT":"SEDIMENT_DENSITY", - "POROSITE DU LIT NON COHESIF":"NON_COHESIVE_BED_POROSITY", - "GRAVITE":"GRAVITY_ACCELERATION", - "VISCOSITE CINEMATIQUE EAU":"WATER_VISCOSITY", - "SETTLING LAG":"SETTLING_LAG", - "VITESSES DE CHUTE":"SETTLING_VELOCITIES", - "SUSPENSION":"SUSPENSION", - "DISPERSION LONGITUDINALE":"DISPERSION_ALONG_THE_FLOW", - "DISPERSION TRANSVERSALE":"DISPERSION_ACROSS_THE_FLOW", - "CONCENTRATION D'EQUILIBRE EN ENTREE":"EQUILIBRIUM_INFLOW_CONCENTRATION", - "FORMULE POUR LA CONCENTRATION DE REFERENCE":"REFERENCE_CONCENTRATION_FORMULA", - "CORRECTION DU CHAMP CONVECTEUR":"CORRECTION_ON_CONVECTION_VELOCITY", - "CONCENTRATIONS INITIALES EN SUSPENSION":"INITIAL_SUSPENSION_CONCENTRATIONS", - "CONCENTRATIONS PAR CLASSE AUX FRONTIERES":"CONCENTRATION_PER_CLASS_AT_BOUNDARIES", - "DIFFUSION":"DIFFUSION", - "OPTION POUR LA DISPERSION":"OPTION_FOR_THE_DISPERSION", - "TETA SUSPENSION":"TETA_SUSPENSION", - "VITESSE CRITIQUE DE DEPOT DE LA VASE":"CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION", - "CONSTANTE DE PARTHENIADES":"PARTHENIADES_CONSTANT", - "D90":"D90", - "DIAMETRES DES GRAINS":"SEDIMENT_DIAMETERS", - "HIDING FACTOR PAR CLASSE GRANULO":"HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS", - "NOMBRE DE CLASSES GRANULOMETRIQUES":"NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL", - "FRACTION INITIALE PAR CLASSE SEDIMENTOLOGIQUE":"INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS", - "EPAISSEUR DE COUCHE ACTIVE":"ACTIVE_LAYER_THICKNESS", - "HIDING FACTOR FORMULA":"HIDING_FACTOR_FORMULA", - "EPAISSEUR DE COUCHE ACTIVE CONSTANTE":"CONSTANT_ACTIVE_LAYER_THICKNESS", - "SEDIMENTS COHESIFS":"COHESIVE_SEDIMENTS", - "VERTICAL GRAIN SORTING MODEL":"VERTICAL_GRAIN_SORTING_MODEL", - "C-VSM MAXIMUM SECTIONS":"C_VSM_MAXIMUM_SECTIONS", - "C-VSM FULL PRINTOUT PERIOD":"C_VSM_FULL_PRINTOUT_PERIOD", - "C-VSM PRINTOUT SELECTION":"C_VSM_PRINTOUT_SELECTION", - "C-VSM DYNAMIC ALT MODEL":"C_VSM_DYNAMIC_ALT_MODEL", - "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN":"RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "CORRECTION FROTTEMENT DE PEAU":"SKIN_FRICTION_CORRECTION", - "COEFFICIENT DE FROTTEMENT":"FRICTION_COEFFICIENT", - "LOI DE FROTTEMENT SUR LE FOND":"LAW_OF_BOTTOM_FRICTION", - "FORMULE POUR EFFET DE PENTE":"FORMULA_FOR_SLOPE_EFFECT", - "ANGLE DE FROTTEMENT DU SEDIMENT":"FRICTION_ANGLE_OF_THE_SEDIMENT", - "FORMULE POUR LA DEVIATION":"FORMULA_FOR_DEVIATION", - "PARAMETRE POUR LA DEVIATION":"PARAMETER_FOR_DEVIATION", - "GLISSEMENT DU SEDIMENT":"SEDIMENT_SLIDE", - "EFFET DE PENTE":"SLOPE_EFFECT", - "BETA":"BETA", - "PREDICTION DE LA RUGOSITE":"BED_ROUGHNESS_PREDICTION", - "SECONDARY CURRENTS ALPHA COEFFICIENT":"SECONDARY_CURRENTS_ALPHA_COEFFICIENT", - "FACTEUR MORPHOLOGIQUE":"MORPHOLOGICAL_FACTOR", - "PROFONDEUR MINIMUM POUR LE CHARRIAGE":"MINIMUM_DEPTH_FOR_BEDLOAD", - "CHARRIAGE":"BED_LOAD", - "FORMULE DE TRANSPORT SOLIDE":"BED_LOAD_TRANSPORT_FORMULA", - "COEFFICIENT B DE LA FORMULE DE BIJKER":"B_VALUE_FOR_THE_BIJKER_FORMULA", - "MPM COEFFICIENT":"MPM_COEFFICIENT", - "OPTION DU SCHEMA POUR LA CONVECTION":"SCHEME_OPTION_FOR_ADVECTION", - "OPTION DU MODELE DE TASSEMENT":"CONSOLIDATION_MODEL", - "CONCENTRATION GEL":"GEL_CONCENTRATION", - "CONCENTRATION MAXIMALE":"MAXIMUM_CONCENTRATION", - "COEFFICIENT DE PERMEABILITE":"PERMEABILITY_COEFFICIENT", - "TASSEMENT DU LIT COHESIF":"MUD_CONSOLIDATION", - "NOMBRE DE COUCHES POUR LE TASSEMENT":"NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL", - "TRANSFERT DE MASSE PAR COUCHE":"MASS_TRANSFER_PER_LAYER", - "CONCENTRATIONS DU LIT DE VASE":"MUD_CONCENTRATION_PER_LAYER", - "CONTRAINTE CRITIQUE D'EROSION DE LA VASE":"CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD", - "CONCATENATION SORTIE PARTEL":"CONCATENATE_PARTEL_OUTPUT", - "DICTIONNAIRE":"DICTIONARY", -} - -DicoCasEnToCata = { - 'TITLE':'TITLE', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'VALIDATION':'VALIDATION', - 'NUMBER OF PRIVATE ARRAYS':'NUMBER_OF_PRIVATE_ARRAYS', - 'ORIGIN COORDINATES':'ORIGIN_COORDINATES', - 'DEBUGGER':'DEBUGGER', - 'OPTION FOR THE TREATMENT OF TIDAL FLATS':'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS', - 'NESTOR':'NESTOR', - 'NESTOR ACTION FILE':'NESTOR_ACTION_FILE', - 'NESTOR POLYGON FILE':'NESTOR_POLYGON_FILE', - 'NESTOR RESTART FILE':'NESTOR_RESTART_FILE', - 'NESTOR SURFACE REFERENCE FILE':'NESTOR_SURFACE_REFERENCE_FILE', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'MAXIMUM NUMBER OF BOUNDARIES':'MAXIMUM_NUMBER_OF_BOUNDARIES', - 'FLUXLINE INPUT FILE':'FLUXLINE_INPUT_FILE', - 'FLUXLINE':'FLUXLINE', - 'CONTROL SECTIONS':'CONTROL_SECTIONS', - 'STATIONARY MODE':'STATIONARY_MODE', - 'SHIELDS PARAMETERS':'SHIELDS_PARAMETERS', - 'OPTION FOR THE TREATMENT OF NON ERODABLE BEDS':'OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS', - 'MINIMAL VALUE OF THE WATER HEIGHT':'MINIMAL_VALUE_OF_THE_WATER_HEIGHT', - 'TIDAL FLATS':'TIDAL_FLATS', - 'SECONDARY CURRENTS':'SECONDARY_CURRENTS', - 'SECONDARY CURRENTS FILE':'SECONDARY_CURRENTS_FILE', - 'GRAIN-FEEDING':'GRAIN_FEEDING', - 'STEADY CASE':'STEADY_CASE', - 'CONSTANT FLOW DISCHARGE':'CONSTANT_FLOW_DISCHARGE', - 'NUMBER OF ITERATIONS FOR TELEMAC':'NUMBER_OF_ITERATIONS_FOR_TELEMAC', - 'CRITERION TO UPDATE THE FLOW':'CRITERION_TO_UPDATE_THE_FLOW', - 'CRITICAL EVOLUTION RATIO':'CRITICAL_EVOLUTION_RATIO', - 'NUMBER OF BED LOAD MODEL LAYERS':'NUMBER_OF_BED_LOAD_MODEL_LAYERS', - 'MASS CONCENTRATION':'MASS_CONCENTRATION', - 'EFFECT OF WAVES':'EFFECT_OF_WAVES', - 'MIXED SEDIMENT':'MIXED_SEDIMENT', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'STEERING FILE':'STEERING_FILE', - 'MEAN DIAMETER OF THE SEDIMENT':'MEAN_DIAMETER_OF_THE_SEDIMENT', - 'GEOMETRY FILE BINARY':'GEOMETRY_FILE_BINARY', - 'HYDRODYNAMIC FILE BINARY':'HYDRODYNAMIC_FILE_BINARY', - 'BINARY OF THE PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE':'BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE', - 'RESULTS FILE BINARY':'RESULTS_FILE_BINARY', - 'REFERENCE FILE BINARY':'REFERENCE_FILE_BINARY', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'HYDRODYNAMIC FILE':'HYDRODYNAMIC_FILE', - 'NAMES OF PRIVATE VARIABLES':'NAMES_OF_PRIVATE_VARIABLES', - 'LIQUID BOUNDARIES FILE':'LIQUID_BOUNDARIES_FILE', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'RESULTS FILE':'RESULTS_FILE', - 'VARIABLES TO BE PRINTED':'VARIABLES_TO_BE_PRINTED', - 'GRAPHIC PRINTOUT PERIOD':'GRAPHIC_PRINTOUT_PERIOD', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'MASS-BALANCE':'MASS_BALANCE', - 'SECTIONS OUTPUT FILE':'SECTIONS_OUTPUT_FILE', - 'C-VSM RESULTS FILE':'C_VSM_RESULTS_FILE', - 'C-VSM RESULTS FILE FORMAT':'C_VSM_RESULTS_FILE_FORMAT', - 'HYDRODYNAMIC FILE FORMAT':'HYDRODYNAMIC_FILE_FORMAT', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'WAVE FILE FORMAT':'WAVE_FILE_FORMAT', - 'FORTRAN FILE':'FORTRAN_FILE', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'WAVE FILE':'WAVE_FILE', - 'REFERENCE FILE':'REFERENCE_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'SECTIONS INPUT FILE':'SECTIONS_INPUT_FILE', - 'PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE FORMAT':'PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT', - 'PREVIOUS SEDIMENTOLOGICAL COMPUTATION FILE':'PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE', - 'COMPUTATION CONTINUED':'COMPUTATION_CONTINUED', - 'VARIABLES FOR GRAPHIC PRINTOUTS':'VARIABLES_FOR_GRAPHIC_PRINTOUTS', - 'STARTING TIME OF THE HYDROGRAM':'STARTING_TIME_OF_THE_HYDROGRAM', - 'NUMBER OF TIME STEPS':'NUMBER_OF_TIME_STEPS', - 'TIME STEP':'TIME_STEP', - 'NUMBER OF SUB-ITERATIONS':'NUMBER_OF_SUB_ITERATIONS', - 'NUMBER OF TIDES OR FLOODS':'NUMBER_OF_TIDES_OR_FLOODS', - 'ORIGINAL HOUR OF TIME':'ORIGINAL_HOUR_OF_TIME', - 'ORIGINAL DATE OF TIME':'ORIGINAL_DATE_OF_TIME', - 'TIDE PERIOD':'TIDE_PERIOD', - 'PRESCRIBED SOLID DISCHARGES':'PRESCRIBED_SOLID_DISCHARGES', - 'SOLVER':'SOLVER', - 'SOLVER OPTION':'SOLVER_OPTION', - 'PRECONDITIONING':'PRECONDITIONING', - 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER', - 'SOLVER OPTION FOR SUSPENSION':'SOLVER_OPTION_FOR_SUSPENSION', - 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER FOR SUSPENSION':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION', - 'SOLVER ACCURACY':'SOLVER_ACCURACY', - 'SOLVER ACCURACY FOR SUSPENSION':'SOLVER_ACCURACY_FOR_SUSPENSION', - 'PRECONDITIONING FOR SUSPENSION':'PRECONDITIONING_FOR_SUSPENSION', - 'MASS-LUMPING':'MASS_LUMPING', - 'TETA':'TETA', - 'ZERO':'ZERO', - 'FINITE VOLUMES':'FINITE_VOLUMES', - 'TYPE OF ADVECTION':'TYPE_OF_ADVECTION', - 'SUPG OPTION':'SUPG_OPTION', - 'MATRIX-VECTOR PRODUCT':'MATRIX_VECTOR_PRODUCT', - 'MATRIX STORAGE':'MATRIX_STORAGE', - 'OPTION FOR THE DIFFUSION OF TRACER':'OPTION_FOR_THE_DIFFUSION_OF_TRACER', - 'MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES', - 'PARTITIONING TOOL':'PARTITIONING_TOOL', - 'NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES', - 'NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES', - 'TREATMENT OF FLUXES AT THE BOUNDARIES':'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES', - 'BED ROUGHNESS PREDICTOR OPTION':'BED_ROUGHNESS_PREDICTOR_OPTION', - 'SOLVER FOR SUSPENSION':'SOLVER_FOR_SUSPENSION', - 'AD NUMBER OF DERIVATIVES':'AD_NUMBER_OF_DERIVATIVES', - 'AD NAMES OF DERIVATIVES':'AD_NAMES_OF_DERIVATIVES', - 'AD NUMBER OF DIRECTIONS':'AD_NUMBER_OF_DIRECTIONS', - 'AD SYMBOLIC LINEAR SOLVER':'AD_SYMBOLIC_LINEAR_SOLVER', - 'AD LINEAR SOLVER RESET DERIVATIVES':'AD_LINEAR_SOLVER_RESET_DERIVATIVES', - 'AD LINEAR SOLVER DERIVATIVE CONVERGENCE':'AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE', - 'WATER DENSITY':'WATER_DENSITY', - 'SEDIMENT DENSITY':'SEDIMENT_DENSITY', - 'NON COHESIVE BED POROSITY':'NON_COHESIVE_BED_POROSITY', - 'GRAVITY ACCELERATION':'GRAVITY_ACCELERATION', - 'WATER VISCOSITY':'WATER_VISCOSITY', - 'SETTLING LAG':'SETTLING_LAG', - 'SETTLING VELOCITIES':'SETTLING_VELOCITIES', - 'SUSPENSION':'SUSPENSION', - 'DISPERSION ALONG THE FLOW':'DISPERSION_ALONG_THE_FLOW', - 'DISPERSION ACROSS THE FLOW':'DISPERSION_ACROSS_THE_FLOW', - 'EQUILIBRIUM INFLOW CONCENTRATION':'EQUILIBRIUM_INFLOW_CONCENTRATION', - 'REFERENCE CONCENTRATION FORMULA':'REFERENCE_CONCENTRATION_FORMULA', - 'CORRECTION ON CONVECTION VELOCITY':'CORRECTION_ON_CONVECTION_VELOCITY', - 'INITIAL SUSPENSION CONCENTRATIONS':'INITIAL_SUSPENSION_CONCENTRATIONS', - 'CONCENTRATION PER CLASS AT BOUNDARIES':'CONCENTRATION_PER_CLASS_AT_BOUNDARIES', - 'DIFFUSION':'DIFFUSION', - 'OPTION FOR THE DISPERSION':'OPTION_FOR_THE_DISPERSION', - 'TETA SUSPENSION':'TETA_SUSPENSION', - 'CRITICAL SHEAR VELOCITY FOR MUD DEPOSITION':'CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION', - 'PARTHENIADES CONSTANT':'PARTHENIADES_CONSTANT', - 'D90':'D90', - 'SEDIMENT DIAMETERS':'SEDIMENT_DIAMETERS', - 'HIDING FACTOR FOR PARTICULAR SIZE CLASS':'HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS', - 'NUMBER OF SIZE-CLASSES OF BED MATERIAL':'NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL', - 'INITIAL FRACTION FOR PARTICULAR SIZE CLASS':'INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS', - 'ACTIVE LAYER THICKNESS':'ACTIVE_LAYER_THICKNESS', - 'HIDING FACTOR FORMULA':'HIDING_FACTOR_FORMULA', - 'CONSTANT ACTIVE LAYER THICKNESS':'CONSTANT_ACTIVE_LAYER_THICKNESS', - 'COHESIVE SEDIMENTS':'COHESIVE_SEDIMENTS', - 'VERTICAL GRAIN SORTING MODEL':'VERTICAL_GRAIN_SORTING_MODEL', - 'C-VSM MAXIMUM SECTIONS':'C_VSM_MAXIMUM_SECTIONS', - 'C-VSM FULL PRINTOUT PERIOD':'C_VSM_FULL_PRINTOUT_PERIOD', - 'C-VSM PRINTOUT SELECTION':'C_VSM_PRINTOUT_SELECTION', - 'C-VSM DYNAMIC ALT MODEL':'C_VSM_DYNAMIC_ALT_MODEL', - 'RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER':'RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER', - 'SKIN FRICTION CORRECTION':'SKIN_FRICTION_CORRECTION', - 'FRICTION COEFFICIENT':'FRICTION_COEFFICIENT', - 'LAW OF BOTTOM FRICTION':'LAW_OF_BOTTOM_FRICTION', - 'FORMULA FOR SLOPE EFFECT':'FORMULA_FOR_SLOPE_EFFECT', - 'FRICTION ANGLE OF THE SEDIMENT':'FRICTION_ANGLE_OF_THE_SEDIMENT', - 'FORMULA FOR DEVIATION':'FORMULA_FOR_DEVIATION', - 'PARAMETER FOR DEVIATION':'PARAMETER_FOR_DEVIATION', - 'SEDIMENT SLIDE':'SEDIMENT_SLIDE', - 'SLOPE EFFECT':'SLOPE_EFFECT', - 'BETA':'BETA', - 'BED ROUGHNESS PREDICTION':'BED_ROUGHNESS_PREDICTION', - 'SECONDARY CURRENTS ALPHA COEFFICIENT':'SECONDARY_CURRENTS_ALPHA_COEFFICIENT', - 'MORPHOLOGICAL FACTOR':'MORPHOLOGICAL_FACTOR', - 'MINIMUM DEPTH FOR BEDLOAD':'MINIMUM_DEPTH_FOR_BEDLOAD', - 'BED LOAD':'BED_LOAD', - 'BED-LOAD TRANSPORT FORMULA':'BED_LOAD_TRANSPORT_FORMULA', - 'B VALUE FOR THE BIJKER FORMULA':'B_VALUE_FOR_THE_BIJKER_FORMULA', - 'MPM COEFFICIENT':'MPM_COEFFICIENT', - 'SCHEME OPTION FOR ADVECTION':'SCHEME_OPTION_FOR_ADVECTION', - 'CONSOLIDATION MODEL':'CONSOLIDATION_MODEL', - 'GEL CONCENTRATION':'GEL_CONCENTRATION', - 'MAXIMUM CONCENTRATION':'MAXIMUM_CONCENTRATION', - 'PERMEABILITY COEFFICIENT':'PERMEABILITY_COEFFICIENT', - 'MUD CONSOLIDATION':'MUD_CONSOLIDATION', - 'NUMBER OF LAYERS OF THE CONSOLIDATION MODEL':'NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL', - 'MASS TRANSFER PER LAYER':'MASS_TRANSFER_PER_LAYER', - 'MUD CONCENTRATION PER LAYER':'MUD_CONCENTRATION_PER_LAYER', - 'CRITICAL EROSION SHEAR STRESS OF THE MUD':'CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD', - 'CONCATENATE PARTEL OUTPUT':'CONCATENATE_PARTEL_OUTPUT', - 'DICTIONARY':'DICTIONARY', -} -DicoEnumCasFrToEnumCasEn = { -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'C_VSM_RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'HYDRODYNAMIC_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'WAVE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PARTITIONING_TOOL':{ - "METIS":"METIS", - "SCOTCH":"SCOTCH", - "PARMETIS":"PARMETIS", - "PTSCOTCH":"PTSCOTCH", -}, - -} diff --git a/Telemac/sisyphe_labelCataToIhm_en.qm b/Telemac/sisyphe_labelCataToIhm_en.qm deleted file mode 100644 index 35f6af44..00000000 Binary files a/Telemac/sisyphe_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/sisyphe_labelCataToIhm_en.ts b/Telemac/sisyphe_labelCataToIhm_en.ts deleted file mode 100644 index 19887072..00000000 --- a/Telemac/sisyphe_labelCataToIhm_en.ts +++ /dev/null @@ -1,808 +0,0 @@ - - @default - - TITLE - Title - - - PARALLEL_PROCESSORS - Parallel processors - - - VALIDATION - Validation - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - ORIGIN_COORDINATES - Origin coordinates - - - DEBUGGER - Debugger - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - NESTOR - Nestor - - - NESTOR_ACTION_FILE - Nestor action file - - - NESTOR_POLYGON_FILE - Nestor polygon file - - - NESTOR_RESTART_FILE - Nestor restart file - - - NESTOR_SURFACE_REFERENCE_FILE - Nestor surface reference file - - - CHECKING_THE_MESH - Checking the mesh - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - FLUXLINE_INPUT_FILE - Fluxline input file - - - FLUXLINE - Fluxline - - - CONTROL_SECTIONS - Control sections - - - STATIONARY_MODE - Stationary mode - - - SHIELDS_PARAMETERS - Shields parameters - - - OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS - Option for the treatment of non erodable beds - - - MINIMAL_VALUE_OF_THE_WATER_HEIGHT - Minimal value of the water height - - - TIDAL_FLATS - Tidal flats - - - SECONDARY_CURRENTS - Secondary currents - - - SECONDARY_CURRENTS_FILE - Secondary currents file - - - GRAIN_FEEDING - Grain-feeding - - - STEADY_CASE - Steady case - - - CONSTANT_FLOW_DISCHARGE - Constant flow discharge - - - NUMBER_OF_ITERATIONS_FOR_TELEMAC - Number of iterations for telemac - - - CRITERION_TO_UPDATE_THE_FLOW - Criterion to update the flow - - - CRITICAL_EVOLUTION_RATIO - Critical evolution ratio - - - NUMBER_OF_BED_LOAD_MODEL_LAYERS - Number of bed load model layers - - - MASS_CONCENTRATION - Mass concentration - - - EFFECT_OF_WAVES - Effect of waves - - - MIXED_SEDIMENT - Mixed sediment - - - VECTOR_LENGTH - Vector length - - - STEERING_FILE - Steering file - - - MEAN_DIAMETER_OF_THE_SEDIMENT - Mean diameter of the sediment - - - GEOMETRY_FILE_BINARY - Geometry file binary - - - HYDRODYNAMIC_FILE_BINARY - Hydrodynamic file binary - - - BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE - Binary of the previous sedimentological computation file - - - RESULTS_FILE_BINARY - Results file binary - - - REFERENCE_FILE_BINARY - Reference file binary - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - GEOMETRY_FILE - Geometry file - - - HYDRODYNAMIC_FILE - Hydrodynamic file - - - NAMES_OF_PRIVATE_VARIABLES - Names of private variables - - - LIQUID_BOUNDARIES_FILE - Liquid boundaries file - - - RESULTS_FILE_FORMAT - Results file format - - - RESULTS_FILE - Results file - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - MASS_BALANCE - Mass-balance - - - SECTIONS_OUTPUT_FILE - Sections output file - - - C_VSM_RESULTS_FILE - C-vsm results file - - - C_VSM_RESULTS_FILE_FORMAT - C-vsm results file format - - - HYDRODYNAMIC_FILE_FORMAT - Hydrodynamic file format - - - REFERENCE_FILE_FORMAT - Reference file format - - - WAVE_FILE_FORMAT - Wave file format - - - FORTRAN_FILE - Fortran file - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - WAVE_FILE - Wave file - - - REFERENCE_FILE - Reference file - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - SECTIONS_INPUT_FILE - Sections input file - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT - Previous sedimentological computation file format - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE - Previous sedimentological computation file - - - COMPUTATION_CONTINUED - Computation continued - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - STARTING_TIME_OF_THE_HYDROGRAM - Starting time of the hydrogram - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - TIME_STEP - Time step - - - NUMBER_OF_SUB_ITERATIONS - Number of sub-iterations - - - NUMBER_OF_TIDES_OR_FLOODS - Number of tides or floods - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - TIDE_PERIOD - Tide period - - - PRESCRIBED_SOLID_DISCHARGES - Prescribed solid discharges - - - SOLVER - Solver - - - SOLVER_OPTION - Solver option - - - PRECONDITIONING - Preconditioning - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum number of iterations for solver - - - SOLVER_OPTION_FOR_SUSPENSION - Solver option for suspension - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION - Maximum number of iterations for solver for suspension - - - SOLVER_ACCURACY - Solver accuracy - - - SOLVER_ACCURACY_FOR_SUSPENSION - Solver accuracy for suspension - - - PRECONDITIONING_FOR_SUSPENSION - Preconditioning for suspension - - - MASS_LUMPING - Mass-lumping - - - TETA - Teta - - - ZERO - Zero - - - FINITE_VOLUMES - Finite volumes - - - TYPE_OF_ADVECTION - Type of advection - - - SUPG_OPTION - SUPG option - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - MATRIX_STORAGE - Matrix storage - - - OPTION_FOR_THE_DIFFUSION_OF_TRACER - Option for the diffusion of tracer - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum number of iterations for advection schemes - - - PARTITIONING_TOOL - Partitioning tool - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Number of corrections of distributive schemes - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Number of sub-steps of distributive schemes - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Treatment of fluxes at the boundaries - - - BED_ROUGHNESS_PREDICTOR_OPTION - Bed roughness predictor option - - - SOLVER_FOR_SUSPENSION - Solver for suspension - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - AD_NUMBER_OF_DIRECTIONS - Ad number of directions - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad symbolic linear solver - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad linear solver reset derivatives - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad linear solver derivative convergence - - - WATER_DENSITY - Water density - - - SEDIMENT_DENSITY - Sediment density - - - NON_COHESIVE_BED_POROSITY - Non cohesive bed porosity - - - GRAVITY_ACCELERATION - Gravity acceleration - - - WATER_VISCOSITY - Water viscosity - - - SETTLING_LAG - Settling lag - - - SETTLING_VELOCITIES - Settling velocities - - - SUSPENSION - Suspension - - - DISPERSION_ALONG_THE_FLOW - Dispersion along the flow - - - DISPERSION_ACROSS_THE_FLOW - Dispersion across the flow - - - EQUILIBRIUM_INFLOW_CONCENTRATION - Equilibrium inflow concentration - - - REFERENCE_CONCENTRATION_FORMULA - Reference concentration formula - - - CORRECTION_ON_CONVECTION_VELOCITY - Correction on convection velocity - - - INITIAL_SUSPENSION_CONCENTRATIONS - Initial suspension concentrations - - - CONCENTRATION_PER_CLASS_AT_BOUNDARIES - Concentration per class at boundaries - - - DIFFUSION - Diffusion - - - OPTION_FOR_THE_DISPERSION - Option for the dispersion - - - TETA_SUSPENSION - Teta suspension - - - CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION - Critical shear velocity for mud deposition - - - PARTHENIADES_CONSTANT - Partheniades constant - - - D90 - D90 - - - SEDIMENT_DIAMETERS - Sediment diameters - - - HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS - Hiding factor for particular size class - - - NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL - Number of size-classes of bed material - - - INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS - Initial fraction for particular size class - - - ACTIVE_LAYER_THICKNESS - Active layer thickness - - - HIDING_FACTOR_FORMULA - Hiding factor formula - - - CONSTANT_ACTIVE_LAYER_THICKNESS - Constant active layer thickness - - - COHESIVE_SEDIMENTS - Cohesive sediments - - - VERTICAL_GRAIN_SORTING_MODEL - Vertical grain sorting model - - - C_VSM_MAXIMUM_SECTIONS - C-vsm maximum sections - - - C_VSM_FULL_PRINTOUT_PERIOD - C-vsm full printout period - - - C_VSM_PRINTOUT_SELECTION - C-vsm printout selection - - - C_VSM_DYNAMIC_ALT_MODEL - C-vsm dynamic alt model - - - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER - Ratio between skin friction and mean diameter - - - SKIN_FRICTION_CORRECTION - Skin friction correction - - - FRICTION_COEFFICIENT - Friction coefficient - - - LAW_OF_BOTTOM_FRICTION - Law of bottom friction - - - FORMULA_FOR_SLOPE_EFFECT - Formula for slope effect - - - FRICTION_ANGLE_OF_THE_SEDIMENT - Friction angle of the sediment - - - FORMULA_FOR_DEVIATION - Formula for deviation - - - PARAMETER_FOR_DEVIATION - Parameter for deviation - - - SEDIMENT_SLIDE - Sediment slide - - - SLOPE_EFFECT - Slope effect - - - BETA - Beta - - - BED_ROUGHNESS_PREDICTION - Bed roughness prediction - - - SECONDARY_CURRENTS_ALPHA_COEFFICIENT - Secondary currents alpha coefficient - - - MORPHOLOGICAL_FACTOR - Morphological factor - - - MINIMUM_DEPTH_FOR_BEDLOAD - Minimum depth for bedload - - - BED_LOAD - Bed-load - - - BED_LOAD_TRANSPORT_FORMULA - Bed-load transport formula - - - B_VALUE_FOR_THE_BIJKER_FORMULA - B value for the bijker formula - - - MPM_COEFFICIENT - Mpm coefficient - - - SCHEME_OPTION_FOR_ADVECTION - Scheme option for advection - - - CONSOLIDATION_MODEL - Consolidation model - - - GEL_CONCENTRATION - Gel concentration - - - MAXIMUM_CONCENTRATION - Maximum concentration - - - PERMEABILITY_COEFFICIENT - Permeability coefficient - - - MUD_CONSOLIDATION - Mud consolidation - - - NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL - Number of layers of the consolidation model - - - MASS_TRANSFER_PER_LAYER - Mass transfer per layer - - - MUD_CONCENTRATION_PER_LAYER - Mud concentration per layer - - - CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD - Critical erosion shear stress of the mud - - - CONCATENATE_PARTEL_OUTPUT - Concatenate partel output - - - DICTIONARY - Dictionary - - - INPUT_OUTPUT__INFORMATION - Input-output, information - - - MISCELLANEOUS - Miscellaneous - - - GENERAL - General - - - USELESS - Useless - - - INPUT_OUTPUT__FILES - Input-output, files - - - RESULTS - Results - - - DATA_FILES - Data files - - - INITIAL_CONDITIONS - Initial conditions - - - INPUT_OUTPUT__GRAPHICS_AND_LISTING - Input-output, graphics and listing - - - TIME - Time - - - EQUATIONS__BOUNDARY_CONDITIONS - Equations, boundary conditions - - - NUMERICAL - Numerical - - - NUMERICAL_PARAMETERS - Numerical parameters - - - PHYSICS - Physics - - - BED_MATERIAL - Bed material - - - FRICTION - Friction - - - SEDIMENT_TRANSPORT - Sediment transport - - - SEDIMENTOLOGY - Sedimentology - - - COMPUTATIONAL_INFORMATION - Computational information - - - EQUATIONS__ADVECTION - Equations, advection - - - CONSOLIDATION - Consolidation - - - COHESIVE_SEDIMENT - Cohesive sediment - - - INTERNAL - Internal - - - NAMES - Names - - - AUTOMATIC_DIFFERENTIATION - Automatic differentiation - - - C_VSM - C-vsm - - - NONEQUILIBRIUM_BED_LOAD - Nonequilibrium bed load - - - diff --git a/Telemac/sisyphe_labelCataToIhm_fr.qm b/Telemac/sisyphe_labelCataToIhm_fr.qm deleted file mode 100644 index 6534937f..00000000 Binary files a/Telemac/sisyphe_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/sisyphe_labelCataToIhm_fr.ts b/Telemac/sisyphe_labelCataToIhm_fr.ts deleted file mode 100644 index e54aed19..00000000 --- a/Telemac/sisyphe_labelCataToIhm_fr.ts +++ /dev/null @@ -1,836 +0,0 @@ - - @default - - TITLE - Titre - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - VALIDATION - Validation - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - ORIGIN_COORDINATES - Coordonnees de l'origine - - - DEBUGGER - Debugger - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option de traitement des bancs decouvrants - - - NESTOR - Nestor - - - NESTOR_ACTION_FILE - Fichier de nestor action - - - NESTOR_POLYGON_FILE - Fichier de nestor polygon - - - NESTOR_RESTART_FILE - Fichier de nestor restart - - - NESTOR_SURFACE_REFERENCE_FILE - Fichier de nestor de surface reference - - - CHECKING_THE_MESH - Verification du maillage - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Nombre maximum de frontieres - - - FLUXLINE_INPUT_FILE - Fichier de fluxline - - - FLUXLINE - Fluxline - - - CONTROL_SECTIONS - Sections de controle - - - STATIONARY_MODE - Stationary mode - - - SHIELDS_PARAMETERS - Parametres de shields - - - OPTION_FOR_THE_TREATMENT_OF_NON_ERODABLE_BEDS - Option de traitement des fonds non erodables - - - MINIMAL_VALUE_OF_THE_WATER_HEIGHT - Valeur minimum de H - - - TIDAL_FLATS - Bancs decouvrants - - - SECONDARY_CURRENTS - Courants secondaires - - - SECONDARY_CURRENTS_FILE - Fichier de courants secondaires - - - GRAIN_FEEDING - Grain-feeding - - - STEADY_CASE - Cas permanent - - - CONSTANT_FLOW_DISCHARGE - Constant flow discharge - - - NUMBER_OF_ITERATIONS_FOR_TELEMAC - Nombre d'iterations pour telemac - - - CRITERION_TO_UPDATE_THE_FLOW - Critere pour mettre a jour l'hydrodynamique - - - CRITICAL_EVOLUTION_RATIO - Rapport d'evolution critique - - - NUMBER_OF_BED_LOAD_MODEL_LAYERS - Nombre de couches pour granulo etendue - - - MASS_CONCENTRATION - Concentration massique - - - EFFECT_OF_WAVES - Prise en compte de la houle - - - MIXED_SEDIMENT - Sediment mixte - - - VECTOR_LENGTH - Longueur du vecteur - - - STEERING_FILE - Fichier des parametres - - - MEAN_DIAMETER_OF_THE_SEDIMENT - Diametre moyen des grains - - - GEOMETRY_FILE_BINARY - Standard du fichier de geometrie - - - HYDRODYNAMIC_FILE_BINARY - Standard du fichier hydrodynamique - - - BINARY_OF_THE_PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE - Standard du fichier precedent sedimentologique - - - RESULTS_FILE_BINARY - Standard du fichier resultat - - - REFERENCE_FILE_BINARY - Standard du fichier de reference - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - GEOMETRY_FILE - Fichier de geometrie - - - HYDRODYNAMIC_FILE - Fichier hydrodynamique - - - NAMES_OF_PRIVATE_VARIABLES - Noms des variables privees - - - LIQUID_BOUNDARIES_FILE - Fichier des frontieres liquides - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - RESULTS_FILE - Fichier des resultats - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - GRAPHIC_PRINTOUT_PERIOD - Periode de sortie graphique - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - MASS_BALANCE - Bilan de masse - - - SECTIONS_OUTPUT_FILE - Sections output file - - - C_VSM_RESULTS_FILE - Fichier des resultats c-vsm - - - C_VSM_RESULTS_FILE_FORMAT - Format du fichier des c-vsm resultats - - - HYDRODYNAMIC_FILE_FORMAT - Format du fichier hydrodynamique - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - WAVE_FILE_FORMAT - Format du fichier de Houle - - - FORTRAN_FILE - Fichier fortran - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - WAVE_FILE - Fichier de Houle - - - REFERENCE_FILE - Fichier de reference - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - SECTIONS_INPUT_FILE - Fichier des sections de controle - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE_FORMAT - Format du fichier precedent sedimentologique - - - PREVIOUS_SEDIMENTOLOGICAL_COMPUTATION_FILE - Fichier precedent sedimentologique - - - COMPUTATION_CONTINUED - Suite de calcul - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - STARTING_TIME_OF_THE_HYDROGRAM - Temps d'origine de l'hydrogramme - - - NUMBER_OF_TIME_STEPS - Nombre de pas de temps - - - TIME_STEP - Pas de temps - - - NUMBER_OF_SUB_ITERATIONS - Nombre de sous-iterations - - - NUMBER_OF_TIDES_OR_FLOODS - Nombre de marees ou crues - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - TIDE_PERIOD - Periode de la maree - - - PRESCRIBED_SOLID_DISCHARGES - Debits solides imposes - - - SOLVER - Solveur - - - SOLVER_OPTION - Option du solveur - - - PRECONDITIONING - Preconditionnement - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum d'iterations pour le solveur - - - SOLVER_OPTION_FOR_SUSPENSION - Option du solveur pour la suspension - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER_FOR_SUSPENSION - Maximum d'iterations pour le solveur pour la suspension - - - SOLVER_ACCURACY - Precision du solveur - - - SOLVER_ACCURACY_FOR_SUSPENSION - Precision du solveur pour la suspension - - - PRECONDITIONING_FOR_SUSPENSION - Preconditionnement pour la suspension - - - MASS_LUMPING - Mass-lumping - - - TETA - Teta - - - ZERO - Zero - - - FINITE_VOLUMES - Volumes finis - - - TYPE_OF_ADVECTION - Forme de la convection - - - SUPG_OPTION - Option de SUPG - - - MATRIX_VECTOR_PRODUCT - Produit matrice-vecteur - - - MATRIX_STORAGE - Stockage des matrices - - - OPTION_FOR_THE_DIFFUSION_OF_TRACER - Option pour la diffusion du traceur - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum d'iterations pour les schemas de convection - - - PARTITIONING_TOOL - Partitionneur - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Nombre de corrections des schemas distributifs - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Nombre de sous-pas des schemas distributifs - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Traitement des flux aux frontieres - - - BED_ROUGHNESS_PREDICTOR_OPTION - Option du predicteur de rugosite - - - SOLVER_FOR_SUSPENSION - Solveur pour la suspension - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre de derivees - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - AD_NUMBER_OF_DIRECTIONS - Ad nombre de directions - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad solveur lineaire symbolique - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad remise a zero des derivees du solveur lineaire - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad convergence des derivees pour le solveur lineaire - - - WATER_DENSITY - Masse volumique de l'eau - - - SEDIMENT_DENSITY - Masse volumique du sediment - - - NON_COHESIVE_BED_POROSITY - Porosite du lit non cohesif - - - GRAVITY_ACCELERATION - Gravite - - - WATER_VISCOSITY - Viscosite cinematique eau - - - SETTLING_LAG - Settling lag - - - SETTLING_VELOCITIES - Vitesses de chute - - - SUSPENSION - Suspension - - - DISPERSION_ALONG_THE_FLOW - Dispersion longitudinale - - - DISPERSION_ACROSS_THE_FLOW - Dispersion transversale - - - EQUILIBRIUM_INFLOW_CONCENTRATION - Concentration d'equilibre en entree - - - REFERENCE_CONCENTRATION_FORMULA - Formule pour la concentration de reference - - - CORRECTION_ON_CONVECTION_VELOCITY - Correction du champ convecteur - - - INITIAL_SUSPENSION_CONCENTRATIONS - Concentrations initiales en suspension - - - CONCENTRATION_PER_CLASS_AT_BOUNDARIES - Concentrations par classe aux frontieres - - - DIFFUSION - Diffusion - - - OPTION_FOR_THE_DISPERSION - Option pour la dispersion - - - TETA_SUSPENSION - Teta suspension - - - CRITICAL_SHEAR_VELOCITY_FOR_MUD_DEPOSITION - Vitesse critique de depot de la vase - - - PARTHENIADES_CONSTANT - Constante de partheniades - - - D90 - D90 - - - SEDIMENT_DIAMETERS - Diametres des grains - - - HIDING_FACTOR_FOR_PARTICULAR_SIZE_CLASS - Hiding factor par classe granulo - - - NUMBER_OF_SIZE_CLASSES_OF_BED_MATERIAL - Nombre de classes granulometriques - - - INITIAL_FRACTION_FOR_PARTICULAR_SIZE_CLASS - Fraction initiale par classe sedimentologique - - - ACTIVE_LAYER_THICKNESS - Epaisseur de couche active - - - HIDING_FACTOR_FORMULA - Hiding factor formula - - - CONSTANT_ACTIVE_LAYER_THICKNESS - Epaisseur de couche active constante - - - COHESIVE_SEDIMENTS - Sediments cohesifs - - - VERTICAL_GRAIN_SORTING_MODEL - Vertical grain sorting model - - - C_VSM_MAXIMUM_SECTIONS - C-vsm maximum sections - - - C_VSM_FULL_PRINTOUT_PERIOD - C-vsm full printout period - - - C_VSM_PRINTOUT_SELECTION - C-vsm printout selection - - - C_VSM_DYNAMIC_ALT_MODEL - C-vsm dynamic alt model - - - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER - Ratio entre la rugosite de peau et le diametre moyen - - - SKIN_FRICTION_CORRECTION - Correction frottement de peau - - - FRICTION_COEFFICIENT - Coefficient de frottement - - - LAW_OF_BOTTOM_FRICTION - Loi de frottement sur le fond - - - FORMULA_FOR_SLOPE_EFFECT - Formule pour effet de pente - - - FRICTION_ANGLE_OF_THE_SEDIMENT - Angle de frottement du sediment - - - FORMULA_FOR_DEVIATION - Formule pour la deviation - - - PARAMETER_FOR_DEVIATION - Parametre pour la deviation - - - SEDIMENT_SLIDE - Glissement du sediment - - - SLOPE_EFFECT - Effet pente - - - BETA - Beta - - - BED_ROUGHNESS_PREDICTION - Prediction de la rugosite - - - SECONDARY_CURRENTS_ALPHA_COEFFICIENT - Secondary currents alpha coefficient - - - MORPHOLOGICAL_FACTOR - Facteur morphologique - - - MINIMUM_DEPTH_FOR_BEDLOAD - Profondeur minimum pour le charriage - - - BED_LOAD - Charriage - - - BED_LOAD_TRANSPORT_FORMULA - Formule de transport solide - - - B_VALUE_FOR_THE_BIJKER_FORMULA - Coefficient b de la formule de bijker - - - MPM_COEFFICIENT - Mpm coefficient - - - SCHEME_OPTION_FOR_ADVECTION - Option du schema pour la convection - - - CONSOLIDATION_MODEL - Option du modele de tassement - - - GEL_CONCENTRATION - Concentration gel - - - MAXIMUM_CONCENTRATION - Concentration maximale - - - PERMEABILITY_COEFFICIENT - Coefficient de permeabilite - - - MUD_CONSOLIDATION - Tassement du lit cohesif - - - NUMBER_OF_LAYERS_OF_THE_CONSOLIDATION_MODEL - Nombre de couches pour le tassement - - - MASS_TRANSFER_PER_LAYER - Transfert de masse par couche - - - MUD_CONCENTRATION_PER_LAYER - Concentrations du lit de vase - - - CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD - Contrainte critique d'erosion de la vase - - - CONCATENATE_PARTEL_OUTPUT - Concatenation sortie partel - - - DICTIONARY - Dictionnaire - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - METIS - METIS - - - SCOTCH - SCOTCH - - - PARMETIS - PARMETIS - - - PTSCOTCH - PTSCOTCH - - - INPUT_OUTPUT__INFORMATION - Entrees-sorties, generalites - - - MISCELLANEOUS - Divers - - - GENERAL - General - - - USELESS - Inutile - - - INPUT_OUTPUT__FILES - Entrees-sorties, fichiers - - - RESULTS - Resultats - - - DATA_FILES - Fichiers donnees - - - INITIAL_CONDITIONS - Conditions initiales - - - INPUT_OUTPUT__GRAPHICS_AND_LISTING - Entrees-sorties, graphiques et listing - - - TIME - Temps - - - EQUATIONS__BOUNDARY_CONDITIONS - Equations, conditions limites - - - NUMERICAL - Numerique - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - PHYSICS - Physique - - - BED_MATERIAL - Granulometrie - - - FRICTION - Frottement - - - SEDIMENT_TRANSPORT - Transport solide - - - SEDIMENTOLOGY - Sedimentologie - - - COMPUTATIONAL_INFORMATION - Calcul - - - EQUATIONS__ADVECTION - Equations, convection - - - CONSOLIDATION - Tassement - - - COHESIVE_SEDIMENT - Cohesive sediment - - - INTERNAL - Internal - - - NAMES - Noms - - - AUTOMATIC_DIFFERENTIATION - Differentiation automatique - - - C_VSM - C-vsm - - - NONEQUILIBRIUM_BED_LOAD - Nonequilibrium bed load - - - diff --git a/Telemac/stbtel_cata_auto.py b/Telemac/stbtel_cata_auto.py deleted file mode 100644 index 06513aed..00000000 --- a/Telemac/stbtel_cata_auto.py +++ /dev/null @@ -1,834 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'STBTEL', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -TREATMENT = PROC(nom= "TREATMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MINIMUM_DISTANCE_BETWEEN_TWO_POINTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-5, - fr = """Distance (en metres)en dessous de laquelle deux noeuds sont consideres -comme confondus par \stbtel, lors de la verification des resultats -fournis par le mailleur. Lorsque deux noeuds sont confondus, l''un -d''entre eux est elimine, et tous les noeuds du maillage sont -renumerotes.""", - ang = """Distance (in meters) below which two nodes are considered as identical -by \stbtel when the results supplied by the mesh generator are being -checked. When two nodes occur at the same place, one of them is -eliminated and all the mesh nodes are renumbered.""", - ), -# ----------------------------------- - MESH_GENERATOR = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SUPERTAB4','SUPERTAB6','MASTER2','SIMAIL','SELAFIN','TRIGRID','ADCIRC','FASTTABS'], - defaut = 'MASTER2', - fr = """Nom du mailleur utilise pour la creation du \telkey{FICHIER UNIVERSEL}. -Ce peut etre : -\begin{itemize} -\item SUPERTAB6 (version 6 du mailleur SUPERTAB), -\item SUPERTAB4 (version 4 du mailleur SUPERTAB), -\item MASTER2 (version 2 du mailleur MASTER-SERIES), -\item SIMAIL, -\item SELAFIN (afin de modifier un maillage deja utilise, comme pour : -\begin{itemize} -\item interpoler de nouveau fonds -\item eliminer des dependances arrieres -\item coupe triangles surcontraints), -\end{itemize} -\item TRIGRID, -\item FASTTABS. -\end{itemize}""", - ang = """Name of the mesh generator used for preparing the \telkey{UNIVERSAL -FILE}. It will be selected among the following: -\begin{itemize} -\item SUPERTAB6 (version 6 of SUPERTAB mesh generator), -\item SUPERTAB4 (version 4 of SUPERTAB mesh generator), -\item MASTER2 (version 2 of MASTER-SERIES mesh generator), -\item SIMAIL, -\item SELAFIN (in order to modify a mesh already used, as for example : -\begin{itemize} -\item to interpolate a new bathymetry -\item to eliminate backward dependencies -\item to cut overstressed triangles ), -\end{itemize} -\item TRIGRID, -\item FASTTABS. -\end{itemize}""", - ), -# ----------------------------------- - b_MESH_GENERATORG = BLOC(condition="MESH_GENERATOR == 'TRIGRID'", -# ----------------------------------- -# ----------------------------------- - BOTTOM_CORRECTION_OF_TRIGRID = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la valeur a ajouter a la bathymetrie lue dans le fichier -gemere par Trigrid.""", - ang = """Value to be added at the bottom value read in the Trigrid file""", - ), - ), -# ----------------------------------- - b_MESH_GENERATORH = BLOC(condition="MESH_GENERATOR in ['FASTTABS', 'TRIGRID']", -# ----------------------------------- -# ----------------------------------- - BATHYMETRY_IN_THE_UNIVERSAL_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de relire la bathymetrie directement dans le fichier de -maillage (Trigrid ou Fasttabs).""", - ang = """The bathymetry will be read in the mesh file (Trigrid or Fasttabs).""", - ), -# ----------------------------------- - MESH_ADDITIONAL_DATA_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier additionnel. Ce fichier a une signification -differente en fonction du mailleur choisi. -\begin{itemize} -\item Trigrid : Fichier contenant la table de connectivites -(obligatoire). -\item Fasttabs : Fichier contenant les conditions limites (optionnel). -\end{itemize}""", - ang = """Name of the additionql file. The meaning of this file depend on the -type of mesh generator. -\begin{itemize} -\item Trigrid : containing the connectivity table built (mandatory). -\item Fasttabs : boundary condition file built by Fasttabs (optional). -\end{itemize}""", - ), - ), -# ----------------------------------- - b_MESH_GENERATORI = BLOC(condition="MESH_GENERATOR == 'FASTTABS'", -# ----------------------------------- -# ----------------------------------- - BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de relire les conditions limites dans le fichier -additionnel (Fasttabs).""", - ang = """The boundary condition will be read in the additional file - (Fasttabs).""", - ), -# ----------------------------------- - b_BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILEG = BLOC(condition="BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE == True", -# ----------------------------------- -# ----------------------------------- - BOUNDARY_UNIVERSAL_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier construit par le mailleur, a partir duquel \stbtel va -travailler.""", - ang = """Name of the file created by the mesh generator, and from which \stbtel -will work.""", - ), - ), - ), -# ----------------------------------- - BINARY_STANDARD = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['STD','IBM','I3E'], - defaut = 'STD', - fr = """Adapte l''ecriture du \telkey{FICHIER DE GEOMETRIE POUR TELEMAC} au -standard binaire choisi pour celui-ci. Ce peut etre : -\begin{itemize} -\item IBM : binaire IBM, -\item I3E : binaire HP, -\item STD : prend par defaut le binaire de la machine sur laquelle - l''utilisateur travaille. Ce sont alors des ordres READ et - WRITE normaux qui sont utilises. -\end{itemize}""", - ang = """Matches the writing of the \telkey{GEOMETRY FILE FOR TELEMAC} to the -binary standard chosen for the latter. It will be selected among the -following: -\begin{itemize} -\item IBM: IBM binary, -\item I3E: HP binary, -\item STD: takes by default the binary on the computer with which - the user is working. The normal READ and WRITE commands - are then used. -\end{itemize}""", - ), -# ----------------------------------- - UNIVERSAL_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier construit par le mailleur, a partir duquel \stbtel va -travailler.""", - ang = """Name of the file created by the mesh generator, and from which \stbtel -will work.""", - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT_FOR_TELEMAC = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['','SERAFIN','SERAFIND','MED'], - defaut = '', - fr = """Format du fichier qui contiendra le maillage, et qui servira pour -les calculs \telemac{2D}. Si aucun format n''est donné il prendra -soit le même format que le fichier universel si il est en -SERAFIN/SERAFIND sinon SERAFIN""", - ang = """Format of the file that will contain the mesh data, -and to be used in \telemac{2D} computations. -If no format is given it will take the format of the universal -file (if it is SERAFIN file) SERAFIN otherwise""", - ), -# ----------------------------------- - GEOMETRY_FILE_FOR_TELEMAC = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier qui contiendra le maillage mis au format SELAFIN, et -qui servira pour les calculs \telemac{2D}.""", - ang = """Name of the file that will contain the mesh data to SELAFIN format, -and to be used in \telemac{2D} computations.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier qui contiendra les conditions aux limites lues dans le -\telkey{FICHIER UNIVERSEL}, et qui servira pour les calculs -\telemac{2D}. (les conditions aux limites sont definies lors de la -realisation du maillage, au moyen de couleurs affectees aux noeuds des -frontieres du domaine de calcul).""", - ang = """Name of the file that will contain the boundary conditions being read -from the \telkey{UNIVERSAL FILE}, and to be used in \telemac{2D} -computations. (The boundary conditions are defined when preparing the -meshes, through colours that are allotted to the nodes of the -computation domain boundaries).""", - ), -# ----------------------------------- - OVERSTRESSED_TRIANGLES_CUTTING = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Un triangle surcontraint est tel que ses trois noeuds soient situes -sur une frontiere du domaine de calcul. La presence de tels triangles -peut entrainer des instabilites lors des calculs realises par -TELEMAC 2D.\\ -Cette option permet, en creant un noeud place au barycentre de des -triangles surcontraints, d''eviter de tels problemes.""", - ang = """An overstressed triangle is one whose three nodes are located along a -boundary of the computational domain. The occurrence of such triangles -may bring about instabilities in the computations made by TELEMAC 2D. -Such problems can be prevented by this option, through the creation of -a node at the geometric centres of the overstressed triangles.""", - ), -# ----------------------------------- - ELIMINATION_OF_BACKWARD_DEPENDENCIES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Permet de renumeroter les noeuds du maillage de maniere a eliminer les -dependances arrieres et autoriser ainsi le forcage de la vectorisation -lorsque les calculs TELEMAC 2D son effectues sur CRAY.\\ -\begin{WarningBlock}{Attention :} -Un nombre minimum d''environ 500 noeuds est requis pour -l''activation de cette option. -\end{WarningBlock}""", - ang = """Provides for renumbering of the mesh nodes in order to eliminate the -backward dependencies, thereby enabling a forced vectorisation when -the TELEMAC 2D computations are made on a CRAY.\\ -\begin{WarningBlock}{Warning:} -About 500 nodes is the least number required for activating -this option. -\end{WarningBlock}""", - ), -# ----------------------------------- - NODES_RENUMBERING = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet d''utiliser le nouveau type de stockage des matrices.""", - ang = """Necessary to use the new storage scheme for the matrix.""", - ), -# ----------------------------------- - WRITING_NODE_COLOURS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option non activee.""", - ang = """Option not activated""", - ), -# ----------------------------------- - BOTTOM = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 20000, - fr = """Permet de dimensionner le tableau utilise pour la lecture, dans les -\telkey{FICHIERS DES FONDS}, des points releves a la table a -digitaliser.""", - ang = """Designed for dimensioning the array that is used for reading, in the -\telkey{BOTTOM TOPOGRAPHY FILES}, the points recorded at the digitizing -tablet.""", - ), -# ----------------------------------- - MINIMUM_DISTANCE_AT_BOUNDARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """L''interpolation de la bathymetrie sur les noeuds du maillage est -realisee de la facon suivante. Pour chaque noeud du maillage, on -decoupe le plan en 4 quadrans. Dans chacun de ces quadrans, on cherche -le point releve a la table a digitaliser le plus proche. On affecte -alors au noeud considere une profondeur correspondant a la moyenne, -ponderee par la distance a ce noeud, des profondeurs en chacun des 4 -points precedemment trouves.\\ -On verifie toutefois que, lors de la recherche des points, les -frontieres du domaine ne sont pas franchies, de maniere a ne pas -introduire d''aberration dans la bathymetrie.\\ -Ce mot-cle permet alors de definir la distance minimale aux frontieres -du domaine en dessous de laquelle on refuse de prendre en compte les -points releves.""", - ang = """The bathymetric data at the mesh nodes are interpolated. At each mesh -node, the plane is cut into 4 quadrants in each of which, among the -points recorded at the digitizing tablet, the closest one to the node -being considered is searched for.\\ -This node is thenn given a depth corresponding to the mean depth at -each of the 4 points previously found, these depths being weighted -by the distance to the node.\\ -When searching for the points in the quadrants, however, one shall -make sure the boundaries aare not overstepped in order to prevent -aberrations from being introduced into the bathymetric data.\\ -The keyword can then be used for specifying the minimum distance to -the boundaries below which the recorded points should be ignored.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILES = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui -servira pour la definition, par interpolation, de la profondeur en -chaque point du maillage.""", - ang = """Name of the file containing the bathymetric points (to SINUSX -standard), to be used, through interpolation, for defining the depth -at each point of the mesh.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILES_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui -servira pour la definition, par interpolation, de la profondeur en -chaque point du maillage.""", - ang = """Name of the file containing the bathymetric points (to SINUSX -standard), to be used, through interpolation, for defining the depth -at each point of the mesh.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILES_3 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui -servira pour la definition, par interpolation, de la profondeur en -chaque point du maillage.""", - ang = """Name of the file containing the bathymetric points (to SINUSX -standard), to be used, through interpolation, for defining the depth -at each point of the mesh.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILES_4 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui -servira pour la definition, par interpolation, de la profondeur en -chaque point du maillage.""", - ang = """Name of the file containing the bathymetric points (to SINUSX -standard), to be used, through interpolation, for defining the depth -at each point of the mesh.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILES_5 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant la bathymetrie (au standard SINUSX), qui -servira pour la definition, par interpolation, de la profondeur en -chaque point du maillage.""", - ang = """Name of the file containing the bathymetric points (to SINUSX -standard), to be used, through interpolation, for defining the depth -at each point of the mesh.""", - ), - ), -# ----------------------------------- - EXTRACTION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Lorsque l''on souhaite extraire une partie du maillage, permet de -definir le nombre de sommets du polygone a l''interieur duquel le -maillage sera effectivement extrait.\\ -\begin{WarningBlock}{Attention :} -Ce polygone doit etre convexe et les coordonnees des sommets donnes dans -l''ordre trigonometrique. \end{WarningBlock}""", - ang = """When you want to extract a piece of the mesh, this key-word fixes -the number of vertices of a polygon inside of which the mesh will be -finally extracted.\\ -\begin{WarningBlock}{Warning:} -This polygon should have a convex shape and the coordinates of the -vertices be given with an anti clock wise order. -\end{WarningBlock}""", - ), -# ----------------------------------- - b_NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESHG = BLOC(condition="NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH > 0", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0,0,0,0,0,0,0,0,0], - fr = """Lorsque l''on souhaite extraire une partie du maillage, -permet de definir les abscisses des sommets du polygone a l''interieur -duquel le maillage sera effectivement extrait. -\begin{WarningBlock}{Attention :} -ce polygone doit etre convexe et les coordonnees des -sommets donnes dans l''ordre trigonometrique. -\end{WarningBlock}""", - ang = """When you want to extract a piece of the mesh, this key-word fixes -the abscissae of the vertices of a polygon inside of which the mesh -will be finally extracted.\\ -\begin{WarningBlock}{Warning:} -This polygon should have a convex shape and the coordinates -of the vertices be given with an anti clock wise order. -\end{WarningBlock}""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0,0,0,0,0,0,0,0,0], - fr = """Lorsque l''on souhaite extraire une partie du maillage, -permet de definir les ordonnees des sommets du polygone a l''interieur -duquel le maillage sera effectivement extrait.\\ -\begin{WarningBlock}{Attention :} -Ce polygone doit etre convexe et les coordonnees des -sommets donnes dans l''ordre trigonometrique. -\end{WarningBlock}""", - ang = """When you want to extract a piece of the mesh, this key-word fixes -the ordinates of the vertices of a polygon inside of which the mesh -will be finally extracted.\\ -\begin{WarningBlock}{Warning:} -This polygon should have a convex shape and the coordinates -of the vertices be given with an anti clock wise order. -\end{WarningBlock}""", - ), -# ----------------------------------- - PROJECTION_AFTER_EXTRACTION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, min=0, max='**', - defaut = [True ], - fr = """Lors d''une extraction de maillage suivant un polygone, projette ou -non le maillage extrait sur les aretes du polygone.""", - ang = """When a mesh is extracted inside a polygon, indicates whether the mesh -should be projected through the faces of the polygon or not.""", - ), - ), - ), -# ----------------------------------- - REFFINEMENT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CUTTING_ELEMENTS_IN_FOUR = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decoupe chaque element du mayage en quatre elements homothetiques -en joignant les milieux des aretes.""", - ang = """Cuts every element of the mesh in four homothetic elements -by joigning the middle points of each side.""", - ), -# ----------------------------------- - NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Lorsque l''on souhaite raffiner une partie du maillage, -permet de definir le nombre de sommets du polygone a l''interieur -duquel le maillage sera effectivement raffine.\\ -\begin{WarningBlock}{Attention:} -Ce polygone doit etre convexe et les coordonnees des -sommets donnes dans l''ordre trigonometrique. -\end{WarningBlock}""", - ang = """When you want to refine a piece of the mesh, this key-word fixes -the number of vertices of a polygon inside of which the mesh will be -finally refined.\\ -\begin{WarningBlock}{ATTENTION:} -This polygon should have a convex shape and the coordinates -of the vertices be given with an anti clock wise order. -\end{WarningBlock}""", - ), -# ----------------------------------- - b_NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESHG = BLOC(condition="NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH > 0", -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0,0,0,0,0,0,0,0,0], - fr = """Lorsque l''on souhaite raffiner une partie du maillage, -permet de definir les abscisses des sommets du polygone a l''interieur -duquel le maillage sera effectivement raffine.\\ -\begin{WarningBlock}{Attention :} -ce polygone doit etre convexe et les coordonnees des -sommets donnes dans l''ordre trigonometrique. -\end{WarningBlock}""", - ang = """When you want to refine a piece of the mesh, this key-word fixes -the abscissae of the vertices of a polygon inside of which the mesh -will be finally refined.\\ -\begin{WarningBlock}{Warning:} -This polygon should have a convex shape and the coordinates -of the vertices be given with an anti clock wise order. -\end{WarningBlock}""", - ), -# ----------------------------------- - ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0,0,0,0,0,0,0,0,0], - fr = """Lorsque l''on souhaite raffiner une partie du maillage, -permet de definir les ordonnees des sommets du polygone a l''interieur -duquel le maillage sera effectivement raffine.\\ -\begin{WarningBlock}{Attention :} -ce polygone doit etre convexe et les coordonnees des -sommets donnes dans l''ordre trigonometrique. -\end{WarningBlock}""", - ang = """When you want to refine a piece of the mesh, this key-word fixes -the ordinates of the vertices of a polygon inside of which the mesh -will be finally refined.\\ -\begin{WarningBlock}{Warning:} -This polygon should have a convex shape and the coordinates -of the vertices be given with an anti clock wise order. -\end{WarningBlock}""", - ), - ), - ), -# ----------------------------------- - DRY_ELEMENTS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - DRY_ELEMENTS_ELIMINATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Lors du traitement d''un fichier de resultats issu de \telemac{2D}, -permet d''activer l''elimination des elements secs.""", - ang = """When using a \telemac{2D} results file, this keyword activates the -dry elements elimination.""", - ), -# ----------------------------------- - PARTIALLY_DRY_ELEMENTS_ELIMINATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Lors de l''elimination des elements secs, permet de specifier si -on traite les elements parteillement secs (au moins un noeud sec).""", - ang = """When removing dry elements, specify if the partially dry elements are -treated (at least one dry node).""", - ), -# ----------------------------------- - DRY_LIMIT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Fixe la valeur du seuil (en metre) de hauteur d''eau en dessous -duquel un noeud est considere comme sec.""", - ang = """Limit of water depth value (in meter) under which the node is -considered as dry node.""", - ), -# ----------------------------------- - STORAGE_OF_ALL_TIME_STEPS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Lors du traitement d''elimination des elements secs, permet de -specifier si on restocke tous les pas de temps dans le fichier -resultat""", - ang = """When treating dry elements elimination, specify that -all time steps are to be stored in the results file.""", - ), - ), -) -# ----------------------------------------------------------------------- -CONVERTER_INFO = PROC(nom= "CONVERTER_INFO",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DEBUG = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet d activer le mode debuggage.""", - ang = """Activate the debug mode.""", - ), -# ----------------------------------- - CONVERTER = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet d activer le module de conversion.""", - ang = """Activate the conversion module.""", - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INPUT_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED','UNV','CGNS'], - defaut = 'SERAFIN', - fr = """Specifie le format du fichier d entree""", - ang = """Specify input file format""", - ), -# ----------------------------------- - INPUT_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier a convertir.""", - ang = """Name of the file to convert.""", - ), -# ----------------------------------- - BOUNDARY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier des conditions limites""", - ang = """Name of the boundary condition file""", - ), -# ----------------------------------- - LOG_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier complementaire pour le format UNV""", - ang = """Name of the complementary file for the UNV format""", - ), -# ----------------------------------- - BOUNDARY_CONDITION_IN_SERAFIN_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Fichier de conditions limites dans le cas d''une conversion depuis -SERAFIN.""", - ang = """Boundary condition file when converting from SERAFIN.""", - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - OUTPUT_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED','UNV','CGNS','VTK','CGNS'], - defaut = 'SERAFIN', - fr = """Specifie le format du fichier de sortie""", - ang = """Specify output file format""", - ), -# ----------------------------------- - OUTPUT_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier converti""", - ang = """Name of the converted file""", - ), -# ----------------------------------- - OUTPUT_BOUNDARY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier des conditions limites pour le fichier converti""", - ang = """Name of the boundary file for the converted file""", - ), -# ----------------------------------- - OUTPUT_LOG_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier complementaire pour le fichier converti""", - ang = """Name of the complementary file for the converted file""", - ), - ), -# ----------------------------------- - TRANSLATION_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TRANSLATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet d activer la translation de maillage.""", - ang = """Activate the translation of the mesh.""", - ), -# ----------------------------------- - b_TRANSLATIONG = BLOC(condition="TRANSLATION == True", -# ----------------------------------- -# ----------------------------------- - X_TRANSLATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Translation selon x""", - ang = """Translation on the x axes""", - ), -# ----------------------------------- - Y_TRANSLATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Translation selon y""", - ang = """Translation on the y axes""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -SETTINGS = PROC(nom= "SETTINGS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs en calcul parallele -\begin{itemize} -\item 0 : 1 machine, compilation sans bibliotheque de parallelisme -\item 1 : 1 machine, compilation avec bibliotheque de parallelisme -\item 2 : 2 processeurs ou machines en parallele -\item etc\ldots -\end{itemize}""", - ang = """Number of processors for parallel processing -\begin{itemize} -\item 0 : 1 machine, compiling without parallel library -\item 1 : 1 machine, compiling with a parallel library -\item 2 : 2 processors or machines in parallel -\item etc\ldots -\end{itemize}""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier Fortran a soumettre. -Il ne sert a priori qu''a dimensionner les tableaux utilises par -\stbtel, mais peut contenir des sous-programmes modifies ou propres a -l''utilisateur.""", - ang = """Name of Fortran file to be entered. -It is a priori only designed for dimensioning the arrays that are -used by \stbtel, but it may contain either modified or user-written -subroutines.""", - ), -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Permet de fixer, sur machine vectorielle, la longueur du vecteur.""", - ang = """Designed for dimensioning the vector length on vector machine.""", - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les references des fichiers et les options -du calcul a realiser.""", - ang = """Name of the file that contains the file references and of options for -the computation to be made.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'stbtel.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -) -TEXTE_NEW_JDC = "\ -" -Ordre_Des_Commandes = ( -'TREATMENT', -'CONVERTER_INFO', -'SETTINGS', -'INTERNAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.stbtel_enum_auto' -dicoCasEn = source+'.stbtel_dicoCasEnToCata' -dicoCasFr = source+'.stbtel_dicoCasFrToCata' diff --git a/Telemac/stbtel_dicoCasEnToCata.py b/Telemac/stbtel_dicoCasEnToCata.py deleted file mode 100644 index 3fcfcccc..00000000 --- a/Telemac/stbtel_dicoCasEnToCata.py +++ /dev/null @@ -1,112 +0,0 @@ -dicoCataToEngTelemac = { - "MINIMUM_DISTANCE_BETWEEN_TWO_POINTS" : "MINIMUM DISTANCE BETWEEN TWO POINTS", - "MESH_GENERATOR" : "MESH GENERATOR", - "BINARY_STANDARD" : "BINARY STANDARD", - "UNIVERSAL_FILE" : "UNIVERSAL FILE", - "MESH_ADDITIONAL_DATA_FILE" : "MESH ADDITIONAL DATA FILE", - "GEOMETRY_FILE_FORMAT_FOR_TELEMAC" : "GEOMETRY FILE FORMAT FOR TELEMAC", - "GEOMETRY_FILE_FOR_TELEMAC" : "GEOMETRY FILE FOR TELEMAC", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "BOTTOM_CORRECTION_OF_TRIGRID" : "BOTTOM CORRECTION OF TRIGRID", - "BATHYMETRY_IN_THE_UNIVERSAL_FILE" : "BATHYMETRY IN THE UNIVERSAL FILE", - "BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE" : "BOUNDARY CONDITIONS IN THE ADDITIONAL FILE", - "BOUNDARY_UNIVERSAL_FILE" : "BOUNDARY UNIVERSAL FILE", - "OVERSTRESSED_TRIANGLES_CUTTING" : "OVERSTRESSED TRIANGLES CUTTING", - "ELIMINATION_OF_BACKWARD_DEPENDENCIES" : "ELIMINATION OF BACKWARD DEPENDENCIES", - "NODES_RENUMBERING" : "NODES RENUMBERING", - "WRITING_NODE_COLOURS" : "WRITING NODE COLOURS", - "MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS" : "MAXIMUM NUMBER OF BATHYMETRIC POINTS", - "MINIMUM_DISTANCE_AT_BOUNDARY" : "MINIMUM DISTANCE AT BOUNDARY", - "BOTTOM_TOPOGRAPHY_FILES" : "BOTTOM TOPOGRAPHY FILES", - "BOTTOM_TOPOGRAPHY_FILES_2" : "BOTTOM TOPOGRAPHY FILES 2", - "BOTTOM_TOPOGRAPHY_FILES_3" : "BOTTOM TOPOGRAPHY FILES 3", - "BOTTOM_TOPOGRAPHY_FILES_4" : "BOTTOM TOPOGRAPHY FILES 4", - "BOTTOM_TOPOGRAPHY_FILES_5" : "BOTTOM TOPOGRAPHY FILES 5", - "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH" : "NUMBER OF VERTICES OF THE POLYGON TO EXTRACT THE MESH", - "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH" : "ABSCISSAE OF THE VERTICES OF THE POLYGON TO EXTRACT THE MESH", - "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH" : "ORDINATES OF THE VERTICES OF THE POLYGON TO EXTRACT THE MESH", - "PROJECTION_AFTER_EXTRACTION" : "PROJECTION AFTER EXTRACTION", - "CUTTING_ELEMENTS_IN_FOUR" : "CUTTING ELEMENTS IN FOUR", - "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH" : "NUMBER OF VERTICES OF THE POLYGON TO REFINE THE MESH", - "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH" : "ABSCISSAE OF THE VERTICES OF THE POLYGON TO REFINE THE MESH", - "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH" : "ORDINATES OF THE VERTICES OF THE POLYGON TO REFINE THE MESH", - "DRY_ELEMENTS_ELIMINATION" : "DRY ELEMENTS ELIMINATION", - "PARTIALLY_DRY_ELEMENTS_ELIMINATION" : "PARTIALLY DRY ELEMENTS ELIMINATION", - "DRY_LIMIT" : "DRY LIMIT", - "STORAGE_OF_ALL_TIME_STEPS" : "STORAGE OF ALL TIME STEPS", - "DEBUG" : "DEBUG", - "CONVERTER" : "CONVERTER", - "INPUT_FILE_FORMAT" : "INPUT FILE FORMAT", - "INPUT_FILE" : "INPUT FILE", - "BOUNDARY_FILE" : "BOUNDARY FILE", - "LOG_FILE" : "LOG FILE", - "BOUNDARY_CONDITION_IN_SERAFIN_FORMAT" : "BOUNDARY CONDITION IN SERAFIN FORMAT", - "OUTPUT_FILE_FORMAT" : "OUTPUT FILE FORMAT", - "OUTPUT_FILE" : "OUTPUT FILE", - "OUTPUT_BOUNDARY_FILE" : "OUTPUT BOUNDARY FILE", - "OUTPUT_LOG_FILE" : "OUTPUT LOG FILE", - "TRANSLATION" : "TRANSLATION", - "X_TRANSLATION" : "X TRANSLATION", - "Y_TRANSLATION" : "Y TRANSLATION", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "FORTRAN_FILE" : "FORTRAN FILE", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "STEERING_FILE" : "STEERING FILE", - "DICTIONARY" : "DICTIONARY", -} -dicoCasEnToCata = { - "MINIMUM DISTANCE BETWEEN TWO POINTS" : "MINIMUM_DISTANCE_BETWEEN_TWO_POINTS", - "MESH GENERATOR" : "MESH_GENERATOR", - "BINARY STANDARD" : "BINARY_STANDARD", - "UNIVERSAL FILE" : "UNIVERSAL_FILE", - "MESH ADDITIONAL DATA FILE" : "MESH_ADDITIONAL_DATA_FILE", - "GEOMETRY FILE FORMAT FOR TELEMAC" : "GEOMETRY_FILE_FORMAT_FOR_TELEMAC", - "GEOMETRY FILE FOR TELEMAC" : "GEOMETRY_FILE_FOR_TELEMAC", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "BOTTOM CORRECTION OF TRIGRID" : "BOTTOM_CORRECTION_OF_TRIGRID", - "BATHYMETRY IN THE UNIVERSAL FILE" : "BATHYMETRY_IN_THE_UNIVERSAL_FILE", - "BOUNDARY CONDITIONS IN THE ADDITIONAL FILE" : "BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE", - "BOUNDARY UNIVERSAL FILE" : "BOUNDARY_UNIVERSAL_FILE", - "OVERSTRESSED TRIANGLES CUTTING" : "OVERSTRESSED_TRIANGLES_CUTTING", - "ELIMINATION OF BACKWARD DEPENDENCIES" : "ELIMINATION_OF_BACKWARD_DEPENDENCIES", - "NODES RENUMBERING" : "NODES_RENUMBERING", - "WRITING NODE COLOURS" : "WRITING_NODE_COLOURS", - "MAXIMUM NUMBER OF BATHYMETRIC POINTS" : "MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS", - "MINIMUM DISTANCE AT BOUNDARY" : "MINIMUM_DISTANCE_AT_BOUNDARY", - "BOTTOM TOPOGRAPHY FILES" : "BOTTOM_TOPOGRAPHY_FILES", - "BOTTOM TOPOGRAPHY FILES 2" : "BOTTOM_TOPOGRAPHY_FILES_2", - "BOTTOM TOPOGRAPHY FILES 3" : "BOTTOM_TOPOGRAPHY_FILES_3", - "BOTTOM TOPOGRAPHY FILES 4" : "BOTTOM_TOPOGRAPHY_FILES_4", - "BOTTOM TOPOGRAPHY FILES 5" : "BOTTOM_TOPOGRAPHY_FILES_5", - "NUMBER OF VERTICES OF THE POLYGON TO EXTRACT THE MESH" : "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "ABSCISSAE OF THE VERTICES OF THE POLYGON TO EXTRACT THE MESH" : "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "ORDINATES OF THE VERTICES OF THE POLYGON TO EXTRACT THE MESH" : "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "PROJECTION AFTER EXTRACTION" : "PROJECTION_AFTER_EXTRACTION", - "CUTTING ELEMENTS IN FOUR" : "CUTTING_ELEMENTS_IN_FOUR", - "NUMBER OF VERTICES OF THE POLYGON TO REFINE THE MESH" : "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ABSCISSAE OF THE VERTICES OF THE POLYGON TO REFINE THE MESH" : "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ORDINATES OF THE VERTICES OF THE POLYGON TO REFINE THE MESH" : "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "DRY ELEMENTS ELIMINATION" : "DRY_ELEMENTS_ELIMINATION", - "PARTIALLY DRY ELEMENTS ELIMINATION" : "PARTIALLY_DRY_ELEMENTS_ELIMINATION", - "DRY LIMIT" : "DRY_LIMIT", - "STORAGE OF ALL TIME STEPS" : "STORAGE_OF_ALL_TIME_STEPS", - "DEBUG" : "DEBUG", - "CONVERTER" : "CONVERTER", - "INPUT FILE FORMAT" : "INPUT_FILE_FORMAT", - "INPUT FILE" : "INPUT_FILE", - "BOUNDARY FILE" : "BOUNDARY_FILE", - "LOG FILE" : "LOG_FILE", - "BOUNDARY CONDITION IN SERAFIN FORMAT" : "BOUNDARY_CONDITION_IN_SERAFIN_FORMAT", - "OUTPUT FILE FORMAT" : "OUTPUT_FILE_FORMAT", - "OUTPUT FILE" : "OUTPUT_FILE", - "OUTPUT BOUNDARY FILE" : "OUTPUT_BOUNDARY_FILE", - "OUTPUT LOG FILE" : "OUTPUT_LOG_FILE", - "TRANSLATION" : "TRANSLATION", - "X TRANSLATION" : "X_TRANSLATION", - "Y TRANSLATION" : "Y_TRANSLATION", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "FORTRAN FILE" : "FORTRAN_FILE", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "STEERING FILE" : "STEERING_FILE", - "DICTIONARY" : "DICTIONARY", -} diff --git a/Telemac/stbtel_dicoCasFrToCata.py b/Telemac/stbtel_dicoCasFrToCata.py deleted file mode 100644 index aa4cf8cc..00000000 --- a/Telemac/stbtel_dicoCasFrToCata.py +++ /dev/null @@ -1,112 +0,0 @@ -dicoCataToFrTelemac = { - "MINIMUM_DISTANCE_BETWEEN_TWO_POINTS" : "DISTANCE MINIMALE ENTRE DEUX POINTS", - "MESH_GENERATOR" : "MAILLEUR", - "BINARY_STANDARD" : "STANDARD DE BINAIRE", - "UNIVERSAL_FILE" : "FICHIER UNIVERSEL", - "MESH_ADDITIONAL_DATA_FILE" : "FICHIER ADDITIONNEL DU MAILLEUR", - "GEOMETRY_FILE_FORMAT_FOR_TELEMAC" : "FORMAT DU FICHIER DE GEOMETRIE POUR TELEMAC", - "GEOMETRY_FILE_FOR_TELEMAC" : "FICHIER DE GEOMETRIE POUR TELEMAC", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "BOTTOM_CORRECTION_OF_TRIGRID" : "CORRECTION DES FONDS DE TRIGRID", - "BATHYMETRY_IN_THE_UNIVERSAL_FILE" : "BATHYMETRIE DANS LE FICHIER UNIVERSEL", - "BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE" : "CONDITIONS LIMITES DANS LE FICHIER ADDITIONNEL", - "BOUNDARY_UNIVERSAL_FILE" : "FICHIER UNIVERSEL LIMITE", - "OVERSTRESSED_TRIANGLES_CUTTING" : "DECOUPAGE DES TRIANGLES SURCONTRAINTS", - "ELIMINATION_OF_BACKWARD_DEPENDENCIES" : "ELIMINATION DES DEPENDANCES ARRIERES", - "NODES_RENUMBERING" : "RENUMEROTATION DES POINTS", - "WRITING_NODE_COLOURS" : "ECRITURE DE LA COULEUR DES NOEUDS", - "MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS" : "NOMBRE MAXIMUM DE POINTS DE BATHYMETRIE", - "MINIMUM_DISTANCE_AT_BOUNDARY" : "DISTANCE MINIMALE A LA FRONTIERE", - "BOTTOM_TOPOGRAPHY_FILES" : "FICHIERS DES FONDS", - "BOTTOM_TOPOGRAPHY_FILES_2" : "FICHIERS DES FONDS 2", - "BOTTOM_TOPOGRAPHY_FILES_3" : "FICHIERS DES FONDS 3", - "BOTTOM_TOPOGRAPHY_FILES_4" : "FICHIERS DES FONDS 4", - "BOTTOM_TOPOGRAPHY_FILES_5" : "FICHIERS DES FONDS 5", - "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH" : "NOMBRE DE SOMMETS DU POLYGONE D'EXTRACTION", - "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH" : "ABSCISSES DES SOMMETS DU POLYGONE D'EXTRACTION", - "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH" : "ORDONNEES DES SOMMETS DU POLYGONE D'EXTRACTION", - "PROJECTION_AFTER_EXTRACTION" : "PROJECTION APRES EXTRACTION", - "CUTTING_ELEMENTS_IN_FOUR" : "DECOUPAGE DES TRIANGLES EN QUATRE", - "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH" : "NOMBRE DE SOMMETS DU POLYGONE DE RAFFINEMENT", - "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH" : "ABSCISSES DES SOMMETS DU POLYGONE DE RAFFINEMENT", - "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH" : "ORDONNEES DES SOMMETS DU POLYGONE DE RAFFINEMENT", - "DRY_ELEMENTS_ELIMINATION" : "ELIMINATION DES ELEMENTS SECS", - "PARTIALLY_DRY_ELEMENTS_ELIMINATION" : "ELIMINATION DES ELEMENTS PARTIELLEMENT SECS", - "DRY_LIMIT" : "SEUIL DE SECHERESSE", - "STORAGE_OF_ALL_TIME_STEPS" : "STOCKAGE DE TOUS LES PAS DE TEMPS", - "DEBUG" : "DEBUG", - "CONVERTER" : "CONVERTISSEUR", - "INPUT_FILE_FORMAT" : "FORMAT DU FICHIER D ENTREE", - "INPUT_FILE" : "FICHIER D ENTREE", - "BOUNDARY_FILE" : "FICHIER DES CONDITIONS LIMITES", - "LOG_FILE" : "FICHIER LOG", - "BOUNDARY_CONDITION_IN_SERAFIN_FORMAT" : "CONDITION LIMITE EN FORMAT SERAFIN", - "OUTPUT_FILE_FORMAT" : "FORMAT DU FICHIER DE SORTIE", - "OUTPUT_FILE" : "FICHIER DE SORTIE", - "OUTPUT_BOUNDARY_FILE" : "FICHIER DES CONDITIONS LIMITES EN SORTIE", - "OUTPUT_LOG_FILE" : "FICHIER LOG EN SORTIE", - "TRANSLATION" : "TRANSLATION", - "X_TRANSLATION" : "TRANSLATION SELON X", - "Y_TRANSLATION" : "TRANSLATION SELON Y", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "DICTIONARY" : "DICTIONNAIRE", -} -dicoCasFrToCata = { - "DISTANCE MINIMALE ENTRE DEUX POINTS" : "MINIMUM_DISTANCE_BETWEEN_TWO_POINTS", - "MAILLEUR" : "MESH_GENERATOR", - "STANDARD DE BINAIRE" : "BINARY_STANDARD", - "FICHIER UNIVERSEL" : "UNIVERSAL_FILE", - "FICHIER ADDITIONNEL DU MAILLEUR" : "MESH_ADDITIONAL_DATA_FILE", - "FORMAT DU FICHIER DE GEOMETRIE POUR TELEMAC" : "GEOMETRY_FILE_FORMAT_FOR_TELEMAC", - "FICHIER DE GEOMETRIE POUR TELEMAC" : "GEOMETRY_FILE_FOR_TELEMAC", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "CORRECTION DES FONDS DE TRIGRID" : "BOTTOM_CORRECTION_OF_TRIGRID", - "BATHYMETRIE DANS LE FICHIER UNIVERSEL" : "BATHYMETRY_IN_THE_UNIVERSAL_FILE", - "CONDITIONS LIMITES DANS LE FICHIER ADDITIONNEL" : "BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE", - "FICHIER UNIVERSEL LIMITE" : "BOUNDARY_UNIVERSAL_FILE", - "DECOUPAGE DES TRIANGLES SURCONTRAINTS" : "OVERSTRESSED_TRIANGLES_CUTTING", - "ELIMINATION DES DEPENDANCES ARRIERES" : "ELIMINATION_OF_BACKWARD_DEPENDENCIES", - "RENUMEROTATION DES POINTS" : "NODES_RENUMBERING", - "ECRITURE DE LA COULEUR DES NOEUDS" : "WRITING_NODE_COLOURS", - "NOMBRE MAXIMUM DE POINTS DE BATHYMETRIE" : "MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS", - "DISTANCE MINIMALE A LA FRONTIERE" : "MINIMUM_DISTANCE_AT_BOUNDARY", - "FICHIERS DES FONDS" : "BOTTOM_TOPOGRAPHY_FILES", - "FICHIERS DES FONDS 2" : "BOTTOM_TOPOGRAPHY_FILES_2", - "FICHIERS DES FONDS 3" : "BOTTOM_TOPOGRAPHY_FILES_3", - "FICHIERS DES FONDS 4" : "BOTTOM_TOPOGRAPHY_FILES_4", - "FICHIERS DES FONDS 5" : "BOTTOM_TOPOGRAPHY_FILES_5", - "NOMBRE DE SOMMETS DU POLYGONE D'EXTRACTION" : "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "ABSCISSES DES SOMMETS DU POLYGONE D'EXTRACTION" : "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "ORDONNEES DES SOMMETS DU POLYGONE D'EXTRACTION" : "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "PROJECTION APRES EXTRACTION" : "PROJECTION_AFTER_EXTRACTION", - "DECOUPAGE DES TRIANGLES EN QUATRE" : "CUTTING_ELEMENTS_IN_FOUR", - "NOMBRE DE SOMMETS DU POLYGONE DE RAFFINEMENT" : "NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ABSCISSES DES SOMMETS DU POLYGONE DE RAFFINEMENT" : "ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ORDONNEES DES SOMMETS DU POLYGONE DE RAFFINEMENT" : "ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ELIMINATION DES ELEMENTS SECS" : "DRY_ELEMENTS_ELIMINATION", - "ELIMINATION DES ELEMENTS PARTIELLEMENT SECS" : "PARTIALLY_DRY_ELEMENTS_ELIMINATION", - "SEUIL DE SECHERESSE" : "DRY_LIMIT", - "STOCKAGE DE TOUS LES PAS DE TEMPS" : "STORAGE_OF_ALL_TIME_STEPS", - "DEBUG" : "DEBUG", - "CONVERTISSEUR" : "CONVERTER", - "FORMAT DU FICHIER D ENTREE" : "INPUT_FILE_FORMAT", - "FICHIER D ENTREE" : "INPUT_FILE", - "FICHIER DES CONDITIONS LIMITES" : "BOUNDARY_FILE", - "FICHIER LOG" : "LOG_FILE", - "CONDITION LIMITE EN FORMAT SERAFIN" : "BOUNDARY_CONDITION_IN_SERAFIN_FORMAT", - "FORMAT DU FICHIER DE SORTIE" : "OUTPUT_FILE_FORMAT", - "FICHIER DE SORTIE" : "OUTPUT_FILE", - "FICHIER DES CONDITIONS LIMITES EN SORTIE" : "OUTPUT_BOUNDARY_FILE", - "FICHIER LOG EN SORTIE" : "OUTPUT_LOG_FILE", - "TRANSLATION" : "TRANSLATION", - "TRANSLATION SELON X" : "X_TRANSLATION", - "TRANSLATION SELON Y" : "Y_TRANSLATION", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DICTIONNAIRE" : "DICTIONARY", -} diff --git a/Telemac/stbtel_enum_auto.py b/Telemac/stbtel_enum_auto.py deleted file mode 100644 index 98837520..00000000 --- a/Telemac/stbtel_enum_auto.py +++ /dev/null @@ -1,164 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -} -TelemacdicoFr = { -} - -DicoCasFrToCata = { - "DISTANCE MINIMALE ENTRE DEUX POINTS":"MINIMUM_DISTANCE_BETWEEN_TWO_POINTS", - "MAILLEUR":"MESH_GENERATOR", - "STANDARD DE BINAIRE":"BINARY_STANDARD", - "FICHIER UNIVERSEL":"UNIVERSAL_FILE", - "FICHIER ADDITIONNEL DU MAILLEUR":"MESH_ADDITIONAL_DATA_FILE", - "FORMAT DU FICHIER DE GEOMETRIE POUR TELEMAC":"GEOMETRY_FILE_FORMAT_FOR_TELEMAC", - "FICHIER DE GEOMETRIE POUR TELEMAC":"GEOMETRY_FILE_FOR_TELEMAC", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "CORRECTION DES FONDS DE TRIGRID":"BOTTOM_CORRECTION_OF_TRIGRID", - "BATHYMETRIE DANS LE FICHIER UNIVERSEL":"BATHYMETRY_IN_THE_UNIVERSAL_FILE", - "CONDITIONS LIMITES DANS LE FICHIER ADDITIONNEL":"BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE", - "FICHIER UNIVERSEL LIMITE":"BOUNDARY_UNIVERSAL_FILE", - "DECOUPAGE DES TRIANGLES SURCONTRAINTS":"OVERSTRESSED_TRIANGLES_CUTTING", - "ELIMINATION DES DEPENDANCES ARRIERES":"ELIMINATION_OF_BACKWARD_DEPENDENCIES", - "RENUMEROTATION DES POINTS":"NODES_RENUMBERING", - "ECRITURE DE LA COULEUR DES NOEUDS":"WRITING_NODE_COLOURS", - "NOMBRE MAXIMUM DE POINTS DE BATHYMETRIE":"MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS", - "DISTANCE MINIMALE A LA FRONTIERE":"MINIMUM_DISTANCE_AT_BOUNDARY", - "FICHIERS DES FONDS":"BOTTOM_TOPOGRAPHY_FILES", - "FICHIERS DES FONDS 2":"BOTTOM_TOPOGRAPHY_FILES_2", - "FICHIERS DES FONDS 3":"BOTTOM_TOPOGRAPHY_FILES_3", - "FICHIERS DES FONDS 4":"BOTTOM_TOPOGRAPHY_FILES_4", - "FICHIERS DES FONDS 5":"BOTTOM_TOPOGRAPHY_FILES_5", - "NOMBRE DE SOMMETS DU POLYGONE D'EXTRACTION":"NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "ABSCISSES DES SOMMETS DU POLYGONE D'EXTRACTION":"ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "ORDONNEES DES SOMMETS DU POLYGONE D'EXTRACTION":"ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH", - "PROJECTION APRES EXTRACTION":"PROJECTION_AFTER_EXTRACTION", - "DECOUPAGE DES TRIANGLES EN QUATRE":"CUTTING_ELEMENTS_IN_FOUR", - "NOMBRE DE SOMMETS DU POLYGONE DE RAFFINEMENT":"NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ABSCISSES DES SOMMETS DU POLYGONE DE RAFFINEMENT":"ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ORDONNEES DES SOMMETS DU POLYGONE DE RAFFINEMENT":"ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH", - "ELIMINATION DES ELEMENTS SECS":"DRY_ELEMENTS_ELIMINATION", - "ELIMINATION DES ELEMENTS PARTIELLEMENT SECS":"PARTIALLY_DRY_ELEMENTS_ELIMINATION", - "SEUIL DE SECHERESSE":"DRY_LIMIT", - "STOCKAGE DE TOUS LES PAS DE TEMPS":"STORAGE_OF_ALL_TIME_STEPS", - "DEBUG":"DEBUG", - "CONVERTISSEUR":"CONVERTER", - "FORMAT DU FICHIER D ENTREE":"INPUT_FILE_FORMAT", - "FICHIER D ENTREE":"INPUT_FILE", - "FICHIER DES CONDITIONS LIMITES":"BOUNDARY_FILE", - "FICHIER LOG":"LOG_FILE", - "CONDITION LIMITE EN FORMAT SERAFIN":"BOUNDARY_CONDITION_IN_SERAFIN_FORMAT", - "FORMAT DU FICHIER DE SORTIE":"OUTPUT_FILE_FORMAT", - "FICHIER DE SORTIE":"OUTPUT_FILE", - "FICHIER DES CONDITIONS LIMITES EN SORTIE":"OUTPUT_BOUNDARY_FILE", - "FICHIER LOG EN SORTIE":"OUTPUT_LOG_FILE", - "TRANSLATION":"TRANSLATION", - "TRANSLATION SELON X":"X_TRANSLATION", - "TRANSLATION SELON Y":"Y_TRANSLATION", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "FICHIER FORTRAN":"FORTRAN_FILE", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DICTIONNAIRE":"DICTIONARY", -} - -DicoCasEnToCata = { - 'MINIMUM DISTANCE BETWEEN TWO POINTS':'MINIMUM_DISTANCE_BETWEEN_TWO_POINTS', - 'MESH GENERATOR':'MESH_GENERATOR', - 'BINARY STANDARD':'BINARY_STANDARD', - 'UNIVERSAL FILE':'UNIVERSAL_FILE', - 'MESH ADDITIONAL DATA FILE':'MESH_ADDITIONAL_DATA_FILE', - 'GEOMETRY FILE FORMAT FOR TELEMAC':'GEOMETRY_FILE_FORMAT_FOR_TELEMAC', - 'GEOMETRY FILE FOR TELEMAC':'GEOMETRY_FILE_FOR_TELEMAC', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'BOTTOM CORRECTION OF TRIGRID':'BOTTOM_CORRECTION_OF_TRIGRID', - 'BATHYMETRY IN THE UNIVERSAL FILE':'BATHYMETRY_IN_THE_UNIVERSAL_FILE', - 'BOUNDARY CONDITIONS IN THE ADDITIONAL FILE':'BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE', - 'BOUNDARY UNIVERSAL FILE':'BOUNDARY_UNIVERSAL_FILE', - 'OVERSTRESSED TRIANGLES CUTTING':'OVERSTRESSED_TRIANGLES_CUTTING', - 'ELIMINATION OF BACKWARD DEPENDENCIES':'ELIMINATION_OF_BACKWARD_DEPENDENCIES', - 'NODES RENUMBERING':'NODES_RENUMBERING', - 'WRITING NODE COLOURS':'WRITING_NODE_COLOURS', - 'MAXIMUM NUMBER OF BATHYMETRIC POINTS':'MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS', - 'MINIMUM DISTANCE AT BOUNDARY':'MINIMUM_DISTANCE_AT_BOUNDARY', - 'BOTTOM TOPOGRAPHY FILES':'BOTTOM_TOPOGRAPHY_FILES', - 'BOTTOM TOPOGRAPHY FILES 2':'BOTTOM_TOPOGRAPHY_FILES_2', - 'BOTTOM TOPOGRAPHY FILES 3':'BOTTOM_TOPOGRAPHY_FILES_3', - 'BOTTOM TOPOGRAPHY FILES 4':'BOTTOM_TOPOGRAPHY_FILES_4', - 'BOTTOM TOPOGRAPHY FILES 5':'BOTTOM_TOPOGRAPHY_FILES_5', - 'NUMBER OF VERTICES OF THE POLYGON TO EXTRACT THE MESH':'NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH', - 'ABSCISSAE OF THE VERTICES OF THE POLYGON TO EXTRACT THE MESH':'ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH', - 'ORDINATES OF THE VERTICES OF THE POLYGON TO EXTRACT THE MESH':'ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH', - 'PROJECTION AFTER EXTRACTION':'PROJECTION_AFTER_EXTRACTION', - 'CUTTING ELEMENTS IN FOUR':'CUTTING_ELEMENTS_IN_FOUR', - 'NUMBER OF VERTICES OF THE POLYGON TO REFINE THE MESH':'NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH', - 'ABSCISSAE OF THE VERTICES OF THE POLYGON TO REFINE THE MESH':'ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH', - 'ORDINATES OF THE VERTICES OF THE POLYGON TO REFINE THE MESH':'ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH', - 'DRY ELEMENTS ELIMINATION':'DRY_ELEMENTS_ELIMINATION', - 'PARTIALLY DRY ELEMENTS ELIMINATION':'PARTIALLY_DRY_ELEMENTS_ELIMINATION', - 'DRY LIMIT':'DRY_LIMIT', - 'STORAGE OF ALL TIME STEPS':'STORAGE_OF_ALL_TIME_STEPS', - 'DEBUG':'DEBUG', - 'CONVERTER':'CONVERTER', - 'INPUT FILE FORMAT':'INPUT_FILE_FORMAT', - 'INPUT FILE':'INPUT_FILE', - 'BOUNDARY FILE':'BOUNDARY_FILE', - 'LOG FILE':'LOG_FILE', - 'BOUNDARY CONDITION IN SERAFIN FORMAT':'BOUNDARY_CONDITION_IN_SERAFIN_FORMAT', - 'OUTPUT FILE FORMAT':'OUTPUT_FILE_FORMAT', - 'OUTPUT FILE':'OUTPUT_FILE', - 'OUTPUT BOUNDARY FILE':'OUTPUT_BOUNDARY_FILE', - 'OUTPUT LOG FILE':'OUTPUT_LOG_FILE', - 'TRANSLATION':'TRANSLATION', - 'X TRANSLATION':'X_TRANSLATION', - 'Y TRANSLATION':'Y_TRANSLATION', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'FORTRAN FILE':'FORTRAN_FILE', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'STEERING FILE':'STEERING_FILE', - 'DICTIONARY':'DICTIONARY', -} -DicoEnumCasFrToEnumCasEn = { -'MESH_GENERATOR':{ - "SUPERTAB4":"SUPERTAB4", - "SUPERTAB6":"SUPERTAB6", - "MASTER2":"MASTER2", - "SIMAIL":"SIMAIL", - "SELAFIN":"SELAFIN", - "TRIGRID":"TRIGRID", - "ADCIRC":"ADCIRC", - "FASTTABS":"FASTTABS", -}, - -'BINARY_STANDARD':{ - "STD":"STD", - "IBM":"IBM", - "I3E":"I3E", -}, - -'GEOMETRY_FILE_FORMAT_FOR_TELEMAC':{ - "":"", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'INPUT_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", - "UNV":"UNV", - "CGNS":"CGNS", -}, - -'OUTPUT_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", - "UNV":"UNV", - "CGNS":"CGNS", - "VTK":"VTK", - "CGNS":"CGNS", -}, - -} diff --git a/Telemac/stbtel_labelCataToIhm_en.qm b/Telemac/stbtel_labelCataToIhm_en.qm deleted file mode 100644 index 7c0a6994..00000000 Binary files a/Telemac/stbtel_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/stbtel_labelCataToIhm_en.ts b/Telemac/stbtel_labelCataToIhm_en.ts deleted file mode 100644 index 6f0960e2..00000000 --- a/Telemac/stbtel_labelCataToIhm_en.ts +++ /dev/null @@ -1,264 +0,0 @@ - - @default - - MINIMUM_DISTANCE_BETWEEN_TWO_POINTS - Minimum distance between two points - - - MESH_GENERATOR - Mesh generator - - - BINARY_STANDARD - Binary standard - - - UNIVERSAL_FILE - Universal file - - - MESH_ADDITIONAL_DATA_FILE - Mesh additional data file - - - GEOMETRY_FILE_FORMAT_FOR_TELEMAC - Geometry file format for telemac - - - GEOMETRY_FILE_FOR_TELEMAC - Geometry file for telemac - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - BOTTOM_CORRECTION_OF_TRIGRID - Bottom correction of trigrid - - - BATHYMETRY_IN_THE_UNIVERSAL_FILE - Bathymetry in the universal file - - - BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE - Boundary conditions in the additional file - - - BOUNDARY_UNIVERSAL_FILE - Boundary universal file - - - OVERSTRESSED_TRIANGLES_CUTTING - Overstressed triangles cutting - - - ELIMINATION_OF_BACKWARD_DEPENDENCIES - Elimination of backward dependencies - - - NODES_RENUMBERING - Nodes renumbering - - - WRITING_NODE_COLOURS - Writing node colours - - - MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS - Maximum number of bathymetric points - - - MINIMUM_DISTANCE_AT_BOUNDARY - Minimum distance at boundary - - - BOTTOM_TOPOGRAPHY_FILES - Bottom topography files - - - BOTTOM_TOPOGRAPHY_FILES_2 - Bottom topography files 2 - - - BOTTOM_TOPOGRAPHY_FILES_3 - Bottom topography files 3 - - - BOTTOM_TOPOGRAPHY_FILES_4 - Bottom topography files 4 - - - BOTTOM_TOPOGRAPHY_FILES_5 - Bottom topography files 5 - - - NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH - Number of vertices of the polygon to extract the mesh - - - ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH - Abscissae of the vertices of the polygon to extract the mesh - - - ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH - Ordinates of the vertices of the polygon to extract the mesh - - - PROJECTION_AFTER_EXTRACTION - Projection after extraction - - - CUTTING_ELEMENTS_IN_FOUR - Cutting elements in four - - - NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH - Number of vertices of the polygon to refine the mesh - - - ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH - Abscissae of the vertices of the polygon to refine the mesh - - - ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH - Ordinates of the vertices of the polygon to refine the mesh - - - DRY_ELEMENTS_ELIMINATION - Dry elements elimination - - - PARTIALLY_DRY_ELEMENTS_ELIMINATION - Partially dry elements elimination - - - DRY_LIMIT - Dry limit - - - STORAGE_OF_ALL_TIME_STEPS - Storage of all time steps - - - DEBUG - Debug - - - CONVERTER - Converter - - - INPUT_FILE_FORMAT - Input file format - - - INPUT_FILE - Input file - - - BOUNDARY_FILE - Boundary file - - - LOG_FILE - Log file - - - BOUNDARY_CONDITION_IN_SERAFIN_FORMAT - Boundary condition in serafin format - - - OUTPUT_FILE_FORMAT - Output file format - - - OUTPUT_FILE - Output file - - - OUTPUT_BOUNDARY_FILE - Output boundary file - - - OUTPUT_LOG_FILE - Output log file - - - TRANSLATION - Translation - - - X_TRANSLATION - X translation - - - Y_TRANSLATION - Y translation - - - PARALLEL_PROCESSORS - Parallel processors - - - FORTRAN_FILE - Fortran file - - - VECTOR_LENGTH - Vector length - - - STEERING_FILE - Steering file - - - DICTIONARY - Dictionary - - - TREATMENT - Treatment - - - CONVERTER_INFO - Converter info - - - SETTINGS - Settings - - - INTERNAL - Internal - - - BOTTOM - Bottom - - - EXTRACTION - Extraction - - - REFFINEMENT - Reffinement - - - DRY_ELEMENTS - Dry elements - - - INPUT - Input - - - OUTPUT - Output - - - TRANSLATION_INFO - Translation info - - - diff --git a/Telemac/stbtel_labelCataToIhm_fr.qm b/Telemac/stbtel_labelCataToIhm_fr.qm deleted file mode 100644 index 42086668..00000000 Binary files a/Telemac/stbtel_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/stbtel_labelCataToIhm_fr.ts b/Telemac/stbtel_labelCataToIhm_fr.ts deleted file mode 100644 index dfeb18f9..00000000 --- a/Telemac/stbtel_labelCataToIhm_fr.ts +++ /dev/null @@ -1,332 +0,0 @@ - - @default - - MINIMUM_DISTANCE_BETWEEN_TWO_POINTS - Distance minimale entre deux points - - - MESH_GENERATOR - Mailleur - - - BINARY_STANDARD - Standard de binaire - - - UNIVERSAL_FILE - Fichier universel - - - MESH_ADDITIONAL_DATA_FILE - Fichier additionnel du mailleur - - - GEOMETRY_FILE_FORMAT_FOR_TELEMAC - Format du fichier de geometrie pour telemac - - - GEOMETRY_FILE_FOR_TELEMAC - Fichier de geometrie pour telemac - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - BOTTOM_CORRECTION_OF_TRIGRID - Correction des fonds de trigrid - - - BATHYMETRY_IN_THE_UNIVERSAL_FILE - Bathymetrie dans le fichier universel - - - BOUNDARY_CONDITIONS_IN_THE_ADDITIONAL_FILE - Conditions limites dans le fichier additionnel - - - BOUNDARY_UNIVERSAL_FILE - Fichier universel limite - - - OVERSTRESSED_TRIANGLES_CUTTING - Decoupage des triangles surcontraints - - - ELIMINATION_OF_BACKWARD_DEPENDENCIES - Elimination des dependances arrieres - - - NODES_RENUMBERING - Renumerotation des points - - - WRITING_NODE_COLOURS - Ecriture de la couleur des noeuds - - - MAXIMUM_NUMBER_OF_BATHYMETRIC_POINTS - Nombre maximum de points de bathymetrie - - - MINIMUM_DISTANCE_AT_BOUNDARY - Distance minimale a la frontiere - - - BOTTOM_TOPOGRAPHY_FILES - Fichiers des fonds - - - BOTTOM_TOPOGRAPHY_FILES_2 - Fichiers des fonds 2 - - - BOTTOM_TOPOGRAPHY_FILES_3 - Fichiers des fonds 3 - - - BOTTOM_TOPOGRAPHY_FILES_4 - Fichiers des fonds 4 - - - BOTTOM_TOPOGRAPHY_FILES_5 - Fichiers des fonds 5 - - - NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH - Nombre de sommets du polygone d'extraction - - - ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH - Abscisses des sommets du polygone d'extraction - - - ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_EXTRACT_THE_MESH - Ordonnees des sommets du polygone d'extraction - - - PROJECTION_AFTER_EXTRACTION - Projection apres extraction - - - CUTTING_ELEMENTS_IN_FOUR - Decoupage des triangles en quatre - - - NUMBER_OF_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH - Nombre de sommets du polygone de raffinement - - - ABSCISSAE_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH - Abscisses des sommets du polygone de raffinement - - - ORDINATES_OF_THE_VERTICES_OF_THE_POLYGON_TO_REFINE_THE_MESH - Ordonnees des sommets du polygone de raffinement - - - DRY_ELEMENTS_ELIMINATION - Elimination des elements secs - - - PARTIALLY_DRY_ELEMENTS_ELIMINATION - Elimination des elements partiellement secs - - - DRY_LIMIT - Seuil de secheresse - - - STORAGE_OF_ALL_TIME_STEPS - Stockage de tous les pas de temps - - - DEBUG - Debug - - - CONVERTER - Convertisseur - - - INPUT_FILE_FORMAT - Format du fichier d entree - - - INPUT_FILE - Fichier d entree - - - BOUNDARY_FILE - Fichier des conditions limites - - - LOG_FILE - Fichier log - - - BOUNDARY_CONDITION_IN_SERAFIN_FORMAT - Condition limite en format serafin - - - OUTPUT_FILE_FORMAT - Format du fichier de sortie - - - OUTPUT_FILE - Fichier de sortie - - - OUTPUT_BOUNDARY_FILE - Fichier des conditions limites en sortie - - - OUTPUT_LOG_FILE - Fichier log en sortie - - - TRANSLATION - Translation - - - X_TRANSLATION - Translation selon X - - - Y_TRANSLATION - Translation selon Y - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - FORTRAN_FILE - Fichier fortran - - - VECTOR_LENGTH - Longueur du vecteur - - - STEERING_FILE - Fichier des parametres - - - DICTIONARY - Dictionnaire - - - SUPERTAB4 - SUPERTAB4 - - - SUPERTAB6 - SUPERTAB6 - - - MASTER2 - MASTER2 - - - SIMAIL - SIMAIL - - - SELAFIN - SELAFIN - - - TRIGRID - TRIGRID - - - ADCIRC - ADCIRC - - - FASTTABS - FASTTABS - - - STD - STD - - - IBM - IBM - - - I3E - I3E - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - UNV - UNV - - - CGNS - CGNS - - - VTK - VTK - - - TREATMENT - Traitement - - - CONVERTER_INFO - Convertisseur info - - - SETTINGS - Parametres - - - INTERNAL - Internal - - - BOTTOM - Fond - - - EXTRACTION - Extraction - - - REFFINEMENT - Raffinement - - - DRY_ELEMENTS - Elements secs - - - INPUT - Entree - - - OUTPUT - Sortie - - - TRANSLATION_INFO - Translation info - - - diff --git a/Telemac/telemac2d_cata_auto.py b/Telemac/telemac2d_cata_auto.py deleted file mode 100644 index 633fecaa..00000000 --- a/Telemac/telemac2d_cata_auto.py +++ /dev/null @@ -1,5650 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'TELEMAC2D', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TITLE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie.""", - ang = """Title of the case being considered.""", - ), -# ----------------------------------- - INITIAL_CONDITIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['ZERO ELEVATION','CONSTANT ELEVATION','ZERO DEPTH','CONSTANT DEPTH','SPECIAL','PARTICULIERES','PARTICULAR','TPXO SATELLITE ALTIMETRY'], - defaut = 'ZERO ELEVATION', - fr = """Permet de definir les conditions initiales sur -les hauteurs d''eau notamment. -Les valeurs possibles sont : -\begin{itemize} -\item COTE NULLE : Initialise la cote de surface libre a 0. - Les hauteurs d''eau initiales sont alors retrouvees en - faisant la difference entre les cotes de surface libre - et du fond ; -\item COTE CONSTANTE : Initialise la cote de surface libre a la -valeur donnee par le mot-cle \telkey{COTE INITIALE}. Les hauteurs -d''eau initiales sont calculees comme precedemment ; -\item HAUTEUR NULLE : Initialise les hauteurs d''eau a 0 ; -\item HAUTEUR CONSTANTE : Initialise les hauteurs d''eau a la valeur -donnee par le mot-cle \telkey{HAUTEUR INITIALE} ; -\item ALTIMETRIE SATELLITE TPXO : Les conditions initiales sur la -hauteur d''eau et les vitesses sont etablies sur la base des donnees - satellite TPXO dont les 8 premiers constistuents -ont ete extraites et -sauvees dans les fichiers -\telkey{BASE BINAIRE 1/2 DE DONNEES DE MAREE} ; -\item PARTICULIERES : Les conditions initiales sur la hauteur d''eau -doivent etre precisees dans le sous-programme \telkey{USER\_CONDIN\_H}. -\end{itemize}""", - ang = """Makes it possible to define the initial conditions of -the water depth. -The possible values are as follows: -\begin{itemize} -\item ZERO ELEVATION: Initializes the free surface elevation to 0. -The initial water depths are then found by computing the difference -between the free surface and the bottom, -\item CONSTANT ELEVATION: Initializes the water elevation to the value -given by the keyword \telkey{INITIAL ELEVATION}. -The initial water depths are computed as in the previous case, -\item ZERO DEPTH: Initializes the water depths to 0. -\item CONSTANT DEPTH: Initializes the water depths to the value given -by the keyword \telkey{INITIAL DEPTH}, -\item TPXO SATELITE ALTIMETRY: The initial conditions on the free -surface and velocities are established from the satellite program -data given by the harmonic constants database coming from OSU -(e.g. TPXO) and stored in the \telkey{BINARY DATABASE 1/2 FOR TIDE}, -\item SPECIAL or PARTICULAR: The initial conditions with the water depth -should be stated in the \telfile{USER\_CONDIN\_H} subroutine. -\end{itemize}""", - ), -# ----------------------------------- - b_INITIAL_CONDITIONSG = BLOC(condition="INITIAL_CONDITIONS == 'CONSTANT ELEVATION'", -# ----------------------------------- -# ----------------------------------- - INITIAL_ELEVATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Valeur utilisee avec l''option : -\telkey{CONDITIONS INITIALES} : ''COTE CONSTANTE''.""", - ang = """Value to be used with the option: -\telkey{INITIAL CONDITIONS} : ''CONSTANT ELEVATION''.""", - ), - ), -# ----------------------------------- - b_INITIAL_CONDITIONSH = BLOC(condition="INITIAL_CONDITIONS == 'CONSTANT DEPTH'", -# ----------------------------------- -# ----------------------------------- - INITIAL_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Valeur utilisee avec l''option : -\telkey{CONDITIONS INITIALES} : ''HAUTEUR CONSTANTE''.""", - ang = """Value to be used along with the option: -\telkey{INITIAL CONDITIONS} : ''CONSTANT DEPTH''.""", - ), - ), -# ----------------------------------- - BINARY_DATA_FILE_1_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BIN','SERAFIN','SERAFIND','MED'], - defaut = 'BIN', - fr = """Format du \telkey{FICHIER DE DONNEES BINAIRE 1}. -Les valeurs possibles sont : -\begin{itemize} -\item BIN : format binaire standard ; -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY DATA FILE 1}. -Possible values are: -\begin{itemize} -\item BIN : standard binary format, -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BINARY_DATA_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Binary-coded data file available to the user.""", - ), -# ----------------------------------- - BINARY_DATA_FILE_2_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BIN','SERAFIN','SERAFIND','MED'], - defaut = 'BIN', - fr = """Format du \telkey{FICHIER DE DONNEES BINAIRE 2}. -Les valeurs possibles sont : -\begin{itemize} -\item BIN : format binaire standard ; -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY DATA FILE 2}. -Possible values are: -\begin{itemize} -\item BIN : standard binary format, -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BINARY_DATA_FILE_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Binary-coded data file available to the user.""", - ), -# ----------------------------------- - FORMATTED_DATA_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees formate mis a la disposition de -l''utilisateur.""", - ang = """Formatted data file available to the user.""", - ), -# ----------------------------------- - FORMATTED_DATA_FILE_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees formate mis a la disposition de -l''utilisateur.""", - ang = """Formatted data file available to the user.""", - ), -# ----------------------------------- - INPUT_FILES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE GEOMETRIE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{GEOMETRY FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - fr = """Nom du fichier contenant le maillage du calcul a realiser.""", - ang = """Name of the file containing the mesh. This file may also -contain the topography and the friction coefficients.""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'FichierOuRepertoire', - defaut = '', - fr = """Nom du fichier ou repertoire FORTRAN a soumettre, contenant les -sous-programmes specifiques au modele.""", - ang = """Name of the FORTRAN file or directory to be submitted, -including specific subroutines of the model.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier eventuel contenant la bathymetrie associee au -maillage. -Si ce mot-cle est utilise; c''est cette bathymetrie qui sera utilisee -pour le calcul.""", - ang = """Name of the possible file containing the bathymetric data. -Where this keyword is used, these bathymetric data shall be used in -the computation.""", - ), -# ----------------------------------- - BOTTOM_SMOOTHINGS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de lissages effectues sur la topographie. -Chaque lissage, effectue a l''aide d''une matrice de masse, -est conservatif. -Utilise lorsque les donnees de bathymetrie donnent des resultats -trop irreguliers apres interpolation.""", - ang = """Number of smoothings on bottom topography. -Each smoothing is mass conservative. -to be used when interpolation of bathymetry on the mesh gives -very rough results.""", - ), -# ----------------------------------- - BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Indique si le nombre d eventuels lissages sur la topographie est -effectue apres (ou sinon avant) les modifications de topographie -apportees par l utilisateur.""", - ang = """Indicates if the number of potential smoothings on bottom topography -is done after (or before otherwise) the topography modifications -implemented by the user.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -through colours that are assigned to the boundary nodes.""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. Le -\telkey{FICHIER DE REFERENCE} est alors considere comme une -reference a laquelle on va comparer le calcul. La comparaison est -effectuee par le sous-programme \telfile{BIEF\_VALIDA} -qui peut etre une comparaison avec une solution exacte par exemple.""", - ang = """This option is primarily used for the validation documents. -The \telkey{REFERENCE FILE} is then considered as a reference -which the computation is going to be compared with. -The comparison is done by the subroutine \telfile{BIEF\_VALIDA}, -which can be modified so as to include, for example, -a comparison with an exact solution.""", - ), -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE REFERENCE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{REFERENCE FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de resultats de reference pour la validation.""", - ang = """Binary-coded result file for validation.""", - ), - ), -# ----------------------------------- - GLOBAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs pour la decomposition en parallele: -\begin{itemize} -\item 0 : 1 machine, compilation sans bibliotheque de parallelisme ; -\item 1 : 1 machine, compilation avec bibliotheque de parallelisme ; -\item 2 : 2 processeurs ou machines en parallele etc... -\end{itemize}""", - ang = """Number of processors for domain partition. -\begin{itemize} -\item 0: 1 machine, compiling without parallel library, -\item 1: 1 machine, compiling with a parallel library, -\item 2: 2 processors or machines in parallel etc... -\end{itemize}""", - ), -# ----------------------------------- - CHECKING_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI on appelle le sous-programme \telfile{CHECKMESH} qui verifie -la coherence du maillage, points superposes, etc.""", - ang = """If this keyword is equal to YES, a call to subroutine -\telfile{CHECKMESH} will look for errors in the mesh, -superimposed points, etc.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 30, - fr = """Nombre maximal de frontieres differentes dans le maillage. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of boundaries in the mesh. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 20, - fr = """Nombre maximal de points sources dans le maillage. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of punctual sources in the mesh. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 20, - fr = """Nombre maximal de traceurs. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of tracers. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Longueur du vecteur pour les machines vectorielles.""", - ang = """Vector length on vector machines.""", - ), -# ----------------------------------- - SECURITY_COEFFICIENT_FOR_SCARACT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Coefficient de securite pour l''allocation de memoire pour -\telfile{SCARACT}.""", - ang = """Security coefficient for memory allocation for \telfile{SCARACT}.""", - ), - ), - ), -# ----------------------------------- - RESTART = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - COMPUTATION_CONTINUED = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si le calcul en cours est independant de tout autre -resultat ou est une reprise effectuee a partir du resultat d''un calcul -precedent. -\begin{itemize} -\item NON : Il s''agit du premier passage pour ce calcul et il est -necessaire de definir un jeu complet de conditions initiales -\item OUI : Il s''agit d''une reprise de calcul : -les conditions initiales sont constituees par le dernier pas de -temps du \telkey{FICHIER DU CALCUL PRECEDENT} du fichier des parametres -utilise pour soumettre le calcul. -\end{itemize} -Par contre, l''ensemble des donnees du fichier des parametres -peuvent etre redefinies, ce qui offre la possibilite de changer -par exemple, le pas de temps, le modele de turbulence, le -frottement, d''ajouter ou retirer un traceur\ldots\\ -De meme, il est necessaire de definir des conditions aux limites -(sous-programme \telfile{BORD} ou valeurs placees dans le fichier des -parametres), qui peuvent egalement etre modifiees.""", - ang = """Determines whether the computation under way is independent -result or is following an earlier result. -\begin{itemize} -\item NO: It is the first run for this computation and a whole set of -initial conditions should be defined, -\item YES: It follows a former computation: -the initial conditions consist in the last time step of the -\telkey{PREVIOUS COMPUTATION FILE} defined in the steering file -used for submitting the computation. -\end{itemize} -All the data from the steering file may be defined once again, which -provides an opportunity to change, for example, the time step, -the turbulence model, the friction, to add or remove a tracer\ldots\\ -It is also possible to define new boundary conditions -(in the subroutine \telfile{BORD} or values defined -in the steering file).""", - ), -# ----------------------------------- - b_COMPUTATION_CONTINUEDG = BLOC(condition="COMPUTATION_CONTINUED == True", -# ----------------------------------- -# ----------------------------------- - PREVIOUS_COMPUTATION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DU CALCUL PRECEDENT}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{PREVIOUS COMPUTATION FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - PREVIOUS_COMPUTATION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul precedent -realise sur le meme maillage et dont le dernier pas de temps enregistre -va fournir les conditions initiales pour une suite de calcul.""", - ang = """Name of a file containing the results of an earlier computation -which was made on the same mesh. The last recorded time step will -provide the initial conditions for the new computation.""", - ), -# ----------------------------------- - RECORD_NUMBER_FOR_RESTART = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """En cas de suite de calcul, numero de l''enregistrement -de depart dans le fichier du calcul precedent. 0 signifie -que l''on prend le dernier enregistrement.""", - ang = """In case of \telkey{COMPUTATION CONTINUED} = YES, record number -to start from in the \telkey{PREVIOUS COMPUTATION FILE}. -0 means the last record is taken.""", - ), - ), -# ----------------------------------- - INITIAL_TIME_SET_TO_ZERO = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Remet le temps a zero en cas de suite de calcul.""", - ang = """Initial time set to zero in case of restart.""", - ), - ), -# ----------------------------------- - OUTPUT_FILES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS_FILES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Determine le nombre de pas de temps a partir duquel debute -l''ecriture des resultats dans le \telkey{FICHIER DES RESULTATS}.""", - ang = """Determines the number of time steps after which the results -are first written into the \telkey{RESULTS FILE}.""", - ), -# ----------------------------------- - GRAPHIC_PRINTOUT_PERIOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression des -\telkey{VARIABLES POUR LES SORTIES GRAPHIQUES} -(voir ce mot-cle) dans le \telkey{FICHIER DES RESULTATS}.""", - ang = """Determines, in number of time steps, the printout period for the -\telkey{VARIABLES FOR GRAPHIC PRINTOUTS} -in the \telkey{RESULTS FILE}.""", - ), -# ----------------------------------- - VARIABLES_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["velocity along x axis (m/s)","velocity along y axis (m/s)","wave celerity (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","Froude number","scalar flowrate of fluid (m2/s)","tracer 1","tracer 2","tracer 3","tracer 4","tracer 5","tracer 6","tracer 7","tracer 8","tracer 9","All the tracers 1 to 9.","All the tracers 10 to 19.","turbulent kinetic energy in k-epsilon model (J/kg)","dissipation of turbulent energy (W/kg)","turbulent viscosity (m2/s)","flowrate along x axis (m2/s)","flowrate along y axis (m2/s)","scalar velocity (m/s)","wind along x axis (m/s)","wind along y axis (m/s)","air pressure (Pa)","friction coefficient","drift along x (m)","drift along y (m)","Courant number","supplementary variable N","supplementary variable O","supplementary variable R","supplementary variable Z","maximum elevation (m)","time of maximum elevation (s)","maximum velocity (m/s)","time of maximum velocity (s)","friction velocity (m/s)","gradient 1, etc.","TAU_S","1/R (1/m)","OMEGA","distance to the closest wall (m)","reference level for Nestor (m)"], - defaut = ["velocity along x axis (m/s)","velocity along y axis (m/s)","water depth (m)","bottom elevation (m)"], - fr = """Noms des variables ecrites dans FICHIER DES RESULTATS. -Chaque variable est representee par une lettre (choix des -separateurs libre). Les possibilites sont : -\begin{itemize} -\item U : vitesse suivant $x$ (m/s) ; -\item V : vitesse suivant $y$ (m/s) ; -\item C : celerite des ondes (m/s) ; -\item H : hauteur d eau (m) ; -\item S : cote de surface libre (m) ; -\item B : cote du fond (m) ; -\item F : nombre de Froude ; -\item Q : debit scalaire du fluide (m$^2$/s) ; -\item Tn: traceur, avec n le numero du traceur ; -\item K : energie turbulente du modele $k-\epsilon$ (J/kg) ; -\item E : dissipation de l energie turbulente (W/kg) ; -\item D : viscosite turbulente (m$^2$/s) ; -\item I : debit suivant $x$ (m$^2$/s) ; -\item J : debit suivant $y$ (m$^2$/s) ; -\item M : vitesse scalaire (m/s) ; -\item X : vent suivant $x$ (m/s) ; -\item Y : vent suivant $y$ (m/s) ; -\item P : pression atmospherique (Pa) ; -\item W : coefficient de frottement sur le fond ; -\item A : derive en $x$ (m) ; -\item G : derive en $y$ (m) ; -\item L : nombre de Courant ; -\item MAXZ : cote maximum (m) ; -\item TMXZ : temps de la cote maximum (s) ; -\item MAXV : vitesse maximum (m/s) ; -\item TMXV : temps de la vitesse maximum (s) ; -\item US : vitesse de frottement (m/s) ; -\item Gn: gradient differencie, avec n le numero de reference du -gradient ; -\item TAU\_S : TAU\_S ; -\item 1/R : 1/R (1/m) ; -\item OMEGA : OMEGA ; -\item WDIST : distance au mur le plus proche (m) ; -\item ZRL : niveau de reference pour Nestor. -\end{itemize} -4 champs libres sont utilisables pour ecrire des variables creees -dans le fichier des resultats. -Ces variables doivent etre calculees dans le PRERES\_TELEMAC2D et leur -nom ecrit dans NOMVAR\_TELEMAC2D. -Ces 7 champs sont : -N, O, R, Z qui correspondent aux tableaux PRIVE(1,1) a PRIVE(1,4). -Contrairement aux variables precedentes, celles-ci sont conservees -dans tout le programme et peuvent donc etre reutilisees. Dans ce -dernier cas ne pas oublier de donner une taille suffisante au tableau -PRIVE. -Il est ainsi possible de limiter la taille des fichiers de resultats -pour de gros calculs. -Cependant, en cas de reprise de calcul, le code doit disposer dans le -fichier des resultats des informations necessaires a sa poursuite : -\begin{itemize} -\item vitesses U et V ; -\item hauteur d eau H ; -\item cote du fond B. -\end{itemize} -Toutefois, TELEMAC-2D peut recalculer certaines des variables a -partir d autres.""", - ang = """Names of variables which will be written in the results file. Each -variable is represented by a letter (free separators). -The possible choices are: -\begin{itemize} -\item U: velocity along $x$ axis (m/s), -\item V: velocity along $y$ axis (m/s), -\item C: wave celerity (m/s), -\item H: water depth (m), -\item S: free surface elevation (m), -\item B: bottom elevation (m), -\item F: Froude number, -\item Q: scalar flowrate of fluid (m$^2$/s), -\item Tn: tracer, with n the tracer number, -\item K: turbulent kinetic energy in $k-\epsilon$ model (J/kg), -\item E: dissipation of turbulent energy (W/kg), -\item D: turbulent viscosity (m$^2$/s), -\item I: flowrate along $x$ axis (m$^2$/s), -\item J: flowrate along $y$ axis (m$^2$/s), -\item M: scalar velocity (m/s), -\item X: wind along $x$ axis (m/s), -\item Y: wind along $y$ axis (m/s), -\item P: air pressure (Pa), -\item W: friction coefficient, -\item A: drift along $x$ (m), -\item G: drift along $y$ (m), -\item L: Courant number, -\item MAXZ : maximum elevation (m), -\item TMXZ : time of maximum elevation (s), -\item MAXV : maximum velocity (m/s), -\item TMXV : time of maximum velocity (s), -\item US : friction velocity (m/s), -\item Gn: differentiated gradient, with n the gradient reference number, -\item TAU\_S : TAU\_S, -\item 1/R : 1/R (1/m), -\item OMEGA : OMEGA, -\item WDIST : distance to the closest wall (m), -\item ZRL : reference level for Nestor (m). -\end{itemize} -4 other variables are also available to the user -to write created variables results. -These user variables should be computed in -\telfile{PRERES\_TELEMAC2D} subroutine and their name -should be written in \telfile{NOMVAR\_TELEMAC2D} subroutine. -These seven variables are as follows: -N, O, R, Z which correspond to arrays \telfile{PRIVE(1,1)} up to -\telfile{PRIVE(1,4)}. -Unlike the previous variables, they are kept throughout the program, -so that they can be used again. -In the latter case, do not forget to provide the -array \telkey{PRIVE} with sufficiently large dimensions in -the FORTRAN FILE. -The size of the \telkey{RESULTS FILE} can be limited with this keyword. -However, if a computation must be continued, the -\telkey{RESULTS FILE} should contain the appropriate information -for running the code,i.e.: -\begin{itemize} -\item velocities $U$ and $V$, -\item water depth $H$, -\item bottom elevation $B$. -\end{itemize} -\telemac{2d} can compute some of these variables from others.""", - ), -# ----------------------------------- - NUMBER_OF_PRIVATE_ARRAYS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de tableaux mis a disposition de l utilisateur.""", - ang = """Number of arrays for own user programming.""", - ), -# ----------------------------------- - NAMES_OF_PRIVATE_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - fr = """Noms des variables privees en 32 caracteres, 16 pour le nom -16 pour l''unite. Elles correspondent au bloc \telfile{PRIVE} -et peuvent etre lues dans le \telkey{FICHIER DE GEOMETRIE} si elles -y sont presentes avec leur nom.""", - ang = """Name of private variables in 32 characters, 16 for the name, -16 for the unit. -They are stored in the block \telfile{PRIVE} and can be read -in the \telkey{GEOMETRY FILE} if they are here with their name.""", - ), -# ----------------------------------- - RESULTS_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIERS DE RESULTATS}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{RESULTS FILE}. Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - RESULTS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats du -calcul avec la periodicite donnee par le mot cle \telkey{PERIODE POUR -LES SORTIES GRAPHIQUES}.""", - ang = """Name of the file into which the computation results -are written with a periodicity given by the keyword -\telkey{GRAPHIC PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - RESULT_FILE_IN_LONGITUDE_LATITUDE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Donne les coordonnees dans le fichier resultats en longitude-latitude -si le fichier geo est aussi donnee en longitude-latitude.""", - ang = """Gives the coordinates of the result file in longitude-latitude -if the geometry file is also given in longitude-latitude.""", - ), -# ----------------------------------- - BINARY_RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BIN','SERAFIN','SERAFIND','MED'], - defaut = 'BIN', - fr = """Format du \telkey{FICHIER DE RESULTATS BINAIRE}. -Les valeurs possibles sont : -\begin{itemize} -\item BIN : format binaire standard ; -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY RESULTS FILE}. -Possible values are: -\begin{itemize} -\item BIN : standard binary format, -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BINARY_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Additional binary-coded result file available to the user.""", - ), -# ----------------------------------- - FORMATTED_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats formate mis a la disposition de -l''utilisateur.""", - ang = """Formatted file of results available to the user.""", - ), - ), -# ----------------------------------- - CONTROL_SECTION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CONTROL_SECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min=0, max='**', - fr = """Couples de points (numeros globaux dans le maillage) entre -lesquels les debits instantanes et cumules seront donnes.""", - ang = """Couples of points (global numbers -in the mesh) defining sections -where the instantaneous and cumulated discharges will be given.""", - ), -# ----------------------------------- - PRINTING_CUMULATED_FLOWRATES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Impression du flux cumule a travers les sections de controle.""", - ang = """Printing the cumulated flowrates through control sections.""", - ), -# ----------------------------------- - COMPATIBLE_COMPUTATION_OF_FLUXES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Flux a travers les sections de controle, calcul compatible -avec l''impermeabilite sous forme faible.""", - ang = """Flowrates through control sections, computation compatible -with the weak formulation of no-flux boundary condition.""", - ), -# ----------------------------------- - SECTIONS_INPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier des sections de controle, partitione.""", - ang = """Sections input file, partitioned.""", - ), -# ----------------------------------- - SECTIONS_OUTPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de sortie des sections de controle, ecrit par le maitre.""", - ang = """Sections output file, written by the master.""", - ), -# ----------------------------------- - FLUXLINE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Utiliser fluxline pour le calcul des flux sur les lignes.""", - ang = """Use Fluxline to compute flux over lines.""", - ), -# ----------------------------------- - FLUXLINE_INPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de fluxline, avec des donnees sur les sections.""", - ang = """Name of the fluxline file, with data on cross-sections.""", - ), - ), -# ----------------------------------- - LISTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Determine le numero de pas de temps a partir duquel debute -l''ecriture des resultats dans le listing.""", - ang = """Determines the number of time steps after which the results -are first written into the listing.""", - ), -# ----------------------------------- - LISTING_PRINTOUT_PERIOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression des -\telkey{VARIABLES A IMPRIMER} (voir ce mot-cle). -Pour la mise au point, il faut -savoir que la sortie des resultats est effectuee systematiquement sur le -listing (CAS.SORTIE sur station de travail).""", - ang = """Determines, in number of time steps, the printout period of the -\telkey{VARIABLES TO BE PRINTED}. -The results are systematically printed out on -the listing file (file CAS.SORTIE at the workstation).""", - ), -# ----------------------------------- - LISTING_FOR_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression -des \telkey{VARIABLES A IMPRIMER} (voir ce mot-cle). -Pour la mise au point, -il faut savoir que la sortie des resultats est effectuee -systematiquement sur le listing -(CAS.SORTIE sur station de travail). -A la priorite sur \telkey{PERIODE DE SORTIE LISTING}.""", - ang = """Determines, in number of time steps, the printout period of -the \telkey{VARIABLES TO BE PRINTED}. -The results are systematically printed out on the listing file -(file CAS.SORTIE at the workstation), -Has priority before \telkey{LISTING PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - LISTING_PRINTOUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Sortie des resultats sur support papier ou a l ecran. -Si l''on met NON le listing ne contient que l''entete et la mention -FIN NORMALE DU PROGRAMME. -Commande a eviter.""", - ang = """Result printout on hard copy. -When NO is selected, the listing only includes the heading and the -phrase "NORMAL END OF PROGRAM". -In addition, the options \telkey{MASS-BALANCE} and -\telkey{VALIDATION} are inhibited. Not recommended for use.""", - ), -# ----------------------------------- - VARIABLES_TO_BE_PRINTED = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - intoSug = ["velocity along x axis (m/s)","velocity along y axis (m/s)","wave celerity (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","Froude number","scalar flowrate of fluid (m2/s)","tracer 1, etc.","turbulent kinetic energy in k-epsilon model (J/kg)","dissipation of turbulent energy (W/kg)","turbulent viscosity (m2/s)","flowrate along x axis (m2/s)","flowrate along y axis (m2/s)","scalar velocity (m/s)","wind along x axis (m/s)","wind along y axis (m/s)","air pressure (Pa)","friction coefficient","drift along x (m)","drift along y (m)","Courant number","supplementary variable N","supplementary variable O","supplementary variable R","supplementary variable Z","maximum elevation (m)","time of maximum elevation (s)","maximum velocity (m/s)","time of maximum velocity (s)","friction velocity (m/s)","gradient 1, etc.","TAU_S","1/R (1/m)","OMEGA","distance to the closest wall (m)","reference level for Nestor (m)"], - defaut = '', - fr = """Nom des variables que l''utilisateur desire ecrire a l''ecran. Memes -possibilites que pour les sorties graphiques.""", - ang = """Name of the variables that the user wants printed on screen. -Same values available as graphical outputs.""", - ), -# ----------------------------------- - MASS_BALANCE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si l''on effectue ou non le bilan de masse -sur le domaine. -Cette procedure calcule a chaque pas de temps : -\begin{itemize} -\item les flux aux entrees et sorties du domaine ; -\item le flux global a travers l''ensemble des parois du domaine -(liquides ou solides) ; -\item l''erreur relative sur la masse pour ce pas de temps. -\end{itemize} -En fin de listing, on trouve l''erreur relative sur la masse pour -l''ensemble du calcul. -Il ne s''agit que d''un calcul indicatif car il n''existe pas -d''expression compatible du debit en formulation c,u,v.""", - ang = """Determines whether a check of the mass-balance over -the domain is mader or not. -This procedures computes the following at each time step: -\begin{itemize} -\item the domain inflows and outflows, -\item the overall flow across all the boundaries, -\item the relative error in the mass for that time step. -\end{itemize} -The relative error in the mass over the whole computation can be found -at the end of the listing.""", - ), -# ----------------------------------- - INFORMATION_ABOUT_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Donne a chaque pas de temps le nombre d''iterations necessaires -a la convergence du solveur de l''etape de propagation.""", - ang = """If YES, prints the number of iterations -that have been necessary -to get the solution of the linear system.""", - ), -# ----------------------------------- - LIST_OF_POINTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min=0, max='**', - fr = """Liste de points remarquables pour les impressions.""", - ang = """List of remarkable points for printouts.""", - ), -# ----------------------------------- - NAMES_OF_POINTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - fr = """Noms des points remarquables pour les impressions.""", - ang = """Names of remarkable points for printouts.""", - ), - ), -# ----------------------------------- - FOURIER = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - FOURIER_ANALYSIS_PERIODS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Liste des periodes que l''on veut analyser.""", - ang = """List of periods to be analysed.""", - ), -# ----------------------------------- - TIME_RANGE_FOR_FOURIER_ANALYSIS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.,0.], - fr = """Pour le calcul du marnage et de la phase de la maree.""", - ang = """For computing tidal range and phase of tide.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -HYDRO = PROC(nom= "HYDRO",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PRESCRIBED_ELEVATIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - fr = """Valeurs des cotes imposees aux frontieres liquides. -Lire la partie du mode d''emploi consacree aux conditions aux limites.""", - ang = """Values of the elevations prescribed at open boundaries. -The section about boundary conditions is to be read in the manual.""", - ), -# ----------------------------------- - PRESCRIBED_FLOWRATES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - fr = """Valeurs des debits imposes aux frontieres liquides. -Lire la partie du mode d''emploi consacree aux conditions aux limites.""", - ang = """Values of the flowrates prescribed at open boundaries. -The section about boundary conditions is to be read in the manual.""", - ), -# ----------------------------------- - PRESCRIBED_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', max='**', - fr = """Valeurs des vitesses imposees aux frontieres liquides. -Lire la partie du mode d''emploi consacree aux conditions aux limites.""", - ang = """Values of the magnitudes of velocity prescribed at open boundaries. -Refer to the section dealing with the boundary conditions.""", - ), - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_OTHERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - STAGE_DISCHARGE_CURVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["no","Z(Q)","Q(Z)"], - fr = """Indique si une courbe de tarage doit etre utilisee pour une frontiere -(une valeur par frontiere liquide) : -\begin{itemize} -\item 0 : non ; -\item 1 : Z(Q) ; -\item 2 : Q(Z). -\end{itemize}""", - ang = """Says if a discharge-elevation curve must be used for a given boundary -(one value per open boundary): -\begin{itemize} -\item 0: no, -\item 1: Z(Q), -\item 2: Q(Z). -\end{itemize}""", - ), -# ----------------------------------- - b_STAGE_DISCHARGE_CURVESG = BLOC(condition="STAGE_DISCHARGE_CURVES != 'no'", -# ----------------------------------- -# ----------------------------------- - STAGE_DISCHARGE_CURVES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les courbes de tarage.""", - ang = """Name of the file containing stage-discharge curves.""", - ), - ), -# ----------------------------------- - VELOCITY_PROFILES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["constant normal profile","u and v given in the conlim file","normal velocity given in ubor in the conlim file","velocity proportional to square root of depth","velocity proportional to square root of depth, variant"], - fr = """Permet de specifier le type de profil horizontal de vitesse. -Les choix possibles sont : -\begin{itemize} -\item 1 : profil normal constant ; -\item 2 : $u$ et $v$ donnes dans le -\telkey{FICHIER DES CONDITIONS AUX LIMITES} ; -\item 3 : vitesse normale donnee dans \telfile{UBOR} dans le -\telkey{FICHIER DES CONDITIONS AUX LIMITES} ; -\item 4 : profil en $\sqrt{h}$ ; -\item 5 : comme 4 mais hauteur virtuelle calculee avec -la surface libre la plus basse de la frontiere. -\end{itemize}""", - ang = """Specifies the type of horizontal profile of velocities. -Possible choices are: -\begin{itemize} -\item 1: constant normal profile, -\item 2: $u$ and $v$ given in the -\telkey{BOUNDARY CONDITION FILE}, -\item 3: normal velocity given in \telfile{UBOR} in the -\telkey{BOUNDARY CONDITION FILE}, -\item 4: $\sqrt{h}$ profile, -\item 5: like 4 but virtual depth based on -the lowest elevation of the boundary. -\end{itemize}""", - ), -# ----------------------------------- - OPTION_FOR_LIQUID_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["classical","Thompson method based on characteristics"], - fr = """On donne un entier par frontiere liquide. -Les choix possibles sont : -\begin{itemize} -\item 1 : conditions aux limites classiques ; -\item 2 : methode de Thompson avec calcul de caracteristiques. -\end{itemize}""", - ang = """One integer per liquid boundary is given. -Possible choices are: -\begin{itemize} -\item 1: classical boundary conditions, -\item 2: Thompson method based on characteristics. -\end{itemize}""", - ), -# ----------------------------------- - LIQUID_BOUNDARIES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de variations en temps des conditions aux limites.""", - ang = """File containing the variations in time of boundary conditions.""", - ), -# ----------------------------------- - ELEMENTS_MASKED_BY_USER = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI, remplir le sous-programme \telfile{USER\_MASKOB}.""", - ang = """If YES, fill in the subroutine \telfile{USER\_MASKOB}.""", - ), -# ----------------------------------- - b_ELEMENTS_MASKED_BY_USERG = BLOC(condition="ELEMENTS_MASKED_BY_USER == True", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Rewrite subroutine maskob"), - ), - ), -# ----------------------------------- - PHYSICAL_PARAMETERS_HYDRO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FRICTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 10, - fr = """Nombre maximal de zones pouvant etre definies pour le -frottement. Peut etre augmente si necessaire.""", - ang = """Maximal number of zones defined for the friction. -Could be increased if needed.""", - ), -# ----------------------------------- - FRICTION_DATA = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Logique qui dit si les lois de frottements sont definies par zone.""", - ang = """Logical to say if friction laws are defined by area.""", - ), -# ----------------------------------- - FRICTION_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees pour le frottement. -Voir le manuel utilisateur de \telemac{2d} pour la description.""", - ang = """Friction data file name. -See the \telemac{2d} user manual for its description.""", - ), -# ----------------------------------- - LAW_OF_BOTTOM_FRICTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO FRICTION","HAALAND","CHEZY","STRICKLER","MANNING","NIKURADSE"], - fr = """Selectionne le type de formulation utilisee pour le calcul -du frottement sur le fond. -Les lois possibles sont les suivantes (cf. Note de principe) : -\begin{itemize} -\item 0 : pas de frottement sur le fond ; -\item 1 : formule de Haaland ; -\item 2 : formule de Chezy ; -\item 3 : formule de Strickler ; -\item 4 : formule de Manning ; -\item 5 : formule de Nikuradse. -\end{itemize}""", - ang = """Selects the type of formulation used for the bottom friction. -The possible laws are as follows (refer to the Principle note): -\begin{itemize} -\item 0: no friction against bottom, -\item 1: Haaland''s formula, -\item 2: Chezy''s formula, -\item 3: Strickler''s formula, -\item 4: Manning''s formula, -\item 5: Nikuradse''s formula. -\end{itemize}""", - ), -# ----------------------------------- - b_LAW_OF_BOTTOM_FRICTIONG = BLOC(condition="LAW_OF_BOTTOM_FRICTION != 'NO FRICTION'", -# ----------------------------------- -# ----------------------------------- - FRICTION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 50., - fr = """Fixe la valeur du coefficient de frottement pour la -formulation choisie. -Attention : la signification de ce chiffre varie suivant la formule -choisie : -\begin{itemize} -\item 1 : coefficient lineaire ; -\item 2 : coefficient de Chezy ; -\item 3 : coefficient de Strickler ; -\item 4 : coefficient de Manning ; -\item 5 : hauteur de rugosite de Nikuradse. -\end{itemize}""", - ang = """Sets the value of the friction coefficient for the selected -formulation. It is noteworthy that the meaning of this figure changes -according to the selected formula (Chezy, Strickler, etc.): -\begin{itemize} -\item 1: linear coefficient, -\item 2: Chezy coefficient, -\item 3: Strickler coefficient, -\item 4: Manning coefficient, -\item 5: Nikuradse grain size. -\end{itemize}""", - ), - ), -# ----------------------------------- - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.02, - fr = """Valeur par defaut du coefficient de Manning pour la loi de frottement -de Colebrook-White (loi numero 7).""", - ang = """Manning default value for the friction law of Colebrook-White -(law number 7).""", - ), -# ----------------------------------- - DEPTH_IN_FRICTION_TERMS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["nodal","average"], - defaut = "nodal", - fr = """Valeurs possibles : -\begin{itemize} -\item 1 : nodale ; -\item 2 : moyenne. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1: nodal, -\item 2: average. -\end{itemize}""", - ), -# ----------------------------------- - VEGETATION_FRICTION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Calcul du frottement du a la vegetation non submergee.""", - ang = """Friction calculation of the non-submerged vegetation.""", - ), -# ----------------------------------- - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO FRICTION","HAALAND","CHEZY","STRICKLER","MANNING","NIKURADSE","LOG LAW","COLEBROOK-WHITE"], - defaut = "NO FRICTION", - fr = """Selectionne le type de formulation utilisee pour le calcul -du frottement sur les parois laterales. -Les lois possibles sont les suivantes (cf. Note de principe) : -\begin{itemize} -\item 0 : pas de frottement ; -\item 1 : lineaire ; -\item 2 : Chezy ; -\item 3 : Strickler ; -\item 4 : Manning ; -\item 5 : formule de Nikuradse ; -\item 6 : loi en log ; -\item 7 : Colebrook-White. -\end{itemize}""", - ang = """Selects the type of formulation used -for the friction on lateral boundaries. -The possible laws are as follows (refer to the Principle note): -\begin{itemize} -\item 0: no friction, -\item 1 : linear, -\item 2 : Chezy, -\item 3 : Strickler, -\item 4 : Manning, -\item 5: Nikuradse''s formula, -\item 6 : log law, -\item 7 : Colebrook-White. -\end{itemize}""", - ), -# ----------------------------------- - b_LAW_OF_FRICTION_ON_LATERAL_BOUNDARIESG = BLOC(condition="LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES != 'NO FRICTION'", -# ----------------------------------- -# ----------------------------------- - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 100., - fr = """Fixe la valeur du coefficient de frottement sur les frontieres -solides avec un regime turbulent rugueux sur les bords du domaine. -Meme convention que pour le coefficient de frottement: -\begin{itemize} -\item 1 : non programme ; -\item 2 : coefficient de Chezy ; -\item 3 : coefficient de Strickler ; -\item 4 : coefficient de Manning ; -\item 5 : hauteur de rugosite de Nikuradse. -\end{itemize}""", - ang = """Sets the value of the friction coefficient of the solid -boundary with the bed roughness option. Same meaning than friction -coefficient: -\begin{itemize} -\item 1: not implemented, -\item 2: Chezy coefficient, -\item 3: Strickler coefficient, -\item 4: Manning coefficient, -\item 5: Nikuradse grain size. -\end{itemize}""", - ), - ), -# ----------------------------------- - DEFINITION_OF_ZONES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Declenche l''appel au sous-programme \telfile{USER\_DEF\_ZONES}, -pour donner un numero de zone a chaque point.""", - ang = """Triggers the call to \telfile{USER\_DEF\_ZONES} subroutine -to give a zone number to every point.""", - ), -# ----------------------------------- - b_DEFINITION_OF_ZONESG = BLOC(condition="DEFINITION_OF_ZONES == True", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Rewrite subroutine def_zones"), - ), -# ----------------------------------- - ZONES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier des zones avec sur chaque ligne :\\ -numero de point numero de zone.""", - ang = """Zones file, with on every line:\\ -point number zone number.""", - ), - ), -# ----------------------------------- - METEOROLOGY = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WIND = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte ou non des effets du vent.""", - ang = """Determines whether the wind effects are to be taken into -account or not.""", - ), -# ----------------------------------- - b_WINDG = BLOC(condition="WIND == True", -# ----------------------------------- -# ----------------------------------- - WIND_VELOCITY_ALONG_X = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Composante de la vitesse du vent suivant -l''axe des $x$ (m/s), si constante.""", - ang = """Wind velocity, component along $x$ axis (m/s), if constant.""", - ), -# ----------------------------------- - WIND_VELOCITY_ALONG_Y = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Composante de la vitesse du vent suivant -l''axe des $y$ (m/s), si constante.""", - ang = """Wind velocity, component along $y$ axis (m/s), if constant.""", - ), -# ----------------------------------- - THRESHOLD_DEPTH_FOR_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Retire la force due au vent dans les petites profondeurs -plus petites que cette valeur.""", - ang = """Wind is not taken into account for depths smaller -than this value.""", - ), -# ----------------------------------- - COEFFICIENT_OF_WIND_INFLUENCE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.55E-6, - fr = """Fixe la valeur du coefficient d''entrainement du vent. -Voir le manuel utilisateur ou la note de principe -pour la valeur a donner.""", - ang = """Sets the value of the wind driving coefficient. -See the User Manual or the principle note -for the value to give.""", - ), -# ----------------------------------- - OPTION_FOR_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["constant in time and space","variable in time given by formated file","variable in time and space given by formated file"], - defaut = "constant in time and space", - fr = """Donne les options pour introduire le vent : -\begin{itemize} -\item 1 : constant en temps et en espace (donne par les mots cle -\telkey{VITESSE ET DIRECTION DU VENT} -) ; -\item 2 : variable en temps donne par fichier formate ; -\item 3 : variable en temps et en espace donne par fichier formate -ou un fichier binaire SERAFIN. -\end{itemize}""", - ang = """Gives the option for managing the wind: -\begin{itemize} -\item 1: constant in time and space, given by the keyword -\telkey{SPEED AND DIRECTION OF WIND}, -\item 2: variable in time and constant in space, given by -\telkey{ASCII ATMOSPHERIC DATA FILE}, -\item 3: variable in time and space, given by formatted file or by -a binary SERAFIN file. -\end{itemize}""", - ), -# ----------------------------------- - b_OPTION_FOR_WINDG = BLOC(condition="OPTION_FOR_WIND == 'constant in time and space'", -# ----------------------------------- -# ----------------------------------- - SPEED_AND_DIRECTION_OF_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.,0.], - fr = """Donne la vitesse et la direction (en degres de 0 a 360, -0 etant $y$ = 0 et $x$ = +inf) du vent lorsqu ils sont constants -en temps et en espace (mot cle \telkey{OPTION DU VENT} = 1).""", - ang = """Gives the speed and direction (in degrees (from 0 to 360), -0 given $y$ = 0 anx $x$ = +infinity) when they are constant -in time and space (keyword \telkey{OPTION FOR WIND} = 1).""", - ), - ), -# ----------------------------------- - b_OPTION_FOR_WINDH = BLOC(condition="OPTION_FOR_WIND == 'variable in time given by formated file' or OPTION_FOR_WIND == 'variable in time and space given by formated file'", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Give the formatted file 3"), - ), - ), -# ----------------------------------- - COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Si OUI, la valeur du coefficient d''entrainement du vent est -calculee en fonction de la vitesse du vent. -La valeur de \telkey{COEFFICIENT D''INFLUENCE DU VENT} est ecrasee. -Ancienne valeur par defaut = NON jusqu a la version V8P1.""", - ang = """If YES, the value of the wind driving coefficient is computed -with respect to the wind velocity. -The value of \telkey{COEFFICIENT OF WIND INFLUENCE} is overwritten. -Old default value = NO until V8P1.""", - ), -# ----------------------------------- - AIR_PRESSURE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de decider si l''on prend ou non en compte l''influence -d''un champ de pression.""", - ang = """Provided to decide whether the influence of an atmosphere -pressure field is taken into account or not.""", - ), -# ----------------------------------- - b_AIR_PRESSUREG = BLOC(condition="AIR_PRESSURE == True", -# ----------------------------------- -# ----------------------------------- - VALUE_OF_ATMOSPHERIC_PRESSURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 100000., - fr = """Donne la valeur de la pression atmospherique lorsqu''elle est -constante en temps et en espace. En Pa.""", - ang = """Gives the value of atmospheric pressure when it is constant -in time and space. In Pa.""", - ), - ), -# ----------------------------------- - RAIN_OR_EVAPORATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour ajouter un apport ou une perte d''eau en surface. -Voir le mot-cle \telkey{PLUIE OU EVAPORATION EN MM PAR JOUR}.""", - ang = """Enables to add or remove water at the free surface. -See the keyword \telkey{RAIN OR EVAPORATION IN MM PER DAY}.""", - ), -# ----------------------------------- - b_RAIN_OR_EVAPORATIONG = BLOC(condition="RAIN_OR_EVAPORATION == True", -# ----------------------------------- -# ----------------------------------- - RAIN_OR_EVAPORATION_IN_MM_PER_DAY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.0, - fr = """Pour ajouter un apport ou une perte d''eau en surface.""", - ang = """To add or remove water at the free surface.""", - ), - ), -# ----------------------------------- - RAINFALL_RUNOFF_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["No infiltration","CN runoff model"], - defaut = "No infiltration", - fr = """Option pour le modele pluie-debit. Les options disponibles sont : -\begin{itemize} -\item 0 : Pas d infiltration (fonction de base) ; -\item 1 : Modele CN (Curve Number du SCS). -\end{itemize}""", - ang = """Option for the rainfall-runoff model. Available options are: -\begin{itemize} -\item 0: No infiltration (basic function), -\item 1: CN runoff model (Curve Number method of the SCS). -\end{itemize}""", - ), -# ----------------------------------- - ANTECEDENT_MOISTURE_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Donne les conditions d humidite precedant un episode de pluie pour -le modele CN du SCS. Les options disponibles sont : -\begin{itemize} -\item 1 : conditions precedentes seches ; -\item 2 : conditions precedentes normales ; -\item 3 : conditions prcedentes mouillees. -\end{itemize} -Ce mot cle est uniquement utile pour le modele pluie-debit 1 (CN).""", - ang = """Gives the antecedent moisture conditions before a rainfall - event for the SCS CN runoff model. Available options are: -\begin{itemize} -\item 1: dry antecedent conditions, -\item 2: normal antecedent conditions, -\item 3: wet antecedent conditions. -\end{itemize} -This keyword is only usefull for runoff model 1 (SCS CN model).""", - ), -# ----------------------------------- - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E6, - fr = """Donne la duree de la pluie en heures, par defaut pluie infinie.""", - ang = """Gives the duration of the rain in hours, -default value is infinite.""", - ), -# ----------------------------------- - ASCII_ATMOSPHERIC_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees ASCII contenant les informations -atmospheriques variables en temps.""", - ang = """ASCII data file containing the atmospheric data varying in -time.""", - ), -# ----------------------------------- - BINARY_ATMOSPHERIC_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire contenant les informations -atmospheriques variables en temps et en espace sur le maillage.""", - ang = """Binary-coded data file containing the atmospheric data varying in -time and space on the mesh.""", - ), -# ----------------------------------- - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY ATMOSPHERIC DATA FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - OPTION_FOR_INITIAL_ABSTRACTION_RATIO = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Donne le ratio entre pertes initiales IA et la retention potentielle -maximale S pour le modele pluie-debit SCS CN. -Les options disponibles sont : -\begin{itemize} -\item 1 : IA/S = 0.2 (methode standard) ; -\item 2 : IA/S = 0.05 (methode revisee, cf. Woodward, Hawkins et al. -2003. -\end{itemize} -Avec cette option les coefficients CN fournis en entree sont alors -automatiquement corriges, cf. manuel utilisateur). -Ce mot cle est uniquement utile pour le modele pluie-debit 1 (CN).""", - ang = """Gives the ratio for Initial Abstraction to Maximal Potential -Retention S for the SCS CN runoff model. Available options are: -\begin{itemize} -\item 1: IA/S = 0.2 (standard method), -\item 2: IA/S = 0.05 (revised method, see Woodward, Hawkins et al. 2003. -\end{itemize} -With this option the CN values given in input are automatically -converted see user manual). -This keyword is only useful for runoff model 1 (SCS CN model).""", - ), -# ----------------------------------- - AIR_TEMPERATURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 20., - fr = """Donne la valeur de la temperature de l air lorsqu elle est -constante en temps et en espace. En $^{\circ}$C.""", - ang = """Gives the value of air temperature when it is constant -in time and space. In $^{\circ}$C.""", - ), -# ----------------------------------- - CLOUD_COVER = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 5., - fr = """Donne la valeur de la nebulosite lorsqu elle est -constante en temps et en espace. En Octas ou dizieme.""", - ang = """Gives the value of cloud cover when it is constant -in time and space. In Octas or tenth.""", - ), -# ----------------------------------- - SOLAR_RADIATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 160., - fr = """Donne la valeur du rayonnement solaire lorsqu il est -constant en temps et en espace. En W/m$^2$.""", - ang = """Gives the value of solar radiation when it is constant -in time and space. In W/m$^2$.""", - ), -# ----------------------------------- - VAPOROUS_PRESSURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1000., - fr = """Donne la valeur de la pression de vapeur saturante lorsqu elle est -constante en temps et en espace. En Pa.""", - ang = """Gives the value of vaporous pressure when it is constant -in time and space. In Pa.""", - ), - ), -# ----------------------------------- - WAVE = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WAVE_DRIVEN_CURRENTS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active la prise en compte des courants de houle.""", - ang = """Wave driven currents are taken into account.""", - ), -# ----------------------------------- - b_WAVE_DRIVEN_CURRENTSG = BLOC(condition="WAVE_DRIVEN_CURRENTS == True", -# ----------------------------------- -# ----------------------------------- - RECORD_NUMBER_IN_WAVE_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Numero d enregistrement dans le fichier des courants de houle.""", - ang = """Record number to be read in the wave driven currents file.""", - ), - ), -# ----------------------------------- - WAVE_ENHANCED_FRICTION_FACTOR = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active la prise en compte des interactions non-lineaires entre la -houle et les courants pour le calcul du courant de houle (cf OConnor and -Yoo, 1988, Coast Eng.12.).""", - ang = """Wave friction enhancement for the calculation of the wave generated -longshore current (cf OConnor and Yoo, 1988, Coast Eng.12.).""", - ), - ), -# ----------------------------------- - ESTIMATION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - PARAMETER_ESTIMATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['','FRICTION','FRICTION, STEADY'], - defaut = '', - fr = """Liste des parametres a estimer, choix : -\begin{itemize} -\item FROTTEMENT ; -\item FROTTEMENT, PERMANENT. -\end{itemize}""", - ang = """List of parameter to be estimated, choices: -\begin{itemize} -\item FRICTION, -\item FRICTION, STEADY. -\end{itemize}""", - ), -# ----------------------------------- - COST_FUNCTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Computed with h,u,v","Computed with c,u,v"], - defaut = "Computed with h,u,v", - fr = """Choix possibles : -\begin{itemize} -\item calculee sur $h$, $u$, $v$ ; -\item calculee avec $c$, $u$ , $v$. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item computed with $h$, $u$, $v$, -\item computed with $c$, $u$, $v$. -\end{itemize}""", - ), -# ----------------------------------- - IDENTIFICATION_METHOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["list of tests","gradient simple","conjugate gradient","Lagrange interpolation"], - defaut = "gradient simple", - fr = """Choix possibles : -\begin{itemize} -\item 0 : plan d''experience ; -\item 1 : gradient simple ; -\item 2 : gradient conjugue ; -\item 3 : interpolation de Lagrange. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 0: list of tests, -\item 1: gradient, -\item 2: conjugate gradient, -\item 3: Lagrangian interpolation. -\end{itemize}""", - ), -# ----------------------------------- - TOLERANCES_FOR_IDENTIFICATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 4, max= 4, - defaut = [1.E-3,1.E-3,1.E-3,1.E-4], - fr = """4 nombres : precision absolue sur $H$, $U$, $V$, -et precision relative sur la fonction cout.""", - ang = """4 numbers: absolute precision on $H$, $U$, $V$, -and relative precision on the cost function.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 20, - fr = """Chaque iteration comprend au moins un -calcul direct et un calcul adjoint.""", - ang = """Every iteration implies at least a direct and -an adjoint computation.""", - ), - ), -# ----------------------------------- - SOURCES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - ABSCISSAE_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des abscisses des sources de debit et de traceur. -La source sera placee au noeud du maillage le plus proche.""", - ang = """Abscissae of sources of flowrate and/or tracer. -The source will be located at the nearest node in the mesh.""", - ), -# ----------------------------------- - ORDINATES_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des ordonnees des sources de debit et de traceur. -La source sera placee au noeud du maillage le plus proche.""", - ang = """Ordinates of sources of flowrate and/or tracer. -The source will be located at the nearest node in the mesh.""", - ), -# ----------------------------------- - WATER_DISCHARGE_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Specifie le debit de chaque source. -Un debit positif signifie qu''il s''agit d''un apport de fluide.""", - ang = """Specifies the discharge for every source. -A positive discharge means that fluid is added.""", - ), -# ----------------------------------- - VELOCITIES_OF_THE_SOURCES_ALONG_X = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Vitesses du courant selon $x$ a chacune des sources. -Si elles ne sont pas donnees, on considere que la vitesse est -celle du courant.""", - ang = """Velocities along $x$ at the sources. -If they are not given, the velocity of the flow at this location -is taken.""", - ), -# ----------------------------------- - VELOCITIES_OF_THE_SOURCES_ALONG_Y = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Vitesses du courant selon $y$ a chacune des sources. -Si elles ne sont pas donnees, on considere que la vitesse est -celle du courant.""", - ang = """Velocities along $y$ at the sources. -If they are not given, the velocity of the flow at this location -is taken.""", - ), -# ----------------------------------- - TYPE_OF_SOURCES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Normal","Dirac"], - defaut = "Normal", - fr = """Definit comment les sources sont calculees : -\begin{itemize} -\item 1 : Source portee par une base elements finis ; -\item 2 : Source portee par une fonction de Dirac -(recommande quand il y a beaucoup de sources). -\end{itemize}""", - ang = """Defines how the sources are computed: -\begin{itemize} -\item 1: Source term multiplied by a finite element basis, -\item 2: Source term multiplied by a Dirac function -(recommended with high numbers of sources). -\end{itemize}""", - ), -# ----------------------------------- - SOURCES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les informations variables -en temps des sources.""", - ang = """Name of the file containing time-dependent -information on sources.""", - ), -# ----------------------------------- - GLOBAL_NUMBERS_OF_SOURCE_NODES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min=0, max='**', - fr = """Numeros globaux des noeuds du maillage sur lequels sont affectes des -points source.""", - ang = """Global numbers of nodes in the mesh that correspond to source point -locations.""", - ), -# ----------------------------------- - SOURCE_REGIONS_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees en ASCII contenant les coordonnees des polygones -qui contiennent les sources.""", - ang = """ASCII data file containing sources informations: coordinates of the -polygons containing sources.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 10, - fr = """Nombre maximal de points pour definir les regions contenant les -sources. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of points to define regions containing sources. -Used for dimensioning arrays. It can be increased if needed.""", - ), - ), -# ----------------------------------- - WATER_QUALITY_INFO = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WATER_QUALITY_PROCESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Donne le numero du processus de qualite d''eau, defini -comme une combinaison multiplicative de nombres premiers -(2,3,5,7,11 et 13) avec les cas particuliers 0 et 1 : -\begin{itemize} -\item 0 : tous ; -\item 1 : rien ; -\item 2 : O2 ; -\item 3 : BIOMASS ; -\item 5 : EUTRO ; -\item 7 : MICROPOL ; -\item 11 : THERMIC ; -\item 17 : Loi de degradation ; -\item 19 : Court-cicuit temporaire pour les glaces. -\end{itemize} -Exemple: 110 = 2x5x11 activera O2, EUTRO et THERMIC ensemble. -On notera que AED2, pour l instant, n est pas disponible en 2D.""", - ang = """Gives the water quality process number, defined as -a multiplicative combination of prime numbers (2,3,5,7,11, 17 -and 19) with 0 and 1 having a special role: -\begin{itemize} -\item 0: all, -\item 1: none, -\item 2: O2, -\item 3: BIOMASS, -\item 5: EUTRO, -\item 7: MICROPOL, -\item 11: THERMIC, -\item 17: Degradation law, -\item 19: Ghost process for ice modelling. -\end{itemize} -Example: 110 = 2x5x11 activate O2, EUTRO and THERMIC together. -It is noted that AED2 is not available in 2D, for the time being.""", - ), - ), -# ----------------------------------- - ADVANCED_PHY = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WATER_DENSITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1000., - fr = """Fixe la valeur de la masse volumique de l''eau.""", - ang = """Sets the value of water density.""", - ), -# ----------------------------------- - GRAVITY_ACCELERATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 9.81, - fr = """Fixe la valeur de l''acceleration de la pesanteur en m/s$^2$.""", - ang = """Sets the value of the acceleration due to gravity in m/s$^2$.""", - ), -# ----------------------------------- - VERTICAL_STRUCTURES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte de la force de trainee de structures verticales -(il faut alors remplir le sous-programme \telfile{DRAGFO}).""", - ang = """Drag forces from vertical structures are taken into account. -(subroutine \telfile{DRAGFO} must then be implemented).""", - ), -# ----------------------------------- - b_VERTICAL_STRUCTURESG = BLOC(condition="VERTICAL_STRUCTURES == True", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Fill the subroutine DRAGFO"), - ), - ), - ), -# ----------------------------------- - NUMERICAL_PARAMETERS_HYDRO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - EQUATIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SAINT-VENANT FE','SAINT-VENANT FV','BOUSSINESQ'], - defaut = 'SAINT-VENANT FE', - fr = """Choix des equations a resoudre : -\begin{itemize} -\item Saint-Venant Elements Finis ; -\item Saint-Venant Volumes Finis ; -\item Boussinesq 20 caracteres. -\end{itemize}""", - ang = """Choice of equations to solve: -\begin{itemize} -\item Shallow Water Finite Elements, -\item Shallow Water Finite Volumes, -\item Boussinesq 20 Characters. -\end{itemize}""", - ), -# ----------------------------------- - b_EQUATIONSG = BLOC(condition="EQUATIONS == 'SAINT-VENANT FV'", -# ----------------------------------- -# ----------------------------------- - FINITE_VOLUME_SCHEME = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Roe scheme","kinetic","Zokagoa scheme","Tchamen scheme","HLLC scheme","WAF scheme"], - defaut = "kinetic", - fr = """Choix possibles : -\begin{itemize} -\item 0 : schema de Roe ; -\item 1 : cinetique ; -\item 3 : schema de Zokagoa ; -\item 4 : schema de Tchamen ; -\item 5 : HLLC ; -\item 6 : WAF. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 0: Roe scheme, -\item 1: kinetic, -\item 3: Zokagoa scheme, -\item 4: Tchamen scheme, -\item 5: HLLC, -\item 6: WAF. -\end{itemize}""", - ), - ), -# ----------------------------------- - TREATMENT_OF_THE_LINEAR_SYSTEM = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Coupled","Wave equation"], - defaut = "Wave equation", - fr = """Choix possibles : -\begin{itemize} -\item 1 : Traitement couple ; -\item 2 : Equation d onde. -\end{itemize} -Ancienne valeur par defaut = 1 (couple) jusqu a la version -V8P1.""", - ang = """Possible choices: -\begin{itemize} -\item 1: Coupled, -\item 2: Wave equation. -\end{itemize} -Old default value = 1 (coupled) until release V8P1.""", - ), - ), -# ----------------------------------- - FLUID = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CORIOLIS_EFFECT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CORIOLIS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte ou non de la force de Coriolis.""", - ang = """The Coriolis force is taken into account or ignored.""", - ), -# ----------------------------------- - CORIOLIS_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la valeur du coefficient de la force de Coriolis. -Celui-ci doit etre calcule en fonction de la latitude $l$ -par la formule -$FCOR = 2 \omega sin(l)$ , -$\omega$ etant la vitesse de rotation de la terre. -$\omega$ = 7.2921 10-5 rad/s.\\ -Les composantes de la force de Coriolis sont alors :\\ -$FU = FCOR \times V,$\\ -$FV = -FCOR \times U.$ -Lorsqu''on utilise les coordonnees spheriques, le coefficient de -Coriolis est calcule automatiquement.""", - ang = """Sets the value of the Coriolis force coefficient, -in cartesian coordinates. -This coefficient, denoted \telfile{FCOR} in the code, should be equal to -$2 \omega \sin(l)$ where $\omega$ denotes the earth angular speed of -rotation and $l$ the latitude. $\omega$ = 7.2921 10-5 rad/s.\\ -The Coriolis force components are then:\\ -$FU = FCOR \times V,$\\ -$FV = -FCOR \times U.$\\ -When using the spherical coordinates, the Coriolis coefficient is -automatically computed.""", - ), - ), -# ----------------------------------- - TSUNAMI = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_TSUNAMI_GENERATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No Tsunami","Tsunami generated on the basis of the Okada model 1992"], - defaut = "No Tsunami", - fr = """Choix possibles : -\begin{itemize} -\item 0 : pas de tsunami ; -\item 1 : generation d un Tsunami sur la base du modele de Okada -(1992). -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 0: no tsunami, -\item 1: tsunami generated on the basis of the Okada model (1992). -\end{itemize}""", - ), -# ----------------------------------- - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=10, max=10, - defaut = [100.,210000.,75000.,13.6,81.,41.,110.,0.,0.,3.], - fr = """Caracteristiques physiques du tsunami au nombre de 10, dans l ordre : -\begin{itemize} -\item $HH$ profondeur focale (en m) ; -\item $L$ longueur de fault (en m) ; -\item $W$ largeur de fault (en m) ; -\item $D$ dislocation (en m) ; -\item $TH$ direction de strike (en degres decimaux) ; -\item $DL$ angle d immersion (en degres decimaux) ; -\item $RD$ angle de glissement (en degres decimaux) ; -\item $Y0$ latitude de l epicentre (en degres decimaux) ; -\item $X0$ longitude de l epicentre (en degres decimaux) ; -\item $C0$ taille de l ellipse d influence ($L$ $\times$ $W$). -\end{itemize}""", - ang = """Physical characteristics of the tsunami. -There are 10 of them: -\begin{itemize} -\item $HH$ focal depth (in m), -\item $L$ fault length (in m), -\item $W$ fault width (in m), -\item $D$ dislocation (in m), -\item $TH$ strike direction (in decimal degrees), -\item $DL$ dip angle (in decimal degrees), -\item $RD$ slip angle (in decimal degrees), -\item $Y0$ epicentre latitude (in decimal degrees), -\item $X0$ epicentre longitude (in decimal degrees), -\item $C0$ size of the ellipse of influence ($L$ $\times$ $W$). -\end{itemize}""", - ), - ), -# ----------------------------------- - SECONDARY_CURRENTS_INFO = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - SECONDARY_CURRENTS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour prendre en compte les courants secondaires.""", - ang = """Using the parametrisation for secondary currents.""", - ), -# ----------------------------------- - b_SECONDARY_CURRENTSG = BLOC(condition="SECONDARY_CURRENTS == True", -# ----------------------------------- -# ----------------------------------- - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 7.071, - fr = """Une constante dans les termes de creation de $\Omega$.""", - ang = """A constant in the production terms of $\Omega$.""", - ), -# ----------------------------------- - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 5.E-1, - fr = """Coefficient de dissipation de $\Omega$.""", - ang = """Coefficient of dissipation term of $\Omega$.""", - ), - ), - ), - ), -) -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom= "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - ADVANCED = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FINITE_VOLUME_SCHEME_SPACE_ORDER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Choix possibles : -\begin{itemize} -\item 1 : ordre 1 en espace ; -\item 2 : ordre 2 en espace. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1: first order in space, -\item 2: second order in space. -\end{itemize}""", - ), -# ----------------------------------- - FINITE_VOLUME_SCHEME_TIME_ORDER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Choix possibles : -\begin{itemize} -\item 1 : ordre 1 en temps ; -\item 2 : ordre 2 en temps. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1: first order in time, -\item 2: second order in time. -\end{itemize}""", - ), -# ----------------------------------- - FLUX_LIMITOR_FOR_H_PLUS_Z = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Choix possibles : -\begin{itemize} -\item 1 : Minmod ; -\item 2 : Van Albada ; -\item 3 : MC (Monotonized Central-difference) ; -\item 4 : GenMinmod. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1 : Minmod, -\item 2 : Van Albada, -\item 3 : MC (Monotonized Central-difference), -\item 4 : GenMinmod. -\end{itemize}""", - ), -# ----------------------------------- - FLUX_LIMITOR_FOR_U_AND_V = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Choix possibles : -\begin{itemize} -\item 1 : Minmod ; -\item 2 : Van Albada ; -\item 3 : MC (Monotonized Central-difference) ; -\item 4 : GenMinmod. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1 : Minmod, -\item 2 : Van Albada, -\item 3 : MC (Monotonized Central-difference), -\item 4 : GenMinmod. -\end{itemize}""", - ), -# ----------------------------------- - FLUX_LIMITOR_FOR_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Choix possibles : -\begin{itemize} -\item 1 : Minmod ; -\item 2 : Van Albada ; -\item 3 : MC (Monotonized Central-difference) ; -\item 4 : GenMinmod. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1 : Minmod, -\item 2 : Van Albada, -\item 3 : MC (Monotonized Central-difference), -\item 4 : GenMinmod. -\end{itemize}""", - ), -# ----------------------------------- - TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Choix possibles : -\begin{itemize} -\item 1 : Imposition faible ; -\item 2 : Imposition forte. -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1: Weak imposition, -\item 2: Strong imposition. -\end{itemize}""", - ), -# ----------------------------------- - MATRIX_STORAGE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["classical EBE","Edge-based storage"], - defaut = "Edge-based storage", - fr = """Permet de definir la methode de stockage des matrices. -Les choix possibles sont : -\begin{itemize} -\item 1 : EBE classique ; -\item 3 : stockage par segments. -\end{itemize} -L option 3 est obligatoire avec un schema distributif pour la convection -(= 3, 4, 5, 13, 14 ou 15).""", - ang = """Defines the method to store matrices. The possible choices are: -\begin{itemize} -\item 1: classical EBE, -\item 3: edge-based storage. -\end{itemize} -Option 3 is mandatory with a distributive scheme for advection -(= 3, 4, 5, 13, 14 or 15).""", - ), -# ----------------------------------- - MATRIX_VECTOR_PRODUCT = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Choix possibles : -\begin{itemize} -\item 1 : classique ; -\item 2 : frontal. -Attention, avec 2, il faut une numerotation speciale des points. -\end{itemize}""", - ang = """Possible choices are: -\begin{itemize} -\item 1: classic, -\item 2: frontal. -Beware, with option 2, a special numbering of points is required. -\end{itemize}""", - ), -# ----------------------------------- - NEWMARK_TIME_INTEGRATION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.5, - fr = """Choix possibles : -\begin{itemize} -\item 1. : Euler explicite ; -\item 0.5 : ordre 2 en temps. -\end{itemize} -Seulement pour Volumes Finis.""", - ang = """Possible choices are: -\begin{itemize} -\item 1.: Euler explicit, -\item 0.5: order 2 in time. -\end{itemize} -Only for Finite Volumes.""", - ), -# ----------------------------------- - ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-10, - fr = """Non active pour l''instant.""", - ang = """Not yet implemented""", - ), -# ----------------------------------- - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Donne l option de la reconstruction hydrostatique -(option utile uniquement pour les Volumes Finis, -pour les schemas cinetique, HLLC et WAF) : -\begin{itemize} -\item 1 : option d Audusse et al. ; -\item 2 : option de Chen et Noelle. -\end{itemize}""", - ang = """Gives the option for hydrostatic reconstruction -(only used for Finite Volumes with kinetic, HLLC and WAF schemes): -\begin{itemize} -\item 1: Audusse et al. option ; -\item 2: Chen and Noelle option. -\end{itemize}""", - ), -# ----------------------------------- - CONVERGENCE_STUDY = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active une etude de convergence par rapport a une -solution analytique sur un maillage fin.""", - ang = """Activates a convergence study compared -to an analytical solution on a fine mesh.""", - ), -# ----------------------------------- - REFINEMENT_LEVELS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Donne le nombre de raffinements que l''utilisateur -veut utiliser pour l''etude de convergence -(en activant \telkey{ETUDE DE CONVERGENCE} = OUI). -Chaque niveau multiplie par 4 le nombre d''elements.""", - ang = """Gives the number of refinement levels that the -user wants to use in the convergence study (when activating -\telkey{CONVERGENCE STUDY} = YES). -Each level multiplies the number of elements by 4.""", - ), - ), -# ----------------------------------- - SOLVER_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SOLVER = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","cgstab","gmres","direct"], - defaut = "conjugate gradient on a normal equation", - fr = """Permet de choisir le solveur utilise pour la resolution de -l''etape de propagation. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue, -\item 2 : residu conjugue, -\item 3 : gradient conjugue sur equation normale, -\item 4 : erreur minimale, -\item 5 : gradient conjugue carre (non programme), -\item 6 : gradient conjugue carre stabilise (cgstab), -\item 7 : GMRES (voir aussi \telkey{OPTION DU SOLVEUR}), -\item 8 : direct. -\end{itemize}""", - ang = """Makes it possible to select the solver used for solving the -propagation step. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient (not implemented), -\item 6: conjugate gradient squared stabilised (cgstab), -\item 7: GMRES (see \telkey{SOLVER OPTION}), -\item 8: direct. -\end{itemize}""", - ), -# ----------------------------------- - b_SOLVERG = BLOC(condition="SOLVER == 'gmres'", -# ----------------------------------- -# ----------------------------------- - SOLVER_OPTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Si le solveur est GMRES (7), le mot cle est la dimension de -l''espace de Krylov (valeurs conseillees entre 2 et 15).""", - ang = """When GMRES (7) is chosen for solver, dimension of the Krylov space. -Try values between 2 and 15.""", - ), - ), -# ----------------------------------- - SOLVER_ACCURACY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-4, - fr = """Precision demandee pour la resolution de l''etape de propagation -(cf. Note de principe).""", - ang = """Required accuracy for solving the propagation step -(refer to Principle note).""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 100, - fr = """Les algorithmes utilises pour la resolution de l''etape de -propagation etant iteratifs. Il est necessaire de limiter le nombre -d''iterations autorisees. -Remarque : un maximum de 40 iterations par pas de temps semble -raisonnable.""", - ang = """Since the algorithms used for solving the propagation step are -iterative, the allowed number of iterations should be limited. -NOTE: a maximum number of 40 iterations per time step seems to be -reasonable.""", - ), -# ----------------------------------- - CONTINUITY_CORRECTION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Corrige les vitesses sur les points avec hauteur imposee ou -l''equation de continuite n''a pas ete resolue. -Doit etre activee avec des bancs decouvrants et -\telkey{TRAITEMENT DES HAUTEURS NEGATIVES} = 2 ou 3.""", - ang = """Correction of the velocities on points with a prescribed -elevation, where the continuity equation has not been solved. -It has to be activated with tidal flats and -\telkey{TREATMENT OF NEGATIVE DEPTHS} = 2 or 3.""", - ), -# ----------------------------------- - PRECONDITIONING = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["diagonal","no preconditioning","block-diagonal (4-9 matrices)","absolute value of diagonal","Crout","Gauss-Seidel","Supplied by the user","diagonal and Crout"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme de l''etape de propagation -afin d''accelerer la convergence lors de sa resolution. -\begin{itemize} -\item 0 : pas de preconditionnement ; -\item 2 : preconditionnement diagonal ; -\item 3 : preconditionnement diagonal-bloc ; -\item 5 : preconditionnement valeur absolue diagonale ; -\item 7 : preconditionnement de Crout par element ou segment -(ne marche pas en parallele) ; -\item 11 : preconditionnement de Gauss-Seidel par element ou segment ; -\item 13 : preconditionnement fourni par l''utilisateur. -\end{itemize} -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres) -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Choice of the preconditioning in the propagation step linear -system that the convergence is speeded up when it is being solved. -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal preconditioning, -\item 3: block-diagonal preconditioning (systemes a 4 ou 9 matrices), -\item 5: diagonal preconditioning with absolute value, -\item 7: Crout''s preconditioning per element or segment -(does not work in parallel), -\item 11: Gauss-Seidel''s preconditioning per element or segment, -\item 13: preconditioning supplied by the user. -\end{itemize} -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be made.""", - ), -# ----------------------------------- - C_U_PRECONDITIONING = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Changement de variable de $H$ en $C$ dans le systeme lineaire final. -Cette option est desactivee avec l equation d onde i.e. -\telkey{TRAITEMENT DU SYSTEME LINEAIRE} = 2.""", - ang = """Change of variable from $H$ to $C$ in the final linear system. -This option is deactivated with wave equation i.e. -\telkey{TREATMENT OF THE LINEAR SYSTEM} = 2.""", - ), -# ----------------------------------- - FINITE_ELEMENT_ASSEMBLY = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Normal","Integer I8","Compensated"], - defaut = "Normal", - fr = """Les choix possibles sont : -\begin{itemize} -\item 1 : normal ; -\item 2 : avec des entiers I8 ; -\item 3 : compense (pour reproductibilite). -\end{itemize}""", - ang = """Possible choices are: -\begin{itemize} -\item 1: normal, -\item 2: with I8 integers, -\item 3: compensation (for reproducibility). -\end{itemize}""", - ), - ), -# ----------------------------------- - DISCRETISATIONS_IMPLICITATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - IMPLICITATION_FOR_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.55, - fr = """Fixe la valeur du coefficient d''implicitation sur C dans l''etape de -propagation (cf. Note de principe). Les valeurs inferieures a 0.5 -donnent un schema instable (et sont donc interdites).""", - ang = """Sets the value of the implicitation coefficient for C (the celerity of -waves) in the propagation step (refer to principle note). Values below -0.5 result in an unstable scheme (and are then forbidden).""", - ), -# ----------------------------------- - IMPLICITATION_FOR_VELOCITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.55, - fr = """Fixe la valeur du coefficient d''implicitation sur la vitesse dans -l''etape de propagation (cf. Note de principe). Les valeurs inferieures -a 0.5 donnent un schema instable (et sont donc interdites).""", - ang = """Sets the value of the implicitation coefficient for velocity in the -propagation step (refer to principle note). Values below 0.5 result in -an unstable condition (and are then forbidden).""", - ), -# ----------------------------------- - DISCRETIZATIONS_IN_SPACE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["linear","quasi-bubble","quadratic"], - defaut = ["linear","linear","linear","linear","linear"], - fr = """Choix de la discretisation pour chaque variable. -Ces coefficients sont respectivement appliques a : -\begin{itemize} -\item 1) $U$ et $V$ ; -\item 2) $H$ ; -\item 3) $T$ ; -\item 4) $k$ et $\epsilon$ (modele $k-\epsilon$) ; -\item 5) $\tilde{\nu}$ (modele Spalart-Allmaras). -\end{itemize} -Les choix possibles sont : -\begin{itemize} -\item 11 : lineaire ; -\item 12 : quasi-bulle ; -\item 13 : quadratique. -\end{itemize} -Les elements quadratiques (13) ne sont pas implementes pour l equation -d onde (\telkey{TRAITEMENT DU SYSTEME LINEAIRE} = 2).""", - ang = """Choice of space discretisation for every variable. -These coefficients are respectively applied to: -\begin{itemize} -\item 1) $U$ and $V$, -\item 2) $H$, -\item 3) $T$, -\item 4) $k$ and $\epsilon$ ($k-\epsilon$ model), -\item 5) $\tilde{\nu}$ (Spalart-Allmaras model). -\end{itemize} -Possible choices are: -\begin{itemize} -\item 11: linear, -\item 12: quasi-bubble, -\item 13: quadratic. -\end{itemize} -Quadratic elements (13) have not been implemented for wave equation -(\telkey{TREATMENT OF THE LINEAR SYSTEM} = 2).""", - ), -# ----------------------------------- - b_DISCRETIZATIONS_IN_SPACEG = BLOC(condition="DISCRETIZATIONS_IN_SPACE != None", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Choice of space discretisation for every variable. These coefficients are applied respectively to 1) U and V 2) H 3) T 4) K and EPSILON"), - ), - ), -# ----------------------------------- - PROPAGATION_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non de la propagation de la vitesse et de la -hauteur d''eau. -La diffusion etant contenue dans cette etape sera supprimee aussi.""", - ang = """Determines whether the propagation step is taken into account -or not. -The diffusion being included in that step will be deleted as well.""", - ), -# ----------------------------------- - b_PROPAGATIONG = BLOC(condition="PROPAGATION == True", -# ----------------------------------- -# ----------------------------------- - MEAN_DEPTH_FOR_LINEARIZATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la hauteur d''eau autour de laquelle s''effectue la linearisation -lorsque l''option \telkey{PROPAGATION LINEARISEE} est choisie.""", - ang = """Sets the water depth around which the linearization is done -when the \telkey{LINEARIZED PROPAGATION} option is selected.""", - ), -# ----------------------------------- - INITIAL_GUESS_FOR_U = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["zero","previous","extrapolation"], - defaut = "previous", - fr = """Tir initial du solveur de l''etape de propagation. -Offre la possibilite de modifier la valeur initiale de U, a chaque -iteration, dans l''etape de propagation en utilisant les valeurs -finales de cette variable aux pas de temps precedents. Ceci peut -permettre d''accelerer la vitesse de convergence lors de la resolution -du systeme. Trois possibilites sont offertes : -\begin{itemize} -\item 0 : U = 0 ; -\item 1 : U = U(n) ; -\item 2 : U = 2 U(n)- U(n-1) (extrapolation). -\end{itemize}""", - ang = """Initial guess for the solver in the propagation step. -Makes it possible to modify the initial value of U, upon each -iteration in the propagation step, by using the ultimate values this -variable had in the earlier time steps. Thus, the convergence can be -speeded up when the system is being solved. 3 options are available: -\begin{itemize} -\item 0 : U = 0, -\item 1 : U = U(n), -\item 2 : U = 2 U(n)- U(n-1) (extrapolation). -\end{itemize}""", - ), - ), -# ----------------------------------- - INITIAL_GUESS_FOR_H = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["zero","previous","extrapolation"], - defaut = "previous", - fr = """Tir initial du solveur de l''etape de propagation. Offre la -possibilite de modifier la valeur initiale de DH, accroissement de H, -a chaque iteration, dans l''etape de propagation en utilisant les -valeurs finales de cette variable aux pas de temps precedents. Ceci peut -permettre d''accelerer la vitesse de convergence lors de la resolution -du systeme. Trois possibilites sont offertes : -\begin{itemize} -\item 0 : DH = 0 ; -\item 1 : DH = DHn (valeur finale de DH au pas de temps precedent) ; -\item 2 : DH = 2.DHn - DHn-1 (extrapolation). -\end{itemize}""", - ang = """Initial guess for the solver in the propagation step. -Makes it possible to modify the initial value of C, upon each -iteration in the propagation step, by using the ultimate values this -variable had in the earlier time steps. Thus, the convergence can be -speeded up when the system is being solved. 3 options are available: -\begin{itemize} -\item 0: DH = 0, -\item 1: DH = DHn (ultimate DH value in the next previous time step), -\item 2: DH = 2.DHn - DHn-1 (extrapolation). -\end{itemize}""", - ), -# ----------------------------------- - LINEARIZED_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de lineariser l''etape de propagation; -par exemple lors de la realisation de cas tests -pour lesquels on dispose -d''une solution analytique dans le cas linearise.""", - ang = """Provided for linearizing the propagation step, e.g. when -performing test-cases for which an analytical -solution in the linearized -case is available.""", - ), - ), -# ----------------------------------- - ADVECTION_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ADVECTION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non des termes de convection. -En cas de reponse positive, -on peut encore supprimer certains termes de convection avec -les mots-cles \telkey{CONVECTION DE}...""", - ang = """Are the advection terms taken into account or not? -If YES, some advection terms can still be deleted using the keywords -\telkey{ADVECTION OF}...""", - ), -# ----------------------------------- - ADVECTION_OF_H = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non de la convection de $H$.""", - ang = """The advection of $H$ is taken into account or ignored.""", - ), -# ----------------------------------- - ADVECTION_OF_U_AND_V = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non de la convection de $U$ et $V$.""", - ang = """The advection of $U$ and $V$ is taken into account or ignored.""", - ), -# ----------------------------------- - b_ADVECTION_OF_U_AND_VG = BLOC(condition="ADVECTION_OF_U_AND_V == True", -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO ADVECTION","CHARACTERISTICS","EXPLICIT + SUPG","EXPLICIT LEO POSTMA","EXPLICIT + MURD SCHEME N","EXPLICIT + MURD SCHEME PSI","N-SCHEME FOR TIDAL FLATS","N-SCHEME FOR TIDAL FLATS","ERIA SCHEME"], - defaut = "CHARACTERISTICS", - fr = """Choix du schema de convection pour les vitesses, -remplace \telkey{FORME DE LA CONVECTION}.""", - ang = """Choice of the advection scheme for the velocities, -replaces \telkey{TYPE OF ADVECTION}.""", - ), - ), -# ----------------------------------- - TYPE_OF_ADVECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["CHARACTERISTICS","SUPG","CONSERVATIVE N-SCHEME LP","CONSERVATIVE N-SCHEME","CONSERVATIVE PSI-SCHEME","EDGE-BASED N-SCHEME LP","EDGE-BASED N-SCHEME","ERIA SCHEME"], - defaut = ["CHARACTERISTICS","CONSERVATIVE PSI-SCHEME","CHARACTERISTICS","CHARACTERISTICS"], - fr = """Choix du schema de convection pour chaque variable. -Ces coefficients sont respectivement appliques a\\ -\begin{itemize} -\item 1) $U$ et $V$ ; -\item 2) $H$ ; -\item 3) $T$ ; -\item 4) $k$ et $\epsilon$. -\end{itemize} -Les choix possibles sont : -\begin{itemize} -\item 1 : caracteristiques sur $h$ ; -\item 2 : SUPG ; -\item 3 : Schema N conservatif ; -\item 4 : Schema N conservatif ; -\item 5 : Schema PSI conservatif ; -\item 13 : Schema N par segment ; -\item 14 : Schema N par segment ; -\item 15 : Schema ERIA. -\end{itemize} -Le 2e entier doit etre 5.""", - ang = """Choice of advection schemes for every variable. -These coefficients are applied respectively to -\begin{itemize} -\item 1) $U$ and $V$, -\item 2) $H$, -\item 3) $T$, -\item 4) $k$ and $\epsilon$. -\end{itemize} -Possible choices are: -\begin{itemize} -\item 1: characteristics, -\item 2: SUPG, -\item 3: Conservative N-scheme, -\item 4: Conservative N-scheme, -\item 5: Conservative PSI-scheme, -\item 13: Edge-based N-scheme, -\item 14: Edge-based N-scheme, -\item 15: ERIA scheme. -\end{itemize} -The second integer must be 5.""", - ), -# ----------------------------------- - b_TYPE_OF_ADVECTIONG = BLOC(condition="TYPE_OF_ADVECTION != None", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Choice of space discretisation for every variable. These coefficients are applied respectively to 1) U and V 2) H 3) T 4) K and EPSILON"), - ), -# ----------------------------------- - OPTION_FOR_CHARACTERISTICS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["strong","weak"], - defaut = "strong", - fr = """Les choix possibles sont : -\begin{itemize} -\item 1 : forme forte ; -\item 2 : forme faible. -\end{itemize} -Si une des composantes du tableau \telkey{FORME DE LA CONVECTION} = 1 -ou \telkey{SCHEMA POUR LA CONVECTION...} = 1, -ainsi que le mot-cle correspondant -\telkey{OPTION DU SCHEMA POUR LA CONVECTION...} = 2, -\telkey{OPTION POUR LES CARACTERISTIQUES} est automatiquement mis a 2.""", - ang = """Possible choices are: -\begin{itemize} -\item 1: strong form, -\item 2: weak form. -\end{itemize} -If one component of array \telkey{TYPE OF ADVECTION} = 1 or -\telkey{SCHEME FOR ADVECTION OF...} = 1, -and also the corresponding keyword -\telkey{SCHEME OPTION FOR ADVECTION OF...} = 2, -\telkey{OPTION FOR CHARACTERISTICS} is automatically set to 2.""", - ), -# ----------------------------------- - SUPG_OPTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min=0, max='**', - defaut = [2,2,2,2], - fr = """Les choix possibles sont : -\begin{itemize} -\item 0:pas de decentrement SUPG ; -\item 1:SUPG classique ; -\item 2:SUPG modifiee. -\end{itemize} -Ces coefficients sont respectivement appliques a : -\begin{itemize} -\item 1) $U$ et $V$ ; -\item 2) $H$ ; -\item 3) $T$ ; -\item 4) $k$ et $\epsilon$. -\end{itemize} -En cas d utilisation d un schema distributif (3, 4, 5, 13, 14 ou 15), -le coefficient applique a $H$ est automatiquement mis a 0. -De plus, si \telkey{TRAITEMENT DES HAUTEURS NEGATIVES} = 2 ou 3 -avec \telkey{OPTION DE TRAITEMENT DES BANCS DECOUVRANTS} = 1, -il est obligatoire de choisir 0 pour la 2e composante du mot-cle -\telkey{OPTION DE SUPG} (hauteur d eau).""", - ang = """Possible choices are: -\begin{itemize} -\item 0: no upwinding, -\item 1: classical SUPG, -\item 2: modified SUPG. -\end{itemize} -These coefficients are applied respectively to: -\begin{itemize} -\item 1) $U$ and $V$, -\item 2) $H$, -\item 3) $T$, -\item 4) $k$ and $\epsilon$. -\end{itemize} -If using a distributive scheme (3, 4, 5, 13, 14, 15), -the coefficient applied to $H$ is automatically set to 0. -Moreover, if using \telkey{TREATMENT OF NEGATIVE DEPTHS} = 2 or 3 -with \telkey{OPTION FOR THE TREATMENT OF TIDAL FLATS} = 1, -it is mandatory to choose 0 for the 2nd component of -\telkey{SUPG OPTION} (water depth).""", - ), -# ----------------------------------- - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 3, - fr = """Voir les release notes 6.3. -Nombre de points de Gauss utilises pour le calcul des caracteristiques -faibles. -Les choix possibles sont : -\begin{itemize} -\item 1 point ; -\item 3 points ; -\item 4 points ; -\item 6 points ; -\item 7 points ; -\item 12 points. -\end{itemize} -Plus le nombre est grand, plus le schema sera conservatif, -mais plus les couts de calculs seront eleves.""", - ang = """See release notes 6.3. -Number of Gauss points used to compute the weak characteristics. -Possible choices are: -\begin{itemize} -\item 1 point, -\item 3 points, -\item 4 points, -\item 6 points, -\item 7 points, -\item 12 points. -\end{itemize} -The bigger the number is, the more conservative the scheme is, -but the higher the computational costs are.""", - ), -# ----------------------------------- - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe le taux de mass-lumping qui est applique a la matrice de -masse lors de l''utilisation des caracteristiques faibles.""", - ang = """Sets the amount of mass-lumping that is applied to the mass -matrix when using weak characteristics.""", - ), -# ----------------------------------- - b_MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMESF = BLOC(condition="(ADVECTION_OF_TRACERS == True and SCHEME_FOR_ADVECTION_OF_TRACERS == 'EDGE-BASED N-SCHEME') or (ADVECTION_OF_K_AND_EPSILON == True and SCHEME_FOR_ADVECTION_OF_K_EPSILON == 'EDGE-BASED N-SCHEME') or (ADVECTION_OF_U_AND_V == True and SCHEME_FOR_ADVECTION_OF_VELOCITIES == 'EDGE-BASED N-SCHEME')", -# ----------------------------------- - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 50, - fr = """Limite le nombre d''iterations pour les schemas de convection, -seulement pour schemes 13, 14 et 15. -Ancienne valeur par defaut = 10 jusqu en version 8.1.""", - ang = """Limits the number of solver iterations for the advection -schemes, only for schemes 13, 14 and 15. -Old default value = 10 until release 8.1.""", - ), -# ----------------------------------- - MASS_LUMPING_ON_H = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """\telemac{2d} offre la possibilite d''effectuer du mass-lumping -sur $H$ ou sur la vitesse. -Ceci revient a ramener tout ou partie (suivant la valeur de ce -coefficient) des matrices AM1 (h) ou AM2 (U) et AM3 (V) sur -leur diagonale. -Cette technique permet d''accelerer le code dans des proportions tres -importantes et de le rendre egalement beaucoup plus stable. Cependant -les solutions obtenues se trouvent lissees. -Ce parametre fixe le taux de mass-lumping effectue sur $H$.""", - ang = """\telemac{2d} provides an opportunity to carry out mass-lumping -either on $H$ or on the velocity. -This is equivalent to bringing the matrices AM1 (h) or AM2 (U) and -AM3 (V) wholly or partly, back onto their diagonal. -Thanks to that technique, the code can be speeded up to a quite -significant extent and it can also be made much more stable. The -resulting solutions, however, become artificially smoothed. -This parameter sets the extent of mass-lumping that is performed -on $h$.""", - ), -# ----------------------------------- - MASS_LUMPING_ON_VELOCITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe le taux de mass-lumping effectue sur la vitesse. -Le mot-cle \telkey{TRAITEMENT DU SYSTEME LINEAIRE} change la valeur -utilisee a 1.""", - ang = """Sets the amount of mass-lumping that is performed on the velocity. -The keyword \telkey{TREATMENT OF THE LINEAR SYSTEM} changes the -used value to 1.""", - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Si present remplace et a priorite sur : -\telkey{OPTION POUR LES CARACTERISTIQUES} -\telkey{OPTION DE SUPG}. -Si caracteristiques : -\begin{itemize} -\item 1 = forme forte, -\item 2 = forme faible. -\end{itemize} -Si schema PSI ou N : -\begin{itemize} -\item 1 = explicite ; -\item 2 = predicteur-correcteur ; -\item 3 = predicteur-correcteur 2e ordre en temps ; -\item 4 = implicite. -\end{itemize}""", - ang = """If present replaces and has priority over: -\telkey{OPTION FOR CHARACTERISTICS} -\telkey{SUPG OPTION}. -If characteristics: -\begin{itemize} -\item 1 = strong form, -\item 2 = weak form. -\end{itemize} -If N or PSI scheme: -\begin{itemize} -\item 1 = explicit, -\item 2 = predictor-corrector, -\item 3 = predictor-corrector second-order in time, -\item 4 = implicit. -\end{itemize}""", - ), -# ----------------------------------- - FREE_SURFACE_GRADIENT_COMPATIBILITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Des valeurs comprises entre 0 et 1 peuvent supprimer les -oscillations parasites.""", - ang = """Values between 0 and 1 may suppress spurious oscillations.""", - ), -# ----------------------------------- - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Permet de reactualiser, pour un meme pas de temps, les champs -convecteur et propagateur au cours de plusieurs sous-iterations. A la -premiere sous-iteration, ces champs sont donnes par C et le champ de -vitesses au pas de temps precedent. Aux iterations suivantes, ils sont -pris egaux au champ de vitesse obtenu a la fin de la sous-iteration -precedente. Cette technique permet d''ameliorer la prise en compte des -non linearites.""", - ang = """Used for updating, within one time step, the advection and -propagation field. -upon the first sub-iteration, these fields are given by -C and the velocity field in the previous time step. At subsequent -iterations, the results of the previous sub-iteration is used to -update the advection and propagation field. -The non-linearities can be taken into account through this technique.""", - ), -# ----------------------------------- - b_TREATMENT_OF_FLUXES_AT_THE_BOUNDARIESF = BLOC(condition="(ADVECTION_OF_TRACERS == True and SCHEME_FOR_ADVECTION_OF_TRACERS in ['EDGE-BASED N-SCHEME','SUPG','CONSERVATIVE N-SCHEME','CONSERVATIVE PSI-SCHEME']) or (ADVECTION_OF_K_AND_EPSILON == True and SCHEME_FOR_ADVECTION_OF_K_EPSILON in ['EDGE-BASED N-SCHEME','SUPG','CONSERVATIVE N-SCHEME','CONSERVATIVE PSI-SCHEME']) or (ADVECTION_OF_U_AND_V == True and SCHEME_FOR_ADVECTION_OF_VELOCITIES in ['EDGE-BASED N-SCHEME','SUPG','CONSERVATIVE N-SCHEME','CONSERVATIVE PSI-SCHEME'])", -# ----------------------------------- - ), -# ----------------------------------- - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["Priority to prescribed values","Priority to fluxes"], - defaut = ["Priority to prescribed values"], - fr = """Utilise pour les schemas SUPG, PSI et N, avec option 2, on ne retrouve -pas exactement les valeurs imposees des traceurs, mais le flux est -correct. Une seule meme valeur pour toutes les frontieres liquides.""", - ang = """Used so far only with the SUPG, PSI and N schemes. With option 2, -Dirichlet prescribed values are not obeyed, but the fluxes are correct. -One single and same value for every liquid boundary.""", - ), -# ----------------------------------- - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Pour les options avec predicteur-correcteur et schema de convection -de type (3, 4, 5, LIPS ou pas et ERIA). -Nombre d iterations pour tous les pas de temps (ou sous pas) pour -converger vers la solution. -Il est utile pour les cas non stationnaires. -Pour les ecoulements quasi-stationnaires, ce mot-cle n a pas d impact -sur la solution, il peut donc etre fixe a 0. -D un autre cote, pour les ecoulements instationnaires, il est suggere -de fixer ce mot-cle a 2 (au moins), ce qui est un bon compromis -entre precision et temps CPU. -En effet, en augmentant le nombre de corrections, le schema est plus -precis mais le temps CPU augmente rapidement.""", - ang = """For predictor-corrector options with advection scheme of type -3, 4, 5, LIPS or not, and ERIA). -Number of iterations for every time step (or sub-time step) to converge -to the solution. -It is useful for unsteady cases. -For quasi-steady flows, this keyword does not have a large impact -on the solution, so it can be set to 0. -On the other hand, for unsteady flows, it is suggested to set this -keyword to 2 (at least), which is a good compromise between accuracy -and computational time. Indeed, increasing the number of corrections -the scheme is more accurate but the CPU time rapidly increases.""", - ), -# ----------------------------------- - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Pour les options predicteur-correcteur avec schema localement -implicite (3, 4 or 5). -Ce mot-cle permet de diviser le pas de temps donne par l utilisateur -dans le \telkey{FICHIER DES PARAMETRES} en plusieurs sous-pas. -A nouveau, il produit un effet sur la precision du schema et -il est pratique d ajuster ce mot-cle afin d avoir des nombres de -Courant pas trop grands (autour de 1).""", - ang = """Only for implicit scheme with predictor-corrector (3, 4 or 5). -This keyword allows to subdivide the time step given by the user in the -\telkey{STEERING FILE}, into several sub-steps. -Again, it produces an effect on the precision of the scheme and -it is convenient to set this keyword in order to have Courant numbers -not too large (around 1).""", - ), - ), -# ----------------------------------- - DIFFUSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DIFFUSION_OF_VELOCITY = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Permet de decider si l''on prend ou non en compte la diffusion -des vitesses.""", - ang = """Makes it possible to decide whether the diffusion of velocity -(i.e. viscosity) is taken into account or not.""", - ), -# ----------------------------------- - b_DIFFUSION_OF_VELOCITYG = BLOC(condition="DIFFUSION_OF_VELOCITY == True", -# ----------------------------------- -# ----------------------------------- - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fixe la valeur du coefficient d''implicitation sur les termes de -diffusion des vitesses.""", - ang = """Sets the value of the implicitation coefficient for the diffusion of -velocity.""", - ), -# ----------------------------------- - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["div( nu grad(U) )","1/h div ( h nu grad(U)"], - defaut = "div( nu grad(U) )", - fr = """Les choix possibles sont : -\begin{itemize} -\item 1: Diffusion de la forme div( $\nu$ grad($U$) ) ; -\item 2: Diffusion de la forme 1/$h$ div ( $h$ $\nu$ grad($U$) ). -\end{itemize}""", - ang = """Possible choices are: -\begin{itemize} -\item 1: Diffusion in the form div( $\nu$ grad($U$) ), -\item 2: Diffusion in the form 1/$h$ div ( $h$ $\nu$ grad($U$) ). -\end{itemize}""", - ), - ), - ), -# ----------------------------------- - AUTOMATIC_DIFFERENTIATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - AD_NUMBER_OF_DERIVATIVES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Definit le nombre de derivees utilisateurs, dans le cadre -de la differentiation algorithmique.""", - ang = """Defines the number of user derivatives, within the framework -of the algorithmic differentiation.""", - ), -# ----------------------------------- - AD_NAMES_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des differentiateurs utilisateurs en 32 caracteres, - 16 pour le nom, 16 pour l''unite.""", - ang = """Name of user differentiators in 32 characters, - 16 for the name, 16 for the unit.""", - ), -# ----------------------------------- - AD_SYMBOLIC_LINEAR_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet le solveur lineaire symbolique pour l AD.""", - ang = """Enables the symbolic linear solver for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_RESET_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Remet a zero les derivees pour l AD.""", - ang = """Resets the derivatives for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Solveur lineaire iteratif : test de convergence des derivees -pour l AD.""", - ang = """Iterative linear solvers: derivative convergence test for AD.""", - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom= "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DEBUGGER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Pour imprimer la sequence des appels, mettre 1.""", - ang = """If 1, calls of subroutines will be printed in the listing.""", - ), -# ----------------------------------- - TIME = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIME_STEP = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Definit le pas de temps en secondes. Remarque : Pour une bonne -precision; il est souhaitable de choisir le pas de temps de telle sorte -que le nombre de Courant de propagation soit inferieur a 2 ; voir 3. -Ceci peut etre realisable en hydraulique fluviale ; mais ne l''est -pratiquement jamais en hydraulique maritime ou l''on peut atteindre des -valeurs de 50.""", - ang = """Specifies the time step in seconds.""", - ), -# ----------------------------------- - NUMBER_OF_TIME_STEPS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """ Definit le nombre de pas de temps effectues lors de l''execution du -code.""", - ang = """ Specifies the number of time steps performed when running the code.""", - ), -# ----------------------------------- - DURATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Duree de la simulation. Alternative au parametre -\telkey{NOMBRE DE PAS DE TEMPS}. -On en deduit le nombre de pas de temps en prenant l''entier le -plus proche de (duree du calcul/pas de temps). -Si le \telkey{NOMBRE DE PAS DE TEMPS} est aussi donne, -on prend la plus grande valeur.""", - ang = """Sets the duration of simulation in seconds. -May be used instead of the parameter \telkey{NUMBER OF TIME STEPS}. -The nearest integer to (duration/time step) is taken. -If \telkey{NUMBER OF TIME STEPS} is also given, -the greater value is taken.""", - ), -# ----------------------------------- - ORIGINAL_DATE_OF_TIME = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [1900,1,1], - fr = """Permet de fixer la date d''origine des temps du modele lorsque -la maree est prise en compte (force generatrice de la maree et/ou les -conditions aux limites de maritimes). -Egalement utilise pour les flotteurs, -les echanges thermiques avec l atmosphere, le frazil, -le chainage avec DELWAQ.""", - ang = """Enables to set the date of the time origin of the model when -taking into account of the tide (tide generator force and/or the tidal -boundary conditions). -Also used with drogues, heat exchange with atmosphere, frazil, -chaining with DELWAQ.""", - ), -# ----------------------------------- - ORIGINAL_HOUR_OF_TIME = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer l''heure d''origine des temps du modele lorsque -la maree est prise en compte (force generatrice de la maree et/ou les -conditions aux limites de maritimes. -Egalement utilise pour les flotteurs, -les echanges thermiques avec l atmosphere, le frazil, -le chainage avec DELWAQ.""", - ang = """Enables to set the time of the time origin of the model when -taking into account of the tide (tide generator force and/or the tidal -boundary conditions). -Also used with drogues, heat exchange with atmosphere, frazil, -chaining with DELWAQ.""", - ), -# ----------------------------------- - STOP_IF_A_STEADY_STATE_IS_REACHED = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """A utiliser avec le mot-cle : \telkey{CRITERES D''ARRET}.""", - ang = """To be used with the keyword: \telkey{STOP CRITERIA}.""", - ), -# ----------------------------------- - b_STOP_IF_A_STEADY_STATE_IS_REACHEDG = BLOC(condition="STOP_IF_A_STEADY_STATE_IS_REACHED == True", -# ----------------------------------- -# ----------------------------------- - STOP_CRITERIA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 3, max= 3, - defaut = [1.E-4,1.E-4,1.E-4], - fr = """Criteres d''arret pour un ecoulement permanent. -Ces coefficients sont respectivement appliques a: -\begin{itemize} -\item $U$ et $V$ ; -\item $H$ ; -\item Tracers. -\end{itemize} -A utiliser avec le mot-cle -\telkey{ARRET SI UN ETAT PERMANENT EST ATTEINT}.""", - ang = """Stop criteria for a steady state. -These coefficients are applied respectively to: -\begin{itemize} -\item $U$ and $V$, -\item $H$, -\item Tracers. -\end{itemize} -To be used with the keyword -\telkey{STOP IF A STEADY STATE IS REACHED}.""", - ), - ), -# ----------------------------------- - CONTROL_OF_LIMITS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Utiliser avec le mot-cle : \telkey{VALEURS LIMITES}. -Le programme s''arrete si les limites sur -$U$, $V$, $H$ ou traceurs sont depassees.""", - ang = """Use with the key-word: \telkey{LIMIT VALUES}. -The program is stopped if -the limits on $U$, $V$, $H$ or tracers are trepassed.""", - ), -# ----------------------------------- - b_CONTROL_OF_LIMITSG = BLOC(condition="CONTROL_OF_LIMITS == True", -# ----------------------------------- -# ----------------------------------- - LIMIT_VALUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 8, max= 8, - defaut = [-1000.,9000.,-1000.,1000.,-1000.,1000.,-1000.,1000.], - fr = """Utilise avec le mot-cle \telkey{CONTROLE DES LIMITES}. -Valeurs minimales et maximales acceptables pour -$H$, $U$ ,$V$ et traceurs dans l''ordre suivant : -min(H) max(H) min(U) max(U) min(V) max(V) min(T) max(T).""", - ang = """To be used with the key-word \telkey{CONTROL OF LIMITS}. -Min and max acceptable values for -$H$, $U$, $V$ and tracers in the following order: -min(H) max(H) min(U) max(U) min(V) max(V) min(T) max(T).""", - ), - ), -# ----------------------------------- - VARIABLE_TIME_STEP = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pas de temps variable pour avoir un nombre de Courant souhaite.""", - ang = """Variable time-step to get a given Courant number.""", - ), -# ----------------------------------- - b_VARIABLE_TIME_STEPG = BLOC(condition="VARIABLE_TIME_STEP == True", -# ----------------------------------- -# ----------------------------------- - DESIRED_COURANT_NUMBER = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Nombre de Courant souhaite en cas de pas de temps variable.""", - ang = """Desired Courant number when \telkey{VARIABLE TIME-STEP} is set to YES.""", - ), - ), - ), -# ----------------------------------- - LOCATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SPHERICAL_COORDINATES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Choix des coordonnees spheriques pour la realisation du calcul -(pour les grands domaines de calcul). -Attention : cette option est etroitement liee au -maillage qui doit avoir -ete saisi sur une carte marine en projection de Mercator. -Il faut de plus relever sur la carte la -\telkey{LATITUDE DU POINT ORIGINE} -qui correspond dans le maillage a l''ordonnee $y$ = 0.""", - ang = """Selection of spherical coordinates to perform the computation -(for large computation domains). -Warning: this option is closely related to the mesh that should have -been entered onto a nautical chart drawn as per Mercator projection -The \telkey{LATITUDE OF ORIGIN POINT}, which corresponds to -ordinate $y$ = 0 in the mesh, must moreover be given.""", - ), -# ----------------------------------- - b_SPHERICAL_COORDINATESG = BLOC(condition="SPHERICAL_COORDINATES == True", -# ----------------------------------- -# ----------------------------------- - LATITUDE_OF_ORIGIN_POINT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 48., - fr = """Determine l''origine utilisee pour le calcul de latitudes -lorsque l''on effectue un calcul en coordonnees spheriques. -Egalement utilise pour les echanges thermiques avec l atmosphere, -le modele d Okada pour les tsunamis, le frazil.""", - ang = """Determines the origin used for computing latitudes when -a computation is made in spherical coordinates. -This latitude is in particular used to compute the Coriolis force. -In cartesian coordinates, Coriolis coefficient is considered constant. -Also used for heat exchange with atmosphere, Okada model for tsunamis, -frazil.""", - ), - ), -# ----------------------------------- - LONGITUDE_OF_ORIGIN_POINT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la valeur de la longitude du point origine du modele, -lors de l''utilisation de la force generatrice de la maree. -Pour la projection de Mercator, voir le mot cle -\telkey{SYSTEME GEOGRAPHIQUE}. -Egalement utilise pour la force generatrice de la maree, -les echanges thermiques avec l atmosphere, -le modele d Okada pour les tsunamis.""", - ang = """Give the value of the longitude of the origin point -of the model, when taking into account of the tide generator force. -For the Mercator projection, see the keyword -\telkey{GEOGRAPHIC SYSTEM}. -Also used for tide generating force, heat exchange with atmosphere, -Okada model for tsunamis.""", - ), -# ----------------------------------- - NORTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Angle que fait le nord en degres, par rapport a l''axe des $y$ -dans le sens trigonometrique. Notation decimale 10.5 signifie 10 degres -et 30 minutes. -Lu mais non utilise.""", - ang = """Angle of the North with the $y$ axis, counted counter-clockwise, -in degrees. 10.5 means 10 degrees and 30 minutes. Read but not used.""", - ), -# ----------------------------------- - SPATIAL_PROJECTION_TYPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["CARTESIAN, NOT GEOREFERENCED","MERCATOR","LATITUDE LONGITUDE"], - defaut = "CARTESIAN, NOT GEOREFERENCED", - fr = """Permet de specifier le type de projection spatiale utilisee dans -le cas de l''utilisation des coordonnees spheriques par exemple. -Les choix possibles sont : -\begin{itemize} -\item 1 : Lambert Cartesien non georeference ; -\item 2 : Mercator ; -\item 3 : Latitude/longitude (exprimees en degres). -\end{itemize} -Option 2 ou 3 obligatoire pour les coordonnees spheriques. -Option 3 : latitude et longitude en degres ! -Dans le cas de l''option 3, \telemac{2d} convertit les informations -latitude/longitude a l''aide de la projection de Mercator.""", - ang = """Specifies the type of spatial projection used -(for example when using spherical coordinates). -Possible choices are: -\begin{itemize} -\item 1: Cartesian, not georeferenced, -\item 2: Mercator, -\item 3: latitude/longitude (in degrees). -\end{itemize} -Option 2 or 3 mandatory for spherical coordinates. Option 3: latitude -and longitude in degrees! When using option 3, the coordinates are -automatically -treated by \telemac{2d} using Mercator projection.""", - ), - ), -) -# ----------------------------------------------------------------------- -TURBULENCE = PROC(nom= "TURBULENCE",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - VELOCITY_DIFFUSIVITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Fixe de facon uniforme pour l''ensemble du domaine, -la valeur du coefficient de diffusion de viscosite globale (dynamique + -turbulente). Cette valeur peut avoir une influence non negligeable sur -la forme et la taille des recirculations.""", - ang = """Sets, in an even way for the whole domain, the value of the -coefficient of global (dynamic+turbulent) viscosity. This value may -have a significant effect both on the shapes and sizes of -recirculation zones.""", - ), -# ----------------------------------- - TURBULENCE_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["CONSTANT VISCOSITY","ELDER","K-EPSILON MODEL","SMAGORINSKI","MIXING LENGTH","SPALART-ALLMARAS"], - defaut = "CONSTANT VISCOSITY", - fr = """6 choix sont possibles actuellement : -\begin{itemize} -\item 1 : viscosite constante ; -\item 2 : modele de Elder ; -\item 3 : modele $k$-$\epsilon$ ; -\item 4 : modele de Smagorinski ; -\item 5 : modele de longueur de melange ; -\item 6 : modele de Spalart-Allmaras. -\end{itemize} -Attention : si on choisit l''option 1 -il ne faut pas oublier d''ajuster la valeur du mot-cle -\telkey{COEFFICIENT DE DIFFUSION DES VITESSES}. -Si on choisit l''option 2, -il ne faut pas oublier d''ajuster les deux valeurs du mot-cle : -\telkey{COEFFICIENTS ADIMENSIONNELS DE DISPERSION}. -Si on choisit l''option 3, -ce meme parametre doit retrouver sa vraie valeur physique car elle est -utilisee comme telle dans le modele de turbulence.""", - ang = """The current alternatives are as follows: -\begin{itemize} -\item 1: constant viscosity, -\item 2: elder''s model, -\item 3: $k$-$\epsilon$ model, -\item 4: Smagorinski model, -\item 5: mixing length model, -\item 6: Spalart-Allmaras model. -\end{itemize} -NOTE: when option 1 is chosen, it should be kept in mind that the -value of the keyword \telkey{VELOCITY DIFFUSIVITY} has to be ajusted. -When option 2 is chosen, the two values of keyword -\telkey{NON-DIMENSIONAL DISPERSION COEFFICIENTS} are used. -When option 3 is chosen, this parameter should recover its true -physical value, since it is used as such in the turbulence model.""", - ), -# ----------------------------------- - b_TURBULENCE_MODELG = BLOC(condition="TURBULENCE_MODEL == 'CONSTANT VISCOSITY'", -# ----------------------------------- - ), -# ----------------------------------- - b_TURBULENCE_MODELH = BLOC(condition="TURBULENCE_MODEL == 'Elder'", -# ----------------------------------- -# ----------------------------------- - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [6.,0.6], - fr = """Coefficients longitudinal et transversal dans la formule de Elder. -Utilises uniquement avec \telkey{MODELE DE TURBULENCE} = 2.""", - ang = """Longitudinal and transversal coefficients in Elder s formula. -Used only with \telkey{TURBULENCE MODEL} = 2.""", - ), - ), -# ----------------------------------- - ACCURACY_OF_SPALART_ALLMARAS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-9, - fr = """Fixe la precision demandee sur le modele de Spalart-Allmaras pour -le test d''arret dans l''etape de diffusion et termes sources de -$\tilde{\nu}$.""", - ang = """Sets the required accuracy for the Spalart-Allmaras model in -the diffusion and source terms step of the $\tilde{\nu}$.""", - ), -# ----------------------------------- - INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Si oui, les informations du solveur du modele de Spalart-Allmaras -sont imprimees.""", - ang = """If yes, informations about solver of Spalart-Allmaras model -are printed to the listing.""", - ), -# ----------------------------------- - ADVANCED = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["smooth","rough"], - defaut = "rough", - fr = """ Permet de choisir le regime de turbulence aux parois. -Les choix possibles sont : -\begin{itemize} -\item 1 : regime turbulent lisse ; -\item 2 : regime turbulent rugueux. -\end{itemize}""", - ang = """ Provided for selecting the type of friction on the walls. -Possible choices are: -\begin{itemize} -\item 1: smooth, -\item 2: rough. -\end{itemize}""", - ), -# ----------------------------------- - INFORMATION_ABOUT_K_EPSILON_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Donne le nombre d''iterations du solveur de l''etape de -diffusion et termes sources du modele $k-\epsilon$.""", - ang = """Gives the number of iterations of the solver in the diffusion -and source terms step of the $k-\epsilon$ model.""", - ), -# ----------------------------------- - ADVECTION_OF_K_AND_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non de la convection de $k$ et $\epsilon$ -(pour modele $k-\epsilon$) ou $\tilde{\nu}$ -(pour modele de Spalart-Allmaras).""", - ang = """The $k$ and $\epsilon$ advection is taken into account or ignored -(for $k-\epsilon$ model) or $\tilde{\nu}$ advection -(for Spalart-Allmaras model).""", - ), -# ----------------------------------- - b_ADVECTION_OF_K_AND_EPSILONG = BLOC(condition="ADVECTION_OF_K_AND_EPSILON == True", -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_K_EPSILON = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["NO ADVECTION","CHARACTERISTICS","EXPLICIT + SUPG","EXPLICIT LEO POSTMA","EXPLICIT + MURD SCHEME N","EXPLICIT + MURD SCHEME PSI","LEO POSTMA FOR TIDAL FLATS","N-SCHEME FOR TIDAL FLATS","ERIA SCHEME FOR TIDAL FLATS"], - defaut = "CHARACTERISTICS", - fr = """Choix du schema de convection pour $k$ et $\epsilon$ (pour modele -$k-\epsilon$) ou $\tilde{\nu}$ (pour modele de Spalart-Allmaras), -remplace \telkey{FORME DE LA CONVECTION}.""", - ang = """Choice of the advection scheme for $k$ and $\epsilon$ (for -$k-\epsilon$ model) or $\tilde{\nu}$ (for Spalart-Allmaras model), -replaces \telkey{TYPE OF ADVECTION}.""", - ), - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Si present remplace et a priorite sur : -\telkey{OPTION POUR LES CARACTERISTIQUES} -\telkey{OPTION DE SUPG}. -Si caracteristiques : -\begin{itemize} -\item 1 = forme forte, -\item 2 = forme faible. -\end{itemize} -Si schema PSI ou N : -\begin{itemize} -\item 1 = explicite ; -\item 2 = predicteur-correcteur ; -\item 3 = predicteur-correcteur 2e ordre en temps ; -\item 4 = implicite. -\end{itemize} -Mot-cle commun pour les variables $k$, $\epsilon$ -(pour modele $k-\epsilon$) -et $\tilde{\nu}$ (pour modele de Spalart-Allmaras).""", - ang = """If present replaces and has priority over: -\telkey{OPTION FOR CHARACTERISTICS} -\telkey{SUPG OPTION}. -If characteristics: -\begin{itemize} -\item 1 = strong form, -\item 2 = weak form. -\end{itemize} -If N or PSI scheme: -\begin{itemize} -\item 1 = explicit, -\item 2 = predictor-corrector, -\item 3 = predictor-corrector second-order in time, -\item 4 = implicit. -\end{itemize} -Common keyword for variables $k$, $\epsilon$ (for $k-\epsilon$ model) -and $\tilde{\nu}$ (for Spalart-Allmaras model).""", - ), -# ----------------------------------- - MIXING_LENGTH_MODEL_COEFFICIENTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.1066667,0.0666667], - fr = """Coefficients de calage $C_l$ et $\alpha_t$ dans la formule de longueur -de melange. -Utilises uniquement avec \telkey{MODELE DE TURBULENCE} = 5.""", - ang = """Calibration coefficients $C_l$ and $\alpha_t$ in mixing length formula. -Only used with \telkey{TURBULENCE MODEL} = 5.""", - ), - ), -# ----------------------------------- - SOLVER_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_K_EPSILON_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on normal equation","minimum error","squared conjugate gradient","conjugate gradient squared stabilised (cgstab)","gmres (see option for the solver for k-epsilon model)","direct"], - defaut = "conjugate gradient", - fr = """Permet de choisir le solveur utilise pour la resolution -du systeme de diffusion de $k$, $\epsilon$ (pour modele $k-\epsilon$) -ou $\tilde{\nu}$ (pour modele de Spalart-Allmaras). -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue, -\item 2 : residu conjugue, -\item 3 : gradient conjugue sur equation normale, -\item 4 : erreur minimale, -\item 5 : gradient conjugue carre (non programme), -\item 6 : gradient conjugue carre stabilise (cgstab), -\item 7 : GMRES (voir aussi \telkey{OPTION DU SOLVEUR} -pour le modele $k$-$\epsilon$), -\item 8 : direct. -\end{itemize}""", - ang = """Makes it possible to select the solver used for solving -the system of the diffusion of $k$, $\epsilon$ (for $k-\epsilon$ model) -or $\tilde{\nu}$ (for Spalart-Allmaras model). -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient (not implemented), -\item 6: conjugate gradient squared stabilised (cgstab), -\item 7: GMRES (see \telkey{OPTION FOR THE SOLVER FOR K-EPSILON MODEL}), -\item 8: direct. -\end{itemize}""", - ), -# ----------------------------------- - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Si le solveur est GMRES (7), le mot cle est la dimension de -l''espace de Krylov (valeurs conseillees entre 2 et 15). -Mot-cle commun pour les variables $k$, $\epsilon$ -(pour modele $k-\epsilon$) -et $\tilde{\nu}$ (pour modele de Spalart-Allmaras).""", - ang = """When GMRES (7) is chosen for solver, dimension of the Krylov space. -Try values between 2 and 15. -Common keyword for variables $k$, $\epsilon$ (for $k-\epsilon$ model) -and $\tilde{\nu}$ (for Spalart-Allmaras model).""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_K_EPSILON_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["diagonal","no preconditioning","Crout","diagonal and Crout"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme relatif a la diffusion de -$k$, $\epsilon$ (pour modele $k-\epsilon$) ou $\tilde{\nu}$ -(pour modele de Spalart-Allmaras) -afin d''accelerer la convergence lors de sa resolution. -\begin{itemize} -\item 0 : pas de preconditionnement ; -\item 2 : preconditionnement diagonal ; -\item 7 : preconditionnement de Crout par element ou segment -(ne marche pas en parallele). -\end{itemize} -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres) -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Choice of the preconditioning of the linear system in the diffusion -step of $k$, $\epsilon$ (for $k-\epsilon$ model) or $\tilde{\nu}$ -(for Spalart-Allmaras model) so that the convergence is speeded up -when it is being solved. -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal preconditioning, -\item 7: Crout''s preconditioning per element or segment -(does not work in parallel). -\end{itemize} -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be made.""", - ), - ), -# ----------------------------------- - ACCURACY = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ACCURACY_OF_K = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-9, - fr = """Fixe la precision demandee sur $k$ pour le test d''arret dans -l''etape de diffusion et termes sources de l equation sur $k$.""", - ang = """Sets the required accuracy for computing $k$ in the diffusion -and source terms step of the $k$ transport equation.""", - ), -# ----------------------------------- - ACCURACY_OF_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-9, - fr = """Fixe la precision demandee sur $\epsilon$ pour le test d''arret dans -l''etape de diffusion et termes sources de l equation sur $\epsilon$.""", - ang = """Sets the required accuracy for computing $\epsilon$ in the diffusion -and source terms step of the $\epsilon$ transport equation.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 50, - fr = """Fixe le nombre maximum d''iterations accepte lors de la resolution -du systeme diffusion-termes sources de $k$, $\epsilon$ (pour modele -$k-\epsilon$) ou $\tilde{\nu}$ (pour modele de Spalart-Allmaras).""", - ang = """Sets the maximum number of iterations that are acceptable when -solving the diffusion source-terms step of $k$, $\epsilon$ (for -$k-\epsilon$ model) or $\tilde{\nu}$ (for Spalart-Allmaras model).""", - ), - ), -) -# ----------------------------------------------------------------------- -TIDAL_FLATS_INFO = PROC(nom= "TIDAL_FLATS_INFO",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Permet de supprimer les tests sur les bancs decouvrants, dans -les cas ou l''on est certain qu''il n''y en aura pas. -En cas de doute, utiliser OUI.""", - ang = """When NO, the specific treatments for tidal flats are by-passed. -This spares time, but of course you must be sure that you have no -tidal flats.""", - ), -# ----------------------------------- - b_TIDAL_FLATSG = BLOC(condition="TIDAL_FLATS == True", -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS","DRY ELEMENTS FROZEN","LIKE 1 BUT WITH POROSITY (DEFINA METHOD)"], - defaut = "EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS", - fr = """Utilise si \telkey{BANCS DECOUVRANTS} est OUI. -Les choix possibles sont : -\begin{itemize} -\item 1 : equations resolues partout avec correction -sur les bancs decouvrants (correction du gradient de surface libre) ; -\item 2 : gel des elements decouvrants (zones de bancs decouvrants -sont masquees). -Attention : la conservation de la masse peut etre alteree ; -\item 3 : comme 1 mais avec porosite (methode defina). -\end{itemize}""", - ang = """Used if \telkey{TIDAL FLATS} is YES. -Possible choices are: -\begin{itemize} -\item 1: equations solved everywhere with correction on tidal flats -(corrected free surface gradient), -\item 2: dry elements are frozen (tidal flats area are masked). -Warning: mass-conservation may be altered, -\item 3: like 1 but with porosity (defina method). -\end{itemize}""", - ), -# ----------------------------------- - b_OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATSG = BLOC(condition="OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS == 'EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS'", -# ----------------------------------- -# ----------------------------------- - TREATMENT_OF_NEGATIVE_DEPTHS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO TREATMENT","SMOOTHING","FLUX CONTROL","FLUX CONTROL (ERIA)"], - defaut = "SMOOTHING", - fr = """Seulement avec -\telkey{OPTION DE TRAITEMENT DES BANCS DECOUVRANTS} = 1. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de traitement ; -\item 1 : lissage ; -\item 2 : limitation des flux, approche par segment ; -\item 3 : limitation des flux, approche par triangle. -\end{itemize} -Si les options 2 ou 3 avec bancs decouvrants sont utilisees, -il est obligatoire d avoir \telkey{MASS-LUMPING SUR H} = 1. -+ \telkey{CORRECTION DE CONTINUITE} = OUI -+ \telkey{OPTION DE SUPG} pour hauteur d eau = 0 -(pas de decentrement SUPG sur la hauteur d eau).""", - ang = """Only with -\telkey{OPTION FOR THE TREATMENT OF TIDAL FLATS} = 1. -Possible choices are: -\begin{itemize} -\item 0: no treatment, -\item 1: smoothing, -\item 2: flux control, by segment, -\item 3: flux control, by element. -\end{itemize} -If using options 2 or 3 with tidal flats, it is mandatory to set -\telkey{MASS-LUMPING ON H} = 1. + \telkey{CONTINUITY CORRECTION} = YES + -\telkey{SUPG OPTION} for water depth = 0 (no SUPG upwinding on depth).""", - ), - ), -# ----------------------------------- - THRESHOLD_FOR_NEGATIVE_DEPTHS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """En dessous du seuil, les hauteurs negatives sont lissees. -Seulement utilise avec -\telkey{TRAITEMENT DES HAUTEURS NEGATIVES} = 1.""", - ang = """Below the threshold the negative depths are smoothed. -Only used with \telkey{TREATMENT OF NEGATIVE DEPTHS} = 1.""", - ), -# ----------------------------------- - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Si > 0., declenche la procedure de ressuyage qui evite le -franchissement parasite des digues mal discretisees.""", - ang = """If > 0., will trigger the receeding procedure that avoids overwhelming -of dykes which are too loosely discretised.""", - ), -# ----------------------------------- - H_CLIPPING = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si l''on desire ou non limiter par valeur inferieure -la hauteur d''eau $H$ (dans le cas des bancs decouvrants par exemple).""", - ang = """Determines whether limiting the water depth $H$ by a lower value -desirable or not (for instance in the case of tidal flats). -This keyword may have an influence on mass conservation since -the truncation of depth is equivalent to adding mass.""", - ), -# ----------------------------------- - b_H_CLIPPINGG = BLOC(condition="H_CLIPPING == True", -# ----------------------------------- -# ----------------------------------- - MINIMUM_VALUE_OF_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la valeur minimale de $H$ lorsque l''option \telkey{CLIPPING DE H} -est activee.""", - ang = """Sets the minimum water depth $H$ value when option \telkey{H CLIPPING} -is implemented. Not fully implemented.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -TRACERS = PROC(nom= "TRACERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - BOUNDARY_CONDITIONS_FOR_TRACERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - PRESCRIBED_TRACERS_VALUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', max='**', - fr = """Valeurs du traceur imposees aux frontieres liquides entrantes. -Lire la partie du mode d''emploi consacree aux conditions aux limites.""", - ang = """Tracer values prescribed at the inflow boundaries. -Read the user manual section dealing with the boundary conditions.""", - ), - ), -# ----------------------------------- - SETTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Definit le nombre de traceurs.""", - ang = """Defines the number of tracers""", - ), -# ----------------------------------- - NAMES_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - fr = """Noms des traceurs en 32 caracteres, 16 pour le nom 16 pour l''unite.""", - ang = """Name of tracers in 32 characters, 16 for the name, 16 for the unit.""", - ), -# ----------------------------------- - INITIAL_VALUES_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.,0.], - fr = """Fixe la valeur initiale du/des traceur(s). -Les valeurs requises sont separees par un point virgule ; si plus d une. -Le nombre de valeurs fournies doit etre egal au nombre de traceurs -declares.""", - ang = """Sets the initial value of the tracer(s). -Required value(s) separated with a semicolumn ; if more than one. -The number of supplied values must be equal to the number of declared -tracers.""", - ), -# ----------------------------------- - DENSITY_EFFECTS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte du gradient horizontal de densite. -Le premier traceur est alors la salinite. -$\rho_{\rm{eau}} = 999.972.(1-7.10^{-6}(T_{\rm{moy}}-4)^2)$.""", - ang = """The horizontal gradient of density is taken into account. -The 1st tracer is then the salinity. -$\rho_{\rm{water}} = 999.972.(1-7.10^{-6}(T_{\rm{mean}}-4)^2)$.""", - ), -# ----------------------------------- - b_DENSITY_EFFECTSG = BLOC(condition="DENSITY_EFFECTS == True", -# ----------------------------------- -# ----------------------------------- - MEAN_TEMPERATURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 20., - fr = """Temperature de reference pour le calcul des effets de densite. -A utiliser avec le mot-cle \telkey{EFFETS DE DENSITE}.""", - ang = """Reference temperature for density effects. -To be used with the keyword \telkey{DENSITY EFFECTS}.""", - ), - ), -# ----------------------------------- - b_DENSITY_EFFECTSH = BLOC(condition="DENSITY_EFFECTS == True", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "The first tracer must be the salinity in kg/m3"), - ), - ), -# ----------------------------------- - SOLVER_TRA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres (see solver option for tracers diffusion)","direct"], - defaut = ["conjugate gradient","conjugate gradient"], - fr = """Permet de choisir le solveur utilise pour la resolution -du systeme de diffusion de traceur(s) : -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue, -\item 2 : residu conjugue, -\item 3 : gradient conjugue sur equation normale, -\item 4 : erreur minimale, -\item 5 : gradient conjugue carre (non programme), -\item 6 : gradient conjugue carre stabilise (cgstab), -\item 7 : GMRES (voir aussi -\telkey{OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS}), -\item 8 : direct. -\end{itemize}""", - ang = """Makes it possible to select the solver used for solving -the system of tracer(s) diffusion. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient (not implemented), -\item 6: cgstab, -\item 7: GMRES (see \telkey{SOLVER OPTION FOR TRACERS DIFFUSION}, -\item 8: direct. -\end{itemize}""", - ), -# ----------------------------------- - SOLVER_OPTION_FOR_TRACERS_DIFFUSION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min=0, max='**', - defaut = [2], - fr = """Si le solveur est GMRES (7), le mot cle est la dimension de -l''espace de Krylov (valeurs conseillees entre 2 et 15).""", - ang = """When GMRES (7) is chosen for solver, dimension of the Krylov space. -Try values between 2 and 15.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["no preconditioning","diagonal","Crout","diagonal and Crout"], - defaut = ["diagonal"], - fr = """Permet de preconditionner le systeme relatif au traceur. -afin d''accelerer la convergence lors de sa resolution. -\begin{itemize} -\item 0 : pas de preconditionnement ; -\item 2 : preconditionnement diagonal ; -\item 7 : preconditionnement de Crout par element ou segment -(ne marche pas en parallele). -\end{itemize} -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres) -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Choice of the preconditioning of the linear system of the tracer -diffusion so that the convergence is speeded up when it is being solved. -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal preconditioning, -\item 7: Crout''s preconditioning per element or segment -(does not work in parallel). -\end{itemize} -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be made.""", - ), - ), -# ----------------------------------- - ACCURACY_TRA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ACCURACY_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Fixe la precision demandee pour le calcul de la diffusion -du traceur.""", - ang = """Sets the required accuracy for computing the tracer -diffusion.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 60, - fr = """Limite le nombre d''iterations du solveur a chaque pas de temps pour -le calcul de la diffusion du ou des traceur(s).""", - ang = """Limits the number of solver iterations at each time step for -the diffusion of tracer(s).""", - ), - ), -# ----------------------------------- - SOURCES_TRA = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - VALUES_OF_THE_TRACERS_AT_THE_SOURCES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des traceurs a chacune des sources. -toutes les sources pour le premier traceur -puis toutes les sources du deuxieme traceur, etc. -(cf. manuel utilisateur). -Par exemple, s''il y a 3 traceurs (T1, T2 et T3) et 2 sources -(S1 et S2), la syntaxe suivante est utilisee :\\ -S1\_T1;S1\_T2;S1\_T3;S2\_T1;S2\_T2;S2\_T3\\ -10.0; 10.0; 0.0; 0.0; 10.0; 10.0""", - ang = """Values of the tracers at the sources. -All sources for the first tracer, then -all sources for the second tracer, etc. -(see user manual). -For example, if there are 3 tracers (T1, T2 and T3) -and 2 sources (S1 and S2), the following syntax is used:\\ -S1\_T1;S1\_T2;S1\_T3;S2\_T1;S2\_T2;S2\_T3\\ -10.0; 10.0; 0.0; 0.0; 10.0; 10.0""", - ), - ), -# ----------------------------------- - METEOROLOGY_TRA = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - VALUES_OF_TRACERS_IN_THE_RAIN = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Generalement, ce traceur est la temperature, dans ce cas -cette valeur est a modifier, sinon la valeur 0 est raisonnable.""", - ang = """Most often, this tracer is temperature, in this case -this value should be modified, otherwise, default value of 0 seems -reasonable.""", - ), - ), -# ----------------------------------- - NUMERICAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ADVECTION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non de la convection du traceur passif.""", - ang = """The advection of the passive tracer is taken into account -or ignored.""", - ), -# ----------------------------------- - b_ADVECTION_OF_TRACERSG = BLOC(condition="ADVECTION_OF_TRACERS == True", -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["NO ADVECTION","CHARACTERISTICS","EXPLICIT + SUPG","EXPLICIT LEO POSTMA","EXPLICIT + MURD SCHEME N","EXPLICIT + MURD SCHEME PSI","LEO POSTMA FOR TIDAL FLATS","N-SCHEME FOR TIDAL FLATS","ERIA SCHEME FOR TIDAL FLATS"], - defaut = ["CHARACTERISTICS"], - fr = """Choix du schema de convection pour les traceurs, -remplace \telkey{FORME DE LA CONVECTION}.""", - ang = """Choice of the advection scheme for the tracers, -replaces \telkey{TYPE OF ADVECTION}.""", - ), - ), -# ----------------------------------- - IMPLICITATION_COEFFICIENT_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.6, - fr = """Fixe la valeur du coefficient d''implicitation du traceur. -Si un schema de convection pour les traceurs est un schema distributif -(par ex : 3, 4, 5, 13, 14 ou 15), -\telkey{COEFFICIENT D''IMPLICITATION DES TRACEURS} est impose a 0. -(explicite).""", - ang = """Sets the value of the implicitation coefficient -for the tracer. -If an advection scheme for tracers is a distributive scheme -(e.g.: 3, 4, 5, 13, 14 or 15), -\telkey{IMPLICITATION COEFFICIENT OF TRACERS} is prescribed at 0. -(explicit).""", - ), -# ----------------------------------- - DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non de la diffusion du traceur passif.""", - ang = """The diffusion of the passive tracer is taken into account -or ignored.""", - ), -# ----------------------------------- - b_DIFFUSION_OF_TRACERSG = BLOC(condition="DIFFUSION_OF_TRACERS == True", -# ----------------------------------- -# ----------------------------------- - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [1.E-6], - fr = """Fixe la valeur du coefficient de diffusion du traceur. -L''influence de ce parametre sur l''evolution des traceurs dans -le temps est importante. -C est un tableau depuis la version 8.2, avec une valeur par traceur, -separation par un point virgule.""", - ang = """Sets the value of the tracer diffusivity. -These values may have a significant effect on the evolution of -tracers in time. -Since release 8.2, it has been an array, with one value per tracer, -separated by semicolons.""", - ), - ), -# ----------------------------------- - OPTION_FOR_THE_DIFFUSION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["div( nu grad(T) )","1/h div ( h nu grad(T)"], - defaut = ["div( nu grad(T) )"], - fr = """Choix possibles : -\begin{itemize} -\item 1: Diffusion de la forme div( nu grad(T) ), -\item 2: Diffusion de la forme 1/h div ( h nu grad(T) ). -\end{itemize}""", - ang = """Possible choices: -\begin{itemize} -\item 1: Diffusion in the form div( nu grad(T) ), -\item 2: Diffusion in the form 1/h div ( h nu grad(T) ). -\end{itemize}""", - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min=0, max='**', - defaut = [1], - fr = """Si present remplace et a priorite sur : -\telkey{OPTION POUR LES CARACTERISTIQUES} -\telkey{OPTION DE SUPG}. -Si caracteristiques : -\begin{itemize} -\item 1 = forme forte, -\item 2 = forme faible. -\end{itemize} -Si schema PSI ou N : -\begin{itemize} -\item 1 = explicite ; -\item 2 = predicteur-correcteur ; -\item 3 = predicteur-correcteur 2e ordre en temps ; -\item 4 = implicite. -\end{itemize}""", - ang = """If present replaces and has priority over: -\telkey{OPTION FOR CHARACTERISTICS} -\telkey{SUPG OPTION}. -If characteristics: -\begin{itemize} -\item 1 = strong form, -\item 2 = weak form. -\end{itemize} -If N or PSI scheme: -\begin{itemize} -\item 1 = explicit, -\item 2 = predictor-corrector, -\item 3 = predictor-corrector second-order in time, -\item 4 = implicit. -\end{itemize}""", - ), -# ----------------------------------- - MASS_LUMPING_ON_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe le taux de mass-lumping effectue sur le traceur. -Lu mais remplace par la valeur de \telkey{MASS-LUMPING SUR H} -pour assurer la conservation de la masse de traceur.""", - ang = """Sets the amount of mass-lumping that is performed on -the tracer. -Read but replaced by the value of \telkey{MASS-LUMPING ON H} -to ensure tracer mass conservation.""", - ), - ), -) -# ----------------------------------------------------------------------- -PARTICLE_TRANSPORT = PROC(nom= "PARTICLE_TRANSPORT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DROGUES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_DROGUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Permet d''effectuer un suivi de flotteurs.""", - ang = """Maximum number of drogues in the computation.""", - ), -# ----------------------------------- - b_MAXIMUM_NUMBER_OF_DROGUESG = BLOC(condition="MAXIMUM_NUMBER_OF_DROGUES != 0", -# ----------------------------------- -# ----------------------------------- - ASCII_DROGUES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats ASCII avec les positions des flotteurs.""", - ang = """ASCII results file with positions of drogues.""", - ), -# ----------------------------------- - PRINTOUT_PERIOD_FOR_DROGUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Nombre de pas de temps entre 2 sorties de positions de -flotteurs dans le fichier des resultats supplementaire. -N affecte pas la qualite du calcul de la trajectoire.""", - ang = """Number of time steps between 2 outputs of drogues -positions in the output file.""", - ), - ), -# ----------------------------------- - INITIAL_DROGUES_SAMPLING_DENSITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [1000,1000], - fr = """Densite initiale utilisee a la repartition des flotteurs -au debut (ou en cours) de la simulation.""", - ang = """Initial density of drogues, or number of drogues per m2, -used to spatially place the initial drogues in a simulation.""", - ), -# ----------------------------------- - BINARY_DROGUES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats binaire avec les positions des flotteurs.""", - ang = """Binary results file with positions of drogues.""", - ), -# ----------------------------------- - DROGUES_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BKBINPCL','TECPLOT'], - defaut = 'TECPLOT', - fr = """Format du \telkey{FICHIER BINAIRE DES FLOTTEURS}. -Les valeurs possibles sont : -\begin{itemize} -\item BKBINPCL: format PCL binaire natif de BlueKenue; -\item TECPLOT: format Tecplot original (ASCII). -\end{itemize}""", - ang = """Format of the \telkey{BINARY DROGUES FILE}. -Possible choices are: -\begin{itemize} -\item BKBINPCL: format binary PCL native to BlueKenue, -\item TECPLOT: format Tecplot original (ASCII). -\end{itemize}""", - ), -# ----------------------------------- - PREVIOUS_DROGUES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul -precedent avec flotteurs.""", - ang = """Name of a file containing the results of an earlier -computation with drogues.""", - ), -# ----------------------------------- - PREVIOUS_DROGUES_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BKBINPCL','BKASCPCL'], - defaut = 'BKBINPCL', - fr = """Format du \telkey{FICHIER DES FLOTTEURS PRECEDENT}. -Les valeurs possibles sont : -\begin{itemize} -\item BKBINPCL: format PCL binaire natif de BlueKenue; -\item BKASCPCL: format PCL ASCII natif de BlueKenue. -\end{itemize}""", - ang = """Format of the \telkey{PREVIOUS DROGUES FILE}. -Possible choices are: -\begin{itemize} -\item BKBINPCL: format binary PCL native of BlueKenue, -\item BKASCPCL: format SCII PCL native of BlueKenue. -\end{itemize}""", - ), -# ----------------------------------- - DROGUES_INITIAL_POSITIONING_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees en ASCII contenant les coordonnees des polygones -ou des points qui vont permettre un positionnement des particles -au depart de la simulation.""", - ang = """ASCII data file containing polygons or points defining the - initial positioning of drogues at the start of the simulation.""", - ), -# ----------------------------------- - FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BKASCI2S'], - defaut = 'BKASCI2S', - fr = """Format du - \telkey{FICHIER POSITIONNANT LES DROGUES INITIALES}. -La seule valeur possible est : -\begin{itemize} -\item BKASCI2S: format I2S ASCII natif de BlueKenue. -\end{itemize}""", - ang = """Format of the - \telkey{DROGUES INITIAL POSITIONING DATA FILE}. -Single possible choice is: -\begin{itemize} -\item BKASCI2S: format AXCII I2S native of BlueKenue. -\end{itemize}""", - ), - ), -# ----------------------------------- - ALGAE = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - ALGAE_TRANSPORT_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI, une partie ou tous les flotteurs seront des algues.""", - ang = """If YES, some or all the floats or particles will be algae.""", - ), -# ----------------------------------- - b_ALGAE_TRANSPORT_MODELG = BLOC(condition="ALGAE_TRANSPORT_MODEL == True", -# ----------------------------------- -# ----------------------------------- - ALGAE_TYPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["SPHERE","IRIDAEA FLACCIDA (CLOSE TO ULVA)","PELVETIOPSIS LIMITATA","GIGARTINA LEPTORHYNCHOS"], - defaut = ["SPHERE","SPHERE"], - fr = """Type des algues. -Les choix possibles sont : -\begin{itemize} -\item 1 : Sphere ; -\item 2 : Iridaeca Flaccida ; -\item 3 : Pelvetiopsis Limitata ; -\item 4 : Gigartina Leptorhynchos. -\end{itemize} -Pour le choix 1 les algues seront -modelisees comme des spheres, pour les autres choix voir Gaylord -et al. (1994).""", - ang = """Algae type. -Possible choices are: -\begin{itemize} -\item 1: Sphere, -\item 2: Iridaeca Flaccida, -\item 3: Pelvetiopsis Limitata, -\item 4: Gigartina Leptorhynchos. -\end{itemize} -For choice 1 the algae particles will be -modeled as spheres, and for the other choices see Gaylord et -al. (1994).""", - ), -# ----------------------------------- - DIAMETER_OF_ALGAE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.1,0.1], - fr = """Diametre des algues en m.""", - ang = """Diameter of algae in m.""", - ), -# ----------------------------------- - DENSITY_OF_ALGAE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [1050.,1050.], - fr = """Masse volumique des algues en kg/m$^3$.""", - ang = """Density of algae in kg/m$^3$.""", - ), -# ----------------------------------- - THICKNESS_OF_ALGAE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.01,0.01], - fr = """Epaisseur des algues en m.""", - ang = """Thickness of algae in m.""", - ), - ), -# ----------------------------------- - NUMBER_OF_ALGAE_CLASSES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de classes d''algues. Chaque classe sera associee - a une propriete particuliere.""", - ang = """Number of algae classes. Each class will be associated - with a particular property.""", - ), -# ----------------------------------- - DURATION_BEFORE_ALGAE_RELEASE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.0,0.0], - fr = """Duree en secondes avant le relachemet des algues depuis le -depart de la simulation.""", - ang = """Duration in seconds before the release of the algae from -the start of the simulation.""", - ), -# ----------------------------------- - ALGAE_RELEASE_TYPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["TIMED","DISLODGEMENT"], - defaut = ["TIMED","TIMED"], - fr = """Les valeurs possibles sont: -\begin{itemize} -\item 1 : PERIODE : Les algues bougent apres une certaine periode de -temps, -\item 2 : DEPLACEMENT : Les algues bougent lorsque la vitesse orbitale -de vague critique depasse un certain seuil. -\end{itemize}""", - ang = """Possible values are: -\begin{itemize} -\item 1: TIMED : Algae move after a specified time has elapsed, -\item 2: DISLODGEMENT: Algae move after a critical wave orbital velocity -is exceeded. -\end{itemize}""", - ), -# ----------------------------------- - WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [2.,2.], - fr = """Vitesse orbitale de vague 1 pour le deplacement des algues en m/s.""", - ang = """Wave orbital velocity 1 for algae dislodgement in m/s.""", - ), -# ----------------------------------- - WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.,0.], - fr = """Vitesse orbitale de vague 2 pour le deplacement des algues en m/s.""", - ang = """Wave orbital velocity 2 for algae dislodgement in m/s.""", - ), -# ----------------------------------- - RATE_OF_DEGRADATION_FOR_ALGAE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.,0.], - fr = """Taux de degradation pour les algues.""", - ang = """Rate of degradation for algae.""", - ), - ), -# ----------------------------------- - OIL_SPILL = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - OIL_SPILL_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour declencher le modele de derive de nappes, dans ce cas -le fichier de commandes migrhycar est necessaire.""", - ang = """Will trigger the oil spill model, in this case the -\telkey{OIL SPILL STEERING FILE} is needed.""", - ), -# ----------------------------------- - b_OIL_SPILL_MODELG = BLOC(condition="OIL_SPILL_MODEL == True", -# ----------------------------------- -# ----------------------------------- - OIL_SPILL_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Contient les donnees pour le modele de derive de nappes.""", - ang = """Contains data for the \telkey{OIL SPILL MODEL}.""", - ), - ), - ), -# ----------------------------------- - BROWNIAN_MOTION = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - STOCHASTIC_DIFFUSION_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No model","brownian movement"], - defaut = "No model", - fr = """Pour les particules : flotteurs, hydrocarbures. -Si aucune turbulence n est activee, la diffusion stochastique n est pas -prise en compte pendant le transport de particules.""", - ang = """Meant for particles: drogues, oil spills. -If no turbulence is activated, this stochastic diffusion is not -considered during the particle transport.""", - ), - ), -# ----------------------------------- - LAGRANGIAN_DRIFTS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_LAGRANGIAN_DRIFTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Permet d''effectuer simultanement plusieurs calculs de derives -lagrangiennes initiees a des pas differents. -Ajouter A et G au mot-cle -\telkey{VARIABLES POUR LES SORTIES GRAPHIQUES}.""", - ang = """Provided for performing several computations of Lagrangian -drifts starting at different times. -Add A and G in the \telkey{VARIABLES FOR GRAPHIC PRINTOUTS} keyword.""", - ), -# ----------------------------------- - b_NUMBER_OF_LAGRANGIAN_DRIFTSG = BLOC(condition="NUMBER_OF_LAGRANGIAN_DRIFS != 0", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Add 'drift along x (m)' and 'drift along y (m)' in VARIABLES FOR GRAPHIC PRINTOUTS"), - ), - ), -) -# ----------------------------------------------------------------------- -HYDRAULIC_STRUCTURES = PROC(nom= "HYDRAULIC_STRUCTURES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - WEIRS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_WEIRS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de seuils qui seront traites par des conditions aux -limites. Ces seuils doivent etre decrits comme des frontieres du -domaine de calcul, et leurs caracteristiques sont donnees dans le -\telkey{FICHIER DE DONNEES DES SEUILS} (voir la documentation ecrite).""", - ang = """Number of weirs that will be treated by boundary conditions. -They must be described as boundaries of the domain and their features -are given in the \telkey{WEIRS DATA FILE} (see written documentation)""", - ), -# ----------------------------------- - b_NUMBER_OF_WEIRSG = BLOC(condition="NUMBER_OF_WEIRS != 0", -# ----------------------------------- -# ----------------------------------- - WEIRS_DATA_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de description des seuils presents dans le modele.""", - ang = """Description of weirs existing in the model.""", - ), -# ----------------------------------- - TYPE_OF_WEIRS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["HORIZONTAL WITH SAME NUMBER OF NODES UPSTREAM/DOWNSTREAM","GENERAL"], - defaut = "HORIZONTAL WITH SAME NUMBER OF NODES UPSTREAM/DOWNSTREAM", - fr = """Methode de traitement des seuils. Deux Solutions: -\begin{itemize} -\item horizontal avec meme nombre de noeuds amont/aval -(Solution historique avec le sous-programme \telfile{BORD}) ; -\item generale (nouvelle solution avec pts sources). -\end{itemize}""", - ang = """Method for treatment of weirs. Two options: -\begin{itemize} -\item horizontal with same number of nodes upstream/downstream -(Historical solution with the \telfile{BORD} subroutine), -\item general (new solution with sources points). -\end{itemize}""", - ), -# ----------------------------------- - WEIRS_DISCHARGE_OUTPUT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de sortie des debits sur les seuils presents dans le modele.""", - ang = """Output file of discharge of weirs existing in the model.""", - ), - ), - ), -# ----------------------------------- - CULVERTS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_CULVERTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de buses ou ponts traites comme des termes sources ou -puits. Ces buses doivent etre decrits comme des sources dans le -fichier des parametres . -Leurs caracteristiques sont donnees dans le -\telkey{FICHIER DE DONNEES DES BUSES} -(voir la documentation ecrite).""", - ang = """Number of culverts, tubes or bridges treated as source terms. -They must be described as sources in the domain and their features -are given in the \telfile{CULVERTS DATA FILE} -(see written documentation).""", - ), -# ----------------------------------- - b_NUMBER_OF_CULVERTSG = BLOC(condition="NUMBER_OF_CULVERTS != 0", -# ----------------------------------- -# ----------------------------------- - CULVERTS_DATA_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de description des buses/ponts presents dans le modele.""", - ang = """Description of culverts/tubes/bridges existing in the model.""", - ), - ), -# ----------------------------------- - OPTION_FOR_CULVERTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Option pour le traitement des buses. Il existe deux formulations -dans \telemac{2d}, basees sur les formules de Bodhaine (1968) -et Carlier (1976). -Lire le \telemac{3d} theory guide plus plus d informations.""", - ang = """Option for the treatment of culverts. There are two options in -\telemac{2d} based on Bodhaine (1968) and Carlier (1976) formulae. -Read the \telemac{3d} theory guide for more informations.""", - ), - ), -# ----------------------------------- - BREACHES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - BREACH = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte de breches dans le calcul par -modification altimetrique dans le maillage. La description -des breches se fait avec le \telkey{FICHIER DE DONNEES DES BRECHES}.""", - ang = """Take in account some breaches during the computation -by modifying the bottom level of the mesh. Breach description -is done with the \telkey{BREACHES DATA FILE}.""", - ), -# ----------------------------------- - b_BREACHG = BLOC(condition="BREACH == True", -# ----------------------------------- -# ----------------------------------- - BREACHES_DATA_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de description des breches.""", - ang = """Description of breaches.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -TIDES = PROC(nom= "TIDES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - BINARY_DATABASE_1_FOR_TIDE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Base de donnees binaire 1 de constantes harmoniques. - Dans le cas des donnees satellitaires de TPXO, ce fichier correspond - aux donnees de niveau d''eau, par exemple h\_tpxo7.2""", - ang = """Binary database 1 of harmonic constants. - In the case of the TPXO satellite altimetry model, this file should - be for free surface level, for instance h\_tpxo7.2""", - ), -# ----------------------------------- - BINARY_DATABASE_2_FOR_TIDE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Base de donnees binaire 2 de constantes harmoniques. - Dans le cas des donnees satellitaires de TPXO, ce fichier correspond - aux donnees de vitesse de marrees, par exemple u\_tpxo7.2""", - ang = """Binary database 2 of harmonic constants. - In the case of the TPXO satellite altimetry model, this file should - be for tidal velocities, for instance u\_tpxo7.2""", - ), -# ----------------------------------- - GEOGRAPHIC_SYSTEM = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO DEFAULT VALUE","DEFINED BY USER","WGS84 LONGITUDE/LATITUDE IN REAL DEGREES","WGS84 NORTHERN UTM","WGS84 SOUTHERN UTM","LAMBERT","MERCATOR FOR TELEMAC"], - defaut = "NO DEFAULT VALUE", - fr = """Systeme de coordonnees geographiques dans lequel est construit -le modele numerique. -Indiquer la zone correspondante avec le mot-cle. -Indique le systeme de coordonnees geographiques dans lequel est -construit le modele numerique. Les choix possibles sont : -\begin{itemize} -\item 0 : defini par l''utilisateur ; -\item 1 : WGS84 longitude/latitude en degres reels ; -\item 2 : WGS84 nord UTM ; -\item 3 : WGS84 sud UTM ; -\item 4 : Lambert ; -\item 5 : projection Mercator. -\end{itemize}""", - ang = """Geographic coordinates system in which the numerical model is -built. Indicate the corresponding zone with the keyword. -The possible choices are: -\begin{itemize} -\item 0: defined by the user, -\item 1: WGS84 longitude/latitude in real degrees, -\item 2: WGS84 Northern UTM, -\item 3: WGS84 Southern UTM, -\item 4: Lambert, -\item 5: Mercator projection. -\end{itemize}""", - ), -# ----------------------------------- - b_GEOGRAPHIC_SYSTEMG = BLOC(condition="GEOGRAPHIC_SYSTEM in ['WGS84 NOTHERN UTM','WGS84 SOUTHERN UTM','LAMBERT']", -# ----------------------------------- -# ----------------------------------- - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = -1, - fr = """Numero de zone (fuseau ou type de projection) lors de -l''utilisation d''une projection plane. Indiquer le systeme -geographique dans lequel est construit le modele numerique avec le -mot-cle \telkey{SYSTEME GEOGRAPHIQUE}. -Les choix possibles sont : -\begin{itemize} -\item 1 : Lambert 1 nord ; -\item 2 : Lambert 2 centre ; -\item 3 : Lambert 3 sud ; -\item 4 : Lambert 4 Corse ; -\item 22 : Lambert 2 etendu ; -\item 93 : Lambert 93 ; -\item X : Valeur UTM de la zone WGS84 (X est le numero de la zone). -\end{itemize}""", - ang = """Number of zone when using a plane projection. -Indicate the geographic system in which the numerical model is built -with the keyword \telkey{GEOGRAPHIC SYSTEM}. -Possible choices are: -\begin{itemize} -\item 1: Lambert 1 north, -\item 2: Lambert 2 center, -\item 3: Lambert 3 south, -\item 4: Lambert 4 Corsica, -\item 22: Lambert 22 extended, -\item 93: Lambert 93, -\item X: UTM zone with WGS84 (X is the number of the zone). -\end{itemize}""", - ), - ), -# ----------------------------------- - LAMBERT_93_CONVERSION_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier gr3df97a.txt, grille de conversion pour Lambert 93.""", - ang = """Name of file gr3df97a.txt, conversion grid for Lambert 93.""", - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Coefficient pour ajuster le niveau de mer. -Il peut dependre de la reference altimetrique utilisee dans le modele, -par exemple Cartes Marines, Niveau Moyen de la Mer, NGF...""", - ang = """Coefficient to calibrate the sea level. -It may depend on the altimetric reference used in the model, -for example Chart Datum, Mean Sea Level...""", - ), -# ----------------------------------- - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Numero global du point -(entre 1 et le nombre de points frontieres du maillage 2D) -par rapport auquel les ondes de maree sont dephasees -pour debuter le calcul par une pleine mer -(en marees schematiques seulement). -Ce point doit etre un point de frontiere maritime. -Ne concerne que les bases de constantes harmoniques de type TPXO.""", - ang = """Global number of the point -(between 1 and the number of boundary nodes in the 2D mesh) -with respect to which the tidal constituents have their phase shifted -to start the calculation with a high water -(for schematic tides only). -This point has to be a maritime boundary node. -Only harmonic constants databases like TPXO are concerned.""", - ), -# ----------------------------------- - MINOR_CONSTITUENTS_INFERENCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour la base de donnees TPXO uniquement. -Interpolation de composantes harmoniques mineures -a partir de celles lues dans les fichiers d''entree -lies aux mots-cles \telkey{BASE BINAIRE 1 DE DONNEES DE MAREE} -et \telkey{BASE BINAIRE 2 DE DONNEES DE MAREE}.""", - ang = """For TPXO tidal data base only. -Inference of minor constituents from the one read in input files -linked to keywords \telkey{BINARY DATABASE 1 FOR TIDE} -and \telkey{BINARY DATABASE 2 FOR TIDE}.""", - ), -# ----------------------------------- - INITIAL_VELOCITIES_COMPUTED_BY_TPXO = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Composantes de vitesses initiales calculees a partir des -solutions de maree de l OSU (ex TPXO). -Prendre NON pour eviter une initialisation avec des vitesses de maree -trop grandes. -Pour les solutions de marees provenant de l OSU uniquement (ex TPXO).""", - ang = """Initial velocity components computed from a tidal solution from -OSU (e.g. TPXO). -NO to prevent from an initialisation with too big tidal velocities. -For tidal solutions coming from OSU only (e.g. TPXO).""", - ), -# ----------------------------------- - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Valeur minimale de hauteur d eau au dessus de laquelle les conditions -initiales de courants de maree sont calculees. -Autrement, les vitesses sont annulees. -Pour les solutions de maree provenant de l OSU uniquement (ex TPXO).""", - ang = """Minimum value of water depth above which initial conditions for tidal -velocities are computed. -Otherwise, the velocity components are equal to 0. -For tidal solutions coming from OSU only (e.g. TPXO).""", - ), -# ----------------------------------- - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Valeur minimale de hauteur d eau utilisee pour le calcul des conditions -aux limites de courants de maree si les profondeurs sont trop petites. -Pour les solutions de marees provenant de l OSU uniquement (ex TPXO).""", - ang = """Minimum value of water depth used to compute tidal boundary conditions -for velocities if the water depths are too small. -For tidal solutions coming from OSU only (e.g. TPXO).""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', max='**', - into = ["No tide","Real tide (recommended methodology)","Astronomical tide","Mean spring tide","Mean tide","Mean neap tide","Astronomical neap tide","Real tide (methodology before 2010)"], - fr = """Option pour les conditions aux limites de maree. Pour des marees -reelles, l option 1 est recommandee. Depuis la version 7.1, ce mot-cle -est un tableau avec une valeur donnee par frontiere liquide, separee par -point-virgules. Ceci permet d''avoir des conditions de maree (ou pas) -calculees sur des frontieres liquides avec vitesses ou hauteur d eau -imposees. Ca evite un conflit lors de l utilisation de seuils dans le -domaine. 0 est le code pour des conditions autres que des conditions de -maree. ATTENTION depuis la version 7.1 ! Les anciens modeles doivent -etre changes si la frontiere de maree n a pas le numero 1. Dans ce cas, -le mot-cle doit etre change et plus de valeurs doivent etre donnees. -Calage possible par les mots-cles -\telkey{COEFFICIENT DE CALAGE DU MARNAGE}, -\telkey{COEFFICIENT DE CALAGE DES VITESSES DE COURANT} et -\telkey{COEFFICIENT DE CALAGE DU NIVEAU DE MER}.""", - ang = """Option for tidal boundary conditions. For real tides, option 1 is -recommended. This keyword has been an array with a value given per -liquid boundary, separated by semicolons, since release 7.1. This -enables to have tidal conditions (or not) computed on liquid boundaries -with prescribed velocities or depths, avoiding a clash when using weirs -in the domain. 0 codes for conditions other than tidal. BEWARE since -release 7.1! Old models must be changed if their tidal boundary is not -number 1. In that case this keyword must be changed and more values -given. Possible calibration with the keywords -\telkey{COEFFICIENT TO CALIBRATE TIDAL RANGE}, -\telkey{COEFFICIENT TO CALIBRATE TIDAL VELOCITIES} and -\telkey{COEFFICIENT TO CALIBRATE SEA LEVEL}.""", - ), -# ----------------------------------- - TIDAL_DATA_BASE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO DEFAULT VALUE","JMJ","TPXO","MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...)"], - defaut = "NO DEFAULT VALUE", - fr = """Pour JMJ, renseigner la localisation du fichier bdd\_jmj et geofin -dans les mots-cles \telkey{BASE ASCII DE DONNEES DE MAREE} et -\telkey{FICHIER DU MODELE DE MAREE}. -Pour TPXO, LEGOS-NEA, FES20XX et PREVIMER, l''utilisateur doit -telecharger les fichiers de constantes harmoniques sur internet.""", - ang = """For JMJ, indicate the location of the files bdd\_jmj and geofin with -keywords \telkey{ASCII DATABASE FOR TIDE} and \telkey{TIDAL MODEL FILE}. -For TPXO, LEGOS-NEA, -FES20XX and PREVIMER, the user has to download files of harmonic -constituents on the internet.""", - ), -# ----------------------------------- - b_TIDAL_DATA_BASEG = BLOC(condition="TIDAL_DATA_BASE == 'TPXO'", -# ----------------------------------- - ), -# ----------------------------------- - HARMONIC_CONSTANTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier contenant les constantes harmoniques pour le calcul des -conditions aux limites de maree.""", - ang = """File containing the harmonic constants to compute the -tidal boundary conditions.""", - ), -# ----------------------------------- - TIDAL_MODEL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de geometrie du modele dont sont extraites -les constantes harmoniques.""", - ang = """Geometry file of the model from which harmonic constituents -are extracted.""", - ), -# ----------------------------------- - TIDAL_MODEL_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DU MODELE DE MAREE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{TIDAL MODEL FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - ASCII_DATABASE_FOR_TIDE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Base de donnees de constantes harmoniques -tirees du \telkey{FICHIER DU MODELE DE MAREE}. -Ancien nom en version 6.1 : \telkey{BASE DE DONNEES DE MAREE}.""", - ang = """Tide data base of harmonic constituents -extracted from the \telkey{TIDAL MODEL FILE}. -Old name in release 6.1: \telkey{TIDE DATA BASE}.""", - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Coefficient pour ajuster le marnage de l''onde de maree -aux frontieres maritimes.""", - ang = """Coefficient to calibrate the tidal range of tidal wave -at tidal open boundary conditions.""", - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 999999., - fr = """Coefficient pour ajuster les composantes de vitesse -de l''onde de maree aux frontieres maritimes. -La valeur par defaut 999~999. signifie que c''est la racine carree -du \telkey{COEFFICIENT DE CALAGE DU MARNAGE} qui est prise.""", - ang = """Coefficient to calibrate the tidal velocities of tidal wave -at tidal open boundary conditions. -Default value 999,999. means that the square root of -\telkey{COEFFICIENT TO CALIBRATE TIDAL RANGE} is taken.""", - ), -# ----------------------------------- - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Numero local du point entre 1 et le nombre de points de frontiere -maritime (du \telkey{FICHIER DES CONSTANTES HARMONIQUES}) ou les -conditions aux limites de maree sont calculees avec les bases de donnees -JMJ, NEA, FES, PREVIMER (sauf les bases de type TPXO). -Les ondes de maree sont -dephasees par rapport a ce point pour debuter le calcul par une pleine -mer (en marees schematiques seulement).""", - ang = """Local number between 1 and the number of tidal boundary points (of the -\telkey{HARMONIC CONSTANTS FILE}) where the tidal boundary conditions -are computed with JMJ, NEA, FES, PREVIMER databases (except TPXO-type -databases). The tidal constituents have their phase shifted with respect -to this point to start the simulation with a high water (for schematic -tides only).""", - ), - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIDE_GENERATING_FORCE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active la prise en compte de la force generatrice de la maree. -Il faut utiliser \telkey{COORDONNEES SPHERIQUES} = OUI, -il est impossible de prendre en compte la force generatrice de la maree -en coordonnees cartesiennes.""", - ang = """The tide generating force is taken into account. -The keyword \telkey{SPHERICAL COORDINATES} has to be activated, -it is impossible to account tide generating force in cartesian -coordinates.""", - ), -# ----------------------------------- - b_TIDE_GENERATING_FORCEG = BLOC(condition="TIDE_GENERATING_FORCE == True", -# ----------------------------------- - ), - ), -) -# ----------------------------------------------------------------------- -COUPLING = PROC(nom= "COUPLING",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - COUPLING_WITH = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SISYPHE','TOMAWAC','TOMAWAC2','WAQTEL','KHIONE','GAIA','DELWAQ'], - defaut = '', - fr = """Liste des codes avec lesquels on couple \telemac{2d} : -\begin{itemize} -\item \sisyphe : couplage interne avec \sisyphe ; -\item \tomawac : couplage interne avec \tomawac ; -\item \waqtel : couplage interne avec \waqtel ; -\item \khione : couplage interne avec \khione ; -\item DELWAQ : sortie de fichiers de resultats pour Delwaq ; -\item \gaia : couplage interne avec \gaia. -\end{itemize}""", - ang = """List of codes to be coupled with \telemac{2d}: -\begin{itemize} -\item \sisyphe: internal coupling with \sisyphe, -\item \tomawac: internal coupling with \tomawac, -\item \waqtel: internal coupling with \waqtel, -\item \khione: internal coupling with \khione, -\item DELWAQ: will yield results file for DELWAQ, -\item \gaia: internal coupling with \gaia. -\end{itemize}""", - ), -# ----------------------------------- - NAMES_OF_CLANDESTINE_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms de variables qui ne sont pas utilisees par \telemac{2d}, -mais qui doivent etre conservees lors de son execution. -Ceci peut etre utilise entre autres lors du couplage de \telemac{2d} -avec un autre code. -Les variables clandestines sont alors des variables propres a l''autre -code et sont rendues dans le fichier de resultats.""", - ang = """Names of variables that are not used by \telemac{2d}, but should be -preserved when it is being run. This keyword may be used, for instance -when \telemac{2d} is coupled with another code. Thus, the clandestine -variables belong to the other code and are given back in the results -file.""", - ), -# ----------------------------------- - DELWAQ = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DELWAQ_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de commande pour le chainage avec DELWAQ.""", - ang = """Steering file for chaining with DELWAQ.""", - ), -# ----------------------------------- - DELWAQ_PRINTOUT_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Periode de sortie des resultats pour DELWAQ.""", - ang = """Printout period for DELWAQ files.""", - ), -# ----------------------------------- - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - NODES_DISTANCES_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - BOTTOM_SURFACES_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VOLUMES_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - EXCHANGE_AREAS_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VERTICAL_FLUXES_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VELOCITY_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - DIFFUSIVITY_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - TEMPERATURE_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - SALINITY_DELWAQ_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VELOCITY_FOR_DELWAQ = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la vitesse pour DELWAQ.""", - ang = """Triggers the output of velocity for DELWAQ.""", - ), -# ----------------------------------- - DIFFUSIVITY_FOR_DELWAQ = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie du coefficient de diffusion pour DELWAQ.""", - ang = """Triggers the output of diffusion for DELWAQ.""", - ), -# ----------------------------------- - TEMPERATURE_FOR_DELWAQ = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la temperature pour DELWAQ.""", - ang = """Triggers the output of temperature for DELWAQ.""", - ), -# ----------------------------------- - SALINITY_FOR_DELWAQ = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la salinite pour DELWAQ.""", - ang = """Triggers the output of salinity for DELWAQ.""", - ), - ), -# ----------------------------------- - SISYPHE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SISYPHE_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres de \sisyphe en cas de couplage -interne.""", - ang = """\sisyphe parameter file in case of internal coupling.""", - ), -# ----------------------------------- - COUPLING_PERIOD_FOR_SISYPHE = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Fixe la periode de couplage avec le module \sisyphe, -en nombre de pas de temps. -Par defaut, il est couple a chaque pas de temps.""", - ang = """Sets the coupling period with the \sisyphe module, in number -of time steps. By default, it is coupled at every time step.""", - ), - ), -# ----------------------------------- - GAIA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GAIA_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres de \gaia en cas de couplage -interne.""", - ang = """\gaia parameter file in case of internal coupling.""", - ), - ), -# ----------------------------------- - TOMAWAC = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TOMAWAC_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres de \tomawac en cas de couplage -interne.""", - ang = """\tomawac parameter file in case of internal coupling.""", - ), -# ----------------------------------- - COUPLING_PERIOD_FOR_TOMAWAC = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Fixe la periode de couplage avec le module \tomawac, -en nombre de pas de temps. -Par defaut, il est couple a chaque pas de temps.""", - ang = """Sets the coupling period with the \tomawac module, in number -of time steps. By default, it is coupled at every time step.""", - ), - ), -# ----------------------------------- - WAQTEL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WAQTEL_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres physiques pour les processus de qualite d eau -(internes pas ceux de DELWAQ).""", - ang = """File for physical parameters of water quality processes -(local ones of \telemac{2d}-\waqtel not those of DELWAQ).""", - ), - ), -# ----------------------------------- - KHIONE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - KHIONE_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres physiques pour les processus lies aux glaces.""", - ang = """Steering file for physical parameters of ice processes.""", - ), -# ----------------------------------- - ICE_PROCESSES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Donne le numero du processus des glaces, avec le numero defini sur la -base multiplicative de nombres premiers (2, 3, 5, 7, 11, 13\ldots). -Par exemple, 14 (= 2 $\times$ 7) rend actif les processus 2 et 7. -Exception a la regle : -\begin{itemize} -\item si l entier est 1, il n y a pas de couplage ; -\item si l entier est 0, tous les effets suivants sont inclus : -\begin{itemize} -\item 2 : bilan thermique ; -\item 3 : \ldots -\end{itemize} -\end{itemize}""", - ang = """Provides the ice process number with the number being defined on the -basis of a multiplication of primary numbers (2, 3, 5, 7, 11, 13\ldots). -For instance, 14 (= 2 $\times$ 7) activates processes 2 and 7. -Exception is for: -\begin{itemize} -\item if the number is 1, there will be no ice processes included, -\item if the number is 0, all processes are included, as follows: -\begin{itemize} -\item 2: thermical budget, -\item 3: \ldots -\end{itemize} -\end{itemize}""", - ), - ), -# ----------------------------------- - NESTOR = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NESTOR = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active l utilisation du module \nestor pour changer les fonds.""", - ang = """Activates the use of the \nestor module to change the bottom.""", - ), -# ----------------------------------- - NESTOR_ACTION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier des parametres de \nestor.""", - ang = """Name of the \nestor steering file.""", - ), -# ----------------------------------- - NESTOR_POLYGON_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de polygones de \nestor indiquant la localisation.""", - ang = """Name of the \nestor polygon file which indicates the location.""", - ), -# ----------------------------------- - NESTOR_SURFACE_REFERENCE_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier de \nestor qui contient la surface de reference.""", - ang = """Name of the \nestor file which contains the reference water surface.""", - ), -# ----------------------------------- - NESTOR_RESTART_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de reprise de \nestor.""", - ang = """Name of the \nestor restart file.""", - ), - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - LANGUAGE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["FRANCAIS","ANGLAIS"], - defaut = "ANGLAIS", - fr = """1 : FRANCAIS 2 : ANGLAIS""", - ang = """1: FRENCH 2: ENGLISH""", - ), -# ----------------------------------- - STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul a realiser.""", - ang = """Name of the file containing the parameters of the computation -Written by the user.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'telemac2d.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -# ----------------------------------- - PARTITIONING_TOOL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['METIS','SCOTCH','PARMETIS','PTSCOTCH'], - defaut = 'METIS', - fr = """Choix du partitionneur : -\begin{itemize} -\item 1 : METIS ; -\item 2 : SCOTCH ; -\item 3 : PARMETIS ; -\item 4 : PTSCOTCH. -\end{itemize}""", - ang = """Partitioning tool selection: -\begin{itemize} -\item 1: METIS, -\item 2: SCOTCH, -\item 3: PARMETIS, -\item 4: PTSCOTCH. -\end{itemize}""", - ), -# ----------------------------------- - CONCATENATE_PARTEL_OUTPUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Avec cette option partel ne generera non plus un fichier (GEO/CLI/PAR) -par processeur mais une concatenation de ceux-ci, ainsi qu''un fichier -d''index associe. Ainsi plutot que d''avoir 3P fichiers, il n''y en a -plus que 6.""", - ang = """With this option partel no more generates a file (GEO/CLI/PAR) per -process but a single concatenate file of them, associated to an index -file. Then instead of having partel generating 3P files, it only -generates 6 files.""", - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -HYDRO();\ -NUMERICAL_PARAMETERS();\ -GENERAL_PARAMETERS();\ -TURBULENCE();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'HYDRO', -'NUMERICAL_PARAMETERS', -'GENERAL_PARAMETERS', -'TURBULENCE', -'TIDAL_FLATS_INFO', -'TRACERS', -'PARTICLE_TRANSPORT', -'HYDRAULIC_STRUCTURES', -'TIDES', -'COUPLING', -'INTERNAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.telemac2d_enum_auto' -dicoCasEn = source+'.telemac2d_dicoCasEnToCata' -dicoCasFr = source+'.telemac2d_dicoCasFrToCata' diff --git a/Telemac/telemac2d_dicoCasEnToCata.py b/Telemac/telemac2d_dicoCasEnToCata.py deleted file mode 100644 index a4d4ad52..00000000 --- a/Telemac/telemac2d_dicoCasEnToCata.py +++ /dev/null @@ -1,694 +0,0 @@ -dicoCataToEngTelemac = { - "TITLE" : "TITLE", - "INITIAL_CONDITIONS" : "INITIAL CONDITIONS", - "INITIAL_ELEVATION" : "INITIAL ELEVATION", - "INITIAL_DEPTH" : "INITIAL DEPTH", - "BINARY_DATA_FILE_1_FORMAT" : "BINARY DATA FILE 1 FORMAT", - "BINARY_DATA_FILE_1" : "BINARY DATA FILE 1", - "BINARY_DATA_FILE_2_FORMAT" : "BINARY DATA FILE 2 FORMAT", - "BINARY_DATA_FILE_2" : "BINARY DATA FILE 2", - "FORMATTED_DATA_FILE_1" : "FORMATTED DATA FILE 1", - "FORMATTED_DATA_FILE_2" : "FORMATTED DATA FILE 2", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "FORTRAN_FILE" : "FORTRAN FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "BOTTOM_SMOOTHINGS" : "BOTTOM SMOOTHINGS", - "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS" : "BOTTOM SMOOTHINGS AFTER USER MODIFICATIONS", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "REFERENCE_FILE" : "REFERENCE FILE", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "MAXIMUM NUMBER OF BOUNDARIES", - "MAXIMUM_NUMBER_OF_SOURCES" : "MAXIMUM NUMBER OF SOURCES", - "MAXIMUM_NUMBER_OF_TRACERS" : "MAXIMUM NUMBER OF TRACERS", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "SECURITY_COEFFICIENT_FOR_SCARACT" : "SECURITY COEFFICIENT FOR SCARACT", - "COMPUTATION_CONTINUED" : "COMPUTATION CONTINUED", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "PREVIOUS COMPUTATION FILE FORMAT", - "PREVIOUS_COMPUTATION_FILE" : "PREVIOUS COMPUTATION FILE", - "RECORD_NUMBER_FOR_RESTART" : "RECORD NUMBER FOR RESTART", - "INITIAL_TIME_SET_TO_ZERO" : "INITIAL TIME SET TO ZERO", - "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS" : "NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS", - "GRAPHIC_PRINTOUT_PERIOD" : "GRAPHIC PRINTOUT PERIOD", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES FOR GRAPHIC PRINTOUTS", - "NUMBER_OF_PRIVATE_ARRAYS" : "NUMBER OF PRIVATE ARRAYS", - "NAMES_OF_PRIVATE_VARIABLES" : "NAMES OF PRIVATE VARIABLES", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "RESULTS_FILE" : "RESULTS FILE", - "RESULT_FILE_IN_LONGITUDE_LATITUDE" : "RESULT FILE IN LONGITUDE-LATITUDE", - "BINARY_RESULTS_FILE_FORMAT" : "BINARY RESULTS FILE FORMAT", - "BINARY_RESULTS_FILE" : "BINARY RESULTS FILE", - "FORMATTED_RESULTS_FILE" : "FORMATTED RESULTS FILE", - "CONTROL_SECTIONS" : "CONTROL SECTIONS", - "PRINTING_CUMULATED_FLOWRATES" : "PRINTING CUMULATED FLOWRATES", - "COMPATIBLE_COMPUTATION_OF_FLUXES" : "COMPATIBLE COMPUTATION OF FLUXES", - "SECTIONS_INPUT_FILE" : "SECTIONS INPUT FILE", - "SECTIONS_OUTPUT_FILE" : "SECTIONS OUTPUT FILE", - "FLUXLINE" : "FLUXLINE", - "FLUXLINE_INPUT_FILE" : "FLUXLINE INPUT FILE", - "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS" : "NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "LISTING_FOR_PRINTOUT_PERIOD" : "LISTING FOR PRINTOUT PERIOD", - "LISTING_PRINTOUT" : "LISTING PRINTOUT", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES TO BE PRINTED", - "MASS_BALANCE" : "MASS-BALANCE", - "INFORMATION_ABOUT_SOLVER" : "INFORMATION ABOUT SOLVER", - "LIST_OF_POINTS" : "LIST OF POINTS", - "NAMES_OF_POINTS" : "NAMES OF POINTS", - "FOURIER_ANALYSIS_PERIODS" : "FOURIER ANALYSIS PERIODS", - "TIME_RANGE_FOR_FOURIER_ANALYSIS" : "TIME RANGE FOR FOURIER ANALYSIS", - "PRESCRIBED_ELEVATIONS" : "PRESCRIBED ELEVATIONS", - "PRESCRIBED_FLOWRATES" : "PRESCRIBED FLOWRATES", - "PRESCRIBED_VELOCITIES" : "PRESCRIBED VELOCITIES", - "STAGE_DISCHARGE_CURVES" : "STAGE-DISCHARGE CURVES", - "STAGE_DISCHARGE_CURVES_FILE" : "STAGE-DISCHARGE CURVES FILE", - "VELOCITY_PROFILES" : "VELOCITY PROFILES", - "OPTION_FOR_LIQUID_BOUNDARIES" : "OPTION FOR LIQUID BOUNDARIES", - "LIQUID_BOUNDARIES_FILE" : "LIQUID BOUNDARIES FILE", - "ELEMENTS_MASKED_BY_USER" : "ELEMENTS MASKED BY USER", - "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS" : "MAXIMUM NUMBER OF FRICTION DOMAINS", - "FRICTION_DATA" : "FRICTION DATA", - "FRICTION_DATA_FILE" : "FRICTION DATA FILE", - "LAW_OF_BOTTOM_FRICTION" : "LAW OF BOTTOM FRICTION", - "FRICTION_COEFFICIENT" : "FRICTION COEFFICIENT", - "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW" : "MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW", - "DEPTH_IN_FRICTION_TERMS" : "DEPTH IN FRICTION TERMS", - "VEGETATION_FRICTION" : "VEGETATION FRICTION", - "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES" : "LAW OF FRICTION ON LATERAL BOUNDARIES", - "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES" : "ROUGHNESS COEFFICIENT OF BOUNDARIES", - "DEFINITION_OF_ZONES" : "DEFINITION OF ZONES", - "ZONES_FILE" : "ZONES FILE", - "WIND" : "WIND", - "OPTION_FOR_WIND" : "OPTION FOR WIND", - "COEFFICIENT_OF_WIND_INFLUENCE" : "COEFFICIENT OF WIND INFLUENCE", - "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED" : "COEFFICIENT OF WIND INFLUENCE VARYING WITH WIND SPEED", - "WIND_VELOCITY_ALONG_X" : "WIND VELOCITY ALONG X", - "WIND_VELOCITY_ALONG_Y" : "WIND VELOCITY ALONG Y", - "SPEED_AND_DIRECTION_OF_WIND" : "SPEED AND DIRECTION OF WIND", - "THRESHOLD_DEPTH_FOR_WIND" : "THRESHOLD DEPTH FOR WIND", - "AIR_PRESSURE" : "AIR PRESSURE", - "VALUE_OF_ATMOSPHERIC_PRESSURE" : "VALUE OF ATMOSPHERIC PRESSURE", - "RAIN_OR_EVAPORATION" : "RAIN OR EVAPORATION", - "RAIN_OR_EVAPORATION_IN_MM_PER_DAY" : "RAIN OR EVAPORATION IN MM PER DAY", - "RAINFALL_RUNOFF_MODEL" : "RAINFALL-RUNOFF MODEL", - "ANTECEDENT_MOISTURE_CONDITIONS" : "ANTECEDENT MOISTURE CONDITIONS", - "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS" : "DURATION OF RAIN OR EVAPORATION IN HOURS", - "ASCII_ATMOSPHERIC_DATA_FILE" : "ASCII ATMOSPHERIC DATA FILE", - "BINARY_ATMOSPHERIC_DATA_FILE" : "BINARY ATMOSPHERIC DATA FILE", - "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT" : "BINARY ATMOSPHERIC DATA FILE FORMAT", - "OPTION_FOR_INITIAL_ABSTRACTION_RATIO" : "OPTION FOR INITIAL ABSTRACTION RATIO", - "AIR_TEMPERATURE" : "AIR TEMPERATURE", - "CLOUD_COVER" : "CLOUD COVER", - "SOLAR_RADIATION" : "SOLAR RADIATION", - "VAPOROUS_PRESSURE" : "VAPOROUS PRESSURE", - "WAVE_DRIVEN_CURRENTS" : "WAVE DRIVEN CURRENTS", - "RECORD_NUMBER_IN_WAVE_FILE" : "RECORD NUMBER IN WAVE FILE", - "WAVE_ENHANCED_FRICTION_FACTOR" : "WAVE ENHANCED FRICTION FACTOR", - "PARAMETER_ESTIMATION" : "PARAMETER ESTIMATION", - "COST_FUNCTION" : "COST FUNCTION", - "IDENTIFICATION_METHOD" : "IDENTIFICATION METHOD", - "TOLERANCES_FOR_IDENTIFICATION" : "TOLERANCES FOR IDENTIFICATION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION" : "MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION", - "ABSCISSAE_OF_SOURCES" : "ABSCISSAE OF SOURCES", - "ORDINATES_OF_SOURCES" : "ORDINATES OF SOURCES", - "WATER_DISCHARGE_OF_SOURCES" : "WATER DISCHARGE OF SOURCES", - "VELOCITIES_OF_THE_SOURCES_ALONG_X" : "VELOCITIES OF THE SOURCES ALONG X", - "VELOCITIES_OF_THE_SOURCES_ALONG_Y" : "VELOCITIES OF THE SOURCES ALONG Y", - "TYPE_OF_SOURCES" : "TYPE OF SOURCES", - "SOURCES_FILE" : "SOURCES FILE", - "GLOBAL_NUMBERS_OF_SOURCE_NODES" : "GLOBAL NUMBERS OF SOURCE NODES", - "SOURCE_REGIONS_DATA_FILE" : "SOURCE REGIONS DATA FILE", - "MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS" : "MAXIMUM NUMBER OF POINTS FOR SOURCES REGIONS", - "WATER_QUALITY_PROCESS" : "WATER QUALITY PROCESS", - "WATER_DENSITY" : "WATER DENSITY", - "GRAVITY_ACCELERATION" : "GRAVITY ACCELERATION", - "VERTICAL_STRUCTURES" : "VERTICAL STRUCTURES", - "EQUATIONS" : "EQUATIONS", - "TREATMENT_OF_THE_LINEAR_SYSTEM" : "TREATMENT OF THE LINEAR SYSTEM", - "FINITE_VOLUME_SCHEME" : "FINITE VOLUME SCHEME", - "FINITE_VOLUME_SCHEME_SPACE_ORDER" : "FINITE VOLUME SCHEME SPACE ORDER", - "FINITE_VOLUME_SCHEME_TIME_ORDER" : "FINITE VOLUME SCHEME TIME ORDER", - "FLUX_LIMITOR_FOR_H_PLUS_Z" : "FLUX LIMITOR FOR H PLUS Z", - "FLUX_LIMITOR_FOR_U_AND_V" : "FLUX LIMITOR FOR U AND V", - "FLUX_LIMITOR_FOR_TRACERS" : "FLUX LIMITOR FOR TRACERS", - "TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME" : "TYPE OF BOUNDARY CONDITION FOR KINETIC SCHEME", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS_COEFFICIENT" : "CORIOLIS COEFFICIENT", - "OPTION_FOR_TSUNAMI_GENERATION" : "OPTION FOR TSUNAMI GENERATION", - "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI" : "PHYSICAL CHARACTERISTICS OF THE TSUNAMI", - "SECONDARY_CURRENTS" : "SECONDARY CURRENTS", - "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "PRODUCTION COEFFICIENT FOR SECONDARY CURRENTS", - "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "DISSIPATION COEFFICIENT FOR SECONDARY CURRENTS", - "DEBUGGER" : "DEBUGGER", - "TIME_STEP" : "TIME STEP", - "NUMBER_OF_TIME_STEPS" : "NUMBER OF TIME STEPS", - "DURATION" : "DURATION", - "ORIGINAL_DATE_OF_TIME" : "ORIGINAL DATE OF TIME", - "ORIGINAL_HOUR_OF_TIME" : "ORIGINAL HOUR OF TIME", - "STOP_IF_A_STEADY_STATE_IS_REACHED" : "STOP IF A STEADY STATE IS REACHED", - "STOP_CRITERIA" : "STOP CRITERIA", - "CONTROL_OF_LIMITS" : "CONTROL OF LIMITS", - "LIMIT_VALUES" : "LIMIT VALUES", - "VARIABLE_TIME_STEP" : "VARIABLE TIME-STEP", - "DESIRED_COURANT_NUMBER" : "DESIRED COURANT NUMBER", - "SPHERICAL_COORDINATES" : "SPHERICAL COORDINATES", - "LATITUDE_OF_ORIGIN_POINT" : "LATITUDE OF ORIGIN POINT", - "LONGITUDE_OF_ORIGIN_POINT" : "LONGITUDE OF ORIGIN POINT", - "NORTH" : "NORTH", - "SPATIAL_PROJECTION_TYPE" : "SPATIAL PROJECTION TYPE", - "SOLVER" : "SOLVER", - "SOLVER_OPTION" : "SOLVER OPTION", - "SOLVER_ACCURACY" : "SOLVER ACCURACY", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER", - "CONTINUITY_CORRECTION" : "CONTINUITY CORRECTION", - "PRECONDITIONING" : "PRECONDITIONING", - "C_U_PRECONDITIONING" : "C-U PRECONDITIONING", - "FINITE_ELEMENT_ASSEMBLY" : "FINITE ELEMENT ASSEMBLY", - "IMPLICITATION_FOR_DEPTH" : "IMPLICITATION FOR DEPTH", - "IMPLICITATION_FOR_VELOCITY" : "IMPLICITATION FOR VELOCITY", - "DISCRETIZATIONS_IN_SPACE" : "DISCRETIZATIONS IN SPACE", - "PROPAGATION" : "PROPAGATION", - "INITIAL_GUESS_FOR_H" : "INITIAL GUESS FOR H", - "LINEARIZED_PROPAGATION" : "LINEARIZED PROPAGATION", - "INITIAL_GUESS_FOR_U" : "INITIAL GUESS FOR U", - "MEAN_DEPTH_FOR_LINEARIZATION" : "MEAN DEPTH FOR LINEARIZATION", - "ADVECTION" : "ADVECTION", - "ADVECTION_OF_H" : "ADVECTION OF H", - "ADVECTION_OF_U_AND_V" : "ADVECTION OF U AND V", - "TYPE_OF_ADVECTION" : "TYPE OF ADVECTION", - "OPTION_FOR_CHARACTERISTICS" : "OPTION FOR CHARACTERISTICS", - "SUPG_OPTION" : "SUPG OPTION", - "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS" : "NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS", - "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS" : "MASS-LUMPING FOR WEAK CHARACTERISTICS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES", - "MASS_LUMPING_ON_H" : "MASS-LUMPING ON H", - "MASS_LUMPING_ON_VELOCITY" : "MASS-LUMPING ON VELOCITY", - "SCHEME_FOR_ADVECTION_OF_VELOCITIES" : "SCHEME FOR ADVECTION OF VELOCITIES", - "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES" : "SCHEME OPTION FOR ADVECTION OF VELOCITIES", - "FREE_SURFACE_GRADIENT_COMPATIBILITY" : "FREE SURFACE GRADIENT COMPATIBILITY", - "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES" : "NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TREATMENT OF FLUXES AT THE BOUNDARIES", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES", - "DIFFUSION_OF_VELOCITY" : "DIFFUSION OF VELOCITY", - "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES" : "OPTION FOR THE DIFFUSION OF VELOCITIES", - "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY" : "IMPLICITATION FOR DIFFUSION OF VELOCITY", - "AD_NUMBER_OF_DERIVATIVES" : "AD NUMBER OF DERIVATIVES", - "AD_NAMES_OF_DERIVATIVES" : "AD NAMES OF DERIVATIVES", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SYMBOLIC LINEAR SOLVER", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD LINEAR SOLVER RESET DERIVATIVES", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD LINEAR SOLVER DERIVATIVE CONVERGENCE", - "MATRIX_STORAGE" : "MATRIX STORAGE", - "MATRIX_VECTOR_PRODUCT" : "MATRIX-VECTOR PRODUCT", - "NEWMARK_TIME_INTEGRATION_COEFFICIENT" : "NEWMARK TIME INTEGRATION COEFFICIENT", - "ZERO" : "ZERO", - "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION" : "OPTION OF THE HYDROSTATIC RECONSTRUCTION", - "CONVERGENCE_STUDY" : "CONVERGENCE STUDY", - "REFINEMENT_LEVELS" : "REFINEMENT LEVELS", - "VELOCITY_DIFFUSIVITY" : "VELOCITY DIFFUSIVITY", - "TURBULENCE_MODEL" : "TURBULENCE MODEL", - "ACCURACY_OF_SPALART_ALLMARAS" : "ACCURACY OF SPALART-ALLMARAS", - "INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL" : "INFORMATION ABOUT SPALART-ALLMARAS MODEL", - "SOLVER_FOR_K_EPSILON_MODEL" : "SOLVER FOR K-EPSILON MODEL", - "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL" : "OPTION FOR THE SOLVER FOR K-EPSILON MODEL", - "PRECONDITIONING_FOR_K_EPSILON_MODEL" : "PRECONDITIONING FOR K-EPSILON MODEL", - "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS" : "NON-DIMENSIONAL DISPERSION COEFFICIENTS", - "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES" : "TURBULENCE REGIME FOR SOLID BOUNDARIES", - "INFORMATION_ABOUT_K_EPSILON_MODEL" : "INFORMATION ABOUT K-EPSILON MODEL", - "ADVECTION_OF_K_AND_EPSILON" : "ADVECTION OF K AND EPSILON", - "SCHEME_FOR_ADVECTION_OF_K_EPSILON" : "SCHEME FOR ADVECTION OF K-EPSILON", - "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON" : "SCHEME OPTION FOR ADVECTION OF K-EPSILON", - "MIXING_LENGTH_MODEL_COEFFICIENTS" : "MIXING LENGTH MODEL COEFFICIENTS", - "ACCURACY_OF_K" : "ACCURACY OF K", - "ACCURACY_OF_EPSILON" : "ACCURACY OF EPSILON", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON" : "MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON", - "TIDAL_FLATS" : "TIDAL FLATS", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION FOR THE TREATMENT OF TIDAL FLATS", - "TREATMENT_OF_NEGATIVE_DEPTHS" : "TREATMENT OF NEGATIVE DEPTHS", - "THRESHOLD_FOR_NEGATIVE_DEPTHS" : "THRESHOLD FOR NEGATIVE DEPTHS", - "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE" : "THRESHOLD DEPTH FOR RECEDING PROCEDURE", - "H_CLIPPING" : "H CLIPPING", - "MINIMUM_VALUE_OF_DEPTH" : "MINIMUM VALUE OF DEPTH", - "PRESCRIBED_TRACERS_VALUES" : "PRESCRIBED TRACERS VALUES", - "NUMBER_OF_TRACERS" : "NUMBER OF TRACERS", - "NAMES_OF_TRACERS" : "NAMES OF TRACERS", - "INITIAL_VALUES_OF_TRACERS" : "INITIAL VALUES OF TRACERS", - "DENSITY_EFFECTS" : "DENSITY EFFECTS", - "MEAN_TEMPERATURE" : "MEAN TEMPERATURE", - "SOLVER_FOR_DIFFUSION_OF_TRACERS" : "SOLVER FOR DIFFUSION OF TRACERS", - "SOLVER_OPTION_FOR_TRACERS_DIFFUSION" : "SOLVER OPTION FOR TRACERS DIFFUSION", - "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS" : "PRECONDITIONING FOR DIFFUSION OF TRACERS", - "ACCURACY_FOR_DIFFUSION_OF_TRACERS" : "ACCURACY FOR DIFFUSION OF TRACERS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS" : "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS", - "VALUES_OF_THE_TRACERS_AT_THE_SOURCES" : "VALUES OF THE TRACERS AT THE SOURCES", - "VALUES_OF_TRACERS_IN_THE_RAIN" : "VALUES OF TRACERS IN THE RAIN", - "ADVECTION_OF_TRACERS" : "ADVECTION OF TRACERS", - "IMPLICITATION_COEFFICIENT_OF_TRACERS" : "IMPLICITATION COEFFICIENT OF TRACERS", - "DIFFUSION_OF_TRACERS" : "DIFFUSION OF TRACERS", - "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS" : "COEFFICIENT FOR DIFFUSION OF TRACERS", - "OPTION_FOR_THE_DIFFUSION_OF_TRACERS" : "OPTION FOR THE DIFFUSION OF TRACERS", - "SCHEME_FOR_ADVECTION_OF_TRACERS" : "SCHEME FOR ADVECTION OF TRACERS", - "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS" : "SCHEME OPTION FOR ADVECTION OF TRACERS", - "MASS_LUMPING_ON_TRACERS" : "MASS-LUMPING ON TRACERS", - "MAXIMUM_NUMBER_OF_DROGUES" : "MAXIMUM NUMBER OF DROGUES", - "INITIAL_DROGUES_SAMPLING_DENSITY" : "INITIAL DROGUES SAMPLING DENSITY", - "PRINTOUT_PERIOD_FOR_DROGUES" : "PRINTOUT PERIOD FOR DROGUES", - "ASCII_DROGUES_FILE" : "ASCII DROGUES FILE", - "BINARY_DROGUES_FILE" : "BINARY DROGUES FILE", - "DROGUES_FILE_FORMAT" : "DROGUES FILE FORMAT", - "PREVIOUS_DROGUES_FILE" : "PREVIOUS DROGUES FILE", - "PREVIOUS_DROGUES_FILE_FORMAT" : "PREVIOUS DROGUES FILE FORMAT", - "DROGUES_INITIAL_POSITIONING_DATA_FILE" : "DROGUES INITIAL POSITIONING DATA FILE", - "FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE" : "FORMAT OF THE DROGUES POSITIONING DATA FILE", - "ALGAE_TRANSPORT_MODEL" : "ALGAE TRANSPORT MODEL", - "NUMBER_OF_ALGAE_CLASSES" : "NUMBER OF ALGAE CLASSES", - "ALGAE_TYPE" : "ALGAE TYPE", - "DIAMETER_OF_ALGAE" : "DIAMETER OF ALGAE", - "DURATION_BEFORE_ALGAE_RELEASE" : "DURATION BEFORE ALGAE RELEASE", - "DENSITY_OF_ALGAE" : "DENSITY OF ALGAE", - "THICKNESS_OF_ALGAE" : "THICKNESS OF ALGAE", - "ALGAE_RELEASE_TYPE" : "ALGAE RELEASE TYPE", - "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1" : "WAVE ORBITAL VELOCITY THRESHOLD FOR ALGAE 1", - "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2" : "WAVE ORBITAL VELOCITY THRESHOLD FOR ALGAE 2", - "RATE_OF_DEGRADATION_FOR_ALGAE" : "RATE OF DEGRADATION FOR ALGAE", - "OIL_SPILL_MODEL" : "OIL SPILL MODEL", - "OIL_SPILL_STEERING_FILE" : "OIL SPILL STEERING FILE", - "STOCHASTIC_DIFFUSION_MODEL" : "STOCHASTIC DIFFUSION MODEL", - "NUMBER_OF_LAGRANGIAN_DRIFTS" : "NUMBER OF LAGRANGIAN DRIFTS", - "NUMBER_OF_WEIRS" : "NUMBER OF WEIRS", - "WEIRS_DATA_FILE" : "WEIRS DATA FILE", - "TYPE_OF_WEIRS" : "TYPE OF WEIRS", - "WEIRS_DISCHARGE_OUTPUT_FILE" : "WEIRS DISCHARGE OUTPUT FILE", - "NUMBER_OF_CULVERTS" : "NUMBER OF CULVERTS", - "CULVERTS_DATA_FILE" : "CULVERTS DATA FILE", - "OPTION_FOR_CULVERTS" : "OPTION FOR CULVERTS", - "BREACH" : "BREACH", - "BREACHES_DATA_FILE" : "BREACHES DATA FILE", - "BINARY_DATABASE_1_FOR_TIDE" : "BINARY DATABASE 1 FOR TIDE", - "BINARY_DATABASE_2_FOR_TIDE" : "BINARY DATABASE 2 FOR TIDE", - "GEOGRAPHIC_SYSTEM" : "GEOGRAPHIC SYSTEM", - "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM" : "ZONE NUMBER IN GEOGRAPHIC SYSTEM", - "LAMBERT_93_CONVERSION_FILE" : "LAMBERT 93 CONVERSION FILE", - "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL" : "COEFFICIENT TO CALIBRATE SEA LEVEL", - "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER", - "MINOR_CONSTITUENTS_INFERENCE" : "MINOR CONSTITUENTS INFERENCE", - "INITIAL_VELOCITIES_COMPUTED_BY_TPXO" : "INITIAL VELOCITIES COMPUTED BY TPXO", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS" : "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES INITIAL CONDITIONS", - "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS" : "OPTION FOR TIDAL BOUNDARY CONDITIONS", - "TIDAL_DATA_BASE" : "TIDAL DATA BASE", - "HARMONIC_CONSTANTS_FILE" : "HARMONIC CONSTANTS FILE", - "TIDAL_MODEL_FILE" : "TIDAL MODEL FILE", - "TIDAL_MODEL_FILE_FORMAT" : "TIDAL MODEL FILE FORMAT", - "ASCII_DATABASE_FOR_TIDE" : "ASCII DATABASE FOR TIDE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE" : "COEFFICIENT TO CALIBRATE TIDAL RANGE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES" : "COEFFICIENT TO CALIBRATE TIDAL VELOCITIES", - "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS" : "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES BOUNDARY CONDITIONS", - "TIDE_GENERATING_FORCE" : "TIDE GENERATING FORCE", - "COUPLING_WITH" : "COUPLING WITH", - "NAMES_OF_CLANDESTINE_VARIABLES" : "NAMES OF CLANDESTINE VARIABLES", - "DELWAQ_STEERING_FILE" : "DELWAQ STEERING FILE", - "DELWAQ_PRINTOUT_PERIOD" : "DELWAQ PRINTOUT PERIOD", - "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE" : "EXCHANGES BETWEEN NODES DELWAQ FILE", - "NODES_DISTANCES_DELWAQ_FILE" : "NODES DISTANCES DELWAQ FILE", - "BOTTOM_SURFACES_DELWAQ_FILE" : "BOTTOM SURFACES DELWAQ FILE", - "VOLUMES_DELWAQ_FILE" : "VOLUMES DELWAQ FILE", - "EXCHANGE_AREAS_DELWAQ_FILE" : "EXCHANGE AREAS DELWAQ FILE", - "VERTICAL_FLUXES_DELWAQ_FILE" : "VERTICAL FLUXES DELWAQ FILE", - "VELOCITY_DELWAQ_FILE" : "VELOCITY DELWAQ FILE", - "DIFFUSIVITY_DELWAQ_FILE" : "DIFFUSIVITY DELWAQ FILE", - "TEMPERATURE_DELWAQ_FILE" : "TEMPERATURE DELWAQ FILE", - "SALINITY_DELWAQ_FILE" : "SALINITY DELWAQ FILE", - "VELOCITY_FOR_DELWAQ" : "VELOCITY FOR DELWAQ", - "DIFFUSIVITY_FOR_DELWAQ" : "DIFFUSIVITY FOR DELWAQ", - "TEMPERATURE_FOR_DELWAQ" : "TEMPERATURE FOR DELWAQ", - "SALINITY_FOR_DELWAQ" : "SALINITY FOR DELWAQ", - "SISYPHE_STEERING_FILE" : "SISYPHE STEERING FILE", - "COUPLING_PERIOD_FOR_SISYPHE" : "COUPLING PERIOD FOR SISYPHE", - "GAIA_STEERING_FILE" : "GAIA STEERING FILE", - "TOMAWAC_STEERING_FILE" : "TOMAWAC STEERING FILE", - "COUPLING_PERIOD_FOR_TOMAWAC" : "COUPLING PERIOD FOR TOMAWAC", - "WAQTEL_STEERING_FILE" : "WAQTEL STEERING FILE", - "KHIONE_STEERING_FILE" : "KHIONE STEERING FILE", - "ICE_PROCESSES" : "ICE PROCESSES", - "NESTOR" : "NESTOR", - "NESTOR_ACTION_FILE" : "NESTOR ACTION FILE", - "NESTOR_POLYGON_FILE" : "NESTOR POLYGON FILE", - "NESTOR_SURFACE_REFERENCE_FILE" : "NESTOR SURFACE REFERENCE FILE", - "NESTOR_RESTART_FILE" : "NESTOR RESTART FILE", - "LANGUAGE" : "LANGUAGE", - "STEERING_FILE" : "STEERING FILE", - "DICTIONARY" : "DICTIONARY", - "PARTITIONING_TOOL" : "PARTITIONING TOOL", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATE PARTEL OUTPUT", -} -dicoCasEnToCata = { - "TITLE" : "TITLE", - "INITIAL CONDITIONS" : "INITIAL_CONDITIONS", - "INITIAL ELEVATION" : "INITIAL_ELEVATION", - "INITIAL DEPTH" : "INITIAL_DEPTH", - "BINARY DATA FILE 1 FORMAT" : "BINARY_DATA_FILE_1_FORMAT", - "BINARY DATA FILE 1" : "BINARY_DATA_FILE_1", - "BINARY DATA FILE 2 FORMAT" : "BINARY_DATA_FILE_2_FORMAT", - "BINARY DATA FILE 2" : "BINARY_DATA_FILE_2", - "FORMATTED DATA FILE 1" : "FORMATTED_DATA_FILE_1", - "FORMATTED DATA FILE 2" : "FORMATTED_DATA_FILE_2", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "FORTRAN FILE" : "FORTRAN_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "BOTTOM SMOOTHINGS" : "BOTTOM_SMOOTHINGS", - "BOTTOM SMOOTHINGS AFTER USER MODIFICATIONS" : "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "VALIDATION" : "VALIDATION", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "REFERENCE FILE" : "REFERENCE_FILE", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "MAXIMUM NUMBER OF BOUNDARIES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "MAXIMUM NUMBER OF SOURCES" : "MAXIMUM_NUMBER_OF_SOURCES", - "MAXIMUM NUMBER OF TRACERS" : "MAXIMUM_NUMBER_OF_TRACERS", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "SECURITY COEFFICIENT FOR SCARACT" : "SECURITY_COEFFICIENT_FOR_SCARACT", - "COMPUTATION CONTINUED" : "COMPUTATION_CONTINUED", - "PREVIOUS COMPUTATION FILE FORMAT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "PREVIOUS COMPUTATION FILE" : "PREVIOUS_COMPUTATION_FILE", - "RECORD NUMBER FOR RESTART" : "RECORD_NUMBER_FOR_RESTART", - "INITIAL TIME SET TO ZERO" : "INITIAL_TIME_SET_TO_ZERO", - "NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS" : "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "GRAPHIC PRINTOUT PERIOD" : "GRAPHIC_PRINTOUT_PERIOD", - "VARIABLES FOR GRAPHIC PRINTOUTS" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NUMBER OF PRIVATE ARRAYS" : "NUMBER_OF_PRIVATE_ARRAYS", - "NAMES OF PRIVATE VARIABLES" : "NAMES_OF_PRIVATE_VARIABLES", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "RESULTS FILE" : "RESULTS_FILE", - "RESULT FILE IN LONGITUDE-LATITUDE" : "RESULT_FILE_IN_LONGITUDE_LATITUDE", - "BINARY RESULTS FILE FORMAT" : "BINARY_RESULTS_FILE_FORMAT", - "BINARY RESULTS FILE" : "BINARY_RESULTS_FILE", - "FORMATTED RESULTS FILE" : "FORMATTED_RESULTS_FILE", - "CONTROL SECTIONS" : "CONTROL_SECTIONS", - "PRINTING CUMULATED FLOWRATES" : "PRINTING_CUMULATED_FLOWRATES", - "COMPATIBLE COMPUTATION OF FLUXES" : "COMPATIBLE_COMPUTATION_OF_FLUXES", - "SECTIONS INPUT FILE" : "SECTIONS_INPUT_FILE", - "SECTIONS OUTPUT FILE" : "SECTIONS_OUTPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "FLUXLINE INPUT FILE" : "FLUXLINE_INPUT_FILE", - "NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS" : "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "LISTING FOR PRINTOUT PERIOD" : "LISTING_FOR_PRINTOUT_PERIOD", - "LISTING PRINTOUT" : "LISTING_PRINTOUT", - "VARIABLES TO BE PRINTED" : "VARIABLES_TO_BE_PRINTED", - "MASS-BALANCE" : "MASS_BALANCE", - "INFORMATION ABOUT SOLVER" : "INFORMATION_ABOUT_SOLVER", - "LIST OF POINTS" : "LIST_OF_POINTS", - "NAMES OF POINTS" : "NAMES_OF_POINTS", - "FOURIER ANALYSIS PERIODS" : "FOURIER_ANALYSIS_PERIODS", - "TIME RANGE FOR FOURIER ANALYSIS" : "TIME_RANGE_FOR_FOURIER_ANALYSIS", - "PRESCRIBED ELEVATIONS" : "PRESCRIBED_ELEVATIONS", - "PRESCRIBED FLOWRATES" : "PRESCRIBED_FLOWRATES", - "PRESCRIBED VELOCITIES" : "PRESCRIBED_VELOCITIES", - "STAGE-DISCHARGE CURVES" : "STAGE_DISCHARGE_CURVES", - "STAGE-DISCHARGE CURVES FILE" : "STAGE_DISCHARGE_CURVES_FILE", - "VELOCITY PROFILES" : "VELOCITY_PROFILES", - "OPTION FOR LIQUID BOUNDARIES" : "OPTION_FOR_LIQUID_BOUNDARIES", - "LIQUID BOUNDARIES FILE" : "LIQUID_BOUNDARIES_FILE", - "ELEMENTS MASKED BY USER" : "ELEMENTS_MASKED_BY_USER", - "MAXIMUM NUMBER OF FRICTION DOMAINS" : "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS", - "FRICTION DATA" : "FRICTION_DATA", - "FRICTION DATA FILE" : "FRICTION_DATA_FILE", - "LAW OF BOTTOM FRICTION" : "LAW_OF_BOTTOM_FRICTION", - "FRICTION COEFFICIENT" : "FRICTION_COEFFICIENT", - "MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW" : "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW", - "DEPTH IN FRICTION TERMS" : "DEPTH_IN_FRICTION_TERMS", - "VEGETATION FRICTION" : "VEGETATION_FRICTION", - "LAW OF FRICTION ON LATERAL BOUNDARIES" : "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "ROUGHNESS COEFFICIENT OF BOUNDARIES" : "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES", - "DEFINITION OF ZONES" : "DEFINITION_OF_ZONES", - "ZONES FILE" : "ZONES_FILE", - "WIND" : "WIND", - "OPTION FOR WIND" : "OPTION_FOR_WIND", - "COEFFICIENT OF WIND INFLUENCE" : "COEFFICIENT_OF_WIND_INFLUENCE", - "COEFFICIENT OF WIND INFLUENCE VARYING WITH WIND SPEED" : "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED", - "WIND VELOCITY ALONG X" : "WIND_VELOCITY_ALONG_X", - "WIND VELOCITY ALONG Y" : "WIND_VELOCITY_ALONG_Y", - "SPEED AND DIRECTION OF WIND" : "SPEED_AND_DIRECTION_OF_WIND", - "THRESHOLD DEPTH FOR WIND" : "THRESHOLD_DEPTH_FOR_WIND", - "AIR PRESSURE" : "AIR_PRESSURE", - "VALUE OF ATMOSPHERIC PRESSURE" : "VALUE_OF_ATMOSPHERIC_PRESSURE", - "RAIN OR EVAPORATION" : "RAIN_OR_EVAPORATION", - "RAIN OR EVAPORATION IN MM PER DAY" : "RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "RAINFALL-RUNOFF MODEL" : "RAINFALL_RUNOFF_MODEL", - "ANTECEDENT MOISTURE CONDITIONS" : "ANTECEDENT_MOISTURE_CONDITIONS", - "DURATION OF RAIN OR EVAPORATION IN HOURS" : "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS", - "ASCII ATMOSPHERIC DATA FILE" : "ASCII_ATMOSPHERIC_DATA_FILE", - "BINARY ATMOSPHERIC DATA FILE" : "BINARY_ATMOSPHERIC_DATA_FILE", - "BINARY ATMOSPHERIC DATA FILE FORMAT" : "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "OPTION FOR INITIAL ABSTRACTION RATIO" : "OPTION_FOR_INITIAL_ABSTRACTION_RATIO", - "AIR TEMPERATURE" : "AIR_TEMPERATURE", - "CLOUD COVER" : "CLOUD_COVER", - "SOLAR RADIATION" : "SOLAR_RADIATION", - "VAPOROUS PRESSURE" : "VAPOROUS_PRESSURE", - "WAVE DRIVEN CURRENTS" : "WAVE_DRIVEN_CURRENTS", - "RECORD NUMBER IN WAVE FILE" : "RECORD_NUMBER_IN_WAVE_FILE", - "WAVE ENHANCED FRICTION FACTOR" : "WAVE_ENHANCED_FRICTION_FACTOR", - "PARAMETER ESTIMATION" : "PARAMETER_ESTIMATION", - "COST FUNCTION" : "COST_FUNCTION", - "IDENTIFICATION METHOD" : "IDENTIFICATION_METHOD", - "TOLERANCES FOR IDENTIFICATION" : "TOLERANCES_FOR_IDENTIFICATION", - "MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION", - "ABSCISSAE OF SOURCES" : "ABSCISSAE_OF_SOURCES", - "ORDINATES OF SOURCES" : "ORDINATES_OF_SOURCES", - "WATER DISCHARGE OF SOURCES" : "WATER_DISCHARGE_OF_SOURCES", - "VELOCITIES OF THE SOURCES ALONG X" : "VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VELOCITIES OF THE SOURCES ALONG Y" : "VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "TYPE OF SOURCES" : "TYPE_OF_SOURCES", - "SOURCES FILE" : "SOURCES_FILE", - "GLOBAL NUMBERS OF SOURCE NODES" : "GLOBAL_NUMBERS_OF_SOURCE_NODES", - "SOURCE REGIONS DATA FILE" : "SOURCE_REGIONS_DATA_FILE", - "MAXIMUM NUMBER OF POINTS FOR SOURCES REGIONS" : "MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS", - "WATER QUALITY PROCESS" : "WATER_QUALITY_PROCESS", - "WATER DENSITY" : "WATER_DENSITY", - "GRAVITY ACCELERATION" : "GRAVITY_ACCELERATION", - "VERTICAL STRUCTURES" : "VERTICAL_STRUCTURES", - "EQUATIONS" : "EQUATIONS", - "TREATMENT OF THE LINEAR SYSTEM" : "TREATMENT_OF_THE_LINEAR_SYSTEM", - "FINITE VOLUME SCHEME" : "FINITE_VOLUME_SCHEME", - "FINITE VOLUME SCHEME SPACE ORDER" : "FINITE_VOLUME_SCHEME_SPACE_ORDER", - "FINITE VOLUME SCHEME TIME ORDER" : "FINITE_VOLUME_SCHEME_TIME_ORDER", - "FLUX LIMITOR FOR H PLUS Z" : "FLUX_LIMITOR_FOR_H_PLUS_Z", - "FLUX LIMITOR FOR U AND V" : "FLUX_LIMITOR_FOR_U_AND_V", - "FLUX LIMITOR FOR TRACERS" : "FLUX_LIMITOR_FOR_TRACERS", - "TYPE OF BOUNDARY CONDITION FOR KINETIC SCHEME" : "TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS COEFFICIENT" : "CORIOLIS_COEFFICIENT", - "OPTION FOR TSUNAMI GENERATION" : "OPTION_FOR_TSUNAMI_GENERATION", - "PHYSICAL CHARACTERISTICS OF THE TSUNAMI" : "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI", - "SECONDARY CURRENTS" : "SECONDARY_CURRENTS", - "PRODUCTION COEFFICIENT FOR SECONDARY CURRENTS" : "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DISSIPATION COEFFICIENT FOR SECONDARY CURRENTS" : "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DEBUGGER" : "DEBUGGER", - "TIME STEP" : "TIME_STEP", - "NUMBER OF TIME STEPS" : "NUMBER_OF_TIME_STEPS", - "DURATION" : "DURATION", - "ORIGINAL DATE OF TIME" : "ORIGINAL_DATE_OF_TIME", - "ORIGINAL HOUR OF TIME" : "ORIGINAL_HOUR_OF_TIME", - "STOP IF A STEADY STATE IS REACHED" : "STOP_IF_A_STEADY_STATE_IS_REACHED", - "STOP CRITERIA" : "STOP_CRITERIA", - "CONTROL OF LIMITS" : "CONTROL_OF_LIMITS", - "LIMIT VALUES" : "LIMIT_VALUES", - "VARIABLE TIME-STEP" : "VARIABLE_TIME_STEP", - "DESIRED COURANT NUMBER" : "DESIRED_COURANT_NUMBER", - "SPHERICAL COORDINATES" : "SPHERICAL_COORDINATES", - "LATITUDE OF ORIGIN POINT" : "LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE OF ORIGIN POINT" : "LONGITUDE_OF_ORIGIN_POINT", - "NORTH" : "NORTH", - "SPATIAL PROJECTION TYPE" : "SPATIAL_PROJECTION_TYPE", - "SOLVER" : "SOLVER", - "SOLVER OPTION" : "SOLVER_OPTION", - "SOLVER ACCURACY" : "SOLVER_ACCURACY", - "MAXIMUM NUMBER OF ITERATIONS FOR SOLVER" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "CONTINUITY CORRECTION" : "CONTINUITY_CORRECTION", - "PRECONDITIONING" : "PRECONDITIONING", - "C-U PRECONDITIONING" : "C_U_PRECONDITIONING", - "FINITE ELEMENT ASSEMBLY" : "FINITE_ELEMENT_ASSEMBLY", - "IMPLICITATION FOR DEPTH" : "IMPLICITATION_FOR_DEPTH", - "IMPLICITATION FOR VELOCITY" : "IMPLICITATION_FOR_VELOCITY", - "DISCRETIZATIONS IN SPACE" : "DISCRETIZATIONS_IN_SPACE", - "PROPAGATION" : "PROPAGATION", - "INITIAL GUESS FOR H" : "INITIAL_GUESS_FOR_H", - "LINEARIZED PROPAGATION" : "LINEARIZED_PROPAGATION", - "INITIAL GUESS FOR U" : "INITIAL_GUESS_FOR_U", - "MEAN DEPTH FOR LINEARIZATION" : "MEAN_DEPTH_FOR_LINEARIZATION", - "ADVECTION" : "ADVECTION", - "ADVECTION OF H" : "ADVECTION_OF_H", - "ADVECTION OF U AND V" : "ADVECTION_OF_U_AND_V", - "TYPE OF ADVECTION" : "TYPE_OF_ADVECTION", - "OPTION FOR CHARACTERISTICS" : "OPTION_FOR_CHARACTERISTICS", - "SUPG OPTION" : "SUPG_OPTION", - "NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS" : "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING FOR WEAK CHARACTERISTICS" : "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "MASS-LUMPING ON H" : "MASS_LUMPING_ON_H", - "MASS-LUMPING ON VELOCITY" : "MASS_LUMPING_ON_VELOCITY", - "SCHEME FOR ADVECTION OF VELOCITIES" : "SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "SCHEME OPTION FOR ADVECTION OF VELOCITIES" : "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "FREE SURFACE GRADIENT COMPATIBILITY" : "FREE_SURFACE_GRADIENT_COMPATIBILITY", - "NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES" : "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "TREATMENT OF FLUXES AT THE BOUNDARIES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "DIFFUSION OF VELOCITY" : "DIFFUSION_OF_VELOCITY", - "OPTION FOR THE DIFFUSION OF VELOCITIES" : "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION FOR DIFFUSION OF VELOCITY" : "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY", - "AD NUMBER OF DERIVATIVES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NAMES OF DERIVATIVES" : "AD_NAMES_OF_DERIVATIVES", - "AD SYMBOLIC LINEAR SOLVER" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD LINEAR SOLVER RESET DERIVATIVES" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD LINEAR SOLVER DERIVATIVE CONVERGENCE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "MATRIX STORAGE" : "MATRIX_STORAGE", - "MATRIX-VECTOR PRODUCT" : "MATRIX_VECTOR_PRODUCT", - "NEWMARK TIME INTEGRATION COEFFICIENT" : "NEWMARK_TIME_INTEGRATION_COEFFICIENT", - "ZERO" : "ZERO", - "OPTION OF THE HYDROSTATIC RECONSTRUCTION" : "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION", - "CONVERGENCE STUDY" : "CONVERGENCE_STUDY", - "REFINEMENT LEVELS" : "REFINEMENT_LEVELS", - "VELOCITY DIFFUSIVITY" : "VELOCITY_DIFFUSIVITY", - "TURBULENCE MODEL" : "TURBULENCE_MODEL", - "ACCURACY OF SPALART-ALLMARAS" : "ACCURACY_OF_SPALART_ALLMARAS", - "INFORMATION ABOUT SPALART-ALLMARAS MODEL" : "INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL", - "SOLVER FOR K-EPSILON MODEL" : "SOLVER_FOR_K_EPSILON_MODEL", - "OPTION FOR THE SOLVER FOR K-EPSILON MODEL" : "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL", - "PRECONDITIONING FOR K-EPSILON MODEL" : "PRECONDITIONING_FOR_K_EPSILON_MODEL", - "NON-DIMENSIONAL DISPERSION COEFFICIENTS" : "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS", - "TURBULENCE REGIME FOR SOLID BOUNDARIES" : "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES", - "INFORMATION ABOUT K-EPSILON MODEL" : "INFORMATION_ABOUT_K_EPSILON_MODEL", - "ADVECTION OF K AND EPSILON" : "ADVECTION_OF_K_AND_EPSILON", - "SCHEME FOR ADVECTION OF K-EPSILON" : "SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "SCHEME OPTION FOR ADVECTION OF K-EPSILON" : "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "MIXING LENGTH MODEL COEFFICIENTS" : "MIXING_LENGTH_MODEL_COEFFICIENTS", - "ACCURACY OF K" : "ACCURACY_OF_K", - "ACCURACY OF EPSILON" : "ACCURACY_OF_EPSILON", - "MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON", - "TIDAL FLATS" : "TIDAL_FLATS", - "OPTION FOR THE TREATMENT OF TIDAL FLATS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TREATMENT OF NEGATIVE DEPTHS" : "TREATMENT_OF_NEGATIVE_DEPTHS", - "THRESHOLD FOR NEGATIVE DEPTHS" : "THRESHOLD_FOR_NEGATIVE_DEPTHS", - "THRESHOLD DEPTH FOR RECEDING PROCEDURE" : "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE", - "H CLIPPING" : "H_CLIPPING", - "MINIMUM VALUE OF DEPTH" : "MINIMUM_VALUE_OF_DEPTH", - "PRESCRIBED TRACERS VALUES" : "PRESCRIBED_TRACERS_VALUES", - "NUMBER OF TRACERS" : "NUMBER_OF_TRACERS", - "NAMES OF TRACERS" : "NAMES_OF_TRACERS", - "INITIAL VALUES OF TRACERS" : "INITIAL_VALUES_OF_TRACERS", - "DENSITY EFFECTS" : "DENSITY_EFFECTS", - "MEAN TEMPERATURE" : "MEAN_TEMPERATURE", - "SOLVER FOR DIFFUSION OF TRACERS" : "SOLVER_FOR_DIFFUSION_OF_TRACERS", - "SOLVER OPTION FOR TRACERS DIFFUSION" : "SOLVER_OPTION_FOR_TRACERS_DIFFUSION", - "PRECONDITIONING FOR DIFFUSION OF TRACERS" : "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "ACCURACY FOR DIFFUSION OF TRACERS" : "ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "VALUES OF THE TRACERS AT THE SOURCES" : "VALUES_OF_THE_TRACERS_AT_THE_SOURCES", - "VALUES OF TRACERS IN THE RAIN" : "VALUES_OF_TRACERS_IN_THE_RAIN", - "ADVECTION OF TRACERS" : "ADVECTION_OF_TRACERS", - "IMPLICITATION COEFFICIENT OF TRACERS" : "IMPLICITATION_COEFFICIENT_OF_TRACERS", - "DIFFUSION OF TRACERS" : "DIFFUSION_OF_TRACERS", - "COEFFICIENT FOR DIFFUSION OF TRACERS" : "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS", - "OPTION FOR THE DIFFUSION OF TRACERS" : "OPTION_FOR_THE_DIFFUSION_OF_TRACERS", - "SCHEME FOR ADVECTION OF TRACERS" : "SCHEME_FOR_ADVECTION_OF_TRACERS", - "SCHEME OPTION FOR ADVECTION OF TRACERS" : "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "MASS-LUMPING ON TRACERS" : "MASS_LUMPING_ON_TRACERS", - "MAXIMUM NUMBER OF DROGUES" : "MAXIMUM_NUMBER_OF_DROGUES", - "INITIAL DROGUES SAMPLING DENSITY" : "INITIAL_DROGUES_SAMPLING_DENSITY", - "PRINTOUT PERIOD FOR DROGUES" : "PRINTOUT_PERIOD_FOR_DROGUES", - "ASCII DROGUES FILE" : "ASCII_DROGUES_FILE", - "BINARY DROGUES FILE" : "BINARY_DROGUES_FILE", - "DROGUES FILE FORMAT" : "DROGUES_FILE_FORMAT", - "PREVIOUS DROGUES FILE" : "PREVIOUS_DROGUES_FILE", - "PREVIOUS DROGUES FILE FORMAT" : "PREVIOUS_DROGUES_FILE_FORMAT", - "DROGUES INITIAL POSITIONING DATA FILE" : "DROGUES_INITIAL_POSITIONING_DATA_FILE", - "FORMAT OF THE DROGUES POSITIONING DATA FILE" : "FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE", - "ALGAE TRANSPORT MODEL" : "ALGAE_TRANSPORT_MODEL", - "NUMBER OF ALGAE CLASSES" : "NUMBER_OF_ALGAE_CLASSES", - "ALGAE TYPE" : "ALGAE_TYPE", - "DIAMETER OF ALGAE" : "DIAMETER_OF_ALGAE", - "DURATION BEFORE ALGAE RELEASE" : "DURATION_BEFORE_ALGAE_RELEASE", - "DENSITY OF ALGAE" : "DENSITY_OF_ALGAE", - "THICKNESS OF ALGAE" : "THICKNESS_OF_ALGAE", - "ALGAE RELEASE TYPE" : "ALGAE_RELEASE_TYPE", - "WAVE ORBITAL VELOCITY THRESHOLD FOR ALGAE 1" : "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1", - "WAVE ORBITAL VELOCITY THRESHOLD FOR ALGAE 2" : "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2", - "RATE OF DEGRADATION FOR ALGAE" : "RATE_OF_DEGRADATION_FOR_ALGAE", - "OIL SPILL MODEL" : "OIL_SPILL_MODEL", - "OIL SPILL STEERING FILE" : "OIL_SPILL_STEERING_FILE", - "STOCHASTIC DIFFUSION MODEL" : "STOCHASTIC_DIFFUSION_MODEL", - "NUMBER OF LAGRANGIAN DRIFTS" : "NUMBER_OF_LAGRANGIAN_DRIFTS", - "NUMBER OF WEIRS" : "NUMBER_OF_WEIRS", - "WEIRS DATA FILE" : "WEIRS_DATA_FILE", - "TYPE OF WEIRS" : "TYPE_OF_WEIRS", - "WEIRS DISCHARGE OUTPUT FILE" : "WEIRS_DISCHARGE_OUTPUT_FILE", - "NUMBER OF CULVERTS" : "NUMBER_OF_CULVERTS", - "CULVERTS DATA FILE" : "CULVERTS_DATA_FILE", - "OPTION FOR CULVERTS" : "OPTION_FOR_CULVERTS", - "BREACH" : "BREACH", - "BREACHES DATA FILE" : "BREACHES_DATA_FILE", - "BINARY DATABASE 1 FOR TIDE" : "BINARY_DATABASE_1_FOR_TIDE", - "BINARY DATABASE 2 FOR TIDE" : "BINARY_DATABASE_2_FOR_TIDE", - "GEOGRAPHIC SYSTEM" : "GEOGRAPHIC_SYSTEM", - "ZONE NUMBER IN GEOGRAPHIC SYSTEM" : "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "LAMBERT 93 CONVERSION FILE" : "LAMBERT_93_CONVERSION_FILE", - "COEFFICIENT TO CALIBRATE SEA LEVEL" : "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER" : "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "MINOR CONSTITUENTS INFERENCE" : "MINOR_CONSTITUENTS_INFERENCE", - "INITIAL VELOCITIES COMPUTED BY TPXO" : "INITIAL_VELOCITIES_COMPUTED_BY_TPXO", - "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES INITIAL CONDITIONS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS", - "OPTION FOR TIDAL BOUNDARY CONDITIONS" : "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "TIDAL DATA BASE" : "TIDAL_DATA_BASE", - "HARMONIC CONSTANTS FILE" : "HARMONIC_CONSTANTS_FILE", - "TIDAL MODEL FILE" : "TIDAL_MODEL_FILE", - "TIDAL MODEL FILE FORMAT" : "TIDAL_MODEL_FILE_FORMAT", - "ASCII DATABASE FOR TIDE" : "ASCII_DATABASE_FOR_TIDE", - "COEFFICIENT TO CALIBRATE TIDAL RANGE" : "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT TO CALIBRATE TIDAL VELOCITIES" : "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER" : "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES BOUNDARY CONDITIONS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS", - "TIDE GENERATING FORCE" : "TIDE_GENERATING_FORCE", - "COUPLING WITH" : "COUPLING_WITH", - "NAMES OF CLANDESTINE VARIABLES" : "NAMES_OF_CLANDESTINE_VARIABLES", - "DELWAQ STEERING FILE" : "DELWAQ_STEERING_FILE", - "DELWAQ PRINTOUT PERIOD" : "DELWAQ_PRINTOUT_PERIOD", - "EXCHANGES BETWEEN NODES DELWAQ FILE" : "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "NODES DISTANCES DELWAQ FILE" : "NODES_DISTANCES_DELWAQ_FILE", - "BOTTOM SURFACES DELWAQ FILE" : "BOTTOM_SURFACES_DELWAQ_FILE", - "VOLUMES DELWAQ FILE" : "VOLUMES_DELWAQ_FILE", - "EXCHANGE AREAS DELWAQ FILE" : "EXCHANGE_AREAS_DELWAQ_FILE", - "VERTICAL FLUXES DELWAQ FILE" : "VERTICAL_FLUXES_DELWAQ_FILE", - "VELOCITY DELWAQ FILE" : "VELOCITY_DELWAQ_FILE", - "DIFFUSIVITY DELWAQ FILE" : "DIFFUSIVITY_DELWAQ_FILE", - "TEMPERATURE DELWAQ FILE" : "TEMPERATURE_DELWAQ_FILE", - "SALINITY DELWAQ FILE" : "SALINITY_DELWAQ_FILE", - "VELOCITY FOR DELWAQ" : "VELOCITY_FOR_DELWAQ", - "DIFFUSIVITY FOR DELWAQ" : "DIFFUSIVITY_FOR_DELWAQ", - "TEMPERATURE FOR DELWAQ" : "TEMPERATURE_FOR_DELWAQ", - "SALINITY FOR DELWAQ" : "SALINITY_FOR_DELWAQ", - "SISYPHE STEERING FILE" : "SISYPHE_STEERING_FILE", - "COUPLING PERIOD FOR SISYPHE" : "COUPLING_PERIOD_FOR_SISYPHE", - "GAIA STEERING FILE" : "GAIA_STEERING_FILE", - "TOMAWAC STEERING FILE" : "TOMAWAC_STEERING_FILE", - "COUPLING PERIOD FOR TOMAWAC" : "COUPLING_PERIOD_FOR_TOMAWAC", - "WAQTEL STEERING FILE" : "WAQTEL_STEERING_FILE", - "KHIONE STEERING FILE" : "KHIONE_STEERING_FILE", - "ICE PROCESSES" : "ICE_PROCESSES", - "NESTOR" : "NESTOR", - "NESTOR ACTION FILE" : "NESTOR_ACTION_FILE", - "NESTOR POLYGON FILE" : "NESTOR_POLYGON_FILE", - "NESTOR SURFACE REFERENCE FILE" : "NESTOR_SURFACE_REFERENCE_FILE", - "NESTOR RESTART FILE" : "NESTOR_RESTART_FILE", - "LANGUAGE" : "LANGUAGE", - "STEERING FILE" : "STEERING_FILE", - "DICTIONARY" : "DICTIONARY", - "PARTITIONING TOOL" : "PARTITIONING_TOOL", - "CONCATENATE PARTEL OUTPUT" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/telemac2d_dicoCasFrToCata.py b/Telemac/telemac2d_dicoCasFrToCata.py deleted file mode 100644 index 83aeecdb..00000000 --- a/Telemac/telemac2d_dicoCasFrToCata.py +++ /dev/null @@ -1,694 +0,0 @@ -dicoCataToFrTelemac = { - "TITLE" : "TITRE", - "INITIAL_CONDITIONS" : "CONDITIONS INITIALES", - "INITIAL_ELEVATION" : "COTE INITIALE", - "INITIAL_DEPTH" : "HAUTEUR INITIALE", - "BINARY_DATA_FILE_1_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_1" : "FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_2_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 2", - "BINARY_DATA_FILE_2" : "FICHIER DE DONNEES BINAIRE 2", - "FORMATTED_DATA_FILE_1" : "FICHIER DE DONNEES FORMATE 1", - "FORMATTED_DATA_FILE_2" : "FICHIER DE DONNEES FORMATE 2", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "BOTTOM_SMOOTHINGS" : "LISSAGES DU FOND", - "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS" : "LISSAGES DU FOND APRES MODIFICATIONS UTILISATEUR", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "NOMBRE MAXIMUM DE FRONTIERES", - "MAXIMUM_NUMBER_OF_SOURCES" : "NOMBRE MAXIMUM DE SOURCES", - "MAXIMUM_NUMBER_OF_TRACERS" : "NOMBRE MAXIMUM DE TRACEURS", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "SECURITY_COEFFICIENT_FOR_SCARACT" : "COEFFICIENT DE SECURITE POUR SCARACT", - "COMPUTATION_CONTINUED" : "SUITE DE CALCUL", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER DU CALCUL PRECEDENT", - "PREVIOUS_COMPUTATION_FILE" : "FICHIER DU CALCUL PRECEDENT", - "RECORD_NUMBER_FOR_RESTART" : "ENREGISTREMENT POUR SUITE DE CALCUL", - "INITIAL_TIME_SET_TO_ZERO" : "REMISE A ZERO DU TEMPS", - "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS" : "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES", - "GRAPHIC_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES GRAPHIQUES", - "VARIABLES_FOR_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES", - "NUMBER_OF_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES", - "NAMES_OF_PRIVATE_VARIABLES" : "NOMS DES VARIABLES PRIVEES", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "RESULT_FILE_IN_LONGITUDE_LATITUDE" : "FICHIER RESULTAT EN LONGITUDE-LATITUDE", - "BINARY_RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DE RESULTATS BINAIRE", - "BINARY_RESULTS_FILE" : "FICHIER DE RESULTATS BINAIRE", - "FORMATTED_RESULTS_FILE" : "FICHIER DE RESULTATS FORMATE", - "CONTROL_SECTIONS" : "SECTIONS DE CONTROLE", - "PRINTING_CUMULATED_FLOWRATES" : "IMPRESSION DU CUMUL DES FLUX", - "COMPATIBLE_COMPUTATION_OF_FLUXES" : "CALCUL COMPATIBLE DES FLUX", - "SECTIONS_INPUT_FILE" : "FICHIER DES SECTIONS DE CONTROLE", - "SECTIONS_OUTPUT_FILE" : "FICHIER DE SORTIE DES SECTIONS DE CONTROLE", - "FLUXLINE" : "FLUXLINE", - "FLUXLINE_INPUT_FILE" : "FICHIER DE FLUXLINE", - "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS" : "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING", - "LISTING_PRINTOUT_PERIOD" : "PERIODE DE SORTIE LISTING", - "LISTING_FOR_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES LISTING", - "LISTING_PRINTOUT" : "SORTIE LISTING", - "VARIABLES_TO_BE_PRINTED" : "VARIABLES A IMPRIMER", - "MASS_BALANCE" : "BILAN DE MASSE", - "INFORMATION_ABOUT_SOLVER" : "INFORMATIONS SUR LE SOLVEUR", - "LIST_OF_POINTS" : "LISTE DE POINTS", - "NAMES_OF_POINTS" : "NOMS DES POINTS", - "FOURIER_ANALYSIS_PERIODS" : "PERIODES D'ANALYSE DE FOURIER", - "TIME_RANGE_FOR_FOURIER_ANALYSIS" : "BORNES EN TEMPS POUR L'ANALYSE DE FOURIER", - "PRESCRIBED_ELEVATIONS" : "COTES IMPOSEES", - "PRESCRIBED_FLOWRATES" : "DEBITS IMPOSES", - "PRESCRIBED_VELOCITIES" : "VITESSES IMPOSEES", - "STAGE_DISCHARGE_CURVES" : "COURBES DE TARAGE", - "STAGE_DISCHARGE_CURVES_FILE" : "FICHIER DES COURBES DE TARAGE", - "VELOCITY_PROFILES" : "PROFILS DE VITESSE", - "OPTION_FOR_LIQUID_BOUNDARIES" : "OPTION POUR LES FRONTIERES LIQUIDES", - "LIQUID_BOUNDARIES_FILE" : "FICHIER DES FRONTIERES LIQUIDES", - "ELEMENTS_MASKED_BY_USER" : "ELEMENTS MASQUES PAR L'UTILISATEUR", - "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS" : "NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT", - "FRICTION_DATA" : "DONNEES POUR LE FROTTEMENT", - "FRICTION_DATA_FILE" : "FICHIER DE DONNEES POUR LE FROTTEMENT", - "LAW_OF_BOTTOM_FRICTION" : "LOI DE FROTTEMENT SUR LE FOND", - "FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT", - "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW" : "VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE", - "DEPTH_IN_FRICTION_TERMS" : "HAUTEUR DANS LES TERMES DE FROTTEMENT", - "VEGETATION_FRICTION" : "FROTTEMENT POUR LA VEGETATION", - "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES" : "LOI DE FROTTEMENT SUR LES PAROIS LATERALES", - "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES" : "COEFFICIENT DE RUGOSITE DES BORDS", - "DEFINITION_OF_ZONES" : "DEFINITION DE ZONES", - "ZONES_FILE" : "FICHIER DES ZONES", - "WIND" : "VENT", - "OPTION_FOR_WIND" : "OPTION DU VENT", - "COEFFICIENT_OF_WIND_INFLUENCE" : "COEFFICIENT D'INFLUENCE DU VENT", - "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED" : "COEFFICIENT D'INFLUENCE DU VENT DEPENDANT DE LA VITESSE DU VENT", - "WIND_VELOCITY_ALONG_X" : "VITESSE DU VENT SUIVANT X", - "WIND_VELOCITY_ALONG_Y" : "VITESSE DU VENT SUIVANT Y", - "SPEED_AND_DIRECTION_OF_WIND" : "VITESSE ET DIRECTION DU VENT", - "THRESHOLD_DEPTH_FOR_WIND" : "PROFONDEUR LIMITE POUR LE VENT", - "AIR_PRESSURE" : "PRESSION ATMOSPHERIQUE", - "VALUE_OF_ATMOSPHERIC_PRESSURE" : "VALEUR DE LA PRESSION ATMOSPHERIQUE", - "RAIN_OR_EVAPORATION" : "PLUIE OU EVAPORATION", - "RAIN_OR_EVAPORATION_IN_MM_PER_DAY" : "PLUIE OU EVAPORATION EN MM PAR JOUR", - "RAINFALL_RUNOFF_MODEL" : "MODELE PLUIE-DEBIT", - "ANTECEDENT_MOISTURE_CONDITIONS" : "CONDITIONS D'HUMIDITE PRECEDENTE", - "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS" : "DUREE DE LA PLUIE OU EVAPORATION EN HEURES", - "ASCII_ATMOSPHERIC_DATA_FILE" : "FICHIER ASCII DE DONNEES ATMOSPHERIQUES", - "BINARY_ATMOSPHERIC_DATA_FILE" : "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES", - "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT" : "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES", - "OPTION_FOR_INITIAL_ABSTRACTION_RATIO" : "OPTION POUR RATIO DES PERTES INITIALES", - "AIR_TEMPERATURE" : "TEMPERATURE DE L'AIR", - "CLOUD_COVER" : "NEBULOSITE", - "SOLAR_RADIATION" : "RAYONNEMENT SOLAIRE", - "VAPOROUS_PRESSURE" : "PRESSION DE VAPEUR SATURANTE", - "WAVE_DRIVEN_CURRENTS" : "COURANTS DE HOULE", - "RECORD_NUMBER_IN_WAVE_FILE" : "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE", - "WAVE_ENHANCED_FRICTION_FACTOR" : "AUGMENTATION DU FROTTEMENT PAR LA HOULE", - "PARAMETER_ESTIMATION" : "ESTIMATION DE PARAMETRE", - "COST_FUNCTION" : "FONCTION COUT", - "IDENTIFICATION_METHOD" : "METHODE D'IDENTIFICATION", - "TOLERANCES_FOR_IDENTIFICATION" : "PRECISIONS POUR L'IDENTIFICATION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION" : "MAXIMUM D'ITERATIONS POUR L'IDENTIFICATION", - "ABSCISSAE_OF_SOURCES" : "ABSCISSES DES SOURCES", - "ORDINATES_OF_SOURCES" : "ORDONNEES DES SOURCES", - "WATER_DISCHARGE_OF_SOURCES" : "DEBITS DES SOURCES", - "VELOCITIES_OF_THE_SOURCES_ALONG_X" : "VITESSES DES SOURCES SELON X", - "VELOCITIES_OF_THE_SOURCES_ALONG_Y" : "VITESSES DES SOURCES SELON Y", - "TYPE_OF_SOURCES" : "TYPE DES SOURCES", - "SOURCES_FILE" : "FICHIER DES SOURCES", - "GLOBAL_NUMBERS_OF_SOURCE_NODES" : "NUMEROS GLOBAUX DES NOEUDS DES SOURCES", - "SOURCE_REGIONS_DATA_FILE" : "FICHIER DES REGIONS DES SOURCES", - "MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS" : "NOMBRE MAXIMUM DE POINTS POUR DEFINIR DES SOURCES", - "WATER_QUALITY_PROCESS" : "PROCESSUS QUALITE D'EAU", - "WATER_DENSITY" : "MASSE VOLUMIQUE DE L'EAU", - "GRAVITY_ACCELERATION" : "ACCELERATION DE LA PESANTEUR", - "VERTICAL_STRUCTURES" : "STRUCTURES VERTICALES", - "EQUATIONS" : "EQUATIONS", - "TREATMENT_OF_THE_LINEAR_SYSTEM" : "TRAITEMENT DU SYSTEME LINEAIRE", - "FINITE_VOLUME_SCHEME" : "SCHEMA EN VOLUMES FINIS", - "FINITE_VOLUME_SCHEME_SPACE_ORDER" : "ORDRE EN ESPACE DU SCHEMA VOLUME FINIS", - "FINITE_VOLUME_SCHEME_TIME_ORDER" : "ORDRE EN TEMPS DU SCHEMA VOLUME FINIS", - "FLUX_LIMITOR_FOR_H_PLUS_Z" : "LIMITEUR DE FLUX POUR H PLUS Z", - "FLUX_LIMITOR_FOR_U_AND_V" : "LIMITEUR DE FLUX POUR U ET V", - "FLUX_LIMITOR_FOR_TRACERS" : "LIMITEUR DE FLUX POUR LES TRACEURS", - "TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME" : "TYPE DE CONDITION A LA LIMITE POUR LE SCHEMA CINETIQUE", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS_COEFFICIENT" : "COEFFICIENT DE CORIOLIS", - "OPTION_FOR_TSUNAMI_GENERATION" : "OPTION POUR LA GENERATION DE TSUNAMI", - "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI" : "PARAMETRES PHYSIQUES DU TSUNAMI", - "SECONDARY_CURRENTS" : "COURANTS SECONDAIRES", - "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "COEFFICIENT DE PRODUCTION POUR COURANTS SECONDAIRES", - "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS" : "COEFFICIENT DE DISSIPATION POUR COURANTS SECONDAIRES", - "DEBUGGER" : "DEBUGGER", - "TIME_STEP" : "PAS DE TEMPS", - "NUMBER_OF_TIME_STEPS" : "NOMBRE DE PAS DE TEMPS", - "DURATION" : "DUREE DU CALCUL", - "ORIGINAL_DATE_OF_TIME" : "DATE DE L'ORIGINE DES TEMPS", - "ORIGINAL_HOUR_OF_TIME" : "HEURE DE L'ORIGINE DES TEMPS", - "STOP_IF_A_STEADY_STATE_IS_REACHED" : "ARRET SI UN ETAT PERMANENT EST ATTEINT", - "STOP_CRITERIA" : "CRITERES D'ARRET", - "CONTROL_OF_LIMITS" : "CONTROLE DES LIMITES", - "LIMIT_VALUES" : "VALEURS LIMITES", - "VARIABLE_TIME_STEP" : "PAS DE TEMPS VARIABLE", - "DESIRED_COURANT_NUMBER" : "NOMBRE DE COURANT SOUHAITE", - "SPHERICAL_COORDINATES" : "COORDONNEES SPHERIQUES", - "LATITUDE_OF_ORIGIN_POINT" : "LATITUDE DU POINT ORIGINE", - "LONGITUDE_OF_ORIGIN_POINT" : "LONGITUDE DU POINT ORIGINE", - "NORTH" : "NORD", - "SPATIAL_PROJECTION_TYPE" : "TYPE DE PROJECTION SPATIALE", - "SOLVER" : "SOLVEUR", - "SOLVER_OPTION" : "OPTION DU SOLVEUR", - "SOLVER_ACCURACY" : "PRECISION DU SOLVEUR", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER" : "MAXIMUM D'ITERATIONS POUR LE SOLVEUR", - "CONTINUITY_CORRECTION" : "CORRECTION DE CONTINUITE", - "PRECONDITIONING" : "PRECONDITIONNEMENT", - "C_U_PRECONDITIONING" : "PRECONDITIONNEMENT C-U", - "FINITE_ELEMENT_ASSEMBLY" : "ASSEMBLAGE EN ELEMENTS FINIS", - "IMPLICITATION_FOR_DEPTH" : "IMPLICITATION POUR LA HAUTEUR", - "IMPLICITATION_FOR_VELOCITY" : "IMPLICITATION POUR LA VITESSE", - "DISCRETIZATIONS_IN_SPACE" : "DISCRETISATIONS EN ESPACE", - "PROPAGATION" : "PROPAGATION", - "INITIAL_GUESS_FOR_H" : "ORDRE DU TIR INITIAL POUR H", - "LINEARIZED_PROPAGATION" : "PROPAGATION LINEARISEE", - "INITIAL_GUESS_FOR_U" : "ORDRE DU TIR INITIAL POUR U", - "MEAN_DEPTH_FOR_LINEARIZATION" : "PROFONDEUR MOYENNE POUR LA LINEARISATION", - "ADVECTION" : "CONVECTION", - "ADVECTION_OF_H" : "CONVECTION DE H", - "ADVECTION_OF_U_AND_V" : "CONVECTION DE U ET V", - "TYPE_OF_ADVECTION" : "FORME DE LA CONVECTION", - "OPTION_FOR_CHARACTERISTICS" : "OPTION POUR LES CARACTERISTIQUES", - "SUPG_OPTION" : "OPTION DE SUPG", - "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS" : "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES", - "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS" : "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION", - "MASS_LUMPING_ON_H" : "MASS-LUMPING SUR H", - "MASS_LUMPING_ON_VELOCITY" : "MASS-LUMPING SUR LA VITESSE", - "SCHEME_FOR_ADVECTION_OF_VELOCITIES" : "SCHEMA POUR LA CONVECTION DES VITESSES", - "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES" : "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES", - "FREE_SURFACE_GRADIENT_COMPATIBILITY" : "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE", - "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES" : "NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TRAITEMENT DES FLUX AUX FRONTIERES", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS", - "DIFFUSION_OF_VELOCITY" : "DIFFUSION DES VITESSES", - "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES" : "OPTION POUR LA DIFFUSION DES VITESSES", - "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY" : "IMPLICITATION POUR LA DIFFUSION DES VITESSES", - "AD_NUMBER_OF_DERIVATIVES" : "AD NOMBRE DE DERIVEES", - "AD_NAMES_OF_DERIVATIVES" : "AD NOMS DES DERIVEES", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SOLVEUR LINEAIRE SYMBOLIQUE", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE", - "MATRIX_STORAGE" : "STOCKAGE DES MATRICES", - "MATRIX_VECTOR_PRODUCT" : "PRODUIT MATRICE-VECTEUR", - "NEWMARK_TIME_INTEGRATION_COEFFICIENT" : "COEFFICIENT D'INTEGRATION EN TEMPS DE NEWMARK", - "ZERO" : "ZERO", - "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION" : "OPTION DE LA RECONSTRUCTION HYDROSTATIQUE", - "CONVERGENCE_STUDY" : "ETUDE DE CONVERGENCE", - "REFINEMENT_LEVELS" : "NIVEAUX DE RAFFINEMENT", - "VELOCITY_DIFFUSIVITY" : "COEFFICIENT DE DIFFUSION DES VITESSES", - "TURBULENCE_MODEL" : "MODELE DE TURBULENCE", - "ACCURACY_OF_SPALART_ALLMARAS" : "PRECISION SUR SPALART-ALLMARAS", - "INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL" : "INFORMATION SUR LE MODELE SPALART-ALLMARAS", - "SOLVER_FOR_K_EPSILON_MODEL" : "SOLVEUR POUR LE MODELE K-EPSILON", - "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL" : "OPTION DU SOLVEUR POUR LE MODELE K-EPSILON", - "PRECONDITIONING_FOR_K_EPSILON_MODEL" : "PRECONDITIONNEMENT POUR LE MODELE K-EPSILON", - "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS" : "COEFFICIENTS ADIMENSIONNELS DE DISPERSION", - "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES" : "REGIME DE TURBULENCE POUR LES PAROIS", - "INFORMATION_ABOUT_K_EPSILON_MODEL" : "INFORMATIONS SUR LE MODELE K-EPSILON", - "ADVECTION_OF_K_AND_EPSILON" : "CONVECTION DE K ET EPSILON", - "SCHEME_FOR_ADVECTION_OF_K_EPSILON" : "SCHEMA POUR LA CONVECTION DU K-EPSILON", - "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON" : "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON", - "MIXING_LENGTH_MODEL_COEFFICIENTS" : "COEFFICIENTS DU MODELE DE LONGUEUR DE MELANGE", - "ACCURACY_OF_K" : "PRECISION SUR K", - "ACCURACY_OF_EPSILON" : "PRECISION SUR EPSILON", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON" : "MAXIMUM D'ITERATIONS POUR K ET EPSILON", - "TIDAL_FLATS" : "BANCS DECOUVRANTS", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS", - "TREATMENT_OF_NEGATIVE_DEPTHS" : "TRAITEMENT DES HAUTEURS NEGATIVES", - "THRESHOLD_FOR_NEGATIVE_DEPTHS" : "SEUIL POUR LES PROFONDEURS NEGATIVES", - "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE" : "PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE", - "H_CLIPPING" : "CLIPPING DE H", - "MINIMUM_VALUE_OF_DEPTH" : "VALEUR MINIMUM DE H", - "PRESCRIBED_TRACERS_VALUES" : "VALEURS IMPOSEES DES TRACEURS", - "NUMBER_OF_TRACERS" : "NOMBRE DE TRACEURS", - "NAMES_OF_TRACERS" : "NOMS DES TRACEURS", - "INITIAL_VALUES_OF_TRACERS" : "VALEURS INITIALES DES TRACEURS", - "DENSITY_EFFECTS" : "EFFETS DE DENSITE", - "MEAN_TEMPERATURE" : "TEMPERATURE MOYENNE", - "SOLVER_FOR_DIFFUSION_OF_TRACERS" : "SOLVEUR POUR LA DIFFUSION DES TRACEURS", - "SOLVER_OPTION_FOR_TRACERS_DIFFUSION" : "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS", - "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS" : "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS", - "ACCURACY_FOR_DIFFUSION_OF_TRACERS" : "PRECISION POUR LA DIFFUSION DES TRACEURS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS" : "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS", - "VALUES_OF_THE_TRACERS_AT_THE_SOURCES" : "VALEURS DES TRACEURS DES SOURCES", - "VALUES_OF_TRACERS_IN_THE_RAIN" : "VALEURS DES TRACEURS DANS LA PLUIE", - "ADVECTION_OF_TRACERS" : "CONVECTION DES TRACEURS", - "IMPLICITATION_COEFFICIENT_OF_TRACERS" : "COEFFICIENT D'IMPLICITATION DES TRACEURS", - "DIFFUSION_OF_TRACERS" : "DIFFUSION DES TRACEURS", - "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS" : "COEFFICIENT DE DIFFUSION DES TRACEURS", - "OPTION_FOR_THE_DIFFUSION_OF_TRACERS" : "OPTION POUR LA DIFFUSION DES TRACEURS", - "SCHEME_FOR_ADVECTION_OF_TRACERS" : "SCHEMA POUR LA CONVECTION DES TRACEURS", - "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS" : "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS", - "MASS_LUMPING_ON_TRACERS" : "MASS-LUMPING SUR LES TRACEURS", - "MAXIMUM_NUMBER_OF_DROGUES" : "NOMBRE MAXIMAL DE FLOTTEURS", - "INITIAL_DROGUES_SAMPLING_DENSITY" : "DENSITE INITIALE DE REPARTITION DES FLOTTEURS", - "PRINTOUT_PERIOD_FOR_DROGUES" : "PERIODE POUR LES SORTIES DE FLOTTEURS", - "ASCII_DROGUES_FILE" : "FICHIER ASCII DES FLOTTEURS", - "BINARY_DROGUES_FILE" : "FICHIER BINAIRE DES FLOTTEURS", - "DROGUES_FILE_FORMAT" : "FORMAT DU FICHIER DES FLOTTEURS", - "PREVIOUS_DROGUES_FILE" : "FICHIER DES FLOTTEURS PRECEDENT", - "PREVIOUS_DROGUES_FILE_FORMAT" : "FORMAT DU FICHIER DES FLOTTEURS PRECEDENT", - "DROGUES_INITIAL_POSITIONING_DATA_FILE" : "FICHIER POSITIONNANT LES DROGUES INITIALES", - "FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE" : "FORMAT DU FICHIER POSITIONNANT LES DROGUES", - "ALGAE_TRANSPORT_MODEL" : "MODELE DE TRANSPORT DES ALGUES", - "NUMBER_OF_ALGAE_CLASSES" : "NOMBRE DE CLASSES D'ALGUES", - "ALGAE_TYPE" : "TYPE DES ALGUES", - "DIAMETER_OF_ALGAE" : "DIAMETRE DES ALGUES", - "DURATION_BEFORE_ALGAE_RELEASE" : "DUREE AVANT RELACHE DES ALGUES", - "DENSITY_OF_ALGAE" : "MASSE VOLUMIQUE DES ALGUES", - "THICKNESS_OF_ALGAE" : "EPAISSEUR DES ALGUES", - "ALGAE_RELEASE_TYPE" : "TYPE DE RELACHE DES ALGUES", - "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1" : "SEUIL DE LA VITESSE ORBITALE DE VAGUE POUR LES ALGUES 1", - "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2" : "SEUIL DE LA VITESSE ORBITALE DE VAGUE POUR LES ALGUES 2", - "RATE_OF_DEGRADATION_FOR_ALGAE" : "TAUX DE DEGRADATION POUR LES ALGUES", - "OIL_SPILL_MODEL" : "MODELE DE NAPPES D'HYDROCARBURES", - "OIL_SPILL_STEERING_FILE" : "FICHIER DE COMMANDES HYDROCARBURES", - "STOCHASTIC_DIFFUSION_MODEL" : "MODELE DE DIFFUSION STOCHASTIQUE", - "NUMBER_OF_LAGRANGIAN_DRIFTS" : "NOMBRE DE DERIVES LAGRANGIENNES", - "NUMBER_OF_WEIRS" : "NOMBRE DE SEUILS", - "WEIRS_DATA_FILE" : "FICHIER DE DONNEES DES SEUILS", - "TYPE_OF_WEIRS" : "TYPE DES SEUILS", - "WEIRS_DISCHARGE_OUTPUT_FILE" : "FICHIER DE SORTIE DES DEBITS DES SEUILS", - "NUMBER_OF_CULVERTS" : "NOMBRE DE BUSES", - "CULVERTS_DATA_FILE" : "FICHIER DE DONNEES DES BUSES", - "OPTION_FOR_CULVERTS" : "OPTION POUR LES BUSES", - "BREACH" : "BRECHE", - "BREACHES_DATA_FILE" : "FICHIER DE DONNEES DES BRECHES", - "BINARY_DATABASE_1_FOR_TIDE" : "BASE BINAIRE 1 DE DONNEES DE MAREE", - "BINARY_DATABASE_2_FOR_TIDE" : "BASE BINAIRE 2 DE DONNEES DE MAREE", - "GEOGRAPHIC_SYSTEM" : "SYSTEME GEOGRAPHIQUE", - "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM" : "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE", - "LAMBERT_93_CONVERSION_FILE" : "FICHIER DE CONVERSION LAMBERT 93", - "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL" : "COEFFICIENT DE CALAGE DU NIVEAU DE MER", - "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER", - "MINOR_CONSTITUENTS_INFERENCE" : "INTERPOLATION DE COMPOSANTES MINEURES", - "INITIAL_VELOCITIES_COMPUTED_BY_TPXO" : "VITESSES INITIALES CALCULEES PAR TPXO", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS" : "HAUTEUR MINIMALE POUR LES CONDITIONS INITIALES DE COURANTS", - "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS" : "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE", - "TIDAL_DATA_BASE" : "BASE DE DONNEES DE MAREE", - "HARMONIC_CONSTANTS_FILE" : "FICHIER DES CONSTANTES HARMONIQUES", - "TIDAL_MODEL_FILE" : "FICHIER DU MODELE DE MAREE", - "TIDAL_MODEL_FILE_FORMAT" : "FORMAT DU FICHIER DU MODELE DE MAREE", - "ASCII_DATABASE_FOR_TIDE" : "BASE ASCII DE DONNEES DE MAREE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE" : "COEFFICIENT DE CALAGE DU MARNAGE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES" : "COEFFICIENT DE CALAGE DES VITESSES DE COURANT", - "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS" : "HAUTEUR MINIMALE POUR LES CONDITIONS AUX LIMITES DE COURANTS", - "TIDE_GENERATING_FORCE" : "FORCE GENERATRICE DE LA MAREE", - "COUPLING_WITH" : "COUPLAGE AVEC", - "NAMES_OF_CLANDESTINE_VARIABLES" : "NOMS DES VARIABLES CLANDESTINES", - "DELWAQ_STEERING_FILE" : "FICHIER DE COMMANDE DELWAQ", - "DELWAQ_PRINTOUT_PERIOD" : "PERIODE DE SORTIE POUR DELWAQ", - "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE" : "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS", - "NODES_DISTANCES_DELWAQ_FILE" : "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS", - "BOTTOM_SURFACES_DELWAQ_FILE" : "FICHIER DELWAQ DES SURFACES DU FOND", - "VOLUMES_DELWAQ_FILE" : "FICHIER DELWAQ DES VOLUMES", - "EXCHANGE_AREAS_DELWAQ_FILE" : "FICHIER DELWAQ DES SURFACES DE FLUX", - "VERTICAL_FLUXES_DELWAQ_FILE" : "FICHIER DELWAQ DES FLUX VERTICAUX", - "VELOCITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA VITESSE", - "DIFFUSIVITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA DIFFUSION", - "TEMPERATURE_DELWAQ_FILE" : "FICHIER DELWAQ DE LA TEMPERATURE", - "SALINITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA SALINITE", - "VELOCITY_FOR_DELWAQ" : "VITESSE POUR DELWAQ", - "DIFFUSIVITY_FOR_DELWAQ" : "DIFFUSION POUR DELWAQ", - "TEMPERATURE_FOR_DELWAQ" : "TEMPERATURE POUR DELWAQ", - "SALINITY_FOR_DELWAQ" : "SALINITE POUR DELWAQ", - "SISYPHE_STEERING_FILE" : "FICHIER DES PARAMETRES DE SISYPHE", - "COUPLING_PERIOD_FOR_SISYPHE" : "PERIODE DE COUPLAGE POUR SISYPHE", - "GAIA_STEERING_FILE" : "FICHIER DES PARAMETRES DE GAIA", - "TOMAWAC_STEERING_FILE" : "FICHIER DES PARAMETRES DE TOMAWAC", - "COUPLING_PERIOD_FOR_TOMAWAC" : "PERIODE DE COUPLAGE POUR TOMAWAC", - "WAQTEL_STEERING_FILE" : "FICHIER DES PARAMETRES DE WAQTEL", - "KHIONE_STEERING_FILE" : "FICHIER DES PARAMETRES DE KHIONE", - "ICE_PROCESSES" : "PROCESSUS LIES AUX GLACES", - "NESTOR" : "NESTOR", - "NESTOR_ACTION_FILE" : "FICHIER DES PARAMETRES DE NESTOR", - "NESTOR_POLYGON_FILE" : "FICHIER DE POLYGONES DE NESTOR", - "NESTOR_SURFACE_REFERENCE_FILE" : "FICHIER DE SURFACE REFERENCE DE NESTOR", - "NESTOR_RESTART_FILE" : "FICHIER DE REPRISE DE NESTOR", - "LANGUAGE" : "LANGUE", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "DICTIONARY" : "DICTIONNAIRE", - "PARTITIONING_TOOL" : "PARTITIONNEUR", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATION SORTIE PARTEL", -} -dicoCasFrToCata = { - "TITRE" : "TITLE", - "CONDITIONS INITIALES" : "INITIAL_CONDITIONS", - "COTE INITIALE" : "INITIAL_ELEVATION", - "HAUTEUR INITIALE" : "INITIAL_DEPTH", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1_FORMAT", - "FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2_FORMAT", - "FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2", - "FICHIER DE DONNEES FORMATE 1" : "FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2" : "FORMATTED_DATA_FILE_2", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "LISSAGES DU FOND" : "BOTTOM_SMOOTHINGS", - "LISSAGES DU FOND APRES MODIFICATIONS UTILISATEUR" : "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "VALIDATION" : "VALIDATION", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "NOMBRE MAXIMUM DE SOURCES" : "MAXIMUM_NUMBER_OF_SOURCES", - "NOMBRE MAXIMUM DE TRACEURS" : "MAXIMUM_NUMBER_OF_TRACERS", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "COEFFICIENT DE SECURITE POUR SCARACT" : "SECURITY_COEFFICIENT_FOR_SCARACT", - "SUITE DE CALCUL" : "COMPUTATION_CONTINUED", - "FORMAT DU FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE", - "ENREGISTREMENT POUR SUITE DE CALCUL" : "RECORD_NUMBER_FOR_RESTART", - "REMISE A ZERO DU TEMPS" : "INITIAL_TIME_SET_TO_ZERO", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES" : "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "PERIODE POUR LES SORTIES GRAPHIQUES" : "GRAPHIC_PRINTOUT_PERIOD", - "VARIABLES POUR LES SORTIES GRAPHIQUES" : "VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE TABLEAUX PRIVES" : "NUMBER_OF_PRIVATE_ARRAYS", - "NOMS DES VARIABLES PRIVEES" : "NAMES_OF_PRIVATE_VARIABLES", - "FORMAT DU FICHIER DES RESULTATS" : "RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "FICHIER RESULTAT EN LONGITUDE-LATITUDE" : "RESULT_FILE_IN_LONGITUDE_LATITUDE", - "FORMAT DU FICHIER DE RESULTATS BINAIRE" : "BINARY_RESULTS_FILE_FORMAT", - "FICHIER DE RESULTATS BINAIRE" : "BINARY_RESULTS_FILE", - "FICHIER DE RESULTATS FORMATE" : "FORMATTED_RESULTS_FILE", - "SECTIONS DE CONTROLE" : "CONTROL_SECTIONS", - "IMPRESSION DU CUMUL DES FLUX" : "PRINTING_CUMULATED_FLOWRATES", - "CALCUL COMPATIBLE DES FLUX" : "COMPATIBLE_COMPUTATION_OF_FLUXES", - "FICHIER DES SECTIONS DE CONTROLE" : "SECTIONS_INPUT_FILE", - "FICHIER DE SORTIE DES SECTIONS DE CONTROLE" : "SECTIONS_OUTPUT_FILE", - "FLUXLINE" : "FLUXLINE", - "FICHIER DE FLUXLINE" : "FLUXLINE_INPUT_FILE", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING" : "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "PERIODE DE SORTIE LISTING" : "LISTING_PRINTOUT_PERIOD", - "PERIODE POUR LES SORTIES LISTING" : "LISTING_FOR_PRINTOUT_PERIOD", - "SORTIE LISTING" : "LISTING_PRINTOUT", - "VARIABLES A IMPRIMER" : "VARIABLES_TO_BE_PRINTED", - "BILAN DE MASSE" : "MASS_BALANCE", - "INFORMATIONS SUR LE SOLVEUR" : "INFORMATION_ABOUT_SOLVER", - "LISTE DE POINTS" : "LIST_OF_POINTS", - "NOMS DES POINTS" : "NAMES_OF_POINTS", - "PERIODES D'ANALYSE DE FOURIER" : "FOURIER_ANALYSIS_PERIODS", - "BORNES EN TEMPS POUR L'ANALYSE DE FOURIER" : "TIME_RANGE_FOR_FOURIER_ANALYSIS", - "COTES IMPOSEES" : "PRESCRIBED_ELEVATIONS", - "DEBITS IMPOSES" : "PRESCRIBED_FLOWRATES", - "VITESSES IMPOSEES" : "PRESCRIBED_VELOCITIES", - "COURBES DE TARAGE" : "STAGE_DISCHARGE_CURVES", - "FICHIER DES COURBES DE TARAGE" : "STAGE_DISCHARGE_CURVES_FILE", - "PROFILS DE VITESSE" : "VELOCITY_PROFILES", - "OPTION POUR LES FRONTIERES LIQUIDES" : "OPTION_FOR_LIQUID_BOUNDARIES", - "FICHIER DES FRONTIERES LIQUIDES" : "LIQUID_BOUNDARIES_FILE", - "ELEMENTS MASQUES PAR L'UTILISATEUR" : "ELEMENTS_MASKED_BY_USER", - "NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT" : "MAXIMUM_NUMBER_OF_FRICTION_DOMAINS", - "DONNEES POUR LE FROTTEMENT" : "FRICTION_DATA", - "FICHIER DE DONNEES POUR LE FROTTEMENT" : "FRICTION_DATA_FILE", - "LOI DE FROTTEMENT SUR LE FOND" : "LAW_OF_BOTTOM_FRICTION", - "COEFFICIENT DE FROTTEMENT" : "FRICTION_COEFFICIENT", - "VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE" : "MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW", - "HAUTEUR DANS LES TERMES DE FROTTEMENT" : "DEPTH_IN_FRICTION_TERMS", - "FROTTEMENT POUR LA VEGETATION" : "VEGETATION_FRICTION", - "LOI DE FROTTEMENT SUR LES PAROIS LATERALES" : "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "COEFFICIENT DE RUGOSITE DES BORDS" : "ROUGHNESS_COEFFICIENT_OF_BOUNDARIES", - "DEFINITION DE ZONES" : "DEFINITION_OF_ZONES", - "FICHIER DES ZONES" : "ZONES_FILE", - "VENT" : "WIND", - "OPTION DU VENT" : "OPTION_FOR_WIND", - "COEFFICIENT D'INFLUENCE DU VENT" : "COEFFICIENT_OF_WIND_INFLUENCE", - "COEFFICIENT D'INFLUENCE DU VENT DEPENDANT DE LA VITESSE DU VENT" : "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED", - "VITESSE DU VENT SUIVANT X" : "WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y" : "WIND_VELOCITY_ALONG_Y", - "VITESSE ET DIRECTION DU VENT" : "SPEED_AND_DIRECTION_OF_WIND", - "PROFONDEUR LIMITE POUR LE VENT" : "THRESHOLD_DEPTH_FOR_WIND", - "PRESSION ATMOSPHERIQUE" : "AIR_PRESSURE", - "VALEUR DE LA PRESSION ATMOSPHERIQUE" : "VALUE_OF_ATMOSPHERIC_PRESSURE", - "PLUIE OU EVAPORATION" : "RAIN_OR_EVAPORATION", - "PLUIE OU EVAPORATION EN MM PAR JOUR" : "RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "MODELE PLUIE-DEBIT" : "RAINFALL_RUNOFF_MODEL", - "CONDITIONS D'HUMIDITE PRECEDENTE" : "ANTECEDENT_MOISTURE_CONDITIONS", - "DUREE DE LA PLUIE OU EVAPORATION EN HEURES" : "DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS", - "FICHIER ASCII DE DONNEES ATMOSPHERIQUES" : "ASCII_ATMOSPHERIC_DATA_FILE", - "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES" : "BINARY_ATMOSPHERIC_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES" : "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "OPTION POUR RATIO DES PERTES INITIALES" : "OPTION_FOR_INITIAL_ABSTRACTION_RATIO", - "TEMPERATURE DE L'AIR" : "AIR_TEMPERATURE", - "NEBULOSITE" : "CLOUD_COVER", - "RAYONNEMENT SOLAIRE" : "SOLAR_RADIATION", - "PRESSION DE VAPEUR SATURANTE" : "VAPOROUS_PRESSURE", - "COURANTS DE HOULE" : "WAVE_DRIVEN_CURRENTS", - "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE" : "RECORD_NUMBER_IN_WAVE_FILE", - "AUGMENTATION DU FROTTEMENT PAR LA HOULE" : "WAVE_ENHANCED_FRICTION_FACTOR", - "ESTIMATION DE PARAMETRE" : "PARAMETER_ESTIMATION", - "FONCTION COUT" : "COST_FUNCTION", - "METHODE D'IDENTIFICATION" : "IDENTIFICATION_METHOD", - "PRECISIONS POUR L'IDENTIFICATION" : "TOLERANCES_FOR_IDENTIFICATION", - "MAXIMUM D'ITERATIONS POUR L'IDENTIFICATION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION", - "ABSCISSES DES SOURCES" : "ABSCISSAE_OF_SOURCES", - "ORDONNEES DES SOURCES" : "ORDINATES_OF_SOURCES", - "DEBITS DES SOURCES" : "WATER_DISCHARGE_OF_SOURCES", - "VITESSES DES SOURCES SELON X" : "VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VITESSES DES SOURCES SELON Y" : "VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "TYPE DES SOURCES" : "TYPE_OF_SOURCES", - "FICHIER DES SOURCES" : "SOURCES_FILE", - "NUMEROS GLOBAUX DES NOEUDS DES SOURCES" : "GLOBAL_NUMBERS_OF_SOURCE_NODES", - "FICHIER DES REGIONS DES SOURCES" : "SOURCE_REGIONS_DATA_FILE", - "NOMBRE MAXIMUM DE POINTS POUR DEFINIR DES SOURCES" : "MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS", - "PROCESSUS QUALITE D'EAU" : "WATER_QUALITY_PROCESS", - "MASSE VOLUMIQUE DE L'EAU" : "WATER_DENSITY", - "ACCELERATION DE LA PESANTEUR" : "GRAVITY_ACCELERATION", - "STRUCTURES VERTICALES" : "VERTICAL_STRUCTURES", - "EQUATIONS" : "EQUATIONS", - "TRAITEMENT DU SYSTEME LINEAIRE" : "TREATMENT_OF_THE_LINEAR_SYSTEM", - "SCHEMA EN VOLUMES FINIS" : "FINITE_VOLUME_SCHEME", - "ORDRE EN ESPACE DU SCHEMA VOLUME FINIS" : "FINITE_VOLUME_SCHEME_SPACE_ORDER", - "ORDRE EN TEMPS DU SCHEMA VOLUME FINIS" : "FINITE_VOLUME_SCHEME_TIME_ORDER", - "LIMITEUR DE FLUX POUR H PLUS Z" : "FLUX_LIMITOR_FOR_H_PLUS_Z", - "LIMITEUR DE FLUX POUR U ET V" : "FLUX_LIMITOR_FOR_U_AND_V", - "LIMITEUR DE FLUX POUR LES TRACEURS" : "FLUX_LIMITOR_FOR_TRACERS", - "TYPE DE CONDITION A LA LIMITE POUR LE SCHEMA CINETIQUE" : "TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME", - "CORIOLIS" : "CORIOLIS", - "COEFFICIENT DE CORIOLIS" : "CORIOLIS_COEFFICIENT", - "OPTION POUR LA GENERATION DE TSUNAMI" : "OPTION_FOR_TSUNAMI_GENERATION", - "PARAMETRES PHYSIQUES DU TSUNAMI" : "PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI", - "COURANTS SECONDAIRES" : "SECONDARY_CURRENTS", - "COEFFICIENT DE PRODUCTION POUR COURANTS SECONDAIRES" : "PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "COEFFICIENT DE DISSIPATION POUR COURANTS SECONDAIRES" : "DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DEBUGGER" : "DEBUGGER", - "PAS DE TEMPS" : "TIME_STEP", - "NOMBRE DE PAS DE TEMPS" : "NUMBER_OF_TIME_STEPS", - "DUREE DU CALCUL" : "DURATION", - "DATE DE L'ORIGINE DES TEMPS" : "ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS" : "ORIGINAL_HOUR_OF_TIME", - "ARRET SI UN ETAT PERMANENT EST ATTEINT" : "STOP_IF_A_STEADY_STATE_IS_REACHED", - "CRITERES D'ARRET" : "STOP_CRITERIA", - "CONTROLE DES LIMITES" : "CONTROL_OF_LIMITS", - "VALEURS LIMITES" : "LIMIT_VALUES", - "PAS DE TEMPS VARIABLE" : "VARIABLE_TIME_STEP", - "NOMBRE DE COURANT SOUHAITE" : "DESIRED_COURANT_NUMBER", - "COORDONNEES SPHERIQUES" : "SPHERICAL_COORDINATES", - "LATITUDE DU POINT ORIGINE" : "LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE DU POINT ORIGINE" : "LONGITUDE_OF_ORIGIN_POINT", - "NORD" : "NORTH", - "TYPE DE PROJECTION SPATIALE" : "SPATIAL_PROJECTION_TYPE", - "SOLVEUR" : "SOLVER", - "OPTION DU SOLVEUR" : "SOLVER_OPTION", - "PRECISION DU SOLVEUR" : "SOLVER_ACCURACY", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "CORRECTION DE CONTINUITE" : "CONTINUITY_CORRECTION", - "PRECONDITIONNEMENT" : "PRECONDITIONING", - "PRECONDITIONNEMENT C-U" : "C_U_PRECONDITIONING", - "ASSEMBLAGE EN ELEMENTS FINIS" : "FINITE_ELEMENT_ASSEMBLY", - "IMPLICITATION POUR LA HAUTEUR" : "IMPLICITATION_FOR_DEPTH", - "IMPLICITATION POUR LA VITESSE" : "IMPLICITATION_FOR_VELOCITY", - "DISCRETISATIONS EN ESPACE" : "DISCRETIZATIONS_IN_SPACE", - "PROPAGATION" : "PROPAGATION", - "ORDRE DU TIR INITIAL POUR H" : "INITIAL_GUESS_FOR_H", - "PROPAGATION LINEARISEE" : "LINEARIZED_PROPAGATION", - "ORDRE DU TIR INITIAL POUR U" : "INITIAL_GUESS_FOR_U", - "PROFONDEUR MOYENNE POUR LA LINEARISATION" : "MEAN_DEPTH_FOR_LINEARIZATION", - "CONVECTION" : "ADVECTION", - "CONVECTION DE H" : "ADVECTION_OF_H", - "CONVECTION DE U ET V" : "ADVECTION_OF_U_AND_V", - "FORME DE LA CONVECTION" : "TYPE_OF_ADVECTION", - "OPTION POUR LES CARACTERISTIQUES" : "OPTION_FOR_CHARACTERISTICS", - "OPTION DE SUPG" : "SUPG_OPTION", - "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES" : "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES" : "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "MASS-LUMPING SUR H" : "MASS_LUMPING_ON_H", - "MASS-LUMPING SUR LA VITESSE" : "MASS_LUMPING_ON_VELOCITY", - "SCHEMA POUR LA CONVECTION DES VITESSES" : "SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES" : "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE" : "FREE_SURFACE_GRADIENT_COMPATIBILITY", - "NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES" : "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "TRAITEMENT DES FLUX AUX FRONTIERES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "DIFFUSION DES VITESSES" : "DIFFUSION_OF_VELOCITY", - "OPTION POUR LA DIFFUSION DES VITESSES" : "OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION POUR LA DIFFUSION DES VITESSES" : "IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY", - "AD NOMBRE DE DERIVEES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES" : "AD_NAMES_OF_DERIVATIVES", - "AD SOLVEUR LINEAIRE SYMBOLIQUE" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "STOCKAGE DES MATRICES" : "MATRIX_STORAGE", - "PRODUIT MATRICE-VECTEUR" : "MATRIX_VECTOR_PRODUCT", - "COEFFICIENT D'INTEGRATION EN TEMPS DE NEWMARK" : "NEWMARK_TIME_INTEGRATION_COEFFICIENT", - "ZERO" : "ZERO", - "OPTION DE LA RECONSTRUCTION HYDROSTATIQUE" : "OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION", - "ETUDE DE CONVERGENCE" : "CONVERGENCE_STUDY", - "NIVEAUX DE RAFFINEMENT" : "REFINEMENT_LEVELS", - "COEFFICIENT DE DIFFUSION DES VITESSES" : "VELOCITY_DIFFUSIVITY", - "MODELE DE TURBULENCE" : "TURBULENCE_MODEL", - "PRECISION SUR SPALART-ALLMARAS" : "ACCURACY_OF_SPALART_ALLMARAS", - "INFORMATION SUR LE MODELE SPALART-ALLMARAS" : "INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL", - "SOLVEUR POUR LE MODELE K-EPSILON" : "SOLVER_FOR_K_EPSILON_MODEL", - "OPTION DU SOLVEUR POUR LE MODELE K-EPSILON" : "OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL", - "PRECONDITIONNEMENT POUR LE MODELE K-EPSILON" : "PRECONDITIONING_FOR_K_EPSILON_MODEL", - "COEFFICIENTS ADIMENSIONNELS DE DISPERSION" : "NON_DIMENSIONAL_DISPERSION_COEFFICIENTS", - "REGIME DE TURBULENCE POUR LES PAROIS" : "TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES", - "INFORMATIONS SUR LE MODELE K-EPSILON" : "INFORMATION_ABOUT_K_EPSILON_MODEL", - "CONVECTION DE K ET EPSILON" : "ADVECTION_OF_K_AND_EPSILON", - "SCHEMA POUR LA CONVECTION DU K-EPSILON" : "SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON" : "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "COEFFICIENTS DU MODELE DE LONGUEUR DE MELANGE" : "MIXING_LENGTH_MODEL_COEFFICIENTS", - "PRECISION SUR K" : "ACCURACY_OF_K", - "PRECISION SUR EPSILON" : "ACCURACY_OF_EPSILON", - "MAXIMUM D'ITERATIONS POUR K ET EPSILON" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON", - "BANCS DECOUVRANTS" : "TIDAL_FLATS", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TRAITEMENT DES HAUTEURS NEGATIVES" : "TREATMENT_OF_NEGATIVE_DEPTHS", - "SEUIL POUR LES PROFONDEURS NEGATIVES" : "THRESHOLD_FOR_NEGATIVE_DEPTHS", - "PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE" : "THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE", - "CLIPPING DE H" : "H_CLIPPING", - "VALEUR MINIMUM DE H" : "MINIMUM_VALUE_OF_DEPTH", - "VALEURS IMPOSEES DES TRACEURS" : "PRESCRIBED_TRACERS_VALUES", - "NOMBRE DE TRACEURS" : "NUMBER_OF_TRACERS", - "NOMS DES TRACEURS" : "NAMES_OF_TRACERS", - "VALEURS INITIALES DES TRACEURS" : "INITIAL_VALUES_OF_TRACERS", - "EFFETS DE DENSITE" : "DENSITY_EFFECTS", - "TEMPERATURE MOYENNE" : "MEAN_TEMPERATURE", - "SOLVEUR POUR LA DIFFUSION DES TRACEURS" : "SOLVER_FOR_DIFFUSION_OF_TRACERS", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS" : "SOLVER_OPTION_FOR_TRACERS_DIFFUSION", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS" : "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "PRECISION POUR LA DIFFUSION DES TRACEURS" : "ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "VALEURS DES TRACEURS DES SOURCES" : "VALUES_OF_THE_TRACERS_AT_THE_SOURCES", - "VALEURS DES TRACEURS DANS LA PLUIE" : "VALUES_OF_TRACERS_IN_THE_RAIN", - "CONVECTION DES TRACEURS" : "ADVECTION_OF_TRACERS", - "COEFFICIENT D'IMPLICITATION DES TRACEURS" : "IMPLICITATION_COEFFICIENT_OF_TRACERS", - "DIFFUSION DES TRACEURS" : "DIFFUSION_OF_TRACERS", - "COEFFICIENT DE DIFFUSION DES TRACEURS" : "COEFFICIENT_FOR_DIFFUSION_OF_TRACERS", - "OPTION POUR LA DIFFUSION DES TRACEURS" : "OPTION_FOR_THE_DIFFUSION_OF_TRACERS", - "SCHEMA POUR LA CONVECTION DES TRACEURS" : "SCHEME_FOR_ADVECTION_OF_TRACERS", - "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS" : "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "MASS-LUMPING SUR LES TRACEURS" : "MASS_LUMPING_ON_TRACERS", - "NOMBRE MAXIMAL DE FLOTTEURS" : "MAXIMUM_NUMBER_OF_DROGUES", - "DENSITE INITIALE DE REPARTITION DES FLOTTEURS" : "INITIAL_DROGUES_SAMPLING_DENSITY", - "PERIODE POUR LES SORTIES DE FLOTTEURS" : "PRINTOUT_PERIOD_FOR_DROGUES", - "FICHIER ASCII DES FLOTTEURS" : "ASCII_DROGUES_FILE", - "FICHIER BINAIRE DES FLOTTEURS" : "BINARY_DROGUES_FILE", - "FORMAT DU FICHIER DES FLOTTEURS" : "DROGUES_FILE_FORMAT", - "FICHIER DES FLOTTEURS PRECEDENT" : "PREVIOUS_DROGUES_FILE", - "FORMAT DU FICHIER DES FLOTTEURS PRECEDENT" : "PREVIOUS_DROGUES_FILE_FORMAT", - "FICHIER POSITIONNANT LES DROGUES INITIALES" : "DROGUES_INITIAL_POSITIONING_DATA_FILE", - "FORMAT DU FICHIER POSITIONNANT LES DROGUES" : "FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE", - "MODELE DE TRANSPORT DES ALGUES" : "ALGAE_TRANSPORT_MODEL", - "NOMBRE DE CLASSES D'ALGUES" : "NUMBER_OF_ALGAE_CLASSES", - "TYPE DES ALGUES" : "ALGAE_TYPE", - "DIAMETRE DES ALGUES" : "DIAMETER_OF_ALGAE", - "DUREE AVANT RELACHE DES ALGUES" : "DURATION_BEFORE_ALGAE_RELEASE", - "MASSE VOLUMIQUE DES ALGUES" : "DENSITY_OF_ALGAE", - "EPAISSEUR DES ALGUES" : "THICKNESS_OF_ALGAE", - "TYPE DE RELACHE DES ALGUES" : "ALGAE_RELEASE_TYPE", - "SEUIL DE LA VITESSE ORBITALE DE VAGUE POUR LES ALGUES 1" : "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1", - "SEUIL DE LA VITESSE ORBITALE DE VAGUE POUR LES ALGUES 2" : "WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2", - "TAUX DE DEGRADATION POUR LES ALGUES" : "RATE_OF_DEGRADATION_FOR_ALGAE", - "MODELE DE NAPPES D'HYDROCARBURES" : "OIL_SPILL_MODEL", - "FICHIER DE COMMANDES HYDROCARBURES" : "OIL_SPILL_STEERING_FILE", - "MODELE DE DIFFUSION STOCHASTIQUE" : "STOCHASTIC_DIFFUSION_MODEL", - "NOMBRE DE DERIVES LAGRANGIENNES" : "NUMBER_OF_LAGRANGIAN_DRIFTS", - "NOMBRE DE SEUILS" : "NUMBER_OF_WEIRS", - "FICHIER DE DONNEES DES SEUILS" : "WEIRS_DATA_FILE", - "TYPE DES SEUILS" : "TYPE_OF_WEIRS", - "FICHIER DE SORTIE DES DEBITS DES SEUILS" : "WEIRS_DISCHARGE_OUTPUT_FILE", - "NOMBRE DE BUSES" : "NUMBER_OF_CULVERTS", - "FICHIER DE DONNEES DES BUSES" : "CULVERTS_DATA_FILE", - "OPTION POUR LES BUSES" : "OPTION_FOR_CULVERTS", - "BRECHE" : "BREACH", - "FICHIER DE DONNEES DES BRECHES" : "BREACHES_DATA_FILE", - "BASE BINAIRE 1 DE DONNEES DE MAREE" : "BINARY_DATABASE_1_FOR_TIDE", - "BASE BINAIRE 2 DE DONNEES DE MAREE" : "BINARY_DATABASE_2_FOR_TIDE", - "SYSTEME GEOGRAPHIQUE" : "GEOGRAPHIC_SYSTEM", - "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE" : "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "FICHIER DE CONVERSION LAMBERT 93" : "LAMBERT_93_CONVERSION_FILE", - "COEFFICIENT DE CALAGE DU NIVEAU DE MER" : "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER" : "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "INTERPOLATION DE COMPOSANTES MINEURES" : "MINOR_CONSTITUENTS_INFERENCE", - "VITESSES INITIALES CALCULEES PAR TPXO" : "INITIAL_VELOCITIES_COMPUTED_BY_TPXO", - "HAUTEUR MINIMALE POUR LES CONDITIONS INITIALES DE COURANTS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS", - "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE" : "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "BASE DE DONNEES DE MAREE" : "TIDAL_DATA_BASE", - "FICHIER DES CONSTANTES HARMONIQUES" : "HARMONIC_CONSTANTS_FILE", - "FICHIER DU MODELE DE MAREE" : "TIDAL_MODEL_FILE", - "FORMAT DU FICHIER DU MODELE DE MAREE" : "TIDAL_MODEL_FILE_FORMAT", - "BASE ASCII DE DONNEES DE MAREE" : "ASCII_DATABASE_FOR_TIDE", - "COEFFICIENT DE CALAGE DU MARNAGE" : "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT DE CALAGE DES VITESSES DE COURANT" : "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER" : "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "HAUTEUR MINIMALE POUR LES CONDITIONS AUX LIMITES DE COURANTS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS", - "FORCE GENERATRICE DE LA MAREE" : "TIDE_GENERATING_FORCE", - "COUPLAGE AVEC" : "COUPLING_WITH", - "NOMS DES VARIABLES CLANDESTINES" : "NAMES_OF_CLANDESTINE_VARIABLES", - "FICHIER DE COMMANDE DELWAQ" : "DELWAQ_STEERING_FILE", - "PERIODE DE SORTIE POUR DELWAQ" : "DELWAQ_PRINTOUT_PERIOD", - "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS" : "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS" : "NODES_DISTANCES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DU FOND" : "BOTTOM_SURFACES_DELWAQ_FILE", - "FICHIER DELWAQ DES VOLUMES" : "VOLUMES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DE FLUX" : "EXCHANGE_AREAS_DELWAQ_FILE", - "FICHIER DELWAQ DES FLUX VERTICAUX" : "VERTICAL_FLUXES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA VITESSE" : "VELOCITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA DIFFUSION" : "DIFFUSIVITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA TEMPERATURE" : "TEMPERATURE_DELWAQ_FILE", - "FICHIER DELWAQ DE LA SALINITE" : "SALINITY_DELWAQ_FILE", - "VITESSE POUR DELWAQ" : "VELOCITY_FOR_DELWAQ", - "DIFFUSION POUR DELWAQ" : "DIFFUSIVITY_FOR_DELWAQ", - "TEMPERATURE POUR DELWAQ" : "TEMPERATURE_FOR_DELWAQ", - "SALINITE POUR DELWAQ" : "SALINITY_FOR_DELWAQ", - "FICHIER DES PARAMETRES DE SISYPHE" : "SISYPHE_STEERING_FILE", - "PERIODE DE COUPLAGE POUR SISYPHE" : "COUPLING_PERIOD_FOR_SISYPHE", - "FICHIER DES PARAMETRES DE GAIA" : "GAIA_STEERING_FILE", - "FICHIER DES PARAMETRES DE TOMAWAC" : "TOMAWAC_STEERING_FILE", - "PERIODE DE COUPLAGE POUR TOMAWAC" : "COUPLING_PERIOD_FOR_TOMAWAC", - "FICHIER DES PARAMETRES DE WAQTEL" : "WAQTEL_STEERING_FILE", - "FICHIER DES PARAMETRES DE KHIONE" : "KHIONE_STEERING_FILE", - "PROCESSUS LIES AUX GLACES" : "ICE_PROCESSES", - "NESTOR" : "NESTOR", - "FICHIER DES PARAMETRES DE NESTOR" : "NESTOR_ACTION_FILE", - "FICHIER DE POLYGONES DE NESTOR" : "NESTOR_POLYGON_FILE", - "FICHIER DE SURFACE REFERENCE DE NESTOR" : "NESTOR_SURFACE_REFERENCE_FILE", - "FICHIER DE REPRISE DE NESTOR" : "NESTOR_RESTART_FILE", - "LANGUE" : "LANGUAGE", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DICTIONNAIRE" : "DICTIONARY", - "PARTITIONNEUR" : "PARTITIONING_TOOL", - "CONCATENATION SORTIE PARTEL" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/telemac2d_enum_auto.py b/Telemac/telemac2d_enum_auto.py deleted file mode 100644 index 3cbbcea3..00000000 --- a/Telemac/telemac2d_enum_auto.py +++ /dev/null @@ -1,1555 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wave celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'T1':"tracer 1", - 'T2':"tracer 2", - 'T3':"tracer 3", - 'T4':"tracer 4", - 'T5':"tracer 5", - 'T6':"tracer 6", - 'T7':"tracer 7", - 'T8':"tracer 8", - 'T9':"tracer 9", - 'T*':"All the tracers 1 to 9.", - 'T1*':"All the tracers 10 to 19.", - 'K':"turbulent kinetic energy in k-epsilon model (J/kg)", - 'E':"dissipation of turbulent energy (W/kg)", - 'D':"turbulent viscosity (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"scalar velocity (m/s)", - 'X':"wind along x axis (m/s)", - 'Y':"wind along y axis (m/s)", - 'P':"air pressure (Pa)", - 'W':"friction coefficient", - 'A':"drift along x (m)", - 'G':"drift along y (m)", - 'L':"Courant number", - 'N':"supplementary variable N", - 'O':"supplementary variable O", - 'R':"supplementary variable R", - 'Z':"supplementary variable Z", - 'MAXZ':"maximum elevation (m)", - 'TMXZ':"time of maximum elevation (s)", - 'MAXV':"maximum velocity (m/s)", - 'TMXV':"time of maximum velocity (s)", - 'US':"friction velocity (m/s)", - 'G1':"gradient 1, etc.", - 'TAU_S':"TAU_S", - '1/R':"1/R (1/m)", - 'OMEGA':"OMEGA", - 'WDIST':"distance to the closest wall (m)", - 'ZRL':"reference level for Nestor (m)", - }, -'VARIABLES_TO_BE_PRINTED' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'C':"wave celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'F':"Froude number", - 'Q':"scalar flowrate of fluid (m2/s)", - 'Tn':"tracer 1, etc.", - 'K':"turbulent kinetic energy in k-epsilon model (J/kg)", - 'E':"dissipation of turbulent energy (W/kg)", - 'D':"turbulent viscosity (m2/s)", - 'I':"flowrate along x axis (m2/s)", - 'J':"flowrate along y axis (m2/s)", - 'M':"scalar velocity (m/s)", - 'X':"wind along x axis (m/s)", - 'Y':"wind along y axis (m/s)", - 'P':"air pressure (Pa)", - 'W':"friction coefficient", - 'A':"drift along x (m)", - 'G':"drift along y (m)", - 'L':"Courant number", - 'N':"supplementary variable N", - 'O':"supplementary variable O", - 'R':"supplementary variable R", - 'Z':"supplementary variable Z", - 'MAXZ':"maximum elevation (m)", - 'TMXZ':"time of maximum elevation (s)", - 'MAXV':"maximum velocity (m/s)", - 'TMXV':"time of maximum velocity (s)", - 'US':"friction velocity (m/s)", - 'G1':"gradient 1, etc.", - 'TAU_S':"TAU_S", - '1/R':"1/R (1/m)", - 'OMEGA':"OMEGA", - 'WDIST':"distance to the closest wall (m)", - 'ZRL':"reference level for Nestor (m)", - }, -'STAGE_DISCHARGE_CURVES' : { - 0:"no", - 1:"Z(Q)", - 2:"Q(Z)", - }, -'VELOCITY_PROFILES' : { - 1:"constant normal profile", - 2:"u and v given in the conlim file", - 3:"normal velocity given in ubor in the conlim file", - 4:"velocity proportional to square root of depth", - 5:"velocity proportional to square root of depth, variant", - }, -'OPTION_FOR_LIQUID_BOUNDARIES' : { - 1:"classical", - 2:"Thompson method based on characteristics", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"NO FRICTION", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'DEPTH_IN_FRICTION_TERMS' : { - 1:"nodal", - 2:"average", - }, -'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES' : { - 0:"NO FRICTION", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - 6:"LOG LAW", - 7:"COLEBROOK-WHITE", - }, -'OPTION_FOR_WIND' : { - 1:"constant in time and space", - 2:"variable in time given by formated file", - 3:"variable in time and space given by formated file", - }, -'RAINFALL_RUNOFF_MODEL' : { - 0:"No infiltration", - 1:"CN runoff model", - }, -'COST_FUNCTION' : { - 1:"Computed with h,u,v", - 2:"Computed with c,u,v", - }, -'IDENTIFICATION_METHOD' : { - 0:"list of tests", - 1:"gradient simple", - 2:"conjugate gradient", - 3:"Lagrange interpolation", - }, -'TYPE_OF_SOURCES' : { - 1:"Normal", - 2:"Dirac", - }, -'TREATMENT_OF_THE_LINEAR_SYSTEM' : { - 1:"Coupled", - 2:"Wave equation", - }, -'FINITE_VOLUME_SCHEME' : { - 0:"Roe scheme", - 1:"kinetic", - 3:"Zokagoa scheme", - 4:"Tchamen scheme", - 5:"HLLC scheme", - 6:"WAF scheme", - }, -'OPTION_FOR_TSUNAMI_GENERATION' : { - 0:"No Tsunami", - 1:"Tsunami generated on the basis of the Okada model 1992", - }, -'SPATIAL_PROJECTION_TYPE' : { - 1:"CARTESIAN, NOT GEOREFERENCED", - 2:"MERCATOR", - 3:"LATITUDE LONGITUDE", - }, -'SOLVER' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 6:"cgstab", - 7:"gmres", - 8:"direct", - }, -'PRECONDITIONING' : { - 2:"diagonal", - 0:"no preconditioning", - 3:"block-diagonal (4-9 matrices)", - 5:"absolute value of diagonal", - 7:"Crout", - 11:"Gauss-Seidel", - 13:"Supplied by the user", - 14:"diagonal and Crout", - }, -'FINITE_ELEMENT_ASSEMBLY' : { - 1:"Normal", - 2:"Integer I8", - 3:"Compensated", - }, -'DISCRETIZATIONS_IN_SPACE' : { - 11:"linear", - 12:"quasi-bubble", - 13:"quadratic", - }, -'INITIAL_GUESS_FOR_H' : { - 0:"zero", - 1:"previous", - 2:"extrapolation", - }, -'INITIAL_GUESS_FOR_U' : { - 0:"zero", - 1:"previous", - 2:"extrapolation", - }, -'TYPE_OF_ADVECTION' : { - 1:"CHARACTERISTICS", - 2:"SUPG", - 3:"CONSERVATIVE N-SCHEME LP", - 4:"CONSERVATIVE N-SCHEME", - 5:"CONSERVATIVE PSI-SCHEME", - 13:"EDGE-BASED N-SCHEME LP", - 14:"EDGE-BASED N-SCHEME", - 15:"ERIA SCHEME", - }, -'OPTION_FOR_CHARACTERISTICS' : { - 1:"strong", - 2:"weak", - }, -'SCHEME_FOR_ADVECTION_OF_VELOCITIES' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"N-SCHEME FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priority to prescribed values", - 2:"Priority to fluxes", - }, -'OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES' : { - 1:"div( nu grad(U) )", - 2:"1/h div ( h nu grad(U)", - }, -'MATRIX_STORAGE' : { - 1:"classical EBE", - 3:"Edge-based storage", - }, -'TURBULENCE_MODEL' : { - 1:"CONSTANT VISCOSITY", - 2:"ELDER", - 3:"K-EPSILON MODEL", - 4:"SMAGORINSKI", - 5:"MIXING LENGTH", - 6:"SPALART-ALLMARAS", - }, -'SOLVER_FOR_K_EPSILON_MODEL' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"conjugate gradient squared stabilised (cgstab)", - 7:"gmres (see option for the solver for k-epsilon model)", - 8:"direct", - }, -'PRECONDITIONING_FOR_K_EPSILON_MODEL' : { - 2:"diagonal", - 0:"no preconditioning", - 7:"Crout", - 14:"diagonal and Crout", - }, -'TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES' : { - 1:"smooth", - 2:"rough", - }, -'SCHEME_FOR_ADVECTION_OF_K_EPSILON' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME FOR TIDAL FLATS", - }, -'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS' : { - 1:"EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS", - 2:"DRY ELEMENTS FROZEN", - 3:"LIKE 1 BUT WITH POROSITY (DEFINA METHOD)", - }, -'TREATMENT_OF_NEGATIVE_DEPTHS' : { - 0:"NO TREATMENT", - 1:"SMOOTHING", - 2:"FLUX CONTROL", - 3:"FLUX CONTROL (ERIA)", - }, -'SOLVER_FOR_DIFFUSION_OF_TRACERS' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres (see solver option for tracers diffusion)", - 8:"direct", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS' : { - 0:"no preconditioning", - 2:"diagonal", - 7:"Crout", - 14:"diagonal and Crout", - }, -'OPTION_FOR_THE_DIFFUSION_OF_TRACERS' : { - 1:"div( nu grad(T) )", - 2:"1/h div ( h nu grad(T)", - }, -'SCHEME_FOR_ADVECTION_OF_TRACERS' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - 15:"ERIA SCHEME FOR TIDAL FLATS", - }, -'ALGAE_TYPE' : { - 1:"SPHERE", - 2:"IRIDAEA FLACCIDA (CLOSE TO ULVA)", - 3:"PELVETIOPSIS LIMITATA", - 4:"GIGARTINA LEPTORHYNCHOS", - }, -'ALGAE_RELEASE_TYPE' : { - 1:"TIMED", - 2:"DISLODGEMENT", - }, -'STOCHASTIC_DIFFUSION_MODEL' : { - 0:"No model", - 1:"brownian movement", - }, -'TYPE_OF_WEIRS' : { - 1:"HORIZONTAL WITH SAME NUMBER OF NODES UPSTREAM/DOWNSTREAM", - 2:"GENERAL", - }, -'GEOGRAPHIC_SYSTEM' : { - -1:"NO DEFAULT VALUE", - 0:"DEFINED BY USER", - 1:"WGS84 LONGITUDE/LATITUDE IN REAL DEGREES", - 2:"WGS84 NORTHERN UTM", - 3:"WGS84 SOUTHERN UTM", - 4:"LAMBERT", - 5:"MERCATOR FOR TELEMAC", - }, -'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS' : { - 0:"No tide", - 1:"Real tide (recommended methodology)", - 2:"Astronomical tide", - 3:"Mean spring tide", - 4:"Mean tide", - 5:"Mean neap tide", - 6:"Astronomical neap tide", - 7:"Real tide (methodology before 2010)", - }, -'TIDAL_DATA_BASE' : { - -1:"NO DEFAULT VALUE", - 1:"JMJ", - 2:"TPXO", - 3:"MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...)", - }, -'LANGUAGE' : { - 1:"FRANCAIS", - 2:"ANGLAIS", - }, -} -TelemacdicoFr = { -'VARIABLES_FOR_GRAPHIC_PRINTOUTS' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite des ondes (m/s)", - 'H':"hauteur d eau (m)", - 'S':"cote de surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit scalaire du fluide (m2/s)", - 'Ti':"traceur i etc.", - 'T*':"Tous les traceurs de 1 a 9.", - 'T1*':"Tous les traceurs 10 a 19.", - 'K':"energie turbulente du modele k-epsilon (J/kg)", - 'E':"dissipation de l energie turbulente (W/kg)", - 'D':"viscosite turbulente (m2/s)", - 'I':"debit suivant l axe des x (m2/s)", - 'J':"debit suivant l axe des y (m2/s)", - 'M':"vitesse scalaire (m/s)", - 'X':"vent suivant l axe des x (m/s)", - 'Y':"vent suivant l axe des y (m/s)", - 'P':"pression atmospherique (Pa)", - 'W':"coefficient de frottement sur le fond", - 'A':"derive en x (m)", - 'G':"derive en y (m)", - 'L':"nombre de Courant", - 'N':"variable supplementaire N", - 'O':"variable supplementaire O", - 'R':"variable supplementaire R", - 'Z':"variable supplementaire Z", - 'MAXZ':"cote maximum (m)", - 'TMXZ':"temps de la cote maximum (s)", - 'MAXV':"vitesse maximum (m/s)", - 'TMXV':"temps de la vitesse maximum (s)", - 'US':"vitesse de frottement (m/s)", - 'G1':"gradient 1, etc.", - 'TAU_S':"TAU_S", - '1/R':"1/R (1/m)", - 'OMEGA':"OMEGA", - 'WDIST':"distance au mur le plus proche (m)", - 'ZRL':"niveau de reference pour Nestor (m)", - }, -'VARIABLES_TO_BE_PRINTED' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'C':"celerite des ondes (m/s)", - 'H':"hauteur d eau (m)", - 'S':"cote de surface libre (m)", - 'B':"cote du fond (m)", - 'F':"nombre de Froude", - 'Q':"debit scalaire du fluide (m2/s)", - 'Tn':"traceur 1, etc.", - 'K':"energie turbulente du modele k-epsilon (J/kg)", - 'E':"dissipation de l energie turbulente (W/kg)", - 'D':"viscosite turbulente (m2/s)", - 'I':"debit suivant l axe des x (m2/s)", - 'J':"debit suivant l axe des y (m2/s)", - 'M':"vitesse scalaire (m/s)", - 'X':"vent suivant l axe des x (m/s)", - 'Y':"vent suivant l axe des y (m/s)", - 'P':"pression atmospherique (Pa)", - 'W':"coefficient de frottement sur le fond", - 'A':"derive en x (m)", - 'G':"derive en y (m)", - 'L':"nombre de Courant", - 'N':"variable supplementaire N", - 'O':"variable supplementaire O", - 'R':"variable supplementaire R", - 'Z':"variable supplementaire Z", - 'MAXZ':"cote maximum (m)", - 'TMXZ':"temps de la cote maximum (s)", - 'MAXV':"vitesse maximum (m/s)", - 'TMXV':"temps de la vitesse maximum (s)", - 'US':"vitesse de frottement (m/s)", - 'G1':"gradient 1, etc.", - 'TAU_S':"TAU_S", - '1/R':"1/R (1/m)", - 'OMEGA':"OMEGA", - 'WDIST':"distance au mur le plus proche (m)", - 'ZRL':"niveau de reference pour Nestor (m)", - }, -'STAGE_DISCHARGE_CURVES' : { - 0:"non", - 1:"Z(Q)", - 2:"Q(Z)", - }, -'VELOCITY_PROFILES' : { - 1:"Profil normal constant", - 2:"u et v dans le fichier conlim", - 3:"Vitesse normale donnee dans ubor dans le fichier conlim", - 4:"vitesse en racine carree de h", - 5:"vitesse en racine carree de h, variante", - }, -'OPTION_FOR_LIQUID_BOUNDARIES' : { - 1:"classique", - 2:"methode de Thompson avec calcul de caracteristiques", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"PAS DE FROTTEMENT", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'DEPTH_IN_FRICTION_TERMS' : { - 1:"nodale", - 2:"moyenne", - }, -'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES' : { - 0:"PAS DE FROTTEMENT", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - 6:"LOG LAW", - 7:"COLEBROOK-WHITE", - }, -'OPTION_FOR_WIND' : { - 1:"constant en temps et en espace", - 2:"variable en temps donne par fichier formate", - 3:"variable en temps et en espace donne par fichier formate", - }, -'RAINFALL_RUNOFF_MODEL' : { - 0:"Pas d infiltration", - 1:"Modele CN", - }, -'COST_FUNCTION' : { - 1:"Calculee sur h,u,v", - 2:"Calculee avec c,u,v", - }, -'IDENTIFICATION_METHOD' : { - 0:"plan d experience", - 1:"gradient simple", - 2:"gradient conjugue", - 3:"interpolation de Lagrange", - }, -'TYPE_OF_SOURCES' : { - 1:"Normal", - 2:"Dirac", - }, -'TREATMENT_OF_THE_LINEAR_SYSTEM' : { - 1:"Traitement couple", - 2:"Equation d onde", - }, -'FINITE_VOLUME_SCHEME' : { - 0:"schema de Roe", - 1:"schema cinetique", - 3:"schema Zokagoa", - 4:"schema Tchamen", - 5:"schema HLLC", - 6:"schema WAF", - }, -'OPTION_FOR_TSUNAMI_GENERATION' : { - 0:"Pas de Tsunami", - 1:"Generation d un Tsunami sur la base du modele de Okada 1992", - }, -'SPATIAL_PROJECTION_TYPE' : { - 1:"CARTESIEN, NON GEOREFERENCE", - 2:"MERCATOR", - 3:"LATITUDE LONGITUDE", - }, -'SOLVER' : { - 1:"gradient conjugue", - 2:"residu conjugue", - 3:"equation normale", - 4:"erreur minimale", - 6:"cgstab", - 7:"gmres", - 8:"direct", - }, -'PRECONDITIONING' : { - 2:"diagonal", - 0:"aucun", - 3:"bloc-diagonal (4 ou 9 matrices)", - 5:"valeur absolue diagonale", - 7:"Crout", - 11:"Gauss-Seidel", - 13:"Fourni par l utilisateur", - 14:"diagonal et Crout", - }, -'FINITE_ELEMENT_ASSEMBLY' : { - 1:"Normal", - 2:"Entier I8", - 3:"Compense", - }, -'DISCRETIZATIONS_IN_SPACE' : { - 11:"lineaire", - 12:"quasi-bulle", - 13:"quadratique", - }, -'INITIAL_GUESS_FOR_H' : { - 0:"zero", - 1:"precedent", - 2:"extrapolation", - }, -'INITIAL_GUESS_FOR_U' : { - 0:"zero", - 1:"precedent", - 2:"extrapolation", - }, -'TYPE_OF_ADVECTION' : { - 1:"CARACTERISTIQUES", - 2:"SUPG", - 3:"SCHEMA N CONSERVATIF LP", - 4:"SCHEMA N CONSERVATIF", - 5:"SCHEMA PSI CONSERVATIF", - 13:"SCHEMA N PAR SEGMENTS LP", - 14:"SCHEMA N PAR SEGMENTS", - 15:"SCHEMA ERIA", - }, -'OPTION_FOR_CHARACTERISTICS' : { - 1:"fortes", - 2:"faibles", - }, -'SCHEME_FOR_ADVECTION_OF_VELOCITIES' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"SCHEMA N POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priorite aux valeurs imposees", - 2:"Priorite aux flux", - }, -'OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES' : { - 1:"div( nu grad(U) )", - 2:"1/h div ( h nu grad(U)", - }, -'MATRIX_STORAGE' : { - 1:"EBE classique", - 3:"Stockage par segments", - }, -'TURBULENCE_MODEL' : { - 1:"VISCOSITE CONSTANTE", - 2:"ELDER", - 3:"MODELE K-EPSILON", - 4:"SMAGORINSKI", - 5:"LONGUEUR DE MELANGE", - 6:"SPALART-ALLMARAS", - }, -'SOLVER_FOR_K_EPSILON_MODEL' : { - 1:"gradient conjugue", - 2:"residu conjugue", - 3:"gradient conjugue sur equation normale", - 4:"erreur minimale", - 5:"gradient conjugue carre", - 6:"gradient conjugue carre stabilise (cgstab)", - 7:"gmres (voir aussi option du solveur pour le modele k-epsilon", - 8:"direct", - }, -'PRECONDITIONING_FOR_K_EPSILON_MODEL' : { - 2:"diagonal", - 0:"aucun", - 7:"Crout", - 14:"diagonal et Crout", - }, -'TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES' : { - 1:"lisse", - 2:"rugueux", - }, -'SCHEME_FOR_ADVECTION_OF_K_EPSILON' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA POUR BANCS DECOUVRANTS", - }, -'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS' : { - 1:"EQUATIONS RESOLUES PARTOUT, CORRECTION SUR LES BANCS DECOUVRANTS", - 2:"GEL DES ELEMENTS DECOUVRANTS", - 3:"COMME 1 MAIS AVEC POROSITE (METHODE DEFINA)", - }, -'TREATMENT_OF_NEGATIVE_DEPTHS' : { - 0:"PAS DE TRAITEMENT", - 1:"LISSAGE", - 2:"LIMITATION DES FLUX", - 3:"LIMITATION DES FLUX (ERIA)", - }, -'SOLVER_FOR_DIFFUSION_OF_TRACERS' : { - 1:"gradient conjugue", - 2:"residu conjugue", - 3:"gradient conjugue sur equation normale", - 4:"erreur minimale", - 5:"gradient conjugue carre", - 6:"cgstab", - 7:"gmres (cf aussi option du solveur pour la diffusion des traceurs)", - 8:"direct", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS' : { - 0:"aucun", - 2:"diagonal", - 7:"Crout", - 14:"diagonal et Crout", - }, -'OPTION_FOR_THE_DIFFUSION_OF_TRACERS' : { - 1:"div( nu grad(T) )", - 2:"1/h div ( h nu grad(T)", - }, -'SCHEME_FOR_ADVECTION_OF_TRACERS' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - 15:"SCHEMA ERIA POUR BANCS DECOUVRANTS", - }, -'ALGAE_TYPE' : { - 1:"SPHERE", - 2:"IRIDAEA FLACCIDA (PROCHE DES ULVES)", - 3:"PELVETIOPSIS LIMITATA", - 4:"GIGARTINA LEPTORHYNCHOS", - }, -'ALGAE_RELEASE_TYPE' : { - 1:"PERIODE", - 2:"DEPLACEMENT", - }, -'STOCHASTIC_DIFFUSION_MODEL' : { - 0:"Pas de modele", - 1:"mouvement brownien", - }, -'TYPE_OF_WEIRS' : { - 1:"HORIZONTAL AVEC MEME NOMBRE DE NOEUDS AMONT/AVAL", - 2:"GENERALE", - }, -'GEOGRAPHIC_SYSTEM' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 0:"DEFINI PAR L UTILISATEUR", - 1:"WGS84 LONGITUDE/LATITUDE EN DEGRES REELS", - 2:"WGS84 NORD UTM", - 3:"WGS84 SUD UTM", - 4:"LAMBERT", - 5:"MERCATOR POUR TELEMAC", - }, -'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS' : { - 0:"Pas de maree", - 1:"Maree reelle (methodologie recommandee)", - 2:"Maree de vive-eau exceptionnelle (coef. presque 120)", - 3:"Maree de vive-eau moyenne (coef. presque 95)", - 4:"Maree moyenne (coef. presque 70)", - 5:"Maree de morte-eau moyenne (coef. presque 45)", - 6:"Maree de morte-eau exceptionnelle (coef. presque 20)", - 7:"Maree reelle (methodologie d avant 2010)", - }, -'TIDAL_DATA_BASE' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 1:"JMJ", - 2:"TPXO", - 3:"DIVERS (LEGOS-NEA, FES20XX, PREVIMER...)", - }, -'LANGUAGE' : { - 1:"FRANCAIS", - 2:"ANGLAIS", - }, -} - -DicoCasFrToCata = { - "TITRE":"TITLE", - "CONDITIONS INITIALES":"INITIAL_CONDITIONS", - "COTE INITIALE":"INITIAL_ELEVATION", - "HAUTEUR INITIALE":"INITIAL_DEPTH", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1_FORMAT", - "FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2_FORMAT", - "FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2", - "FICHIER DE DONNEES FORMATE 1":"FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2":"FORMATTED_DATA_FILE_2", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "LISSAGES DU FOND":"BOTTOM_SMOOTHINGS", - "LISSAGES DU FOND APRES MODIFICATIONS UTILISATEUR":"BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "VALIDATION":"VALIDATION", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES":"MAXIMUM_NUMBER_OF_BOUNDARIES", - "NOMBRE MAXIMUM DE SOURCES":"MAXIMUM_NUMBER_OF_SOURCES", - "NOMBRE MAXIMUM DE TRACEURS":"MAXIMUM_NUMBER_OF_TRACERS", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "COEFFICIENT DE SECURITE POUR SCARACT":"SECURITY_COEFFICIENT_FOR_SCARACT", - "SUITE DE CALCUL":"COMPUTATION_CONTINUED", - "FORMAT DU FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE_FORMAT", - "FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE", - "ENREGISTREMENT POUR SUITE DE CALCUL":"RECORD_NUMBER_FOR_RESTART", - "REMISE A ZERO DU TEMPS":"INITIAL_TIME_SET_TO_ZERO", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES":"NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "PERIODE POUR LES SORTIES GRAPHIQUES":"GRAPHIC_PRINTOUT_PERIOD", - "VARIABLES POUR LES SORTIES GRAPHIQUES":"VARIABLES_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE TABLEAUX PRIVES":"NUMBER_OF_PRIVATE_ARRAYS", - "NOMS DES VARIABLES PRIVEES":"NAMES_OF_PRIVATE_VARIABLES", - "FORMAT DU FICHIER DES RESULTATS":"RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "FICHIER RESULTAT EN LONGITUDE-LATITUDE":"RESULT_FILE_IN_LONGITUDE_LATITUDE", - "FORMAT DU FICHIER DE RESULTATS BINAIRE":"BINARY_RESULTS_FILE_FORMAT", - "FICHIER DE RESULTATS BINAIRE":"BINARY_RESULTS_FILE", - "FICHIER DE RESULTATS FORMATE":"FORMATTED_RESULTS_FILE", - "SECTIONS DE CONTROLE":"CONTROL_SECTIONS", - "IMPRESSION DU CUMUL DES FLUX":"PRINTING_CUMULATED_FLOWRATES", - "CALCUL COMPATIBLE DES FLUX":"COMPATIBLE_COMPUTATION_OF_FLUXES", - "FICHIER DES SECTIONS DE CONTROLE":"SECTIONS_INPUT_FILE", - "FICHIER DE SORTIE DES SECTIONS DE CONTROLE":"SECTIONS_OUTPUT_FILE", - "FLUXLINE":"FLUXLINE", - "FICHIER DE FLUXLINE":"FLUXLINE_INPUT_FILE", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING":"NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "PERIODE DE SORTIE LISTING":"LISTING_PRINTOUT_PERIOD", - "PERIODE POUR LES SORTIES LISTING":"LISTING_FOR_PRINTOUT_PERIOD", - "SORTIE LISTING":"LISTING_PRINTOUT", - "VARIABLES A IMPRIMER":"VARIABLES_TO_BE_PRINTED", - "BILAN DE MASSE":"MASS_BALANCE", - "INFORMATIONS SUR LE SOLVEUR":"INFORMATION_ABOUT_SOLVER", - "LISTE DE POINTS":"LIST_OF_POINTS", - "NOMS DES POINTS":"NAMES_OF_POINTS", - "PERIODES D'ANALYSE DE FOURIER":"FOURIER_ANALYSIS_PERIODS", - "BORNES EN TEMPS POUR L'ANALYSE DE FOURIER":"TIME_RANGE_FOR_FOURIER_ANALYSIS", - "COTES IMPOSEES":"PRESCRIBED_ELEVATIONS", - "DEBITS IMPOSES":"PRESCRIBED_FLOWRATES", - "VITESSES IMPOSEES":"PRESCRIBED_VELOCITIES", - "COURBES DE TARAGE":"STAGE_DISCHARGE_CURVES", - "FICHIER DES COURBES DE TARAGE":"STAGE_DISCHARGE_CURVES_FILE", - "PROFILS DE VITESSE":"VELOCITY_PROFILES", - "OPTION POUR LES FRONTIERES LIQUIDES":"OPTION_FOR_LIQUID_BOUNDARIES", - "FICHIER DES FRONTIERES LIQUIDES":"LIQUID_BOUNDARIES_FILE", - "ELEMENTS MASQUES PAR L'UTILISATEUR":"ELEMENTS_MASKED_BY_USER", - "NOMBRE MAXIMUM DE DOMAINES DE FROTTEMENT":"MAXIMUM_NUMBER_OF_FRICTION_DOMAINS", - "DONNEES POUR LE FROTTEMENT":"FRICTION_DATA", - "FICHIER DE DONNEES POUR LE FROTTEMENT":"FRICTION_DATA_FILE", - "LOI DE FROTTEMENT SUR LE FOND":"LAW_OF_BOTTOM_FRICTION", - "COEFFICIENT DE FROTTEMENT":"FRICTION_COEFFICIENT", - "VALEUR PAR DEFAUT DU MANNING POUR LA LOI DE COLEBROOK-WHITE":"MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW", - "HAUTEUR DANS LES TERMES DE FROTTEMENT":"DEPTH_IN_FRICTION_TERMS", - "FROTTEMENT POUR LA VEGETATION":"VEGETATION_FRICTION", - "LOI DE FROTTEMENT SUR LES PAROIS LATERALES":"LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "COEFFICIENT DE RUGOSITE DES BORDS":"ROUGHNESS_COEFFICIENT_OF_BOUNDARIES", - "DEFINITION DE ZONES":"DEFINITION_OF_ZONES", - "FICHIER DES ZONES":"ZONES_FILE", - "VENT":"WIND", - "OPTION DU VENT":"OPTION_FOR_WIND", - "COEFFICIENT D'INFLUENCE DU VENT":"COEFFICIENT_OF_WIND_INFLUENCE", - "COEFFICIENT D'INFLUENCE DU VENT DEPENDANT DE LA VITESSE DU VENT":"COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED", - "VITESSE DU VENT SUIVANT X":"WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y":"WIND_VELOCITY_ALONG_Y", - "VITESSE ET DIRECTION DU VENT":"SPEED_AND_DIRECTION_OF_WIND", - "PROFONDEUR LIMITE POUR LE VENT":"THRESHOLD_DEPTH_FOR_WIND", - "PRESSION ATMOSPHERIQUE":"AIR_PRESSURE", - "VALEUR DE LA PRESSION ATMOSPHERIQUE":"VALUE_OF_ATMOSPHERIC_PRESSURE", - "PLUIE OU EVAPORATION":"RAIN_OR_EVAPORATION", - "PLUIE OU EVAPORATION EN MM PAR JOUR":"RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "MODELE PLUIE-DEBIT":"RAINFALL_RUNOFF_MODEL", - "CONDITIONS D'HUMIDITE PRECEDENTE":"ANTECEDENT_MOISTURE_CONDITIONS", - "DUREE DE LA PLUIE OU EVAPORATION EN HEURES":"DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS", - "FICHIER ASCII DE DONNEES ATMOSPHERIQUES":"ASCII_ATMOSPHERIC_DATA_FILE", - "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES":"BINARY_ATMOSPHERIC_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES":"BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "OPTION POUR RATIO DES PERTES INITIALES":"OPTION_FOR_INITIAL_ABSTRACTION_RATIO", - "TEMPERATURE DE L'AIR":"AIR_TEMPERATURE", - "NEBULOSITE":"CLOUD_COVER", - "RAYONNEMENT SOLAIRE":"SOLAR_RADIATION", - "PRESSION DE VAPEUR SATURANTE":"VAPOROUS_PRESSURE", - "COURANTS DE HOULE":"WAVE_DRIVEN_CURRENTS", - "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE":"RECORD_NUMBER_IN_WAVE_FILE", - "AUGMENTATION DU FROTTEMENT PAR LA HOULE":"WAVE_ENHANCED_FRICTION_FACTOR", - "ESTIMATION DE PARAMETRE":"PARAMETER_ESTIMATION", - "FONCTION COUT":"COST_FUNCTION", - "METHODE D'IDENTIFICATION":"IDENTIFICATION_METHOD", - "PRECISIONS POUR L'IDENTIFICATION":"TOLERANCES_FOR_IDENTIFICATION", - "MAXIMUM D'ITERATIONS POUR L'IDENTIFICATION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION", - "ABSCISSES DES SOURCES":"ABSCISSAE_OF_SOURCES", - "ORDONNEES DES SOURCES":"ORDINATES_OF_SOURCES", - "DEBITS DES SOURCES":"WATER_DISCHARGE_OF_SOURCES", - "VITESSES DES SOURCES SELON X":"VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VITESSES DES SOURCES SELON Y":"VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "TYPE DES SOURCES":"TYPE_OF_SOURCES", - "FICHIER DES SOURCES":"SOURCES_FILE", - "NUMEROS GLOBAUX DES NOEUDS DES SOURCES":"GLOBAL_NUMBERS_OF_SOURCE_NODES", - "FICHIER DES REGIONS DES SOURCES":"SOURCE_REGIONS_DATA_FILE", - "NOMBRE MAXIMUM DE POINTS POUR DEFINIR DES SOURCES":"MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS", - "PROCESSUS QUALITE D'EAU":"WATER_QUALITY_PROCESS", - "MASSE VOLUMIQUE DE L'EAU":"WATER_DENSITY", - "ACCELERATION DE LA PESANTEUR":"GRAVITY_ACCELERATION", - "STRUCTURES VERTICALES":"VERTICAL_STRUCTURES", - "EQUATIONS":"EQUATIONS", - "TRAITEMENT DU SYSTEME LINEAIRE":"TREATMENT_OF_THE_LINEAR_SYSTEM", - "SCHEMA EN VOLUMES FINIS":"FINITE_VOLUME_SCHEME", - "ORDRE EN ESPACE DU SCHEMA VOLUME FINIS":"FINITE_VOLUME_SCHEME_SPACE_ORDER", - "ORDRE EN TEMPS DU SCHEMA VOLUME FINIS":"FINITE_VOLUME_SCHEME_TIME_ORDER", - "LIMITEUR DE FLUX POUR H PLUS Z":"FLUX_LIMITOR_FOR_H_PLUS_Z", - "LIMITEUR DE FLUX POUR U ET V":"FLUX_LIMITOR_FOR_U_AND_V", - "LIMITEUR DE FLUX POUR LES TRACEURS":"FLUX_LIMITOR_FOR_TRACERS", - "TYPE DE CONDITION A LA LIMITE POUR LE SCHEMA CINETIQUE":"TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME", - "CORIOLIS":"CORIOLIS", - "COEFFICIENT DE CORIOLIS":"CORIOLIS_COEFFICIENT", - "OPTION POUR LA GENERATION DE TSUNAMI":"OPTION_FOR_TSUNAMI_GENERATION", - "PARAMETRES PHYSIQUES DU TSUNAMI":"PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI", - "COURANTS SECONDAIRES":"SECONDARY_CURRENTS", - "COEFFICIENT DE PRODUCTION POUR COURANTS SECONDAIRES":"PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "COEFFICIENT DE DISSIPATION POUR COURANTS SECONDAIRES":"DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS", - "DEBUGGER":"DEBUGGER", - "PAS DE TEMPS":"TIME_STEP", - "NOMBRE DE PAS DE TEMPS":"NUMBER_OF_TIME_STEPS", - "DUREE DU CALCUL":"DURATION", - "DATE DE L'ORIGINE DES TEMPS":"ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS":"ORIGINAL_HOUR_OF_TIME", - "ARRET SI UN ETAT PERMANENT EST ATTEINT":"STOP_IF_A_STEADY_STATE_IS_REACHED", - "CRITERES D'ARRET":"STOP_CRITERIA", - "CONTROLE DES LIMITES":"CONTROL_OF_LIMITS", - "VALEURS LIMITES":"LIMIT_VALUES", - "PAS DE TEMPS VARIABLE":"VARIABLE_TIME_STEP", - "NOMBRE DE COURANT SOUHAITE":"DESIRED_COURANT_NUMBER", - "COORDONNEES SPHERIQUES":"SPHERICAL_COORDINATES", - "LATITUDE DU POINT ORIGINE":"LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE DU POINT ORIGINE":"LONGITUDE_OF_ORIGIN_POINT", - "NORD":"NORTH", - "TYPE DE PROJECTION SPATIALE":"SPATIAL_PROJECTION_TYPE", - "SOLVEUR":"SOLVER", - "OPTION DU SOLVEUR":"SOLVER_OPTION", - "PRECISION DU SOLVEUR":"SOLVER_ACCURACY", - "MAXIMUM D'ITERATIONS POUR LE SOLVEUR":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER", - "CORRECTION DE CONTINUITE":"CONTINUITY_CORRECTION", - "PRECONDITIONNEMENT":"PRECONDITIONING", - "PRECONDITIONNEMENT C-U":"C_U_PRECONDITIONING", - "ASSEMBLAGE EN ELEMENTS FINIS":"FINITE_ELEMENT_ASSEMBLY", - "IMPLICITATION POUR LA HAUTEUR":"IMPLICITATION_FOR_DEPTH", - "IMPLICITATION POUR LA VITESSE":"IMPLICITATION_FOR_VELOCITY", - "DISCRETISATIONS EN ESPACE":"DISCRETIZATIONS_IN_SPACE", - "PROPAGATION":"PROPAGATION", - "ORDRE DU TIR INITIAL POUR H":"INITIAL_GUESS_FOR_H", - "PROPAGATION LINEARISEE":"LINEARIZED_PROPAGATION", - "ORDRE DU TIR INITIAL POUR U":"INITIAL_GUESS_FOR_U", - "PROFONDEUR MOYENNE POUR LA LINEARISATION":"MEAN_DEPTH_FOR_LINEARIZATION", - "CONVECTION":"ADVECTION", - "CONVECTION DE H":"ADVECTION_OF_H", - "CONVECTION DE U ET V":"ADVECTION_OF_U_AND_V", - "FORME DE LA CONVECTION":"TYPE_OF_ADVECTION", - "OPTION POUR LES CARACTERISTIQUES":"OPTION_FOR_CHARACTERISTICS", - "OPTION DE SUPG":"SUPG_OPTION", - "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES":"NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES":"MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "MASS-LUMPING SUR H":"MASS_LUMPING_ON_H", - "MASS-LUMPING SUR LA VITESSE":"MASS_LUMPING_ON_VELOCITY", - "SCHEMA POUR LA CONVECTION DES VITESSES":"SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES":"SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE":"FREE_SURFACE_GRADIENT_COMPATIBILITY", - "NOMBRE DE SOUS-ITERATIONS POUR LES NON-LINEARITES":"NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "TRAITEMENT DES FLUX AUX FRONTIERES":"TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "DIFFUSION DES VITESSES":"DIFFUSION_OF_VELOCITY", - "OPTION POUR LA DIFFUSION DES VITESSES":"OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION POUR LA DIFFUSION DES VITESSES":"IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY", - "AD NOMBRE DE DERIVEES":"AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES":"AD_NAMES_OF_DERIVATIVES", - "AD SOLVEUR LINEAIRE SYMBOLIQUE":"AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "STOCKAGE DES MATRICES":"MATRIX_STORAGE", - "PRODUIT MATRICE-VECTEUR":"MATRIX_VECTOR_PRODUCT", - "COEFFICIENT D'INTEGRATION EN TEMPS DE NEWMARK":"NEWMARK_TIME_INTEGRATION_COEFFICIENT", - "ZERO":"ZERO", - "OPTION DE LA RECONSTRUCTION HYDROSTATIQUE":"OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION", - "ETUDE DE CONVERGENCE":"CONVERGENCE_STUDY", - "NIVEAUX DE RAFFINEMENT":"REFINEMENT_LEVELS", - "COEFFICIENT DE DIFFUSION DES VITESSES":"VELOCITY_DIFFUSIVITY", - "MODELE DE TURBULENCE":"TURBULENCE_MODEL", - "PRECISION SUR SPALART-ALLMARAS":"ACCURACY_OF_SPALART_ALLMARAS", - "INFORMATION SUR LE MODELE SPALART-ALLMARAS":"INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL", - "SOLVEUR POUR LE MODELE K-EPSILON":"SOLVER_FOR_K_EPSILON_MODEL", - "OPTION DU SOLVEUR POUR LE MODELE K-EPSILON":"OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL", - "PRECONDITIONNEMENT POUR LE MODELE K-EPSILON":"PRECONDITIONING_FOR_K_EPSILON_MODEL", - "COEFFICIENTS ADIMENSIONNELS DE DISPERSION":"NON_DIMENSIONAL_DISPERSION_COEFFICIENTS", - "REGIME DE TURBULENCE POUR LES PAROIS":"TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES", - "INFORMATIONS SUR LE MODELE K-EPSILON":"INFORMATION_ABOUT_K_EPSILON_MODEL", - "CONVECTION DE K ET EPSILON":"ADVECTION_OF_K_AND_EPSILON", - "SCHEMA POUR LA CONVECTION DU K-EPSILON":"SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON":"SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "COEFFICIENTS DU MODELE DE LONGUEUR DE MELANGE":"MIXING_LENGTH_MODEL_COEFFICIENTS", - "PRECISION SUR K":"ACCURACY_OF_K", - "PRECISION SUR EPSILON":"ACCURACY_OF_EPSILON", - "MAXIMUM D'ITERATIONS POUR K ET EPSILON":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON", - "BANCS DECOUVRANTS":"TIDAL_FLATS", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS":"OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TRAITEMENT DES HAUTEURS NEGATIVES":"TREATMENT_OF_NEGATIVE_DEPTHS", - "SEUIL POUR LES PROFONDEURS NEGATIVES":"THRESHOLD_FOR_NEGATIVE_DEPTHS", - "PROFONDEUR LIMITE POUR PROCEDURE DE RESSUYAGE":"THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE", - "CLIPPING DE H":"H_CLIPPING", - "VALEUR MINIMUM DE H":"MINIMUM_VALUE_OF_DEPTH", - "VALEURS IMPOSEES DES TRACEURS":"PRESCRIBED_TRACERS_VALUES", - "NOMBRE DE TRACEURS":"NUMBER_OF_TRACERS", - "NOMS DES TRACEURS":"NAMES_OF_TRACERS", - "VALEURS INITIALES DES TRACEURS":"INITIAL_VALUES_OF_TRACERS", - "EFFETS DE DENSITE":"DENSITY_EFFECTS", - "TEMPERATURE MOYENNE":"MEAN_TEMPERATURE", - "SOLVEUR POUR LA DIFFUSION DES TRACEURS":"SOLVER_FOR_DIFFUSION_OF_TRACERS", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS":"SOLVER_OPTION_FOR_TRACERS_DIFFUSION", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS":"PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "PRECISION POUR LA DIFFUSION DES TRACEURS":"ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "VALEURS DES TRACEURS DES SOURCES":"VALUES_OF_THE_TRACERS_AT_THE_SOURCES", - "VALEURS DES TRACEURS DANS LA PLUIE":"VALUES_OF_TRACERS_IN_THE_RAIN", - "CONVECTION DES TRACEURS":"ADVECTION_OF_TRACERS", - "COEFFICIENT D'IMPLICITATION DES TRACEURS":"IMPLICITATION_COEFFICIENT_OF_TRACERS", - "DIFFUSION DES TRACEURS":"DIFFUSION_OF_TRACERS", - "COEFFICIENT DE DIFFUSION DES TRACEURS":"COEFFICIENT_FOR_DIFFUSION_OF_TRACERS", - "OPTION POUR LA DIFFUSION DES TRACEURS":"OPTION_FOR_THE_DIFFUSION_OF_TRACERS", - "SCHEMA POUR LA CONVECTION DES TRACEURS":"SCHEME_FOR_ADVECTION_OF_TRACERS", - "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS":"SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "MASS-LUMPING SUR LES TRACEURS":"MASS_LUMPING_ON_TRACERS", - "NOMBRE MAXIMAL DE FLOTTEURS":"MAXIMUM_NUMBER_OF_DROGUES", - "DENSITE INITIALE DE REPARTITION DES FLOTTEURS":"INITIAL_DROGUES_SAMPLING_DENSITY", - "PERIODE POUR LES SORTIES DE FLOTTEURS":"PRINTOUT_PERIOD_FOR_DROGUES", - "FICHIER ASCII DES FLOTTEURS":"ASCII_DROGUES_FILE", - "FICHIER BINAIRE DES FLOTTEURS":"BINARY_DROGUES_FILE", - "FORMAT DU FICHIER DES FLOTTEURS":"DROGUES_FILE_FORMAT", - "FICHIER DES FLOTTEURS PRECEDENT":"PREVIOUS_DROGUES_FILE", - "FORMAT DU FICHIER DES FLOTTEURS PRECEDENT":"PREVIOUS_DROGUES_FILE_FORMAT", - "FICHIER POSITIONNANT LES DROGUES INITIALES":"DROGUES_INITIAL_POSITIONING_DATA_FILE", - "FORMAT DU FICHIER POSITIONNANT LES DROGUES":"FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE", - "MODELE DE TRANSPORT DES ALGUES":"ALGAE_TRANSPORT_MODEL", - "NOMBRE DE CLASSES D'ALGUES":"NUMBER_OF_ALGAE_CLASSES", - "TYPE DES ALGUES":"ALGAE_TYPE", - "DIAMETRE DES ALGUES":"DIAMETER_OF_ALGAE", - "DUREE AVANT RELACHE DES ALGUES":"DURATION_BEFORE_ALGAE_RELEASE", - "MASSE VOLUMIQUE DES ALGUES":"DENSITY_OF_ALGAE", - "EPAISSEUR DES ALGUES":"THICKNESS_OF_ALGAE", - "TYPE DE RELACHE DES ALGUES":"ALGAE_RELEASE_TYPE", - "SEUIL DE LA VITESSE ORBITALE DE VAGUE POUR LES ALGUES 1":"WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1", - "SEUIL DE LA VITESSE ORBITALE DE VAGUE POUR LES ALGUES 2":"WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2", - "TAUX DE DEGRADATION POUR LES ALGUES":"RATE_OF_DEGRADATION_FOR_ALGAE", - "MODELE DE NAPPES D'HYDROCARBURES":"OIL_SPILL_MODEL", - "FICHIER DE COMMANDES HYDROCARBURES":"OIL_SPILL_STEERING_FILE", - "MODELE DE DIFFUSION STOCHASTIQUE":"STOCHASTIC_DIFFUSION_MODEL", - "NOMBRE DE DERIVES LAGRANGIENNES":"NUMBER_OF_LAGRANGIAN_DRIFTS", - "NOMBRE DE SEUILS":"NUMBER_OF_WEIRS", - "FICHIER DE DONNEES DES SEUILS":"WEIRS_DATA_FILE", - "TYPE DES SEUILS":"TYPE_OF_WEIRS", - "FICHIER DE SORTIE DES DEBITS DES SEUILS":"WEIRS_DISCHARGE_OUTPUT_FILE", - "NOMBRE DE BUSES":"NUMBER_OF_CULVERTS", - "FICHIER DE DONNEES DES BUSES":"CULVERTS_DATA_FILE", - "OPTION POUR LES BUSES":"OPTION_FOR_CULVERTS", - "BRECHE":"BREACH", - "FICHIER DE DONNEES DES BRECHES":"BREACHES_DATA_FILE", - "BASE BINAIRE 1 DE DONNEES DE MAREE":"BINARY_DATABASE_1_FOR_TIDE", - "BASE BINAIRE 2 DE DONNEES DE MAREE":"BINARY_DATABASE_2_FOR_TIDE", - "SYSTEME GEOGRAPHIQUE":"GEOGRAPHIC_SYSTEM", - "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE":"ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "FICHIER DE CONVERSION LAMBERT 93":"LAMBERT_93_CONVERSION_FILE", - "COEFFICIENT DE CALAGE DU NIVEAU DE MER":"COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER":"GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "INTERPOLATION DE COMPOSANTES MINEURES":"MINOR_CONSTITUENTS_INFERENCE", - "VITESSES INITIALES CALCULEES PAR TPXO":"INITIAL_VELOCITIES_COMPUTED_BY_TPXO", - "HAUTEUR MINIMALE POUR LES CONDITIONS INITIALES DE COURANTS":"MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS", - "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE":"OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "BASE DE DONNEES DE MAREE":"TIDAL_DATA_BASE", - "FICHIER DES CONSTANTES HARMONIQUES":"HARMONIC_CONSTANTS_FILE", - "FICHIER DU MODELE DE MAREE":"TIDAL_MODEL_FILE", - "FORMAT DU FICHIER DU MODELE DE MAREE":"TIDAL_MODEL_FILE_FORMAT", - "BASE ASCII DE DONNEES DE MAREE":"ASCII_DATABASE_FOR_TIDE", - "COEFFICIENT DE CALAGE DU MARNAGE":"COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT DE CALAGE DES VITESSES DE COURANT":"COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER":"LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "HAUTEUR MINIMALE POUR LES CONDITIONS AUX LIMITES DE COURANTS":"MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS", - "FORCE GENERATRICE DE LA MAREE":"TIDE_GENERATING_FORCE", - "COUPLAGE AVEC":"COUPLING_WITH", - "NOMS DES VARIABLES CLANDESTINES":"NAMES_OF_CLANDESTINE_VARIABLES", - "FICHIER DE COMMANDE DELWAQ":"DELWAQ_STEERING_FILE", - "PERIODE DE SORTIE POUR DELWAQ":"DELWAQ_PRINTOUT_PERIOD", - "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS":"EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS":"NODES_DISTANCES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DU FOND":"BOTTOM_SURFACES_DELWAQ_FILE", - "FICHIER DELWAQ DES VOLUMES":"VOLUMES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DE FLUX":"EXCHANGE_AREAS_DELWAQ_FILE", - "FICHIER DELWAQ DES FLUX VERTICAUX":"VERTICAL_FLUXES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA VITESSE":"VELOCITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA DIFFUSION":"DIFFUSIVITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA TEMPERATURE":"TEMPERATURE_DELWAQ_FILE", - "FICHIER DELWAQ DE LA SALINITE":"SALINITY_DELWAQ_FILE", - "VITESSE POUR DELWAQ":"VELOCITY_FOR_DELWAQ", - "DIFFUSION POUR DELWAQ":"DIFFUSIVITY_FOR_DELWAQ", - "TEMPERATURE POUR DELWAQ":"TEMPERATURE_FOR_DELWAQ", - "SALINITE POUR DELWAQ":"SALINITY_FOR_DELWAQ", - "FICHIER DES PARAMETRES DE SISYPHE":"SISYPHE_STEERING_FILE", - "PERIODE DE COUPLAGE POUR SISYPHE":"COUPLING_PERIOD_FOR_SISYPHE", - "FICHIER DES PARAMETRES DE GAIA":"GAIA_STEERING_FILE", - "FICHIER DES PARAMETRES DE TOMAWAC":"TOMAWAC_STEERING_FILE", - "PERIODE DE COUPLAGE POUR TOMAWAC":"COUPLING_PERIOD_FOR_TOMAWAC", - "FICHIER DES PARAMETRES DE WAQTEL":"WAQTEL_STEERING_FILE", - "FICHIER DES PARAMETRES DE KHIONE":"KHIONE_STEERING_FILE", - "PROCESSUS LIES AUX GLACES":"ICE_PROCESSES", - "NESTOR":"NESTOR", - "FICHIER DES PARAMETRES DE NESTOR":"NESTOR_ACTION_FILE", - "FICHIER DE POLYGONES DE NESTOR":"NESTOR_POLYGON_FILE", - "FICHIER DE SURFACE REFERENCE DE NESTOR":"NESTOR_SURFACE_REFERENCE_FILE", - "FICHIER DE REPRISE DE NESTOR":"NESTOR_RESTART_FILE", - "LANGUE":"LANGUAGE", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DICTIONNAIRE":"DICTIONARY", - "PARTITIONNEUR":"PARTITIONING_TOOL", - "CONCATENATION SORTIE PARTEL":"CONCATENATE_PARTEL_OUTPUT", -} - -DicoCasEnToCata = { - 'TITLE':'TITLE', - 'INITIAL CONDITIONS':'INITIAL_CONDITIONS', - 'INITIAL ELEVATION':'INITIAL_ELEVATION', - 'INITIAL DEPTH':'INITIAL_DEPTH', - 'BINARY DATA FILE 1 FORMAT':'BINARY_DATA_FILE_1_FORMAT', - 'BINARY DATA FILE 1':'BINARY_DATA_FILE_1', - 'BINARY DATA FILE 2 FORMAT':'BINARY_DATA_FILE_2_FORMAT', - 'BINARY DATA FILE 2':'BINARY_DATA_FILE_2', - 'FORMATTED DATA FILE 1':'FORMATTED_DATA_FILE_1', - 'FORMATTED DATA FILE 2':'FORMATTED_DATA_FILE_2', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'FORTRAN FILE':'FORTRAN_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'BOTTOM SMOOTHINGS':'BOTTOM_SMOOTHINGS', - 'BOTTOM SMOOTHINGS AFTER USER MODIFICATIONS':'BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'VALIDATION':'VALIDATION', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'REFERENCE FILE':'REFERENCE_FILE', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'MAXIMUM NUMBER OF BOUNDARIES':'MAXIMUM_NUMBER_OF_BOUNDARIES', - 'MAXIMUM NUMBER OF SOURCES':'MAXIMUM_NUMBER_OF_SOURCES', - 'MAXIMUM NUMBER OF TRACERS':'MAXIMUM_NUMBER_OF_TRACERS', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'SECURITY COEFFICIENT FOR SCARACT':'SECURITY_COEFFICIENT_FOR_SCARACT', - 'COMPUTATION CONTINUED':'COMPUTATION_CONTINUED', - 'PREVIOUS COMPUTATION FILE FORMAT':'PREVIOUS_COMPUTATION_FILE_FORMAT', - 'PREVIOUS COMPUTATION FILE':'PREVIOUS_COMPUTATION_FILE', - 'RECORD NUMBER FOR RESTART':'RECORD_NUMBER_FOR_RESTART', - 'INITIAL TIME SET TO ZERO':'INITIAL_TIME_SET_TO_ZERO', - 'NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS':'NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS', - 'GRAPHIC PRINTOUT PERIOD':'GRAPHIC_PRINTOUT_PERIOD', - 'VARIABLES FOR GRAPHIC PRINTOUTS':'VARIABLES_FOR_GRAPHIC_PRINTOUTS', - 'NUMBER OF PRIVATE ARRAYS':'NUMBER_OF_PRIVATE_ARRAYS', - 'NAMES OF PRIVATE VARIABLES':'NAMES_OF_PRIVATE_VARIABLES', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'RESULTS FILE':'RESULTS_FILE', - 'RESULT FILE IN LONGITUDE-LATITUDE':'RESULT_FILE_IN_LONGITUDE_LATITUDE', - 'BINARY RESULTS FILE FORMAT':'BINARY_RESULTS_FILE_FORMAT', - 'BINARY RESULTS FILE':'BINARY_RESULTS_FILE', - 'FORMATTED RESULTS FILE':'FORMATTED_RESULTS_FILE', - 'CONTROL SECTIONS':'CONTROL_SECTIONS', - 'PRINTING CUMULATED FLOWRATES':'PRINTING_CUMULATED_FLOWRATES', - 'COMPATIBLE COMPUTATION OF FLUXES':'COMPATIBLE_COMPUTATION_OF_FLUXES', - 'SECTIONS INPUT FILE':'SECTIONS_INPUT_FILE', - 'SECTIONS OUTPUT FILE':'SECTIONS_OUTPUT_FILE', - 'FLUXLINE':'FLUXLINE', - 'FLUXLINE INPUT FILE':'FLUXLINE_INPUT_FILE', - 'NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS':'NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'LISTING FOR PRINTOUT PERIOD':'LISTING_FOR_PRINTOUT_PERIOD', - 'LISTING PRINTOUT':'LISTING_PRINTOUT', - 'VARIABLES TO BE PRINTED':'VARIABLES_TO_BE_PRINTED', - 'MASS-BALANCE':'MASS_BALANCE', - 'INFORMATION ABOUT SOLVER':'INFORMATION_ABOUT_SOLVER', - 'LIST OF POINTS':'LIST_OF_POINTS', - 'NAMES OF POINTS':'NAMES_OF_POINTS', - 'FOURIER ANALYSIS PERIODS':'FOURIER_ANALYSIS_PERIODS', - 'TIME RANGE FOR FOURIER ANALYSIS':'TIME_RANGE_FOR_FOURIER_ANALYSIS', - 'PRESCRIBED ELEVATIONS':'PRESCRIBED_ELEVATIONS', - 'PRESCRIBED FLOWRATES':'PRESCRIBED_FLOWRATES', - 'PRESCRIBED VELOCITIES':'PRESCRIBED_VELOCITIES', - 'STAGE-DISCHARGE CURVES':'STAGE_DISCHARGE_CURVES', - 'STAGE-DISCHARGE CURVES FILE':'STAGE_DISCHARGE_CURVES_FILE', - 'VELOCITY PROFILES':'VELOCITY_PROFILES', - 'OPTION FOR LIQUID BOUNDARIES':'OPTION_FOR_LIQUID_BOUNDARIES', - 'LIQUID BOUNDARIES FILE':'LIQUID_BOUNDARIES_FILE', - 'ELEMENTS MASKED BY USER':'ELEMENTS_MASKED_BY_USER', - 'MAXIMUM NUMBER OF FRICTION DOMAINS':'MAXIMUM_NUMBER_OF_FRICTION_DOMAINS', - 'FRICTION DATA':'FRICTION_DATA', - 'FRICTION DATA FILE':'FRICTION_DATA_FILE', - 'LAW OF BOTTOM FRICTION':'LAW_OF_BOTTOM_FRICTION', - 'FRICTION COEFFICIENT':'FRICTION_COEFFICIENT', - 'MANNING DEFAULT VALUE FOR COLEBROOK-WHITE LAW':'MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW', - 'DEPTH IN FRICTION TERMS':'DEPTH_IN_FRICTION_TERMS', - 'VEGETATION FRICTION':'VEGETATION_FRICTION', - 'LAW OF FRICTION ON LATERAL BOUNDARIES':'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES', - 'ROUGHNESS COEFFICIENT OF BOUNDARIES':'ROUGHNESS_COEFFICIENT_OF_BOUNDARIES', - 'DEFINITION OF ZONES':'DEFINITION_OF_ZONES', - 'ZONES FILE':'ZONES_FILE', - 'WIND':'WIND', - 'OPTION FOR WIND':'OPTION_FOR_WIND', - 'COEFFICIENT OF WIND INFLUENCE':'COEFFICIENT_OF_WIND_INFLUENCE', - 'COEFFICIENT OF WIND INFLUENCE VARYING WITH WIND SPEED':'COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED', - 'WIND VELOCITY ALONG X':'WIND_VELOCITY_ALONG_X', - 'WIND VELOCITY ALONG Y':'WIND_VELOCITY_ALONG_Y', - 'SPEED AND DIRECTION OF WIND':'SPEED_AND_DIRECTION_OF_WIND', - 'THRESHOLD DEPTH FOR WIND':'THRESHOLD_DEPTH_FOR_WIND', - 'AIR PRESSURE':'AIR_PRESSURE', - 'VALUE OF ATMOSPHERIC PRESSURE':'VALUE_OF_ATMOSPHERIC_PRESSURE', - 'RAIN OR EVAPORATION':'RAIN_OR_EVAPORATION', - 'RAIN OR EVAPORATION IN MM PER DAY':'RAIN_OR_EVAPORATION_IN_MM_PER_DAY', - 'RAINFALL-RUNOFF MODEL':'RAINFALL_RUNOFF_MODEL', - 'ANTECEDENT MOISTURE CONDITIONS':'ANTECEDENT_MOISTURE_CONDITIONS', - 'DURATION OF RAIN OR EVAPORATION IN HOURS':'DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS', - 'ASCII ATMOSPHERIC DATA FILE':'ASCII_ATMOSPHERIC_DATA_FILE', - 'BINARY ATMOSPHERIC DATA FILE':'BINARY_ATMOSPHERIC_DATA_FILE', - 'BINARY ATMOSPHERIC DATA FILE FORMAT':'BINARY_ATMOSPHERIC_DATA_FILE_FORMAT', - 'OPTION FOR INITIAL ABSTRACTION RATIO':'OPTION_FOR_INITIAL_ABSTRACTION_RATIO', - 'AIR TEMPERATURE':'AIR_TEMPERATURE', - 'CLOUD COVER':'CLOUD_COVER', - 'SOLAR RADIATION':'SOLAR_RADIATION', - 'VAPOROUS PRESSURE':'VAPOROUS_PRESSURE', - 'WAVE DRIVEN CURRENTS':'WAVE_DRIVEN_CURRENTS', - 'RECORD NUMBER IN WAVE FILE':'RECORD_NUMBER_IN_WAVE_FILE', - 'WAVE ENHANCED FRICTION FACTOR':'WAVE_ENHANCED_FRICTION_FACTOR', - 'PARAMETER ESTIMATION':'PARAMETER_ESTIMATION', - 'COST FUNCTION':'COST_FUNCTION', - 'IDENTIFICATION METHOD':'IDENTIFICATION_METHOD', - 'TOLERANCES FOR IDENTIFICATION':'TOLERANCES_FOR_IDENTIFICATION', - 'MAXIMUM NUMBER OF ITERATIONS FOR IDENTIFICATION':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION', - 'ABSCISSAE OF SOURCES':'ABSCISSAE_OF_SOURCES', - 'ORDINATES OF SOURCES':'ORDINATES_OF_SOURCES', - 'WATER DISCHARGE OF SOURCES':'WATER_DISCHARGE_OF_SOURCES', - 'VELOCITIES OF THE SOURCES ALONG X':'VELOCITIES_OF_THE_SOURCES_ALONG_X', - 'VELOCITIES OF THE SOURCES ALONG Y':'VELOCITIES_OF_THE_SOURCES_ALONG_Y', - 'TYPE OF SOURCES':'TYPE_OF_SOURCES', - 'SOURCES FILE':'SOURCES_FILE', - 'GLOBAL NUMBERS OF SOURCE NODES':'GLOBAL_NUMBERS_OF_SOURCE_NODES', - 'SOURCE REGIONS DATA FILE':'SOURCE_REGIONS_DATA_FILE', - 'MAXIMUM NUMBER OF POINTS FOR SOURCES REGIONS':'MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS', - 'WATER QUALITY PROCESS':'WATER_QUALITY_PROCESS', - 'WATER DENSITY':'WATER_DENSITY', - 'GRAVITY ACCELERATION':'GRAVITY_ACCELERATION', - 'VERTICAL STRUCTURES':'VERTICAL_STRUCTURES', - 'EQUATIONS':'EQUATIONS', - 'TREATMENT OF THE LINEAR SYSTEM':'TREATMENT_OF_THE_LINEAR_SYSTEM', - 'FINITE VOLUME SCHEME':'FINITE_VOLUME_SCHEME', - 'FINITE VOLUME SCHEME SPACE ORDER':'FINITE_VOLUME_SCHEME_SPACE_ORDER', - 'FINITE VOLUME SCHEME TIME ORDER':'FINITE_VOLUME_SCHEME_TIME_ORDER', - 'FLUX LIMITOR FOR H PLUS Z':'FLUX_LIMITOR_FOR_H_PLUS_Z', - 'FLUX LIMITOR FOR U AND V':'FLUX_LIMITOR_FOR_U_AND_V', - 'FLUX LIMITOR FOR TRACERS':'FLUX_LIMITOR_FOR_TRACERS', - 'TYPE OF BOUNDARY CONDITION FOR KINETIC SCHEME':'TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME', - 'CORIOLIS':'CORIOLIS', - 'CORIOLIS COEFFICIENT':'CORIOLIS_COEFFICIENT', - 'OPTION FOR TSUNAMI GENERATION':'OPTION_FOR_TSUNAMI_GENERATION', - 'PHYSICAL CHARACTERISTICS OF THE TSUNAMI':'PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI', - 'SECONDARY CURRENTS':'SECONDARY_CURRENTS', - 'PRODUCTION COEFFICIENT FOR SECONDARY CURRENTS':'PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS', - 'DISSIPATION COEFFICIENT FOR SECONDARY CURRENTS':'DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS', - 'DEBUGGER':'DEBUGGER', - 'TIME STEP':'TIME_STEP', - 'NUMBER OF TIME STEPS':'NUMBER_OF_TIME_STEPS', - 'DURATION':'DURATION', - 'ORIGINAL DATE OF TIME':'ORIGINAL_DATE_OF_TIME', - 'ORIGINAL HOUR OF TIME':'ORIGINAL_HOUR_OF_TIME', - 'STOP IF A STEADY STATE IS REACHED':'STOP_IF_A_STEADY_STATE_IS_REACHED', - 'STOP CRITERIA':'STOP_CRITERIA', - 'CONTROL OF LIMITS':'CONTROL_OF_LIMITS', - 'LIMIT VALUES':'LIMIT_VALUES', - 'VARIABLE TIME-STEP':'VARIABLE_TIME_STEP', - 'DESIRED COURANT NUMBER':'DESIRED_COURANT_NUMBER', - 'SPHERICAL COORDINATES':'SPHERICAL_COORDINATES', - 'LATITUDE OF ORIGIN POINT':'LATITUDE_OF_ORIGIN_POINT', - 'LONGITUDE OF ORIGIN POINT':'LONGITUDE_OF_ORIGIN_POINT', - 'NORTH':'NORTH', - 'SPATIAL PROJECTION TYPE':'SPATIAL_PROJECTION_TYPE', - 'SOLVER':'SOLVER', - 'SOLVER OPTION':'SOLVER_OPTION', - 'SOLVER ACCURACY':'SOLVER_ACCURACY', - 'MAXIMUM NUMBER OF ITERATIONS FOR SOLVER':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER', - 'CONTINUITY CORRECTION':'CONTINUITY_CORRECTION', - 'PRECONDITIONING':'PRECONDITIONING', - 'C-U PRECONDITIONING':'C_U_PRECONDITIONING', - 'FINITE ELEMENT ASSEMBLY':'FINITE_ELEMENT_ASSEMBLY', - 'IMPLICITATION FOR DEPTH':'IMPLICITATION_FOR_DEPTH', - 'IMPLICITATION FOR VELOCITY':'IMPLICITATION_FOR_VELOCITY', - 'DISCRETIZATIONS IN SPACE':'DISCRETIZATIONS_IN_SPACE', - 'PROPAGATION':'PROPAGATION', - 'INITIAL GUESS FOR H':'INITIAL_GUESS_FOR_H', - 'LINEARIZED PROPAGATION':'LINEARIZED_PROPAGATION', - 'INITIAL GUESS FOR U':'INITIAL_GUESS_FOR_U', - 'MEAN DEPTH FOR LINEARIZATION':'MEAN_DEPTH_FOR_LINEARIZATION', - 'ADVECTION':'ADVECTION', - 'ADVECTION OF H':'ADVECTION_OF_H', - 'ADVECTION OF U AND V':'ADVECTION_OF_U_AND_V', - 'TYPE OF ADVECTION':'TYPE_OF_ADVECTION', - 'OPTION FOR CHARACTERISTICS':'OPTION_FOR_CHARACTERISTICS', - 'SUPG OPTION':'SUPG_OPTION', - 'NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS':'NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS', - 'MASS-LUMPING FOR WEAK CHARACTERISTICS':'MASS_LUMPING_FOR_WEAK_CHARACTERISTICS', - 'MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES', - 'MASS-LUMPING ON H':'MASS_LUMPING_ON_H', - 'MASS-LUMPING ON VELOCITY':'MASS_LUMPING_ON_VELOCITY', - 'SCHEME FOR ADVECTION OF VELOCITIES':'SCHEME_FOR_ADVECTION_OF_VELOCITIES', - 'SCHEME OPTION FOR ADVECTION OF VELOCITIES':'SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES', - 'FREE SURFACE GRADIENT COMPATIBILITY':'FREE_SURFACE_GRADIENT_COMPATIBILITY', - 'NUMBER OF SUB-ITERATIONS FOR NON-LINEARITIES':'NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES', - 'TREATMENT OF FLUXES AT THE BOUNDARIES':'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES', - 'NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES', - 'NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES', - 'DIFFUSION OF VELOCITY':'DIFFUSION_OF_VELOCITY', - 'OPTION FOR THE DIFFUSION OF VELOCITIES':'OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES', - 'IMPLICITATION FOR DIFFUSION OF VELOCITY':'IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY', - 'AD NUMBER OF DERIVATIVES':'AD_NUMBER_OF_DERIVATIVES', - 'AD NAMES OF DERIVATIVES':'AD_NAMES_OF_DERIVATIVES', - 'AD SYMBOLIC LINEAR SOLVER':'AD_SYMBOLIC_LINEAR_SOLVER', - 'AD LINEAR SOLVER RESET DERIVATIVES':'AD_LINEAR_SOLVER_RESET_DERIVATIVES', - 'AD LINEAR SOLVER DERIVATIVE CONVERGENCE':'AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE', - 'MATRIX STORAGE':'MATRIX_STORAGE', - 'MATRIX-VECTOR PRODUCT':'MATRIX_VECTOR_PRODUCT', - 'NEWMARK TIME INTEGRATION COEFFICIENT':'NEWMARK_TIME_INTEGRATION_COEFFICIENT', - 'ZERO':'ZERO', - 'OPTION OF THE HYDROSTATIC RECONSTRUCTION':'OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION', - 'CONVERGENCE STUDY':'CONVERGENCE_STUDY', - 'REFINEMENT LEVELS':'REFINEMENT_LEVELS', - 'VELOCITY DIFFUSIVITY':'VELOCITY_DIFFUSIVITY', - 'TURBULENCE MODEL':'TURBULENCE_MODEL', - 'ACCURACY OF SPALART-ALLMARAS':'ACCURACY_OF_SPALART_ALLMARAS', - 'INFORMATION ABOUT SPALART-ALLMARAS MODEL':'INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL', - 'SOLVER FOR K-EPSILON MODEL':'SOLVER_FOR_K_EPSILON_MODEL', - 'OPTION FOR THE SOLVER FOR K-EPSILON MODEL':'OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL', - 'PRECONDITIONING FOR K-EPSILON MODEL':'PRECONDITIONING_FOR_K_EPSILON_MODEL', - 'NON-DIMENSIONAL DISPERSION COEFFICIENTS':'NON_DIMENSIONAL_DISPERSION_COEFFICIENTS', - 'TURBULENCE REGIME FOR SOLID BOUNDARIES':'TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES', - 'INFORMATION ABOUT K-EPSILON MODEL':'INFORMATION_ABOUT_K_EPSILON_MODEL', - 'ADVECTION OF K AND EPSILON':'ADVECTION_OF_K_AND_EPSILON', - 'SCHEME FOR ADVECTION OF K-EPSILON':'SCHEME_FOR_ADVECTION_OF_K_EPSILON', - 'SCHEME OPTION FOR ADVECTION OF K-EPSILON':'SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON', - 'MIXING LENGTH MODEL COEFFICIENTS':'MIXING_LENGTH_MODEL_COEFFICIENTS', - 'ACCURACY OF K':'ACCURACY_OF_K', - 'ACCURACY OF EPSILON':'ACCURACY_OF_EPSILON', - 'MAXIMUM NUMBER OF ITERATIONS FOR K AND EPSILON':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON', - 'TIDAL FLATS':'TIDAL_FLATS', - 'OPTION FOR THE TREATMENT OF TIDAL FLATS':'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS', - 'TREATMENT OF NEGATIVE DEPTHS':'TREATMENT_OF_NEGATIVE_DEPTHS', - 'THRESHOLD FOR NEGATIVE DEPTHS':'THRESHOLD_FOR_NEGATIVE_DEPTHS', - 'THRESHOLD DEPTH FOR RECEDING PROCEDURE':'THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE', - 'H CLIPPING':'H_CLIPPING', - 'MINIMUM VALUE OF DEPTH':'MINIMUM_VALUE_OF_DEPTH', - 'PRESCRIBED TRACERS VALUES':'PRESCRIBED_TRACERS_VALUES', - 'NUMBER OF TRACERS':'NUMBER_OF_TRACERS', - 'NAMES OF TRACERS':'NAMES_OF_TRACERS', - 'INITIAL VALUES OF TRACERS':'INITIAL_VALUES_OF_TRACERS', - 'DENSITY EFFECTS':'DENSITY_EFFECTS', - 'MEAN TEMPERATURE':'MEAN_TEMPERATURE', - 'SOLVER FOR DIFFUSION OF TRACERS':'SOLVER_FOR_DIFFUSION_OF_TRACERS', - 'SOLVER OPTION FOR TRACERS DIFFUSION':'SOLVER_OPTION_FOR_TRACERS_DIFFUSION', - 'PRECONDITIONING FOR DIFFUSION OF TRACERS':'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS', - 'ACCURACY FOR DIFFUSION OF TRACERS':'ACCURACY_FOR_DIFFUSION_OF_TRACERS', - 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS', - 'VALUES OF THE TRACERS AT THE SOURCES':'VALUES_OF_THE_TRACERS_AT_THE_SOURCES', - 'VALUES OF TRACERS IN THE RAIN':'VALUES_OF_TRACERS_IN_THE_RAIN', - 'ADVECTION OF TRACERS':'ADVECTION_OF_TRACERS', - 'IMPLICITATION COEFFICIENT OF TRACERS':'IMPLICITATION_COEFFICIENT_OF_TRACERS', - 'DIFFUSION OF TRACERS':'DIFFUSION_OF_TRACERS', - 'COEFFICIENT FOR DIFFUSION OF TRACERS':'COEFFICIENT_FOR_DIFFUSION_OF_TRACERS', - 'OPTION FOR THE DIFFUSION OF TRACERS':'OPTION_FOR_THE_DIFFUSION_OF_TRACERS', - 'SCHEME FOR ADVECTION OF TRACERS':'SCHEME_FOR_ADVECTION_OF_TRACERS', - 'SCHEME OPTION FOR ADVECTION OF TRACERS':'SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS', - 'MASS-LUMPING ON TRACERS':'MASS_LUMPING_ON_TRACERS', - 'MAXIMUM NUMBER OF DROGUES':'MAXIMUM_NUMBER_OF_DROGUES', - 'INITIAL DROGUES SAMPLING DENSITY':'INITIAL_DROGUES_SAMPLING_DENSITY', - 'PRINTOUT PERIOD FOR DROGUES':'PRINTOUT_PERIOD_FOR_DROGUES', - 'ASCII DROGUES FILE':'ASCII_DROGUES_FILE', - 'BINARY DROGUES FILE':'BINARY_DROGUES_FILE', - 'DROGUES FILE FORMAT':'DROGUES_FILE_FORMAT', - 'PREVIOUS DROGUES FILE':'PREVIOUS_DROGUES_FILE', - 'PREVIOUS DROGUES FILE FORMAT':'PREVIOUS_DROGUES_FILE_FORMAT', - 'DROGUES INITIAL POSITIONING DATA FILE':'DROGUES_INITIAL_POSITIONING_DATA_FILE', - 'FORMAT OF THE DROGUES POSITIONING DATA FILE':'FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE', - 'ALGAE TRANSPORT MODEL':'ALGAE_TRANSPORT_MODEL', - 'NUMBER OF ALGAE CLASSES':'NUMBER_OF_ALGAE_CLASSES', - 'ALGAE TYPE':'ALGAE_TYPE', - 'DIAMETER OF ALGAE':'DIAMETER_OF_ALGAE', - 'DURATION BEFORE ALGAE RELEASE':'DURATION_BEFORE_ALGAE_RELEASE', - 'DENSITY OF ALGAE':'DENSITY_OF_ALGAE', - 'THICKNESS OF ALGAE':'THICKNESS_OF_ALGAE', - 'ALGAE RELEASE TYPE':'ALGAE_RELEASE_TYPE', - 'WAVE ORBITAL VELOCITY THRESHOLD FOR ALGAE 1':'WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1', - 'WAVE ORBITAL VELOCITY THRESHOLD FOR ALGAE 2':'WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2', - 'RATE OF DEGRADATION FOR ALGAE':'RATE_OF_DEGRADATION_FOR_ALGAE', - 'OIL SPILL MODEL':'OIL_SPILL_MODEL', - 'OIL SPILL STEERING FILE':'OIL_SPILL_STEERING_FILE', - 'STOCHASTIC DIFFUSION MODEL':'STOCHASTIC_DIFFUSION_MODEL', - 'NUMBER OF LAGRANGIAN DRIFTS':'NUMBER_OF_LAGRANGIAN_DRIFTS', - 'NUMBER OF WEIRS':'NUMBER_OF_WEIRS', - 'WEIRS DATA FILE':'WEIRS_DATA_FILE', - 'TYPE OF WEIRS':'TYPE_OF_WEIRS', - 'WEIRS DISCHARGE OUTPUT FILE':'WEIRS_DISCHARGE_OUTPUT_FILE', - 'NUMBER OF CULVERTS':'NUMBER_OF_CULVERTS', - 'CULVERTS DATA FILE':'CULVERTS_DATA_FILE', - 'OPTION FOR CULVERTS':'OPTION_FOR_CULVERTS', - 'BREACH':'BREACH', - 'BREACHES DATA FILE':'BREACHES_DATA_FILE', - 'BINARY DATABASE 1 FOR TIDE':'BINARY_DATABASE_1_FOR_TIDE', - 'BINARY DATABASE 2 FOR TIDE':'BINARY_DATABASE_2_FOR_TIDE', - 'GEOGRAPHIC SYSTEM':'GEOGRAPHIC_SYSTEM', - 'ZONE NUMBER IN GEOGRAPHIC SYSTEM':'ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM', - 'LAMBERT 93 CONVERSION FILE':'LAMBERT_93_CONVERSION_FILE', - 'COEFFICIENT TO CALIBRATE SEA LEVEL':'COEFFICIENT_TO_CALIBRATE_SEA_LEVEL', - 'GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER':'GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER', - 'MINOR CONSTITUENTS INFERENCE':'MINOR_CONSTITUENTS_INFERENCE', - 'INITIAL VELOCITIES COMPUTED BY TPXO':'INITIAL_VELOCITIES_COMPUTED_BY_TPXO', - 'MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES INITIAL CONDITIONS':'MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS', - 'OPTION FOR TIDAL BOUNDARY CONDITIONS':'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS', - 'TIDAL DATA BASE':'TIDAL_DATA_BASE', - 'HARMONIC CONSTANTS FILE':'HARMONIC_CONSTANTS_FILE', - 'TIDAL MODEL FILE':'TIDAL_MODEL_FILE', - 'TIDAL MODEL FILE FORMAT':'TIDAL_MODEL_FILE_FORMAT', - 'ASCII DATABASE FOR TIDE':'ASCII_DATABASE_FOR_TIDE', - 'COEFFICIENT TO CALIBRATE TIDAL RANGE':'COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE', - 'COEFFICIENT TO CALIBRATE TIDAL VELOCITIES':'COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES', - 'LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER':'LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER', - 'MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES BOUNDARY CONDITIONS':'MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS', - 'TIDE GENERATING FORCE':'TIDE_GENERATING_FORCE', - 'COUPLING WITH':'COUPLING_WITH', - 'NAMES OF CLANDESTINE VARIABLES':'NAMES_OF_CLANDESTINE_VARIABLES', - 'DELWAQ STEERING FILE':'DELWAQ_STEERING_FILE', - 'DELWAQ PRINTOUT PERIOD':'DELWAQ_PRINTOUT_PERIOD', - 'EXCHANGES BETWEEN NODES DELWAQ FILE':'EXCHANGES_BETWEEN_NODES_DELWAQ_FILE', - 'NODES DISTANCES DELWAQ FILE':'NODES_DISTANCES_DELWAQ_FILE', - 'BOTTOM SURFACES DELWAQ FILE':'BOTTOM_SURFACES_DELWAQ_FILE', - 'VOLUMES DELWAQ FILE':'VOLUMES_DELWAQ_FILE', - 'EXCHANGE AREAS DELWAQ FILE':'EXCHANGE_AREAS_DELWAQ_FILE', - 'VERTICAL FLUXES DELWAQ FILE':'VERTICAL_FLUXES_DELWAQ_FILE', - 'VELOCITY DELWAQ FILE':'VELOCITY_DELWAQ_FILE', - 'DIFFUSIVITY DELWAQ FILE':'DIFFUSIVITY_DELWAQ_FILE', - 'TEMPERATURE DELWAQ FILE':'TEMPERATURE_DELWAQ_FILE', - 'SALINITY DELWAQ FILE':'SALINITY_DELWAQ_FILE', - 'VELOCITY FOR DELWAQ':'VELOCITY_FOR_DELWAQ', - 'DIFFUSIVITY FOR DELWAQ':'DIFFUSIVITY_FOR_DELWAQ', - 'TEMPERATURE FOR DELWAQ':'TEMPERATURE_FOR_DELWAQ', - 'SALINITY FOR DELWAQ':'SALINITY_FOR_DELWAQ', - 'SISYPHE STEERING FILE':'SISYPHE_STEERING_FILE', - 'COUPLING PERIOD FOR SISYPHE':'COUPLING_PERIOD_FOR_SISYPHE', - 'GAIA STEERING FILE':'GAIA_STEERING_FILE', - 'TOMAWAC STEERING FILE':'TOMAWAC_STEERING_FILE', - 'COUPLING PERIOD FOR TOMAWAC':'COUPLING_PERIOD_FOR_TOMAWAC', - 'WAQTEL STEERING FILE':'WAQTEL_STEERING_FILE', - 'KHIONE STEERING FILE':'KHIONE_STEERING_FILE', - 'ICE PROCESSES':'ICE_PROCESSES', - 'NESTOR':'NESTOR', - 'NESTOR ACTION FILE':'NESTOR_ACTION_FILE', - 'NESTOR POLYGON FILE':'NESTOR_POLYGON_FILE', - 'NESTOR SURFACE REFERENCE FILE':'NESTOR_SURFACE_REFERENCE_FILE', - 'NESTOR RESTART FILE':'NESTOR_RESTART_FILE', - 'LANGUAGE':'LANGUAGE', - 'STEERING FILE':'STEERING_FILE', - 'DICTIONARY':'DICTIONARY', - 'PARTITIONING TOOL':'PARTITIONING_TOOL', - 'CONCATENATE PARTEL OUTPUT':'CONCATENATE_PARTEL_OUTPUT', -} -DicoEnumCasFrToEnumCasEn = { -'INITIAL_CONDITIONS':{ - "COTE NULLE":"ZERO ELEVATION", - "COTE CONSTANTE":"CONSTANT ELEVATION", - "HAUTEUR NULLE":"ZERO DEPTH", - "HAUTEUR CONSTANTE":"CONSTANT DEPTH", - "SPECIAL":"SPECIAL", - "PARTICULIERES":"PARTICULIERES", - "PARTICULAR":"PARTICULAR", - "ALTIMETRIE SATELLITE TPXO":"TPXO SATELLITE ALTIMETRY", -}, - -'BINARY_DATA_FILE_1_FORMAT':{ - "BIN":"BIN", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_DATA_FILE_2_FORMAT':{ - "BIN":"BIN", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_RESULTS_FILE_FORMAT':{ - "BIN":"BIN", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_ATMOSPHERIC_DATA_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PARAMETER_ESTIMATION':{ - "":"", - "FROTTEMENT":"FRICTION", - "FROTTEMENT, PERMANENT":"FRICTION, STEADY", -}, - -'EQUATIONS':{ - "SAINT-VENANT EF":"SAINT-VENANT FE", - "SAINT-VENANT VF":"SAINT-VENANT FV", - "BOUSSINESQ":"BOUSSINESQ", -}, - -'DROGUES_FILE_FORMAT':{ - "BKBINPCL":"BKBINPCL", - "TECPLOT":"TECPLOT", -}, - -'PREVIOUS_DROGUES_FILE_FORMAT':{ - "BKBINPCL":"BKBINPCL", - "BKASCPCL":"BKASCPCL", -}, - -'FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE':{ - "BKASCI2S":"BKASCI2S", -}, - -'TIDAL_MODEL_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'COUPLING_WITH':{ - "SISYPHE":"SISYPHE", - "TOMAWAC":"TOMAWAC", - "TOMAWAC2":"TOMAWAC2", - "WAQTEL":"WAQTEL", - "KHIONE":"KHIONE", - "GAIA":"GAIA", - "DELWAQ":"DELWAQ", -}, - -'PARTITIONING_TOOL':{ - "METIS":"METIS", - "SCOTCH":"SCOTCH", - "PARMETIS":"PARMETIS", - "PTSCOTCH":"PTSCOTCH", -}, - -} diff --git a/Telemac/telemac2d_labelCataToIhm_en.qm b/Telemac/telemac2d_labelCataToIhm_en.qm deleted file mode 100644 index 084700f2..00000000 Binary files a/Telemac/telemac2d_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/telemac2d_labelCataToIhm_en.ts b/Telemac/telemac2d_labelCataToIhm_en.ts deleted file mode 100644 index 052eb1c5..00000000 --- a/Telemac/telemac2d_labelCataToIhm_en.ts +++ /dev/null @@ -1,1656 +0,0 @@ - - @default - - TITLE - Title - - - INITIAL_CONDITIONS - Initial conditions - - - INITIAL_ELEVATION - Initial elevation - - - INITIAL_DEPTH - Initial depth - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - BINARY_DATA_FILE_1 - Binary data file 1 - - - BINARY_DATA_FILE_2_FORMAT - Binary data file 2 format - - - BINARY_DATA_FILE_2 - Binary data file 2 - - - FORMATTED_DATA_FILE_1 - Formatted data file 1 - - - FORMATTED_DATA_FILE_2 - Formatted data file 2 - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - GEOMETRY_FILE - Geometry file - - - FORTRAN_FILE - Fortran file - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - BOTTOM_SMOOTHINGS - Bottom smoothings - - - BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS - Bottom smoothings after user modifications - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - VALIDATION - Validation - - - REFERENCE_FILE_FORMAT - Reference file format - - - REFERENCE_FILE - Reference file - - - PARALLEL_PROCESSORS - Parallel processors - - - CHECKING_THE_MESH - Checking the mesh - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - MAXIMUM_NUMBER_OF_SOURCES - Maximum number of sources - - - MAXIMUM_NUMBER_OF_TRACERS - Maximum number of tracers - - - VECTOR_LENGTH - Vector length - - - SECURITY_COEFFICIENT_FOR_SCARACT - Security coefficient for scaract - - - COMPUTATION_CONTINUED - Computation continued - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Previous computation file format - - - PREVIOUS_COMPUTATION_FILE - Previous computation file - - - RECORD_NUMBER_FOR_RESTART - Record number for restart - - - INITIAL_TIME_SET_TO_ZERO - Initial time set to zero - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Number of first time step for graphic printouts - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables for graphic printouts - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - NAMES_OF_PRIVATE_VARIABLES - Names of private variables - - - RESULTS_FILE_FORMAT - Results file format - - - RESULTS_FILE - Results file - - - RESULT_FILE_IN_LONGITUDE_LATITUDE - Result file in longitude-latitude - - - BINARY_RESULTS_FILE_FORMAT - Binary results file format - - - BINARY_RESULTS_FILE - Binary results file - - - FORMATTED_RESULTS_FILE - Formatted results file - - - CONTROL_SECTIONS - Control sections - - - PRINTING_CUMULATED_FLOWRATES - Printing cumulated flowrates - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Compatible computation of fluxes - - - SECTIONS_INPUT_FILE - Sections input file - - - SECTIONS_OUTPUT_FILE - Sections output file - - - FLUXLINE - Fluxline - - - FLUXLINE_INPUT_FILE - Fluxline input file - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Number of first time step for listing printouts - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - LISTING_FOR_PRINTOUT_PERIOD - Listing for printout period - - - LISTING_PRINTOUT - Listing printout - - - VARIABLES_TO_BE_PRINTED - Variables to be printed - - - MASS_BALANCE - Mass-balance - - - INFORMATION_ABOUT_SOLVER - Information about solver - - - LIST_OF_POINTS - List of points - - - NAMES_OF_POINTS - Names of points - - - FOURIER_ANALYSIS_PERIODS - Fourier analysis periods - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Time range for fourier analysis - - - PRESCRIBED_ELEVATIONS - Prescribed elevations - - - PRESCRIBED_FLOWRATES - Prescribed flowrates - - - PRESCRIBED_VELOCITIES - Prescribed velocities - - - STAGE_DISCHARGE_CURVES - Stage-discharge curves - - - STAGE_DISCHARGE_CURVES_FILE - Stage-discharge curves file - - - VELOCITY_PROFILES - Velocity profiles - - - OPTION_FOR_LIQUID_BOUNDARIES - Option for liquid boundaries - - - LIQUID_BOUNDARIES_FILE - Liquid boundaries file - - - ELEMENTS_MASKED_BY_USER - Elements masked by user - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Maximum number of friction domains - - - FRICTION_DATA - Friction data - - - FRICTION_DATA_FILE - Friction data file - - - LAW_OF_BOTTOM_FRICTION - Law of bottom friction - - - FRICTION_COEFFICIENT - Friction coefficient - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Manning default value for colebrook-white law - - - DEPTH_IN_FRICTION_TERMS - Depth in friction terms - - - VEGETATION_FRICTION - Vegetation friction - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Law of friction on lateral boundaries - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Roughness coefficient of boundaries - - - DEFINITION_OF_ZONES - Definition of zones - - - ZONES_FILE - Zones file - - - WIND - Wind - - - OPTION_FOR_WIND - Option for wind - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient of wind influence - - - COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED - Coefficient of wind influence varying with wind speed - - - WIND_VELOCITY_ALONG_X - Wind velocity along X - - - WIND_VELOCITY_ALONG_Y - Wind velocity along Y - - - SPEED_AND_DIRECTION_OF_WIND - Speed and direction of wind - - - THRESHOLD_DEPTH_FOR_WIND - Threshold depth for wind - - - AIR_PRESSURE - Air pressure - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Value of atmospheric pressure - - - RAIN_OR_EVAPORATION - Rain or evaporation - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Rain or evaporation in mm per day - - - RAINFALL_RUNOFF_MODEL - Rainfall-runoff model - - - ANTECEDENT_MOISTURE_CONDITIONS - Antecedent moisture conditions - - - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS - Duration of rain or evaporation in hours - - - ASCII_ATMOSPHERIC_DATA_FILE - ASCII atmospheric data file - - - BINARY_ATMOSPHERIC_DATA_FILE - Binary atmospheric data file - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Binary atmospheric data file format - - - OPTION_FOR_INITIAL_ABSTRACTION_RATIO - Option for initial abstraction ratio - - - AIR_TEMPERATURE - Air temperature - - - CLOUD_COVER - Cloud cover - - - SOLAR_RADIATION - Solar radiation - - - VAPOROUS_PRESSURE - Vaporous pressure - - - WAVE_DRIVEN_CURRENTS - Wave driven currents - - - RECORD_NUMBER_IN_WAVE_FILE - Record number in wave file - - - WAVE_ENHANCED_FRICTION_FACTOR - Wave enhanced friction factor - - - PARAMETER_ESTIMATION - Parameter estimation - - - COST_FUNCTION - Cost function - - - IDENTIFICATION_METHOD - Identification method - - - TOLERANCES_FOR_IDENTIFICATION - Tolerances for identification - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum number of iterations for identification - - - ABSCISSAE_OF_SOURCES - Abscissae of sources - - - ORDINATES_OF_SOURCES - Ordinates of sources - - - WATER_DISCHARGE_OF_SOURCES - Water discharge of sources - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Velocities of the sources along X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Velocities of the sources along Y - - - TYPE_OF_SOURCES - Type of sources - - - SOURCES_FILE - Sources file - - - GLOBAL_NUMBERS_OF_SOURCE_NODES - Global numbers of source nodes - - - SOURCE_REGIONS_DATA_FILE - Source regions data file - - - MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS - Maximum number of points for sources regions - - - WATER_QUALITY_PROCESS - Water quality process - - - WATER_DENSITY - Water density - - - GRAVITY_ACCELERATION - Gravity acceleration - - - VERTICAL_STRUCTURES - Vertical structures - - - EQUATIONS - Equations - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Treatment of the linear system - - - FINITE_VOLUME_SCHEME - Finite volume scheme - - - FINITE_VOLUME_SCHEME_SPACE_ORDER - Finite volume scheme space order - - - FINITE_VOLUME_SCHEME_TIME_ORDER - Finite volume scheme time order - - - FLUX_LIMITOR_FOR_H_PLUS_Z - Flux limitor for H plus z - - - FLUX_LIMITOR_FOR_U_AND_V - Flux limitor for U and v - - - FLUX_LIMITOR_FOR_TRACERS - Flux limitor for tracers - - - TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME - Type of boundary condition for kinetic scheme - - - CORIOLIS - Coriolis - - - CORIOLIS_COEFFICIENT - Coriolis coefficient - - - OPTION_FOR_TSUNAMI_GENERATION - Option for tsunami generation - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Physical characteristics of the tsunami - - - SECONDARY_CURRENTS - Secondary currents - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Production coefficient for secondary currents - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Dissipation coefficient for secondary currents - - - DEBUGGER - Debugger - - - TIME_STEP - Time step - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - DURATION - Duration - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Stop if a steady state is reached - - - STOP_CRITERIA - Stop criteria - - - CONTROL_OF_LIMITS - Control of limits - - - LIMIT_VALUES - Limit values - - - VARIABLE_TIME_STEP - Variable time-step - - - DESIRED_COURANT_NUMBER - Desired courant number - - - SPHERICAL_COORDINATES - Spherical coordinates - - - LATITUDE_OF_ORIGIN_POINT - Latitude of origin point - - - LONGITUDE_OF_ORIGIN_POINT - Longitude of origin point - - - NORTH - North - - - SPATIAL_PROJECTION_TYPE - Spatial projection type - - - SOLVER - Solver - - - SOLVER_OPTION - Solver option - - - SOLVER_ACCURACY - Solver accuracy - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum number of iterations for solver - - - CONTINUITY_CORRECTION - Continuity correction - - - PRECONDITIONING - Preconditioning - - - C_U_PRECONDITIONING - C-U preconditioning - - - FINITE_ELEMENT_ASSEMBLY - Finite element assembly - - - IMPLICITATION_FOR_DEPTH - Implicitation for depth - - - IMPLICITATION_FOR_VELOCITY - Implicitation for velocity - - - DISCRETIZATIONS_IN_SPACE - Discretizations in space - - - PROPAGATION - Propagation - - - INITIAL_GUESS_FOR_H - Initial guess for H - - - LINEARIZED_PROPAGATION - Linearized propagation - - - INITIAL_GUESS_FOR_U - Initial guess for U - - - MEAN_DEPTH_FOR_LINEARIZATION - Mean depth for linearization - - - ADVECTION - Advection - - - ADVECTION_OF_H - Advection of H - - - ADVECTION_OF_U_AND_V - Advection of U and V - - - TYPE_OF_ADVECTION - Type of advection - - - OPTION_FOR_CHARACTERISTICS - Option for characteristics - - - SUPG_OPTION - SUPG option - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Number of Gauss points for weak characteristics - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping for weak characteristics - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum number of iterations for advection schemes - - - MASS_LUMPING_ON_H - Mass-lumping on H - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping on velocity - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Scheme for advection of velocities - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Scheme option for advection of velocities - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Free surface gradient compatibility - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Number of sub-iterations for non-linearities - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Treatment of fluxes at the boundaries - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Number of corrections of distributive schemes - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Number of sub-steps of distributive schemes - - - DIFFUSION_OF_VELOCITY - Diffusion of velocity - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option for the diffusion of velocities - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation for diffusion of velocity - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad symbolic linear solver - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad linear solver reset derivatives - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad linear solver derivative convergence - - - MATRIX_STORAGE - Matrix storage - - - MATRIX_VECTOR_PRODUCT - Matrix-vector product - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Newmark time integration coefficient - - - ZERO - Zero - - - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION - Option of the hydrostatic reconstruction - - - CONVERGENCE_STUDY - Convergence study - - - REFINEMENT_LEVELS - Refinement levels - - - VELOCITY_DIFFUSIVITY - Velocity diffusivity - - - TURBULENCE_MODEL - Turbulence model - - - ACCURACY_OF_SPALART_ALLMARAS - Accuracy of spalart-allmaras - - - INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL - Information about spalart-allmaras model - - - SOLVER_FOR_K_EPSILON_MODEL - Solver for K-Epsilon model - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option for the solver for K-Epsilon model - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditioning for K-Epsilon model - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Non-dimensional dispersion coefficients - - - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES - Turbulence regime for solid boundaries - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Information about K-Epsilon model - - - ADVECTION_OF_K_AND_EPSILON - Advection of K and epsilon - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Scheme for advection of K-epsilon - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Scheme option for advection of K-epsilon - - - MIXING_LENGTH_MODEL_COEFFICIENTS - Mixing length model coefficients - - - ACCURACY_OF_K - Accuracy of K - - - ACCURACY_OF_EPSILON - Accuracy of epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum number of iterations for K and Epsilon - - - TIDAL_FLATS - Tidal flats - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - TREATMENT_OF_NEGATIVE_DEPTHS - Treatment of negative depths - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Threshold for negative depths - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Threshold depth for receding procedure - - - H_CLIPPING - H clipping - - - MINIMUM_VALUE_OF_DEPTH - Minimum value of depth - - - PRESCRIBED_TRACERS_VALUES - Prescribed tracers values - - - NUMBER_OF_TRACERS - Number of tracers - - - NAMES_OF_TRACERS - Names of tracers - - - INITIAL_VALUES_OF_TRACERS - Initial values of tracers - - - DENSITY_EFFECTS - Density effects - - - MEAN_TEMPERATURE - Mean temperature - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solver for diffusion of tracers - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Solver option for tracers diffusion - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditioning for diffusion of tracers - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Accuracy for diffusion of tracers - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum number of iterations for diffusion of tracers - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Values of the tracers at the sources - - - VALUES_OF_TRACERS_IN_THE_RAIN - Values of tracers in the rain - - - ADVECTION_OF_TRACERS - Advection of tracers - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Implicitation coefficient of tracers - - - DIFFUSION_OF_TRACERS - Diffusion of tracers - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient for diffusion of tracers - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option for the diffusion of tracers - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Scheme for advection of tracers - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Scheme option for advection of tracers - - - MASS_LUMPING_ON_TRACERS - Mass-lumping on tracers - - - MAXIMUM_NUMBER_OF_DROGUES - Maximum number of drogues - - - INITIAL_DROGUES_SAMPLING_DENSITY - Initial drogues sampling density - - - PRINTOUT_PERIOD_FOR_DROGUES - Printout period for drogues - - - ASCII_DROGUES_FILE - ASCII drogues file - - - BINARY_DROGUES_FILE - Binary drogues file - - - DROGUES_FILE_FORMAT - Drogues file format - - - PREVIOUS_DROGUES_FILE - Previous drogues file - - - PREVIOUS_DROGUES_FILE_FORMAT - Previous drogues file format - - - DROGUES_INITIAL_POSITIONING_DATA_FILE - Drogues initial positioning data file - - - FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE - Format of the drogues positioning data file - - - ALGAE_TRANSPORT_MODEL - Algae transport model - - - NUMBER_OF_ALGAE_CLASSES - Number of algae classes - - - ALGAE_TYPE - Algae type - - - DIAMETER_OF_ALGAE - Diameter of algae - - - DURATION_BEFORE_ALGAE_RELEASE - Duration before algae release - - - DENSITY_OF_ALGAE - Density of algae - - - THICKNESS_OF_ALGAE - Thickness of algae - - - ALGAE_RELEASE_TYPE - Algae release type - - - WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1 - Wave orbital velocity threshold for algae 1 - - - WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2 - Wave orbital velocity threshold for algae 2 - - - RATE_OF_DEGRADATION_FOR_ALGAE - Rate of degradation for algae - - - OIL_SPILL_MODEL - Oil spill model - - - OIL_SPILL_STEERING_FILE - Oil spill steering file - - - STOCHASTIC_DIFFUSION_MODEL - Stochastic diffusion model - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Number of lagrangian drifts - - - NUMBER_OF_WEIRS - Number of weirs - - - WEIRS_DATA_FILE - Weirs data file - - - TYPE_OF_WEIRS - Type of weirs - - - WEIRS_DISCHARGE_OUTPUT_FILE - Weirs discharge output file - - - NUMBER_OF_CULVERTS - Number of culverts - - - CULVERTS_DATA_FILE - Culverts data file - - - OPTION_FOR_CULVERTS - Option for culverts - - - BREACH - Breach - - - BREACHES_DATA_FILE - Breaches data file - - - BINARY_DATABASE_1_FOR_TIDE - Binary database 1 for tide - - - BINARY_DATABASE_2_FOR_TIDE - Binary database 2 for tide - - - GEOGRAPHIC_SYSTEM - Geographic system - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Zone number in geographic system - - - LAMBERT_93_CONVERSION_FILE - Lambert 93 conversion file - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient to calibrate sea level - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Global number of the point to calibrate high water - - - MINOR_CONSTITUENTS_INFERENCE - Minor constituents inference - - - INITIAL_VELOCITIES_COMPUTED_BY_TPXO - Initial velocities computed by TPXO - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS - Minimum depth to compute tidal velocities initial conditions - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option for tidal boundary conditions - - - TIDAL_DATA_BASE - Tidal data base - - - HARMONIC_CONSTANTS_FILE - Harmonic constants file - - - TIDAL_MODEL_FILE - Tidal model file - - - TIDAL_MODEL_FILE_FORMAT - Tidal model file format - - - ASCII_DATABASE_FOR_TIDE - ASCII database for tide - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient to calibrate tidal range - - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient to calibrate tidal velocities - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Local number of the point to calibrate high water - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS - Minimum depth to compute tidal velocities boundary conditions - - - TIDE_GENERATING_FORCE - Tide generating force - - - COUPLING_WITH - Coupling with - - - NAMES_OF_CLANDESTINE_VARIABLES - Names of clandestine variables - - - DELWAQ_STEERING_FILE - DELWAQ steering file - - - DELWAQ_PRINTOUT_PERIOD - DELWAQ printout period - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Exchanges between nodes DELWAQ file - - - NODES_DISTANCES_DELWAQ_FILE - Nodes distances DELWAQ file - - - BOTTOM_SURFACES_DELWAQ_FILE - Bottom surfaces DELWAQ file - - - VOLUMES_DELWAQ_FILE - Volumes DELWAQ file - - - EXCHANGE_AREAS_DELWAQ_FILE - Exchange areas DELWAQ file - - - VERTICAL_FLUXES_DELWAQ_FILE - Vertical fluxes DELWAQ file - - - VELOCITY_DELWAQ_FILE - Velocity DELWAQ file - - - DIFFUSIVITY_DELWAQ_FILE - Diffusivity DELWAQ file - - - TEMPERATURE_DELWAQ_FILE - Temperature DELWAQ file - - - SALINITY_DELWAQ_FILE - Salinity DELWAQ file - - - VELOCITY_FOR_DELWAQ - Velocity for DELWAQ - - - DIFFUSIVITY_FOR_DELWAQ - Diffusivity for DELWAQ - - - TEMPERATURE_FOR_DELWAQ - Temperature for DELWAQ - - - SALINITY_FOR_DELWAQ - Salinity for DELWAQ - - - SISYPHE_STEERING_FILE - Sisyphe steering file - - - COUPLING_PERIOD_FOR_SISYPHE - Coupling period for sisyphe - - - GAIA_STEERING_FILE - Gaia steering file - - - TOMAWAC_STEERING_FILE - TOMAWAC steering file - - - COUPLING_PERIOD_FOR_TOMAWAC - Coupling period for TOMAWAC - - - WAQTEL_STEERING_FILE - Waqtel steering file - - - KHIONE_STEERING_FILE - Khione steering file - - - ICE_PROCESSES - Ice processes - - - NESTOR - Nestor - - - NESTOR_ACTION_FILE - Nestor action file - - - NESTOR_POLYGON_FILE - Nestor polygon file - - - NESTOR_SURFACE_REFERENCE_FILE - Nestor surface reference file - - - NESTOR_RESTART_FILE - Nestor restart file - - - LANGUAGE - Language - - - STEERING_FILE - Steering file - - - DICTIONARY - Dictionary - - - PARTITIONING_TOOL - Partitioning tool - - - CONCATENATE_PARTEL_OUTPUT - Concatenate partel output - - - COMPUTATION_ENVIRONMENT - Computation environment - - - HYDRO - Hydro - - - NUMERICAL_PARAMETERS - Numerical parameters - - - GENERAL_PARAMETERS - General parameters - - - TURBULENCE - Turbulence - - - TIDAL_FLATS_INFO - Tidal flats info - - - TRACERS - Tracers - - - PARTICLE_TRANSPORT - Particle transport - - - HYDRAULIC_STRUCTURES - Hydraulic structures - - - TIDES - Tides - - - COUPLING - Coupling - - - INTERNAL - Internal - - - INITIALIZATION - Initialization - - - RESTART - Restart - - - OUTPUT_FILES - Output files - - - BOUNDARY_CONDITIONS - Boundary conditions - - - BOUNDARY_CONDITIONS_OTHERS - Boundary conditions others - - - PHYSICAL_PARAMETERS_HYDRO - Physical parameters hydro - - - NUMERICAL_PARAMETERS_HYDRO - Numerical parameters hydro - - - ADVANCED - Advanced - - - FLUID - Fluid - - - TIME - Time - - - LOCATION - Location - - - SOLVER_INFO - Solver info - - - DISCRETISATIONS_IMPLICITATION - Discretisations implicitation - - - PROPAGATION_INFO - Propagation info - - - ADVECTION_INFO - Advection info - - - DIFFUSION - Diffusion - - - AUTOMATIC_DIFFERENTIATION - Automatic differentiation - - - ACCURACY - Accuracy - - - BOUNDARY_CONDITIONS_FOR_TRACERS - Boundary conditions for tracers - - - SETTING - Setting - - - SOLVER_TRA - Solver tra - - - ACCURACY_TRA - Accuracy tra - - - SOURCES_TRA - Sources tra - - - METEOROLOGY_TRA - Meteorology tra - - - NUMERICAL - Numerical - - - DROGUES - Drogues - - - ALGAE - Algae - - - OIL_SPILL - Oil spill - - - BROWNIAN_MOTION - Brownian motion - - - LAGRANGIAN_DRIFTS - Lagrangian drifts - - - WEIRS - Weirs - - - CULVERTS - Culverts - - - BREACHES - Breaches - - - PHYSICAL_PARAMETERS - Physical parameters - - - DELWAQ - DELWAQ - - - SISYPHE - Sisyphe - - - GAIA - Gaia - - - TOMAWAC - TOMAWAC - - - WAQTEL - Waqtel - - - KHIONE - Khione - - - INPUT_FILES - Input files - - - GLOBAL - Global - - - RESULTS_FILES - Results files - - - CONTROL_SECTION - Control section - - - LISTING - Listing - - - FOURIER - Fourier - - - FRICTION - Friction - - - METEOROLOGY - Meteorology - - - WAVE - Wave - - - ESTIMATION - Estimation - - - SOURCES - Sources - - - WATER_QUALITY_INFO - Water quality info - - - ADVANCED_PHY - Advanced-phy - - - CORIOLIS_EFFECT - Coriolis effect - - - TSUNAMI - Tsunami - - - SECONDARY_CURRENTS_INFO - Secondary currents info - - - diff --git a/Telemac/telemac2d_labelCataToIhm_fr.qm b/Telemac/telemac2d_labelCataToIhm_fr.qm deleted file mode 100644 index 1eb02ed3..00000000 Binary files a/Telemac/telemac2d_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/telemac2d_labelCataToIhm_fr.ts b/Telemac/telemac2d_labelCataToIhm_fr.ts deleted file mode 100644 index c16a2cd7..00000000 --- a/Telemac/telemac2d_labelCataToIhm_fr.ts +++ /dev/null @@ -1,1756 +0,0 @@ - - @default - - TITLE - Titre - - - INITIAL_CONDITIONS - Conditions initiales - - - INITIAL_ELEVATION - Cote initiale - - - INITIAL_DEPTH - Hauteur initiale - - - BINARY_DATA_FILE_1_FORMAT - Format du fichier de donnees binaire 1 - - - BINARY_DATA_FILE_1 - Fichier de donnees binaire 1 - - - BINARY_DATA_FILE_2_FORMAT - Format du fichier de donnees binaire 2 - - - BINARY_DATA_FILE_2 - Fichier de donnees binaire 2 - - - FORMATTED_DATA_FILE_1 - Fichier de donnees formate 1 - - - FORMATTED_DATA_FILE_2 - Fichier de donnees formate 2 - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - GEOMETRY_FILE - Fichier de geometrie - - - FORTRAN_FILE - Fichier fortran - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - BOTTOM_SMOOTHINGS - Lissages du fond - - - BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS - Lissages du fond apres modifications utilisateur - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - VALIDATION - Validation - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - REFERENCE_FILE - Fichier de reference - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - CHECKING_THE_MESH - Verification du maillage - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Nombre maximum de frontieres - - - MAXIMUM_NUMBER_OF_SOURCES - Nombre maximum de sources - - - MAXIMUM_NUMBER_OF_TRACERS - Nombre maximum de traceurs - - - VECTOR_LENGTH - Longueur du vecteur - - - SECURITY_COEFFICIENT_FOR_SCARACT - Coefficient de securite pour scaract - - - COMPUTATION_CONTINUED - Suite de calcul - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Format du fichier du calcul precedent - - - PREVIOUS_COMPUTATION_FILE - Fichier du calcul precedent - - - RECORD_NUMBER_FOR_RESTART - Enregistrement pour suite de calcul - - - INITIAL_TIME_SET_TO_ZERO - Remise a zero du temps - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Numero du premier pas de temps pour les sorties graphiques - - - GRAPHIC_PRINTOUT_PERIOD - Periode pour les sorties graphiques - - - VARIABLES_FOR_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - NAMES_OF_PRIVATE_VARIABLES - Noms des variables privees - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - RESULTS_FILE - Fichier des resultats - - - RESULT_FILE_IN_LONGITUDE_LATITUDE - Fichier resultat en longitude-latitude - - - BINARY_RESULTS_FILE_FORMAT - Format du fichier de resultats binaire - - - BINARY_RESULTS_FILE - Fichier de resultats binaire - - - FORMATTED_RESULTS_FILE - Fichier de resultats formate - - - CONTROL_SECTIONS - Sections de controle - - - PRINTING_CUMULATED_FLOWRATES - Impression du cumul des flux - - - COMPATIBLE_COMPUTATION_OF_FLUXES - Calcul compatible des flux - - - SECTIONS_INPUT_FILE - Fichier des sections de controle - - - SECTIONS_OUTPUT_FILE - Fichier de sortie des sections de controle - - - FLUXLINE - Fluxline - - - FLUXLINE_INPUT_FILE - Fichier de fluxline - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Numero du premier pas de temps pour les sorties listing - - - LISTING_PRINTOUT_PERIOD - Periode de sortie listing - - - LISTING_FOR_PRINTOUT_PERIOD - Periode pour les sorties listing - - - LISTING_PRINTOUT - Sortie listing - - - VARIABLES_TO_BE_PRINTED - Variables a imprimer - - - MASS_BALANCE - Bilan de masse - - - INFORMATION_ABOUT_SOLVER - Informations sur le solveur - - - LIST_OF_POINTS - Liste de points - - - NAMES_OF_POINTS - Noms des points - - - FOURIER_ANALYSIS_PERIODS - Periodes d'analyse de fourier - - - TIME_RANGE_FOR_FOURIER_ANALYSIS - Bornes en temps pour l'analyse de fourier - - - PRESCRIBED_ELEVATIONS - Cotes imposees - - - PRESCRIBED_FLOWRATES - Debits imposes - - - PRESCRIBED_VELOCITIES - Vitesses imposees - - - STAGE_DISCHARGE_CURVES - Courbes de tarage - - - STAGE_DISCHARGE_CURVES_FILE - Fichier des courbes de tarage - - - VELOCITY_PROFILES - Profils de vitesse - - - OPTION_FOR_LIQUID_BOUNDARIES - Option pour les frontieres liquides - - - LIQUID_BOUNDARIES_FILE - Fichier des frontieres liquides - - - ELEMENTS_MASKED_BY_USER - Elements masques par l'utilisateur - - - MAXIMUM_NUMBER_OF_FRICTION_DOMAINS - Nombre maximum de domaines de frottement - - - FRICTION_DATA - Donnees pour le frottement - - - FRICTION_DATA_FILE - Fichier de donnees pour le frottement - - - LAW_OF_BOTTOM_FRICTION - Loi de frottement sur le fond - - - FRICTION_COEFFICIENT - Coefficient de frottement - - - MANNING_DEFAULT_VALUE_FOR_COLEBROOK_WHITE_LAW - Valeur par defaut du manning pour la loi de colebrook-white - - - DEPTH_IN_FRICTION_TERMS - Hauteur dans les termes de frottement - - - VEGETATION_FRICTION - Frottement pour la vegetation - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Loi de frottement sur les parois laterales - - - ROUGHNESS_COEFFICIENT_OF_BOUNDARIES - Coefficient de rugosite des bords - - - DEFINITION_OF_ZONES - Definition de zones - - - ZONES_FILE - Fichier des zones - - - WIND - Vent - - - OPTION_FOR_WIND - Option du vent - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient d'influence du vent - - - COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED - Coefficient d'influence du vent dependant de la vitesse du vent - - - WIND_VELOCITY_ALONG_X - Vitesse du vent suivant X - - - WIND_VELOCITY_ALONG_Y - Vitesse du vent suivant Y - - - SPEED_AND_DIRECTION_OF_WIND - Vitesse et direction du vent - - - THRESHOLD_DEPTH_FOR_WIND - Profondeur limite pour le vent - - - AIR_PRESSURE - Pression atmospherique - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Valeur de la pression atmospherique - - - RAIN_OR_EVAPORATION - Pluie ou evaporation - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Pluie ou evaporation en mm par jour - - - RAINFALL_RUNOFF_MODEL - Modele pluie-debit - - - ANTECEDENT_MOISTURE_CONDITIONS - Conditions d'humidite precedente - - - DURATION_OF_RAIN_OR_EVAPORATION_IN_HOURS - Duree de la pluie ou evaporation en heures - - - ASCII_ATMOSPHERIC_DATA_FILE - Fichier ASCII de donnees atmospheriques - - - BINARY_ATMOSPHERIC_DATA_FILE - Fichier binaire de donnees atmospheriques - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Format du fichier binaire de donnees atmospheriques - - - OPTION_FOR_INITIAL_ABSTRACTION_RATIO - Option pour ratio des pertes initiales - - - AIR_TEMPERATURE - Temperature de l'air - - - CLOUD_COVER - Nebulosite - - - SOLAR_RADIATION - Rayonnement solaire - - - VAPOROUS_PRESSURE - Pression de vapeur saturante - - - WAVE_DRIVEN_CURRENTS - Courants de Houle - - - RECORD_NUMBER_IN_WAVE_FILE - Numero de l'enregistrement dans le fichier de Houle - - - WAVE_ENHANCED_FRICTION_FACTOR - Augmentation du frottement par la houle - - - PARAMETER_ESTIMATION - Estimation de parametre - - - COST_FUNCTION - Fonction cout - - - IDENTIFICATION_METHOD - Methode d'identification - - - TOLERANCES_FOR_IDENTIFICATION - Precisions pour l'identification - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_IDENTIFICATION - Maximum d'iterations pour l'identification - - - ABSCISSAE_OF_SOURCES - Abscisses des sources - - - ORDINATES_OF_SOURCES - Ordonnees des sources - - - WATER_DISCHARGE_OF_SOURCES - Debits des sources - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Vitesses des sources selon X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Vitesses des sources selon Y - - - TYPE_OF_SOURCES - Type des sources - - - SOURCES_FILE - Fichier des sources - - - GLOBAL_NUMBERS_OF_SOURCE_NODES - Numeros globaux des noeuds des sources - - - SOURCE_REGIONS_DATA_FILE - Fichier des regions des sources - - - MAXIMUM_NUMBER_OF_POINTS_FOR_SOURCES_REGIONS - Nombre maximum de points pour definir des sources - - - WATER_QUALITY_PROCESS - Processus qualite d'eau - - - WATER_DENSITY - Masse volumique de l'eau - - - GRAVITY_ACCELERATION - Acceleration de la pesanteur - - - VERTICAL_STRUCTURES - Structures verticales - - - EQUATIONS - Equations - - - TREATMENT_OF_THE_LINEAR_SYSTEM - Traitement du systeme lineaire - - - FINITE_VOLUME_SCHEME - Schema en volumes finis - - - FINITE_VOLUME_SCHEME_SPACE_ORDER - Ordre en espace du schema volume finis - - - FINITE_VOLUME_SCHEME_TIME_ORDER - Ordre en temps du schema volume finis - - - FLUX_LIMITOR_FOR_H_PLUS_Z - Limiteur de flux pour H plus z - - - FLUX_LIMITOR_FOR_U_AND_V - Limiteur de flux pour U et v - - - FLUX_LIMITOR_FOR_TRACERS - Limiteur de flux pour les traceurs - - - TYPE_OF_BOUNDARY_CONDITION_FOR_KINETIC_SCHEME - Type de condition a la limite pour le schema cinetique - - - CORIOLIS - Coriolis - - - CORIOLIS_COEFFICIENT - Coefficient de coriolis - - - OPTION_FOR_TSUNAMI_GENERATION - Option pour la generation de tsunami - - - PHYSICAL_CHARACTERISTICS_OF_THE_TSUNAMI - Parametres physiques du tsunami - - - SECONDARY_CURRENTS - Courants secondaires - - - PRODUCTION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Coefficient de production pour courants secondaires - - - DISSIPATION_COEFFICIENT_FOR_SECONDARY_CURRENTS - Coefficient de dissipation pour courants secondaires - - - DEBUGGER - Debugger - - - TIME_STEP - Pas de temps - - - NUMBER_OF_TIME_STEPS - Nombre de pas de temps - - - DURATION - Duree du calcul - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - STOP_IF_A_STEADY_STATE_IS_REACHED - Arret si un etat permanent est atteint - - - STOP_CRITERIA - Criteres d'arret - - - CONTROL_OF_LIMITS - Controle des limites - - - LIMIT_VALUES - Valeurs limites - - - VARIABLE_TIME_STEP - Pas de temps variable - - - DESIRED_COURANT_NUMBER - Nombre de courant souhaite - - - SPHERICAL_COORDINATES - Coordonnees spheriques - - - LATITUDE_OF_ORIGIN_POINT - Latitude du point origine - - - LONGITUDE_OF_ORIGIN_POINT - Longitude du point origine - - - NORTH - Nord - - - SPATIAL_PROJECTION_TYPE - Type de projection spatiale - - - SOLVER - Solveur - - - SOLVER_OPTION - Option du solveur - - - SOLVER_ACCURACY - Precision du solveur - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_SOLVER - Maximum d'iterations pour le solveur - - - CONTINUITY_CORRECTION - Correction de continuite - - - PRECONDITIONING - Preconditionnement - - - C_U_PRECONDITIONING - Preconditionnement C-U - - - FINITE_ELEMENT_ASSEMBLY - Assemblage en elements finis - - - IMPLICITATION_FOR_DEPTH - Implicitation pour la hauteur - - - IMPLICITATION_FOR_VELOCITY - Implicitation pour la vitesse - - - DISCRETIZATIONS_IN_SPACE - Discretisations en espace - - - PROPAGATION - Propagation - - - INITIAL_GUESS_FOR_H - Ordre du tir initial pour H - - - LINEARIZED_PROPAGATION - Propagation linearisee - - - INITIAL_GUESS_FOR_U - Ordre du tir initial pour U - - - MEAN_DEPTH_FOR_LINEARIZATION - Profondeur moyenne pour la linearisation - - - ADVECTION - Convection - - - ADVECTION_OF_H - Convection de H - - - ADVECTION_OF_U_AND_V - Convection de U et V - - - TYPE_OF_ADVECTION - Forme de la convection - - - OPTION_FOR_CHARACTERISTICS - Option pour les caracteristiques - - - SUPG_OPTION - Option de SUPG - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Nombre de points de Gauss pour les caracteristiques faibles - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping pour les caracteristiques faibles - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum d'iterations pour les schemas de convection - - - MASS_LUMPING_ON_H - Mass-lumping sur H - - - MASS_LUMPING_ON_VELOCITY - Mass-lumping sur la vitesse - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Schema pour la convection des vitesses - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Option du schema pour la convection des vitesses - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Compatibilite du gradient de surface libre - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Nombre de sous-iterations pour les non-linearites - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Traitement des flux aux frontieres - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Nombre de corrections des schemas distributifs - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Nombre de sous-pas des schemas distributifs - - - DIFFUSION_OF_VELOCITY - Diffusion des vitesses - - - OPTION_FOR_THE_DIFFUSION_OF_VELOCITIES - Option pour la diffusion des vitesses - - - IMPLICITATION_FOR_DIFFUSION_OF_VELOCITY - Implicitation pour la diffusion des vitesses - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre de derivees - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad solveur lineaire symbolique - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad remise a zero des derivees du solveur lineaire - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad convergence des derivees pour le solveur lineaire - - - MATRIX_STORAGE - Stockage des matrices - - - MATRIX_VECTOR_PRODUCT - Produit matrice-vecteur - - - NEWMARK_TIME_INTEGRATION_COEFFICIENT - Coefficient d'integration en temps de newmark - - - ZERO - Zero - - - OPTION_OF_THE_HYDROSTATIC_RECONSTRUCTION - Option de la reconstruction Hydrostatique - - - CONVERGENCE_STUDY - Etude de convergence - - - REFINEMENT_LEVELS - Niveaux de raffinement - - - VELOCITY_DIFFUSIVITY - Coefficient de diffusion des vitesses - - - TURBULENCE_MODEL - Modele de turbulence - - - ACCURACY_OF_SPALART_ALLMARAS - Precision sur spalart-allmaras - - - INFORMATION_ABOUT_SPALART_ALLMARAS_MODEL - Information sur le modele spalart-allmaras - - - SOLVER_FOR_K_EPSILON_MODEL - Solveur pour le modele K-Epsilon - - - OPTION_FOR_THE_SOLVER_FOR_K_EPSILON_MODEL - Option du solveur pour le modele K-Epsilon - - - PRECONDITIONING_FOR_K_EPSILON_MODEL - Preconditionnement pour le modele K-Epsilon - - - NON_DIMENSIONAL_DISPERSION_COEFFICIENTS - Coefficients adimensionnels de dispersion - - - TURBULENCE_REGIME_FOR_SOLID_BOUNDARIES - Regime de turbulence pour les parois - - - INFORMATION_ABOUT_K_EPSILON_MODEL - Informations sur le modele K-Epsilon - - - ADVECTION_OF_K_AND_EPSILON - Convection de K et epsilon - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Schema pour la convection du K-Epsilon - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Option du schema pour la convection du K-Epsilon - - - MIXING_LENGTH_MODEL_COEFFICIENTS - Coefficients du modele de longueur de melange - - - ACCURACY_OF_K - Precision sur k - - - ACCURACY_OF_EPSILON - Precision sur epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_K_AND_EPSILON - Maximum d'iterations pour k et epsilon - - - TIDAL_FLATS - Bancs decouvrants - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option de traitement des bancs decouvrants - - - TREATMENT_OF_NEGATIVE_DEPTHS - Traitement des hauteurs negatives - - - THRESHOLD_FOR_NEGATIVE_DEPTHS - Seuil pour les profondeurs negatives - - - THRESHOLD_DEPTH_FOR_RECEDING_PROCEDURE - Profondeur limite pour procedure de ressuyage - - - H_CLIPPING - Clipping de H - - - MINIMUM_VALUE_OF_DEPTH - Valeur minimum de H - - - PRESCRIBED_TRACERS_VALUES - Valeurs imposees des traceurs - - - NUMBER_OF_TRACERS - Nombre de traceurs - - - NAMES_OF_TRACERS - Noms des traceurs - - - INITIAL_VALUES_OF_TRACERS - Valeurs initiales des traceurs - - - DENSITY_EFFECTS - Effets de densite - - - MEAN_TEMPERATURE - Temperature moyenne - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solveur pour la diffusion des traceurs - - - SOLVER_OPTION_FOR_TRACERS_DIFFUSION - Option du solveur pour la diffusion des traceurs - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditionnement pour la diffusion des traceurs - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Precision pour la diffusion des traceurs - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum d'iterations pour la diffusion des traceurs - - - VALUES_OF_THE_TRACERS_AT_THE_SOURCES - Valeurs des traceurs des sources - - - VALUES_OF_TRACERS_IN_THE_RAIN - Valeurs des traceurs dans la pluie - - - ADVECTION_OF_TRACERS - Convection des traceurs - - - IMPLICITATION_COEFFICIENT_OF_TRACERS - Coefficient d'implicitation des traceurs - - - DIFFUSION_OF_TRACERS - Diffusion des traceurs - - - COEFFICIENT_FOR_DIFFUSION_OF_TRACERS - Coefficient de diffusion des traceurs - - - OPTION_FOR_THE_DIFFUSION_OF_TRACERS - Option pour la diffusion des traceurs - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Schema pour la convection des traceurs - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Option du schema pour la convection des traceurs - - - MASS_LUMPING_ON_TRACERS - Mass-lumping sur les traceurs - - - MAXIMUM_NUMBER_OF_DROGUES - Nombre maximal de flotteurs - - - INITIAL_DROGUES_SAMPLING_DENSITY - Densite initiale de repartition des flotteurs - - - PRINTOUT_PERIOD_FOR_DROGUES - Periode pour les sorties de flotteurs - - - ASCII_DROGUES_FILE - Fichier ASCII des flotteurs - - - BINARY_DROGUES_FILE - Fichier binaire des flotteurs - - - DROGUES_FILE_FORMAT - Format du fichier des flotteurs - - - PREVIOUS_DROGUES_FILE - Fichier des flotteurs precedent - - - PREVIOUS_DROGUES_FILE_FORMAT - Format du fichier des flotteurs precedent - - - DROGUES_INITIAL_POSITIONING_DATA_FILE - Fichier positionnant les drogues initiales - - - FORMAT_OF_THE_DROGUES_POSITIONING_DATA_FILE - Format du fichier positionnant les drogues - - - ALGAE_TRANSPORT_MODEL - Modele de transport des algues - - - NUMBER_OF_ALGAE_CLASSES - Nombre de classes d'algues - - - ALGAE_TYPE - Type des algues - - - DIAMETER_OF_ALGAE - Diametre des algues - - - DURATION_BEFORE_ALGAE_RELEASE - Duree avant relache des algues - - - DENSITY_OF_ALGAE - Masse volumique des algues - - - THICKNESS_OF_ALGAE - Epaisseur des algues - - - ALGAE_RELEASE_TYPE - Type de relache des algues - - - WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_1 - Seuil de la vitesse orbitale de vague pour les algues 1 - - - WAVE_ORBITAL_VELOCITY_THRESHOLD_FOR_ALGAE_2 - Seuil de la vitesse orbitale de vague pour les algues 2 - - - RATE_OF_DEGRADATION_FOR_ALGAE - Taux de degradation pour les algues - - - OIL_SPILL_MODEL - Modele de nappes d'hydrocarbures - - - OIL_SPILL_STEERING_FILE - Fichier de commandes hydrocarbures - - - STOCHASTIC_DIFFUSION_MODEL - Modele de diffusion stochastique - - - NUMBER_OF_LAGRANGIAN_DRIFTS - Nombre de derives lagrangiennes - - - NUMBER_OF_WEIRS - Nombre de seuils - - - WEIRS_DATA_FILE - Fichier de donnees des seuils - - - TYPE_OF_WEIRS - Type des seuils - - - WEIRS_DISCHARGE_OUTPUT_FILE - Fichier de sortie des debits des seuils - - - NUMBER_OF_CULVERTS - Nombre de buses - - - CULVERTS_DATA_FILE - Fichier de donnees des buses - - - OPTION_FOR_CULVERTS - Option pour les buses - - - BREACH - Breche - - - BREACHES_DATA_FILE - Fichier de donnees des breches - - - BINARY_DATABASE_1_FOR_TIDE - Base binaire 1 de donnees de maree - - - BINARY_DATABASE_2_FOR_TIDE - Base binaire 2 de donnees de maree - - - GEOGRAPHIC_SYSTEM - Systeme geographique - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Numero de fuseau ou projection dans le systeme geographique - - - LAMBERT_93_CONVERSION_FILE - Fichier de conversion lambert 93 - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient de calage du niveau de mer - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero global du point pour caler la pleine mer - - - MINOR_CONSTITUENTS_INFERENCE - Interpolation de composantes mineures - - - INITIAL_VELOCITIES_COMPUTED_BY_TPXO - Vitesses initiales calculees par TPXO - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS - Hauteur minimale pour les conditions initiales de courants - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option pour les conditions aux limites de maree - - - TIDAL_DATA_BASE - Base de donnees de maree - - - HARMONIC_CONSTANTS_FILE - Fichier des constantes harmoniques - - - TIDAL_MODEL_FILE - Fichier du modele de maree - - - TIDAL_MODEL_FILE_FORMAT - Format du fichier du modele de maree - - - ASCII_DATABASE_FOR_TIDE - Base ASCII de donnees de maree - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient de calage du marnage - - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient de calage des vitesses de courant - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero local du point pour caler la pleine mer - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS - Hauteur minimale pour les conditions aux limites de courants - - - TIDE_GENERATING_FORCE - Force generatrice de la maree - - - COUPLING_WITH - Couplage avec - - - NAMES_OF_CLANDESTINE_VARIABLES - Noms des variables clandestines - - - DELWAQ_STEERING_FILE - Fichier de commande DELWAQ - - - DELWAQ_PRINTOUT_PERIOD - Periode de sortie pour DELWAQ - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Fichier DELWAQ des echanges entre noeuds - - - NODES_DISTANCES_DELWAQ_FILE - Fichier DELWAQ des distances entre noeuds - - - BOTTOM_SURFACES_DELWAQ_FILE - Fichier DELWAQ des surfaces du fond - - - VOLUMES_DELWAQ_FILE - Fichier DELWAQ des volumes - - - EXCHANGE_AREAS_DELWAQ_FILE - Fichier DELWAQ des surfaces de flux - - - VERTICAL_FLUXES_DELWAQ_FILE - Fichier DELWAQ des flux verticaux - - - VELOCITY_DELWAQ_FILE - Fichier DELWAQ de la vitesse - - - DIFFUSIVITY_DELWAQ_FILE - Fichier DELWAQ de la diffusion - - - TEMPERATURE_DELWAQ_FILE - Fichier DELWAQ de la temperature - - - SALINITY_DELWAQ_FILE - Fichier DELWAQ de la salinite - - - VELOCITY_FOR_DELWAQ - Vitesse pour DELWAQ - - - DIFFUSIVITY_FOR_DELWAQ - Diffusion pour DELWAQ - - - TEMPERATURE_FOR_DELWAQ - Temperature pour DELWAQ - - - SALINITY_FOR_DELWAQ - Salinite pour DELWAQ - - - SISYPHE_STEERING_FILE - Fichier des parametres de sisyphe - - - COUPLING_PERIOD_FOR_SISYPHE - Periode de couplage pour sisyphe - - - GAIA_STEERING_FILE - Fichier des parametres de gaia - - - TOMAWAC_STEERING_FILE - Fichier des parametres de TOMAWAC - - - COUPLING_PERIOD_FOR_TOMAWAC - Periode de couplage pour TOMAWAC - - - WAQTEL_STEERING_FILE - Fichier des parametres de waqtel - - - KHIONE_STEERING_FILE - Fichier des parametres de Khione - - - ICE_PROCESSES - Processus lies aux glaces - - - NESTOR - Nestor - - - NESTOR_ACTION_FILE - Fichier des parametres de nestor - - - NESTOR_POLYGON_FILE - Fichier de polygones de nestor - - - NESTOR_SURFACE_REFERENCE_FILE - Fichier de surface reference de nestor - - - NESTOR_RESTART_FILE - Fichier de reprise de nestor - - - LANGUAGE - Langue - - - STEERING_FILE - Fichier des parametres - - - DICTIONARY - Dictionnaire - - - PARTITIONING_TOOL - Partitionneur - - - CONCATENATE_PARTEL_OUTPUT - Concatenation sortie partel - - - ZERO ELEVATION - COTE NULLE - - - CONSTANT ELEVATION - COTE CONSTANTE - - - ZERO DEPTH - HAUTEUR NULLE - - - CONSTANT DEPTH - HAUTEUR CONSTANTE - - - SPECIAL - SPECIAL - - - PARTICULIERES - PARTICULIERES - - - PARTICULAR - PARTICULAR - - - TPXO SATELLITE ALTIMETRY - ALTIMETRIE SATELLITE TPXO - - - BIN - BIN - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - FRICTION - Frottement - - - FRICTION, STEADY - FROTTEMENT, PERMANENT - - - SAINT-VENANT FE - SAINT-VENANT EF - - - SAINT-VENANT FV - SAINT-VENANT VF - - - BOUSSINESQ - BOUSSINESQ - - - BKBINPCL - BKBINPCL - - - TECPLOT - TECPLOT - - - BKASCPCL - BKASCPCL - - - BKASCI2S - BKASCI2S - - - SISYPHE - Sisyphe - - - TOMAWAC - TOMAWAC - - - TOMAWAC2 - TOMAWAC2 - - - WAQTEL - Waqtel - - - KHIONE - Khione - - - GAIA - Gaia - - - DELWAQ - DELWAQ - - - METIS - METIS - - - SCOTCH - SCOTCH - - - PARMETIS - PARMETIS - - - PTSCOTCH - PTSCOTCH - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - HYDRO - Hydro - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - GENERAL_PARAMETERS - Parametres generaux - - - TURBULENCE - Turbulence - - - TIDAL_FLATS_INFO - Info bancs decouvrants - - - TRACERS - Traceurs - - - PARTICLE_TRANSPORT - Transport de particule - - - HYDRAULIC_STRUCTURES - Ouvrages hydrauliques - - - TIDES - Marees - - - COUPLING - Couplage - - - INTERNAL - Interne - - - INITIALIZATION - Initialisation - - - RESTART - Reprise de calcul - - - OUTPUT_FILES - Fichiers de sortie - - - BOUNDARY_CONDITIONS - Conditions aux limites - - - BOUNDARY_CONDITIONS_OTHERS - Conditions aux limites autres - - - PHYSICAL_PARAMETERS_HYDRO - Parametres physiques hydro - - - NUMERICAL_PARAMETERS_HYDRO - Parametres numeriques hydro - - - ADVANCED - Avancee - - - FLUID - Fluide - - - TIME - Temps - - - LOCATION - Localisation - - - SOLVER_INFO - Info solveur - - - DISCRETISATIONS_IMPLICITATION - Discretizations implicitation - - - PROPAGATION_INFO - Info propagation - - - ADVECTION_INFO - Info convection - - - DIFFUSION - Diffusion - - - AUTOMATIC_DIFFERENTIATION - Differentiation automatique - - - ACCURACY - Precision - - - BOUNDARY_CONDITIONS_FOR_TRACERS - Conditions aux limites pour traceurs - - - SETTING - Parametrage - - - SOLVER_TRA - Solveur tra - - - ACCURACY_TRA - Precision tra - - - SOURCES_TRA - Sources tra - - - METEOROLOGY_TRA - Meteorologie tra - - - NUMERICAL - Numerique - - - DROGUES - Flotteurs - - - ALGAE - Algues - - - OIL_SPILL - Nappes - - - BROWNIAN_MOTION - Mouvement brownien - - - LAGRANGIAN_DRIFTS - Derive lagrangiennes - - - WEIRS - Seuils - - - CULVERTS - Buses - - - BREACHES - Breches - - - PHYSICAL_PARAMETERS - Parametres physiques - - - INPUT_FILES - Fichiers d entree - - - GLOBAL - Global - - - RESULTS_FILES - Fichiers resultats - - - CONTROL_SECTION - Section de controle - - - LISTING - Listing - - - FOURIER - Fourier - - - METEOROLOGY - Meteorologie - - - WAVE - Houle - - - ESTIMATION - Estimation - - - SOURCES - Sources - - - WATER_QUALITY_INFO - Qualite d eau - - - ADVANCED_PHY - Avancee-phy - - - CORIOLIS_EFFECT - Effet de coriolis - - - TSUNAMI - Tsunami - - - SECONDARY_CURRENTS_INFO - Info courants secondaires - - - diff --git a/Telemac/telemac3d_cata_auto.py b/Telemac/telemac3d_cata_auto.py deleted file mode 100644 index 3e004540..00000000 --- a/Telemac/telemac3d_cata_auto.py +++ /dev/null @@ -1,5970 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'TELEMAC3D', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GLOBAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TITLE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie.""", - ang = """Title of the case being considered.""", - ), -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs pour la decomposition en parallele. -La valeur 0 correspond a un calcul scalaire.""", - ang = """Number of processors for domain partition. -Value 0 corresponds to a scalar computation.""", - ), -# ----------------------------------- - CHECKING_THE_MESH = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI on appelle le sous-programme \telfile{CHECKMESH} qui verifie -la coherence du maillage, points superposes, etc.""", - ang = """If this keyword is equal to YES, a call to subroutine -\telfile{CHECKMESH} will look for errors in the mesh, -superimposed points, etc.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 30, - fr = """Nombre maximal de frontieres differentes dans le maillage. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of boundaries in the mesh. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 20, - fr = """Nombre maximal de traceurs. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of tracers. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 20, - fr = """Nombre maximal de points sources dans le maillage, -incluant les sources ponctuelles et 2 fois le nombre de buses. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of source points in the mesh, including -punctual sources and twice the number of culverts. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 30, - fr = """Nombre maximal de frontieres liquides sur le fond. -Sert au dimensionnement de la memoire, a augmenter si necessaire.""", - ang = """Maximal number of liquid boundaries on the bed. -Used for dimensioning arrays. Can be increased if needed.""", - ), -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Longueur du vecteur pour les machines vectorielles.""", - ang = """Vector length on vector machines.""", - ), - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - fr = """Nom du fichier contenant le maillage du calcul a realiser.""", - ang = """Name of the file containing the mesh. This file may also -contain the topography and the friction coefficients.""", - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE GEOMETRIE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{GEOMETRY FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -colours that are assigned to the boundary nodes.""", - ), -# ----------------------------------- - BINARY_BOUNDARY_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire contenant les informations -de conditions aux limites variables en temps et en espace -provenant de jeux de donnees externes par exemple.""", - ang = """Binary-coded data file containing the boundary conditions data -varying in time and space.""", - ), -# ----------------------------------- - BINARY_BOUNDARY_DATA_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER BINAIRE DE DONNEES DE FRONTIERE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY BOUNDARY DATA FILE}. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'FichierOuRepertoire', - defaut = '', - fr = """Nom du fichier ou repertoire FORTRAN a soumettre, -contenant les sous-programmes specifiques au modele.""", - ang = """Name of the FORTRAN file or directory to be submitted, -including specific subroutines of the model.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier eventuel contenant la bathymetrie associee au -maillage. -Si ce mot-cle est utilise, c''est cette bathymetrie qui sera utilisee -pour le calcul.""", - ang = """Name of the possible file containing the bathymetric data. -Where this keyword is used, these bathymetric data shall be used in -the computation.""", - ), -# ----------------------------------- - NUMBER_OF_BOTTOM_SMOOTHINGS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de lissages effectues sur la topographie. -Chaque lissage, effectue a l''aide d''une matrice de masse, -est conservatif. -Utilise lorsque les donnees de bathymetrie donnent des resultats -trop irreguliers apres interpolation.""", - ang = """Number of smoothings on bottom topography. -Each smoothing is mass conservative. -To be used when interpolation of bathymetry on the mesh gives -very rough results.""", - ), -# ----------------------------------- - BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Indique si le nombre d eventuels lissages sur la topographie est -effectue apres (ou sinon avant) les modifications de topographie -apportees par l utilisateur.""", - ang = """Indicates if the number of potential smoothings on bottom topography -is done after (or before otherwise) the topography modifications -implemented by the user.""", - ), -# ----------------------------------- - FORMATTED_DATA_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees formate mis a la disposition de -l''utilisateur.""", - ang = """Formatted data file available to the user.""", - ), -# ----------------------------------- - FORMATTED_DATA_FILE_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees formate mis a la disposition de -l''utilisateur.""", - ang = """Formatted data file available to the user.""", - ), -# ----------------------------------- - BINARY_DATA_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Data file in binary mode available to the user.""", - ), -# ----------------------------------- - BINARY_DATA_FILE_1_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE DONNEES BINAIRE 1}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY DATA FILE 1}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BINARY_DATA_FILE_2 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Data file in binary mode available to the user.""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. Le -\telkey{FICHIER DE REFERENCE} est alors considere comme une -reference a laquelle on va comparer le calcul. La comparaison est -effectuee par le sous-programme \telfile{BIEF\_VALIDA} -qui peut etre une comparaison avec une solution exacte par exemple.""", - ang = """This option is primarily used for the validation documents. -The \telkey{REFERENCE FILE} is then considered as a reference -which the computation is going to be compared with. -The comparison is done by the subroutine \telfile{BIEF\_VALIDA}, -which can be modified so as to include, for example, -a comparison with an exact solution.""", - ), -# ----------------------------------- - b_VALIDATIONG = BLOC(condition="VALIDATION == True", -# ----------------------------------- -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de resultats de reference pour la validation.""", - ang = """Binary-coded result file for validation.""", - ), -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DE REFERENCE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{REFERENCE FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RD_RESULT_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats 3D du -calcul avec la periodicite donnee par le mot cle \telkey{PERIODE POUR -LES SORTIES GRAPHIQUES}.""", - ang = """Name of the file into which the 3D results of the computation -are written with a periodicity given by the keyword -\telkey{GRAPHIC PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - RD_RESULT_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DES RESULTATS 3D}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{3D RESULT FILE}. Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - ED_RESULT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats 2D du -calcul avec la periodicite donnee par le mot cle \telkey{PERIODE POUR -LES SORTIES GRAPHIQUES}.""", - ang = """Name of the file into which the 2D results of the computation -are written with a periodicity given by the keyword -\telkey{GRAPHIC PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - ED_RESULT_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DES RESULTATS 2D}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{2D RESULT FILE}. Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - RESULT_FILE_IN_LONGITUDE_LATITUDE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Donne les coordonnees dans le fichier resultats en longitude-latitude -si le fichier de geometrie est aussi donne en longitude-latitude.""", - ang = """Gives the coordinates of the result file in longitude-latitude -if the geometry file is also given in longitude-latitude.""", - ), -# ----------------------------------- - VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["velocity along x axis (m/s)","velocity along y axis (m/s)","velocity along z axis (m/s)","elevation z (m)","concentration for tracer 1","concentration for tracer 2","concentration for tracer 3","concentration for tracer 4","concentration for tracer 5","concentration for tracer 6","concentration for tracer 7","concentration for tracer 8","concentration for tracer 9","concentration for tracer 10","concentration for tracer 11","concentration for tracer 12","concentration for tracer 13","concentration for tracer 14","concentration for tracer 15","concentration for tracer 16","concentration for tracer 17","concentration for tracer 18","concentration for tracer 19","concentration for tracer 20","concentration for tracer 21","concentration for tracer 22","concentration for tracer 23","concentration for tracer 24","concentration for tracer 25","concentration for tracer 26","concentration for tracer 27","concentration for tracer 28","concentration for tracer 29","concentration for tracer 30","concentration for tracer 31","concentration for tracer 32","concentration for tracer 33","concentration for tracer 34","concentration for tracer 35","concentration for tracer 36","concentration for tracer 37","concentration for tracer 38","concentration for tracer 39","concentration for tracer 40","concentration for tracer 41","concentration for tracer 42","concentration for tracer 43","concentration for tracer 44","concentration for tracer 45","concentration for tracer 46","concentration for tracer 47","concentration for tracer 48","concentration for tracer 49","concentration for tracer 50","concentration for tracer 51","concentration for tracer 52","concentration for tracer 53","concentration for tracer 54","concentration for tracer 55","concentration for tracer 56","concentration for tracer 57","concentration for tracer 58","concentration for tracer 59","concentration for tracer 60","concentration for tracer 61","concentration for tracer 62","concentration for tracer 63","concentration for tracer 64","concentration for tracer 65","concentration for tracer 66","concentration for tracer 67","concentration for tracer 68","concentration for tracer 69","concentration for tracer 70","concentration for tracer 71","concentration for tracer 72","concentration for tracer 73","concentration for tracer 74","concentration for tracer 75","concentration for tracer 76","concentration for tracer 77","concentration for tracer 78","concentration for tracer 79","concentration for tracer 80","concentration for tracer 81","concentration for tracer 82","concentration for tracer 83","concentration for tracer 84","concentration for tracer 85","concentration for tracer 86","concentration for tracer 87","concentration for tracer 88","concentration for tracer 89","concentration for tracer 90","concentration for tracer 91","concentration for tracer 92","concentration for tracer 93","concentration for tracer 94","concentration for tracer 95","concentration for tracer 96","concentration for tracer 97","concentration for tracer 98","concentration for tracer 99","concentrations for tracers from 1 to 9","concentrations for tracers from 10 to 99","viscosity for U and V along x axis (m2/s)","viscosity for U and V along y axis (m2/s)","viscosity for U and V along z axis (m2/s)","viscosity for tracers along x axis (m2/s)","viscosity for tracers along y axis (m2/s)","viscosity for tracers along z axis (m2/s)","Richardson number in case of mixing length model","turbulent energie for k-epsilon model (J/kg)","dissipation of turbulent energie (W/kg)","dynamic pressure (multiplied by DT/RHO)","hydrostatic pressure (in Pascals)","relative density","wall distance","private variable 1","private variable 2","private variable 3","private variable 4","Stokes velocity along x axis (m/s)","Stokes velocity along y axis (m/s)","Stokes velocity along z axis (m/s)"], - defaut = [], - fr = """Noms des variables que l''utilisateur veut ecrire dans -le \telkey{FICHIER DES RESULTATS 3D}. -Le choix des separateurs est libre. -Les possibilites offertes sont les suivantes : -\begin{itemize} -\item U : vitesse suivant l''axe des $x$ (m/s) ; -\item V : vitesse suivant l''axe des $y$ (m/s) ; -\item W : vitesse suivant l''axe des $z$ (m/s) ; -\item Z : cote $z$ (m) ; -\item TAx : concentrations des traceurs ; -\item NUX : viscosite pour $U$ et $V$ suivant l''axe des $x$ (m$^2$/s) ; -\item NUY : viscosite pour $U$ et $V$ suivant l''axe des $y$ (m$^2$/s) ; -\item NUZ : viscosite pour $U$ et $V$ suivant l''axe des $z$ (m$^2$/s) ; -\item NAX : viscosites pour les traceurs suivant l''axe des $x$ -(m$^2$/s) ; -\item NAY : viscosites pour les traceurs suivant l''axe des $y$ -(m$^2$/s) ; -\item NAZ : viscosites pour les traceurs suivant l''axe des $z$ -(m$^2$/s) ; -\item RI : nombre de Richardson en cas de modele de longueur de -melange ; -\item K : energie turbulente du modele k-epsilon (J/kg) ; -\item EPS : dissipation de l''energie turbulente (W/kg) ; -\item DP : pression dynamique (multipliee par DT/RHO) ; -\item PH : pression hydrostatique (en Pascals) ; -\item RHO : densite relative ; -\item P1 : variable privee 1 ; -\item P2 : variable privee 2 ; -\item P3 : variable privee 3 ; -\item P4 : variable privee 4 ; -\item US : vitesse de Stokes suivant l''axe des $x$ (m/s) ; -\item VS : vitesse de Stokes suivant l''axe des $y$ (m/s) ; -\item WS : vitesse de Stokes suivant l''axe des $z$ (m/s). -\end{itemize}""", - ang = """Names of variables to be written in the -\telkey{3D RESULT FILE}. Free choice of separator. You can ask for: -\begin{itemize} -\item U : velocity along $x$ (m/s), -\item V : velocity along $y$ (m/s), -\item W : velocity along $z$ (m/s), -\item Z : elevation $z$ (m), -\item TAx: concentration of tracers, -\item NUX: viscosity for $U$ and $V$ along $x$ (m$^2$/s), -\item NUY: viscosity for $U$ and $V$ along $y$ (m$^2$/s), -\item NUZ: viscosity for $U$ and $V$ along $z$ (m$^2$/s), -\item NAX: viscosity for tracers along $x$ (m$^2$/s), -\item NAY: viscosity for tracers along $y$ (m$^2$/s), -\item NAZ: viscosity for tracers along $z$ (m$^2$/s), -\item RI : Richardson number for mixing length model, -\item K : turbulent kinetic energy for $k$-$\epsilon$ model (J/kg), -\item EPS: dissipation of turbulent kinetic energy (W/kg), -\item DP : dynamic pressure (multiplied by DT/RHO), -\item PH : hydrostatic pressure (Pa), -\item RHO: relative density, -\item P1 : private variable 1, -\item P2 : private variable 2, -\item P3 : private variable 3, -\item P4 : private variable 4, -\item US : Stokes velocity along $x$ axis (m/s), -\item VS : Stokes velocity along $y$ axis (m/s), -\item WS : Stokes velocity along $z$ axis (m/s). -\end{itemize}""", - ), -# ----------------------------------- - VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["depth averaged velocity along x axis (m/s)","depth averaged velocity along y axis (m/s)","celerity (m/s)","water depth (m)","free surface elevation (m)","bottom elevation (m)","concentration for tracer 1","concentration for tracer 2","concentration for tracer 3","concentration for tracer 4","concentration for tracer 5","concentration for tracer 6","concentration for tracer 7","concentration for tracer 8","concentration for tracer 9","concentration for tracer 10","concentration for tracer 11","concentration for tracer 12","concentration for tracer 13","concentration for tracer 14","concentration for tracer 15","concentration for tracer 16","concentration for tracer 17","concentration for tracer 18","concentration for tracer 19","concentration for tracer 20","concentration for tracer 21","concentration for tracer 22","concentration for tracer 23","concentration for tracer 24","concentration for tracer 25","concentration for tracer 26","concentration for tracer 27","concentration for tracer 28","concentration for tracer 29","concentration for tracer 30","concentration for tracer 31","concentration for tracer 32","concentration for tracer 33","concentration for tracer 34","concentration for tracer 35","concentration for tracer 36","concentration for tracer 37","concentration for tracer 38","concentration for tracer 39","concentration for tracer 40","concentration for tracer 41","concentration for tracer 42","concentration for tracer 43","concentration for tracer 44","concentration for tracer 45","concentration for tracer 46","concentration for tracer 47","concentration for tracer 48","concentration for tracer 49","concentration for tracer 50","concentration for tracer 51","concentration for tracer 52","concentration for tracer 53","concentration for tracer 54","concentration for tracer 55","concentration for tracer 56","concentration for tracer 57","concentration for tracer 58","concentration for tracer 59","concentration for tracer 60","concentration for tracer 61","concentration for tracer 62","concentration for tracer 63","concentration for tracer 64","concentration for tracer 65","concentration for tracer 66","concentration for tracer 67","concentration for tracer 68","concentration for tracer 69","concentration for tracer 70","concentration for tracer 71","concentration for tracer 72","concentration for tracer 73","concentration for tracer 74","concentration for tracer 75","concentration for tracer 76","concentration for tracer 77","concentration for tracer 78","concentration for tracer 79","concentration for tracer 80","concentration for tracer 81","concentration for tracer 82","concentration for tracer 83","concentration for tracer 84","concentration for tracer 85","concentration for tracer 86","concentration for tracer 87","concentration for tracer 88","concentration for tracer 89","concentration for tracer 90","concentration for tracer 91","concentration for tracer 92","concentration for tracer 93","concentration for tracer 94","concentration for tracer 95","concentration for tracer 96","concentration for tracer 97","concentration for tracer 98","concentration for tracer 99","TA concentrations for tracers from 1 to 9","TA concentrations for tracers from 10 to 99","Froude number","scalar discharge (m2/s)","discharge along x (m2/s)","discharge along y (m2/s)","norm of velocity (m/s)","wind along x axis (m/s)","wind along y axis (m/s)","atmospheric pressure (Pa)","friction coefficient","non erodible bottom elevation (m)","thickness of the sediment bed layer (m)","erosion rate (kg/m2/s)","deposition flux (kg/m2/s)","bed evolution","work array PRIVE 1","work array PRIVE 2","work array PRIVE 3","work array PRIVE 4","solid discharge (m2/s)","solid discharge along x (m2/s)","solid discharge along y (m2/s)","friction velocity (m/s)","maximum value of the free surface elevation (m)","time corresponding to this maximum elevation (s)","air temperature (degree C)","surface velocity along x axis (m/s)","surface velocity along y axis (m/s)","surface velocity along z axis (m/s)","magnitude of velocity at the surface (m/s)","TAi conc for tracers at the surface, i is the tracer number","TA concentrations for tracers at the surface from 1 to 9","TA concentrations for tracers at the surface from 10 to 99"], - defaut = [], - fr = """Noms des variables que l''utilisateur veut ecrire dans -le \telkey{FICHIER DES RESULTATS 2D}. -Chaque variable est representee par une lettre. -Le choix des separateurs est libre. -Les possibilites offertes sont les suivantes : -\begin{itemize} -\item U : vitesse moyenne suivant l''axe des x (m/s) ; -\item V : vitesse moyenne suivant l''axe des y (m/s) ; -\item C : celerite (m/s) ; -\item H : hauteur d''eau (m) ; -\item S : cote de surface libre (m) ; -\item B : cote du fond (m) ; -\item TAi : TAi concentrations des traceurs, i numero du traceur ; -\item TA* : TA concentrations des traceurs de 1 a 9 ; -\item TA** : TA concentrations des traceurs de 10 a 99 ; -\item F : nombre de Froude ; -\item Q : debit scalaire (m$^2$/s) ; -\item I : debit suivant x (m$^2$/s) ; -\item J : debit suivant y (m$^2$/s) ; -\item M : norme de la vitesse (m/s) ; -\item X : vent suivant l''axe des x (m/s) ; -\item Y : vent suivant l''axe des y (m/s) ; -\item P : pression atmospherique (Pa) ; -\item W : coefficient de frottement ; -\item RB : cote des fonds non erodables (m) ; -\item HD : epaisseur des depots frais (m) ; -\item EF : flux d''erosion (kg/m$^2$/s) ; -\item DF : probabilite de depot (kg/m$^2$/s) ; -\item DZF : evolution du lit ; -\item PRIVE1 : tableau de travail PRIVE 1 ; -\item PRIVE2 : tableau de travail PRIVE 2 ; -\item PRIVE3 : tableau de travail PRIVE 3 ; -\item PRIVE4 : tableau de travail PRIVE 4 ; -\item QS : debit solide (m$^2$/s) ; -\item QSX : debit solide suivant x (m$^2$/s) ; -\item QSY : debit solide suivant y (m$^2$/s) ; -\item US : vitesse de frottement (m/s) ; -\item MAXZ : valeur maximum de la cote de l eau au cours du calcul (m) ; -\item TMXZ : temps correspondant a ce niveau maximum (s) ; -\item TAIR : temperature de l air ($^{\circ}$C) ; -\item USURF : vitesse en surface suivant l''axe des x (m/s) ; -\item VSURF : vitesse en surface suivant l''axe des y (m/s) ; -\item WSURF : vitesse en surface suivant l''axe des z (m/s) ; -\item MSURF : norme de la vitesse en surface (m/s) ; -\item TASURFi : TAi conc des traceurs en surface, i numero du traceur ; -\item TASURF* : TA concentrations des traceurs en surface de 1 a 9 ; -\item TASURF** : TA concentrations des traceurs en surface de 10 a 99. -\end{itemize}""", - ang = """Names of variables that may be written in the -\telkey{2D RESULT FILE}. -Every variable is represented by a group of letters with -any separator between them , ; or blank -possibilities are the following: -\begin{itemize} -\item U: depth averaged velocity along x axis (m/s), -\item V: depth averaged velocity along y axis (m/s), -\item C: celerity (m/s), -\item H: water depth (m), -\item S: free surface elevation (m), -\item B: bottom elevation (m), -\item TAi: TAi concentrations for tracers, i is the tracer number, -\item TA*: TA concentrations for tracers from 1 to 9, -\item TA**: TA concentrations for tracers from 10 to 99, -\item F: Froude number, -\item Q: scalar discharge (m$^2$/s), -\item I: discharge along x (m$^2$/s), -\item J: discharge along y (m$^2$/s), -\item M: norm of velocity (m/s), -\item X: wind along x axis (m/s), -\item Y: wind along y axis (m/s), -\item P: atmospheric pressure (Pa), -\item W: friction coefficient, -\item RB: non erodible bottom elevation (m), -\item HD: thickness of the fresh deposits (m), -\item EF: erosion rate (kg/m$^2$/s), -\item DF: probability of deposition (kg/m$^2$/s), -\item DZF : bed evolution, -\item PRIVE1: work array PRIVE 1, -\item PRIVE2: work array PRIVE 2, -\item PRIVE3: work array PRIVE 3, -\item PRIVE4: work array PRIVE 4, -\item QS: solid discharge (m$^2$/s), -\item QSX: solid discharge along x (m$^2$/s), -\item QSY: solid discharge along y (m$^2$/s), -\item US: friction velocity (m/s), -\item MAXZ: maximum value of the free surface -elevation during the computation (m), -\item TMXZ: time corresponding to this maximum elevation (s), -\item TAIR: air temperature ($^{\circ}$C), -\item USURF: velocity along x axis at the surface (m/s), -\item VSURF: velocity along y axis at the surface (m/s), -\item WSURF: velocity along z axis at the surface (m/s), -\item MSURF: magnitude of velocity at the surface (m/s), -\item TASURFi: TAi conc for tracers at the surface, i is the tracer -number, -\item TASURF*: TA conc for tracers at the surface from 1 to 9, -\item TASURF**: TA conc for tracers at the surface from 10 to 99. -\end{itemize}""", - ), -# ----------------------------------- - GRAPHIC_PRINTOUT_PERIOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression des -\telkey{VARIABLES POUR LES SORTIES GRAPHIQUES 2D ou 3D} -(voir ces mot-cles) dans le \telkey{FICHIER DES RESULTATS 2D ou 3D}.""", - ang = """Determines, in number of time steps, the printout period for the -\telkey{VARIABLES FOR 2D (or 3D) GRAPHIC PRINTOUTS} -in the \telkey{2D or 3D RESULT FILE}.""", - ), -# ----------------------------------- - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Determine le numero de pas de temps a partir duquel debute -l''ecriture des resultats dans le \telkey{FICHIER DES RESULTATS 2D} -ou \telkey{3D}''.""", - ang = """Determines the number of time steps after which the results -are first written into the \telkey{2D} or \telkey{3D RESULT FILE}.""", - ), -# ----------------------------------- - NUMBER_OF_PRIVATE_ARRAYS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de tableaux mis a disposition de l utilisateur.""", - ang = """Number of arrays for own user programming.""", - ), -# ----------------------------------- - NUMBER_OF_2D_PRIVATE_ARRAYS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de tableaux 2D mis a disposition de l utilisateur -dans le bloc \telfile{PRIVE2D}. Il doit etre inferieur ou egal a 4.""", - ang = """Number of 2D arrays for own user programming -in block \telfile{PRIVE2D}. It has to be lower or equal to 4.""", - ), -# ----------------------------------- - NAMES_OF_2D_PRIVATE_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 4, max= 4, - fr = """Noms des variables dans les tableaux prives 2D en 32 -caracteres, 16 pour le nom 16 pour l''unite. Elles seront lues dans le -\telkey{FICHIER DE GEOMETRIE} si elles y sont. -Nombre maximum de 4 noms.""", - ang = """Name of variables in 2D private arrays in 32 characters, -16 for the name, 16 for the unit. If present, will be read -in the \telkey{GEOMETRY FILE}. Maximum number of 4 names.""", - ), -# ----------------------------------- - FORMATTED_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats formate mis a la disposition de -l''utilisateur.""", - ang = """Formatted file of results available to the user.""", - ), -# ----------------------------------- - BINARY_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Additional binary-coded result file available to the user.""", - ), - ), -# ----------------------------------- - LISTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LISTING_PRINTOUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Sortie des resultats sur support papier ou a l ecran. -Si l''on met NON le listing ne contient que l''entete et la mention -FIN NORMALE DU PROGRAMME. Commande a eviter.""", - ang = """Result printout on hard copy. -When NO is selected, the listing only includes the heading and the -phrase "NORMAL END OF PROGRAM". -In addition, the options \telkey{MASS-BALANCE} and -\telkey{VALIDATION} are inhibited. Not recommended for use.""", - ), -# ----------------------------------- - MASS_BALANCE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si l''on effectue ou non le bilan de masse -sur le domaine. -Cette procedure calcule a chaque pas de temps : -\begin{itemize} -\item les flux aux entrees et sorties du domaine ; -\item le flux global a travers l''ensemble des parois du domaine -(liquides ou solides) ; -\item l''erreur relative sur la masse pour ce pas de temps. -\end{itemize} -En fin de listing, on trouve l''erreur relative sur la masse pour -l''ensemble du calcul. -Il ne s''agit que d''un calcul indicatif car il n''existe pas -d''expression compatible du debit en formulation c,u,v.""", - ang = """Determines whether a check of the mass-balance over -the domain is done or not. -This procedures computes the following at each time step: -\begin{itemize} -\item the domain inflows and outflows, -\item the overall flow across all the boundaries, -\item the relative error in the mass for that time step. -\end{itemize} -The relative error in the mass over the whole computation can be found -at the end of the listing.""", - ), -# ----------------------------------- - INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Donne a \telkey{PERIODE POUR LES SORTIES LISTING} -une information sur le bilan de masse.""", - ang = """Gives the information about mass-balance -at every \telkey{LISTING PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - LISTING_PRINTOUT_PERIOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode en nombre de pas de temps d''impression des -VARIABLES A IMPRIMER. Pour la mise au point, -il faut savoir que la sortie des resultats est effectuee -systematiquement sur le listing.""", - ang = """Determines, in number of time steps, the printout period of the -VARIABLES TO BE PRINTED. -The results are systematically printed out on the listing file.""", - ), -# ----------------------------------- - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Determine le numero de pas de temps a partir duquel debute -l''ecriture des resultats dans le listing.""", - ang = """Determines the number of time steps after which the results -are first written into the listing.""", - ), - ), - ), -# ----------------------------------- - RESTART = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - COMPUTATION_CONTINUED = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si le calcul en cours est independant de tout autre -resultat ou est une reprise effectuee a partir du resultat d''un calcul -precedent. -\begin{itemize} -\item NON : Il s''agit du premier passage pour ce calcul et il est -necessaire de definir un jeu complet de conditions initiales -\item OUI : Il s''agit d''une reprise de calcul : -les conditions initiales sont constituees par le dernier pas de -temps du \telkey{FICHIER DU CALCUL PRECEDENT} du fichier des parametres -utilise pour soumettre le calcul. -\end{itemize} -Par contre, l''ensemble des donnees du fichier des parametres -peuvent etre redefinies, ce qui offre la possibilite de changer -par exemple, le pas de temps, le modele de turbulence, le -frottement, d''ajouter ou retirer un traceur\ldots\\ -De meme, il est necessaire de definir des conditions aux limites -(sous-programme \telfile{BORD3D} ou valeurs placees dans le fichier des -parametres), qui peuvent egalement etre modifiees.\\ -Afin d''obtenir une suite de calcul parfaite, l''utilisateur doit -activer le \telkey{MODE SUITE} dans un calcul precedent afin de generer -le fichier a partir duquel le calcul suivant commence -(\telkey{FICHIER POUR SUITE}).""", - ang = """Determines whether the computation under way is independent -or is following an earlier result. -\begin{itemize} -\item NO: It is the first run for this computation and a whole set of -initial conditions should be defined, -\item YES: It follows a former computation: -the initial conditions consist in the last time step of the -\telkey{PREVIOUS COMPUTATION FILE} defined in the steering file -used for submitting the computation. -\end{itemize} -All the data from the steering file may be defined once again, which -provides an opportunity to change, for example, the time step, -the turbulence model, the friction, to add or remove a tracer\ldots\\ -It is also possible to define new boundary conditions -(in the subroutine \telfile{BORD3D} or values defined -in the steering file).\\ -In order to get a perfect continued computation, the user has to -activate the \telkey{RESTART MODE} in a previous computation to generate -the file from which the following computation starts -(\telkey{RESTART FILE}).""", - ), -# ----------------------------------- - b_COMPUTATION_CONTINUEDG = BLOC(condition="COMPUTATION_CONTINUED == True", -# ----------------------------------- -# ----------------------------------- - PREVIOUS_COMPUTATION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul precedent -realise sur le meme maillage et dont le dernier pas de temps enregistre -va fournir les conditions initiales pour une suite de calcul. -Dans le cas d''une suite de calcul que l''on souhaite parfaite, -le \telkey{FICHIER DU CALCUL PRECEDENT} doit etre le -\telkey{FICHIER POUR SUITE} du dernier calcul, ce dernier fichier -etant alors un fichier de sortie du dernier calcul. -Le \telkey{FORMAT DU FICHIER DU CALCUL PRECEDENT} et le -\telkey{FORMAT DU FICHIER POUR SUITE} doivent alors etre mis a - ''SERAFIND'' ou ''MED''.""", - ang = """Name of a file containing the results of an earlier computation -which was made on the same mesh. The last recorded time step will -provide the initial conditions for the new computation. -In case of a perfect continued computation, the -\telkey{PREVIOUS COMPUTATION FILE} has to be the \telkey{RESTART FILE} -of the last computation. -This last file is then an output file of the last computation. -The \telkey{PREVIOUS COMPUTATION FILE FORMAT} and the -\telkey{RESTART FILE FORMAT} have to be set with ''SERAFIND'' -or ''MED''.""", - ), -# ----------------------------------- - PREVIOUS_COMPUTATION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DU CALCUL PRECEDENT}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{PREVIOUS COMPUTATION FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - RECORD_NUMBER_FOR_RESTART = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """En cas de suite de calcul, numero de l''enregistrement -de depart dans le fichier du calcul precedent. 0 signifie -que l''on prend le dernier enregistrement.""", - ang = """In case of \telkey{COMPUTATION CONTINUED} = YES, record number -to start from in the \telkey{PREVIOUS COMPUTATION FILE}. -0 means that the last record is taken.""", - ), - ), -# ----------------------------------- - INITIAL_TIME_SET_TO_ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Remet le temps a zero en cas de suite de calcul.""", - ang = """Initial time set to zero in case of restart.""", - ), -# ----------------------------------- - RESTART_MODE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Declenche le remplissage du -\telkey{FICHIER POUR SUITE}, qui permet une suite de calcul -parfaite, contrairement au \telkey{FICHIER DES RESULTATS 3D}.""", - ang = """Triggers the filling of the \telkey{RESTART FILE}, -which ensures a perfect restart of a computation, -unlike using the \telkey{3D RESULT FILE}.""", - ), -# ----------------------------------- - b_RESTART_MODEG = BLOC(condition="RESTART_MODE == True", -# ----------------------------------- -# ----------------------------------- - RESTART_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats du -dernier calcul pour obtenir une suite de calcul parfaite. -C''est donc un fichier de sortie pour le calcul en cours, -qui servira de fichier d''entree lors de la suite de calcul que l''on -souhaite parfaite (le mot-cle \telkey{FICHIER DU CALCUL PRECEDENT} -est alors utilise). -Le \telkey{FORMAT DU FICHIER POUR SUITE} et le -\telkey{FORMAT DU FICHIER DU CALCUL PRECEDENT} doivent alors etre mis a - ''SERAFIND'' ou ''MED''.""", - ang = """Name of the file into which the last computation results shall -be written in order to get a perfect continued computation. -It is then an output file for the current computation, -which will be used as an input file when a continued computation -is expected to be perfect (the keyword -\telkey{PREVIOUS COMPUTATION FILE} is then used). -The \telkey{RESTART FILE FORMAT} and the -\telkey{PREVIOUS COMPUTATION FILE FORMAT} have to be set with - ''SERAFIND'' or ''MED''.""", - ), -# ----------------------------------- - RESTART_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIND', - fr = """Format du \telkey{FICHIER POUR SUITE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize} -Seul les formats double precision assurent une suite parfaite.""", - ang = """Format of the \telkey{RESTART FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize} -Only double precision formats ensure a perfect restart.""", - ), - ), -# ----------------------------------- - ED_CONTINUATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet d''utiliser un \telkey{FICHIER DES RESULTATS 2D} -stocke dans le \telkey{FICHIER POUR SUITE 2D} comme fichier de -conditions initiales.""", - ang = """Enables to use a \telkey{2D RESULT FILE} in -\telkey{FILE FOR 2D CONTINUATION} as initial conditions file.""", - ), -# ----------------------------------- - b_ED_CONTINUATIONG = BLOC(condition="ED_CONTINUATION == True", -# ----------------------------------- -# ----------------------------------- - FILE_FOR_2D_CONTINUATION = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier utilise en cas de suite 2D.""", - ang = """File to be used in case of 2D continuation.""", - ), -# ----------------------------------- - FILE_FOR_2D_CONTINUATION_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER POUR SUITE 2D}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{FILE FOR 2D CONTINUATION}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom= "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DEBUGGER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Pour imprimer la sequence des appels, mettre 1.""", - ang = """If 1, additional writings will be printed in the listing, -in particular the calls of subroutines.""", - ), -# ----------------------------------- - TIME = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIME_STEP = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Definit le pas de temps en secondes. -Remarque : Pour une bonne precision, il est souhaitable de choisir -le pas de temps de telle sorte que le nombre de Courant de propagation -soit inferieur a 2, voire 3. -Ceci peut etre realisable en hydraulique fluviale, mais ne l''est -pratiquement jamais en hydraulique maritime ou l''on peut atteindre -des valeurs de 50.""", - ang = """Specifies the time step in seconds.""", - ), -# ----------------------------------- - NUMBER_OF_TIME_STEPS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Definit le nombre de pas de temps effectues lors de -l''execution du code.""", - ang = """Specifies the number of time steps performed when running -the code.""", - ), -# ----------------------------------- - DURATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Duree de la simulation en secondes. Alternative au parametre -\telkey{NOMBRE DE PAS DE TEMPS}. -On en deduit le nombre de pas de temps en prenant l''entier le -plus proche de (duree du calcul/pas de temps). -Si le \telkey{NOMBRE DE PAS DE TEMPS} est aussi donne, -on prend la plus grande valeur.""", - ang = """Sets the duration of the simulation in seconds. -May be used instead of the parameter \telkey{NUMBER OF TIME STEPS}. -The nearest integer to (duration/time step) is taken. -If \telkey{NUMBER OF TIME STEPS} is also given, -the greater value is taken.""", - ), -# ----------------------------------- - ORIGINAL_DATE_OF_TIME = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [1900,1,1], - fr = """Permet de fixer la date d''origine des temps du modele lorsque -la maree est prise en compte (force generatrice de la maree et/ou les -conditions aux limites de maritimes. -Egalement utilise pour les flotteurs, -les echanges thermiques avec atmosphere, le chainage avec DELWAQ.""", - ang = """Enables to set the date of the time origin of the model when -taking into account of the tide (tide generator force and/or the tidal -boundary conditions). -Also used with drogues, heat exchange with atmosphere, -chaining with DELWAQ.""", - ), -# ----------------------------------- - ORIGINAL_HOUR_OF_TIME = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min= 3, max= 3, - defaut = [0,0,0], - fr = """Permet de fixer l''heure d''origine des temps du modele lorsque -la maree est prise en compte (force generatrice de la maree et/ou les -conditions aux limites de maritimes. -Egalement utilise pour les flotteurs, -les echanges thermiques avec atmosphere, en chainage avec DELWAQ.""", - ang = """Enables to set the time of the time origin of the model when -taking into account of the tide (tide generator force and/or the tidal -boundary conditions). -Also used with drogues, heat exchange with atmosphere, -chaining with DELWAQ.""", - ), - ), -# ----------------------------------- - LOCATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SPHERICAL_COORDINATES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Choix des coordonnees spheriques pour la realisation du calcul -(pour les grands domaines de calcul). -Attention : cette option est etroitement liee au maillage qui doit avoir -ete saisi sur une carte marine en projection de Mercator. Il faut de -plus relever sur la carte la \telkey{LATITUDE DU POINT ORIGINE} -qui correspond dans le maillage a l''ordonnee $y$ = 0.""", - ang = """Selection of spherical coordinates to perform the computation -(for large computation domains). -Warning: this option is closely related to the mesh that should have -been entered onto a nautical chart drawn as per Mercator projection -The \telkey{LATITUDE OF ORIGIN POINT}, which corresponds to -ordinate $y$ = 0 in the mesh, must moreover be given.""", - ), -# ----------------------------------- - SPATIAL_PROJECTION_TYPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["CARTESIAN, NOT GEOREFERENCED","MERCATOR","LATITUDE LONGITUDE"], - defaut = "MERCATOR", - fr = """Permet de specifier le type de projection spatiale utilisee dans -le cas de l''utilisation des coordonnees spheriques par exemple. -Les choix possibles sont : -\begin{itemize} -\item 1 : Lambert Cartesien non georeference ; -\item 2 : Mercator ; -\item 3 : Latitude/longitude (exprimees en degres). -\end{itemize} -Option 2 ou 3 obligatoire pour les coordonnees spheriques. -Option 3 : latitude et longitude en degres ! -Dans le cas de l''option 3, \telemac{3d} convertit les informations -latitude/longitude a l''aide de la projection de Mercator.""", - ang = """Specifies the type of spatial projection used -(for example when using spherical coordinates). -Possible choices are: -\begin{itemize} -\item 1: Cartesian, not georeferenced, -\item 2: Mercator, -\item 3: latitude/longitude (in degrees). -\end{itemize} -Option 2 or 3 mandatory for spherical coordinates. Option 3: latitude -and longitude in degrees! When using option 3, the coordinates are -automatically -treated by \telemac{3d} using Mercator projection.""", - ), -# ----------------------------------- - LATITUDE_OF_ORIGIN_POINT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Donne la valeur de la latitude du point origine du maillage -(pour la projection de Mercator, voir le mot cle -\telkey{SYSTEME GEOGRAPHIQUE}). -Egalement utilise pour les echanges thermiques avec l atmosphere.""", - ang = """Gives the value of the latitude of the origin point of the -mesh (for the Mercator projection, see the keyword -\telkey{GEOGRAPHIC SYSTEM}). -Also used for heat exchange with atmosphere.""", - ), -# ----------------------------------- - LONGITUDE_OF_ORIGIN_POINT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Donne la valeur de la longitude du point origine du maillage -(pour la projection de Mercator, voir le mot cle -\telkey{SYSTEME GEOGRAPHIQUE}). -Egalement utilise pour la force generatrice de la maree, -echanges thermiques avec l atmosphere.""", - ang = """Gives the value of the longitude of the origin point of the -mesh (for the Mercator projection, see the keyword -\telkey{GEOGRAPHIC SYSTEM}). -Also used for tide generating force, heat exchange with atmosphere.""", - ), -# ----------------------------------- - NORTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Angle que fait le nord, -dans le sens trigonometrique, avec L, axe Oy. Lu mais non utilise.""", - ang = """Angle of North, counted counter-clockwise, with Oy. Read but not used.""", - ), - ), -) -# ----------------------------------------------------------------------- -VERTICAL = PROC(nom= "VERTICAL",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_HORIZONTAL_LEVELS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 2, - fr = """Definit le nombre de plans du maillage entre le fond et la -surface. Vaut au moins 2.""", - ang = """Gives the number of planes from bottom to free surface. Must -be at least 2.""", - ), -# ----------------------------------- - MESH_TRANSFORMATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Permet que specifier la methode de repartition des plans -verticaux du maillage. Les choix possibles sont : -\begin{itemize} -\item 0 : utilisateur (sous-programme \telfile{CALCOT} a programmer) ; -\item 1 : sigma ; -\item 2 : zstar ; -\item 3 : plans fixes ; -\item 5 : adaptatif. -\end{itemize} -Ce mot-clef doit etre coherent avec le sous-programme -\telfile{CONDIM}.""", - ang = """Specifies the distribution of vertical planes of the mesh. -Possible choices are: -\begin{itemize} -\item 0: user defined (then subroutine \telfile{CALCOT} to be -implemented), -\item 1: sigma, -\item 2: zstar, -\item 3: horizontal fixed planes, -\item 5: adaptive mesh. -\end{itemize} -This keyword must comply with what is done in \telkey{CONDIM} -subroutine.""", - ), -# ----------------------------------- - MINIMUM_VOLUME_OF_3D_ELEMENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Volume minimal des elements 3D exprime en m$^3$.""", - ang = """Minimum volume of 3D elements in m$^3$.""", - ), -# ----------------------------------- - MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Distance minimale entre plans pres du fond. -Seulement pour les plans de type \telfile{TRANSF\_PLANE\%I(...)} = 3.""", - ang = """Minimum distance between planes close to the bottom. -Only for planes of type \telfile{TRANSF\_PLANE\%I(...)} = 3.""", - ), -# ----------------------------------- - MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Distance minimale entre plans pres de la surface libre. -Seulement pour les plans de type \telfile{TRANSF\_PLANE\%I(...)} = 3.""", - ang = """Minimum distance between planes close to the free surface. -Only for planes of type \telfile{TRANSF\_PLANE\%I(...)} = 3.""", - ), -# ----------------------------------- - THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Hauteur minimale sous laquelle les elements 3D sont traites comme -ecrases. -Ce n est pas fait pour le plan de la surface libre.""", - ang = """Minimum height below which 3D elements are treated as crushed. -This is not done for the free surface plane.""", - ), -# ----------------------------------- - NUMBER_OF_TRACER_FOR_AMR = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Permet de donner le numero de traceur utilise par l algorithme de -maillage adaptatif (\telkey{TRANSFORMATION DU MAILLAGE} = 5).""", - ang = """Specifies the number of tracer used by the adaptive mesh algorithm -(\telkey{MESH TRANSFORMATION} = 5).""", - ), -) -# ----------------------------------------------------------------------- -NUMERICAL_PARAMETERS = PROC(nom= "NUMERICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Permet de reactualiser, pour un meme pas de temps, les champs -convecteur et propagateur au cours de plusieurs sous-iterations. A la -premiere sous-iteration, ces champs sont donnes par $C$ et le champ de -vitesses au pas de temps precedent. Aux iterations suivantes, ils sont -pris egaux au champ de vitesse obtenu a la fin de la sous-iteration -precedente. Cette technique permet d''ameliorer la prise en compte des -non linearites.""", - ang = """Used for updating, within one time step, the advection and -propagation fields. -Upon the first sub-iteration, these fields are given by -$C$ and the velocity field in the previous time step. At subsequent -iterations, the results of the previous sub-iteration is used to -update the advection and propagation field. -The non-linearities can be taken into account through this technique.""", - ), -# ----------------------------------- - ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-10, - fr = """Non active pour l''instant.""", - ang = """Not used so far.""", - ), -# ----------------------------------- - ADVECTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ADVECTION_STEP = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Prise en compte ou non des termes de convection. -En cas de reponse positive, -on peut encore supprimer certains termes de convection avec -les mots-cles \telkey{SCHEMA POUR LA CONVECTION...}""", - ang = """Takes into account the advection terms or not. -If YES, some advection terms can still be ignored with the keywords -\telkey{SCHEME FOR ADVECTION OF...}""", - ), -# ----------------------------------- - b_TREATMENT_OF_FLUXES_AT_THE_BOUNDARIESF = BLOC(condition="(ADVECTION_STEP == True and ((SCHEME_FOR_ADVECTION_OF_TRACERS in ['N-SCHEME FOR TIDAL FLATS','LEO POSTMA FOR TIDAL FLATS','EXPLICIT + SUPG','EXPLICIT + MURD SCHEME N','EXPLICIT LEO POSTMA','EXPLICIT + MURD SCHEME PSI']) or (SCHEME_FOR_ADVECTION_OF_K_EPSILON in ['N-SCHEME FOR TIDAL FLATS','LEO POSTMA FOR TIDAL FLATS','EXPLICIT + SUPG','EXPLICIT + MURD SCHEME N','EXPLICIT LEO POSTMA','EXPLICIT + MURD SCHEME PSI']) or (SCHEME_FOR_ADVECTION_OF_VELOCITIES in ['N-SCHEME FOR TIDAL FLATS','LEO POSTMA FOR TIDAL FLATS','EXPLICIT + SUPG','EXPLICIT + MURD SCHEME N','EXPLICIT LEO POSTMA','EXPLICIT + MURD SCHEME PSI'])))", -# ----------------------------------- - ), -# ----------------------------------- - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["Priority to prescribed values","Priority to fluxes"], - fr = """Option s''utilisant uniquement pour les schemas SUPG, PSI et N -(un entier par frontiere liquide). -Les choix possibles sont : -\begin{itemize} -\item 1 : priorite aux valeurs imposees ; -\item 2 : priorite aux flux. -\end{itemize} -Avec l''option 2, on ne retrouve pas exactement les valeurs imposees -des traceurs, mais le flux est correct.""", - ang = """Used so far only with the SUPG, PSI and N schemes -(one integer per open boundary). -Possible choices are: -\begin{itemize} -\item 1: priority to prescribed values, -\item 2: priority to fluxes. -\end{itemize} -With option 2, Dirichlet prescribed values are not obeyed, -but the fluxes are correct.""", - ), -# ----------------------------------- - SUPG_OPTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', min= 4, max= 4, - defaut = [1,0,1,1], - fr = """Permet de specifier le type de decentrement utilise. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de decentrement SUPG ; -\item 1 : SUPG classique ; -\item 2 : SUPG modifiee. -\end{itemize} -Seul le premier coefficient (applique a $U$, $V$ et $W$) est utilise. -C est aussi ce coefficient qui est applique aux traceurs, $k$ -et $\epsilon$ eventuellement.""", - ang = """Specifies the type of upwinding used. -Possible choices are: -\begin{itemize} -\item 0: no upwinding, -\item 1: classical SUPG, -\item 2: modified SUPG. -\end{itemize} -Only the 1st coefficient is used (and applied to $U$, $V$ and $W$). -It is also this coefficient which is applied to tracer(s), $k$ -and $\epsilon$ if needed.""", - ), -# ----------------------------------- - b_MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMESF = BLOC(condition="(ADVECTION_STEP == True and ((SCHEME_FOR_ADVECTION_OF_TRACERS == 'N-SCHEME FOR TIDAL FLATS') or (SCHEME_FOR_ADVECTION_OF_K_EPSILON == 'N-SCHEME FOR TIDAL FLATS') or (SCHEME_FOR_ADVECTION_OF_VELOCITIES == 'N-SCHEME FOR TIDAL FLATS') or (SCHEME_FOR_ADVECTION_OF_TRACERS == 'LEO POSTMA FOR TIDAL FLATS') or (SCHEME_FOR_ADVECTION_OF_K_EPSILON == 'LEO POSTMA FOR TIDAL FLATS') or (SCHEME_FOR_ADVECTION_OF_VELOCITIES == 'LEO POSTMA FOR TIDAL FLATS')))", -# ----------------------------------- - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 50, - fr = """Limite le nombre d''iterations pour les schemas de convection, -seulement pour schemes 13 et 14. -Ancienne valeur par defaut = 10 jusqu en version 8.1.""", - ang = """Limits the number of solver iterations for the advection -schemes, only for schemes 13 and 14. -Old default value = 10 until release 8.1.""", - ), -# ----------------------------------- - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Pour les options predicteur-correcteur avec schema localement -implicite (4 ou 5). -Ce mot-cle permet de diviser le pas de temps donne par l utilisateur -dans le \telkey{FICHIER DES PARAMETRES} en plusieurs sous-pas. -A nouveau, il produit un effet sur la precision du schema et -il est pratique d ajuster ce mot-cle afin d avoir des nombres de -Courant pas trop grands (autour de 1).""", - ang = """Only for implicit scheme with predictor-corrector (4 or 5). -This keyword allows to subdivide the time step given by the user in the -\telkey{STEERING FILE}, into several sub-steps. -Again, it produces an effect on the precision of the scheme and -it is convenient to set this keyword in order to have Courant numbers -not too large (around 1).""", - ), -# ----------------------------------- - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Pour les options avec predicteur-correcteur et schema de convection -de type (3, 4 et 5, LIPS ou pas). -Nombre d iterations pour tous les pas de temps (ou sous pas) pour -converger vers la solution. -Il est utile pour les cas non stationnaires. -Pour les ecoulements quasi-stationnaires, ce mot-cle n a pas d impact -sur la solution, il peut donc etre fixe a 0. -D un autre cote, pour les ecoulements instationnaires, il est suggere -de fixer ce mot-cle a 2 (au moins), ce qui est un bon compromis -entre precision et temps CPU. -En effet, en augmentant le nombre de corrections, le schema est plus -precis mais le temps CPU augmente rapidement.""", - ang = """For predictor-corrector options with advection scheme of type -3, 4, 5, LIPS or not). -Number of iterations for every time step (or sub-time step) to converge -to the solution. -It is useful for unsteady cases. -For quasi-steady flows, this keyword does not have a large impact -on the solution, so it can be set to 0. -On the other hand, for unsteady flows, it is suggested to set this -keyword to 2 (at least), which is a good compromise between accuracy -and computational time. Indeed, increasing the number of corrections -the scheme is more accurate but the CPU time rapidly increases.""", - ), - ), -# ----------------------------------- - DIFFUSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MASS_LUMPING_FOR_DIFFUSION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Mass-lumping de la matrice de masse dans la diffusion. -Si la diffusion est explicite (\telkey{IMPLICITATION FOR DIFFUSION} -< 0.001) ou qu un schema de convection est de type 3, 4, 5, 13 ou 14, -il est automatiquement mis a 1. dans \telfile{DIFF3D}.""", - ang = """Mass-lumping of the mass-matrix in the diffusion step. -If diffusion is explicit (\telkey{IMPLICITATION FOR DIFFUSION} < 0.001) -or if the advection scheme is of type 3, 4, 5, 13 or 14, -it is automatically set to 1. in \telfile{DIFF3D}.""", - ), - ), -) -# ----------------------------------------------------------------------- -HYDRODYNAMICS = PROC(nom= "HYDRODYNAMICS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NON_HYDROSTATIC_VERSION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Permet de specifier s''il y a utilisation ou non de la version -non-hydrostatique.""", - ang = """Specifies the use of the non-hydrostatic code version or not.""", - ), -# ----------------------------------- - b_NON_HYDROSTATIC_VERSIONG = BLOC(condition="NON_HYDROSTATIC_VERSION == True", -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_PPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - defaut = "gmres", - fr = """Permet de choisir le solveur utilise pour la resolution de -l''equation de Poisson. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize} -Ancienne valeur par defaut = 1 (gradient conjugue) jusqu a la version -V8P0.""", - ang = """Choice of the solver for the Poisson Pressure Equation. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize} -Old default value = 1 (conjugate gradient) until version V8P0.""", - ), -# ----------------------------------- - b_SOLVER_FOR_PPEG = BLOC(condition="SOLVER_FOR_PPE == 'gmres'", -# ----------------------------------- -# ----------------------------------- - OPTION_OF_SOLVER_FOR_PPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7). -Ancienne valeur par defaut = 3 jusqu a la version V8P0.""", - ang = """Dimension of Krylov space for the GMRES method (7). -Old default value = 3 until version V8P0.""", - ), - ), -# ----------------------------------- - ACCURACY_FOR_PPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-8, - fr = """Fixe la precision pour l''equation de Poisson. -Ancienne valeur par defaut = 1.E-4 jusqu a la version V8P0.""", - ang = """Sets the precision needed for the computation of the Poisson -Pressure Equation. -Old default value = 1.E-4 until version V8P0.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 100, - fr = """Limite le nombre d iterations pour l''equation de Poisson.""", - ang = """Limits the number of solver iterations for the Poisson -Pressure Equation.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_PPE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - defaut = "diagonal", - fr = """Preconditionnement pour l''equation de Poisson. -Les choix possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee ; -\item 5 : diagonal avec valeurs absolues ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE ; -\item 13 : matrice fournie par l''utilisateur ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale ; -\item 21 : diagonal condensee et Crout ; -\item 34 : diagonal et solveur direct sur la verticale. -\end{itemize}""", - ang = """Preconditioning for the Poisson Pressure Equation. -Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix, -\item 5: diagonal with absolute values, -\item 7: Crout, -\item 11: Gauss-Seidel EBE, -\item 13: matrix defined by the user, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical, -\item 21: diagonal condensed and Crout, -\item 34: diagonal and direct solver on the vertical. -\end{itemize}""", - ), -# ----------------------------------- - DYNAMIC_PRESSURE_IN_WAVE_EQUATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Definit si une estimation du gradient de pression dynamique -est prise en compte dans l''equation d''onde.""", - ang = """Defines if an estimated pressure gradient is taken into -account in the wave equation.""", - ), -# ----------------------------------- - DYNAMIC_BOUNDARY_CONDITION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI, permet d imposer une vitesse en surface -selon la condition a la limite dynamique.""", - ang = """If YES, it enables to prescribe a velocity at the free surface -coherent with the dynamic boundary condition.""", - ), -# ----------------------------------- - CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Modifie les vitesses libres sur les frontieres ouvertes -pour avoir un meilleur champ a divergence nulle.""", - ang = """Changes the free velocities on open boundaries to get -a better divergence-free field.""", - ), - ), -# ----------------------------------- - ELEMENTS_MASKED_BY_USER = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI, remplir le sous-programme \telfile{MASKOB}.""", - ang = """If YES, fill in the subroutine \telfile{MASKOB}.""", - ), -# ----------------------------------- - b_ELEMENTS_MASKED_BY_USERG = BLOC(condition="ELEMENTS_MASKED_BY_USER == True", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Rewrite subroutine maskob"), - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GRAVITY_ACCELERATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 9.81, - fr = """Fixe la valeur de l''acceleration de la pesanteur en m/s$^2$.""", - ang = """Sets the value of the acceleration due to gravity in m/s$^2$.""", - ), -# ----------------------------------- - AVERAGE_WATER_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1025., - fr = """Valeur de la densite moyenne dans le domaine, voir -\telfile{DRSURR}.""", - ang = """Average water density in the domain, see subroutine -\telfile{DRSURR}.""", - ), -# ----------------------------------- - FRICTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LAW_OF_BOTTOM_FRICTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO FRICTION","HAALAND","CHEZY","STRICKLER","MANNING","NIKURADSE"], - defaut = "NIKURADSE", - fr = """Selectionne le type de formulation utilisee pour le calcul -du frottement sur le fond. -Les lois possibles sont les suivantes (cf. Note de principe) : -\begin{itemize} -\item 0 : pas de frottement sur le fond ; -\item 1 : formule de Haaland ; -\item 2 : formule de Chezy ; -\item 3 : formule de Strickler ; -\item 4 : formule de Manning ; -\item 5 : formule de Nikuradse. -\end{itemize} -Ancienne valeur par defaut = 2 (Chezy) jusqu a la version -V7P3 et 0 (pas de frottement) en V8P0.""", - ang = """Selects the type of formulation used for the bottom friction. -The possible laws are as follows (refer to the Principle note): -\begin{itemize} -\item 0: no friction against bottom, -\item 1: Haaland''s formula, -\item 2: Chezy''s formula, -\item 3: Strickler''s formula, -\item 4: Manning''s formula, -\item 5: Nikuradse''s formula. -\end{itemize} -Old default value = 2 (Chezy) until version V7P3 -and 0 (no friction) in V8P0.""", - ), -# ----------------------------------- - b_LAW_OF_BOTTOM_FRICTIONG = BLOC(condition="LAW_OF_BOTTOM_FRICTION != 'NO FRICTION'", -# ----------------------------------- -# ----------------------------------- - FRICTION_COEFFICIENT_FOR_THE_BOTTOM = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.01, - fr = """Fixe la valeur du coefficient de frottement au fond, -si constant. -Ancienne valeur par defaut = 60. jusqu a la version V8P0.""", - ang = """Friction coefficient on the bottom, if constant. -Old default value = 60. until version V8P0.""", - ), - ), -# ----------------------------------- - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO FRICTION","COEFFICIENT TAKEN IN BOUNDARY CONDITIONS FILE","IDEM","IDEM","IDEM","NIKURADSE"], - defaut = "NO FRICTION", - fr = """Selectionne le type de formulation utilisee pour le calcul -du frottement sur les parois laterales. -Les lois possibles sont les suivantes (cf. Note de principe) : -\begin{itemize} -\item 0 : pas de frottement, ou \telfile{AUBOR} donne par le -\telkey{FICHIER DES CONDITIONS AUX LIMITES} ; -\item 5 : formule de Nikuradse. -\end{itemize}""", - ang = """Selects the type of formulation used for the friction on -lateral boundaries. The possible laws are as follows (refer to the -Principle note): -\begin{itemize} -\item 0: no friction, or \telfile{AUBOR} given by the -\telkey{BOUNDARY CONDITION FILE}, -\item 5: Nikuradse''s formula. -\end{itemize}""", - ), -# ----------------------------------- - b_LAW_OF_FRICTION_ON_LATERAL_BOUNDARIESG = BLOC(condition="LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES != 'NO FRICTION'", -# ----------------------------------- -# ----------------------------------- - FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.01, - fr = """Fixe la valeur du coefficient de frottement sur les parois, -si constant. -Ancienne valeur par defaut = 60. jusqu a la version V8P0.""", - ang = """Friction coefficient on the lateral boundaries, if constant. -Old default value = 60. until version V8P0.""", - ), - ), - ), -# ----------------------------------- - CORIOLIS_EFFECT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CORIOLIS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte ou non de la force de Coriolis.""", - ang = """The Coriolis force is taken into account or ignored.""", - ), -# ----------------------------------- - b_CORIOLISG = BLOC(condition="CORIOLIS == True", -# ----------------------------------- -# ----------------------------------- - CORIOLIS_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la valeur du coefficient de la force de Coriolis. -Celui-ci doit etre calcule en fonction de la latitude $l$ -par la formule -$FCOR = 2 \omega sin(l)$ , -$\omega$ etant la vitesse de rotation de la terre. -$\omega$ = 7.29 10-5 rad/s.\\ -Les composantes de la force de Coriolis sont alors :\\ -$FU = FCOR \times V,$\\ -$FV = -FCOR \times U.$ -Lorsqu''on utilise les coordonnees spheriques, le coefficient de -Coriolis est calcule automatiquement.""", - ang = """Sets the value of the Coriolis force coefficient, -in cartesian coordinates. -This coefficient, denoted \telfile{FCOR} in the code, should be equal to -$2 \omega \sin(l)$ where $\omega$ denotes the earth angular speed of -rotation and $l$ the latitude. $\omega$ = 7.29 10-5 rad/s.\\ -The Coriolis force components are then:\\ -$FU = FCOR \times V,$\\ -$FV = -FCOR \times U.$\\ -When using the spherical coordinates, the Coriolis coefficient is -automatically computed.""", - ), - ), - ), -# ----------------------------------- - METEOROLOGY = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WIND = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Prise en compte ou non des effets du vent.""", - ang = """Determines whether the wind effects are to be taken into -account or not.""", - ), -# ----------------------------------- - b_WINDG = BLOC(condition="WIND == True", -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["constant in time and space","variable in time given by formatted file","variable in time and space given by formatted file"], - defaut = "constant in time and space", - fr = """Donne les options pour introduire le vent : -\begin{itemize} -\item 1 : constant en temps et en espace (donne par les mots cles -\telkey{VITESSE DU VENT SUIVANT X} et \telkey{VITESSE DU VENT SUIVANT Y} -) ; -\item 2 : variable en temps donne par fichier formate ; -\item 3 : variable en temps et en espace donne par fichier formate -ou un fichier binaire. -\end{itemize}""", - ang = """Gives the option for managing the wind: -\begin{itemize} -\item 1: constant in time and space, given by the keywords -\telkey{WIND VELOCITY ALONG X} and \telkey{WIND VELOCITY ALONG Y}, -\item 2: variable in time and constant in space, given by formatted -file, -\item 3: variable in time and space, given by formatted file or by -a binary file. -\end{itemize}""", - ), -# ----------------------------------- - b_OPTION_FOR_WINDG = BLOC(condition="OPTION_FOR_WIND == 'variable in time given by formatted file' or OPTION_FOR_WIND == 'variable in time and space given by formatted file'", -# ----------------------------------- -# ----------------------------------- - Consigne = SIMP(statut ="o", homo="information", typ="TXM", -# ----------------------------------- - defaut = "Give the ascii atmospheric data file"), - ), -# ----------------------------------- - WIND_VELOCITY_ALONG_X = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Composante de la vitesse du vent suivant -l''axe des $x$ (m/s), si constante.""", - ang = """Wind velocity, component along $x$ axis (m/s), if constant.""", - ), -# ----------------------------------- - WIND_VELOCITY_ALONG_Y = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Composante de la vitesse du vent suivant -l''axe des $y$ (m/s), si constante.""", - ang = """Wind velocity, component along $y$ axis (m/s), if constant.""", - ), -# ----------------------------------- - COEFFICIENT_OF_WIND_INFLUENCE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.55E-6, - fr = """Fixe la valeur du coefficient d''entrainement du vent. -Voir le manuel utilisateur pour la valeur a donner.""", - ang = """Sets the value of the wind driving coefficient. -See the User Manual for the value to give.""", - ), -# ----------------------------------- - COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Si OUI, la valeur du coefficient d''entrainement du vent est -calculee en fonction de la vitesse du vent. -La valeur de \telkey{COEFFICIENT D''INFLUENCE DU VENT} est ecrasee. -Ancienne valeur par defaut = NON jusqu a la version V8P1.""", - ang = """If YES, the value of the wind driving coefficient is computed -with respect to the wind velocity. -The value of \telkey{COEFFICIENT OF WIND INFLUENCE} is overwritten. -Old default value = NO until V8P1.""", - ), -# ----------------------------------- - THRESHOLD_DEPTH_FOR_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Retire la force due au vent dans les petites profondeurs -plus petites que cette valeur.""", - ang = """Wind is not taken into account for depths smaller -than this value.""", - ), - ), -# ----------------------------------- - AIR_PRESSURE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de decider si l''on prend ou non en compte l''influence -d''un champ de pression.""", - ang = """Sets whether the influence of an atmosphere -pressure field is taken into account or not.""", - ), -# ----------------------------------- - b_AIR_PRESSUREG = BLOC(condition="AIR_PRESSURE == True", -# ----------------------------------- -# ----------------------------------- - VALUE_OF_ATMOSPHERIC_PRESSURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 100000., - fr = """Donne la valeur de la pression atmospherique lorsqu''elle est -constante en temps et en espace. En Pa.""", - ang = """Gives the value of atmospheric pressure when it is constant -in time and space. In Pa.""", - ), - ), -# ----------------------------------- - RAIN_OR_EVAPORATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour ajouter un apport ou une perte d''eau en surface. -Voir le mot-cle \telkey{PLUIE OU EVAPORATION EN MM PAR JOUR}.""", - ang = """Enables to add or remove water at the free surface. -See the keyword \telkey{RAIN OR EVAPORATION IN MM PER DAY}.""", - ), -# ----------------------------------- - b_RAIN_OR_EVAPORATIONG = BLOC(condition="RAIN_OR_EVAPORATION == True", -# ----------------------------------- -# ----------------------------------- - RAIN_OR_EVAPORATION_IN_MM_PER_DAY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Pour ajouter un apport ou une perte d''eau en surface.""", - ang = """Specifies the amount of water to add or remove at the -free surface.""", - ), - ), -# ----------------------------------- - ASCII_ATMOSPHERIC_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees ASCII contenant les informations -atmospheriques variables en temps.""", - ang = """ASCII data file containing the atmospheric data varying in -time.""", - ), -# ----------------------------------- - BINARY_ATMOSPHERIC_DATA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire contenant les informations -atmospheriques variables en temps et en espace sur le maillage.""", - ang = """Binary-coded data file containing the atmospheric data varying -in time and space on the mesh.""", - ), -# ----------------------------------- - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{BINARY ATMOSPHERIC DATA FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), - ), -# ----------------------------------- - SOURCES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - SOURCES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier contenant les informations variables -en temps des sources.""", - ang = """Name of the file containing time-dependent -information on sources.""", - ), -# ----------------------------------- - GLOBAL_NUMBERS_OF_SOURCE_NODES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 2, max= 2, - fr = """Numeros globaux des noeuds du maillage 2D sur lequels sont affectes des -points source.""", - ang = """Global numbers of nodes in the 2D mesh that correspond to source point -locations.""", - ), -# ----------------------------------- - TYPE_OF_SOURCES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Normal","Dirac"], - defaut = "Normal", - fr = """Definit comment les sources sont calculees : -\begin{itemize} -\item 1 : Source portee par une base elements finis ; -\item 2 : Source portee par une fonction de Dirac -(recommande quand il y a beaucoup de sources). -\end{itemize}""", - ang = """Defines how the sources are computed: -\begin{itemize} -\item 1: Source term multiplied by a finite element basis, -\item 2: Source term multiplied by a Dirac function -(recommended with high numbers of sources). -\end{itemize}""", - ), -# ----------------------------------- - ABSCISSAE_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Nombres reels donnant les abscisses d eventuelles sources de -debit (en metres). La source sera placee au noeud du maillage le plus -proche.""", - ang = """Floats giving the abscissae of potential sources of flow rates -(in meters). The source will be located at the nearest node in the -mesh.""", - ), -# ----------------------------------- - ORDINATES_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Nombres reels donnant les ordonnees d''eventuelles sources de -debit (en metres). La source sera placee au noeud du maillage le plus -proche.""", - ang = """Floats giving the ordinates of potential sources of flow rates -(in meters). The source will be located at the nearest node in the -mesh.""", - ), -# ----------------------------------- - ELEVATIONS_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe la hauteur des sources. -Les sources sont automatiquement recalees sur le plan le plus proche. -L''utilisation d''un plan fixe est alors conseillee afin d''eviter que -le plan le plus proche ne change en cas de variation de la hauteur -d''eau locale.""", - ang = """Sets the height of the sources. -The source will be located at the nearest plane in the mesh. -The use of a fixed plane is then recommended to avoid the change -of the nearest plane in case of variation of local water height.""", - ), -# ----------------------------------- - WATER_DISCHARGE_OF_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Specifie le debit de chaque source. -Un debit positif signifie qu''il s''agit d''un apport de fluide.""", - ang = """Specifies the discharge for every source. -A positive discharge means that fluid is added.""", - ), -# ----------------------------------- - VELOCITIES_OF_THE_SOURCES_ALONG_X = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Permet de specifier la composante selon $x$ de la vitesse aux -sources. Si rien n''est specifie, les sources diffusent sans vitesse -dans toutes les directions (cf. cas de validation source).""", - ang = """Specifies the compoment along $x$ of the velocities of the -sources. If nothing is specified, the sources diffuse without any -velocity in every direction (cf. validation case source).""", - ), -# ----------------------------------- - VELOCITIES_OF_THE_SOURCES_ALONG_Y = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Permet de specifier la composante selon $y$ de la vitesse aux -sources. Si rien n''est specifie, les sources diffusent sans vitesse -dans toutes les directions (cf. cas de validation source).""", - ang = """Specifies the compoment along y of the velocities of the -sources. If nothing is specified, the sources diffuse without any -velocity in every direction (cf. validation case source).""", - ), -# ----------------------------------- - VELOCITIES_OF_THE_SOURCES_ALONG_Z = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Permet de specifier la composante selon $z$ de la vitesse aux -sources. Si rien n''est specifie, les sources diffusent sans vitesse -dans toutes les directions (cf. cas de validation source).""", - ang = """Specifies the compoment along $z$ of the velocities of the -sources. If nothing is specified, the sources diffuse without any -velocity in every direction (cf. validation case source).""", - ), - ), -# ----------------------------------- - WAVE = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - WAVE_DRIVEN_CURRENTS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active la prise en compte des courants de houle -(voir le sous-programme \telfile{TRISOU}).""", - ang = """Wave driven currents are taken into account, -see subroutine \telfile{TRISOU}.""", - ), -# ----------------------------------- - b_WAVE_DRIVEN_CURRENTSG = BLOC(condition="WAVE_DRIVEN_CURRENTS == True", -# ----------------------------------- -# ----------------------------------- - RECORD_NUMBER_IN_WAVE_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Numero d''enregistrement a lire par \telemac{3d} dans le -fichier des courants de houle.""", - ang = """Record number to be read by \telemac{3d} in the wave driven -currents file.""", - ), - ), - ), - ), -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PRESCRIBED_ELEVATIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des cotes imposees aux frontieres liquides.""", - ang = """Values of the elevations prescribed at open boundaries.""", - ), -# ----------------------------------- - PRESCRIBED_FLOWRATES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des debits imposes aux frontieres liquides.""", - ang = """Values of the flowrates prescribed at open boundaries.""", - ), -# ----------------------------------- - PRESCRIBED_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeurs des vitesses imposees aux frontieres liquides.""", - ang = """Values of the magnitudes of velocity prescribed at open boundaries.""", - ), -# ----------------------------------- - LIQUID_BOUNDARIES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de variations en temps des conditions aux limites.""", - ang = """File containing the variations in time of boundary conditions.""", - ), -# ----------------------------------- - VELOCITY_PROFILES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - into = ["constant normal profile","ubor and vbor given in the conlim file","normal velocity given in ubor in the conlim file","Velocity = square root elevation","like 4 with virtual depth, see help"], - fr = """Permet de specifier le type de profil horizontal de vitesse -(un entier par frontiere liquide). -Les choix possibles sont : -\begin{itemize} -\item 1 : profil normal constant ; -\item 2 : $u$ et $v$ donnes dans le -\telkey{FICHIER DES CONDITIONS AUX LIMITES} ; -\item 3 : vitesse normale donnee dans \telfile{UBOR} dans le -\telkey{FICHIER DES CONDITIONS AUX LIMITES} ; -\item 4 : vitesse normale en $\sqrt{h}$ ; -\item 5 : comme 4 mais hauteur virtuelle calculee avec -la surface libre la plus basse de la frontiere. -\end{itemize}""", - ang = """Specifies the type of horizontal profile of velocities -(one integer per open boundary). -Possible choices are: -\begin{itemize} -\item 1: constant normal profile, -\item 2: $u$ and $v$ given in the -\telkey{BOUNDARY CONDITION FILE}, -\item 3: normal velocity given in \telfile{UBOR} in the -\telkey{BOUNDARY CONDITION FILE}, -\item 4: normal velocity in $\sqrt{h}$, -\item 5: like 4 but virtual depth based on -the lowest elevation of the boundary. -\end{itemize}""", - ), -# ----------------------------------- - VELOCITY_VERTICAL_PROFILES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - into = ["User defined","Constant","Logarithmic"], - fr = """Permet de specifier le type de profil vertical de vitesse -(un entier par frontiere liquide). -Les choix possibles sont : -\begin{itemize} -\item 0 : programmation utilisateur ; -\item 1 : constant ; -\item 2 : logarithmique. -\end{itemize}""", - ang = """Specifies the type of vertical profile of velocity -(one integer per open boundary). -Possible choices are: -\begin{itemize} -\item 0: defined by user, -\item 1: constant, -\item 2: logarithmic. -\end{itemize}""", - ), -# ----------------------------------- - STAGE_DISCHARGE_CURVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min=10, max=10, - fr = """Indique si une courbe de tarage doit etre utilisee -pour une frontiere (une valeur par frontiere liquide) : -\begin{itemize} -\item 0 : non ; -\item 1 : Z(Q) ; -\item 2 : Q(Z). Pas encore programme. -\end{itemize}""", - ang = """Specifies if a discharge-elevation curve must be used -for a given boundary (one value per open boundary): -\begin{itemize} -\item 0: no, -\item 1: Z(Q), -\item 2: Q(Z). Not yet implemented. -\end{itemize}""", - ), -# ----------------------------------- - b_STAGE_DISCHARGE_CURVESG = BLOC(condition="STAGE_DISCHARGE_CURVES != 'no'", -# ----------------------------------- -# ----------------------------------- - STAGE_DISCHARGE_CURVES_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier contenant les courbes de tarage.""", - ang = """Name of the file containing stage-discharge curves.""", - ), - ), -# ----------------------------------- - OPTION_FOR_LIQUID_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - into = ["classical","Thompson method based on characteristics"], - fr = """On donne un entier par frontiere liquide. -Les choix possibles sont : -\begin{itemize} -\item 1 : conditions aux limites classiques ; -\item 2 : methode de Thompson avec calcul de caracteristiques. -\end{itemize}""", - ang = """One integer per liquid boundary is given. -Possible choices are: -\begin{itemize} -\item 1: classical boundary conditions, -\item 2: Thompson method based on characteristics. -\end{itemize}""", - ), -# ----------------------------------- - TURBULENCE_REGIME_FOR_THE_BOTTOM = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["smooth","rough","rough compatibility with old versions"], - defaut = "rough", - fr = """Permet de definir le regime de turbulence pour le fond dans le -cas du modele de longueur de melange ou du modele $k$-$\epsilon$ : -\begin{itemize} -\item 1 : lisse ; -\item 2 : rugueux ; -\item 3 : rugueux (compatibilite avec anciennes versions). -\end{itemize}""", - ang = """Defines the turbulence regime for the bottom in the case of a -$k$-$\epsilon$ or mixing-length model: -\begin{itemize} -\item 1: smooth, -\item 2: rough, -\item 3: rough also (for compatibility with old versions). -\end{itemize}""", - ), -# ----------------------------------- - TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["smooth","rough"], - defaut = "rough", - fr = """Definit le regime de turbulence pour les parois laterales : -\begin{itemize} -\item 1 : lisse ; -\item 2 : rugueux. -\end{itemize}""", - ang = """Defines the turbulence regime for the lateral boundaries: -\begin{itemize} -\item 1: smooth, -\item 2: rough. -\end{itemize}""", - ), -# ----------------------------------- - BOUNDARY_CONDITION_ON_THE_BOTTOM = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["LOG LAW FOR VELOCITIES ON BOTTOM","NO SLIP FOR VELOCITIES ON BOTTOM"], - defaut = "LOG LAW FOR VELOCITIES ON BOTTOM", - fr = """Specifie le type de conditions aux limites au fond. -Les choix possibles sont : -\begin{itemize} -\item 1 : conditions de Neumann pour les vitesses au fond ; -\item 2 : vitesses nulles au fond. Va de pair logiquement avec - un bon raffinement du maillage au fond. -\end{itemize}""", - ang = """Specifies the type of boundary conditions on the bottom -layer. Possible choices are: -\begin{itemize} -\item 1: Neumann conditions on velocity on bottom, -\item 2: velocities will be set to 0. Should be linked to -a refined mesh near the bottom. -\end{itemize}""", - ), -# ----------------------------------- - VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """$\vec{U}.\vec{n} = 0$ sur les parois laterales solides est force -en fin de boucle en temps.""", - ang = """Will ensure $\vec{U}.\vec{n} = 0$ on solid lateral boundaries -by a projection at the end of time loop.""", - ), -# ----------------------------------- - VELOCITY_PROJECTED_ON_BOTTOM = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """$\vec{U}.\vec{n} = 0$ sur le fond est force en fin de boucle -en temps.""", - ang = """Will ensure $\vec{U}.\vec{n} = 0$ on bottom by a projection -at the end of time loop.""", - ), -# ----------------------------------- - OPEN_BOUNDARY_CONDITIONS_ON_THE_BED = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine s''il y a des conditions ouvertes sur le fond.""", - ang = """Defines if there are open boundary conditions -on the bed.""", - ), -# ----------------------------------- - PRESCRIBED_FLOWRATES_ON_THE_BED = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - defaut = [0.,0.,0.,0.,0.,0.,0.,0.,0.,0.], - fr = """Fixe le debit sur les frontieres a debit impose du fond.""", - ang = """Sets the value for flow rate on flow -rate-imposed bed boundaries.""", - ), - ), -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INITIAL_CONDITIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['ZERO ELEVATION','CONSTANT ELEVATION','ZERO DEPTH','CONSTANT DEPTH','SPECIAL','PARTICULAR','TPXO SATELLITE ALTIMETRY'], - defaut = 'ZERO ELEVATION', - fr = """Permet de definir les conditions initiales sur -les hauteurs d''eau notamment. -Les valeurs possibles sont : -\begin{itemize} -\item COTE NULLE : Initialise la cote de surface libre a 0. - Les hauteurs d''eau initiales sont alors retrouvees en - faisant la difference entre les cotes de surface libre - et du fond ; -\item COTE CONSTANTE : Initialise la cote de surface libre a la -valeur donnee par le mot-cle \telkey{COTE INITIALE}. Les hauteurs -d''eau initiales sont calculees comme precedemment ; -\item HAUTEUR NULLE : Initialise les hauteurs d''eau a 0 ; -\item HAUTEUR CONSTANTE : Initialise les hauteurs d''eau a la valeur -donnee par le mot-cle \telkey{HAUTEUR INITIALE} ; -\item ALTIMETRIE SATELLITE TPXO : Les conditions initiales sur la -hauteur d''eau et les vitesses sont etablies sur la base des donnees -satellite TPXO dont les 8 premieres composantes ont ete extraites et -sauvees dans les fichiers -\telkey{BASE BINAIRE 1/2 DE DONNEES DE MAREE} ; -\item PARTICULIERES : Les conditions initiales sur la hauteur d''eau -doivent etre precisees dans le sous-programme \telkey{USER\_CONDI3D\_H}. -\end{itemize}""", - ang = """Makes it possible to define the initial conditions of -the water depth. -The possible values are as follows: -\begin{itemize} -\item ZERO ELEVATION: Initializes the free surface elevation to 0. -The initial water depths are then found by computing the difference -between the free surface and the bottom, -\item CONSTANT ELEVATION: Initializes the water elevation to the value -given by the keyword \telkey{INITIAL ELEVATION}. -The initial water depths are computed as in the previous case, -\item ZERO DEPTH: Initializes the water depths to 0. -\item CONSTANT DEPTH: Initializes the water depths to the value given -by the keyword \telkey{INITIAL DEPTH}, -\item TPXO SATELITE ALTIMETRY: The initial conditions on the free -surface and velocities are established from the satellite program -data given by the harmonic constants database coming from OSU -(e.g. TPXO) and stored in the \telkey{BINARY DATABASE 1/2 FOR TIDE}, -\item SPECIAL or PARTICULAR: The initial conditions with the water depth -should be stated in the \telfile{USER\_CONDI3D\_H} subroutine. -\end{itemize}""", - ), -# ----------------------------------- - b_INITIAL_CONDITIONSG = BLOC(condition="INITIAL_CONDITIONS == 'CONSTANT ELEVATION'", -# ----------------------------------- -# ----------------------------------- - INITIAL_ELEVATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Valeur utilisee avec l''option : -\telkey{CONDITIONS INITIALES} : ''COTE CONSTANTE''.""", - ang = """Value to be used with the option: -\telkey{INITIAL CONDITIONS} : ''CONSTANT ELEVATION''.""", - ), - ), -# ----------------------------------- - b_INITIAL_CONDITIONSH = BLOC(condition="INITIAL_CONDITIONS == 'CONSTANT DEPTH'", -# ----------------------------------- -# ----------------------------------- - INITIAL_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Valeur utilisee avec l''option : -\telkey{CONDITIONS INITIALES} : ''HAUTEUR CONSTANTE''.""", - ang = """Value to be used along with the option: -\telkey{INITIAL CONDITIONS} : ''CONSTANT DEPTH''.""", - ), - ), - ), -# ----------------------------------- - NUMERICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MATRIX_STORAGE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["classical EBE","Edge-based storage"], - defaut = "Edge-based storage", - fr = """Permet de definir la methode de stockage des matrices. -Les choix possibles sont : -\begin{itemize} -\item 1 : EBE classique ; -\item 3 : stockage par segments. -\end{itemize}""", - ang = """Defines the method to store matrices. The possible choices are: -\begin{itemize} -\item 1: classical EBE, -\item 3: edge-based storage. -\end{itemize}""", - ), -# ----------------------------------- - MASS_LUMPING_FOR_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """\telemac{3d} offre la possibilite d''effectuer du -mass-lumping sur $H$. -Ceci revient a ramener tout ou partie (suivant la valeur de ce -coefficient) de la matrice \telfile{AM1 (H)} sur sa diagonale. -Cette technique permet d''accelerer le code dans des proportions tres -importantes et de le rendre egalement beaucoup plus stable. Cependant -les solutions obtenues se trouvent lissees. -Ce parametre fixe le taux de mass-lumping effectue sur $H$.""", - ang = """\telemac{3d} offers the possibility to perform mass-lumping -on $H$. -This gathers all or part (given the value of the coefficient) -of the \telfile{AM1(H)} matrices on their diagonal. -This technique can speed-up the code a lot and also render it -more stable. -Yet, the solutions are smoothened. -This parameter sets the mass-lumping amount done for $H$.""", - ), -# ----------------------------------- - HYDROSTATIC_INCONSISTENCY_FILTER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de filtrer les inconsistances hydrostatiques.""", - ang = """Allows to filter hydrostatic inconsistencies.""", - ), -# ----------------------------------- - DISCRETISATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ELEMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = 'PRISM', - fr = """Permet de specifier le type d''element utilise pour le calcul. -Les choix possibles sont : -\begin{itemize} -\item PRISME : maillages de triangles empiles ; -\item TETRAEDRE : decoupage en tetraedres des prismes. -\end{itemize}""", - ang = """Specifies the type of elements used in the computation. -The possible choices are: -\begin{itemize} -\item PRISM: superimposed meshes of triangles, -\item TETRAHEDRON: the same but prisms are split into tetrahedrons. -\end{itemize}""", - ), - ), -# ----------------------------------- - PROPAGATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - defaut = "gmres", - fr = """Permet de choisir le solveur utilise pour la resolution de -l''etape de propagation. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize} -Ancienne valeur par defaut = 1 (gradient conjugue) jusqu a la version -V8P0.""", - ang = """Choice of the solver for the propagation equation. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize} -Old default value = 1 (conjugate gradient) until version V8P0.""", - ), -# ----------------------------------- - b_SOLVER_FOR_PROPAGATIONG = BLOC(condition="SOLVER_FOR_PROPAGATION == 'gmres'", -# ----------------------------------- -# ----------------------------------- - OPTION_OF_SOLVER_FOR_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7). -Ancienne valeur par defaut = 3 jusqu a la version V8P0.""", - ang = """Dimension of Krylov space for the GMRES method (7). -Old default value = 3 until version V8P0.""", - ), - ), -# ----------------------------------- - ACCURACY_FOR_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-8, - fr = """Fixe la precision demandee pour l''etape de propagation. -Ancienne valeur par defaut = 1.E-6 jusqu a la version V8P0.""", - ang = """Sets the accuracy needed for the computation -of the propagation step. -Old default value = 1.E-6 until version V8P0.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 200, - fr = """Les algorithmes utilises pour la resolution de l''etape de -propagation etant iteratifs; il est necessaire de limiter le nombre -d''iterations autorisees. -Remarque : un maximum de 40 iterations par pas de temps semble -raisonnable.""", - ang = """Since the algorithms used for solving the propagation step are -iterative, the allowed number of iterations should be limited. -NOTE: a maximum number of 40 iterations per time step seems to be -reasonable.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme de l''etape de propagation -afin d''accelerer la convergence lors de sa resolution. Les choix -possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee ; -\item 5 : diagonal avec valeurs absolues ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE ; -\item 13 : matrice fournie par l''utilisateur ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale ; -\item 21 : diagonal condensee et Crout ; -\item 34 : diagonal et solveur direct sur la verticale. -\end{itemize} -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres). -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Choice of the preconditioning in the propagation step linear -system that the convergence is speeded up when it is being solved. -Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix, -\item 5: diagonal with absolute values, -\item 7: Crout, -\item 11: Gauss-Seidel EBE, -\item 13: matrix defined by the user, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical, -\item 21: diagonal condensed and Crout, -\item 34: diagonal and direct solver on the vertical. -\end{itemize} -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be done.""", - ), -# ----------------------------------- - INITIAL_GUESS_FOR_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["zero","previous","extrapolation"], - defaut = "previous", - fr = """Tir initial du solveur de l''etape de propagation. -Offre la possibilite de modifier la valeur initiale de $\delta h$, -accroissement de $h$, a chaque iteration, -dans l''etape de propagation en utilisant les valeurs -finales de cette variable aux pas de temps precedents. Ceci peut -permettre d''accelerer la vitesse de convergence lors de la resolution -du systeme. Trois possibilites sont offertes : -\begin{itemize} -\item 0 : $\delta h$ = 0, -\item 1 : $\delta h$ = $\delta h_n$ (valeur finale de $\delta h$ - au pas de temps precedent), -\item 2 : $\delta h$ = 2 $\delta h_n$ - $\delta h_{n-1}$ -(extrapolation). -\end{itemize} -Si l option 2 est utilisee avec la version non-hydrostatique, -\telkey{ORDRE DU TIR INITIAL POUR LA HAUTEUR} est automatiquement -mis a 1.""", - ang = """Initial guess for the solver in the propagation step. -Makes it possible to modify the initial value of $\delta h$, upon each -iteration in the propagation step, by using the ultimate values this -variable had in the earlier time steps. Thus, the convergence can be -speeded up when the system is being solved. 3 options are available: -\begin{itemize} -\item 0: $\delta h$ = 0, -\item 1: $\delta h$ = $\delta h_n$ (ultimate $\delta h$ value -in the next previous time step), -\item 2: $\delta h$ = 2 $\delta h_n$ - $\delta h_{n-1}$ (extrapolation). -\end{itemize} -If option 2 with the non-hydrostatic version, -\telkey{INITIAL GUESS FOR DEPTH} is automatically set to 1.""", - ), -# ----------------------------------- - LINEARIZED_PROPAGATION = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de lineariser l''etape de propagation, -par exemple lors de la realisation de cas tests pour lesquels on dispose -d''une solution analytique dans le cas linearise. -Il faut alors preciser la valeur de -\telkey{PROFONDEUR MOYENNE POUR LA LINEARISATION}.""", - ang = """Provided for linearizing the propagation step, e.g. when -performing test-cases for which an analytical solution in the linearized -case is available. -Thus, the value of \telkey{MEAN DEPTH FOR LINEARIZATION} has -to be given.""", - ), -# ----------------------------------- - MEAN_DEPTH_FOR_LINEARIZATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe la hauteur d''eau autour de laquelle s''effectue la linearisation -lorsque l''option \telkey{PROPAGATION LINEARISEE} est choisie.""", - ang = """Sets the water depth about which the linearization is done -when the \telkey{LINEARIZED PROPAGATION} option is selected.""", - ), - ), -# ----------------------------------- - ADVECTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_DEPTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Le schema conservatif (5) est desormais impose.""", - ang = """The conservative scheme (5) is now mandatory.""", - ), -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO ADVECTION","CHARACTERISTICS","EXPLICIT + SUPG","EXPLICIT LEO POSTMA","EXPLICIT + MURD SCHEME N","EXPLICIT + MURD SCHEME PSI","LEO POSTMA FOR TIDAL FLATS","N-SCHEME FOR TIDAL FLATS"], - defaut = "EXPLICIT + MURD SCHEME PSI", - fr = """Fixe le schema utilise pour la convection des vitesses. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de convection ; -\item 1 : caracteristiques ; -\item 2 : explicite + SUPG ; -\item 3 : explicite Leo Postma ; -\item 4 : explicite + MURD schema N ; -\item 5 : explicite + MURD schema PSI ; -\item 13 : Leo Postma pour bancs decouvrants ; -\item 14 : schema N pour bancs decouvrants. -\end{itemize} -Valeurs par defaut de -\telkey{SCHEMA POUR LA CONVECTION DES VITESSES} = 5 -+ \telkey{OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES} = 4 donnent -le schema LIPS. -Ancienne valeur par defaut = 1 (caracteristiques) jusqu a la version -V8P0.""", - ang = """Sets the advection scheme for the velocities. -Possible choices are: -\begin{itemize} -\item 0: no convection, -\item 1: characteristics, -\item 2: explicit + SUPG, -\item 3: explicit Leo Postma, -\item 4: explicit + MURD scheme N, -\item 5: explicit + MURD scheme PSI, -\item 13: Leo Postma for tidal flats, -\item 14: N-scheme for tidal flats. -\end{itemize} -Default values for \telkey{SCHEME FOR ADVECTION OF VELOCITIES} = 5 -+ \telkey{SCHEME OPTION FOR ADVECTION OF VELOCITIES} = 4 -give LIPS scheme. -Old default value = 1 (characteristics) until version V8P0.""", - ), -# ----------------------------------- - FREE_SURFACE_GRADIENT_COMPATIBILITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Des valeurs comprises entre 0 et 1 peuvent supprimer les -oscillations parasites.""", - ang = """Values between 0 and 1 may suppress spurious oscillations.""", - ), -# ----------------------------------- - BYPASS_VOID_VOLUMES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Accelere les schemas de convection distributifs et volumes finis -en cas de bancs decouvrants ou de transformation sigma generalisee.""", - ang = """Will speed-up distributive and finite volumes advection -schemes in case of tidal flats or generalised sigma transformation.""", - ), -# ----------------------------------- - MASS_LUMPING_FOR_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe le taux de mass-lumping effectue sur la vitesse. -Lu mais non utilise.""", - ang = """Sets the amount of mass-lumping that is performed on -the velocity. Read but not used.""", - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 4, - fr = """Si present remplace et a priorite sur : -\telkey{OPTION POUR LES CARACTERISTIQUES} et -\telkey{OPTION DE SUPG}. -Si schema PSI ou N : -\begin{itemize} -\item 1 : explicite ; -\item 2 : predicteur-correcteur ; -\item 3 : predicteur-correcteur deuxieme ordre en temps ; -\item 4 : implicite (compatible avec bancs decouvrants). -\end{itemize} -Si pas de bancs decouvrants, l option 2 est plus rapide. -Ancienne valeur par defaut = 1 (explicite) jusqu a la version V8P0.""", - ang = """If present replaces and has priority over: -\telkey{OPTION FOR CHARACTERISTICS} and -\telkey{SUPG OPTION}. -If N or PSI scheme: -\begin{itemize} -\item 1: explicit, -\item 2: predictor-corrector, -\item 3: predictor-corrector second-order in time, -\item 4: implicit (compatible with tidal flats). -\end{itemize} -If no tidal flats, option 2 is faster. -Old default value = 1 (explicit) until version V8P0.""", - ), -# ----------------------------------- - OPTION_FOR_CHARACTERISTICS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["strong","weak"], - defaut = "strong", - fr = """Les choix possibles sont : -\begin{itemize} -\item 1: forme forte ; -\item 2: forme faible. -\end{itemize} -Si \telkey{SCHEMA POUR LA CONVECTION...} = 1 -et le mot-cle correspondant -\telkey{OPTION DU SCHEMA POUR LA CONVECTION...} = 2, -\telkey{OPTION POUR LES CARACTERISTIQUES} est automatiquement mis a 2.""", - ang = """Possible choices are: -\begin{itemize} -\item 1: strong form, -\item 2: weak form. -\end{itemize} -If \telkey{SCHEME FOR ADVECTION OF...} = 1 -and also the corresponding keyword -\telkey{SCHEME OPTION FOR ADVECTION OF...} = 2, -\telkey{OPTION FOR CHARACTERISTICS} is automatically set to 2.""", - ), -# ----------------------------------- - b_OPTION_FOR_CHARACTERISTICSG = BLOC(condition="OPTION_FOR_CHARACTERISTICS == 2", -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 6, - fr = """Voir les release notes v6.3. -Nombre de points de Gauss utilises pour le calcul des caracteristiques -faibles. -6 (points) est le seul choix pour \telemac{3d}.""", - ang = """See release notes v6.3. -Number of Gauss points used to compute the weak characteristics. -6 (points) is the only choice for \telemac{3d}.""", - ), -# ----------------------------------- - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fixe le taux de mass-lumping qui est applique a la matrice de -masse lors de l''utilisation des caracteristiques faibles.""", - ang = """Sets the amount of mass-lumping that is applied to the mass -matrix when using weak characteristics.""", - ), - ), - ), -# ----------------------------------- - DIFFUSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO DIFFUSION","IMPLICIT"], - defaut = "IMPLICIT", - fr = """Permet de specifier si l''on utilise ou non la diffusion -des vitesses horizontales $U$ et $V$. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de diffusion, -\item 1 : implicite. -\end{itemize}""", - ang = """Monitors the choice of the diffusion scheme -for velocities. -Possible choices are: -\begin{itemize} -\item 0: no diffusion, -\item 1: implicit. -\end{itemize}""", - ), -# ----------------------------------- - b_SCHEME_FOR_DIFFUSION_OF_VELOCITIESG = BLOC(condition="SCHEME_FOR_DIFFUSION_OF_VELOCITIES == 'IMPLICIT'", -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - defaut = "conjugate gradient", - fr = """Permet de choisir le solveur utilise pour la resolution -de la diffusion des vitesses $U$ et $V$. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize}""", - ang = """Choice of the solver for the diffusion of velocities -$U$ and $V$. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize}""", - ), -# ----------------------------------- - b_SOLVER_FOR_DIFFUSION_OF_VELOCITIESG = BLOC(condition="SOLVER_FOR_DIFFUSION_OF_VELOCITIES == 'gmres'", -# ----------------------------------- -# ----------------------------------- - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7). -Ancienne valeur par defaut = 3 jusqu a la version V8P0.""", - ang = """Dimension of Krylov space for the GMRES method (7). -Old default value = 3 until version V8P0.""", - ), - ), -# ----------------------------------- - ACCURACY_FOR_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-8, - fr = """Fixe la precision demandee pour le calcul de la diffusion -de la vitesse. -Ancienne valeur par defaut = 1.E-5 jusqu a la version V8P0.""", - ang = """Sets the accuracy needed for the computation of the -diffusion of the velocities. -Old default value = 1.E-5 until version V8P0.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 60, - fr = """Limite le nombre d''iterations du solveur a chaque pas -de temps pour le calcul de la diffusion de la vitesse.""", - ang = """Limits the number of solver iterations for the diffusion of -velocities.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme relatif -a la diffusion des vitesses. Les choix possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee ; -\item 5 : diagonal avec valeurs absolues ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE ; -\item 13 : matrice fournie par l''utilisateur ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale ; -\item 21 : diagonal condensee et Crout ; -\item 34 : diagonal et solveur direct sur la verticale. -\end{itemize}""", - ang = """Choice of preconditioning for the diffusion of -velocities. Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix, -\item 5: diagonal with absolute values, -\item 7: Crout, -\item 11: Gauss-Seidel EBE, -\item 13: matrix defined by the user, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical, -\item 21: diagonal condensed and Crout, -\item 34: diagonal and direct solver on the vertical. -\end{itemize}""", - ), -# ----------------------------------- - IMPLICITATION_FOR_DIFFUSION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fixe la valeur du coefficient d''implication pour l''etape de -diffusion. -Dans le cas de \telkey{OPTION POUR LA DIFFUSION} = 2, cette valeur est -ecrasee a 0 et un traitement particulier est fait pour la diffusion.""", - ang = """Sets the value of the implicitation coefficient for the -diffusion step. -When \telkey{OPTION FOR THE DIFFUSION} = 2, this value is changed at 0 -and a specific treatment is done for the diffusion.""", - ), - ), - ), -# ----------------------------------- - NON_HYDROSTATIC = FACT(statut='o', -# ----------------------------------- - ), -# ----------------------------------- - IMPLICITATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - IMPLICITATION_FOR_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.55, - fr = """Fixe la valeur du coefficient d''implicitation sur la hauteur -d''eau dans l''etape de propagation (cf. Note de principe). -Les valeurs inferieures a 0.5 donnent un schema instable.""", - ang = """Sets the value of the implicitation coefficient for water -depth in the propagation step (cf. Principe note). -The values lower than 0.5 give an instable scheme.""", - ), -# ----------------------------------- - IMPLICITATION_FOR_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.55, - fr = """Fixe la valeur du coefficient d''implicitation sur la vitesse -dans l''etape de propagation (cf. Note de principe). -Les valeurs inferieures a 0.5 donnent un schema instable. -Ancienne valeur par defaut = 1. jusqu a la version V8P0.""", - ang = """Sets the value of the implicitation coefficient -for the velocity -in the propagation step (cf. Principe note). -The values lower than 0.5 give an instable scheme. -Old default value = 1. until V8P0.""", - ), - ), - ), -# ----------------------------------- - TIDAL_FLATS_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Permet de supprimer les tests sur les bancs decouvrants, dans -les cas ou l''on est certain qu''il n''y en aura pas. -En cas de doute, utiliser OUI.""", - ang = """When NO, the specific treatments for tidal flats are by-passed. -This spares time, but of course you must be sure that you have no -tidal flats.""", - ), -# ----------------------------------- - b_TIDAL_FLATSG = BLOC(condition="TIDAL_FLATS == True", -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS","DRY ELEMENTS FROZEN","LIKE 1 BUT WITH POROSITY (DEFINA METHOD)"], - defaut = "EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS", - fr = """Utilise si \telkey{BANCS DECOUVRANTS} est OUI. -Les choix possibles sont : -\begin{itemize} -\item 1 : equations resolues partout avec correction -sur les bancs decouvrants (correction du gradient de surface libre) ; -\item 2 : gel des elements decouvrants (zones de bancs decouvrants -sont masquees). -Attention : la conservation de la masse peut etre alteree ; -\item 3 : comme 1 mais avec porosite (methode defina). -\end{itemize}""", - ang = """Used if \telkey{TIDAL FLATS} is YES. -Possible choices are: -\begin{itemize} -\item 1: equations solved everywhere with correction on tidal flats -(corrected free surface gradient), -\item 2: dry elements are frozen (tidal flats area are masked). -Warning: mass-conservation may be altered, -\item 3: like 1 but with porosity (defina method). -\end{itemize}""", - ), -# ----------------------------------- - b_OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATSG = BLOC(condition="OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS == 'EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS'", -# ----------------------------------- -# ----------------------------------- - TREATMENT_OF_NEGATIVE_DEPTHS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO TREATMENT","SMOOTHING","FLUX CONTROL"], - defaut = "SMOOTHING", - fr = """Seulement avec \telkey{OPTION DE TRAITEMENT DES BANCS DECOUVRANTS} -= 1. Les choix possibles sont : -\begin{itemize} -\item 0 : pas de traitement ; -\item 1 : lissage ; -\item 2 : limitation des flux. -\end{itemize} -Si l option 2 avec bancs decouvrants est utilisee, -il est obligatoire d avoir \telkey{MASS-LUMPING SUR H} = 1.""", - ang = """Only with \telkey{OPTION FOR THE TREATMENT OF TIDAL FLATS} -= 1. Possible choices are: -\begin{itemize} -\item 0: no treatment, -\item 1: smoothing, -\item 2: flux control. -\end{itemize} -If using option 2 with tidal flats, it is mandatory to set -\telkey{MASS-LUMPING ON H} = 1.""", - ), - ), -# ----------------------------------- - TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["FORCED TO ZERO","VALUE BEFORE MASKED"], - defaut = "FORCED TO ZERO", - fr = """Traitement sur les bancs decouvrants a l''etape de diffusion. -\begin{itemize} -\item 0 : forcage a zero ; -\item 1 : valeur avant masquage. -\end{itemize}""", - ang = """Treatment of tidal flats at the diffusion step for velocities. -\begin{itemize} -\item 0: forced to zero, -\item 1: value before masked. -\end{itemize}""", - ), -# ----------------------------------- - THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Pour les profondeurs inferieures, la viscosite sera -progressivement reduite. Voir le sous-programme -\telfile{CLIP}.""", - ang = """Below the threshold, viscosity will be progressively -cancelled. See \telfile{CLIP} subroutine.""", - ), - ), -# ----------------------------------- - MINIMAL_VALUE_FOR_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = -1000., - fr = """Fixe la valeur minimale de $H$.""", - ang = """Sets the minimum water depth value $H$.""", - ), - ), -# ----------------------------------- - TIDES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BINARY_DATABASE_1_FOR_TIDE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de la base de donnees binaire 1. Dans le cas des -donnees satellitaires de l''OSU (type TPXO), ce fichier correspond aux -donnees de niveau d''eau, par exemple h\_tpxo7.2.""", - ang = """File name for the binary database 1 of tidal harmonic -constants. In the case of the OSU satellite altimetry model (TPXO type), -this file should be for free surface level, for instance h\_tpxo7.2.""", - ), -# ----------------------------------- - BINARY_DATABASE_2_FOR_TIDE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de la base de donnees binaire 2. Dans le cas des -donnees satellitaires de l''OSU (type TPXO), ce fichier correspond aux -donnees de vitesse de marees, par exemple u\_tpxo7.2.""", - ang = """File name for the binary database 2 of tidal harmonic -constants. In the case of the OSU satellite altimetry model (TPXO type), -this file should be for tidal velocities, for instance u\_tpxo7.2.""", - ), -# ----------------------------------- - GEOGRAPHIC_SYSTEM = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["NO DEFAULT VALUE","DEFINED BY USER","WGS84 LONGITUDE/LATITUDE IN REAL DEGREES","WGS84 NORTHERN UTM","WGS84 SOUTHERN UTM","LAMBERT","MERCATOR PROJECTION"], - defaut = "NO DEFAULT VALUE", - fr = """Systeme de coordonnees geographiques dans lequel est construit -le modele numerique. -Indiquer la zone correspondante avec le mot-cle. -Indique le systeme de coordonnees geographiques dans lequel est -construit le modele numerique. Les choix possibles sont : -\begin{itemize} -\item 0 : defini par l''utilisateur ; -\item 1 : WGS84 longitude/latitude en degres reels ; -\item 2 : WGS84 nord UTM ; -\item 3 : WGS84 sud UTM ; -\item 4 : Lambert ; -\item 5 : projection Mercator. -\end{itemize}""", - ang = """Geographic coordinates system in which the numerical model is -built. Indicate the corresponding zone with the keyword. -The possible choices are: -\begin{itemize} -\item 0: defined by the user, -\item 1: WGS84 longitude/latitude in real degrees, -\item 2: WGS84 Northern UTM, -\item 3: WGS84 Southern UTM, -\item 4: Lambert, -\item 5: Mercator projection. -\end{itemize}""", - ), -# ----------------------------------- - b_GEOGRAPHIC_SYSTEMG = BLOC(condition="GEOGRAPHIC_SYSTEM in ['WGS84 NORTHERN UTM','WGS84 SOUTHERN UTM','LAMBERT']", -# ----------------------------------- -# ----------------------------------- - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = -1, - fr = """Numero de zone (fuseau ou type de projection) lors de -l''utilisation d''une projection plane. Indiquer le systeme -geographique dans lequel est construit le modele numerique avec le -mot-cle \telkey{SYSTEME GEOGRAPHIQUE}. -Les choix possibles sont : -\begin{itemize} -\item 1 : Lambert 1 nord ; -\item 2 : Lambert 2 centre ; -\item 3 : Lambert 3 sud ; -\item 4 : Lambert 4 Corse ; -\item 22 : Lambert 2 etendu ; -\item 93 : Lambert 93 ; -\item X : Valeur UTM de la zone WGS84 (X est le numero de la zone). -\end{itemize}""", - ang = """Number of zone when using a plane projection. -Indicate the geographic system in which the numerical model is built -with the keyword \telkey{GEOGRAPHIC SYSTEM}. -Possible choices are: -\begin{itemize} -\item 1: Lambert 1 north, -\item 2: Lambert 2 center, -\item 3: Lambert 3 south, -\item 4: Lambert 4 Corsica, -\item 22: Lambert 22 extended, -\item 93: Lambert 93, -\item X: UTM zone with WGS84 (X is the number of the zone). -\end{itemize}""", - ), - ), -# ----------------------------------- - LAMBERT_93_CONVERSION_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier gr3df97a.txt, grille de conversion pour Lambert 93.""", - ang = """Name of file gr3df97a.txt, conversion grid for Lambert 93.""", - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Coefficient pour ajuster le niveau de mer. -Ce coefficient correspond d''habitude au niveau moyen de la mer -ou une valeur proche.""", - ang = """Coefficient to calibrate the sea level. -This coefficient usually corresponds to the mean sea level -or a close value.""", - ), -# ----------------------------------- - b_GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATERF = BLOC(condition="(TIDAL_DATA_BASE == 'TPXO' and OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS >=2 and OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS <= 6)", -# ----------------------------------- - ), -# ----------------------------------- - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Numero global du point -(entre 1 et le nombre de points frontieres du maillage 2D) -par rapport auquel les ondes de maree sont dephasees -pour debuter le calcul par une pleine mer -(en marees schematiques seulement). -Ce point doit etre un point de frontiere maritime. -Ne concerne que les bases de constantes harmoniques de type TPXO.""", - ang = """Global number of the point -(between 1 and the number of boundary nodes in the 2D mesh) -with respect to which the tidal constituents have their phase shifted -to start the calculation with a high water -(for schematic tides only). -This point has to be a maritime boundary node. -Only harmonic constants databases like TPXO are concerned.""", - ), -# ----------------------------------- - MINOR_CONSTITUENTS_INFERENCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour les solutions developpees par OSU (ex. TPXO) uniquement. -Interpolation de composantes harmoniques mineures -a partir de celles lues dans les fichiers d''entree -lies aux mots-cles \telkey{BASE BINAIRE 1 DE DONNEES DE MAREE} -et \telkey{BASE BINAIRE 2 DE DONNEES DE MAREE}.""", - ang = """For tidal solutions developed by OSU (e.g. TPXO) only. -Inference of minor constituents from the ones read in input files -linked to keywords \telkey{BINARY DATABASE 1 FOR TIDE} -and \telkey{BINARY DATABASE 2 FOR TIDE}.""", - ), -# ----------------------------------- - INITIAL_VELOCITIES_COMPUTED_BY_TPXO = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Composantes de vitesses initiales calculees a partir des -solutions de maree de l OSU (ex TPXO). -Prendre NON pour eviter une initialisation avec des vitesses de maree -trop grandes. -Pour les solutions de marees provenant de l OSU uniquement (ex TPXO).""", - ang = """Initial velocity components computed from a tidal solution from -OSU (e.g. TPXO). -NO to prevent from an initialisation with too big tidal velocities. -For tidal solutions coming from OSU only (e.g. TPXO).""", - ), -# ----------------------------------- - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Valeur minimale de hauteur d eau au dessus de laquelle les conditions -initiales de courants de maree sont calculees. -Autrement, les vitesses sont annulees. -Pour les solutions de maree provenant de l OSU uniquement (ex TPXO).""", - ang = """Minimum value of water depth above which initial conditions for tidal -velocities are computed. -Otherwise, the velocity components are equal to 0. -For tidal solutions coming from OSU only (e.g. TPXO).""", - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIDE_GENERATING_FORCE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Active la prise en compte de la force generatrice de la maree""", - ang = """The tide generating force is taken into account.""", - ), - ), -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["No tide","Real tide (recommended methodology)","Astronomical tide","Mean spring tide","Mean tide","Mean neap tide","Astronomical neap tide","Real tide (methodology before 2010)"], - fr = """Option pour les conditions aux limites de maree. -Pour des marees reelles, l''option 1 est recommandee. -Depuis la version 7.1, ce mot-cle est un tableau avec une valeur -donnee par frontiere liquide, separee par point-virgules. -Ceci permet d''avoir des conditions de maree (ou pas) calculees -sur des frontieres liquides avec vitesses ou hauteur d''eau imposees. -Ca evite un conflit lors de l''utilisation de seuils dans le domaine. -0 est le code pour des conditions autres que des conditions de maree. -ATTENTION depuis la version 7.1 ! -Les anciens modeles doivent etre changes si la frontiere de maree -n''a pas le numero 1. Dans ce cas, le mot-cle doit etre change et -plus de valeurs doivent etre donnees. -Calage possible par les mots-cles -\telkey{COEFFICIENT POUR CALAGE EN MARNAGE}, -\telkey{COEFFICIENT DE CALAGE DES VITESSES DE COURANT}, -et \telkey{COEFFICIENT POUR CALAGE EN NIVEAU}. -Les choix possibles sont : -\begin{itemize} -\item 0 : Pas de maree ; -\item 1 : Maree reelle (methodologie recommandee) ; -\item 2 : Maree de vive-eau exceptionnelle (coef. presque 120) ; -\item 3 : Maree de vive-eau moyenne (coef. presque 95) ; -\item 4 : Maree moyenne (coef. presque 70) ; -\item 5 : Maree de morte-eau moyenne (coef. presque 45) ; -\item 6 : Maree de morte-eau exceptionnelle (coef. presque 20) ; -\item 7 : Maree reelle (methodologie d avant 2010). -\end{itemize}""", - ang = """Option for tidal boundary conditions. -For real tides, option 1 is recommended. -This keyword has been an array with a value given per liquid boundary, -separated by semicolons, since version 7.1. -This enables to have tidal conditions (or not) computed -on liquid boundaries with prescribed velocities or depths, -avoiding a clash when using weirs in the domain. -0 codes for conditions other than tidal. -BEWARE since version 7.1! -Old models must be changed if their tidal boundary is not number 1. -In that case this keyword must be changed and more values given. -Possible calibration with the keywords -\telkey{COEFFICIENT TO CALIBRATE TIDAL RANGE}, -\telkey{COEFFICIENT TO CALIBRATE TIDAL VELOCITIES}, -and \telkey{COEFFICIENT TO CALIBRATE SEA LEVEL}. -Possible choices are: -\begin{itemize} -\item 0: No tide, -\item 1: Real tide (recommended methodology), -\item 2: Astronomical tide, -\item 3: Mean spring tide, -\item 4: Mean tide, -\item 5: Mean neap tide, -\item 6: Astronomical neap tide, -\item 7: Real tide (methodology before 2010). -\end{itemize}""", - ), -# ----------------------------------- - b_OPTION_FOR_TIDAL_BOUNDARY_CONDITIONSG = BLOC(condition="OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS != 0", -# ----------------------------------- -# ----------------------------------- - TIDAL_DATA_BASE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO DEFAULT VALUE","JMJ","TPXO","MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...)"], - defaut = "NO DEFAULT VALUE", - fr = """Fournit le nom de la base de donnees utilisee pour la generation -automatique des conditions aux limites. Les choix possibles sont : -\begin{itemize} -\item 1 : JMJ ; -\item 2 : TPXO ; -\item 3 : divers (LEGOS-NEA, FES20XX, PREVIMER). -\end{itemize} -Pour JMJ, renseigner la localisation du fichier bdd\_jmj et -geofin dans les mots-cles \telkey{BASE ASCII DE DONNEES DE MAREE} et -\telkey{FICHIER DU MODELE DE MAREE}. -Pour TPXO, LEGOS-NEA, FES20XX et PREVIMER, l''utilisateur -doit telecharger les fichiers de constantes harmoniques sur internet.""", - ang = """Gives the name of the data base used to automatically generate -the boundary conditions. Possible choices are: -\begin{itemize} -\item 1: JMJ, -\item 2: TPXO, -\item 3: MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...). -\end{itemize} -For JMJ, indicate the location of the files bdd\_jmj and geofin -with keywords \telkey{ASCII DATABASE FOR TIDE} and -\telkey{TIDAL MODEL FILE}. For TPXO, LEGOS-NEA, -FES20XX and PREVIMER, the user has to download files of harmonic -constituents on the internet.""", - ), -# ----------------------------------- - b_TIDAL_DATA_BASEG = BLOC(condition="TIDAL_DATA_BASE == 'TPXO'", -# ----------------------------------- - ), -# ----------------------------------- - b_TIDAL_DATA_BASEH = BLOC(condition="(TIDAL_DATA_BASE == 'JMJ') or (TIDAL_DATA_BASE == 'MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...)')", -# ----------------------------------- -# ----------------------------------- - HARMONIC_CONSTANTS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les constantes harmoniques extraites -du fichier du modele de maree (JMJ) -ou autres atlas (FES, NEA, PREVIMER).""", - ang = """Name of the file containing the harmonic constants extracted -from the tidal model file (JMJ) or other atlases (FES, NEA, PREVIMER).""", - ), - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Coefficient pour ajuster le marnage de l''onde de maree -aux frontieres maritimes.""", - ang = """Coefficient to calibrate the tidal range of tidal wave -at tidal open boundary conditions.""", - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 999999., - fr = """Coefficient pour ajuster les composantes de vitesse -de l''onde de maree aux frontieres maritimes. -La valeur par defaut 999999. signifie que c''est la racine carree -du \telkey{COEFFICIENT DE CALAGE DU MARNAGE} qui est prise.""", - ang = """Coefficient to calibrate the tidal velocities of tidal wave -at tidal open boundary conditions. -Default value 999999. means that the square root of -\telkey{COEFFICIENT TO CALIBRATE TIDAL RANGE} is taken.""", - ), - ), -# ----------------------------------- - TIDAL_MODEL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de geometrie du modele dont sont extraites -les constantes harmoniques (JMJ seulement).""", - ang = """Geometry file of the model from which harmonic constituents -are extracted (JMJ only).""", - ), -# ----------------------------------- - TIDAL_MODEL_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du \telkey{FICHIER DU MODELE DE MAREE}. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Format of the \telkey{TIDAL MODEL FILE}. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - ASCII_DATABASE_FOR_TIDE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom de la base de donnees de constantes harmoniques -tirees du \telkey{FICHIER DU MODELE DE MAREE}.""", - ang = """File name for the tide data base of harmonic constituents -extracted from the \telkey{TIDAL MODEL FILE}.""", - ), -# ----------------------------------- - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Numero local du point entre 1 et le nombre de points -de frontiere maritime (du FICHIER DES CONSTANTES HARMONIQUES) -ou les conditions aux limites de maree sont calculees -avec les bases de donnees JMJ, NEA, FES, PREVIMER -(sauf les bases de type TPXO). -Les ondes de maree sont dephasees par rapport a ce point -pour debuter le calcul par une pleine mer -(en marees schematiques seulement).""", - ang = """Local number between 1 and the number of tidal boundary points -(of the \telkey{HARMONIC CONSTANTS FILE}) where the tidal boundary -conditions are computed with JMJ, NEA, FES, PREVIMER databases -(except TPXO-type databases). -The tidal constituents have their phase shifted with respect to -this point to start the simulation with a high water -(for schematic tides only).""", - ), - ), - ), -# ----------------------------------- - PARTICLES_TRANSPORT = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - DROGUES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MAXIMUM_NUMBER_OF_DROGUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Permet d''effectuer un suivi de flotteurs. -Fixe le nombre maximum de flotteurs a traiter lors du calcul. -Il est alors necessaire de mettre a jour le sous-programme -\telfile{USER\_FLOT3D} afin de fournir les informations sur les -positions de largage et les temps de suivi des flotteurs. -La trajectoire des flotteurs est enregistree dans le -\telkey{FICHIER ASCII DES FLOTTEURS} ou le -\telkey{FICHIER BINAIRE DES FLOTTEURS} -qui doivent etre donnes dans le fichier des parametres.""", - ang = """Maximum number of drogues in the computation. -The user must then fill the subroutine \telfile{USER\_FLOT3D} -specifying the coordinates of the starting points, -their departure and arrival times. -The trajectory of drogues is recorded in the -\telkey{ASCII DROGUES FILE} or the \telkey{BINARY DROGUES FILE} -that must be given in the steering file.""", - ), -# ----------------------------------- - b_MAXIMUM_NUMBER_OF_DROGUESG = BLOC(condition="MAXIMUM NUMBER_OF_DROGUES != 0", -# ----------------------------------- -# ----------------------------------- - ASCII_DROGUES_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultat ASCII avec les positions des flotteurs.""", - ang = """ASCII results file with positions of drogues.""", - ), -# ----------------------------------- - PRINTOUT_PERIOD_FOR_DROGUES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Nombre de pas de temps entre 2 sorties de positions de -flotteurs dans le fichier des resultats binaire supplementaire -N affecte pas la qualite du calcul de la trajectoire.""", - ang = """Number of time steps between 2 outputs of drogues -positions in the binary file. -It does not disturb the quality of the computation of the trajectory.""", - ), - ), -# ----------------------------------- - BINARY_DROGUES_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Fichier de resultat binaire avec les positions des flotteurs.""", - ang = """Binary results file with positions of drogues.""", - ), -# ----------------------------------- - DROGUES_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['BKBINPCL','TECPLOT'], - defaut = 'TECPLOT', - fr = """Format du \telkey{FICHIER BINAIRE DES FLOTTEURS}. -Les valeurs possibles sont : -\begin{itemize} -\item BKBINPCL : format PCL binaire natif de Blue Kenue ; -\item TECPLOT : format TecPlot original (ASCII). -\end{itemize}""", - ang = """Format of the \telkey{BINARY DROGUES FILE}. -Possible choices are: -\begin{itemize} -\item BKBINPCL: binary PCL format native to Blue Kenue, -\item TECPLOT: original TecPlot format (ASCII). -\end{itemize}""", - ), - ), -# ----------------------------------- - OIL_SPILL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - OIL_SPILL_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Pour declencher le modele de nappes d''hydrocarbures, -dans ce cas le -\telkey{FICHIER DE COMMANDES HYDROCARBURES} est necessaire.""", - ang = """Will trigger the oil spill model, in this case -the \telkey{OIL SPILL STEERING FILE} is needed.""", - ), -# ----------------------------------- - b_OIL_SPILL_MODELG = BLOC(condition="OIL_SPILL_MODEL == True", -# ----------------------------------- -# ----------------------------------- - OIL_SPILL_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Contient les donnees pour le -modele de nappes d''hydrocarbures.""", - ang = """Contains data for the oil spill model.""", - ), - ), - ), - ), -# ----------------------------------- - HYDRAULIC_STRUCTURES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - CULVERTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_CULVERTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de buses ou ponts traites comme des termes sources ou -puits. Ces buses doivent etre decrites comme des sources dans le -fichier cas. Leurs caracteristiques sont donnees dans le -\telkey{FICHIER DE DONNEES DES BUSES} (voir la documentation ecrite).""", - ang = """Number of culverts, tubes or bridges treated as source terms. -They must be described as sources in the domain and their features -are given in the \telkey{CULVERTS DATA FILE} (see written -documentation).""", - ), -# ----------------------------------- - b_NUMBER_OF_CULVERTSG = BLOC(condition="NUMBER_OF_CULVERTS != 0", -# ----------------------------------- -# ----------------------------------- - CULVERTS_DATA_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de description des buses/ponts presents dans le modele.""", - ang = """Description of culverts/bridges existing in the model.""", - ), -# ----------------------------------- - OPTION_FOR_CULVERTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Option pour le traitement des buses. Il existe deux formulations -dans \telemac{3d}, basees sur les formules de Bodhaine (1968) -et Carlier (1976). -Lire le \telemac{3d} theory guide plus plus d informations.""", - ang = """Option for the treatment of culverts. There are two options in -\telemac{3d} based on Bodhaine (1968) and Carlier (1976) formulae. -Read the \telemac{3d} theory guide for more informations.""", - ), - ), - ), - ), -) -# ----------------------------------------------------------------------- -HYDRO = PROC(nom= "HYDRO",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PHYSICAL_PARAMETERS_HYDRO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - METEOROLOGY = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - AIR_TEMPERATURE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 20., - fr = """Donne la valeur de la temperature de l air lorsqu elle est -constante en temps et en espace. En $^{\circ}$C.""", - ang = """Gives the value of air temperature when it is constant -in time and space. In $^{\circ}$C.""", - ), -# ----------------------------------- - CLOUD_COVER = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 5., - fr = """Donne la valeur de la nebulosite lorsqu elle est -constante en temps et en espace. En Octas ou dizieme.""", - ang = """Gives the value of cloud cover when it is constant -in time and space. In Octas or tenth.""", - ), -# ----------------------------------- - SOLAR_RADIATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 160., - fr = """Donne la valeur du rayonnement solaire lorsqu il est -constant en temps et en espace. En W/m$^2$.""", - ang = """Gives the value of solar radiation when it is constant -in time and space. In W/m$^2$.""", - ), -# ----------------------------------- - RELATIVE_HUMIDITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 50., - fr = """Donne la valeur de l humidite relative lorsqu elle est -constante en temps et en espace. En \%.""", - ang = """Gives the value of relative humidity when it is constant -in time and space. In \%.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -TIDES = PROC(nom= "TIDES",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Valeur minimale de hauteur d eau utilisee pour le calcul des conditions -aux limites de courants de maree si les profondeurs sont trop petites. -Pour les solutions de marees provenant de l OSU uniquement (ex TPXO).""", - ang = """Minimum value of water depth used to compute tidal boundary conditions -for velocities if the water depths are too small. -For tidal solutions coming from OSU only (e.g. TPXO).""", - ), -) -# ----------------------------------------------------------------------- -TURBULENCE = PROC(nom= "TURBULENCE",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - HORIZONTAL_TURBULENCE_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["CONSTANT VISCOSITY","K-EPSILON MODEL","SMAGORINSKI","SPALART-ALLMARAS","K-OMEGA MODEL","DES (DETACHED EDDY SIMULATION) MODEL"], - defaut = "CONSTANT VISCOSITY", - fr = """Permet de specifier le modele de turbulence horizontal. -Les choix possibles sont : -\begin{itemize} -\item 1 : viscosite constante ; -\item 3 : modele $k$-$\epsilon$ ; -\item 4 : Smagorinski ; -\item 5 : Spalart-Allmaras ; -\item 7 : modele $k$-$\omega$ ; -\item 9 : modele DES (Detached Eddy Simulation). -\end{itemize} -Attention : si on choisit l''option 1, il ne faut pas oublier d''ajuster -la valeur du mot cle \telkey{COEFFICIENT DE DIFFUSION}\ldots -Si on choisit les autres options, ce meme parametre doit retrouver sa -vraie valeur physique car elle est utilisee comme telle dans le modele -de turbulence. -Si on choisit l''option 3 ou 7, ce meme parametre doit retrouver sa -vraie valeur physique, en general environ $10^{-6}$ -car elle est utilisee comme telle dans le modele de turbulence.""", - ang = """Specifies the horizontal turbulence model. -The available choices are: -\begin{itemize} -\item 1: constant viscosity, -\item 3: $k$-$\epsilon$ model, -\item 4: Smagorinski, -\item 5: Spalart-Allmaras, -\item 7: $k$-$\omega$ model, -\item 9: DES model (Detached Eddy Simulation). -\end{itemize} -Caution: if option 1 is chosen, give the right -\telkey{COEFFICIENT FOR\ldots\ DIFFUSION OF VELOCITIES}\ldots\ -If option 3 ou 7 is chosen, this parameter must get its real physical -value of molecular diffusivity, generally about $10^{-6}$ -because it is used as well in the turbulence model.""", - ), -# ----------------------------------- - VERTICAL_TURBULENCE_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["CONSTANT VISCOSITY","MIXING LENGTH","K-EPSILON MODEL","SMAGORINSKI","SPALART-ALLMARAS","GOTM","K-OMEGA MODEL","DES (DETACHED EDDY SIMULATION) MODEL"], - defaut = "CONSTANT VISCOSITY", - fr = """Permet de specifier le modele de turbulence vertical. -Les choix possibles sont : -\begin{itemize} -\item 1 : viscosite constante ; -\item 2 : longueur de melange ; -\item 3 : modele $k$-$\epsilon$ ; -\item 4 : Smagorinski ; -\item 5 : Spalart-Allmaras ; -\item 6 : GOTM ; -\item 7 : modele $k$-$\omega$ ; -\item 9 : modele DES (Detached Eddy Simulation). -\end{itemize} -Attention : si on choisit l''option 1, il ne faut pas oublier d''ajuster -la valeur du mot cle \telkey{COEFFICIENT DE DIFFUSION}\ldots -Si on choisit les autres options, ce meme parametre doit retrouver sa -vraie valeur physique car elle est utilisee comme telle dans le modele -de turbulence. -Si on choisit l''option 3 ou 7, ce meme parametre doit retrouver sa -vraie valeur physique, en general environ $10^{-6}$ -car elle est utilisee comme telle dans le modele de turbulence.""", - ang = """Specifies the vertical turbulence model. -The available choices are: -\begin{itemize} -\item 1: constant viscosity, -\item 2: mixing length, -\item 3: $k$-$\epsilon$ model, -\item 4: Smagorinski, -\item 5: Spalart-Allmaras, -\item 6: GOTM, -\item 7: $k$-$\omega$ model, -\item 9: DES model (Detached Eddy Simulation). -\end{itemize} -Caution: if option 1 is chosen, give the right -\telkey{COEFFICIENT FOR\ldots\ DIFFUSION OF VELOCITIES}\ldots\ -If option 3 ou 7 is chosen, this parameter must get its real physical -value of molecular diffusivity, generally about $10^{-6}$ -because it is used as well in the turbulence model.""", - ), -# ----------------------------------- - b_VERTICAL_TURBULENCE_MODELG = BLOC(condition="VERTICAL_TURBULENCE_MODEL == 'MIXING LENGTH'", -# ----------------------------------- -# ----------------------------------- - MIXING_LENGTH_MODEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Permet de specifier le modele de longueur utilise pour la -turbulence verticale. Les choix possibles sont : -\begin{itemize} -\item 1: Prandtl (notamment pour ecoulements avec forte composante -barotropique comme les courants de maree) ; -\item 3: Nezu et Nakawaga ; -\item 5: Quetin (meilleure representation du vent) ; -\item 6: Tsanis (meilleure representation du vent). -\end{itemize} -4 (jet) a ete supprime.""", - ang = """Specifies the mixing length model used for vertical turbulence. -Possible choices are: -\begin{itemize} -\item 1: Prandtl (suits such flows with a strong barotropic component -as tidal flows), -\item 3: Nezu and Nakawaga, -\item 5: Quetin (better representation of wind drift), -\item 6: Tsanis (better representation of wind drift). -\end{itemize} -4 (jet) has been suppressed.""", - ), -# ----------------------------------- - DAMPING_FUNCTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Specifie le type de fonction d''amortissement utilise -(quand un modele de longueur de melange est utilise). -Les choix possibles sont : -\begin{itemize} -\item 0: rien ; -\item 1: fait par l''utilisateur (dans \telkey{USER\_DRIUTI}) ; -\item 2: Viollet ; -\item 3: Munk et Anderson. -\end{itemize}""", - ang = """Specifies the type of damping function used (when using mixing -length turbulence model). The possible choices are: -\begin{itemize} -\item 0: nothing, -\item 1: user programmed (in \telkey{USER\_DRIUTI}), -\item 2: Viollet, -\item 3: Munk and Anderson. -\end{itemize}""", - ), - ), -# ----------------------------------- - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Fixe de facon uniforme pour l''ensemble du domaine; -la valeur du coefficient de diffusion de viscosite globale (dynamique + -turbulente). Cette valeur peut avoir une influence non negligeable sur -la forme et la taille des recirculations.""", - ang = """Sets, in an even way for the whole domain, the value of the -coefficient of global (dynamic+turbulent) viscosity -for the horizontal direction. This value may -have a significant effect both on the shapes and sizes of -recirculation zones.""", - ), -# ----------------------------------- - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Fixe de facon uniforme pour l''ensemble du domaine; -la valeur du coefficient de diffusion de viscosite globale (dynamique + -turbulente). Cette valeur peut avoir une influence non negligeable sur -la forme et la taille des recirculations.""", - ang = """Sets, in an even way for the whole domain, the value of the -coefficient of global (dynamic+turbulent) viscosity -for the horizontal direction. This value may -have a significant effect both on the shapes and sizes of -recirculation zones.""", - ), -# ----------------------------------- - PRANDTL_NUMBER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.0, - fr = """Rapport entre viscosite et diffusivite turbulente.""", - ang = """Ratio between eddy viscosity and eddy diffusivity.""", - ), -# ----------------------------------- - KARMAN_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.4, - fr = """Valeur de la constante de Von Karman.""", - ang = """Value of Von Karman constant.""", - ), -# ----------------------------------- - GOTM_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier contenant les parametres de GOTM. Utilise avec -\telkey{MODELE DE TURBULENCE VERTICAL} = 6.""", - ang = """File containing parameters of GOTM. Use in combination with -\telkey{VERTICAL TURBULENCE MODEL} = 6.""", - ), - ), -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FICTITIOUS_BED_LEVEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2.0, - fr = """Rapport entre le fond fictif et la hauteur de -la premiere maille utilisee par le modele de turbulence -$k$-$\epsilon$ et pour le transport du sable.""", - ang = """Ratio between the fictitious bed and -the grid size above the bed.""", - ), -# ----------------------------------- - OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["no turbulence","Hans Burchard"], - defaut = "no turbulence", - fr = """Calcul des conditions aux limites laterales sur $k$ et -$\epsilon$. Les choix possibles sont : -\begin{itemize} -\item 1: pas de turbulence = les valeurs minimales \telfile{KMIN} -et \telfile{EMIN} definies dans \telfile{CSTKEP} ; -\item 2: formule de Hans Burchard. -\end{itemize}""", - ang = """Computation of the lateral boundary conditions of $k$ -and $\epsilon$. Possible choices are: -\begin{itemize} -\item 1: no turbulence = the minimum values \telfile{KMIN} and -\telfile{EMIN} defined in \telfile{CSTKEP}, -\item 2: Hans Burchard formula. -\end{itemize}""", - ), - ), -# ----------------------------------- - NUMERICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VERTICAL_VELOCITY_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Mode de calcul des derivees des vitesses suivant $z$ -uniquement pour un modele de longueur de melange sur la verticale : -\begin{itemize} -\item 1 : derivee lineaire (classique) ; -\item 2 : derivee logarithmique (mieux pour profils logarithmiques) -entre le fond et 0.2 fois la hauteur d eau. -\end{itemize} -L option 2 permet une meilleure representation des resultats -pour la modelisation d un profil de vitesse pres du fond.""", - ang = """Way of computing the velocity derivatives along $z$ -only for a mixing length model over the vertical: -\begin{itemize} -\item 1: linear derivative (classic), -\item 2: logarithmic derivative (better for logarithmic profiles) -between the bottom and 0.2 times the water depth. -\end{itemize} -Option 2 allows getting better results when modelling the velocity -profile near the bottom.""", - ), -# ----------------------------------- - ADVECTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - b_SCHEME_FOR_ADVECTION_OF_K_EPSILONF = BLOC(condition="((VERTICAL_TURBULENCE_MODEL == 3) or (HORIZONTAL_TURBULENCE_MODEL == 3) or (VERTICAL_TURBULENCE_MODEL == 7) or (HORIZONTAL_TURBULENCE_MODEL == 7))", -# ----------------------------------- - ), -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO ADVECTION","CHARACTERISTICS","SUPG","LEO POSTMA","MURD SCHEME N","MURD SCHEME PSI","LEO POSTMA FOR TIDAL FLATS","EXPLICIT N-SCHEME FOR TIDAL FLATS"], - defaut = "MURD SCHEME PSI", - fr = """Fixe le schema utilise pour la convection du modele -$k$-$\epsilon$ ou Spalart-Allmaras. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de convection ; -\item 1 : caracteristiques ; -\item 2 : SUPG ; -\item 3 : schema de Leo Postma ; -\item 4 : MURD schema N - options supplementaires possibles : - \begin{itemize} - \item OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES/TRACEURS/ -K-EPSILON) : - \begin{itemize} - \item 1: schema explicite classique ; - \item 2: predicteur-correcteur au premier order ; - \item 3: predicteur-correcteur au deuxieme order ; - \item 4: schema implicite compatible avec les bancs decouvrants; - \end{itemize} - \item NOMBRE DE CORRECTIONS POUR LES SCHEMAS DISTRIBUTIFS : - fixe le nombre de corrections pour les schemas distributifs - predicteur-correcteur du premier et deuxieme ordre - (une value autour de 4 est recommandee) ; - \end{itemize} -\item 5 : MURD schema PSI ; -\item 13 : Leo Postma pour bancs decouvrants ; -\item 14 : schema N explicite pour bancs decouvrants. -\end{itemize} -Valeurs par defaut de -\telkey{SCHEMA POUR LA CONVECTION DU K-EPSILON} = 5 -+ \telkey{OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON} = 4 donnent -le schema LIPS. -Ancienne valeur par defaut = 1 (caracteristiques) jusqu a la version -V8P0.""", - ang = """Sets the advection scheme for the $k$-$\epsilon$ model -or Spalart-Allmaras model. -Possible choices are: -\begin{itemize} -\item 0: no convection, -\item 1: characteristics, -\item 2: SUPG, -\item 3: Leo Postma scheme, -\item 4: MURD scheme N, - \begin{itemize} - \item SCHEME OPTION FOR ADVECTION OF VELOCITIES/TRACERS/K-EPSILON): - \begin{itemize} - \item 1: classical explicit scheme; - \item 2: 1st order predictor-corrector; - \item 3: 2nd order predictor-corrector; - \item 4: implicit scheme compatible with tidal flats; - \end{itemize} - \item \telkey{NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES}: - sets the number of sub-iterations for the 1st and 2nd order - predictor-corrector schemes (a value around 4 is recommended). - \end{itemize} -\item 5: MURD scheme PSI, - \begin{itemize} - \item SCHEME OPTION FOR ADVECTION OF VELOCITIES/TRACERS/K-EPSILON): - \begin{itemize} - \item 1: classical explicit scheme; - \item 2: 1st order predictor-corrector; - \item 3: 2nd order predictor-corrector; - \item 4: implicit scheme compatible with tidal flats; - \end{itemize} - \item \telkey{NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES}: - sets the number of sub-iterations for the 1st and 2nd order - predictor-corrector schemes (a value around 4 is recommended). - \end{itemize} -\item 13: Leo Postma for tidal flats, -\item 14: explicit N-scheme for tidal flats. -\end{itemize} -Default values for \telkey{SCHEME FOR ADVECTION OF K-EPSILON} = 5 -+ \telkey{SCHEME OPTION FOR ADVECTION OF K-EPSILON} = 4 -give LIPS scheme. -Old default value = 1 (characteristics) until version V8P0.""", - ), -# ----------------------------------- - b_SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILONF = BLOC(condition="((VERTICAL_TURBULENCE_MODEL == 3) or (HORIZONTAL_TURBULENCE_MODEL == 3) or (VERTICAL_TURBULENCE_MODEL == 7) or (HORIZONTAL_TURBULENCE_MODEL == 7))", -# ----------------------------------- - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 4, - fr = """Si present remplace et a priorite sur : -\telkey{OPTION POUR LES CARACTERISTIQUES} et -\telkey{OPTION DE SUPG}. -Si schema PSI ou N : -\begin{itemize} -\item 1 : explicite ; -\item 2 : predicteur-correcteur ; -\item 3 : predicteur-correcteur deuxieme ordre en temps ; -\item 4 : implicite (compatible avec bancs decouvrants). -\end{itemize} -Si pas de bancs decouvrants, l option 2 est plus rapide. -Ancienne valeur par defaut = 1 (explicite) jusqu a la version V8P0.""", - ang = """If present replaces and has priority over: -\telkey{OPTION FOR CHARACTERISTICS} and -\telkey{SUPG OPTION}. -If N or PSI scheme: -\begin{itemize} -\item 1: explicit, -\item 2: predictor-corrector, -\item 3: predictor-corrector second-order in time, -\item 4: implicit (compatible with tidal flats). -\end{itemize} -If no tidal flats, option 2 is faster. -Old default value = 1 (explicit) until version V8P0.""", - ), - ), -# ----------------------------------- - DIFFUSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_DIFFUSION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["NO DIFFUSION","IMPLICIT"], - defaut = "IMPLICIT", - fr = """Permet de specifier si l''on utilise ou non la diffusion -de $k$ et $\epsilon$. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de diffusion, -\item 1 : implicite. -\end{itemize}""", - ang = """Monitors the choice of the diffusion scheme -for $k$ and $\epsilon$. -Possible choices are: -\begin{itemize} -\item 0: no diffusion, -\item 1: implicit. -\end{itemize}""", - ), -# ----------------------------------- - b_SCHEME_FOR_DIFFUSION_OF_K_EPSILONG = BLOC(condition="SCHEME_FOR_DIFFUSION_OF_K_EPSILON == 'IMPLICIT'", -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_DIFFUSION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - defaut = "conjugate gradient", - fr = """Permet de choisir le solveur utilise pour la resolution de -la diffusion du modele $k$-$\epsilon$ ou Spalart-Allmaras. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize}""", - ang = """Choice of the solver for the diffusion of $k$ and $\epsilon$. -but also $\tilde{\nu}$. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize}""", - ), -# ----------------------------------- - b_SOLVER_FOR_DIFFUSION_OF_K_EPSILONG = BLOC(condition="SOLVER_FOR_DIFFUSION_OF_K_EPSILON == 'gmres'", -# ----------------------------------- -# ----------------------------------- - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7). -Ancienne valeur par defaut = 3 jusqu a la version V8P0.""", - ang = """Dimension of Krylov space for the GMRES method (7). -Old default value = 3 until version V8P0.""", - ), - ), -# ----------------------------------- - ACCURACY_FOR_DIFFUSION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-8, - fr = """Fixe la precision demandee pour le calcul de la diffusion -du $k$-$\epsilon$ ou $\tilde{\nu}$. -Ancienne valeur par defaut = 1.E-6 jusqu a la version V8P0.""", - ang = """Sets the accuracy needed for the computation of the -diffusion of the $k$-$\epsilon$ or Spalart-Allmaras models. -Old default value = 1.E-6 until version V8P0.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 200, - fr = """Fixe le nombre maximum d''iterations accepte lors de la -resolution du systeme diffusion-termes sources du modele -$k$-$\epsilon$ ou du modele de Spalart-Allmaras.""", - ang = """Limits the number of solver iterations for the diffusion of -$k$-$\epsilon$ or $\tilde{\nu}$.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme relatif -a la diffusion du modele $k$-$\epsilon$ ou du modele Spalart-Allmaras. -Les choix possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee ; -\item 5 : diagonal avec valeurs absolues ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE ; -\item 13 : matrice fournie par l''utilisateur ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale ; -\item 21 : diagonal condensee et Crout ; -\item 34 : diagonal et solveur direct sur la verticale. -\end{itemize}""", - ang = """Choice of preconditioning for the diffusion of -the $k$-$\epsilon$ model or Spalart-Allmaras model. -Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix, -\item 5: diagonal with absolute values, -\item 7: Crout, -\item 11: Gauss-Seidel EBE, -\item 13: matrix defined by the user, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical, -\item 21: diagonal condensed and Crout, -\item 34: diagonal and direct solver on the vertical. -\end{itemize}""", - ), - ), - ), - ), -# ----------------------------------- - TIDAL_FLATS_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["FORCED TO ZERO","VALUE BEFORE MASKED"], - defaut = "FORCED TO ZERO", - fr = """Traitement sur les bancs decouvrants a l''etape de diffusion -pour $k$ et $\epsilon$. -\begin{itemize} -\item 0 : forcage a zero ; -\item 1 : valeur avant masquage. -\end{itemize}""", - ang = """Treatment of tidal flats at the diffusion step for $k$ and -$\epsilon$. -\begin{itemize} -\item 0: forced to zero, -\item 1: value before masked. -\end{itemize}""", - ), - ), -) -# ----------------------------------------------------------------------- -TRACERS = PROC(nom= "TRACERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - NUMBER_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Definit le nombre de traceurs.""", - ang = """Defines the number of tracers.""", - ), -# ----------------------------------- - b_NUMBER_OF_TRACERSG = BLOC(condition="NUMBER_OF_TRACERS != 0", -# ----------------------------------- -# ----------------------------------- - NAMES_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - fr = """Noms des traceurs en 32 caracteres, 16 pour le nom, -16 pour l''unite.""", - ang = """Name of tracers in 32 characters, 16 for the name, -16 for the unit.""", - ), - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - METEOROLOGY = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - VALUES_OF_TRACERS_IN_THE_RAIN = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe la valeur des traceurs dans la pluie.""", - ang = """Sets the value of the tracers in the rain.""", - ), - ), -# ----------------------------------- - SOURCES = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - VALUE_OF_THE_TRACERS_AT_THE_SOURCES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe la valeur des traceurs aux sources. -Toutes les sources pour le premier traceur -puis toutes les sources du deuxieme traceur, etc. -(cf. manuel utilisateur). -Par exemple, s''il y a 3 traceurs (T1, T2 et T3) et 2 sources -(S1 et S2), la syntaxe suivante est utilisee :\\ -S1\_T1;S1\_T2;S1\_T3;S2\_T1;S2\_T2;S2\_T3\\ -10.0; 10.0; 0.0; 0.0; 10.0; 10.0""", - ang = """Sets the value of the tracers at the sources. -All sources for the first tracer, then -all sources for the second tracer, etc. -(see user manual). -For example, if there are 3 tracers (T1, T2 and T3) -and 2 sources (S1 and S2), the following syntax is used:\\ -S1\_T1;S1\_T2;S1\_T3;S2\_T1;S2\_T2;S2\_T3\\ -10.0; 10.0; 0.0; 0.0; 10.0; 10.0""", - ), - ), -# ----------------------------------- - DENSITY = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DENSITY_LAW = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Donne le type de loi de densite utilisee dans le cas de -l''utilisation de traceurs actifs. Le sediment est considere -actif par defaut. Les choix possibles sont : -\begin{itemize} -\item 0 : rien (et du sediment si present) ; -\item 1 : fonction de temperature (et du sediment si present) ; -\item 2 : fonction de la salinite (et du sediment si present) ; -\item 3 : fonction de temperature et salinite - (et du sediment si present) ; -\item 4 : BETA donnes par l''utilisateur pour chaque traceur - (et effets du sediment avec un beta predefini si present); -\item 5 : le sediment et les autres traceurs sont forces a etre -passifs ; -\item 6 : Jackett et al. 2006. -\end{itemize}""", - ang = """Gives the type of the law of density used in the case of -active tracers. The sediment is considered active with its own -law by default. The possible choices are: -\begin{itemize} -\item 0: nothing (and sediment if present), -\item 1: function of the temperature (and sediment if present), -\item 2: function of the salinity (and sediment if present), -\item 3: function of the temperature and salinity -(and sediment if present), -\item 4: user-defined BETA coefficients (and effect of the - sediment with its own behaviour if present), -\item 5: the sediment and other tracers are forced to be passive, -\item 6: Jackett et al. 2006. -\end{itemize}""", - ), -# ----------------------------------- - b_DENSITY_LAWG = BLOC(condition="DENSITY_LAW == 4", -# ----------------------------------- -# ----------------------------------- - BETA_EXPANSION_COEFFICIENT_FOR_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Unite : K$^{-1}$. -Ce coefficient permet de definir l''evolution de la densite de -l''eau en fonction de la concentration en traceur lors de -l''utilisation de la valeur 4 du mot cle -\telkey{LOI DE DENSITE} -(une valeur par traceur).""", - ang = """Unit: K$^{-1}$. -This coefficient is used to define the evolution of the water density -with respect to the tracer concentration when using -\telkey{DENSITY LAW} = 4 (one value per tracer).""", - ), -# ----------------------------------- - STANDARD_VALUES_FOR_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Valeur du traceur pour laquelle la densite est donnee lors de -l''utilisation de la valeur 4 du mot cle -\telkey{LOI DE DENSITE} (une valeur par traceur).""", - ang = """Reference value of tracers corresponding to the given density -when using \telkey{DENSITY LAW} = 4 (one value per tracer).""", - ), - ), - ), - ), -# ----------------------------------- - BOUNDARY_CONDITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PRESCRIBED_TRACERS_VALUES = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Determine la valeur imposee des traceurs a la premiere -frontiere, puis a la deuxieme etc. suivant la meme logique que pour les -\telkey{VALEURS DES TRACEURS DES SOURCES}.""", - ang = """Determines the imposed value of tracers at the first boundary, -then at the second, and so on, with the same logic as -\telkey{VALUE OF THE TRACERS AT THE SOURCES}.""", - ), -# ----------------------------------- - TRACERS_VERTICAL_PROFILES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["User defined","Constant","Constant or Rouse if sediment", "Normalized Rouse profile and imposed conc", "Modified Rouse profile accounting for molecular viscosity"], - fr = """Permet de specifier le type de profil de concentration des -traceurs sur la verticale. -Il y a autant de valeurs a donner que le produit du nombre de traceurs -par le nombre de frontieres liquides. -Les choix possibles sont : -\begin{itemize} -\item 0 : Programmation utilisateur ; -\item 1 : Constant ; -\item 2 : Rouse equilibrium concentration ; -\item 3 : Rouse (normalise) et concentration imposee. -\item 4 : Rouse modifie avec viscosite moleculaire. -\end{itemize}""", - ang = """Specifies the type of profiles of tracer concentration on the -vertical. -There are as many values to be given as the product of the number of -tracers and the number of open boundaries. -Possible choices are: -\begin{itemize} -\item 0: user defined, -\item 1: constant, -\item 2: Rouse equilibrium, constant (diluted tracer) -or Rouse (sediment), -\item 3: Rouse (normalized) and imposed concentration. -\item 4: Rouse modified with molecular viscosity. -\end{itemize}""", - ), - ), -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INITIAL_VALUES_OF_TRACERS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe la valeur initiale du/des traceur(s). -Les valeurs requises sont separees par un point virgule ; si plus d une. -Le nombre de valeurs fournies doit etre egal au nombre de traceurs -declares.""", - ang = """Sets the initial values of tracer(s). -Required value(s) separated with a semicolumn ; if more than one. -The number of supplied values must be equal to the number of declared -tracers.""", - ), - ), -# ----------------------------------- - NUMERICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ADVECTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_ADVECTION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["NO ADVECTION","CHARACTERISTICS","EXPLICIT + SUPG","EXPLICIT LEO POSTMA","EXPLICIT + MURD SCHEME N","EXPLICIT + MURD SCHEME PSI","LEO POSTMA FOR TIDAL FLATS","N-SCHEME FOR TIDAL FLATS"], - fr = """Fixe le schema utilise pour la convection des traceurs -(un entier par traceur). -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de convection ; -\item 1 : caracteristiques ; -\item 2 : explicite + SUPG ; -\item 3 : explicite Leo Postma ; -\item 4 : explicite + MURD schema N ; -\item 5 : explicite + MURD schema PSI ; -\item 13 : Leo Postma pour bancs decouvrants ; -\item 14 : schema N pour bancs decouvrants. -\end{itemize} -Valeurs par defaut de -\telkey{SCHEMA POUR LA CONVECTION DES TRACEURS} = 5 -+ \telkey{OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS} = 4 donnent -le schema LIPS.""", - ang = """Sets the advection scheme for the tracers (one integer per tracer). -Possible choices are: -\begin{itemize} -\item 0: no convection, -\item 1: characteristics, -\item 2: explicit + SUPG, -\item 3: explicit Leo Postma, -\item 4: explicit + MURD scheme N, -\item 5: explicit + MURD scheme PSI, -\item 13: Leo Postma for tidal flats, -\item 14: N-scheme for tidal flats. -\end{itemize} -Default values for \telkey{SCHEME FOR ADVECTION OF TRACERS} = 5 -+ \telkey{SCHEME OPTION FOR ADVECTION OF TRACERS} = 4 -give LIPS scheme.""", - ), -# ----------------------------------- - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min=0, max='**', - fr = """Si present remplace et a priorite sur : -\telkey{OPTION POUR LES CARACTERISTIQUES} et -\telkey{OPTION DE SUPG}. -Si schema PSI ou N : -\begin{itemize} -\item 1 : explicite ; -\item 2 : predicteur-correcteur ; -\item 3 : predicteur-correcteur deuxieme ordre en temps ; -\item 4 : implicite (compatible avec bancs decouvrants). -\end{itemize} -Valeur par defaut = 4. -Si pas de bancs decouvrants, l option 2 est plus rapide. -Ancienne valeur par defaut = 1 (explicite) jusqu a la version V8P0.""", - ang = """If present replaces and has priority over: -\telkey{OPTION FOR CHARACTERISTICS} and -\telkey{SUPG OPTION}. -If N or PSI scheme: -\begin{itemize} -\item 1: explicit, -\item 2: predictor-corrector, -\item 3: predictor-corrector second-order in time, -\item 4: implicit (compatible with tidal flats). -\end{itemize} -Default value = 4. -If no tidal flats, option 2 is faster. -Old default value = 1 (explicit) until version V8P0.""", - ), - ), -# ----------------------------------- - DIFFUSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SCHEME_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["NO DIFFUSION","IMPLICIT","VERTICAL DIFFUSION ONLY"], - defaut = "IMPLICIT", - fr = """Permet de specifier si l''on utilise ou non la diffusion -des traceurs -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de diffusion, -\item 1 : implicite; -\item 2 : diffusion verticale seulement. -\end{itemize}""", - ang = """Monitors the choice of the diffusion scheme -for tracers. -Possible choices are: -\begin{itemize} -\item 0: no diffusion, -\item 1: implicit, -\item 2: vertical diffusion only. -\end{itemize}""", - ), -# ----------------------------------- - b_SCHEME_FOR_DIFFUSION_OF_TRACERSG = BLOC(condition="SCHEME_FOR_DIFFUSION_OF_TRACERS != 'NO DIFFUSION'", -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - fr = """Permet de choisir le solveur utilise pour la resolution de -la diffusion des traceurs (un entier par traceur). -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize}""", - ang = """Choice of the solver for the diffusion of tracers -(one integer per tracer). -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize}""", - ), -# ----------------------------------- - ACCURACY_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-8, - fr = """Fixe la precision demandee pour le calcul de la diffusion -des traceurs. Une seule valeur pour tous les traceurs. -Ancienne valeur par defaut = 1.E-6 jusqu a la version V7P3.""", - ang = """Sets the accuracy needed for the computation of -the diffusion of the tracers. One single value for every tracer. -Old default value = 1.E-6 until version V7P3.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 60, - fr = """Limite le nombre d''iterations du solveur a chaque pas -de temps pour le calcul de la diffusion du ou des traceurs.""", - ang = """Limits the number of solver iterations for the diffusion of -tracer(s).""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - fr = """Permet de preconditionner le systeme relatif -a la diffusion des traceurs. Les choix possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee ; -\item 5 : diagonal avec valeurs absolues ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE ; -\item 13 : matrice fournie par l''utilisateur ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale ; -\item 21 : diagonal condensee et Crout ; -\item 34 : diagonal et solveur direct sur la verticale. -\end{itemize}""", - ang = """Choice of preconditioning for the diffusion of tracers. -Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix, -\item 5: diagonal with absolute values, -\item 7: Crout, -\item 11: Gauss-Seidel EBE, -\item 13: matrix defined by the user, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical, -\item 21: diagonal condensed and Crout, -\item 34: diagonal and direct solver on the vertical. -\end{itemize}""", - ), - ), -# ----------------------------------- - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7). -Ancienne valeur par defaut = 3 jusqu a la version V8P0.""", - ang = """Dimension of Krylov space for the GMRES method (7). -Old default value = 3 until version V8P0.""", - ), - ), - ), -# ----------------------------------- - TIDAL_FLATS_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["FORCED TO ZERO","VALUE BEFORE MASKED"], - defaut = "FORCED TO ZERO", - fr = """Traitement sur les bancs decouvrants a l''etape de diffusion. -\begin{itemize} -\item 0 : forcage a zero ; -\item 1 : valeur avant masquage. -\end{itemize} -Utiliser le choix 1 pour assurer la convervation du/des traceur(s)""", - ang = """Treatment of tidal flats at the diffusion step for tracers. -\begin{itemize} -\item 0: forced to zero, -\item 1: value before masked. -\end{itemize} -Use choice 1 to ensure conservation of tracer(s).""", - ), - ), -# ----------------------------------- - TURBULENCE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe les valeurs de coefficients de diffusion horizontal des -traceurs. L''influence de ce parametre sur l''evolution des traceurs -dans le temps est importante. -C est un tableau depuis la version 7.1, avec une valeur par traceur, -separation par un point virgule.""", - ang = """Sets the values of the horizontal diffusion of tracers. -These values may have a significant effect on the evolution of -tracers in time. -Since version 7.1, it has been an array, with one value per tracer, -separated by semicolons.""", - ), -# ----------------------------------- - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Fixe les valeurs de coefficients de diffusion vertical des -traceurs. L''influence de ce parametre sur l''evolution des traceurs -dans le temps est importante. -C est un tableau depuis la version 7.1, avec une valeur par traceur, -separation par un point virgule.""", - ang = """Sets the values of the vertical diffusion of tracers. -These values may have a significant effect on the evolution of -tracers in time. -Since version 7.1, it has been an array, with one value per tracer, -separated by semicolons.""", - ), - ), -) -# ----------------------------------------------------------------------- -SEDIMENT_INFO = PROC(nom= "SEDIMENT_INFO",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de prendre en compte le transport sedimentaire.""", - ang = """If YES, sediment transport is modelled.""", - ), -# ----------------------------------- - DENSITY_OF_THE_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2650., - fr = """Fixe la valeur de la masse volumique du sediment (kg/m$^3$).""", - ang = """Value of the sediment density (kg/m$^3$).""", - ), -# ----------------------------------- - TIME_STEP_FOR_CONSOLIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1200., - fr = """Valeur du pas de temps pour le modele de consolidation qui -peut etre plus grand que le pas de temps hydrodynamique car le -phenomene est tres lent. Ce parametre est utilise si -\telkey{OPTION DU MODELE DE TASSEMENT} = 1 (Modele multicouches -empirique) ou 2 (Modele de Gibson (Lenormant)).""", - ang = """Time step for the modelling consolidation, which can -be greater than the hydrodynamic time step. This parameter is -used if \telkey{CONSOLIDATION MODEL} = 1 (Empirical multilayer model) -or 2 (Gibson model (Lenormant)).""", - ), -# ----------------------------------- - COHESIVE_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de dire si le sediment est cohesif ou non.""", - ang = """Tells if the sediment is cohesive or not.""", - ), -# ----------------------------------- - SHIELDS_PARAMETER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.047, - fr = """Utilise pour determiner la valeur de la contrainte critique -d''entrainement.""", - ang = """Used to determine the critical bed shear stress value.""", - ), -# ----------------------------------- - MIXED_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si OUI, calcul en sediments mixtes, il y aura un sediment -cohesif et un sediment non cohesif.""", - ang = """If YES, calculation of mixed sediment transport, there will be -one cohesive sediment and one non cohesive sediment.""", - ), -# ----------------------------------- - NUMBER_OF_SEDIMENT_BED_LAYERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Structure verticale du lit cohesif, le nombre de couches -doit etre inferieur a 20.""", - ang = """Number of cohesive sediment bed layers, should be less -than 20.""", - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Lecture de la contrainte critique d''erosion a -partir du \telkey{FICHIER DE GEOMETRIE}.""", - ang = """Decides if erosion shear stress at each layer is -read from \telkey{GEOMETRY FILE}.""", - ), - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SEDIMENTOLOGICAL_RESULT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les variables -decrivant le fond vaseux (epaisseurs et concentrations\ldots) -avec la periodicite donnee par le mot cle \telkey{PERIODE POUR -LES SORTIES GRAPHIQUES}.""", - ang = """Name of the file into which the sedimentological computation -results (thickness and concentration of the mud bed\ldots) shall be -written, the periodicity being given by the keyword -\telkey{GRAPHIC PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - SEDIMENTOLOGICAL_RESULT_FILE_BINARY = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['STD','IBM','I3E'], - defaut = 'STD', - fr = """Type du binaire utilise pour l''ecriture du fichier -des resultats sedimentologiques. -Ce type depend de la machine sur laquelle le fichier a ete genere. -Les valeurs possibles sont : -\begin{itemize} -\item IBM pour un fichier cree sur IBM ; -\item I3E pour un fichier cree sur HP ; -\item STD. -\end{itemize} -Il s''agit alors d''ordres READ et WRITE normaux.""", - ang = """Binary file type used for writing the results file. -This type depends on the machine on which the file was generated. -The possible values are as follows: -\begin{itemize} -\item IBM, for a file on an IBM (from a CRAY), -\item I3E, for a file on an HP (from a CRAY), -\item STD, binary type of the machine on which the user is working. -\end{itemize} -In that case, normal READ and WRITE commands are used.""", - ), - ), - ), -# ----------------------------------- - RESTART = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les variables sedimentologiques -decrivant le fond vaseux, resultats d''un calcul precedent realise -sur le meme maillage et dont le dernier pas de temps enregistre -va fournir les conditions initiales pour une suite de de calcul.""", - ang = """Name of a file containing the sedimentological parameters -(thickness and concentration of the bed\ldots), results of an earlier -computation which was made on the same mesh. The last recorded time -step will provide the initial conditions for the new computation.""", - ), - ), -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MEAN_DIAMETER_OF_THE_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = .01, - fr = """Valeur du diametre D50 pour les sediments non cohesifs.""", - ang = """Sets the value of the diameter D50 for non cohesive sediments.""", - ), -# ----------------------------------- - FRICTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 3.0, - fr = """Ratio pour le calcul du frottement de peau. -rugosite de peau = ratio $\times$ diametre moyen.""", - ang = """ Ratio for the computation of skin friction. -skin roughness = ratio $\times$ mean diameter.""", - ), -# ----------------------------------- - SKIN_FRICTION_CORRECTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Prise en compte du frottement de peau : -\begin{itemize} -\item 0 : pas de correction (TAUP = TOB) voir aussi -\telkey{RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER} : -\telfile{S3D\_KSPRATIO} ; -\item 1 : fond plat (KSP = \telfile{S3D\_KSPRATIO} $\times$ -\telfile{S3D\_D50}) ; -\item 2 : prise en compte des rides (non programme). -\end{itemize}""", - ang = """Formula to predict the skin bed roughness: -\begin{itemize} -\item 0: No correction (TAUP = TOB) see also -\telkey{RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN} -\telfile{S3D\_KSPRATIO}, -\item 1: Flat bed (KSP = \telfile{S3D\_KSPRATIO} $\times$ -\telfile{S3D\_D50}), -\item 2: Ripple correction factor (not yet implemented). -\end{itemize}""", - ), - ), - ), -# ----------------------------------- - INITIALIZATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Pourcentage initial du sediment non cohesif (mixte).""", - ang = """Initial percentage of non cohesive sediment (mixed sediments).""", - ), -# ----------------------------------- - MUD_CONCENTRATIONS_PER_LAYER = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Concentration du lit de vase en g/L (definie par couches) en -commencant par la couche du fond.""", - ang = """Dry density of the mud-bed layers in g/L starting -form the bottom upwards.""", - ), -# ----------------------------------- - CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Taux critique d erosion de la vase (N/m$^2$). -Doit etre defini pour chaque couche en commencant par la couche de -fond.""", - ang = """Critical erosion shear stress of the mud per layer -(N/m$^2$). -Needs to be defined for each layer (N/m$^2$), -starting from the condolidated bottom layer upwards.""", - ), -# ----------------------------------- - INITIAL_THICKNESS_OF_SEDIMENT_LAYERS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Epaisseurs initiales des sediments (m).""", - ang = """Sediment layers thickness (m) for initialisation.""", - ), - ), -# ----------------------------------- - NUMERICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DIFFUSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["conjugate gradient","conjugate residual","conjugate gradient on a normal equation","minimum error","squared conjugate gradient","cgstab","gmres","direct solver"], - defaut = "conjugate gradient on a normal equation", - fr = """Permet de choisir le solveur utilise pour la resolution de -la diffusion du sediment. -Les choix possibles sont : -\begin{itemize} -\item 1 : gradient conjugue ; -\item 2 : residu conjugue ; -\item 3 : gradient conjugue sur equation normale ; -\item 4 : erreur minimale ; -\item 5 : gradient conjugue carre ; -\item 6 : CGSTAB ; -\item 7 : GMRES ; -\item 8 : solveur direct. -\end{itemize}""", - ang = """Choice of the solver for the sediment equation. -Possible choices are: -\begin{itemize} -\item 1: conjugate gradient, -\item 2: conjugate residual, -\item 3: conjugate gradient on a normal equation, -\item 4: minimum error, -\item 5: squared conjugate gradient, -\item 6: CGSTAB, -\item 7: GMRES, -\item 8: direct solver. -\end{itemize}""", - ), -# ----------------------------------- - b_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENTG = BLOC(condition="SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT == 'gmres'", -# ----------------------------------- -# ----------------------------------- - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 5, - fr = """Dimension de l''espace de Krylov pour la methode GMRES (7). -Ancienne valeur par defaut = 3 jusqu a la version V8P0.""", - ang = """Dimension of Krylov space for the GMRES method (7). -Old default value = 3 until version V8P0.""", - ), - ), -# ----------------------------------- - ACCURACY_FOR_DIFFUSION_OF_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.E-8, - fr = """Fixe la precision demandee pour le calcul de la diffusion -des sediments. -Ancienne valeur par defaut = 1.E-6 jusqu a la version V8P0.""", - ang = """Sets the accuracy needed for the computation of the -diffusion of sediments. -Old default value = 1.E-6 until version V8P0.""", - ), -# ----------------------------------- - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 60, - fr = """Limite le nombre d''iterations du solveur a chaque pas -de temps pour le calcul de la diffusion du sediment.""", - ang = """Limits the number of solver iterations for the diffusion of -sediment.""", - ), -# ----------------------------------- - PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no preconditioning","diagonal","diagonal condensed","diagonal with absolute values","Crout","Gauss-Seidel EBE","Matrix defined by the user","diagonal and Crout","direct solver on the vertical","diagonal condensed and Crout","diagonal and direct solver on the vertical"], - defaut = "diagonal", - fr = """Permet de preconditionner le systeme relatif -a la diffusion du sediment. Les choix possibles sont : -\begin{itemize} -\item 0 : aucun ; -\item 2 : diagonal ; -\item 3 : diagonal avec matrice condensee ; -\item 5 : diagonal avec valeurs absolues ; -\item 7 : Crout ; -\item 11 : Gauss-Seidel EBE ; -\item 13 : matrice fournie par l''utilisateur ; -\item 14 : diagonal et Crout ; -\item 17 : solveur direct sur la verticale ; -\item 21 : diagonal condensee et Crout ; -\item 34 : diagonal et solveur direct sur la verticale. -\end{itemize} -Certains preconditionnements sont cumulables -(les diagonaux 2 ou 3 avec les autres). -Pour cette raison on ne retient que les nombres premiers pour -designer les preconditionnements. Si l''on souhaite en cumuler -plusieurs on formera le produit des options correspondantes.""", - ang = """Choice of the preconditioning in the sediment diffusion -system that the convergence is speeded up when it is being solved. -Possible choices are: -\begin{itemize} -\item 0: no preconditioning, -\item 2: diagonal, -\item 3: diagonal with the condensed matrix, -\item 5: diagonal with absolute values, -\item 7: Crout, -\item 11: Gauss-Seidel EBE, -\item 13: matrix defined by the user, -\item 14: diagonal and Crout, -\item 17: direct solver on the vertical, -\item 21: diagonal condensed and Crout, -\item 34: diagonal and direct solver on the vertical. -\end{itemize} -Some operations (either 2 or 3 diagonal preconditioning) can be -performed concurrently with the others. -Only prime numbers are therefore kept to denote the preconditioning -operations. When several of them are to be performed concurrently, -the product of relevant options shall be done.""", - ), - ), - ), -# ----------------------------------- - TIDAL_FLATS_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Pour les profondeurs inferieures a cette valeur limite, le flux -sedimentaire sera nul. Voir le sous-programme \telfile{FLUSED}.""", - ang = """Below this limiting depth, all sediment erosion rates are set -to zero. See subroutine \telfile{FLUSED}.""", - ), - ), -# ----------------------------------- - DEPOSITION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CRITICAL_SHEAR_STRESS_FOR_DEPOSITION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Fixe la valeur de la contrainte de cisaillement au fond -au dessous de laquelle se produit le depot des sediments cohesifs.""", - ang = """Value of the critical bottom shear stress under which -deposition of cohesive sediments occurs.""", - ), -# ----------------------------------- - NON_COHESIVE_BED_POROSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.4, - fr = """La concentration massique du lit \telfile{S3D\_CFDEP} est definie par -\telfile{S3D\_CFDEP} = (1-\telfile{S3D\_XKV}) $\times$ -\telfile{S3D\_RHOS}. Ce parametre est utilise pour les sediments -non-cohesifs.""", - ang = """The bed volume concentration \telfile{S3D\_CFDEP} = -(1-\telfile{S3D\_XKV}) $\times$ \telfile{S3D\_RHOS} is used to calculate -the bed evolution of non-cohesive sand transport.""", - ), - ), -# ----------------------------------- - EROSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - EROSION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2.E-3, - fr = """Valeur du coefficient d''erosion utilise dans la formule -de Partheniades en kg/m$^2$/s.""", - ang = """Value of the erosion coefficient used in Partheniades -formula in kg/m$^2$/s.""", - ), - ), -# ----------------------------------- - SETTLING_VELOCITY = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CONSTANT_SEDIMENT_SETTLING_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.01, - fr = """Vitesse de chute constante en m/s (> 0 depuis v6.3). -Valeur imposee si -\telkey{INFLUENCE DE LA TURBULENCE SUR LA VITESSE DE CHUTE} -= NON.""", - ang = """Constant sediment settling velocity in m/s (>0 since v6.3). -Prescribed value if -\telkey{INFLUENCE OF TURBULENCE ON SETTLING VELOCITY} = NO.""", - ), -# ----------------------------------- - SETTLING_VELOCITY_OF_SANDS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Vitesse de chute du sediment non cohesif.""", - ang = """Non cohesive sediment settling velocity.""", - ), -# ----------------------------------- - ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Choix de schema vertical pour la diffusion et le depot du -sediment : -\begin{itemize} -\item 0 : Diffusion implicite ; -\item 1 : Schema implicite de convection-diffusion -(tridiagonal matrix solver) ; -\item 2 : Convection faible \telfile{sed\_fall.f} -\end{itemize}""", - ang = """Choice of the vertical scheme for diffusion and settling of -sediment: -\begin{itemize} -\item 0: Implicit-diffusion scheme, -\item 1: Implicit-convection scheme (Tridiagonal matrix solver), -\item 2: \telfile{set\_fall.f} -\end{itemize}""", - ), -# ----------------------------------- - HINDERED_SETTLING = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide si la formulation entravee doit etre utilisee -pour calculer la vitesse de chute de la vase.""", - ang = """Decides if hindered formulation is to be used to -compute settling velocity for mud.""", - ), -# ----------------------------------- - WEAK_SOIL_CONCENTRATION_FOR_MUD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.0, - fr = """Concentration limite en kg/m$^3$ au-dela de laquelle -la couche de vase fluide devient solide. -Cette valeur est demandee lorsque -\telkey{VITESSE DE CHUTE ENTRAVEE} = OUI.""", - ang = """The sediment concentration at which sediment -forms a weak soil in kg/m$^3$. These values are needed when -\telkey{HINDERED SETTLING} = YES.""", - ), -# ----------------------------------- - THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.0, - fr = """Concentration de sediment a laquelle la chute entravee est -initiee. Ces valeurs sont necessaires lorsque -\telkey{VITESSE DE CHUTE ENTRAVEE} = OUI.""", - ang = """The sediment concentration at which hindered settling is -initiated. These values are needed when -\telkey{HINDERED SETTLING} = YES.""", - ), -# ----------------------------------- - HINDERED_SETTLING_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Type de vitesse de chute entravee : -\begin{itemize} -\item 1 : Whitehouse et al. (2000) - fonctionne ; -\item 2 : Winterwerp (1999) - ne fonctionne pas actuellement. -\end{itemize}""", - ang = """Type of hindered settling: -\begin{itemize} -\item 1: Whitehouse et al. (2000) - working, -\item 2: Winterwerp (1999) - not currently working. -\end{itemize}""", - ), - ), -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - REFERENCE_CONCENTRATION_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """\begin{itemize} -\item 1 : formule de Zyserman et Fredsoe, formule d''equilibre ; -\item 3 : formule de Van Rijn (1987). -\end{itemize}""", - ang = """\begin{itemize} -\item 1: Zyserman and Fredsoe, equilibrium formula, -\item 3: Van Rijn formula (1987). -\end{itemize}""", - ), - ), -# ----------------------------------- - FLOCCULATION_INFO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FLOCCULATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide si la formulation entravee doit etre utilisee -pour calculer la vitesse de chute pour la vase.""", - ang = """Decides if hindered formulation is to be used to -compute settling velocity for mud.""", - ), -# ----------------------------------- - FLOCCULATION_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Formule pour floculation : -\begin{itemize} -\item 1: Van Leussen ; -\item 2: Soulsby et al. (2013). -\end{itemize}""", - ang = """Type of flocculation formula: -\begin{itemize} -\item 1: Van Leussen, -\item 2: Soulsby et al. (2013). -\end{itemize}""", - ), -# ----------------------------------- - FLOCCULATION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.3, - fr = """Coefficient intervenant dans la modelisation de l''influence de -la turbulence sur la floculation, il intervient plus precisement dans -le terme de formation des flocs par les contraintes turbulentes -(coefficient $a$ de la formule de Van Leussen). -Valeur a imposer si -\telkey{INFLUENCE DE LA TURBULENCE SUR LA VITESSE DE CHUTE} -= OUI.""", - ang = """When the influence of turbulence on the settling velocity -is modelled, this coefficient traduces the formation of flocs by -turbulence (coefficient $a$ of Van Leussen formula). -Value to be imposed if -\telkey{INFLUENCE OF TURBULENCE ON SETTLING VELOCITY} = YES.""", - ), -# ----------------------------------- - COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.09, - fr = """Coefficient intervenant dans la modelisation de l''influence de -la turbulence sur la floculation, il intervient plus precisement dans -le terme de destruction des flocs par les contraintes turbulentes -(coefficient $b$ de la formulede Van Leussen). -Valeur a imposer si -\telkey{INFLUENCE DE LA TURBULENCE SUR LA VITESSE DE CHUTE} -= OUI.""", - ang = """When the influence of turbulence on the settling velocity -is modelled, this coefficient traduces the breaking of flocs by -turbulence (coefficient $b$ of Van Leussen formula). -Value to be imposed if -\telkey{INFLUENCE OF TURBULENCE ON SETTLING VELOCITY} = YES.""", - ), - ), -# ----------------------------------- - DEPRECATED = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CLEANING_TO_BE_DONE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BED_LAYERS_THICKNESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 5.E-3, - fr = """Epaisseur de reference pour creer de nouvelles couches -de vase. Ce parametre est utilise seulement dans le cas -\telkey{OPTION DU MODELE DE TASSEMENT} = 2 -(modele de Gibson (Lenormant)). Avec ce modele, le sediment -qui se depose sur le fond est tout d''abord stocke dans une couche -tampon appelee couche des depots frais. C''est seulement quand -l''epaisseur de cette couche atteint la valeur donnee par le mot -cle \telkey{EPAISSEUR DES COUCHES DU FOND VASEUX} qu''une nouvelle -couche est cree au niveau du lit de vase.""", - ang = """Reference thickness considered for the creation of new -bed layers. -This parameter is used if \telkey{CONSOLIDATION MODEL} = 2 -(Gibson model (Lenormant)). -With this model, the sediment which settles on -the bottom arrives at first in the fresh deposit layer. When -the thickness of this layer is equal to the -\telkey{BED LAYERS THICKNESS}, -a new mud layer is added to the mud bed.""", - ), -# ----------------------------------- - MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 500., - fr = """Concentration maximale pouvant etre atteinte par une couche -de vase lors du tassement. -Ce parametre est utilise si \telkey{OPTION DU MODELE DE TASSEMENT} = 2 -(Modele de Gibson - Lenormant).""", - ang = """Maximum concentration which may be reached by a mud layer -during consolidation. -This value is used if \telkey{CONSOLIDATION MODEL} = 2 -(Gibson model (Lenormant)).""", - ), -# ----------------------------------- - RESIDENCE_TIME_FOR_MUD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min=30, max=30, - fr = """Tableau contenant les temps de sejour en heure et centieme -relatifs a chacune des couches discretisant le fond vaseux -(la premiere valeur correspond a la couche du fond et la derniere -correspond a la couche superficielle). -Valeurs necessaires si \telkey{OPTION DU MODELE DE TASSEMENT} = 1 -(Modele multicouches empirique).""", - ang = """Array which contains the residence times of the mud bed -layers (the first value is related to the bottom layer and the -last one to the top layer). -These values are needed when \telkey{CONSOLIDATION MODEL} = 1 -(Empirical multilayer model).""", - ), - ), -# ----------------------------------- - TO_BE_CHECKED = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CONSOLIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Logique pour la prise en compte du tassement des depots vaseux -a l''aide d''un modele multicouches : les couches discretisant le fond -sont caracterisees par leur temps de sejour, temps au bout duquel la -vase presente dans cette couche bascule dans la couche suivante plus -consolidee.""", - ang = """If this key word is equal to YES, consolidation is simulated -thanks to a multi-layers model: the bed layers are characterized by -their residence time which is the time after which the quantity of -mud which remains in a layer goes into a more consolidated layer.""", - ), -# ----------------------------------- - CONSOLIDATION_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Choix du modele de tassement : -\begin{itemize} -\item 1 : Modele multicouches empirique ; -\item 2 : Modele de Gibson (Lenormant). -\end{itemize}""", - ang = """Choice of the consolidation model: -\begin{itemize} -\item 1: Empirical multilayer model, -\item 2: Gibson model (Lenormant). -\end{itemize}""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -COUPLING = PROC(nom= "COUPLING",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - COUPLING_WITH = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['','SISYPHE','TOMAWAC','TOMAWACT3D','WAQTEL','DELWAQ','GAIA'], - defaut = '', - fr = """Liste des codes avec lesquels on couple \telemac{3d} : -\begin{itemize} -\item \sisyphe : couplage interne avec \sisyphe ; -\item \tomawac : couplage interne avec \tomawac les forces -induites par les vagues sont constantes sur la hauteur ; -\item TOMAWACT3D : couplage interne avec \tomawac les forces -induites par les vagues sont 3D ; -\item \waqtel : couplage interne avec \waqtel ; -\item DELWAQ : sortie de fichiers de resultats pour Delwaq ; -\item \gaia : couplage interne avec \gaia. -\end{itemize}""", - ang = """List of codes to be coupled with \telemac{3d}: -\begin{itemize} -\item \sisyphe: internal coupling with \sisyphe, -\item \tomawac: internal coupling with \tomawac, forces are constant -along the depth, -\item TOMAWACT3D: internal coupling with \tomawac, forces are 3D, -\item \waqtel: internal coupling with \waqtel, -\item DELWAQ: will yield results file for DELWAQ, -\item \gaia: internal coupling with \gaia. -\end{itemize}""", - ), -# ----------------------------------- - b_COUPLING_WITHG = BLOC(condition="COUPLING_WITH == 'SISYPHE'", -# ----------------------------------- -# ----------------------------------- - SISYPHE_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres de \sisyphe en cas de couplage -interne.""", - ang = """\sisyphe parameter file in case of internal coupling.""", - ), -# ----------------------------------- - COUPLING_PERIOD_FOR_SISYPHE = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Fixe la periode de couplage avec le module \sisyphe, -en nombre de pas de temps. -Par defaut, il est couple a chaque pas de temps.""", - ang = """Sets the coupling period with the \sisyphe module, in number -of time steps. By default, it is coupled at every time step.""", - ), - ), -# ----------------------------------- - b_COUPLING_WITHH = BLOC(condition="COUPLING_WITH == 'TOMAWAC'", -# ----------------------------------- -# ----------------------------------- - TOMAWAC_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres de \tomawac en cas de couplage -interne.""", - ang = """\tomawac parameter file in case of internal coupling.""", - ), -# ----------------------------------- - COUPLING_PERIOD_FOR_TOMAWAC = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Fixe la periode de couplage avec le module \tomawac, -en nombre de pas de temps. -Par defaut, il est couple a chaque pas de temps.""", - ang = """Sets the coupling period with the \tomawac module, in number -of time steps. By default, it is coupled at every time step.""", - ), - ), -# ----------------------------------- - b_COUPLING_WITHI = BLOC(condition="COUPLING_WITH == 'WAQTEL'", -# ----------------------------------- -# ----------------------------------- - WAQTEL_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', max='**', - defaut = '', - fr = """Fichier des parametres physiques pour les processus de qualite d eau -(internes, pas ceux de DELWAQ).""", - ang = """File for physical parameters of water quality processes -(local ones of \telemac{3d}-\waqtel not those of DELWAQ).""", - ), -# ----------------------------------- - WATER_QUALITY_PROCESS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Donne le numero du processus de qualite d''eau, defini -comme une combinaison multiplicative de nombres premiers -(2, 3, 5, 7, 11, 13, 17 et 19) avec les cas particuliers 0 et 1 : -\begin{itemize} -\item 0 : tous ; -\item 1 : rien ; -\item 2 : O2 ; -\item 3 : BIOMASS ; -\item 5 : EUTRO ; -\item 7 : MICROPOL ; -\item 11 : THERMIC ; -\item 13 : AED2 ; -\item 17 : Loi de degradation ; -\item 19 : Court-circuit temporaire pour les glaces. -\end{itemize} -Exemple : 110 = 2x5x11 activera O2, EUTRO et THERMIC ensemble. -On notera qu''AED2, pour l''instant, doit etre utilise toute seule -sans combinaison possible avec d autre processus de qualite de l eau.""", - ang = """Gives the water quality process number, defined as -a multiplicative combination of prime numbers (2, 3, 5, 7, 11, 13, 17 -and 19) with 0 and 1 having a special role: -\begin{itemize} -\item 0: all, -\item 1: none, -\item 2: O2, -\item 3: BIOMASS, -\item 5: EUTRO, -\item 7: MICROPOL, -\item 11: THERMIC, -\item 13: AED2, -\item 17: Degradation law, -\item 19: Ghost process for ice modelling. -\end{itemize} -Example: 110 = 2x5x11 activates O2, EUTRO and THERMIC together. -It is noted that AED2 should be used on its own, for the time being, -without possible combination with other processes.""", - ), - ), -# ----------------------------------- - b_COUPLING_WITHJ = BLOC(condition="COUPLING_WITH == 'DELWAQ'", -# ----------------------------------- -# ----------------------------------- - DELWAQ_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de commande pour le chainage avec DELWAQ.""", - ang = """Steering file for chaining with DELWAQ.""", - ), -# ----------------------------------- - DELWAQ_PRINTOUT_PERIOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Periode de sortie des resultats pour DELWAQ.""", - ang = """Printout period for DELWAQ files.""", - ), -# ----------------------------------- - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - NODES_DISTANCES_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - BOTTOM_SURFACES_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VOLUMES_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - EXCHANGE_AREAS_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VERTICAL_FLUXES_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), -# ----------------------------------- - VELOCITY_FOR_DELWAQ = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la vitesse pour DELWAQ.""", - ang = """Triggers the output of velocity for DELWAQ.""", - ), -# ----------------------------------- - b_VELOCITY_FOR_DELWAQG = BLOC(condition="VELOCITY_FOR_DELWAQ == True", -# ----------------------------------- -# ----------------------------------- - VELOCITY_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), - ), -# ----------------------------------- - DIFFUSION_FOR_DELWAQ = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la diffusion pour DELWAQ.""", - ang = """Triggers the output of diffusion for DELWAQ.""", - ), -# ----------------------------------- - b_DIFFUSION_FOR_DELWAQG = BLOC(condition="DIFFUSION_FOR_DELWAQ == True", -# ----------------------------------- -# ----------------------------------- - DIFFUSIVITY_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), - ), -# ----------------------------------- - TEMPERATURE_FOR_DELWAQ = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la temperature pour DELWAQ.""", - ang = """Triggers the output of temperature for DELWAQ.""", - ), -# ----------------------------------- - b_TEMPERATURE_FOR_DELWAQG = BLOC(condition="TEMPERATURE_FOR_DELWAQ == True", -# ----------------------------------- -# ----------------------------------- - TEMPERATURE_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), - ), -# ----------------------------------- - SALINITY_FOR_DELWAQ = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Decide de la sortie de la salinite pour DELWAQ.""", - ang = """Triggers the output of salinity for DELWAQ.""", - ), -# ----------------------------------- - b_SALINITY_FOR_DELWAQG = BLOC(condition="SALINITY_FOR_DELWAQ == True", -# ----------------------------------- -# ----------------------------------- - SALINITY_DELWAQ_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - defaut = '', - fr = """Fichier de resultats pour le chainage avec DELWAQ.""", - ang = """Results file for chaining with DELWAQ.""", - ), - ), - ), -# ----------------------------------- - SISYPHE = FACT(statut='f', -# ----------------------------------- - ), -# ----------------------------------- - TOMAWAC = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - BOTTOM_FRICTION_DUE_TO_WAVES = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet de prendre en compte les efforts dus aux vagues sur -le fond dans le cas du couplage 3D. Ceci necessite d avoir -un maillage fin au voisinage du fond pour etre suffisamment precis.""", - ang = """Allows to take into account the momentum lost by waves due to -bottom friction. You need a fine mesh around the bottom to -be precise.""", - ), - ), -# ----------------------------------- - WAQTEL = FACT(statut='f', -# ----------------------------------- - ), -# ----------------------------------- - DELWAQ = FACT(statut='f', -# ----------------------------------- - ), -# ----------------------------------- - GAIA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GAIA_STEERING_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Fichier des parametres de \gaia en cas de couplage -interne.""", - ang = """\gaia parameter file in case of internal coupling.""", - ), - ), -) -# ----------------------------------------------------------------------- -AUTOMATIC_DIFFERENTIATION = PROC(nom= "AUTOMATIC_DIFFERENTIATION",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - AD_NUMBER_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Definit le nombre de derivees utilisateurs, dans le cadre -de la differentiation algorithmique.""", - ang = """Defines the number of user derivatives, within the framework -of the algorithmic differentiation.""", - ), -# ----------------------------------- - AD_NAMES_OF_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 2, max= 2, - fr = """Noms des derivees utilisateurs en 32 caracteres, - 16 pour le nom, 16 pour l''unite.""", - ang = """Name of user derivatives in 32 characters, - 16 for the name, 16 for the unit.""", - ), -# ----------------------------------- - AD_NUMBER_OF_DIRECTIONS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Definit le nombre de directions de differentiateurs.""", - ang = """Defines the number of directions for the differentiators.""", - ), -# ----------------------------------- - AD_SYMBOLIC_LINEAR_SOLVER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Permet le solveur lineaire symbolique pour l AD.""", - ang = """Enables the symbolic linear solver for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_RESET_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Remet a zero les derivees pour l AD.""", - ang = """Resets the derivatives for AD.""", - ), -# ----------------------------------- - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Solveur lineaire iteratif : test de convergence des derivees -pour l AD.""", - ang = """Iterative linear solvers: derivative convergence test for AD.""", - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - PARTITIONING_TOOL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['METIS','SCOTCH','PARMETIS','PTSCOTCH'], - defaut = 'METIS', - fr = """Choix du partitionneur : -\begin{itemize} -\item 1 : METIS ; -\item 2 : SCOTCH ; -\item 3 : PARMETIS ; -\item 4 : PTSCOTCH. -\end{itemize}""", - ang = """Partitioning tool selection: -\begin{itemize} -\item 1: METIS, -\item 2: SCOTCH, -\item 3: PARMETIS, -\item 4: PTSCOTCH. -\end{itemize}""", - ), -# ----------------------------------- - STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul a realiser.""", - ang = """Name of the file containing the parameters of the computation. -Written by the user.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'telemac3d.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -# ----------------------------------- - CONCATENATE_PARTEL_OUTPUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Avec cette option partel ne generera non plus un fichier (GEO/CLI/PAR) -par processeur mais une concatenation de ceux-ci, ainsi qu''un fichier -d''index associe. Ainsi plutot que d''avoir 3P fichiers, il n''y en a -plus que 6.""", - ang = """With this option partel no more generates a file (GEO/CLI/PAR) per -process but a single concatenate file of them, associated to an index -file. Then instead of having partel generating 3P files, it only -generates 6 files.""", - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -GENERAL_PARAMETERS();\ -VERTICAL();\ -NUMERICAL_PARAMETERS();\ -HYDRODYNAMICS();\ -HYDRO();\ -TURBULENCE();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'GENERAL_PARAMETERS', -'VERTICAL', -'NUMERICAL_PARAMETERS', -'HYDRODYNAMICS', -'HYDRO', -'TIDES', -'TURBULENCE', -'TRACERS', -'SEDIMENT_INFO', -'COUPLING', -'AUTOMATIC_DIFFERENTIATION', -'INTERNAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.telemac3d_enum_auto' -dicoCasEn = source+'.telemac3d_dicoCasEnToCata' -dicoCasFr = source+'.telemac3d_dicoCasFrToCata' diff --git a/Telemac/telemac3d_dicoCasEnToCata.py b/Telemac/telemac3d_dicoCasEnToCata.py deleted file mode 100644 index 95760f7c..00000000 --- a/Telemac/telemac3d_dicoCasEnToCata.py +++ /dev/null @@ -1,678 +0,0 @@ -dicoCataToEngTelemac = { - "TITLE" : "TITLE", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "MAXIMUM NUMBER OF BOUNDARIES", - "MAXIMUM_NUMBER_OF_TRACERS" : "MAXIMUM NUMBER OF TRACERS", - "MAXIMUM_NUMBER_OF_SOURCES" : "MAXIMUM NUMBER OF SOURCES", - "MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED" : "MAXIMUM NUMBER OF BOUNDARIES ON THE BED", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "BINARY_BOUNDARY_DATA_FILE" : "BINARY BOUNDARY DATA FILE", - "BINARY_BOUNDARY_DATA_FILE_FORMAT" : "BINARY BOUNDARY DATA FILE FORMAT", - "FORTRAN_FILE" : "FORTRAN FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "NUMBER_OF_BOTTOM_SMOOTHINGS" : "NUMBER OF BOTTOM SMOOTHINGS", - "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS" : "BOTTOM SMOOTHINGS AFTER USER MODIFICATIONS", - "FORMATTED_DATA_FILE_1" : "FORMATTED DATA FILE 1", - "FORMATTED_DATA_FILE_2" : "FORMATTED DATA FILE 2", - "BINARY_DATA_FILE_1" : "BINARY DATA FILE 1", - "BINARY_DATA_FILE_1_FORMAT" : "BINARY DATA FILE 1 FORMAT", - "BINARY_DATA_FILE_2" : "BINARY DATA FILE 2", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE" : "REFERENCE FILE", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "RD_RESULT_FILE" : "3D RESULT FILE", - "RD_RESULT_FILE_FORMAT" : "3D RESULT FILE FORMAT", - "ED_RESULT_FILE" : "2D RESULT FILE", - "ED_RESULT_FILE_FORMAT" : "2D RESULT FILE FORMAT", - "RESULT_FILE_IN_LONGITUDE_LATITUDE" : "RESULT FILE IN LONGITUDE-LATITUDE", - "VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS" : "VARIABLES FOR 3D GRAPHIC PRINTOUTS", - "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS" : "VARIABLES FOR 2D GRAPHIC PRINTOUTS", - "GRAPHIC_PRINTOUT_PERIOD" : "GRAPHIC PRINTOUT PERIOD", - "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS" : "NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS", - "NUMBER_OF_PRIVATE_ARRAYS" : "NUMBER OF PRIVATE ARRAYS", - "NUMBER_OF_2D_PRIVATE_ARRAYS" : "NUMBER OF 2D PRIVATE ARRAYS", - "NAMES_OF_2D_PRIVATE_VARIABLES" : "NAMES OF 2D PRIVATE VARIABLES", - "FORMATTED_RESULTS_FILE" : "FORMATTED RESULTS FILE", - "BINARY_RESULTS_FILE" : "BINARY RESULTS FILE", - "LISTING_PRINTOUT" : "LISTING PRINTOUT", - "MASS_BALANCE" : "MASS-BALANCE", - "INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT" : "INFORMATION ABOUT MASS-BALANCE FOR EACH LISTING PRINTOUT", - "LISTING_PRINTOUT_PERIOD" : "LISTING PRINTOUT PERIOD", - "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS" : "NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS", - "COMPUTATION_CONTINUED" : "COMPUTATION CONTINUED", - "PREVIOUS_COMPUTATION_FILE" : "PREVIOUS COMPUTATION FILE", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "PREVIOUS COMPUTATION FILE FORMAT", - "RECORD_NUMBER_FOR_RESTART" : "RECORD NUMBER FOR RESTART", - "INITIAL_TIME_SET_TO_ZERO" : "INITIAL TIME SET TO ZERO", - "RESTART_MODE" : "RESTART MODE", - "RESTART_FILE" : "RESTART FILE", - "RESTART_FILE_FORMAT" : "RESTART FILE FORMAT", - "ED_CONTINUATION" : "2D CONTINUATION", - "FILE_FOR_2D_CONTINUATION" : "FILE FOR 2D CONTINUATION", - "FILE_FOR_2D_CONTINUATION_FORMAT" : "FILE FOR 2D CONTINUATION FORMAT", - "DEBUGGER" : "DEBUGGER", - "TIME_STEP" : "TIME STEP", - "NUMBER_OF_TIME_STEPS" : "NUMBER OF TIME STEPS", - "DURATION" : "DURATION", - "ORIGINAL_DATE_OF_TIME" : "ORIGINAL DATE OF TIME", - "ORIGINAL_HOUR_OF_TIME" : "ORIGINAL HOUR OF TIME", - "SPHERICAL_COORDINATES" : "SPHERICAL COORDINATES", - "SPATIAL_PROJECTION_TYPE" : "SPATIAL PROJECTION TYPE", - "LATITUDE_OF_ORIGIN_POINT" : "LATITUDE OF ORIGIN POINT", - "LONGITUDE_OF_ORIGIN_POINT" : "LONGITUDE OF ORIGIN POINT", - "NORTH" : "NORTH", - "NUMBER_OF_HORIZONTAL_LEVELS" : "NUMBER OF HORIZONTAL LEVELS", - "MESH_TRANSFORMATION" : "MESH TRANSFORMATION", - "MINIMUM_VOLUME_OF_3D_ELEMENTS" : "MINIMUM VOLUME OF 3D ELEMENTS", - "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM" : "MINIMUM DISTANCE BETWEEN PLANES CLOSE TO THE BOTTOM", - "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE" : "MINIMUM DISTANCE BETWEEN PLANES CLOSE TO THE FREE SURFACE", - "THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS" : "THRESHOLD HEIGHT BEFORE CRUSHED ELEMENTS", - "NUMBER_OF_TRACER_FOR_AMR" : "NUMBER OF TRACER FOR AMR", - "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES" : "NUMBER OF SUB ITERATIONS FOR NON LINEARITIES", - "ZERO" : "ZERO", - "ADVECTION_STEP" : "ADVECTION STEP", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TREATMENT OF FLUXES AT THE BOUNDARIES", - "SUPG_OPTION" : "SUPG OPTION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES", - "MASS_LUMPING_FOR_DIFFUSION" : "MASS-LUMPING FOR DIFFUSION", - "NON_HYDROSTATIC_VERSION" : "NON-HYDROSTATIC VERSION", - "ELEMENTS_MASKED_BY_USER" : "ELEMENTS MASKED BY USER", - "GRAVITY_ACCELERATION" : "GRAVITY ACCELERATION", - "AVERAGE_WATER_DENSITY" : "AVERAGE WATER DENSITY", - "LAW_OF_BOTTOM_FRICTION" : "LAW OF BOTTOM FRICTION", - "FRICTION_COEFFICIENT_FOR_THE_BOTTOM" : "FRICTION COEFFICIENT FOR THE BOTTOM", - "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES" : "LAW OF FRICTION ON LATERAL BOUNDARIES", - "FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES" : "FRICTION COEFFICIENT FOR LATERAL SOLID BOUNDARIES", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS_COEFFICIENT" : "CORIOLIS COEFFICIENT", - "WIND" : "WIND", - "OPTION_FOR_WIND" : "OPTION FOR WIND", - "WIND_VELOCITY_ALONG_X" : "WIND VELOCITY ALONG X", - "WIND_VELOCITY_ALONG_Y" : "WIND VELOCITY ALONG Y", - "COEFFICIENT_OF_WIND_INFLUENCE" : "COEFFICIENT OF WIND INFLUENCE", - "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED" : "COEFFICIENT OF WIND INFLUENCE VARYING WITH WIND SPEED", - "THRESHOLD_DEPTH_FOR_WIND" : "THRESHOLD DEPTH FOR WIND", - "AIR_PRESSURE" : "AIR PRESSURE", - "VALUE_OF_ATMOSPHERIC_PRESSURE" : "VALUE OF ATMOSPHERIC PRESSURE", - "RAIN_OR_EVAPORATION" : "RAIN OR EVAPORATION", - "RAIN_OR_EVAPORATION_IN_MM_PER_DAY" : "RAIN OR EVAPORATION IN MM PER DAY", - "ASCII_ATMOSPHERIC_DATA_FILE" : "ASCII ATMOSPHERIC DATA FILE", - "BINARY_ATMOSPHERIC_DATA_FILE" : "BINARY ATMOSPHERIC DATA FILE", - "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT" : "BINARY ATMOSPHERIC DATA FILE FORMAT", - "AIR_TEMPERATURE" : "AIR TEMPERATURE", - "CLOUD_COVER" : "CLOUD COVER", - "SOLAR_RADIATION" : "SOLAR RADIATION", - "RELATIVE_HUMIDITY" : "RELATIVE HUMIDITY", - "SOURCES_FILE" : "SOURCES FILE", - "GLOBAL_NUMBERS_OF_SOURCE_NODES" : "GLOBAL NUMBERS OF SOURCE NODES", - "TYPE_OF_SOURCES" : "TYPE OF SOURCES", - "ABSCISSAE_OF_SOURCES" : "ABSCISSAE OF SOURCES", - "ORDINATES_OF_SOURCES" : "ORDINATES OF SOURCES", - "ELEVATIONS_OF_SOURCES" : "ELEVATIONS OF SOURCES", - "WATER_DISCHARGE_OF_SOURCES" : "WATER DISCHARGE OF SOURCES", - "VELOCITIES_OF_THE_SOURCES_ALONG_X" : "VELOCITIES OF THE SOURCES ALONG X", - "VELOCITIES_OF_THE_SOURCES_ALONG_Y" : "VELOCITIES OF THE SOURCES ALONG Y", - "VELOCITIES_OF_THE_SOURCES_ALONG_Z" : "VELOCITIES OF THE SOURCES ALONG Z", - "WAVE_DRIVEN_CURRENTS" : "WAVE DRIVEN CURRENTS", - "RECORD_NUMBER_IN_WAVE_FILE" : "RECORD NUMBER IN WAVE FILE", - "PRESCRIBED_ELEVATIONS" : "PRESCRIBED ELEVATIONS", - "PRESCRIBED_FLOWRATES" : "PRESCRIBED FLOWRATES", - "PRESCRIBED_VELOCITIES" : "PRESCRIBED VELOCITIES", - "LIQUID_BOUNDARIES_FILE" : "LIQUID BOUNDARIES FILE", - "VELOCITY_PROFILES" : "VELOCITY PROFILES", - "VELOCITY_VERTICAL_PROFILES" : "VELOCITY VERTICAL PROFILES", - "STAGE_DISCHARGE_CURVES" : "STAGE-DISCHARGE CURVES", - "STAGE_DISCHARGE_CURVES_FILE" : "STAGE-DISCHARGE CURVES FILE", - "OPTION_FOR_LIQUID_BOUNDARIES" : "OPTION FOR LIQUID BOUNDARIES", - "TURBULENCE_REGIME_FOR_THE_BOTTOM" : "TURBULENCE REGIME FOR THE BOTTOM", - "TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES" : "TURBULENCE REGIME FOR LATERAL SOLID BOUNDARIES", - "BOUNDARY_CONDITION_ON_THE_BOTTOM" : "BOUNDARY CONDITION ON THE BOTTOM", - "VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES" : "VELOCITY PROJECTED ON SOLID LATERAL BOUNDARIES", - "VELOCITY_PROJECTED_ON_BOTTOM" : "VELOCITY PROJECTED ON BOTTOM", - "OPEN_BOUNDARY_CONDITIONS_ON_THE_BED" : "OPEN BOUNDARY CONDITIONS ON THE BED", - "PRESCRIBED_FLOWRATES_ON_THE_BED" : "PRESCRIBED FLOWRATES ON THE BED", - "INITIAL_CONDITIONS" : "INITIAL CONDITIONS", - "INITIAL_ELEVATION" : "INITIAL ELEVATION", - "INITIAL_DEPTH" : "INITIAL DEPTH", - "MATRIX_STORAGE" : "MATRIX STORAGE", - "MASS_LUMPING_FOR_DEPTH" : "MASS-LUMPING FOR DEPTH", - "HYDROSTATIC_INCONSISTENCY_FILTER" : "HYDROSTATIC INCONSISTENCY FILTER", - "ELEMENT" : "ELEMENT", - "SOLVER_FOR_PROPAGATION" : "SOLVER FOR PROPAGATION", - "ACCURACY_FOR_PROPAGATION" : "ACCURACY FOR PROPAGATION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION" : "MAXIMUM NUMBER OF ITERATIONS FOR PROPAGATION", - "PRECONDITIONING_FOR_PROPAGATION" : "PRECONDITIONING FOR PROPAGATION", - "OPTION_OF_SOLVER_FOR_PROPAGATION" : "OPTION OF SOLVER FOR PROPAGATION", - "INITIAL_GUESS_FOR_DEPTH" : "INITIAL GUESS FOR DEPTH", - "LINEARIZED_PROPAGATION" : "LINEARIZED PROPAGATION", - "MEAN_DEPTH_FOR_LINEARIZATION" : "MEAN DEPTH FOR LINEARIZATION", - "SCHEME_FOR_ADVECTION_OF_DEPTH" : "SCHEME FOR ADVECTION OF DEPTH", - "SCHEME_FOR_ADVECTION_OF_VELOCITIES" : "SCHEME FOR ADVECTION OF VELOCITIES", - "FREE_SURFACE_GRADIENT_COMPATIBILITY" : "FREE SURFACE GRADIENT COMPATIBILITY", - "BYPASS_VOID_VOLUMES" : "BYPASS VOID VOLUMES", - "MASS_LUMPING_FOR_VELOCITIES" : "MASS-LUMPING FOR VELOCITIES", - "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES" : "SCHEME OPTION FOR ADVECTION OF VELOCITIES", - "OPTION_FOR_CHARACTERISTICS" : "OPTION FOR CHARACTERISTICS", - "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS" : "NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS", - "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS" : "MASS-LUMPING FOR WEAK CHARACTERISTICS", - "SCHEME_FOR_DIFFUSION_OF_VELOCITIES" : "SCHEME FOR DIFFUSION OF VELOCITIES", - "SOLVER_FOR_DIFFUSION_OF_VELOCITIES" : "SOLVER FOR DIFFUSION OF VELOCITIES", - "ACCURACY_FOR_DIFFUSION_OF_VELOCITIES" : "ACCURACY FOR DIFFUSION OF VELOCITIES", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES" : "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF VELOCITIES", - "PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES" : "PRECONDITIONING FOR DIFFUSION OF VELOCITIES", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES" : "OPTION OF SOLVER FOR DIFFUSION OF VELOCITIES", - "IMPLICITATION_FOR_DIFFUSION" : "IMPLICITATION FOR DIFFUSION", - "SOLVER_FOR_PPE" : "SOLVER FOR PPE", - "ACCURACY_FOR_PPE" : "ACCURACY FOR PPE", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE" : "MAXIMUM NUMBER OF ITERATIONS FOR PPE", - "PRECONDITIONING_FOR_PPE" : "PRECONDITIONING FOR PPE", - "OPTION_OF_SOLVER_FOR_PPE" : "OPTION OF SOLVER FOR PPE", - "DYNAMIC_PRESSURE_IN_WAVE_EQUATION" : "DYNAMIC PRESSURE IN WAVE EQUATION", - "DYNAMIC_BOUNDARY_CONDITION" : "DYNAMIC BOUNDARY CONDITION", - "CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES" : "CONTINUITY CORRECTION ON OPEN BOUNDARIES", - "IMPLICITATION_FOR_DEPTH" : "IMPLICITATION FOR DEPTH", - "IMPLICITATION_FOR_VELOCITIES" : "IMPLICITATION FOR VELOCITIES", - "TIDAL_FLATS" : "TIDAL FLATS", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION FOR THE TREATMENT OF TIDAL FLATS", - "TREATMENT_OF_NEGATIVE_DEPTHS" : "TREATMENT OF NEGATIVE DEPTHS", - "TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES" : "TREATMENT ON TIDAL FLATS FOR VELOCITIES", - "THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS" : "THRESHOLD FOR VISCOSITY CORRECTION ON TIDAL FLATS", - "MINIMAL_VALUE_FOR_DEPTH" : "MINIMAL VALUE FOR DEPTH", - "BINARY_DATABASE_1_FOR_TIDE" : "BINARY DATABASE 1 FOR TIDE", - "BINARY_DATABASE_2_FOR_TIDE" : "BINARY DATABASE 2 FOR TIDE", - "GEOGRAPHIC_SYSTEM" : "GEOGRAPHIC SYSTEM", - "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM" : "ZONE NUMBER IN GEOGRAPHIC SYSTEM", - "LAMBERT_93_CONVERSION_FILE" : "LAMBERT 93 CONVERSION FILE", - "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL" : "COEFFICIENT TO CALIBRATE SEA LEVEL", - "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER", - "MINOR_CONSTITUENTS_INFERENCE" : "MINOR CONSTITUENTS INFERENCE", - "INITIAL_VELOCITIES_COMPUTED_BY_TPXO" : "INITIAL VELOCITIES COMPUTED BY TPXO", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS" : "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES INITIAL CONDITIONS", - "TIDE_GENERATING_FORCE" : "TIDE GENERATING FORCE", - "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS" : "OPTION FOR TIDAL BOUNDARY CONDITIONS", - "TIDAL_DATA_BASE" : "TIDAL DATA BASE", - "HARMONIC_CONSTANTS_FILE" : "HARMONIC CONSTANTS FILE", - "TIDAL_MODEL_FILE" : "TIDAL MODEL FILE", - "TIDAL_MODEL_FILE_FORMAT" : "TIDAL MODEL FILE FORMAT", - "ASCII_DATABASE_FOR_TIDE" : "ASCII DATABASE FOR TIDE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE" : "COEFFICIENT TO CALIBRATE TIDAL RANGE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES" : "COEFFICIENT TO CALIBRATE TIDAL VELOCITIES", - "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS" : "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES BOUNDARY CONDITIONS", - "MAXIMUM_NUMBER_OF_DROGUES" : "MAXIMUM NUMBER OF DROGUES", - "ASCII_DROGUES_FILE" : "ASCII DROGUES FILE", - "BINARY_DROGUES_FILE" : "BINARY DROGUES FILE", - "DROGUES_FILE_FORMAT" : "DROGUES FILE FORMAT", - "PRINTOUT_PERIOD_FOR_DROGUES" : "PRINTOUT PERIOD FOR DROGUES", - "OIL_SPILL_MODEL" : "OIL SPILL MODEL", - "OIL_SPILL_STEERING_FILE" : "OIL SPILL STEERING FILE", - "NUMBER_OF_CULVERTS" : "NUMBER OF CULVERTS", - "CULVERTS_DATA_FILE" : "CULVERTS DATA FILE", - "OPTION_FOR_CULVERTS" : "OPTION FOR CULVERTS", - "HORIZONTAL_TURBULENCE_MODEL" : "HORIZONTAL TURBULENCE MODEL", - "VERTICAL_TURBULENCE_MODEL" : "VERTICAL TURBULENCE MODEL", - "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES" : "COEFFICIENT FOR HORIZONTAL DIFFUSION OF VELOCITIES", - "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES" : "COEFFICIENT FOR VERTICAL DIFFUSION OF VELOCITIES", - "MIXING_LENGTH_MODEL" : "MIXING LENGTH MODEL", - "DAMPING_FUNCTION" : "DAMPING FUNCTION", - "PRANDTL_NUMBER" : "PRANDTL NUMBER", - "KARMAN_CONSTANT" : "KARMAN CONSTANT", - "GOTM_STEERING_FILE" : "GOTM STEERING FILE", - "FICTITIOUS_BED_LEVEL" : "FICTITIOUS BED LEVEL", - "OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON" : "OPTION FOR THE BOUNDARY CONDITIONS OF K-EPSILON", - "VERTICAL_VELOCITY_DERIVATIVES" : "VERTICAL VELOCITY DERIVATIVES", - "SCHEME_FOR_ADVECTION_OF_K_EPSILON" : "SCHEME FOR ADVECTION OF K-EPSILON", - "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON" : "SCHEME OPTION FOR ADVECTION OF K-EPSILON", - "SCHEME_FOR_DIFFUSION_OF_K_EPSILON" : "SCHEME FOR DIFFUSION OF K-EPSILON", - "SOLVER_FOR_DIFFUSION_OF_K_EPSILON" : "SOLVER FOR DIFFUSION OF K-EPSILON", - "ACCURACY_FOR_DIFFUSION_OF_K_EPSILON" : "ACCURACY FOR DIFFUSION OF K-EPSILON", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON" : "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF K-EPSILON", - "PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON" : "PRECONDITIONING FOR DIFFUSION OF K-EPSILON", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON" : "OPTION OF SOLVER FOR DIFFUSION OF K-EPSILON", - "TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON" : "TREATMENT ON TIDAL FLATS FOR K-EPSILON", - "NUMBER_OF_TRACERS" : "NUMBER OF TRACERS", - "NAMES_OF_TRACERS" : "NAMES OF TRACERS", - "VALUES_OF_TRACERS_IN_THE_RAIN" : "VALUES OF TRACERS IN THE RAIN", - "VALUE_OF_THE_TRACERS_AT_THE_SOURCES" : "VALUE OF THE TRACERS AT THE SOURCES", - "DENSITY_LAW" : "DENSITY LAW", - "STANDARD_VALUES_FOR_TRACERS" : "STANDARD VALUES FOR TRACERS", - "BETA_EXPANSION_COEFFICIENT_FOR_TRACERS" : "BETA EXPANSION COEFFICIENT FOR TRACERS", - "PRESCRIBED_TRACERS_VALUES" : "PRESCRIBED TRACERS VALUES", - "TRACERS_VERTICAL_PROFILES" : "TRACERS VERTICAL PROFILES", - "INITIAL_VALUES_OF_TRACERS" : "INITIAL VALUES OF TRACERS", - "SCHEME_FOR_ADVECTION_OF_TRACERS" : "SCHEME FOR ADVECTION OF TRACERS", - "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS" : "SCHEME OPTION FOR ADVECTION OF TRACERS", - "SCHEME_FOR_DIFFUSION_OF_TRACERS" : "SCHEME FOR DIFFUSION OF TRACERS", - "SOLVER_FOR_DIFFUSION_OF_TRACERS" : "SOLVER FOR DIFFUSION OF TRACERS", - "ACCURACY_FOR_DIFFUSION_OF_TRACERS" : "ACCURACY FOR DIFFUSION OF TRACERS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS" : "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS", - "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS" : "PRECONDITIONING FOR DIFFUSION OF TRACERS", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS" : "OPTION OF SOLVER FOR DIFFUSION OF TRACERS", - "TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS" : "TREATMENT ON TIDAL FLATS FOR TRACERS", - "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS" : "COEFFICIENT FOR HORIZONTAL DIFFUSION OF TRACERS", - "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS" : "COEFFICIENT FOR VERTICAL DIFFUSION OF TRACERS", - "SEDIMENT" : "SEDIMENT", - "DENSITY_OF_THE_SEDIMENT" : "DENSITY OF THE SEDIMENT", - "TIME_STEP_FOR_CONSOLIDATION" : "TIME STEP FOR CONSOLIDATION", - "COHESIVE_SEDIMENT" : "COHESIVE SEDIMENT", - "SHIELDS_PARAMETER" : "SHIELDS PARAMETER", - "MIXED_SEDIMENT" : "MIXED SEDIMENT", - "NUMBER_OF_SEDIMENT_BED_LAYERS" : "NUMBER OF SEDIMENT BED LAYERS", - "READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER" : "READ CRITICAL BED SHEAR STRESS PER LAYER", - "SEDIMENTOLOGICAL_RESULT_FILE" : "SEDIMENTOLOGICAL RESULT FILE", - "SEDIMENTOLOGICAL_RESULT_FILE_BINARY" : "SEDIMENTOLOGICAL RESULT FILE BINARY", - "PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE" : "PREVIOUS COMPUTATION SEDIMENTOLOGICAL FILE", - "MEAN_DIAMETER_OF_THE_SEDIMENT" : "MEAN DIAMETER OF THE SEDIMENT", - "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER" : "RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER", - "SKIN_FRICTION_CORRECTION" : "SKIN FRICTION CORRECTION", - "INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT" : "INITIAL PERCENTAGE OF NON COHESIVE SEDIMENT", - "MUD_CONCENTRATIONS_PER_LAYER" : "MUD CONCENTRATIONS PER LAYER", - "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS" : "CRITICAL EROSION SHEAR STRESS OF THE MUD LAYERS", - "INITIAL_THICKNESS_OF_SEDIMENT_LAYERS" : "INITIAL THICKNESS OF SEDIMENT LAYERS", - "SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT" : "SOLVER FOR DIFFUSION OF THE SEDIMENT", - "ACCURACY_FOR_DIFFUSION_OF_SEDIMENT" : "ACCURACY FOR DIFFUSION OF SEDIMENT", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT" : "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF SEDIMENT", - "PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT" : "PRECONDITIONING FOR DIFFUSION OF THE SEDIMENT", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT" : "OPTION OF SOLVER FOR DIFFUSION OF THE SEDIMENT", - "THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS" : "THRESHOLD FOR SEDIMENT FLUX CORRECTION ON TIDAL FLATS", - "CRITICAL_SHEAR_STRESS_FOR_DEPOSITION" : "CRITICAL SHEAR STRESS FOR DEPOSITION", - "NON_COHESIVE_BED_POROSITY" : "NON COHESIVE BED POROSITY", - "EROSION_COEFFICIENT" : "EROSION COEFFICIENT", - "CONSTANT_SEDIMENT_SETTLING_VELOCITY" : "CONSTANT SEDIMENT SETTLING VELOCITY", - "SETTLING_VELOCITY_OF_SANDS" : "SETTLING VELOCITY OF SANDS", - "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY" : "ADVECTION-DIFFUSION SCHEME WITH SETTLING VELOCITY", - "HINDERED_SETTLING" : "HINDERED SETTLING", - "WEAK_SOIL_CONCENTRATION_FOR_MUD" : "WEAK SOIL CONCENTRATION FOR MUD", - "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING" : "THRESHOLD CONCENTRATION FOR HINDERED SETTLING", - "HINDERED_SETTLING_FORMULA" : "HINDERED SETTLING FORMULA", - "REFERENCE_CONCENTRATION_FORMULA" : "REFERENCE CONCENTRATION FORMULA", - "FLOCCULATION" : "FLOCCULATION", - "FLOCCULATION_FORMULA" : "FLOCCULATION FORMULA", - "FLOCCULATION_COEFFICIENT" : "FLOCCULATION COEFFICIENT", - "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION" : "COEFFICIENT RELATIVE TO FLOC DESTRUCTION", - "BED_LAYERS_THICKNESS" : "BED LAYERS THICKNESS", - "MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD" : "MAXIMUM CONCENTRATION OF THE CONSOLIDATED MUD", - "RESIDENCE_TIME_FOR_MUD" : "RESIDENCE TIME FOR MUD", - "CONSOLIDATION" : "CONSOLIDATION", - "CONSOLIDATION_MODEL" : "CONSOLIDATION MODEL", - "COUPLING_WITH" : "COUPLING WITH", - "SISYPHE_STEERING_FILE" : "SISYPHE STEERING FILE", - "COUPLING_PERIOD_FOR_SISYPHE" : "COUPLING PERIOD FOR SISYPHE", - "TOMAWAC_STEERING_FILE" : "TOMAWAC STEERING FILE", - "COUPLING_PERIOD_FOR_TOMAWAC" : "COUPLING PERIOD FOR TOMAWAC", - "BOTTOM_FRICTION_DUE_TO_WAVES" : "BOTTOM FRICTION DUE TO WAVES", - "WATER_QUALITY_PROCESS" : "WATER QUALITY PROCESS", - "WAQTEL_STEERING_FILE" : "WAQTEL STEERING FILE", - "DELWAQ_STEERING_FILE" : "DELWAQ STEERING FILE", - "DELWAQ_PRINTOUT_PERIOD" : "DELWAQ PRINTOUT PERIOD", - "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE" : "EXCHANGES BETWEEN NODES DELWAQ FILE", - "NODES_DISTANCES_DELWAQ_FILE" : "NODES DISTANCES DELWAQ FILE", - "BOTTOM_SURFACES_DELWAQ_FILE" : "BOTTOM SURFACES DELWAQ FILE", - "VOLUMES_DELWAQ_FILE" : "VOLUMES DELWAQ FILE", - "EXCHANGE_AREAS_DELWAQ_FILE" : "EXCHANGE AREAS DELWAQ FILE", - "VERTICAL_FLUXES_DELWAQ_FILE" : "VERTICAL FLUXES DELWAQ FILE", - "VELOCITY_DELWAQ_FILE" : "VELOCITY DELWAQ FILE", - "DIFFUSIVITY_DELWAQ_FILE" : "DIFFUSIVITY DELWAQ FILE", - "TEMPERATURE_DELWAQ_FILE" : "TEMPERATURE DELWAQ FILE", - "SALINITY_DELWAQ_FILE" : "SALINITY DELWAQ FILE", - "VELOCITY_FOR_DELWAQ" : "VELOCITY FOR DELWAQ", - "DIFFUSION_FOR_DELWAQ" : "DIFFUSION FOR DELWAQ", - "TEMPERATURE_FOR_DELWAQ" : "TEMPERATURE FOR DELWAQ", - "SALINITY_FOR_DELWAQ" : "SALINITY FOR DELWAQ", - "GAIA_STEERING_FILE" : "GAIA STEERING FILE", - "AD_NUMBER_OF_DERIVATIVES" : "AD NUMBER OF DERIVATIVES", - "AD_NAMES_OF_DERIVATIVES" : "AD NAMES OF DERIVATIVES", - "AD_NUMBER_OF_DIRECTIONS" : "AD NUMBER OF DIRECTIONS", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SYMBOLIC LINEAR SOLVER", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD LINEAR SOLVER RESET DERIVATIVES", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD LINEAR SOLVER DERIVATIVE CONVERGENCE", - "PARTITIONING_TOOL" : "PARTITIONING TOOL", - "STEERING_FILE" : "STEERING FILE", - "DICTIONARY" : "DICTIONARY", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATE PARTEL OUTPUT", -} -dicoCasEnToCata = { - "TITLE" : "TITLE", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "MAXIMUM NUMBER OF BOUNDARIES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "MAXIMUM NUMBER OF TRACERS" : "MAXIMUM_NUMBER_OF_TRACERS", - "MAXIMUM NUMBER OF SOURCES" : "MAXIMUM_NUMBER_OF_SOURCES", - "MAXIMUM NUMBER OF BOUNDARIES ON THE BED" : "MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "BINARY BOUNDARY DATA FILE" : "BINARY_BOUNDARY_DATA_FILE", - "BINARY BOUNDARY DATA FILE FORMAT" : "BINARY_BOUNDARY_DATA_FILE_FORMAT", - "FORTRAN FILE" : "FORTRAN_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "NUMBER OF BOTTOM SMOOTHINGS" : "NUMBER_OF_BOTTOM_SMOOTHINGS", - "BOTTOM SMOOTHINGS AFTER USER MODIFICATIONS" : "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS", - "FORMATTED DATA FILE 1" : "FORMATTED_DATA_FILE_1", - "FORMATTED DATA FILE 2" : "FORMATTED_DATA_FILE_2", - "BINARY DATA FILE 1" : "BINARY_DATA_FILE_1", - "BINARY DATA FILE 1 FORMAT" : "BINARY_DATA_FILE_1_FORMAT", - "BINARY DATA FILE 2" : "BINARY_DATA_FILE_2", - "VALIDATION" : "VALIDATION", - "REFERENCE FILE" : "REFERENCE_FILE", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "3D RESULT FILE" : "RD_RESULT_FILE", - "3D RESULT FILE FORMAT" : "RD_RESULT_FILE_FORMAT", - "2D RESULT FILE" : "ED_RESULT_FILE", - "2D RESULT FILE FORMAT" : "ED_RESULT_FILE_FORMAT", - "RESULT FILE IN LONGITUDE-LATITUDE" : "RESULT_FILE_IN_LONGITUDE_LATITUDE", - "VARIABLES FOR 3D GRAPHIC PRINTOUTS" : "VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS", - "VARIABLES FOR 2D GRAPHIC PRINTOUTS" : "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS", - "GRAPHIC PRINTOUT PERIOD" : "GRAPHIC_PRINTOUT_PERIOD", - "NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS" : "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "NUMBER OF PRIVATE ARRAYS" : "NUMBER_OF_PRIVATE_ARRAYS", - "NUMBER OF 2D PRIVATE ARRAYS" : "NUMBER_OF_2D_PRIVATE_ARRAYS", - "NAMES OF 2D PRIVATE VARIABLES" : "NAMES_OF_2D_PRIVATE_VARIABLES", - "FORMATTED RESULTS FILE" : "FORMATTED_RESULTS_FILE", - "BINARY RESULTS FILE" : "BINARY_RESULTS_FILE", - "LISTING PRINTOUT" : "LISTING_PRINTOUT", - "MASS-BALANCE" : "MASS_BALANCE", - "INFORMATION ABOUT MASS-BALANCE FOR EACH LISTING PRINTOUT" : "INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT", - "LISTING PRINTOUT PERIOD" : "LISTING_PRINTOUT_PERIOD", - "NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS" : "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "COMPUTATION CONTINUED" : "COMPUTATION_CONTINUED", - "PREVIOUS COMPUTATION FILE" : "PREVIOUS_COMPUTATION_FILE", - "PREVIOUS COMPUTATION FILE FORMAT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "RECORD NUMBER FOR RESTART" : "RECORD_NUMBER_FOR_RESTART", - "INITIAL TIME SET TO ZERO" : "INITIAL_TIME_SET_TO_ZERO", - "RESTART MODE" : "RESTART_MODE", - "RESTART FILE" : "RESTART_FILE", - "RESTART FILE FORMAT" : "RESTART_FILE_FORMAT", - "2D CONTINUATION" : "ED_CONTINUATION", - "FILE FOR 2D CONTINUATION" : "FILE_FOR_2D_CONTINUATION", - "FILE FOR 2D CONTINUATION FORMAT" : "FILE_FOR_2D_CONTINUATION_FORMAT", - "DEBUGGER" : "DEBUGGER", - "TIME STEP" : "TIME_STEP", - "NUMBER OF TIME STEPS" : "NUMBER_OF_TIME_STEPS", - "DURATION" : "DURATION", - "ORIGINAL DATE OF TIME" : "ORIGINAL_DATE_OF_TIME", - "ORIGINAL HOUR OF TIME" : "ORIGINAL_HOUR_OF_TIME", - "SPHERICAL COORDINATES" : "SPHERICAL_COORDINATES", - "SPATIAL PROJECTION TYPE" : "SPATIAL_PROJECTION_TYPE", - "LATITUDE OF ORIGIN POINT" : "LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE OF ORIGIN POINT" : "LONGITUDE_OF_ORIGIN_POINT", - "NORTH" : "NORTH", - "NUMBER OF HORIZONTAL LEVELS" : "NUMBER_OF_HORIZONTAL_LEVELS", - "MESH TRANSFORMATION" : "MESH_TRANSFORMATION", - "MINIMUM VOLUME OF 3D ELEMENTS" : "MINIMUM_VOLUME_OF_3D_ELEMENTS", - "MINIMUM DISTANCE BETWEEN PLANES CLOSE TO THE BOTTOM" : "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM", - "MINIMUM DISTANCE BETWEEN PLANES CLOSE TO THE FREE SURFACE" : "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE", - "THRESHOLD HEIGHT BEFORE CRUSHED ELEMENTS" : "THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS", - "NUMBER OF TRACER FOR AMR" : "NUMBER_OF_TRACER_FOR_AMR", - "NUMBER OF SUB ITERATIONS FOR NON LINEARITIES" : "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "ZERO" : "ZERO", - "ADVECTION STEP" : "ADVECTION_STEP", - "TREATMENT OF FLUXES AT THE BOUNDARIES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "SUPG OPTION" : "SUPG_OPTION", - "MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "MASS-LUMPING FOR DIFFUSION" : "MASS_LUMPING_FOR_DIFFUSION", - "NON-HYDROSTATIC VERSION" : "NON_HYDROSTATIC_VERSION", - "ELEMENTS MASKED BY USER" : "ELEMENTS_MASKED_BY_USER", - "GRAVITY ACCELERATION" : "GRAVITY_ACCELERATION", - "AVERAGE WATER DENSITY" : "AVERAGE_WATER_DENSITY", - "LAW OF BOTTOM FRICTION" : "LAW_OF_BOTTOM_FRICTION", - "FRICTION COEFFICIENT FOR THE BOTTOM" : "FRICTION_COEFFICIENT_FOR_THE_BOTTOM", - "LAW OF FRICTION ON LATERAL BOUNDARIES" : "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "FRICTION COEFFICIENT FOR LATERAL SOLID BOUNDARIES" : "FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS COEFFICIENT" : "CORIOLIS_COEFFICIENT", - "WIND" : "WIND", - "OPTION FOR WIND" : "OPTION_FOR_WIND", - "WIND VELOCITY ALONG X" : "WIND_VELOCITY_ALONG_X", - "WIND VELOCITY ALONG Y" : "WIND_VELOCITY_ALONG_Y", - "COEFFICIENT OF WIND INFLUENCE" : "COEFFICIENT_OF_WIND_INFLUENCE", - "COEFFICIENT OF WIND INFLUENCE VARYING WITH WIND SPEED" : "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED", - "THRESHOLD DEPTH FOR WIND" : "THRESHOLD_DEPTH_FOR_WIND", - "AIR PRESSURE" : "AIR_PRESSURE", - "VALUE OF ATMOSPHERIC PRESSURE" : "VALUE_OF_ATMOSPHERIC_PRESSURE", - "RAIN OR EVAPORATION" : "RAIN_OR_EVAPORATION", - "RAIN OR EVAPORATION IN MM PER DAY" : "RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "ASCII ATMOSPHERIC DATA FILE" : "ASCII_ATMOSPHERIC_DATA_FILE", - "BINARY ATMOSPHERIC DATA FILE" : "BINARY_ATMOSPHERIC_DATA_FILE", - "BINARY ATMOSPHERIC DATA FILE FORMAT" : "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "AIR TEMPERATURE" : "AIR_TEMPERATURE", - "CLOUD COVER" : "CLOUD_COVER", - "SOLAR RADIATION" : "SOLAR_RADIATION", - "RELATIVE HUMIDITY" : "RELATIVE_HUMIDITY", - "SOURCES FILE" : "SOURCES_FILE", - "GLOBAL NUMBERS OF SOURCE NODES" : "GLOBAL_NUMBERS_OF_SOURCE_NODES", - "TYPE OF SOURCES" : "TYPE_OF_SOURCES", - "ABSCISSAE OF SOURCES" : "ABSCISSAE_OF_SOURCES", - "ORDINATES OF SOURCES" : "ORDINATES_OF_SOURCES", - "ELEVATIONS OF SOURCES" : "ELEVATIONS_OF_SOURCES", - "WATER DISCHARGE OF SOURCES" : "WATER_DISCHARGE_OF_SOURCES", - "VELOCITIES OF THE SOURCES ALONG X" : "VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VELOCITIES OF THE SOURCES ALONG Y" : "VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "VELOCITIES OF THE SOURCES ALONG Z" : "VELOCITIES_OF_THE_SOURCES_ALONG_Z", - "WAVE DRIVEN CURRENTS" : "WAVE_DRIVEN_CURRENTS", - "RECORD NUMBER IN WAVE FILE" : "RECORD_NUMBER_IN_WAVE_FILE", - "PRESCRIBED ELEVATIONS" : "PRESCRIBED_ELEVATIONS", - "PRESCRIBED FLOWRATES" : "PRESCRIBED_FLOWRATES", - "PRESCRIBED VELOCITIES" : "PRESCRIBED_VELOCITIES", - "LIQUID BOUNDARIES FILE" : "LIQUID_BOUNDARIES_FILE", - "VELOCITY PROFILES" : "VELOCITY_PROFILES", - "VELOCITY VERTICAL PROFILES" : "VELOCITY_VERTICAL_PROFILES", - "STAGE-DISCHARGE CURVES" : "STAGE_DISCHARGE_CURVES", - "STAGE-DISCHARGE CURVES FILE" : "STAGE_DISCHARGE_CURVES_FILE", - "OPTION FOR LIQUID BOUNDARIES" : "OPTION_FOR_LIQUID_BOUNDARIES", - "TURBULENCE REGIME FOR THE BOTTOM" : "TURBULENCE_REGIME_FOR_THE_BOTTOM", - "TURBULENCE REGIME FOR LATERAL SOLID BOUNDARIES" : "TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES", - "BOUNDARY CONDITION ON THE BOTTOM" : "BOUNDARY_CONDITION_ON_THE_BOTTOM", - "VELOCITY PROJECTED ON SOLID LATERAL BOUNDARIES" : "VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES", - "VELOCITY PROJECTED ON BOTTOM" : "VELOCITY_PROJECTED_ON_BOTTOM", - "OPEN BOUNDARY CONDITIONS ON THE BED" : "OPEN_BOUNDARY_CONDITIONS_ON_THE_BED", - "PRESCRIBED FLOWRATES ON THE BED" : "PRESCRIBED_FLOWRATES_ON_THE_BED", - "INITIAL CONDITIONS" : "INITIAL_CONDITIONS", - "INITIAL ELEVATION" : "INITIAL_ELEVATION", - "INITIAL DEPTH" : "INITIAL_DEPTH", - "MATRIX STORAGE" : "MATRIX_STORAGE", - "MASS-LUMPING FOR DEPTH" : "MASS_LUMPING_FOR_DEPTH", - "HYDROSTATIC INCONSISTENCY FILTER" : "HYDROSTATIC_INCONSISTENCY_FILTER", - "ELEMENT" : "ELEMENT", - "SOLVER FOR PROPAGATION" : "SOLVER_FOR_PROPAGATION", - "ACCURACY FOR PROPAGATION" : "ACCURACY_FOR_PROPAGATION", - "MAXIMUM NUMBER OF ITERATIONS FOR PROPAGATION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION", - "PRECONDITIONING FOR PROPAGATION" : "PRECONDITIONING_FOR_PROPAGATION", - "OPTION OF SOLVER FOR PROPAGATION" : "OPTION_OF_SOLVER_FOR_PROPAGATION", - "INITIAL GUESS FOR DEPTH" : "INITIAL_GUESS_FOR_DEPTH", - "LINEARIZED PROPAGATION" : "LINEARIZED_PROPAGATION", - "MEAN DEPTH FOR LINEARIZATION" : "MEAN_DEPTH_FOR_LINEARIZATION", - "SCHEME FOR ADVECTION OF DEPTH" : "SCHEME_FOR_ADVECTION_OF_DEPTH", - "SCHEME FOR ADVECTION OF VELOCITIES" : "SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "FREE SURFACE GRADIENT COMPATIBILITY" : "FREE_SURFACE_GRADIENT_COMPATIBILITY", - "BYPASS VOID VOLUMES" : "BYPASS_VOID_VOLUMES", - "MASS-LUMPING FOR VELOCITIES" : "MASS_LUMPING_FOR_VELOCITIES", - "SCHEME OPTION FOR ADVECTION OF VELOCITIES" : "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "OPTION FOR CHARACTERISTICS" : "OPTION_FOR_CHARACTERISTICS", - "NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS" : "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING FOR WEAK CHARACTERISTICS" : "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "SCHEME FOR DIFFUSION OF VELOCITIES" : "SCHEME_FOR_DIFFUSION_OF_VELOCITIES", - "SOLVER FOR DIFFUSION OF VELOCITIES" : "SOLVER_FOR_DIFFUSION_OF_VELOCITIES", - "ACCURACY FOR DIFFUSION OF VELOCITIES" : "ACCURACY_FOR_DIFFUSION_OF_VELOCITIES", - "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF VELOCITIES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES", - "PRECONDITIONING FOR DIFFUSION OF VELOCITIES" : "PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES", - "OPTION OF SOLVER FOR DIFFUSION OF VELOCITIES" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION FOR DIFFUSION" : "IMPLICITATION_FOR_DIFFUSION", - "SOLVER FOR PPE" : "SOLVER_FOR_PPE", - "ACCURACY FOR PPE" : "ACCURACY_FOR_PPE", - "MAXIMUM NUMBER OF ITERATIONS FOR PPE" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE", - "PRECONDITIONING FOR PPE" : "PRECONDITIONING_FOR_PPE", - "OPTION OF SOLVER FOR PPE" : "OPTION_OF_SOLVER_FOR_PPE", - "DYNAMIC PRESSURE IN WAVE EQUATION" : "DYNAMIC_PRESSURE_IN_WAVE_EQUATION", - "DYNAMIC BOUNDARY CONDITION" : "DYNAMIC_BOUNDARY_CONDITION", - "CONTINUITY CORRECTION ON OPEN BOUNDARIES" : "CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES", - "IMPLICITATION FOR DEPTH" : "IMPLICITATION_FOR_DEPTH", - "IMPLICITATION FOR VELOCITIES" : "IMPLICITATION_FOR_VELOCITIES", - "TIDAL FLATS" : "TIDAL_FLATS", - "OPTION FOR THE TREATMENT OF TIDAL FLATS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TREATMENT OF NEGATIVE DEPTHS" : "TREATMENT_OF_NEGATIVE_DEPTHS", - "TREATMENT ON TIDAL FLATS FOR VELOCITIES" : "TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES", - "THRESHOLD FOR VISCOSITY CORRECTION ON TIDAL FLATS" : "THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS", - "MINIMAL VALUE FOR DEPTH" : "MINIMAL_VALUE_FOR_DEPTH", - "BINARY DATABASE 1 FOR TIDE" : "BINARY_DATABASE_1_FOR_TIDE", - "BINARY DATABASE 2 FOR TIDE" : "BINARY_DATABASE_2_FOR_TIDE", - "GEOGRAPHIC SYSTEM" : "GEOGRAPHIC_SYSTEM", - "ZONE NUMBER IN GEOGRAPHIC SYSTEM" : "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "LAMBERT 93 CONVERSION FILE" : "LAMBERT_93_CONVERSION_FILE", - "COEFFICIENT TO CALIBRATE SEA LEVEL" : "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER" : "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "MINOR CONSTITUENTS INFERENCE" : "MINOR_CONSTITUENTS_INFERENCE", - "INITIAL VELOCITIES COMPUTED BY TPXO" : "INITIAL_VELOCITIES_COMPUTED_BY_TPXO", - "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES INITIAL CONDITIONS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS", - "TIDE GENERATING FORCE" : "TIDE_GENERATING_FORCE", - "OPTION FOR TIDAL BOUNDARY CONDITIONS" : "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "TIDAL DATA BASE" : "TIDAL_DATA_BASE", - "HARMONIC CONSTANTS FILE" : "HARMONIC_CONSTANTS_FILE", - "TIDAL MODEL FILE" : "TIDAL_MODEL_FILE", - "TIDAL MODEL FILE FORMAT" : "TIDAL_MODEL_FILE_FORMAT", - "ASCII DATABASE FOR TIDE" : "ASCII_DATABASE_FOR_TIDE", - "COEFFICIENT TO CALIBRATE TIDAL RANGE" : "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT TO CALIBRATE TIDAL VELOCITIES" : "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER" : "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES BOUNDARY CONDITIONS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS", - "MAXIMUM NUMBER OF DROGUES" : "MAXIMUM_NUMBER_OF_DROGUES", - "ASCII DROGUES FILE" : "ASCII_DROGUES_FILE", - "BINARY DROGUES FILE" : "BINARY_DROGUES_FILE", - "DROGUES FILE FORMAT" : "DROGUES_FILE_FORMAT", - "PRINTOUT PERIOD FOR DROGUES" : "PRINTOUT_PERIOD_FOR_DROGUES", - "OIL SPILL MODEL" : "OIL_SPILL_MODEL", - "OIL SPILL STEERING FILE" : "OIL_SPILL_STEERING_FILE", - "NUMBER OF CULVERTS" : "NUMBER_OF_CULVERTS", - "CULVERTS DATA FILE" : "CULVERTS_DATA_FILE", - "OPTION FOR CULVERTS" : "OPTION_FOR_CULVERTS", - "HORIZONTAL TURBULENCE MODEL" : "HORIZONTAL_TURBULENCE_MODEL", - "VERTICAL TURBULENCE MODEL" : "VERTICAL_TURBULENCE_MODEL", - "COEFFICIENT FOR HORIZONTAL DIFFUSION OF VELOCITIES" : "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES", - "COEFFICIENT FOR VERTICAL DIFFUSION OF VELOCITIES" : "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES", - "MIXING LENGTH MODEL" : "MIXING_LENGTH_MODEL", - "DAMPING FUNCTION" : "DAMPING_FUNCTION", - "PRANDTL NUMBER" : "PRANDTL_NUMBER", - "KARMAN CONSTANT" : "KARMAN_CONSTANT", - "GOTM STEERING FILE" : "GOTM_STEERING_FILE", - "FICTITIOUS BED LEVEL" : "FICTITIOUS_BED_LEVEL", - "OPTION FOR THE BOUNDARY CONDITIONS OF K-EPSILON" : "OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON", - "VERTICAL VELOCITY DERIVATIVES" : "VERTICAL_VELOCITY_DERIVATIVES", - "SCHEME FOR ADVECTION OF K-EPSILON" : "SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "SCHEME OPTION FOR ADVECTION OF K-EPSILON" : "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "SCHEME FOR DIFFUSION OF K-EPSILON" : "SCHEME_FOR_DIFFUSION_OF_K_EPSILON", - "SOLVER FOR DIFFUSION OF K-EPSILON" : "SOLVER_FOR_DIFFUSION_OF_K_EPSILON", - "ACCURACY FOR DIFFUSION OF K-EPSILON" : "ACCURACY_FOR_DIFFUSION_OF_K_EPSILON", - "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF K-EPSILON" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON", - "PRECONDITIONING FOR DIFFUSION OF K-EPSILON" : "PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON", - "OPTION OF SOLVER FOR DIFFUSION OF K-EPSILON" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON", - "TREATMENT ON TIDAL FLATS FOR K-EPSILON" : "TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON", - "NUMBER OF TRACERS" : "NUMBER_OF_TRACERS", - "NAMES OF TRACERS" : "NAMES_OF_TRACERS", - "VALUES OF TRACERS IN THE RAIN" : "VALUES_OF_TRACERS_IN_THE_RAIN", - "VALUE OF THE TRACERS AT THE SOURCES" : "VALUE_OF_THE_TRACERS_AT_THE_SOURCES", - "DENSITY LAW" : "DENSITY_LAW", - "STANDARD VALUES FOR TRACERS" : "STANDARD_VALUES_FOR_TRACERS", - "BETA EXPANSION COEFFICIENT FOR TRACERS" : "BETA_EXPANSION_COEFFICIENT_FOR_TRACERS", - "PRESCRIBED TRACERS VALUES" : "PRESCRIBED_TRACERS_VALUES", - "TRACERS VERTICAL PROFILES" : "TRACERS_VERTICAL_PROFILES", - "INITIAL VALUES OF TRACERS" : "INITIAL_VALUES_OF_TRACERS", - "SCHEME FOR ADVECTION OF TRACERS" : "SCHEME_FOR_ADVECTION_OF_TRACERS", - "SCHEME OPTION FOR ADVECTION OF TRACERS" : "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "SCHEME FOR DIFFUSION OF TRACERS" : "SCHEME_FOR_DIFFUSION_OF_TRACERS", - "SOLVER FOR DIFFUSION OF TRACERS" : "SOLVER_FOR_DIFFUSION_OF_TRACERS", - "ACCURACY FOR DIFFUSION OF TRACERS" : "ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "PRECONDITIONING FOR DIFFUSION OF TRACERS" : "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "OPTION OF SOLVER FOR DIFFUSION OF TRACERS" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS", - "TREATMENT ON TIDAL FLATS FOR TRACERS" : "TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS", - "COEFFICIENT FOR HORIZONTAL DIFFUSION OF TRACERS" : "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS", - "COEFFICIENT FOR VERTICAL DIFFUSION OF TRACERS" : "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS", - "SEDIMENT" : "SEDIMENT", - "DENSITY OF THE SEDIMENT" : "DENSITY_OF_THE_SEDIMENT", - "TIME STEP FOR CONSOLIDATION" : "TIME_STEP_FOR_CONSOLIDATION", - "COHESIVE SEDIMENT" : "COHESIVE_SEDIMENT", - "SHIELDS PARAMETER" : "SHIELDS_PARAMETER", - "MIXED SEDIMENT" : "MIXED_SEDIMENT", - "NUMBER OF SEDIMENT BED LAYERS" : "NUMBER_OF_SEDIMENT_BED_LAYERS", - "READ CRITICAL BED SHEAR STRESS PER LAYER" : "READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER", - "SEDIMENTOLOGICAL RESULT FILE" : "SEDIMENTOLOGICAL_RESULT_FILE", - "SEDIMENTOLOGICAL RESULT FILE BINARY" : "SEDIMENTOLOGICAL_RESULT_FILE_BINARY", - "PREVIOUS COMPUTATION SEDIMENTOLOGICAL FILE" : "PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE", - "MEAN DIAMETER OF THE SEDIMENT" : "MEAN_DIAMETER_OF_THE_SEDIMENT", - "RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER" : "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "SKIN FRICTION CORRECTION" : "SKIN_FRICTION_CORRECTION", - "INITIAL PERCENTAGE OF NON COHESIVE SEDIMENT" : "INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT", - "MUD CONCENTRATIONS PER LAYER" : "MUD_CONCENTRATIONS_PER_LAYER", - "CRITICAL EROSION SHEAR STRESS OF THE MUD LAYERS" : "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS", - "INITIAL THICKNESS OF SEDIMENT LAYERS" : "INITIAL_THICKNESS_OF_SEDIMENT_LAYERS", - "SOLVER FOR DIFFUSION OF THE SEDIMENT" : "SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT", - "ACCURACY FOR DIFFUSION OF SEDIMENT" : "ACCURACY_FOR_DIFFUSION_OF_SEDIMENT", - "MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF SEDIMENT" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT", - "PRECONDITIONING FOR DIFFUSION OF THE SEDIMENT" : "PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT", - "OPTION OF SOLVER FOR DIFFUSION OF THE SEDIMENT" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT", - "THRESHOLD FOR SEDIMENT FLUX CORRECTION ON TIDAL FLATS" : "THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS", - "CRITICAL SHEAR STRESS FOR DEPOSITION" : "CRITICAL_SHEAR_STRESS_FOR_DEPOSITION", - "NON COHESIVE BED POROSITY" : "NON_COHESIVE_BED_POROSITY", - "EROSION COEFFICIENT" : "EROSION_COEFFICIENT", - "CONSTANT SEDIMENT SETTLING VELOCITY" : "CONSTANT_SEDIMENT_SETTLING_VELOCITY", - "SETTLING VELOCITY OF SANDS" : "SETTLING_VELOCITY_OF_SANDS", - "ADVECTION-DIFFUSION SCHEME WITH SETTLING VELOCITY" : "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY", - "HINDERED SETTLING" : "HINDERED_SETTLING", - "WEAK SOIL CONCENTRATION FOR MUD" : "WEAK_SOIL_CONCENTRATION_FOR_MUD", - "THRESHOLD CONCENTRATION FOR HINDERED SETTLING" : "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING", - "HINDERED SETTLING FORMULA" : "HINDERED_SETTLING_FORMULA", - "REFERENCE CONCENTRATION FORMULA" : "REFERENCE_CONCENTRATION_FORMULA", - "FLOCCULATION" : "FLOCCULATION", - "FLOCCULATION FORMULA" : "FLOCCULATION_FORMULA", - "FLOCCULATION COEFFICIENT" : "FLOCCULATION_COEFFICIENT", - "COEFFICIENT RELATIVE TO FLOC DESTRUCTION" : "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION", - "BED LAYERS THICKNESS" : "BED_LAYERS_THICKNESS", - "MAXIMUM CONCENTRATION OF THE CONSOLIDATED MUD" : "MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD", - "RESIDENCE TIME FOR MUD" : "RESIDENCE_TIME_FOR_MUD", - "CONSOLIDATION" : "CONSOLIDATION", - "CONSOLIDATION MODEL" : "CONSOLIDATION_MODEL", - "COUPLING WITH" : "COUPLING_WITH", - "SISYPHE STEERING FILE" : "SISYPHE_STEERING_FILE", - "COUPLING PERIOD FOR SISYPHE" : "COUPLING_PERIOD_FOR_SISYPHE", - "TOMAWAC STEERING FILE" : "TOMAWAC_STEERING_FILE", - "COUPLING PERIOD FOR TOMAWAC" : "COUPLING_PERIOD_FOR_TOMAWAC", - "BOTTOM FRICTION DUE TO WAVES" : "BOTTOM_FRICTION_DUE_TO_WAVES", - "WATER QUALITY PROCESS" : "WATER_QUALITY_PROCESS", - "WAQTEL STEERING FILE" : "WAQTEL_STEERING_FILE", - "DELWAQ STEERING FILE" : "DELWAQ_STEERING_FILE", - "DELWAQ PRINTOUT PERIOD" : "DELWAQ_PRINTOUT_PERIOD", - "EXCHANGES BETWEEN NODES DELWAQ FILE" : "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "NODES DISTANCES DELWAQ FILE" : "NODES_DISTANCES_DELWAQ_FILE", - "BOTTOM SURFACES DELWAQ FILE" : "BOTTOM_SURFACES_DELWAQ_FILE", - "VOLUMES DELWAQ FILE" : "VOLUMES_DELWAQ_FILE", - "EXCHANGE AREAS DELWAQ FILE" : "EXCHANGE_AREAS_DELWAQ_FILE", - "VERTICAL FLUXES DELWAQ FILE" : "VERTICAL_FLUXES_DELWAQ_FILE", - "VELOCITY DELWAQ FILE" : "VELOCITY_DELWAQ_FILE", - "DIFFUSIVITY DELWAQ FILE" : "DIFFUSIVITY_DELWAQ_FILE", - "TEMPERATURE DELWAQ FILE" : "TEMPERATURE_DELWAQ_FILE", - "SALINITY DELWAQ FILE" : "SALINITY_DELWAQ_FILE", - "VELOCITY FOR DELWAQ" : "VELOCITY_FOR_DELWAQ", - "DIFFUSION FOR DELWAQ" : "DIFFUSION_FOR_DELWAQ", - "TEMPERATURE FOR DELWAQ" : "TEMPERATURE_FOR_DELWAQ", - "SALINITY FOR DELWAQ" : "SALINITY_FOR_DELWAQ", - "GAIA STEERING FILE" : "GAIA_STEERING_FILE", - "AD NUMBER OF DERIVATIVES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NAMES OF DERIVATIVES" : "AD_NAMES_OF_DERIVATIVES", - "AD NUMBER OF DIRECTIONS" : "AD_NUMBER_OF_DIRECTIONS", - "AD SYMBOLIC LINEAR SOLVER" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD LINEAR SOLVER RESET DERIVATIVES" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD LINEAR SOLVER DERIVATIVE CONVERGENCE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "PARTITIONING TOOL" : "PARTITIONING_TOOL", - "STEERING FILE" : "STEERING_FILE", - "DICTIONARY" : "DICTIONARY", - "CONCATENATE PARTEL OUTPUT" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/telemac3d_dicoCasFrToCata.py b/Telemac/telemac3d_dicoCasFrToCata.py deleted file mode 100644 index a1ea3cc6..00000000 --- a/Telemac/telemac3d_dicoCasFrToCata.py +++ /dev/null @@ -1,678 +0,0 @@ -dicoCataToFrTelemac = { - "TITLE" : "TITRE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "MAXIMUM_NUMBER_OF_BOUNDARIES" : "NOMBRE MAXIMUM DE FRONTIERES", - "MAXIMUM_NUMBER_OF_TRACERS" : "NOMBRE MAXIMUM DE TRACEURS", - "MAXIMUM_NUMBER_OF_SOURCES" : "NOMBRE MAXIMUM DE SOURCES", - "MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED" : "NOMBRE MAXIMUM DE FRONTIERES SUR LE FOND", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "BINARY_BOUNDARY_DATA_FILE" : "FICHIER BINAIRE DE DONNEES DE FRONTIERE", - "BINARY_BOUNDARY_DATA_FILE_FORMAT" : "FORMAT DU FICHIER BINAIRE DE DONNEES DE FRONTIERE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "NUMBER_OF_BOTTOM_SMOOTHINGS" : "NOMBRE DE LISSAGES DU FOND", - "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS" : "LISSAGES DU FOND APRES MODIFICATIONS UTILISATEUR", - "FORMATTED_DATA_FILE_1" : "FICHIER DE DONNEES FORMATE 1", - "FORMATTED_DATA_FILE_2" : "FICHIER DE DONNEES FORMATE 2", - "BINARY_DATA_FILE_1" : "FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_1_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 1", - "BINARY_DATA_FILE_2" : "FICHIER DE DONNEES BINAIRE 2", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "RD_RESULT_FILE" : "FICHIER DES RESULTATS 3D", - "RD_RESULT_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS 3D", - "ED_RESULT_FILE" : "FICHIER DES RESULTATS 2D", - "ED_RESULT_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS 2D", - "RESULT_FILE_IN_LONGITUDE_LATITUDE" : "FICHIER RESULTAT EN LONGITUDE-LATITUDE", - "VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES 3D", - "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES 2D", - "GRAPHIC_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES GRAPHIQUES", - "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS" : "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES", - "NUMBER_OF_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES", - "NUMBER_OF_2D_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES 2D", - "NAMES_OF_2D_PRIVATE_VARIABLES" : "NOMS DES VARIABLES PRIVEES 2D", - "FORMATTED_RESULTS_FILE" : "FICHIER DE RESULTATS FORMATE", - "BINARY_RESULTS_FILE" : "FICHIER DE RESULTATS BINAIRE", - "LISTING_PRINTOUT" : "SORTIE LISTING", - "MASS_BALANCE" : "BILAN DE MASSE", - "INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT" : "INFORMATION SUR LE BILAN DE MASSE A CHAQUE SORTIE LISTING", - "LISTING_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES LISTING", - "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS" : "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING", - "COMPUTATION_CONTINUED" : "SUITE DE CALCUL", - "PREVIOUS_COMPUTATION_FILE" : "FICHIER DU CALCUL PRECEDENT", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER DU CALCUL PRECEDENT", - "RECORD_NUMBER_FOR_RESTART" : "ENREGISTREMENT POUR SUITE DE CALCUL", - "INITIAL_TIME_SET_TO_ZERO" : "REMISE A ZERO DU TEMPS", - "RESTART_MODE" : "MODE SUITE", - "RESTART_FILE" : "FICHIER POUR SUITE", - "RESTART_FILE_FORMAT" : "FORMAT DU FICHIER POUR SUITE", - "ED_CONTINUATION" : "SUITE 2D", - "FILE_FOR_2D_CONTINUATION" : "FICHIER POUR SUITE 2D", - "FILE_FOR_2D_CONTINUATION_FORMAT" : "FORMAT DU FICHIER POUR SUITE 2D", - "DEBUGGER" : "DEBUGGER", - "TIME_STEP" : "PAS DE TEMPS", - "NUMBER_OF_TIME_STEPS" : "NOMBRE DE PAS DE TEMPS", - "DURATION" : "DUREE DU CALCUL", - "ORIGINAL_DATE_OF_TIME" : "DATE DE L'ORIGINE DES TEMPS", - "ORIGINAL_HOUR_OF_TIME" : "HEURE DE L'ORIGINE DES TEMPS", - "SPHERICAL_COORDINATES" : "COORDONNEES SPHERIQUES", - "SPATIAL_PROJECTION_TYPE" : "TYPE DE PROJECTION SPATIALE", - "LATITUDE_OF_ORIGIN_POINT" : "LATITUDE DU POINT ORIGINE", - "LONGITUDE_OF_ORIGIN_POINT" : "LONGITUDE DU POINT ORIGINE", - "NORTH" : "NORD", - "NUMBER_OF_HORIZONTAL_LEVELS" : "NOMBRE DE PLANS HORIZONTAUX", - "MESH_TRANSFORMATION" : "TRANSFORMATION DU MAILLAGE", - "MINIMUM_VOLUME_OF_3D_ELEMENTS" : "VOLUME MINIMAL DES ELEMENTS 3D", - "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM" : "DISTANCE MINIMALE ENTRE PLANS PRES DU FOND", - "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE" : "DISTANCE MINIMALE ENTRE PLANS PRES DE LA SURFACE LIBRE", - "THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS" : "HAUTEUR SEUIL AVANT ELEMENTS ECRASES", - "NUMBER_OF_TRACER_FOR_AMR" : "NUMERO DE TRACEUR POUR AMR", - "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES" : "NOMBRE DE SOUS ITERATIONS POUR LES NON LINEARITES", - "ZERO" : "ZERO", - "ADVECTION_STEP" : "ETAPE DE CONVECTION", - "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES" : "TRAITEMENT DES FLUX AUX FRONTIERES", - "SUPG_OPTION" : "OPTION DE SUPG", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES" : "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION", - "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS", - "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES" : "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS", - "MASS_LUMPING_FOR_DIFFUSION" : "MASS-LUMPING POUR LA DIFFUSION", - "NON_HYDROSTATIC_VERSION" : "VERSION NON-HYDROSTATIQUE", - "ELEMENTS_MASKED_BY_USER" : "ELEMENTS MASQUES PAR L'UTILISATEUR", - "GRAVITY_ACCELERATION" : "ACCELERATION DE LA PESANTEUR", - "AVERAGE_WATER_DENSITY" : "MASSE VOLUMIQUE MOYENNE DE L'EAU", - "LAW_OF_BOTTOM_FRICTION" : "LOI DE FROTTEMENT SUR LE FOND", - "FRICTION_COEFFICIENT_FOR_THE_BOTTOM" : "COEFFICIENT DE FROTTEMENT POUR LE FOND", - "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES" : "LOI DE FROTTEMENT SUR LES PAROIS LATERALES", - "FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES" : "COEFFICIENT DE FROTTEMENT POUR LES PAROIS LATERALES", - "CORIOLIS" : "CORIOLIS", - "CORIOLIS_COEFFICIENT" : "COEFFICIENT DE CORIOLIS", - "WIND" : "VENT", - "OPTION_FOR_WIND" : "OPTION DU VENT", - "WIND_VELOCITY_ALONG_X" : "VITESSE DU VENT SUIVANT X", - "WIND_VELOCITY_ALONG_Y" : "VITESSE DU VENT SUIVANT Y", - "COEFFICIENT_OF_WIND_INFLUENCE" : "COEFFICIENT D'INFLUENCE DU VENT", - "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED" : "COEFFICIENT D'INFLUENCE DU VENT DEPENDANT DE LA VITESSE DU VENT", - "THRESHOLD_DEPTH_FOR_WIND" : "PROFONDEUR LIMITE POUR LE VENT", - "AIR_PRESSURE" : "PRESSION ATMOSPHERIQUE", - "VALUE_OF_ATMOSPHERIC_PRESSURE" : "VALEUR DE LA PRESSION ATMOSPHERIQUE", - "RAIN_OR_EVAPORATION" : "PLUIE OU EVAPORATION", - "RAIN_OR_EVAPORATION_IN_MM_PER_DAY" : "PLUIE OU EVAPORATION EN MM PAR JOUR", - "ASCII_ATMOSPHERIC_DATA_FILE" : "FICHIER ASCII DE DONNEES ATMOSPHERIQUES", - "BINARY_ATMOSPHERIC_DATA_FILE" : "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES", - "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT" : "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES", - "AIR_TEMPERATURE" : "TEMPERATURE DE L'AIR", - "CLOUD_COVER" : "NEBULOSITE", - "SOLAR_RADIATION" : "RAYONNEMENT SOLAIRE", - "RELATIVE_HUMIDITY" : "HUMIDITE RELATIVE", - "SOURCES_FILE" : "FICHIER DES SOURCES", - "GLOBAL_NUMBERS_OF_SOURCE_NODES" : "NUMEROS GLOBAUX DES NOEUDS DES SOURCES", - "TYPE_OF_SOURCES" : "TYPE DES SOURCES", - "ABSCISSAE_OF_SOURCES" : "ABSCISSES DES SOURCES", - "ORDINATES_OF_SOURCES" : "ORDONNEES DES SOURCES", - "ELEVATIONS_OF_SOURCES" : "COTES DES SOURCES", - "WATER_DISCHARGE_OF_SOURCES" : "DEBITS DES SOURCES", - "VELOCITIES_OF_THE_SOURCES_ALONG_X" : "VITESSES DES SOURCES SELON X", - "VELOCITIES_OF_THE_SOURCES_ALONG_Y" : "VITESSES DES SOURCES SELON Y", - "VELOCITIES_OF_THE_SOURCES_ALONG_Z" : "VITESSES DES SOURCES SELON Z", - "WAVE_DRIVEN_CURRENTS" : "COURANTS DE HOULE", - "RECORD_NUMBER_IN_WAVE_FILE" : "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE", - "PRESCRIBED_ELEVATIONS" : "COTES IMPOSEES", - "PRESCRIBED_FLOWRATES" : "DEBITS IMPOSES", - "PRESCRIBED_VELOCITIES" : "VITESSES IMPOSEES", - "LIQUID_BOUNDARIES_FILE" : "FICHIER DES FRONTIERES LIQUIDES", - "VELOCITY_PROFILES" : "PROFILS DE VITESSE", - "VELOCITY_VERTICAL_PROFILES" : "PROFILS DE VITESSE SUR LA VERTICALE", - "STAGE_DISCHARGE_CURVES" : "COURBES DE TARAGE", - "STAGE_DISCHARGE_CURVES_FILE" : "FICHIER DES COURBES DE TARAGE", - "OPTION_FOR_LIQUID_BOUNDARIES" : "OPTION POUR LES FRONTIERES LIQUIDES", - "TURBULENCE_REGIME_FOR_THE_BOTTOM" : "REGIME DE TURBULENCE POUR LE FOND", - "TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES" : "REGIME DE TURBULENCE POUR LES PAROIS LATERALES", - "BOUNDARY_CONDITION_ON_THE_BOTTOM" : "CONDITION A LA LIMITE AU FOND", - "VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES" : "VITESSE PROJETEE SUR LES PAROIS LATERALES SOLIDES", - "VELOCITY_PROJECTED_ON_BOTTOM" : "VITESSE PROJETEE SUR LE FOND", - "OPEN_BOUNDARY_CONDITIONS_ON_THE_BED" : "CONDITIONS OUVERTES SUR LE FOND", - "PRESCRIBED_FLOWRATES_ON_THE_BED" : "DEBITS IMPOSES SUR LE FOND", - "INITIAL_CONDITIONS" : "CONDITIONS INITIALES", - "INITIAL_ELEVATION" : "COTE INITIALE", - "INITIAL_DEPTH" : "HAUTEUR INITIALE", - "MATRIX_STORAGE" : "STOCKAGE DES MATRICES", - "MASS_LUMPING_FOR_DEPTH" : "MASS-LUMPING POUR LA HAUTEUR", - "HYDROSTATIC_INCONSISTENCY_FILTER" : "FILTRE LES INCONSISTANCES HYDROSTATIQUES", - "ELEMENT" : "ELEMENT", - "SOLVER_FOR_PROPAGATION" : "SOLVEUR POUR LA PROPAGATION", - "ACCURACY_FOR_PROPAGATION" : "PRECISION POUR LA PROPAGATION", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION" : "MAXIMUM D'ITERATIONS POUR LA PROPAGATION", - "PRECONDITIONING_FOR_PROPAGATION" : "PRECONDITIONNEMENT POUR LA PROPAGATION", - "OPTION_OF_SOLVER_FOR_PROPAGATION" : "OPTION DU SOLVEUR POUR LA PROPAGATION", - "INITIAL_GUESS_FOR_DEPTH" : "ORDRE DU TIR INITIAL POUR LA HAUTEUR", - "LINEARIZED_PROPAGATION" : "PROPAGATION LINEARISEE", - "MEAN_DEPTH_FOR_LINEARIZATION" : "PROFONDEUR MOYENNE POUR LA LINEARISATION", - "SCHEME_FOR_ADVECTION_OF_DEPTH" : "SCHEMA POUR LA CONVECTION DE LA HAUTEUR", - "SCHEME_FOR_ADVECTION_OF_VELOCITIES" : "SCHEMA POUR LA CONVECTION DES VITESSES", - "FREE_SURFACE_GRADIENT_COMPATIBILITY" : "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE", - "BYPASS_VOID_VOLUMES" : "CONTOURNEMENT DES VOLUMES NULS", - "MASS_LUMPING_FOR_VELOCITIES" : "MASS-LUMPING POUR LES VITESSES", - "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES" : "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES", - "OPTION_FOR_CHARACTERISTICS" : "OPTION POUR LES CARACTERISTIQUES", - "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS" : "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES", - "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS" : "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES", - "SCHEME_FOR_DIFFUSION_OF_VELOCITIES" : "SCHEMA POUR LA DIFFUSION DES VITESSES", - "SOLVER_FOR_DIFFUSION_OF_VELOCITIES" : "SOLVEUR POUR LA DIFFUSION DES VITESSES", - "ACCURACY_FOR_DIFFUSION_OF_VELOCITIES" : "PRECISION POUR LA DIFFUSION DES VITESSES", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES" : "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES VITESSES", - "PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES" : "PRECONDITIONNEMENT POUR LA DIFFUSION DES VITESSES", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES" : "OPTION DU SOLVEUR POUR LA DIFFUSION DES VITESSES", - "IMPLICITATION_FOR_DIFFUSION" : "IMPLICITATION POUR LA DIFFUSION", - "SOLVER_FOR_PPE" : "SOLVEUR POUR PPE", - "ACCURACY_FOR_PPE" : "PRECISION POUR PPE", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE" : "MAXIMUM D'ITERATIONS POUR PPE", - "PRECONDITIONING_FOR_PPE" : "PRECONDITIONNEMENT POUR PPE", - "OPTION_OF_SOLVER_FOR_PPE" : "OPTION DU SOLVEUR POUR PPE", - "DYNAMIC_PRESSURE_IN_WAVE_EQUATION" : "PRESSION DYNAMIQUE DANS L'EQUATION D'ONDE", - "DYNAMIC_BOUNDARY_CONDITION" : "CONDITION LIMITE DYNAMIQUE", - "CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES" : "CORRECTION DE CONTINUITE SUR FRONTIERES OUVERTES", - "IMPLICITATION_FOR_DEPTH" : "IMPLICITATION POUR LA HAUTEUR", - "IMPLICITATION_FOR_VELOCITIES" : "IMPLICITATION POUR LES VITESSES", - "TIDAL_FLATS" : "BANCS DECOUVRANTS", - "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS" : "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS", - "TREATMENT_OF_NEGATIVE_DEPTHS" : "TRAITEMENT DES HAUTEURS NEGATIVES", - "TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES" : "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LES VITESSES", - "THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS" : "SEUIL POUR CORRECTION DE VISCOSITE SUR BANCS DECOUVRANTS", - "MINIMAL_VALUE_FOR_DEPTH" : "VALEUR MINIMALE POUR LA HAUTEUR", - "BINARY_DATABASE_1_FOR_TIDE" : "BASE BINAIRE 1 DE DONNEES DE MAREE", - "BINARY_DATABASE_2_FOR_TIDE" : "BASE BINAIRE 2 DE DONNEES DE MAREE", - "GEOGRAPHIC_SYSTEM" : "SYSTEME GEOGRAPHIQUE", - "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM" : "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE", - "LAMBERT_93_CONVERSION_FILE" : "FICHIER DE CONVERSION LAMBERT 93", - "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL" : "COEFFICIENT DE CALAGE DU NIVEAU DE MER", - "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER", - "MINOR_CONSTITUENTS_INFERENCE" : "INTERPOLATION DE COMPOSANTES MINEURES", - "INITIAL_VELOCITIES_COMPUTED_BY_TPXO" : "VITESSES INITIALES CALCULEES PAR TPXO", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS" : "HAUTEUR MINIMALE POUR LES CONDITIONS INITIALES DE COURANTS", - "TIDE_GENERATING_FORCE" : "FORCE GENERATRICE DE LA MAREE", - "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS" : "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE", - "TIDAL_DATA_BASE" : "BASE DE DONNEES DE MAREE", - "HARMONIC_CONSTANTS_FILE" : "FICHIER DES CONSTANTES HARMONIQUES", - "TIDAL_MODEL_FILE" : "FICHIER DU MODELE DE MAREE", - "TIDAL_MODEL_FILE_FORMAT" : "FORMAT DU FICHIER DU MODELE DE MAREE", - "ASCII_DATABASE_FOR_TIDE" : "BASE ASCII DE DONNEES DE MAREE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE" : "COEFFICIENT DE CALAGE DU MARNAGE", - "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES" : "COEFFICIENT DE CALAGE DES VITESSES DE COURANT", - "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER" : "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER", - "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS" : "HAUTEUR MINIMALE POUR LES CONDITIONS AUX LIMITES DE COURANTS", - "MAXIMUM_NUMBER_OF_DROGUES" : "NOMBRE MAXIMAL DE FLOTTEURS", - "ASCII_DROGUES_FILE" : "FICHIER ASCII DES FLOTTEURS", - "BINARY_DROGUES_FILE" : "FICHIER BINAIRE DES FLOTTEURS", - "DROGUES_FILE_FORMAT" : "FORMAT DU FICHIER DES FLOTTEURS", - "PRINTOUT_PERIOD_FOR_DROGUES" : "PERIODE POUR LES SORTIES DE FLOTTEURS", - "OIL_SPILL_MODEL" : "MODELE DE NAPPES D'HYDROCARBURES", - "OIL_SPILL_STEERING_FILE" : "FICHIER DE COMMANDES HYDROCARBURES", - "NUMBER_OF_CULVERTS" : "NOMBRE DE BUSES", - "CULVERTS_DATA_FILE" : "FICHIER DE DONNEES DES BUSES", - "OPTION_FOR_CULVERTS" : "OPTION POUR LES BUSES", - "HORIZONTAL_TURBULENCE_MODEL" : "MODELE DE TURBULENCE HORIZONTAL", - "VERTICAL_TURBULENCE_MODEL" : "MODELE DE TURBULENCE VERTICAL", - "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES" : "COEFFICIENT DE DIFFUSION HORIZONTAL DES VITESSES", - "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES" : "COEFFICIENT DE DIFFUSION VERTICAL DES VITESSES", - "MIXING_LENGTH_MODEL" : "MODELE DE LONGUEUR DE MELANGE", - "DAMPING_FUNCTION" : "FONCTION D'AMORTISSEMENT", - "PRANDTL_NUMBER" : "NOMBRE DE PRANDTL", - "KARMAN_CONSTANT" : "CONSTANTE DE KARMAN", - "GOTM_STEERING_FILE" : "FICHIER DES PARAMETRES GOTM", - "FICTITIOUS_BED_LEVEL" : "HAUTEUR DU LIT FICTIF", - "OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON" : "OPTION POUR LES CONDITIONS AUX LIMITES DU K-EPSILON", - "VERTICAL_VELOCITY_DERIVATIVES" : "DERIVEES VERTICALES DES VITESSES", - "SCHEME_FOR_ADVECTION_OF_K_EPSILON" : "SCHEMA POUR LA CONVECTION DU K-EPSILON", - "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON" : "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON", - "SCHEME_FOR_DIFFUSION_OF_K_EPSILON" : "SCHEMA POUR LA DIFFUSION DU K-EPSILON", - "SOLVER_FOR_DIFFUSION_OF_K_EPSILON" : "SOLVEUR POUR LA DIFFUSION DU K-EPSILON", - "ACCURACY_FOR_DIFFUSION_OF_K_EPSILON" : "PRECISION POUR LA DIFFUSION DU K-EPSILON", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON" : "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DU K-EPSILON", - "PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON" : "PRECONDITIONNEMENT POUR LA DIFFUSION DU K-EPSILON", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON" : "OPTION DU SOLVEUR POUR LA DIFFUSION DU K-EPSILON", - "TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON" : "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LE K-EPSILON", - "NUMBER_OF_TRACERS" : "NOMBRE DE TRACEURS", - "NAMES_OF_TRACERS" : "NOMS DES TRACEURS", - "VALUES_OF_TRACERS_IN_THE_RAIN" : "VALEURS DES TRACEURS DANS LA PLUIE", - "VALUE_OF_THE_TRACERS_AT_THE_SOURCES" : "VALEURS DES TRACEURS DES SOURCES", - "DENSITY_LAW" : "LOI DE DENSITE", - "STANDARD_VALUES_FOR_TRACERS" : "VALEURS DE REFERENCE DES TRACEURS", - "BETA_EXPANSION_COEFFICIENT_FOR_TRACERS" : "COEFFICIENT DE DILATATION BETA POUR LES TRACEURS", - "PRESCRIBED_TRACERS_VALUES" : "VALEURS IMPOSEES DES TRACEURS", - "TRACERS_VERTICAL_PROFILES" : "PROFILS DES TRACEURS SUR LA VERTICALE", - "INITIAL_VALUES_OF_TRACERS" : "VALEURS INITIALES DES TRACEURS", - "SCHEME_FOR_ADVECTION_OF_TRACERS" : "SCHEMA POUR LA CONVECTION DES TRACEURS", - "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS" : "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS", - "SCHEME_FOR_DIFFUSION_OF_TRACERS" : "SCHEMA POUR LA DIFFUSION DES TRACEURS", - "SOLVER_FOR_DIFFUSION_OF_TRACERS" : "SOLVEUR POUR LA DIFFUSION DES TRACEURS", - "ACCURACY_FOR_DIFFUSION_OF_TRACERS" : "PRECISION POUR LA DIFFUSION DES TRACEURS", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS" : "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS", - "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS" : "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS" : "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS", - "TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS" : "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LES TRACEURS", - "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS" : "COEFFICIENT DE DIFFUSION HORIZONTAL DES TRACEURS", - "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS" : "COEFFICIENT DE DIFFUSION VERTICAL DES TRACEURS", - "SEDIMENT" : "SEDIMENT", - "DENSITY_OF_THE_SEDIMENT" : "MASSE VOLUMIQUE DU SEDIMENT", - "TIME_STEP_FOR_CONSOLIDATION" : "PAS DE TEMPS DE LA CONSOLIDATION", - "COHESIVE_SEDIMENT" : "SEDIMENT COHESIF", - "SHIELDS_PARAMETER" : "PARAMETRE DE SHIELDS", - "MIXED_SEDIMENT" : "SEDIMENT MIXTE", - "NUMBER_OF_SEDIMENT_BED_LAYERS" : "NOMBRE DE COUCHES DU LIT COHESIF", - "READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER" : "LECTURE CONTRAINTE CRITIQUE POUR CHAQUE COUCHE", - "SEDIMENTOLOGICAL_RESULT_FILE" : "FICHIER DES RESULTATS SEDIMENTOLOGIQUES", - "SEDIMENTOLOGICAL_RESULT_FILE_BINARY" : "BINAIRE DU FICHIER DES RESULTATS SEDIMENTOLOGIQUES", - "PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE" : "FICHIER SEDIMENTOLOGIQUE DU CALCUL PRECEDENT", - "MEAN_DIAMETER_OF_THE_SEDIMENT" : "DIAMETRE MOYEN DES GRAINS", - "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER" : "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN", - "SKIN_FRICTION_CORRECTION" : "CORRECTION FROTTEMENT DE PEAU", - "INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT" : "POURCENTAGE INITIAL DE SEDIMENT NON COHESIF", - "MUD_CONCENTRATIONS_PER_LAYER" : "CONCENTRATIONS DES COUCHES DE VASE", - "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS" : "CONTRAINTE CRITIQUE D'EROSION DES COUCHES DE VASE", - "INITIAL_THICKNESS_OF_SEDIMENT_LAYERS" : "EPAISSEURS INITIALES DES COUCHES", - "SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT" : "SOLVEUR POUR LA DIFFUSION DU SEDIMENT", - "ACCURACY_FOR_DIFFUSION_OF_SEDIMENT" : "PRECISION POUR LA DIFFUSION DU SEDIMENT", - "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT" : "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DU SEDIMENT", - "PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT" : "PRECONDITIONNEMENT POUR LA DIFFUSION DU SEDIMENT", - "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT" : "OPTION DU SOLVEUR POUR LA DIFFUSION DU SEDIMENT", - "THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS" : "SEUIL LIMITE POUR EROSION SUR BANCS DECOUVRANTS", - "CRITICAL_SHEAR_STRESS_FOR_DEPOSITION" : "CONTRAINTE CRITIQUE DE DEPOT", - "NON_COHESIVE_BED_POROSITY" : "POROSITE DU LIT NON COHESIF", - "EROSION_COEFFICIENT" : "COEFFICIENT D'EROSION", - "CONSTANT_SEDIMENT_SETTLING_VELOCITY" : "VITESSE DE CHUTE CONSTANTE", - "SETTLING_VELOCITY_OF_SANDS" : "VITESSE DE CHUTE DES SABLES", - "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY" : "SCHEMA DE CONVECTION DIFFUSION AVEC VITESSE DE CHUTE", - "HINDERED_SETTLING" : "VITESSE DE CHUTE ENTRAVEE", - "WEAK_SOIL_CONCENTRATION_FOR_MUD" : "CONCENTRATION LIMITE FLUIDE-SOLIDE", - "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING" : "CONCENTRATION LIMITE POUR VITESSE DE CHUTE ENTRAVEE", - "HINDERED_SETTLING_FORMULA" : "FORMULE POUR VITESSE DE CHUTE ENTRAVEE", - "REFERENCE_CONCENTRATION_FORMULA" : "FORMULE POUR LA CONCENTRATION DE REFERENCE", - "FLOCCULATION" : "FLOCULATION", - "FLOCCULATION_FORMULA" : "FORMULE POUR FLOCULATION", - "FLOCCULATION_COEFFICIENT" : "COEFFICIENT TRADUISANT LA FORMATION DES FLOCS", - "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION" : "COEFFICIENT TRADUISANT LA DESTRUCTION DES FLOCS", - "BED_LAYERS_THICKNESS" : "EPAISSEUR DES COUCHES DU FOND VASEUX", - "MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD" : "CONCENTRATION MAXIMUM DE LA VASE TASSEE", - "RESIDENCE_TIME_FOR_MUD" : "TEMPS DE SEJOUR DE LA VASE", - "CONSOLIDATION" : "TASSEMENT DE LA VASE", - "CONSOLIDATION_MODEL" : "OPTION DU MODELE DE TASSEMENT", - "COUPLING_WITH" : "COUPLAGE AVEC", - "SISYPHE_STEERING_FILE" : "FICHIER DES PARAMETRES DE SISYPHE", - "COUPLING_PERIOD_FOR_SISYPHE" : "PERIODE DE COUPLAGE POUR SISYPHE", - "TOMAWAC_STEERING_FILE" : "FICHIER DES PARAMETRES DE TOMAWAC", - "COUPLING_PERIOD_FOR_TOMAWAC" : "PERIODE DE COUPLAGE POUR TOMAWAC", - "BOTTOM_FRICTION_DUE_TO_WAVES" : "FROTTEMENT SUR LE FOND DU AUX VAGUES", - "WATER_QUALITY_PROCESS" : "PROCESSUS DE QUALITE D'EAU", - "WAQTEL_STEERING_FILE" : "FICHIER DES PARAMETRES DE WAQTEL", - "DELWAQ_STEERING_FILE" : "FICHIER DE COMMANDE DELWAQ", - "DELWAQ_PRINTOUT_PERIOD" : "PERIODE DE SORTIE POUR DELWAQ", - "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE" : "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS", - "NODES_DISTANCES_DELWAQ_FILE" : "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS", - "BOTTOM_SURFACES_DELWAQ_FILE" : "FICHIER DELWAQ DES SURFACES DU FOND", - "VOLUMES_DELWAQ_FILE" : "FICHIER DELWAQ DES VOLUMES", - "EXCHANGE_AREAS_DELWAQ_FILE" : "FICHIER DELWAQ DES SURFACES DE FLUX", - "VERTICAL_FLUXES_DELWAQ_FILE" : "FICHIER DELWAQ DES FLUX VERTICAUX", - "VELOCITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA VITESSE", - "DIFFUSIVITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA DIFFUSION", - "TEMPERATURE_DELWAQ_FILE" : "FICHIER DELWAQ DE LA TEMPERATURE", - "SALINITY_DELWAQ_FILE" : "FICHIER DELWAQ DE LA SALINITE", - "VELOCITY_FOR_DELWAQ" : "VITESSE POUR DELWAQ", - "DIFFUSION_FOR_DELWAQ" : "DIFFUSION POUR DELWAQ", - "TEMPERATURE_FOR_DELWAQ" : "TEMPERATURE POUR DELWAQ", - "SALINITY_FOR_DELWAQ" : "SALINITE POUR DELWAQ", - "GAIA_STEERING_FILE" : "FICHIER DES PARAMETRES DE GAIA", - "AD_NUMBER_OF_DERIVATIVES" : "AD NOMBRE DES DERIVEES", - "AD_NAMES_OF_DERIVATIVES" : "AD NOMS DES DERIVEES", - "AD_NUMBER_OF_DIRECTIONS" : "AD NOMBRE DE DIRECTIONS", - "AD_SYMBOLIC_LINEAR_SOLVER" : "AD SOLVEUR LINEAIRE SYMBOLIQUE", - "AD_LINEAR_SOLVER_RESET_DERIVATIVES" : "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE", - "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE" : "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE", - "PARTITIONING_TOOL" : "PARTITIONNEUR", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "DICTIONARY" : "DICTIONNAIRE", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATION SORTIE PARTEL", -} -dicoCasFrToCata = { - "TITRE" : "TITLE", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES" : "MAXIMUM_NUMBER_OF_BOUNDARIES", - "NOMBRE MAXIMUM DE TRACEURS" : "MAXIMUM_NUMBER_OF_TRACERS", - "NOMBRE MAXIMUM DE SOURCES" : "MAXIMUM_NUMBER_OF_SOURCES", - "NOMBRE MAXIMUM DE FRONTIERES SUR LE FOND" : "MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER BINAIRE DE DONNEES DE FRONTIERE" : "BINARY_BOUNDARY_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES DE FRONTIERE" : "BINARY_BOUNDARY_DATA_FILE_FORMAT", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "NOMBRE DE LISSAGES DU FOND" : "NUMBER_OF_BOTTOM_SMOOTHINGS", - "LISSAGES DU FOND APRES MODIFICATIONS UTILISATEUR" : "BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS", - "FICHIER DE DONNEES FORMATE 1" : "FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2" : "FORMATTED_DATA_FILE_2", - "FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1_FORMAT", - "FICHIER DE DONNEES BINAIRE 2" : "BINARY_DATA_FILE_2", - "VALIDATION" : "VALIDATION", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FICHIER DES RESULTATS 3D" : "RD_RESULT_FILE", - "FORMAT DU FICHIER DES RESULTATS 3D" : "RD_RESULT_FILE_FORMAT", - "FICHIER DES RESULTATS 2D" : "ED_RESULT_FILE", - "FORMAT DU FICHIER DES RESULTATS 2D" : "ED_RESULT_FILE_FORMAT", - "FICHIER RESULTAT EN LONGITUDE-LATITUDE" : "RESULT_FILE_IN_LONGITUDE_LATITUDE", - "VARIABLES POUR LES SORTIES GRAPHIQUES 3D" : "VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS", - "VARIABLES POUR LES SORTIES GRAPHIQUES 2D" : "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS", - "PERIODE POUR LES SORTIES GRAPHIQUES" : "GRAPHIC_PRINTOUT_PERIOD", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES" : "NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE TABLEAUX PRIVES" : "NUMBER_OF_PRIVATE_ARRAYS", - "NOMBRE DE TABLEAUX PRIVES 2D" : "NUMBER_OF_2D_PRIVATE_ARRAYS", - "NOMS DES VARIABLES PRIVEES 2D" : "NAMES_OF_2D_PRIVATE_VARIABLES", - "FICHIER DE RESULTATS FORMATE" : "FORMATTED_RESULTS_FILE", - "FICHIER DE RESULTATS BINAIRE" : "BINARY_RESULTS_FILE", - "SORTIE LISTING" : "LISTING_PRINTOUT", - "BILAN DE MASSE" : "MASS_BALANCE", - "INFORMATION SUR LE BILAN DE MASSE A CHAQUE SORTIE LISTING" : "INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT", - "PERIODE POUR LES SORTIES LISTING" : "LISTING_PRINTOUT_PERIOD", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING" : "NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "SUITE DE CALCUL" : "COMPUTATION_CONTINUED", - "FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE", - "FORMAT DU FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "ENREGISTREMENT POUR SUITE DE CALCUL" : "RECORD_NUMBER_FOR_RESTART", - "REMISE A ZERO DU TEMPS" : "INITIAL_TIME_SET_TO_ZERO", - "MODE SUITE" : "RESTART_MODE", - "FICHIER POUR SUITE" : "RESTART_FILE", - "FORMAT DU FICHIER POUR SUITE" : "RESTART_FILE_FORMAT", - "SUITE 2D" : "ED_CONTINUATION", - "FICHIER POUR SUITE 2D" : "FILE_FOR_2D_CONTINUATION", - "FORMAT DU FICHIER POUR SUITE 2D" : "FILE_FOR_2D_CONTINUATION_FORMAT", - "DEBUGGER" : "DEBUGGER", - "PAS DE TEMPS" : "TIME_STEP", - "NOMBRE DE PAS DE TEMPS" : "NUMBER_OF_TIME_STEPS", - "DUREE DU CALCUL" : "DURATION", - "DATE DE L'ORIGINE DES TEMPS" : "ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS" : "ORIGINAL_HOUR_OF_TIME", - "COORDONNEES SPHERIQUES" : "SPHERICAL_COORDINATES", - "TYPE DE PROJECTION SPATIALE" : "SPATIAL_PROJECTION_TYPE", - "LATITUDE DU POINT ORIGINE" : "LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE DU POINT ORIGINE" : "LONGITUDE_OF_ORIGIN_POINT", - "NORD" : "NORTH", - "NOMBRE DE PLANS HORIZONTAUX" : "NUMBER_OF_HORIZONTAL_LEVELS", - "TRANSFORMATION DU MAILLAGE" : "MESH_TRANSFORMATION", - "VOLUME MINIMAL DES ELEMENTS 3D" : "MINIMUM_VOLUME_OF_3D_ELEMENTS", - "DISTANCE MINIMALE ENTRE PLANS PRES DU FOND" : "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM", - "DISTANCE MINIMALE ENTRE PLANS PRES DE LA SURFACE LIBRE" : "MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE", - "HAUTEUR SEUIL AVANT ELEMENTS ECRASES" : "THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS", - "NUMERO DE TRACEUR POUR AMR" : "NUMBER_OF_TRACER_FOR_AMR", - "NOMBRE DE SOUS ITERATIONS POUR LES NON LINEARITES" : "NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "ZERO" : "ZERO", - "ETAPE DE CONVECTION" : "ADVECTION_STEP", - "TRAITEMENT DES FLUX AUX FRONTIERES" : "TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "OPTION DE SUPG" : "SUPG_OPTION", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS" : "NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "MASS-LUMPING POUR LA DIFFUSION" : "MASS_LUMPING_FOR_DIFFUSION", - "VERSION NON-HYDROSTATIQUE" : "NON_HYDROSTATIC_VERSION", - "ELEMENTS MASQUES PAR L'UTILISATEUR" : "ELEMENTS_MASKED_BY_USER", - "ACCELERATION DE LA PESANTEUR" : "GRAVITY_ACCELERATION", - "MASSE VOLUMIQUE MOYENNE DE L'EAU" : "AVERAGE_WATER_DENSITY", - "LOI DE FROTTEMENT SUR LE FOND" : "LAW_OF_BOTTOM_FRICTION", - "COEFFICIENT DE FROTTEMENT POUR LE FOND" : "FRICTION_COEFFICIENT_FOR_THE_BOTTOM", - "LOI DE FROTTEMENT SUR LES PAROIS LATERALES" : "LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "COEFFICIENT DE FROTTEMENT POUR LES PAROIS LATERALES" : "FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES", - "CORIOLIS" : "CORIOLIS", - "COEFFICIENT DE CORIOLIS" : "CORIOLIS_COEFFICIENT", - "VENT" : "WIND", - "OPTION DU VENT" : "OPTION_FOR_WIND", - "VITESSE DU VENT SUIVANT X" : "WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y" : "WIND_VELOCITY_ALONG_Y", - "COEFFICIENT D'INFLUENCE DU VENT" : "COEFFICIENT_OF_WIND_INFLUENCE", - "COEFFICIENT D'INFLUENCE DU VENT DEPENDANT DE LA VITESSE DU VENT" : "COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED", - "PROFONDEUR LIMITE POUR LE VENT" : "THRESHOLD_DEPTH_FOR_WIND", - "PRESSION ATMOSPHERIQUE" : "AIR_PRESSURE", - "VALEUR DE LA PRESSION ATMOSPHERIQUE" : "VALUE_OF_ATMOSPHERIC_PRESSURE", - "PLUIE OU EVAPORATION" : "RAIN_OR_EVAPORATION", - "PLUIE OU EVAPORATION EN MM PAR JOUR" : "RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "FICHIER ASCII DE DONNEES ATMOSPHERIQUES" : "ASCII_ATMOSPHERIC_DATA_FILE", - "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES" : "BINARY_ATMOSPHERIC_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES" : "BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "TEMPERATURE DE L'AIR" : "AIR_TEMPERATURE", - "NEBULOSITE" : "CLOUD_COVER", - "RAYONNEMENT SOLAIRE" : "SOLAR_RADIATION", - "HUMIDITE RELATIVE" : "RELATIVE_HUMIDITY", - "FICHIER DES SOURCES" : "SOURCES_FILE", - "NUMEROS GLOBAUX DES NOEUDS DES SOURCES" : "GLOBAL_NUMBERS_OF_SOURCE_NODES", - "TYPE DES SOURCES" : "TYPE_OF_SOURCES", - "ABSCISSES DES SOURCES" : "ABSCISSAE_OF_SOURCES", - "ORDONNEES DES SOURCES" : "ORDINATES_OF_SOURCES", - "COTES DES SOURCES" : "ELEVATIONS_OF_SOURCES", - "DEBITS DES SOURCES" : "WATER_DISCHARGE_OF_SOURCES", - "VITESSES DES SOURCES SELON X" : "VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VITESSES DES SOURCES SELON Y" : "VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "VITESSES DES SOURCES SELON Z" : "VELOCITIES_OF_THE_SOURCES_ALONG_Z", - "COURANTS DE HOULE" : "WAVE_DRIVEN_CURRENTS", - "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE" : "RECORD_NUMBER_IN_WAVE_FILE", - "COTES IMPOSEES" : "PRESCRIBED_ELEVATIONS", - "DEBITS IMPOSES" : "PRESCRIBED_FLOWRATES", - "VITESSES IMPOSEES" : "PRESCRIBED_VELOCITIES", - "FICHIER DES FRONTIERES LIQUIDES" : "LIQUID_BOUNDARIES_FILE", - "PROFILS DE VITESSE" : "VELOCITY_PROFILES", - "PROFILS DE VITESSE SUR LA VERTICALE" : "VELOCITY_VERTICAL_PROFILES", - "COURBES DE TARAGE" : "STAGE_DISCHARGE_CURVES", - "FICHIER DES COURBES DE TARAGE" : "STAGE_DISCHARGE_CURVES_FILE", - "OPTION POUR LES FRONTIERES LIQUIDES" : "OPTION_FOR_LIQUID_BOUNDARIES", - "REGIME DE TURBULENCE POUR LE FOND" : "TURBULENCE_REGIME_FOR_THE_BOTTOM", - "REGIME DE TURBULENCE POUR LES PAROIS LATERALES" : "TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES", - "CONDITION A LA LIMITE AU FOND" : "BOUNDARY_CONDITION_ON_THE_BOTTOM", - "VITESSE PROJETEE SUR LES PAROIS LATERALES SOLIDES" : "VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES", - "VITESSE PROJETEE SUR LE FOND" : "VELOCITY_PROJECTED_ON_BOTTOM", - "CONDITIONS OUVERTES SUR LE FOND" : "OPEN_BOUNDARY_CONDITIONS_ON_THE_BED", - "DEBITS IMPOSES SUR LE FOND" : "PRESCRIBED_FLOWRATES_ON_THE_BED", - "CONDITIONS INITIALES" : "INITIAL_CONDITIONS", - "COTE INITIALE" : "INITIAL_ELEVATION", - "HAUTEUR INITIALE" : "INITIAL_DEPTH", - "STOCKAGE DES MATRICES" : "MATRIX_STORAGE", - "MASS-LUMPING POUR LA HAUTEUR" : "MASS_LUMPING_FOR_DEPTH", - "FILTRE LES INCONSISTANCES HYDROSTATIQUES" : "HYDROSTATIC_INCONSISTENCY_FILTER", - "ELEMENT" : "ELEMENT", - "SOLVEUR POUR LA PROPAGATION" : "SOLVER_FOR_PROPAGATION", - "PRECISION POUR LA PROPAGATION" : "ACCURACY_FOR_PROPAGATION", - "MAXIMUM D'ITERATIONS POUR LA PROPAGATION" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION", - "PRECONDITIONNEMENT POUR LA PROPAGATION" : "PRECONDITIONING_FOR_PROPAGATION", - "OPTION DU SOLVEUR POUR LA PROPAGATION" : "OPTION_OF_SOLVER_FOR_PROPAGATION", - "ORDRE DU TIR INITIAL POUR LA HAUTEUR" : "INITIAL_GUESS_FOR_DEPTH", - "PROPAGATION LINEARISEE" : "LINEARIZED_PROPAGATION", - "PROFONDEUR MOYENNE POUR LA LINEARISATION" : "MEAN_DEPTH_FOR_LINEARIZATION", - "SCHEMA POUR LA CONVECTION DE LA HAUTEUR" : "SCHEME_FOR_ADVECTION_OF_DEPTH", - "SCHEMA POUR LA CONVECTION DES VITESSES" : "SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE" : "FREE_SURFACE_GRADIENT_COMPATIBILITY", - "CONTOURNEMENT DES VOLUMES NULS" : "BYPASS_VOID_VOLUMES", - "MASS-LUMPING POUR LES VITESSES" : "MASS_LUMPING_FOR_VELOCITIES", - "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES" : "SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "OPTION POUR LES CARACTERISTIQUES" : "OPTION_FOR_CHARACTERISTICS", - "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES" : "NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES" : "MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "SCHEMA POUR LA DIFFUSION DES VITESSES" : "SCHEME_FOR_DIFFUSION_OF_VELOCITIES", - "SOLVEUR POUR LA DIFFUSION DES VITESSES" : "SOLVER_FOR_DIFFUSION_OF_VELOCITIES", - "PRECISION POUR LA DIFFUSION DES VITESSES" : "ACCURACY_FOR_DIFFUSION_OF_VELOCITIES", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES VITESSES" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES VITESSES" : "PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES VITESSES" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION POUR LA DIFFUSION" : "IMPLICITATION_FOR_DIFFUSION", - "SOLVEUR POUR PPE" : "SOLVER_FOR_PPE", - "PRECISION POUR PPE" : "ACCURACY_FOR_PPE", - "MAXIMUM D'ITERATIONS POUR PPE" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE", - "PRECONDITIONNEMENT POUR PPE" : "PRECONDITIONING_FOR_PPE", - "OPTION DU SOLVEUR POUR PPE" : "OPTION_OF_SOLVER_FOR_PPE", - "PRESSION DYNAMIQUE DANS L'EQUATION D'ONDE" : "DYNAMIC_PRESSURE_IN_WAVE_EQUATION", - "CONDITION LIMITE DYNAMIQUE" : "DYNAMIC_BOUNDARY_CONDITION", - "CORRECTION DE CONTINUITE SUR FRONTIERES OUVERTES" : "CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES", - "IMPLICITATION POUR LA HAUTEUR" : "IMPLICITATION_FOR_DEPTH", - "IMPLICITATION POUR LES VITESSES" : "IMPLICITATION_FOR_VELOCITIES", - "BANCS DECOUVRANTS" : "TIDAL_FLATS", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS" : "OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TRAITEMENT DES HAUTEURS NEGATIVES" : "TREATMENT_OF_NEGATIVE_DEPTHS", - "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LES VITESSES" : "TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES", - "SEUIL POUR CORRECTION DE VISCOSITE SUR BANCS DECOUVRANTS" : "THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS", - "VALEUR MINIMALE POUR LA HAUTEUR" : "MINIMAL_VALUE_FOR_DEPTH", - "BASE BINAIRE 1 DE DONNEES DE MAREE" : "BINARY_DATABASE_1_FOR_TIDE", - "BASE BINAIRE 2 DE DONNEES DE MAREE" : "BINARY_DATABASE_2_FOR_TIDE", - "SYSTEME GEOGRAPHIQUE" : "GEOGRAPHIC_SYSTEM", - "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE" : "ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "FICHIER DE CONVERSION LAMBERT 93" : "LAMBERT_93_CONVERSION_FILE", - "COEFFICIENT DE CALAGE DU NIVEAU DE MER" : "COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER" : "GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "INTERPOLATION DE COMPOSANTES MINEURES" : "MINOR_CONSTITUENTS_INFERENCE", - "VITESSES INITIALES CALCULEES PAR TPXO" : "INITIAL_VELOCITIES_COMPUTED_BY_TPXO", - "HAUTEUR MINIMALE POUR LES CONDITIONS INITIALES DE COURANTS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS", - "FORCE GENERATRICE DE LA MAREE" : "TIDE_GENERATING_FORCE", - "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE" : "OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "BASE DE DONNEES DE MAREE" : "TIDAL_DATA_BASE", - "FICHIER DES CONSTANTES HARMONIQUES" : "HARMONIC_CONSTANTS_FILE", - "FICHIER DU MODELE DE MAREE" : "TIDAL_MODEL_FILE", - "FORMAT DU FICHIER DU MODELE DE MAREE" : "TIDAL_MODEL_FILE_FORMAT", - "BASE ASCII DE DONNEES DE MAREE" : "ASCII_DATABASE_FOR_TIDE", - "COEFFICIENT DE CALAGE DU MARNAGE" : "COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT DE CALAGE DES VITESSES DE COURANT" : "COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER" : "LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "HAUTEUR MINIMALE POUR LES CONDITIONS AUX LIMITES DE COURANTS" : "MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS", - "NOMBRE MAXIMAL DE FLOTTEURS" : "MAXIMUM_NUMBER_OF_DROGUES", - "FICHIER ASCII DES FLOTTEURS" : "ASCII_DROGUES_FILE", - "FICHIER BINAIRE DES FLOTTEURS" : "BINARY_DROGUES_FILE", - "FORMAT DU FICHIER DES FLOTTEURS" : "DROGUES_FILE_FORMAT", - "PERIODE POUR LES SORTIES DE FLOTTEURS" : "PRINTOUT_PERIOD_FOR_DROGUES", - "MODELE DE NAPPES D'HYDROCARBURES" : "OIL_SPILL_MODEL", - "FICHIER DE COMMANDES HYDROCARBURES" : "OIL_SPILL_STEERING_FILE", - "NOMBRE DE BUSES" : "NUMBER_OF_CULVERTS", - "FICHIER DE DONNEES DES BUSES" : "CULVERTS_DATA_FILE", - "OPTION POUR LES BUSES" : "OPTION_FOR_CULVERTS", - "MODELE DE TURBULENCE HORIZONTAL" : "HORIZONTAL_TURBULENCE_MODEL", - "MODELE DE TURBULENCE VERTICAL" : "VERTICAL_TURBULENCE_MODEL", - "COEFFICIENT DE DIFFUSION HORIZONTAL DES VITESSES" : "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES", - "COEFFICIENT DE DIFFUSION VERTICAL DES VITESSES" : "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES", - "MODELE DE LONGUEUR DE MELANGE" : "MIXING_LENGTH_MODEL", - "FONCTION D'AMORTISSEMENT" : "DAMPING_FUNCTION", - "NOMBRE DE PRANDTL" : "PRANDTL_NUMBER", - "CONSTANTE DE KARMAN" : "KARMAN_CONSTANT", - "FICHIER DES PARAMETRES GOTM" : "GOTM_STEERING_FILE", - "HAUTEUR DU LIT FICTIF" : "FICTITIOUS_BED_LEVEL", - "OPTION POUR LES CONDITIONS AUX LIMITES DU K-EPSILON" : "OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON", - "DERIVEES VERTICALES DES VITESSES" : "VERTICAL_VELOCITY_DERIVATIVES", - "SCHEMA POUR LA CONVECTION DU K-EPSILON" : "SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON" : "SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "SCHEMA POUR LA DIFFUSION DU K-EPSILON" : "SCHEME_FOR_DIFFUSION_OF_K_EPSILON", - "SOLVEUR POUR LA DIFFUSION DU K-EPSILON" : "SOLVER_FOR_DIFFUSION_OF_K_EPSILON", - "PRECISION POUR LA DIFFUSION DU K-EPSILON" : "ACCURACY_FOR_DIFFUSION_OF_K_EPSILON", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DU K-EPSILON" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON", - "PRECONDITIONNEMENT POUR LA DIFFUSION DU K-EPSILON" : "PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON", - "OPTION DU SOLVEUR POUR LA DIFFUSION DU K-EPSILON" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON", - "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LE K-EPSILON" : "TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON", - "NOMBRE DE TRACEURS" : "NUMBER_OF_TRACERS", - "NOMS DES TRACEURS" : "NAMES_OF_TRACERS", - "VALEURS DES TRACEURS DANS LA PLUIE" : "VALUES_OF_TRACERS_IN_THE_RAIN", - "VALEURS DES TRACEURS DES SOURCES" : "VALUE_OF_THE_TRACERS_AT_THE_SOURCES", - "LOI DE DENSITE" : "DENSITY_LAW", - "VALEURS DE REFERENCE DES TRACEURS" : "STANDARD_VALUES_FOR_TRACERS", - "COEFFICIENT DE DILATATION BETA POUR LES TRACEURS" : "BETA_EXPANSION_COEFFICIENT_FOR_TRACERS", - "VALEURS IMPOSEES DES TRACEURS" : "PRESCRIBED_TRACERS_VALUES", - "PROFILS DES TRACEURS SUR LA VERTICALE" : "TRACERS_VERTICAL_PROFILES", - "VALEURS INITIALES DES TRACEURS" : "INITIAL_VALUES_OF_TRACERS", - "SCHEMA POUR LA CONVECTION DES TRACEURS" : "SCHEME_FOR_ADVECTION_OF_TRACERS", - "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS" : "SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "SCHEMA POUR LA DIFFUSION DES TRACEURS" : "SCHEME_FOR_DIFFUSION_OF_TRACERS", - "SOLVEUR POUR LA DIFFUSION DES TRACEURS" : "SOLVER_FOR_DIFFUSION_OF_TRACERS", - "PRECISION POUR LA DIFFUSION DES TRACEURS" : "ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS" : "PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS", - "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LES TRACEURS" : "TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS", - "COEFFICIENT DE DIFFUSION HORIZONTAL DES TRACEURS" : "COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS", - "COEFFICIENT DE DIFFUSION VERTICAL DES TRACEURS" : "COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS", - "SEDIMENT" : "SEDIMENT", - "MASSE VOLUMIQUE DU SEDIMENT" : "DENSITY_OF_THE_SEDIMENT", - "PAS DE TEMPS DE LA CONSOLIDATION" : "TIME_STEP_FOR_CONSOLIDATION", - "SEDIMENT COHESIF" : "COHESIVE_SEDIMENT", - "PARAMETRE DE SHIELDS" : "SHIELDS_PARAMETER", - "SEDIMENT MIXTE" : "MIXED_SEDIMENT", - "NOMBRE DE COUCHES DU LIT COHESIF" : "NUMBER_OF_SEDIMENT_BED_LAYERS", - "LECTURE CONTRAINTE CRITIQUE POUR CHAQUE COUCHE" : "READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER", - "FICHIER DES RESULTATS SEDIMENTOLOGIQUES" : "SEDIMENTOLOGICAL_RESULT_FILE", - "BINAIRE DU FICHIER DES RESULTATS SEDIMENTOLOGIQUES" : "SEDIMENTOLOGICAL_RESULT_FILE_BINARY", - "FICHIER SEDIMENTOLOGIQUE DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE", - "DIAMETRE MOYEN DES GRAINS" : "MEAN_DIAMETER_OF_THE_SEDIMENT", - "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN" : "RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "CORRECTION FROTTEMENT DE PEAU" : "SKIN_FRICTION_CORRECTION", - "POURCENTAGE INITIAL DE SEDIMENT NON COHESIF" : "INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT", - "CONCENTRATIONS DES COUCHES DE VASE" : "MUD_CONCENTRATIONS_PER_LAYER", - "CONTRAINTE CRITIQUE D'EROSION DES COUCHES DE VASE" : "CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS", - "EPAISSEURS INITIALES DES COUCHES" : "INITIAL_THICKNESS_OF_SEDIMENT_LAYERS", - "SOLVEUR POUR LA DIFFUSION DU SEDIMENT" : "SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT", - "PRECISION POUR LA DIFFUSION DU SEDIMENT" : "ACCURACY_FOR_DIFFUSION_OF_SEDIMENT", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DU SEDIMENT" : "MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT", - "PRECONDITIONNEMENT POUR LA DIFFUSION DU SEDIMENT" : "PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT", - "OPTION DU SOLVEUR POUR LA DIFFUSION DU SEDIMENT" : "OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT", - "SEUIL LIMITE POUR EROSION SUR BANCS DECOUVRANTS" : "THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS", - "CONTRAINTE CRITIQUE DE DEPOT" : "CRITICAL_SHEAR_STRESS_FOR_DEPOSITION", - "POROSITE DU LIT NON COHESIF" : "NON_COHESIVE_BED_POROSITY", - "COEFFICIENT D'EROSION" : "EROSION_COEFFICIENT", - "VITESSE DE CHUTE CONSTANTE" : "CONSTANT_SEDIMENT_SETTLING_VELOCITY", - "VITESSE DE CHUTE DES SABLES" : "SETTLING_VELOCITY_OF_SANDS", - "SCHEMA DE CONVECTION DIFFUSION AVEC VITESSE DE CHUTE" : "ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY", - "VITESSE DE CHUTE ENTRAVEE" : "HINDERED_SETTLING", - "CONCENTRATION LIMITE FLUIDE-SOLIDE" : "WEAK_SOIL_CONCENTRATION_FOR_MUD", - "CONCENTRATION LIMITE POUR VITESSE DE CHUTE ENTRAVEE" : "THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING", - "FORMULE POUR VITESSE DE CHUTE ENTRAVEE" : "HINDERED_SETTLING_FORMULA", - "FORMULE POUR LA CONCENTRATION DE REFERENCE" : "REFERENCE_CONCENTRATION_FORMULA", - "FLOCULATION" : "FLOCCULATION", - "FORMULE POUR FLOCULATION" : "FLOCCULATION_FORMULA", - "COEFFICIENT TRADUISANT LA FORMATION DES FLOCS" : "FLOCCULATION_COEFFICIENT", - "COEFFICIENT TRADUISANT LA DESTRUCTION DES FLOCS" : "COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION", - "EPAISSEUR DES COUCHES DU FOND VASEUX" : "BED_LAYERS_THICKNESS", - "CONCENTRATION MAXIMUM DE LA VASE TASSEE" : "MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD", - "TEMPS DE SEJOUR DE LA VASE" : "RESIDENCE_TIME_FOR_MUD", - "TASSEMENT DE LA VASE" : "CONSOLIDATION", - "OPTION DU MODELE DE TASSEMENT" : "CONSOLIDATION_MODEL", - "COUPLAGE AVEC" : "COUPLING_WITH", - "FICHIER DES PARAMETRES DE SISYPHE" : "SISYPHE_STEERING_FILE", - "PERIODE DE COUPLAGE POUR SISYPHE" : "COUPLING_PERIOD_FOR_SISYPHE", - "FICHIER DES PARAMETRES DE TOMAWAC" : "TOMAWAC_STEERING_FILE", - "PERIODE DE COUPLAGE POUR TOMAWAC" : "COUPLING_PERIOD_FOR_TOMAWAC", - "FROTTEMENT SUR LE FOND DU AUX VAGUES" : "BOTTOM_FRICTION_DUE_TO_WAVES", - "PROCESSUS DE QUALITE D'EAU" : "WATER_QUALITY_PROCESS", - "FICHIER DES PARAMETRES DE WAQTEL" : "WAQTEL_STEERING_FILE", - "FICHIER DE COMMANDE DELWAQ" : "DELWAQ_STEERING_FILE", - "PERIODE DE SORTIE POUR DELWAQ" : "DELWAQ_PRINTOUT_PERIOD", - "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS" : "EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS" : "NODES_DISTANCES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DU FOND" : "BOTTOM_SURFACES_DELWAQ_FILE", - "FICHIER DELWAQ DES VOLUMES" : "VOLUMES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DE FLUX" : "EXCHANGE_AREAS_DELWAQ_FILE", - "FICHIER DELWAQ DES FLUX VERTICAUX" : "VERTICAL_FLUXES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA VITESSE" : "VELOCITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA DIFFUSION" : "DIFFUSIVITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA TEMPERATURE" : "TEMPERATURE_DELWAQ_FILE", - "FICHIER DELWAQ DE LA SALINITE" : "SALINITY_DELWAQ_FILE", - "VITESSE POUR DELWAQ" : "VELOCITY_FOR_DELWAQ", - "DIFFUSION POUR DELWAQ" : "DIFFUSION_FOR_DELWAQ", - "TEMPERATURE POUR DELWAQ" : "TEMPERATURE_FOR_DELWAQ", - "SALINITE POUR DELWAQ" : "SALINITY_FOR_DELWAQ", - "FICHIER DES PARAMETRES DE GAIA" : "GAIA_STEERING_FILE", - "AD NOMBRE DES DERIVEES" : "AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES" : "AD_NAMES_OF_DERIVATIVES", - "AD NOMBRE DE DIRECTIONS" : "AD_NUMBER_OF_DIRECTIONS", - "AD SOLVEUR LINEAIRE SYMBOLIQUE" : "AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE" : "AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "PARTITIONNEUR" : "PARTITIONING_TOOL", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DICTIONNAIRE" : "DICTIONARY", - "CONCATENATION SORTIE PARTEL" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/telemac3d_enum_auto.py b/Telemac/telemac3d_enum_auto.py deleted file mode 100644 index 818ecd9a..00000000 --- a/Telemac/telemac3d_enum_auto.py +++ /dev/null @@ -1,1798 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS' : { - 'U':"velocity along x axis (m/s)", - 'V':"velocity along y axis (m/s)", - 'W':"velocity along z axis (m/s)", - 'Z':"elevation z (m)", - 'TA1':"concentration for tracer 1", - 'TA2':"concentration for tracer 2", - 'TA3':"concentration for tracer 3", - 'TA4':"concentration for tracer 4", - 'TA5':"concentration for tracer 5", - 'TA6':"concentration for tracer 6", - 'TA7':"concentration for tracer 7", - 'TA8':"concentration for tracer 8", - 'TA9':"concentration for tracer 9", - 'TA10':"concentration for tracer 10", - 'TA11':"concentration for tracer 11", - 'TA12':"concentration for tracer 12", - 'TA13':"concentration for tracer 13", - 'TA14':"concentration for tracer 14", - 'TA15':"concentration for tracer 15", - 'TA16':"concentration for tracer 16", - 'TA17':"concentration for tracer 17", - 'TA18':"concentration for tracer 18", - 'TA19':"concentration for tracer 19", - 'TA20':"concentration for tracer 20", - 'TA21':"concentration for tracer 21", - 'TA22':"concentration for tracer 22", - 'TA23':"concentration for tracer 23", - 'TA24':"concentration for tracer 24", - 'TA25':"concentration for tracer 25", - 'TA26':"concentration for tracer 26", - 'TA27':"concentration for tracer 27", - 'TA28':"concentration for tracer 28", - 'TA29':"concentration for tracer 29", - 'TA30':"concentration for tracer 30", - 'TA31':"concentration for tracer 31", - 'TA32':"concentration for tracer 32", - 'TA33':"concentration for tracer 33", - 'TA34':"concentration for tracer 34", - 'TA35':"concentration for tracer 35", - 'TA36':"concentration for tracer 36", - 'TA37':"concentration for tracer 37", - 'TA38':"concentration for tracer 38", - 'TA39':"concentration for tracer 39", - 'TA40':"concentration for tracer 40", - 'TA41':"concentration for tracer 41", - 'TA42':"concentration for tracer 42", - 'TA43':"concentration for tracer 43", - 'TA44':"concentration for tracer 44", - 'TA45':"concentration for tracer 45", - 'TA46':"concentration for tracer 46", - 'TA47':"concentration for tracer 47", - 'TA48':"concentration for tracer 48", - 'TA49':"concentration for tracer 49", - 'TA50':"concentration for tracer 50", - 'TA51':"concentration for tracer 51", - 'TA52':"concentration for tracer 52", - 'TA53':"concentration for tracer 53", - 'TA54':"concentration for tracer 54", - 'TA55':"concentration for tracer 55", - 'TA56':"concentration for tracer 56", - 'TA57':"concentration for tracer 57", - 'TA58':"concentration for tracer 58", - 'TA59':"concentration for tracer 59", - 'TA60':"concentration for tracer 60", - 'TA61':"concentration for tracer 61", - 'TA62':"concentration for tracer 62", - 'TA63':"concentration for tracer 63", - 'TA64':"concentration for tracer 64", - 'TA65':"concentration for tracer 65", - 'TA66':"concentration for tracer 66", - 'TA67':"concentration for tracer 67", - 'TA68':"concentration for tracer 68", - 'TA69':"concentration for tracer 69", - 'TA70':"concentration for tracer 70", - 'TA71':"concentration for tracer 71", - 'TA72':"concentration for tracer 72", - 'TA73':"concentration for tracer 73", - 'TA74':"concentration for tracer 74", - 'TA75':"concentration for tracer 75", - 'TA76':"concentration for tracer 76", - 'TA77':"concentration for tracer 77", - 'TA78':"concentration for tracer 78", - 'TA79':"concentration for tracer 79", - 'TA80':"concentration for tracer 80", - 'TA81':"concentration for tracer 81", - 'TA82':"concentration for tracer 82", - 'TA83':"concentration for tracer 83", - 'TA84':"concentration for tracer 84", - 'TA85':"concentration for tracer 85", - 'TA86':"concentration for tracer 86", - 'TA87':"concentration for tracer 87", - 'TA88':"concentration for tracer 88", - 'TA89':"concentration for tracer 89", - 'TA90':"concentration for tracer 90", - 'TA91':"concentration for tracer 91", - 'TA92':"concentration for tracer 92", - 'TA93':"concentration for tracer 93", - 'TA94':"concentration for tracer 94", - 'TA95':"concentration for tracer 95", - 'TA96':"concentration for tracer 96", - 'TA97':"concentration for tracer 97", - 'TA98':"concentration for tracer 98", - 'TA99':"concentration for tracer 99", - 'TA*':"concentrations for tracers from 1 to 9", - 'TA**':"concentrations for tracers from 10 to 99", - 'NUX':"viscosity for U and V along x axis (m2/s)", - 'NUY':"viscosity for U and V along y axis (m2/s)", - 'NUZ':"viscosity for U and V along z axis (m2/s)", - 'NAX':"viscosity for tracers along x axis (m2/s)", - 'NAY':"viscosity for tracers along y axis (m2/s)", - 'NAZ':"viscosity for tracers along z axis (m2/s)", - 'RI':"Richardson number in case of mixing length model", - 'K':"turbulent energie for k-epsilon model (J/kg)", - 'EPS':"dissipation of turbulent energie (W/kg)", - 'DP':"dynamic pressure (multiplied by DT/RHO)", - 'PH':"hydrostatic pressure (in Pascals)", - 'RHO':"relative density", - 'WDIST':"wall distance", - 'P1':"private variable 1", - 'P2':"private variable 2", - 'P3':"private variable 3", - 'P4':"private variable 4", - 'US':"Stokes velocity along x axis (m/s)", - 'VS':"Stokes velocity along y axis (m/s)", - 'WS':"Stokes velocity along z axis (m/s)", - }, -'VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS' : { - 'U':"depth averaged velocity along x axis (m/s)", - 'V':"depth averaged velocity along y axis (m/s)", - 'C':"celerity (m/s)", - 'H':"water depth (m)", - 'S':"free surface elevation (m)", - 'B':"bottom elevation (m)", - 'TA1':"concentrations for tracer 1", - 'TA2':"concentrations for tracer 2", - 'TA3':"concentrations for tracer 3", - 'TA4':"concentrations for tracer 4", - 'TA5':"concentrations for tracer 5", - 'TA6':"concentrations for tracer 6", - 'TA7':"concentrations for tracer 7", - 'TA8':"concentrations for tracer 8", - 'TA9':"concentrations for tracer 9", - 'TA10':"concentrations for tracer 10", - 'TA11':"concentrations for tracer 11", - 'TA12':"concentrations for tracer 12", - 'TA13':"concentrations for tracer 13", - 'TA14':"concentrations for tracer 14", - 'TA15':"concentrations for tracer 15", - 'TA16':"concentrations for tracer 16", - 'TA17':"concentrations for tracer 17", - 'TA18':"concentrations for tracer 18", - 'TA19':"concentrations for tracer 19", - 'TA20':"concentrations for tracer 20", - 'TA21':"concentrations for tracer 21", - 'TA22':"concentrations for tracer 22", - 'TA23':"concentrations for tracer 23", - 'TA24':"concentrations for tracer 24", - 'TA25':"concentrations for tracer 25", - 'TA26':"concentrations for tracer 26", - 'TA27':"concentrations for tracer 27", - 'TA28':"concentrations for tracer 28", - 'TA29':"concentrations for tracer 29", - 'TA30':"concentrations for tracer 30", - 'TA31':"concentrations for tracer 31", - 'TA32':"concentrations for tracer 32", - 'TA33':"concentrations for tracer 33", - 'TA34':"concentrations for tracer 34", - 'TA35':"concentrations for tracer 35", - 'TA36':"concentrations for tracer 36", - 'TA37':"concentrations for tracer 37", - 'TA38':"concentrations for tracer 38", - 'TA39':"concentrations for tracer 39", - 'TA40':"concentrations for tracer 40", - 'TA41':"concentrations for tracer 41", - 'TA42':"concentrations for tracer 42", - 'TA43':"concentrations for tracer 43", - 'TA44':"concentrations for tracer 44", - 'TA45':"concentrations for tracer 45", - 'TA46':"concentrations for tracer 46", - 'TA47':"concentrations for tracer 47", - 'TA48':"concentrations for tracer 48", - 'TA49':"concentrations for tracer 49", - 'TA50':"concentrations for tracer 50", - 'TA51':"concentrations for tracer 51", - 'TA52':"concentrations for tracer 52", - 'TA53':"concentrations for tracer 53", - 'TA54':"concentrations for tracer 54", - 'TA55':"concentrations for tracer 55", - 'TA56':"concentrations for tracer 56", - 'TA57':"concentrations for tracer 57", - 'TA58':"concentrations for tracer 58", - 'TA59':"concentrations for tracer 59", - 'TA60':"concentrations for tracer 60", - 'TA61':"concentrations for tracer 61", - 'TA62':"concentrations for tracer 62", - 'TA63':"concentrations for tracer 63", - 'TA64':"concentrations for tracer 64", - 'TA65':"concentrations for tracer 65", - 'TA66':"concentrations for tracer 66", - 'TA67':"concentrations for tracer 67", - 'TA68':"concentrations for tracer 68", - 'TA69':"concentrations for tracer 69", - 'TA70':"concentrations for tracer 70", - 'TA71':"concentrations for tracer 71", - 'TA72':"concentrations for tracer 72", - 'TA73':"concentrations for tracer 73", - 'TA74':"concentrations for tracer 74", - 'TA75':"concentrations for tracer 75", - 'TA76':"concentrations for tracer 76", - 'TA77':"concentrations for tracer 77", - 'TA78':"concentrations for tracer 78", - 'TA79':"concentrations for tracer 79", - 'TA80':"concentrations for tracer 80", - 'TA81':"concentrations for tracer 81", - 'TA82':"concentrations for tracer 82", - 'TA83':"concentrations for tracer 83", - 'TA84':"concentrations for tracer 84", - 'TA85':"concentrations for tracer 85", - 'TA86':"concentrations for tracer 86", - 'TA87':"concentrations for tracer 87", - 'TA88':"concentrations for tracer 88", - 'TA89':"concentrations for tracer 89", - 'TA90':"concentrations for tracer 90", - 'TA91':"concentrations for tracer 91", - 'TA92':"concentrations for tracer 92", - 'TA93':"concentrations for tracer 93", - 'TA94':"concentrations for tracer 94", - 'TA95':"concentrations for tracer 95", - 'TA96':"concentrations for tracer 96", - 'TA97':"concentrations for tracer 97", - 'TA98':"concentrations for tracer 98", - 'TA99':"concentrations for tracer 99", - 'TA*':"TA concentrations for tracers from 1 to 9", - 'TA**':"TA concentrations for tracers from 10 to 99", - 'F':"Froude number", - 'Q':"scalar discharge (m2/s)", - 'I':"discharge along x (m2/s)", - 'J':"discharge along y (m2/s)", - 'M':"norm of velocity (m/s)", - 'X':"wind along x axis (m/s)", - 'Y':"wind along y axis (m/s)", - 'P':"atmospheric pressure (Pa)", - 'W':"friction coefficient", - 'RB':"non erodible bottom elevation (m)", - 'HD':"thickness of the sediment bed layer (m)", - 'EF':"erosion rate (kg/m2/s)", - 'DF':"deposition flux (kg/m2/s)", - 'DZF':"bed evolution", - 'PRIVE1':"work array PRIVE 1", - 'PRIVE2':"work array PRIVE 2", - 'PRIVE3':"work array PRIVE 3", - 'PRIVE4':"work array PRIVE 4", - 'QS':"solid discharge (m2/s)", - 'QSX':"solid discharge along x (m2/s)", - 'QSY':"solid discharge along y (m2/s)", - 'US':"friction velocity (m/s)", - 'MAXZ':"maximum value of the free surface elevation (m)", - 'TMXZ':"time corresponding to this maximum elevation (s)", - 'TAIR':"air temperature (degree C)", - 'USURF':"surface velocity along x axis (m/s)", - 'VSURF':"surface velocity along y axis (m/s)", - 'WSURF':"surface velocity along z axis (m/s)", - 'MSURF':"magnitude of velocity at the surface (m/s)", - 'TASURFi':"TAi conc for tracers at the surface, i is the tracer number", - 'TASURF*':"TA concentrations for tracers at the surface from 1 to 9", - 'TASURF**':"TA concentrations for tracers at the surface from 10 to 99", - }, -'SPATIAL_PROJECTION_TYPE' : { - 1:"CARTESIAN, NOT GEOREFERENCED", - 2:"MERCATOR", - 3:"LATITUDE LONGITUDE", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priority to prescribed values", - 2:"Priority to fluxes", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"NO FRICTION", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES' : { - 0:"NO FRICTION", - 1:"COEFFICIENT TAKEN IN BOUNDARY CONDITIONS FILE", - 2:"IDEM", - 3:"IDEM", - 4:"IDEM", - 5:"NIKURADSE", - }, -'OPTION_FOR_WIND' : { - 1:"constant in time and space", - 2:"variable in time given by formatted file", - 3:"variable in time and space given by formatted file", - }, -'TYPE_OF_SOURCES' : { - 1:"Normal", - 2:"Dirac", - }, -'VELOCITY_PROFILES' : { - 1:"constant normal profile", - 2:"ubor and vbor given in the conlim file", - 3:"normal velocity given in ubor in the conlim file", - 4:"Velocity = square root elevation", - 5:"like 4 with virtual depth, see help", - }, -'VELOCITY_VERTICAL_PROFILES' : { - 0:"User defined", - 1:"Constant", - 2:"Logarithmic", - }, -'OPTION_FOR_LIQUID_BOUNDARIES' : { - 1:"classical", - 2:"Thompson method based on characteristics", - }, -'TURBULENCE_REGIME_FOR_THE_BOTTOM' : { - 1:"smooth", - 2:"rough", - 3:"rough compatibility with old versions", - }, -'TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES' : { - 1:"smooth", - 2:"rough", - }, -'BOUNDARY_CONDITION_ON_THE_BOTTOM' : { - 1:"LOG LAW FOR VELOCITIES ON BOTTOM", - 2:"NO SLIP FOR VELOCITIES ON BOTTOM", - }, -'MATRIX_STORAGE' : { - 1:"classical EBE", - 3:"Edge-based storage", - }, -'SOLVER_FOR_PROPAGATION' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_PROPAGATION' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -'INITIAL_GUESS_FOR_DEPTH' : { - 0:"zero", - 1:"previous", - 2:"extrapolation", - }, -'SCHEME_FOR_ADVECTION_OF_VELOCITIES' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - }, -'OPTION_FOR_CHARACTERISTICS' : { - 1:"strong", - 2:"weak", - }, -'SCHEME_FOR_DIFFUSION_OF_VELOCITIES' : { - 0:"NO DIFFUSION", - 1:"IMPLICIT", - }, -'SOLVER_FOR_DIFFUSION_OF_VELOCITIES' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -'SOLVER_FOR_PPE' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_PPE' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS' : { - 1:"EQUATIONS SOLVED EVERYWHERE WITH CORRECTION ON TIDAL FLATS", - 2:"DRY ELEMENTS FROZEN", - 3:"LIKE 1 BUT WITH POROSITY (DEFINA METHOD)", - }, -'TREATMENT_OF_NEGATIVE_DEPTHS' : { - 0:"NO TREATMENT", - 1:"SMOOTHING", - 2:"FLUX CONTROL", - }, -'TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES' : { - 0:"FORCED TO ZERO", - 1:"VALUE BEFORE MASKED", - }, -'GEOGRAPHIC_SYSTEM' : { - -1:"NO DEFAULT VALUE", - 0:"DEFINED BY USER", - 1:"WGS84 LONGITUDE/LATITUDE IN REAL DEGREES", - 2:"WGS84 NORTHERN UTM", - 3:"WGS84 SOUTHERN UTM", - 4:"LAMBERT", - 5:"MERCATOR PROJECTION", - }, -'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS' : { - 0:"No tide", - 1:"Real tide (recommended methodology)", - 2:"Astronomical tide", - 3:"Mean spring tide", - 4:"Mean tide", - 5:"Mean neap tide", - 6:"Astronomical neap tide", - 7:"Real tide (methodology before 2010)", - }, -'TIDAL_DATA_BASE' : { - -1:"NO DEFAULT VALUE", - 1:"JMJ", - 2:"TPXO", - 3:"MISCELLANEOUS (LEGOS-NEA, FES20XX, PREVIMER...)", - }, -'HORIZONTAL_TURBULENCE_MODEL' : { - 1:"CONSTANT VISCOSITY", - 3:"K-EPSILON MODEL", - 4:"SMAGORINSKI", - 5:"SPALART-ALLMARAS", - 7:"K-OMEGA MODEL", - 9:"DES (DETACHED EDDY SIMULATION) MODEL", - }, -'VERTICAL_TURBULENCE_MODEL' : { - 1:"CONSTANT VISCOSITY", - 2:"MIXING LENGTH", - 3:"K-EPSILON MODEL", - 4:"SMAGORINSKI", - 5:"SPALART-ALLMARAS", - 6:"GOTM", - 7:"K-OMEGA MODEL", - 9:"DES (DETACHED EDDY SIMULATION) MODEL", - }, -'OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON' : { - 1:"no turbulence", - 2:"Hans Burchard", - }, -'SCHEME_FOR_ADVECTION_OF_K_EPSILON' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"SUPG", - 3:"LEO POSTMA", - 4:"MURD SCHEME N", - 5:"MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"EXPLICIT N-SCHEME FOR TIDAL FLATS", - }, -'SCHEME_FOR_DIFFUSION_OF_K_EPSILON' : { - 0:"NO DIFFUSION", - 1:"IMPLICIT", - }, -'SOLVER_FOR_DIFFUSION_OF_K_EPSILON' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -'TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON' : { - 0:"FORCED TO ZERO", - 1:"VALUE BEFORE MASKED", - }, -'TRACERS_VERTICAL_PROFILES' : { - 0:"User defined", - 1:"Constant", - 2:"Constant or Rouse if sediment", - 3: "Normalized Rouse profile and imposed conc", - 4: "Modified Rouse profile accounting for molecular viscosity", - }, -'SCHEME_FOR_ADVECTION_OF_TRACERS' : { - 0:"NO ADVECTION", - 1:"CHARACTERISTICS", - 2:"EXPLICIT + SUPG", - 3:"EXPLICIT LEO POSTMA", - 4:"EXPLICIT + MURD SCHEME N", - 5:"EXPLICIT + MURD SCHEME PSI", - 13:"LEO POSTMA FOR TIDAL FLATS", - 14:"N-SCHEME FOR TIDAL FLATS", - }, -'SCHEME_FOR_DIFFUSION_OF_TRACERS' : { - 0:"NO DIFFUSION", - 1:"IMPLICIT", - 2:"VERTICAL DIFFUSION ONLY", - }, -'SOLVER_FOR_DIFFUSION_OF_TRACERS' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -'TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS' : { - 0:"FORCED TO ZERO", - 1:"VALUE BEFORE MASKED", - }, -'SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT' : { - 1:"conjugate gradient", - 2:"conjugate residual", - 3:"conjugate gradient on a normal equation", - 4:"minimum error", - 5:"squared conjugate gradient", - 6:"cgstab", - 7:"gmres", - 8:"direct solver", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT' : { - 0:"no preconditioning", - 2:"diagonal", - 3:"diagonal condensed", - 5:"diagonal with absolute values", - 7:"Crout", - 11:"Gauss-Seidel EBE", - 13:"Matrix defined by the user", - 14:"diagonal and Crout", - 17:"direct solver on the vertical", - 21:"diagonal condensed and Crout", - 34:"diagonal and direct solver on the vertical", - }, -} -TelemacdicoFr = { -'VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS' : { - 'U':"vitesse suivant l axe des x (m/s)", - 'V':"vitesse suivant l axe des y (m/s)", - 'W':"vitesse suivant l axe des z (m/s)", - 'Z':"cote z (m)", - 'TAi':"concentrations du traceur i", - 'TA*':"concentrations des traceurs de 1 a 9", - 'TA**':"concentrations des traceurs de 10 a 99", - 'NUX':"viscosite pour U et V suivant l axe des x (m2/s)", - 'NUY':"viscosite pour U et V suivant l axe des y (m2/s)", - 'NUZ':"viscosite pour U et V suivant l axe des z (m2/s)", - 'NAX':"viscosites pour les tr. suivant l axe des x (m2/s)", - 'NAY':"viscosites pour les tr. suivant l axe des y (m2/s)", - 'NAZ':"viscosites pour les tr. suivant l axe des z (m2/s)", - 'RI':"nombre de Richardson en cas de modele de longueur de melange", - 'K':"energie turbulente du modele k-epsilon (J/kg)", - 'EPS':"dissipation de l energie turbulente (W/kg)", - 'DP':"pression dynamique (multipliee par DT/RHO)", - 'PH':"pression hydrostatique (en Pascals)", - 'RHO':"densite relative", - 'WDIST':"distance a la paroi", - 'P1':"variable privee 1", - 'P2':"variable privee 2", - 'P3':"variable privee 3", - 'P4':"variable privee 4", - 'US':"vitesse de Stokes suivant l axe des x (m/s)", - 'VS':"vitesse de Stokes suivant l axe des y (m/s)", - 'WS':"vitesse de Stokes suivant l axe des z (m/s)", - }, -'VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS' : { - 'U':"vitesse moyenne suivant l axe des x (m/s)", - 'V':"vitesse moyenne suivant l axe des y (m/s)", - 'C':"celerite (m/s)", - 'H':"hauteur d eau (m)", - 'S':"cote de surface libre (m)", - 'B':"cote du fond (m)", - 'TAi':"TAi concentrations des traceurs, i numero du traceur", - 'TA*':"TA concentrations des traceurs de 1 a 9", - 'TA**':"TA concentrations des traceurs de 10 a 99", - 'F':"nombre de Froude", - 'Q':"debit scalaire (m2/s)", - 'I':"debit suivant x (m2/s)", - 'J':"debit suivant y (m2/s)", - 'M':"norme de la vitesse (m/s)", - 'X':"vent suivant l axe des x (m/s)", - 'Y':"vent suivant l axe des y (m/s)", - 'P':"pression atmospherique (Pa)", - 'W':"coefficient de frottement", - 'RB':"cote des fonds non erodables (m)", - 'HD':"epaisseur du lit de sediment (m)", - 'EF':"flux d erosion (kg/m2/s)", - 'DF':"flux de Depot (kg/m2/s)", - 'DZF':"evolution du lit", - 'PRIVE1':"tableau de travail PRIVE 1", - 'PRIVE2':"tableau de travail PRIVE 2", - 'PRIVE3':"tableau de travail PRIVE 3", - 'PRIVE4':"tableau de travail PRIVE 4", - 'QS':"debit solide (m2/s)", - 'QSX':"debit solide suivant x (m2/s)", - 'QSY':"debit solide suivant y (m2/s)", - 'US':"vitesse de frottement (m/s)", - 'MAXZ':"valeur maximum de la cote de l eau au cours du calcul (m)", - 'TMXZ':"temps correspondant a ce niveau maximum (s)", - 'TAIR':"temperature de l air (degre C)", - 'USURF':"vitesse en surface suivant l axe des x (m/s)", - 'VSURF':"vitesse en surface suivant l axe des y (m/s)", - 'WSURF':"vitesse en surface suivant l axe des z (m/s)", - 'MSURF':"norme de la vitesse en surface (m/s)", - 'TASURFi':"TAi conc des traceurs en surface, i numero du traceur", - 'TASURF*':"TA concentrations des traceurs en surface de 1 a 9", - 'TASURF**':"TA concentrations des traceurs en surface de 10 a 99", - }, -'SPATIAL_PROJECTION_TYPE' : { - 1:"CARTESIEN, NON GEOREFERENCE", - 2:"MERCATOR", - 3:"LATITUDE LONGITUDE", - }, -'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES' : { - 1:"Priorite aux valeurs imposees", - 2:"Priorite aux flux", - }, -'LAW_OF_BOTTOM_FRICTION' : { - 0:"PAS DE FROTTEMENT", - 1:"HAALAND", - 2:"CHEZY", - 3:"STRICKLER", - 4:"MANNING", - 5:"NIKURADSE", - }, -'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES' : { - 0:"PAS DE FROTTEMENT", - 1:"COEFFICIENT PRIS DANS LE FICHIER DES CONDITIONS AUX LIMITES", - 2:"IDEM", - 3:"IDEM", - 4:"IDEM", - 5:"NIKURADSE", - }, -'OPTION_FOR_WIND' : { - 1:"constant en temps et en espace", - 2:"variable en temps donne par fichier formate", - 3:"variable en temps et en espace donne par fichier formate", - }, -'TYPE_OF_SOURCES' : { - 1:"Normal", - 2:"Dirac", - }, -'VELOCITY_PROFILES' : { - 1:"Profil normal constant", - 2:"ubor et vbor dans le fichier conlim", - 3:"Vitesse normale donnee dans ubor dans le fichier conlim", - 4:"Vitesse = racine carree de h", - 5:"comme 4 mais avec hauteur virtuelle, voir aide", - }, -'VELOCITY_VERTICAL_PROFILES' : { - 0:"Programmation utilisateur", - 1:"Constant", - 2:"Logarithmique", - }, -'OPTION_FOR_LIQUID_BOUNDARIES' : { - 1:"classique", - 2:"methode de Thompson avec calcul de caracteristiques", - }, -'TURBULENCE_REGIME_FOR_THE_BOTTOM' : { - 1:"lisse", - 2:"rugueux", - 3:"rugueux compatible avec anciennes versions", - }, -'TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES' : { - 1:"lisse", - 2:"rugueux", - }, -'BOUNDARY_CONDITION_ON_THE_BOTTOM' : { - 1:"LOI LOGARITHMIQUE POUR LES VITESSES AU FOND", - 2:"VITESSES NULLES AU FOND", - }, -'MATRIX_STORAGE' : { - 1:"EBE classique", - 3:"Stockage par segments", - }, -'SOLVER_FOR_PROPAGATION' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_PROPAGATION' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -'INITIAL_GUESS_FOR_DEPTH' : { - 0:"zero", - 1:"precedent", - 2:"extrapolation", - }, -'SCHEME_FOR_ADVECTION_OF_VELOCITIES' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - }, -'OPTION_FOR_CHARACTERISTICS' : { - 1:"fortes", - 2:"faibles", - }, -'SCHEME_FOR_DIFFUSION_OF_VELOCITIES' : { - 0:"PAS DE DIFFUSION", - 1:"IMPLICITE", - }, -'SOLVER_FOR_DIFFUSION_OF_VELOCITIES' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -'SOLVER_FOR_PPE' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_PPE' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS' : { - 1:"EQUATIONS RESOLUES PARTOUT, CORRECTION SUR LES BANCS DECOUVRANTS", - 2:"GEL DES ELEMENTS DECOUVRANTS", - 3:"COMME 1 MAIS AVEC POROSITE (METHODE DEFINA)", - }, -'TREATMENT_OF_NEGATIVE_DEPTHS' : { - 0:"PAS DE TRAITEMENT", - 1:"LISSAGE", - 2:"LIMITATION DES FLUX", - }, -'TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES' : { - 0:"FORCAGE A ZERO", - 1:"VALEUR AVANT MASQUAGE", - }, -'GEOGRAPHIC_SYSTEM' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 0:"DEFINI PAR L UTILISATEUR", - 1:"WGS84 LONGITUDE/LATITUDE EN DEGRES REELS", - 2:"WGS84 NORD UTM", - 3:"WGS84 SUD UTM", - 4:"LAMBERT", - 5:"MERCATOR PROJECTION", - }, -'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS' : { - 0:"Pas de maree", - 1:"Maree reelle (methodologie recommandee)", - 2:"Maree de vive-eau exceptionnelle (coef. presque 120)", - 3:"Maree de vive-eau moyenne (coef. presque 95)", - 4:"Maree moyenne (coef. presque 70)", - 5:"Maree de morte-eau moyenne (coef. presque 45)", - 6:"Maree de morte-eau exceptionnelle (coef. presque 20)", - 7:"Maree reelle (methodologie d avant 2010)", - }, -'TIDAL_DATA_BASE' : { - -1:"PAS DE VALEUR PAR DEFAUT", - 1:"JMJ", - 2:"TPXO", - 3:"DIVERS (LEGOS-NEA, FES20XX, PREVIMER...)", - }, -'HORIZONTAL_TURBULENCE_MODEL' : { - 1:"VISCOSITE CONSTANTE", - 3:"MODELE K-EPSILON", - 4:"SMAGORINSKI", - 5:"SPALART-ALLMARAS", - 7:"MODELE K-OMEGA", - 9:"MODELE DES (DETACHED EDDY SIMULATION)", - }, -'VERTICAL_TURBULENCE_MODEL' : { - 1:"VISCOSITE CONSTANTE", - 2:"LONGUEUR DE MELANGE", - 3:"MODELE K-EPSILON", - 4:"SMAGORINSKI", - 5:"SPALART-ALLMARAS", - 6:"GOTM", - 7:"MODELE K-OMEGA", - 9:"MODELE DES (DETACHED EDDY SIMULATION)", - }, -'OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON' : { - 1:"pas de turbulence", - 2:"Hans Burchard", - }, -'SCHEME_FOR_ADVECTION_OF_K_EPSILON' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"SUPG", - 3:"LEO POSTMA", - 4:"MURD SCHEMA N", - 5:"MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N EXPLICITE POUR BANCS DECOUVRANTS", - }, -'SCHEME_FOR_DIFFUSION_OF_K_EPSILON' : { - 0:"PAS DE DIFFUSION", - 1:"IMPLICITE", - }, -'SOLVER_FOR_DIFFUSION_OF_K_EPSILON' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -'TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON' : { - 0:"FORCAGE A ZERO", - 1:"VALEUR AVANT MASQUAGE", - }, -'TRACERS_VERTICAL_PROFILES' : { - 0:"Programmation utilisateur", - 1:"Constant", - 2:"Constant ou Rouse si sediment", - 3: "Profil de Rouse normalise et concentration imposee", - 4: "Profil de Rouse modifie avec viscosite moleculaire", - }, -'SCHEME_FOR_ADVECTION_OF_TRACERS' : { - 0:"PAS DE CONVECTION", - 1:"CARACTERISTIQUES", - 2:"EXPLICITE + SUPG", - 3:"EXPLICITE LEO POSTMA", - 4:"EXPLICITE + MURD SCHEMA N", - 5:"EXPLICITE + MURD SCHEMA PSI", - 13:"LEO POSTMA POUR BANCS DECOUVRANTS", - 14:"SCHEMA N POUR BANCS DECOUVRANTS", - }, -'SCHEME_FOR_DIFFUSION_OF_TRACERS' : { - 0:"PAS DE DIFFUSION", - 1:"IMPLICITE", - 2:"VERTICAL DIFFUSION ONLY", - }, -'SOLVER_FOR_DIFFUSION_OF_TRACERS' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -'TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS' : { - 0:"FORCAGE A ZERO", - 1:"VALEUR AVANT MASQUAGE", - }, -'SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT' : { - 1:"GRADIENT CONJUGUE", - 2:"RESIDU CONJUGUE", - 3:"GRADIENT CONJUGUE SUR EQUATION NORMALE", - 4:"ERREUR MINIMALE", - 5:"GRADIENT CONJUGUE CARRE", - 6:"CGSTAB", - 7:"GMRES", - 8:"SOLVEUR DIRECT", - }, -'PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT' : { - 0:"AUCUN", - 2:"DIAGONAL", - 3:"DIAGONAL CONDENSEE", - 5:"DIAGONAL A VALEURS ABSOLUES", - 7:"CROUT", - 11:"GAUSS-SEIDEL EBE", - 13:"MATRICE DEFINIE PAR L UTILISATEUR", - 14:"DIAGONAL ET CROUT", - 17:"SOLVEUR DIRECT SUR LA VERTICALE", - 21:"DIAGONAL CONDENSE ET CROUT", - 34:"DIAGONAL ET SOLVEUR DIRECT SUR LA VERTICALE", - }, -} - -DicoCasFrToCata = { - "TITRE":"TITLE", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "NOMBRE MAXIMUM DE FRONTIERES":"MAXIMUM_NUMBER_OF_BOUNDARIES", - "NOMBRE MAXIMUM DE TRACEURS":"MAXIMUM_NUMBER_OF_TRACERS", - "NOMBRE MAXIMUM DE SOURCES":"MAXIMUM_NUMBER_OF_SOURCES", - "NOMBRE MAXIMUM DE FRONTIERES SUR LE FOND":"MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER BINAIRE DE DONNEES DE FRONTIERE":"BINARY_BOUNDARY_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES DE FRONTIERE":"BINARY_BOUNDARY_DATA_FILE_FORMAT", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "NOMBRE DE LISSAGES DU FOND":"NUMBER_OF_BOTTOM_SMOOTHINGS", - "LISSAGES DU FOND APRES MODIFICATIONS UTILISATEUR":"BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS", - "FICHIER DE DONNEES FORMATE 1":"FORMATTED_DATA_FILE_1", - "FICHIER DE DONNEES FORMATE 2":"FORMATTED_DATA_FILE_2", - "FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1_FORMAT", - "FICHIER DE DONNEES BINAIRE 2":"BINARY_DATA_FILE_2", - "VALIDATION":"VALIDATION", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FICHIER DES RESULTATS 3D":"RD_RESULT_FILE", - "FORMAT DU FICHIER DES RESULTATS 3D":"RD_RESULT_FILE_FORMAT", - "FICHIER DES RESULTATS 2D":"ED_RESULT_FILE", - "FORMAT DU FICHIER DES RESULTATS 2D":"ED_RESULT_FILE_FORMAT", - "FICHIER RESULTAT EN LONGITUDE-LATITUDE":"RESULT_FILE_IN_LONGITUDE_LATITUDE", - "VARIABLES POUR LES SORTIES GRAPHIQUES 3D":"VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS", - "VARIABLES POUR LES SORTIES GRAPHIQUES 2D":"VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS", - "PERIODE POUR LES SORTIES GRAPHIQUES":"GRAPHIC_PRINTOUT_PERIOD", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES GRAPHIQUES":"NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS", - "NOMBRE DE TABLEAUX PRIVES":"NUMBER_OF_PRIVATE_ARRAYS", - "NOMBRE DE TABLEAUX PRIVES 2D":"NUMBER_OF_2D_PRIVATE_ARRAYS", - "NOMS DES VARIABLES PRIVEES 2D":"NAMES_OF_2D_PRIVATE_VARIABLES", - "FICHIER DE RESULTATS FORMATE":"FORMATTED_RESULTS_FILE", - "FICHIER DE RESULTATS BINAIRE":"BINARY_RESULTS_FILE", - "SORTIE LISTING":"LISTING_PRINTOUT", - "BILAN DE MASSE":"MASS_BALANCE", - "INFORMATION SUR LE BILAN DE MASSE A CHAQUE SORTIE LISTING":"INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT", - "PERIODE POUR LES SORTIES LISTING":"LISTING_PRINTOUT_PERIOD", - "NUMERO DU PREMIER PAS DE TEMPS POUR LES SORTIES LISTING":"NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS", - "SUITE DE CALCUL":"COMPUTATION_CONTINUED", - "FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE", - "FORMAT DU FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE_FORMAT", - "ENREGISTREMENT POUR SUITE DE CALCUL":"RECORD_NUMBER_FOR_RESTART", - "REMISE A ZERO DU TEMPS":"INITIAL_TIME_SET_TO_ZERO", - "MODE SUITE":"RESTART_MODE", - "FICHIER POUR SUITE":"RESTART_FILE", - "FORMAT DU FICHIER POUR SUITE":"RESTART_FILE_FORMAT", - "SUITE 2D":"ED_CONTINUATION", - "FICHIER POUR SUITE 2D":"FILE_FOR_2D_CONTINUATION", - "FORMAT DU FICHIER POUR SUITE 2D":"FILE_FOR_2D_CONTINUATION_FORMAT", - "DEBUGGER":"DEBUGGER", - "PAS DE TEMPS":"TIME_STEP", - "NOMBRE DE PAS DE TEMPS":"NUMBER_OF_TIME_STEPS", - "DUREE DU CALCUL":"DURATION", - "DATE DE L'ORIGINE DES TEMPS":"ORIGINAL_DATE_OF_TIME", - "HEURE DE L'ORIGINE DES TEMPS":"ORIGINAL_HOUR_OF_TIME", - "COORDONNEES SPHERIQUES":"SPHERICAL_COORDINATES", - "TYPE DE PROJECTION SPATIALE":"SPATIAL_PROJECTION_TYPE", - "LATITUDE DU POINT ORIGINE":"LATITUDE_OF_ORIGIN_POINT", - "LONGITUDE DU POINT ORIGINE":"LONGITUDE_OF_ORIGIN_POINT", - "NORD":"NORTH", - "NOMBRE DE PLANS HORIZONTAUX":"NUMBER_OF_HORIZONTAL_LEVELS", - "TRANSFORMATION DU MAILLAGE":"MESH_TRANSFORMATION", - "VOLUME MINIMAL DES ELEMENTS 3D":"MINIMUM_VOLUME_OF_3D_ELEMENTS", - "DISTANCE MINIMALE ENTRE PLANS PRES DU FOND":"MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM", - "DISTANCE MINIMALE ENTRE PLANS PRES DE LA SURFACE LIBRE":"MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE", - "HAUTEUR SEUIL AVANT ELEMENTS ECRASES":"THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS", - "NUMERO DE TRACEUR POUR AMR":"NUMBER_OF_TRACER_FOR_AMR", - "NOMBRE DE SOUS ITERATIONS POUR LES NON LINEARITES":"NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES", - "ZERO":"ZERO", - "ETAPE DE CONVECTION":"ADVECTION_STEP", - "TRAITEMENT DES FLUX AUX FRONTIERES":"TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES", - "OPTION DE SUPG":"SUPG_OPTION", - "MAXIMUM D'ITERATIONS POUR LES SCHEMAS DE CONVECTION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES", - "NOMBRE DE SOUS-PAS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES", - "NOMBRE DE CORRECTIONS DES SCHEMAS DISTRIBUTIFS":"NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES", - "MASS-LUMPING POUR LA DIFFUSION":"MASS_LUMPING_FOR_DIFFUSION", - "VERSION NON-HYDROSTATIQUE":"NON_HYDROSTATIC_VERSION", - "ELEMENTS MASQUES PAR L'UTILISATEUR":"ELEMENTS_MASKED_BY_USER", - "ACCELERATION DE LA PESANTEUR":"GRAVITY_ACCELERATION", - "MASSE VOLUMIQUE MOYENNE DE L'EAU":"AVERAGE_WATER_DENSITY", - "LOI DE FROTTEMENT SUR LE FOND":"LAW_OF_BOTTOM_FRICTION", - "COEFFICIENT DE FROTTEMENT POUR LE FOND":"FRICTION_COEFFICIENT_FOR_THE_BOTTOM", - "LOI DE FROTTEMENT SUR LES PAROIS LATERALES":"LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES", - "COEFFICIENT DE FROTTEMENT POUR LES PAROIS LATERALES":"FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES", - "CORIOLIS":"CORIOLIS", - "COEFFICIENT DE CORIOLIS":"CORIOLIS_COEFFICIENT", - "VENT":"WIND", - "OPTION DU VENT":"OPTION_FOR_WIND", - "VITESSE DU VENT SUIVANT X":"WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y":"WIND_VELOCITY_ALONG_Y", - "COEFFICIENT D'INFLUENCE DU VENT":"COEFFICIENT_OF_WIND_INFLUENCE", - "COEFFICIENT D'INFLUENCE DU VENT DEPENDANT DE LA VITESSE DU VENT":"COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED", - "PROFONDEUR LIMITE POUR LE VENT":"THRESHOLD_DEPTH_FOR_WIND", - "PRESSION ATMOSPHERIQUE":"AIR_PRESSURE", - "VALEUR DE LA PRESSION ATMOSPHERIQUE":"VALUE_OF_ATMOSPHERIC_PRESSURE", - "PLUIE OU EVAPORATION":"RAIN_OR_EVAPORATION", - "PLUIE OU EVAPORATION EN MM PAR JOUR":"RAIN_OR_EVAPORATION_IN_MM_PER_DAY", - "FICHIER ASCII DE DONNEES ATMOSPHERIQUES":"ASCII_ATMOSPHERIC_DATA_FILE", - "FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES":"BINARY_ATMOSPHERIC_DATA_FILE", - "FORMAT DU FICHIER BINAIRE DE DONNEES ATMOSPHERIQUES":"BINARY_ATMOSPHERIC_DATA_FILE_FORMAT", - "TEMPERATURE DE L'AIR":"AIR_TEMPERATURE", - "NEBULOSITE":"CLOUD_COVER", - "RAYONNEMENT SOLAIRE":"SOLAR_RADIATION", - "HUMIDITE RELATIVE":"RELATIVE_HUMIDITY", - "FICHIER DES SOURCES":"SOURCES_FILE", - "NUMEROS GLOBAUX DES NOEUDS DES SOURCES":"GLOBAL_NUMBERS_OF_SOURCE_NODES", - "TYPE DES SOURCES":"TYPE_OF_SOURCES", - "ABSCISSES DES SOURCES":"ABSCISSAE_OF_SOURCES", - "ORDONNEES DES SOURCES":"ORDINATES_OF_SOURCES", - "COTES DES SOURCES":"ELEVATIONS_OF_SOURCES", - "DEBITS DES SOURCES":"WATER_DISCHARGE_OF_SOURCES", - "VITESSES DES SOURCES SELON X":"VELOCITIES_OF_THE_SOURCES_ALONG_X", - "VITESSES DES SOURCES SELON Y":"VELOCITIES_OF_THE_SOURCES_ALONG_Y", - "VITESSES DES SOURCES SELON Z":"VELOCITIES_OF_THE_SOURCES_ALONG_Z", - "COURANTS DE HOULE":"WAVE_DRIVEN_CURRENTS", - "NUMERO DE L'ENREGISTREMENT DANS LE FICHIER DE HOULE":"RECORD_NUMBER_IN_WAVE_FILE", - "COTES IMPOSEES":"PRESCRIBED_ELEVATIONS", - "DEBITS IMPOSES":"PRESCRIBED_FLOWRATES", - "VITESSES IMPOSEES":"PRESCRIBED_VELOCITIES", - "FICHIER DES FRONTIERES LIQUIDES":"LIQUID_BOUNDARIES_FILE", - "PROFILS DE VITESSE":"VELOCITY_PROFILES", - "PROFILS DE VITESSE SUR LA VERTICALE":"VELOCITY_VERTICAL_PROFILES", - "COURBES DE TARAGE":"STAGE_DISCHARGE_CURVES", - "FICHIER DES COURBES DE TARAGE":"STAGE_DISCHARGE_CURVES_FILE", - "OPTION POUR LES FRONTIERES LIQUIDES":"OPTION_FOR_LIQUID_BOUNDARIES", - "REGIME DE TURBULENCE POUR LE FOND":"TURBULENCE_REGIME_FOR_THE_BOTTOM", - "REGIME DE TURBULENCE POUR LES PAROIS LATERALES":"TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES", - "CONDITION A LA LIMITE AU FOND":"BOUNDARY_CONDITION_ON_THE_BOTTOM", - "VITESSE PROJETEE SUR LES PAROIS LATERALES SOLIDES":"VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES", - "VITESSE PROJETEE SUR LE FOND":"VELOCITY_PROJECTED_ON_BOTTOM", - "CONDITIONS OUVERTES SUR LE FOND":"OPEN_BOUNDARY_CONDITIONS_ON_THE_BED", - "DEBITS IMPOSES SUR LE FOND":"PRESCRIBED_FLOWRATES_ON_THE_BED", - "CONDITIONS INITIALES":"INITIAL_CONDITIONS", - "COTE INITIALE":"INITIAL_ELEVATION", - "HAUTEUR INITIALE":"INITIAL_DEPTH", - "STOCKAGE DES MATRICES":"MATRIX_STORAGE", - "MASS-LUMPING POUR LA HAUTEUR":"MASS_LUMPING_FOR_DEPTH", - "FILTRE LES INCONSISTANCES HYDROSTATIQUES":"HYDROSTATIC_INCONSISTENCY_FILTER", - "ELEMENT":"ELEMENT", - "SOLVEUR POUR LA PROPAGATION":"SOLVER_FOR_PROPAGATION", - "PRECISION POUR LA PROPAGATION":"ACCURACY_FOR_PROPAGATION", - "MAXIMUM D'ITERATIONS POUR LA PROPAGATION":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION", - "PRECONDITIONNEMENT POUR LA PROPAGATION":"PRECONDITIONING_FOR_PROPAGATION", - "OPTION DU SOLVEUR POUR LA PROPAGATION":"OPTION_OF_SOLVER_FOR_PROPAGATION", - "ORDRE DU TIR INITIAL POUR LA HAUTEUR":"INITIAL_GUESS_FOR_DEPTH", - "PROPAGATION LINEARISEE":"LINEARIZED_PROPAGATION", - "PROFONDEUR MOYENNE POUR LA LINEARISATION":"MEAN_DEPTH_FOR_LINEARIZATION", - "SCHEMA POUR LA CONVECTION DE LA HAUTEUR":"SCHEME_FOR_ADVECTION_OF_DEPTH", - "SCHEMA POUR LA CONVECTION DES VITESSES":"SCHEME_FOR_ADVECTION_OF_VELOCITIES", - "COMPATIBILITE DU GRADIENT DE SURFACE LIBRE":"FREE_SURFACE_GRADIENT_COMPATIBILITY", - "CONTOURNEMENT DES VOLUMES NULS":"BYPASS_VOID_VOLUMES", - "MASS-LUMPING POUR LES VITESSES":"MASS_LUMPING_FOR_VELOCITIES", - "OPTION DU SCHEMA POUR LA CONVECTION DES VITESSES":"SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES", - "OPTION POUR LES CARACTERISTIQUES":"OPTION_FOR_CHARACTERISTICS", - "NOMBRE DE POINTS DE GAUSS POUR LES CARACTERISTIQUES FAIBLES":"NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS", - "MASS-LUMPING POUR LES CARACTERISTIQUES FAIBLES":"MASS_LUMPING_FOR_WEAK_CHARACTERISTICS", - "SCHEMA POUR LA DIFFUSION DES VITESSES":"SCHEME_FOR_DIFFUSION_OF_VELOCITIES", - "SOLVEUR POUR LA DIFFUSION DES VITESSES":"SOLVER_FOR_DIFFUSION_OF_VELOCITIES", - "PRECISION POUR LA DIFFUSION DES VITESSES":"ACCURACY_FOR_DIFFUSION_OF_VELOCITIES", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES VITESSES":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES VITESSES":"PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES VITESSES":"OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES", - "IMPLICITATION POUR LA DIFFUSION":"IMPLICITATION_FOR_DIFFUSION", - "SOLVEUR POUR PPE":"SOLVER_FOR_PPE", - "PRECISION POUR PPE":"ACCURACY_FOR_PPE", - "MAXIMUM D'ITERATIONS POUR PPE":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE", - "PRECONDITIONNEMENT POUR PPE":"PRECONDITIONING_FOR_PPE", - "OPTION DU SOLVEUR POUR PPE":"OPTION_OF_SOLVER_FOR_PPE", - "PRESSION DYNAMIQUE DANS L'EQUATION D'ONDE":"DYNAMIC_PRESSURE_IN_WAVE_EQUATION", - "CONDITION LIMITE DYNAMIQUE":"DYNAMIC_BOUNDARY_CONDITION", - "CORRECTION DE CONTINUITE SUR FRONTIERES OUVERTES":"CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES", - "IMPLICITATION POUR LA HAUTEUR":"IMPLICITATION_FOR_DEPTH", - "IMPLICITATION POUR LES VITESSES":"IMPLICITATION_FOR_VELOCITIES", - "BANCS DECOUVRANTS":"TIDAL_FLATS", - "OPTION DE TRAITEMENT DES BANCS DECOUVRANTS":"OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS", - "TRAITEMENT DES HAUTEURS NEGATIVES":"TREATMENT_OF_NEGATIVE_DEPTHS", - "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LES VITESSES":"TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES", - "SEUIL POUR CORRECTION DE VISCOSITE SUR BANCS DECOUVRANTS":"THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS", - "VALEUR MINIMALE POUR LA HAUTEUR":"MINIMAL_VALUE_FOR_DEPTH", - "BASE BINAIRE 1 DE DONNEES DE MAREE":"BINARY_DATABASE_1_FOR_TIDE", - "BASE BINAIRE 2 DE DONNEES DE MAREE":"BINARY_DATABASE_2_FOR_TIDE", - "SYSTEME GEOGRAPHIQUE":"GEOGRAPHIC_SYSTEM", - "NUMERO DE FUSEAU OU PROJECTION DANS LE SYSTEME GEOGRAPHIQUE":"ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM", - "FICHIER DE CONVERSION LAMBERT 93":"LAMBERT_93_CONVERSION_FILE", - "COEFFICIENT DE CALAGE DU NIVEAU DE MER":"COEFFICIENT_TO_CALIBRATE_SEA_LEVEL", - "NUMERO GLOBAL DU POINT POUR CALER LA PLEINE MER":"GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "INTERPOLATION DE COMPOSANTES MINEURES":"MINOR_CONSTITUENTS_INFERENCE", - "VITESSES INITIALES CALCULEES PAR TPXO":"INITIAL_VELOCITIES_COMPUTED_BY_TPXO", - "HAUTEUR MINIMALE POUR LES CONDITIONS INITIALES DE COURANTS":"MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS", - "FORCE GENERATRICE DE LA MAREE":"TIDE_GENERATING_FORCE", - "OPTION POUR LES CONDITIONS AUX LIMITES DE MAREE":"OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS", - "BASE DE DONNEES DE MAREE":"TIDAL_DATA_BASE", - "FICHIER DES CONSTANTES HARMONIQUES":"HARMONIC_CONSTANTS_FILE", - "FICHIER DU MODELE DE MAREE":"TIDAL_MODEL_FILE", - "FORMAT DU FICHIER DU MODELE DE MAREE":"TIDAL_MODEL_FILE_FORMAT", - "BASE ASCII DE DONNEES DE MAREE":"ASCII_DATABASE_FOR_TIDE", - "COEFFICIENT DE CALAGE DU MARNAGE":"COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE", - "COEFFICIENT DE CALAGE DES VITESSES DE COURANT":"COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES", - "NUMERO LOCAL DU POINT POUR CALER LA PLEINE MER":"LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER", - "HAUTEUR MINIMALE POUR LES CONDITIONS AUX LIMITES DE COURANTS":"MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS", - "NOMBRE MAXIMAL DE FLOTTEURS":"MAXIMUM_NUMBER_OF_DROGUES", - "FICHIER ASCII DES FLOTTEURS":"ASCII_DROGUES_FILE", - "FICHIER BINAIRE DES FLOTTEURS":"BINARY_DROGUES_FILE", - "FORMAT DU FICHIER DES FLOTTEURS":"DROGUES_FILE_FORMAT", - "PERIODE POUR LES SORTIES DE FLOTTEURS":"PRINTOUT_PERIOD_FOR_DROGUES", - "MODELE DE NAPPES D'HYDROCARBURES":"OIL_SPILL_MODEL", - "FICHIER DE COMMANDES HYDROCARBURES":"OIL_SPILL_STEERING_FILE", - "NOMBRE DE BUSES":"NUMBER_OF_CULVERTS", - "FICHIER DE DONNEES DES BUSES":"CULVERTS_DATA_FILE", - "OPTION POUR LES BUSES":"OPTION_FOR_CULVERTS", - "MODELE DE TURBULENCE HORIZONTAL":"HORIZONTAL_TURBULENCE_MODEL", - "MODELE DE TURBULENCE VERTICAL":"VERTICAL_TURBULENCE_MODEL", - "COEFFICIENT DE DIFFUSION HORIZONTAL DES VITESSES":"COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES", - "COEFFICIENT DE DIFFUSION VERTICAL DES VITESSES":"COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES", - "MODELE DE LONGUEUR DE MELANGE":"MIXING_LENGTH_MODEL", - "FONCTION D'AMORTISSEMENT":"DAMPING_FUNCTION", - "NOMBRE DE PRANDTL":"PRANDTL_NUMBER", - "CONSTANTE DE KARMAN":"KARMAN_CONSTANT", - "FICHIER DES PARAMETRES GOTM":"GOTM_STEERING_FILE", - "HAUTEUR DU LIT FICTIF":"FICTITIOUS_BED_LEVEL", - "OPTION POUR LES CONDITIONS AUX LIMITES DU K-EPSILON":"OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON", - "DERIVEES VERTICALES DES VITESSES":"VERTICAL_VELOCITY_DERIVATIVES", - "SCHEMA POUR LA CONVECTION DU K-EPSILON":"SCHEME_FOR_ADVECTION_OF_K_EPSILON", - "OPTION DU SCHEMA POUR LA CONVECTION DU K-EPSILON":"SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON", - "SCHEMA POUR LA DIFFUSION DU K-EPSILON":"SCHEME_FOR_DIFFUSION_OF_K_EPSILON", - "SOLVEUR POUR LA DIFFUSION DU K-EPSILON":"SOLVER_FOR_DIFFUSION_OF_K_EPSILON", - "PRECISION POUR LA DIFFUSION DU K-EPSILON":"ACCURACY_FOR_DIFFUSION_OF_K_EPSILON", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DU K-EPSILON":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON", - "PRECONDITIONNEMENT POUR LA DIFFUSION DU K-EPSILON":"PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON", - "OPTION DU SOLVEUR POUR LA DIFFUSION DU K-EPSILON":"OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON", - "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LE K-EPSILON":"TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON", - "NOMBRE DE TRACEURS":"NUMBER_OF_TRACERS", - "NOMS DES TRACEURS":"NAMES_OF_TRACERS", - "VALEURS DES TRACEURS DANS LA PLUIE":"VALUES_OF_TRACERS_IN_THE_RAIN", - "VALEURS DES TRACEURS DES SOURCES":"VALUE_OF_THE_TRACERS_AT_THE_SOURCES", - "LOI DE DENSITE":"DENSITY_LAW", - "VALEURS DE REFERENCE DES TRACEURS":"STANDARD_VALUES_FOR_TRACERS", - "COEFFICIENT DE DILATATION BETA POUR LES TRACEURS":"BETA_EXPANSION_COEFFICIENT_FOR_TRACERS", - "VALEURS IMPOSEES DES TRACEURS":"PRESCRIBED_TRACERS_VALUES", - "PROFILS DES TRACEURS SUR LA VERTICALE":"TRACERS_VERTICAL_PROFILES", - "VALEURS INITIALES DES TRACEURS":"INITIAL_VALUES_OF_TRACERS", - "SCHEMA POUR LA CONVECTION DES TRACEURS":"SCHEME_FOR_ADVECTION_OF_TRACERS", - "OPTION DU SCHEMA POUR LA CONVECTION DES TRACEURS":"SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS", - "SCHEMA POUR LA DIFFUSION DES TRACEURS":"SCHEME_FOR_DIFFUSION_OF_TRACERS", - "SOLVEUR POUR LA DIFFUSION DES TRACEURS":"SOLVER_FOR_DIFFUSION_OF_TRACERS", - "PRECISION POUR LA DIFFUSION DES TRACEURS":"ACCURACY_FOR_DIFFUSION_OF_TRACERS", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DES TRACEURS":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS", - "PRECONDITIONNEMENT POUR LA DIFFUSION DES TRACEURS":"PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS", - "OPTION DU SOLVEUR POUR LA DIFFUSION DES TRACEURS":"OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS", - "TRAITEMENT SUR LES BANCS DECOUVRANTS POUR LES TRACEURS":"TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS", - "COEFFICIENT DE DIFFUSION HORIZONTAL DES TRACEURS":"COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS", - "COEFFICIENT DE DIFFUSION VERTICAL DES TRACEURS":"COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS", - "SEDIMENT":"SEDIMENT", - "MASSE VOLUMIQUE DU SEDIMENT":"DENSITY_OF_THE_SEDIMENT", - "PAS DE TEMPS DE LA CONSOLIDATION":"TIME_STEP_FOR_CONSOLIDATION", - "SEDIMENT COHESIF":"COHESIVE_SEDIMENT", - "PARAMETRE DE SHIELDS":"SHIELDS_PARAMETER", - "SEDIMENT MIXTE":"MIXED_SEDIMENT", - "NOMBRE DE COUCHES DU LIT COHESIF":"NUMBER_OF_SEDIMENT_BED_LAYERS", - "LECTURE CONTRAINTE CRITIQUE POUR CHAQUE COUCHE":"READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER", - "FICHIER DES RESULTATS SEDIMENTOLOGIQUES":"SEDIMENTOLOGICAL_RESULT_FILE", - "BINAIRE DU FICHIER DES RESULTATS SEDIMENTOLOGIQUES":"SEDIMENTOLOGICAL_RESULT_FILE_BINARY", - "FICHIER SEDIMENTOLOGIQUE DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE", - "DIAMETRE MOYEN DES GRAINS":"MEAN_DIAMETER_OF_THE_SEDIMENT", - "RATIO ENTRE LA RUGOSITE DE PEAU ET LE DIAMETRE MOYEN":"RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER", - "CORRECTION FROTTEMENT DE PEAU":"SKIN_FRICTION_CORRECTION", - "POURCENTAGE INITIAL DE SEDIMENT NON COHESIF":"INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT", - "CONCENTRATIONS DES COUCHES DE VASE":"MUD_CONCENTRATIONS_PER_LAYER", - "CONTRAINTE CRITIQUE D'EROSION DES COUCHES DE VASE":"CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS", - "EPAISSEURS INITIALES DES COUCHES":"INITIAL_THICKNESS_OF_SEDIMENT_LAYERS", - "SOLVEUR POUR LA DIFFUSION DU SEDIMENT":"SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT", - "PRECISION POUR LA DIFFUSION DU SEDIMENT":"ACCURACY_FOR_DIFFUSION_OF_SEDIMENT", - "MAXIMUM D'ITERATIONS POUR LA DIFFUSION DU SEDIMENT":"MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT", - "PRECONDITIONNEMENT POUR LA DIFFUSION DU SEDIMENT":"PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT", - "OPTION DU SOLVEUR POUR LA DIFFUSION DU SEDIMENT":"OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT", - "SEUIL LIMITE POUR EROSION SUR BANCS DECOUVRANTS":"THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS", - "CONTRAINTE CRITIQUE DE DEPOT":"CRITICAL_SHEAR_STRESS_FOR_DEPOSITION", - "POROSITE DU LIT NON COHESIF":"NON_COHESIVE_BED_POROSITY", - "COEFFICIENT D'EROSION":"EROSION_COEFFICIENT", - "VITESSE DE CHUTE CONSTANTE":"CONSTANT_SEDIMENT_SETTLING_VELOCITY", - "VITESSE DE CHUTE DES SABLES":"SETTLING_VELOCITY_OF_SANDS", - "SCHEMA DE CONVECTION DIFFUSION AVEC VITESSE DE CHUTE":"ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY", - "VITESSE DE CHUTE ENTRAVEE":"HINDERED_SETTLING", - "CONCENTRATION LIMITE FLUIDE-SOLIDE":"WEAK_SOIL_CONCENTRATION_FOR_MUD", - "CONCENTRATION LIMITE POUR VITESSE DE CHUTE ENTRAVEE":"THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING", - "FORMULE POUR VITESSE DE CHUTE ENTRAVEE":"HINDERED_SETTLING_FORMULA", - "FORMULE POUR LA CONCENTRATION DE REFERENCE":"REFERENCE_CONCENTRATION_FORMULA", - "FLOCULATION":"FLOCCULATION", - "FORMULE POUR FLOCULATION":"FLOCCULATION_FORMULA", - "COEFFICIENT TRADUISANT LA FORMATION DES FLOCS":"FLOCCULATION_COEFFICIENT", - "COEFFICIENT TRADUISANT LA DESTRUCTION DES FLOCS":"COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION", - "EPAISSEUR DES COUCHES DU FOND VASEUX":"BED_LAYERS_THICKNESS", - "CONCENTRATION MAXIMUM DE LA VASE TASSEE":"MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD", - "TEMPS DE SEJOUR DE LA VASE":"RESIDENCE_TIME_FOR_MUD", - "TASSEMENT DE LA VASE":"CONSOLIDATION", - "OPTION DU MODELE DE TASSEMENT":"CONSOLIDATION_MODEL", - "COUPLAGE AVEC":"COUPLING_WITH", - "FICHIER DES PARAMETRES DE SISYPHE":"SISYPHE_STEERING_FILE", - "PERIODE DE COUPLAGE POUR SISYPHE":"COUPLING_PERIOD_FOR_SISYPHE", - "FICHIER DES PARAMETRES DE TOMAWAC":"TOMAWAC_STEERING_FILE", - "PERIODE DE COUPLAGE POUR TOMAWAC":"COUPLING_PERIOD_FOR_TOMAWAC", - "FROTTEMENT SUR LE FOND DU AUX VAGUES":"BOTTOM_FRICTION_DUE_TO_WAVES", - "PROCESSUS DE QUALITE D'EAU":"WATER_QUALITY_PROCESS", - "FICHIER DES PARAMETRES DE WAQTEL":"WAQTEL_STEERING_FILE", - "FICHIER DE COMMANDE DELWAQ":"DELWAQ_STEERING_FILE", - "PERIODE DE SORTIE POUR DELWAQ":"DELWAQ_PRINTOUT_PERIOD", - "FICHIER DELWAQ DES ECHANGES ENTRE NOEUDS":"EXCHANGES_BETWEEN_NODES_DELWAQ_FILE", - "FICHIER DELWAQ DES DISTANCES ENTRE NOEUDS":"NODES_DISTANCES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DU FOND":"BOTTOM_SURFACES_DELWAQ_FILE", - "FICHIER DELWAQ DES VOLUMES":"VOLUMES_DELWAQ_FILE", - "FICHIER DELWAQ DES SURFACES DE FLUX":"EXCHANGE_AREAS_DELWAQ_FILE", - "FICHIER DELWAQ DES FLUX VERTICAUX":"VERTICAL_FLUXES_DELWAQ_FILE", - "FICHIER DELWAQ DE LA VITESSE":"VELOCITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA DIFFUSION":"DIFFUSIVITY_DELWAQ_FILE", - "FICHIER DELWAQ DE LA TEMPERATURE":"TEMPERATURE_DELWAQ_FILE", - "FICHIER DELWAQ DE LA SALINITE":"SALINITY_DELWAQ_FILE", - "VITESSE POUR DELWAQ":"VELOCITY_FOR_DELWAQ", - "DIFFUSION POUR DELWAQ":"DIFFUSION_FOR_DELWAQ", - "TEMPERATURE POUR DELWAQ":"TEMPERATURE_FOR_DELWAQ", - "SALINITE POUR DELWAQ":"SALINITY_FOR_DELWAQ", - "FICHIER DES PARAMETRES DE GAIA":"GAIA_STEERING_FILE", - "AD NOMBRE DES DERIVEES":"AD_NUMBER_OF_DERIVATIVES", - "AD NOMS DES DERIVEES":"AD_NAMES_OF_DERIVATIVES", - "AD NOMBRE DE DIRECTIONS":"AD_NUMBER_OF_DIRECTIONS", - "AD SOLVEUR LINEAIRE SYMBOLIQUE":"AD_SYMBOLIC_LINEAR_SOLVER", - "AD REMISE A ZERO DES DERIVEES DU SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_RESET_DERIVATIVES", - "AD CONVERGENCE DES DERIVEES POUR LE SOLVEUR LINEAIRE":"AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE", - "PARTITIONNEUR":"PARTITIONING_TOOL", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DICTIONNAIRE":"DICTIONARY", - "CONCATENATION SORTIE PARTEL":"CONCATENATE_PARTEL_OUTPUT", -} - -DicoCasEnToCata = { - 'TITLE':'TITLE', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'MAXIMUM NUMBER OF BOUNDARIES':'MAXIMUM_NUMBER_OF_BOUNDARIES', - 'MAXIMUM NUMBER OF TRACERS':'MAXIMUM_NUMBER_OF_TRACERS', - 'MAXIMUM NUMBER OF SOURCES':'MAXIMUM_NUMBER_OF_SOURCES', - 'MAXIMUM NUMBER OF BOUNDARIES ON THE BED':'MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'BINARY BOUNDARY DATA FILE':'BINARY_BOUNDARY_DATA_FILE', - 'BINARY BOUNDARY DATA FILE FORMAT':'BINARY_BOUNDARY_DATA_FILE_FORMAT', - 'FORTRAN FILE':'FORTRAN_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'NUMBER OF BOTTOM SMOOTHINGS':'NUMBER_OF_BOTTOM_SMOOTHINGS', - 'BOTTOM SMOOTHINGS AFTER USER MODIFICATIONS':'BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS', - 'FORMATTED DATA FILE 1':'FORMATTED_DATA_FILE_1', - 'FORMATTED DATA FILE 2':'FORMATTED_DATA_FILE_2', - 'BINARY DATA FILE 1':'BINARY_DATA_FILE_1', - 'BINARY DATA FILE 1 FORMAT':'BINARY_DATA_FILE_1_FORMAT', - 'BINARY DATA FILE 2':'BINARY_DATA_FILE_2', - 'VALIDATION':'VALIDATION', - 'REFERENCE FILE':'REFERENCE_FILE', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - '3D RESULT FILE':'RD_RESULT_FILE', - '3D RESULT FILE FORMAT':'RD_RESULT_FILE_FORMAT', - '2D RESULT FILE':'ED_RESULT_FILE', - '2D RESULT FILE FORMAT':'ED_RESULT_FILE_FORMAT', - 'RESULT FILE IN LONGITUDE-LATITUDE':'RESULT_FILE_IN_LONGITUDE_LATITUDE', - 'VARIABLES FOR 3D GRAPHIC PRINTOUTS':'VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS', - 'VARIABLES FOR 2D GRAPHIC PRINTOUTS':'VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS', - 'GRAPHIC PRINTOUT PERIOD':'GRAPHIC_PRINTOUT_PERIOD', - 'NUMBER OF FIRST TIME STEP FOR GRAPHIC PRINTOUTS':'NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS', - 'NUMBER OF PRIVATE ARRAYS':'NUMBER_OF_PRIVATE_ARRAYS', - 'NUMBER OF 2D PRIVATE ARRAYS':'NUMBER_OF_2D_PRIVATE_ARRAYS', - 'NAMES OF 2D PRIVATE VARIABLES':'NAMES_OF_2D_PRIVATE_VARIABLES', - 'FORMATTED RESULTS FILE':'FORMATTED_RESULTS_FILE', - 'BINARY RESULTS FILE':'BINARY_RESULTS_FILE', - 'LISTING PRINTOUT':'LISTING_PRINTOUT', - 'MASS-BALANCE':'MASS_BALANCE', - 'INFORMATION ABOUT MASS-BALANCE FOR EACH LISTING PRINTOUT':'INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT', - 'LISTING PRINTOUT PERIOD':'LISTING_PRINTOUT_PERIOD', - 'NUMBER OF FIRST TIME STEP FOR LISTING PRINTOUTS':'NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS', - 'COMPUTATION CONTINUED':'COMPUTATION_CONTINUED', - 'PREVIOUS COMPUTATION FILE':'PREVIOUS_COMPUTATION_FILE', - 'PREVIOUS COMPUTATION FILE FORMAT':'PREVIOUS_COMPUTATION_FILE_FORMAT', - 'RECORD NUMBER FOR RESTART':'RECORD_NUMBER_FOR_RESTART', - 'INITIAL TIME SET TO ZERO':'INITIAL_TIME_SET_TO_ZERO', - 'RESTART MODE':'RESTART_MODE', - 'RESTART FILE':'RESTART_FILE', - 'RESTART FILE FORMAT':'RESTART_FILE_FORMAT', - '2D CONTINUATION':'ED_CONTINUATION', - 'FILE FOR 2D CONTINUATION':'FILE_FOR_2D_CONTINUATION', - 'FILE FOR 2D CONTINUATION FORMAT':'FILE_FOR_2D_CONTINUATION_FORMAT', - 'DEBUGGER':'DEBUGGER', - 'TIME STEP':'TIME_STEP', - 'NUMBER OF TIME STEPS':'NUMBER_OF_TIME_STEPS', - 'DURATION':'DURATION', - 'ORIGINAL DATE OF TIME':'ORIGINAL_DATE_OF_TIME', - 'ORIGINAL HOUR OF TIME':'ORIGINAL_HOUR_OF_TIME', - 'SPHERICAL COORDINATES':'SPHERICAL_COORDINATES', - 'SPATIAL PROJECTION TYPE':'SPATIAL_PROJECTION_TYPE', - 'LATITUDE OF ORIGIN POINT':'LATITUDE_OF_ORIGIN_POINT', - 'LONGITUDE OF ORIGIN POINT':'LONGITUDE_OF_ORIGIN_POINT', - 'NORTH':'NORTH', - 'NUMBER OF HORIZONTAL LEVELS':'NUMBER_OF_HORIZONTAL_LEVELS', - 'MESH TRANSFORMATION':'MESH_TRANSFORMATION', - 'MINIMUM VOLUME OF 3D ELEMENTS':'MINIMUM_VOLUME_OF_3D_ELEMENTS', - 'MINIMUM DISTANCE BETWEEN PLANES CLOSE TO THE BOTTOM':'MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM', - 'MINIMUM DISTANCE BETWEEN PLANES CLOSE TO THE FREE SURFACE':'MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE', - 'THRESHOLD HEIGHT BEFORE CRUSHED ELEMENTS':'THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS', - 'NUMBER OF TRACER FOR AMR':'NUMBER_OF_TRACER_FOR_AMR', - 'NUMBER OF SUB ITERATIONS FOR NON LINEARITIES':'NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES', - 'ZERO':'ZERO', - 'ADVECTION STEP':'ADVECTION_STEP', - 'TREATMENT OF FLUXES AT THE BOUNDARIES':'TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES', - 'SUPG OPTION':'SUPG_OPTION', - 'MAXIMUM NUMBER OF ITERATIONS FOR ADVECTION SCHEMES':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES', - 'NUMBER OF SUB-STEPS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES', - 'NUMBER OF CORRECTIONS OF DISTRIBUTIVE SCHEMES':'NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES', - 'MASS-LUMPING FOR DIFFUSION':'MASS_LUMPING_FOR_DIFFUSION', - 'NON-HYDROSTATIC VERSION':'NON_HYDROSTATIC_VERSION', - 'ELEMENTS MASKED BY USER':'ELEMENTS_MASKED_BY_USER', - 'GRAVITY ACCELERATION':'GRAVITY_ACCELERATION', - 'AVERAGE WATER DENSITY':'AVERAGE_WATER_DENSITY', - 'LAW OF BOTTOM FRICTION':'LAW_OF_BOTTOM_FRICTION', - 'FRICTION COEFFICIENT FOR THE BOTTOM':'FRICTION_COEFFICIENT_FOR_THE_BOTTOM', - 'LAW OF FRICTION ON LATERAL BOUNDARIES':'LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES', - 'FRICTION COEFFICIENT FOR LATERAL SOLID BOUNDARIES':'FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES', - 'CORIOLIS':'CORIOLIS', - 'CORIOLIS COEFFICIENT':'CORIOLIS_COEFFICIENT', - 'WIND':'WIND', - 'OPTION FOR WIND':'OPTION_FOR_WIND', - 'WIND VELOCITY ALONG X':'WIND_VELOCITY_ALONG_X', - 'WIND VELOCITY ALONG Y':'WIND_VELOCITY_ALONG_Y', - 'COEFFICIENT OF WIND INFLUENCE':'COEFFICIENT_OF_WIND_INFLUENCE', - 'COEFFICIENT OF WIND INFLUENCE VARYING WITH WIND SPEED':'COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED', - 'THRESHOLD DEPTH FOR WIND':'THRESHOLD_DEPTH_FOR_WIND', - 'AIR PRESSURE':'AIR_PRESSURE', - 'VALUE OF ATMOSPHERIC PRESSURE':'VALUE_OF_ATMOSPHERIC_PRESSURE', - 'RAIN OR EVAPORATION':'RAIN_OR_EVAPORATION', - 'RAIN OR EVAPORATION IN MM PER DAY':'RAIN_OR_EVAPORATION_IN_MM_PER_DAY', - 'ASCII ATMOSPHERIC DATA FILE':'ASCII_ATMOSPHERIC_DATA_FILE', - 'BINARY ATMOSPHERIC DATA FILE':'BINARY_ATMOSPHERIC_DATA_FILE', - 'BINARY ATMOSPHERIC DATA FILE FORMAT':'BINARY_ATMOSPHERIC_DATA_FILE_FORMAT', - 'AIR TEMPERATURE':'AIR_TEMPERATURE', - 'CLOUD COVER':'CLOUD_COVER', - 'SOLAR RADIATION':'SOLAR_RADIATION', - 'RELATIVE HUMIDITY':'RELATIVE_HUMIDITY', - 'SOURCES FILE':'SOURCES_FILE', - 'GLOBAL NUMBERS OF SOURCE NODES':'GLOBAL_NUMBERS_OF_SOURCE_NODES', - 'TYPE OF SOURCES':'TYPE_OF_SOURCES', - 'ABSCISSAE OF SOURCES':'ABSCISSAE_OF_SOURCES', - 'ORDINATES OF SOURCES':'ORDINATES_OF_SOURCES', - 'ELEVATIONS OF SOURCES':'ELEVATIONS_OF_SOURCES', - 'WATER DISCHARGE OF SOURCES':'WATER_DISCHARGE_OF_SOURCES', - 'VELOCITIES OF THE SOURCES ALONG X':'VELOCITIES_OF_THE_SOURCES_ALONG_X', - 'VELOCITIES OF THE SOURCES ALONG Y':'VELOCITIES_OF_THE_SOURCES_ALONG_Y', - 'VELOCITIES OF THE SOURCES ALONG Z':'VELOCITIES_OF_THE_SOURCES_ALONG_Z', - 'WAVE DRIVEN CURRENTS':'WAVE_DRIVEN_CURRENTS', - 'RECORD NUMBER IN WAVE FILE':'RECORD_NUMBER_IN_WAVE_FILE', - 'PRESCRIBED ELEVATIONS':'PRESCRIBED_ELEVATIONS', - 'PRESCRIBED FLOWRATES':'PRESCRIBED_FLOWRATES', - 'PRESCRIBED VELOCITIES':'PRESCRIBED_VELOCITIES', - 'LIQUID BOUNDARIES FILE':'LIQUID_BOUNDARIES_FILE', - 'VELOCITY PROFILES':'VELOCITY_PROFILES', - 'VELOCITY VERTICAL PROFILES':'VELOCITY_VERTICAL_PROFILES', - 'STAGE-DISCHARGE CURVES':'STAGE_DISCHARGE_CURVES', - 'STAGE-DISCHARGE CURVES FILE':'STAGE_DISCHARGE_CURVES_FILE', - 'OPTION FOR LIQUID BOUNDARIES':'OPTION_FOR_LIQUID_BOUNDARIES', - 'TURBULENCE REGIME FOR THE BOTTOM':'TURBULENCE_REGIME_FOR_THE_BOTTOM', - 'TURBULENCE REGIME FOR LATERAL SOLID BOUNDARIES':'TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES', - 'BOUNDARY CONDITION ON THE BOTTOM':'BOUNDARY_CONDITION_ON_THE_BOTTOM', - 'VELOCITY PROJECTED ON SOLID LATERAL BOUNDARIES':'VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES', - 'VELOCITY PROJECTED ON BOTTOM':'VELOCITY_PROJECTED_ON_BOTTOM', - 'OPEN BOUNDARY CONDITIONS ON THE BED':'OPEN_BOUNDARY_CONDITIONS_ON_THE_BED', - 'PRESCRIBED FLOWRATES ON THE BED':'PRESCRIBED_FLOWRATES_ON_THE_BED', - 'INITIAL CONDITIONS':'INITIAL_CONDITIONS', - 'INITIAL ELEVATION':'INITIAL_ELEVATION', - 'INITIAL DEPTH':'INITIAL_DEPTH', - 'MATRIX STORAGE':'MATRIX_STORAGE', - 'MASS-LUMPING FOR DEPTH':'MASS_LUMPING_FOR_DEPTH', - 'HYDROSTATIC INCONSISTENCY FILTER':'HYDROSTATIC_INCONSISTENCY_FILTER', - 'ELEMENT':'ELEMENT', - 'SOLVER FOR PROPAGATION':'SOLVER_FOR_PROPAGATION', - 'ACCURACY FOR PROPAGATION':'ACCURACY_FOR_PROPAGATION', - 'MAXIMUM NUMBER OF ITERATIONS FOR PROPAGATION':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION', - 'PRECONDITIONING FOR PROPAGATION':'PRECONDITIONING_FOR_PROPAGATION', - 'OPTION OF SOLVER FOR PROPAGATION':'OPTION_OF_SOLVER_FOR_PROPAGATION', - 'INITIAL GUESS FOR DEPTH':'INITIAL_GUESS_FOR_DEPTH', - 'LINEARIZED PROPAGATION':'LINEARIZED_PROPAGATION', - 'MEAN DEPTH FOR LINEARIZATION':'MEAN_DEPTH_FOR_LINEARIZATION', - 'SCHEME FOR ADVECTION OF DEPTH':'SCHEME_FOR_ADVECTION_OF_DEPTH', - 'SCHEME FOR ADVECTION OF VELOCITIES':'SCHEME_FOR_ADVECTION_OF_VELOCITIES', - 'FREE SURFACE GRADIENT COMPATIBILITY':'FREE_SURFACE_GRADIENT_COMPATIBILITY', - 'BYPASS VOID VOLUMES':'BYPASS_VOID_VOLUMES', - 'MASS-LUMPING FOR VELOCITIES':'MASS_LUMPING_FOR_VELOCITIES', - 'SCHEME OPTION FOR ADVECTION OF VELOCITIES':'SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES', - 'OPTION FOR CHARACTERISTICS':'OPTION_FOR_CHARACTERISTICS', - 'NUMBER OF GAUSS POINTS FOR WEAK CHARACTERISTICS':'NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS', - 'MASS-LUMPING FOR WEAK CHARACTERISTICS':'MASS_LUMPING_FOR_WEAK_CHARACTERISTICS', - 'SCHEME FOR DIFFUSION OF VELOCITIES':'SCHEME_FOR_DIFFUSION_OF_VELOCITIES', - 'SOLVER FOR DIFFUSION OF VELOCITIES':'SOLVER_FOR_DIFFUSION_OF_VELOCITIES', - 'ACCURACY FOR DIFFUSION OF VELOCITIES':'ACCURACY_FOR_DIFFUSION_OF_VELOCITIES', - 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF VELOCITIES':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES', - 'PRECONDITIONING FOR DIFFUSION OF VELOCITIES':'PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES', - 'OPTION OF SOLVER FOR DIFFUSION OF VELOCITIES':'OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES', - 'IMPLICITATION FOR DIFFUSION':'IMPLICITATION_FOR_DIFFUSION', - 'SOLVER FOR PPE':'SOLVER_FOR_PPE', - 'ACCURACY FOR PPE':'ACCURACY_FOR_PPE', - 'MAXIMUM NUMBER OF ITERATIONS FOR PPE':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE', - 'PRECONDITIONING FOR PPE':'PRECONDITIONING_FOR_PPE', - 'OPTION OF SOLVER FOR PPE':'OPTION_OF_SOLVER_FOR_PPE', - 'DYNAMIC PRESSURE IN WAVE EQUATION':'DYNAMIC_PRESSURE_IN_WAVE_EQUATION', - 'DYNAMIC BOUNDARY CONDITION':'DYNAMIC_BOUNDARY_CONDITION', - 'CONTINUITY CORRECTION ON OPEN BOUNDARIES':'CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES', - 'IMPLICITATION FOR DEPTH':'IMPLICITATION_FOR_DEPTH', - 'IMPLICITATION FOR VELOCITIES':'IMPLICITATION_FOR_VELOCITIES', - 'TIDAL FLATS':'TIDAL_FLATS', - 'OPTION FOR THE TREATMENT OF TIDAL FLATS':'OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS', - 'TREATMENT OF NEGATIVE DEPTHS':'TREATMENT_OF_NEGATIVE_DEPTHS', - 'TREATMENT ON TIDAL FLATS FOR VELOCITIES':'TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES', - 'THRESHOLD FOR VISCOSITY CORRECTION ON TIDAL FLATS':'THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS', - 'MINIMAL VALUE FOR DEPTH':'MINIMAL_VALUE_FOR_DEPTH', - 'BINARY DATABASE 1 FOR TIDE':'BINARY_DATABASE_1_FOR_TIDE', - 'BINARY DATABASE 2 FOR TIDE':'BINARY_DATABASE_2_FOR_TIDE', - 'GEOGRAPHIC SYSTEM':'GEOGRAPHIC_SYSTEM', - 'ZONE NUMBER IN GEOGRAPHIC SYSTEM':'ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM', - 'LAMBERT 93 CONVERSION FILE':'LAMBERT_93_CONVERSION_FILE', - 'COEFFICIENT TO CALIBRATE SEA LEVEL':'COEFFICIENT_TO_CALIBRATE_SEA_LEVEL', - 'GLOBAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER':'GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER', - 'MINOR CONSTITUENTS INFERENCE':'MINOR_CONSTITUENTS_INFERENCE', - 'INITIAL VELOCITIES COMPUTED BY TPXO':'INITIAL_VELOCITIES_COMPUTED_BY_TPXO', - 'MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES INITIAL CONDITIONS':'MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS', - 'TIDE GENERATING FORCE':'TIDE_GENERATING_FORCE', - 'OPTION FOR TIDAL BOUNDARY CONDITIONS':'OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS', - 'TIDAL DATA BASE':'TIDAL_DATA_BASE', - 'HARMONIC CONSTANTS FILE':'HARMONIC_CONSTANTS_FILE', - 'TIDAL MODEL FILE':'TIDAL_MODEL_FILE', - 'TIDAL MODEL FILE FORMAT':'TIDAL_MODEL_FILE_FORMAT', - 'ASCII DATABASE FOR TIDE':'ASCII_DATABASE_FOR_TIDE', - 'COEFFICIENT TO CALIBRATE TIDAL RANGE':'COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE', - 'COEFFICIENT TO CALIBRATE TIDAL VELOCITIES':'COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES', - 'LOCAL NUMBER OF THE POINT TO CALIBRATE HIGH WATER':'LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER', - 'MINIMUM DEPTH TO COMPUTE TIDAL VELOCITIES BOUNDARY CONDITIONS':'MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS', - 'MAXIMUM NUMBER OF DROGUES':'MAXIMUM_NUMBER_OF_DROGUES', - 'ASCII DROGUES FILE':'ASCII_DROGUES_FILE', - 'BINARY DROGUES FILE':'BINARY_DROGUES_FILE', - 'DROGUES FILE FORMAT':'DROGUES_FILE_FORMAT', - 'PRINTOUT PERIOD FOR DROGUES':'PRINTOUT_PERIOD_FOR_DROGUES', - 'OIL SPILL MODEL':'OIL_SPILL_MODEL', - 'OIL SPILL STEERING FILE':'OIL_SPILL_STEERING_FILE', - 'NUMBER OF CULVERTS':'NUMBER_OF_CULVERTS', - 'CULVERTS DATA FILE':'CULVERTS_DATA_FILE', - 'OPTION FOR CULVERTS':'OPTION_FOR_CULVERTS', - 'HORIZONTAL TURBULENCE MODEL':'HORIZONTAL_TURBULENCE_MODEL', - 'VERTICAL TURBULENCE MODEL':'VERTICAL_TURBULENCE_MODEL', - 'COEFFICIENT FOR HORIZONTAL DIFFUSION OF VELOCITIES':'COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES', - 'COEFFICIENT FOR VERTICAL DIFFUSION OF VELOCITIES':'COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES', - 'MIXING LENGTH MODEL':'MIXING_LENGTH_MODEL', - 'DAMPING FUNCTION':'DAMPING_FUNCTION', - 'PRANDTL NUMBER':'PRANDTL_NUMBER', - 'KARMAN CONSTANT':'KARMAN_CONSTANT', - 'GOTM STEERING FILE':'GOTM_STEERING_FILE', - 'FICTITIOUS BED LEVEL':'FICTITIOUS_BED_LEVEL', - 'OPTION FOR THE BOUNDARY CONDITIONS OF K-EPSILON':'OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON', - 'VERTICAL VELOCITY DERIVATIVES':'VERTICAL_VELOCITY_DERIVATIVES', - 'SCHEME FOR ADVECTION OF K-EPSILON':'SCHEME_FOR_ADVECTION_OF_K_EPSILON', - 'SCHEME OPTION FOR ADVECTION OF K-EPSILON':'SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON', - 'SCHEME FOR DIFFUSION OF K-EPSILON':'SCHEME_FOR_DIFFUSION_OF_K_EPSILON', - 'SOLVER FOR DIFFUSION OF K-EPSILON':'SOLVER_FOR_DIFFUSION_OF_K_EPSILON', - 'ACCURACY FOR DIFFUSION OF K-EPSILON':'ACCURACY_FOR_DIFFUSION_OF_K_EPSILON', - 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF K-EPSILON':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON', - 'PRECONDITIONING FOR DIFFUSION OF K-EPSILON':'PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON', - 'OPTION OF SOLVER FOR DIFFUSION OF K-EPSILON':'OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON', - 'TREATMENT ON TIDAL FLATS FOR K-EPSILON':'TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON', - 'NUMBER OF TRACERS':'NUMBER_OF_TRACERS', - 'NAMES OF TRACERS':'NAMES_OF_TRACERS', - 'VALUES OF TRACERS IN THE RAIN':'VALUES_OF_TRACERS_IN_THE_RAIN', - 'VALUE OF THE TRACERS AT THE SOURCES':'VALUE_OF_THE_TRACERS_AT_THE_SOURCES', - 'DENSITY LAW':'DENSITY_LAW', - 'STANDARD VALUES FOR TRACERS':'STANDARD_VALUES_FOR_TRACERS', - 'BETA EXPANSION COEFFICIENT FOR TRACERS':'BETA_EXPANSION_COEFFICIENT_FOR_TRACERS', - 'PRESCRIBED TRACERS VALUES':'PRESCRIBED_TRACERS_VALUES', - 'TRACERS VERTICAL PROFILES':'TRACERS_VERTICAL_PROFILES', - 'INITIAL VALUES OF TRACERS':'INITIAL_VALUES_OF_TRACERS', - 'SCHEME FOR ADVECTION OF TRACERS':'SCHEME_FOR_ADVECTION_OF_TRACERS', - 'SCHEME OPTION FOR ADVECTION OF TRACERS':'SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS', - 'SCHEME FOR DIFFUSION OF TRACERS':'SCHEME_FOR_DIFFUSION_OF_TRACERS', - 'SOLVER FOR DIFFUSION OF TRACERS':'SOLVER_FOR_DIFFUSION_OF_TRACERS', - 'ACCURACY FOR DIFFUSION OF TRACERS':'ACCURACY_FOR_DIFFUSION_OF_TRACERS', - 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF TRACERS':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS', - 'PRECONDITIONING FOR DIFFUSION OF TRACERS':'PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS', - 'OPTION OF SOLVER FOR DIFFUSION OF TRACERS':'OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS', - 'TREATMENT ON TIDAL FLATS FOR TRACERS':'TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS', - 'COEFFICIENT FOR HORIZONTAL DIFFUSION OF TRACERS':'COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS', - 'COEFFICIENT FOR VERTICAL DIFFUSION OF TRACERS':'COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS', - 'SEDIMENT':'SEDIMENT', - 'DENSITY OF THE SEDIMENT':'DENSITY_OF_THE_SEDIMENT', - 'TIME STEP FOR CONSOLIDATION':'TIME_STEP_FOR_CONSOLIDATION', - 'COHESIVE SEDIMENT':'COHESIVE_SEDIMENT', - 'SHIELDS PARAMETER':'SHIELDS_PARAMETER', - 'MIXED SEDIMENT':'MIXED_SEDIMENT', - 'NUMBER OF SEDIMENT BED LAYERS':'NUMBER_OF_SEDIMENT_BED_LAYERS', - 'READ CRITICAL BED SHEAR STRESS PER LAYER':'READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER', - 'SEDIMENTOLOGICAL RESULT FILE':'SEDIMENTOLOGICAL_RESULT_FILE', - 'SEDIMENTOLOGICAL RESULT FILE BINARY':'SEDIMENTOLOGICAL_RESULT_FILE_BINARY', - 'PREVIOUS COMPUTATION SEDIMENTOLOGICAL FILE':'PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE', - 'MEAN DIAMETER OF THE SEDIMENT':'MEAN_DIAMETER_OF_THE_SEDIMENT', - 'RATIO BETWEEN SKIN FRICTION AND MEAN DIAMETER':'RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER', - 'SKIN FRICTION CORRECTION':'SKIN_FRICTION_CORRECTION', - 'INITIAL PERCENTAGE OF NON COHESIVE SEDIMENT':'INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT', - 'MUD CONCENTRATIONS PER LAYER':'MUD_CONCENTRATIONS_PER_LAYER', - 'CRITICAL EROSION SHEAR STRESS OF THE MUD LAYERS':'CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS', - 'INITIAL THICKNESS OF SEDIMENT LAYERS':'INITIAL_THICKNESS_OF_SEDIMENT_LAYERS', - 'SOLVER FOR DIFFUSION OF THE SEDIMENT':'SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT', - 'ACCURACY FOR DIFFUSION OF SEDIMENT':'ACCURACY_FOR_DIFFUSION_OF_SEDIMENT', - 'MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF SEDIMENT':'MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT', - 'PRECONDITIONING FOR DIFFUSION OF THE SEDIMENT':'PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT', - 'OPTION OF SOLVER FOR DIFFUSION OF THE SEDIMENT':'OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT', - 'THRESHOLD FOR SEDIMENT FLUX CORRECTION ON TIDAL FLATS':'THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS', - 'CRITICAL SHEAR STRESS FOR DEPOSITION':'CRITICAL_SHEAR_STRESS_FOR_DEPOSITION', - 'NON COHESIVE BED POROSITY':'NON_COHESIVE_BED_POROSITY', - 'EROSION COEFFICIENT':'EROSION_COEFFICIENT', - 'CONSTANT SEDIMENT SETTLING VELOCITY':'CONSTANT_SEDIMENT_SETTLING_VELOCITY', - 'SETTLING VELOCITY OF SANDS':'SETTLING_VELOCITY_OF_SANDS', - 'ADVECTION-DIFFUSION SCHEME WITH SETTLING VELOCITY':'ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY', - 'HINDERED SETTLING':'HINDERED_SETTLING', - 'WEAK SOIL CONCENTRATION FOR MUD':'WEAK_SOIL_CONCENTRATION_FOR_MUD', - 'THRESHOLD CONCENTRATION FOR HINDERED SETTLING':'THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING', - 'HINDERED SETTLING FORMULA':'HINDERED_SETTLING_FORMULA', - 'REFERENCE CONCENTRATION FORMULA':'REFERENCE_CONCENTRATION_FORMULA', - 'FLOCCULATION':'FLOCCULATION', - 'FLOCCULATION FORMULA':'FLOCCULATION_FORMULA', - 'FLOCCULATION COEFFICIENT':'FLOCCULATION_COEFFICIENT', - 'COEFFICIENT RELATIVE TO FLOC DESTRUCTION':'COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION', - 'BED LAYERS THICKNESS':'BED_LAYERS_THICKNESS', - 'MAXIMUM CONCENTRATION OF THE CONSOLIDATED MUD':'MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD', - 'RESIDENCE TIME FOR MUD':'RESIDENCE_TIME_FOR_MUD', - 'CONSOLIDATION':'CONSOLIDATION', - 'CONSOLIDATION MODEL':'CONSOLIDATION_MODEL', - 'COUPLING WITH':'COUPLING_WITH', - 'SISYPHE STEERING FILE':'SISYPHE_STEERING_FILE', - 'COUPLING PERIOD FOR SISYPHE':'COUPLING_PERIOD_FOR_SISYPHE', - 'TOMAWAC STEERING FILE':'TOMAWAC_STEERING_FILE', - 'COUPLING PERIOD FOR TOMAWAC':'COUPLING_PERIOD_FOR_TOMAWAC', - 'BOTTOM FRICTION DUE TO WAVES':'BOTTOM_FRICTION_DUE_TO_WAVES', - 'WATER QUALITY PROCESS':'WATER_QUALITY_PROCESS', - 'WAQTEL STEERING FILE':'WAQTEL_STEERING_FILE', - 'DELWAQ STEERING FILE':'DELWAQ_STEERING_FILE', - 'DELWAQ PRINTOUT PERIOD':'DELWAQ_PRINTOUT_PERIOD', - 'EXCHANGES BETWEEN NODES DELWAQ FILE':'EXCHANGES_BETWEEN_NODES_DELWAQ_FILE', - 'NODES DISTANCES DELWAQ FILE':'NODES_DISTANCES_DELWAQ_FILE', - 'BOTTOM SURFACES DELWAQ FILE':'BOTTOM_SURFACES_DELWAQ_FILE', - 'VOLUMES DELWAQ FILE':'VOLUMES_DELWAQ_FILE', - 'EXCHANGE AREAS DELWAQ FILE':'EXCHANGE_AREAS_DELWAQ_FILE', - 'VERTICAL FLUXES DELWAQ FILE':'VERTICAL_FLUXES_DELWAQ_FILE', - 'VELOCITY DELWAQ FILE':'VELOCITY_DELWAQ_FILE', - 'DIFFUSIVITY DELWAQ FILE':'DIFFUSIVITY_DELWAQ_FILE', - 'TEMPERATURE DELWAQ FILE':'TEMPERATURE_DELWAQ_FILE', - 'SALINITY DELWAQ FILE':'SALINITY_DELWAQ_FILE', - 'VELOCITY FOR DELWAQ':'VELOCITY_FOR_DELWAQ', - 'DIFFUSION FOR DELWAQ':'DIFFUSION_FOR_DELWAQ', - 'TEMPERATURE FOR DELWAQ':'TEMPERATURE_FOR_DELWAQ', - 'SALINITY FOR DELWAQ':'SALINITY_FOR_DELWAQ', - 'GAIA STEERING FILE':'GAIA_STEERING_FILE', - 'AD NUMBER OF DERIVATIVES':'AD_NUMBER_OF_DERIVATIVES', - 'AD NAMES OF DERIVATIVES':'AD_NAMES_OF_DERIVATIVES', - 'AD NUMBER OF DIRECTIONS':'AD_NUMBER_OF_DIRECTIONS', - 'AD SYMBOLIC LINEAR SOLVER':'AD_SYMBOLIC_LINEAR_SOLVER', - 'AD LINEAR SOLVER RESET DERIVATIVES':'AD_LINEAR_SOLVER_RESET_DERIVATIVES', - 'AD LINEAR SOLVER DERIVATIVE CONVERGENCE':'AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE', - 'PARTITIONING TOOL':'PARTITIONING_TOOL', - 'STEERING FILE':'STEERING_FILE', - 'DICTIONARY':'DICTIONARY', - 'CONCATENATE PARTEL OUTPUT':'CONCATENATE_PARTEL_OUTPUT', -} -DicoEnumCasFrToEnumCasEn = { -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_BOUNDARY_DATA_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_DATA_FILE_1_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RD_RESULT_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'ED_RESULT_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESTART_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'FILE_FOR_2D_CONTINUATION_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_ATMOSPHERIC_DATA_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'INITIAL_CONDITIONS':{ - "COTE NULLE":"ZERO ELEVATION", - "COTE CONSTANTE":"CONSTANT ELEVATION", - "HAUTEUR NULLE":"ZERO DEPTH", - "HAUTEUR CONSTANTE":"CONSTANT DEPTH", - "PARTICULIERES":"SPECIAL", - "SPECIAL":"PARTICULAR", - "ALTIMETRIE SATELLITE TPXO":"TPXO SATELLITE ALTIMETRY", -}, - -'TIDAL_MODEL_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'DROGUES_FILE_FORMAT':{ - "BKBINPCL":"BKBINPCL", - "TECPLOT":"TECPLOT", -}, - -'SEDIMENTOLOGICAL_RESULT_FILE_BINARY':{ - "STD":"STD", - "IBM":"IBM", - "I3E":"I3E", -}, - -'COUPLING_WITH':{ - "":"", - "SISYPHE":"SISYPHE", - "TOMAWAC":"TOMAWAC", - "TOMAWACT3D":"TOMAWACT3D", - "WAQTEL":"WAQTEL", - "DELWAQ":"DELWAQ", - "GAIA":"GAIA", -}, - -'PARTITIONING_TOOL':{ - "METIS":"METIS", - "SCOTCH":"SCOTCH", - "PARMETIS":"PARMETIS", - "PTSCOTCH":"PTSCOTCH", -}, - -} diff --git a/Telemac/telemac3d_labelCataToIhm_en.qm b/Telemac/telemac3d_labelCataToIhm_en.qm deleted file mode 100644 index 0847862d..00000000 Binary files a/Telemac/telemac3d_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/telemac3d_labelCataToIhm_en.ts b/Telemac/telemac3d_labelCataToIhm_en.ts deleted file mode 100644 index c0650e1e..00000000 --- a/Telemac/telemac3d_labelCataToIhm_en.ts +++ /dev/null @@ -1,1580 +0,0 @@ - - @default - - TITLE - Title - - - PARALLEL_PROCESSORS - Parallel processors - - - CHECKING_THE_MESH - Checking the mesh - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Maximum number of boundaries - - - MAXIMUM_NUMBER_OF_TRACERS - Maximum number of tracers - - - MAXIMUM_NUMBER_OF_SOURCES - Maximum number of sources - - - MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED - Maximum number of boundaries on the bed - - - VECTOR_LENGTH - Vector length - - - GEOMETRY_FILE - Geometry file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - BINARY_BOUNDARY_DATA_FILE - Binary boundary data file - - - BINARY_BOUNDARY_DATA_FILE_FORMAT - Binary boundary data file format - - - FORTRAN_FILE - Fortran file - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - NUMBER_OF_BOTTOM_SMOOTHINGS - Number of bottom smoothings - - - BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS - Bottom smoothings after user modifications - - - FORMATTED_DATA_FILE_1 - Formatted data file 1 - - - FORMATTED_DATA_FILE_2 - Formatted data file 2 - - - BINARY_DATA_FILE_1 - Binary data file 1 - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - BINARY_DATA_FILE_2 - Binary data file 2 - - - VALIDATION - Validation - - - REFERENCE_FILE - Reference file - - - REFERENCE_FILE_FORMAT - Reference file format - - - RD_RESULT_FILE - 3d result file - - - RD_RESULT_FILE_FORMAT - 3d result file format - - - ED_RESULT_FILE - 2d result file - - - ED_RESULT_FILE_FORMAT - 2d result file format - - - RESULT_FILE_IN_LONGITUDE_LATITUDE - Result file in longitude-latitude - - - VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS - Variables for 3d graphic printouts - - - VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS - Variables for 2d graphic printouts - - - GRAPHIC_PRINTOUT_PERIOD - Graphic printout period - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Number of first time step for graphic printouts - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - NUMBER_OF_2D_PRIVATE_ARRAYS - Number of 2d private arrays - - - NAMES_OF_2D_PRIVATE_VARIABLES - Names of 2d private variables - - - FORMATTED_RESULTS_FILE - Formatted results file - - - BINARY_RESULTS_FILE - Binary results file - - - LISTING_PRINTOUT - Listing printout - - - MASS_BALANCE - Mass-balance - - - INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT - Information about mass-balance for each listing printout - - - LISTING_PRINTOUT_PERIOD - Listing printout period - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Number of first time step for listing printouts - - - COMPUTATION_CONTINUED - Computation continued - - - PREVIOUS_COMPUTATION_FILE - Previous computation file - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Previous computation file format - - - RECORD_NUMBER_FOR_RESTART - Record number for restart - - - INITIAL_TIME_SET_TO_ZERO - Initial time set to zero - - - RESTART_MODE - Restart mode - - - RESTART_FILE - Restart file - - - RESTART_FILE_FORMAT - Restart file format - - - ED_CONTINUATION - 2d continuation - - - FILE_FOR_2D_CONTINUATION - File for 2d continuation - - - FILE_FOR_2D_CONTINUATION_FORMAT - File for 2d continuation format - - - DEBUGGER - Debugger - - - TIME_STEP - Time step - - - NUMBER_OF_TIME_STEPS - Number of time steps - - - DURATION - Duration - - - ORIGINAL_DATE_OF_TIME - Original date of time - - - ORIGINAL_HOUR_OF_TIME - Original hour of time - - - SPHERICAL_COORDINATES - Spherical coordinates - - - SPATIAL_PROJECTION_TYPE - Spatial projection type - - - LATITUDE_OF_ORIGIN_POINT - Latitude of origin point - - - LONGITUDE_OF_ORIGIN_POINT - Longitude of origin point - - - NORTH - North - - - NUMBER_OF_HORIZONTAL_LEVELS - Number of Horizontal levels - - - MESH_TRANSFORMATION - Mesh transformation - - - MINIMUM_VOLUME_OF_3D_ELEMENTS - Minimum volume of 3d elements - - - MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM - Minimum distance between planes close to the bottom - - - MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE - Minimum distance between planes close to the free surface - - - THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS - Threshold height before crushed elements - - - NUMBER_OF_TRACER_FOR_AMR - Number of tracer for amr - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Number of sub iterations for non linearities - - - ZERO - Zero - - - ADVECTION_STEP - Advection step - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Treatment of fluxes at the boundaries - - - SUPG_OPTION - SUPG option - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum number of iterations for advection schemes - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Number of sub-steps of distributive schemes - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Number of corrections of distributive schemes - - - MASS_LUMPING_FOR_DIFFUSION - Mass-lumping for diffusion - - - NON_HYDROSTATIC_VERSION - Non-hydrostatic version - - - ELEMENTS_MASKED_BY_USER - Elements masked by user - - - GRAVITY_ACCELERATION - Gravity acceleration - - - AVERAGE_WATER_DENSITY - Average water density - - - LAW_OF_BOTTOM_FRICTION - Law of bottom friction - - - FRICTION_COEFFICIENT_FOR_THE_BOTTOM - Friction coefficient for the bottom - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Law of friction on lateral boundaries - - - FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES - Friction coefficient for lateral solid boundaries - - - CORIOLIS - Coriolis - - - CORIOLIS_COEFFICIENT - Coriolis coefficient - - - WIND - Wind - - - OPTION_FOR_WIND - Option for wind - - - WIND_VELOCITY_ALONG_X - Wind velocity along X - - - WIND_VELOCITY_ALONG_Y - Wind velocity along Y - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient of wind influence - - - COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED - Coefficient of wind influence varying with wind speed - - - THRESHOLD_DEPTH_FOR_WIND - Threshold depth for wind - - - AIR_PRESSURE - Air pressure - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Value of atmospheric pressure - - - RAIN_OR_EVAPORATION - Rain or evaporation - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Rain or evaporation in mm per day - - - ASCII_ATMOSPHERIC_DATA_FILE - ASCII atmospheric data file - - - BINARY_ATMOSPHERIC_DATA_FILE - Binary atmospheric data file - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Binary atmospheric data file format - - - AIR_TEMPERATURE - Air temperature - - - CLOUD_COVER - Cloud cover - - - SOLAR_RADIATION - Solar radiation - - - RELATIVE_HUMIDITY - Relative humidity - - - SOURCES_FILE - Sources file - - - GLOBAL_NUMBERS_OF_SOURCE_NODES - Global numbers of source nodes - - - TYPE_OF_SOURCES - Type of sources - - - ABSCISSAE_OF_SOURCES - Abscissae of sources - - - ORDINATES_OF_SOURCES - Ordinates of sources - - - ELEVATIONS_OF_SOURCES - Elevations of sources - - - WATER_DISCHARGE_OF_SOURCES - Water discharge of sources - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Velocities of the sources along X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Velocities of the sources along Y - - - VELOCITIES_OF_THE_SOURCES_ALONG_Z - Velocities of the sources along z - - - WAVE_DRIVEN_CURRENTS - Wave driven currents - - - RECORD_NUMBER_IN_WAVE_FILE - Record number in wave file - - - PRESCRIBED_ELEVATIONS - Prescribed elevations - - - PRESCRIBED_FLOWRATES - Prescribed flowrates - - - PRESCRIBED_VELOCITIES - Prescribed velocities - - - LIQUID_BOUNDARIES_FILE - Liquid boundaries file - - - VELOCITY_PROFILES - Velocity profiles - - - VELOCITY_VERTICAL_PROFILES - Velocity vertical profiles - - - STAGE_DISCHARGE_CURVES - Stage-discharge curves - - - STAGE_DISCHARGE_CURVES_FILE - Stage-discharge curves file - - - OPTION_FOR_LIQUID_BOUNDARIES - Option for liquid boundaries - - - TURBULENCE_REGIME_FOR_THE_BOTTOM - Turbulence regime for the bottom - - - TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES - Turbulence regime for lateral solid boundaries - - - BOUNDARY_CONDITION_ON_THE_BOTTOM - Boundary condition on the bottom - - - VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES - Velocity projected on solid lateral boundaries - - - VELOCITY_PROJECTED_ON_BOTTOM - Velocity projected on bottom - - - OPEN_BOUNDARY_CONDITIONS_ON_THE_BED - Open boundary conditions on the bed - - - PRESCRIBED_FLOWRATES_ON_THE_BED - Prescribed flowrates on the bed - - - INITIAL_CONDITIONS - Initial conditions - - - INITIAL_ELEVATION - Initial elevation - - - INITIAL_DEPTH - Initial depth - - - MATRIX_STORAGE - Matrix storage - - - MASS_LUMPING_FOR_DEPTH - Mass-lumping for depth - - - HYDROSTATIC_INCONSISTENCY_FILTER - Hydrostatic inconsistency filter - - - ELEMENT - Element - - - SOLVER_FOR_PROPAGATION - Solver for propagation - - - ACCURACY_FOR_PROPAGATION - Accuracy for propagation - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION - Maximum number of iterations for propagation - - - PRECONDITIONING_FOR_PROPAGATION - Preconditioning for propagation - - - OPTION_OF_SOLVER_FOR_PROPAGATION - Option of solver for propagation - - - INITIAL_GUESS_FOR_DEPTH - Initial guess for depth - - - LINEARIZED_PROPAGATION - Linearized propagation - - - MEAN_DEPTH_FOR_LINEARIZATION - Mean depth for linearization - - - SCHEME_FOR_ADVECTION_OF_DEPTH - Scheme for advection of depth - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Scheme for advection of velocities - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Free surface gradient compatibility - - - BYPASS_VOID_VOLUMES - Bypass void volumes - - - MASS_LUMPING_FOR_VELOCITIES - Mass-lumping for velocities - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Scheme option for advection of velocities - - - OPTION_FOR_CHARACTERISTICS - Option for characteristics - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Number of Gauss points for weak characteristics - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping for weak characteristics - - - SCHEME_FOR_DIFFUSION_OF_VELOCITIES - Scheme for diffusion of velocities - - - SOLVER_FOR_DIFFUSION_OF_VELOCITIES - Solver for diffusion of velocities - - - ACCURACY_FOR_DIFFUSION_OF_VELOCITIES - Accuracy for diffusion of velocities - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES - Maximum number of iterations for diffusion of velocities - - - PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES - Preconditioning for diffusion of velocities - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES - Option of solver for diffusion of velocities - - - IMPLICITATION_FOR_DIFFUSION - Implicitation for diffusion - - - SOLVER_FOR_PPE - Solver for ppe - - - ACCURACY_FOR_PPE - Accuracy for ppe - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE - Maximum number of iterations for ppe - - - PRECONDITIONING_FOR_PPE - Preconditioning for ppe - - - OPTION_OF_SOLVER_FOR_PPE - Option of solver for ppe - - - DYNAMIC_PRESSURE_IN_WAVE_EQUATION - Dynamic pressure in wave equation - - - DYNAMIC_BOUNDARY_CONDITION - Dynamic boundary condition - - - CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES - Continuity correction on open boundaries - - - IMPLICITATION_FOR_DEPTH - Implicitation for depth - - - IMPLICITATION_FOR_VELOCITIES - Implicitation for velocities - - - TIDAL_FLATS - Tidal flats - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option for the treatment of tidal flats - - - TREATMENT_OF_NEGATIVE_DEPTHS - Treatment of negative depths - - - TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES - Treatment on tidal flats for velocities - - - THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS - Threshold for viscosity correction on tidal flats - - - MINIMAL_VALUE_FOR_DEPTH - Minimal value for depth - - - BINARY_DATABASE_1_FOR_TIDE - Binary database 1 for tide - - - BINARY_DATABASE_2_FOR_TIDE - Binary database 2 for tide - - - GEOGRAPHIC_SYSTEM - Geographic system - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Zone number in geographic system - - - LAMBERT_93_CONVERSION_FILE - Lambert 93 conversion file - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient to calibrate sea level - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Global number of the point to calibrate high water - - - MINOR_CONSTITUENTS_INFERENCE - Minor constituents inference - - - INITIAL_VELOCITIES_COMPUTED_BY_TPXO - Initial velocities computed by TPXO - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS - Minimum depth to compute tidal velocities initial conditions - - - TIDE_GENERATING_FORCE - Tide generating force - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option for tidal boundary conditions - - - TIDAL_DATA_BASE - Tidal data base - - - HARMONIC_CONSTANTS_FILE - Harmonic constants file - - - TIDAL_MODEL_FILE - Tidal model file - - - TIDAL_MODEL_FILE_FORMAT - Tidal model file format - - - ASCII_DATABASE_FOR_TIDE - ASCII database for tide - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient to calibrate tidal range - - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient to calibrate tidal velocities - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Local number of the point to calibrate high water - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS - Minimum depth to compute tidal velocities boundary conditions - - - MAXIMUM_NUMBER_OF_DROGUES - Maximum number of drogues - - - ASCII_DROGUES_FILE - ASCII drogues file - - - BINARY_DROGUES_FILE - Binary drogues file - - - DROGUES_FILE_FORMAT - Drogues file format - - - PRINTOUT_PERIOD_FOR_DROGUES - Printout period for drogues - - - OIL_SPILL_MODEL - Oil spill model - - - OIL_SPILL_STEERING_FILE - Oil spill steering file - - - NUMBER_OF_CULVERTS - Number of culverts - - - CULVERTS_DATA_FILE - Culverts data file - - - OPTION_FOR_CULVERTS - Option for culverts - - - HORIZONTAL_TURBULENCE_MODEL - Horizontal turbulence model - - - VERTICAL_TURBULENCE_MODEL - Vertical turbulence model - - - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES - Coefficient for Horizontal diffusion of velocities - - - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES - Coefficient for vertical diffusion of velocities - - - MIXING_LENGTH_MODEL - Mixing length model - - - DAMPING_FUNCTION - Damping function - - - PRANDTL_NUMBER - Prandtl number - - - KARMAN_CONSTANT - Karman constant - - - GOTM_STEERING_FILE - Gotm steering file - - - FICTITIOUS_BED_LEVEL - Fictitious bed level - - - OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON - Option for the boundary conditions of K-epsilon - - - VERTICAL_VELOCITY_DERIVATIVES - Vertical velocity derivatives - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Scheme for advection of K-epsilon - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Scheme option for advection of K-epsilon - - - SCHEME_FOR_DIFFUSION_OF_K_EPSILON - Scheme for diffusion of K-epsilon - - - SOLVER_FOR_DIFFUSION_OF_K_EPSILON - Solver for diffusion of K-epsilon - - - ACCURACY_FOR_DIFFUSION_OF_K_EPSILON - Accuracy for diffusion of K-epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON - Maximum number of iterations for diffusion of K-epsilon - - - PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON - Preconditioning for diffusion of K-epsilon - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON - Option of solver for diffusion of K-epsilon - - - TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON - Treatment on tidal flats for K-Epsilon - - - NUMBER_OF_TRACERS - Number of tracers - - - NAMES_OF_TRACERS - Names of tracers - - - VALUES_OF_TRACERS_IN_THE_RAIN - Values of tracers in the rain - - - VALUE_OF_THE_TRACERS_AT_THE_SOURCES - Value of the tracers at the sources - - - DENSITY_LAW - Density law - - - STANDARD_VALUES_FOR_TRACERS - Standard values for tracers - - - BETA_EXPANSION_COEFFICIENT_FOR_TRACERS - Beta expansion coefficient for tracers - - - PRESCRIBED_TRACERS_VALUES - Prescribed tracers values - - - TRACERS_VERTICAL_PROFILES - Tracers vertical profiles - - - INITIAL_VALUES_OF_TRACERS - Initial values of tracers - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Scheme for advection of tracers - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Scheme option for advection of tracers - - - SCHEME_FOR_DIFFUSION_OF_TRACERS - Scheme for diffusion of tracers - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solver for diffusion of tracers - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Accuracy for diffusion of tracers - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum number of iterations for diffusion of tracers - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditioning for diffusion of tracers - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS - Option of solver for diffusion of tracers - - - TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS - Treatment on tidal flats for tracers - - - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS - Coefficient for Horizontal diffusion of tracers - - - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS - Coefficient for vertical diffusion of tracers - - - SEDIMENT - Sediment - - - DENSITY_OF_THE_SEDIMENT - Density of the sediment - - - TIME_STEP_FOR_CONSOLIDATION - Time step for consolidation - - - COHESIVE_SEDIMENT - Cohesive sediment - - - SHIELDS_PARAMETER - Shields parameter - - - MIXED_SEDIMENT - Mixed sediment - - - NUMBER_OF_SEDIMENT_BED_LAYERS - Number of sediment bed layers - - - READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER - Read critical bed shear stress per layer - - - SEDIMENTOLOGICAL_RESULT_FILE - Sedimentological result file - - - SEDIMENTOLOGICAL_RESULT_FILE_BINARY - Sedimentological result file binary - - - PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE - Previous computation sedimentological file - - - MEAN_DIAMETER_OF_THE_SEDIMENT - Mean diameter of the sediment - - - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER - Ratio between skin friction and mean diameter - - - SKIN_FRICTION_CORRECTION - Skin friction correction - - - INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT - Initial percentage of non cohesive sediment - - - MUD_CONCENTRATIONS_PER_LAYER - Mud concentrations per layer - - - CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS - Critical erosion shear stress of the mud layers - - - INITIAL_THICKNESS_OF_SEDIMENT_LAYERS - Initial thickness of sediment layers - - - SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT - Solver for diffusion of the sediment - - - ACCURACY_FOR_DIFFUSION_OF_SEDIMENT - Accuracy for diffusion of sediment - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT - Maximum number of iterations for diffusion of sediment - - - PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT - Preconditioning for diffusion of the sediment - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT - Option of solver for diffusion of the sediment - - - THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS - Threshold for sediment flux correction on tidal flats - - - CRITICAL_SHEAR_STRESS_FOR_DEPOSITION - Critical shear stress for deposition - - - NON_COHESIVE_BED_POROSITY - Non cohesive bed porosity - - - EROSION_COEFFICIENT - Erosion coefficient - - - CONSTANT_SEDIMENT_SETTLING_VELOCITY - Constant sediment settling velocity - - - SETTLING_VELOCITY_OF_SANDS - Settling velocity of sands - - - ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY - Advection-diffusion scheme with settling velocity - - - HINDERED_SETTLING - Hindered settling - - - WEAK_SOIL_CONCENTRATION_FOR_MUD - Weak soil concentration for mud - - - THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING - Threshold concentration for Hindered settling - - - HINDERED_SETTLING_FORMULA - Hindered settling formula - - - REFERENCE_CONCENTRATION_FORMULA - Reference concentration formula - - - FLOCCULATION - Flocculation - - - FLOCCULATION_FORMULA - Flocculation formula - - - FLOCCULATION_COEFFICIENT - Flocculation coefficient - - - COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION - Coefficient relative to floc destruction - - - BED_LAYERS_THICKNESS - Bed layers thickness - - - MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD - Maximum concentration of the consolidated mud - - - RESIDENCE_TIME_FOR_MUD - Residence time for mud - - - CONSOLIDATION - Consolidation - - - CONSOLIDATION_MODEL - Consolidation model - - - COUPLING_WITH - Coupling with - - - SISYPHE_STEERING_FILE - Sisyphe steering file - - - COUPLING_PERIOD_FOR_SISYPHE - Coupling period for sisyphe - - - TOMAWAC_STEERING_FILE - TOMAWAC steering file - - - COUPLING_PERIOD_FOR_TOMAWAC - Coupling period for TOMAWAC - - - BOTTOM_FRICTION_DUE_TO_WAVES - Bottom friction due to waves - - - WATER_QUALITY_PROCESS - Water quality process - - - WAQTEL_STEERING_FILE - Waqtel steering file - - - DELWAQ_STEERING_FILE - DELWAQ steering file - - - DELWAQ_PRINTOUT_PERIOD - DELWAQ printout period - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Exchanges between nodes DELWAQ file - - - NODES_DISTANCES_DELWAQ_FILE - Nodes distances DELWAQ file - - - BOTTOM_SURFACES_DELWAQ_FILE - Bottom surfaces DELWAQ file - - - VOLUMES_DELWAQ_FILE - Volumes DELWAQ file - - - EXCHANGE_AREAS_DELWAQ_FILE - Exchange areas DELWAQ file - - - VERTICAL_FLUXES_DELWAQ_FILE - Vertical fluxes DELWAQ file - - - VELOCITY_DELWAQ_FILE - Velocity DELWAQ file - - - DIFFUSIVITY_DELWAQ_FILE - Diffusivity DELWAQ file - - - TEMPERATURE_DELWAQ_FILE - Temperature DELWAQ file - - - SALINITY_DELWAQ_FILE - Salinity DELWAQ file - - - VELOCITY_FOR_DELWAQ - Velocity for DELWAQ - - - DIFFUSION_FOR_DELWAQ - Diffusion for DELWAQ - - - TEMPERATURE_FOR_DELWAQ - Temperature for DELWAQ - - - SALINITY_FOR_DELWAQ - Salinity for DELWAQ - - - GAIA_STEERING_FILE - Gaia steering file - - - AD_NUMBER_OF_DERIVATIVES - Ad number of derivatives - - - AD_NAMES_OF_DERIVATIVES - Ad names of derivatives - - - AD_NUMBER_OF_DIRECTIONS - Ad number of directions - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad symbolic linear solver - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad linear solver reset derivatives - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad linear solver derivative convergence - - - PARTITIONING_TOOL - Partitioning tool - - - STEERING_FILE - Steering file - - - DICTIONARY - Dictionary - - - CONCATENATE_PARTEL_OUTPUT - Concatenate partel output - - - COMPUTATION_ENVIRONMENT - Computation environment - - - GENERAL_PARAMETERS - General parameters - - - VERTICAL - Vertical - - - NUMERICAL_PARAMETERS - Numerical parameters - - - HYDRODYNAMICS - Hydrodynamics - - - HYDRO - Hydro - - - TIDES - Tides - - - TURBULENCE - Turbulence - - - TRACERS - Tracers - - - SEDIMENT_INFO - Sediment info - - - COUPLING - Coupling - - - AUTOMATIC_DIFFERENTIATION - Automatic differentiation - - - INTERNAL - Internal - - - GLOBAL - Global - - - INPUT - Input - - - OUTPUT - Output - - - RESTART - Restart - - - TIME - Time - - - LOCATION - Location - - - ADVECTION - Advection - - - DIFFUSION - Diffusion - - - PHYSICAL_PARAMETERS - Physical parameters - - - PHYSICAL_PARAMETERS_HYDRO - Physical parameters hydro - - - BOUNDARY_CONDITIONS - Boundary conditions - - - INITIALIZATION - Initialization - - - TIDAL_FLATS_INFO - Tidal flats info - - - PARTICLES_TRANSPORT - Particles transport - - - HYDRAULIC_STRUCTURES - Hydraulic structures - - - DEPOSITION - Deposition - - - EROSION - Erosion - - - SETTLING_VELOCITY - Settling velocity - - - SUSPENSION - Suspension - - - FLOCCULATION_INFO - Flocculation info - - - DEPRECATED - Deprecated - - - SISYPHE - Sisyphe - - - TOMAWAC - TOMAWAC - - - WAQTEL - Waqtel - - - DELWAQ - DELWAQ - - - GAIA - Gaia - - - DATA - Data - - - RESULTS - Results - - - LISTING - Listing - - - FRICTION - Friction - - - CORIOLIS_EFFECT - Coriolis effect - - - METEOROLOGY - Meteorology - - - SOURCES - Sources - - - WAVE - Wave - - - DISCRETISATION - Discretisation - - - PROPAGATION - Propagation - - - NON_HYDROSTATIC - Non Hydrostatic - - - IMPLICITATION - Implicitation - - - DROGUES - Drogues - - - OIL_SPILL - Oil spill - - - CULVERTS - Culverts - - - DENSITY - Density - - - CLEANING_TO_BE_DONE - Cleaning to be done - - - TO_BE_CHECKED - To be checked - - - diff --git a/Telemac/telemac3d_labelCataToIhm_fr.qm b/Telemac/telemac3d_labelCataToIhm_fr.qm deleted file mode 100644 index d045f85a..00000000 Binary files a/Telemac/telemac3d_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/telemac3d_labelCataToIhm_fr.ts b/Telemac/telemac3d_labelCataToIhm_fr.ts deleted file mode 100644 index be442a30..00000000 --- a/Telemac/telemac3d_labelCataToIhm_fr.ts +++ /dev/null @@ -1,1660 +0,0 @@ - - @default - - TITLE - Titre - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - CHECKING_THE_MESH - Verification du maillage - - - MAXIMUM_NUMBER_OF_BOUNDARIES - Nombre maximum de frontieres - - - MAXIMUM_NUMBER_OF_TRACERS - Nombre maximum de traceurs - - - MAXIMUM_NUMBER_OF_SOURCES - Nombre maximum de sources - - - MAXIMUM_NUMBER_OF_BOUNDARIES_ON_THE_BED - Nombre maximum de frontieres sur le fond - - - VECTOR_LENGTH - Longueur du vecteur - - - GEOMETRY_FILE - Fichier de geometrie - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - BINARY_BOUNDARY_DATA_FILE - Fichier binaire de donnees de frontiere - - - BINARY_BOUNDARY_DATA_FILE_FORMAT - Format du fichier binaire de donnees de frontiere - - - FORTRAN_FILE - Fichier fortran - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - NUMBER_OF_BOTTOM_SMOOTHINGS - Nombre de lissages du fond - - - BOTTOM_SMOOTHINGS_AFTER_USER_MODIFICATIONS - Lissages du fond apres modifications utilisateur - - - FORMATTED_DATA_FILE_1 - Fichier de donnees formate 1 - - - FORMATTED_DATA_FILE_2 - Fichier de donnees formate 2 - - - BINARY_DATA_FILE_1 - Fichier de donnees binaire 1 - - - BINARY_DATA_FILE_1_FORMAT - Format du fichier de donnees binaire 1 - - - BINARY_DATA_FILE_2 - Fichier de donnees binaire 2 - - - VALIDATION - Validation - - - REFERENCE_FILE - Fichier de reference - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - RD_RESULT_FILE - Fichier des resultats 3d - - - RD_RESULT_FILE_FORMAT - Format du fichier des resultats 3d - - - ED_RESULT_FILE - Fichier des resultats 2d - - - ED_RESULT_FILE_FORMAT - Format du fichier des resultats 2d - - - RESULT_FILE_IN_LONGITUDE_LATITUDE - Fichier resultat en longitude-latitude - - - VARIABLES_FOR_3D_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques 3d - - - VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques 2d - - - GRAPHIC_PRINTOUT_PERIOD - Periode pour les sorties graphiques - - - NUMBER_OF_FIRST_TIME_STEP_FOR_GRAPHIC_PRINTOUTS - Numero du premier pas de temps pour les sorties graphiques - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - NUMBER_OF_2D_PRIVATE_ARRAYS - Nombre de tableaux prives 2d - - - NAMES_OF_2D_PRIVATE_VARIABLES - Noms des variables privees 2d - - - FORMATTED_RESULTS_FILE - Fichier de resultats formate - - - BINARY_RESULTS_FILE - Fichier de resultats binaire - - - LISTING_PRINTOUT - Sortie listing - - - MASS_BALANCE - Bilan de masse - - - INFORMATION_ABOUT_MASS_BALANCE_FOR_EACH_LISTING_PRINTOUT - Information sur le bilan de masse a chaque sortie listing - - - LISTING_PRINTOUT_PERIOD - Periode pour les sorties listing - - - NUMBER_OF_FIRST_TIME_STEP_FOR_LISTING_PRINTOUTS - Numero du premier pas de temps pour les sorties listing - - - COMPUTATION_CONTINUED - Suite de calcul - - - PREVIOUS_COMPUTATION_FILE - Fichier du calcul precedent - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Format du fichier du calcul precedent - - - RECORD_NUMBER_FOR_RESTART - Enregistrement pour suite de calcul - - - INITIAL_TIME_SET_TO_ZERO - Remise a zero du temps - - - RESTART_MODE - Mode suite - - - RESTART_FILE - Fichier pour suite - - - RESTART_FILE_FORMAT - Format du fichier pour suite - - - ED_CONTINUATION - Suite 2d - - - FILE_FOR_2D_CONTINUATION - Fichier pour suite 2d - - - FILE_FOR_2D_CONTINUATION_FORMAT - Format du fichier pour suite 2d - - - DEBUGGER - Debugger - - - TIME_STEP - Pas de temps - - - NUMBER_OF_TIME_STEPS - Nombre de pas de temps - - - DURATION - Duree du calcul - - - ORIGINAL_DATE_OF_TIME - Date de l'origine des temps - - - ORIGINAL_HOUR_OF_TIME - Heure de l'origine des temps - - - SPHERICAL_COORDINATES - Coordonnees spheriques - - - SPATIAL_PROJECTION_TYPE - Type de projection spatiale - - - LATITUDE_OF_ORIGIN_POINT - Latitude du point origine - - - LONGITUDE_OF_ORIGIN_POINT - Longitude du point origine - - - NORTH - Nord - - - NUMBER_OF_HORIZONTAL_LEVELS - Nombre de plans horizontaux - - - MESH_TRANSFORMATION - Transformation du maillage - - - MINIMUM_VOLUME_OF_3D_ELEMENTS - Volume minimal des elements 3d - - - MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_BOTTOM - Distance minimale entre plans pres du fond - - - MINIMUM_DISTANCE_BETWEEN_PLANES_CLOSE_TO_THE_FREE_SURFACE - Distance minimale entre plans pres de la surface libre - - - THRESHOLD_HEIGHT_BEFORE_CRUSHED_ELEMENTS - Hauteur seuil avant elements ecrases - - - NUMBER_OF_TRACER_FOR_AMR - Numero de traceur pour amr - - - NUMBER_OF_SUB_ITERATIONS_FOR_NON_LINEARITIES - Nombre de sous iterations pour les non linearites - - - ZERO - Zero - - - ADVECTION_STEP - Etape de convection - - - TREATMENT_OF_FLUXES_AT_THE_BOUNDARIES - Traitement des flux aux frontieres - - - SUPG_OPTION - Option de SUPG - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_ADVECTION_SCHEMES - Maximum d'iterations pour les schemas de convection - - - NUMBER_OF_SUB_STEPS_OF_DISTRIBUTIVE_SCHEMES - Nombre de sous-pas des schemas distributifs - - - NUMBER_OF_CORRECTIONS_OF_DISTRIBUTIVE_SCHEMES - Nombre de corrections des schemas distributifs - - - MASS_LUMPING_FOR_DIFFUSION - Mass-lumping pour la diffusion - - - NON_HYDROSTATIC_VERSION - Version non-hydrostatique - - - ELEMENTS_MASKED_BY_USER - Elements masques par l'utilisateur - - - GRAVITY_ACCELERATION - Acceleration de la pesanteur - - - AVERAGE_WATER_DENSITY - Masse volumique moyenne de l'eau - - - LAW_OF_BOTTOM_FRICTION - Loi de frottement sur le fond - - - FRICTION_COEFFICIENT_FOR_THE_BOTTOM - Coefficient de frottement pour le fond - - - LAW_OF_FRICTION_ON_LATERAL_BOUNDARIES - Loi de frottement sur les parois laterales - - - FRICTION_COEFFICIENT_FOR_LATERAL_SOLID_BOUNDARIES - Coefficient de frottement pour les parois laterales - - - CORIOLIS - Coriolis - - - CORIOLIS_COEFFICIENT - Coefficient de coriolis - - - WIND - Vent - - - OPTION_FOR_WIND - Option du vent - - - WIND_VELOCITY_ALONG_X - Vitesse du vent suivant X - - - WIND_VELOCITY_ALONG_Y - Vitesse du vent suivant Y - - - COEFFICIENT_OF_WIND_INFLUENCE - Coefficient d'influence du vent - - - COEFFICIENT_OF_WIND_INFLUENCE_VARYING_WITH_WIND_SPEED - Coefficient d'influence du vent dependant de la vitesse du vent - - - THRESHOLD_DEPTH_FOR_WIND - Profondeur limite pour le vent - - - AIR_PRESSURE - Pression atmospherique - - - VALUE_OF_ATMOSPHERIC_PRESSURE - Valeur de la pression atmospherique - - - RAIN_OR_EVAPORATION - Pluie ou evaporation - - - RAIN_OR_EVAPORATION_IN_MM_PER_DAY - Pluie ou evaporation en mm par jour - - - ASCII_ATMOSPHERIC_DATA_FILE - Fichier ASCII de donnees atmospheriques - - - BINARY_ATMOSPHERIC_DATA_FILE - Fichier binaire de donnees atmospheriques - - - BINARY_ATMOSPHERIC_DATA_FILE_FORMAT - Format du fichier binaire de donnees atmospheriques - - - AIR_TEMPERATURE - Temperature de l'air - - - CLOUD_COVER - Nebulosite - - - SOLAR_RADIATION - Rayonnement solaire - - - RELATIVE_HUMIDITY - Humidite relative - - - SOURCES_FILE - Fichier des sources - - - GLOBAL_NUMBERS_OF_SOURCE_NODES - Numeros globaux des noeuds des sources - - - TYPE_OF_SOURCES - Type des sources - - - ABSCISSAE_OF_SOURCES - Abscisses des sources - - - ORDINATES_OF_SOURCES - Ordonnees des sources - - - ELEVATIONS_OF_SOURCES - Cotes des sources - - - WATER_DISCHARGE_OF_SOURCES - Debits des sources - - - VELOCITIES_OF_THE_SOURCES_ALONG_X - Vitesses des sources selon X - - - VELOCITIES_OF_THE_SOURCES_ALONG_Y - Vitesses des sources selon Y - - - VELOCITIES_OF_THE_SOURCES_ALONG_Z - Vitesses des sources selon z - - - WAVE_DRIVEN_CURRENTS - Courants de Houle - - - RECORD_NUMBER_IN_WAVE_FILE - Numero de l'enregistrement dans le fichier de Houle - - - PRESCRIBED_ELEVATIONS - Cotes imposees - - - PRESCRIBED_FLOWRATES - Debits imposes - - - PRESCRIBED_VELOCITIES - Vitesses imposees - - - LIQUID_BOUNDARIES_FILE - Fichier des frontieres liquides - - - VELOCITY_PROFILES - Profils de vitesse - - - VELOCITY_VERTICAL_PROFILES - Profils de vitesse sur la verticale - - - STAGE_DISCHARGE_CURVES - Courbes de tarage - - - STAGE_DISCHARGE_CURVES_FILE - Fichier des courbes de tarage - - - OPTION_FOR_LIQUID_BOUNDARIES - Option pour les frontieres liquides - - - TURBULENCE_REGIME_FOR_THE_BOTTOM - Regime de turbulence pour le fond - - - TURBULENCE_REGIME_FOR_LATERAL_SOLID_BOUNDARIES - Regime de turbulence pour les parois laterales - - - BOUNDARY_CONDITION_ON_THE_BOTTOM - Condition a la limite au fond - - - VELOCITY_PROJECTED_ON_SOLID_LATERAL_BOUNDARIES - Vitesse projetee sur les parois laterales solides - - - VELOCITY_PROJECTED_ON_BOTTOM - Vitesse projetee sur le fond - - - OPEN_BOUNDARY_CONDITIONS_ON_THE_BED - Conditions ouvertes sur le fond - - - PRESCRIBED_FLOWRATES_ON_THE_BED - Debits imposes sur le fond - - - INITIAL_CONDITIONS - Conditions initiales - - - INITIAL_ELEVATION - Cote initiale - - - INITIAL_DEPTH - Hauteur initiale - - - MATRIX_STORAGE - Stockage des matrices - - - MASS_LUMPING_FOR_DEPTH - Mass-lumping pour la hauteur - - - HYDROSTATIC_INCONSISTENCY_FILTER - Filtre les inconsistances hydrostatiques - - - ELEMENT - Element - - - SOLVER_FOR_PROPAGATION - Solveur pour la propagation - - - ACCURACY_FOR_PROPAGATION - Precision pour la propagation - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PROPAGATION - Maximum d'iterations pour la propagation - - - PRECONDITIONING_FOR_PROPAGATION - Preconditionnement pour la propagation - - - OPTION_OF_SOLVER_FOR_PROPAGATION - Option du solveur pour la propagation - - - INITIAL_GUESS_FOR_DEPTH - Ordre du tir initial pour la hauteur - - - LINEARIZED_PROPAGATION - Propagation linearisee - - - MEAN_DEPTH_FOR_LINEARIZATION - Profondeur moyenne pour la linearisation - - - SCHEME_FOR_ADVECTION_OF_DEPTH - Schema pour la convection de la hauteur - - - SCHEME_FOR_ADVECTION_OF_VELOCITIES - Schema pour la convection des vitesses - - - FREE_SURFACE_GRADIENT_COMPATIBILITY - Compatibilite du gradient de surface libre - - - BYPASS_VOID_VOLUMES - Contournement des volumes nuls - - - MASS_LUMPING_FOR_VELOCITIES - Mass-lumping pour les vitesses - - - SCHEME_OPTION_FOR_ADVECTION_OF_VELOCITIES - Option du schema pour la convection des vitesses - - - OPTION_FOR_CHARACTERISTICS - Option pour les caracteristiques - - - NUMBER_OF_GAUSS_POINTS_FOR_WEAK_CHARACTERISTICS - Nombre de points de Gauss pour les caracteristiques faibles - - - MASS_LUMPING_FOR_WEAK_CHARACTERISTICS - Mass-lumping pour les caracteristiques faibles - - - SCHEME_FOR_DIFFUSION_OF_VELOCITIES - Schema pour la diffusion des vitesses - - - SOLVER_FOR_DIFFUSION_OF_VELOCITIES - Solveur pour la diffusion des vitesses - - - ACCURACY_FOR_DIFFUSION_OF_VELOCITIES - Precision pour la diffusion des vitesses - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_VELOCITIES - Maximum d'iterations pour la diffusion des vitesses - - - PRECONDITIONING_FOR_DIFFUSION_OF_VELOCITIES - Preconditionnement pour la diffusion des vitesses - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_VELOCITIES - Option du solveur pour la diffusion des vitesses - - - IMPLICITATION_FOR_DIFFUSION - Implicitation pour la diffusion - - - SOLVER_FOR_PPE - Solveur pour ppe - - - ACCURACY_FOR_PPE - Precision pour ppe - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_PPE - Maximum d'iterations pour ppe - - - PRECONDITIONING_FOR_PPE - Preconditionnement pour ppe - - - OPTION_OF_SOLVER_FOR_PPE - Option du solveur pour ppe - - - DYNAMIC_PRESSURE_IN_WAVE_EQUATION - Pression dynamique dans l'equation d'onde - - - DYNAMIC_BOUNDARY_CONDITION - Condition limite dynamique - - - CONTINUITY_CORRECTION_ON_OPEN_BOUNDARIES - Correction de continuite sur frontieres ouvertes - - - IMPLICITATION_FOR_DEPTH - Implicitation pour la hauteur - - - IMPLICITATION_FOR_VELOCITIES - Implicitation pour les vitesses - - - TIDAL_FLATS - Bancs decouvrants - - - OPTION_FOR_THE_TREATMENT_OF_TIDAL_FLATS - Option de traitement des bancs decouvrants - - - TREATMENT_OF_NEGATIVE_DEPTHS - Traitement des hauteurs negatives - - - TREATMENT_ON_TIDAL_FLATS_FOR_VELOCITIES - Traitement sur les bancs decouvrants pour les vitesses - - - THRESHOLD_FOR_VISCOSITY_CORRECTION_ON_TIDAL_FLATS - Seuil pour correction de viscosite sur bancs decouvrants - - - MINIMAL_VALUE_FOR_DEPTH - Valeur minimale pour la hauteur - - - BINARY_DATABASE_1_FOR_TIDE - Base binaire 1 de donnees de maree - - - BINARY_DATABASE_2_FOR_TIDE - Base binaire 2 de donnees de maree - - - GEOGRAPHIC_SYSTEM - Systeme geographique - - - ZONE_NUMBER_IN_GEOGRAPHIC_SYSTEM - Numero de fuseau ou projection dans le systeme geographique - - - LAMBERT_93_CONVERSION_FILE - Fichier de conversion lambert 93 - - - COEFFICIENT_TO_CALIBRATE_SEA_LEVEL - Coefficient de calage du niveau de mer - - - GLOBAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero global du point pour caler la pleine mer - - - MINOR_CONSTITUENTS_INFERENCE - Interpolation de composantes mineures - - - INITIAL_VELOCITIES_COMPUTED_BY_TPXO - Vitesses initiales calculees par TPXO - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_INITIAL_CONDITIONS - Hauteur minimale pour les conditions initiales de courants - - - TIDE_GENERATING_FORCE - Force generatrice de la maree - - - OPTION_FOR_TIDAL_BOUNDARY_CONDITIONS - Option pour les conditions aux limites de maree - - - TIDAL_DATA_BASE - Base de donnees de maree - - - HARMONIC_CONSTANTS_FILE - Fichier des constantes harmoniques - - - TIDAL_MODEL_FILE - Fichier du modele de maree - - - TIDAL_MODEL_FILE_FORMAT - Format du fichier du modele de maree - - - ASCII_DATABASE_FOR_TIDE - Base ASCII de donnees de maree - - - COEFFICIENT_TO_CALIBRATE_TIDAL_RANGE - Coefficient de calage du marnage - - - COEFFICIENT_TO_CALIBRATE_TIDAL_VELOCITIES - Coefficient de calage des vitesses de courant - - - LOCAL_NUMBER_OF_THE_POINT_TO_CALIBRATE_HIGH_WATER - Numero local du point pour caler la pleine mer - - - MINIMUM_DEPTH_TO_COMPUTE_TIDAL_VELOCITIES_BOUNDARY_CONDITIONS - Hauteur minimale pour les conditions aux limites de courants - - - MAXIMUM_NUMBER_OF_DROGUES - Nombre maximal de flotteurs - - - ASCII_DROGUES_FILE - Fichier ASCII des flotteurs - - - BINARY_DROGUES_FILE - Fichier binaire des flotteurs - - - DROGUES_FILE_FORMAT - Format du fichier des flotteurs - - - PRINTOUT_PERIOD_FOR_DROGUES - Periode pour les sorties de flotteurs - - - OIL_SPILL_MODEL - Modele de nappes d'hydrocarbures - - - OIL_SPILL_STEERING_FILE - Fichier de commandes hydrocarbures - - - NUMBER_OF_CULVERTS - Nombre de buses - - - CULVERTS_DATA_FILE - Fichier de donnees des buses - - - OPTION_FOR_CULVERTS - Option pour les buses - - - HORIZONTAL_TURBULENCE_MODEL - Modele de turbulence horizontal - - - VERTICAL_TURBULENCE_MODEL - Modele de turbulence vertical - - - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_VELOCITIES - Coefficient de diffusion Horizontal des vitesses - - - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_VELOCITIES - Coefficient de diffusion vertical des vitesses - - - MIXING_LENGTH_MODEL - Modele de longueur de melange - - - DAMPING_FUNCTION - Fonction d'amortissement - - - PRANDTL_NUMBER - Nombre de prandtl - - - KARMAN_CONSTANT - Constante de Karman - - - GOTM_STEERING_FILE - Fichier des parametres gotm - - - FICTITIOUS_BED_LEVEL - Hauteur du lit fictif - - - OPTION_FOR_THE_BOUNDARY_CONDITIONS_OF_K_EPSILON - Option pour les conditions aux limites du K-Epsilon - - - VERTICAL_VELOCITY_DERIVATIVES - Derivees verticales des vitesses - - - SCHEME_FOR_ADVECTION_OF_K_EPSILON - Schema pour la convection du K-Epsilon - - - SCHEME_OPTION_FOR_ADVECTION_OF_K_EPSILON - Option du schema pour la convection du K-Epsilon - - - SCHEME_FOR_DIFFUSION_OF_K_EPSILON - Schema pour la diffusion du K-Epsilon - - - SOLVER_FOR_DIFFUSION_OF_K_EPSILON - Solveur pour la diffusion du K-Epsilon - - - ACCURACY_FOR_DIFFUSION_OF_K_EPSILON - Precision pour la diffusion du K-Epsilon - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_K_EPSILON - Maximum d'iterations pour la diffusion du K-Epsilon - - - PRECONDITIONING_FOR_DIFFUSION_OF_K_EPSILON - Preconditionnement pour la diffusion du K-Epsilon - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_K_EPSILON - Option du solveur pour la diffusion du K-Epsilon - - - TREATMENT_ON_TIDAL_FLATS_FOR_K_EPSILON - Traitement sur les bancs decouvrants pour le K-Epsilon - - - NUMBER_OF_TRACERS - Nombre de traceurs - - - NAMES_OF_TRACERS - Noms des traceurs - - - VALUES_OF_TRACERS_IN_THE_RAIN - Valeurs des traceurs dans la pluie - - - VALUE_OF_THE_TRACERS_AT_THE_SOURCES - Valeurs des traceurs des sources - - - DENSITY_LAW - Loi de densite - - - STANDARD_VALUES_FOR_TRACERS - Valeurs de reference des traceurs - - - BETA_EXPANSION_COEFFICIENT_FOR_TRACERS - Coefficient de dilatation beta pour les traceurs - - - PRESCRIBED_TRACERS_VALUES - Valeurs imposees des traceurs - - - TRACERS_VERTICAL_PROFILES - Profils des traceurs sur la verticale - - - INITIAL_VALUES_OF_TRACERS - Valeurs initiales des traceurs - - - SCHEME_FOR_ADVECTION_OF_TRACERS - Schema pour la convection des traceurs - - - SCHEME_OPTION_FOR_ADVECTION_OF_TRACERS - Option du schema pour la convection des traceurs - - - SCHEME_FOR_DIFFUSION_OF_TRACERS - Schema pour la diffusion des traceurs - - - SOLVER_FOR_DIFFUSION_OF_TRACERS - Solveur pour la diffusion des traceurs - - - ACCURACY_FOR_DIFFUSION_OF_TRACERS - Precision pour la diffusion des traceurs - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_TRACERS - Maximum d'iterations pour la diffusion des traceurs - - - PRECONDITIONING_FOR_DIFFUSION_OF_TRACERS - Preconditionnement pour la diffusion des traceurs - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_TRACERS - Option du solveur pour la diffusion des traceurs - - - TREATMENT_ON_TIDAL_FLATS_FOR_TRACERS - Traitement sur les bancs decouvrants pour les traceurs - - - COEFFICIENT_FOR_HORIZONTAL_DIFFUSION_OF_TRACERS - Coefficient de diffusion Horizontal des traceurs - - - COEFFICIENT_FOR_VERTICAL_DIFFUSION_OF_TRACERS - Coefficient de diffusion vertical des traceurs - - - SEDIMENT - Sediment - - - DENSITY_OF_THE_SEDIMENT - Masse volumique du sediment - - - TIME_STEP_FOR_CONSOLIDATION - Pas de temps de la consolidation - - - COHESIVE_SEDIMENT - Sediment cohesif - - - SHIELDS_PARAMETER - Parametre de shields - - - MIXED_SEDIMENT - Sediment mixte - - - NUMBER_OF_SEDIMENT_BED_LAYERS - Nombre de couches du lit cohesif - - - READ_CRITICAL_BED_SHEAR_STRESS_PER_LAYER - Lecture contrainte critique pour chaque couche - - - SEDIMENTOLOGICAL_RESULT_FILE - Fichier des resultats sedimentologiques - - - SEDIMENTOLOGICAL_RESULT_FILE_BINARY - Binaire du fichier des resultats sedimentologiques - - - PREVIOUS_COMPUTATION_SEDIMENTOLOGICAL_FILE - Fichier sedimentologique du calcul precedent - - - MEAN_DIAMETER_OF_THE_SEDIMENT - Diametre moyen des grains - - - RATIO_BETWEEN_SKIN_FRICTION_AND_MEAN_DIAMETER - Ratio entre la rugosite de peau et le diametre moyen - - - SKIN_FRICTION_CORRECTION - Correction frottement de peau - - - INITIAL_PERCENTAGE_OF_NON_COHESIVE_SEDIMENT - Pourcentage initial de sediment non cohesif - - - MUD_CONCENTRATIONS_PER_LAYER - Concentrations des couches de vase - - - CRITICAL_EROSION_SHEAR_STRESS_OF_THE_MUD_LAYERS - Contrainte critique d'erosion des couches de vase - - - INITIAL_THICKNESS_OF_SEDIMENT_LAYERS - Epaisseurs initiales des couches - - - SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT - Solveur pour la diffusion du sediment - - - ACCURACY_FOR_DIFFUSION_OF_SEDIMENT - Precision pour la diffusion du sediment - - - MAXIMUM_NUMBER_OF_ITERATIONS_FOR_DIFFUSION_OF_SEDIMENT - Maximum d'iterations pour la diffusion du sediment - - - PRECONDITIONING_FOR_DIFFUSION_OF_THE_SEDIMENT - Preconditionnement pour la diffusion du sediment - - - OPTION_OF_SOLVER_FOR_DIFFUSION_OF_THE_SEDIMENT - Option du solveur pour la diffusion du sediment - - - THRESHOLD_FOR_SEDIMENT_FLUX_CORRECTION_ON_TIDAL_FLATS - Seuil limite pour erosion sur bancs decouvrants - - - CRITICAL_SHEAR_STRESS_FOR_DEPOSITION - Contrainte critique de depot - - - NON_COHESIVE_BED_POROSITY - Porosite du lit non cohesif - - - EROSION_COEFFICIENT - Coefficient d'erosion - - - CONSTANT_SEDIMENT_SETTLING_VELOCITY - Vitesse de chute constante - - - SETTLING_VELOCITY_OF_SANDS - Vitesse de chute des sables - - - ADVECTION_DIFFUSION_SCHEME_WITH_SETTLING_VELOCITY - Schema de convection diffusion avec vitesse de chute - - - HINDERED_SETTLING - Vitesse de chute entravee - - - WEAK_SOIL_CONCENTRATION_FOR_MUD - Concentration limite fluide-solide - - - THRESHOLD_CONCENTRATION_FOR_HINDERED_SETTLING - Concentration limite pour vitesse de chute entravee - - - HINDERED_SETTLING_FORMULA - Formule pour vitesse de chute entravee - - - REFERENCE_CONCENTRATION_FORMULA - Formule pour la concentration de reference - - - FLOCCULATION - Floculation - - - FLOCCULATION_FORMULA - Formule pour floculation - - - FLOCCULATION_COEFFICIENT - Coefficient traduisant la formation des flocs - - - COEFFICIENT_RELATIVE_TO_FLOC_DESTRUCTION - Coefficient traduisant la destruction des flocs - - - BED_LAYERS_THICKNESS - Epaisseur des couches du fond vaseux - - - MAXIMUM_CONCENTRATION_OF_THE_CONSOLIDATED_MUD - Concentration maximum de la vase tassee - - - RESIDENCE_TIME_FOR_MUD - Temps de sejour de la vase - - - CONSOLIDATION - Tassement de la vase - - - CONSOLIDATION_MODEL - Option du modele de tassement - - - COUPLING_WITH - Couplage avec - - - SISYPHE_STEERING_FILE - Fichier des parametres de sisyphe - - - COUPLING_PERIOD_FOR_SISYPHE - Periode de couplage pour sisyphe - - - TOMAWAC_STEERING_FILE - Fichier des parametres de TOMAWAC - - - COUPLING_PERIOD_FOR_TOMAWAC - Periode de couplage pour TOMAWAC - - - BOTTOM_FRICTION_DUE_TO_WAVES - Frottement sur le fond du aux vagues - - - WATER_QUALITY_PROCESS - Processus de qualite d'eau - - - WAQTEL_STEERING_FILE - Fichier des parametres de waqtel - - - DELWAQ_STEERING_FILE - Fichier de commande DELWAQ - - - DELWAQ_PRINTOUT_PERIOD - Periode de sortie pour DELWAQ - - - EXCHANGES_BETWEEN_NODES_DELWAQ_FILE - Fichier DELWAQ des echanges entre noeuds - - - NODES_DISTANCES_DELWAQ_FILE - Fichier DELWAQ des distances entre noeuds - - - BOTTOM_SURFACES_DELWAQ_FILE - Fichier DELWAQ des surfaces du fond - - - VOLUMES_DELWAQ_FILE - Fichier DELWAQ des volumes - - - EXCHANGE_AREAS_DELWAQ_FILE - Fichier DELWAQ des surfaces de flux - - - VERTICAL_FLUXES_DELWAQ_FILE - Fichier DELWAQ des flux verticaux - - - VELOCITY_DELWAQ_FILE - Fichier DELWAQ de la vitesse - - - DIFFUSIVITY_DELWAQ_FILE - Fichier DELWAQ de la diffusion - - - TEMPERATURE_DELWAQ_FILE - Fichier DELWAQ de la temperature - - - SALINITY_DELWAQ_FILE - Fichier DELWAQ de la salinite - - - VELOCITY_FOR_DELWAQ - Vitesse pour DELWAQ - - - DIFFUSION_FOR_DELWAQ - Diffusion pour DELWAQ - - - TEMPERATURE_FOR_DELWAQ - Temperature pour DELWAQ - - - SALINITY_FOR_DELWAQ - Salinite pour DELWAQ - - - GAIA_STEERING_FILE - Fichier des parametres de gaia - - - AD_NUMBER_OF_DERIVATIVES - Ad nombre des derivees - - - AD_NAMES_OF_DERIVATIVES - Ad noms des derivees - - - AD_NUMBER_OF_DIRECTIONS - Ad nombre de directions - - - AD_SYMBOLIC_LINEAR_SOLVER - Ad solveur lineaire symbolique - - - AD_LINEAR_SOLVER_RESET_DERIVATIVES - Ad remise a zero des derivees du solveur lineaire - - - AD_LINEAR_SOLVER_DERIVATIVE_CONVERGENCE - Ad convergence des derivees pour le solveur lineaire - - - PARTITIONING_TOOL - Partitionneur - - - STEERING_FILE - Fichier des parametres - - - DICTIONARY - Dictionnaire - - - CONCATENATE_PARTEL_OUTPUT - Concatenation sortie partel - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - ZERO ELEVATION - COTE NULLE - - - CONSTANT ELEVATION - COTE CONSTANTE - - - ZERO DEPTH - HAUTEUR NULLE - - - CONSTANT DEPTH - HAUTEUR CONSTANTE - - - SPECIAL - PARTICULIERES - - - PARTICULAR - SPECIAL - - - TPXO SATELLITE ALTIMETRY - ALTIMETRIE SATELLITE TPXO - - - BKBINPCL - BKBINPCL - - - TECPLOT - TECPLOT - - - STD - STD - - - IBM - IBM - - - I3E - I3E - - - SISYPHE - Sisyphe - - - TOMAWAC - TOMAWAC - - - TOMAWACT3D - TOMAWACT3D - - - WAQTEL - Waqtel - - - DELWAQ - DELWAQ - - - GAIA - Gaia - - - METIS - METIS - - - SCOTCH - SCOTCH - - - PARMETIS - PARMETIS - - - PTSCOTCH - PTSCOTCH - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - GENERAL_PARAMETERS - Parametres generaux - - - VERTICAL - Verticale - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - HYDRODYNAMICS - Hydrodynamique - - - HYDRO - Hydro - - - TIDES - Marees - - - TURBULENCE - Turbulence - - - TRACERS - Traceurs - - - SEDIMENT_INFO - Sediment info - - - COUPLING - Couplage - - - AUTOMATIC_DIFFERENTIATION - Differentiation automatique - - - INTERNAL - Interne - - - GLOBAL - Global - - - INPUT - Entree - - - OUTPUT - Sortie - - - RESTART - Reprise de calcul - - - TIME - Temps - - - LOCATION - Localisation - - - ADVECTION - Convection - - - DIFFUSION - Diffusion - - - PHYSICAL_PARAMETERS - Parametres physiques - - - PHYSICAL_PARAMETERS_HYDRO - Parametres physiques hydro - - - BOUNDARY_CONDITIONS - Conditions aux limites - - - INITIALIZATION - Initialisation - - - TIDAL_FLATS_INFO - Info bancs decouvrants - - - PARTICLES_TRANSPORT - Transport de particules - - - HYDRAULIC_STRUCTURES - Ouvrages hydrauliques - - - DEPOSITION - Depot - - - EROSION - Erosion - - - SETTLING_VELOCITY - Vitesse de chute - - - SUSPENSION - Suspension - - - FLOCCULATION_INFO - Floculation info - - - DEPRECATED - Obsolete - - - DATA - Donnees - - - RESULTS - Resultats - - - LISTING - Listing - - - FRICTION - Frottement - - - CORIOLIS_EFFECT - Effet de coriolis - - - METEOROLOGY - Meteorologie - - - SOURCES - Sources - - - WAVE - Houle - - - DISCRETISATION - Discretisation - - - PROPAGATION - Propagation - - - NON_HYDROSTATIC - Non Hydrostatique - - - IMPLICITATION - Implicitation - - - DROGUES - Flotteurs - - - OIL_SPILL - Nappes d hydrocarbures - - - CULVERTS - Buses - - - DENSITY - Densite - - - CLEANING_TO_BE_DONE - Menage a faire - - - TO_BE_CHECKED - A verifier - - - diff --git a/Telemac/tomawac_cata_auto.py b/Telemac/tomawac_cata_auto.py deleted file mode 100644 index b1515211..00000000 --- a/Telemac/tomawac_cata_auto.py +++ /dev/null @@ -1,4219 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'TOMAWAC', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LISTING = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - PERIOD_FOR_LISTING_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periodicite, -en nombre de pas de temps -des messages du code sur le fichier listing""", - ang = """Determines the period, -in number of time step -of the software messages in the listing file.""", - ), - ), -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["Total variance (m2)","Spectral significant wave height (m)","Mean wave direction (deg)","Mean directional spreading (deg)","Sea bottom level (m)","Water depth (m)","Current along X (m/s)","Current along Y (m/s)","Wind along X (m/s)","Wind along Y (m/s)","Driving force along X (m/s2)","Driving force along Y (m/s2)","Radiation stress along xx (m3/s2)","Radiation stress along yy (m3/s2)","Radiation stress along xy (m3/s2)","Bottom celerity (m/s)","Wave power (per meter along wave crest) (kW/m)","Mean frequency FMOY (Hz)","Mean frequency FM01 (Hz)","Mean frequency FM02 (Hz)","Discrete peak frequency (Hz)","Peak frequency by Read method of order 5 (Hz)","Peak frequency by Read method of order 8 (Hz)","Surface friction velocity u* (m/s)","Surface drag coefficient CD (-)","Surface roughness length Z0 (m)","Surface wave stress (kg/(m.s2))","Mean period Tmoy (s)","Mean period Tm01 (s)","Mean period Tm02 (s)","Discrete peak period (s)","Peak period by Read method of order 5 (s)","Peak period by Read method of order 8 (s)","Private table (?)","Breaking waves coefficient (-)"], - defaut = ["Spectral significant wave height (m)","Mean wave direction (deg)"], - fr = """Noms des variables que l''utilisateur veut ecrire dans -le FICHIER DES RESULTATS 2D. Les variables disponibles sont : -M0 : variance totale -HM0 : Hauteur significative spectrale -DMOY : Direction moyenne de houle -SPD : Etalement directionnel moyen -ZF : Cote du fond -WD : Hauteur d''eau -UX : Courant suivant X -UY : Courant suivant Y -VX : Vent suivant X -VY : Vent suivant Y -FX : Force motrice suivant X -FY : Force motrice suivant Y -SXX : Contrainte de radiation suivant xx -SYY : Contrainte de radiation suivant yy -SXY : Contrainte de radiation suivant xy -UWB : Vitesse orbitale au fond -POW : Puissance lineique de houle (par metre de crete) -FMOY : Frequence moyenne FMOY -FM01 : Frequence moyenne FM01 -FM02 : Frequence moyenne FM02 -FPD : Frequence de pic discrete -FPR5 : Frequence de pic de Read ordre 5 -FPR8 : Frequence de pic de Read ordre 8 -US : Vitesse de frottement en surface u* -CD : Coefficient de trainee en surface CD -Z0 : Longueur de rugosite en surface Z0 -WS : Contrainte de houle en surface -TMOY : Periode moyenne Tmoy -TM01 : Periode moyenne Tm01 -TM02 : Periode moyenne Tm02 -TPD : Periode de pic discrete -TPR5 : Periode de pic de Read ordre 5 -TPR8 : Periode de pic de Read ordre 8 -PRI : tableau prive -BETA : coefficient de deferlement -**Mots-cles associes :** -FICHIER DES RESULTATS 2D -NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES -PERIODE POUR LES SORTIES GRAPHIQUES""", - ang = """Codes of the variables the user wants to write into the 2D -RESULTS FILE. The available variables are as follows -\begin{itemize} -\item M0 : Total variance -\item HM0 : Spectral significant wave height -\item DMOY : Mean wave direction -\item SPD : Mean directional spreading -\item ZF : Sea bottom level -\item WD : Water depth -\item UX : Current along X -\item UY : Current along Y -\item VX : Wind along X -\item VY : Wind along Y -\item FX : Driving force along X -\item FY : Driving force along Y -\item SXX : Radiation stress along xx -\item SYY : Radiation stress along yy -\item SXY : Radiation stress along xy -\item UWB : Bottom celerity -\item POW : Wave power (per meter along wave crest) -\item FMOY : Mean frequency FMOY -\item FM01 : Mean frequency FM01 -\item FM02 : Mean frequency FM02 -\item FPD : Discrete peak frequency -\item FPR5 : Peak frequency by Read method of order 5 -\item FPR8 : Peak frequency by Read method of order 8 -\item US : Surface friction velocity u* -\item CD : Surface drag coefficient CD -\item Z0 : Surface roughness length Z0 -\item WS : Surface wave stress -\item TMOY : Mean period Tmoy -\item TM01 : Mean period Tm01 -\item TM02 : Mean period Tm02 -\item TPD : Discrete peak period -\item TPR5 : Peak period by Read method of order 5 -\item TPR8 : Peak period by Read method of order 8 -\item PRI : Private table -\item BETA : Breaking waves coefficient -\end{itemize} - \begin{CommentBlock}{Related keywords} -2D RESULTS FILE\\ -NUMBER OF FIRST ITERATION FOR GRAPHIC PRINTOUTS\\ -PERIOD FOR GRAPHIC PRINTOUTS -\end{CommentBlock}""", - ), -# ----------------------------------- - PERIOD_FOR_GRAPHIC_PRINTOUTS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode d''impression, -en nombre de pas de temps -des VARIABLES POUR LES SORTIES GRAPHIQUES dans le FICHIER DES -RESULTATS 2D et le FICHIER DES RESULTATS PONCTUELS. -**Mots-cles associes :** -VARIABLES POUR LES SORTIES GRAPHIQUES 2D -ABSCISSES DES POINTS DE SORTIE DU SPECTRE -ORDONNEES DES POINTS DE SORTIE DU SPECTRE -FICHIER DES RESULTATS 2D -FICHIER DES RESULTATS PONCTUELS -NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES""", - ang = """Determines the printing period, -in number of time step -of the VARIABLES FOR 2D GRAPHIC PRINTOUTS in the 2D -RESULTS FILE and the PUNCTUAL RESULTS FILE. -\\ - \begin{CommentBlock}{Related keywords} -VARIABLES FOR 2D GRAPHIC PRINTOUTS\\ -ABSCISSAE OF SPECTRUM PRINTOUT POINTS\\ -ORDINATES OF SPECTRUM PRINTOUT POINTS\\ -2D RESULTS FILE\\ -PUNCTUAL RESULTS FILE\\ -NUMBER OF FIRST ITERATION FOR GRAPHIC PRINTOUTS\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Determine le nombre d''iterations sur le pas de temps -ou sur la frequence moyenne a partir duquel debute -l ecriture des resultats dans le FICHIER DES RESULTATS 2D et le -FICHIER DES RESULTATS PONCTUELS -**Mots-cles associes :** -PERIODE POUR LES SORTIES GRAPHIQUES -VARIABLES POUR LES SORTIES GRAPHIQUES 2D -ABSCISSES DES POINTS DE SORTIE DU SPECTRE -ORDONNEES DES POINTS DE SORTIE DU SPECTRE -FICHIER DES RESULTATS 2D -FICHIER DES RESULTATS PONCTUELS""", - ang = """Determines the number of iterations over mean angular -frequency from which the results are first written into the 2D RESULTS -FILE and the PUNCTUAL RESULTS FILE. -\\ - \begin{CommentBlock}{Related keywords} -PERIOD FOR GRAPHIC PRINTOUTS\\ -VARIABLES FOR 2D GRAPHIC PRINTOUTS\\ -ABSCISSAE OF SPECTRUM PRINTOUT POINTS\\ -ORDINATES OF SPECTRUM PRINTOUT POINTS\\ -2D RESULTS FILE\\ -PUNCTUAL RESULTS FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - ED_RESULTS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les resultats du calcul -bidimensionnels. -Mots-cles associes -VARIABLES POUR LES SORTIES GRAPHIQUES 2D -PERIODE OUR LES SORTIES GRAPHIQUES -NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES""", - ang = """Name of the file into which the results of the two-dimensional -computation will be written. -\\ - \begin{CommentBlock}{Related keywords} -VARIABLES FOR 2D GRAPHIC PRINTOUTS\\ -PERIOD FOR GRAPHIC PRINTOUTS\\ -NUMBER OF FIRST ITERATION FOR GRAPHIC PRINTOUTS -\end{CommentBlock}""", - ), -# ----------------------------------- - ED_RESULTS_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de geometrie. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Geometry file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - PUNCTUAL_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les spectres -ponctuels. -**Mots-cles associes :** -FORMAT DU FICHIER DE SPECTRE -ABSCISSES DES POINTS DE SORTIE DU SPECTRE -ORDONNEES DES POINTS DE SORTIE DU SPECTRE -PERIODE POUR LES SORTIES GRAPHIQUES -NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES""", - ang = """Name of the file into which the punctual spectra will be -written. -\\ - \begin{CommentBlock}{Related keywords} -SPECTRUM FILE FORMAT\\ -ABSCISSAE OF SPECTRUM PRINTOUT POINTS\\ -ORDINATES OF SPECTRUM PRINTOUT POINTS\\ -PERIOD FOR GRAPHIC PRINTOUTS\\ -NUMBER OF FIRST ITERATION FOR GRAPHIC PRINTOUTS -\end{CommentBlock}""", - ), -# ----------------------------------- - SPECTRUM_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de spectre -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Spectrum results file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Tableau donnant les abscisses des points de sortie Seraphin du -spectre et de dimension maximale 99. Les points de sortie du spectre -sont les points 2D les plus proches des coordonnees specifiees -**Mots-cles associes :** -ORDONNEES DES POINTS DE SORTIE DU SPECTRE -FICHIER DES RESULTATS PONCTUELS""", - ang = """Array providing the abscissae of the Seraphin spectrum printout -points with a maximum dimension of 99. The chosen spectrum points are -the closest 2D points to the specified co-ordinates. -\\ - \begin{CommentBlock}{Related keywords} -ORDINATES OF SPECTRUM PRINTOUT POINTS\\ -PUNCTUAL RESULTS FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - fr = """Tableau donnant les ordonnees des points de sortie Seraphin du -spectre et de dimension max 99.Les points de sortie du spectre -sont les points 2D les plus proches des coordonnees specifiees -**Mots-cles associes :** -ABSCISSES DES POINTS DE SORTIE DU SPECTRE -FICHIER DES RESULTATS PONCTUELS""", - ang = """Array providing the ordinates of the Seraphin spectrum printout -points with a maximum dimension of 99. The spectrum printout points are -the closest 2D points to the specified co-ordinates -\\ - \begin{CommentBlock}{Related keywords} -ABSCISSAE OF SPECTRUM PRINTOUT POINTS\\ -PUNCTUAL RESULT FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - ZD_SPECTRA_RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel seront ecrits les spectres -frequentiels ponctuels (integres selon les directions). -**Mots-cles associes :** -FICHIER DES RESULTATS PONCTUELS -ABSCISSES DES POINTS DE SORTIE DU SPECTRE -ORDONNEES DES POINTS DE SORTIE DU SPECTRE -PERIODE POUR LES SORTIES GRAPHIQUES -NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES""", - ang = """Name of the file into which the frequential punctual -spectra (integrated according to the directions) will be written. -\\ - \begin{CommentBlock}{Related keywords} -PUNCTUAL RESULTS FILE\\ -ABSCISSAE OF SPECTRUM PRINTOUT POINTS\\ -ORDINATES OF SPECTRUM PRINTOUT POINTS\\ -PERIOD FOR GRAPHIC PRINTOUTS\\ -NUMBER OF FIRST ITERATION FOR GRAPHIC PRINTOUTS -\end{CommentBlock}""", - ), -# ----------------------------------- - GLOBAL_RESULT_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), - defaut = '', - fr = """Nom du fichier dans lequel sera ecrit le tableau F (spectre -de variance) en fin de calcul dans le but de faire une suite de calcul. -**Mots-cles associes :** -FORMAT DU FICHIER DES RESULTATS GLOBAUX""", - ang = """Name of the file in which the table F (density spectrum) -is written at the end of the computation in order to realise a next -computation. -\\ - \begin{CommentBlock}{Related keywords} -GLOBAL RESULT FILE FORMAT -\end{CommentBlock}""", - ), -# ----------------------------------- - GLOBAL_RESULT_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier texte au format DAT de Salome avec les coordonnées -des spectres a ecrire.""", - ang = """Text file following the DAT format of Salome with the -coordinates of the spectra to output.""", - ), - ), - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NAMES_OF_VARIABLES = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', min= 5, max= 5, - defaut = 'VELOCITY U M/S;VELOCITY V M/S;WIND ALONG X M/S;WIND ALONG Y M/S;WATER DEPTH M', - fr = """Nom des variables dans les fichiers au format SERAFIN - 1: Vitesse U - 2: Vitesse V - 3: Vitesse du vent suivant X - 4: Vitesse du vent suivant Y - 5: Profondeur""", - ang = """Names of variables in SERAFIN format files -\begin{itemize} - \item 1: Velocity U - \item 2: Velocity V - \item 3: Wind velocity along X - \item 4: Wind velocity along Y - \item 5: Depth -\end{itemize}""", - ), -# ----------------------------------- - CURRENT_FILE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CURRENTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Selafin, TELEMAC type","User format (couuti.f)"], - defaut = ["Selafin, TELEMAC type"], - fr = """Choix du type de format du fichier des courants : -\begin{itemize} -\item 3 = selafin du type TELEMAC -\item 4 = format utilisateur (Modifier alors la procedure couuti.f) -\end{itemize} -**Mots-cles associes :** -FICHIER DES COURANTS BINAIRE -FICHIER DES COURANTS FORMATE""", - ang = """Selection of the type of currents file format : -\begin{itemize} -\item 3 = selafin, TELEMAC type -\item 4 = user format (the couuti.f procedure should then be amended) -\end{itemize} -\begin{CommentBlock}{Related keywords} -CURRENTS BINARY FILE\\ -CURRENTS FORMATTED FILE\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Indique le numero du pas de temps du fichier de resultats -TELEMAC (fichier des courants) correspondant a l instant desire -pour recuperer la donnee. -**Mots-cles associes :** -RANG DE LA DONNEE TELEMAC A RECUPERER -RECUPERATION DE DONNEES TELEMAC""", - ang = """Indicates the number of the time increment in the TELEMAC -results file (currents file) corresponding to the desired time for data -recovery. -\\ - \begin{CommentBlock}{Related keywords} -RANK OF THE TELEMAC DATA ITEM TO BE RECOVERED\\ -RECOVERY OF TELEMAC DATA ITEM -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_UNIT_IN_CURRENTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Unite donnee en secondes, par exemple 3600. si le temps -est donne en heures""", - ang = """Unit given in seconds, for example 3600. if time -is given in hours""", - ), -# ----------------------------------- - TIME_SHIFT_IN_CURRENTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Sera retranche au temps lu dans le fichier. -L''unite est celle du fichier""", - ang = """Will be withdrawn from the time read in the file. - The unit is that of the file""", - ), -# ----------------------------------- - BINARY_CURRENTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees de courant (si binaire). -**Mots-cles associes :** -PRISE EN COMPTE D''UN COURANT STATIONNAIRE -PRISE EN COMPTE DE LA MAREE -FICHIER DES COURANTS FORMATE -FORMAT DU FICHIER DES COURANTS""", - ang = """Name of the current data file (if binary). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A STATIONARY CURRENT\\ -CONSIDERATION OF TIDE\\ -FORMATTED CURRENTS FILE\\ -CURRENTS FILE FORMAT -\end{CommentBlock}""", - ), -# ----------------------------------- - FORMATTED_CURRENTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees de courant (si formate). -**Mots-cles associes :** -PRISE EN COMPTE D''UN COURANT STATIONNAIRE -PRISE EN COMPTE DE LA MAREE -FICHIER DES COURANTS BINAIRE -FORMAT DU FICHIER DES COURANTS""", - ang = """Name of the current data file (if formatted). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A STATIONARY CURRENT\\ -CONSIDERATION OF TIDE\\ -BINARY CURRENTS FILE\\ -CURRENTS FILE FORMAT -\end{CommentBlock}""", - ), -# ----------------------------------- - BINARY_CURRENTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier binaire des courants. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Currents binary file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), - ), -# ----------------------------------- - WIND_FILE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WINDS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Selafin, TELEMAC type","User format (venuti.f)"], - defaut = ["Selafin, TELEMAC type"], - fr = """Choix du type de format du fichier des vents : -3 = selafin du type TELEMAC -4 = format utilisateur (Modifier alors la procedure venuti.f) -**Mots-cles associes :** -FICHIER DES VENTS BINAIRE -FICHIER DES VENTS FORMATE""", - ang = """Selection of winds file format type : -\begin{itemize} -\item 3 = selafin, TELEMAC type -\item 4 = user format (the venuti.f procedure should then be amended) -\end{itemize} - \begin{CommentBlock}{Related keywords} -WINDS FILE TYPE\\ -WINDS FILE\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_UNIT_IN_WINDS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Unite donnee en secondes, par exemple 3600. si le temps -est donne en heures""", - ang = """Unit given in seconds, for example 3600. if time -is given in hours""", - ), -# ----------------------------------- - TIME_SHIFT_IN_WINDS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Sera retranche au temps lu dans le fichier. -L''unite est celle du fichier""", - ang = """Will be withdrawn from the time read in the file. - The unit is that of the file""", - ), -# ----------------------------------- - BINARY_WINDS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees de vent (si binaire). -**Mots-cles associes :** -PRISE EN COMPTE DU VENT -FICHIER DES VENTS FORMATE -FORMAT DU FICHIER DES VENTS""", - ang = """Name of wind data file (if binary). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF WIND\\ -FORMATTED WINDS FILE\\ -WINDS FILE FORMAT -\end{CommentBlock}""", - ), -# ----------------------------------- - BINARY_WINDS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier binaire des vents. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """wind data binary file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - FORMATTED_WINDS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees de vent (si formate). -**Mots-cles associes :** -PRISE EN COMPTE DU VENT -FICHIER DES VENTS BINAIRE -FORMAT DU FICHIER DES VENTS""", - ang = """Name of wind data file (if formatted). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF WIND\\ -BINARY WINDS FILE\\ -WINDS FILE FORMAT -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - TIDAL_FILE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIDAL_WATER_LEVEL_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Selafin, TELEMAC type","User format (maruti.f)"], - defaut = ["Selafin, TELEMAC type"], - fr = """Choix du type de format du fichier du niveau de la maree : -3 = selafin du type TELEMAC -4 = format utilisateur (Modifier alors la procedure maruti.f) -**Mots-cles associes :** -PRISE EN COMPTE DE LA MAREE -FICHIER DU NIVEAU DE LA MAREE BINAIRE -FICHIER DU NIVEAU DE LA MAREE FORMATE -PERIODE D ACTUALISATION DE LA MAREE""", - ang = """Selection of the type of tidal water level file format : -\begin{itemize} -\item 3 = selafin, TELEMAC type -\item 4 = user format (the maruti.f procedure should then be amended) -\end{itemize} - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF TIDE\\ -BINARY TIDAL WATER LEVEL FILE\\ -FORMATTED TIDAL WATER LEVEL FILE\\ -TIDE REFRESHING PERIOD -\end{CommentBlock}""", - ), -# ----------------------------------- - RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 4, - fr = """Rang de la variable donnant le niveau de la maree -dans le fichier TELEMAC -**Mots-cles associes :** -PRISE EN COMPTE DE LA MAREE -FICHIER DU NIVEAU DE LA MAREE BINAIRE -FICHIER DU NIVEAU DE LA MAREE FORMATE -PERIODE D ACTUALISATION DE LA MAREE""", - ang = """Rank of the water level data in the TELEMAC file -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF TIDE\\ -BINARY TIDAL WATER LEVEL FILE\\ -FORMATTED TIDAL WATER LEVEL FILE\\ -TIDE REFRESHING PERIOD -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Unite donnee en secondes, par exemple 3600. si le temps -est donne en heures""", - ang = """Unit given in seconds, for example 3600. if time -is given in hours""", - ), -# ----------------------------------- - TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Sera retranche au temps lu dans le fichier. -L''unite est celle du fichier""", - ang = """Will be withdrawn from the time read in the file. - The unit is that of the file""", - ), -# ----------------------------------- - BINARY_TIDAL_WATER_LEVEL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees du niveau d''eau (si binaire). -**Mots-cles associes :** -PRISE EN COMPTE DE LA MAREE -FICHIER DU NIVEAU DE LA MAREE FORMATE -FORMAT DU FICHIER DU NIVEAU DE LA MAREE -PERIODE D ACTUALISATION DE LA MAREE""", - ang = """Name of the water level data file (if binary). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF TIDE\\ -FORMATTED TIDAL WATER LEVEL FILE\\ -TIDAL WATER LEVEL FILE FORMAT\\ -TIDE REFRESHING PERIOD -\end{CommentBlock}""", - ), -# ----------------------------------- - BINARY_TIDAL_WATER_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de la maree binaire. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """binary tidal water file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - FORMATTED_TIDAL_WATER_LEVEL_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de donnees du niveau d''eau (si formate). -**Mots-cles associes :** -PRISE EN COMPTE D UN COURANT -FICHIER DES COURANTS BINAIRE -FORMAT DU FICHIER DES COURANTS -PERIODE D ACTUALISATION DE LA MAREE""", - ang = """Name of the tidal data file (if formatted). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF TIDE\\ -BINARY TIDAL WATER LEVEL FILE\\ -TIDAL WATER LEVEL FILE FORMAT\\ -TIDE REFRESHING PERIOD -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant le maillage du calcul a realiser. -**Mots-cles associes :** -FORMAT DU FICHIER DE GEOMETRIE""", - ang = """Name of the file containing the mesh of the computation to be -made. -\\ - \begin{CommentBlock}{Related keywords} -GEOMETRY FILE FORMAT -\end{CommentBlock}""", - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de geometrie. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Geometry file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier FORTRAN a soumettre.""", - ang = """Name of FORTRAN file to be submitted.""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is automatically filled by the grid generator by means of -colours that are assigned to the boundary nodes in the computational -domain.""", - ), -# ----------------------------------- - BOTTOM_TOPOGRAPHY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier eventuel contenant la bathymetrie associee au -maillage au format SINUSX. -Si ce mot-cle est utilise; c''est cette bathymetrie qui sera utilisee -pour le calcul.""", - ang = """Name of any file containing the bathymetric data associated to -the SINUSX-formatted grid. It this keyword is used, these bathymetric -data shall be used for the computation.""", - ), -# ----------------------------------- - BOTTOM_SMOOTHINGS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de lissages effectues sur la topographie. -Chaque lissage, effectue a l''aide d''une matrice de masse, -est conservatif. A utiliser lorsque les donnees de bathymetrie -donnent des resultats trop irreguliers apres interpolation. -Voir aussi le sous-programme CORFON""", - ang = """Number of smoothings made on bottom features. Each smoothing, -being made by means of a mass matrix, is conservative. To be used when -the bathymetric data yield too irregular data after interpolation. -Also refer to the CORFON subroutine.""", - ), -# ----------------------------------- - NEXT_COMPUTATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Indique si on fait une suite de calcul. -**Mots-cles associes :** -FICHIER DU CALCUL PRECEDENT""", - ang = """Indicates whether a next compution is done. -\\ - \begin{CommentBlock}{Related keywords} -PREVIOUS COMPUTATION FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - b_NEXT_COMPUTATIONG = BLOC(condition="NEXT_COMPUTATION == True", -# ----------------------------------- -# ----------------------------------- - PREVIOUS_COMPUTATION_FILE = SIMP(statut ='o', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom d''un fichier contenant les resultats d''un calcul precedent -realise sur le meme maillage et qui va fournir les conditions -initiales pour une suite de calcul. -**Mots-cles associes :** -BINAIRE DU FICHIER DU CALCUL PRECEDENT""", - ang = """Name of the file containing the global results of a previous -computation realised with the same mesh. This file gives the initial -conditions for a next computation. -\\ - \begin{CommentBlock}{Related keywords} -BINARY OF THE PREVIOUS COMPUTATION FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - PREVIOUS_COMPUTATION_FILE_FORMAT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont seulement: -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are only: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier de reference en cas de validation. -**Mots-cles associes :** -VALIDATION""", - ang = """Name of validation data file -\\ - \begin{CommentBlock}{Related keywords} -VALIDATION -\end{CommentBlock}""", - ), -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de resultats du calcul precedent. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Previous computation results file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - BINARY_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees code en binaire mis a la disposition -de l''utilisateur.""", - ang = """Binary-coded data file made available to the user.""", - ), -# ----------------------------------- - BINARY_DATA_FILE_1_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['','SERAFIN','SERAFIND','MED'], - defaut = '', - fr = """Format du fichier des donnees binaires. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """binary data file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize}""", - ), -# ----------------------------------- - FORMATTED_FILE_1 = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier de donnees formate mis a la disposition -de l''utilisateur.""", - ang = """Formatted data file made available to the user.""", - ), - ), -# ----------------------------------- - BOUNDARY_CONDITION_FILE = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Fichier texte au format DAT de Salome avec les coordonnées -des spectres qui vont etre impose en conditions limites.""", - ang = """Text file following the DAT format of Salome with the -coordinates of the spectra that will be imposed on the boundary. -\\ - \begin{CommentBlock}{Related keywords} -IMPOSED SPECTRA FILE -IMPOSED SPECTRA FILE FORMAT -TIME UNIT OF IMPOSED SPECTRA FILE -TIME SHIFT OF IMPOSED SPECTRA FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - IMPOSED_SPECTRA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant le maillage des spectres a imposer.""", - ang = """Name of the file containing the mesh with the imposed spectra. -\\ - \begin{CommentBlock}{Related keywords} -IMPOSED SPECTRA FILE FORMAT -TIME UNIT OF IMPOSED SPECTRA FILE -TIME SHIFT OF IMPOSED SPECTRA FILE -FILE WITH COORDINATES OF SPECTRA TO IMPOSE -\end{CommentBlock}""", - ), -# ----------------------------------- - IMPOSED_SPECTRA_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier des spectres imposes. -Les valeurs possibles sont : -- SERAFIN : format standard simple precision pour Telemac; -- SERAFIND: format standard double precision pour Telemac; -- MED : format MED base sur HDF5""", - ang = """Imposed spectra file format. -Possible values are: -\begin{itemize} -\item SERAFIN : classical single precision format in Telemac; -\item SERAFIND: classical double precision format in Telemac; -\item MED : MED format based on HDF5 -\end{itemize} - -\begin{CommentBlock}{Related keywords} -IMPOSED SPECTRA FILE -TIME UNIT OF IMPOSED SPECTRA FILE -TIME SHIFT OF IMPOSED SPECTRA FILE -FILE WITH COORDINATES OF SPECTRA TO IMPOSE -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_UNIT_OF_IMPOSED_SPECTRA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """Unite donnee en secondes, par exemple 3600. si le temps -est donne en heures.""", - ang = """Unit given in seconds, for example 3600. if time -is given in hours. -\\ - \begin{CommentBlock}{Related keywords} -IMPOSED SPECTRA FILE -IMPOSED SPECTRA FILE FORMAT -TIME SHIFT OF IMPOSED SPECTRA FILE -FILE WITH COORDINATES OF SPECTRA TO IMPOSE -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Sera retranche au temps lu dans le fichier. -L''unite est celle du fichier.""", - ang = """Will be withdrawn from the time read in the file. - The unit is that of the file. -\\ - \begin{CommentBlock}{Related keywords} -IMPOSED SPECTRA FILE -IMPOSED SPECTRA FILE FORMAT -TIME UNIT OF IMPOSED SPECTRA FILE -FILE WITH COORDINATES OF SPECTRA TO IMPOSE -\end{CommentBlock}""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom= "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - TIME = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_TIME_STEP = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - fr = """Definit le nombre de pas de temps effectues lors de -l''execution du code. -**Mots-cles associes :** -PAS DE TEMPS""", - ang = """Define the number of time step. -\\ - \begin{CommentBlock}{Related keywords} -TIME STEP -\end{CommentBlock}""", - ), -# ----------------------------------- - TIME_STEP = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - fr = """Definit le pas de temps en secondes. -**Mots-cles associes :** -NOMBRE DE PAS DE TEMPS""", - ang = """Define the time step in seconds. -\\ - \begin{CommentBlock}{Related keywords} -NUMBER OF TIME STEPS -\end{CommentBlock}""", - ), -# ----------------------------------- - DATE_OF_COMPUTATION_BEGINNING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0, - fr = """Donne la date du debut du calcul au format aaaammjjhhmm -ce qui permet de se reperer par rapport au fichier des vents, -199310241524 represente le 24 octobre 93 a 15h24. -**Mots-cles associes :** -FICHIER DES VENTS BINAIRE -FICHIER DES VENTS FORMATE -FORMAT DU FICHIER DES VENTS""", - ang = """Gives the date of the computation beginning. The format -is yyyymmddhhmm, -as an exemple 199310241524 means the 24 october 93 -at 15h24. This date gives a reference for reading the -wind file. -\\ - \begin{CommentBlock}{Related keywords} -BINARY WIND FILE\\ -FORMATTED WIND FILE\\ -WIND FILE FORMAT -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_TIME_SET_TO_ZERO = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Remet le temps a zero en cas de suite de calcul""", - ang = """Initial time set to zero in case of restart""", - ), - ), -# ----------------------------------- - SPECTRAL_DISCRETISATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_DIRECTIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 12, - fr = """Definit le nombre de directions de propagation de la houle. -Les directions de propagation sont regulierement reparties entre 0 -et 360 degres.""", - ang = """Defines the number of wave propagation directions. The -propagation directions are evenly distributed from 0 to 360 degrees.""", - ), -# ----------------------------------- - NUMBER_OF_FREQUENCIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 15, - fr = """Definit le nombre de frequences de propagation de la houle. -Les frequences sont reparties geometriquement en fonction de la -FREQUENCE MINIMALE et RAISON FREQUENTIELLE. -**Mots-cles associes :** -FREQUENCE MINIMALE -RAISON FREQUENTIELLE -FACTEUR DE QUEUE DU SPECTRE""", - ang = """Defines the number of wave propagation frequencies. The -propagation frequencies are geometrically distributed as a fonction -of the MINIMAL FREQUENCY OF THE COMPUTATION and the FREQUENTIAL -REASON -\\ - \begin{CommentBlock}{Related keywords} -FREQUENTIAL RATIO\\ -SPECTRUM TAIL FACTOR -\end{CommentBlock}""", - ), -# ----------------------------------- - MINIMAL_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - fr = """Definit la frequence minimale en Hz. -On obtient les autres frequences grace a la RAISON FREQUENTIELLE r et le -NOMBRE DE FREQUENCES NF par $f=f0*r^{k-1}$ k=1,NF. -**Mots-cles associes :** -RAISON FREQUENTIELLE -NOMBRE DE FREQUENCES -FACTEUR DE QUEUE DU SPECTRE""", - ang = """Define the minimal frequency in Hz. The discretised frequencies -are computed from the FREQUENTIAL RATIO r and the NUMBER OF FREQUENCIES -NF by the relation $f=f_0*r^{k-1}$ k=1,NF. -\\ - \begin{CommentBlock}{Related keywords} -FREQUENTIAL RATIO\\ -NUMBER OF FREQUENCIES\\ -SPECTRUM TAIL FACTOR -\end{CommentBlock}""", - ), -# ----------------------------------- - FREQUENTIAL_RATIO = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.1, - fr = """Definit le rapport entre 2 frequences de discretisation -successives. On obtient les autres frequences grace a la FREQUENCE -MINIMALE f0 et le NOMBRE DE FREQUENCES NF par $f=f0*r^{k-1}$ k=1,NF. -**Mots-cles associes :** -FREQUENCE MINIMALE -NOMBRE DE FREQUENCES -FACTEUR DE QUEUE DU SPECTRE""", - ang = """Define the ratio between 2 successive discretised -frequencies -\\ - \begin{CommentBlock}{Related keywords} -MINIMAL FREQUENCY\\ -NUMBER OF FREQUENCIES\\ -SPECTRUM TAIL FACTOR -\end{CommentBlock}""", - ), -# ----------------------------------- - SPECTRUM_TAIL_FACTOR = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 5., - fr = """Utilise pour calculer l energie des frequences superieures a la -**Mots-cles associes :** -NOMBRE DE FREQUENCES -FREQUENCE MINIMALE -RAISON FREQUENTIELLE""", - ang = """decay order of the hight frequencies (Beyond cut off frequency) -\\ - \begin{CommentBlock}{Related keywords} -NUMBER OF FREQUENCIES\\ -FREQUENTIAL RATIO -\end{CommentBlock}""", - ), -# ----------------------------------- - SPECTRUM_ENERGY_THRESHOLD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-30, - fr = """ En condition initiale, une energie inferieure a ce seuil -pour un couple frequence-direction donnee est prise nulle. Utile -surtout pour les comparaisons avec WAM cycle 4.""", - ang = """For initial conditions, the energy on a frequency-direction -component lower to this threshold is taken to 0. -Useful for comparisons with WAM cycle 4.""", - ), -# ----------------------------------- - OPTION_FOR_DIAGNOSTIC_TAIL = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Permet de choisir la methode de correction de la -partie diagnostique du spectre. -\begin{itemize} -\item 0 : Pas de queue diagnostique -\item 1 : Une decroissance en $f^{-TAILF}$ est imposee au dessus de -max(4fPM;2.5fmoy) -\end{itemize} -**Mots-cles associes :** -FACTEUR DE QUEUE DU SPECTRE -NOMBRE DE FREQUENCES -RAISON FREQUENTIELLE""", - ang = """Option to treat the spectrum diagnotic tail. -\begin{itemize} -\item 0 : No diagnostic tail -\item 1 : A decrease in $f^{-TAILF}$ is imposed beyond -max(4fPM;2.5fmoy) -\end{itemize} - \begin{CommentBlock}{Related keywords} -SPECTRUM TAIL FACTOR\\ -NUMBER OF FREQUENCIES\\ -FREQUENTIAL RATIO -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - METEO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TIDE_REFRESHING_PERIOD = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Determine la periode, en nombre d''iterations, -d''actualisation de la profondeur d''eau et des courants de maree. -**Mots-cles associes :** -PRISE EN COMPTE DE LA MAREE -FICHIER DU NIVEAU DE LA MAREE BINAIRE -FICHIER DU NIVEAU DE LA MAREE FORMATE -FORMAT DU FICHIER DU NIVEAU DE LA MAREE""", - ang = """Determines the period in number of iterations to -update the tidal currents and the water depth. -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF TIDE\\ -BINARY TIDAL WATER LEVEL FILE\\ -FORMATTED TIDAL WATER LEVEL FILE\\ -FORMAT DU FICHIER DU NIVEAU DE LA MAREE\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - WIND_VELOCITY_ALONG_X = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Vitesse du vent suivant X, constante et homogene (en m/s) -**Mots-cles associes :** -PRISE EN COMPTE DU VENT""", - ang = """Wind velocity along X axis, constant and homogeneous (m/s) -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A WIND -\end{CommentBlock}""", - ), -# ----------------------------------- - WIND_VELOCITY_ALONG_Y = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Vitesse du vent suivant Y, constante et homogene (en m/s) -**Mots-cles associes :** -PRISE EN COMPTE DU VENT""", - ang = """Wind velocity along Y axis, constant and homogeneous (m/s) -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A WIND -\end{CommentBlock}""", - ), -# ----------------------------------- - CONSIDERATION_OF_A_STATIONARY_CURRENT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Indique si on prend en compte un courant, dans un fichier ou -dans condiw.f. -**Mots-cles associes :** -FICHIER DES COURANTS""", - ang = """Indicates whether a stationary current is taken into account, -either in a file or in condiw.f. -\\ - \begin{CommentBlock}{Related keywords} -CURRENTS FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - CONSIDERATION_OF_A_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Indique si on prend en compte un vent, dans un fichier ou dans -venuti.f. -**Mots-cles associes :** -FICHIER DES VENTS""", - ang = """Indicates whether a wind is taken into account, either in -a file or in venuti.f -\\ - \begin{CommentBlock}{Related keywords} -WINDS FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - STATIONARY_WIND = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Indique si le vent evolue dans le temps et doit etre mis a jour -**Mots-cles associes :** -PRISE EN COMPTE DU VENT""", - ang = """Indicates whether the wind evolves temporally and requires -to be updated -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A WIND -\end{CommentBlock}""", - ), -# ----------------------------------- - CONSIDERATION_OF_TIDE = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Indique si on prend en compte l''influence de la maree, -c''est-a-dire, prise en compte d''un niveau d''eau et de courants -instationnaires. -**Mots-cles associes :** -FICHIER DU NIVEAU DE LA MAREE FORMATE -FICHIER DU NIVEAU DE LA MAREE BINAIRE -FORMAT DU FICHIER DU NIVEAU DE LA MAREE -PERIODE D ACTUALISATION DE LA MAREE""", - ang = """Indicates whether a current is taken into account, either in -a file or in cdicow.f. -\\ - \begin{CommentBlock}{Related keywords} -FORMATTED TIDAL WATER LEVEL FILE\\ -BINARY TIDAL WATER LEVEL FILE\\ -TIDAL WATER LEVEL FILE FORMAT\\ -TIDE REFRESHING PERIOD -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - MISCELLANEOUS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_PRIVATE_ARRAYS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de tableaux utilises en variables privees par -l''utilisateur""", - ang = """Number of private arrays used by the user""", - ), -# ----------------------------------- - DEBUGGER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Pour imprimer la sequence des appels, mettre 1""", - ang = """If 1, calls of subroutines will be printed in the listing""", - ), -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """NOMBRE DE PROCESSEURS EN CALCUL PARALLELE -0 : 1 machine, compilation sans bibliotheque de parallelisme -1 : 1 machine, compilation avec bibliotheque de parallelisme -2 : 2 processeurs ou machines en parallele -etc...""", - ang = """NUMBER OF PROCESSORS FOR PARALLEL PROCESSING -0 : 1 machine, compiling without parallel library -1 : 1 machine, compiling with a parallel library -2 : 2 processors or machines in parallel -etc....""", - ), -# ----------------------------------- - FINITE_ELEMENT_ASSEMBLY = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """1 : normal 2 : avec des entiers I8""", - ang = """1: normal 2: with I8 integers""", - ), -# ----------------------------------- - TITLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = 'SET A TITLE !!!', - fr = """Titre du cas etudie""", - ang = """Title of the case being studied.""", - ), -# ----------------------------------- - PARTITIONING_TOOL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['METIS','SCOTCH','PARMETIS','PTSCOTCH'], - defaut = 'METIS', - fr = """CHOIX DU PARTITIONNEUR -1 : METIS -2 : SCOTCH -3 : PARMETIS -4 : PTSCOTCH -etc...""", - ang = """PARTITIONING TOOL SELECTION -\begin{itemize} -\item 1 : METIS -\item 2 : SCOTCH -\item 3 : PARMETIS -\item 4 : PTSCOTCH -\end{itemize}""", - ), -# ----------------------------------- - RECOVERY_OF_TELEMAC_DATA_ITEM = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Indique si on recupere des donnees TELEMAC dans LECDON.f -Si oui il faut veiller a utiliser un FICHIER DES COURANTS au bon format -et donner le rang de la variable en question dans le fichier TELEMAC. -**Mots-cles associes :** -FICHIER DES COURANTS BINAIRE -FICHIER DES COURANTS FORMATE -FORMAT DU FICHIER DES COURANTS -RANG DE LA DONNEE TELEMAC A RECUPERER -NUMERO DU PAS DE TEMPS DU FICHIER TELEMAC""", - ang = """Indicates whether TELEMAC data are recovered in LECDON. If so, -a proper-formatted CURRENTS FILE should be used and the rank of the -respective variable should be entered into the TELEMAC file. -\\ - \begin{CommentBlock}{Related keywords} -BINARY CURRENTS FILE\\ -FORMATTED CURRENTS FILE\\ -CURRENTS FILE TYPE\\ -RANK OF THE TELEMAC DATA ITEM TO BE RECOVERED\\ -TIME INCREMENT NUMBER IN TELEMAC FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - CONSIDERATION_OF_PROPAGATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Indique si on prend en compte la propagation""", - ang = """Indicates whether propagation is taken into account.""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Logique indiquant si on effectue un calcul de validation -**Mots-cles associes :** -FICHIER DE REFERENCE""", - ang = """True if the computation is a validation -\\ - \begin{CommentBlock}{Related keywords} -REFERENCE FILE -\end{CommentBlock}""", - ), -# ----------------------------------- - b_VALIDATIONG = BLOC(condition="VALIDATION == True", -# ----------------------------------- - ), -# ----------------------------------- - CHECKING_THE_MESH = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si oui on appelle le sous-programme checkmesh qui verifie -la coherence du maillage, points superposes, etc.""", - ang = """if this key word is equal to yes, a call to subroutine -checkmesh will look for errors in the mesh, superimposed points, etc.""", - ), - ), -# ----------------------------------- - OTHER_DOMAIN_DEFINITIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - ORIGIN_COORDINATES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', min= 2, max= 2, - defaut = [0,0], - fr = """Valeur en metres, utilise pour eviter les trop grands nombres, -transmis dans le format Selafin mais pas d''autre traitement pour -l''instant""", - ang = """Value in metres, used to avoid large real numbers, -added in Selafin format, but so far no other treatment""", - ), -# ----------------------------------- - MINIMUM_WATER_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.1, - fr = """Definit la profondeur d eau minimale en dessous de laquelle -les fonds sont supposes emerges.""", - ang = """Defines the minimum water depth below which bottom elevations -are regarded as dry.""", - ), -# ----------------------------------- - SPHERICAL_COORDINATES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Indique si on se place ou non en coordonnes spheriques. -ATTENTION, en coordonnees cartesiennes, les coordonnees sont -exprimees em m alors que ce sont des degres en coordonnees -spheriques.""", - ang = """Indicates whether the coordinates are spherical (unit= -degree) or cartesian (unit = meter).""", - ), -# ----------------------------------- - INFINITE_DEPTH = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Indique si on se place dans l hypothese de profondeur infinie. -Cette option inhibe les frottements sur le fond.""", - ang = """Indicates whether an infinite depth is assumed. If so, bottom -friction is inhibited.""", - ), -# ----------------------------------- - TRIGONOMETRICAL_CONVENTION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Logique indiquant si les directions de propagation -de la houle sont definies dans le sens trigonometrique a -partir de l axe des x positifs, ou definies dans le sens -des aiguilles d une montre a partir du nord geographique""", - ang = """True if the wave directions are measured -counterclockwise from the positive x-axis, false if -they are measured clockwise fron geographic North""", - ), - ), -) -# ----------------------------------------------------------------------- -SOURCE_TERMS = PROC(nom= "SOURCE_TERMS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - BAJ_MODELING = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["classical modelisation","BAJ Modeling"], - defaut = ["classical modelisation"], - fr = """Type de calcul de la frequence centrale -Si sa valeur est 0, on prend la formulation classique -Si sa valeur est 1 on pren la modelisation BAJ proposee -par Laugel (2013) pour le calcul de la frequence centrale -et le limiteur de croissance -**Mots-cles associes :** -PRISE EN COMPTE DES TERMES SOURCES""", - ang = """Choice of the calculus of centrale frequency -if its value is 0, classical choice -if its value is 1, BAJ choice proposed by Laugel (2013). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF SOURCE TERMS -\end{CommentBlock}""", - ), -# ----------------------------------- - CONSIDERATION_OF_SOURCE_TERMS = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = True, - fr = """Indique la prise en compte ou non de l ensemble des termes -sources. -**Mots-cles associes :** -APPORTS DUS AU VENT -DISSIPATION PAR FROTTEMENT SUR LE FOND -DISSIPATION PAR MOUTONNEMENT -DISSIPATION PAR DEFERLEMENT -DISSIPATION PAR WAVE BLOCKING -TRANSFERTS NON LINEAIRES INTER-FREQUENCES -TRANSFERTS ENTRE TRIPLETS DE FREQUENCES""", - ang = """Indicates whether the source terms are taken into -account or not. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -BOTTOM FRICTION DISSIPATION\\ -WHITE CAPPING DISSIPATION\\ -DEPTH-INDUCED BREAKING DISSIPATION\\ -WAVE BLOCKING DISSIPATION\\ -NON-LINEAR TRANSFERS BETWEEN FREQUENCIES\\ -TRIAD INTERACTION -\end{CommentBlock}""", - ), -# ----------------------------------- - TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Indique si on prend en compte les termes sources sur les -frontieres imposees.""", - ang = """Indicates whether source terms are taken into account on -imposed boundaries.""", - ), -# ----------------------------------- - WIND = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WIND_GENERATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No wind generation","Wind generation in accordance with WAM cycle 4","Wind generation in accordance with WAM cycle 3","Wind generation in accordance with Yan expression (1987)"], - defaut = ["No wind generation"], - fr = """Choix du type de modelisation du terme source d apport -par le vent. Si sa valeur est 0, on ne prend pas en compte les -apports dus au vent, si sa valeur est 1, ils sont integres selon -la formule utilisee dans WAM cycle 4; -si sa valeur est 2, ils sont integres selon la formule utilisee -dans WAM cycle 3; si sa valeur est 3, ils sont integres selon -l expression de Yan (1987). -**Mots-cles associes :** -PRISE EN COMPTE DU VENT -FICHIER DES VENTS -DENSITE DE L''AIR -DENSITE DE L''EAU -COEFFICIENT DE GENERATION PAR LE VENT -CONSTANTE DE VON KARMAN -CONSTANTE DE CHARNOCK -DECALAGE COURBE DE CROISSANCE DUE AU VENT -COTE DE MESURE DES VENTS -COEFFICIENT DE TRAINEE DE VENT -COEFFICIENT A DE GENERATION PAR LE VENT -COEFFICIENT B DE GENERATION PAR LE VENT -COEFFICIENT C DE GENERATION PAR LE VENT -COEFFICIENT D DE GENERATION PAR LE VENT -COEFFICIENT TM DE GENERATION PAR LE VENT""", - ang = """Selection of the type of modelling of the wind generation -source term. If its value is 0, the wind generation is ignored; if -its value is 1, it is integrated in accordance with the WAM cycle 4 -formula; if its value is 2, it is integrated in accordance with the -WAM cycle 3 formula; if its value is 3, it is integrated in accordance -with the Yan (1987) expression. -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A WIND\\ -WINDS FILE\\ -AIR DENSITY\\ -WATER DENSITY\\ -WIND GENERATION COEFFICIENT\\ -VON KARMAN CONSTANT\\ -CHARNOCK CONSTANT\\ -SHIFT GROWING CURVE DUE TO WIND\\ -WIND MEASUREMENTS LEVEL\\ -WIND DRAG COEFFICIENT\\ -WIND GENERATION COEFFICIENT A\\ -WIND GENERATION COEFFICIENT B\\ -WIND GENERATION COEFFICIENT C\\ -WIND GENERATION COEFFICIENT D\\ -WIND GENERATION COEFFICIENT TM\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - b_WIND_GENERATIONG = BLOC(condition="WIND_GENERATION == 'Wind generation in accordance with WAM cycle 4'", -# ----------------------------------- -# ----------------------------------- - WIND_GENERATION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.2, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT""", - ang = """Constant used in the wind source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION -\end{CommentBlock}""", - ), -# ----------------------------------- - AIR_DENSITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.225, - fr = """Le rapport Roair/Roeau est utilise dans le terme source -de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT -DENSITE DE L''EAU""", - ang = """The ratio ROAIR/ROEAU is used in the wind generation -source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -WATER DENSITY -\end{CommentBlock}""", - ), -# ----------------------------------- - WATER_DENSITY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1000., - fr = """ Le rapport Roair/Roeau est utilise dans le terme source -de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT -DENSITE DE L''AIR""", - ang = """The ratio ROAIR/ROEAU is used in the wind generation -source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -AIR DENSITY -\end{CommentBlock}""", - ), -# ----------------------------------- - CHARNOCK_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.01, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT""", - ang = """Constant used in the wind source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION -\end{CommentBlock}""", - ), -# ----------------------------------- - WIND_DRAG_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.2875E-3, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT""", - ang = """Constant used in the wind source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION -\end{CommentBlock}""", - ), -# ----------------------------------- - VON_KARMAN_CONSTANT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.41, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT""", - ang = """Constant used in the wind source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION -\end{CommentBlock}""", - ), -# ----------------------------------- - SHIFT_GROWING_CURVE_DUE_TO_WIND = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.011, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT""", - ang = """Constant used in the wind source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION -\end{CommentBlock}""", - ), -# ----------------------------------- - WIND_MEASUREMENTS_LEVEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 10., - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent. -**Mots-cles associes :** -APPORTS DUS AU VENT""", - ang = """Constant used in the wind source term. -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_WIND_GENERATIONH = BLOC(condition="WIND_GENERATION == 'Wind generation in accordance with WAM cycle 3'", -# ----------------------------------- - ), -# ----------------------------------- - b_WIND_GENERATIONI = BLOC(condition="WIND_GENERATION == 'Wind generation in accordance with Yan expression (1987)'", -# ----------------------------------- -# ----------------------------------- - YAN_GENERATION_COEFFICIENT_D = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.04, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent de Yan (1987). -**Mots-cles associes :** -APPORTS DUS AU VENT -COEFFICIENT DE GENERATION DE YAN E -COEFFICIENT DE GENERATION DE YAN F -COEFFICIENT DE GENERATION DE YAN H""", - ang = """Constant used in the wind source term of Yan (1987). -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -YAN GENERATION COEFFICIENT E\\ -YAN GENERATION COEFFICIENT F\\ -YAN GENERATION COEFFICIENT H -\end{CommentBlock}""", - ), -# ----------------------------------- - YAN_GENERATION_COEFFICIENT_E = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.00552, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent de Yan (1987). -**Mots-cles associes :** -APPORTS DUS AU VENT -COEFFICIENT DE GENERATION DE YAN D -COEFFICIENT DE GENERATION DE YAN F -COEFFICIENT DE GENERATION DE YAN H""", - ang = """Constant used in the wind source term of Yan (1987). -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -YAN GENERATION COEFFICIENT D\\ -YAN GENERATION COEFFICIENT F\\ -YAN GENERATION COEFFICIENT H -\end{CommentBlock}""", - ), -# ----------------------------------- - YAN_GENERATION_COEFFICIENT_F = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.000052, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent de Yan (1987). -**Mots-cles associes :** -APPORTS DUS AU VENT -COEFFICIENT DE GENERATION DE YAN D -COEFFICIENT DE GENERATION DE YAN E -COEFFICIENT DE GENERATION DE YAN H""", - ang = """Constant used in the wind source term of Yan (1987). -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -YAN GENERATION COEFFICIENT D\\ -YAN GENERATION COEFFICIENT E\\ -YAN GENERATION COEFFICIENT H -\end{CommentBlock}""", - ), -# ----------------------------------- - YAN_GENERATION_COEFFICIENT_H = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = -0.000302, - fr = """Fait partie de l ensemble des constantes utilisees dans -le terme source de generation par le vent de Yan (1987). -**Mots-cles associes :** -APPORTS DUS AU VENT -COEFFICIENT DE GENERATION DE YAN D -COEFFICIENT DE GENERATION DE YAN E -COEFFICIENT DE GENERATION DE YAN F""", - ang = """Constant used in the wind source term of Yan (1987). -\\ - \begin{CommentBlock}{Related keywords} -WIND GENERATION\\ -YAN GENERATION COEFFICIENT D\\ -YAN GENERATION COEFFICIENT E\\ -YAN GENERATION COEFFICIENT F -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - LINEAR_WAVE_GROWTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["the linear wave growth is ignored","linear wave growth as in Cavaleri and Malanotte-Rizzoli (1981)"], - defaut = ["the linear wave growth is ignored"], - fr = """Possibilite d ajouter au terme source d apport -par le vent un terme de croissance lineaire. -Si sa valeur est 0, on ne prend pas en compte le -terme de croissance lineaire, si sa valeur est 1, -il est ajoute au terme source, selon la formule -de Cavaleri et Malanotte-Rizzoli (1981) -**Mots-cles associes :** -PRISE EN COMPTE DU VENT -FICHIER DES VENTS""", - ang = """Possibility to add a linear wave growth term -to the wind generation source term. -If its value is 0, the linear wave growth is ignored; -if its value is 1, it is added to the source term, -as in the formula of Cavaleri and Malanotte-Rizzoli (1981). -\\ - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF A WIND\\ -WINDS FILE -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - WHITE_CAPPING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WHITE_CAPPING_DISSIPATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No white capping dissipation","Dissipation in accordance with WAM cycle 4","Dissipation in accordance with Van des Westhuysen(2007)"], - defaut = ["No white capping dissipation"], - fr = """Choix du type de modelisation du terme source de dissipation -par moutonnement. Si sa valeur est 0, on ne prend pas en compte la -dissipation par moutonnement, si sa valeur est 1, elle est integree -selon la formule utilisee dans WAM cycle 4; si sa valeur est 2, elle -est integree selon la formule de van der Westhuysen (2007). -**Mots-cles associes :** -COEFFICIENT DE DISSIPATION PAR MOUTONNEMENT -COEFFICIENT DE PONDERATION POUR LE MOUTONNEMENT -COEFFICIENT DE DISSIPATION DE WESTHUYSEN -DISSIPATION PAR MOUTONNEMENT -SEUIL DE SATURATION POUR LA DISSIPATION -DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN -COEFFICIENT DE PONDERATION DE WESTHUYSEN""", - ang = """Selection of the modelling type of the white capping source -term. If its value is 0, the white capping dissipation is ignored; -if its value is 1, it is integrated in accordance with a formula that -is similar to that of WAM cycle 4; if its value is 2, it is integrated -in accordance with the formula of van der Westhuysen (2007). -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION COEFFICIENT\\ -WHITE CAPPING WEIGHTING COEFFICIENT\\ -WESTHUYSEN DISSIPATION COEFFICIENT\\ -SATURATION THRESHOLD FOR THE DISSIPATION\\ -WESTHUYSEN WHITE CAPPING DISSIPATION\\ -WESTHUYSEN WEIGHTING COEFFICIENT -\end{CommentBlock}""", - ), -# ----------------------------------- - b_WHITE_CAPPING_DISSIPATIONG = BLOC(condition="WHITE_CAPPING_DISSIPATION == 'Dissipation in accordance with WAM cycle 4'", -# ----------------------------------- -# ----------------------------------- - WHITE_CAPPING_DISSIPATION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 4.5, - fr = """Coefficient de dissipation par moutonnement. -**Mots-cles associes :** -DISSIPATION PAR MOUTONNEMENT -COEFFICIENT DE PONDERATION POUR LE MOUTONNEMENT""", - ang = """White capping dissipation coefficient . -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION\\ -WHITE CAPPING WEIGHTING COEFFICIENT -\end{CommentBlock}""", - ), -# ----------------------------------- - WHITE_CAPPING_WEIGHTING_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.5, - fr = """ Coefficient de ponderation pour le moutonnement. -**Mots-cles associes :** -DISSIPATION PAR MOUTONNEMENT -COEFFICIENT DE DISSIPATION PAR MOUTONNEMENT""", - ang = """White capping weighting coefficient. -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION\\ -WHITE CAPPING DISSIPATION COEFFICIENT -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_WHITE_CAPPING_DISSIPATIONH = BLOC(condition="WHITE_CAPPING_DISSIPATION == 'Dissipation in accordance with Van des Westhuysen(2007)'", -# ----------------------------------- -# ----------------------------------- - SATURATION_THRESHOLD_FOR_THE_DISSIPATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.00175, - fr = """Coefficient de dissipation par moutonnement de l expression -de van der Westhuysen (2007): Br (seuil de saturation). -**Mots-cles associes :** -DISSIPATION PAR MOUTONNEMENT -COEFFICIENT DE DISSIPATION DE WESTHUYSEN -DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN -COEFFICIENT DE PONDERATION DE WESTHUYSEN""", - ang = """White capping dissipation coefficient of -van der Westhuysen (2007): Br (saturation threshold). -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION\\ -WESTHUYSEN DISSIPATION COEFFICIENT\\ -WESTHUYSEN WHITE CAPPING DISSIPATION\\ -WESTHUYSEN WEIGHTING COEFFICIENT -\end{CommentBlock}""", - ), -# ----------------------------------- - WESTHUYSEN_WHITE_CAPPING_DISSIPATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 3.29, - fr = """Coefficient de dissipation par moutonnement de l expression -de van der Westhuysen (2007): Cdis,non-break. -**Mots-cles associes :** -DISSIPATION PAR MOUTONNEMENT -COEFFICIENT DE DISSIPATION DE WESTHUYSEN -SEUIL DE SATURATION POUR LA DISSIPATION -COEFFICIENT DE PONDERATION DE WESTHUYSEN""", - ang = """White capping dissipation coefficient of -van der Westhuysen (2007): Cdis,non-break. -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION\\ -WESTHUYSEN DISSIPATION COEFFICIENT\\ -SATURATION THRESHOLD FOR THE DISSIPATION\\ -WESTHUYSEN WEIGHTING COEFFICIENT -\end{CommentBlock}""", - ), -# ----------------------------------- - WESTHUYSEN_WEIGHTING_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.0, - fr = """Coefficient de dissipation par moutonnement de l expression -de van der Westhuysen (2007): delta. -**Mots-cles associes :** -DISSIPATION PAR MOUTONNEMENT -COEFFICIENT DE DISSIPATION DE WESTHUYSEN -SEUIL DE SATURATION POUR LA DISSIPATION -DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN""", - ang = """White capping dissipation coefficient of -van der Westhuysen (2007): delta. -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION\\ -WESTHUYSEN DISSIPATION COEFFICIENT\\ -SATURATION THRESHOLD FOR THE DISSIPATION\\ -WESTHUYSEN WHITE CAPPING DISSIPATION -\end{CommentBlock}""", - ), -# ----------------------------------- - WESTHUYSEN_DISSIPATION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.00005, - fr = """Coefficient de dissipation par moutonnement de l expression -de van der Westhuysen (2007): Cdis,break. -**Mots-cles associes :** -DISSIPATION PAR MOUTONNEMENT -SEUIL DE SATURATION POUR LA DISSIPATION -DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN -COEFFICIENT DE PONDERATION DE WESTHUYSEN""", - ang = """White capping dissipation coefficient of -van der Westhuysen (2007): Cdis,break. -\\ - \begin{CommentBlock}{Related keywords} -WHITE CAPPING DISSIPATION\\ -SATURATION THRESHOLD FOR THE DISSIPATION\\ -WESTHUYSEN WHITE CAPPING DISSIPATION\\ -WESTHUYSEN WEIGHTING COEFFICIENT -\end{CommentBlock}""", - ), - ), - ), -# ----------------------------------- - BOTTOM_FRICTION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BOTTOM_FRICTION_DISSIPATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No bottom friction dissipation","Dissipation in accordance with WAM cycle 4"], - defaut = ["No bottom friction dissipation"], - fr = """Choix du type de modelisation du terme source de dissipation -sur le fond. Si sa valeur est 0, on ne prend pas en compte la -dissipation par frottement, si sa valeur est 1, elle est integree -selon la formule equivalente a celle utilisee dans WAM cycle 4. -**Mots-cles associes :** -PROFONDEUR INFINIE -COEFFICIENT DE FROTTEMENT SUR LE FOND""", - ang = """Selection of the modelling type of the bottom friction source -term. If its value is 0, the bottom friction dissipation is ignored; -if its value is 1, it is integrated in accordance with a formula that -is similar to that of WAM cycle 4. -\\ - \begin{CommentBlock}{Related keywords} -INFINITE DEPTH\\ -BOTTOM FRICTION COEFFICIENT -\end{CommentBlock}""", - ), -# ----------------------------------- - b_BOTTOM_FRICTION_DISSIPATIONG = BLOC(condition="BOTTOM_FRICTION_DISSIPATION == 'Dissipation in accordance with WAM cycle 4'", -# ----------------------------------- -# ----------------------------------- - BOTTOM_FRICTION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.038, - fr = """Coefficient de frottement sur le fond. -**Mots-cles associes :** -PROFONDEUR INFINIE -DISSIPATION PAR FROTTEMENT SUR LE FOND""", - ang = """Bottom friction coefficient. -\\ - \begin{CommentBlock}{Related keywords} -INFINITE DEPTH\\ -BOTTOM FRICTION-INDUCED DISSIPATION -\end{CommentBlock}""", - ), - ), - ), -# ----------------------------------- - QUADRUPLET_INTERACTIONS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No non-linear transfers term","Non-linear transfers term with WAM cycle 4 (DIA Method)","Non-linear transfers term in accordance with MDIA Method","Non-linear transfers term calculated with exact GQM Method"], - defaut = ["No non-linear transfers term"], - fr = """Choix du type de modelisation du terme de transfert non lineaire -inter-frequences. Si sa valeur est 0, on ne prend pas en compte les -transferts non lineaires inter-frequences, si sa valeur est 1, ils sont -integres selon la formule utilisee dans WAM cycle 4 (methode DIA), si sa -valeur est 2, la methode MDIA (Multiple DIA) est utilisee pour calculer -le terme de transfert non lineaire, si sa valeur est 3, le terme de -transfert non lineaire est calcule de maniere exacte avec la methode -GQM. -**Mots-cles associes :** -PARAMETRE DE LA CONFIGURATION STANDARD -REGLAGE POUR INTEGRATION SUR OMEGA1 -REGLAGE POUR INTEGRATION SUR THETA1 -REGLAGE POUR INTEGRATION SUR OMEGA2 -SEUIL0 ELIMINATION DE CONFIGURATIONS -SEUIL1 ELIMINATION DE CONFIGURATIONS -SEUIL2 ELIMINATION DE CONFIGURATIONS""", - ang = """Selection of the modelling type of the non-linear transfert -source term. If its value is 0, the non-linear transfers are ignored; -if its value is 1, they are integrated in accordance with the formula -of WAM cycle 4 (DIA method), if its value is 2, the MDIA -(Multiple DIA) method is used to calculate the non linear transfer -term, if its value is 3, the non linear transfer term is calculated -with the exact GQM method. -\\ - \begin{CommentBlock}{Related keywords} -STANDARD CONFIGURATION PARAMETER\\ -SETTING FOR INTEGRATION ON OMEGA1\\ -SETTING FOR INTEGRATION ON THETA1\\ -SETTING FOR INTEGRATION ON OMEGA2\\ -THRESHOLD0 FOR CONFIGURATIONS ELIMINATION\\ -THRESHOLD1 FOR CONFIGURATIONS ELIMINATION\\ -THRESHOLD2 FOR CONFIGURATIONS ELIMINATION -\end{CommentBlock}""", - ), -# ----------------------------------- - b_NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIESG = BLOC(condition="NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES == 'Non-linear transfers term with WAM cycle 4 (DIA Method)'", -# ----------------------------------- -# ----------------------------------- - STANDARD_CONFIGURATION_PARAMETER = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.25, - fr = """Parametre definissant la configuration d interaction -standard pour les quadruplets dans la methode DIA. -**Mots-cles associes :** -TRANSFERTS NON LINEAIRES INTER-FREQUENCES""", - ang = """Parameter defining the standard configuration for -the quadruplet interactions in the DIA method. -\\ - \begin{CommentBlock}{Related keywords} -NON-LINEAR TRANSFERS BETWEEN FREQUENCIES -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIESH = BLOC(condition="NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES == 'Non-linear transfers term calculated with exact GQM Method'", -# ----------------------------------- -# ----------------------------------- - SETTING_FOR_INTEGRATION_ON_OMEGA1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["medium","fine","rough"], - defaut = ["rough"], - fr = """ Choix du reglage donnant le nombre de point d integration sur -omega1 lorsque le terme de transfert non lineaire est calcule de -maniere exacte (methode GQM): grossier 3;moyen 1 ; fin 2""", - ang = """Choice of setting giving the number of integration points on -omega1 when the non linear transfer term is calculated with the exact -GQM method: rough 3 ; medium 1 ; fine 2""", - ), -# ----------------------------------- - SETTING_FOR_INTEGRATION_ON_THETA1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["rough","medium","fine"], - defaut = ["rough"], - fr = """ Choix du reglage donnant le nombre de point d integration sur -theta1 (nombre de points d integration = 2*NQ\_TE1) lorsque le terme -de transfert non lineaire est calcule de maniere exacte (methode GQM): -grossier 3 ; moyen 4 ; fin 8""", - ang = """Choice of setting giving the number of integration points on -theta1 (number of integration points= 2*NQ\_TE1) when the non linear -transfer term is calculated with the exact GQM method: -rough 3 ; medium 4 ; fine 8""", - ), -# ----------------------------------- - SETTING_FOR_INTEGRATION_ON_OMEGA2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["rough","medium","fine"], - defaut = ["rough"], - fr = """ Nombre de point d integration sur omega2 lorsque le terme de -transfert non lineaire est calcule de maniere exacte (methode GQM): -grossier 6 ; moyen 8 ; fin 12""", - ang = """Number of integration points on omega2 when the non linear -transfer term is calculated with the exact GQM method: -rough 6 ; medium 8 ; fine 12""", - ), -# ----------------------------------- - THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.00, - fr = """ Choix du seuil pour l elimination de configurations lorsque -le terme de transfert non lineaire est calcule de maniere exacte -(methode GQM) -**Mots-cles associes :** -SEUIL1 ELIMINATION DE CONFIGURATIONS -SEUIL2 ELIMINATION DE CONFIGURATIONS -TRANSFERTS NON LINEAIRES INTER-FREQUENCES""", - ang = """Choice of threshold for configurations elimination when the -non linear transfer term is calculated with the exact GQM method -\\ - \begin{CommentBlock}{Related keywords} -THRESHOLD1 FOR CONFIGURATIONS ELIMINATION\\ -THRESHOLD2 FOR CONFIGURATIONS ELIMINATION\\ -NON-LINEAR TRANSFERS BETWEEN FREQUENCIES -\end{CommentBlock}""", - ), -# ----------------------------------- - THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 10000000000.0, - fr = """ Choix du seuil1 pour l elimination de configurations lorsque -le terme de transfert non lineaire est calcule de maniere exacte -(methode GQM) -**Mots-cles associes :** -SEUIL0 ELIMINATION DE CONFIGURATIONS -SEUIL2 ELIMINATION DE CONFIGURATIONS -TRANSFERTS NON LINEAIRES INTER-FREQUENCES""", - ang = """Choice of threshold1 for configurations elimination when the -non linear transfer term is calculated with the exact GQM method -\\ - \begin{CommentBlock}{Related keywords} -THRESHOLD0 FOR CONFIGURATIONS ELIMINATION\\ -THRESHOLD2 FOR CONFIGURATIONS ELIMINATION\\ -NON-LINEAR TRANSFERS BETWEEN FREQUENCIES -\end{CommentBlock}""", - ), -# ----------------------------------- - THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.15, - fr = """ Choix du seuil2 pour l elimination de configurations lorsque -le terme de transfert non lineaire est calcule de maniere exacte -(methode GQM) : grossier 0.15 ; moyen 0.01 ; fin 0.001 -**Mots-cles associes :** -SEUIL0 ELIMINATION DE CONFIGURATIONS -SEUIL1 ELIMINATION DE CONFIGURATIONS -TRANSFERTS NON LINEAIRES INTER-FREQUENCES""", - ang = """Choice of threshold2 for configurations elimination when the -non linear transfer term is calculated with the exact GQM method: -rough 0.15 ; medium 0.01 ; fine 0.001 -\\ - \begin{CommentBlock}{Related keywords} -THRESHOLD0 FOR CONFIGURATIONS ELIMINATION\\ -THRESHOLD1 FOR CONFIGURATIONS ELIMINATION\\ -NON-LINEAR TRANSFERS BETWEEN FREQUENCIES -\end{CommentBlock}""", - ), - ), - ), -# ----------------------------------- - NUMERICAL_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Nombre de sous-iterations pour le calcul des -contributions des termes sources. Le pas de temps considere -pour les termes sources est le rapport entre le PAS DE TEMPS -et le NOMBRE DE SOUS-ITERATIONS POUR LES TERMES SOURCES. -**Mots-cles associes :** -PAS DE TEMPS""", - ang = """Number of sub-iterations for the computation of the source terms. -The time step considered in the integration of the source terms -is the ratio between the TIME STEP and the NUMBER OF SUB-ITERATIONS -FOR THE SOURCE TERMS -\\ - \begin{CommentBlock}{Related keywords} -TIME STEP -\end{CommentBlock}""", - ), -# ----------------------------------- - IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.5, - fr = """Coefficient controlant l implicitation dans le schema -d integration des termes sources, compris entre 0 et 1. -CIMPLI=0. : explicite -CIMPLI=0.5 : semi-implicite -CIMPLI=1. : implicite. -**Mots-cles associes :** -PRISE EN COMPTE DES TERMES SOURCES""", - ang = """Implicitation coefficient for the source terms integration, -included between 0 et 1. -\begin{itemize} -\item CIMPLI=0. : explicit -\item CIMPLI=0.5 : semi-implicit -\item CIMPLI=1. : implicit. -\end{itemize} - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF SOURCE TERMS -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - STRONG_CURRENT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DISSIPATION_BY_STRONG_CURRENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No wave-blocking","Spectrum limitation by a Phillips shape","Dissipation in accordance with Van der Westhuysen(2012)"], - defaut = ["No wave-blocking"], - fr = """Lorsque les effets de wave-blocking ou vagues stoppees -par un fort courant sont presents, deux options sont proposees. -Si sa valeur est 1, une limitation est imposee au spectre, -en utilisant une forme d equilibre de Phillips (1977). -Si sa valeur est 2, on utilise le terme de dissipation propose -par Van der Westhuysen (2012). -**Mots-cles associes :** -COEFFICIENT DE DISSIPATION PAR FORT COURANT""", - ang = """When wave-blocking effects are present (wave stopped by -a strong opposing current), two options are possible. -If its value is 1, an upper limit is imposed to the spectrum, -using a Phillips (1977) shape. -If its value is 2, a dissipative term is added, following -Van der Westhuysen (2012). -\\ - \begin{CommentBlock}{Related keywords} -DISSIPATION COEFFICIENT FOR STRONG CURRENT -\end{CommentBlock}""", - ), -# ----------------------------------- - b_DISSIPATION_BY_STRONG_CURRENTG = BLOC(condition="DISSIPATION_BY_STRONG_CURRENT == 'Dissipation in accordance with Van der Westhuysen(2012)'", -# ----------------------------------- -# ----------------------------------- - DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.65, - fr = """Coefficient de dissipation pour des vagues stoppees -par un courant fort adverse (effets de wave-blocking). -Expression de van der Westhuysen (2012): Cds,cur. -**Mots-cles associes :** -DISSIPATION PAR FORT COURANT""", - ang = """Dissipation coefficient for waves stopped -by a strong opposing current (wave blocking effects). -Van der Westhuysen (2012) expression: Cds,cur. -\\ - \begin{CommentBlock}{Related keywords} -DISSIPATION BY STRONG CURRENT -\end{CommentBlock}""", - ), - ), - ), -# ----------------------------------- - BREAKING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DEPTH_INDUCED_BREAKING_DISSIPATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["No breaking","Dissipation in accordance with Battjes et Janssen (1978)","Dissipation in accordance with Thornton et Guza (1983)","Dissipation in accordance with Roelvink (1993)","Dissipation in accordance with Izumiya et Horikawa (1984)"], - defaut = ["No breaking"], - fr = """Choix du type de modelisation du terme source de dissipation -par deferlement du a la bathymetrie : - 0 : Pas de prise en compte du deferlement. - 1 : Modele de Battjes et Janssen (1978). - 2 : Modele de Thornton et Guza (1983). - 3 : Modele de Roelvink (1993). - 4 : Modele de Izumiya et Horikawa (1984). -**Mots-cles associes :** -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1 -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2 -DEFERLEMENT 2 (TG) FONCTION DE PONDERATION -DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 2 (TG) CONSTANTE B -DEFERLEMENT 2 (TG) CONSTANTE GAMMA -DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE -DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION -DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 3 (RO) CONSTANTE ALPHA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA2 -DEFERLEMENT 4 (IH) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 4 (IH) CONSTANTE BETA0 -DEFERLEMENT 4 (IH) CONSTANTE M2STAR""", - ang = """Selection of the modelling type of the bathymetric-induced -breaking dissipation source term : -\begin{itemize} -\item 0 : Breaking is ignored. -\item 1 : Battjes and Janssen model (1978). -\item 2 : Thornton and Guza model (1983). -\item 3 : Roelvink model (1993). -\item 4 : Izumiya and Horikawa model (1984). -\end{itemize} - \begin{CommentBlock}{Related keywords} -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 1 (BJ) QB COMPUTATION METHOD\\ -DEPTH-INDUCED BREAKING 1 (BJ) HM COMPUTATION METHOD\\ -DEPTH-INDUCED BREAKING 1 (BJ) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2\\ -DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B\\ -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA\\ -DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION\\ -DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2\\ -DEPTH-INDUCED BREAKING 4 (IH) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT BETA0\\ -DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT M2STAR -\end{CommentBlock}""", - ), -# ----------------------------------- - b_DEPTH_INDUCED_BREAKING_DISSIPATIONG = BLOC(condition="DEPTH_INDUCED_BREAKING_DISSIPATION == 'Dissipation in accordance with Battjes et Janssen (1978)'", -# ----------------------------------- -# ----------------------------------- - DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["SOLVES BY DICHOTOMY","EXPLICIT INSPIRED FROM CREDIZ VERSION 1","EXPLICIT INSPIRED FROM CREDIZ VERSION 2","EXPLICIT INSPIRED FROM CREDIZ VERSION 3"], - defaut = ["EXPLICIT INSPIRED FROM CREDIZ VERSION 2"], - fr = """Choix du mode de resolution de l equation implicite donnant Qb. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1 -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2""", - ang = """Selection of the method for the resolution of the implicit -equation for QB. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 1 (BJ) HM COMPUTATION METHOD\\ -DEPTH-INDUCED BREAKING 1 (BJ) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Hm = GAMMA*D","Hm given by the Miche criterium"], - defaut = ["Hm = GAMMA*D"], - fr = """Choix du critere de deferlement donnant la hauteur de houle -de deferlement (1 : Hm = GAMMA*D ; 2 : Hm par critere de Miche). -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1 -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2""", - ang = """Selection of the depth-induced breaking criterium -giving the breaking wave height (1 : Hm = GAMMA*D ; 2 : Hm given -the Miche criterium). -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 1 (BJ) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Frequency Fmoy","Frequency F01","Frequency F02","Frequency Fpic","Frequency Fread ordre 5","Frequency Fread ordre 8"], - defaut = ["Frequency F01"], - fr = """Choix de la frequence caracteristique du spectre de houle -1 : Frequence Fmoy -2 : Frequence F01 (definie par les moments d ordre 0 et 1 du spectre) -3 : Frequence F02 (definie par les moments d ordre 0 et 2 du spectre) -4 : Frequence Fpic (frequence d echantillonage correspondant au max) -5 : Frequence Fread ordre 5 (frequence de pic methode Read ordre 5) -6 : Frequence Fread ordre 8 (frequence de pic methode Read ordre 8) -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1 -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2""", - ang = """Selection of the characteristic frequency of the wave spectrum -\begin{itemize} -\item 1 : Frequency Fmoy -\item 2 : Frequency F01 (defined by the moments of order 0 and 1 of the -spectrum) -\item 3 : Frequency F02 (defined by the moments of order 0 and 2 of the -spectrum) -\item 4 : Frequency Fpic (sampling frequency corresponding to the max) -\item 5 : Frequency Fread ordre 5 (peak frequency, 5th order Read -method) -\item 6 : Frequency Fread ordre 8 (peak frequency, 8th order Read -method) -\end{itemize} - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 1 (BJ) QB COMPUTATION METHOD\\ -DEPTH-INDUCED BREAKING 1 (BJ) HM COMPUTATION METHOD\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1\\ -DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Constante ALPHA du modele de deferlement de Battjes et Janssen. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1 -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2""", - ang = """ALPHA constant for the Battjes and Janssen model. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB\\ -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM\\ -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE\\ -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1\\ -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.88, - fr = """Constante GAMMA1 du modele de deferlement de Battjes et Janssen. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2""", - ang = """GAMMA1 constant of the Battjes and Janssen model. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB\\ -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM\\ -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE\\ -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA\\ -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.8, - fr = """Constante GAMMA2 du modele de deferlement de Battjes et Janssen. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1""", - ang = """GAMMA1 constant of the Battjes and Janssen model. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB\\ -DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM\\ -DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE\\ -DEFERLEMENT 1 (BJ) CONSTANTE ALPHA\\ -DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1 -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_DEPTH_INDUCED_BREAKING_DISSIPATIONH = BLOC(condition="DEPTH_INDUCED_BREAKING_DISSIPATION == 'Dissipation in accordance with Thornton et Guza (1983)'", -# ----------------------------------- -# ----------------------------------- - DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Weight function 1","Weight function 2"], - defaut = ["Weight function 2"], - fr = """Choix de l expression de la fonction de ponderation basee -sur une distribution de probabilite des hauteurs de houle. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 2 (TG) CONSTANTE B -DEFERLEMENT 2 (TG) CONSTANTE GAMMA""", - ang = """Selection of the expression for the weighting function -based on a probability distribution of the wave heights. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B\\ -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Frequency Fmoy","Frequency F01","Frequency F02","Frequency Fpic","Frequency Fread ordre 5","Frequency Fread ordre 8"], - defaut = ["Frequency Fread ordre 5"], - fr = """Choix de la frequence caracteristique du spectre de houle -\begin{itemize} -\item 1 : Frequence Fmoy -\item 2 : Frequence F01 (definie par les moments d ordre 0 et 1 du -spectre) -\item 3 : Frequence F02 (definie par les moments d ordre 0 et 2 du -spectre) -\item 4 : Frequence Fpic (frequence d echantillonage correspondant au -max) -\item 5 : Frequence Fread ordre 5 (frequence de pic methode Read ordre -5) -\item 6 : Frequence Fread ordre 8 (frequence de pic methode Read ordre -8) -\end{itemize} -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 2 (TG) FONCTION DE PONDERATION -DEFERLEMENT 2 (TG) CONSTANTE B -DEFERLEMENT 2 (TG) CONSTANTE GAMMA""", - ang = """Selection of the characteristic frequency of the wave spectrum -\begin{itemize} -\item 1 : Frequency Fmoy -\item 2 : Frequency F01 (defined by the moments of order 0 and 1 of the -spectrum) -\item 3 : Frequency F02 (defined by the moments of order 0 and 2 of the -spectrum) -\item 4 : Frequency Fpic (sampling frequency corresponding to the max) -\item 5 : Frequency Fread ordre 5 (peak frequency, 5th order Read -method) -\item 6 : Frequency Fread ordre 8 (peak frequency, 8th order Read -method) -\end{itemize} - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION -DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.0, - fr = """Constante B du modele de deferlement de Thornton et Guza. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 2 (TG) FONCTION DE PONDERATION -DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 2 (TG) CONSTANTE GAMMA""", - ang = """Coefficient B of the Thornton and Guza model. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.42, - fr = """Constante GAMMA du modele de deferlement de Thornton et Guza. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 2 (TG) FONCTION DE PONDERATION -DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 2 (TG) CONSTANTE B""", - ang = """Coefficient GAMMA of the Thornton and Guza model. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_DEPTH_INDUCED_BREAKING_DISSIPATIONI = BLOC(condition="DEPTH_INDUCED_BREAKING_DISSIPATION == 'Dissipation in accordance with Roelvink (1993)'", -# ----------------------------------- -# ----------------------------------- - DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Weibull","Rayleigh"], - defaut = ["Weibull"], - fr = """Choix de la distribution des hauteurs de houle pour le -modele de deferlement de Roelvink : - 1...Weibull, - 2...Rayleigh. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION -DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 3 (RO) CONSTANTE ALPHA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA2""", - ang = """Selection of the wave height distribution for the -Roelvink breaking model : - 1...Weibull, - 2...Rayleigh. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 10, - fr = """Exposant n de la fonction de ponderation utilisee par -le modele de deferlement de Roelvink. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE -DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 3 (RO) CONSTANTE ALPHA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA2""", - ang = """n exponent of the weighting function used in the Roelvink -breaking model. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION\\ -DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Frequency Fmoy","Frequency F01","Frequency F02","Frequency Fpic","Frequency Fread ordre 5","Frequency Fread ordre 8"], - defaut = ["Frequency Fread ordre 5"], - fr = """Choix de la frequence caracteristique du spectre de houle -1 : Frequence Fmoy -2 : Frequence F01 (definie par les moments d ordre 0 et 1 du spectre) -3 : Frequence F02 (definie par les moments d ordre 0 et 2 du spectre) -4 : Frequence Fpic (frequence d echantillonage correspondant au max) -5 : Frequence Fread ordre 5 (frequence de pic methode Read ordre 5) -6 : Frequence Fread ordre 8 (frequence de pic methode Read ordre 8) -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE -DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION -DEFERLEMENT 3 (RO) CONSTANTE ALPHA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA2""", - ang = """Selection of the characteristic frequency of the wave spectrum -\begin{itemize} -\item 1 : Frequency Fmoy -\item 2 : Frequency F01 (defined by the moments of order 0 and 1 of the -spectrum) -\item 3 : Frequency F02 (defined by the moments of order 0 and 2 of the -spectrum) -\item 4 : Frequency Fpic (sampling frequency corresponding to the max) -\item 5 : Frequency Fread ordre 5 (peak frequency, 5th order Read -method) -\item 6 : Frequency Fread ordre 8 (peak frequency, 8th order Read -method) -\end{itemize} - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION\\ -DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Constante ALPHA du modele de deferlement de Roelvink (1993). -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE -DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION -DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 3 (RO) CONSTANTE GAMMA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA2""", - ang = """Coefficient ALPHA of the Roelvink model (1993). -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION\\ -DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.54, - fr = """Constante GAMMA du modele de deferlement de Roelvink (1993). -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE -DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION -DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 3 (RO) CONSTANTE ALPHA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA2""", - ang = """Coefficient GAMMA of the Roelvink model (1993). -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION\\ -DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2 -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.65, - fr = """Constante GAMMA2 du modele de deferlement de Roelvink (1993). -N est utilisee que pour la distribution de Weibull. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE -DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION -DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 3 (RO) CONSTANTE ALPHA -DEFERLEMENT 3 (RO) CONSTANTE GAMMA""", - ang = """Coefficient GAMMA2 of the Roelvink model (1993). -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION\\ -DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION\\ -DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA\\ -DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_DEPTH_INDUCED_BREAKING_DISSIPATIONJ = BLOC(condition="DEPTH_INDUCED_BREAKING_DISSIPATION == 'Dissipation in accordance with Izumiya et Horikawa (1984)'", -# ----------------------------------- -# ----------------------------------- - DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["Frequency Fmoy","Frequency F01","Frequency F02","Frequency Fpic","Frequency Fread ordre 5","Frequency Fread ordre 8"], - defaut = ["Frequency Fread ordre 5"], - fr = """Choix de la frequence caracteristique du spectre de houle -1 : Frequence Fmoy -2 : Frequence F01 (definie par les moments d ordre 0 et 1 du spectre) -3 : Frequence F02 (definie par les moments d ordre 0 et 2 du spectre) -4 : Frequence Fpic (frequence d echantillonage correspondant au max) -5 : Frequence Fread ordre 5 (frequence de pic methode Read ordre 5) -6 : Frequence Fread ordre 8 (frequence de pic methode Read ordre 8) -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -DEFERLEMENT 4 (IH) CONSTANTE BETA0 -DEFERLEMENT 4 (IH) CONSTANTE M2STAR""", - ang = """Selection of the characteristic frequency of the wave spectrum -\begin{itemize} -\item 1 : Frequency Fmoy -\item 2 : Frequency F01 (defined by the moments of order 0 and 1 of the -spectrum) -\item 3 : Frequency F02 (defined by the moments of order 0 and 2 of the -spectrum) -\item 4 : Frequency Fpic (sampling frequency corresponding to the max) -\item 5 : Frequency Fread ordre 5 (peak frequency, 5th order Read -method) -\item 6 : Frequency Fread ordre 8 (peak frequency, 8th order Read -method) -\end{itemize} - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT BETA0\\ -DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT M2STAR -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1.8, - fr = """Constante BETA0 du modele de deferlement de Izumiya et -Horikawa (1984). -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 4 (IH) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 4 (IH) CONSTANTE M2STAR""", - ang = """coefficient BETA0 of the Izumiya and Horikawa -model (1984). -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 4 (IH) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT M2STAR -\end{CommentBlock}""", - ), -# ----------------------------------- - DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.009, - fr = """Constante M2STAR du modele de deferlement de Izumiya et -Horikawa (1984). -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT -DEFERLEMENT 4 (IH) CHOIX FREQUENCE CARACTERISTIQUE -DEFERLEMENT 4 (IH) CONSTANTE BETA0""", - ang = """coefficient M2STAR of the Izumiya and Horikawa -model (1984). -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS\\ -DEPTH-INDUCED BREAKING 4 (IH) CHARACTERISTIC FREQUENCY\\ -DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT BETA0 -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - NUMBER_OF_BREAKING_TIME_STEPS = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Nombre de sous-pas de temps pour la prise en compte de la -dissipation d energie par deferlement. Ces sous-pas de temps sont -en progression geometrique. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -COEFFICIENT POUR LES SOUS-PAS DE TEMPS POUR LE DEFERLEMENT""", - ang = """Number of time steps for the breaking source term. -These time steps are in a geometric progression -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -COEFFICIENT FOR THE BREAKING TIME STEPS -\end{CommentBlock}""", - ), -# ----------------------------------- - MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """En debut de prise en compte des termes sources, la hauteur -de houle est ecretee de facon a satisfaire le critere specifie. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT""", - ang = """At the beginning of the integration of the source terms, -the wave height is lopped in order to satisfy the specified -criterium. -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION -\end{CommentBlock}""", - ), -# ----------------------------------- - COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.45, - fr = """Raison de la suite geometrique des sous-pas de temps pour -le deferlement. -**Mots-cles associes :** -DISSIPATION PAR DEFERLEMENT -NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT""", - ang = """Geometrical ratio of the time sub-increments for the -depth-induced breaking -\\ - \begin{CommentBlock}{Related keywords} -DEPTH-INDUCED BREAKING DISSIPATION\\ -NUMBER OF BREAKING TIME STEPS -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - LIMITER = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WAVE_GROWTH_LIMITER = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no wave growth limiter","WAM 4 original limiter","Hersbach et Janssen (1999) limiter","Laugel-BAJ limiter"], - defaut = ["WAM 4 original limiter"], - fr = """Choix du type de limiteur de croissance. -Si la valeur est 0, pas de limiteur. -Si la valeur est 1, limiteur type WAM 4 original. -Si la valeur est 2, limiteur de Hersbach et Janssen (1999). -Si la valeur est 3, limiteur de BAJ Laugel. -**Mots-cles associes :** -PRISE EN COMPTE DES TERMES SOURCES""", - ang = """Choice of the wave growth limiter. -\begin{itemize} -\item If LIMIT=0, no wave growth limiter. -\item If LIMIT=1, WAM 4 original limiter. -\item If LIMIT=2, Hersbach et Janssen (1999) limiter. -\item If LIMIT=3, Laugel BAJ limiter. -\end{itemize} - \begin{CommentBlock}{Related keywords} -CONSIDERATION OF SOURCE TERMS -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - TRIAD_TRANSFERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - TRIAD_INTERACTIONS = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["no triad interactions","LTA model (Eldeberky, 1995)","SPB model (Becq, 1998)"], - defaut = ["no triad interactions"], - fr = """Choix du type de modelisation du terme de transfert non -lineaire entre triplets de frequences. Si sa valeur est 0, on ne -prend pas en compte les transferts non lineaires entre triplets -de frequences, si sa valeur est 1, ils sont integres selon le -modele LTA, si sa valeur est 2, ils sont integres selon le -modele SPB. -**Mots-cles associes :** -TRIADS 1 (LTA) CONSTANTE ALPHA -TRIADS 1 (LTA) CONSTANTE RFMLTA -TRIADS 2 (SPB) CONSTANTE K -TRIADS 2 (SPB) BORNE DIRECTIONNELLE INFERIEURE -TRIADS 2 (SPB) BORNE DIRECTIONNELLE SUPERIEURE""", - ang = """Selection of the triad interaction model: -\begin{itemize} -\item 0 : no triad interactions -\item 1 : LTA model (Eldeberky, 1996) -\item 2 : SPB model (Becq, 1998) -\end{itemize} - \begin{CommentBlock}{Related keywords} -TRIADS 1 (LTA) COEFFICIENT ALPHA\\ -TRIADS 1 (LTA) COEFFICIENT RFMLTA\\ -TRIADS 2 (SPB) COEFFICIENT K\\ -TRIADS 2 (SPB) LOWER DIRECTIONAL BOUNDARY\\ -TRIADS 2 (SPB) UPPER DIRECTIONAL BOUNDARY\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - b_TRIAD_INTERACTIONSG = BLOC(condition="TRIAD_INTERACTIONS == 'LTA model (Eldeberky, 1996)'", -# ----------------------------------- -# ----------------------------------- - TRIADS_1__LTA__COEFFICIENT_ALPHA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.5, - fr = """Constante alpha du modele LTA propose par Eldeberky (1996). -Si alpha = 0, les transferts d energie entre frequences seront nuls. -L intensite de ces transferts augmente avec la valeur de alpha. -**Mots-cles associes :** -TRANSFERTS ENTRE TRIPLETS DE FREQUENCES -TRIADS 1 (LTA) CONSTANTE RFMLTA""", - ang = """Coefficient alpha of the LTA model proposed by Eldeberky(1996). -If alpha=0, no energy transfers. The energy transfers increase -with alpha. -\\ - \begin{CommentBlock}{Related keywords} -TRIAD INTERACTIONS\\ -TRIADS 1 (LTA) COEFFICIENT RFMLTA -\end{CommentBlock}""", - ), -# ----------------------------------- - TRIADS_1__LTA__COEFFICIENT_RFMLTA = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 2.5, - fr = """RFMLTA determine la frequence maximale vers laquelle les -transferts d energie peuvent avoir lieu. La frequence maximale est -calculee comme le produit entre la constante RFMLTA et la frequence -de pic du spectre. -**Mots-cles associes :** -TRANSFERTS ENTRE TRIPLETS DE FREQUENCES -TRIADS 1 (LTA) CONSTANTE ALPHA""", - ang = """RFMLTA determines the upper frequency on which the energy -transfers may occur. The maximal frequency is calculated as the -product of the constant RFMLTA by the peak frequency of the spectrum. -\\ - \begin{CommentBlock}{Related keywords} -TRIAD INTERACTIONS\\ -TRIADS 1 (LTA) COEFFICIENT ALPHA -\end{CommentBlock}""", - ), - ), -# ----------------------------------- - b_TRIAD_INTERACTIONSH = BLOC(condition="TRIAD_INTERACTIONS == 'SPB model (Becq, 1998)'", -# ----------------------------------- -# ----------------------------------- - TRIADS_2__SPB__COEFFICIENT_K = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.34, - fr = """Parametre d ajustement du modele SPB -**Mots-cles associes :** -TRANSFERTS ENTRE TRIPLETS DE FREQUENCES -TRIADS 2 (SPB) BORNE DIRECTIONNELLE INFERIEURE -TRIADS 2 (SPB) BORNE DIRECTIONNELLE SUPERIEURE""", - ang = """coefficient K of the SPB model -\\ - \begin{CommentBlock}{Related keywords} -TRIAD INTERACTIONS\\ -TRIADS 2 (SPB) LOWER DIRECTIONAL BOUNDARY\\ -TRIADS 2 (SPB) UPPER DIRECTIONAL BOUNDARY -\end{CommentBlock}""", - ), -# ----------------------------------- - TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Borne directionnelle inferieure du modele SPB -**Mots-cles associes :** -TRANSFERTS ENTRE TRIPLETS DE FREQUENCES -TRIADS 2 (SPB) CONSTANTE K -TRIADS 2 (SPB) BORNE DIRECTIONNELLE SUPERIEURE""", - ang = """Lower directional boundary of the SPB model -\\ - \begin{CommentBlock}{Related keywords} -TRIAD INTERACTIONS\\ -TRIADS 2 (SPB) COEFFICIENT K\\ -TRIADS 2 (SPB) UPPER DIRECTIONAL BOUNDARY -\end{CommentBlock}""", - ), -# ----------------------------------- - TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 360., - fr = """Borne directionnelle superieure du modele SPB -**Mots-cles associes :** -TRANSFERTS ENTRE TRIPLETS DE FREQUENCES -TRIADS 2 (SPB) CONSTANTE K -TRIADS 2 (SPB) BORNE DIRECTIONNELLE INFERIEURE""", - ang = """Upper directional boundary of the SPB model -\\ - \begin{CommentBlock}{Related keywords} -TRIAD INTERACTIONS\\ -TRIADS 2 (SPB) COEFFICIENT K\\ -TRIADS 2 (SPB) LOWER DIRECTIONAL BOUNDARY -\end{CommentBlock}""", - ), - ), - ), -# ----------------------------------- - VEGETATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VEGETATION_TAKEN_INTO_ACCOUNT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si oui, on appelle le sous-programme QVEG, dans lequel des -donnees sur la vegetation doivent etre renseignees""", - ang = """If YES, subroutine QVEG will be called, it contains data -on vegetation that are case-specific and must thus be modified""", - ), - ), -# ----------------------------------- - POROUS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - POROUS_MEDIA = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si oui, on appelle le sous-programme QPOROS, dans lequel des -donnees sur le milieu poreux doivent etre renseignees""", - ang = """If YES, subroutine QPOROS will be called, it contains data -on POROUS MEDIA that are case-specific and must thus be modified""", - ), - ), -) -# ----------------------------------------------------------------------- -INITIAL_CONDITIONS = PROC(nom= "INITIAL_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["non-existent spectrum","JONSWAP spectrum 1","JONSWAP spectrum 2","JONSWAP spectrum 3","JONSWAP spectrum 4","JONSWAP spectrum 5","JONSWAP spectrum 6","TMA spectrum"], - defaut = ["non-existent spectrum"], - fr = """Si ce mot-cle est pris egal a 0, on specifie un spectre -initial nul. Si il est pris egal entre 1 et 6 -un spectre de type JONSWAP est specifie du champ de vent initial -et ou des valeurs des autres mots cles. Si il est pris egal a 7 -un spectre de type TMA parametre est specifie. -**Mots-cles associes :** -HAUTEUR SIGNIFICATIVE INITIALE -FREQUENCE DE PIC INITIALE -FACTEUR DE PIC INITIAL -VALEUR INITIALE DE SIGMA-A POUR SPECTRE -VALEUR INITIALE DE SIGMA-B POUR SPECTRE -CONSTANTE DE PHILLIPS INITIALE -VALEUR MOYENNE DU FETCH INITIAL -FREQUENCE DE PIC MAXIMALE -DIRECTION PRINCIPALE 1 INITIALE -ETALEMENT DIRECTIONNEL 1 INITIAL -DIRECTION PRINCIPALE 2 INITIALE -ETALEMENT DIRECTIONNEL 2 INITIAL -FACTEUR DE PONDERATION POUR FRA INITIALE""", - ang = """If this keyword is set to 0, a non-existent spectrum is speci -fied at the initial time step. If it ranges from 1 to 7, a -JONSWAP (or TMA)-typed spectrum is specified as a -function of the initial wind field and/or of the values of the -following keywords -\\ - \begin{CommentBlock}{Related keywords} -INITIAL SIGNIFICANT WAVE HEIGHT\\ -INITIAL PEAK FREQUENCY\\ -INITIAL PEAK FACTOR\\ -INITIAL VALUE OF SIGMA-A FOR SPECTRUM\\ -INITIAL VALUE OF SIGMA-B FOR SPECTRUM\\ -INITIAL PHILLIPS CONSTANT\\ -INITIAL MEAN FETCH VALUE\\ -INITIAL MAXIMUM PEAK FREQUENCY\\ -INITIAL MAIN DIRECTION 1\\ -INITIAL DIRECTIONAL SPREAD 1\\ -INITIAL MAIN DIRECTION 2\\ -INITIAL DIRECTIONAL SPREAD 2\\ -INITIAL WEIGHTING FACTOR FOR ADF -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_ANGULAR_DISTRIBUTION_FUNCTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["$cos{^2s}(T-T0)$, T in [T0-pi/2,T0+pi/2]","$exp(-0.5((T-T0)/s)^2)$, T in [T0-pi/2,T0+pi/2]","$cos{^2s}((T-T0)/2)$ (de type Mitsuyasu)","Goda Formula allowing a frequence dependancy"], - defaut = ["$cos{^2s}(T-T0)$, T in [T0-pi/2,T0+pi/2]"], - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel. Permet le calcul de -la fonction de repartition angulaire bimodale pour une serie de -directions -1 : modele en $cos{^2s}(T-T0)$ ; T dans [T0-pi/2;T0+pi/2] -2 : modele en $exp(-0.5((T-T0)/s)^2)$ ; T dans [T0-pi/2;T0+pi/2] -3 : modele en $cos{^2s}((T-T0)/2)$ (de type Mitsuyasu) -4 : Formule de Goda : Mitsuyasu avec $s=(F/fp)^5$ or $s=(F/fp)^{-2.5}$ -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL INITIAL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum. Allow the computation of the -angular distribution function -\begin{itemize} -\item 1 : $cos^{2s}(T-T0)$ ; with T in [T0-pi/2;T0+pi/2] -\item 2 : $exp(-0.5((T-T0)/s)^2)$ ; with T in [T0-pi/2;T0+pi/2] -\item 3 : $cos^{2s}((T-T0)/2)$ (of type Mitsuyasu) -\item 4 : Mitsuyasu with $s=(F/fp)^5$ or $s=(F/fp)^{-2.5}$ -\end{itemize} -where $s$ is the boundary directionnal spread (\telkey{SPRED1} -or \telkey{SPRED2}) -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_SIGNIFICANT_WAVE_HEIGHT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL INITIAL""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_PEAK_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.067, - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_PEAK_FACTOR = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 3.3, - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.07, - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.09, - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_PHILLIPS_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.0081, - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initiale directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_MEAN_FETCH_VALUE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 30000., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_MAXIMUM_PEAK_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_MAIN_DIRECTION_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. Exprimee en degres -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_DIRECTIONAL_SPREAD_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 2., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_MAIN_DIRECTION_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. Exprimee en degres. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_DIRECTIONAL_SPREAD_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 2., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_WEIGHTING_FACTOR_FOR_ADF = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. -**Mots-cles associes :** -INITIALISATION DU SPECTRE DIRECTIONNEL""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF INITIAL DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - GODA_COEFFICIENT_FOR_ANGULAR_SPEADING = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fait partie de l ensemble des constantes utilisees dans -l initialisation du spectre directionnel en fonction du champ -de vent initial. Coefficient intervenant dans la loi de repartition -angulaire. Selon Goda 10(Wind waves), 25 swell short decay, 75 long deca -mais des valeurs autres sont acceptees. -**Mots-cles associes :** -FONCTION DE REPARTITION ANGULAIRE INITIALE""", - ang = """Is part of the set of constants used for computing the -initial directional spectrum as a function of the wind field. -This coefficient is in the formula of Goda formulation. -It should be 10Wind waves, 25 swell short decay, 75 long decay -but other values are accepted. -\\ - \begin{CommentBlock}{Related keywords} -INITIAL ANGULAR DISTRIBUTION FUNCTION -\end{CommentBlock}""", - ), -# ----------------------------------- - INITIAL_STILL_WATER_LEVEL = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Parametre permettant de calculer la profondeur -initiale du plan d eau (DEPTH) a partir de la cote du -fond (ZF) : DEPTH=ZREPOS-ZF.""", - ang = """Parameter used in the computation of the initial -water DEPTH : DEPTH=ZREPOS-ZF.""", - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - VECTOR_LENGTH = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Indique la longueur du vecteur de la machine vectorielle -utilisee.""", - ang = """Indicates the vector length of the vectorial machine -being used.""", - ), -# ----------------------------------- - STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul a realiser.""", - ang = """Name of the file containing the parameters of the computation -to be made.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'tomawac.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -# ----------------------------------- - BOUNDARY_CONDITION_BEFORE_TIME_STEP = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Indique si on tient compte de la condition à la limite -avant ou apres le pas de temps""", - ang = """Indicates whether boundary condition is taken into account -before or after time step""", - ), -# ----------------------------------- - ECRET_FOR_SMALL_HEIGHT = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [True ], - fr = """Indique si on ecrete la hauteur de vague pour les -hauteurs d eau quasi nulle""", - ang = """Indicates whether wave height is null for very -small heigth of water""", - ), -# ----------------------------------- - CONCATENATE_PARTEL_OUTPUT = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Avec cette option partel ne genereras non plus un fichier (GEO/CLI/PAR) -par processeur mais une concaténation de ceux-ci, ainsi qu''un fichier -d''index associé. Ainsi plutot que d''avoir 3P fichiers, il n''y en a -plus que 6.""", - ang = """With this option partel no more generates a file (GEO/CLI/PAR) per -process but a single concatenate file of them, associated to an index -file. Then instead of having partel generating 3P files, it only -generates 6 files.""", - ), -) -# ----------------------------------------------------------------------- -BOUNDARY_CONDITIONS = PROC(nom= "BOUNDARY_CONDITIONS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["non-existent spectrum","JONSWAP spectrum 1","JONSWAP spectrum 2","JONSWAP spectrum 3","JONSWAP spectrum 4","JONSWAP spectrum 5","JONSWAP spectrum 6","TMA spectrum"], - defaut = ["non-existent spectrum"], - fr = """Si ce mot-cle est pris egal a 0, on specifie un spectre -nul aux limites. Si il est pris egal entre 1 et 6 -un spectre de type JONSWAP est specifie en tout point des limites -d entree en fonction du champ de vent aux limites et ou des -valeurs des autres mots cles. Si il est pris egal a 7 un spectre de -type TMA parametre est specifie aux limites. -**Mots-cles associes :** -HAUTEUR SIGNIFICATIVE AUX LIMITES -FREQUENCE DE PIC AUX LIMITES -FACTEUR DE PIC AUX LIMITES -VALEUR AUX LIMITES DE SIGMA-A POUR SPECTRE -VALEUR AUX LIMITES DE SIGMA-B POUR SPECTRE -CONSTANTE DE PHILLIPS AUX LIMITES -VALEUR MOYENNE DU FETCH AUX LIMITES -FREQUENCE DE PIC MAXIMALE -DIRECTION PRINCIPALE 1 AUX LIMITES -ETALEMENT DIRECTIONNEL 1 AUX LIMITES -DIRECTION PRINCIPALE 2 AUX LIMITES -ETALEMENT DIRECTIONNEL 2 AUX LIMITES -FACTEUR DE PONDERATION POUR FRA AUX LIMITES""", - ang = """If this keyword is set to 0, a non-existent spectrum is speci -fied at the inlet boundaries of the domain. If it ranges from 1 to 7, a -JONSWAP (or TMA) -typed spectrum is specified at these very points as a -function of the initial wind field and/or of the values of the following -keywords -\\ - \begin{CommentBlock}{Related keywords} -BOUNDARY SIGNIFICANT WAVE HEIGHT\\ -BOUNDARY PEAK FREQUENCY\\ -BOUNDARY PEAK FACTOR\\ -BOUNDARY VALUE OF SIGMA-A FOR SPECTRUM\\ -BOUNDARY VALUE OF SIGMA-B FOR SPECTRUM\\ -BOUNDARY PHILLIPS CONSTANT\\ -BOUNDARY MEAN FETCH VALUE\\ -BOUNDARY MAXIMUM PEAK FREQUENCY\\ -BOUNDARY MAIN DIRECTION 1\\ -BOUNDARY DIRECTIONAL SPREAD 1\\ -BOUNDARY MAIN DIRECTION 2\\ -BOUNDARY DIRECTIONAL SPREAD 2\\ -BOUNDARY WEIGHTING FACTOR FOR ADF\\ -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["$cos{^2s}(T-T0)$, T in [T0-pi/2,T0+pi/2]","$exp(-0.5((T-T0)/s)^2)$, T in [T0-pi/2,T0+pi/2]","$cos{^2s}((T-T0)/2)$ (de type Mitsuyasu)","Goda Formula allowing a frequence dependancy"], - defaut = ["$cos{^2s}(T-T0)$, T in [T0-pi/2,T0+pi/2]"], - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites. Permet le calcul de -la fonction de repartition angulaire bimodale pour une serie de -directions -1 : modele en $cos{^2s}(T-T0)$ ; T dans [T0-pi/2;T0+pi/2] -2 : modele en $exp(-0.5((T-T0)/s)^2)$ ; T dans [T0-pi/2;T0+pi/2] -3 : modele en $cos{^2s}((T-T0)/2)$ (de type Mitsuyasu) -4 : Formule de Goda : Mitsuyasu avec $s=(F/fp)^5$ or $s=(F/fp)^{-2.5}$ -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum. Allow the computation of the -angular distribution function -\begin{itemize} -\item 1 : $cos^{2s}(T-T0)$ ; with T in [T0-pi/2;T0+pi/2] -\item 2 : $exp(-0.5((T-T0)/s)^2)$ ; with T in [T0-pi/2;T0+pi/2] -\item 3 : $cos^{2s}((T-T0)/2)$ (of type Mitsuyasu) -\item 4 : Mitsuyasu with $s=(F/fp)^5$ or $s=(F/fp)^{-2.5}$ -\end{itemize} -where $s$ is the boundary directionnal spread (\telkey{SPRE1L} -or \telkey{SPRE2L}) -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_SIGNIFICANT_WAVE_HEIGHT = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent. -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_PEAK_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.067, - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.07, - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.09, - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_PHILLIPS_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.0081, - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_MEAN_FETCH_VALUE = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 30000., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_MAXIMUM_PEAK_FREQUENCY = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_MAIN_DIRECTION_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_DIRECTIONAL_SPREAD_1 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 2., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_MAIN_DIRECTION_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_DIRECTIONAL_SPREAD_2 = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 2., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_WEIGHTING_FACTOR_FOR_ADF = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1., - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - BOUNDARY_PEAK_FACTOR = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', - defaut = 3.3, - fr = """Fait partie de l ensemble des constantes utilisees dans -le calcul du spectre directionnel aux limites en fonction du champ -de vent . -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Is part of the set of constants used for computing the -boundary directional spectrum as a function of the wind field. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -# ----------------------------------- - LIMIT_SPECTRUM_MODIFIED_BY_USER = SIMP(statut ='o', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Indique si l''utilisateur desire modifier le spectre -aux limites. Il doit alors rapatrier chez lui le sous programme -limwac.f dans le cas d une discretisation frequentielle du -spectre et le sous programme spelim.f sinon. -**Mots-cles associes :** -TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES""", - ang = """Indicates whether the user wants to modify the boundary -spectrum. He should then retrieve the limwac.f subroutine, if the -spectrum is frequency discretized, or the spelim.f subroutine, -otherwise. -\\ - \begin{CommentBlock}{Related keywords} -TYPE OF BOUNDARY DIRECTIONAL SPECTRUM -\end{CommentBlock}""", - ), -) -# ----------------------------------------------------------------------- -TRANSPORT = PROC(nom= "TRANSPORT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DIFFRACTION_PARAMETERS = FACT(statut='f', -# ----------------------------------- -# ----------------------------------- - DIFFRACTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["Diffraction is not taken into account","Mild Slope Equation model (Berkhoff - 1972)","Revised Mild Slope Equation model (Porter - 2003)"], - defaut = ["Diffraction is not taken into account"], - fr = """Choix du model pour representer la diffraction : - 0 : Pas de prise en compte de la diffraction - 1 : Mild Slope Equation de Berkhoff (1972) - 2 : Revised Mild Slope Equation de Porter (2003) -La diffraction est modelisee suivant l approche proposee -par Holthuijsen (2003) -**Mots-cles associes :** -PAS DE TEMPS DEBUT DIFFRACTION -SEUIL DE VARIANCE CONSIDEREE POUR DIFFRACTION -FILTRE POUR DIFFRACTION""", - ang = """Caution : We do not guarantee the modele of diffraction. -Selection of the model used to represent the diffraction : -\begin{itemize} -\item 0 : Diffraction is not taken into account -\item 1 : Mild Slope Equation model (Berkhoff - 1972) -\item 2 : Revised Mild Slope Equation model (Porter - 2003) -\end{itemize} -The phase-decoupled approach proposed by Holthuijsen (2003) is -used to simulate diffraction in TOMAWAC -\\ - \begin{CommentBlock}{Related keywords} -STARTING TIME STEP FOR DIFFRACTION\\ -VARIANCE THRESHOLD FOR DIFFRACTION\\ -DIFFRACTION FILTER -\end{CommentBlock}""", - ), -# ----------------------------------- - STARTING_TIME_STEP_FOR_DIFFRACTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Numero du pas de temps a partir duquel la diffraction est -prise en compte dans la simulation. -**Mots-cles associes :** -DIFFRACTION -SEUIL DE VARIANCE CONSIDEREE POUR DIFFRACTION -FILTRE POUR DIFFRACTION""", - ang = """Number of the time step from which the diffraction -is taken into account until the end of the simulation. -\\ - \begin{CommentBlock}{Related keywords} -DIFFRACTION\\ -VARIANCE THRESHOLD FOR DIFFRACTION\\ -DIFFRACTION FILTER -\end{CommentBlock}""", - ), -# ----------------------------------- - VARIANCE_THRESHOLD_FOR_DIFFRACTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-12, - fr = """Seuil minimum de variance spectrale pris en compte -dans la diffraction -**Mots-cles associes :** -DIFFRACTION -PAS DE TEMPS DEBUT DIFFRACTION -FILTRE POUR DIFFRACTION""", - ang = """Minimum spectral variance threshold taken into account -when diffraction is considered -\\ - \begin{CommentBlock}{Related keywords} -DIFFRACTION\\ -STARTING TIME STEP FOR DIFFRACTION\\ -DIFFRACTION FILTER -\end{CommentBlock}""", - ), -# ----------------------------------- - OPTION_FOR_SECOND_DERIVATIVES = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """1 : methode Freemesh 2 : deux derivees simples""", - ang = """1: Freemesh method 2: two simple derivatives""", - ), -# ----------------------------------- - DIFFRACTION_FILTER = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = [False], - fr = """Si la diffraction est prise en compte, le logique -indique si les amplitudes calculees sont filtrees -pour le calcul du parametre de diffraction et des vitesses -de transfert. -**Mots-cles associes :** -DIFFRACTION -SEUIL DE VARIANCE CONSIDEREE POUR DIFFRACTION -PAS DE TEMPS DEBUT DIFFRACTION""", - ang = """If diffraction is considered, the keyword indicates -whether the local amplitudes of the directional spectra are -filtered to compute the diffraction parameter and the transfer -rates. -\\ - \begin{CommentBlock}{Related keywords} -DIFFRACTION\\ -VARIANCE THRESHOLD FOR DIFFRACTION\\ -STARTING TIME STEP FOR DIFFFRACTION -\end{CommentBlock}""", - ), - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -GENERAL_PARAMETERS();\ -SOURCE_TERMS();\ -INITIAL_CONDITIONS();\ -BOUNDARY_CONDITIONS();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'GENERAL_PARAMETERS', -'SOURCE_TERMS', -'INITIAL_CONDITIONS', -'INTERNAL', -'BOUNDARY_CONDITIONS', -'TRANSPORT') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.tomawac_enum_auto' -dicoCasEn = source+'.tomawac_dicoCasEnToCata' -dicoCasFr = source+'.tomawac_dicoCasFrToCata' diff --git a/Telemac/tomawac_dicoCasEnToCata.py b/Telemac/tomawac_dicoCasEnToCata.py deleted file mode 100644 index 6d3663e6..00000000 --- a/Telemac/tomawac_dicoCasEnToCata.py +++ /dev/null @@ -1,406 +0,0 @@ -dicoCataToEngTelemac = { - "PERIOD_FOR_LISTING_PRINTOUTS" : "PERIOD FOR LISTING PRINTOUTS", - "NUMBER_OF_TIME_STEP" : "NUMBER OF TIME STEP", - "NUMBER_OF_DIRECTIONS" : "NUMBER OF DIRECTIONS", - "NUMBER_OF_FREQUENCIES" : "NUMBER OF FREQUENCIES", - "WIND_GENERATION" : "WIND GENERATION", - "WHITE_CAPPING_DISSIPATION" : "WHITE CAPPING DISSIPATION", - "BOTTOM_FRICTION_DISSIPATION" : "BOTTOM FRICTION DISSIPATION", - "NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES" : "NON-LINEAR TRANSFERS BETWEEN FREQUENCIES", - "CURRENTS_FILE_FORMAT" : "CURRENTS FILE FORMAT", - "WINDS_FILE_FORMAT" : "WINDS FILE FORMAT", - "NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS" : "NUMBER OF ITERATIONS FOR THE SOURCE TERMS", - "TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM" : "TYPE OF INITIAL DIRECTIONAL SPECTRUM", - "DISSIPATION_BY_STRONG_CURRENT" : "DISSIPATION BY STRONG CURRENT", - "TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE" : "TIME INCREMENT NUMBER IN TELEMAC FILE", - "VECTOR_LENGTH" : "VECTOR LENGTH", - "DEPTH_INDUCED_BREAKING_DISSIPATION" : "DEPTH-INDUCED BREAKING DISSIPATION", - "DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD" : "DEPTH-INDUCED BREAKING 1 (BJ) QB COMPUTATION METHOD", - "DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD" : "DEPTH-INDUCED BREAKING 1 (BJ) HM COMPUTATION METHOD", - "DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY" : "DEPTH-INDUCED BREAKING 1 (BJ) CHARACTERISTIC FREQUENCY", - "DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION" : "DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION", - "DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY" : "DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY", - "DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION" : "DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION", - "DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION" : "DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION", - "DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY" : "DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY", - "DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY" : "DEPTH-INDUCED BREAKING 4 (IH) CHARACTERISTIC FREQUENCY", - "NUMBER_OF_BREAKING_TIME_STEPS" : "NUMBER OF BREAKING TIME STEPS", - "WAVE_GROWTH_LIMITER" : "WAVE GROWTH LIMITER", - "LINEAR_WAVE_GROWTH" : "LINEAR WAVE GROWTH", - "TRIAD_INTERACTIONS" : "TRIAD INTERACTIONS", - "TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM" : "TYPE OF BOUNDARY DIRECTIONAL SPECTRUM", - "TIDE_REFRESHING_PERIOD" : "TIDE REFRESHING PERIOD", - "TIDAL_WATER_LEVEL_FILE_FORMAT" : "TIDAL WATER LEVEL FILE FORMAT", - "RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE" : "RANK OF THE WATER LEVEL DATA IN THE TELEMAC FILE", - "INITIAL_ANGULAR_DISTRIBUTION_FUNCTION" : "INITIAL ANGULAR DISTRIBUTION FUNCTION", - "NUMBER_OF_PRIVATE_ARRAYS" : "NUMBER OF PRIVATE ARRAYS", - "BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION" : "BOUNDARY ANGULAR DISTRIBUTION FUNCTION", - "ORIGIN_COORDINATES" : "ORIGIN COORDINATES", - "DEBUGGER" : "DEBUGGER", - "SETTING_FOR_INTEGRATION_ON_OMEGA1" : "SETTING FOR INTEGRATION ON OMEGA1", - "SETTING_FOR_INTEGRATION_ON_THETA1" : "SETTING FOR INTEGRATION ON THETA1", - "SETTING_FOR_INTEGRATION_ON_OMEGA2" : "SETTING FOR INTEGRATION ON OMEGA2", - "DIFFRACTION" : "DIFFRACTION", - "STARTING_TIME_STEP_FOR_DIFFRACTION" : "STARTING TIME STEP FOR DIFFRACTION", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "FINITE_ELEMENT_ASSEMBLY" : "FINITE ELEMENT ASSEMBLY", - "BAJ_MODELING" : "BAJ MODELING", - "TIME_STEP" : "TIME STEP", - "MINIMAL_FREQUENCY" : "MINIMAL FREQUENCY", - "FREQUENTIAL_RATIO" : "FREQUENTIAL RATIO", - "DATE_OF_COMPUTATION_BEGINNING" : "DATE OF COMPUTATION BEGINNING", - "BOTTOM_FRICTION_COEFFICIENT" : "BOTTOM FRICTION COEFFICIENT", - "WHITE_CAPPING_DISSIPATION_COEFFICIENT" : "WHITE CAPPING DISSIPATION COEFFICIENT", - "WHITE_CAPPING_WEIGHTING_COEFFICIENT" : "WHITE CAPPING WEIGHTING COEFFICIENT", - "AIR_DENSITY" : "AIR DENSITY", - "WATER_DENSITY" : "WATER DENSITY", - "WIND_GENERATION_COEFFICIENT" : "WIND GENERATION COEFFICIENT", - "VON_KARMAN_CONSTANT" : "VON KARMAN CONSTANT", - "CHARNOCK_CONSTANT" : "CHARNOCK CONSTANT", - "SHIFT_GROWING_CURVE_DUE_TO_WIND" : "SHIFT GROWING CURVE DUE TO WIND", - "WIND_MEASUREMENTS_LEVEL" : "WIND MEASUREMENTS LEVEL", - "WIND_DRAG_COEFFICIENT" : "WIND DRAG COEFFICIENT", - "INITIAL_SIGNIFICANT_WAVE_HEIGHT" : "INITIAL SIGNIFICANT WAVE HEIGHT", - "INITIAL_PEAK_FREQUENCY" : "INITIAL PEAK FREQUENCY", - "INITIAL_PEAK_FACTOR" : "INITIAL PEAK FACTOR", - "INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM" : "INITIAL VALUE OF SIGMA-A FOR SPECTRUM", - "INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM" : "INITIAL VALUE OF SIGMA-B FOR SPECTRUM", - "INITIAL_PHILLIPS_CONSTANT" : "INITIAL PHILLIPS CONSTANT", - "INITIAL_MEAN_FETCH_VALUE" : "INITIAL MEAN FETCH VALUE", - "INITIAL_MAXIMUM_PEAK_FREQUENCY" : "INITIAL MAXIMUM PEAK FREQUENCY", - "INITIAL_MAIN_DIRECTION_1" : "INITIAL MAIN DIRECTION 1", - "INITIAL_DIRECTIONAL_SPREAD_1" : "INITIAL DIRECTIONAL SPREAD 1", - "INITIAL_MAIN_DIRECTION_2" : "INITIAL MAIN DIRECTION 2", - "INITIAL_DIRECTIONAL_SPREAD_2" : "INITIAL DIRECTIONAL SPREAD 2", - "INITIAL_WEIGHTING_FACTOR_FOR_ADF" : "INITIAL WEIGHTING FACTOR FOR ADF", - "GODA_COEFFICIENT_FOR_ANGULAR_SPEADING" : "GODA COEFFICIENT FOR ANGULAR SPEADING", - "SPECTRUM_TAIL_FACTOR" : "SPECTRUM TAIL FACTOR", - "SPECTRUM_ENERGY_THRESHOLD" : "SPECTRUM ENERGY THRESHOLD", - "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA" : "DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT ALPHA", - "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1" : "DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1", - "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2" : "DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2", - "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B" : "DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B", - "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA" : "DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA", - "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA" : "DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA", - "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA" : "DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA", - "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2" : "DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2", - "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0" : "DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT BETA0", - "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR" : "DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT M2STAR", - "MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D" : "MAXIMUM VALUE OF THE RATIO HM0 ON D", - "COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING" : "COEFFICIENT OF THE TIME SUB-INCREMENTS FOR BREAKING", - "STANDARD_CONFIGURATION_PARAMETER" : "STANDARD CONFIGURATION PARAMETER", - "INITIAL_STILL_WATER_LEVEL" : "INITIAL STILL WATER LEVEL", - "TRIADS_1__LTA__COEFFICIENT_ALPHA" : "TRIADS 1 (LTA) COEFFICIENT ALPHA", - "TRIADS_1__LTA__COEFFICIENT_RFMLTA" : "TRIADS 1 (LTA) COEFFICIENT RFMLTA", - "TRIADS_2__SPB__COEFFICIENT_K" : "TRIADS 2 (SPB) COEFFICIENT K", - "TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY" : "TRIADS 2 (SPB) LOWER DIRECTIONAL BOUNDARY", - "TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY" : "TRIADS 2 (SPB) UPPER DIRECTIONAL BOUNDARY", - "BOUNDARY_SIGNIFICANT_WAVE_HEIGHT" : "BOUNDARY SIGNIFICANT WAVE HEIGHT", - "BOUNDARY_PEAK_FREQUENCY" : "BOUNDARY PEAK FREQUENCY", - "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A" : "BOUNDARY SPECTRUM VALUE OF SIGMA-A", - "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B" : "BOUNDARY SPECTRUM VALUE OF SIGMA-B", - "BOUNDARY_PHILLIPS_CONSTANT" : "BOUNDARY PHILLIPS CONSTANT", - "BOUNDARY_MEAN_FETCH_VALUE" : "BOUNDARY MEAN FETCH VALUE", - "BOUNDARY_MAXIMUM_PEAK_FREQUENCY" : "BOUNDARY MAXIMUM PEAK FREQUENCY", - "BOUNDARY_MAIN_DIRECTION_1" : "BOUNDARY MAIN DIRECTION 1", - "BOUNDARY_DIRECTIONAL_SPREAD_1" : "BOUNDARY DIRECTIONAL SPREAD 1", - "BOUNDARY_MAIN_DIRECTION_2" : "BOUNDARY MAIN DIRECTION 2", - "BOUNDARY_DIRECTIONAL_SPREAD_2" : "BOUNDARY DIRECTIONAL SPREAD 2", - "BOUNDARY_WEIGHTING_FACTOR_FOR_ADF" : "BOUNDARY WEIGHTING FACTOR FOR ADF", - "BOUNDARY_PEAK_FACTOR" : "BOUNDARY PEAK FACTOR", - "MINIMUM_WATER_DEPTH" : "MINIMUM WATER DEPTH", - "WIND_VELOCITY_ALONG_X" : "WIND VELOCITY ALONG X", - "WIND_VELOCITY_ALONG_Y" : "WIND VELOCITY ALONG Y", - "IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS" : "IMPLICITATION COEFFICIENT FOR SOURCE TERMS", - "YAN_GENERATION_COEFFICIENT_D" : "YAN GENERATION COEFFICIENT D", - "YAN_GENERATION_COEFFICIENT_E" : "YAN GENERATION COEFFICIENT E", - "YAN_GENERATION_COEFFICIENT_F" : "YAN GENERATION COEFFICIENT F", - "YAN_GENERATION_COEFFICIENT_H" : "YAN GENERATION COEFFICIENT H", - "WESTHUYSEN_DISSIPATION_COEFFICIENT" : "WESTHUYSEN DISSIPATION COEFFICIENT", - "SATURATION_THRESHOLD_FOR_THE_DISSIPATION" : "SATURATION THRESHOLD FOR THE DISSIPATION", - "WESTHUYSEN_WHITE_CAPPING_DISSIPATION" : "WESTHUYSEN WHITE CAPPING DISSIPATION", - "WESTHUYSEN_WEIGHTING_COEFFICIENT" : "WESTHUYSEN WEIGHTING COEFFICIENT", - "THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION" : "THRESHOLD0 FOR CONFIGURATIONS ELIMINATION", - "THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION" : "THRESHOLD1 FOR CONFIGURATIONS ELIMINATION", - "THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION" : "THRESHOLD2 FOR CONFIGURATIONS ELIMINATION", - "VARIANCE_THRESHOLD_FOR_DIFFRACTION" : "VARIANCE THRESHOLD FOR DIFFRACTION", - "TIME_UNIT_IN_CURRENTS_FILE" : "TIME UNIT IN CURRENTS FILE", - "TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE" : "TIME UNIT IN TIDAL WATER LEVEL FILE", - "TIME_UNIT_IN_WINDS_FILE" : "TIME UNIT IN WINDS FILE", - "TIME_SHIFT_IN_CURRENTS_FILE" : "TIME SHIFT IN CURRENTS FILE", - "TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE" : "TIME SHIFT IN TIDAL WATER LEVEL FILE", - "TIME_SHIFT_IN_WINDS_FILE" : "TIME SHIFT IN WINDS FILE", - "DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT" : "DISSIPATION COEFFICIENT FOR STRONG CURRENT", - "TITLE" : "TITLE", - "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS" : "VARIABLES FOR 2D GRAPHIC PRINTOUTS", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "FORTRAN_FILE" : "FORTRAN FILE", - "STEERING_FILE" : "STEERING FILE", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "BOTTOM_TOPOGRAPHY_FILE" : "BOTTOM TOPOGRAPHY FILE", - "BOTTOM_SMOOTHINGS" : "BOTTOM SMOOTHINGS", - "PERIOD_FOR_GRAPHIC_PRINTOUTS" : "PERIOD FOR GRAPHIC PRINTOUTS", - "NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS" : "NUMBER OF FIRST ITERATION FOR GRAPHICS PRINTOUTS", - "ED_RESULTS_FILE" : "2D RESULTS FILE", - "ED_RESULTS_FILE_FORMAT" : "2D RESULTS FILE FORMAT", - "PUNCTUAL_RESULTS_FILE" : "PUNCTUAL RESULTS FILE", - "SPECTRUM_FILE_FORMAT" : "SPECTRUM FILE FORMAT", - "ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS" : "ABSCISSAE OF SPECTRUM PRINTOUT POINTS", - "ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS" : "ORDINATES OF SPECTRUM PRINTOUT POINTS", - "NEXT_COMPUTATION" : "NEXT COMPUTATION", - "PREVIOUS_COMPUTATION_FILE" : "PREVIOUS COMPUTATION FILE", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "PREVIOUS COMPUTATION FILE FORMAT", - "BINARY_CURRENTS_FILE" : "BINARY CURRENTS FILE", - "FORMATTED_CURRENTS_FILE" : "FORMATTED CURRENTS FILE", - "BINARY_WINDS_FILE" : "BINARY WINDS FILE", - "BINARY_WINDS_FILE_FORMAT" : "BINARY WINDS FILE FORMAT", - "FORMATTED_WINDS_FILE" : "FORMATTED WINDS FILE", - "REFERENCE_FILE" : "REFERENCE FILE", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "BINARY_TIDAL_WATER_LEVEL_FILE" : "BINARY TIDAL WATER LEVEL FILE", - "BINARY_TIDAL_WATER_FILE_FORMAT" : "BINARY TIDAL WATER FILE FORMAT", - "FORMATTED_TIDAL_WATER_LEVEL_FILE" : "FORMATTED TIDAL WATER LEVEL FILE", - "BINARY_CURRENTS_FILE_FORMAT" : "BINARY CURRENTS FILE FORMAT", - "NAMES_OF_VARIABLES" : "NAMES OF VARIABLES", - "OPTION_FOR_DIAGNOSTIC_TAIL" : "OPTION FOR DIAGNOSTIC TAIL", - "OPTION_FOR_SECOND_DERIVATIVES" : "OPTION FOR SECOND DERIVATIVES", - "ZD_SPECTRA_RESULTS_FILE" : "1D SPECTRA RESULTS FILE", - "GLOBAL_RESULT_FILE" : "GLOBAL RESULT FILE", - "GLOBAL_RESULT_FILE_FORMAT" : "GLOBAL RESULT FILE FORMAT", - "BINARY_FILE_1" : "BINARY FILE 1", - "BINARY_DATA_FILE_1_FORMAT" : "BINARY DATA FILE 1 FORMAT", - "FORMATTED_FILE_1" : "FORMATTED FILE 1", - "DICTIONARY" : "DICTIONARY", - "PARTITIONING_TOOL" : "PARTITIONING TOOL", - "CONSIDERATION_OF_SOURCE_TERMS" : "CONSIDERATION OF SOURCE TERMS", - "SPHERICAL_COORDINATES" : "SPHERICAL COORDINATES", - "INFINITE_DEPTH" : "INFINITE DEPTH", - "CONSIDERATION_OF_A_STATIONARY_CURRENT" : "CONSIDERATION OF A STATIONARY CURRENT", - "CONSIDERATION_OF_A_WIND" : "CONSIDERATION OF A WIND", - "RECOVERY_OF_TELEMAC_DATA_ITEM" : "RECOVERY OF TELEMAC DATA ITEM", - "CONSIDERATION_OF_PROPAGATION" : "CONSIDERATION OF PROPAGATION", - "STATIONARY_WIND" : "STATIONARY WIND", - "VALIDATION" : "VALIDATION", - "CONSIDERATION_OF_TIDE" : "CONSIDERATION OF TIDE", - "TRIGONOMETRICAL_CONVENTION" : "TRIGONOMETRICAL CONVENTION", - "LIMIT_SPECTRUM_MODIFIED_BY_USER" : "LIMIT SPECTRUM MODIFIED BY USER", - "DIFFRACTION_FILTER" : "DIFFRACTION FILTER", - "INITIAL_TIME_SET_TO_ZERO" : "INITIAL TIME SET TO ZERO", - "VEGETATION_TAKEN_INTO_ACCOUNT" : "VEGETATION TAKEN INTO ACCOUNT", - "POROUS_MEDIA" : "POROUS MEDIA", - "CHECKING_THE_MESH" : "CHECKING THE MESH", - "FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE" : "FILE WITH COORDINATES OF SPECTRA TO WRITE", - "FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE" : "FILE WITH COORDINATES OF SPECTRA TO IMPOSE", - "IMPOSED_SPECTRA_FILE" : "IMPOSED SPECTRA FILE", - "IMPOSED_SPECTRA_FILE_FORMAT" : "IMPOSED SPECTRA FILE FORMAT", - "TIME_UNIT_OF_IMPOSED_SPECTRA_FILE" : "TIME UNIT OF IMPOSED SPECTRA FILE", - "TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE" : "TIME SHIFT OF IMPOSED SPECTRA FILE", - "TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES" : "TAKING INTO ACCOUNT SOURCE TERMS ON IMPOSED BOUNDARIES", - "BOUNDARY_CONDITION_BEFORE_TIME_STEP" : "BOUNDARY CONDITION BEFORE TIME STEP", - "ECRET_FOR_SMALL_HEIGHT" : "ECRET FOR SMALL HEIGHT", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATE PARTEL OUTPUT", -} -dicoCasEnToCata = { - "PERIOD FOR LISTING PRINTOUTS" : "PERIOD_FOR_LISTING_PRINTOUTS", - "NUMBER OF TIME STEP" : "NUMBER_OF_TIME_STEP", - "NUMBER OF DIRECTIONS" : "NUMBER_OF_DIRECTIONS", - "NUMBER OF FREQUENCIES" : "NUMBER_OF_FREQUENCIES", - "WIND GENERATION" : "WIND_GENERATION", - "WHITE CAPPING DISSIPATION" : "WHITE_CAPPING_DISSIPATION", - "BOTTOM FRICTION DISSIPATION" : "BOTTOM_FRICTION_DISSIPATION", - "NON-LINEAR TRANSFERS BETWEEN FREQUENCIES" : "NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES", - "CURRENTS FILE FORMAT" : "CURRENTS_FILE_FORMAT", - "WINDS FILE FORMAT" : "WINDS_FILE_FORMAT", - "NUMBER OF ITERATIONS FOR THE SOURCE TERMS" : "NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS", - "TYPE OF INITIAL DIRECTIONAL SPECTRUM" : "TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM", - "DISSIPATION BY STRONG CURRENT" : "DISSIPATION_BY_STRONG_CURRENT", - "TIME INCREMENT NUMBER IN TELEMAC FILE" : "TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE", - "VECTOR LENGTH" : "VECTOR_LENGTH", - "DEPTH-INDUCED BREAKING DISSIPATION" : "DEPTH_INDUCED_BREAKING_DISSIPATION", - "DEPTH-INDUCED BREAKING 1 (BJ) QB COMPUTATION METHOD" : "DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD", - "DEPTH-INDUCED BREAKING 1 (BJ) HM COMPUTATION METHOD" : "DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD", - "DEPTH-INDUCED BREAKING 1 (BJ) CHARACTERISTIC FREQUENCY" : "DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY", - "DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION" : "DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION", - "DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY" : "DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY", - "DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION" : "DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION", - "DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION" : "DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION", - "DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY" : "DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY", - "DEPTH-INDUCED BREAKING 4 (IH) CHARACTERISTIC FREQUENCY" : "DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY", - "NUMBER OF BREAKING TIME STEPS" : "NUMBER_OF_BREAKING_TIME_STEPS", - "WAVE GROWTH LIMITER" : "WAVE_GROWTH_LIMITER", - "LINEAR WAVE GROWTH" : "LINEAR_WAVE_GROWTH", - "TRIAD INTERACTIONS" : "TRIAD_INTERACTIONS", - "TYPE OF BOUNDARY DIRECTIONAL SPECTRUM" : "TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM", - "TIDE REFRESHING PERIOD" : "TIDE_REFRESHING_PERIOD", - "TIDAL WATER LEVEL FILE FORMAT" : "TIDAL_WATER_LEVEL_FILE_FORMAT", - "RANK OF THE WATER LEVEL DATA IN THE TELEMAC FILE" : "RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE", - "INITIAL ANGULAR DISTRIBUTION FUNCTION" : "INITIAL_ANGULAR_DISTRIBUTION_FUNCTION", - "NUMBER OF PRIVATE ARRAYS" : "NUMBER_OF_PRIVATE_ARRAYS", - "BOUNDARY ANGULAR DISTRIBUTION FUNCTION" : "BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION", - "ORIGIN COORDINATES" : "ORIGIN_COORDINATES", - "DEBUGGER" : "DEBUGGER", - "SETTING FOR INTEGRATION ON OMEGA1" : "SETTING_FOR_INTEGRATION_ON_OMEGA1", - "SETTING FOR INTEGRATION ON THETA1" : "SETTING_FOR_INTEGRATION_ON_THETA1", - "SETTING FOR INTEGRATION ON OMEGA2" : "SETTING_FOR_INTEGRATION_ON_OMEGA2", - "DIFFRACTION" : "DIFFRACTION", - "STARTING TIME STEP FOR DIFFRACTION" : "STARTING_TIME_STEP_FOR_DIFFRACTION", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "FINITE ELEMENT ASSEMBLY" : "FINITE_ELEMENT_ASSEMBLY", - "BAJ MODELING" : "BAJ_MODELING", - "TIME STEP" : "TIME_STEP", - "MINIMAL FREQUENCY" : "MINIMAL_FREQUENCY", - "FREQUENTIAL RATIO" : "FREQUENTIAL_RATIO", - "DATE OF COMPUTATION BEGINNING" : "DATE_OF_COMPUTATION_BEGINNING", - "BOTTOM FRICTION COEFFICIENT" : "BOTTOM_FRICTION_COEFFICIENT", - "WHITE CAPPING DISSIPATION COEFFICIENT" : "WHITE_CAPPING_DISSIPATION_COEFFICIENT", - "WHITE CAPPING WEIGHTING COEFFICIENT" : "WHITE_CAPPING_WEIGHTING_COEFFICIENT", - "AIR DENSITY" : "AIR_DENSITY", - "WATER DENSITY" : "WATER_DENSITY", - "WIND GENERATION COEFFICIENT" : "WIND_GENERATION_COEFFICIENT", - "VON KARMAN CONSTANT" : "VON_KARMAN_CONSTANT", - "CHARNOCK CONSTANT" : "CHARNOCK_CONSTANT", - "SHIFT GROWING CURVE DUE TO WIND" : "SHIFT_GROWING_CURVE_DUE_TO_WIND", - "WIND MEASUREMENTS LEVEL" : "WIND_MEASUREMENTS_LEVEL", - "WIND DRAG COEFFICIENT" : "WIND_DRAG_COEFFICIENT", - "INITIAL SIGNIFICANT WAVE HEIGHT" : "INITIAL_SIGNIFICANT_WAVE_HEIGHT", - "INITIAL PEAK FREQUENCY" : "INITIAL_PEAK_FREQUENCY", - "INITIAL PEAK FACTOR" : "INITIAL_PEAK_FACTOR", - "INITIAL VALUE OF SIGMA-A FOR SPECTRUM" : "INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM", - "INITIAL VALUE OF SIGMA-B FOR SPECTRUM" : "INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM", - "INITIAL PHILLIPS CONSTANT" : "INITIAL_PHILLIPS_CONSTANT", - "INITIAL MEAN FETCH VALUE" : "INITIAL_MEAN_FETCH_VALUE", - "INITIAL MAXIMUM PEAK FREQUENCY" : "INITIAL_MAXIMUM_PEAK_FREQUENCY", - "INITIAL MAIN DIRECTION 1" : "INITIAL_MAIN_DIRECTION_1", - "INITIAL DIRECTIONAL SPREAD 1" : "INITIAL_DIRECTIONAL_SPREAD_1", - "INITIAL MAIN DIRECTION 2" : "INITIAL_MAIN_DIRECTION_2", - "INITIAL DIRECTIONAL SPREAD 2" : "INITIAL_DIRECTIONAL_SPREAD_2", - "INITIAL WEIGHTING FACTOR FOR ADF" : "INITIAL_WEIGHTING_FACTOR_FOR_ADF", - "GODA COEFFICIENT FOR ANGULAR SPEADING" : "GODA_COEFFICIENT_FOR_ANGULAR_SPEADING", - "SPECTRUM TAIL FACTOR" : "SPECTRUM_TAIL_FACTOR", - "SPECTRUM ENERGY THRESHOLD" : "SPECTRUM_ENERGY_THRESHOLD", - "DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT ALPHA" : "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA", - "DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1" : "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1", - "DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2" : "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2", - "DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B" : "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B", - "DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA" : "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA", - "DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA" : "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA", - "DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA" : "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA", - "DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2" : "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2", - "DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT BETA0" : "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0", - "DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT M2STAR" : "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR", - "MAXIMUM VALUE OF THE RATIO HM0 ON D" : "MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D", - "COEFFICIENT OF THE TIME SUB-INCREMENTS FOR BREAKING" : "COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING", - "STANDARD CONFIGURATION PARAMETER" : "STANDARD_CONFIGURATION_PARAMETER", - "INITIAL STILL WATER LEVEL" : "INITIAL_STILL_WATER_LEVEL", - "TRIADS 1 (LTA) COEFFICIENT ALPHA" : "TRIADS_1__LTA__COEFFICIENT_ALPHA", - "TRIADS 1 (LTA) COEFFICIENT RFMLTA" : "TRIADS_1__LTA__COEFFICIENT_RFMLTA", - "TRIADS 2 (SPB) COEFFICIENT K" : "TRIADS_2__SPB__COEFFICIENT_K", - "TRIADS 2 (SPB) LOWER DIRECTIONAL BOUNDARY" : "TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY", - "TRIADS 2 (SPB) UPPER DIRECTIONAL BOUNDARY" : "TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY", - "BOUNDARY SIGNIFICANT WAVE HEIGHT" : "BOUNDARY_SIGNIFICANT_WAVE_HEIGHT", - "BOUNDARY PEAK FREQUENCY" : "BOUNDARY_PEAK_FREQUENCY", - "BOUNDARY SPECTRUM VALUE OF SIGMA-A" : "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A", - "BOUNDARY SPECTRUM VALUE OF SIGMA-B" : "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B", - "BOUNDARY PHILLIPS CONSTANT" : "BOUNDARY_PHILLIPS_CONSTANT", - "BOUNDARY MEAN FETCH VALUE" : "BOUNDARY_MEAN_FETCH_VALUE", - "BOUNDARY MAXIMUM PEAK FREQUENCY" : "BOUNDARY_MAXIMUM_PEAK_FREQUENCY", - "BOUNDARY MAIN DIRECTION 1" : "BOUNDARY_MAIN_DIRECTION_1", - "BOUNDARY DIRECTIONAL SPREAD 1" : "BOUNDARY_DIRECTIONAL_SPREAD_1", - "BOUNDARY MAIN DIRECTION 2" : "BOUNDARY_MAIN_DIRECTION_2", - "BOUNDARY DIRECTIONAL SPREAD 2" : "BOUNDARY_DIRECTIONAL_SPREAD_2", - "BOUNDARY WEIGHTING FACTOR FOR ADF" : "BOUNDARY_WEIGHTING_FACTOR_FOR_ADF", - "BOUNDARY PEAK FACTOR" : "BOUNDARY_PEAK_FACTOR", - "MINIMUM WATER DEPTH" : "MINIMUM_WATER_DEPTH", - "WIND VELOCITY ALONG X" : "WIND_VELOCITY_ALONG_X", - "WIND VELOCITY ALONG Y" : "WIND_VELOCITY_ALONG_Y", - "IMPLICITATION COEFFICIENT FOR SOURCE TERMS" : "IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS", - "YAN GENERATION COEFFICIENT D" : "YAN_GENERATION_COEFFICIENT_D", - "YAN GENERATION COEFFICIENT E" : "YAN_GENERATION_COEFFICIENT_E", - "YAN GENERATION COEFFICIENT F" : "YAN_GENERATION_COEFFICIENT_F", - "YAN GENERATION COEFFICIENT H" : "YAN_GENERATION_COEFFICIENT_H", - "WESTHUYSEN DISSIPATION COEFFICIENT" : "WESTHUYSEN_DISSIPATION_COEFFICIENT", - "SATURATION THRESHOLD FOR THE DISSIPATION" : "SATURATION_THRESHOLD_FOR_THE_DISSIPATION", - "WESTHUYSEN WHITE CAPPING DISSIPATION" : "WESTHUYSEN_WHITE_CAPPING_DISSIPATION", - "WESTHUYSEN WEIGHTING COEFFICIENT" : "WESTHUYSEN_WEIGHTING_COEFFICIENT", - "THRESHOLD0 FOR CONFIGURATIONS ELIMINATION" : "THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION", - "THRESHOLD1 FOR CONFIGURATIONS ELIMINATION" : "THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION", - "THRESHOLD2 FOR CONFIGURATIONS ELIMINATION" : "THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION", - "VARIANCE THRESHOLD FOR DIFFRACTION" : "VARIANCE_THRESHOLD_FOR_DIFFRACTION", - "TIME UNIT IN CURRENTS FILE" : "TIME_UNIT_IN_CURRENTS_FILE", - "TIME UNIT IN TIDAL WATER LEVEL FILE" : "TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE", - "TIME UNIT IN WINDS FILE" : "TIME_UNIT_IN_WINDS_FILE", - "TIME SHIFT IN CURRENTS FILE" : "TIME_SHIFT_IN_CURRENTS_FILE", - "TIME SHIFT IN TIDAL WATER LEVEL FILE" : "TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE", - "TIME SHIFT IN WINDS FILE" : "TIME_SHIFT_IN_WINDS_FILE", - "DISSIPATION COEFFICIENT FOR STRONG CURRENT" : "DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT", - "TITLE" : "TITLE", - "VARIABLES FOR 2D GRAPHIC PRINTOUTS" : "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "FORTRAN FILE" : "FORTRAN_FILE", - "STEERING FILE" : "STEERING_FILE", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "BOTTOM TOPOGRAPHY FILE" : "BOTTOM_TOPOGRAPHY_FILE", - "BOTTOM SMOOTHINGS" : "BOTTOM_SMOOTHINGS", - "PERIOD FOR GRAPHIC PRINTOUTS" : "PERIOD_FOR_GRAPHIC_PRINTOUTS", - "NUMBER OF FIRST ITERATION FOR GRAPHICS PRINTOUTS" : "NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS", - "2D RESULTS FILE" : "ED_RESULTS_FILE", - "2D RESULTS FILE FORMAT" : "ED_RESULTS_FILE_FORMAT", - "PUNCTUAL RESULTS FILE" : "PUNCTUAL_RESULTS_FILE", - "SPECTRUM FILE FORMAT" : "SPECTRUM_FILE_FORMAT", - "ABSCISSAE OF SPECTRUM PRINTOUT POINTS" : "ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS", - "ORDINATES OF SPECTRUM PRINTOUT POINTS" : "ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS", - "NEXT COMPUTATION" : "NEXT_COMPUTATION", - "PREVIOUS COMPUTATION FILE" : "PREVIOUS_COMPUTATION_FILE", - "PREVIOUS COMPUTATION FILE FORMAT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "BINARY CURRENTS FILE" : "BINARY_CURRENTS_FILE", - "FORMATTED CURRENTS FILE" : "FORMATTED_CURRENTS_FILE", - "BINARY WINDS FILE" : "BINARY_WINDS_FILE", - "BINARY WINDS FILE FORMAT" : "BINARY_WINDS_FILE_FORMAT", - "FORMATTED WINDS FILE" : "FORMATTED_WINDS_FILE", - "REFERENCE FILE" : "REFERENCE_FILE", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "BINARY TIDAL WATER LEVEL FILE" : "BINARY_TIDAL_WATER_LEVEL_FILE", - "BINARY TIDAL WATER FILE FORMAT" : "BINARY_TIDAL_WATER_FILE_FORMAT", - "FORMATTED TIDAL WATER LEVEL FILE" : "FORMATTED_TIDAL_WATER_LEVEL_FILE", - "BINARY CURRENTS FILE FORMAT" : "BINARY_CURRENTS_FILE_FORMAT", - "NAMES OF VARIABLES" : "NAMES_OF_VARIABLES", - "OPTION FOR DIAGNOSTIC TAIL" : "OPTION_FOR_DIAGNOSTIC_TAIL", - "OPTION FOR SECOND DERIVATIVES" : "OPTION_FOR_SECOND_DERIVATIVES", - "1D SPECTRA RESULTS FILE" : "ZD_SPECTRA_RESULTS_FILE", - "GLOBAL RESULT FILE" : "GLOBAL_RESULT_FILE", - "GLOBAL RESULT FILE FORMAT" : "GLOBAL_RESULT_FILE_FORMAT", - "BINARY FILE 1" : "BINARY_FILE_1", - "BINARY DATA FILE 1 FORMAT" : "BINARY_DATA_FILE_1_FORMAT", - "FORMATTED FILE 1" : "FORMATTED_FILE_1", - "DICTIONARY" : "DICTIONARY", - "PARTITIONING TOOL" : "PARTITIONING_TOOL", - "CONSIDERATION OF SOURCE TERMS" : "CONSIDERATION_OF_SOURCE_TERMS", - "SPHERICAL COORDINATES" : "SPHERICAL_COORDINATES", - "INFINITE DEPTH" : "INFINITE_DEPTH", - "CONSIDERATION OF A STATIONARY CURRENT" : "CONSIDERATION_OF_A_STATIONARY_CURRENT", - "CONSIDERATION OF A WIND" : "CONSIDERATION_OF_A_WIND", - "RECOVERY OF TELEMAC DATA ITEM" : "RECOVERY_OF_TELEMAC_DATA_ITEM", - "CONSIDERATION OF PROPAGATION" : "CONSIDERATION_OF_PROPAGATION", - "STATIONARY WIND" : "STATIONARY_WIND", - "VALIDATION" : "VALIDATION", - "CONSIDERATION OF TIDE" : "CONSIDERATION_OF_TIDE", - "TRIGONOMETRICAL CONVENTION" : "TRIGONOMETRICAL_CONVENTION", - "LIMIT SPECTRUM MODIFIED BY USER" : "LIMIT_SPECTRUM_MODIFIED_BY_USER", - "DIFFRACTION FILTER" : "DIFFRACTION_FILTER", - "INITIAL TIME SET TO ZERO" : "INITIAL_TIME_SET_TO_ZERO", - "VEGETATION TAKEN INTO ACCOUNT" : "VEGETATION_TAKEN_INTO_ACCOUNT", - "POROUS MEDIA" : "POROUS_MEDIA", - "CHECKING THE MESH" : "CHECKING_THE_MESH", - "FILE WITH COORDINATES OF SPECTRA TO WRITE" : "FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE", - "FILE WITH COORDINATES OF SPECTRA TO IMPOSE" : "FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE", - "IMPOSED SPECTRA FILE" : "IMPOSED_SPECTRA_FILE", - "IMPOSED SPECTRA FILE FORMAT" : "IMPOSED_SPECTRA_FILE_FORMAT", - "TIME UNIT OF IMPOSED SPECTRA FILE" : "TIME_UNIT_OF_IMPOSED_SPECTRA_FILE", - "TIME SHIFT OF IMPOSED SPECTRA FILE" : "TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE", - "TAKING INTO ACCOUNT SOURCE TERMS ON IMPOSED BOUNDARIES" : "TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES", - "BOUNDARY CONDITION BEFORE TIME STEP" : "BOUNDARY_CONDITION_BEFORE_TIME_STEP", - "ECRET FOR SMALL HEIGHT" : "ECRET_FOR_SMALL_HEIGHT", - "CONCATENATE PARTEL OUTPUT" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/tomawac_dicoCasFrToCata.py b/Telemac/tomawac_dicoCasFrToCata.py deleted file mode 100644 index 1ccd305c..00000000 --- a/Telemac/tomawac_dicoCasFrToCata.py +++ /dev/null @@ -1,406 +0,0 @@ -dicoCataToFrTelemac = { - "PERIOD_FOR_LISTING_PRINTOUTS" : "PERIODE POUR LES SORTIES LISTING", - "NUMBER_OF_TIME_STEP" : "NOMBRE DE PAS DE TEMPS", - "NUMBER_OF_DIRECTIONS" : "NOMBRE DE DIRECTIONS", - "NUMBER_OF_FREQUENCIES" : "NOMBRE DE FREQUENCES", - "WIND_GENERATION" : "APPORTS DUS AU VENT", - "WHITE_CAPPING_DISSIPATION" : "DISSIPATION PAR MOUTONNEMENT", - "BOTTOM_FRICTION_DISSIPATION" : "DISSIPATION PAR FROTTEMENT SUR LE FOND", - "NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES" : "TRANSFERTS NON LINEAIRES INTER-FREQUENCES", - "CURRENTS_FILE_FORMAT" : "FORMAT DU FICHIER DES COURANTS", - "WINDS_FILE_FORMAT" : "FORMAT DU FICHIER DES VENTS", - "NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS" : "NOMBRE DE SOUS-ITERATIONS POUR LES TERMES SOURCES", - "TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM" : "TYPE DE SPECTRE DIRECTIONNEL INITIAL", - "DISSIPATION_BY_STRONG_CURRENT" : "DISSIPATION PAR FORT COURANT", - "TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE" : "NUMERO DU PAS DE TEMPS DU FICHIER TELEMAC", - "VECTOR_LENGTH" : "LONGUEUR DU VECTEUR", - "DEPTH_INDUCED_BREAKING_DISSIPATION" : "DISSIPATION PAR DEFERLEMENT", - "DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD" : "DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB", - "DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD" : "DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM", - "DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY" : "DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE", - "DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION" : "DEFERLEMENT 2 (TG) FONCTION DE PONDERATION", - "DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY" : "DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE", - "DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION" : "DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE", - "DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION" : "DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION", - "DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY" : "DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE", - "DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY" : "DEFERLEMENT 4 (IH) CHOIX FREQUENCE CARACTERISTIQUE", - "NUMBER_OF_BREAKING_TIME_STEPS" : "NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT", - "WAVE_GROWTH_LIMITER" : "LIMITEUR DE CROISSANCE", - "LINEAR_WAVE_GROWTH" : "CROISSANCE LINEAIRE DES VAGUES", - "TRIAD_INTERACTIONS" : "TRANSFERTS ENTRE TRIPLETS DE FREQUENCES", - "TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM" : "TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES", - "TIDE_REFRESHING_PERIOD" : "PERIODE D'ACTUALISATION DE LA MAREE", - "TIDAL_WATER_LEVEL_FILE_FORMAT" : "FORMAT DU FICHIER DU NIVEAU DE LA MAREE", - "RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE" : "RANG DU NIVEAU DE LA MAREE DANS LE FICHIER TELEMAC", - "INITIAL_ANGULAR_DISTRIBUTION_FUNCTION" : "FONCTION DE REPARTITION ANGULAIRE INITIALE", - "NUMBER_OF_PRIVATE_ARRAYS" : "NOMBRE DE TABLEAUX PRIVES", - "BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION" : "FONCTION DE REPARTITION ANGULAIRE AUX LIMITES", - "ORIGIN_COORDINATES" : "COORDONNEES DE L'ORIGINE", - "DEBUGGER" : "DEBUGGER", - "SETTING_FOR_INTEGRATION_ON_OMEGA1" : "REGLAGE POUR INTEGRATION SUR OMEGA1", - "SETTING_FOR_INTEGRATION_ON_THETA1" : "REGLAGE POUR INTEGRATION SUR THETA1", - "SETTING_FOR_INTEGRATION_ON_OMEGA2" : "REGLAGE POUR INTEGRATION SUR OMEGA2", - "DIFFRACTION" : "DIFFRACTION", - "STARTING_TIME_STEP_FOR_DIFFRACTION" : "PAS DE TEMPS DEBUT DIFFRACTION", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "FINITE_ELEMENT_ASSEMBLY" : "ASSEMBLAGE EN ELEMENTS FINIS", - "BAJ_MODELING" : "MODELISATION BAJ", - "TIME_STEP" : "PAS DE TEMPS", - "MINIMAL_FREQUENCY" : "FREQUENCE MINIMALE", - "FREQUENTIAL_RATIO" : "RAISON FREQUENTIELLE", - "DATE_OF_COMPUTATION_BEGINNING" : "DATE DE DEBUT DU CALCUL", - "BOTTOM_FRICTION_COEFFICIENT" : "COEFFICIENT DE FROTTEMENT SUR LE FOND", - "WHITE_CAPPING_DISSIPATION_COEFFICIENT" : "COEFFICIENT DE DISSIPATION PAR MOUTONNEMENT", - "WHITE_CAPPING_WEIGHTING_COEFFICIENT" : "COEFFICIENT DE PONDERATION POUR LE MOUTONNEMENT", - "AIR_DENSITY" : "DENSITE DE L'AIR", - "WATER_DENSITY" : "DENSITE DE L'EAU", - "WIND_GENERATION_COEFFICIENT" : "COEFFICIENT DE GENERATION PAR LE VENT", - "VON_KARMAN_CONSTANT" : "CONSTANTE DE VON KARMAN", - "CHARNOCK_CONSTANT" : "CONSTANTE DE CHARNOCK", - "SHIFT_GROWING_CURVE_DUE_TO_WIND" : "DECALAGE COURBE DE CROISSANCE DUE AU VENT", - "WIND_MEASUREMENTS_LEVEL" : "COTE DE MESURE DES VENTS", - "WIND_DRAG_COEFFICIENT" : "COEFFICIENT DE TRAINEE DE VENT", - "INITIAL_SIGNIFICANT_WAVE_HEIGHT" : "HAUTEUR SIGNIFICATIVE INITIALE", - "INITIAL_PEAK_FREQUENCY" : "FREQUENCE DE PIC INITIALE", - "INITIAL_PEAK_FACTOR" : "FACTEUR DE PIC INITIAL", - "INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM" : "VALEUR INITIALE DE SIGMA-A POUR SPECTRE", - "INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM" : "VALEUR INITIALE DE SIGMA-B POUR SPECTRE", - "INITIAL_PHILLIPS_CONSTANT" : "CONSTANTE DE PHILLIPS INITIALE", - "INITIAL_MEAN_FETCH_VALUE" : "VALEUR MOYENNE DU FETCH INITIAL", - "INITIAL_MAXIMUM_PEAK_FREQUENCY" : "FREQUENCE DE PIC MAXIMALE INITIALE", - "INITIAL_MAIN_DIRECTION_1" : "DIRECTION PRINCIPALE 1 INITIALE", - "INITIAL_DIRECTIONAL_SPREAD_1" : "ETALEMENT DIRECTIONNEL 1 INITIAL", - "INITIAL_MAIN_DIRECTION_2" : "DIRECTION PRINCIPALE 2 INITIALE", - "INITIAL_DIRECTIONAL_SPREAD_2" : "ETALEMENT DIRECTIONNEL 2 INITIAL", - "INITIAL_WEIGHTING_FACTOR_FOR_ADF" : "FACTEUR DE PONDERATION POUR FRA INITIALE", - "GODA_COEFFICIENT_FOR_ANGULAR_SPEADING" : "COEFFICIENT DE GODA POUR LOI DE REPARTITION ANGULAIR", - "SPECTRUM_TAIL_FACTOR" : "FACTEUR DE QUEUE DU SPECTRE", - "SPECTRUM_ENERGY_THRESHOLD" : "SEUIL D'ENERGIE CONSIDERE POUR LE SPECTRE", - "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA" : "DEFERLEMENT 1 (BJ) CONSTANTE ALPHA", - "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1" : "DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1", - "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2" : "DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2", - "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B" : "DEFERLEMENT 2 (TG) CONSTANTE B", - "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA" : "DEFERLEMENT 2 (TG) CONSTANTE GAMMA", - "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA" : "DEFERLEMENT 3 (RO) CONSTANTE ALPHA", - "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA" : "DEFERLEMENT 3 (RO) CONSTANTE GAMMA", - "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2" : "DEFERLEMENT 3 (RO) CONSTANTE GAMMA2", - "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0" : "DEFERLEMENT 4 (IH) CONSTANTE BETA0", - "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR" : "DEFERLEMENT 4 (IH) CONSTANTE M2STAR", - "MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D" : "VALEUR MAXIMALE DU RAPPORT HM0 SUR D", - "COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING" : "COEFFICIENT POUR LES SOUS-PAS DE TEMPS POUR LE DEFERLEMENT", - "STANDARD_CONFIGURATION_PARAMETER" : "PARAMETRE DE LA CONFIGURATION STANDARD", - "INITIAL_STILL_WATER_LEVEL" : "COTE INITIALE DU PLAN D'EAU AU REPOS", - "TRIADS_1__LTA__COEFFICIENT_ALPHA" : "TRIADS 1 (LTA) CONSTANTE ALPHA", - "TRIADS_1__LTA__COEFFICIENT_RFMLTA" : "TRIADS 1 (LTA) CONSTANTE RFMLTA", - "TRIADS_2__SPB__COEFFICIENT_K" : "TRIADS 2 (SPB) CONSTANTE K", - "TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY" : "TRIADS 2 (SPB) BORNE DIRECTIONNELLE INFERIEURE", - "TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY" : "TRIADS 2 (SPB) BORNE DIRECTIONNELLE SUPERIEURE", - "BOUNDARY_SIGNIFICANT_WAVE_HEIGHT" : "HAUTEUR SIGNIFICATIVE AUX LIMITES", - "BOUNDARY_PEAK_FREQUENCY" : "FREQUENCE DE PIC AUX LIMITES", - "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A" : "VALEUR AUX LIMITES DE SIGMA-A POUR SPECTRE", - "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B" : "VALEUR AUX LIMITES DE SIGMA-B POUR SPECTRE", - "BOUNDARY_PHILLIPS_CONSTANT" : "CONSTANTE DE PHILLIPS AUX LIMITES", - "BOUNDARY_MEAN_FETCH_VALUE" : "VALEUR MOYENNE DU FETCH AUX LIMITES", - "BOUNDARY_MAXIMUM_PEAK_FREQUENCY" : "FREQUENCE DE PIC MAXIMALE AUX LIMITES", - "BOUNDARY_MAIN_DIRECTION_1" : "DIRECTION PRINCIPALE 1 AUX LIMITES", - "BOUNDARY_DIRECTIONAL_SPREAD_1" : "ETALEMENT DIRECTIONNEL 1 AUX LIMITES", - "BOUNDARY_MAIN_DIRECTION_2" : "DIRECTION PRINCIPALE 2 AUX LIMITES", - "BOUNDARY_DIRECTIONAL_SPREAD_2" : "ETALEMENT DIRECTIONNEL 2 AUX LIMITES", - "BOUNDARY_WEIGHTING_FACTOR_FOR_ADF" : "FACTEUR DE PONDERATION POUR FRA AUX LIMITES", - "BOUNDARY_PEAK_FACTOR" : "FACTEUR DE PIC AUX LIMITES", - "MINIMUM_WATER_DEPTH" : "PROFONDEUR D'EAU MINIMALE", - "WIND_VELOCITY_ALONG_X" : "VITESSE DU VENT SUIVANT X", - "WIND_VELOCITY_ALONG_Y" : "VITESSE DU VENT SUIVANT Y", - "IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS" : "COEFFICIENT IMPLICITATION POUR TERMES SOURCES", - "YAN_GENERATION_COEFFICIENT_D" : "COEFFICIENT DE GENERATION DE YAN D", - "YAN_GENERATION_COEFFICIENT_E" : "COEFFICIENT DE GENERATION DE YAN E", - "YAN_GENERATION_COEFFICIENT_F" : "COEFFICIENT DE GENERATION DE YAN F", - "YAN_GENERATION_COEFFICIENT_H" : "COEFFICIENT DE GENERATION DE YAN H", - "WESTHUYSEN_DISSIPATION_COEFFICIENT" : "COEFFICIENT DE DISSIPATION DE WESTHUYSEN", - "SATURATION_THRESHOLD_FOR_THE_DISSIPATION" : "SEUIL DE SATURATION POUR LA DISSIPATION", - "WESTHUYSEN_WHITE_CAPPING_DISSIPATION" : "DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN", - "WESTHUYSEN_WEIGHTING_COEFFICIENT" : "COEFFICIENT DE PONDERATION DE WESTHUYSEN", - "THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION" : "SEUIL0 ELIMINATION DE CONFIGURATIONS", - "THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION" : "SEUIL1 ELIMINATION DE CONFIGURATIONS", - "THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION" : "SEUIL2 ELIMINATION DE CONFIGURATIONS", - "VARIANCE_THRESHOLD_FOR_DIFFRACTION" : "SEUIL DE VARIANCE CONSIDEREE POUR DIFFRACTION", - "TIME_UNIT_IN_CURRENTS_FILE" : "UNITE DE TEMPS DU FICHIER DES COURANTS", - "TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE" : "UNITE DE TEMPS DU FICHIER DU NIVEAU DE LA MAREE", - "TIME_UNIT_IN_WINDS_FILE" : "UNITE DE TEMPS DU FICHIER DES VENTS", - "TIME_SHIFT_IN_CURRENTS_FILE" : "DEPHASAGE DU FICHIER DES COURANTS", - "TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE" : "DEPHASAGE DU FICHIER DU NIVEAU DE LA MAREE", - "TIME_SHIFT_IN_WINDS_FILE" : "DEPHASAGE DU FICHIER DES VENTS", - "DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT" : "COEFFICIENT DE DISSIPATION PAR FORT COURANT", - "TITLE" : "TITRE", - "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS" : "VARIABLES POUR LES SORTIES GRAPHIQUES 2D", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "BOTTOM_TOPOGRAPHY_FILE" : "FICHIER DES FONDS", - "BOTTOM_SMOOTHINGS" : "LISSAGES DU FOND", - "PERIOD_FOR_GRAPHIC_PRINTOUTS" : "PERIODE POUR LES SORTIES GRAPHIQUES", - "NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS" : "NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES", - "ED_RESULTS_FILE" : "FICHIER DES RESULTATS 2D", - "ED_RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS 2D", - "PUNCTUAL_RESULTS_FILE" : "FICHIER DES RESULTATS PONCTUELS", - "SPECTRUM_FILE_FORMAT" : "FORMAT DU FICHIER DE SPECTRE", - "ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS" : "ABSCISSES DES POINTS DE SORTIE DU SPECTRE", - "ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS" : "ORDONNEES DES POINTS DE SORTIE DU SPECTRE", - "NEXT_COMPUTATION" : "SUITE DE CALCUL", - "PREVIOUS_COMPUTATION_FILE" : "FICHIER DU CALCUL PRECEDENT", - "PREVIOUS_COMPUTATION_FILE_FORMAT" : "FORMAT DU FICHIER DU CALCUL PRECEDENT", - "BINARY_CURRENTS_FILE" : "FICHIER DES COURANTS BINAIRE", - "FORMATTED_CURRENTS_FILE" : "FICHIER DES COURANTS FORMATE", - "BINARY_WINDS_FILE" : "FICHIER DES VENTS BINAIRE", - "BINARY_WINDS_FILE_FORMAT" : "FORMAT DU FICHIER DES VENTS BINAIRE", - "FORMATTED_WINDS_FILE" : "FICHIER DES VENTS FORMATE", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "BINARY_TIDAL_WATER_LEVEL_FILE" : "FICHIER DU NIVEAU DE LA MAREE BINAIRE", - "BINARY_TIDAL_WATER_FILE_FORMAT" : "FORMAT DU FICHIER DE LA MAREE BINAIRE", - "FORMATTED_TIDAL_WATER_LEVEL_FILE" : "FICHIER DU NIVEAU DE LA MAREE FORMATE", - "BINARY_CURRENTS_FILE_FORMAT" : "FORMAT DU FICHIER DES COURANTS BINAIRE", - "NAMES_OF_VARIABLES" : "NOMS DES VARIABLES", - "OPTION_FOR_DIAGNOSTIC_TAIL" : "OPTION POUR LA QUEUE DIAGNOSTIQUE", - "OPTION_FOR_SECOND_DERIVATIVES" : "OPTION POUR LES DERIVEES SECONDES", - "ZD_SPECTRA_RESULTS_FILE" : "FICHIER DES RESULTATS SPECTRES 1D", - "GLOBAL_RESULT_FILE" : "FICHIER DES RESULTATS GLOBAUX", - "GLOBAL_RESULT_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS GLOBAUX", - "BINARY_FILE_1" : "FICHIER BINAIRE 1", - "BINARY_DATA_FILE_1_FORMAT" : "FORMAT DU FICHIER DE DONNEES BINAIRE 1", - "FORMATTED_FILE_1" : "FICHIER FORMATE 1", - "DICTIONARY" : "DICTIONNAIRE", - "PARTITIONING_TOOL" : "PARTITIONNEUR", - "CONSIDERATION_OF_SOURCE_TERMS" : "PRISE EN COMPTE DES TERMES SOURCES", - "SPHERICAL_COORDINATES" : "COORDONNEES SPHERIQUES", - "INFINITE_DEPTH" : "PROFONDEUR INFINIE", - "CONSIDERATION_OF_A_STATIONARY_CURRENT" : "PRISE EN COMPTE D'UN COURANT STATIONNAIRE", - "CONSIDERATION_OF_A_WIND" : "PRISE EN COMPTE DU VENT", - "RECOVERY_OF_TELEMAC_DATA_ITEM" : "RECUPERATION DE DONNEE TELEMAC", - "CONSIDERATION_OF_PROPAGATION" : "PRISE EN COMPTE DE LA PROPAGATION", - "STATIONARY_WIND" : "VENT STATIONNAIRE", - "VALIDATION" : "VALIDATION", - "CONSIDERATION_OF_TIDE" : "PRISE EN COMPTE DE LA MAREE", - "TRIGONOMETRICAL_CONVENTION" : "CONVENTION TRIGONOMETRIQUE", - "LIMIT_SPECTRUM_MODIFIED_BY_USER" : "SPECTRE AUX LIMITES MODIFIE PAR L'UTILISATEUR", - "DIFFRACTION_FILTER" : "FILTRE POUR DIFFRACTION", - "INITIAL_TIME_SET_TO_ZERO" : "REMISE A ZERO DU TEMPS", - "VEGETATION_TAKEN_INTO_ACCOUNT" : "PRISE EN COMPTE DE LA VEGETATION", - "POROUS_MEDIA" : "MILIEU POREUX", - "CHECKING_THE_MESH" : "VERIFICATION DU MAILLAGE", - "FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE" : "FICHIER DES COORDONNEES DE SPECTRES A ECRIRE", - "FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE" : "FICHIER DES COORDONNEES DE SPECTRES A IMPOSER", - "IMPOSED_SPECTRA_FILE" : "FICHIER DES SPECTRES IMPOSES", - "IMPOSED_SPECTRA_FILE_FORMAT" : "FORMAT DU FICHIER DES SPECTRES IMPOSES", - "TIME_UNIT_OF_IMPOSED_SPECTRA_FILE" : "UNITE DE TEMPS DU FICHIER DES SPECTRES IMPOSES", - "TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE" : "DEPHASAGE DU FICHIER DES SPECTRES IMPOSES", - "TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES" : "PRISE EN COMPTE DES TERMES SOURCES SUR LES FRONTIERES IMPOSEES", - "BOUNDARY_CONDITION_BEFORE_TIME_STEP" : "CONDITION LIMITE AVANT LE PAS DE TEMPS", - "ECRET_FOR_SMALL_HEIGHT" : "ECRETAGE POUR HAUTEUR PETITE", - "CONCATENATE_PARTEL_OUTPUT" : "CONCATENATION SORTIE PARTEL", -} -dicoCasFrToCata = { - "PERIODE POUR LES SORTIES LISTING" : "PERIOD_FOR_LISTING_PRINTOUTS", - "NOMBRE DE PAS DE TEMPS" : "NUMBER_OF_TIME_STEP", - "NOMBRE DE DIRECTIONS" : "NUMBER_OF_DIRECTIONS", - "NOMBRE DE FREQUENCES" : "NUMBER_OF_FREQUENCIES", - "APPORTS DUS AU VENT" : "WIND_GENERATION", - "DISSIPATION PAR MOUTONNEMENT" : "WHITE_CAPPING_DISSIPATION", - "DISSIPATION PAR FROTTEMENT SUR LE FOND" : "BOTTOM_FRICTION_DISSIPATION", - "TRANSFERTS NON LINEAIRES INTER-FREQUENCES" : "NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES", - "FORMAT DU FICHIER DES COURANTS" : "CURRENTS_FILE_FORMAT", - "FORMAT DU FICHIER DES VENTS" : "WINDS_FILE_FORMAT", - "NOMBRE DE SOUS-ITERATIONS POUR LES TERMES SOURCES" : "NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS", - "TYPE DE SPECTRE DIRECTIONNEL INITIAL" : "TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM", - "DISSIPATION PAR FORT COURANT" : "DISSIPATION_BY_STRONG_CURRENT", - "NUMERO DU PAS DE TEMPS DU FICHIER TELEMAC" : "TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE", - "LONGUEUR DU VECTEUR" : "VECTOR_LENGTH", - "DISSIPATION PAR DEFERLEMENT" : "DEPTH_INDUCED_BREAKING_DISSIPATION", - "DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB" : "DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD", - "DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM" : "DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD", - "DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE" : "DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY", - "DEFERLEMENT 2 (TG) FONCTION DE PONDERATION" : "DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION", - "DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE" : "DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY", - "DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE" : "DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION", - "DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION" : "DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION", - "DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE" : "DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY", - "DEFERLEMENT 4 (IH) CHOIX FREQUENCE CARACTERISTIQUE" : "DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY", - "NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT" : "NUMBER_OF_BREAKING_TIME_STEPS", - "LIMITEUR DE CROISSANCE" : "WAVE_GROWTH_LIMITER", - "CROISSANCE LINEAIRE DES VAGUES" : "LINEAR_WAVE_GROWTH", - "TRANSFERTS ENTRE TRIPLETS DE FREQUENCES" : "TRIAD_INTERACTIONS", - "TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES" : "TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM", - "PERIODE D'ACTUALISATION DE LA MAREE" : "TIDE_REFRESHING_PERIOD", - "FORMAT DU FICHIER DU NIVEAU DE LA MAREE" : "TIDAL_WATER_LEVEL_FILE_FORMAT", - "RANG DU NIVEAU DE LA MAREE DANS LE FICHIER TELEMAC" : "RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE", - "FONCTION DE REPARTITION ANGULAIRE INITIALE" : "INITIAL_ANGULAR_DISTRIBUTION_FUNCTION", - "NOMBRE DE TABLEAUX PRIVES" : "NUMBER_OF_PRIVATE_ARRAYS", - "FONCTION DE REPARTITION ANGULAIRE AUX LIMITES" : "BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION", - "COORDONNEES DE L'ORIGINE" : "ORIGIN_COORDINATES", - "DEBUGGER" : "DEBUGGER", - "REGLAGE POUR INTEGRATION SUR OMEGA1" : "SETTING_FOR_INTEGRATION_ON_OMEGA1", - "REGLAGE POUR INTEGRATION SUR THETA1" : "SETTING_FOR_INTEGRATION_ON_THETA1", - "REGLAGE POUR INTEGRATION SUR OMEGA2" : "SETTING_FOR_INTEGRATION_ON_OMEGA2", - "DIFFRACTION" : "DIFFRACTION", - "PAS DE TEMPS DEBUT DIFFRACTION" : "STARTING_TIME_STEP_FOR_DIFFRACTION", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "ASSEMBLAGE EN ELEMENTS FINIS" : "FINITE_ELEMENT_ASSEMBLY", - "MODELISATION BAJ" : "BAJ_MODELING", - "PAS DE TEMPS" : "TIME_STEP", - "FREQUENCE MINIMALE" : "MINIMAL_FREQUENCY", - "RAISON FREQUENTIELLE" : "FREQUENTIAL_RATIO", - "DATE DE DEBUT DU CALCUL" : "DATE_OF_COMPUTATION_BEGINNING", - "COEFFICIENT DE FROTTEMENT SUR LE FOND" : "BOTTOM_FRICTION_COEFFICIENT", - "COEFFICIENT DE DISSIPATION PAR MOUTONNEMENT" : "WHITE_CAPPING_DISSIPATION_COEFFICIENT", - "COEFFICIENT DE PONDERATION POUR LE MOUTONNEMENT" : "WHITE_CAPPING_WEIGHTING_COEFFICIENT", - "DENSITE DE L'AIR" : "AIR_DENSITY", - "DENSITE DE L'EAU" : "WATER_DENSITY", - "COEFFICIENT DE GENERATION PAR LE VENT" : "WIND_GENERATION_COEFFICIENT", - "CONSTANTE DE VON KARMAN" : "VON_KARMAN_CONSTANT", - "CONSTANTE DE CHARNOCK" : "CHARNOCK_CONSTANT", - "DECALAGE COURBE DE CROISSANCE DUE AU VENT" : "SHIFT_GROWING_CURVE_DUE_TO_WIND", - "COTE DE MESURE DES VENTS" : "WIND_MEASUREMENTS_LEVEL", - "COEFFICIENT DE TRAINEE DE VENT" : "WIND_DRAG_COEFFICIENT", - "HAUTEUR SIGNIFICATIVE INITIALE" : "INITIAL_SIGNIFICANT_WAVE_HEIGHT", - "FREQUENCE DE PIC INITIALE" : "INITIAL_PEAK_FREQUENCY", - "FACTEUR DE PIC INITIAL" : "INITIAL_PEAK_FACTOR", - "VALEUR INITIALE DE SIGMA-A POUR SPECTRE" : "INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM", - "VALEUR INITIALE DE SIGMA-B POUR SPECTRE" : "INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM", - "CONSTANTE DE PHILLIPS INITIALE" : "INITIAL_PHILLIPS_CONSTANT", - "VALEUR MOYENNE DU FETCH INITIAL" : "INITIAL_MEAN_FETCH_VALUE", - "FREQUENCE DE PIC MAXIMALE INITIALE" : "INITIAL_MAXIMUM_PEAK_FREQUENCY", - "DIRECTION PRINCIPALE 1 INITIALE" : "INITIAL_MAIN_DIRECTION_1", - "ETALEMENT DIRECTIONNEL 1 INITIAL" : "INITIAL_DIRECTIONAL_SPREAD_1", - "DIRECTION PRINCIPALE 2 INITIALE" : "INITIAL_MAIN_DIRECTION_2", - "ETALEMENT DIRECTIONNEL 2 INITIAL" : "INITIAL_DIRECTIONAL_SPREAD_2", - "FACTEUR DE PONDERATION POUR FRA INITIALE" : "INITIAL_WEIGHTING_FACTOR_FOR_ADF", - "COEFFICIENT DE GODA POUR LOI DE REPARTITION ANGULAIR" : "GODA_COEFFICIENT_FOR_ANGULAR_SPEADING", - "FACTEUR DE QUEUE DU SPECTRE" : "SPECTRUM_TAIL_FACTOR", - "SEUIL D'ENERGIE CONSIDERE POUR LE SPECTRE" : "SPECTRUM_ENERGY_THRESHOLD", - "DEFERLEMENT 1 (BJ) CONSTANTE ALPHA" : "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA", - "DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1" : "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1", - "DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2" : "DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2", - "DEFERLEMENT 2 (TG) CONSTANTE B" : "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B", - "DEFERLEMENT 2 (TG) CONSTANTE GAMMA" : "DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA", - "DEFERLEMENT 3 (RO) CONSTANTE ALPHA" : "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA", - "DEFERLEMENT 3 (RO) CONSTANTE GAMMA" : "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA", - "DEFERLEMENT 3 (RO) CONSTANTE GAMMA2" : "DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2", - "DEFERLEMENT 4 (IH) CONSTANTE BETA0" : "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0", - "DEFERLEMENT 4 (IH) CONSTANTE M2STAR" : "DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR", - "VALEUR MAXIMALE DU RAPPORT HM0 SUR D" : "MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D", - "COEFFICIENT POUR LES SOUS-PAS DE TEMPS POUR LE DEFERLEMENT" : "COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING", - "PARAMETRE DE LA CONFIGURATION STANDARD" : "STANDARD_CONFIGURATION_PARAMETER", - "COTE INITIALE DU PLAN D'EAU AU REPOS" : "INITIAL_STILL_WATER_LEVEL", - "TRIADS 1 (LTA) CONSTANTE ALPHA" : "TRIADS_1__LTA__COEFFICIENT_ALPHA", - "TRIADS 1 (LTA) CONSTANTE RFMLTA" : "TRIADS_1__LTA__COEFFICIENT_RFMLTA", - "TRIADS 2 (SPB) CONSTANTE K" : "TRIADS_2__SPB__COEFFICIENT_K", - "TRIADS 2 (SPB) BORNE DIRECTIONNELLE INFERIEURE" : "TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY", - "TRIADS 2 (SPB) BORNE DIRECTIONNELLE SUPERIEURE" : "TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY", - "HAUTEUR SIGNIFICATIVE AUX LIMITES" : "BOUNDARY_SIGNIFICANT_WAVE_HEIGHT", - "FREQUENCE DE PIC AUX LIMITES" : "BOUNDARY_PEAK_FREQUENCY", - "VALEUR AUX LIMITES DE SIGMA-A POUR SPECTRE" : "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A", - "VALEUR AUX LIMITES DE SIGMA-B POUR SPECTRE" : "BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B", - "CONSTANTE DE PHILLIPS AUX LIMITES" : "BOUNDARY_PHILLIPS_CONSTANT", - "VALEUR MOYENNE DU FETCH AUX LIMITES" : "BOUNDARY_MEAN_FETCH_VALUE", - "FREQUENCE DE PIC MAXIMALE AUX LIMITES" : "BOUNDARY_MAXIMUM_PEAK_FREQUENCY", - "DIRECTION PRINCIPALE 1 AUX LIMITES" : "BOUNDARY_MAIN_DIRECTION_1", - "ETALEMENT DIRECTIONNEL 1 AUX LIMITES" : "BOUNDARY_DIRECTIONAL_SPREAD_1", - "DIRECTION PRINCIPALE 2 AUX LIMITES" : "BOUNDARY_MAIN_DIRECTION_2", - "ETALEMENT DIRECTIONNEL 2 AUX LIMITES" : "BOUNDARY_DIRECTIONAL_SPREAD_2", - "FACTEUR DE PONDERATION POUR FRA AUX LIMITES" : "BOUNDARY_WEIGHTING_FACTOR_FOR_ADF", - "FACTEUR DE PIC AUX LIMITES" : "BOUNDARY_PEAK_FACTOR", - "PROFONDEUR D'EAU MINIMALE" : "MINIMUM_WATER_DEPTH", - "VITESSE DU VENT SUIVANT X" : "WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y" : "WIND_VELOCITY_ALONG_Y", - "COEFFICIENT IMPLICITATION POUR TERMES SOURCES" : "IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS", - "COEFFICIENT DE GENERATION DE YAN D" : "YAN_GENERATION_COEFFICIENT_D", - "COEFFICIENT DE GENERATION DE YAN E" : "YAN_GENERATION_COEFFICIENT_E", - "COEFFICIENT DE GENERATION DE YAN F" : "YAN_GENERATION_COEFFICIENT_F", - "COEFFICIENT DE GENERATION DE YAN H" : "YAN_GENERATION_COEFFICIENT_H", - "COEFFICIENT DE DISSIPATION DE WESTHUYSEN" : "WESTHUYSEN_DISSIPATION_COEFFICIENT", - "SEUIL DE SATURATION POUR LA DISSIPATION" : "SATURATION_THRESHOLD_FOR_THE_DISSIPATION", - "DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN" : "WESTHUYSEN_WHITE_CAPPING_DISSIPATION", - "COEFFICIENT DE PONDERATION DE WESTHUYSEN" : "WESTHUYSEN_WEIGHTING_COEFFICIENT", - "SEUIL0 ELIMINATION DE CONFIGURATIONS" : "THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION", - "SEUIL1 ELIMINATION DE CONFIGURATIONS" : "THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION", - "SEUIL2 ELIMINATION DE CONFIGURATIONS" : "THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION", - "SEUIL DE VARIANCE CONSIDEREE POUR DIFFRACTION" : "VARIANCE_THRESHOLD_FOR_DIFFRACTION", - "UNITE DE TEMPS DU FICHIER DES COURANTS" : "TIME_UNIT_IN_CURRENTS_FILE", - "UNITE DE TEMPS DU FICHIER DU NIVEAU DE LA MAREE" : "TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE", - "UNITE DE TEMPS DU FICHIER DES VENTS" : "TIME_UNIT_IN_WINDS_FILE", - "DEPHASAGE DU FICHIER DES COURANTS" : "TIME_SHIFT_IN_CURRENTS_FILE", - "DEPHASAGE DU FICHIER DU NIVEAU DE LA MAREE" : "TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE", - "DEPHASAGE DU FICHIER DES VENTS" : "TIME_SHIFT_IN_WINDS_FILE", - "COEFFICIENT DE DISSIPATION PAR FORT COURANT" : "DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT", - "TITRE" : "TITLE", - "VARIABLES POUR LES SORTIES GRAPHIQUES 2D" : "VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER DES FONDS" : "BOTTOM_TOPOGRAPHY_FILE", - "LISSAGES DU FOND" : "BOTTOM_SMOOTHINGS", - "PERIODE POUR LES SORTIES GRAPHIQUES" : "PERIOD_FOR_GRAPHIC_PRINTOUTS", - "NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES" : "NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS", - "FICHIER DES RESULTATS 2D" : "ED_RESULTS_FILE", - "FORMAT DU FICHIER DES RESULTATS 2D" : "ED_RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS PONCTUELS" : "PUNCTUAL_RESULTS_FILE", - "FORMAT DU FICHIER DE SPECTRE" : "SPECTRUM_FILE_FORMAT", - "ABSCISSES DES POINTS DE SORTIE DU SPECTRE" : "ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS", - "ORDONNEES DES POINTS DE SORTIE DU SPECTRE" : "ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS", - "SUITE DE CALCUL" : "NEXT_COMPUTATION", - "FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE", - "FORMAT DU FICHIER DU CALCUL PRECEDENT" : "PREVIOUS_COMPUTATION_FILE_FORMAT", - "FICHIER DES COURANTS BINAIRE" : "BINARY_CURRENTS_FILE", - "FICHIER DES COURANTS FORMATE" : "FORMATTED_CURRENTS_FILE", - "FICHIER DES VENTS BINAIRE" : "BINARY_WINDS_FILE", - "FORMAT DU FICHIER DES VENTS BINAIRE" : "BINARY_WINDS_FILE_FORMAT", - "FICHIER DES VENTS FORMATE" : "FORMATTED_WINDS_FILE", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FICHIER DU NIVEAU DE LA MAREE BINAIRE" : "BINARY_TIDAL_WATER_LEVEL_FILE", - "FORMAT DU FICHIER DE LA MAREE BINAIRE" : "BINARY_TIDAL_WATER_FILE_FORMAT", - "FICHIER DU NIVEAU DE LA MAREE FORMATE" : "FORMATTED_TIDAL_WATER_LEVEL_FILE", - "FORMAT DU FICHIER DES COURANTS BINAIRE" : "BINARY_CURRENTS_FILE_FORMAT", - "NOMS DES VARIABLES" : "NAMES_OF_VARIABLES", - "OPTION POUR LA QUEUE DIAGNOSTIQUE" : "OPTION_FOR_DIAGNOSTIC_TAIL", - "OPTION POUR LES DERIVEES SECONDES" : "OPTION_FOR_SECOND_DERIVATIVES", - "FICHIER DES RESULTATS SPECTRES 1D" : "ZD_SPECTRA_RESULTS_FILE", - "FICHIER DES RESULTATS GLOBAUX" : "GLOBAL_RESULT_FILE", - "FORMAT DU FICHIER DES RESULTATS GLOBAUX" : "GLOBAL_RESULT_FILE_FORMAT", - "FICHIER BINAIRE 1" : "BINARY_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1" : "BINARY_DATA_FILE_1_FORMAT", - "FICHIER FORMATE 1" : "FORMATTED_FILE_1", - "DICTIONNAIRE" : "DICTIONARY", - "PARTITIONNEUR" : "PARTITIONING_TOOL", - "PRISE EN COMPTE DES TERMES SOURCES" : "CONSIDERATION_OF_SOURCE_TERMS", - "COORDONNEES SPHERIQUES" : "SPHERICAL_COORDINATES", - "PROFONDEUR INFINIE" : "INFINITE_DEPTH", - "PRISE EN COMPTE D'UN COURANT STATIONNAIRE" : "CONSIDERATION_OF_A_STATIONARY_CURRENT", - "PRISE EN COMPTE DU VENT" : "CONSIDERATION_OF_A_WIND", - "RECUPERATION DE DONNEE TELEMAC" : "RECOVERY_OF_TELEMAC_DATA_ITEM", - "PRISE EN COMPTE DE LA PROPAGATION" : "CONSIDERATION_OF_PROPAGATION", - "VENT STATIONNAIRE" : "STATIONARY_WIND", - "VALIDATION" : "VALIDATION", - "PRISE EN COMPTE DE LA MAREE" : "CONSIDERATION_OF_TIDE", - "CONVENTION TRIGONOMETRIQUE" : "TRIGONOMETRICAL_CONVENTION", - "SPECTRE AUX LIMITES MODIFIE PAR L'UTILISATEUR" : "LIMIT_SPECTRUM_MODIFIED_BY_USER", - "FILTRE POUR DIFFRACTION" : "DIFFRACTION_FILTER", - "REMISE A ZERO DU TEMPS" : "INITIAL_TIME_SET_TO_ZERO", - "PRISE EN COMPTE DE LA VEGETATION" : "VEGETATION_TAKEN_INTO_ACCOUNT", - "MILIEU POREUX" : "POROUS_MEDIA", - "VERIFICATION DU MAILLAGE" : "CHECKING_THE_MESH", - "FICHIER DES COORDONNEES DE SPECTRES A ECRIRE" : "FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE", - "FICHIER DES COORDONNEES DE SPECTRES A IMPOSER" : "FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE", - "FICHIER DES SPECTRES IMPOSES" : "IMPOSED_SPECTRA_FILE", - "FORMAT DU FICHIER DES SPECTRES IMPOSES" : "IMPOSED_SPECTRA_FILE_FORMAT", - "UNITE DE TEMPS DU FICHIER DES SPECTRES IMPOSES" : "TIME_UNIT_OF_IMPOSED_SPECTRA_FILE", - "DEPHASAGE DU FICHIER DES SPECTRES IMPOSES" : "TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE", - "PRISE EN COMPTE DES TERMES SOURCES SUR LES FRONTIERES IMPOSEES" : "TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES", - "CONDITION LIMITE AVANT LE PAS DE TEMPS" : "BOUNDARY_CONDITION_BEFORE_TIME_STEP", - "ECRETAGE POUR HAUTEUR PETITE" : "ECRET_FOR_SMALL_HEIGHT", - "CONCATENATION SORTIE PARTEL" : "CONCATENATE_PARTEL_OUTPUT", -} diff --git a/Telemac/tomawac_enum_auto.py b/Telemac/tomawac_enum_auto.py deleted file mode 100644 index facad6f2..00000000 --- a/Telemac/tomawac_enum_auto.py +++ /dev/null @@ -1,896 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'WIND_GENERATION' : { - 0:"No wind generation", - 1:"Wind generation in accordance with WAM cycle 4", - 2:"Wind generation in accordance with WAM cycle 3", - 3:"Wind generation in accordance with Yan expression (1987)", - }, -'WHITE_CAPPING_DISSIPATION' : { - 0:"No white capping dissipation", - 1:"Dissipation in accordance with WAM cycle 4", - 2:"Dissipation in accordance with Van des Westhuysen(2007)", - }, -'BOTTOM_FRICTION_DISSIPATION' : { - 0:"No bottom friction dissipation", - 1:"Dissipation in accordance with WAM cycle 4", - }, -'NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES' : { - 0:"No non-linear transfers term", - 1:"Non-linear transfers term with WAM cycle 4 (DIA Method)", - 2:"Non-linear transfers term in accordance with MDIA Method", - 3:"Non-linear transfers term calculated with exact GQM Method", - }, -'CURRENTS_FILE_FORMAT' : { - 3:"Selafin, TELEMAC type", - 4:"User format (couuti.f)", - }, -'WINDS_FILE_FORMAT' : { - 3:"Selafin, TELEMAC type", - 4:"User format (venuti.f)", - }, -'TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM' : { - 0:"non-existent spectrum", - 1:"JONSWAP spectrum 1", - 2:"JONSWAP spectrum 2", - 3:"JONSWAP spectrum 3", - 4:"JONSWAP spectrum 4", - 5:"JONSWAP spectrum 5", - 6:"JONSWAP spectrum 6", - 7:"TMA spectrum", - }, -'DISSIPATION_BY_STRONG_CURRENT' : { - 0:"No wave-blocking", - 1:"Spectrum limitation by a Phillips shape", - 2:"Dissipation in accordance with Van der Westhuysen(2012)", - }, -'DEPTH_INDUCED_BREAKING_DISSIPATION' : { - 0:"No breaking", - 1:"Dissipation in accordance with Battjes et Janssen (1978)", - 2:"Dissipation in accordance with Thornton et Guza (1983)", - 3:"Dissipation in accordance with Roelvink (1993)", - 4:"Dissipation in accordance with Izumiya et Horikawa (1984)", - }, -'DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD' : { - 0:"SOLVES BY DICHOTOMY", - 1:"EXPLICIT INSPIRED FROM CREDIZ VERSION 1", - 2:"EXPLICIT INSPIRED FROM CREDIZ VERSION 2", - 3:"EXPLICIT INSPIRED FROM CREDIZ VERSION 3", - }, -'DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD' : { - 1:"Hm = GAMMA*D", - 2:"Hm given by the Miche criterium", - }, -'DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequency Fmoy", - 2:"Frequency F01", - 3:"Frequency F02", - 4:"Frequency Fpic", - 5:"Frequency Fread ordre 5", - 6:"Frequency Fread ordre 8", - }, -'DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION' : { - 1:"Weight function 1", - 2:"Weight function 2", - }, -'DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequency Fmoy", - 2:"Frequency F01", - 3:"Frequency F02", - 4:"Frequency Fpic", - 5:"Frequency Fread ordre 5", - 6:"Frequency Fread ordre 8", - }, -'DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION' : { - 1:"Weibull", - 2:"Rayleigh", - }, -'DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequency Fmoy", - 2:"Frequency F01", - 3:"Frequency F02", - 4:"Frequency Fpic", - 5:"Frequency Fread ordre 5", - 6:"Frequency Fread ordre 8", - }, -'DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequency Fmoy", - 2:"Frequency F01", - 3:"Frequency F02", - 4:"Frequency Fpic", - 5:"Frequency Fread ordre 5", - 6:"Frequency Fread ordre 8", - }, -'WAVE_GROWTH_LIMITER' : { - 0:"no wave growth limiter", - 1:"WAM 4 original limiter", - 2:"Hersbach et Janssen (1999) limiter", - 3:"Laugel-BAJ limiter", - }, -'LINEAR_WAVE_GROWTH' : { - 0:"the linear wave growth is ignored", - 1:"linear wave growth as in Cavaleri and Malanotte-Rizzoli (1981)", - }, -'TRIAD_INTERACTIONS' : { - 0:"no triad interactions", - 1:"LTA model (Eldeberky, 1995)", - 2:"SPB model (Becq, 1998)", - }, -'TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM' : { - 0:"non-existent spectrum", - 1:"JONSWAP spectrum 1", - 2:"JONSWAP spectrum 2", - 3:"JONSWAP spectrum 3", - 4:"JONSWAP spectrum 4", - 5:"JONSWAP spectrum 5", - 6:"JONSWAP spectrum 6", - 7:"TMA spectrum", - }, -'TIDAL_WATER_LEVEL_FILE_FORMAT' : { - 3:"Selafin, TELEMAC type", - 4:"User format (maruti.f)", - }, -'INITIAL_ANGULAR_DISTRIBUTION_FUNCTION' : { - 1:"$cos{^2s}(T-T0)$, T in [T0-pi/2,T0+pi/2]", - 2:"$exp(-0.5((T-T0)/s)^2)$, T in [T0-pi/2,T0+pi/2]", - 3:"$cos{^2s}((T-T0)/2)$ (de type Mitsuyasu)", - 4:"Goda Formula allowing a frequence dependancy", - }, -'BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION' : { - 1:"$cos{^2s}(T-T0)$, T in [T0-pi/2,T0+pi/2]", - 2:"$exp(-0.5((T-T0)/s)^2)$, T in [T0-pi/2,T0+pi/2]", - 3:"$cos{^2s}((T-T0)/2)$ (de type Mitsuyasu)", - 4:"Goda Formula allowing a frequence dependancy", - }, -'SETTING_FOR_INTEGRATION_ON_OMEGA1' : { - 1:"medium", - 2:"fine", - 3:"rough", - }, -'SETTING_FOR_INTEGRATION_ON_THETA1' : { - 3:"rough", - 4:"medium", - 8:"fine", - }, -'SETTING_FOR_INTEGRATION_ON_OMEGA2' : { - 6:"rough", - 8:"medium", - 12:"fine", - }, -'DIFFRACTION' : { - 0:"Diffraction is not taken into account", - 1:"Mild Slope Equation model (Berkhoff - 1972)", - 2:"Revised Mild Slope Equation model (Porter - 2003)", - }, -'BAJ_MODELING' : { - 0:"classical modelisation", - 1:"BAJ Modeling", - }, -'VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS' : { - 'M0':"Total variance (m2)", - 'HM0':"Spectral significant wave height (m)", - 'DMOY':"Mean wave direction (deg)", - 'SPD':"Mean directional spreading (deg)", - 'ZF':"Sea bottom level (m)", - 'WD':"Water depth (m)", - 'UX':"Current along X (m/s)", - 'UY':"Current along Y (m/s)", - 'VX':"Wind along X (m/s)", - 'VY':"Wind along Y (m/s)", - 'FX':"Driving force along X (m/s2)", - 'FY':"Driving force along Y (m/s2)", - 'SXX':"Radiation stress along xx (m3/s2)", - 'SYY':"Radiation stress along yy (m3/s2)", - 'SXY':"Radiation stress along xy (m3/s2)", - 'UWB':"Bottom celerity (m/s)", - 'POW':"Wave power (per meter along wave crest) (kW/m)", - 'FMOY':"Mean frequency FMOY (Hz)", - 'FM01':"Mean frequency FM01 (Hz)", - 'FM02':"Mean frequency FM02 (Hz)", - 'FPD':"Discrete peak frequency (Hz)", - 'FPR5':"Peak frequency by Read method of order 5 (Hz)", - 'FPR8':"Peak frequency by Read method of order 8 (Hz)", - 'US':"Surface friction velocity u* (m/s)", - 'CD':"Surface drag coefficient CD (-)", - 'Z0':"Surface roughness length Z0 (m)", - 'WS':"Surface wave stress (kg/(m.s2))", - 'TMOY':"Mean period Tmoy (s)", - 'TM01':"Mean period Tm01 (s)", - 'TM02':"Mean period Tm02 (s)", - 'TPD':"Discrete peak period (s)", - 'TPR5':"Peak period by Read method of order 5 (s)", - 'TPR8':"Peak period by Read method of order 8 (s)", - 'PRI':"Private table (?)", - 'BETA':"Breaking waves coefficient (-)", - }, -} -TelemacdicoFr = { -'WIND_GENERATION' : { - 0:"Pas d apport par le vent", - 1:"Apport dus au vent selon WAM cycle 4", - 2:"Apport dus au vent selon WAM cycle 3", - 3:"Apport dus au vent selon expression de Yan (1987)", - }, -'WHITE_CAPPING_DISSIPATION' : { - 0:"Pas dissipation par moutonnement", - 1:"Dissipation selon WAM cycle 4", - 2:"Dissipation selon Van des Westhuysen(2007)", - }, -'BOTTOM_FRICTION_DISSIPATION' : { - 0:"Pas de dissipation par frottement au fond", - 1:"Dissipation selon WAM cycle 4", - }, -'NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES' : { - 0:"Pas de transfert non lineaire inter-frequences", - 1:"Transfert non lineaire selon WAM cycle 4 (Methode DIA)", - 2:"Transfert non lineaire selon Methode MDIA", - 3:"Transfert non lineaire exact Methode GQM", - }, -'CURRENTS_FILE_FORMAT' : { - 3:"Selafin du type TELEMAC", - 4:"Format utilisateur (couuti.f)", - }, -'WINDS_FILE_FORMAT' : { - 3:"Selafin du type TELEMAC", - 4:"Format utilisateur (venuti.f)", - }, -'TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM' : { - 0:"Spectre nul", - 1:"Spectre JONSWAP 1", - 2:"Spectre JONSWAP 2", - 3:"Spectre JONSWAP 3", - 4:"Spectre JONSWAP 4", - 5:"Spectre JONSWAP 5", - 6:"Spectre JONSWAP 6", - 7:"Spectre TMA", - }, -'DISSIPATION_BY_STRONG_CURRENT' : { - 0:"Pas de wave-blocking", - 1:"Limitation du spectre par une forme de Phillips", - 2:"Dissipation selon Van der Westhuysen(2012)", - }, -'DEPTH_INDUCED_BREAKING_DISSIPATION' : { - 0:"Pas de deferlement", - 1:"Dissipation selon Battjes et Janssen (1978)", - 2:"Dissipation selon Thornton et Guza (1983)", - 3:"Dissipation selon Roelvink (1993)", - 4:"Dissipation selon Izumiya et Horikawa (1984)", - }, -'DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD' : { - 0:"SOLVES BY DICHOTOMY", - 1:"EXPLICIT INSPIRED FROM CREDIZ VERSION 1", - 2:"EXPLICIT INSPIRED FROM CREDIZ VERSION 2", - 3:"EXPLICIT INSPIRED FROM CREDIZ VERSION 3", - }, -'DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD' : { - 1:"Hm = GAMMA*D", - 2:"Hm par critere de Miche", - }, -'DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequence Fmoy", - 2:"Frequence F01", - 3:"Frequence F02", - 4:"Frequence Fpic", - 5:"Frequence Fread ordre 5", - 6:"Frequence Fread ordre 8", - }, -'DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION' : { - 1:"Weight function 1", - 2:"Weight function 2", - }, -'DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequence Fmoy", - 2:"Frequence F01", - 3:"Frequence F02", - 4:"Frequence Fpic", - 5:"Frequence Fread ordre 5", - 6:"Frequence Fread ordre 8", - }, -'DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION' : { - 1:"Weibull", - 2:"Rayleigh", - }, -'DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequence Fmoy", - 2:"Frequence F01", - 3:"Frequence F02", - 4:"Frequence Fpic", - 5:"Frequence Fread ordre 5", - 6:"Frequence Fread ordre 8", - }, -'DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY' : { - 1:"Frequence Fmoy", - 2:"Frequence F01", - 3:"Frequence F02", - 4:"Frequence Fpic", - 5:"Frequence Fread ordre 5", - 6:"Frequence Fread ordre 8", - }, -'WAVE_GROWTH_LIMITER' : { - 0:"pas de limiteur", - 1:"limiteur type WAM 4 original", - 2:"limiteur de Hersbach et Janssen (1999)", - 3:"Laugel-BAJ limiter", - }, -'LINEAR_WAVE_GROWTH' : { - 0:"pas de terme de croissance lineaire", - 1:"croissance lineaire selon Cavaleri et Malanotte-Rizzoli (1981)", - }, -'TRIAD_INTERACTIONS' : { - 0:"Pas de transfert", - 1:"modele LTA (Eldeberky, 1995)", - 2:"modele SPB (Becq, 1998)", - }, -'TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM' : { - 0:"Spectre nul", - 1:"Spectre JONSWAP 1", - 2:"Spectre JONSWAP 2", - 3:"Spectre JONSWAP 3", - 4:"Spectre JONSWAP 4", - 5:"Spectre JONSWAP 5", - 6:"Spectre JONSWAP 6", - 7:"Spectre TMA", - }, -'TIDAL_WATER_LEVEL_FILE_FORMAT' : { - 3:"Selafin du type TELEMAC", - 4:"Format utilisateur (maruti.f)", - }, -'INITIAL_ANGULAR_DISTRIBUTION_FUNCTION' : { - 1:"$cos{^2s}(T-T0)$, T dans [T0-pi/2,T0+pi/2]", - 2:"$exp(-0.5((T-T0)/s)^2)$, T dans [T0-pi/2,T0+pi/2]", - 3:"$cos{^2s}((T-T0)/2)$ (de type Mitsuyasu)", - 4:"Formule de Goda permettant une dependance en frequence ", - }, -'BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION' : { - 1:"$cos{^2s}(T-T0)$, T dans [T0-pi/2,T0+pi/2]", - 2:"$exp(-0.5((T-T0)/s)^2)$, T dans [T0-pi/2,T0+pi/2]", - 3:"$cos{^2s}((T-T0)/2)$ (de type Mitsuyasu)", - 4:"Formule de Goda permettant une dependance en frequence ", - }, -'SETTING_FOR_INTEGRATION_ON_OMEGA1' : { - 1:"moyen", - 2:"fin", - 3:"grossier", - }, -'SETTING_FOR_INTEGRATION_ON_THETA1' : { - 3:"grossier", - 4:"moyen", - 8:"fin", - }, -'SETTING_FOR_INTEGRATION_ON_OMEGA2' : { - 6:"grossier", - 8:"moyen", - 12:"fin", - }, -'DIFFRACTION' : { - 0:"Pas de prise en compte de la diffraction", - 1:"Mild Slope Equation de Berkhoff (1972)", - 2:"Revised Mild Slope Equation de Porter (2003)", - }, -'BAJ_MODELING' : { - 0:"Modelisation classique", - 1:"Modelisation BAJ", - }, -'VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS' : { - 'M0':"variance totale (m2)", - 'HM0':"Hauteur significative spectrale (m)", - 'DMOY':"Direction moyenne de houle (deg)", - 'SPD':"Etalement directionnel moyen (deg)", - 'ZF':"Cote du fond (m)", - 'WD':"Hauteur d eau (m)", - 'UX':"Courant suivant X (m/s)", - 'UY':"Courant suivant Y (m/s)", - 'VX':"Vent suivant X (m/s)", - 'VY':"Vent suivant Y (m/s)", - 'FX':"Force motrice suivant X (m/s2)", - 'FY':"Force motrice suivant Y (m/s2)", - 'SXX':"Contrainte de radiation suivant xx (m3/s2)", - 'SYY':"Contrainte de radiation suivant yy (m3/s2)", - 'SXY':"Contrainte de radiation suivant xy (m3/s2)", - 'UWB':"Vitesse orbitale au fond (m/s)", - 'POW':"Puissance lineique de houle (par metre de crete) (kW/m)", - 'FMOY':"Frequence moyenne FMOY (Hz)", - 'FM01':"Frequence moyenne FM01 (Hz)", - 'FM02':"Frequence moyenne FM02 (Hz)", - 'FPD':"Frequence de pic discrete (Hz)", - 'FPR5':"Frequence de pic de Read ordre 5 (Hz)", - 'FPR8':"Frequence de pic de Read ordre 8 (Hz)", - 'US':"Vitesse de frottement en surface u* (m/s)", - 'CD':"Coefficient de trainee en surface CD (-)", - 'Z0':"Longueur de rugosite en surface Z0 (m)", - 'WS':"Contrainte de houle en surface (kg/(m.s2))", - 'TMOY':"Periode moyenne Tmoy (s)", - 'TM01':"Periode moyenne Tm01 (s)", - 'TM02':"Periode moyenne Tm02 (s)", - 'TPD':"Periode de pic discrete (s)", - 'TPR5':"Periode de pic de Read ordre 5 (s)", - 'TPR8':"Periode de pic de Read ordre 8 (s)", - 'PRI':"tableau prive (?)", - 'BETA':"coefficient de deferlement (-)", - }, -} - -DicoCasFrToCata = { - "PERIODE POUR LES SORTIES LISTING":"PERIOD_FOR_LISTING_PRINTOUTS", - "NOMBRE DE PAS DE TEMPS":"NUMBER_OF_TIME_STEP", - "NOMBRE DE DIRECTIONS":"NUMBER_OF_DIRECTIONS", - "NOMBRE DE FREQUENCES":"NUMBER_OF_FREQUENCIES", - "APPORTS DUS AU VENT":"WIND_GENERATION", - "DISSIPATION PAR MOUTONNEMENT":"WHITE_CAPPING_DISSIPATION", - "DISSIPATION PAR FROTTEMENT SUR LE FOND":"BOTTOM_FRICTION_DISSIPATION", - "TRANSFERTS NON LINEAIRES INTER-FREQUENCES":"NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES", - "FORMAT DU FICHIER DES COURANTS":"CURRENTS_FILE_FORMAT", - "FORMAT DU FICHIER DES VENTS":"WINDS_FILE_FORMAT", - "NOMBRE DE SOUS-ITERATIONS POUR LES TERMES SOURCES":"NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS", - "TYPE DE SPECTRE DIRECTIONNEL INITIAL":"TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM", - "DISSIPATION PAR FORT COURANT":"DISSIPATION_BY_STRONG_CURRENT", - "NUMERO DU PAS DE TEMPS DU FICHIER TELEMAC":"TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE", - "LONGUEUR DU VECTEUR":"VECTOR_LENGTH", - "DISSIPATION PAR DEFERLEMENT":"DEPTH_INDUCED_BREAKING_DISSIPATION", - "DEFERLEMENT 1 (BJ) MODE DE CALCUL DE QB":"DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD", - "DEFERLEMENT 1 (BJ) MODE DE CALCUL DE HM":"DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD", - "DEFERLEMENT 1 (BJ) CHOIX FREQUENCE CARACTERISTIQUE":"DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY", - "DEFERLEMENT 2 (TG) FONCTION DE PONDERATION":"DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION", - "DEFERLEMENT 2 (TG) CHOIX FREQUENCE CARACTERISTIQUE":"DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY", - "DEFERLEMENT 3 (RO) DISTRIBUTION DES HAUTEURS DE HOULE":"DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION", - "DEFERLEMENT 3 (RO) EXPOSANT FONCTION DE PONDERATION":"DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION", - "DEFERLEMENT 3 (RO) CHOIX FREQUENCE CARACTERISTIQUE":"DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY", - "DEFERLEMENT 4 (IH) CHOIX FREQUENCE CARACTERISTIQUE":"DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY", - "NOMBRE DE SOUS-PAS DE TEMPS POUR LE DEFERLEMENT":"NUMBER_OF_BREAKING_TIME_STEPS", - "LIMITEUR DE CROISSANCE":"WAVE_GROWTH_LIMITER", - "CROISSANCE LINEAIRE DES VAGUES":"LINEAR_WAVE_GROWTH", - "TRANSFERTS ENTRE TRIPLETS DE FREQUENCES":"TRIAD_INTERACTIONS", - "TYPE DE SPECTRE DIRECTIONNEL AUX LIMITES":"TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM", - "PERIODE D'ACTUALISATION DE LA MAREE":"TIDE_REFRESHING_PERIOD", - "FORMAT DU FICHIER DU NIVEAU DE LA MAREE":"TIDAL_WATER_LEVEL_FILE_FORMAT", - "RANG DU NIVEAU DE LA MAREE DANS LE FICHIER TELEMAC":"RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE", - "FONCTION DE REPARTITION ANGULAIRE INITIALE":"INITIAL_ANGULAR_DISTRIBUTION_FUNCTION", - "NOMBRE DE TABLEAUX PRIVES":"NUMBER_OF_PRIVATE_ARRAYS", - "FONCTION DE REPARTITION ANGULAIRE AUX LIMITES":"BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION", - "COORDONNEES DE L'ORIGINE":"ORIGIN_COORDINATES", - "DEBUGGER":"DEBUGGER", - "REGLAGE POUR INTEGRATION SUR OMEGA1":"SETTING_FOR_INTEGRATION_ON_OMEGA1", - "REGLAGE POUR INTEGRATION SUR THETA1":"SETTING_FOR_INTEGRATION_ON_THETA1", - "REGLAGE POUR INTEGRATION SUR OMEGA2":"SETTING_FOR_INTEGRATION_ON_OMEGA2", - "DIFFRACTION":"DIFFRACTION", - "PAS DE TEMPS DEBUT DIFFRACTION":"STARTING_TIME_STEP_FOR_DIFFRACTION", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "ASSEMBLAGE EN ELEMENTS FINIS":"FINITE_ELEMENT_ASSEMBLY", - "MODELISATION BAJ":"BAJ_MODELING", - "PAS DE TEMPS":"TIME_STEP", - "FREQUENCE MINIMALE":"MINIMAL_FREQUENCY", - "RAISON FREQUENTIELLE":"FREQUENTIAL_RATIO", - "DATE DE DEBUT DU CALCUL":"DATE_OF_COMPUTATION_BEGINNING", - "COEFFICIENT DE FROTTEMENT SUR LE FOND":"BOTTOM_FRICTION_COEFFICIENT", - "COEFFICIENT DE DISSIPATION PAR MOUTONNEMENT":"WHITE_CAPPING_DISSIPATION_COEFFICIENT", - "COEFFICIENT DE PONDERATION POUR LE MOUTONNEMENT":"WHITE_CAPPING_WEIGHTING_COEFFICIENT", - "DENSITE DE L'AIR":"AIR_DENSITY", - "DENSITE DE L'EAU":"WATER_DENSITY", - "COEFFICIENT DE GENERATION PAR LE VENT":"WIND_GENERATION_COEFFICIENT", - "CONSTANTE DE VON KARMAN":"VON_KARMAN_CONSTANT", - "CONSTANTE DE CHARNOCK":"CHARNOCK_CONSTANT", - "DECALAGE COURBE DE CROISSANCE DUE AU VENT":"SHIFT_GROWING_CURVE_DUE_TO_WIND", - "COTE DE MESURE DES VENTS":"WIND_MEASUREMENTS_LEVEL", - "COEFFICIENT DE TRAINEE DE VENT":"WIND_DRAG_COEFFICIENT", - "HAUTEUR SIGNIFICATIVE INITIALE":"INITIAL_SIGNIFICANT_WAVE_HEIGHT", - "FREQUENCE DE PIC INITIALE":"INITIAL_PEAK_FREQUENCY", - "FACTEUR DE PIC INITIAL":"INITIAL_PEAK_FACTOR", - "VALEUR INITIALE DE SIGMA-A POUR SPECTRE":"INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM", - "VALEUR INITIALE DE SIGMA-B POUR SPECTRE":"INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM", - "CONSTANTE DE PHILLIPS INITIALE":"INITIAL_PHILLIPS_CONSTANT", - "VALEUR MOYENNE DU FETCH INITIAL":"INITIAL_MEAN_FETCH_VALUE", - "FREQUENCE DE PIC MAXIMALE INITIALE":"INITIAL_MAXIMUM_PEAK_FREQUENCY", - "DIRECTION PRINCIPALE 1 INITIALE":"INITIAL_MAIN_DIRECTION_1", - "ETALEMENT DIRECTIONNEL 1 INITIAL":"INITIAL_DIRECTIONAL_SPREAD_1", - "DIRECTION PRINCIPALE 2 INITIALE":"INITIAL_MAIN_DIRECTION_2", - "ETALEMENT DIRECTIONNEL 2 INITIAL":"INITIAL_DIRECTIONAL_SPREAD_2", - "FACTEUR DE PONDERATION POUR FRA INITIALE":"INITIAL_WEIGHTING_FACTOR_FOR_ADF", - "COEFFICIENT DE GODA POUR LOI DE REPARTITION ANGULAIR":"GODA_COEFFICIENT_FOR_ANGULAR_SPEADING", - "FACTEUR DE QUEUE DU SPECTRE":"SPECTRUM_TAIL_FACTOR", - "SEUIL D'ENERGIE CONSIDERE POUR LE SPECTRE":"SPECTRUM_ENERGY_THRESHOLD", - "DEFERLEMENT 1 (BJ) CONSTANTE ALPHA":"DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA", - "DEFERLEMENT 1 (BJ) CONSTANTE GAMMA1":"DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1", - "DEFERLEMENT 1 (BJ) CONSTANTE GAMMA2":"DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2", - "DEFERLEMENT 2 (TG) CONSTANTE B":"DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B", - "DEFERLEMENT 2 (TG) CONSTANTE GAMMA":"DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA", - "DEFERLEMENT 3 (RO) CONSTANTE ALPHA":"DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA", - "DEFERLEMENT 3 (RO) CONSTANTE GAMMA":"DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA", - "DEFERLEMENT 3 (RO) CONSTANTE GAMMA2":"DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2", - "DEFERLEMENT 4 (IH) CONSTANTE BETA0":"DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0", - "DEFERLEMENT 4 (IH) CONSTANTE M2STAR":"DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR", - "VALEUR MAXIMALE DU RAPPORT HM0 SUR D":"MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D", - "COEFFICIENT POUR LES SOUS-PAS DE TEMPS POUR LE DEFERLEMENT":"COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING", - "PARAMETRE DE LA CONFIGURATION STANDARD":"STANDARD_CONFIGURATION_PARAMETER", - "COTE INITIALE DU PLAN D'EAU AU REPOS":"INITIAL_STILL_WATER_LEVEL", - "TRIADS 1 (LTA) CONSTANTE ALPHA":"TRIADS_1__LTA__COEFFICIENT_ALPHA", - "TRIADS 1 (LTA) CONSTANTE RFMLTA":"TRIADS_1__LTA__COEFFICIENT_RFMLTA", - "TRIADS 2 (SPB) CONSTANTE K":"TRIADS_2__SPB__COEFFICIENT_K", - "TRIADS 2 (SPB) BORNE DIRECTIONNELLE INFERIEURE":"TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY", - "TRIADS 2 (SPB) BORNE DIRECTIONNELLE SUPERIEURE":"TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY", - "HAUTEUR SIGNIFICATIVE AUX LIMITES":"BOUNDARY_SIGNIFICANT_WAVE_HEIGHT", - "FREQUENCE DE PIC AUX LIMITES":"BOUNDARY_PEAK_FREQUENCY", - "VALEUR AUX LIMITES DE SIGMA-A POUR SPECTRE":"BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A", - "VALEUR AUX LIMITES DE SIGMA-B POUR SPECTRE":"BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B", - "CONSTANTE DE PHILLIPS AUX LIMITES":"BOUNDARY_PHILLIPS_CONSTANT", - "VALEUR MOYENNE DU FETCH AUX LIMITES":"BOUNDARY_MEAN_FETCH_VALUE", - "FREQUENCE DE PIC MAXIMALE AUX LIMITES":"BOUNDARY_MAXIMUM_PEAK_FREQUENCY", - "DIRECTION PRINCIPALE 1 AUX LIMITES":"BOUNDARY_MAIN_DIRECTION_1", - "ETALEMENT DIRECTIONNEL 1 AUX LIMITES":"BOUNDARY_DIRECTIONAL_SPREAD_1", - "DIRECTION PRINCIPALE 2 AUX LIMITES":"BOUNDARY_MAIN_DIRECTION_2", - "ETALEMENT DIRECTIONNEL 2 AUX LIMITES":"BOUNDARY_DIRECTIONAL_SPREAD_2", - "FACTEUR DE PONDERATION POUR FRA AUX LIMITES":"BOUNDARY_WEIGHTING_FACTOR_FOR_ADF", - "FACTEUR DE PIC AUX LIMITES":"BOUNDARY_PEAK_FACTOR", - "PROFONDEUR D'EAU MINIMALE":"MINIMUM_WATER_DEPTH", - "VITESSE DU VENT SUIVANT X":"WIND_VELOCITY_ALONG_X", - "VITESSE DU VENT SUIVANT Y":"WIND_VELOCITY_ALONG_Y", - "COEFFICIENT IMPLICITATION POUR TERMES SOURCES":"IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS", - "COEFFICIENT DE GENERATION DE YAN D":"YAN_GENERATION_COEFFICIENT_D", - "COEFFICIENT DE GENERATION DE YAN E":"YAN_GENERATION_COEFFICIENT_E", - "COEFFICIENT DE GENERATION DE YAN F":"YAN_GENERATION_COEFFICIENT_F", - "COEFFICIENT DE GENERATION DE YAN H":"YAN_GENERATION_COEFFICIENT_H", - "COEFFICIENT DE DISSIPATION DE WESTHUYSEN":"WESTHUYSEN_DISSIPATION_COEFFICIENT", - "SEUIL DE SATURATION POUR LA DISSIPATION":"SATURATION_THRESHOLD_FOR_THE_DISSIPATION", - "DISSIPATION PAR MOUTONNEMENT DE WESTHUYSEN":"WESTHUYSEN_WHITE_CAPPING_DISSIPATION", - "COEFFICIENT DE PONDERATION DE WESTHUYSEN":"WESTHUYSEN_WEIGHTING_COEFFICIENT", - "SEUIL0 ELIMINATION DE CONFIGURATIONS":"THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION", - "SEUIL1 ELIMINATION DE CONFIGURATIONS":"THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION", - "SEUIL2 ELIMINATION DE CONFIGURATIONS":"THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION", - "SEUIL DE VARIANCE CONSIDEREE POUR DIFFRACTION":"VARIANCE_THRESHOLD_FOR_DIFFRACTION", - "UNITE DE TEMPS DU FICHIER DES COURANTS":"TIME_UNIT_IN_CURRENTS_FILE", - "UNITE DE TEMPS DU FICHIER DU NIVEAU DE LA MAREE":"TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE", - "UNITE DE TEMPS DU FICHIER DES VENTS":"TIME_UNIT_IN_WINDS_FILE", - "DEPHASAGE DU FICHIER DES COURANTS":"TIME_SHIFT_IN_CURRENTS_FILE", - "DEPHASAGE DU FICHIER DU NIVEAU DE LA MAREE":"TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE", - "DEPHASAGE DU FICHIER DES VENTS":"TIME_SHIFT_IN_WINDS_FILE", - "COEFFICIENT DE DISSIPATION PAR FORT COURANT":"DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT", - "TITRE":"TITLE", - "VARIABLES POUR LES SORTIES GRAPHIQUES 2D":"VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER DES FONDS":"BOTTOM_TOPOGRAPHY_FILE", - "LISSAGES DU FOND":"BOTTOM_SMOOTHINGS", - "PERIODE POUR LES SORTIES GRAPHIQUES":"PERIOD_FOR_GRAPHIC_PRINTOUTS", - "NUMERO DE LA PREMIERE ITERATION POUR LES SORTIES GRAPHIQUES":"NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS", - "FICHIER DES RESULTATS 2D":"ED_RESULTS_FILE", - "FORMAT DU FICHIER DES RESULTATS 2D":"ED_RESULTS_FILE_FORMAT", - "FICHIER DES RESULTATS PONCTUELS":"PUNCTUAL_RESULTS_FILE", - "FORMAT DU FICHIER DE SPECTRE":"SPECTRUM_FILE_FORMAT", - "ABSCISSES DES POINTS DE SORTIE DU SPECTRE":"ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS", - "ORDONNEES DES POINTS DE SORTIE DU SPECTRE":"ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS", - "SUITE DE CALCUL":"NEXT_COMPUTATION", - "FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE", - "FORMAT DU FICHIER DU CALCUL PRECEDENT":"PREVIOUS_COMPUTATION_FILE_FORMAT", - "FICHIER DES COURANTS BINAIRE":"BINARY_CURRENTS_FILE", - "FICHIER DES COURANTS FORMATE":"FORMATTED_CURRENTS_FILE", - "FICHIER DES VENTS BINAIRE":"BINARY_WINDS_FILE", - "FORMAT DU FICHIER DES VENTS BINAIRE":"BINARY_WINDS_FILE_FORMAT", - "FICHIER DES VENTS FORMATE":"FORMATTED_WINDS_FILE", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FICHIER DU NIVEAU DE LA MAREE BINAIRE":"BINARY_TIDAL_WATER_LEVEL_FILE", - "FORMAT DU FICHIER DE LA MAREE BINAIRE":"BINARY_TIDAL_WATER_FILE_FORMAT", - "FICHIER DU NIVEAU DE LA MAREE FORMATE":"FORMATTED_TIDAL_WATER_LEVEL_FILE", - "FORMAT DU FICHIER DES COURANTS BINAIRE":"BINARY_CURRENTS_FILE_FORMAT", - "NOMS DES VARIABLES":"NAMES_OF_VARIABLES", - "OPTION POUR LA QUEUE DIAGNOSTIQUE":"OPTION_FOR_DIAGNOSTIC_TAIL", - "OPTION POUR LES DERIVEES SECONDES":"OPTION_FOR_SECOND_DERIVATIVES", - "FICHIER DES RESULTATS SPECTRES 1D":"ZD_SPECTRA_RESULTS_FILE", - "FICHIER DES RESULTATS GLOBAUX":"GLOBAL_RESULT_FILE", - "FORMAT DU FICHIER DES RESULTATS GLOBAUX":"GLOBAL_RESULT_FILE_FORMAT", - "FICHIER BINAIRE 1":"BINARY_FILE_1", - "FORMAT DU FICHIER DE DONNEES BINAIRE 1":"BINARY_DATA_FILE_1_FORMAT", - "FICHIER FORMATE 1":"FORMATTED_FILE_1", - "DICTIONNAIRE":"DICTIONARY", - "PARTITIONNEUR":"PARTITIONING_TOOL", - "PRISE EN COMPTE DES TERMES SOURCES":"CONSIDERATION_OF_SOURCE_TERMS", - "COORDONNEES SPHERIQUES":"SPHERICAL_COORDINATES", - "PROFONDEUR INFINIE":"INFINITE_DEPTH", - "PRISE EN COMPTE D'UN COURANT STATIONNAIRE":"CONSIDERATION_OF_A_STATIONARY_CURRENT", - "PRISE EN COMPTE DU VENT":"CONSIDERATION_OF_A_WIND", - "RECUPERATION DE DONNEE TELEMAC":"RECOVERY_OF_TELEMAC_DATA_ITEM", - "PRISE EN COMPTE DE LA PROPAGATION":"CONSIDERATION_OF_PROPAGATION", - "VENT STATIONNAIRE":"STATIONARY_WIND", - "VALIDATION":"VALIDATION", - "PRISE EN COMPTE DE LA MAREE":"CONSIDERATION_OF_TIDE", - "CONVENTION TRIGONOMETRIQUE":"TRIGONOMETRICAL_CONVENTION", - "SPECTRE AUX LIMITES MODIFIE PAR L'UTILISATEUR":"LIMIT_SPECTRUM_MODIFIED_BY_USER", - "FILTRE POUR DIFFRACTION":"DIFFRACTION_FILTER", - "REMISE A ZERO DU TEMPS":"INITIAL_TIME_SET_TO_ZERO", - "PRISE EN COMPTE DE LA VEGETATION":"VEGETATION_TAKEN_INTO_ACCOUNT", - "MILIEU POREUX":"POROUS_MEDIA", - "VERIFICATION DU MAILLAGE":"CHECKING_THE_MESH", - "FICHIER DES COORDONNEES DE SPECTRES A ECRIRE":"FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE", - "FICHIER DES COORDONNEES DE SPECTRES A IMPOSER":"FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE", - "FICHIER DES SPECTRES IMPOSES":"IMPOSED_SPECTRA_FILE", - "FORMAT DU FICHIER DES SPECTRES IMPOSES":"IMPOSED_SPECTRA_FILE_FORMAT", - "UNITE DE TEMPS DU FICHIER DES SPECTRES IMPOSES":"TIME_UNIT_OF_IMPOSED_SPECTRA_FILE", - "DEPHASAGE DU FICHIER DES SPECTRES IMPOSES":"TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE", - "PRISE EN COMPTE DES TERMES SOURCES SUR LES FRONTIERES IMPOSEES":"TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES", - "CONDITION LIMITE AVANT LE PAS DE TEMPS":"BOUNDARY_CONDITION_BEFORE_TIME_STEP", - "ECRETAGE POUR HAUTEUR PETITE":"ECRET_FOR_SMALL_HEIGHT", - "CONCATENATION SORTIE PARTEL":"CONCATENATE_PARTEL_OUTPUT", -} - -DicoCasEnToCata = { - 'PERIOD FOR LISTING PRINTOUTS':'PERIOD_FOR_LISTING_PRINTOUTS', - 'NUMBER OF TIME STEP':'NUMBER_OF_TIME_STEP', - 'NUMBER OF DIRECTIONS':'NUMBER_OF_DIRECTIONS', - 'NUMBER OF FREQUENCIES':'NUMBER_OF_FREQUENCIES', - 'WIND GENERATION':'WIND_GENERATION', - 'WHITE CAPPING DISSIPATION':'WHITE_CAPPING_DISSIPATION', - 'BOTTOM FRICTION DISSIPATION':'BOTTOM_FRICTION_DISSIPATION', - 'NON-LINEAR TRANSFERS BETWEEN FREQUENCIES':'NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES', - 'CURRENTS FILE FORMAT':'CURRENTS_FILE_FORMAT', - 'WINDS FILE FORMAT':'WINDS_FILE_FORMAT', - 'NUMBER OF ITERATIONS FOR THE SOURCE TERMS':'NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS', - 'TYPE OF INITIAL DIRECTIONAL SPECTRUM':'TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM', - 'DISSIPATION BY STRONG CURRENT':'DISSIPATION_BY_STRONG_CURRENT', - 'TIME INCREMENT NUMBER IN TELEMAC FILE':'TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE', - 'VECTOR LENGTH':'VECTOR_LENGTH', - 'DEPTH-INDUCED BREAKING DISSIPATION':'DEPTH_INDUCED_BREAKING_DISSIPATION', - 'DEPTH-INDUCED BREAKING 1 (BJ) QB COMPUTATION METHOD':'DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD', - 'DEPTH-INDUCED BREAKING 1 (BJ) HM COMPUTATION METHOD':'DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD', - 'DEPTH-INDUCED BREAKING 1 (BJ) CHARACTERISTIC FREQUENCY':'DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY', - 'DEPTH-INDUCED BREAKING 2 (TG) WEIGHTING FUNCTION':'DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION', - 'DEPTH-INDUCED BREAKING 2 (TG) CHARACTERISTIC FREQUENCY':'DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY', - 'DEPTH-INDUCED BREAKING 3 (RO) WAVE HEIGHT DISTRIBUTION':'DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION', - 'DEPTH-INDUCED BREAKING 3 (RO) EXPONENT WEIGHTING FUNCTION':'DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION', - 'DEPTH-INDUCED BREAKING 3 (RO) CHARACTERISTIC FREQUENCY':'DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY', - 'DEPTH-INDUCED BREAKING 4 (IH) CHARACTERISTIC FREQUENCY':'DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY', - 'NUMBER OF BREAKING TIME STEPS':'NUMBER_OF_BREAKING_TIME_STEPS', - 'WAVE GROWTH LIMITER':'WAVE_GROWTH_LIMITER', - 'LINEAR WAVE GROWTH':'LINEAR_WAVE_GROWTH', - 'TRIAD INTERACTIONS':'TRIAD_INTERACTIONS', - 'TYPE OF BOUNDARY DIRECTIONAL SPECTRUM':'TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM', - 'TIDE REFRESHING PERIOD':'TIDE_REFRESHING_PERIOD', - 'TIDAL WATER LEVEL FILE FORMAT':'TIDAL_WATER_LEVEL_FILE_FORMAT', - 'RANK OF THE WATER LEVEL DATA IN THE TELEMAC FILE':'RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE', - 'INITIAL ANGULAR DISTRIBUTION FUNCTION':'INITIAL_ANGULAR_DISTRIBUTION_FUNCTION', - 'NUMBER OF PRIVATE ARRAYS':'NUMBER_OF_PRIVATE_ARRAYS', - 'BOUNDARY ANGULAR DISTRIBUTION FUNCTION':'BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION', - 'ORIGIN COORDINATES':'ORIGIN_COORDINATES', - 'DEBUGGER':'DEBUGGER', - 'SETTING FOR INTEGRATION ON OMEGA1':'SETTING_FOR_INTEGRATION_ON_OMEGA1', - 'SETTING FOR INTEGRATION ON THETA1':'SETTING_FOR_INTEGRATION_ON_THETA1', - 'SETTING FOR INTEGRATION ON OMEGA2':'SETTING_FOR_INTEGRATION_ON_OMEGA2', - 'DIFFRACTION':'DIFFRACTION', - 'STARTING TIME STEP FOR DIFFRACTION':'STARTING_TIME_STEP_FOR_DIFFRACTION', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'FINITE ELEMENT ASSEMBLY':'FINITE_ELEMENT_ASSEMBLY', - 'BAJ MODELING':'BAJ_MODELING', - 'TIME STEP':'TIME_STEP', - 'MINIMAL FREQUENCY':'MINIMAL_FREQUENCY', - 'FREQUENTIAL RATIO':'FREQUENTIAL_RATIO', - 'DATE OF COMPUTATION BEGINNING':'DATE_OF_COMPUTATION_BEGINNING', - 'BOTTOM FRICTION COEFFICIENT':'BOTTOM_FRICTION_COEFFICIENT', - 'WHITE CAPPING DISSIPATION COEFFICIENT':'WHITE_CAPPING_DISSIPATION_COEFFICIENT', - 'WHITE CAPPING WEIGHTING COEFFICIENT':'WHITE_CAPPING_WEIGHTING_COEFFICIENT', - 'AIR DENSITY':'AIR_DENSITY', - 'WATER DENSITY':'WATER_DENSITY', - 'WIND GENERATION COEFFICIENT':'WIND_GENERATION_COEFFICIENT', - 'VON KARMAN CONSTANT':'VON_KARMAN_CONSTANT', - 'CHARNOCK CONSTANT':'CHARNOCK_CONSTANT', - 'SHIFT GROWING CURVE DUE TO WIND':'SHIFT_GROWING_CURVE_DUE_TO_WIND', - 'WIND MEASUREMENTS LEVEL':'WIND_MEASUREMENTS_LEVEL', - 'WIND DRAG COEFFICIENT':'WIND_DRAG_COEFFICIENT', - 'INITIAL SIGNIFICANT WAVE HEIGHT':'INITIAL_SIGNIFICANT_WAVE_HEIGHT', - 'INITIAL PEAK FREQUENCY':'INITIAL_PEAK_FREQUENCY', - 'INITIAL PEAK FACTOR':'INITIAL_PEAK_FACTOR', - 'INITIAL VALUE OF SIGMA-A FOR SPECTRUM':'INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM', - 'INITIAL VALUE OF SIGMA-B FOR SPECTRUM':'INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM', - 'INITIAL PHILLIPS CONSTANT':'INITIAL_PHILLIPS_CONSTANT', - 'INITIAL MEAN FETCH VALUE':'INITIAL_MEAN_FETCH_VALUE', - 'INITIAL MAXIMUM PEAK FREQUENCY':'INITIAL_MAXIMUM_PEAK_FREQUENCY', - 'INITIAL MAIN DIRECTION 1':'INITIAL_MAIN_DIRECTION_1', - 'INITIAL DIRECTIONAL SPREAD 1':'INITIAL_DIRECTIONAL_SPREAD_1', - 'INITIAL MAIN DIRECTION 2':'INITIAL_MAIN_DIRECTION_2', - 'INITIAL DIRECTIONAL SPREAD 2':'INITIAL_DIRECTIONAL_SPREAD_2', - 'INITIAL WEIGHTING FACTOR FOR ADF':'INITIAL_WEIGHTING_FACTOR_FOR_ADF', - 'GODA COEFFICIENT FOR ANGULAR SPEADING':'GODA_COEFFICIENT_FOR_ANGULAR_SPEADING', - 'SPECTRUM TAIL FACTOR':'SPECTRUM_TAIL_FACTOR', - 'SPECTRUM ENERGY THRESHOLD':'SPECTRUM_ENERGY_THRESHOLD', - 'DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT ALPHA':'DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA', - 'DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA1':'DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1', - 'DEPTH-INDUCED BREAKING 1 (BJ) COEFFICIENT GAMMA2':'DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2', - 'DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT B':'DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B', - 'DEPTH-INDUCED BREAKING 2 (TG) COEFFICIENT GAMMA':'DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA', - 'DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT ALPHA':'DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA', - 'DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA':'DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA', - 'DEPTH-INDUCED BREAKING 3 (RO) COEFFICIENT GAMMA2':'DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2', - 'DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT BETA0':'DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0', - 'DEPTH-INDUCED BREAKING 4 (IH) COEFFICIENT M2STAR':'DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR', - 'MAXIMUM VALUE OF THE RATIO HM0 ON D':'MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D', - 'COEFFICIENT OF THE TIME SUB-INCREMENTS FOR BREAKING':'COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING', - 'STANDARD CONFIGURATION PARAMETER':'STANDARD_CONFIGURATION_PARAMETER', - 'INITIAL STILL WATER LEVEL':'INITIAL_STILL_WATER_LEVEL', - 'TRIADS 1 (LTA) COEFFICIENT ALPHA':'TRIADS_1__LTA__COEFFICIENT_ALPHA', - 'TRIADS 1 (LTA) COEFFICIENT RFMLTA':'TRIADS_1__LTA__COEFFICIENT_RFMLTA', - 'TRIADS 2 (SPB) COEFFICIENT K':'TRIADS_2__SPB__COEFFICIENT_K', - 'TRIADS 2 (SPB) LOWER DIRECTIONAL BOUNDARY':'TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY', - 'TRIADS 2 (SPB) UPPER DIRECTIONAL BOUNDARY':'TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY', - 'BOUNDARY SIGNIFICANT WAVE HEIGHT':'BOUNDARY_SIGNIFICANT_WAVE_HEIGHT', - 'BOUNDARY PEAK FREQUENCY':'BOUNDARY_PEAK_FREQUENCY', - 'BOUNDARY SPECTRUM VALUE OF SIGMA-A':'BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A', - 'BOUNDARY SPECTRUM VALUE OF SIGMA-B':'BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B', - 'BOUNDARY PHILLIPS CONSTANT':'BOUNDARY_PHILLIPS_CONSTANT', - 'BOUNDARY MEAN FETCH VALUE':'BOUNDARY_MEAN_FETCH_VALUE', - 'BOUNDARY MAXIMUM PEAK FREQUENCY':'BOUNDARY_MAXIMUM_PEAK_FREQUENCY', - 'BOUNDARY MAIN DIRECTION 1':'BOUNDARY_MAIN_DIRECTION_1', - 'BOUNDARY DIRECTIONAL SPREAD 1':'BOUNDARY_DIRECTIONAL_SPREAD_1', - 'BOUNDARY MAIN DIRECTION 2':'BOUNDARY_MAIN_DIRECTION_2', - 'BOUNDARY DIRECTIONAL SPREAD 2':'BOUNDARY_DIRECTIONAL_SPREAD_2', - 'BOUNDARY WEIGHTING FACTOR FOR ADF':'BOUNDARY_WEIGHTING_FACTOR_FOR_ADF', - 'BOUNDARY PEAK FACTOR':'BOUNDARY_PEAK_FACTOR', - 'MINIMUM WATER DEPTH':'MINIMUM_WATER_DEPTH', - 'WIND VELOCITY ALONG X':'WIND_VELOCITY_ALONG_X', - 'WIND VELOCITY ALONG Y':'WIND_VELOCITY_ALONG_Y', - 'IMPLICITATION COEFFICIENT FOR SOURCE TERMS':'IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS', - 'YAN GENERATION COEFFICIENT D':'YAN_GENERATION_COEFFICIENT_D', - 'YAN GENERATION COEFFICIENT E':'YAN_GENERATION_COEFFICIENT_E', - 'YAN GENERATION COEFFICIENT F':'YAN_GENERATION_COEFFICIENT_F', - 'YAN GENERATION COEFFICIENT H':'YAN_GENERATION_COEFFICIENT_H', - 'WESTHUYSEN DISSIPATION COEFFICIENT':'WESTHUYSEN_DISSIPATION_COEFFICIENT', - 'SATURATION THRESHOLD FOR THE DISSIPATION':'SATURATION_THRESHOLD_FOR_THE_DISSIPATION', - 'WESTHUYSEN WHITE CAPPING DISSIPATION':'WESTHUYSEN_WHITE_CAPPING_DISSIPATION', - 'WESTHUYSEN WEIGHTING COEFFICIENT':'WESTHUYSEN_WEIGHTING_COEFFICIENT', - 'THRESHOLD0 FOR CONFIGURATIONS ELIMINATION':'THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION', - 'THRESHOLD1 FOR CONFIGURATIONS ELIMINATION':'THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION', - 'THRESHOLD2 FOR CONFIGURATIONS ELIMINATION':'THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION', - 'VARIANCE THRESHOLD FOR DIFFRACTION':'VARIANCE_THRESHOLD_FOR_DIFFRACTION', - 'TIME UNIT IN CURRENTS FILE':'TIME_UNIT_IN_CURRENTS_FILE', - 'TIME UNIT IN TIDAL WATER LEVEL FILE':'TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE', - 'TIME UNIT IN WINDS FILE':'TIME_UNIT_IN_WINDS_FILE', - 'TIME SHIFT IN CURRENTS FILE':'TIME_SHIFT_IN_CURRENTS_FILE', - 'TIME SHIFT IN TIDAL WATER LEVEL FILE':'TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE', - 'TIME SHIFT IN WINDS FILE':'TIME_SHIFT_IN_WINDS_FILE', - 'DISSIPATION COEFFICIENT FOR STRONG CURRENT':'DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT', - 'TITLE':'TITLE', - 'VARIABLES FOR 2D GRAPHIC PRINTOUTS':'VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'FORTRAN FILE':'FORTRAN_FILE', - 'STEERING FILE':'STEERING_FILE', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'BOTTOM TOPOGRAPHY FILE':'BOTTOM_TOPOGRAPHY_FILE', - 'BOTTOM SMOOTHINGS':'BOTTOM_SMOOTHINGS', - 'PERIOD FOR GRAPHIC PRINTOUTS':'PERIOD_FOR_GRAPHIC_PRINTOUTS', - 'NUMBER OF FIRST ITERATION FOR GRAPHICS PRINTOUTS':'NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS', - '2D RESULTS FILE':'ED_RESULTS_FILE', - '2D RESULTS FILE FORMAT':'ED_RESULTS_FILE_FORMAT', - 'PUNCTUAL RESULTS FILE':'PUNCTUAL_RESULTS_FILE', - 'SPECTRUM FILE FORMAT':'SPECTRUM_FILE_FORMAT', - 'ABSCISSAE OF SPECTRUM PRINTOUT POINTS':'ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS', - 'ORDINATES OF SPECTRUM PRINTOUT POINTS':'ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS', - 'NEXT COMPUTATION':'NEXT_COMPUTATION', - 'PREVIOUS COMPUTATION FILE':'PREVIOUS_COMPUTATION_FILE', - 'PREVIOUS COMPUTATION FILE FORMAT':'PREVIOUS_COMPUTATION_FILE_FORMAT', - 'BINARY CURRENTS FILE':'BINARY_CURRENTS_FILE', - 'FORMATTED CURRENTS FILE':'FORMATTED_CURRENTS_FILE', - 'BINARY WINDS FILE':'BINARY_WINDS_FILE', - 'BINARY WINDS FILE FORMAT':'BINARY_WINDS_FILE_FORMAT', - 'FORMATTED WINDS FILE':'FORMATTED_WINDS_FILE', - 'REFERENCE FILE':'REFERENCE_FILE', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'BINARY TIDAL WATER LEVEL FILE':'BINARY_TIDAL_WATER_LEVEL_FILE', - 'BINARY TIDAL WATER FILE FORMAT':'BINARY_TIDAL_WATER_FILE_FORMAT', - 'FORMATTED TIDAL WATER LEVEL FILE':'FORMATTED_TIDAL_WATER_LEVEL_FILE', - 'BINARY CURRENTS FILE FORMAT':'BINARY_CURRENTS_FILE_FORMAT', - 'NAMES OF VARIABLES':'NAMES_OF_VARIABLES', - 'OPTION FOR DIAGNOSTIC TAIL':'OPTION_FOR_DIAGNOSTIC_TAIL', - 'OPTION FOR SECOND DERIVATIVES':'OPTION_FOR_SECOND_DERIVATIVES', - '1D SPECTRA RESULTS FILE':'ZD_SPECTRA_RESULTS_FILE', - 'GLOBAL RESULT FILE':'GLOBAL_RESULT_FILE', - 'GLOBAL RESULT FILE FORMAT':'GLOBAL_RESULT_FILE_FORMAT', - 'BINARY FILE 1':'BINARY_FILE_1', - 'BINARY DATA FILE 1 FORMAT':'BINARY_DATA_FILE_1_FORMAT', - 'FORMATTED FILE 1':'FORMATTED_FILE_1', - 'DICTIONARY':'DICTIONARY', - 'PARTITIONING TOOL':'PARTITIONING_TOOL', - 'CONSIDERATION OF SOURCE TERMS':'CONSIDERATION_OF_SOURCE_TERMS', - 'SPHERICAL COORDINATES':'SPHERICAL_COORDINATES', - 'INFINITE DEPTH':'INFINITE_DEPTH', - 'CONSIDERATION OF A STATIONARY CURRENT':'CONSIDERATION_OF_A_STATIONARY_CURRENT', - 'CONSIDERATION OF A WIND':'CONSIDERATION_OF_A_WIND', - 'RECOVERY OF TELEMAC DATA ITEM':'RECOVERY_OF_TELEMAC_DATA_ITEM', - 'CONSIDERATION OF PROPAGATION':'CONSIDERATION_OF_PROPAGATION', - 'STATIONARY WIND':'STATIONARY_WIND', - 'VALIDATION':'VALIDATION', - 'CONSIDERATION OF TIDE':'CONSIDERATION_OF_TIDE', - 'TRIGONOMETRICAL CONVENTION':'TRIGONOMETRICAL_CONVENTION', - 'LIMIT SPECTRUM MODIFIED BY USER':'LIMIT_SPECTRUM_MODIFIED_BY_USER', - 'DIFFRACTION FILTER':'DIFFRACTION_FILTER', - 'INITIAL TIME SET TO ZERO':'INITIAL_TIME_SET_TO_ZERO', - 'VEGETATION TAKEN INTO ACCOUNT':'VEGETATION_TAKEN_INTO_ACCOUNT', - 'POROUS MEDIA':'POROUS_MEDIA', - 'CHECKING THE MESH':'CHECKING_THE_MESH', - 'FILE WITH COORDINATES OF SPECTRA TO WRITE':'FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE', - 'FILE WITH COORDINATES OF SPECTRA TO IMPOSE':'FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE', - 'IMPOSED SPECTRA FILE':'IMPOSED_SPECTRA_FILE', - 'IMPOSED SPECTRA FILE FORMAT':'IMPOSED_SPECTRA_FILE_FORMAT', - 'TIME UNIT OF IMPOSED SPECTRA FILE':'TIME_UNIT_OF_IMPOSED_SPECTRA_FILE', - 'TIME SHIFT OF IMPOSED SPECTRA FILE':'TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE', - 'TAKING INTO ACCOUNT SOURCE TERMS ON IMPOSED BOUNDARIES':'TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES', - 'BOUNDARY CONDITION BEFORE TIME STEP':'BOUNDARY_CONDITION_BEFORE_TIME_STEP', - 'ECRET FOR SMALL HEIGHT':'ECRET_FOR_SMALL_HEIGHT', - 'CONCATENATE PARTEL OUTPUT':'CONCATENATE_PARTEL_OUTPUT', -} -DicoEnumCasFrToEnumCasEn = { -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'ED_RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'SPECTRUM_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PREVIOUS_COMPUTATION_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_WINDS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_TIDAL_WATER_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_CURRENTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'GLOBAL_RESULT_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'BINARY_DATA_FILE_1_FORMAT':{ - "":"", - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'PARTITIONING_TOOL':{ - "METIS":"METIS", - "SCOTCH":"SCOTCH", - "PARMETIS":"PARMETIS", - "PTSCOTCH":"PTSCOTCH", -}, - -'IMPOSED_SPECTRA_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -} diff --git a/Telemac/tomawac_labelCataToIhm_en.qm b/Telemac/tomawac_labelCataToIhm_en.qm deleted file mode 100644 index 801cdd41..00000000 Binary files a/Telemac/tomawac_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/tomawac_labelCataToIhm_en.ts b/Telemac/tomawac_labelCataToIhm_en.ts deleted file mode 100644 index eaa5b635..00000000 --- a/Telemac/tomawac_labelCataToIhm_en.ts +++ /dev/null @@ -1,940 +0,0 @@ - - @default - - PERIOD_FOR_LISTING_PRINTOUTS - Period for listing printouts - - - NUMBER_OF_TIME_STEP - Number of time step - - - NUMBER_OF_DIRECTIONS - Number of directions - - - NUMBER_OF_FREQUENCIES - Number of frequencies - - - WIND_GENERATION - Wind generation - - - WHITE_CAPPING_DISSIPATION - White capping dissipation - - - BOTTOM_FRICTION_DISSIPATION - Bottom friction dissipation - - - NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES - Non-linear transfers between frequencies - - - CURRENTS_FILE_FORMAT - Currents file format - - - WINDS_FILE_FORMAT - Winds file format - - - NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS - Number of iterations for the source terms - - - TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM - Type of initial directional spectrum - - - DISSIPATION_BY_STRONG_CURRENT - Dissipation by strong current - - - TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE - Time increment number in telemac file - - - VECTOR_LENGTH - Vector length - - - DEPTH_INDUCED_BREAKING_DISSIPATION - Depth-induced breaking dissipation - - - DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD - Depth-induced breaking 1 (bj) qb computation method - - - DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD - Depth-induced breaking 1 (bj) hm computation method - - - DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY - Depth-induced breaking 1 (bj) characteristic frequency - - - DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION - Depth-induced breaking 2 (tg) weighting function - - - DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY - Depth-induced breaking 2 (tg) characteristic frequency - - - DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION - Depth-induced breaking 3 (ro) wave height distribution - - - DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION - Depth-induced breaking 3 (ro) exponent weighting function - - - DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY - Depth-induced breaking 3 (ro) characteristic frequency - - - DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY - Depth-induced breaking 4 (ih) characteristic frequency - - - NUMBER_OF_BREAKING_TIME_STEPS - Number of breaking time steps - - - WAVE_GROWTH_LIMITER - Wave growth limiter - - - LINEAR_WAVE_GROWTH - Linear wave growth - - - TRIAD_INTERACTIONS - Triad interactions - - - TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM - Type of boundary directional spectrum - - - TIDE_REFRESHING_PERIOD - Tide refreshing period - - - TIDAL_WATER_LEVEL_FILE_FORMAT - Tidal water level file format - - - RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE - Rank of the water level data in the telemac file - - - INITIAL_ANGULAR_DISTRIBUTION_FUNCTION - Initial angular distribution function - - - NUMBER_OF_PRIVATE_ARRAYS - Number of private arrays - - - BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION - Boundary angular distribution function - - - ORIGIN_COORDINATES - Origin coordinates - - - DEBUGGER - Debugger - - - SETTING_FOR_INTEGRATION_ON_OMEGA1 - Setting for integration on omega1 - - - SETTING_FOR_INTEGRATION_ON_THETA1 - Setting for integration on theta1 - - - SETTING_FOR_INTEGRATION_ON_OMEGA2 - Setting for integration on omega2 - - - DIFFRACTION - Diffraction - - - STARTING_TIME_STEP_FOR_DIFFRACTION - Starting time step for diffraction - - - PARALLEL_PROCESSORS - Parallel processors - - - FINITE_ELEMENT_ASSEMBLY - Finite element assembly - - - BAJ_MODELING - Baj modeling - - - TIME_STEP - Time step - - - MINIMAL_FREQUENCY - Minimal frequency - - - FREQUENTIAL_RATIO - Frequential ratio - - - DATE_OF_COMPUTATION_BEGINNING - Date of computation beginning - - - BOTTOM_FRICTION_COEFFICIENT - Bottom friction coefficient - - - WHITE_CAPPING_DISSIPATION_COEFFICIENT - White capping dissipation coefficient - - - WHITE_CAPPING_WEIGHTING_COEFFICIENT - White capping weighting coefficient - - - AIR_DENSITY - Air density - - - WATER_DENSITY - Water density - - - WIND_GENERATION_COEFFICIENT - Wind generation coefficient - - - VON_KARMAN_CONSTANT - Von karman constant - - - CHARNOCK_CONSTANT - Charnock constant - - - SHIFT_GROWING_CURVE_DUE_TO_WIND - Shift growing curve due to wind - - - WIND_MEASUREMENTS_LEVEL - Wind measurements level - - - WIND_DRAG_COEFFICIENT - Wind drag coefficient - - - INITIAL_SIGNIFICANT_WAVE_HEIGHT - Initial significant wave height - - - INITIAL_PEAK_FREQUENCY - Initial peak frequency - - - INITIAL_PEAK_FACTOR - Initial peak factor - - - INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM - Initial value of sigma-a for spectrum - - - INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM - Initial value of sigma-b for spectrum - - - INITIAL_PHILLIPS_CONSTANT - Initial phillips constant - - - INITIAL_MEAN_FETCH_VALUE - Initial mean fetch value - - - INITIAL_MAXIMUM_PEAK_FREQUENCY - Initial maximum peak frequency - - - INITIAL_MAIN_DIRECTION_1 - Initial main direction 1 - - - INITIAL_DIRECTIONAL_SPREAD_1 - Initial directional spread 1 - - - INITIAL_MAIN_DIRECTION_2 - Initial main direction 2 - - - INITIAL_DIRECTIONAL_SPREAD_2 - Initial directional spread 2 - - - INITIAL_WEIGHTING_FACTOR_FOR_ADF - Initial weighting factor for adf - - - GODA_COEFFICIENT_FOR_ANGULAR_SPEADING - Goda coefficient for angular speading - - - SPECTRUM_TAIL_FACTOR - Spectrum tail factor - - - SPECTRUM_ENERGY_THRESHOLD - Spectrum energy threshold - - - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA - Depth-induced breaking 1 (bj) coefficient alpha - - - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1 - Depth-induced breaking 1 (bj) coefficient gamma1 - - - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2 - Depth-induced breaking 1 (bj) coefficient gamma2 - - - DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B - Depth-induced breaking 2 (tg) coefficient b - - - DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA - Depth-induced breaking 2 (tg) coefficient gamma - - - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA - Depth-induced breaking 3 (ro) coefficient alpha - - - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA - Depth-induced breaking 3 (ro) coefficient gamma - - - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2 - Depth-induced breaking 3 (ro) coefficient gamma2 - - - DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0 - Depth-induced breaking 4 (ih) coefficient beta0 - - - DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR - Depth-induced breaking 4 (ih) coefficient m2star - - - MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D - Maximum value of the ratio hm0 on d - - - COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING - Coefficient of the time sub-increments for breaking - - - STANDARD_CONFIGURATION_PARAMETER - Standard configuration parameter - - - INITIAL_STILL_WATER_LEVEL - Initial still water level - - - TRIADS_1__LTA__COEFFICIENT_ALPHA - Triads 1 (lta) coefficient alpha - - - TRIADS_1__LTA__COEFFICIENT_RFMLTA - Triads 1 (lta) coefficient rfmlta - - - TRIADS_2__SPB__COEFFICIENT_K - Triads 2 (spb) coefficient k - - - TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY - Triads 2 (spb) lower directional boundary - - - TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY - Triads 2 (spb) upper directional boundary - - - BOUNDARY_SIGNIFICANT_WAVE_HEIGHT - Boundary significant wave height - - - BOUNDARY_PEAK_FREQUENCY - Boundary peak frequency - - - BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A - Boundary spectrum value of sigma-a - - - BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B - Boundary spectrum value of sigma-b - - - BOUNDARY_PHILLIPS_CONSTANT - Boundary phillips constant - - - BOUNDARY_MEAN_FETCH_VALUE - Boundary mean fetch value - - - BOUNDARY_MAXIMUM_PEAK_FREQUENCY - Boundary maximum peak frequency - - - BOUNDARY_MAIN_DIRECTION_1 - Boundary main direction 1 - - - BOUNDARY_DIRECTIONAL_SPREAD_1 - Boundary directional spread 1 - - - BOUNDARY_MAIN_DIRECTION_2 - Boundary main direction 2 - - - BOUNDARY_DIRECTIONAL_SPREAD_2 - Boundary directional spread 2 - - - BOUNDARY_WEIGHTING_FACTOR_FOR_ADF - Boundary weighting factor for adf - - - BOUNDARY_PEAK_FACTOR - Boundary peak factor - - - MINIMUM_WATER_DEPTH - Minimum water depth - - - WIND_VELOCITY_ALONG_X - Wind velocity along X - - - WIND_VELOCITY_ALONG_Y - Wind velocity along Y - - - IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS - Implicitation coefficient for source terms - - - YAN_GENERATION_COEFFICIENT_D - Yan generation coefficient d - - - YAN_GENERATION_COEFFICIENT_E - Yan generation coefficient e - - - YAN_GENERATION_COEFFICIENT_F - Yan generation coefficient f - - - YAN_GENERATION_COEFFICIENT_H - Yan generation coefficient h - - - WESTHUYSEN_DISSIPATION_COEFFICIENT - Westhuysen dissipation coefficient - - - SATURATION_THRESHOLD_FOR_THE_DISSIPATION - Saturation threshold for the dissipation - - - WESTHUYSEN_WHITE_CAPPING_DISSIPATION - Westhuysen white capping dissipation - - - WESTHUYSEN_WEIGHTING_COEFFICIENT - Westhuysen weighting coefficient - - - THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION - Threshold0 for configurations elimination - - - THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION - Threshold1 for configurations elimination - - - THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION - Threshold2 for configurations elimination - - - VARIANCE_THRESHOLD_FOR_DIFFRACTION - Variance threshold for diffraction - - - TIME_UNIT_IN_CURRENTS_FILE - Time unit in currents file - - - TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE - Time unit in tidal water level file - - - TIME_UNIT_IN_WINDS_FILE - Time unit in winds file - - - TIME_SHIFT_IN_CURRENTS_FILE - Time shift in currents file - - - TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE - Time shift in tidal water level file - - - TIME_SHIFT_IN_WINDS_FILE - Time shift in winds file - - - DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT - Dissipation coefficient for strong current - - - TITLE - Title - - - VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS - Variables for 2d graphic printouts - - - GEOMETRY_FILE - Geometry file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - FORTRAN_FILE - Fortran file - - - STEERING_FILE - Steering file - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - BOTTOM_TOPOGRAPHY_FILE - Bottom topography file - - - BOTTOM_SMOOTHINGS - Bottom smoothings - - - PERIOD_FOR_GRAPHIC_PRINTOUTS - Period for graphic printouts - - - NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS - Number of first iteration for graphics printouts - - - ED_RESULTS_FILE - 2d results file - - - ED_RESULTS_FILE_FORMAT - 2d results file format - - - PUNCTUAL_RESULTS_FILE - Punctual results file - - - SPECTRUM_FILE_FORMAT - Spectrum file format - - - ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS - Abscissae of spectrum printout points - - - ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS - Ordinates of spectrum printout points - - - NEXT_COMPUTATION - Next computation - - - PREVIOUS_COMPUTATION_FILE - Previous computation file - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Previous computation file format - - - BINARY_CURRENTS_FILE - Binary currents file - - - FORMATTED_CURRENTS_FILE - Formatted currents file - - - BINARY_WINDS_FILE - Binary winds file - - - BINARY_WINDS_FILE_FORMAT - Binary winds file format - - - FORMATTED_WINDS_FILE - Formatted winds file - - - REFERENCE_FILE - Reference file - - - REFERENCE_FILE_FORMAT - Reference file format - - - BINARY_TIDAL_WATER_LEVEL_FILE - Binary tidal water level file - - - BINARY_TIDAL_WATER_FILE_FORMAT - Binary tidal water file format - - - FORMATTED_TIDAL_WATER_LEVEL_FILE - Formatted tidal water level file - - - BINARY_CURRENTS_FILE_FORMAT - Binary currents file format - - - NAMES_OF_VARIABLES - Names of variables - - - OPTION_FOR_DIAGNOSTIC_TAIL - Option for diagnostic tail - - - OPTION_FOR_SECOND_DERIVATIVES - Option for second derivatives - - - ZD_SPECTRA_RESULTS_FILE - 1d spectra results file - - - GLOBAL_RESULT_FILE - Global result file - - - GLOBAL_RESULT_FILE_FORMAT - Global result file format - - - BINARY_FILE_1 - Binary file 1 - - - BINARY_DATA_FILE_1_FORMAT - Binary data file 1 format - - - FORMATTED_FILE_1 - Formatted file 1 - - - DICTIONARY - Dictionary - - - PARTITIONING_TOOL - Partitioning tool - - - CONSIDERATION_OF_SOURCE_TERMS - Consideration of source terms - - - SPHERICAL_COORDINATES - Spherical coordinates - - - INFINITE_DEPTH - Infinite depth - - - CONSIDERATION_OF_A_STATIONARY_CURRENT - Consideration of a stationary current - - - CONSIDERATION_OF_A_WIND - Consideration of a wind - - - RECOVERY_OF_TELEMAC_DATA_ITEM - Recovery of telemac data item - - - CONSIDERATION_OF_PROPAGATION - Consideration of propagation - - - STATIONARY_WIND - Stationary wind - - - VALIDATION - Validation - - - CONSIDERATION_OF_TIDE - Consideration of tide - - - TRIGONOMETRICAL_CONVENTION - Trigonometrical convention - - - LIMIT_SPECTRUM_MODIFIED_BY_USER - Limit spectrum modified by user - - - DIFFRACTION_FILTER - Diffraction filter - - - INITIAL_TIME_SET_TO_ZERO - Initial time set to zero - - - VEGETATION_TAKEN_INTO_ACCOUNT - Vegetation taken into account - - - POROUS_MEDIA - Porous media - - - CHECKING_THE_MESH - Checking the mesh - - - FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE - File with coordinates of spectra to write - - - FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE - File with coordinates of spectra to impose - - - IMPOSED_SPECTRA_FILE - Imposed spectra file - - - IMPOSED_SPECTRA_FILE_FORMAT - Imposed spectra file format - - - TIME_UNIT_OF_IMPOSED_SPECTRA_FILE - Time unit of imposed spectra file - - - TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE - Time shift of imposed spectra file - - - TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES - Taking into account source terms on imposed boundaries - - - BOUNDARY_CONDITION_BEFORE_TIME_STEP - Boundary condition before time step - - - ECRET_FOR_SMALL_HEIGHT - Ecret for small height - - - CONCATENATE_PARTEL_OUTPUT - Concatenate partel output - - - COMPUTATION_ENVIRONMENT - Computation environment - - - GENERAL_PARAMETERS - General parameters - - - SOURCE_TERMS - Source terms - - - INITIAL_CONDITIONS - Initial conditions - - - INTERNAL - Internal - - - BOUNDARY_CONDITIONS - Boundary conditions - - - TRANSPORT - Transport - - - OUTPUT - Output - - - TIME - Time - - - SPECTRAL_DISCRETISATION - Spectral discretisation - - - WIND - Wind - - - WHITE_CAPPING - White capping - - - BOTTOM_FRICTION - Bottom friction - - - QUADRUPLET_INTERACTIONS - Quadruplet interactions - - - INPUT - Input - - - NUMERICAL_PARAMETERS - Numerical parameters - - - STRONG_CURRENT - Strong current - - - BREAKING - Breaking - - - LIMITER - Limiter - - - TRIAD_TRANSFERS - Triad transfers - - - METEO - Meteo - - - MISCELLANEOUS - Miscellaneous - - - OTHER_DOMAIN_DEFINITIONS - Other domain definitions - - - DIFFRACTION_PARAMETERS - Diffraction parameters - - - VEGETATION - Vegetation - - - POROUS - Porous - - - LISTING - Listing - - - CURRENT_FILE - Current file - - - WIND_FILE - Wind file - - - TIDAL_FILE - Tidal file - - - RESULTS - Results - - - DATA - Data - - - BOUNDARY_CONDITION_FILE - Boundary condition file - - - diff --git a/Telemac/tomawac_labelCataToIhm_fr.qm b/Telemac/tomawac_labelCataToIhm_fr.qm deleted file mode 100644 index 69379811..00000000 Binary files a/Telemac/tomawac_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/tomawac_labelCataToIhm_fr.ts b/Telemac/tomawac_labelCataToIhm_fr.ts deleted file mode 100644 index e60de6fb..00000000 --- a/Telemac/tomawac_labelCataToIhm_fr.ts +++ /dev/null @@ -1,968 +0,0 @@ - - @default - - PERIOD_FOR_LISTING_PRINTOUTS - Periode pour les sorties listing - - - NUMBER_OF_TIME_STEP - Nombre de pas de temps - - - NUMBER_OF_DIRECTIONS - Nombre de directions - - - NUMBER_OF_FREQUENCIES - Nombre de frequences - - - WIND_GENERATION - Apports dus au vent - - - WHITE_CAPPING_DISSIPATION - Dissipation par moutonnement - - - BOTTOM_FRICTION_DISSIPATION - Dissipation par frottement sur le fond - - - NON_LINEAR_TRANSFERS_BETWEEN_FREQUENCIES - Transferts non lineaires inter-frequences - - - CURRENTS_FILE_FORMAT - Format du fichier des courants - - - WINDS_FILE_FORMAT - Format du fichier des vents - - - NUMBER_OF_ITERATIONS_FOR_THE_SOURCE_TERMS - Nombre de sous-iterations pour les termes sources - - - TYPE_OF_INITIAL_DIRECTIONAL_SPECTRUM - Type de spectre directionnel initial - - - DISSIPATION_BY_STRONG_CURRENT - Dissipation par fort courant - - - TIME_INCREMENT_NUMBER_IN_TELEMAC_FILE - Numero du pas de temps du fichier telemac - - - VECTOR_LENGTH - Longueur du vecteur - - - DEPTH_INDUCED_BREAKING_DISSIPATION - Dissipation par deferlement - - - DEPTH_INDUCED_BREAKING_1__BJ__QB_COMPUTATION_METHOD - Deferlement 1 (bj) mode de calcul de qb - - - DEPTH_INDUCED_BREAKING_1__BJ__HM_COMPUTATION_METHOD - Deferlement 1 (bj) mode de calcul de Hm - - - DEPTH_INDUCED_BREAKING_1__BJ__CHARACTERISTIC_FREQUENCY - Deferlement 1 (bj) choix frequence caracteristique - - - DEPTH_INDUCED_BREAKING_2__TG__WEIGHTING_FUNCTION - Deferlement 2 (tg) fonction de ponderation - - - DEPTH_INDUCED_BREAKING_2__TG__CHARACTERISTIC_FREQUENCY - Deferlement 2 (tg) choix frequence caracteristique - - - DEPTH_INDUCED_BREAKING_3__RO__WAVE_HEIGHT_DISTRIBUTION - Deferlement 3 (ro) distribution des hauteurs de Houle - - - DEPTH_INDUCED_BREAKING_3__RO__EXPONENT_WEIGHTING_FUNCTION - Deferlement 3 (ro) exposant fonction de ponderation - - - DEPTH_INDUCED_BREAKING_3__RO__CHARACTERISTIC_FREQUENCY - Deferlement 3 (ro) choix frequence caracteristique - - - DEPTH_INDUCED_BREAKING_4__IH__CHARACTERISTIC_FREQUENCY - Deferlement 4 (ih) choix frequence caracteristique - - - NUMBER_OF_BREAKING_TIME_STEPS - Nombre de sous-pas de temps pour le deferlement - - - WAVE_GROWTH_LIMITER - Limiteur de croissance - - - LINEAR_WAVE_GROWTH - Croissance lineaire des vagues - - - TRIAD_INTERACTIONS - Transferts entre triplets de frequences - - - TYPE_OF_BOUNDARY_DIRECTIONAL_SPECTRUM - Type de spectre directionnel aux limites - - - TIDE_REFRESHING_PERIOD - Periode d'actualisation de la maree - - - TIDAL_WATER_LEVEL_FILE_FORMAT - Format du fichier du niveau de la maree - - - RANK_OF_THE_WATER_LEVEL_DATA_IN_THE_TELEMAC_FILE - Rang du niveau de la maree dans le fichier telemac - - - INITIAL_ANGULAR_DISTRIBUTION_FUNCTION - Fonction de repartition angulaire initiale - - - NUMBER_OF_PRIVATE_ARRAYS - Nombre de tableaux prives - - - BOUNDARY_ANGULAR_DISTRIBUTION_FUNCTION - Fonction de repartition angulaire aux limites - - - ORIGIN_COORDINATES - Coordonnees de l'origine - - - DEBUGGER - Debugger - - - SETTING_FOR_INTEGRATION_ON_OMEGA1 - Reglage pour integration sur omega1 - - - SETTING_FOR_INTEGRATION_ON_THETA1 - Reglage pour integration sur theta1 - - - SETTING_FOR_INTEGRATION_ON_OMEGA2 - Reglage pour integration sur omega2 - - - DIFFRACTION - Diffraction - - - STARTING_TIME_STEP_FOR_DIFFRACTION - Pas de temps debut diffraction - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - FINITE_ELEMENT_ASSEMBLY - Assemblage en elements finis - - - BAJ_MODELING - Modelisation baj - - - TIME_STEP - Pas de temps - - - MINIMAL_FREQUENCY - Frequence minimale - - - FREQUENTIAL_RATIO - Raison frequentielle - - - DATE_OF_COMPUTATION_BEGINNING - Date de debut du calcul - - - BOTTOM_FRICTION_COEFFICIENT - Coefficient de frottement sur le fond - - - WHITE_CAPPING_DISSIPATION_COEFFICIENT - Coefficient de dissipation par moutonnement - - - WHITE_CAPPING_WEIGHTING_COEFFICIENT - Coefficient de ponderation pour le moutonnement - - - AIR_DENSITY - Densite de l'air - - - WATER_DENSITY - Densite de l'eau - - - WIND_GENERATION_COEFFICIENT - Coefficient de generation par le vent - - - VON_KARMAN_CONSTANT - Constante de von karman - - - CHARNOCK_CONSTANT - Constante de charnock - - - SHIFT_GROWING_CURVE_DUE_TO_WIND - Decalage courbe de croissance due au vent - - - WIND_MEASUREMENTS_LEVEL - Cote de mesure des vents - - - WIND_DRAG_COEFFICIENT - Coefficient de trainee de vent - - - INITIAL_SIGNIFICANT_WAVE_HEIGHT - Hauteur significative initiale - - - INITIAL_PEAK_FREQUENCY - Frequence de pic initiale - - - INITIAL_PEAK_FACTOR - Facteur de pic initial - - - INITIAL_VALUE_OF_SIGMA_A_FOR_SPECTRUM - Valeur initiale de sigma-a pour spectre - - - INITIAL_VALUE_OF_SIGMA_B_FOR_SPECTRUM - Valeur initiale de sigma-b pour spectre - - - INITIAL_PHILLIPS_CONSTANT - Constante de phillips initiale - - - INITIAL_MEAN_FETCH_VALUE - Valeur moyenne du fetch initial - - - INITIAL_MAXIMUM_PEAK_FREQUENCY - Frequence de pic maximale initiale - - - INITIAL_MAIN_DIRECTION_1 - Direction principale 1 initiale - - - INITIAL_DIRECTIONAL_SPREAD_1 - Etalement directionnel 1 initial - - - INITIAL_MAIN_DIRECTION_2 - Direction principale 2 initiale - - - INITIAL_DIRECTIONAL_SPREAD_2 - Etalement directionnel 2 initial - - - INITIAL_WEIGHTING_FACTOR_FOR_ADF - Facteur de ponderation pour fra initiale - - - GODA_COEFFICIENT_FOR_ANGULAR_SPEADING - Coefficient de goda pour loi de repartition angulair - - - SPECTRUM_TAIL_FACTOR - Facteur de queue du spectre - - - SPECTRUM_ENERGY_THRESHOLD - Seuil d'energie considere pour le spectre - - - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_ALPHA - Deferlement 1 (bj) constante alpha - - - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA1 - Deferlement 1 (bj) constante gamma1 - - - DEPTH_INDUCED_BREAKING_1__BJ__COEFFICIENT_GAMMA2 - Deferlement 1 (bj) constante gamma2 - - - DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_B - Deferlement 2 (tg) constante b - - - DEPTH_INDUCED_BREAKING_2__TG__COEFFICIENT_GAMMA - Deferlement 2 (tg) constante gamma - - - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_ALPHA - Deferlement 3 (ro) constante alpha - - - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA - Deferlement 3 (ro) constante gamma - - - DEPTH_INDUCED_BREAKING_3__RO__COEFFICIENT_GAMMA2 - Deferlement 3 (ro) constante gamma2 - - - DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_BETA0 - Deferlement 4 (ih) constante beta0 - - - DEPTH_INDUCED_BREAKING_4__IH__COEFFICIENT_M2STAR - Deferlement 4 (ih) constante m2star - - - MAXIMUM_VALUE_OF_THE_RATIO_HM0_ON_D - Valeur maximale du rapport hm0 sur d - - - COEFFICIENT_OF_THE_TIME_SUB_INCREMENTS_FOR_BREAKING - Coefficient pour les sous-pas de temps pour le deferlement - - - STANDARD_CONFIGURATION_PARAMETER - Parametre de la configuration standard - - - INITIAL_STILL_WATER_LEVEL - Cote initiale du plan d'eau au repos - - - TRIADS_1__LTA__COEFFICIENT_ALPHA - Triads 1 (lta) constante alpha - - - TRIADS_1__LTA__COEFFICIENT_RFMLTA - Triads 1 (lta) constante rfmlta - - - TRIADS_2__SPB__COEFFICIENT_K - Triads 2 (spb) constante k - - - TRIADS_2__SPB__LOWER_DIRECTIONAL_BOUNDARY - Triads 2 (spb) borne directionnelle inferieure - - - TRIADS_2__SPB__UPPER_DIRECTIONAL_BOUNDARY - Triads 2 (spb) borne directionnelle superieure - - - BOUNDARY_SIGNIFICANT_WAVE_HEIGHT - Hauteur significative aux limites - - - BOUNDARY_PEAK_FREQUENCY - Frequence de pic aux limites - - - BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_A - Valeur aux limites de sigma-a pour spectre - - - BOUNDARY_SPECTRUM_VALUE_OF_SIGMA_B - Valeur aux limites de sigma-b pour spectre - - - BOUNDARY_PHILLIPS_CONSTANT - Constante de phillips aux limites - - - BOUNDARY_MEAN_FETCH_VALUE - Valeur moyenne du fetch aux limites - - - BOUNDARY_MAXIMUM_PEAK_FREQUENCY - Frequence de pic maximale aux limites - - - BOUNDARY_MAIN_DIRECTION_1 - Direction principale 1 aux limites - - - BOUNDARY_DIRECTIONAL_SPREAD_1 - Etalement directionnel 1 aux limites - - - BOUNDARY_MAIN_DIRECTION_2 - Direction principale 2 aux limites - - - BOUNDARY_DIRECTIONAL_SPREAD_2 - Etalement directionnel 2 aux limites - - - BOUNDARY_WEIGHTING_FACTOR_FOR_ADF - Facteur de ponderation pour fra aux limites - - - BOUNDARY_PEAK_FACTOR - Facteur de pic aux limites - - - MINIMUM_WATER_DEPTH - Profondeur d'eau minimale - - - WIND_VELOCITY_ALONG_X - Vitesse du vent suivant X - - - WIND_VELOCITY_ALONG_Y - Vitesse du vent suivant Y - - - IMPLICITATION_COEFFICIENT_FOR_SOURCE_TERMS - Coefficient implicitation pour termes sources - - - YAN_GENERATION_COEFFICIENT_D - Coefficient de generation de Yan d - - - YAN_GENERATION_COEFFICIENT_E - Coefficient de generation de Yan e - - - YAN_GENERATION_COEFFICIENT_F - Coefficient de generation de Yan f - - - YAN_GENERATION_COEFFICIENT_H - Coefficient de generation de Yan h - - - WESTHUYSEN_DISSIPATION_COEFFICIENT - Coefficient de dissipation de westhuysen - - - SATURATION_THRESHOLD_FOR_THE_DISSIPATION - Seuil de saturation pour la dissipation - - - WESTHUYSEN_WHITE_CAPPING_DISSIPATION - Dissipation par moutonnement de westhuysen - - - WESTHUYSEN_WEIGHTING_COEFFICIENT - Coefficient de ponderation de westhuysen - - - THRESHOLD0_FOR_CONFIGURATIONS_ELIMINATION - Seuil0 elimination de configurations - - - THRESHOLD1_FOR_CONFIGURATIONS_ELIMINATION - Seuil1 elimination de configurations - - - THRESHOLD2_FOR_CONFIGURATIONS_ELIMINATION - Seuil2 elimination de configurations - - - VARIANCE_THRESHOLD_FOR_DIFFRACTION - Seuil de variance consideree pour diffraction - - - TIME_UNIT_IN_CURRENTS_FILE - Unite de temps du fichier des courants - - - TIME_UNIT_IN_TIDAL_WATER_LEVEL_FILE - Unite de temps du fichier du niveau de la maree - - - TIME_UNIT_IN_WINDS_FILE - Unite de temps du fichier des vents - - - TIME_SHIFT_IN_CURRENTS_FILE - Dephasage du fichier des courants - - - TIME_SHIFT_IN_TIDAL_WATER_LEVEL_FILE - Dephasage du fichier du niveau de la maree - - - TIME_SHIFT_IN_WINDS_FILE - Dephasage du fichier des vents - - - DISSIPATION_COEFFICIENT_FOR_STRONG_CURRENT - Coefficient de dissipation par fort courant - - - TITLE - Titre - - - VARIABLES_FOR_2D_GRAPHIC_PRINTOUTS - Variables pour les sorties graphiques 2d - - - GEOMETRY_FILE - Fichier de geometrie - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - FORTRAN_FILE - Fichier fortran - - - STEERING_FILE - Fichier des parametres - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - BOTTOM_TOPOGRAPHY_FILE - Fichier des fonds - - - BOTTOM_SMOOTHINGS - Lissages du fond - - - PERIOD_FOR_GRAPHIC_PRINTOUTS - Periode pour les sorties graphiques - - - NUMBER_OF_FIRST_ITERATION_FOR_GRAPHICS_PRINTOUTS - Numero de la premiere iteration pour les sorties graphiques - - - ED_RESULTS_FILE - Fichier des resultats 2d - - - ED_RESULTS_FILE_FORMAT - Format du fichier des resultats 2d - - - PUNCTUAL_RESULTS_FILE - Fichier des resultats ponctuels - - - SPECTRUM_FILE_FORMAT - Format du fichier de spectre - - - ABSCISSAE_OF_SPECTRUM_PRINTOUT_POINTS - Abscisses des points de sortie du spectre - - - ORDINATES_OF_SPECTRUM_PRINTOUT_POINTS - Ordonnees des points de sortie du spectre - - - NEXT_COMPUTATION - Suite de calcul - - - PREVIOUS_COMPUTATION_FILE - Fichier du calcul precedent - - - PREVIOUS_COMPUTATION_FILE_FORMAT - Format du fichier du calcul precedent - - - BINARY_CURRENTS_FILE - Fichier des courants binaire - - - FORMATTED_CURRENTS_FILE - Fichier des courants formate - - - BINARY_WINDS_FILE - Fichier des vents binaire - - - BINARY_WINDS_FILE_FORMAT - Format du fichier des vents binaire - - - FORMATTED_WINDS_FILE - Fichier des vents formate - - - REFERENCE_FILE - Fichier de reference - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - BINARY_TIDAL_WATER_LEVEL_FILE - Fichier du niveau de la maree binaire - - - BINARY_TIDAL_WATER_FILE_FORMAT - Format du fichier de la maree binaire - - - FORMATTED_TIDAL_WATER_LEVEL_FILE - Fichier du niveau de la maree formate - - - BINARY_CURRENTS_FILE_FORMAT - Format du fichier des courants binaire - - - NAMES_OF_VARIABLES - Noms des variables - - - OPTION_FOR_DIAGNOSTIC_TAIL - Option pour la queue diagnostique - - - OPTION_FOR_SECOND_DERIVATIVES - Option pour les derivees secondes - - - ZD_SPECTRA_RESULTS_FILE - Fichier des resultats spectres 1d - - - GLOBAL_RESULT_FILE - Fichier des resultats globaux - - - GLOBAL_RESULT_FILE_FORMAT - Format du fichier des resultats globaux - - - BINARY_FILE_1 - Fichier binaire 1 - - - BINARY_DATA_FILE_1_FORMAT - Format du fichier de donnees binaire 1 - - - FORMATTED_FILE_1 - Fichier formate 1 - - - DICTIONARY - Dictionnaire - - - PARTITIONING_TOOL - Partitionneur - - - CONSIDERATION_OF_SOURCE_TERMS - Prise en compte des termes sources - - - SPHERICAL_COORDINATES - Coordonnees spheriques - - - INFINITE_DEPTH - Profondeur infinie - - - CONSIDERATION_OF_A_STATIONARY_CURRENT - Prise en compte d'un courant stationnaire - - - CONSIDERATION_OF_A_WIND - Prise en compte du vent - - - RECOVERY_OF_TELEMAC_DATA_ITEM - Recuperation de donnee telemac - - - CONSIDERATION_OF_PROPAGATION - Prise en compte de la propagation - - - STATIONARY_WIND - Vent stationnaire - - - VALIDATION - Validation - - - CONSIDERATION_OF_TIDE - Prise en compte de la maree - - - TRIGONOMETRICAL_CONVENTION - Convention trigonometrique - - - LIMIT_SPECTRUM_MODIFIED_BY_USER - Spectre aux limites modifie par l'utilisateur - - - DIFFRACTION_FILTER - Filtre pour diffraction - - - INITIAL_TIME_SET_TO_ZERO - Remise a zero du temps - - - VEGETATION_TAKEN_INTO_ACCOUNT - Prise en compte de la vegetation - - - POROUS_MEDIA - Milieu poreux - - - CHECKING_THE_MESH - Verification du maillage - - - FILE_WITH_COORDINATES_OF_SPECTRA_TO_WRITE - Fichier des coordonnees de spectres a ecrire - - - FILE_WITH_COORDINATES_OF_SPECTRA_TO_IMPOSE - Fichier des coordonnees de spectres a imposer - - - IMPOSED_SPECTRA_FILE - Fichier des spectres imposes - - - IMPOSED_SPECTRA_FILE_FORMAT - Format du fichier des spectres imposes - - - TIME_UNIT_OF_IMPOSED_SPECTRA_FILE - Unite de temps du fichier des spectres imposes - - - TIME_SHIFT_OF_IMPOSED_SPECTRA_FILE - Dephasage du fichier des spectres imposes - - - TAKING_INTO_ACCOUNT_SOURCE_TERMS_ON_IMPOSED_BOUNDARIES - Prise en compte des termes sources sur les frontieres imposees - - - BOUNDARY_CONDITION_BEFORE_TIME_STEP - Condition limite avant le pas de temps - - - ECRET_FOR_SMALL_HEIGHT - Ecretage pour Hauteur petite - - - CONCATENATE_PARTEL_OUTPUT - Concatenation sortie partel - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - METIS - METIS - - - SCOTCH - SCOTCH - - - PARMETIS - PARMETIS - - - PTSCOTCH - PTSCOTCH - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - GENERAL_PARAMETERS - Parametres generaux - - - SOURCE_TERMS - Termes sources - - - INITIAL_CONDITIONS - Conditions initiales - - - INTERNAL - Internal - - - BOUNDARY_CONDITIONS - Conditions limites - - - TRANSPORT - Transport - - - OUTPUT - Sortie - - - TIME - Temps - - - SPECTRAL_DISCRETISATION - Discretisation spectrale - - - WIND - Vent - - - WHITE_CAPPING - Moutonnement - - - BOTTOM_FRICTION - Frottement fond - - - QUADRUPLET_INTERACTIONS - Transferts de quadruplets - - - INPUT - Entree - - - NUMERICAL_PARAMETERS - Parametres numeriques - - - STRONG_CURRENT - Courant fort - - - BREAKING - Deferlement - - - LIMITER - Limiteur - - - TRIAD_TRANSFERS - Transferts de triplet - - - METEO - Meteo - - - MISCELLANEOUS - Divers - - - OTHER_DOMAIN_DEFINITIONS - Autres definitions du domaine - - - DIFFRACTION_PARAMETERS - Parametres de diffraction - - - VEGETATION - Vegetation - - - POROUS - Porous - - - LISTING - Listing - - - CURRENT_FILE - Fichier courant - - - WIND_FILE - Fichier vent - - - TIDAL_FILE - Fichier maree - - - RESULTS - Resultats - - - DATA - Donnees - - - BOUNDARY_CONDITION_FILE - Fichier de condition limite - - - diff --git a/Telemac/transforme/ReadMe b/Telemac/transforme/ReadMe deleted file mode 100644 index f81dd842..00000000 --- a/Telemac/transforme/ReadMe +++ /dev/null @@ -1,10 +0,0 @@ -il faut les 2 fichiers cata_name2eng_name.ts et cata_name2fra_name.ts -./reEcrittsEn.py -i cata_name2eng_name.ts -d dicoCasEnToCata.py -t labelCataToIhmEn.ts -regler à la main les histoires de "" -modifier DicoCasEnToCata en dicoCataToEng - - -./reEcrittsFr.py -i cata_name2fra_name.ts -d dicoCasFrToCata.py -t labelCataToIhmFr.ts -regler à la main les histoires de "" -modifier DicoCasEnToCata en dicoCataToFr -attention a defaut default... diff --git a/Telemac/transforme/reEcrittsEn.py b/Telemac/transforme/reEcrittsEn.py deleted file mode 100755 index 2613e0a8..00000000 --- a/Telemac/transforme/reEcrittsEn.py +++ /dev/null @@ -1,139 +0,0 @@ -#!/usr/bin/env python -import sys, re -dicoCataToLabel={} -dicoCataToTelemac={} -Entete = '' -Entete +='' -Entete +='\n' -Entete +=' @defaut\n' - -Fin ='\n\n' - -pattern_In=re.compile(r'^\s*(?P.*)\s*$') -pattern_Out=re.compile(r'^\s*(?P.*)\s*$') - -listeMaj=[] -listeMaj.append(('for h','for H')) -listeMaj.append(('pour h','pour H')) -listeMaj.append(('for u','for U')) -listeMaj.append(('pour u','pour U')) -listeMaj.append(('of k','of K')) -listeMaj.append(('de k','de K')) -listeMaj.append(('of h','of H')) -listeMaj.append(('de h','de H')) -listeMaj.append(('u and v','U and V')) -listeMaj.append(('u et v','U et V')) -listeMaj.append(('on h','on H')) -listeMaj.append(('sur h','sur H')) -listeMaj.append(('supg','SUPG')) -listeMaj.append(('k and epsilon','K and Epsilon')) -listeMaj.append(('k-epsilon','K-Epsilon')) -listeMaj.append(('gmres','GMRES')) -listeMaj.append(('cgstab','CGSTAB')) -listeMaj.append(('q(z)','Q(Z)')) -listeMaj.append(('z(q)','Z(Q)')) -listeMaj.append(('wgs84','WGS84')) -listeMaj.append(('wgs84','UTM')) -listeMaj.append(('n-scheme','N-Scheme')) -listeMaj.append(('scheme n','Scheme N')) -listeMaj.append(('psi-scheme','PSI-Scheme')) -listeMaj.append((' psi',' PSI')) -listeMaj.append(('f(t90)','F(T90)')) -listeMaj.append(('(pa)','(Pa)')) -listeMaj.append(('h clipping','H clipping')) -listeMaj.append(('delwaq','DELWAQ')) -listeMaj.append(('tomawac','TOMAWAC')) -listeMaj.append(('chezy','CHEZY')) -listeMaj.append(('hllc','HLLC')) -listeMaj.append(('c-u','C-U')) -listeMaj.append(('c,u,v','C,U,V')) -listeMaj.append(('h,u,v','H,U,V')) -listeMaj.append(('previmer','PREVIMER')) -listeMaj.append(('fes20xx','FES20XX')) -listeMaj.append(('legos-nea','LEGOS-NEA')) -listeMaj.append(('tpxo','TPXO')) -listeMaj.append((' x',' X')) -listeMaj.append((' y',' Y')) -listeMaj.append(('waf','WAF')) -listeMaj.append(('(w/kg)','(W/kg)')) -listeMaj.append(('(j/kg)','(W/kg)')) -listeMaj.append(('zokagoa','Zokagoa')) -listeMaj.append(('nikuradse','Nikuradse')) -listeMaj.append(('froude','Froude')) -listeMaj.append(('gauss','Gauss')) -listeMaj.append(('seidel','Seidel')) -listeMaj.append(('leo','Leo')) -listeMaj.append(('postma','Postma')) -listeMaj.append(('crout','Crout')) -listeMaj.append(('okada','Okada')) -listeMaj.append(('jmj','JMJ')) -listeMaj.append(('haaland','HAALAND')) -listeMaj.append(('grad(u)','grad(U)')) -listeMaj.append(('variable z','variable Z')) -listeMaj.append(('variable r','variable R')) -listeMaj.append(('ascii','ASCII')) - - -def traite(fichier,fichierDico, fichierTs): - f=open(fichier,'r') - t=f.read() - for ligne in t.split('\n'): - if pattern_In.match(ligne): - m=pattern_In.match(ligne) - ident=m.group('ident') - if pattern_Out.match(ligne): - m=pattern_Out.match(ligne) - traduit=m.group('traduit') - dicoCataToTelemac[ident]=traduit - traduitMin=traduit.lower() - for t in listeMaj : - traduit=traduitMin.replace(t[0],t[1]) - traduitMin=traduit - chaine=traduitMin[0].upper()+traduitMin[1:] - dicoCataToLabel[ident]=chaine - f.close() - - f=open(fichierDico,'w') - f.write ("dicoCataToEngTelemac = {\n") - for k in dicoCataToTelemac.keys() : - l= ' "'+ k +'" : "'+ dicoCataToTelemac[k]+'",\n' - f.write(l) - f.write(" }\n") - f.write( "dicoCasEnToCata = {\n") - for k in dicoCataToTelemac.keys() : - l= ' "'+ dicoCataToTelemac[k] +'" : "'+ k+'",\n' - f.write(l) - f.write( " }\n") - f.close() - - f=open(fichierTs,'w') - f.write( Entete) - for k in dicoCataToTelemac.keys() : - texte = " \n " - texte+= k - texte+= "\n " - texte+= dicoCataToLabel[k] - texte+= "\n \n" - f.write( texte) - - f.write( Fin) - - -if __name__ == "__main__": - import optparse - parser=optparse.OptionParser(usage="utilisation : %prog [options]") - parser.add_option(u"-i","--input",dest="fichierIn",type='string', - help=("nom du fichier ts a traduire")) - parser.add_option(u"-d","--dico",dest="fichierDico",type='string', - help=("nom du fichier contenant les dictionnaires labelTelemac:labelCata en sortie")) - parser.add_option(u"-t","--tsFile",dest="fichierTs",type='string', - help=("nom du fichier ts contenant labelCata vers label IHM")) - - - (options,args)=parser.parse_args(sys.argv[1:]) - if options.fichierIn == None or options.fichierDico == None or options.fichierTs==None : - print 'reEcrittsEn.py -i -d -t ' - print './reEcrittsEn.py -i cata_name2eng_name.ts -d dicoCasEnToCata.py -t labelCataToIhmEn.ts' - sys.exit(1) - traite(options.fichierIn,options.fichierDico,options.fichierTs) - diff --git a/Telemac/transforme/reEcrittsFr.py b/Telemac/transforme/reEcrittsFr.py deleted file mode 100755 index 5d486c72..00000000 --- a/Telemac/transforme/reEcrittsFr.py +++ /dev/null @@ -1,139 +0,0 @@ -#!/usr/bin/env python -import sys, re -dicoCataToLabel={} -dicoCataToTelemac={} -Entete = '' -Entete +='' -Entete +='\n' -Entete +=' @defaut\n' - -Fin ='\n\n' - -pattern_In=re.compile(r'^\s*(?P.*)\s*$') -pattern_Out=re.compile(r'^\s*(?P.*)\s*$') - -listeMaj=[] -listeMaj.append(('for h','for H')) -listeMaj.append(('pour h','pour H')) -listeMaj.append(('for u','for U')) -listeMaj.append(('pour u','pour U')) -listeMaj.append(('of k','of K')) -listeMaj.append(('de k','de K')) -listeMaj.append(('of h','of H')) -listeMaj.append(('de h','de H')) -listeMaj.append(('u and v','U and V')) -listeMaj.append(('u et v','U et V')) -listeMaj.append(('on h','on H')) -listeMaj.append(('sur h','sur H')) -listeMaj.append(('supg','SUPG')) -listeMaj.append(('k and epsilon','K and Epsilon')) -listeMaj.append(('k-epsilon','K-Epsilon')) -listeMaj.append(('gmres','GMRES')) -listeMaj.append(('cgstab','CGSTAB')) -listeMaj.append(('q(z)','Q(Z)')) -listeMaj.append(('z(q)','Z(Q)')) -listeMaj.append(('wgs84','WGS84')) -listeMaj.append(('wgs84','UTM')) -listeMaj.append(('n-scheme','N-Scheme')) -listeMaj.append(('scheme n','Scheme N')) -listeMaj.append(('psi-scheme','PSI-Scheme')) -listeMaj.append((' psi',' PSI')) -listeMaj.append(('f(t90)','F(T90)')) -listeMaj.append(('(pa)','(Pa)')) -listeMaj.append(('h clipping','H clipping')) -listeMaj.append(('delwaq','DELWAQ')) -listeMaj.append(('tomawac','TOMAWAC')) -listeMaj.append(('chezy','CHEZY')) -listeMaj.append(('hllc','HLLC')) -listeMaj.append(('c-u','C-U')) -listeMaj.append(('c,u,v','C,U,V')) -listeMaj.append(('h,u,v','H,U,V')) -listeMaj.append(('previmer','PREVIMER')) -listeMaj.append(('fes20xx','FES20XX')) -listeMaj.append(('legos-nea','LEGOS-NEA')) -listeMaj.append(('tpxo','TPXO')) -listeMaj.append((' x',' X')) -listeMaj.append((' y',' Y')) -listeMaj.append(('waf','WAF')) -listeMaj.append(('(w/kg)','(W/kg)')) -listeMaj.append(('(j/kg)','(W/kg)')) -listeMaj.append(('zokagoa','Zokagoa')) -listeMaj.append(('nikuradse','Nikuradse')) -listeMaj.append(('froude','Froude')) -listeMaj.append(('gauss','Gauss')) -listeMaj.append(('seidel','Seidel')) -listeMaj.append(('leo','Leo')) -listeMaj.append(('postma','Postma')) -listeMaj.append(('crout','Crout')) -listeMaj.append(('okada','Okada')) -listeMaj.append(('jmj','JMJ')) -listeMaj.append(('haaland','HAALAND')) -listeMaj.append(('grad(u)','grad(U)')) -listeMaj.append(('variable z','variable Z')) -listeMaj.append(('variable r','variable R')) -listeMaj.append(('ascii','ASCII')) - - -def traite(fichier,fichierDico, fichierTs): - f=open(fichier,'r') - t=f.read() - for ligne in t.split('\n'): - if pattern_In.match(ligne): - m=pattern_In.match(ligne) - ident=m.group('ident') - if pattern_Out.match(ligne): - m=pattern_Out.match(ligne) - traduit=m.group('traduit') - dicoCataToTelemac[ident]=traduit - traduitMin=traduit.lower() - for t in listeMaj : - traduit=traduitMin.replace(t[0],t[1]) - traduitMin=traduit - chaine=traduitMin[0].upper()+traduitMin[1:] - dicoCataToLabel[ident]=chaine - f.close() - - f=open(fichierDico,'w') - f.write ("dicoCataToFrTelemac = {\n") - for k in dicoCataToTelemac.keys() : - l= ' "'+ k +'" : "'+ dicoCataToTelemac[k]+'",\n' - f.write(l) - f.write(" }\n") - f.write( "dicoCasFrToCata = {\n") - for k in dicoCataToTelemac.keys() : - l= ' "'+ dicoCataToTelemac[k] +'" : "'+ k+'",\n' - f.write(l) - f.write( " }\n") - f.close() - - f=open(fichierTs,'w') - f.write( Entete) - for k in dicoCataToTelemac.keys() : - texte = " \n " - texte+= k - texte+= "\n " - texte+= dicoCataToLabel[k] - texte+= "\n \n" - f.write( texte) - - f.write( Fin) - - -if __name__ == "__main__": - import optparse - parser=optparse.OptionParser(usage="utilisation : %prog [options]") - parser.add_option(u"-i","--input",dest="fichierIn",type='string', - help=("nom du fichier ts a traduire")) - parser.add_option(u"-d","--dico",dest="fichierDico",type='string', - help=("nom du fichier contenant les dictionnaires labelTelemac:labelCata en sortie")) - parser.add_option(u"-t","--tsFile",dest="fichierTs",type='string', - help=("nom du fichier ts contenant labelCata vers label IHM")) - - - (options,args)=parser.parse_args(sys.argv[1:]) - if options.fichierIn == None or options.fichierDico == None or options.fichierTs==None : - print 'reEcritts.py -i -d -t ' - print './reEcritts.py -i cata_name2eng_name.ts -d dicoCasEnToCata.py -t tsfile' - sys.exit(1) - traite(options.fichierIn,options.fichierDico,options.fichierTs) - diff --git a/Telemac/waqtel_cata_auto.py b/Telemac/waqtel_cata_auto.py deleted file mode 100644 index d2aeb18e..00000000 --- a/Telemac/waqtel_cata_auto.py +++ /dev/null @@ -1,1281 +0,0 @@ - -# -*- coding: latin-1 -*- - -from Accas import * -class DateJJMMAAAA: - def __init__(self): - self.ntuple=3 - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Date : jj/mm/aaaa " - - __repr__=info - __str__=info - -class grma(GEOM): - pass - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - - -JdC = JDC_CATA (code = 'WAQTEL', - execmodul = None, - ) -# ======================================================================= -# Catalog entry for the MAP function : c_pre_interfaceBody_mesh -# ======================================================================= - -VERSION_CATALOGUE="TRUNK_20201028" -# ----------------------------------------------------------------------- -COMPUTATION_ENVIRONMENT = PROC(nom= "COMPUTATION_ENVIRONMENT",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - GLOBAL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WAQ_CASE_TITLE = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - defaut = '', - fr = """Titre du cas etudie. Ce titre sera inscrit dans les sorties.""", - ang = """Title of the case being considered. -This title will be marked on the printouts.""", - ), -# ----------------------------------- - PARALLEL_PROCESSORS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = 0, - fr = """Nombre de processeurs en calcul parallele : -\begin{itemize} -\item 0 : 1 machine, compilation sans bibliotheque de parallelisme ; -\item 1 : 1 machine, compilation avec bibliotheque de parallelisme ; -\item 2 : 2 processeurs ou machines en parallele etc. -\end{itemize}""", - ang = """Number of processors for parallel processing: -\begin{itemize} -\item 0: 1 machine, compiling without parallel library, -\item 1: 1 machine, compiling with a parallel library, -\item 2: 2 processors or machines in parallel etc. -\end{itemize}""", - ), - ), -# ----------------------------------- - INPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DATA = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - GEOMETRY_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier de geometrie, pareil que celui de TELEMAC.""", - ang = """Geometry file same as the TELEMAC one.""", - ), -# ----------------------------------- - GEOMETRY_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier de geometrie. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Geometry file format. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - BOUNDARY_CONDITIONS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - fr = """Nom du fichier contenant les types de conditions aux limites. -Ce fichier est rempli de facon automatique par le mailleur au moyen de -couleurs affectees aux noeuds des frontieres du domaine de calcul.""", - ang = """Name of the file containing the types of boundary conditions. -This file is filled automatically by the mesh generator through -colours that are assigned to the boundary nodes.""", - ), -# ----------------------------------- - FORTRAN_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier FORTRAN a soumettre.""", - ang = """Name of FORTRAN file to be submitted.""", - ), -# ----------------------------------- - HYDRODYNAMIC_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Fichier des donnees hydrodynamiques provenant de TELEMAC. -Lu mais pas utilise pour le moment.""", - ang = """Hydrodynamic data file coming from TELEMAC. -Read but not used at the moment.""", - ), -# ----------------------------------- - HYDRODYNAMIC_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier hydrodynamique. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Hydrodynamic file format. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - VALIDATION = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Option utilisee principalement pour le dossier de validation. -Si ce mot-cle vaut OUI, les resultats du calcul vont alors etre -compares aux valeurs du fichier de reference. -Lu mais pas utilise pour le moment.""", - ang = """This option is primarily used for the validation -documents. If this keyword is equal to YES, the REFERENCE FILE -is then considered as a reference which the computation is -going to be compared with. -Read but not used at the moment.""", - ), -# ----------------------------------- - b_VALIDATIONG = BLOC(condition="VALIDATION == True", -# ----------------------------------- -# ----------------------------------- - REFERENCE_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier hydrodynamique. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Hydrodynamic file format. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - REFERENCE_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), max='**', - defaut = '', - fr = """Nom du fichier servant a valider le calcul. -Si \telkey{VALIDATION} = OUI, les resultats du calcul vont etre -comparees aux valeurs contenues dans ce fichier. -La comparaison est effectuee par le sous-programme VALIDA. -a implementer.""", - ang = """Name of the file used to validate the computation. -If \telkey{VALIDATION} = YES, the results of the computation will -be compared with the values of this file. The comparison is -made by the subroutine BIEF\_VALIDA. (not implemented yet).""", - ), - ), - ), -# ----------------------------------- - AED2 = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - AED2_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres AED2 du calcul -QE a realiser.""", - ang = """Name of the file containing AED2 parameters of the WAQ -computation.""", - ), -# ----------------------------------- - AED2_PHYTOPLANKTON_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres phytoplancton AED2 du -calcul QE a realiser.""", - ang = """Name of the file containing AED2 phytoplankton parameters of -the WAQ computation.""", - ), -# ----------------------------------- - AED2_ZOOPLANKTON_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres zooplancton AED2 du -calcul QE a realiser.""", - ang = """Name of the file containing AED2 zooplankton parameters of the -WAQ computation.""", - ), -# ----------------------------------- - AED2_PATHOGEN_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres pathogenes AED2 du -calcul QE a realiser.""", - ang = """Name of the file containing AED2 pathogen parameters of the -WAQ computation.""", - ), -# ----------------------------------- - AED2_BIVALVE_STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres bivalves AED2 du -calcul QE a realiser.""", - ang = """Name of the file containing AED2 bivalve parameters of the -WAQ computation.""", - ), - ), - ), -# ----------------------------------- - OUTPUT = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - RESULTS_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)','Sauvegarde'), max='**', - fr = """Nom du fichier dans lequel seront ecrits les resultats avec -une periodicite donnee par le mot cle -\telkey{PERIODE POUR LES SORTIES QUALITE D EAU}.""", - ang = """Name of the file into which the computation results will be -written, the periodicity being given by the keyword -\telkey{WATER QUALITY PRINTOUT PERIOD}.""", - ), -# ----------------------------------- - RESULTS_FILE_FORMAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ['SERAFIN','SERAFIND','MED'], - defaut = 'SERAFIN', - fr = """Format du fichier des resultats. -Les valeurs possibles sont : -\begin{itemize} -\item SERAFIN : format standard simple precision pour \tel ; -\item SERAFIND: format standard double precision pour \tel ; -\item MED : format MED double precision base sur HDF5. -\end{itemize}""", - ang = """Results file format. -Possible choices are: -\begin{itemize} -\item SERAFIN : classical single precision format in \tel, -\item SERAFIND: classical double precision format in \tel, -\item MED : MED double precision format based on HDF5. -\end{itemize}""", - ), -# ----------------------------------- - WATER_QUALITY_PRINTOUT_PERIOD = SIMP(statut ='o', -# ----------------------------------- - typ = 'I', - defaut = 1, - fr = """Periode pour les sorties graphiques QE. -Lu mais pas utilise pour le moment.""", - ang = """Graphic outputs period for WAQ. -Read but not used at the moment.""", - ), -# ----------------------------------- - VARIABLES_FOR_WAQ_PRINTOUTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - into = ['','to edit !!!'], - defaut = '', - fr = """Noms des variables que l''utilisateur veut ecrire dans -le fichier des resultats QE. -Chaque variable est representee par une lettre. -Ne semble pas utilise pour le moment.""", - ang = """Names of variables the user wants to write -into the graphic results file. -Does not seem to be used at the moment.""", - ), - ), -# ----------------------------------- - LISTING = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MASS_BALANCE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Determine si oui ou non le bilan de masse est realise. -Lu mais pas utilise pour le moment.""", - ang = """Determines whether a check of the mass-balance over the domain -is made or not. -Read but not used at the moment.""", - ), -# ----------------------------------- - WAQ_VARIABLES_TO_BE_PRINTED = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', max='**', - defaut = '', - fr = """Nom des variables que l''utilisateur desire ecrire sur -le listing. Memes possibilites que pour les sorties graphiques. -Ne semble pas utilise pour le moment.""", - ang = """Names of variables the user wants to write on the listing. -Each variable is represented by a letter in the same manner as -it is done in the graphic results file. -Does not seem to be used at the moment.""", - ), - ), - ), -) -# ----------------------------------------------------------------------- -GENERAL_PARAMETERS = PROC(nom= "GENERAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - DEBUGGER = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Pour imprimer la sequence des appels, mettre 1.""", - ang = """If 1, calls of subroutines will be printed in the listing.""", - ), -) -# ----------------------------------------------------------------------- -HYDRODYNAMICS = PROC(nom= "HYDRODYNAMICS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - PHYSICAL_PARAMETERS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WATER_DENSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 999.972, - fr = """Fixe la valeur de la masse volumique de l''eau.""", - ang = """Sets the value of water density.""", - ), -# ----------------------------------- - KINEMATIC_WATER_VISCOSITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 1.E-6, - fr = """Definit la viscosite cinematique de l''eau. -En m/s$^2$. Lu mais pas utilise pour le moment.""", - ang = """Specifies the water kinematic viscosity. -En m/s$^2$. Read but not used at the moment.""", - ), - ), -# ----------------------------------- - SUSPENSION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - DISPERSION_ALONG_THE_FLOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """Lu mais pas utilise pour le moment.""", - ang = """Read but not used at the moment.""", - ), -# ----------------------------------- - DISPERSION_ACROSS_THE_FLOW = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.E-2], - fr = """Lu mais pas utilise pour le moment.""", - ang = """Read but not used at the moment.""", - ), - ), -) -# ----------------------------------------------------------------------- -PHYSICAL_PARAMETERS = PROC(nom= "PHYSICAL_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - EVAPORATION_RATE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Taux d evaporation - meme unite que la pluie en m$^3$/s/m$^2$.""", - ang = """Rate of evaporation - same unit as rainfall in m$^3$/s/m$^2$.""", - ), -) -# ----------------------------------------------------------------------- -WAQ_PARAMETERS = PROC(nom= "WAQ_PARAMETERS",op = None, -# ----------------------------------------------------------------------- -# ----------------------------------- - METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', - into = ["ATKINS FORMULA","MOSS FORMULA","GIVEN CONSTANT"], - defaut = "ATKINS FORMULA", - fr = """Choix de la methode de calcul du coefficient d extinction -du rayonnement solaire dans l eau $k_e$ en m$^{-1}$. Les choix sont: -\begin{itemize} -\item 1 : formule d Atkins (1.7/Secchi) ; -\item 2 : formule de Moss si la profondeur de Secchi est inconnue ; -\item 3 : constante fournie par l utilisateur. -\end{itemize} -Pour EUTRO+BIOMASS et THERMIC en 3D.""", - ang = """Choice of the method of calculation of the extinction of -sun ray in water $k_e$ in m$^{-1}$. The choices are : -\begin{itemize} -\item 1: Atkins formula (1.7/Secchi), -\item 2: Moss formula if Secchi depth is unknown, -\item 3: constant provided by the user with the keyword -\telkey{LIGHT EXTINCTION COEFFICIENT}. -\end{itemize} -For EUTRO+BIOMASS and THERMIC in 3D.""", - ), -# ----------------------------------- - SECCHI_DEPTH = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.9, - fr = """En m. Utilise pour EUTRO+BIOMAS et THERMIC en 3D.""", - ang = """In m. Used for EUTRO+BIOMAS, and THERMIC in 3D.""", - ), -# ----------------------------------- - LIGHT_EXTINCTION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.2, - fr = """En m$^{-1}$. Utilise pour EUTRO+BIOMAS et THERMIC en 3D.""", - ang = """In m$^{-1}$. Used for EUTRO+BIOMAS, and THERMIC in 3D.""", - ), -# ----------------------------------- - EUTROPHICATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WATER_TEMPERATURE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [7.], - fr = """En $^{\circ}$C, temperature moyenne de l eau -necessaire pour calculer les valeurs de $C_s$.""", - ang = """In $^{\circ}$C, mean temperature necessary for -computing different values of $C_s$.""", - ), -# ----------------------------------- - O2 = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - VEGETAL_RESPIRATION_R = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.06], - fr = """En mgO$_2$/j/l. Variable $R$ dans la documentation. -Pour O2 seulement.""", - ang = """In mgO$_2$/d/l. Variable $R$ in the documentation. -For O2 only.""", - ), -# ----------------------------------- - CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.25], - fr = """En j$^{-1}$. Pour O2 seulement.""", - ang = """In d$^{-1}$. For O2 only.""", - ), -# ----------------------------------- - CONSTANT_OF_NITRIFICATION_KINETIC_K4 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.35], - fr = """En j$^{-1}$. Pour O2 seulement.""", - ang = """In d$^{-1}$. For O2 only.""", - ), - ), -# ----------------------------------- - EUTRO_AND_O2 = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - BENTHIC_DEMAND = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.1], - fr = """En gO$_2$/m$^2$/j. Variable $BEN$ dans la documentation. -Pour EUTRO+O2.""", - ang = """In gO$_2$/m$^2$/d. Variable $BEN$ in the documentation. -For EUTRO+O2.""", - ), -# ----------------------------------- - PHOTOSYNTHESIS_P = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.], - fr = """En mgO$_2$/j/l. Variable $P$ dans la documentation. -Son ordre de grandeur est compris entre 0.3 et 9~mgO$_2$/j/l -selon la nature du cours d eau. -Pour EUTRO+O2.""", - ang = """In mgO$_2$/d/l. Variable $P$ in the documentation. -Between 0.3 and 9~mgO$_2$/d/l depending on the type of river. -For EUTRO+O2.""", - ), -# ----------------------------------- - O2_SATURATION_DENSITY_OF_WATER__CS_ = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [11.], - fr = """En mgO$_2$/l. Variable $C_s$ = 9~mgO$_2$/l at 20$^{\circ}$C. -Pour EUTRO+O2.""", - ang = """In mgO$_2$/l. Variable $C_s$ = 9~mgO$_2$/l at 20$^{\circ}$C. -For EUTRO+O2.""", - ), -# ----------------------------------- - FORMULA_FOR_COMPUTING_K2 = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [1], - fr = """Donne le choix de calcul de la formule de $k_2$ de la -reaeration naturelle, les options sont les suivantes : -\begin{itemize} -\item 0 : $k_2$ constant, valeur de $k_2$ = 0.9 ; -\item 1 : formule de Tenessee Valley Authority ; -\item 2 : formule de Owens et al. ; -\item 3 : formule de Churchill et al. ; -\item 4 : formule de O Connor \& Dobbins ; -\item 5 : formule combinant les formules 2, 3 et 4. -\end{itemize} -Pour EUTRO+O2.""", - ang = """Gives how to compute the reaeration coefficient $k_2$ -options are: -\begin{itemize} -\item 0: $k_2$ constant, in this case $k_2$ = 0.9, -\item 1: formula of The Tenessee Valley Authority, -\item 2: formula of Owens et al., -\item 3: formula of Churchill et al., -\item 4: formula of O Connor \& Dobbins, -\item 5: formula combining the formulae 2, 3 et 4. -\end{itemize} -For EUTRO+O2.""", - ), -# ----------------------------------- - K2_REAERATION_COEFFICIENT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.9], - fr = """Ou coefficient d echange gazeux eau-atmosphere a 20$^{\circ}$C -En j$^{-1}$. Valeur comprise entre 0.1 et > 1.15~j$^{-1}$. -Variable $k_2$ dans la documentation. Pour EUTRO+O2.""", - ang = """In d$^{-1}$. Value between 0.1 and > 1.15~d$^{-1}$. -Variable $k_2$ in the documentation. For EUTRO+O2.""", - ), -# ----------------------------------- - FORMULA_FOR_COMPUTING_CS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """En j$^{-1}$, les options sont les suivantes : -\begin{itemize} -\item 0 : constante ; -\item 1 : formule de Elmore \& Hayes ; -\item 2 : formule de Montgomery. -\end{itemize} -Pour EUTRO+O2.""", - ang = """In d$^{-1}$, here are the available options: -\begin{itemize} -\item 0: constant, -\item 1: Elmore \& Hayes formula, -\item 2: Montgomery formula. -\end{itemize} -For EUTRO+O2.""", - ), - ), -# ----------------------------------- - EUTRO_AND_BIOMASS = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - MAXIMUM_ALGAL_GROWTH_RATE_AT_20C = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 2., - fr = """Taux de croissance algale maximale a 20$^{\circ}$C. -Pour EUTRO+BIOMASS.""", - ang = """Maximum algal growth rate at 20$^{\circ}$C. -For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - ALGAL_TOXICITY_COEFFICIENTS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [1.,0.], - fr = """$\alpha_1$ et $\alpha_2$ dans la documentation. -$\alpha_i = 1$ signifie absence de toxicite. Pour EUTRO+BIOMASS.""", - ang = """$\alpha_1$ and $\alpha_2$ in the documentation. -$\alpha_i = 1$ means no toxicity. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """En m$^{-1}$. Pour EUTRO+BIOMASS.""", - ang = """In m$^{-1}$. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [120.], - fr = """En W/m$^2$. Ordre de grandeur = 100~W/m$^2$. -Pour EUTRO+BIOMASS.""", - ang = """In W/m$^2$. Around 100~W/m$^2$. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0., - fr = """Densite de flux du rayonnement solaire a la surface de l eau -en W/m$^2$. Pour EUTRO+BIOMASS.""", - ang = """Density of sunshine flux on the water surface -in W/m$^2$. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.005], - fr = """En mgP/l. Environ 0.005~mgP/l. Pour EUTRO+BIOMASS.""", - ang = """In mgP/l. Around 0.005~mgP/l. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.03], - fr = """En mgN/l. Environ 0.03~mgN/l. Pour EUTRO+BIOMASS.""", - ang = """In mgN/l. Around 0.03~mgN/l. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - RESPIRATION_RATE_OF_ALGAL_BIOMASS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.05], - fr = """En j$^{-1}$, a 20$^{\circ}$C. Variable $RP$ dans la -documentation. Pour EUTRO+BIOMASS.""", - ang = """In d$^{-1}$, at 20$^{\circ}$C. Variable $RP$ in -the documentation. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.1,0.003], - fr = """Variables $M_1$ et $M_2$ dans la documentation. -Pour EUTRO+BIOMASS.""", - ang = """Variables $M_1$ and $M_2$ in the documentation. -For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.0025], - fr = """En mgP/$\mu$gChlA. Variable $fp$ dans la documentation. -Pour EUTRO+BIOMASS.""", - ang = """In mgP/$\mu$gChlA. Variable $fp$ in the documentation. -For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.5], - fr = """En $\%$. Pour EUTRO+BIOMASS.""", - ang = """In $\%$. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - RATE_OF_TRANSFORMATION_OF_POR_TO_PO4 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.03], - fr = """Taux de transformation du phosphore degradable non assimilable -par le phytoplancton (POR) en phosphore mineral dissous assimilable par -le phyto (PO4) par le biais de la mineralisation bacterienne -en j$^{-1}$. -Variables $k_1$ pour BIOMAS et $k_{320}$ pour EUTRO (a 20$^{\circ}$C) -dans la documentation. Pour EUTRO+BIOMASS.""", - ang = """Rate of transformation of degradable and non assimilable -phosphorus (POR) to mineral dissolved assimilable phosphorus (PO4) -by means of bacteria mineralization in d$^{-1}$. -Variables $k_1$ for BIOMAS and $k_{320}$ for EUTRO (at 20$^{\circ}$C) -in the documentation. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Taux de transformation de l azote degradable -non assimilable par le phytoplancton (NOR) en azote mineral dissous -assimilable par le phytoplancton NO3 par le biais de la -mineralisation bacterienne en j$^{-1}$. -Variables $k_2$ pour BIOMAS et $k_{620}$ pour EUTRO (a 20$^{\circ}$C) -dans la documentation. Pour EUTRO+BIOMASS.""", - ang = """Rate of transformation of degradable and non assimilable -nitrogen (NOR) to mineral dissolved assimilable nitrogen (NO3) -by bacteria mineralization in d$^{-1}$. -Variables $k_2$ for BIOMAS and $k_{620}$ for EUTRO (at 20$^{\circ}$C) -in the documentation. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.0035], - fr = """En mgN/$\mu$gChlA. Variable $fn$ dans la documentation. -Pour EUTRO+BIOMASS.""", - ang = """In mgN/$\mu$gChlA. Variable $fn$ in the documentation. -For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.5], - fr = """En $\%$. Variable $dtn$ dans la documentation. -Pour EUTRO+BIOMASS.""", - ang = """In $\%$. Variable $dtn$ in the documentation. -For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Vitesse de sedimentation du phosphore organique non algal -en m/s. Pour EUTRO+BIOMASS.""", - ang = """Sedimentation velocity of non algal organic phosphorus -in m/s. For EUTRO+BIOMASS.""", - ), -# ----------------------------------- - SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Vitesse de sedimentation de l azote organique non algal -en m/s. Pour EUTRO+BIOMASS.""", - ang = """Sedimentation velocity of non algal organic nitrogen -in m/s. For EUTRO+BIOMASS.""", - ), - ), -# ----------------------------------- - EUTRO = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - CONSUMED_OXYGEN_BY_NITRIFICATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [5.2], - fr = """En mgO$_2$/mgNH$_4$. Variable $n$ in the documentation. -Pour EUTRO seulement.""", - ang = """In mgO$_2$/mgNH$_4$. Variable $n$ in the documentation. -For EUTRO only.""", - ), -# ----------------------------------- - CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.35], - fr = """Constante de la cinetique de nitrification a 20$^{\circ}$C. -En j$^{-1}$. Pour EUTRO seulement.""", - ang = """Constant for the nitrification kinetic at 20$^{\circ}$C. -In d$^{-1}$. For EUTRO only.""", - ), -# ----------------------------------- - CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120 = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.35], - fr = """Constante de cinetique de degradation de la charge organique -a 20$^{\circ}$C. En j$^{-1}$. Pour EUTRO seulement.""", - ang = """Constant of degradation kinetic of organic load -at 20$^{\circ}$C. In d$^{-1}$. For EUTRO only.""", - ), -# ----------------------------------- - SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """En m/s. Pour EUTRO seulement.""", - ang = """In m/s. For EUTRO only.""", - ), -# ----------------------------------- - OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.15], - fr = """En mgO$_2$/$\mu$gChlA. Variable $f$ dans la documentation. -Pour EUTRO seulement.""", - ang = """In mgO$_2$/$\mu$gChlA. Variable $f$ in the documentation. -For EUTRO only.""", - ), - ), -# ----------------------------------- - SOURCES = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - FORMULA_FOR_COMPUTING_RS = SIMP(statut ='f', -# ----------------------------------- - typ = 'I', - defaut = [0], - fr = """Donne le choix de calcul de la formule de RS de la -reaeration naturelle au niveau des seuils, -les options sont les suivantes : -\begin{itemize} -\item 0 : RS constant, valeur de RS = 1.0 ; -\item 1 : formule de Gameson 1 ; -\item 2 : formule de Gameson 2 ; -\item 3 : formule de WRL1 ; -\item 4 : formule de WRL2. -\end{itemize} -Lu mais pas utilise pour le moment.""", - ang = """Gives how to cumpute the weir reaeration coefficient RS -options are: -\begin{itemize} -\item 0: RS constant, in this case RS = 1.0, -\item 1: formula of Gameson 1, -\item 2: formula of Gameson 2, -\item 3: formula of WRL1, -\item 4: formula of WRL2. -\end{itemize} -Read but not used at the moment.""", - ), -# ----------------------------------- - WEIR_REAERATION_COEFFICIENT_RS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.0], - fr = """En j$^{-1}$. Lu mais pas utilise pour le moment.""", - ang = """In d$^{-1}$. Read but not used at the moment.""", - ), -# ----------------------------------- - COEFFICIENTS_A_AND_B_FOR_RS_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [1.2,0.7], - fr = """Coefficients intervenant dans le calcul de RS : -$a$ est entre 0.65 (eau tres polluee) et 1.8 (eau tres claire) -et $b$ varie beaucoup (voir tableau dans la documentation). -Lu mais pas utilise pour le moment.""", - ang = """Coefficients needed for the calculation of RS: -$a$ is between 0.65 (very polluted water and 1.8 (very clear water) -and $b$ varies a lot (see array in the documentation). -Read but not used at the moment.""", - ), - ), - ), -# ----------------------------------- - MICROPOL = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - SEDIMENTATION_CRITICAL_STRESS = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [5.], - fr = """Tension de cisaillement critique de sedimentation -en Pa. Pour MICROPOL seulement.""", - ang = """Sedimentation critical shear stress -in Pa. For MICROPOL only.""", - ), -# ----------------------------------- - SEDIMENT_SETTLING_VELOCITY = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [6.E-6], - fr = """Vitesse de sedimentation en m/s. Variable $w$ dans la -documentation. Pour MICROPOL seulement.""", - ang = """Sediment velocity in m/s. Variable $w$ in the documentation. -For MICROPOL only.""", - ), -# ----------------------------------- - CRITICAL_STRESS_OF_RESUSPENSION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1000.], - fr = """Tension de cisaillement critique de remise en -suspension en Pa. Variable $\tau_r$ dans la documentation. -Pour MICROPOL seulement.""", - ang = """Sedimentation critical shear stress -in Pa. Variable $\tau_r$ in the documentation. For MICROPOL only.""", - ), -# ----------------------------------- - EROSION_RATE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.], - fr = """Taux d erosion caracteristique des MES deposees -ou encore appele constante de Partheniades. -Variable $e$ dans la documentation. -Pour MICROPOL seulement.""", - ang = """ Characteristic erosion rate of deposited SPM -or also called Partheniades s constant. -Variable $e$ in the documentation. -For MICROPOL only.""", - ), -# ----------------------------------- - CONSTANT_OF_DESORPTION_KINETIC = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [2.5E-7], - fr = """En s$^{-1}$. Variable $k_{-1}$ dans la documentation. -Pour MICROPOL seulement.""", - ang = """In s$^{-1}$. Variable $k_{-1}$ in the documentation. -For MICROPOL only.""", - ), -# ----------------------------------- - COEFFICIENT_OF_DISTRIBUTION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1775.], - fr = """En m$^3$/kg ou l/g. Variable $K_d$ dans la documentation. -Pour MICROPOL seulement.""", - ang = """In m$^3$/kg or l/g. Variable $K_d$ in the documentation. -For MICROPOL only.""", - ), -# ----------------------------------- - EXPONENTIAL_DESINTEGRATION_CONSTANT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1.13E-7], - fr = """En s$^{-1}$, loi de decroissance exponentielle comme celle de -la radioactivite. Variable $L$ dans la documentation. -Pour MICROPOL seulement.""", - ang = """In s$^{-1}$, exponential decrease law like the one of -radioactivity. Variable $L$ in the documentation. For MICROPOL only.""", - ), - ), -# ----------------------------------- - THERMIC = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - WATER_SPECIFIC_HEAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [4180.], - fr = """En J/kg/$^{\circ}$C. Pour THERMIC seulement.""", - ang = """In J/kg/$^{\circ}$C. For THERMIC only.""", - ), -# ----------------------------------- - COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.97, - fr = """Variable $e_{\rm{air}}$ dans la documentation. -Pour THERMIC seulement.""", - ang = """Variable $e_{\rm{air}}$ in the documentation. -For THERMIC only.""", - ), -# ----------------------------------- - COEFFICIENT_OF_CLOUDING_RATE = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.17, - fr = """Coefficient qui depend du type de nuages : -\begin{itemize} -\item Cirrus = 0.04 ; -\item Cirro stratus = 0.08 ; -\item Alto cumulus = 0.17 ; -\item Alto stratus = 0.2 ; -\item Stratus = 0.24 -\end{itemize} -Alto Cumulus (valeur moyenne) est utilise habituellement -(T.V.A. 1972), valeur par defaut en 3D. -En 3D, uniquement utilise avec la formule de Swinbank (1963) -pour le calcul du rayonnement atmospherique. -Variable $k$ dans la documentation. Pour THERMIC seulement. -Ancienne valeur par defaut = 0.2 jusqu a la version V8P1.""", - ang = """Coefficient depending on the type of clouds: -\begin{itemize} -\item Cirrus = 0.04, -\item Cirro stratus = 0.08, -\item Alto cumulus = 0.17, -\item Alto stratus = 0.2, -\item Stratus = 0.24. -\end{itemize} -Alto Cumulus (mean value) is usually used (T.V.A. 1972), -default value in 3D. -In 3D, only used with Swinbank formula (1963) -for the computation of the atmospheric radiation. -Variable $k$ in the documentation. -For THERMIC only. -Old default value = 0.2 until release V8P1.""", - ), -# ----------------------------------- - COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = 0.97, - fr = """Il depend du site et des obstacles entourant le plan d eau. -Pour une riviere etroite bordee d arbres, ca serait voisin de 0.97 -et pour un terrain largement decouvert, ca serait voisin de 0.92. -Variable $e_{\rm{eau}}$ dans la documentation. -Pour THERMIC seulement.""", - ang = """It depends on the location and the obstacles around the -water. For a narrow river bordered with trees, it would be around -0.97 and for a widely oopen field, it would be around 0.92. -Variable $e_{\rm{eau}}$ in the documentation. -For THERMIC only.""", - ), -# ----------------------------------- - AIR_SPECIFIC_HEAT = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [1005.], - fr = """En J/kg/$^{\circ}$C. Pour THERMIC seulement.""", - ang = """In J/kg/$^{\circ}$C. For THERMIC only.""", - ), -# ----------------------------------- - COEFFICIENTS_OF_AERATION_FORMULA = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', min= 2, max= 2, - defaut = [0.002,0.0012], - fr = """Couple de coefficients de calage pour la fonction de vent -dans les modeles d echanges eau-atmosphere. -Leurs valeurs tres proches valent environ 0.0025. -Seulement pour le THERMIC en 2D.""", - ang = """Couple of calibration coefficients for the wind function -of the atmosphere-water exchange models. -Their close values are around 0.0025. -Only for THERMIC in 2D.""", - ), -# ----------------------------------- - ATMOSPHERE_WATER_EXCHANGE_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["NO MODEL","LINEARISED FORMULA AT THE FREE SURFACE","MODEL WITH COMPLETE BALANCE"], - defaut = ["NO MODEL"], - fr = """Choix du modele d echanges entre l eau et l atmosphere. -\begin{itemize} -\item 0 : pas de mode d echanges eau-atmosphere (defaut) ; -\item formule linearisee a la surface (3D seulement) ; -\item modele a bilan complet. -\end{itemize} -En 2D, si autre processus que THERMIC, laisser obligatoirement -a 0.""", - ang = """Choice of the atmosphere-water exchange model. -\begin{itemize} -\item 0: no model (default), -\item 1: linearised formula at the free surface, -\item 2: model with complete balance. -\end{itemize} -In 2D, if another processus than THERMIC, mandatory to let to 0.""", - ), -# ----------------------------------- - COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL = SIMP(statut ='f', -# ----------------------------------- - typ = 'R', - defaut = [0.0025], - fr = """Valeur du coefficient de calage pour la fonction de vent -dans les modeles d echanges eau-atmosphere -(formule linearisee a la surface ou bilan complet). -Une valeur comprise entre 0.0017 et 0.0035 est conseillee. -Seulement pour le THERMIC 3D.""", - ang = """Value of the calibration coefficient for the wind function -of the atmosphere-water exchange models -(linearised formula at the free surface or complete balance). -A value between 0.0017 and 0.0035 is advised. -Only for THERMIC 3D.""", - ), -# ----------------------------------- - FORMULA_OF_ATMOSPHERIC_RADIATION = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["IDSO AND JACKSON (1969)","SWINBANK (1963)","BRUTSAERT (1975)","YAJIMA TONO DAM (2014)"], - defaut = "SWINBANK (1963)", - fr = """Formule au choix pour le calcul du rayonnement atmospherique. -Voir GLM. -\begin{itemize} -\item 1 : Idso et Jackson (1969) ; -\item 2 : Swibank (1963), defaut ; -\item 3 : Brutsaert (1975) ; -\item 4 : Yajima Tono Dam (2014). -\end{itemize} -Seulement pour le THERMIC 3D.""", - ang = """Formula to be chosen to compute the atmospheric radiation. -See GLM. -\begin{itemize} -\item 1: Idso and Jackson (1969), -\item 2: Swibank (1963), default, -\item 3: Brutsaert (1975), -\item 4: Yajima Tono Dam (2014). -\end{itemize} -Only for THERMIC 3D.""", - ), -# ----------------------------------- - LIGHTNESS_OF_THE_SKY = SIMP(statut ='f', -# ----------------------------------- - typ = 'TXM', - into = ["VERY BRIGHT, PURE SKY","MODERATELY BRIGHT SKY","FOGGY LIKE THE SKY OF INDUSTRIAL AREA "], - defaut = "MODERATELY BRIGHT SKY", - fr = """Degre de clarte (purete) du ciel. -Les choix possibles sont : -\begin{itemize} -\item ciel tres clair, tres pur ; -\item ciel moyennement clair ; -\item ciel d une zone industrielle, opaque. -\end{itemize} -Pour THERMIC en 3D seulement.""", - ang = """How the sky is bright (pure). -Possible choices are: -\begin{itemize} -\item very bright, pure sky, -\item moderately bright sky, -\item foggy like the sky of industrial area. -\end{itemize} -For THERMIC in 3D only.""", - ), -# ----------------------------------- - SOLAR_RADIATION_READ_IN_METEO_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = bool, - defaut = False, - fr = """Si la donnee meteo de rayonnement solaire est disponible, -elle peut etre lue dans le -\telkey{FICHIER ASCII DE DONNEES ATMOSPHERIQUES} de \telemac{2d} ou -\telemac{3d} au lieu d etre calculee par le module d echanges -eau-atmosphere en activant ce mot cle a OUI. -Pour THERMIC en 3D seulement. This is mandatory in 2D.""", - ang = """If solar radiation data is available, it can be read in the -\telkey{ASCII ATMOSPHERIC DATA FILE} of \telemac{2d} or \telemac{3d} -instead of been computed by the heat exchange with atmosphere module -by activating this keyword to YES. -For THERMIC in 3D only. This is mandatory in 2D.""", - ), - ), -# ----------------------------------- - DEGRADATION = FACT(statut='o', -# ----------------------------------- -# ----------------------------------- - LAW_OF_TRACERS_DEGRADATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'TXM', min=0, max='**', - into = ["NO DEGRADATION","F(T90) LAW","FIRST ORDER KINETIC LAW, CONSTANT OF DEGRADATION IN HOURS","FIRST ORDER KINETIC LAW, CONSTANT OF DEGRADATION IN DAYS","LAW IMPLEMENTED BY USER"], - defaut = ["NO DEGRADATION","NO DEGRADATION"], - fr = """Prise en compte d''une loi de decroissance des traceurs. Valeur 0 si -pas de prise en compte, 1 si loi 1... Pour chaque valeur entree, un -nom de traceur correspondant doit etre present dans -\telkey{NOMS DES TRACEURS}, auquel sera appliquee la loi. -Les choix possibles sont : -\begin{itemize} -\item 0 : pas de degradation ; -\item 1 : loi de degradation bacteriologique avec coefficient $T_{90}$ ; -\item 2 : loi de degradation d ordre 1, constante de degradation -en h$^{-1}$ ; -\item 3 : loi de degradation d ordre 1, constante de degradation -en jours$^{-1}$ ; -\item 4 : loi programmee par l utilisateur. -\end{itemize}""", - ang = """Take in account a law for tracers decrease. Value 0 if not taken into -account, 1 if law 1... For each value entered, a corresponding name -should be present in the keyword \telkey{NAMES OF TRACERS}, so that the -decrease law is applied to the correct tracer(s). -Possible choices are: -\begin{itemize} -\item 0: no degradation, -\item 1: law for bacterial degradation with $T_{90}$ coefficient, -\item 2: degradation law of first order, constant of tracer kinetic -degradation in h$^{-1}$, -\item 3: degradation law of first order, constant of tracer kinetic -degradation in d$^{-1}$, -\item 4: law implemented by user. -\end{itemize}""", - ), -# ----------------------------------- - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION = SIMP(statut ='o', -# ----------------------------------- - typ = 'R', min=0, max='**', - fr = """Coefficient 1 de la loi de decroissance des traceurs. Voir aussi la -correspondance avec \telkey{NOMS DES TRACEURS} et l''aide du mot cle -\telkey{LOI DE DEGRADATION DES TRACEURS}.""", - ang = """Coefficient 1 of law for tracers decrease. Check also the relation -between the keywords \telkey{NAMES OF TRACERS} and -\telkey{LAW OF TRACERS DEGRADATION}.""", - ), - ), -) -# ----------------------------------------------------------------------- -INTERNAL = PROC(nom= "INTERNAL",op = None, -# ----------------------------------------------------------------------- - UIinfo = {"groupes": ("CACHE")}, -# ----------------------------------- - STEERING_FILE = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = '', - fr = """Nom du fichier contenant les parametres du calcul -QE a realiser.""", - ang = """Name of the file containing parameters of the WAQ -computation Written by the user.""", - ), -# ----------------------------------- - DICTIONARY = SIMP(statut ='f', -# ----------------------------------- - typ = ('Fichier','All Files (*)'), - defaut = 'waqtel.dico', - fr = """Dictionnaire des mots cles.""", - ang = """Key word dictionary.""", - ), -) -TEXTE_NEW_JDC = "\ -COMPUTATION_ENVIRONMENT();\ -GENERAL_PARAMETERS();\ -HYDRODYNAMICS();\ -PHYSICAL_PARAMETERS();\ -WAQ_PARAMETERS();\ -" -Ordre_Des_Commandes = ( -'COMPUTATION_ENVIRONMENT', -'GENERAL_PARAMETERS', -'HYDRODYNAMICS', -'PHYSICAL_PARAMETERS', -'WAQ_PARAMETERS', -'INTERNAL') -try: - import TelApy - source = "eficas" -except Exception as excpt: - source = "Telemac" -enum = source+'.waqtel_enum_auto' -dicoCasEn = source+'.waqtel_dicoCasEnToCata' -dicoCasFr = source+'.waqtel_dicoCasFrToCata' diff --git a/Telemac/waqtel_dicoCasEnToCata.py b/Telemac/waqtel_dicoCasEnToCata.py deleted file mode 100644 index 0fe6e1ea..00000000 --- a/Telemac/waqtel_dicoCasEnToCata.py +++ /dev/null @@ -1,180 +0,0 @@ -dicoCataToEngTelemac = { - "WAQ_CASE_TITLE" : "WAQ CASE TITLE", - "PARALLEL_PROCESSORS" : "PARALLEL PROCESSORS", - "GEOMETRY_FILE" : "GEOMETRY FILE", - "GEOMETRY_FILE_FORMAT" : "GEOMETRY FILE FORMAT", - "BOUNDARY_CONDITIONS_FILE" : "BOUNDARY CONDITIONS FILE", - "FORTRAN_FILE" : "FORTRAN FILE", - "HYDRODYNAMIC_FILE" : "HYDRODYNAMIC FILE", - "HYDRODYNAMIC_FILE_FORMAT" : "HYDRODYNAMIC FILE FORMAT", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE" : "REFERENCE FILE", - "REFERENCE_FILE_FORMAT" : "REFERENCE FILE FORMAT", - "AED2_STEERING_FILE" : "AED2 STEERING FILE", - "AED2_PHYTOPLANKTON_STEERING_FILE" : "AED2 PHYTOPLANKTON STEERING FILE", - "AED2_ZOOPLANKTON_STEERING_FILE" : "AED2 ZOOPLANKTON STEERING FILE", - "AED2_PATHOGEN_STEERING_FILE" : "AED2 PATHOGEN STEERING FILE", - "AED2_BIVALVE_STEERING_FILE" : "AED2 BIVALVE STEERING FILE", - "RESULTS_FILE" : "RESULTS FILE", - "RESULTS_FILE_FORMAT" : "RESULTS FILE FORMAT", - "WATER_QUALITY_PRINTOUT_PERIOD" : "WATER QUALITY PRINTOUT PERIOD", - "VARIABLES_FOR_WAQ_PRINTOUTS" : "VARIABLES FOR WAQ PRINTOUTS", - "MASS_BALANCE" : "MASS-BALANCE", - "WAQ_VARIABLES_TO_BE_PRINTED" : "WAQ VARIABLES TO BE PRINTED", - "DEBUGGER" : "DEBUGGER", - "WATER_DENSITY" : "WATER DENSITY", - "KINEMATIC_WATER_VISCOSITY" : "KINEMATIC WATER VISCOSITY", - "DISPERSION_ALONG_THE_FLOW" : "DISPERSION ALONG THE FLOW", - "DISPERSION_ACROSS_THE_FLOW" : "DISPERSION ACROSS THE FLOW", - "EVAPORATION_RATE" : "EVAPORATION RATE", - "METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT" : "METHOD OF COMPUTATION OF RAY EXTINCTION COEFFICIENT", - "SECCHI_DEPTH" : "SECCHI DEPTH", - "LIGHT_EXTINCTION_COEFFICIENT" : "LIGHT EXTINCTION COEFFICIENT", - "WATER_TEMPERATURE" : "WATER TEMPERATURE", - "VEGETAL_RESPIRATION_R" : "VEGETAL RESPIRATION R", - "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1" : "CONSTANT OF DEGRADATION OF ORGANIC LOAD K1", - "CONSTANT_OF_NITRIFICATION_KINETIC_K4" : "CONSTANT OF NITRIFICATION KINETIC K4", - "BENTHIC_DEMAND" : "BENTHIC DEMAND", - "PHOTOSYNTHESIS_P" : "PHOTOSYNTHESIS P", - "O2_SATURATION_DENSITY_OF_WATER__CS_" : "O2 SATURATION DENSITY OF WATER (CS)", - "FORMULA_FOR_COMPUTING_K2" : "FORMULA FOR COMPUTING K2", - "K2_REAERATION_COEFFICIENT" : "K2 REAERATION COEFFICIENT", - "FORMULA_FOR_COMPUTING_CS" : "FORMULA FOR COMPUTING CS", - "MAXIMUM_ALGAL_GROWTH_RATE_AT_20C" : "MAXIMUM ALGAL GROWTH RATE AT 20C", - "ALGAL_TOXICITY_COEFFICIENTS" : "ALGAL TOXICITY COEFFICIENTS", - "VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO" : "VEGETAL TURBIDITY COEFFICIENT WITHOUT PHYTO", - "PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA" : "PARAMETER OF CALIBRATION OF SMITH FORMULA", - "SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE" : "SUNSHINE FLUX DENSITY ON WATER SURFACE", - "CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE" : "CONSTANT OF HALF-SATURATION WITH PHOSPHATE", - "CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN" : "CONSTANT OF HALF-SATURATION WITH NITROGEN", - "RESPIRATION_RATE_OF_ALGAL_BIOMASS" : "RESPIRATION RATE OF ALGAL BIOMASS", - "COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C" : "COEFFICIENTS OF ALGAL MORTALITY AT 20C", - "PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS" : "PROPORTION OF PHOSPHORUS WITHIN PHYTO CELLS", - "PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO" : "PERCENTAGE OF PHOSPHORUS ASSIMILABLE IN DEAD PHYTO", - "RATE_OF_TRANSFORMATION_OF_POR_TO_PO4" : "RATE OF TRANSFORMATION OF POR TO PO4", - "RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3" : "RATE OF TRANSFORMATION OF NOR TO NO3", - "PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS" : "PROPORTION OF NITROGEN WITHIN PHYTO CELLS", - "PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO" : "PERCENTAGE OF NITROGEN ASSIMILABLE IN DEAD PHYTO", - "SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS" : "SEDIMENTATION VELOCITY OF ORGANIC PHOSPHORUS", - "SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN" : "SEDIMENTATION VELOCITY OF NON ALGAL NITROGEN", - "CONSUMED_OXYGEN_BY_NITRIFICATION" : "CONSUMED OXYGEN BY NITRIFICATION", - "CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520" : "CONSTANT FOR THE NITRIFICATION KINETIC K520", - "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120" : "CONSTANT OF DEGRADATION OF ORGANIC LOAD K120", - "SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD" : "SEDIMENTATION VELOCITY OF ORGANIC LOAD", - "OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS" : "OXYGEN PRODUCED BY PHOTOSYNTHESIS", - "FORMULA_FOR_COMPUTING_RS" : "FORMULA FOR COMPUTING RS", - "WEIR_REAERATION_COEFFICIENT_RS" : "WEIR REAERATION COEFFICIENT RS", - "COEFFICIENTS_A_AND_B_FOR_RS_FORMULA" : "COEFFICIENTS A AND B FOR RS FORMULA", - "SEDIMENTATION_CRITICAL_STRESS" : "SEDIMENTATION CRITICAL STRESS", - "SEDIMENT_SETTLING_VELOCITY" : "SEDIMENT SETTLING VELOCITY", - "CRITICAL_STRESS_OF_RESUSPENSION" : "CRITICAL STRESS OF RESUSPENSION", - "EROSION_RATE" : "EROSION RATE", - "CONSTANT_OF_DESORPTION_KINETIC" : "CONSTANT OF DESORPTION KINETIC", - "COEFFICIENT_OF_DISTRIBUTION" : "COEFFICIENT OF DISTRIBUTION", - "EXPONENTIAL_DESINTEGRATION_CONSTANT" : "EXPONENTIAL DESINTEGRATION CONSTANT", - "WATER_SPECIFIC_HEAT" : "WATER SPECIFIC HEAT", - "COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION" : "COEFFICIENTS FOR CALIBRATING ATMOSPHERIC RADIATION", - "COEFFICIENT_OF_CLOUDING_RATE" : "COEFFICIENT OF CLOUDING RATE", - "COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION" : "COEFFICIENTS FOR CALIBRATING SURFACE WATER RADIATION", - "AIR_SPECIFIC_HEAT" : "AIR SPECIFIC HEAT", - "COEFFICIENTS_OF_AERATION_FORMULA" : "COEFFICIENTS OF AERATION FORMULA", - "ATMOSPHERE_WATER_EXCHANGE_MODEL" : "ATMOSPHERE-WATER EXCHANGE MODEL", - "COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL" : "COEFFICIENT TO CALIBRATE THE ATMOSPHERE-WATER EXCHANGE MODEL", - "FORMULA_OF_ATMOSPHERIC_RADIATION" : "FORMULA OF ATMOSPHERIC RADIATION", - "LIGHTNESS_OF_THE_SKY" : "LIGHTNESS OF THE SKY", - "SOLAR_RADIATION_READ_IN_METEO_FILE" : "SOLAR RADIATION READ IN METEO FILE", - "LAW_OF_TRACERS_DEGRADATION" : "LAW OF TRACERS DEGRADATION", - "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION" : "COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION", - "STEERING_FILE" : "STEERING FILE", - "DICTIONARY" : "DICTIONARY", -} -dicoCasEnToCata = { - "WAQ CASE TITLE" : "WAQ_CASE_TITLE", - "PARALLEL PROCESSORS" : "PARALLEL_PROCESSORS", - "GEOMETRY FILE" : "GEOMETRY_FILE", - "GEOMETRY FILE FORMAT" : "GEOMETRY_FILE_FORMAT", - "BOUNDARY CONDITIONS FILE" : "BOUNDARY_CONDITIONS_FILE", - "FORTRAN FILE" : "FORTRAN_FILE", - "HYDRODYNAMIC FILE" : "HYDRODYNAMIC_FILE", - "HYDRODYNAMIC FILE FORMAT" : "HYDRODYNAMIC_FILE_FORMAT", - "VALIDATION" : "VALIDATION", - "REFERENCE FILE" : "REFERENCE_FILE", - "REFERENCE FILE FORMAT" : "REFERENCE_FILE_FORMAT", - "AED2 STEERING FILE" : "AED2_STEERING_FILE", - "AED2 PHYTOPLANKTON STEERING FILE" : "AED2_PHYTOPLANKTON_STEERING_FILE", - "AED2 ZOOPLANKTON STEERING FILE" : "AED2_ZOOPLANKTON_STEERING_FILE", - "AED2 PATHOGEN STEERING FILE" : "AED2_PATHOGEN_STEERING_FILE", - "AED2 BIVALVE STEERING FILE" : "AED2_BIVALVE_STEERING_FILE", - "RESULTS FILE" : "RESULTS_FILE", - "RESULTS FILE FORMAT" : "RESULTS_FILE_FORMAT", - "WATER QUALITY PRINTOUT PERIOD" : "WATER_QUALITY_PRINTOUT_PERIOD", - "VARIABLES FOR WAQ PRINTOUTS" : "VARIABLES_FOR_WAQ_PRINTOUTS", - "MASS-BALANCE" : "MASS_BALANCE", - "WAQ VARIABLES TO BE PRINTED" : "WAQ_VARIABLES_TO_BE_PRINTED", - "DEBUGGER" : "DEBUGGER", - "WATER DENSITY" : "WATER_DENSITY", - "KINEMATIC WATER VISCOSITY" : "KINEMATIC_WATER_VISCOSITY", - "DISPERSION ALONG THE FLOW" : "DISPERSION_ALONG_THE_FLOW", - "DISPERSION ACROSS THE FLOW" : "DISPERSION_ACROSS_THE_FLOW", - "EVAPORATION RATE" : "EVAPORATION_RATE", - "METHOD OF COMPUTATION OF RAY EXTINCTION COEFFICIENT" : "METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT", - "SECCHI DEPTH" : "SECCHI_DEPTH", - "LIGHT EXTINCTION COEFFICIENT" : "LIGHT_EXTINCTION_COEFFICIENT", - "WATER TEMPERATURE" : "WATER_TEMPERATURE", - "VEGETAL RESPIRATION R" : "VEGETAL_RESPIRATION_R", - "CONSTANT OF DEGRADATION OF ORGANIC LOAD K1" : "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1", - "CONSTANT OF NITRIFICATION KINETIC K4" : "CONSTANT_OF_NITRIFICATION_KINETIC_K4", - "BENTHIC DEMAND" : "BENTHIC_DEMAND", - "PHOTOSYNTHESIS P" : "PHOTOSYNTHESIS_P", - "O2 SATURATION DENSITY OF WATER (CS)" : "O2_SATURATION_DENSITY_OF_WATER__CS_", - "FORMULA FOR COMPUTING K2" : "FORMULA_FOR_COMPUTING_K2", - "K2 REAERATION COEFFICIENT" : "K2_REAERATION_COEFFICIENT", - "FORMULA FOR COMPUTING CS" : "FORMULA_FOR_COMPUTING_CS", - "MAXIMUM ALGAL GROWTH RATE AT 20C" : "MAXIMUM_ALGAL_GROWTH_RATE_AT_20C", - "ALGAL TOXICITY COEFFICIENTS" : "ALGAL_TOXICITY_COEFFICIENTS", - "VEGETAL TURBIDITY COEFFICIENT WITHOUT PHYTO" : "VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO", - "PARAMETER OF CALIBRATION OF SMITH FORMULA" : "PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA", - "SUNSHINE FLUX DENSITY ON WATER SURFACE" : "SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE", - "CONSTANT OF HALF-SATURATION WITH PHOSPHATE" : "CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE", - "CONSTANT OF HALF-SATURATION WITH NITROGEN" : "CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN", - "RESPIRATION RATE OF ALGAL BIOMASS" : "RESPIRATION_RATE_OF_ALGAL_BIOMASS", - "COEFFICIENTS OF ALGAL MORTALITY AT 20C" : "COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C", - "PROPORTION OF PHOSPHORUS WITHIN PHYTO CELLS" : "PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS", - "PERCENTAGE OF PHOSPHORUS ASSIMILABLE IN DEAD PHYTO" : "PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO", - "RATE OF TRANSFORMATION OF POR TO PO4" : "RATE_OF_TRANSFORMATION_OF_POR_TO_PO4", - "RATE OF TRANSFORMATION OF NOR TO NO3" : "RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3", - "PROPORTION OF NITROGEN WITHIN PHYTO CELLS" : "PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS", - "PERCENTAGE OF NITROGEN ASSIMILABLE IN DEAD PHYTO" : "PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO", - "SEDIMENTATION VELOCITY OF ORGANIC PHOSPHORUS" : "SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS", - "SEDIMENTATION VELOCITY OF NON ALGAL NITROGEN" : "SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN", - "CONSUMED OXYGEN BY NITRIFICATION" : "CONSUMED_OXYGEN_BY_NITRIFICATION", - "CONSTANT FOR THE NITRIFICATION KINETIC K520" : "CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520", - "CONSTANT OF DEGRADATION OF ORGANIC LOAD K120" : "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120", - "SEDIMENTATION VELOCITY OF ORGANIC LOAD" : "SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD", - "OXYGEN PRODUCED BY PHOTOSYNTHESIS" : "OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS", - "FORMULA FOR COMPUTING RS" : "FORMULA_FOR_COMPUTING_RS", - "WEIR REAERATION COEFFICIENT RS" : "WEIR_REAERATION_COEFFICIENT_RS", - "COEFFICIENTS A AND B FOR RS FORMULA" : "COEFFICIENTS_A_AND_B_FOR_RS_FORMULA", - "SEDIMENTATION CRITICAL STRESS" : "SEDIMENTATION_CRITICAL_STRESS", - "SEDIMENT SETTLING VELOCITY" : "SEDIMENT_SETTLING_VELOCITY", - "CRITICAL STRESS OF RESUSPENSION" : "CRITICAL_STRESS_OF_RESUSPENSION", - "EROSION RATE" : "EROSION_RATE", - "CONSTANT OF DESORPTION KINETIC" : "CONSTANT_OF_DESORPTION_KINETIC", - "COEFFICIENT OF DISTRIBUTION" : "COEFFICIENT_OF_DISTRIBUTION", - "EXPONENTIAL DESINTEGRATION CONSTANT" : "EXPONENTIAL_DESINTEGRATION_CONSTANT", - "WATER SPECIFIC HEAT" : "WATER_SPECIFIC_HEAT", - "COEFFICIENTS FOR CALIBRATING ATMOSPHERIC RADIATION" : "COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION", - "COEFFICIENT OF CLOUDING RATE" : "COEFFICIENT_OF_CLOUDING_RATE", - "COEFFICIENTS FOR CALIBRATING SURFACE WATER RADIATION" : "COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION", - "AIR SPECIFIC HEAT" : "AIR_SPECIFIC_HEAT", - "COEFFICIENTS OF AERATION FORMULA" : "COEFFICIENTS_OF_AERATION_FORMULA", - "ATMOSPHERE-WATER EXCHANGE MODEL" : "ATMOSPHERE_WATER_EXCHANGE_MODEL", - "COEFFICIENT TO CALIBRATE THE ATMOSPHERE-WATER EXCHANGE MODEL" : "COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL", - "FORMULA OF ATMOSPHERIC RADIATION" : "FORMULA_OF_ATMOSPHERIC_RADIATION", - "LIGHTNESS OF THE SKY" : "LIGHTNESS_OF_THE_SKY", - "SOLAR RADIATION READ IN METEO FILE" : "SOLAR_RADIATION_READ_IN_METEO_FILE", - "LAW OF TRACERS DEGRADATION" : "LAW_OF_TRACERS_DEGRADATION", - "COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION" : "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION", - "STEERING FILE" : "STEERING_FILE", - "DICTIONARY" : "DICTIONARY", -} diff --git a/Telemac/waqtel_dicoCasFrToCata.py b/Telemac/waqtel_dicoCasFrToCata.py deleted file mode 100644 index f625dcfd..00000000 --- a/Telemac/waqtel_dicoCasFrToCata.py +++ /dev/null @@ -1,180 +0,0 @@ -dicoCataToFrTelemac = { - "WAQ_CASE_TITLE" : "TITRE DU CAS QE", - "PARALLEL_PROCESSORS" : "PROCESSEURS PARALLELES", - "GEOMETRY_FILE" : "FICHIER DE GEOMETRIE", - "GEOMETRY_FILE_FORMAT" : "FORMAT DU FICHIER DE GEOMETRIE", - "BOUNDARY_CONDITIONS_FILE" : "FICHIER DES CONDITIONS AUX LIMITES", - "FORTRAN_FILE" : "FICHIER FORTRAN", - "HYDRODYNAMIC_FILE" : "FICHIER HYDRODYNAMIQUE", - "HYDRODYNAMIC_FILE_FORMAT" : "FORMAT DU FICHIER HYDRODYNAMIQUE", - "VALIDATION" : "VALIDATION", - "REFERENCE_FILE" : "FICHIER DE REFERENCE", - "REFERENCE_FILE_FORMAT" : "FORMAT DU FICHIER DE REFERENCE", - "AED2_STEERING_FILE" : "FICHIER DES PARAMETRES AED2", - "AED2_PHYTOPLANKTON_STEERING_FILE" : "FICHIER DES PARAMETRES PHYTOPLANCTON AED2", - "AED2_ZOOPLANKTON_STEERING_FILE" : "FICHIER DES PARAMETRES ZOOPLANCTON AED2", - "AED2_PATHOGEN_STEERING_FILE" : "FICHIER DES PARAMETRES PATHOGENES AED2", - "AED2_BIVALVE_STEERING_FILE" : "FICHIER DES PARAMETRES BIVALVES AED2", - "RESULTS_FILE" : "FICHIER DES RESULTATS", - "RESULTS_FILE_FORMAT" : "FORMAT DU FICHIER DES RESULTATS", - "WATER_QUALITY_PRINTOUT_PERIOD" : "PERIODE POUR LES SORTIES QUALITE D'EAU", - "VARIABLES_FOR_WAQ_PRINTOUTS" : "VARIABLES POUR LES SORTIES QE", - "MASS_BALANCE" : "BILAN DE MASSE", - "WAQ_VARIABLES_TO_BE_PRINTED" : "VARIABLES QE A IMPRIMER", - "DEBUGGER" : "DEBUGGER", - "WATER_DENSITY" : "MASSE VOLUMIQUE DE L'EAU", - "KINEMATIC_WATER_VISCOSITY" : "VISCOSITE CINEMATIQUE EAU", - "DISPERSION_ALONG_THE_FLOW" : "DISPERSION LONGITUDINALE", - "DISPERSION_ACROSS_THE_FLOW" : "DISPERSION TRANSVERSALE", - "EVAPORATION_RATE" : "TAUX D'EVAPORATION", - "METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT" : "METHODE DE CALCUL DU COEFFICIENT D'EXTINCTION DU RAY", - "SECCHI_DEPTH" : "PROFONDEUR DE SECCHI", - "LIGHT_EXTINCTION_COEFFICIENT" : "COEFFICIENT D EXTINCTION DE LA LUMIERE", - "WATER_TEMPERATURE" : "TEMPERATURE DE L'EAU", - "VEGETAL_RESPIRATION_R" : "RESPIRATION VEGETALE R", - "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1" : "CONSTANTE DE DEGRADATION DE LA CHARGE ORGANIQUE K1", - "CONSTANT_OF_NITRIFICATION_KINETIC_K4" : "CONSTANTE DE CINETIQUE DE NITRIFICATION K4", - "BENTHIC_DEMAND" : "DEMANDE BENTHIQUE", - "PHOTOSYNTHESIS_P" : "PHOTOSYNTHESE P", - "O2_SATURATION_DENSITY_OF_WATER__CS_" : "CONCENTRATION DE SATURATION EN O2 DE L'EAU (CS)", - "FORMULA_FOR_COMPUTING_K2" : "FORMULE DE CALCUL DE K2", - "K2_REAERATION_COEFFICIENT" : "COEFFICIENT DE REAERATION K2", - "FORMULA_FOR_COMPUTING_CS" : "FORMULE DE CALCUL DE CS", - "MAXIMUM_ALGAL_GROWTH_RATE_AT_20C" : "TAUX DE CROISSANCE ALGALE MAXIMUM A 20C", - "ALGAL_TOXICITY_COEFFICIENTS" : "COEFFICIENTS DE TOXICITE POUR LES ALGUES", - "VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO" : "COEFFICIENT DE TURBIDITE VEGETALE SANS PHYTO", - "PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA" : "PARAMETRE DE CALAGE DE LA FORMULE DE SMITH", - "SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE" : "DENSITE DE FLUX DU RAYONNEMENT SOLAIRE A LA SURFACE", - "CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE" : "CONSTANTE DE DEMI-SATURATION EN PHOSPHATE", - "CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN" : "CONSTANTE DE DEMI-SATURATION EN AZOTE", - "RESPIRATION_RATE_OF_ALGAL_BIOMASS" : "TAUX DE RESPIRATION DE LA BIOMASSE ALGALE", - "COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C" : "COEFFICIENTS DE MORTALITE ALGALE A 20C", - "PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS" : "PROPORTION DE PHOSPHORE DANS LES CELLULES DU PHYTO", - "PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO" : "POURCENTAGE DE PHOSPHORE ASSIMILABLE DANS LE PHYTO MORT", - "RATE_OF_TRANSFORMATION_OF_POR_TO_PO4" : "TAUX DE TRANSFORMATION DU POR EN PO4", - "RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3" : "TAUX DE TRANSFORMATION DU NOR EN NO3", - "PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS" : "PROPORTION D'AZOTE DANS LES CELLULES DU PHYTO", - "PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO" : "POURCENTAGE D'AZOTE ASSIMILABLE DANS LE PHYTO MORT", - "SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS" : "VITESSE DE SEDIMENTATION DU PHOSPHORE ORGANIQUE", - "SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN" : "VITESSE DE SEDIMENTATION DE L'AZOTE NON ALGAL", - "CONSUMED_OXYGEN_BY_NITRIFICATION" : "OXYGENE CONSOMME PAR NITRIFICATION", - "CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520" : "CONSTANTE DE LA CINETIQUE DE NITRIFICATION K520", - "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120" : "CONSTANTE DE DEGRADATION DE LA CHARGE ORGANIQUE K120", - "SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD" : "VITESSE DE SEDIMENTATION DE LA CHARGE ORGANIQUE", - "OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS" : "OXYGENE PRODUIT PAR PHOTOSYNTHESE", - "FORMULA_FOR_COMPUTING_RS" : "FORMULE DE CALCUL DE RS", - "WEIR_REAERATION_COEFFICIENT_RS" : "COEFFICIENT DE REAERATION DU SEUIL RS", - "COEFFICIENTS_A_AND_B_FOR_RS_FORMULA" : "COEFFICIENTS A ET B POUR LA FORMULE DE RS", - "SEDIMENTATION_CRITICAL_STRESS" : "CONTRAINTE CRITIQUE DE SEDIMENTATION", - "SEDIMENT_SETTLING_VELOCITY" : "VITESSE DE CHUTE DES MES", - "CRITICAL_STRESS_OF_RESUSPENSION" : "CONTRAINTE CRITIQUE DE REMISE EN SUSPENSION", - "EROSION_RATE" : "TAUX D'EROSION", - "CONSTANT_OF_DESORPTION_KINETIC" : "CONSTANTE CINETIQUE DE DESORPTION", - "COEFFICIENT_OF_DISTRIBUTION" : "COEFFICIENT DE DISTRIBUTION", - "EXPONENTIAL_DESINTEGRATION_CONSTANT" : "CONSTANTE DE DESINTEGRATION EXPONENTIELLE", - "WATER_SPECIFIC_HEAT" : "CHALEUR SPECIFIQUE DE L'EAU", - "COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION" : "COEFFICIENTS DE CALAGE DU RAYONNEMENT ATMOSPHERIQUE", - "COEFFICIENT_OF_CLOUDING_RATE" : "COEFFICIENT REPRESENTATIF DE LA COUVERTURE NUAGEUSE", - "COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION" : "COEFFICIENTS DE CALAGE DU RAYONNEMENT DU PLAN D'EAU", - "AIR_SPECIFIC_HEAT" : "CHALEUR SPECIFIQUE DE L'AIR", - "COEFFICIENTS_OF_AERATION_FORMULA" : "COEFFICIENTS DE LA FORMULE D'AERATION", - "ATMOSPHERE_WATER_EXCHANGE_MODEL" : "MODELE D'ECHANGES EAU-ATMOSPHERE", - "COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL" : "COEFFICIENT DE CALAGE DU MODELE D'ECHANGES EAU-ATMOSPHERE", - "FORMULA_OF_ATMOSPHERIC_RADIATION" : "FORMULE DU RAYONNEMENT ATMOSPHERIQUE", - "LIGHTNESS_OF_THE_SKY" : "CLARTE DU CIEL", - "SOLAR_RADIATION_READ_IN_METEO_FILE" : "RAYONNEMENT SOLAIRE LU DANS LE FICHIER METEO", - "LAW_OF_TRACERS_DEGRADATION" : "LOI DE DEGRADATION DES TRACEURS", - "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION" : "COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS", - "STEERING_FILE" : "FICHIER DES PARAMETRES", - "DICTIONARY" : "DICTIONNAIRE", -} -dicoCasFrToCata = { - "TITRE DU CAS QE" : "WAQ_CASE_TITLE", - "PROCESSEURS PARALLELES" : "PARALLEL_PROCESSORS", - "FICHIER DE GEOMETRIE" : "GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE" : "GEOMETRY_FILE_FORMAT", - "FICHIER DES CONDITIONS AUX LIMITES" : "BOUNDARY_CONDITIONS_FILE", - "FICHIER FORTRAN" : "FORTRAN_FILE", - "FICHIER HYDRODYNAMIQUE" : "HYDRODYNAMIC_FILE", - "FORMAT DU FICHIER HYDRODYNAMIQUE" : "HYDRODYNAMIC_FILE_FORMAT", - "VALIDATION" : "VALIDATION", - "FICHIER DE REFERENCE" : "REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE" : "REFERENCE_FILE_FORMAT", - "FICHIER DES PARAMETRES AED2" : "AED2_STEERING_FILE", - "FICHIER DES PARAMETRES PHYTOPLANCTON AED2" : "AED2_PHYTOPLANKTON_STEERING_FILE", - "FICHIER DES PARAMETRES ZOOPLANCTON AED2" : "AED2_ZOOPLANKTON_STEERING_FILE", - "FICHIER DES PARAMETRES PATHOGENES AED2" : "AED2_PATHOGEN_STEERING_FILE", - "FICHIER DES PARAMETRES BIVALVES AED2" : "AED2_BIVALVE_STEERING_FILE", - "FICHIER DES RESULTATS" : "RESULTS_FILE", - "FORMAT DU FICHIER DES RESULTATS" : "RESULTS_FILE_FORMAT", - "PERIODE POUR LES SORTIES QUALITE D'EAU" : "WATER_QUALITY_PRINTOUT_PERIOD", - "VARIABLES POUR LES SORTIES QE" : "VARIABLES_FOR_WAQ_PRINTOUTS", - "BILAN DE MASSE" : "MASS_BALANCE", - "VARIABLES QE A IMPRIMER" : "WAQ_VARIABLES_TO_BE_PRINTED", - "DEBUGGER" : "DEBUGGER", - "MASSE VOLUMIQUE DE L'EAU" : "WATER_DENSITY", - "VISCOSITE CINEMATIQUE EAU" : "KINEMATIC_WATER_VISCOSITY", - "DISPERSION LONGITUDINALE" : "DISPERSION_ALONG_THE_FLOW", - "DISPERSION TRANSVERSALE" : "DISPERSION_ACROSS_THE_FLOW", - "TAUX D'EVAPORATION" : "EVAPORATION_RATE", - "METHODE DE CALCUL DU COEFFICIENT D'EXTINCTION DU RAY" : "METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT", - "PROFONDEUR DE SECCHI" : "SECCHI_DEPTH", - "COEFFICIENT D EXTINCTION DE LA LUMIERE" : "LIGHT_EXTINCTION_COEFFICIENT", - "TEMPERATURE DE L'EAU" : "WATER_TEMPERATURE", - "RESPIRATION VEGETALE R" : "VEGETAL_RESPIRATION_R", - "CONSTANTE DE DEGRADATION DE LA CHARGE ORGANIQUE K1" : "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1", - "CONSTANTE DE CINETIQUE DE NITRIFICATION K4" : "CONSTANT_OF_NITRIFICATION_KINETIC_K4", - "DEMANDE BENTHIQUE" : "BENTHIC_DEMAND", - "PHOTOSYNTHESE P" : "PHOTOSYNTHESIS_P", - "CONCENTRATION DE SATURATION EN O2 DE L'EAU (CS)" : "O2_SATURATION_DENSITY_OF_WATER__CS_", - "FORMULE DE CALCUL DE K2" : "FORMULA_FOR_COMPUTING_K2", - "COEFFICIENT DE REAERATION K2" : "K2_REAERATION_COEFFICIENT", - "FORMULE DE CALCUL DE CS" : "FORMULA_FOR_COMPUTING_CS", - "TAUX DE CROISSANCE ALGALE MAXIMUM A 20C" : "MAXIMUM_ALGAL_GROWTH_RATE_AT_20C", - "COEFFICIENTS DE TOXICITE POUR LES ALGUES" : "ALGAL_TOXICITY_COEFFICIENTS", - "COEFFICIENT DE TURBIDITE VEGETALE SANS PHYTO" : "VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO", - "PARAMETRE DE CALAGE DE LA FORMULE DE SMITH" : "PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA", - "DENSITE DE FLUX DU RAYONNEMENT SOLAIRE A LA SURFACE" : "SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE", - "CONSTANTE DE DEMI-SATURATION EN PHOSPHATE" : "CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE", - "CONSTANTE DE DEMI-SATURATION EN AZOTE" : "CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN", - "TAUX DE RESPIRATION DE LA BIOMASSE ALGALE" : "RESPIRATION_RATE_OF_ALGAL_BIOMASS", - "COEFFICIENTS DE MORTALITE ALGALE A 20C" : "COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C", - "PROPORTION DE PHOSPHORE DANS LES CELLULES DU PHYTO" : "PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS", - "POURCENTAGE DE PHOSPHORE ASSIMILABLE DANS LE PHYTO MORT" : "PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO", - "TAUX DE TRANSFORMATION DU POR EN PO4" : "RATE_OF_TRANSFORMATION_OF_POR_TO_PO4", - "TAUX DE TRANSFORMATION DU NOR EN NO3" : "RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3", - "PROPORTION D'AZOTE DANS LES CELLULES DU PHYTO" : "PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS", - "POURCENTAGE D'AZOTE ASSIMILABLE DANS LE PHYTO MORT" : "PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO", - "VITESSE DE SEDIMENTATION DU PHOSPHORE ORGANIQUE" : "SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS", - "VITESSE DE SEDIMENTATION DE L'AZOTE NON ALGAL" : "SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN", - "OXYGENE CONSOMME PAR NITRIFICATION" : "CONSUMED_OXYGEN_BY_NITRIFICATION", - "CONSTANTE DE LA CINETIQUE DE NITRIFICATION K520" : "CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520", - "CONSTANTE DE DEGRADATION DE LA CHARGE ORGANIQUE K120" : "CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120", - "VITESSE DE SEDIMENTATION DE LA CHARGE ORGANIQUE" : "SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD", - "OXYGENE PRODUIT PAR PHOTOSYNTHESE" : "OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS", - "FORMULE DE CALCUL DE RS" : "FORMULA_FOR_COMPUTING_RS", - "COEFFICIENT DE REAERATION DU SEUIL RS" : "WEIR_REAERATION_COEFFICIENT_RS", - "COEFFICIENTS A ET B POUR LA FORMULE DE RS" : "COEFFICIENTS_A_AND_B_FOR_RS_FORMULA", - "CONTRAINTE CRITIQUE DE SEDIMENTATION" : "SEDIMENTATION_CRITICAL_STRESS", - "VITESSE DE CHUTE DES MES" : "SEDIMENT_SETTLING_VELOCITY", - "CONTRAINTE CRITIQUE DE REMISE EN SUSPENSION" : "CRITICAL_STRESS_OF_RESUSPENSION", - "TAUX D'EROSION" : "EROSION_RATE", - "CONSTANTE CINETIQUE DE DESORPTION" : "CONSTANT_OF_DESORPTION_KINETIC", - "COEFFICIENT DE DISTRIBUTION" : "COEFFICIENT_OF_DISTRIBUTION", - "CONSTANTE DE DESINTEGRATION EXPONENTIELLE" : "EXPONENTIAL_DESINTEGRATION_CONSTANT", - "CHALEUR SPECIFIQUE DE L'EAU" : "WATER_SPECIFIC_HEAT", - "COEFFICIENTS DE CALAGE DU RAYONNEMENT ATMOSPHERIQUE" : "COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION", - "COEFFICIENT REPRESENTATIF DE LA COUVERTURE NUAGEUSE" : "COEFFICIENT_OF_CLOUDING_RATE", - "COEFFICIENTS DE CALAGE DU RAYONNEMENT DU PLAN D'EAU" : "COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION", - "CHALEUR SPECIFIQUE DE L'AIR" : "AIR_SPECIFIC_HEAT", - "COEFFICIENTS DE LA FORMULE D'AERATION" : "COEFFICIENTS_OF_AERATION_FORMULA", - "MODELE D'ECHANGES EAU-ATMOSPHERE" : "ATMOSPHERE_WATER_EXCHANGE_MODEL", - "COEFFICIENT DE CALAGE DU MODELE D'ECHANGES EAU-ATMOSPHERE" : "COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL", - "FORMULE DU RAYONNEMENT ATMOSPHERIQUE" : "FORMULA_OF_ATMOSPHERIC_RADIATION", - "CLARTE DU CIEL" : "LIGHTNESS_OF_THE_SKY", - "RAYONNEMENT SOLAIRE LU DANS LE FICHIER METEO" : "SOLAR_RADIATION_READ_IN_METEO_FILE", - "LOI DE DEGRADATION DES TRACEURS" : "LAW_OF_TRACERS_DEGRADATION", - "COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS" : "COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION", - "FICHIER DES PARAMETRES" : "STEERING_FILE", - "DICTIONNAIRE" : "DICTIONARY", -} diff --git a/Telemac/waqtel_enum_auto.py b/Telemac/waqtel_enum_auto.py deleted file mode 100644 index a26245f6..00000000 --- a/Telemac/waqtel_enum_auto.py +++ /dev/null @@ -1,275 +0,0 @@ -#/usr/bin/env python -# -*- coding: latin-1 -*- -TelemacdicoEn = { -'METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT' : { - 1:"ATKINS FORMULA", - 2:"MOSS FORMULA", - 3:"GIVEN CONSTANT", - }, -'ATMOSPHERE_WATER_EXCHANGE_MODEL' : { - 0:"NO MODEL", - 1:"LINEARISED FORMULA AT THE FREE SURFACE", - 2:"MODEL WITH COMPLETE BALANCE", - }, -'FORMULA_OF_ATMOSPHERIC_RADIATION' : { - 1:"IDSO AND JACKSON (1969)", - 2:"SWINBANK (1963)", - 3:"BRUTSAERT (1975)", - 4:"YAJIMA TONO DAM (2014)", - }, -'LIGHTNESS_OF_THE_SKY' : { - 1:"VERY BRIGHT, PURE SKY", - 2:"MODERATELY BRIGHT SKY", - 3:"FOGGY LIKE THE SKY OF INDUSTRIAL AREA ", - }, -'LAW_OF_TRACERS_DEGRADATION' : { - 0:"NO DEGRADATION", - 1:"F(T90) LAW", - 2:"FIRST ORDER KINETIC LAW, CONSTANT OF DEGRADATION IN HOURS", - 3:"FIRST ORDER KINETIC LAW, CONSTANT OF DEGRADATION IN DAYS", - 4:"LAW IMPLEMENTED BY USER", - }, -} -TelemacdicoFr = { -'METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT' : { - 1:"FORMULE D ATKINS (1.7/SECCHI)", - 2:"PAS DE MODELE D ECHANGES EAU-ATMOSPHERE", - 3:"CONSTANTE DONNEE", - }, -'ATMOSPHERE_WATER_EXCHANGE_MODEL' : { - 0:"PAS DE MODELE D ECHANGES EAU-ATMOSPHERE", - 1:"FORMULE LINEARISEE A LA SURFACE", - 2:"MODELE A BILAN COMPLET", - }, -'FORMULA_OF_ATMOSPHERIC_RADIATION' : { - 1:"IDSO ET JACKSON (1969)", - 2:"SWINBANK (1963)", - 3:"BRUTSAERT (1975)", - 4:"YAJIMA TONO DAM (2014)", - }, -'LIGHTNESS_OF_THE_SKY' : { - 1:"CIEL TRES CLAIR, TRES PUR", - 2:"CIEL MOYENNEMENT CLAIR", - 3:"CIEL D UNE ZONE INDUSTRIELLE, OPAQUE", - }, -'LAW_OF_TRACERS_DEGRADATION' : { - 0:"PAS DE DEGRADATION", - 1:"LOI EN F(T90)", - 2:"CINETIQUE D ORDRE 1, CONSTANTE DE DEGRADATION EN HEURES", - 3:"CINETIQUE D ORDRE 1, CONSTANTE DE DEGRADATION EN JOURS", - 4:"LOI PROGRAMMEE PAR L UTILISATEUR", - }, -} - -DicoCasFrToCata = { - "TITRE DU CAS QE":"WAQ_CASE_TITLE", - "PROCESSEURS PARALLELES":"PARALLEL_PROCESSORS", - "FICHIER DE GEOMETRIE":"GEOMETRY_FILE", - "FORMAT DU FICHIER DE GEOMETRIE":"GEOMETRY_FILE_FORMAT", - "FICHIER DES CONDITIONS AUX LIMITES":"BOUNDARY_CONDITIONS_FILE", - "FICHIER FORTRAN":"FORTRAN_FILE", - "FICHIER HYDRODYNAMIQUE":"HYDRODYNAMIC_FILE", - "FORMAT DU FICHIER HYDRODYNAMIQUE":"HYDRODYNAMIC_FILE_FORMAT", - "VALIDATION":"VALIDATION", - "FICHIER DE REFERENCE":"REFERENCE_FILE", - "FORMAT DU FICHIER DE REFERENCE":"REFERENCE_FILE_FORMAT", - "FICHIER DES PARAMETRES AED2":"AED2_STEERING_FILE", - "FICHIER DES PARAMETRES PHYTOPLANCTON AED2":"AED2_PHYTOPLANKTON_STEERING_FILE", - "FICHIER DES PARAMETRES ZOOPLANCTON AED2":"AED2_ZOOPLANKTON_STEERING_FILE", - "FICHIER DES PARAMETRES PATHOGENES AED2":"AED2_PATHOGEN_STEERING_FILE", - "FICHIER DES PARAMETRES BIVALVES AED2":"AED2_BIVALVE_STEERING_FILE", - "FICHIER DES RESULTATS":"RESULTS_FILE", - "FORMAT DU FICHIER DES RESULTATS":"RESULTS_FILE_FORMAT", - "PERIODE POUR LES SORTIES QUALITE D'EAU":"WATER_QUALITY_PRINTOUT_PERIOD", - "VARIABLES POUR LES SORTIES QE":"VARIABLES_FOR_WAQ_PRINTOUTS", - "BILAN DE MASSE":"MASS_BALANCE", - "VARIABLES QE A IMPRIMER":"WAQ_VARIABLES_TO_BE_PRINTED", - "DEBUGGER":"DEBUGGER", - "MASSE VOLUMIQUE DE L'EAU":"WATER_DENSITY", - "VISCOSITE CINEMATIQUE EAU":"KINEMATIC_WATER_VISCOSITY", - "DISPERSION LONGITUDINALE":"DISPERSION_ALONG_THE_FLOW", - "DISPERSION TRANSVERSALE":"DISPERSION_ACROSS_THE_FLOW", - "TAUX D'EVAPORATION":"EVAPORATION_RATE", - "METHODE DE CALCUL DU COEFFICIENT D'EXTINCTION DU RAY":"METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT", - "PROFONDEUR DE SECCHI":"SECCHI_DEPTH", - "COEFFICIENT D EXTINCTION DE LA LUMIERE":"LIGHT_EXTINCTION_COEFFICIENT", - "TEMPERATURE DE L'EAU":"WATER_TEMPERATURE", - "RESPIRATION VEGETALE R":"VEGETAL_RESPIRATION_R", - "CONSTANTE DE DEGRADATION DE LA CHARGE ORGANIQUE K1":"CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1", - "CONSTANTE DE CINETIQUE DE NITRIFICATION K4":"CONSTANT_OF_NITRIFICATION_KINETIC_K4", - "DEMANDE BENTHIQUE":"BENTHIC_DEMAND", - "PHOTOSYNTHESE P":"PHOTOSYNTHESIS_P", - "CONCENTRATION DE SATURATION EN O2 DE L'EAU (CS)":"O2_SATURATION_DENSITY_OF_WATER__CS_", - "FORMULE DE CALCUL DE K2":"FORMULA_FOR_COMPUTING_K2", - "COEFFICIENT DE REAERATION K2":"K2_REAERATION_COEFFICIENT", - "FORMULE DE CALCUL DE CS":"FORMULA_FOR_COMPUTING_CS", - "TAUX DE CROISSANCE ALGALE MAXIMUM A 20C":"MAXIMUM_ALGAL_GROWTH_RATE_AT_20C", - "COEFFICIENTS DE TOXICITE POUR LES ALGUES":"ALGAL_TOXICITY_COEFFICIENTS", - "COEFFICIENT DE TURBIDITE VEGETALE SANS PHYTO":"VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO", - "PARAMETRE DE CALAGE DE LA FORMULE DE SMITH":"PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA", - "DENSITE DE FLUX DU RAYONNEMENT SOLAIRE A LA SURFACE":"SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE", - "CONSTANTE DE DEMI-SATURATION EN PHOSPHATE":"CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE", - "CONSTANTE DE DEMI-SATURATION EN AZOTE":"CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN", - "TAUX DE RESPIRATION DE LA BIOMASSE ALGALE":"RESPIRATION_RATE_OF_ALGAL_BIOMASS", - "COEFFICIENTS DE MORTALITE ALGALE A 20C":"COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C", - "PROPORTION DE PHOSPHORE DANS LES CELLULES DU PHYTO":"PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS", - "POURCENTAGE DE PHOSPHORE ASSIMILABLE DANS LE PHYTO MORT":"PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO", - "TAUX DE TRANSFORMATION DU POR EN PO4":"RATE_OF_TRANSFORMATION_OF_POR_TO_PO4", - "TAUX DE TRANSFORMATION DU NOR EN NO3":"RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3", - "PROPORTION D'AZOTE DANS LES CELLULES DU PHYTO":"PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS", - "POURCENTAGE D'AZOTE ASSIMILABLE DANS LE PHYTO MORT":"PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO", - "VITESSE DE SEDIMENTATION DU PHOSPHORE ORGANIQUE":"SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS", - "VITESSE DE SEDIMENTATION DE L'AZOTE NON ALGAL":"SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN", - "OXYGENE CONSOMME PAR NITRIFICATION":"CONSUMED_OXYGEN_BY_NITRIFICATION", - "CONSTANTE DE LA CINETIQUE DE NITRIFICATION K520":"CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520", - "CONSTANTE DE DEGRADATION DE LA CHARGE ORGANIQUE K120":"CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120", - "VITESSE DE SEDIMENTATION DE LA CHARGE ORGANIQUE":"SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD", - "OXYGENE PRODUIT PAR PHOTOSYNTHESE":"OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS", - "FORMULE DE CALCUL DE RS":"FORMULA_FOR_COMPUTING_RS", - "COEFFICIENT DE REAERATION DU SEUIL RS":"WEIR_REAERATION_COEFFICIENT_RS", - "COEFFICIENTS A ET B POUR LA FORMULE DE RS":"COEFFICIENTS_A_AND_B_FOR_RS_FORMULA", - "CONTRAINTE CRITIQUE DE SEDIMENTATION":"SEDIMENTATION_CRITICAL_STRESS", - "VITESSE DE CHUTE DES MES":"SEDIMENT_SETTLING_VELOCITY", - "CONTRAINTE CRITIQUE DE REMISE EN SUSPENSION":"CRITICAL_STRESS_OF_RESUSPENSION", - "TAUX D'EROSION":"EROSION_RATE", - "CONSTANTE CINETIQUE DE DESORPTION":"CONSTANT_OF_DESORPTION_KINETIC", - "COEFFICIENT DE DISTRIBUTION":"COEFFICIENT_OF_DISTRIBUTION", - "CONSTANTE DE DESINTEGRATION EXPONENTIELLE":"EXPONENTIAL_DESINTEGRATION_CONSTANT", - "CHALEUR SPECIFIQUE DE L'EAU":"WATER_SPECIFIC_HEAT", - "COEFFICIENTS DE CALAGE DU RAYONNEMENT ATMOSPHERIQUE":"COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION", - "COEFFICIENT REPRESENTATIF DE LA COUVERTURE NUAGEUSE":"COEFFICIENT_OF_CLOUDING_RATE", - "COEFFICIENTS DE CALAGE DU RAYONNEMENT DU PLAN D'EAU":"COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION", - "CHALEUR SPECIFIQUE DE L'AIR":"AIR_SPECIFIC_HEAT", - "COEFFICIENTS DE LA FORMULE D'AERATION":"COEFFICIENTS_OF_AERATION_FORMULA", - "MODELE D'ECHANGES EAU-ATMOSPHERE":"ATMOSPHERE_WATER_EXCHANGE_MODEL", - "COEFFICIENT DE CALAGE DU MODELE D'ECHANGES EAU-ATMOSPHERE":"COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL", - "FORMULE DU RAYONNEMENT ATMOSPHERIQUE":"FORMULA_OF_ATMOSPHERIC_RADIATION", - "CLARTE DU CIEL":"LIGHTNESS_OF_THE_SKY", - "RAYONNEMENT SOLAIRE LU DANS LE FICHIER METEO":"SOLAR_RADIATION_READ_IN_METEO_FILE", - "LOI DE DEGRADATION DES TRACEURS":"LAW_OF_TRACERS_DEGRADATION", - "COEFFICIENT 1 DE LA LOI DE DEGRADATION DES TRACEURS":"COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION", - "FICHIER DES PARAMETRES":"STEERING_FILE", - "DICTIONNAIRE":"DICTIONARY", -} - -DicoCasEnToCata = { - 'WAQ CASE TITLE':'WAQ_CASE_TITLE', - 'PARALLEL PROCESSORS':'PARALLEL_PROCESSORS', - 'GEOMETRY FILE':'GEOMETRY_FILE', - 'GEOMETRY FILE FORMAT':'GEOMETRY_FILE_FORMAT', - 'BOUNDARY CONDITIONS FILE':'BOUNDARY_CONDITIONS_FILE', - 'FORTRAN FILE':'FORTRAN_FILE', - 'HYDRODYNAMIC FILE':'HYDRODYNAMIC_FILE', - 'HYDRODYNAMIC FILE FORMAT':'HYDRODYNAMIC_FILE_FORMAT', - 'VALIDATION':'VALIDATION', - 'REFERENCE FILE':'REFERENCE_FILE', - 'REFERENCE FILE FORMAT':'REFERENCE_FILE_FORMAT', - 'AED2 STEERING FILE':'AED2_STEERING_FILE', - 'AED2 PHYTOPLANKTON STEERING FILE':'AED2_PHYTOPLANKTON_STEERING_FILE', - 'AED2 ZOOPLANKTON STEERING FILE':'AED2_ZOOPLANKTON_STEERING_FILE', - 'AED2 PATHOGEN STEERING FILE':'AED2_PATHOGEN_STEERING_FILE', - 'AED2 BIVALVE STEERING FILE':'AED2_BIVALVE_STEERING_FILE', - 'RESULTS FILE':'RESULTS_FILE', - 'RESULTS FILE FORMAT':'RESULTS_FILE_FORMAT', - 'WATER QUALITY PRINTOUT PERIOD':'WATER_QUALITY_PRINTOUT_PERIOD', - 'VARIABLES FOR WAQ PRINTOUTS':'VARIABLES_FOR_WAQ_PRINTOUTS', - 'MASS-BALANCE':'MASS_BALANCE', - 'WAQ VARIABLES TO BE PRINTED':'WAQ_VARIABLES_TO_BE_PRINTED', - 'DEBUGGER':'DEBUGGER', - 'WATER DENSITY':'WATER_DENSITY', - 'KINEMATIC WATER VISCOSITY':'KINEMATIC_WATER_VISCOSITY', - 'DISPERSION ALONG THE FLOW':'DISPERSION_ALONG_THE_FLOW', - 'DISPERSION ACROSS THE FLOW':'DISPERSION_ACROSS_THE_FLOW', - 'EVAPORATION RATE':'EVAPORATION_RATE', - 'METHOD OF COMPUTATION OF RAY EXTINCTION COEFFICIENT':'METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT', - 'SECCHI DEPTH':'SECCHI_DEPTH', - 'LIGHT EXTINCTION COEFFICIENT':'LIGHT_EXTINCTION_COEFFICIENT', - 'WATER TEMPERATURE':'WATER_TEMPERATURE', - 'VEGETAL RESPIRATION R':'VEGETAL_RESPIRATION_R', - 'CONSTANT OF DEGRADATION OF ORGANIC LOAD K1':'CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1', - 'CONSTANT OF NITRIFICATION KINETIC K4':'CONSTANT_OF_NITRIFICATION_KINETIC_K4', - 'BENTHIC DEMAND':'BENTHIC_DEMAND', - 'PHOTOSYNTHESIS P':'PHOTOSYNTHESIS_P', - 'O2 SATURATION DENSITY OF WATER (CS)':'O2_SATURATION_DENSITY_OF_WATER__CS_', - 'FORMULA FOR COMPUTING K2':'FORMULA_FOR_COMPUTING_K2', - 'K2 REAERATION COEFFICIENT':'K2_REAERATION_COEFFICIENT', - 'FORMULA FOR COMPUTING CS':'FORMULA_FOR_COMPUTING_CS', - 'MAXIMUM ALGAL GROWTH RATE AT 20C':'MAXIMUM_ALGAL_GROWTH_RATE_AT_20C', - 'ALGAL TOXICITY COEFFICIENTS':'ALGAL_TOXICITY_COEFFICIENTS', - 'VEGETAL TURBIDITY COEFFICIENT WITHOUT PHYTO':'VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO', - 'PARAMETER OF CALIBRATION OF SMITH FORMULA':'PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA', - 'SUNSHINE FLUX DENSITY ON WATER SURFACE':'SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE', - 'CONSTANT OF HALF-SATURATION WITH PHOSPHATE':'CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE', - 'CONSTANT OF HALF-SATURATION WITH NITROGEN':'CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN', - 'RESPIRATION RATE OF ALGAL BIOMASS':'RESPIRATION_RATE_OF_ALGAL_BIOMASS', - 'COEFFICIENTS OF ALGAL MORTALITY AT 20C':'COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C', - 'PROPORTION OF PHOSPHORUS WITHIN PHYTO CELLS':'PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS', - 'PERCENTAGE OF PHOSPHORUS ASSIMILABLE IN DEAD PHYTO':'PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO', - 'RATE OF TRANSFORMATION OF POR TO PO4':'RATE_OF_TRANSFORMATION_OF_POR_TO_PO4', - 'RATE OF TRANSFORMATION OF NOR TO NO3':'RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3', - 'PROPORTION OF NITROGEN WITHIN PHYTO CELLS':'PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS', - 'PERCENTAGE OF NITROGEN ASSIMILABLE IN DEAD PHYTO':'PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO', - 'SEDIMENTATION VELOCITY OF ORGANIC PHOSPHORUS':'SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS', - 'SEDIMENTATION VELOCITY OF NON ALGAL NITROGEN':'SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN', - 'CONSUMED OXYGEN BY NITRIFICATION':'CONSUMED_OXYGEN_BY_NITRIFICATION', - 'CONSTANT FOR THE NITRIFICATION KINETIC K520':'CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520', - 'CONSTANT OF DEGRADATION OF ORGANIC LOAD K120':'CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120', - 'SEDIMENTATION VELOCITY OF ORGANIC LOAD':'SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD', - 'OXYGEN PRODUCED BY PHOTOSYNTHESIS':'OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS', - 'FORMULA FOR COMPUTING RS':'FORMULA_FOR_COMPUTING_RS', - 'WEIR REAERATION COEFFICIENT RS':'WEIR_REAERATION_COEFFICIENT_RS', - 'COEFFICIENTS A AND B FOR RS FORMULA':'COEFFICIENTS_A_AND_B_FOR_RS_FORMULA', - 'SEDIMENTATION CRITICAL STRESS':'SEDIMENTATION_CRITICAL_STRESS', - 'SEDIMENT SETTLING VELOCITY':'SEDIMENT_SETTLING_VELOCITY', - 'CRITICAL STRESS OF RESUSPENSION':'CRITICAL_STRESS_OF_RESUSPENSION', - 'EROSION RATE':'EROSION_RATE', - 'CONSTANT OF DESORPTION KINETIC':'CONSTANT_OF_DESORPTION_KINETIC', - 'COEFFICIENT OF DISTRIBUTION':'COEFFICIENT_OF_DISTRIBUTION', - 'EXPONENTIAL DESINTEGRATION CONSTANT':'EXPONENTIAL_DESINTEGRATION_CONSTANT', - 'WATER SPECIFIC HEAT':'WATER_SPECIFIC_HEAT', - 'COEFFICIENTS FOR CALIBRATING ATMOSPHERIC RADIATION':'COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION', - 'COEFFICIENT OF CLOUDING RATE':'COEFFICIENT_OF_CLOUDING_RATE', - 'COEFFICIENTS FOR CALIBRATING SURFACE WATER RADIATION':'COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION', - 'AIR SPECIFIC HEAT':'AIR_SPECIFIC_HEAT', - 'COEFFICIENTS OF AERATION FORMULA':'COEFFICIENTS_OF_AERATION_FORMULA', - 'ATMOSPHERE-WATER EXCHANGE MODEL':'ATMOSPHERE_WATER_EXCHANGE_MODEL', - 'COEFFICIENT TO CALIBRATE THE ATMOSPHERE-WATER EXCHANGE MODEL':'COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL', - 'FORMULA OF ATMOSPHERIC RADIATION':'FORMULA_OF_ATMOSPHERIC_RADIATION', - 'LIGHTNESS OF THE SKY':'LIGHTNESS_OF_THE_SKY', - 'SOLAR RADIATION READ IN METEO FILE':'SOLAR_RADIATION_READ_IN_METEO_FILE', - 'LAW OF TRACERS DEGRADATION':'LAW_OF_TRACERS_DEGRADATION', - 'COEFFICIENT 1 FOR LAW OF TRACERS DEGRADATION':'COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION', - 'STEERING FILE':'STEERING_FILE', - 'DICTIONARY':'DICTIONARY', -} -DicoEnumCasFrToEnumCasEn = { -'GEOMETRY_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'HYDRODYNAMIC_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'REFERENCE_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'RESULTS_FILE_FORMAT':{ - "SERAFIN":"SERAFIN", - "SERAFIND":"SERAFIND", - "MED":"MED", -}, - -'VARIABLES_FOR_WAQ_PRINTOUTS':{ - "":"", - "editer !!!":"to edit !!!", -}, - -} diff --git a/Telemac/waqtel_labelCataToIhm_en.qm b/Telemac/waqtel_labelCataToIhm_en.qm deleted file mode 100644 index 3b187fc6..00000000 Binary files a/Telemac/waqtel_labelCataToIhm_en.qm and /dev/null differ diff --git a/Telemac/waqtel_labelCataToIhm_en.ts b/Telemac/waqtel_labelCataToIhm_en.ts deleted file mode 100644 index cf088215..00000000 --- a/Telemac/waqtel_labelCataToIhm_en.ts +++ /dev/null @@ -1,448 +0,0 @@ - - @default - - WAQ_CASE_TITLE - Waq case title - - - PARALLEL_PROCESSORS - Parallel processors - - - GEOMETRY_FILE - Geometry file - - - GEOMETRY_FILE_FORMAT - Geometry file format - - - BOUNDARY_CONDITIONS_FILE - Boundary conditions file - - - FORTRAN_FILE - Fortran file - - - HYDRODYNAMIC_FILE - Hydrodynamic file - - - HYDRODYNAMIC_FILE_FORMAT - Hydrodynamic file format - - - VALIDATION - Validation - - - REFERENCE_FILE - Reference file - - - REFERENCE_FILE_FORMAT - Reference file format - - - AED2_STEERING_FILE - Aed2 steering file - - - AED2_PHYTOPLANKTON_STEERING_FILE - Aed2 phytoplankton steering file - - - AED2_ZOOPLANKTON_STEERING_FILE - Aed2 zooplankton steering file - - - AED2_PATHOGEN_STEERING_FILE - Aed2 pathogen steering file - - - AED2_BIVALVE_STEERING_FILE - Aed2 bivalve steering file - - - RESULTS_FILE - Results file - - - RESULTS_FILE_FORMAT - Results file format - - - WATER_QUALITY_PRINTOUT_PERIOD - Water quality printout period - - - VARIABLES_FOR_WAQ_PRINTOUTS - Variables for waq printouts - - - MASS_BALANCE - Mass-balance - - - WAQ_VARIABLES_TO_BE_PRINTED - Waq variables to be printed - - - DEBUGGER - Debugger - - - WATER_DENSITY - Water density - - - KINEMATIC_WATER_VISCOSITY - Kinematic water viscosity - - - DISPERSION_ALONG_THE_FLOW - Dispersion along the flow - - - DISPERSION_ACROSS_THE_FLOW - Dispersion across the flow - - - EVAPORATION_RATE - Evaporation rate - - - METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT - Method of computation of ray extinction coefficient - - - SECCHI_DEPTH - Secchi depth - - - LIGHT_EXTINCTION_COEFFICIENT - Light extinction coefficient - - - WATER_TEMPERATURE - Water temperature - - - VEGETAL_RESPIRATION_R - Vegetal respiration r - - - CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1 - Constant of degradation of organic load k1 - - - CONSTANT_OF_NITRIFICATION_KINETIC_K4 - Constant of nitrification kinetic k4 - - - BENTHIC_DEMAND - Benthic demand - - - PHOTOSYNTHESIS_P - Photosynthesis p - - - O2_SATURATION_DENSITY_OF_WATER__CS_ - O2 saturation density of water (cs) - - - FORMULA_FOR_COMPUTING_K2 - Formula for computing k2 - - - K2_REAERATION_COEFFICIENT - K2 reaeration coefficient - - - FORMULA_FOR_COMPUTING_CS - Formula for computing cs - - - MAXIMUM_ALGAL_GROWTH_RATE_AT_20C - Maximum algal growth rate at 20c - - - ALGAL_TOXICITY_COEFFICIENTS - Algal toxicity coefficients - - - VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO - Vegetal turbidity coefficient without phyto - - - PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA - Parameter of calibration of smith formula - - - SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE - Sunshine flux density on water surface - - - CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE - Constant of Half-saturation with phosphate - - - CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN - Constant of Half-saturation with nitrogen - - - RESPIRATION_RATE_OF_ALGAL_BIOMASS - Respiration rate of algal biomass - - - COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C - Coefficients of algal mortality at 20c - - - PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS - Proportion of phosphorus within phyto cells - - - PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO - Percentage of phosphorus assimilable in dead phyto - - - RATE_OF_TRANSFORMATION_OF_POR_TO_PO4 - Rate of transformation of por to po4 - - - RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3 - Rate of transformation of nor to no3 - - - PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS - Proportion of nitrogen within phyto cells - - - PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO - Percentage of nitrogen assimilable in dead phyto - - - SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS - Sedimentation velocity of organic phosphorus - - - SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN - Sedimentation velocity of non algal nitrogen - - - CONSUMED_OXYGEN_BY_NITRIFICATION - Consumed oxygen by nitrification - - - CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520 - Constant for the nitrification kinetic k520 - - - CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120 - Constant of degradation of organic load k120 - - - SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD - Sedimentation velocity of organic load - - - OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS - Oxygen produced by photosynthesis - - - FORMULA_FOR_COMPUTING_RS - Formula for computing rs - - - WEIR_REAERATION_COEFFICIENT_RS - Weir reaeration coefficient rs - - - COEFFICIENTS_A_AND_B_FOR_RS_FORMULA - Coefficients a and b for rs formula - - - SEDIMENTATION_CRITICAL_STRESS - Sedimentation critical stress - - - SEDIMENT_SETTLING_VELOCITY - Sediment settling velocity - - - CRITICAL_STRESS_OF_RESUSPENSION - Critical stress of resuspension - - - EROSION_RATE - Erosion rate - - - CONSTANT_OF_DESORPTION_KINETIC - Constant of desorption kinetic - - - COEFFICIENT_OF_DISTRIBUTION - Coefficient of distribution - - - EXPONENTIAL_DESINTEGRATION_CONSTANT - Exponential desintegration constant - - - WATER_SPECIFIC_HEAT - Water specific heat - - - COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION - Coefficients for calibrating atmospheric radiation - - - COEFFICIENT_OF_CLOUDING_RATE - Coefficient of clouding rate - - - COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION - Coefficients for calibrating surface water radiation - - - AIR_SPECIFIC_HEAT - Air specific heat - - - COEFFICIENTS_OF_AERATION_FORMULA - Coefficients of aeration formula - - - ATMOSPHERE_WATER_EXCHANGE_MODEL - Atmosphere-water exchange model - - - COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL - Coefficient to calibrate the atmosphere-water exchange model - - - FORMULA_OF_ATMOSPHERIC_RADIATION - Formula of atmospheric radiation - - - LIGHTNESS_OF_THE_SKY - Lightness of the sky - - - SOLAR_RADIATION_READ_IN_METEO_FILE - Solar radiation read in meteo file - - - LAW_OF_TRACERS_DEGRADATION - Law of tracers degradation - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 for law of tracers degradation - - - STEERING_FILE - Steering file - - - DICTIONARY - Dictionary - - - COMPUTATION_ENVIRONMENT - Computation environment - - - GENERAL_PARAMETERS - General parameters - - - HYDRODYNAMICS - Hydrodynamics - - - PHYSICAL_PARAMETERS - Physical parameters - - - WAQ_PARAMETERS - Waq parameters - - - INTERNAL - Internal - - - GLOBAL - Global - - - INPUT - Input - - - OUTPUT - Output - - - SUSPENSION - Suspension - - - EUTROPHICATION - Eutrophication - - - MICROPOL - Micropol - - - THERMIC - Thermic - - - DEGRADATION - Degradation - - - DATA - Data - - - AED2 - Aed2 - - - RESULTS - Results - - - LISTING - Listing - - - O2 - O2 - - - EUTRO_AND_O2 - Eutro and o2 - - - EUTRO_AND_BIOMASS - Eutro and biomass - - - EUTRO - Eutro - - - SOURCES - Sources - - - diff --git a/Telemac/waqtel_labelCataToIhm_fr.qm b/Telemac/waqtel_labelCataToIhm_fr.qm deleted file mode 100644 index a1992ff6..00000000 Binary files a/Telemac/waqtel_labelCataToIhm_fr.qm and /dev/null differ diff --git a/Telemac/waqtel_labelCataToIhm_fr.ts b/Telemac/waqtel_labelCataToIhm_fr.ts deleted file mode 100644 index 91c2dfdd..00000000 --- a/Telemac/waqtel_labelCataToIhm_fr.ts +++ /dev/null @@ -1,464 +0,0 @@ - - @default - - WAQ_CASE_TITLE - Titre du cas qe - - - PARALLEL_PROCESSORS - Processeurs paralleles - - - GEOMETRY_FILE - Fichier de geometrie - - - GEOMETRY_FILE_FORMAT - Format du fichier de geometrie - - - BOUNDARY_CONDITIONS_FILE - Fichier des conditions aux limites - - - FORTRAN_FILE - Fichier fortran - - - HYDRODYNAMIC_FILE - Fichier hydrodynamique - - - HYDRODYNAMIC_FILE_FORMAT - Format du fichier hydrodynamique - - - VALIDATION - Validation - - - REFERENCE_FILE - Fichier de reference - - - REFERENCE_FILE_FORMAT - Format du fichier de reference - - - AED2_STEERING_FILE - Fichier des parametres aed2 - - - AED2_PHYTOPLANKTON_STEERING_FILE - Fichier des parametres phytoplancton aed2 - - - AED2_ZOOPLANKTON_STEERING_FILE - Fichier des parametres zooplancton aed2 - - - AED2_PATHOGEN_STEERING_FILE - Fichier des parametres pathogenes aed2 - - - AED2_BIVALVE_STEERING_FILE - Fichier des parametres bivalves aed2 - - - RESULTS_FILE - Fichier des resultats - - - RESULTS_FILE_FORMAT - Format du fichier des resultats - - - WATER_QUALITY_PRINTOUT_PERIOD - Periode pour les sorties qualite d'eau - - - VARIABLES_FOR_WAQ_PRINTOUTS - Variables pour les sorties qe - - - MASS_BALANCE - Bilan de masse - - - WAQ_VARIABLES_TO_BE_PRINTED - Variables qe a imprimer - - - DEBUGGER - Debugger - - - WATER_DENSITY - Masse volumique de l'eau - - - KINEMATIC_WATER_VISCOSITY - Viscosite cinematique eau - - - DISPERSION_ALONG_THE_FLOW - Dispersion longitudinale - - - DISPERSION_ACROSS_THE_FLOW - Dispersion transversale - - - EVAPORATION_RATE - Taux d'evaporation - - - METHOD_OF_COMPUTATION_OF_RAY_EXTINCTION_COEFFICIENT - Methode de calcul du coefficient d'extinction du ray - - - SECCHI_DEPTH - Profondeur de secchi - - - LIGHT_EXTINCTION_COEFFICIENT - Coefficient d extinction de la lumiere - - - WATER_TEMPERATURE - Temperature de l'eau - - - VEGETAL_RESPIRATION_R - Respiration vegetale r - - - CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K1 - Constante de degradation de la charge organique k1 - - - CONSTANT_OF_NITRIFICATION_KINETIC_K4 - Constante de cinetique de nitrification k4 - - - BENTHIC_DEMAND - Demande benthique - - - PHOTOSYNTHESIS_P - Photosynthese p - - - O2_SATURATION_DENSITY_OF_WATER__CS_ - Concentration de saturation en o2 de l'eau (cs) - - - FORMULA_FOR_COMPUTING_K2 - Formule de calcul de K2 - - - K2_REAERATION_COEFFICIENT - Coefficient de reaeration k2 - - - FORMULA_FOR_COMPUTING_CS - Formule de calcul de cs - - - MAXIMUM_ALGAL_GROWTH_RATE_AT_20C - Taux de croissance algale maximum a 20c - - - ALGAL_TOXICITY_COEFFICIENTS - Coefficients de toxicite pour les algues - - - VEGETAL_TURBIDITY_COEFFICIENT_WITHOUT_PHYTO - Coefficient de turbidite vegetale sans phyto - - - PARAMETER_OF_CALIBRATION_OF_SMITH_FORMULA - Parametre de calage de la formule de smith - - - SUNSHINE_FLUX_DENSITY_ON_WATER_SURFACE - Densite de flux du rayonnement solaire a la surface - - - CONSTANT_OF_HALF_SATURATION_WITH_PHOSPHATE - Constante de demi-saturation en phosphate - - - CONSTANT_OF_HALF_SATURATION_WITH_NITROGEN - Constante de demi-saturation en azote - - - RESPIRATION_RATE_OF_ALGAL_BIOMASS - Taux de respiration de la biomasse algale - - - COEFFICIENTS_OF_ALGAL_MORTALITY_AT_20C - Coefficients de mortalite algale a 20c - - - PROPORTION_OF_PHOSPHORUS_WITHIN_PHYTO_CELLS - Proportion de phosphore dans les cellules du phyto - - - PERCENTAGE_OF_PHOSPHORUS_ASSIMILABLE_IN_DEAD_PHYTO - Pourcentage de phosphore assimilable dans le phyto mort - - - RATE_OF_TRANSFORMATION_OF_POR_TO_PO4 - Taux de transformation du por en po4 - - - RATE_OF_TRANSFORMATION_OF_NOR_TO_NO3 - Taux de transformation du nor en no3 - - - PROPORTION_OF_NITROGEN_WITHIN_PHYTO_CELLS - Proportion d'azote dans les cellules du phyto - - - PERCENTAGE_OF_NITROGEN_ASSIMILABLE_IN_DEAD_PHYTO - Pourcentage d'azote assimilable dans le phyto mort - - - SEDIMENTATION_VELOCITY_OF_ORGANIC_PHOSPHORUS - Vitesse de sedimentation du phosphore organique - - - SEDIMENTATION_VELOCITY_OF_NON_ALGAL_NITROGEN - Vitesse de sedimentation de l'azote non algal - - - CONSUMED_OXYGEN_BY_NITRIFICATION - Oxygene consomme par nitrification - - - CONSTANT_FOR_THE_NITRIFICATION_KINETIC_K520 - Constante de la cinetique de nitrification k520 - - - CONSTANT_OF_DEGRADATION_OF_ORGANIC_LOAD_K120 - Constante de degradation de la charge organique k120 - - - SEDIMENTATION_VELOCITY_OF_ORGANIC_LOAD - Vitesse de sedimentation de la charge organique - - - OXYGEN_PRODUCED_BY_PHOTOSYNTHESIS - Oxygene produit par photosynthese - - - FORMULA_FOR_COMPUTING_RS - Formule de calcul de rs - - - WEIR_REAERATION_COEFFICIENT_RS - Coefficient de reaeration du seuil rs - - - COEFFICIENTS_A_AND_B_FOR_RS_FORMULA - Coefficients a et b pour la formule de rs - - - SEDIMENTATION_CRITICAL_STRESS - Contrainte critique de sedimentation - - - SEDIMENT_SETTLING_VELOCITY - Vitesse de chute des mes - - - CRITICAL_STRESS_OF_RESUSPENSION - Contrainte critique de remise en suspension - - - EROSION_RATE - Taux d'erosion - - - CONSTANT_OF_DESORPTION_KINETIC - Constante cinetique de desorption - - - COEFFICIENT_OF_DISTRIBUTION - Coefficient de distribution - - - EXPONENTIAL_DESINTEGRATION_CONSTANT - Constante de desintegration exponentielle - - - WATER_SPECIFIC_HEAT - Chaleur specifique de l'eau - - - COEFFICIENTS_FOR_CALIBRATING_ATMOSPHERIC_RADIATION - Coefficients de calage du rayonnement atmospherique - - - COEFFICIENT_OF_CLOUDING_RATE - Coefficient representatif de la couverture nuageuse - - - COEFFICIENTS_FOR_CALIBRATING_SURFACE_WATER_RADIATION - Coefficients de calage du rayonnement du plan d'eau - - - AIR_SPECIFIC_HEAT - Chaleur specifique de l'air - - - COEFFICIENTS_OF_AERATION_FORMULA - Coefficients de la formule d'aeration - - - ATMOSPHERE_WATER_EXCHANGE_MODEL - Modele d'echanges eau-atmosphere - - - COEFFICIENT_TO_CALIBRATE_THE_ATMOSPHERE_WATER_EXCHANGE_MODEL - Coefficient de calage du modele d'echanges eau-atmosphere - - - FORMULA_OF_ATMOSPHERIC_RADIATION - Formule du rayonnement atmospherique - - - LIGHTNESS_OF_THE_SKY - Clarte du ciel - - - SOLAR_RADIATION_READ_IN_METEO_FILE - Rayonnement solaire lu dans le fichier meteo - - - LAW_OF_TRACERS_DEGRADATION - Loi de degradation des traceurs - - - COEFFICIENT_1_FOR_LAW_OF_TRACERS_DEGRADATION - Coefficient 1 de la loi de degradation des traceurs - - - STEERING_FILE - Fichier des parametres - - - DICTIONARY - Dictionnaire - - - SERAFIN - SERAFIN - - - SERAFIND - SERAFIND - - - MED - MED - - - to edit !!! - editer !!! - - - COMPUTATION_ENVIRONMENT - Environnement de calcul - - - GENERAL_PARAMETERS - Parametres generaux - - - HYDRODYNAMICS - Hydrodynamique - - - PHYSICAL_PARAMETERS - Parametres physiques - - - WAQ_PARAMETERS - Parametres qe - - - INTERNAL - Interne - - - GLOBAL - Global - - - INPUT - Entree - - - OUTPUT - Sortie - - - SUSPENSION - Suspension - - - EUTROPHICATION - Eutrophisation - - - MICROPOL - Micropol - - - THERMIC - Thermique - - - DEGRADATION - Degradation - - - DATA - Donnees - - - AED2 - Aed2 - - - RESULTS - Resultats - - - LISTING - Listing - - - O2 - O2 - - - EUTRO_AND_O2 - Eutro et o2 - - - EUTRO_AND_BIOMASS - Eutro et biomass - - - EUTRO - Eutro - - - SOURCES - Sources - - - diff --git a/Traducteur/CMakeLists.txt b/Traducteur/CMakeLists.txt deleted file mode 100644 index d1c51c80..00000000 --- a/Traducteur/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python, texte et images du repertoire et des sous-repertoires (sauf CVS) -install ( - FILES - calcG.py changeValeur.py dictErreurs.py __init__.py inseremocle.py - load.py log.py mocles.py movemocle.py parseur.py regles.py removemocle.py - renamemocle.py traduitV7V8.py traduitV8V9.py traduitV9V10.py utils.py - visiteur.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/Traducteur - ) - -### Local Variables: -### mode: cmake -### End: diff --git a/UiQT5/CMakeLists.txt b/UiQT5/CMakeLists.txt deleted file mode 100644 index 40a250d4..00000000 --- a/UiQT5/CMakeLists.txt +++ /dev/null @@ -1,144 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002, 2013 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -set ( _PYFILES ) -macro ( eficas_compile_ui uifile ) - get_filename_component ( _file_we ${uifile} NAME_WE ) - set ( _pyfile "${_file_we}.py" ) - add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} - COMMAND ${PYUIC5} ARGS -x -o ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ${CMAKE_CURRENT_SOURCE_DIR}/${uifile} - MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${uifile} - COMMENT "Compiling ${uifile}" - ) - list ( APPEND _PYFILES ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ) -endmacro ( eficas_compile_ui ) - -macro ( eficas_compile_ui_2 uifile ) - get_filename_component ( _file_we ${uifile} NAME_WE ) - set ( _pyfile "${_file_we}.py" ) - add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} - COMMAND ${PYUIC5} ARGS -x -o ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ${CMAKE_CURRENT_SOURCE_DIR}/${uifile} - COMMAND sed -i -e "'s/\\(QtCore\\.QMetaObject\\.connectSlotsByName(WidgetFactPlie)\\)/#\\1/'" ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} - MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${uifile} - COMMENT "Compiling ${uifile}" - ) - list ( APPEND _PYFILES ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ) -endmacro ( eficas_compile_ui_2 ) - -eficas_compile_ui ( myMain.ui ) -eficas_compile_ui ( desBaseWidget.ui ) -eficas_compile_ui ( desChoixCata.ui ) -eficas_compile_ui ( desChoixCode.ui ) -eficas_compile_ui ( desChoixCommandes.ui ) -eficas_compile_ui ( desChoixLangue.ui ) -eficas_compile_ui ( desRecherche.ui ) -eficas_compile_ui ( desRechercheCatalogue.ui ) -eficas_compile_ui ( desSelectVal.ui ) -eficas_compile_ui ( desViewTexte.ui ) -eficas_compile_ui ( desViewRegles.ui ) -eficas_compile_ui ( desVisu.ui ) -eficas_compile_ui ( desWidgetCreeParam.ui ) -eficas_compile_ui ( desWidgetCommande.ui ) -eficas_compile_ui ( desWidgetFormule.ui ) -eficas_compile_ui ( desWidgetOptionnel.ui ) -eficas_compile_ui ( desGroupeOptionnel.ui ) -eficas_compile_ui ( Tuple2.ui ) -eficas_compile_ui ( Tuple3.ui ) -eficas_compile_ui ( Tuple4.ui ) -eficas_compile_ui ( Tuple5.ui ) -eficas_compile_ui ( Tuple6.ui ) -eficas_compile_ui ( Tuple7.ui ) -eficas_compile_ui ( Tuple8.ui ) -eficas_compile_ui ( Tuple9.ui ) -eficas_compile_ui ( Tuple10.ui ) -eficas_compile_ui ( desPBOptionnelMT.ui ) -# -eficas_compile_ui ( desWidgetBloc.ui ) -eficas_compile_ui ( desWidgetCB.ui ) -eficas_compile_ui ( desWidgetCBIntoSug.ui ) -eficas_compile_ui ( desWidgetCommentaire.ui ) -eficas_compile_ui ( desWidgetDate.ui ) -eficas_compile_ui ( desWidgetFact.ui ) -eficas_compile_ui ( desWidgetFactPlie.ui ) -eficas_compile_ui ( desWidgetFactTableau.ui ) -eficas_compile_ui ( desWidgetHeure.ui ) -eficas_compile_ui ( desWidgetInactif.ui ) -eficas_compile_ui ( desWidgetInformation.ui ) -eficas_compile_ui ( desWidgetIntoSug.ui ) -eficas_compile_ui ( desWidgetMatrice.ui ) -eficas_compile_ui ( desWidgetNiveauFact.ui ) -eficas_compile_ui ( desWidgetParam.ui ) -eficas_compile_ui ( desWidgetPlusieursBase.ui ) -eficas_compile_ui ( desWidgetPlusieursInto.ui ) -eficas_compile_ui ( desWidgetPlusieursIntoOrdonne.ui ) -eficas_compile_ui ( desWidgetPlusieursTuple.ui ) -eficas_compile_ui ( desWidgetPlusieursPlie.ui ) -eficas_compile_ui ( desWidgetRadioButton.ui ) -eficas_compile_ui ( desWidget4a6RadioButton.ui ) -eficas_compile_ui ( desWidgetSDCOInto.ui ) -eficas_compile_ui ( desWidgetSimpBase.ui ) -eficas_compile_ui ( desWidgetSimpBool.ui ) -eficas_compile_ui ( desWidgetSimpComplexe.ui ) -eficas_compile_ui ( desWidgetSimpFichier.ui ) -eficas_compile_ui ( desWidgetSimpSalome.ui ) -eficas_compile_ui ( desWidgetSimpTxt.ui ) -eficas_compile_ui ( desWidgetTableau.ui ) -eficas_compile_ui ( desWidgetTuple2.ui ) -eficas_compile_ui ( desWidgetTuple3.ui ) -eficas_compile_ui ( desWidgetTuple4.ui ) -eficas_compile_ui ( desWidgetTuple5.ui ) -eficas_compile_ui ( desWidgetTuple6.ui ) -eficas_compile_ui ( desWidgetTuple7.ui ) -eficas_compile_ui ( desWidgetTuple8.ui ) -eficas_compile_ui ( desWidgetTuple9.ui ) -eficas_compile_ui ( desWidgetTuple10.ui ) -eficas_compile_ui ( desWidgetUniqueSDCO.ui ) -eficas_compile_ui ( desWidgetVide.ui ) - -add_custom_target ( CompileUI ALL DEPENDS ${_PYFILES} - COMMENT "Built UI files" - ) - -install ( FILES ${_PYFILES} - DESTINATION ${CMAKE_INSTALL_PREFIX}/UiQT5 - ) - -# Rules to compile TS files -SET(TSFILES eficas_en.ts - eficas_fr.ts) - -SET(QMFILES) -FOREACH(input ${TSFILES}) - GET_FILENAME_COMPONENT(base ${input} NAME_WE) - SET(output ${CMAKE_CURRENT_BINARY_DIR}/${base}.qm) - SET(QMFILES ${QMFILES} ${output}) - ADD_CUSTOM_COMMAND(OUTPUT ${output} - COMMAND ${QT_LRELEASE_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${input} -qm ${output} - # EXECUTE_PROCESS(COMMAND \${MYLRELEASE} \${MYTSFILE} -qm \${MYFULLDIR}/\${MYOUTQMFILE}) - MAIN_DEPENDENCY ${input}) -ENDFOREACH(input ${TSFILES}) - -ADD_CUSTOM_TARGET(CompileTS ALL DEPENDS ${QMFILES}) -INSTALL(FILES ${QMFILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/UiQT5) - -### Local Variables: -### mode: cmake -### End: diff --git a/UiQT5/desWidgetMatrice.ui b/UiQT5/desWidgetMatrice.ui index 1874cede..62220b3d 100644 --- a/UiQT5/desWidgetMatrice.ui +++ b/UiQT5/desWidgetMatrice.ui @@ -10,6 +10,12 @@ 770 + + + 0 + 250 + + Dialog @@ -153,7 +159,7 @@ - 300 + 100 25 diff --git a/Validation/CMakeLists.txt b/Validation/CMakeLists.txt deleted file mode 100644 index e3ce0580..00000000 --- a/Validation/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS) -install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX} - FILES_MATCHING PATTERN *.py - PATTERN CVS EXCLUDE - ) - - -### Local Variables: -### mode: cmake -### End: diff --git a/VirtualPolymer/VP b/VirtualPolymer/VP deleted file mode 100644 index 983ed055..00000000 --- a/VirtualPolymer/VP +++ /dev/null @@ -1,5 +0,0 @@ -[c_pre_polymer_data_management] -gui = True -data_base = local/ -backup = False -folder_output = /tmp diff --git a/VirtualPolymer/VP_Cata_V1.py b/VirtualPolymer/VP_Cata_V1.py deleted file mode 100644 index 08f74e6c..00000000 --- a/VirtualPolymer/VP_Cata_V1.py +++ /dev/null @@ -1,413 +0,0 @@ -# coding: utf-8 -import types -from Accas import * -import sys,os -sys.path.append('/home/A96028/opt/MAP/map-2016.1/lib/python2.7/site-packages/mapy/components/c_pre_polymer_data_management') -sys.path.append('/home/A96028/opt/MAP/map-2016.1/lib/python2.7/site-packages/mapy/virtual_polymer_common') -sys.path.append('/home/A96028/opt/MAP/map-2016.1/lib/python2.7/site-packages/') -import pckdb, class_data, instruction, equation_part, utils - - -monDico= { 'Equation_Liste' : ('initiation', 'propagation', 'termination', 'stabilization'), - 'Modele_TechnicalUse' : ('cable', 'coating', 'pipes'), - } - -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: return None - if len(valeur) != self.ntuple: return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - -#class ObjetUtilisateur(ASSD): pass - -class classeVisuEquation : - def __init__(self,dicoListeAffiche, listEquation, listModele,listPostTraitement): - self.dicoListeAffiche=dicoListeAffiche - self.listEquation=listEquation - self.listModele=listModele - self.listPostTraitement=listPostTraitement - - -def maFunc(): - return ('a1','a2','a3') - -def maFuncWithArg(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - monMC.dsMaFunct = True - - editor=monMC.jdc.editor - if monMC.valeur == 'POOH->P' : monInto=('a1','a2','a3') - else : monInto=('b1','b2','b3') - - change=editor.changeIntoDefMC('AGING', ('Equation', 'b_approved','b_type_creation','Equation_Modification','Type2'), monInto ) - if change : - print ('j ai change le into') - editor.reCalculeValiditeMCApresChgtInto('AGING', 'Type2', ('Equation', 'b_approved','b_type_creation','Equation_Modification')) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - - monMC.dsMaFunct = False - -def recupereDicoGenerique(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - print ('je passe dans la recuperation') - editor=monMC.jdc.editor - valeurDB=editor.getValeur('Equation','Equation_DB',()) - if valeurDB == None : valeurDB=editor.getValeur('Modele','Modele_DB',()) - correspond=pckdb.DBRENAME - if valeurDB != None : - listEquation, listModele,listPostTraitement=pckdb.read_pckdb(correspond[valeurDB]) - monMC.dsMaFunct = False - return listEquation, listModele,listPostTraitement - -def recupereDicoEquation(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - listEquation, listModele,listePostTraitement=recupereDicoGenerique(monMC) - editor=monMC.jdc.editor - - valeurEquationListe=editor.getValeur('Equation','Equation_Liste',('b_type_show',)) - valeurAgingType=editor.getValeur('Equation','Equation_reaction',('b_type_show','b_reaction_type',)) - if valeurAgingType == None : - valeurAgingType=editor.getValeur('Equation','Equation_reaction',('b_type_show','b_aging_type',)) - if valeurAgingType == None : monMC.dsMaFunct = False; return - - listeEquationPourIhm = [] - listeReprEquationPourIhm = [] - dicoListeAffiche={} - for equation in listEquation : - if valeurEquationListe == 'aging_type' : - if equation.type_vieil == valeurAgingType : - listeEquationPourIhm.append(equation) - listeReprEquationPourIhm.append(equation.representation) - dicoListeAffiche[equation.representation]=equation - else: - if equation.type_react == valeurAgingType : - listeEquationPourIhm.append(equation) - listeReprEquationPourIhm.append(equation.representation) - dicoListeAffiche[equation.representation]=equation - change=editor.changeIntoDefMC('Equation', ('b_type_show','ListeEquation'), listeReprEquationPourIhm ) - if change : - editor.reCalculeValiditeMCApresChgtInto('Equation', 'listeEquation', ('b_type_show',)) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - editor.maClasseVisuEquation = classeVisuEquation(dicoListeAffiche,listEquation, listModele,listPostTraitement) - monMC.dsMaFunct = False - -def afficheValeurEquation(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - valeur=monMC.valeur - if valeur == None : - monMC.dsMaFunct = False - return - editor.maClasseVisuEquation.valeurEquationChoisie=valeur - monMC.dsMaFunct = False - - -def instancieChemicalFormulation(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur == False : return - - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - - print ('ds instancie') - v=editor.maClasseVisuEquation.valeurEquationChoisie - monEquation=editor.maClasseVisuEquation.dicoListeAffiche[v] - type_react=monEquation.type_react - type_vieil=monEquation.type_vieil - print (v, type_react, type_vieil) - #editor.changeIntoMCandSet('Equation', ('b_type_show','b_modification','b_modif','ChemicalFormulation'),( v,),v ) - change=editor.changeDefautDefMC('Equation', ('b_type_show','b_modification','b_modif','Reaction_Type'),type_react ) - change=editor.changeDefautDefMC('Equation', ('b_type_show','b_modification','b_modif','Aging_Type'), type_vieil ) - - for index,valeurConstituant in enumerate(monEquation.constituants): - valeurEquation=monEquation.equation[index] - editor.ajoutMC(monMC.etape,'OptionnelConstituant',None,('b_type_show','b_modification','b_modif',)) - print (index,valeurConstituant,valeurEquation) - - #OptionnelConstituant = FACT ( statut = 'f',max = '**', - # Constituant = SIMP (statut = 'o', typ = 'TXM'), - # Differential_Equation = SIMP(statut= 'o',typ= 'TXM'), - for index,valeurConstituant in enumerate(monEquation.const_cine_nom): - valeurArrhe=monEquation.arrhenius[index] - if valeurArrhe : valeurConstanteType='Arrhenius type' - else : valeurConstanteType='non Arrhenius type' - - print (index,valeurConstituant,valeurConstanteType) - #OptionnelleConstante = FACT (statut = 'f', max = '**', - # ConstanteName= SIMP (statut = 'o', typ = 'TXM',), - # ConstanteType = SIMP(statut= 'o',typ= 'TXM', min=1,into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - change=editor.changeDefautDefMC('Equation', ('b_type_show','b_modification','b_modif','Commentaire'),monEquation.comment ) - print (monEquation.comment ) - #if change : - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - monMC.dsMaFunct = False - editor.dsMaFunct = False - -# TEMPORAIRE -# TODO TODO TODO -# PNPNPNPNPN - - -maClasseDeModele=class_data.Modele() - -def recupereDicoModele(monMC): - if monMC.valeur == None: return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - print ('je passe dans recupereDicoModele') - listEquation, listModele,listPostTraitement=recupereDicoGenerique(monMC) - editor=monMC.jdc.editor - editor.maClasseVisuEquation = classeVisuEquation({},listEquation, listModele,listPostTraitement) - monMC.dsMaFunct = False - - -def creeListeEquation(monMC): - if monMC.valeur == None: return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - - editor=monMC.jdc.editor -# TEMPORAIRE -# TODO TODO TODO - listeEquationsAAfficher=[] - listeConstantesAAfficher=[] - for index,equation in enumerate( editor.maClasseVisuEquation.listEquation): - if index in maClasseDeModele.equa: - listeEquationsAAfficher.append(equation.representation) - listeConstantesAAfficher.append(equation.const_cine_nom) - - monMC.dsMaFunct = False - - # listeEquation_stabilization=SIMP(statut='o', homo='SansOrdreNiDoublon', max='**', min=0 ), - -def recupereModeleEquation(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur==False : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - - editor.dsMaFunct = True - dicoListeEquationAAfficher={} - - for valeurReactionType in monDico['Equation_Liste']: - dicoListeEquationAAfficher[valeurReactionType] = [] - for index,equation in enumerate( editor.maClasseVisuEquation.listEquation): - if equation.type_react==valeurReactionType : - dicoListeEquationAAfficher[valeurReactionType].append(equation.representation) - print (dicoListeEquationAAfficher) - - change=editor.changeIntoDefMC('Modele', ('b_type_creation','b_ajout_equation','listeEquation_initiation'),dicoListeEquationAAfficher['initiation'] ) - change=editor.changeIntoDefMC('Modele', ('b_type_creation','b_ajout_equation','listeEquation_propagation'),dicoListeEquationAAfficher['propagation'] ) - change=editor.changeIntoDefMC('Modele', ('b_type_creation','b_ajout_equation','listeEquation_termination'),dicoListeEquationAAfficher['termination'] ) - change=editor.changeIntoDefMC('Modele', ('b_type_creation','b_ajout_equation','listeEquation_stabilization'),dicoListeEquationAAfficher['stabilization'] ) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - editor.dsMaFunct = False - -def prepareDiffusion(monMC): - print ('je suis dans prepareDiffusion') - if monMC.valeur==False : return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - monMC.dsMaFunct=True - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - editor.dicoCoefS={} - editor.dicoCoefD={} - for c in maClasseDeModele.coef[0].keys() : - if c[0]=='S': - clef=c[1:] - valeur= maClasseDeModele.coef[0][c] - editor.dicoCoefS[clef]=valeur - if c[0]=='D': - clef=c[1:] - valeur= maClasseDeModele.coef[0][c] - editor.dicoCoefD[clef]=valeur - print (editor.dicoCoefS,editor.dicoCoefD) - monMC.dsMaFunct=False - editor.dsMaFunct = False - - -def ajouteDiffusion(monMC): - print ('je suis dans ajouteDiffusion') - if monMC.valeur == None : return - print (monMC.valeur) - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - monMC.dsMaFunct=True - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - - - for v in monMC.valeur : - print (v) - mesValeurs=editor.dicoCoefS[v] - print (editor.dicoCoefS) - print (mesValeurs) - MCFils='S'+v - for e in monMC.jdc.etapes: - if e.nom == Modele :break - - print (e) - editor.ajoutDefinitionMC(e,('b_type_creation','b_diffusion'),MCFils,typ='TXM',statut='o' ) - print ('ggggg') - editor.ajoutMC(e,MCFils,mesValeurs,('b_type_creation','b_diffusion',)) - print ('______') - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - monMC.dsMaFunct=False - editor.dsMaFunct = False - -JdC = JDC_CATA(code='VP', - execmodul=None, - ) - - - -#--------------------------------- -Equation = PROC (nom="Equation", - op=None, -#--------------------------------- - Equation_DB=SIMP(statut= 'o',typ= 'TXM', into=("Approved data base", "My data base") ), - Equation_Type = SIMP(statut= 'o',typ= 'TXM', into=("Show equation database", "Equation creation"),), - - -# --------------------------------------------------------------------------- - b_type_show = BLOC(condition = " Equation_Type == 'Show equation database'", -# --------------------------------------------------------------------------- - Equation_Liste=SIMP(statut= 'o',typ= 'TXM', into=('reaction_type','aging_type')), - - b_reaction_type = BLOC(condition = " Equation_Liste == 'reaction_type'", - Equation_reaction=SIMP(statut= 'o',typ= 'TXM', into=monDico['Equation_Liste'],siValide=recupereDicoEquation), - ), # Fin b_reaction_type - - b_aging_type = BLOC(condition = " Equation_Liste == 'aging_type'", - Equation_reaction=SIMP(statut= 'o',typ= 'TXM', into=('All', 'thermo', 'radio'),siValide=recupereDicoEquation), - ), # Fin b_reaction_type - - ListeEquation = SIMP(statut='o', typ='TXM', homo='SansOrdreNiDoublon',siValide=afficheValeurEquation), - b_modification = BLOC(condition = " ListeEquation != None ", - modification = SIMP(typ = bool, statut = 'o',defaut = False, fr='toto', ang='toto en anglais', siValide=instancieChemicalFormulation), - - b_modif = BLOC(condition = "modification == True", - Reaction_Type=SIMP(statut= 'o',typ= 'TXM', min=1,into=monDico['Equation_Liste'],), - Aging_Type=SIMP(statut= 'o',typ= 'TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio'),), - - OptionnelConstituant = FACT ( statut = 'f',max = '**', - Constituant = SIMP (statut = 'o', typ = 'TXM'), - Differential_Equation = SIMP(statut= 'o',typ= 'TXM'), - ), # fin Const_Equa - OptionnelleConstante = FACT (statut = 'f', max = '**', - ConstanteName= SIMP (statut = 'o', typ = 'TXM',), - ConstanteType = SIMP(statut= 'o',typ= 'TXM', min=1,into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - ),# fin ConstanteOptionnelle - Commentaire = SIMP (statut = 'f', typ = 'TXM', defaut = ' '), - - ),# fin b_modif - - ), # fin b_modification - ), # Fin b_type_show - - -# --------------------------------------------------------------------------- - b_type_creation = BLOC(condition = " Equation_Type == 'Equation creation'", -# --------------------------------------------------------------------------- - Equation_Modification = FACT ( statut = 'o', - - ChemicalFormulation = SIMP(statut='o', typ='TXM', defaut = 'POOH -> 2P'), - - Reaction_Type=SIMP(statut= 'o',typ= 'TXM', min=1,into=monDico['Equation_Liste'],), - Aging_Type=SIMP(statut= 'o',typ= 'TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio'),), - - Constituants = FACT ( statut = 'o', - ConstituantPOOH = SIMP (statut = 'f', typ = 'TXM', into = ('POOH',), defaut= 'POOH'), - b_pooh = BLOC(condition = " ConstituantPOOH == 'POOH'" , - Differential_Equation_POOH = SIMP(statut= 'o',typ= 'TXM', defaut = '-ku1*POOH'), - ), # Fin b_pooh - ConstituantP = SIMP (statut = 'f', typ = 'TXM', into = ('P',),defaut='P'), - b_p = BLOC(condition = " ConstituantP == 'P'" , - Differential_Equation_P = SIMP(statut= 'o',typ= 'TXM', defaut = '2*ku1*POOH'), - ), # Fin b_p - OptionnelConstituant = FACT ( statut = 'f',max = '**', - Constituant = SIMP (statut = 'o', typ = 'TXM'), - Differential_Equation = SIMP(statut= 'o',typ= 'TXM'), - ), # fin Const_Equa - ),# Fin Constituants - - Constante = FACT ( statut = 'o', - Constanteku1 = SIMP (statut = 'f', typ = 'TXM', into = ('ku1',), defaut= 'ku1'), - b_cku1 = BLOC(condition = "Constanteku1 == 'ku1'" , - ConstanteType = SIMP(statut= 'o',typ= 'TXM', into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - ), - OptionnelleConstante = FACT (statut = 'f', max = '**', - ConstanteName= SIMP (statut = 'o', typ = 'TXM',), - ConstanteType = SIMP(statut= 'o',typ= 'TXM', min=1,into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - ),# fin ConstanteOptionnelle - ), # fin constante - Commentaire = SIMP (statut = 'f', typ = 'TXM', defaut = ' '), - - ), # Fin Equation_Modification - - #Chemical_Formulation = SIMP(statut= 'o',typ= 'TXM', defaut = 'POOH->P',siValide=maFuncWithArg), - #Type1 = SIMP(statut='o', typ = 'TXM', into=maFunc), - #Type2 = SIMP(statut='o', typ = 'TXM'), - - ), # fin b_type_creation - - -) # Fin Equation - -#--------------------------------- -Modele = PROC (nom="Modele", - op=None, - Modele_DB=SIMP(statut= 'o',typ= 'TXM', into=("Approved data base", "My data base"),siValide=recupereDicoModele ), - Modele_Type = SIMP(statut= 'o',typ= 'TXM', into=("Show modele database", "Modele creation"),siValide=creeListeEquation), -# --------------------------------------------------------------------------- - b_type_creation = BLOC(condition = " Modele_Type == 'Modele creation'", -# --------------------------------------------------------------------------- - technicalUse= SIMP(statut= 'o',typ= 'TXM',into=monDico['Modele_TechnicalUse'],defaut=maClasseDeModele.technical_use ), - modeleName=SIMP(statut='o',typ='TXM',defaut=maClasseDeModele.nom,), - material=SIMP(statut='o',typ='TXM',defaut=maClasseDeModele.materiaux[0],), - stabilizer = SIMP(typ = bool, statut = 'o',defaut = maClasseDeModele.stabilise), - model_developed_by_for_EDF = SIMP(typ = bool, statut = 'o',defaut = maClasseDeModele.dvt_EDF[0]), - documentation=SIMP(statut='o',typ='TXM',defaut=maClasseDeModele.reference,), - - # ajouter la liste des equations et le remove (il faut garder ceux qu on a enlever) - - - AjoutEquation=SIMP(statut= 'o',typ= bool, defaut=False, siValide=recupereModeleEquation), - b_ajout_equation = BLOC(condition = " AjoutEquation == True", - listeEquation_initiation=SIMP(statut='o', typ='TXM',homo='SansOrdreNiDoublon', max='**', min=0, defaut=[] ), - listeEquation_propagation=SIMP(statut='o', typ='TXM',homo='SansOrdreNiDoublon', max='**', min=0, defaut=[] ), - listeEquation_termination=SIMP(statut='o', typ='TXM',homo='SansOrdreNiDoublon', max='**', min=0, defaut=[] ), - listeEquation_stabilization=SIMP(statut='o',typ='TXM', homo='SansOrdreNiDoublon', max='**', min=0, defaut=[] ), - ),# fin b_ajout_equation - - # coefficients maClasseDeModele.coef = liste de dictionnaire mais il faut prendre que le 0 - # on enleve ceux qui commence par D, S et B(casse imprtante) - # la clef est le coef, puis les valeurs - - Aging_Type=SIMP(statut= 'o',typ='TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio'), defaut=maClasseDeModele.type_vieil), - Diffusion = SIMP(typ = bool, statut = 'o',defaut = maClasseDeModele.diffusion,siValide = prepareDiffusion), - - b_diffusion = BLOC(condition = " Diffusion == True", - #coefficients maClasseDeModele.coef = liste de dictionnaire mais il faut prendre que le 0 - # on met ceux qui commence par D, S et pas les B ni les aitres( casse imprtante) - listeProduitPourLaDiffusion=SIMP(statut='o', typ='TXM', max='**', min=1,homo='SansOrdreNiDoublon', into = maClasseDeModele.param_ini.keys(),siValide=ajouteDiffusion), - ), # fin b_diffusion - - ), # fin b_type_creation - - - #AjoutEquation=Fact(statut='f', - # Reaction_Type=SIMP(statut= 'o',typ= 'TXM', min=1,into=monDico['Equation_Liste'],siValide=recupereModeleEquation), - #), # fin AjoutEquation - - Commentaire = SIMP (statut = 'f', typ = 'TXM'), -) # Fin Modele diff --git a/VirtualPolymer/VP_Cata_V2.py b/VirtualPolymer/VP_Cata_V2.py deleted file mode 100644 index 87c03918..00000000 --- a/VirtualPolymer/VP_Cata_V2.py +++ /dev/null @@ -1,303 +0,0 @@ -# coding: utf-8 -import types -from Accas import * - -import lienDB -import listesDB - -monDico= { 'Equation_Liste' : ('initiation', 'propagation', 'termination', 'stabilization'), - 'Modele_TechnicalUse' : ('cable', 'coating', 'pipes'), - 'Aging_Factor' : { 'predefinedSimulationTime' : ('40years BR top', '40years BR bottom')}, - 'Boundary_Conditions' : ('flux_volume','flux_surface','constant_constration','convection_flux'), - 'postTraitement_Typ' : ('chimique','mecanique','physique'), - } - -monModele=listesDB.sModele().monModele -monPost=listesDB.sModele().monPost - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - -JdC = JDC_CATA(code='VP', - execmodul=None, - ) - - -#--------------------------------- -Equation = PROC (nom="Equation", - op=None, -#--------------------------------- - Equation_DB=SIMP(statut= 'o',typ= 'TXM', into=("Approved data base", "My data base") ), - #b_suite = BLOC(condition = "Equation_DB == 'My data base' ", - Equation_Type = SIMP(statut= 'o',typ= 'TXM', into=("Show equation database", "Equation creation"),), - #), - #b_suite_2 = BLOC(condition = "Equation_DB == 'Approved data base' ", - #Equation_Type = SIMP(statut= 'o',typ= 'TXM', into=("Show equation database", ),), - #), - -# --------------------------------------------------------------------------- - b_type_show = BLOC(condition = " Equation_Type == 'Show equation database'", -# --------------------------------------------------------------------------- - Equation_Liste=SIMP(statut= 'o',typ= 'TXM', into=('reaction_type','aging_type')), - - b_reaction_type = BLOC(condition = " Equation_Liste == 'reaction_type'", - Equation_reaction=SIMP(statut= 'o',typ= 'TXM', into=monDico['Equation_Liste'],siValide=lienDB.recupereDicoEquation), - ), # Fin b_reaction_type - - b_aging_type = BLOC(condition = " Equation_Liste == 'aging_type'", - Equation_reaction=SIMP(statut= 'o',typ= 'TXM', into=('All', 'thermo', 'radio'),siValide=lienDB.recupereDicoEquation), - ), # Fin b_reaction_type - - ListeEquation = SIMP(statut='o', typ='TXM', homo='SansOrdreNiDoublon',siValide=lienDB.afficheValeurEquation), - #ListeEquation = SIMP(statut='o', typ='TXM', homo='SansOrdreNiDoublon'), - b_modification = BLOC(condition = " ListeEquation != None ", - modification = SIMP(typ = bool, statut = 'o',defaut = False, fr='toto', ang='toto en anglais', siValide=lienDB.instancieChemicalFormulation), - - b_modif = BLOC(condition = "modification == True", - Reaction_Type=SIMP(statut= 'o',typ= 'TXM', min=1,into=monDico['Equation_Liste'],), - Aging_Type=SIMP(statut= 'o',typ= 'TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio'),), - ChemicalFormulation = SIMP(statut='o', typ='TXM', defaut = 'POOH -> 2P'), - - OptionnelConstituant = FACT ( statut = 'f',max = '**', - Constituant = SIMP (statut = 'o', typ = 'TXM'), - Differential_Equation = SIMP(statut= 'o',typ= 'TXM'), - ), # fin Const_Equa - OptionnelleConstante = FACT (statut = 'f', max = '**', - ConstanteName= SIMP (statut = 'o', typ = 'TXM',), - ConstanteType = SIMP(statut= 'o',typ= 'TXM', min=1,into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - ),# fin ConstanteOptionnelle - Commentaire = SIMP (statut = 'f', typ = 'TXM', defaut = ' '), - - - ),# fin b_modif - - ), # fin b_modification - ), # Fin b_type_show - - -# --------------------------------------------------------------------------- - b_type_creation = BLOC(condition = " Equation_Type == 'Equation creation'", -# --------------------------------------------------------------------------- - Equation_Modification = FACT ( statut = 'o', - - ChemicalFormulation = SIMP(statut='o', typ='TXM', defaut = 'POOH -> 2P'), - - Reaction_Type=SIMP(statut= 'o',typ= 'TXM', min=1,into=monDico['Equation_Liste'],), - Aging_Type=SIMP(statut= 'o',typ= 'TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio'),), - - Constituants = FACT ( statut = 'o', - ConstituantPOOH = SIMP (statut = 'f', typ = 'TXM', into = ('POOH',)), - b_pooh = BLOC(condition = " ConstituantPOOH == 'POOH'" , - Differential_Equation_POOH = SIMP(statut= 'o',typ= 'TXM', defaut = '-ku1*POOH'), - ), # Fin b_pooh - #ConstituantP = SIMP (statut = 'f', typ = 'TXM', into = ('P',)), - #b_p = BLOC(condition = " ConstituantP == 'P'" , - # Differential_Equation_P = SIMP(statut= 'o',typ= 'TXM', defaut = '2*ku1*POOH'), - #), # Fin b_p - ConstituantP = FACT ( statut = 'f', - ConstituantP = SIMP (statut = 'f', typ = 'TXM', into = ('P',)), - Differential_Equation_P = SIMP(statut= 'o',typ= 'TXM', defaut = '2*ku1*POOH'), - ), # Fin ConstituantP - - OptionnelConstituant = FACT ( statut = 'f',max = '**', - Constituant = SIMP (statut = 'o', typ = 'TXM'), - Differential_Equation = SIMP(statut= 'o',typ= 'TXM'), - ), # fin Const_Equa - ),# Fin Constituants - - Constante = FACT ( statut = 'o', - Constanteku1 = SIMP (statut = 'f', typ = 'TXM', into = ('ku1',), defaut= 'ku1'), - b_cku1 = BLOC(condition = "Constanteku1 == 'ku1'" , - ConstanteType = SIMP(statut= 'o',typ= 'TXM', into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - ), - OptionnelleConstante = FACT (statut = 'f', max = '**', - ConstanteName= SIMP (statut = 'o', typ = 'TXM',), - ConstanteType = SIMP(statut= 'o',typ= 'TXM', min=1,into=('Arrhenius type','non Arrhenius type'),defaut='Arrhenius type'), - ),# fin ConstanteOptionnelle - ), # fin constante - Commentaire = SIMP (statut = 'f', typ = 'TXM', defaut = ' '), - - ), # Fin Equation_Modification - ), # fin b_type_creation - - -) # Fin Equation - -#--------------------------------- -Modele = PROC (nom="Modele", - op=None, - Modele_DB=SIMP(statut= 'o',typ= 'TXM', into=("Approved data base", "My data base"),siValide=lienDB.recupereDicoModele ), - Modele_Type = SIMP(statut= 'o',typ= 'TXM', into=("Show modele database", "Modele creation"),siValide=lienDB.creeListeEquation), -# --------------------------------------------------------------------------- - b_type_creation = BLOC(condition = " Modele_Type == 'Modele creation'", -# --------------------------------------------------------------------------- - ID=FACT(statut='o', - technicalUse= SIMP(statut= 'o',typ= 'TXM',into=monDico['Modele_TechnicalUse'],defaut=monModele.technical_use ), - modeleName=SIMP(statut='o',typ='TXM',defaut=monModele.nom,), - material=SIMP(statut='o',typ='TXM',defaut=monModele.materiaux[0],), - agingType=SIMP(statut= 'o',typ='TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio'), defaut=monModele.type_vieil), - stabilizer = SIMP(typ = bool, statut = 'o',defaut = monModele.stabilise), - material_thickness = SIMP(typ = 'TXM', statut = 'o',defaut = monModele.thickness, into = ['thin','thick']), - # il faudrait que position=global_jdc fonctionne - model_developed_by_for_EDF = SIMP(typ = bool, statut = 'o',defaut = monModele.dvt_EDF[0]), - documentation=SIMP(statut='o',typ='TXM',defaut=monModele.reference,), - - ), # fin ID - # ajouter la liste des equations et le remove (il faut garder ceux qu on a enlever) - - Chemical_Equation = FACT( statut='o', - Initial_Equation_List=SIMP(statut='o',typ='TXM',max="**",homo='SansOrdreNiDoublon',into=[],defaut=[], siValide=lienDB.recupereModeleEquation), - - AjoutEquation=SIMP(statut= 'o',typ= bool, defaut=False, siValide=lienDB.recupereModeleEquation), - b_ajout_equation = BLOC(condition = " AjoutEquation == True", - listeEquation_initiation=SIMP(statut='o', typ='TXM',homo='SansOrdreNiDoublon', max='**', min=0, defaut=[],siValide=lienDB.ajoutDUneEquation ), - listeEquation_propagation=SIMP(statut='o', typ='TXM',homo='SansOrdreNiDoublon', max='**', min=0, defaut=[],siValide=lienDB.ajoutDUneEquation ), - listeEquation_termination=SIMP(statut='o', typ='TXM',homo='SansOrdreNiDoublon', max='**', min=0, defaut=[],siValide=lienDB.ajoutDUneEquation ), - listeEquation_stabilization=SIMP(statut='o',typ='TXM', homo='SansOrdreNiDoublon', max='**', min=0, defaut=[],siValide=lienDB.ajoutDUneEquation ), - ),# fin b_ajout_equation - - ), # fin Equation - # coefficients monModele.coef = liste de dictionnaire mais il faut prendre que le 0 - # on enleve ceux qui commence par D, S et B(casse imprtante) - # la clef est le coef, puis les valeurs - - - #b_material_thickness = BLOC(condition = "material_thickness == 'thick'", - # si position=global fonctionne - Transport = FACT( statut = 'o', - #Diffusion = SIMP(typ = bool, statut = 'o',defaut = monModele.diffusion,siValide = lienDB.prepareDiffusion), - Diffusion = SIMP(typ = bool, statut = 'o',defaut = False ,siValide = lienDB.prepareDiffusion), - - b_diffusion = BLOC(condition = " Diffusion == True", - listeProduitPourLaDiffusion=SIMP(statut='o', typ='TXM', max='**', min=1,homo='SansOrdreNiDoublon', into = [],siValide=lienDB.ajouteDiffusion), - ), # fin b_diffusion - - Evaporation = SIMP(typ = bool, statut = 'o',defaut = False ,siValide = lienDB.prepareDiffusion), - b_evaporation = BLOC(condition = " Evaporation == True", - listeProduitPourLEvaporation=SIMP(statut='o', typ='TXM', max='**', min=1,homo='SansOrdreNiDoublon', into = [],siValide=lienDB.ajouteEvaporation), - ), # fin b_evaporation - - - ), # fin TRANSPORT - #), # fin b_material_thickness - - Coefficients = FACT( statut = 'o', - Coef_k2 = SIMP (statut ='o', typ='R'), - Coef_ku1 = SIMP (statut ='o', typ=Tuple(2),validators = VerifTypeTuple(('R','R')),), - ), - Parametres_Initiaux = FACT( statut = 'o', - Param_POOH=SIMP (statut ='o', typ='R'), - # La liste est la meme que le INTO des listeProduitsPourlaDiffusion - # la valeur par defaut si elle existe est contenue dans modele.param_ini['POOH'] - ), - - - #AjoutEquation=Fact(statut='f', - # Reaction_Type=SIMP(statut= 'o',typ= 'TXM', min=1,into=monDico['Equation_Liste'],siValide=lienDB.recupereModeleEquation), - #), # fin AjoutEquation - ), # fin Creation -# --------------------------------------------------------------------------- - b_type_modification = BLOC(condition = " Modele_Type == 'Show modele database'", -# --------------------------------------------------------------------------- - technicalUse= SIMP(statut= 'o',typ= 'TXM',into=monDico['Modele_TechnicalUse'],siValide=lienDB.creeListeMateriauxSelonModele), - b_technicalUse = BLOC (condition = 'technicalUse != None and technicalUse != ""', - material= SIMP (statut ='o', typ='TXM',siValide=lienDB.creeListeModelesPossibles), - modele= SIMP (statut ='o', typ='TXM',siValide=lienDB.choisitModele), - b_modele = BLOC (condition = 'modele != None and modele != ""', - action = SIMP (statut ='o', typ='TXM',into = ['display','use','modify'], siValide=lienDB.choisitActionModele), -# --------------------------------------------------------------------------- - b_type_modify = BLOC(condition = " action == 'modify'", -# --------------------------------------------------------------------------- - ID=FACT(statut='o', - modeleName=SIMP(statut='o',typ='TXM'), - technicalUse= SIMP(statut= 'o',typ= 'TXM', into=monDico['Modele_TechnicalUse'] ), - material=SIMP(statut='o',typ='TXM'), - agingType=SIMP(statut= 'o',typ='TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio')), - stabilizer = SIMP(typ = bool, statut = 'o',), - material_thickness = SIMP(typ = 'TXM', statut = 'o', into = ['thin','thick']), - # il faudrait que position=global_jdc fonctionne - model_developed_by_for_EDF = SIMP(typ = bool, statut = 'o',), - documentation=SIMP(statut='o',typ='TXM',), - - -# il faut recopier toute la suite en changeant eventuellement le nom du modele -# il faut cocher toutes les equations par defaut - - ), # fin ID - ), # fin b_type_modify -# --------------------------------------------------------------------------- - b_type_use = BLOC(condition = " action == 'use'", -# --------------------------------------------------------------------------- - simulationName=SIMP(statut='o',typ='TXM'), - outputFolder = SIMP(statut="o", typ="Repertoire",siValide=lienDB.creeCoefAModifier), - ), # fin b_type_use -# --------------------------------------------------------------------------- - b_type_use2 = BLOC(condition = " action == 'use'", -# --------------------------------------------------------------------------- - Aging_Factor = FACT(statut='o', - predefinedSimulationTime = SIMP(statut='o',typ='TXM',into=monDico['Aging_Factor']['predefinedSimulationTime'],siValide=lienDB.remplirAgingFactor), - simulationTime=SIMP(statut='o',typ='R',), - numberOfNodes=SIMP(statut='o',typ='I',val_min=3,siValide=lienDB.creeInitialParameter), - sampleThickness=SIMP(statut='o',typ='R',), - #debitOfDose=SIMP(statut='o',typ='R',), - temperature=SIMP(statut='o',typ='R',), - oxygenPressure=SIMP(statut='o',typ='R',), - polymerConcentration=SIMP(statut='o',typ='R',), - ), - Initial_Parameter = FACT(statut='o', - max='**', - ), - Boundary_Conditions_Param = FACT(statut='o', - diffusionSpecies=SIMP(statut='o',typ='TXM',defaut='O2', into=['O2',]), - nodeNumber = SIMP(statut='o',typ='I',defaut=1, into=[1]), # tjours1 - Boundary_Conditions_O2_1 = SIMP(statut='o',typ='TXM',into=monDico['Boundary_Conditions']), - BC_Value_Espece_1=SIMP(statut='o',typ='R'), - nodeNumber_Espece_4 = SIMP(statut='o',typ='I',defaut=4, into=[4]), # numberOfNodes+1 - Boundary_Conditions_Espece_4 = SIMP(statut='o',typ='TXM',into=monDico['Boundary_Conditions']), - BC_Value_Espece_4=SIMP(statut='o',typ='R'), - ), - - ), # fin b_type_use2 - ), # fin b_modele - ), # fin b_technicalUse - ), # fin modification - - Commentaire = SIMP (statut = 'f', typ = 'TXM'), -) # Fin Modele -#--------------------------------- -PostTraitement = PROC (nom="PostTraitement", - op=None, - postTraitement_DB=SIMP(statut= 'o',typ= 'TXM', into=("Approved data base", "My data base") ), - postTraitement_Type = SIMP(statut= 'o',typ= 'TXM', into=("Show post-traitement database", "post-traitement creation"),), -# --------------------------------------------------------------------------- - b_post_creation = BLOC(condition = " postTraitement_Type == 'post-traitement creation'", - postTraitement_Name=SIMP(statut= 'o',typ= 'TXM',defaut=monPost.nom,), - generic=SIMP(statut= 'o',typ= bool,defaut=monPost.general,), - postTraitement_Typ = SIMP(statut= 'o',typ= 'TXM', into=monDico['postTraitement_Typ'],homo='SansOrdreNiDoublon',max='**',defaut=monPost.type_post), - calculation= FACT(statut='o', - # il faut un fact horizontal - calculation_results=SIMP(statut= 'o',typ= 'TXM', min=0,max='**', intoSug=monPost.calculation_results,defaut=monPost.calculation_results), - results_units=SIMP(statut= 'o',typ= 'TXM', min=0,max='**', intoSug=monPost.results_units,defaut=monPost.results_units), - #integrate=SIMP(statut= 'o',typ= 'TXM', min=0,max='**', intoSug=monPost.results_units,defaut=monPost.results_units), - prerequisite=SIMP(statut= 'o',typ= 'TXM', min=0,max='**', intoSug=monPost.prerequisite,defaut=monPost.prerequisite), - - ), - constituant=SIMP(statut= 'o',typ= 'TXM', min=0,max='**', intoSug=monPost.constituants,defaut=monPost.constituants) - - )# fin b_post_creation -# --------------------------------------------------------------------------- -#--------------------------------- -) #PostTraitement diff --git a/VirtualPolymer/configuration_VP.py b/VirtualPolymer/configuration_VP.py deleted file mode 100644 index b9b56fe0..00000000 --- a/VirtualPolymer/configuration_VP.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.CONFIG_BASE): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - - configuration.CONFIG_BASE.__init__(self,appli,repIni) - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/VirtualPolymer/editor.py.ssVP b/VirtualPolymer/editor.py.ssVP deleted file mode 100755 index 5ad0154e..00000000 --- a/VirtualPolymer/editor.py.ssVP +++ /dev/null @@ -1,1879 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -from __future__ import absolute_import -from __future__ import print_function -try : - from builtins import str - from builtins import range -except : pass - -import types,sys,os, re -import subprocess -import traceback - -import six -from six.moves import range -from PyQt5.QtWidgets import QWidget, QMessageBox, QFileDialog, QApplication, QSplitter -from PyQt5.QtGui import QPalette -from PyQt5.QtCore import QProcess, QFileInfo, QTimer, Qt, QDir, QSize -import time -import pdb -from datetime import date -from Extensions.i18n import tr - -import traceback - -# Modules Eficas - -import convert, generator -from Editeur import session -from Editeur import comploader -from Editeur import Objecttreeitem -from desBaseWidget import Ui_baseWidget -from InterfaceQT4.monViewTexte import ViewText -from monWidgetCreeParam import MonWidgetCreeParam -from . import browser -from . import readercata - -DictExtensions= {"MAP" : ".map", "TELEMAC" : '.comm'} - - - - -class JDCEditor(Ui_baseWidget,QWidget): -# ----------------------------------------- # - """ - Editeur de jdc - """ - - def __init__ (self,appli,fichier = None, jdc = None, QWParent=None, units = None, include=0 , vm=None): - #----------------------------------------------------------------------------------------------------------# - - QWidget.__init__(self,None) - self.i=0 - self.setupUi(self) - self.inhibeSplitter=0 - self.widgetOptionnel=None - self.fenetreCentraleAffichee=None - self.dejaDansPlieTout=False - self.afficheCommandesPliees = True - self.listeDesListesOuvertes=set() - self.appliEficas = appli - self.appli = appli #---- attendu par IHM - self.vm = vm - self.fichier = fichier - self.jdc = jdc - self.first = True - self.QWParent = QWParent - self.couleur = Qt.black - self.nodeEnCours=None - - if appli != None : - self.salome = self.appliEficas.salome - else : - self.salome=0 - print ("dans JDC pas d appli ????????") - - # ces attributs sont mis a jour par definitCode appelee par newEditor - self.code = self.appliEficas.CONFIGURATION.code - self.initSplitterSizes() - - #self.afficheListesPliees=False - self.afficheListesPliees=True - if self.code == "ASTER" or self.code == "monCode" : self.afficheListesPliees =True - if self.code == 'PSEN_N1' : self.afficheListesPliees = False - - self.mode_nouv_commande=self.appliEficas.CONFIGURATION.mode_nouv_commande - self.closeAutreCommande=self.appliEficas.CONFIGURATION.closeAutreCommande - self.closeFrameRechercheCommande=self.appliEficas.CONFIGURATION.closeFrameRechercheCommande - self.closeArbre=self.appliEficas.CONFIGURATION.closeArbre - self.affiche=self.appliEficas.CONFIGURATION.affiche - self.afficheOptionnelVide=self.appliEficas.CONFIGURATION.afficheOptionnelVide - self.nombreDeBoutonParLigne = self.appliEficas.CONFIGURATION.nombreDeBoutonParLigne - self.dicoImages = self.appliEficas.CONFIGURATION.dicoImages - self.simpleClic = self.appliEficas.CONFIGURATION.simpleClic - #self.taille = self.appliEficas.taille - - #if self.code in ['MAP','CARMELCND','PSEN'] : self.afficheCommandesPliees=False - if self.code in ['MAP','CARMELCND'] : self.afficheCommandesPliees=False - if self.code in ['MAP',]: - self.widgetTree.close() - self.widgetTree=None - if self.closeArbre: self.fermeArbre() - - self.version_code = session.d_env.cata - - - if not hasattr ( self.appliEficas, 'readercata') or self.appliEficas.multi==True: - self.readercata = readercata.READERCATA( self, self.appliEficas ) - self.appliEficas.readercata=self.readercata - self.appliEficas.code=self.code - else : - self.readercata=self.appliEficas.readercata - if self.readercata.fic_cata == None : return #Sortie Salome - self.titre=self.readercata.titre - self.Ordre_Des_Commandes=self.readercata.Ordre_Des_Commandes - self.Classement_Commandes_Ds_Arbre=self.readercata.Classement_Commandes_Ds_Arbre - - self.format = self.appliEficas.format_fichier - - self.dict_reels={} - self.liste_simp_reel=[] - self.ihm="QT" - self.dicoNouveauxMC={} - self.dicoNouveauxFact={} - - nameConf='configuration_'+self.code - configuration=__import__(nameConf) - self.CONFIGURATION = self.appliEficas.CONFIGURATION - self.CONFIGStyle = self.appliEficas.CONFIGStyle - - try: - self.CONFIGURATION.generator_module - _module = __import__(self.CONFIGURATION.generator_module) - info = _module.entryPoint() - generator.plugins.addEntryPoint(info) - except: - pass - - try: - self.CONFIGURATION.convert_module - #print self.CONFIGURATION.convert_module - _module = __import__(self.CONFIGURATION.convert_module) - info = _module.entryPoint() - convert.plugins.addEntryPoint(info) - except : - pass - - self.sb = None - if hasattr(self.appliEficas,"statusBar"): - self.sb = self.appliEficas.statusBar() - - self.fileInfo = None - self.lastModified = 0 - - self.modified = False - self.isReadOnly = False - self.node_selected = [] - self.deplier = True - self.message='' - if self.code in ['Adao','ADAO','MAP'] : self.afficheApresInsert=True - else : self.afficheApresInsert=False - if self.code in ['TELEMAC',] : self.enteteQTree='premier' - else : self.enteteQTree='complet' - if self.code in ['Adao','ADAO','TELEMAC'] : self.affichePlie=True - else : self.affichePlie=False - - self.Commandes_Ordre_Catalogue =self.readercata.Commandes_Ordre_Catalogue - - #------- construction du jdc -------------- - - jdc_item = None - - self.nouveau=0 - if self.fichier is not None: # fichier jdc fourni - self.fileInfo = QFileInfo(self.fichier) - self.fileInfo.setCaching(0) - if jdc==None : - try : - self.jdc = self.readFile(self.fichier) - except : - print ("mauvaise lecture") - else : - self.jdc=jdc - if self.jdc is not None and units is not None: - self.jdc.recorded_units=units - self.jdc.old_recorded_units=units - else: - if not self.jdc: # nouveau jdc - if not include : - self.jdc = self._newJDC(units=units) - else : - self.jdc = self._newJDCInclude(units=units) - self.nouveau=1 - - if self.jdc: - self.jdc.appli = self # a resorber - self.jdc.editor = self - self.jdc.lang = self.appli.langue - self.jdc.aReafficher=False - txt_exception = None - if not jdc: - self.jdc.analyse() - txt_exception = self.jdc.cr.get_mess_exception() - if txt_exception: - self.jdc = None - QApplication.restoreOverrideCursor() - self.affiche_infos(tr("Erreur fatale au chargement de %s",str(fichier)),Qt.red) - if (self.appliEficas.ssIhm == False) : QMessageBox.critical( self, tr("Erreur fatale au chargement d'un fichier"), txt_exception) - else: - comploader.charger_composants("QT") - jdc_item=Objecttreeitem.make_objecttreeitem( self, "nom", self.jdc ) - if (not self.jdc.isvalid()) and (not self.nouveau) and (self.appliEficas.ssIhm == False): - self.viewJdcRapport() - - - - if jdc_item and self.appliEficas.ssIhm==False: - self.tree = browser.JDCTree( jdc_item, self ) - self.appliEficas.construitMenu() - - - ############# - self.adjustSize() - - - #-------------------# Pour execution avec output et error dans le bash - def runPSEN(self): - #-------------------# - - #if self.modified or self.fichier==None : self.saveFile() - self.saveFile() - - #lancement avec le .bat - path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','PSEN_Eficas','PSEN')) - WrapperFilePath = os.path.join(path1, 'PSSEWrapper.py') - import subprocess - p = subprocess.Popen(['python',WrapperFilePath]) - (out,err)=p.communicate() - print (out) - print (err) - - #-------------------# Pour execution avec output et error dans le bash - def runPSEN_N1(self): - #-------------------# - - - self.saveFile() - path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','ProcessOutputs_Eficas','TreatOutputs')) - sys.path.append(path1) - - if not(self.jdc.isvalid()): - QMessageBox.information( self, tr( "Unvalid JDC"),tr("incorrect keywords will be ignored")) - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.generator.Dico - - ###to delete - #fileDico = r'C:\Logiciels DER\PSEN_V16\Code\ProcessOutputs_Eficas\TreatOutputs\dicoN1.py' - fileDico = os.path.join(path1, 'dicoN1.py') #r'C:\Logiciels DER\PSEN_V16\Code\ProcessOutputs_Eficas\TreatOutputs\dicoN1.py' - f = open( str(fileDico), 'w') - f.write("Dico =" + str(dico) ) - f.close() - ### - - - #print ('in runPSEN_N1', dico) - from Run import run - run(dico) - #res,txt_exception=run(dico) - #if res : QMessageBox.information( self, tr("fin de script run"), txt_exception) - #else : QMessageBox.critical( self, tr("Erreur fatale script run"), txt_exception) - - #-------------------# Pour execution avec output et error dans le bash - def process_N1(self): - #-------------------# - - path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','ProcessOutputs_Eficas','TreatOutputs')) - sys.path.append(path1) - - - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.get_Dico() #generator.Dico - - - for k in dico['CONTINGENCY_PROCESSING']: - #print (k) - if k[0:19] == 'Component_List_For_' or k[0:21] =='Contingency_List_For_' : - newK=k.replace('___',' ') - l="'"+str(newK)+"'" - dico['CONTINGENCY_PROCESSING'][l]=dico['CONTINGENCY_PROCESSING'][k] - del dico['CONTINGENCY_PROCESSING'][k] - - ###to delete - fileDico = os.path.join(path1, 'dicoN1_process.py') - f = open( str(fileDico), 'w') - f.write("Dico =" + str(dico) ) - f.close() - ### - return dico - - #return self.get_Dico() - - #-------------------# Pour execution avec output et error dans le bash - def process_VP(self): - #-------------------# - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.get_Dico() #generator.Dico - return dico - - - #--------------------------------# - def ajoutCommentaire(self): - #--------------------------------# - if self.tree.selectedItems()==[] : - QMessageBox.warning( self, tr("Pas de noeud selectionne"),tr("Selectionnez un Noeud \nLe commentaire sera place apres le noeud selectionne")) - return - noeudAvantCommentaire=self.tree.selectedItems()[0] - if noeudAvantCommentaire ==self.tree.racine : - self.tree.racine.append_child("COMMENTAIRE",pos=0) - return - noeudAvantCommentaire.addComment(True) - - - - #--------------------------------# - def _newJDC( self ,units = None): - #--------------------------------# - """ - Initialise un nouveau JDC vierge - """ - self.modified=1 - CONTEXT.unset_current_step() - - texte="" - if self.code == "CARMELCND" : texte=self._newJDCCND() - if self.code == "ZCRACKS" : texte=self._newZCRACKS() - if self.code == "TELEMAC" : texte=self._newTELEMAC() - if self.code == "PSEN" : texte = self._newPSEN() - if self.code == "PSEN_N1" : texte = self._newPSEN_N1() - - if hasattr(self.readercata.cata[0],'TEXTE_NEW_JDC') : texte=self.readercata.cata[0].TEXTE_NEW_JDC - - #if self.code == "CF" : texte = self._new_CF() - # texte=self.newTexteCND - - jdc=self.readercata.cata[0].JdC( procedure =texte, - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - rep_mat=self.CONFIGURATION.rep_mat - ) - jdc.lang = self.appli.langue - if units is not None: - jdc.recorded_units=units - jdc.old_recorded_units=units - ## PNPN est ce que la ligne suivante est bien utile ? - if texte == "" :jdc.analyse() - return jdc - - #--------------------------------# - def _newJDCInclude( self ,units = None): - #--------------------------------# - """ - Initialise un nouveau JDC vierge - """ - import Extensions.jdc_include - JdC_aux=Extensions.jdc_include.JdC_include - CONTEXT.unset_current_step() - - jaux=self.readercata.cata[0].JdC( procedure="", - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - rep_mat=self.CONFIGURATION.rep_mat, - ) - jaux.analyse() - - J=JdC_aux( procedure="", - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - jdc_pere=jaux, - rep_mat=self.CONFIGURATION.rep_mat, - ) - J.analyse() - if units is not None: - J.recorded_units=units - J.old_recorded_units=units - return J - - - #-------------------------------# - def readFile(self, fn): - #--------------------------------# - """ - Public slot to read the text from a file. - @param fn filename to read from (string or QString) - """ - fn = six.text_type(fn) - - # ------------------------------------------------------------------------------------ - # charge le JDC - # ------------------------------------------------------------------------------------ - - jdcName=os.path.basename(fn) - # Il faut convertir le contenu du fichier en fonction du format - if self.appliEficas.format_fichier_in in convert.plugins: - # Le convertisseur existe on l'utilise - #appli = self - p=convert.plugins[self.appliEficas.format_fichier_in]() - p.readfile(fn) - if p.text=="" : self.nouveau=1 - pareil,texteNew=self.verifieCHECKSUM(p.text) - #if texteNew == "" - if pareil == False and (self.appliEficas.ssIhm == False) : - QMessageBox.warning( self, tr("fichier modifie"),tr("Attention! fichier change hors EFICAS")) - p.text=texteNew - memeVersion,texteNew=self.verifieVersionCataDuJDC(p.text) - if memeVersion == 0 : texteNew=self.traduitCatalogue(texteNew) - p.text=texteNew - text=p.convert('exec',self.appliEficas) - if not p.cr.estvide(): - self.affiche_infos("Erreur a la conversion",Qt.red) - else : - self.affiche_infos("Type de fichier non reconnu",Qt.red) - if self.appliEficas.ssIhm == False: - QMessageBox.critical( self, tr("Type de fichier non reconnu"), - tr("EFICAS ne sait pas ouvrir le type de fichier %s" ,self.appliEficas.format_fichier_in)) - return None - - CONTEXT.unset_current_step() - jdc=self.readercata.cata[0].JdC(procedure=text, - appli=self, - cata=self.readercata.cata, - cata_ord_dico=self.readercata.cata_ordonne_dico, - nom=jdcName, - rep_mat=self.CONFIGURATION.rep_mat - ) - # ---------------------------------------------------- - # charge le JDC fin - # ---------------------------------------------------- - self.modified = False - -# qApp.restoreOverrideCursor() - if self.fileInfo!= None : - self.lastModified = self.fileInfo.lastModified() - else : - self.lastModified = 1 - nouveauTitre=self.titre+" "+str(os.path.basename(self.fichier)) - self.appliEficas.setWindowTitle(nouveauTitre) - return jdc - - - #-----------------------# - def get_source(self,file): - #-----------------------# - - # Il faut convertir le contenu du fichier en fonction du format - if self.format in convert.plugins : - # Le convertisseur existe on l'utilise - p=convert.plugins[self.format]() - p.readfile(file) - text=p.convert('execnoparseur') - if not p.cr.estvide(): - self.affiche_infos("Erreur a la conversion",Qt.red) - return text - else: - # Il n'existe pas c'est une erreur - self.affiche_infos("Type de fichier non reconnu",Qt.red) - QMessageBox.critical( self, tr("Type de fichier non reconnu"),tr("EFICAS ne sait pas ouvrir ce type de fichier")) - return None - - #-----------------------------------------------------------------------# - def _viewText(self, txt, caption = "FILE_VIEWER",largeur=1200,hauteur=600): - #--------------------------------------------------------------------# - w = ViewText( self.QWParent,self ,caption,txt,largeur,hauteur) - w.show() - # - - #----------------------------------------------# - def __generateTempFilename(self, prefix, suffix): - #----------------------------------------------# - import tempfile - (fd, filename) = tempfile.mkstemp(prefix=prefix, suffix=suffix) - os.close(fd) - return filename - # - - - #----------------------------------------------# - def _viewTextExecute(self, txt, prefix, suffix): - #----------------------------------------------# - self.w = ViewText( self.QWParent ) - self.w.setWindowTitle( "execution" ) - self.monExe=QProcess(self.w) - pid=self.monExe.pid() - nomFichier = self.__generateTempFilename(prefix, suffix = ".sh") - f=open(nomFichier,'w') - f.write(txt) - f.close() - self.monExe.readyReadStandardOutput.connect( self.readFromStdOut) - self.monExe.readyReadStandardError.connect( self.readFromStdErr) - exe='sh ' + nomFichier - self.monExe.start(exe) - self.monExe.closeWriteChannel() - self.w.exec_() - try: - commande="rm "+ nomFichier - os.system(commande) - except : - pass - - def readFromStdErr(self): - a=self.monExe.readAllStandardError() - self.w.view.append(str(a.data())) - - def readFromStdOut(self) : - a=self.monExe.readAllStandardOutput() - self.w.view.append(str(a.data())) - - def readFromStdErrQT4(self): - a=self.monExe.readAllStandardError() - self.w.view.append(QString.fromUtf8(a.data(),len(a))) ; - - def readFromStdOutQT4(self) : - a=self.monExe.readAllStandardOutput() - self.w.view.append(QString.fromUtf8(a.data(),len(a))) ; - - #-----------------------# - def generDico(self): - #-----------------------# - if 'dico' in generator.plugins: - self.generator=generator.plugins['dico']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.generator.Dico - return dico - - #-----------------------# - def gestionParam(self): - #-----------------------# - w = MonWidgetCreeParam( self) - w.show() - - #-----------------------# - def viewJdcSource(self): - #-----------------------# - if self.fichier == None : return - f=open(self.fichier,'r') - texteSource=f.read() - f.close() - self._viewText(texteSource, "JDC_SOURCE") - - #-----------------------# - def viewJdcPy(self): - #-----------------------# - strSource = str( self.get_text_JDC(self.format) ) - self._viewText(strSource, "JDC_RESULTAT") - - #-----------------------# - def viewJdcRapport(self): - #-----------------------# - strRapport = six.text_type( self.jdc.report() ) - # on ajoute les regles - - self._viewText(strRapport, "JDC_RAPPORT") - - #-----------------------# - def viewJdcRegles(self): - #-----------------------# - if self.tree :self.tree.AppelleBuildLBRegles() - - - #----------------# - def closeIt(self): - #----------------# - """ - Public method called by the viewmanager to finally get rid of us. - """ - if self.jdc: - self.jdc.supprime() - self.close() - - #----------------------------------------------# - def affiche_infos(self,message,couleur=Qt.black): - #----------------------------------------------# - if self.sb: - mapalette=self.sb.palette() - mapalette.setColor( QPalette.WindowText, couleur ) - self.sb.setPalette( mapalette ); - self.sb.showMessage(message,4000) - self.couleur=couleur - - #------------------------------# - def affiche_alerte(self,titre,message): - #------------------------------# - # appele par I_MACRO_ETAPE - QMessageBox.information( self, titre, message) - - #-----------------------------------# - def affiche_commentaire(self,message): - #-----------------------------------# - self.labelCommentaire.setText(message) - QTimer.singleShot(6000, self.rendInvisible) - - #----------------------# - def rendInvisible(self): - #----------------------# - self.labelCommentaire.setText("") - - #-------------------# - def init_modif(self): - #-------------------# - """ - Met l'attribut modified a 'o' : utilise par Eficas pour savoir - si un JDC doit etre sauvegarde avant destruction ou non - """ - self.modified = True - - #---------------------------------------# - def chercheNoeudSelectionne(self,copie=1): - #---------------------------------------# - """ - appele par Cut et Copy pour positionner self.node_selected - """ - self.node_selected=[] - if len(self.tree.selectedItems()) == 0 : return - self.node_selected=self.tree.selectedItems() - - - #---------------------# - def handleSupprimer(self): - #---------------------# - self.chercheNoeudSelectionne() - if len(self.node_selected) == 0 : return - self.QWParent.noeud_a_editer = [] - if self.node_selected[0]==self.tree.racine: return - if len(self.node_selected) == 1 : self.node_selected[0].delete() - else : self.node_selected[0].deleteMultiple(self.node_selected) - - #---------------------# - def handleRechercher(self): - #---------------------# - from .monRecherche import DRecherche - monRechercheDialg=DRecherche(parent=self,fl=0) - monRechercheDialg.show() - - - #--------------------------------# - def handleRechercherDsCatalogue(self): - #-----------------------------# - from .monRechercheCatalogue import DRechercheCatalogue - monRechercheDialg=DRechercheCatalogue(self.QWParent,self) - monRechercheDialg.show() - - #---------------------# - def handleDeplier(self): - #---------------------# - if self.tree == None : return - #self.tree.collapseAll() - if self.deplier : - #print "je plie" - self.tree.expandItem(self.tree.topLevelItem(0)) - self.deplier = False - if self.fenetreCentraleAffichee != None : - if hasattr(self.fenetreCentraleAffichee.node,'plieToutEtReaffiche'): - self.fenetreCentraleAffichee.node.plieToutEtReaffiche() - else: - #print "je deplie" - self.tree.expandItem(self.tree.topLevelItem(0)) - self.deplier = True - if self.fenetreCentraleAffichee != None : - if hasattr(self.fenetreCentraleAffichee.node,'deplieToutEtReaffiche'): - self.fenetreCentraleAffichee.node.deplieToutEtReaffiche() - - #---------------------# - def handleEditCut(self): - #---------------------# - """ - Stocke dans Eficas.noeud_a_editer le noeud a couper - """ - #print "handleEditCut" - self.chercheNoeudSelectionne() - self.QWParent.edit="couper" - self.QWParent.noeud_a_editer = self.node_selected - - #-----------------------# - def handleEditCopy(self): - #-----------------------# - """ - Stocke dans Eficas.noeud_a_editer le noeud a copier - """ - self.chercheNoeudSelectionne() - if len(self.node_selected) == 0 : return - if len(self.node_selected) == 1 : self.node_selected[0].update_node_label_in_blue() - else : self.node_selected[0].update_plusieurs_node_label_in_blue(self.node_selected) - self.QWParent.edit="copier" - self.QWParent.noeud_a_editer = self.node_selected - - #------------------------# - def handleEditPaste(self): - #------------------------# - """ - Lance la copie de l'objet place dans self.QWParent.noeud_a_editer - Ne permet que la copie d'objets de type Commande ou MCF - """ - self.chercheNoeudSelectionne() - if (not(hasattr(self.QWParent,'noeud_a_editer'))) or len(self.QWParent.noeud_a_editer)==0: - QMessageBox.information( self, - tr("Copie impossible"), - tr("Veuillez selectionner un objet a copier")) - return - if len(self.node_selected) != 1 : - QMessageBox.information( self, - tr("Copie impossible"), - tr("Veuillez selectionner un seul objet : la copie se fera apres le noeud selectionne")) - return - noeudOuColler=self.node_selected[0] - - if len(self.QWParent.noeud_a_editer)!=1: - #self.handleEditPasteMultiple() - QMessageBox.information( self, tr("Copie impossible"), tr("Aucun Objet n a ete copie ou coupe")) - return - - noeudACopier=self.QWParent.noeud_a_editer[0] - - if (self.QWParent.edit != "couper"): - #print (noeudOuColler.item.parent.get_child(noeudOuColler.item.nom)) - try: - if noeudOuColler == self.tree.racine : - child=noeudOuColler.doPastePremier(noeudACopier) - else : - child=noeudACopier.doPaste(noeudOuColler,'after') - - if child==None or child==0: - QMessageBox.critical( self,tr( "Copie refusee"),tr('Eficas n a pas reussi a copier l objet')) - self.message = '' - self.affiche_infos("Copie refusee",Qt.red) - if noeudACopier.treeParent.editor != noeudOuColler.treeParent.editor: - try : - nom=noeudACopier.item.sd.nom - child.item.nomme_sd(nom) - except : - pass - return - self.init_modif() - child.select() - except : - traceback.print_exc() - QMessageBox.critical( self,tr( "Copie refusee"),tr('Copie refusee pour ce type d objet')) - self.message = '' - self.affiche_infos("Copie refusee",Qt.red) - return - - # il faut declarer le JDCDisplay_courant modifie - # suppression eventuelle du noeud selectionne - # si possible on renomme l objet comme le noeud couper - - if (self.QWParent.edit == "couper"): - print ('je pass la') - if noeudACopier.treeParent.editor != noeudOuColler.treeParent.editor: - QMessageBox.critical( self, tr("Deplacement refuse"),tr('Deplacement refuse entre 2 fichiers. Seule la copie est autorisee ')) - - #if 1: - try : - # indexNoeudACopier=noeudACopier.treeParent.children.index(noeudACopier) - indexNoeudACopier=self.getTreeIndex(noeudACopier) - noeudACopier.treeParent.item.deplaceEntite(indexNoeudACopier,indexNoeudOuColler,pos) - noeudACopier.treeParent.build_children() - - #else: - except: - pass - self.QWParent.noeud_a_editer=[] - - # on rend la copie a nouveau possible en liberant le flag edit - self.QWParent.edit="copier" - noeudACopier.select() - - #----------------------------------# - def handleDeplaceMultiple(self): - #----------------------------------# - pass - - #----------------------------------# - def handleEditPasteMultiple(self): - #----------------------------------# - - # On ne garde que les niveaux "Etape" - # On insere dans l'ordre du JDC - listeNoeudsACouper=[] - listeIndex=[] - listeChild=[] - listeItem=[] - from InterfaceQT4 import compojdc - noeudOuColler=self.node_selected[0] - if not (isinstance(noeudOuColler.treeParent, compojdc.Node)): - QMessageBox.information( self, - tr("Copie impossible a cet endroit",), - tr("Veuillez selectionner une commande, un parametre, un commentaire ou une macro")) - return - indexNoeudOuColler=noeudOuColler.treeParent.children.index(noeudOuColler) - - for noeud in self.QWParent.noeud_a_editer : - if not (isinstance(noeud.treeParent, compojdc.Node)): continue - indexInTree=noeud.treeParent.children.index(noeud) - indice = 0 - for index in listeIndex: - if index < indexInTree : indice = indice +1 - listeIndex.insert(indice, indexInTree) - listeNoeudsACouper.insert(indice, noeud) - - noeudJdc=noeudOuColler.treeParent - dejaCrees=0 - # on les cree a l'envers parcequ'on ajoute a NoeudOuColler - listeIndex.reverse() - for index in listeIndex: - indexTravail=index - if indexNoeudOuColler < index: - indexTravail=indexTravail+dejaCrees - noeudOuColler=noeudJdc.children[indexNoeudOuColler] - noeud=noeudJdc.children[indexTravail] - child=noeud.doPaste(noeudOuColler) - listeChild.append(child) - dejaCrees=dejaCrees+1 - - self.QWParent.noeud_a_editer = [] - for i in range(len(listeIndex)): - noeud=noeudJdc.children[indexNoeudOuColler+1+i] - self.QWParent.noeud_a_editer.append(noeud) - - listeASupprimer=[] - if self.QWParent.edit !="couper" : return - - for index in listeIndex: - indexTravail=index - if indexNoeudOuColler < index: - indexTravail=indexTravail+(len(listeIndex)) - noeud=noeudJdc.children[indexTravail] - - listeItem.append(noeud.item) - listeASupprimer.append(noeud) - - for i in range(len(listeChild)): - self.tree.item.suppitem(listeItem[i]) - listeChild[i].item.update(listeItem[i]) - - self.QWParent.noeud_a_editer = [] - - - #---------------------# - def getFileName(self): - #---------------------# - return self.fichier - - #---------------------------# - def get_file_variable(self) : - #---------------------------# - titre = tr("Choix d'un fichier XML") - texte = tr("Le fichier contient une commande MODEL\n") - texte = texte+tr('Donnez le nom du fichier XML qui contient la description des variables') - QMessageBox.information( self, titre,tr(texte)) - - fichier = QFileDialog.getOpenFileName(self.appliEficas, - tr('Ouvrir Fichier'), - self.appliEficas.CONFIGURATION.savedir, - tr('Wrapper Files (*.xml);;''All Files (*)')) - return fichier - - #--------------------------------------------------# - def writeFile(self, fn, txt = None,formatLigne="beautifie"): - #--------------------------------------------------# - """ - Public slot to write the text to a file. - - @param fn filename to write to string - @return flag indicating success - """ - - fn = six.text_type(fn) - - if txt == None : - txt = self.get_text_JDC(self.format,formatLigne=formatLigne) - eol = '\n' - if len(txt) >= len(eol): - if txt[-len(eol):] != eol: - txt += eol - else: - txt += eol - txt=self.ajoutVersionCataDsJDC(txt) - checksum=self.get_checksum(txt) - txt=txt+checksum - if self.code=="TELEMAC" : return 1 - try: - f = open(fn, 'w') - f.write(txt) - f.close() - return 1 - except IOError as why: - if (self.appliEficas.ssIhm == False): - QMessageBox.critical(self, tr('Sauvegarde du Fichier'), - tr('Le fichier')+str(fn) + tr('n a pas pu etre sauvegarde : ') + str(why)) - else : - print (why) - return 0 - - #-----------------------------------------------------------# - def get_text_JDC(self,format,pourRun=0,formatLigne="beautifie"): - #-----------------------------------------------------------# - if self.code == "MAP" and not(format in generator.plugins): format = "MAP" - if format in generator.plugins: - - # Le generateur existe on l'utilise - self.generator=generator.plugins[format]() - try : - jdc_formate=self.generator.gener(self.jdc,format=formatLigne,config=self.appliEficas.CONFIGURATION,appli=self.appliEficas) - if pourRun : jdc_formate=self.generator.textePourRun - if self.code == 'TELEMAC' : jdc_formate=self.generator.texteDico - except ValueError as e: - QMessageBox.critical(self, tr("Erreur a la generation"),str(e)) - return - - if not self.generator.cr.estvide(): - self.affiche_infos(tr("Erreur a la generation"),Qt.red) - QMessageBox.critical( self, tr("Erreur a la generation"),tr("EFICAS ne sait pas convertir ce JDC")) - return "" - else: - return jdc_formate - else: - # Il n'existe pas c'est une erreur - self.affiche_infos(tr("Format %s non reconnu" , self.format),Qt.red) - QMessageBox.critical( self, "Format non reconnu" ,tr("EFICAS ne sait pas convertir le JDC selon le format "+ self.format)) - return "" - - #----------------------# - def get_Dico(self): - #---------------------# - if 'dicoImbrique' in generator.plugins: - self.generator=generator.plugins['dicoImbrique']() - jdc_formate=self.generator.gener(self.jdc) - dico=self.generator.Dico - return dico - else : - self.affiche_infos(tr("Format %s non reconnu" , self.format),Qt.red) - QMessageBox.critical( self, "Format non reconnu" ,tr("EFICAS ne sait pas convertir le JDC selon le format "+ self.format)) - return "" - - - #------------# - def run(self): - #------------# - fonction="run"+self.code - #print fonction - if fonction in JDCEditor.__dict__: JDCEditor.__dict__[fonction],(self,) - - #------------# - def saveRun(self): - #------------# - fonction="saveRun"+self.code - if fonction in JDCEditor.__dict__: JDCEditor.__dict__[fonction],(self,) - - #---------------# - def runMAP(self): - #---------------# - - if not(self.jdc.isvalid()): - QMessageBox.critical( self, tr( "Execution impossible "),tr("le JDC doit etre valide pour une execution MAP")) - return - if len(self.jdc.etapes) != 1 : - QMessageBox.critical( self, tr("Execution impossible "),tr("le JDC doit contenir un et un seul composant")) - return - if self.modified or self.fichier==None : - self.fichierMapInput = self.__generateTempFilename(prefix = "map_run", suffix = ".map") - texte=self.get_text_JDC("MAP") - self.writeFile( self.fichierMapInput, txt = texte) - else : - self.fichierMapInput=self.fichier - composant=self.jdc.etapes[0].nom.lower()[0:-5] - - - # :TRICKY: to determine if a component requires SALOME, loads the component from Eficas catalog - # then instantiate corresponding class and call getUseSalome() method - try: - from mapengine.spec import factory - mapComponent = factory.new(composant)[0] - - command = "map" - if mapComponent.getUseSalome(): - command += " -r sappli" - textePython=(command + " run -n "+composant +" -i "+self.fichierMapInput) - - #textePython="ls -l" - self._viewTextExecute( textePython,"map_run",".sh") - #try: - # commande="rm "+self.fichierMapInput - # os.system(commande) - #except : - # pass - except Exception as e: - print((traceback.print_exc())) - - #-------------------# - def runZCRACKS(self): - #-------------------# - if not(self.jdc.isvalid()): - QMessageBox.critical( self, tr( "Execution impossible "),tr("le JDC doit etre valide pour une execution ")) - return - if self.modified or self.fichier==None : - #if 1: - self.fichierZcracksInput = self.__generateTempFilename(prefix = "zcracks_run", suffix = ".z7p") - texte=self.get_text_JDC("ZCRACKS",pourRun=1) - self.writeFile( self.fichierZcracksInput, txt = texte) - else : - self.fichierZcracksInput=self.fichier - try : - #commande ="Zrun -zp " - commande="more " - textePython=(commande + self.fichierZcracksInput) - self._viewTextExecute( textePython,"run_zcracks",".sh") - except Exception as e: - print((traceback.print_exc())) - - #-------------------# - def runCARMELCND(self): - #-------------------# - #if not(self.jdc.isvalid()): - # QMessageBox.critical( self, tr( "Execution impossible "),tr("le JDC doit etre valide pour une execution ")) - # return - if self.modified or self.fichier==None : - QMessageBox.critical( self, tr( "Execution impossible "),tr("Sauvegarder SVP avant l'execution ")) - return - if not hasattr(self,'generator'): texte=self.get_text_JDC(self.format) - from PrepareRunCarmel import prepareRunCarmel - fichierGenerique=os.path.basename(self.fichier).split(".")[0] - repMed=os.path.dirname(self.fichier) - repExeCarmel=self.generator.get_repExeCarmel() - textePython=prepareRunCarmel(repExeCarmel,repMed,fichierGenerique) - nomFichier = self.__generateTempFilename("carmel_run", suffix = ".sh") - f=open(nomFichier,'w') - f.write(textePython) - f.close() - commande="xterm -e sh "+nomFichier +"\n" - os.system(commande) - - #-------------------# - def runCarmelCS(self): - #-------------------# - try : - commande="runSession pilotyacsCS.py" - os.system(commande) - except Exception as e: - print((traceback.print_exc())) - - #-----------------------------------------------------# - def determineNomFichier(self,path,extension): - #-----------------------------------------------------# - if self.appli.code in DictExtensions: - chaine1="JDC (*"+DictExtensions[self.appli.code]+");;" - extensions= tr(chaine1+ "All Files (*)") - else : - extensions= tr("JDC (*.comm);;" "All Files (*)") - - if self.appli.code == "MAP" : - extensions = extensions + ";; Run (*.input);;" - - fn = QFileDialog.getSaveFileName( self, - tr("sauvegarde"), path, - extensions,None, - QFileDialog.DontConfirmOverwrite) - if fn == None : return (0, None) - fn=fn[0] - if fn=='': return (0, None) - - ext = QFileInfo(fn).suffix() - if ext == '': fn+=extension - - if QFileInfo(fn).exists(): - msgBox = QMessageBox(self) - msgBox.setWindowTitle(tr("Sauvegarde du Fichier")) - msgBox.setText(tr("Le fichier %s existe deja.", six.text_type(fn))) - msgBox.addButton(tr("&Ecraser"),0) - msgBox.addButton(tr("&Abandonner"),1) - abort=msgBox.exec_() - if abort == 1 : return (0, "") - return (1,fn) - - #-----------------# - def saveRunMAP(self): - #-----------------# - extension=".input" - if not(self.jdc.isvalid()): - QMessageBox.critical( self, tr( "Sauvegarde de l'input impossible "), - tr("Un JdC valide est necessaire pour creer un .input") - ) - return - try : - composant=self.jdc.etapes[0].nom.lower()[0:-5] - except : - QMessageBox.critical( self, tr( "Sauvegarde de l'input impossible "), - tr("Choix du composant obligatoire") - ) - return - if hasattr(self.CONFIGURATION, "savedir"): path=self.CONFIGURATION.savedir - else : path='C:/' - - monNomFichier="" - if self.fichier is not None and self.fichier != "" : - maBase=str(QFileInfo(self.fichier).baseName())+".input" - monPath=str(QFileInfo(self.fichier).absolutePath()) - monNomFichier=os.path.join(monPath,maBase) - elif hasattr(self,'monNomFichierInput'): - monNomFichier=self.monNomFichierInput - - - monDialog=QFileDialog(self.appliEficas) - monDialog.setDirectory (path) - monDialog.setWindowTitle ("Save") - - for c in monDialog.children(): - if isinstance(c,QDialogButtonBox): - for b in c.children(): - if isinstance(b,QPushButton): - avant=b.text() - if avant=="&Open": b.setText("Save") - mesFiltres= "input Map (*.input);;All Files (*)" - monDialog.setNameFilters(mesFiltres) - if monNomFichier!="" : monDialog.selectFile(monNomFichier) - BOk=monDialog.exec_() - if BOk==0: return - fn=str(monDialog.selectedFiles()[0]) - if fn == "" or fn == None : return - if not fn.endswith(".input"): - fn += ".input" - self.monNomFichierInput=fn - - if not hasattr(self, 'fichierMapInput') or not self.fichierMapInput or not os.path.exists(self.fichierMapInput): - self.fichierMapInput = self.__generateTempFilename(prefix = "map_run", suffix = ".map") - texte=self.get_text_JDC("MAP") - self.writeFile( self.fichierMapInput, txt = texte) - - cmd = ("map gen -t dat -n " + composant + " -i " + self.fichierMapInput + " -o " + fn) - p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) - (output, err) = p.communicate() - - - #-----------------# - def saveRunPSEN(self): - #-----------------# - #print ("saveRunPSEN") - self.saveFile() - - - #-----------------------------------------# - def cherche_Groupes(self): - #-----------------------------------------# - listeMA,listeNO=self.get_text_JDC("GroupMA") - return listeMA,listeNO - - #-----------------------------------------# - def cherche_Dico(self): - #-----------------------------------------# - dicoCourant={} - format = self.appliEficas.format_fichier - if format in generator.plugins: - # Le generateur existe on l'utilise - self.generator=generator.plugins[format]() - jdc_formate=self.generator.gener(self.jdc,format='beautifie',config=self.appliEficas.CONFIGURATION) - dicoCourant=self.generator.dico - return dicoCourant - - - - #-----------------------------------------# - def handleAjoutGroup(self,listeGroup): - #-----------------------------------------# - try : - #if 1: - from ajoutGroupe import handleAjoutGroupFiltre - #print listeGroup - handleAjoutGroupFiltre(self,listeGroup) - #print "apres handleAjoutGroupFiltre" - except : - #else : - pass - - #-----------------------------------------------------------------# - def saveFileLeger(self, path = None, saveas= 0,formatLigne="beautifie"): - #-----------------------------------------------------------------# - extension='.casR' - fn = self.fichier - #saveas=True # Pour forcer le nom - self.generator=generator.plugins[self.format]() - if self.fichier is None or saveas: - if path is None: path=self.CONFIGURATION.savedir - bOK, fn=self.determineNomFichier(path,extension) - if bOK == 0 : return (0, None) - if fn == None : return (0, None) - if fn== '' : return (0, None) - - ulfile = os.path.abspath(six.text_type(fn)) - self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0] - fn = six.text_type(QDir.toNativeSeparators(fn)) - - self.fichier = os.path.splitext(fn)[0]+extension - - if hasattr(self.generator, "writeLeger"): - self.generator.writeLeger(self.fichier,self.jdc,config=self.appliEficas.CONFIGURATION,appli=self.appliEficas) - - if self.salome : self.appliEficas.addJdcInSalome( self.fichier) - - self.modified = 0 - nouveauTitre=self.titre+" "+str(os.path.basename(self.fichier)) - self.appliEficas.setWindowTitle(nouveauTitre) - return (1, self.fichier) - - #-----------------------------------------------------------------# - def saveFile(self, path = None, saveas= 0,formatLigne="beautifie"): - #-----------------------------------------------------------------# - """ - Public slot to save the text to a file. - - @param path directory to save the file in (string or QString) - @return tuple of two values (boolean, string) giving a success indicator and - the name of the saved file - """ - - self.modified=1 - if not self.modified and not saveas: - return (0, None) # do nothing if text wasn't changed - - if self.appli.code in DictExtensions : - extension=DictExtensions[self.appli.code] - else : - extension='.comm' - - newName = None - fn = self.fichier - if self.fichier is None or saveas: - if path is None: path=self.CONFIGURATION.savedir - bOK, fn=self.determineNomFichier(path,extension) - if bOK == 0 : return (0, None) - if fn == None : return (0, None) - if fn== '' : return (0, None) - - ulfile = os.path.abspath(six.text_type(fn)) - self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0] - fn = six.text_type(QDir.toNativeSeparators(fn)) - newName = fn - - - if not (self.writeFile(fn,formatLigne=formatLigne)): return (0, None) - self.fichier = fn - self.modified = False - if self.fileInfo is None or saveas: - self.fileInfo = QFileInfo(self.fichier) - self.fileInfo.setCaching(0) - self.lastModified = self.fileInfo.lastModified() - if newName is not None: - self.appliEficas.addToRecentList(newName) - self.tree.racine.item.getObject().nom=os.path.basename(newName) - self.tree.racine.update_node_label() - - if self.jdc.isvalid() != 0 and hasattr(self.generator, "writeDefault"): - self.generator.writeDefault(fn) - elif self.code=="TELEMAC" and hasattr(self.generator, "writeDefault"): - self.generator.writeDefault(fn) - - if self.salome : - self.appliEficas.addJdcInSalome( self.fichier) - self.modified = 0 - nouveauTitre=self.titre+" "+str(os.path.basename(self.fichier)) - self.appliEficas.setWindowTitle(nouveauTitre) - - return (1, self.fichier) -# - - #----------------------------------------------# - def sauveLigneFile(self): - #----------------------------------------------# - self.modified=1 - return self.saveFile(formatLigne="Ligne") - - - #----------------------------------------------# - def saveFileAs(self, path = None,fileName=None): - #----------------------------------------------# - """ - Public slot to save a file with a new name. - - @param path directory to save the file in (string or QString) - @return tuple of two values (boolean, string) giving a success indicator and - the name of the saved file - """ - if fileName != None : - self.fichier = fileName - return self.saveFile() - return self.saveFile(path,1,"beautifie") - - - - #---------------------------------------------# - def get_file(self,unite=None,fic_origine = ''): - #---------------------------------------------# - # appele par I_JDC - ulfile = None - jdcText = "" - - titre = "" - - if unite : - titre = tr("Choix unite %d ", unite) - texte = tr("Le fichier %s contient une commande INCLUDE \n", str(fic_origine)) +"\n" - texte = texte+ tr("Donnez le nom du fichier correspondant a l unite logique ") + repr(unite) - labeltexte = tr('Fichier pour unite ') + repr( unite) - else: - titre = tr("Choix d'un fichier de poursuite") - texte = tr("Le fichier %s contient une commande POURSUITE\n", fic_origine) - texte = texte+tr('Donnez le nom du fichier dont vous \n voulez faire une poursuite') - - QMessageBox.information( self, titre,texte) - fn = QFileDialog.getOpenFileName(self.appliEficas, - titre, - self.appliEficas.CONFIGURATION.savedir) - - # ce retour est impose par le get_file d'I_JDC - if fn== '' : return None," " - if not fn : return (0, " ") - fn=fn[0] - - ulfile = os.path.abspath(six.text_type(fn)) - self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0] - - # On utilise le convertisseur defini par format_fichier - source=self.get_source(ulfile) - if source: - # On a reussia convertir le fichier self.ulfile - jdcText = source - else: - # Une erreur a ete rencontree - jdcText = '' - return ulfile, jdcText - - #-------------------------------# - def updateJdc(self, itemApres,texte): - #--------------------------------# - monItem=itemApres - etape=monItem.item.object - - CONTEXT.set_current_step(etape) - etape.build_includeInclude(texte) - self.tree.racine.build_children() - - #-------------------------------------# - def deleteEtape(self,etape): - #-------------------------------------# - self.jdc.suppentite(etape) - - #-------------------------------------# - def deleteMC(self,etape,MCFils,listeAvant=()): - #-------------------------------------# - ouChercher=etape - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC != None : ouChercher.suppentite(monMC) - ouChercher.state='changed' - ouChercher.isvalid() - - #-------------------------------------# - def ajoutMC(self,etape,MCFils,valeurs,listeAvant=()): - #-------------------------------------# - ouChercher=etape - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - monMC=etape.get_child(ouChercher,restreint="oui") - if monMC== None : monMC= ouChercher.addentite(MCFils) - monMC.valeur=valeurs - monMC.val=valeurs - monMC.state='changed' - monMC.isvalid() - - #-------------------------------------# - def getValeur(self,nomEtape,MCFils,listeAvant=()): - #-------------------------------------# - - ouChercher=None - for e in self.jdc.etapes: - if e.nom == nomEtape : ouChercher=e; break - if ouChercher==None : return None - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - if ouChercher==None : return None - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC== None : return None - return monMC.valeur - - #-----------------------------------------------------------# - def changeIntoMC(self,etape,MCFils,valeurs, listeAvant=()): - #-----------------------------------------------------------# - ouChercher=etape - if isinstance (etape, str): - ouChercher=None - for e in self.jdc.etapes: - if e.nom == etape : ouChercher=e; break - if ouChercher==None : return - - for mot in listeAvant : - ouChercher=ouChercher.get_child(mot,restreint="oui") - if ouChercher==None : return - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC== None : monMC= ouChercher.addentite(MCFils) - - monMC.definition.into=valeurs - from Noyau.N_VALIDATOR import IntoProtocol - monMC.definition.intoProto = IntoProtocol("into", into=monMC.definition.into, val_min=monMC.definition.val_min, val_max=monMC.definition.val_max) - monMC.state='changed' - monMC.isvalid() - - #-------------------------------------------------------------------# - def reCalculeValiditeMCApresChgtInto(self,nomEtape,MCFils,listeAvant=()): - #-------------------------------------------------------------------# - for e in self.jdc.etapes: - if e.nom == nomEtape : ouChercher=e; break - - for mot in listeAvant : - try : - ouChercher=ouChercher.get_child(mot,restreint="oui") - # Le mot clef n est pas la - except : return 0 - try : - monMC=ouChercher.get_child(MCFils,restreint="oui") - # Le mot clef n est pas la - except : return 0 - if monMC == None : return 0 - - if hasattr(monMC.definition,'into') : - if type(monMC.definition.into) ==types.FunctionType : maListeDeValeur=monMC.definition.into() - else : maListeDeValeur=monMC.definition.into - else : - return 0 - - monMC.state='changed' - return 1 - - #-------------------------------------# - def changeDefautDefMC(self,nomEtape,listeMC,valeurs): - #-------------------------------------# - - #if isinstance (etape, str): - # for e in self.jdc.etapes: - # if e.nom == etape : etape=e; break - #if etape == None : return - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - if len(listeMC) > 1 : - - for mc in listeMC[0:-1]: - mcfact=ouChercher.entites[mc] - ouChercher=mcfact - - mcAccas=ouChercher.entites[listeMC[-1]] - mcAccas.defaut=valeurs - return 1 - - #------------------------------------------------# - def changeIntoDefMC(self,nomEtape,listeMC,valeurs): - #------------------------------------------------# - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - - if len(listeMC) > 1 : - for mc in listeMC[0:-1]: - mcfact=ouChercher.entites[mc] - ouChercher=mcfact - mcAccas=ouChercher.entites[listeMC[-1]] - - if hasattr(mcAccas,'into') : oldValeurs=mcAccas.into - else : oldValeurs=None - if oldValeurs==valeurs : return 0 - - mcAccas.into=valeurs - from Noyau.N_VALIDATOR import IntoProtocol - mcAccas.intoProto = IntoProtocol("into", into=valeurs, val_min=mcAccas.val_min, val_max=mcAccas.val_max) - return 1 - - #-------------------------------------------------------------# - def deleteDefinitionMC(self,etape,listeAvant,nomDuMC): - #-------------------------------------------------------------# - #print 'in deleteDefinitionMC', etape,listeAvant,nomDuMC - if isinstance (etape, str): - for e in self.jdc.etapes: - if e.nom == etape : etape=e; break - if etape == None : return - definitionEtape=getattr(self.jdc.cata[0],etape) - ouChercher=definitionEtape - for k in listeAvant : - ouChercher=ouChercher.entites[k] - MCADetruire=ouChercher.entites[nomDuMC] - ouChercher.ordre_mc.remove(nomDuMC) - del ouChercher.entites[nomDuMC] - del self.dicoNouveauxMC[nomDuMC] - - - #-------------------------------------------------------------# - def ajoutDefinitionMC(self,nomEtape,listeAvant,nomDuMC,typ,**args): - #-------------------------------------------------------------# - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - for k in listeAvant : - ouChercher=ouChercher.entites[k] - from Accas import A_SIMP - Nouveau=A_SIMP.SIMP(typ,**args) - Nouveau.pere=ouChercher - Nouveau.nom=nomDuMC - #Nouveau.ordre_mc=[] - ouChercher.entites[nomDuMC]=Nouveau - ouChercher.ordre_mc.append(nomDuMC) - self.dicoNouveauxMC[nomDuMC]=('ajoutDefinitionMC',nomEtape,listeAvant,nomDuMC,typ,args) - #print self.dicoNouveauxMC - - #---------------------------------------------------------------------# - def ajoutDefinitionMCFact(self,nomEtape,listeAvant,nomDuMC,listeMC,**args): - #---------------------------------------------------------------------# - print ('ajoutDefinitionMCFact', nomDuMC) - definitionEtape=getattr(self.jdc.cata[0],nomEtape) - ouChercher=definitionEtape - for k in listeAvant : - ouChercher=ouChercher.entites[k] - from Accas import A_SIMP - for mc in listeMC : - nomMC=mc[0] - typMC=mc[1] - argsMC=mc[2] - nouveauMC=A_SIMP.SIMP(typMC,**argsMC) - nouveauMC.nom=nomMC - args[nomMC]=nouveauMC - from Accas import A_FACT - nouveauFact=A_FACT.FACT(**args) - nouveauFact.pere=ouChercher - nouveauFact.nom=nomDuMC - from Editeur.autre_analyse_cata import traite_entite - traite_entite(nouveauFact,[]) - ouChercher.entites[nomDuMC]=nouveauFact - ouChercher.ordre_mc.append(nomDuMC) - self.dicoNouveauxFact[nomDuMC]=('ajoutDefinitionMC',nomEtape,listeAvant,nomDuMC,listeMC,args) - #print self.dicoNouveauxMC - - #----------------------------------------------------# - - #----------------------------------------------------# - def changeIntoMCandSet(self,etape,listeMC,into,valeurs): - #----------------------------------------------------# - - self.changeIntoDefMC(etape,listeMC,into) - - if isinstance (etape, str): - for e in self.jdc.etapes: - if e.nom == etape : etape=e; break - if etape == None : return - - ouChercher = etape - for mot in listeMC[:-1] : - ouChercher=ouChercher.get_child(mot,restreint="oui") - if ouChercher==None : return - MCFils=listeMC[-1] - print (MCFils) - monMC=ouChercher.get_child(MCFils,restreint="oui") - if monMC== None : monMC= etape.addentite(MCFils) - print (monMC) - - monMC.definition.into=into - monMC.valeur=valeurs - monMC.val=valeurs - monMC.state='changed' - monMC.isvalid() - - #-------------------------------------# - def ajoutVersionCataDsJDC(self,txt): - #-------------------------------------# - if not hasattr(self.readercata.cata[0],'VERSION_CATALOGUE'): return txt - ligneVersion="#VERSION_CATALOGUE:"+self.readercata.cata[0].VERSION_CATALOGUE+":FIN VERSION_CATALOGUE\n" - texte=txt+ligneVersion - return texte - - #-------------------------------------# - def verifieVersionCataDuJDC(self,text): - #-------------------------------------# - memeVersion=False - indexDeb=text.find("#VERSION_CATALOGUE:") - indexFin=text.find(":FIN VERSION_CATALOGUE") - if indexDeb < 0 : - self.versionCataDuJDC="sans" - textJDC=text - else : - self.versionCataDuJDC=text[indexDeb+19:indexFin] - textJDC=text[0:indexDeb]+text[indexFin+23:-1] - - self.versionCata="sans" - if hasattr(self.readercata.cata[0],'VERSION_CATALOGUE'): self.versionCata=self.readercata.cata[0].VERSION_CATALOGUE - - if self.versionCata==self.versionCataDuJDC : memeVersion=True - return memeVersion,textJDC - - #-------------------------------# - def traduitCatalogue(self,texte): - #-------------------------------# - nomTraducteur="traduit"+self.readercata.code+self.versionCataDuJDC+"To"+self.versionCata - sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)),"../Traducteur"))) - try : - traducteur=__import__(nomTraducteur) - monTraducteur=traducteur.MonTraducteur(texte) - nouveauTexte=monTraducteur.traduit() - return nouveauTexte - except : - return texte - - - #------------------------------# - def verifieCHECKSUM(self,text): - #------------------------------# - indexDeb=text.find("#CHECKSUM:") - if indexDeb < 0 : - return 1, text - indexFin=text.find(":FIN CHECKSUM") - checkAvant=text[indexDeb:indexFin+13] - textJDC=text[0:indexDeb]+text[indexFin+13:-1] - checksum=self.get_checksum(textJDC) - pareil=(checkAvant==checksum) - return pareil, textJDC - - #---------------------------# - def get_checksum(self,texte): - #---------------------------# - newtexte=texte.replace('"','\\"') - commande='echo "'+newtexte+'"|md5sum' - a=os.popen(commande) - checksum=a.read() - a.close() - ligne="#CHECKSUM:"+checksum[0:-1]+":FIN CHECKSUM" - return ligne - - - #---------------------------# - def _new_CF(self): - #---------------------------# - texte="CONDUITE_FORCEE();" - return texte - - - #---------------------------# - def _newTELEMAC(self): - #---------------------------# - #texte="INITIALIZATION();BOUNDARY_CONDITIONS();GENERAL_PARAMETERS();PHYSICAL_PARAMETERS();NUMERICAL_PARAMETERS();" - texte="COMPUTATION_ENVIRONMENT();HYDRO();GENERAL_PARAMETERS();NUMERICAL_PARAMETERS()" - #texte="TRACERS();" - return texte - - #---------------------------# - def _newPSEN(self): - #---------------------------# - texte="DIRECTORY() ; PSSE_PARAMETERS() ; SIMULATION() ; sansnom=DISTRIBUTION() ; sansnom=DISTRIBUTION() ; CORRELATION() ;" - #texte="" - return texte - - #---------------------------# - def _newPSEN_N1(self): - #---------------------------# - texte="CASE_SELECTION();N_PROCESSING_OPTIONS();CONTINGENCY_OPTIONS();CONTINGENCY_SELECTION();\nCONTINGENCY_PROCESSING(); " - texte="CONTINGENCY_SELECTION();\nCONTINGENCY_PROCESSING(); " - return texte - - #---------------------------# - - #---------------------------# - def _newZCRACKS(self): - #---------------------------# - texte="MAILLAGES();REMESHING();" - return texte - - #---------------------------# - def _newJDCCND(self): - #---------------------------# - extensions=tr('Fichiers Med (*.med);;''Tous les Fichiers (*)') - - #if self.salome == 0 : - QMessageBox.information( self, - tr("Fichier Med"), - tr("Veuillez selectionner un fichier Med")) - QSfichier = QFileDialog.getOpenFileName(self.appliEficas, - caption='Fichier Med', - filter=extensions) - QSfichier=QSfichier[0] - self.fichierMED=QSfichier - from acquiertGroupes import getGroupes - erreur,self.listeGroupes,self.nomMaillage,self.dicoCoord=getGroupes(self.fichierMED) - if erreur != "" : print ("a traiter") - texteComm="COMMENTAIRE(u'Cree - fichier : "+self.fichierMED +" - Nom Maillage : "+self.nomMaillage+"');\nPARAMETRES()\n" - texteSources="" - texteCond="" - texteNoCond="" - texteVcut="" - texteZs="" - for groupe in self.listeGroupes : - if groupe[0:8]=='CURRENT_': - texteSources +=groupe[8:]+"=SOURCE(" - texteSources +="VecteurDirecteur=(1.0,2.0,3.0,),);\n" - if groupe[0:5]=='COND_': texteCond +=groupe[5:]+"=CONDUCTEUR();\n" - if groupe[0:7]=='NOCOND_': texteNoCond +=groupe[7:]+"=NOCOND();\n" - if groupe[0:5]=='VCUT_': texteVcut +='V_'+groupe[5:]+"=VCUT();\n" - if groupe[0:3]=='ZS_': texteZs +=groupe[3:]+"=ZS();\n" - texte=texteComm+texteSources+texteCond+texteNoCond+texteVcut+texteZs - self.newTexteCND=texte - self.modified=1 - return texte - - - #---------------------------# - def BoutonFileSelected(self): - #---------------------------# - - QSfichier=self.openfile.selectedFiles()[0] - self.fichierMED=str(QSfichier) - from acquiertGroupes import getGroupes - erreur,self.listeGroupes,self.nomMaillage=getGroupes(self.fichierMED) - if erreur != "" : print ("a traiter") - - #----------------------------- - def BoutonSalomePressed(self): - #---------------------------- - Msg,self.listeGroupes=self.appliEficas.ChercheGrpMailleInSalome() - self.fichierMED="A_partir_de_SMESH" - self.nomMaillage="A_partir_de_SMESH" - self.openfile.close() - - - #----------------------------------------- - def initSplitterSizes(self, nbWidget=3): - #----------------------------------------- - #print ("je passe ds initSplitterSizes", nbWidget) - - if self.code in [ 'Adao', 'ADAO', ] : self.splitterSizes3=[1,1550,150] - elif self.code in [ 'MAP'] : self.splitterSizes3=[700,300] - else : self.splitterSizes3=[150,1000,300] - - if self.code in [ 'Adao', 'ADAO', ] : self.splitterSizes2=[5,1500] - else : self.splitterSizes2=[300,1000] - - - - #----------------------------------------- - def restoreSplitterSizes(self,nbWidget=3): - #---------------------------------------- - - #traceback.print_stack() - #print ("je passe ds restoreSplitterSizes") - if not(hasattr(self,'splitter')) : return - if nbWidget==2 : newSizes=self.splitterSizes2 - if nbWidget==3 : newSizes=self.splitterSizes3 - #self.inhibeSplitter = 1 - self.splitter.setSizes(newSizes) - #self.inhibeSplitter = 0 - QApplication.processEvents() - # seule la fentetre du milieu est necessaire - self.splitter.widget(1).resizeEvent=self.saveSplitterSizes - - #----------------------------------------- - def saveSplitterSizes(self,event): - #----------------------------------------- - #print ("je passe ds saveSplitterSizes") - if self.inhibeSplitter : return - if self.widgetOptionnel == None : self.splitterSizes2 = self.splitter.sizes()[0:2] - else : self.splitterSizes3 = self.splitter.sizes()[0:3] - - #------------------------ - def fermeOptionnel(self): - #------------------------ - if self.widgetOptionnel == None : return - - self.inhibeSplitter=1 - self.widgetOptionnel.setParent(None) - self.widgetOptionnel.close() - self.widgetOptionnel.deleteLater() - self.widgetOptionnel=None - self.inhibeSplitter=0 - self.restoreSplitterSizes(2) - - #------------------------ - def ajoutOptionnel(self): - #------------------------ - #if len(self.splitterSizes) == 2 : self.splitterSizes.append(self.oldSizeWidgetOptionnel) - #else : self.splitterSizes[2] = self.oldSizeWidgetOptionnel # ceinture pour les close bizarres - #self.splitterSizes[1] = self.splitterSizes[1] - self.splitterSizes[2] - - self.restoreSplitterSizes(3) - - - #------------------------ - def fermeArbre(self): - #------------------------ - #print (self.widgetTree) - self.oldWidgetTree=self.widgetTree - self.widgetTree.hide() - #self.widgetTree=None - - #------------------------ - def ouvreArbre(self): - #------------------------ - #print ('je passe la') - #print (self.widgetTree) - #self.widgetTree=self.oldWidgetTree - self.widgetTree.show() - #self.restoreSplitterSizes(3) - - #----------------------------- - def getTreeIndex(self,noeud): - #---------------------------- - indexNoeud=-1 - if noeud in noeud.treeParent.children : - indexNoeud=noeud.treeParent.children.index(noeud) - else : - if hasattr(noeud,'vraiParent') : - noeudVrai = noeud - noeudVraiParent = noeud.vraiParent - while noeudVraiParent != noeud.treeParent and hasattr(noeudVraiParent,'vraiParent') : - noeudVrai = noeudVraiParent - noeudVraiParent = noeudVraiParent.vraiParent - pass - if noeudVraiParent == noeud.treeParent : - indexNoeud=noeud.treeParent.children.index(noeudVrai) - pass - pass - pass - return indexNoeud - -if __name__ == "__main__": - self.code='ASTER' - name='prefs_'+prefs.code - prefsCode=__import__(name) - - - if hasattr(prefsCode,'encoding'): - # Hack pour changer le codage par defaut des strings - import sys - reload(sys) - sys.setdefaultencoding(prefs.encoding) - del sys.setdefaultencoding - # Fin hack - -# code=options.code -# - app = QApplication(sys.argv) - mw = JDCEditor(None,'azAster.comm') - app.setMainWidget(mw) - app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()")) - mw.show() - - res = app.exec_loop() - sys.exit(res) diff --git a/VirtualPolymer/lienDB.py b/VirtualPolymer/lienDB.py deleted file mode 100644 index b834fc4d..00000000 --- a/VirtualPolymer/lienDB.py +++ /dev/null @@ -1,537 +0,0 @@ -# coding: utf-8 - -import types -import sys,os - -import listesDB - - -maClasseDelistesDB = listesDB.classeListesDB() -monModele=listesDB.sModele().monModele -monPost=listesDB.sModele().monPost - -import types -class Tuple: - def __init__(self,ntuple): - self.ntuple=ntuple - - def __convert__(self,valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__=info - __str__=info - - -dicoAgingFactor={ '40years BR top' : {'temperature' : 50, 'simulationTime' : 350640}} - -# -------------------------------------- -# Fonctions appellees depuis le catalogue -# -------------------------------------- - -# -------------------------------------- -# Dans Equation -# -------------------------------------- - -def recupereDicoEquation(monMC): - # Equation_reaction (ds 2 blocs) - # ou dans Equation b_type_show b_reaction_type - # ou dans Equation b_type_show b_aging_type - - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - monMC.dsMaFunct = True - - valeurDB=editor.getValeur('Equation','Equation_DB',()) - maClasseDelistesDB.metAJour(valeurDB) - listEquation=maClasseDelistesDB.getListEquation() - - valeurEquationListe=editor.getValeur('Equation','Equation_Liste',('b_type_show',)) - valeurAgingType=editor.getValeur('Equation','Equation_reaction',('b_type_show','b_reaction_type',)) - if valeurAgingType == None : - valeurAgingType=editor.getValeur('Equation','Equation_reaction',('b_type_show','b_aging_type',)) - if valeurAgingType == None : monMC.dsMaFunct = False; return - - listeEquationPourIhm = [] - listeReprEquationPourIhm = [] - dicoListAffiche = {} - - for equation in listEquation : - if valeurEquationListe == 'aging_type' : - if equation.type_vieil == valeurAgingType : - listeEquationPourIhm.append(equation) - listeReprEquationPourIhm.append(equation.representation) - dicoListAffiche[equation.representation]=equation - else: - if equation.type_react == valeurAgingType : - listeEquationPourIhm.append(equation) - listeReprEquationPourIhm.append(equation.representation) - dicoListAffiche[equation.representation]=equation - maClasseDelistesDB.dicoListAffiche = dicoListAffiche - - change=editor.changeIntoDefMC('Equation', ('b_type_show','ListeEquation'), listeReprEquationPourIhm ) - if change : - editor.reCalculeValiditeMCApresChgtInto('Equation', 'listeEquation', ('b_type_show',)) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - monMC.dsMaFunct = False - -def afficheValeurEquation(monMC): - # Equation b_modification modification - print (monMC) - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - valeur=monMC.valeur - if valeur == None : return - maClasseDelistesDB.valeurEquationChoisie=str(valeur) - monEquation=maClasseDelistesDB.dicoListAffiche[str(valeur)] - - aAfficher=str(monEquation) - editor=monMC.jdc.editor - editor._viewText(aAfficher, "Id",largeur=80,hauteur=300) - - monMC.dsMaFunct = False - - -def instancieChemicalFormulation(monMC): - print ('instancieChemicalFormulation pour ', monMC.nom) - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur == False : return - - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - - for e in monMC.jdc.etapes: - if e.nom == 'Equation' :break - print ('ds instancie') - v=maClasseDelistesDB.valeurEquationChoisie - monEquation=maClasseDelistesDB.dicoListAffiche[v] - type_react=monEquation.type_react - type_vieil=monEquation.type_vieil - - editor.changeIntoMCandSet('Equation', ('b_type_show','b_modification','b_modif','ChemicalFormulation'),( v,),v ) - print ("je passe la") - change=editor.changeDefautDefMC('Equation', ('b_type_show','b_modification','b_modif','Reaction_Type'),type_react ) - change=editor.changeDefautDefMC('Equation', ('b_type_show','b_modification','b_modif','Aging_Type'), type_vieil ) - - for index,valeurConstituant in enumerate(monEquation.constituants): - valeurEquation=monEquation.equation[index] - - #PNPNPN --> decider des noms SVP ave un nom python - monMcl1=('Constituant','TXM',{'statut':'o','defaut':valeurConstituant}) - monMcl2=('Differential_Equation','TXM',{'statut':'o','defaut':valeurEquation}) - listeMC=(monMcl1,monMcl2) - editor.ajoutDefinitionMCFact ('Equation',('b_type_show','b_modification','b_modif',),valeurConstituant,listeMC,statut='f') - #editor.ajoutMCFact (e,('b_type_show','b_modification','b_modif',),valeurConstituant) - print (index,valeurConstituant,valeurEquation) - - #OptionnelConstituant = FACT ( statut = 'f',max = '**', - # Constituant = SIMP (statut = 'o', typ = 'TXM'), - # Differential_Equation = SIMP(statut= 'o',typ= 'TXM'), - - for index,valeurConstituant in enumerate(monEquation.const_cine_nom): - valeurArrhe=monEquation.arrhenius[index] - if valeurArrhe : valeurConstanteType='Arrhenius type' - else : valeurConstanteType='non Arrhenius type' - monMcl1=('ConstanteName','TXM',{'statut':'o','defaut':valeurConstituant}) - monMcl2=('ConstanteType','TXM',{'statut':'o','defaut':valeurConstanteType,'into': ('Arrhenius type','non Arrhenius type') }) - listeMC=(monMcl1,monMcl2) - editor.ajoutDefinitionMCFact ('Equation',('b_type_show','b_modification','b_modif',),valeurConstituant,listeMC,statut='f') - #editor.ajoutMC(e,MCFils,mesValeurs,('b_type_creation','b_diffusion',)) - - - change=editor.changeDefautDefMC('Equation', ('b_type_show','b_modification','b_modif','Commentaire'),monEquation.comment ) - print (monEquation.comment ) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - - monMC.dsMaFunct = False - editor.dsMaFunct = False - - - - -def recupereDicoModele(monMC): - if monMC.valeur == None: return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - monMC.dsMaFunct = True - print ('je passe dans recupereDicoModele') - - editor=monMC.jdc.editor - valeurDB=editor.getValeur('Modele','Modele_DB',()) - maClasseDelistesDB.metAJour(valeurDB) - - print ('fin recupereDicoModele') - monMC.dsMaFunct = False - - -def creeListeEquation(monMC): - if monMC.valeur == None: return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - print ('debut de creeListeEquation') - - listeEquationsAAfficher=[] - listeConstantesAAfficher=[] - listeInitialEquations=[] - - listEquation=maClasseDelistesDB.getListEquation() - for index,equation in enumerate( listEquation): - if index in monModele.equa: - listeEquationsAAfficher.append(equation.representation) - listeConstantesAAfficher.append(equation.const_cine_nom) - t=equation.representation+'\t\t\t\t '+str(equation.const_cine_nom) - listeInitialEquations.append(t) - - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Chemical_Equation','Initial_Equation_List'),listeInitialEquations ) - maClasseDelistesDB.listeEquationsAAfficher = listeEquationsAAfficher - maClasseDelistesDB.listeConstantesAAfficher = listeConstantesAAfficher - monMC.dsMaFunct = False - print ('fin de creeListeEquation') - - editor.dsMaFunct = False - - # listeEquation_stabilization=SIMP(statut='o', homo='SansOrdreNiDoublon', max='**', min=0 ), - -def recupereModeleEquation(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur==False : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - print ('je suis dans recupereModeleEquation') - - editor.dsMaFunct = True - dicoListeEquationAAfficher={} - - from VP_Cata_V2 import monDico - listEquation=maClasseDelistesDB.getListEquation() - for valeurReactionType in monDico['Equation_Liste']: - dicoListeEquationAAfficher[valeurReactionType] = [] - for index,equation in enumerate( listEquation): - if equation.type_react==valeurReactionType : - dicoListeEquationAAfficher[valeurReactionType].append(equation.representation) - maClasseDelistesDB.dictParametresInitiaux[equation.representation]=equation - #print (dicoListeEquationAAfficher) - #print('maClasseDelistesDB.dictParametresInitiaux', maClasseDelistesDB.dictParametresInitiaux) - prepareDiffusionSansMC(editor,monMC.nom) - - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Chemical_Equation','b_ajout_equation','listeEquation_initiation'),dicoListeEquationAAfficher['initiation']) - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Chemical_Equation','b_ajout_equation','listeEquation_propagation'),dicoListeEquationAAfficher['propagation'] ) - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Chemical_Equation','b_ajout_equation','listeEquation_termination'),dicoListeEquationAAfficher['termination'] ) - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Chemical_Equation','b_ajout_equation','listeEquation_stabilization'),dicoListeEquationAAfficher['stabilization'] ) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - - print ('fin recupereModeleEquation') - monMC.dsMaFunct = False - editor.dsMaFunct = False - -def ajoutDUneEquation(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur==False : return - editor=monMC.jdc.editor - prepareDiffusionSansMC(editor,monMC.nom) - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = False - monMC.dsMaFunct = False - -def prepareDiffusion(monMC): - if monMC.valeur==False : return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - monMC.dsMaFunct=True - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - editor.dsMaFunct = True - print ('je suis dans prepareDiffusion', monMC.nom) - prepareDiffusionSansMC(editor,monMC.nom) - print ('fin de prepareDiffusion', monMC.nom) - monMC.dsMaFunct=False - editor.dsMaFunct = False - -def prepareDiffusionSansMC(editor,monMCNom): - lInitialBadCoche=editor.getValeur('Modele', 'Initial_Equation_List',('b_type_creation','Chemical_Equation'),) - lInitialCoche=[] - for equ in lInitialBadCoche: lInitialCoche.append(equ.split('\t')[0]) - lInititiationCoche=editor.getValeur('Modele','listeEquation_initiation', ('b_type_creation','Chemical_Equation',)) - lPropagationCoche =editor.getValeur('Modele', 'listeEquation_propagation',('b_type_creation','Chemical_Equation',)) - lTerminationCoche=editor.getValeur('Modele','listeEquation_termination', ('b_type_creation','Chemical_Equation',)) - lStabilizationCoche=editor.getValeur('Modele','listeEquation_stabilization', ('b_type_creation','Chemical_Equation',)) - - print (lInitialCoche,lInititiationCoche,lPropagationCoche,lTerminationCoche,lStabilizationCoche) - for liste in (lInitialCoche,lInititiationCoche,lPropagationCoche,lTerminationCoche,lStabilizationCoche): - # Il est possible qu'une liste soit vide lors de l initialisation - if liste == None : continue - for equation in liste : - print (equation) - for const in maClasseDelistesDB.dictParametresInitiaux[equation].constituants : - if const not in maClasseDelistesDB.listeParametresInitiaux : maClasseDelistesDB.listeParametresInitiaux.append(const) - #for coef in maClasseDelistesDB.dictParametresInitiaux[equation].const_cine_nom : - # if coef not in maClasseDelistesDB.listeCoefInitiaux : maClasseDelistesDB.listeCoefInitiaux.append(coef) - for num,coef in enumerate(maClasseDelistesDB.dictParametresInitiaux[equation].const_cine_nom ): - maClasseDelistesDB.dicoCoefAffichageArr[coef]=maClasseDelistesDB.dictParametresInitiaux[equation].arrhenius[num] - if coef not in maClasseDelistesDB.listeCoefInitiaux : maClasseDelistesDB.listeCoefInitiaux.append(coef) - - #print('maClasseDelistesDB.dictParametresInitiaux', maClasseDelistesDB.dictParametresInitiaux) - if monMCNom == 'Diffusion' : - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Transport','b_diffusion','listeProduitPourLaDiffusion'), maClasseDelistesDB.listeParametresInitiaux ) - if monMCNom == 'Evaporation' : - change=editor.changeIntoDefMC('Modele', ('b_type_creation','Transport','b_evaporation','listeProduitPourLEvaporation'), maClasseDelistesDB.listeParametresInitiaux ) - - if monMCNom in ('Evaporation','Diffusion') : - for c in list(monModele.coef[0].keys()) : - if c[0]=='D': - clef=c[1:] - if clef in maClasseDelistesDB.listeParametresInitiaux : - maClasseDelistesDB.listeCoefD.append(clef) - maClasseDelistesDB.listeCoefInitiaux.append('D'+clef) - maClasseDelistesDB.listeCoefInitiaux.append('S'+clef) - else : - maClasseDelistesDB.listeCoefASupprimer.append('S'+clef) - maClasseDelistesDB.listeCoefASupprimer.append('D'+clef) - if c[0]=='B': - clef=c[1:] - if clef in maClasseDelistesDB.listeParametresInitiaux : - maClasseDelistesDB.listeCoefB.append(clef) - maClasseDelistesDB.listeCoefInitiaux.append(c) - else : - maClasseDelistesDB.listeCoefASupprimer.append(c) - print ('aClasseDelistesDB.listeCoefB',maClasseDelistesDB.listeCoefB) - print ('aClasseDelistesDB.listeCoefB',maClasseDelistesDB.listeCoefD) - print ('maClasseDelistesDB.listeCoefInitiaux',maClasseDelistesDB.listeCoefInitiaux) - print ('maClasseDelistesDB.listeCoefASupprimer',maClasseDelistesDB.listeCoefASupprimer) - print ('maClasseDelistesDB.listeParametresInitiaux',maClasseDelistesDB.listeParametresInitiaux) - # au lieu des print il faut mettre a jour le MC Fact Coefficients avec ,maClasseDelistesDB.listeCoefInitiaux et le MC FACT - # Paraetres_initiaux avec maClasseDelistesDB.listeParametresInitiaux - # TO DO TO DO PNPN - # si on arrive avex - # if monMC.nom = Diffusion - if monMCNom == 'Diffusion' : - editor.setValeur('Modele','listeProduitPourLaDiffusion' ,maClasseDelistesDB.listeCoefD, ('b_type_creation','Transport','b_diffusion',)) - #editor.changeValeur(....,'listeProduitPourLaDiffusion',maClasseDelistesDB.listeCoefD') - # if monMCNom == 'Evaporation' : - #editor.changeValeur(....,'listeProduitPourLaDiffusion',maClasseDelistesDB.listeCoefB') - - - -def ajouteEvaporation(monMC): - print ('je suis dans ajouteDiffusion') - if monMC.valeur == None : return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - - monMC.dsMaFunct=True - for v in monMC.valeur : - clef='B'+v - if clef not in maClasseDelistesDB.listeCoefInitiaux : - maClasseDelistesDB.listeCoefInitiaux.append(clef) - - print ('sortie de ajouteDiffusion' , maClasseDelistesDB.listeCoefInitiaux) - monMC.dsMaFunct=False - editor.dsMaFunct = False - -def ajouteDiffusion(monMC): - print ('je suis dans ajouteDiffusion') - if monMC.valeur == None : return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - - monMC.dsMaFunct=True - for v in monMC.valeur : - clef='D'+v - if clef not in maClasseDelistesDB.listeCoefInitiaux : - maClasseDelistesDB.listeCoefInitiaux.append(clef) - maClasseDelistesDB.listeCoefInitiaux.append('S'+v) - maClasseDelistesDB.dicoCoefAffichageArr[clef] = True - maClasseDelistesDB.dicoCoefAffichageArr['S'+v] = False - #maClasseDelistesDB.dicoCoefAffichageArr['B'+v] = True - - # on affiche dans l interface un mot clef avec clef comme nom et - # 2 reels si ce commence par D soit iniitialise a 0 si pas de valeur - # soit avec comme deifaut nomCoef in monModele.coef[0].keys() - print ('sortie de ajouteDiffusion' , maClasseDelistesDB.listeCoefInitiaux) - - for nomCoef in maClasseDelistesDB.listeCoefInitiaux: - #A jout Ds Coef d'un MC - nomMC='Coef_'+nomCoef - if maClasseDelistesDB.dicoCoefAffichageArr[nomCoef] == True: - print ('2 r'), - if nomCoef in monModele.coef[0].keys() : - print (monModele.coef[0][nomCoef]) - else : - print ((0,0)) - else : - print ('1 r') - if nomCoef in monModele.coef[0].keys() : - print (monModele.coef[0][nomCoef]) - else : - print (0) - - print ('______________________') - #for v in monMC.valeur : - # print (v) - # mesValeurs=editor.dicoCoefS[v] - # MCFils='S'+v - # for e in monMC.jdc.etapes: - # if e.nom == 'Modele' :break - # editor.ajoutDefinitionMC(e,('b_type_creation','b_diffusion'),MCFils,typ='TXM',statut='o' ) - # editor.ajoutMC(e,MCFils,mesValeurs,('b_type_creation','b_diffusion',)) - # print ('______') - #if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - monMC.dsMaFunct=False - editor.dsMaFunct = False - - -# -------------------------------------------------------------------------------------------- -# pour les modeles en modification ou en utilisation -# -------------------------------------------------------------------------------------------- -def creeListeMateriauxSelonModele(monMC): - if monMC.valeur == None : return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - - valeurDB=editor.getValeur('Modele','Modele_DB',()) - maClasseDelistesDB.metAJour(valeurDB) - listModele=maClasseDelistesDB.getListModele() - listModeleFiltre=[] - listMateriauxFiltre=[] - for modele in listModele : - if modele.technical_use == monMC.valeur : - maClasseDelistesDB.dicoModeleFiltre[modele.nom]=modele - listModeleFiltre.append(modele.nom) - if type(modele.materiaux) not in (list, tuple): modeleATraiter= modele.materiaux - else : modeleATraiter= modele.materiaux[0] - if modeleATraiter not in listMateriauxFiltre : - listMateriauxFiltre.append(modeleATraiter) - maClasseDelistesDB.dicoMateriauxFiltre[modeleATraiter]=[modele.nom,] - else : - maClasseDelistesDB.dicoMateriauxFiltre[modeleATraiter].append(modele.nom) - - - - change=editor.changeIntoDefMC('Modele', ('b_type_modification','b_technicalUse','material'),listMateriauxFiltre ) - - monMC.dsMaFunct=False - editor.dsMaFunct = False - -def creeListeModelesPossibles(monMC): - if monMC.valeur == None : return - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - editor=monMC.jdc.editor - if hasattr(editor,'dsMaFunct') and editor.dsMaFunct== True : return - change=editor.changeIntoDefMC('Modele', ('b_type_modification','b_technicalUse','modele'),maClasseDelistesDB.dicoMateriauxFiltre[monMC.valeur] ) - - monMC.dsMaFunct=False - editor.dsMaFunct = False - -def choisitModele(monMC): - # Equation b_modification modification - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - valeur=monMC.valeur - if valeur == None : return - modele=maClasseDelistesDB.dicoModeleFiltre[monMC.valeur] - maClasseDelistesDB.monModele=modele - monMC.dsMaFunct = False - -def choisitActionModele(monMC): - if monMC.valeur == 'display' : afficheModele(monMC) - if monMC.valeur == 'modify' : changeValeurDefautModele(monMC) - -def afficheModele(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - valeur=monMC.valeur - aAfficher=str(maClasseDelistesDB.monModele) - editor=monMC.jdc.editor - editor._viewText(aAfficher, "Id",largeur=700,hauteur=500) - - monMC.dsMaFunct = False - -def changeValeurDefautModele(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - monMC.dsMaFunct = True - editor=monMC.jdc.editor - change=editor.changeIntoMCandSet('Modele', ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID','modeleName'),(maClasseDelistesDB.monModele.nom,),maClasseDelistesDB.monModele.nom, ) - editor.setValeur('Modele','technicalUse',maClasseDelistesDB.monModele.technical_use, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - - editor.setValeur('Modele','material',maClasseDelistesDB.monModele.materiaux, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - editor.setValeur('Modele','agingType',maClasseDelistesDB.monModele.type_vieil, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - - if maClasseDelistesDB.monModele.stabilise == 'True' : monBool = True - else : monBool = False - editor.setValeur('Modele','stabilizer',monBool, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - editor.setValeur('Modele','material_thickness',maClasseDelistesDB.monModele.thickness, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - - if maClasseDelistesDB.monModele.dvt_EDF == 'True' : monBool = True - else : monBool = False - editor.setValeur('Modele','model_developed_by_for_EDF',monBool, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - editor.setValeur('Modele','documentation',maClasseDelistesDB.monModele.reference, ('b_type_modification','b_technicalUse','b_modele','b_type_modify','ID')) - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - monMC.dsMaFunct = False - - - -def creeCoefAModifier(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur == None : return - monMC.dsMaFunct = True - editor=monMC.jdc.editor - dicoArr={} - dicoNonArr={} - for coef in maClasseDelistesDB.monModele.coef[0] : - if len (maClasseDelistesDB.monModele.coef[0][coef]) == 1 : - dicoNonArr[coef]=maClasseDelistesDB.monModele.coef[0][coef][0] - else : - dicoArr[coef]=maClasseDelistesDB.monModele.coef[0][coef] - if coef[0] == 'D' : maClasseDelistesDB.listeDiffusion.append(coef[1:]) - print (dicoNonArr) - print (dicoArr) - if 'ri' in dicoNonArr : - print ('ajoutDefinitionMC debitOfDose') - editor.ajoutDefinitionMC('Modele', ('b_type_modification','b_technicalUse','b_modele','b_type_use2','Aging_Factor'), 'debitOfDose',typ='R',statut='o' ) - - for coef in dicoNonArr : - print (coef) - # attention, notation scientifique - editor.ajoutDefinitionMC('Modele',('b_type_modification','b_technicalUse','b_modele','b_type_use',),coef, 'R', statut='o',defaut=dicoNonArr[coef]) - # a faire marcher - # pour les Arr il faut un tuple(2) - - # il fait creer un fact Boundary_Conditions_Param pour chacque espece de listeDiffusion - - if editor.fenetreCentraleAffichee : editor.fenetreCentraleAffichee.node.affichePanneau() - - monMC.dsMaFunct = False - - -def remplirAgingFactor(monMC): - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur == None : return - monMC.dsMaFunct = True - editor=monMC.jdc.editor - if monMC.valeur in dicoAgingFactor: - print (monMC.valeur, 'trouve') - for MC in dicoAgingFactor[monMC.valeur]: - print (MC) - print (dicoAgingFactor[monMC.valeur][MC]), - editor.setValeur('Modele',MC,dicoAgingFactor[monMC.valeur][MC],('b_type_modification','b_technicalUse','b_modele','b_type_use2','Aging_Factor')) - monMC.dsMaFunct = False - - -def creeInitialParameter(monMC): - print ('je passe dans creeInitialParameter') - if hasattr(monMC,'dsMaFunct') and monMC.dsMaFunct== True : return - if monMC.valeur == None : return - monMC.dsMaFunct = True - editor=monMC.jdc.editor - for coef in maClasseDelistesDB.monModele.param_ini: - editor.ajoutDefinitionMC('Modele',('b_type_modification','b_technicalUse','b_modele','b_type_use2','Initial_Parameter'),coef, 'R', statut='o',defaut=maClasseDelistesDB.monModele.param_ini[coef][0]) - monMC.dsMaFunct = False - # creer nbdenode = monMC.valeur Initial_Parameter diff --git a/VirtualPolymer/listesDB.py b/VirtualPolymer/listesDB.py deleted file mode 100644 index e95cfa78..00000000 --- a/VirtualPolymer/listesDB.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 -import types -import sys,os -sys.path.append('/home/A96028/opt/MAP/map-2016.1/lib/python2.7/site-packages/mapy/components/c_pre_polymer_data_management') -sys.path.append('/home/A96028/opt/MAP/map-2016.1/lib/python2.7/site-packages/mapy/virtual_polymer_common') -sys.path.append('/home/A96028/opt/MAP/map-2016.1/lib/python2.7/site-packages/') -import pckdb, class_data, instruction, equation_part, utils - -# -------------------------------------- -class sModele : -# -------------------------------------- - - _instance = None - - def __new__(cls, *args, **kwargs): - if not cls._instance: - cls._instance = super(sModele, cls).__new__( - cls, *args, **kwargs) - - return cls._instance - - def __init__ (self): - self.monModele=class_data.Modele() - self.monPost=class_data.Post_traitement() - - -# -------------------------------------- -class classeListesDB : -# -------------------------------------- - - _instance = None - - def __new__(cls, *args, **kwargs): - if not cls._instance: - cls._instance = super(listesDB, cls).__new__( - cls, *args, **kwargs) - - return cls._instance - - def __init__ (self): - self.listEquation = None - self.listModele = None - self.listPostTraitement = None - self.dicoListAffiche = {} - self.valeurEquationChoisie = None - self.listeConstantesAAfficher = [] - self.listeEquationsAAfficher = [] - self.listeCoefD = [] - self.listeCoefB = [] - self.dictParametresInitiaux = {} - self.listeParametresInitiaux= [] - self.listeCoefInitiaux= [] - self.listeCoefASupprimer= [] - self.dicoCoefAffichageArr = {} - self.dicoModeleFiltre = {} - self.dicoMateriauxFiltre = {} - self.monModele = None - self.listeDiffusion = [] - - def metAJour(self,valeur): - print ('metAJour') - if valeur == None : return - correspond=pckdb.DBRENAME - self.listEquation, self.listModele,self.listPostTraitement=pckdb.read_pckdb(correspond[valeur]) - self.dicoListeEquation = {} - for equation in self.listEquation : - self.dicoListeEquation[equation.representation]=equation - - def getListEquation(self): - return self.listEquation - - def getListModele(self): - return self.listModele - - def getListPostTraitement(self): - return self.listPostTraitement - - def getdicoListAffiche(self): - return self.dicoListAffiche - diff --git a/VirtualPolymer/prefs.py b/VirtualPolymer/prefs.py deleted file mode 100644 index 6554d133..00000000 --- a/VirtualPolymer/prefs.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -code="VP" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/VirtualPolymer/prefs_VP.py b/VirtualPolymer/prefs_VP.py deleted file mode 100644 index 2d50d821..00000000 --- a/VirtualPolymer/prefs_VP.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# -catalogues=( - ('VP','V1',os.path.join(repIni,'VP_Cata_V2.py'),'python','python'), -) -nombreDeBoutonParLigne=2 -closeFrameRechercheCommande = True -closeEntete = True -#closeArbre = True -afficheOptionnelVide=False - diff --git a/VirtualPolymer/properties.py b/VirtualPolymer/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/VirtualPolymer/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/VirtualPolymer/qtEficasVP.py b/VirtualPolymer/qtEficasVP.py deleted file mode 100755 index 00ced3c4..00000000 --- a/VirtualPolymer/qtEficasVP.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour MAP -""" -# Modules Python -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -import sys -reload(sys) -sys.setdefaultencoding('latin1') - -import os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lance_eficas(code=prefs.code) diff --git a/boundary_conditions/CMakeLists.txt b/boundary_conditions/CMakeLists.txt deleted file mode 100644 index 9d5d3202..00000000 --- a/boundary_conditions/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -# --- Python files --- - -SET(PYFILES - __init__.py - configuration_boundary_conditions.py - prefs_boundary_conditions.py - prefs.py - boundary_conditions_cata.py - appli.py - generator_boundary_conditions.py -) - -# --- rules --- - -SALOME_INSTALL_SCRIPTS("${PYFILES}" ${SALOME_INSTALL_PYTHON}/salome/hydro/boundary_conditions/eficas) diff --git a/boundary_conditions/__init__.py b/boundary_conditions/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/boundary_conditions/appli.py b/boundary_conditions/appli.py deleted file mode 100644 index b3783292..00000000 --- a/boundary_conditions/appli.py +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -import os -import sys - -import SalomePyQt -sgPyQt = SalomePyQt.SalomePyQt() - -import eficasSalome - -class EficasForBoundaryConditionsAppli(eficasSalome.MyEficas): - """ - This class launches Eficas with "boundary_conditions" catalog. - """ - def __init__(self, fichier = None, version = None): - self.codedir = os.path.dirname(__file__) - sys.path[:0] = [self.codedir] - eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(), "boundary_conditions", - fichier, version = version) - - def addJdcInSalome(self, jdcPath): - """ - Those files are not added in Salome study tree for now. - """ - pass - - def closeEvent(self, event): - while self.codedir in sys.path: - sys.path.remove(self.codedir) - eficasSalome.MyEficas.closeEvent(self, event) diff --git a/boundary_conditions/boundary_conditions_cata.py b/boundary_conditions/boundary_conditions_cata.py deleted file mode 100644 index f41671c3..00000000 --- a/boundary_conditions/boundary_conditions_cata.py +++ /dev/null @@ -1,59 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -from Accas import * - -class grma(GEOM): - """ - Class used to define the group on which the boundary condition is defined. - Method __convert__ is redefined to skip the test on the string length. - """ - def __convert__(cls, valeur): - if isinstance(valeur, (str, unicode)): - return valeur.strip() - raise ValueError('A string is expected') - - __convert__ = classmethod(__convert__) - - -JdC = JDC_CATA(regles = (AU_MOINS_UN('BOUNDARY_CONDITION',)), - ) - -BOUNDARY_CONDITION = PROC( - nom = "BOUNDARY_CONDITION", op = None, - fr = u"Définition d'une condition limite pour Telemac2D", - ang = u"Definition of a boundary condition for Telemac2D", - - GROUP = SIMP(statut = "o", typ = grma, - fr = u"Groupe sur lequel la condition limite est définie", - ang = u"Group on which the boundary condition is defined", - ), - LIHBOR = SIMP(statut = "o", typ = "I", - fr = u"Type de condition limite pour la hauteur d'eau", - ang = u"Boundary condition type for the water height", - ), - LIUBOR = SIMP(statut = "o", typ = "I", - fr = u"Type de condition limite pour la composante U de la vitesse", - ang = u"Boundary condition type for the U component of the water velocity", - ), - LIVBOR = SIMP(statut = "o", typ = "I", - fr = u"Type de condition limite pour la composante V de la vitesse", - ang = u"Boundary condition type for the V component of the water velocity", - ), -) diff --git a/boundary_conditions/configuration_boundary_conditions.py b/boundary_conditions/configuration_boundary_conditions.py deleted file mode 100644 index ffed4a66..00000000 --- a/boundary_conditions/configuration_boundary_conditions.py +++ /dev/null @@ -1,48 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -import os - -from Editeur.catadesc import CatalogDescription -from InterfaceQT4.configuration import CONFIG_BASE - -class CONFIG(CONFIG_BASE): - - def __init__(self, appli, repIni): - """ - This class stores the configuration parameters for Eficas - """ - CONFIG_BASE.__init__(self, appli, repIni) - - # Configuration parameters - self.savedir = os.getenv("HOME") - self.catalogues = (CatalogDescription("boundary_conditions", - os.path.join(repIni, "boundary_conditions_cata.py"), - file_format = "boundary_conditions"),) - self.lang = 'fr' - self.generator_module = "generator_boundary_conditions" - - def save_params(self): - pass - -def make_config(appli, rep): - return CONFIG(appli, rep) - -def make_config_style(appli, rep): - return None diff --git a/boundary_conditions/generator_boundary_conditions.py b/boundary_conditions/generator_boundary_conditions.py deleted file mode 100644 index ea7235dd..00000000 --- a/boundary_conditions/generator_boundary_conditions.py +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -import os -from generator.generator_python import PythonGenerator - -def entryPoint(): - return {'name': 'boundary_conditions', - 'factory': BoundaryConditionsGenerator} - -class BoundaryConditionsGenerator(PythonGenerator): - """ - This generator creates files containing associations between groups and - boundary conditions (.bcd files, for Boundary Conditions Definition). - Those files contain one line per group, each line containing four fields - separated by spaces: LIHBOR LIUBOR LIVBOR GROUP. - LIHBOR, LIUBOR and LIVBOR are integer values, GROUP is a string (the name of - the group). - - Example: - - - """ - - def gener(self, obj, format = 'brut', config = None): - self.group_list = [] - self.text = PythonGenerator.gener(self, obj, format) - return self.text - - def generPROC_ETAPE(self, obj): - group_dict = {} - for keyword in obj.mc_liste: - group_dict[keyword.nom] = keyword.valeur - self.group_list.append(group_dict) - return PythonGenerator.generPROC_ETAPE(self, obj) - - def writeDefault(self, basefilename): - output_filename = os.path.splitext(basefilename)[0] + ".bcd" - f = open(output_filename, 'w') - f.write("%d\n" % len(self.group_list)) - for group_dict in self.group_list: - f.write("%(LIHBOR)d %(LIUBOR)d %(LIVBOR)d %(GROUP)s\n" % group_dict) - f.close() diff --git a/boundary_conditions/prefs.py b/boundary_conditions/prefs.py deleted file mode 100644 index 8f7d046d..00000000 --- a/boundary_conditions/prefs.py +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -code = "boundary_conditions" diff --git a/boundary_conditions/prefs_boundary_conditions.py b/boundary_conditions/prefs_boundary_conditions.py deleted file mode 100644 index bcf1ef2d..00000000 --- a/boundary_conditions/prefs_boundary_conditions.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (C) 2012-2013 EDF -# -# This file is part of SALOME HYDRO module. -# -# SALOME HYDRO module is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# SALOME HYDRO module is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with SALOME HYDRO module. If not, see . - -import os - -repIni = os.path.dirname(__file__) -INSTALLDIR = os.getenv("EFICAS_ROOT") diff --git a/convert/CMakeLists.txt b/convert/CMakeLists.txt deleted file mode 100644 index ca96efdc..00000000 --- a/convert/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -install ( FILES __init__.py parseur_python.py convert_python.py convert_TELEMAC.py - convert_map.py - DESTINATION ${CMAKE_INSTALL_PREFIX}/convert - ) - - - - -### Local Variables: -### mode: cmake -### End: diff --git a/convert/Parserv5/Makefile b/convert/Parserv5/Makefile deleted file mode 100644 index d75ca643..00000000 --- a/convert/Parserv5/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -tables.py:tables.tag - python Translate.py -force tables.tag diff --git a/convert/Parserv5/README b/convert/Parserv5/README deleted file mode 100644 index 57294e33..00000000 --- a/convert/Parserv5/README +++ /dev/null @@ -1,3 +0,0 @@ -Pour mettre à jour le parser de fichier au format Asterv5, il faut -recompiler le fichier tables.tag en faisant : - make diff --git a/convert/Parserv5/Translate.py b/convert/Parserv5/Translate.py deleted file mode 100644 index 016113de..00000000 --- a/convert/Parserv5/Translate.py +++ /dev/null @@ -1,2498 +0,0 @@ -# -*- coding: utf-8 -*- -# CONFIGURATION MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -#!/bin/env python -d -#!/tools/net/app/Python-1.5.2/bin/python1.5 - -"""Translate - a first attempt at parsing my little language - -Usage: Translate [switches] [] - - -stdout -- write to standard output instead of a file - -force -- write to the even if it already - exists (overwrite any existing file) - - -import -- import tag table from Translate_tags.py, - instead of using the internal table - - -compare -- compare the imported and internal tag tables - (development option!) - - -test -- use our internal test data and write to stdout - -pytag -- use the interpreted tagging engine - -debug -- if -pytag, enable its debugger - -diag -- enable general debugging - Beware that this currently also writes line - numbers to the start of each line in the output, - so it doesn't emit legal Python... - - -help -- show this text - -history -- show the module history - -version -- show the module version - -If is not specified, will be used with its extension -replaced by ".py". -""" - -__author__ = """Tibs (Tony J Ibbs) -tony@lsl.co.uk or tibs@tibsnjoan.demon.co.uk or tibs@bigfoot.com -http://www.tibsnjoan.demon.co.uk/ -""" -__version__ = "0.3 (tiepin) of 1999-11-15" -__history__ = """\ -Originally created 1999-08-13 - -First released version is 0.2 (bootstrap)/1999-09-09, which gave -an idea of how the thing would work, and nearly did. - -Second released version is 0.3 (tiepin)/1999-11-15, which is sufficient -to allow the parser used within this utility to be written in the little -language, translated and then used as such. -""" - -import sys -import os -import string - -# ............................................................ -# How we want to work things - this is fudge for me in initial development -if os.name == "posix": - # Unix at work - DEFAULT_DEBUG = 0 - DEFAULT_PYTAG = 0 -else: - # Windows 95 at home - TEXTTOOLS_PATH = "C:\\Program Files\\Python" - PYTAG_PATH = "C:\\Program Files\\Python\\TextTools\\Examples" - DEFAULT_DEBUG = 0 - DEFAULT_PYTAG = 0 - - if TEXTTOOLS_PATH not in sys.path: - print "Adding",TEXTTOOLS_PATH - sys.path.append(TEXTTOOLS_PATH) - - if PYTAG_PATH not in sys.path: - print "Adding",PYTAG_PATH - sys.path.append(PYTAG_PATH) -# ............................................................ - -# Import the TextTools themselves -# - I'm not personally too keen on import *, but it seems to be -# the recommended thing, so I'll leave it for now... -try: - from TextTools import * -except: - from mx.TextTools import * - #from TextTools.Constants.TagTables import * - #from TextTools.Constants.Sets import * - - -# ------------------------------------------------------------ -# Useful little constants for unpicking the parsed tuples -OBJECT = 0 -LEFT = 1 -RIGHT = 2 -SUBLIST = 3 - -# We want to align inline comments when possible - so this is -# the column at which we will try to place their "#" marks... -COMMENT_COLUMN = 40 - -# Are we (generally) debugging? -DEBUGGING = 0 - -# Do we want a comma after the last tuple (or item) in a table? -WANT_LAST_COMMA = 1 - - -# ------------------------------------------------------------ -def define_tagtable(): - """Returns our tag table, if we're not importing it.""" - - # We are not, initially, going to try for anything very sophisticated - # - just something that will get us bootstrapped, so that I can use the - # "little language" to write more sophisticated stuff (without having - # to worry about dropped commas between tuples, and so on!) - - - # Whitespace is always useful - t_whitespace = (None,AllIn,' \t') - t_opt_whitespace = t_whitespace + (+1,) - - # Comments are fairly simple - t_comment = ('comment',Table, - ((None,Is,'#'), - (None,AllNotIn,'\n\r',MatchOk)) - ) - - # We care about the "content" of the indentation at the start of a line, - # but note that it is optional - t_indent = ('indent',AllIn,' \t') - t_indentation = t_indent + (+1,) # zero indentation doesn't show - - # A string is text within single or double quotes - # (of course, this is an oversimplification, because we should also - # deal with things like "This is a \"substring\"", and it would be - # nice to be able to cope with triple-quoted strings too, but it - # will do for a start) - - # Major bug - doesn't recognised zero length strings... - # (since "AllNotIn" must match at least one character) - t_string = ('str',Table, - ((None,Is,"'",+3,+1), - ('text',AllNotIn,"'"), - (None,Is,"'",MatchFail,MatchOk), - (None,Is,'"'), - ('text',AllNotIn,'"'), - (None,Is,'"'), - )) - - # An integer is a series of digits... - t_integer = ('int',AllIn,number) - - t_signed_integer = ('signed_int',Table, - (('sign',Is,"+",+1,+2), - ('sign',Is,"-",+1,+1), - t_integer - )) - - # Remember to be careful to specify the LONGEST possible match first, - # so that we try for "IsIn" before we try for "Is" (because "IsIn" - # would *match* "Is", leaving us with a spurious "In" hanging around...) - t_operation = ('op',Table, - (('op',Word,"AllInSet", +1,MatchOk), - ('op',Word,"AllIn", +1,MatchOk), - ('op',Word,"AllNotIn", +1,MatchOk), - ('op',Word,"CallArg", +1,MatchOk), - ('op',Word,"Call", +1,MatchOk), - ('op',Word,"EOF", +1,MatchOk), - ('op',Word,"Fail", +1,MatchOk), - ('op',Word,"IsInSet", +1,MatchOk), - ('op',Word,"IsIn", +1,MatchOk), - ('op',Word,"IsNotIn", +1,MatchOk), - ('op',Word,"IsNot", +1,MatchOk), - ('op',Word,"Is", +1,MatchOk), - ('op',Word,"Jump", +1,MatchOk), - ('op',Word,"LoopControl",+1,MatchOk), - ('op',Word,"Loop", +1,MatchOk), - ('op',Word,"Move", +1,MatchOk), - ('op',Word,"NoWord", +1,MatchOk), # alias for WordStart - ('op',Word,"Skip", +1,MatchOk), - ('op',Word,"SubTableInList",+1,MatchOk), - ('op',Word,"SubTable", +1,MatchOk), - ('op',Word,"sFindWord", +1,MatchOk), - ('op',Word,"sWordStart", +1,MatchOk), - ('op',Word,"sWordEnd", +1,MatchOk), - ('op',Word,"TableInList",+1,MatchOk), - ('op',Word,"Table", +1,MatchOk), - ('op',Word,"WordStart", +1,MatchOk), - ('op',Word,"WordEnd", +1,MatchOk), - ('op',Word,"Word", MatchFail,MatchOk), - )) - - # Python keywords - t_keyword = ('keyword',Table, - ((None,Word,"and", +1,+28), - (None,Word,"assert", +1,+27), - (None,Word,"break", +1,+26), - (None,Word,"class", +1,+25), - (None,Word,"continue",+1,+24), - (None,Word,"def", +1,+23), - (None,Word,"del", +1,+22), - (None,Word,"elif", +1,+21), - (None,Word,"else", +1,+20), - (None,Word,"except", +1,+19), - (None,Word,"exec", +1,+18), - (None,Word,"finally", +1,+17), - (None,Word,"for", +1,+16), - (None,Word,"from", +1,+15), - (None,Word,"global", +1,+14), - (None,Word,"if", +1,+13), - (None,Word,"import", +1,+12), - (None,Word,"in", +1,+11), - (None,Word,"is", +1,+10), - (None,Word,"lambda", +1,+9), - (None,Word,"not", +1,+8), - (None,Word,"or", +1,+7), - (None,Word,"pass", +1,+6), - (None,Word,"print", +1,+5), - (None,Word,"raise", +1,+4), - (None,Word,"return", +1,+3), - (None,Word,"try", +1,+2), - (None,Word,"while", MatchFail,+1), - # In order to not recognise things like "in_THIS_CASE" - # we must check that the next character is not legitimate - # within an identifier - (None,IsIn,alpha+'_'+number,+1,MatchFail), - # If it wasn't another identifier character, we need to - # unread it so that it can be recognised as something else - # (so that, for instance, "else:" is seen as "else" followed - # by ":") - (None,Skip,-1) - )) - - # Do the same for mxText commands - t_mxkeyword = ('mxKeyword',Table, - (t_operation, - (None,IsIn,alpha+'_'+number,+1,MatchFail), - (None,Skip,-1) - )) - - # Traditional identifiers - t_identifier = ('identifier',Table, - (t_keyword + (+1,MatchFail), # don't allow Python keywords - t_mxkeyword + (+1,MatchFail), # don't allow mxText commands - (None,IsIn,alpha+'_'), # can't start with a digit - (None,AllIn,alpha+'_'+number,MatchOk)) - ) - - # We don't yet deal with the following with anything in parentheses, - # which means we can't handle functions or command lists, or other - # things which "look like" a tuple - t_argument = ('arg',Table, - (('arg',Word,"Here", +1,MatchOk), # EOF Here, Fail Here - ('arg',Word,"ToEOF", +1,MatchOk), # Move ToEOF - ('arg',Word,"To", +1,MatchOk), # Jump To - ('arg',Word,"ThisTable",+1,MatchOk), # [Sub]Table ThisTable - ('arg',Word,"back", +1,MatchOk), # Skip back - ('arg',Word,"Break", +1,MatchOk), # LoopControl Break - ('arg',Word,"Reset", +1,MatchOk), # LoopControl Reset - t_string + (+1,MatchOk), # e.g., Word "Fred" - t_signed_integer + (+1,MatchOk), # e.g., Skip -4, Move 3 - t_identifier # e.g., Table Fred - )) - - t_plus = ('plus',Table, - (t_opt_whitespace, - (None,Is,"+"), - t_opt_whitespace - )) - - # Arguments can contain "+" - t_plus_arg = ('plusarg',Table, - (t_argument, # start with a single argument - t_plus + (MatchOk,), # if we have a "+" - t_argument, # then we expect another argument - (None,Jump,To,-2), # then look for another "+" - )) - - # Match, for example: - # - t_label = ('label',Table, - ((None,Is,"<"), - t_identifier, - (None,Is,">") - )) - - # Targets for Jump and F:/T: - t_target = ('target',Table, - (('tgt',Word,"next", +1,MatchOk), - ('tgt',Word,"previous", +1,MatchOk), - ('tgt',Word,"repeat", +1,MatchOk), - ('tgt',Word,"MatchOk", +1,MatchOk), - ('tgt',Word,"MatchOK", +1,MatchOk), # For kindness sake - ('tgt',Word,"MatchFail",+1,MatchOk), - t_label - )) - - # A value is either an identifier, or a string, or an integer - t_value = ('val',Table, - (t_identifier +(+1,MatchOk), - t_string +(+1,MatchOk), - t_integer - )) - - # An assignment is (optionally) used in Tuple and Table definitions... - t_assignment = ('assignment',Table, - (t_value, - t_opt_whitespace, - (None,Is,'='), - )) - - # A common error when writing tuples is to miss off the "=" sign - # - the following is used in diagnosing that (see t_bad_tuple below) - # (it's useful to have something with identical structure to the - # "real thing") - t_bad_tagobj = ('tagobj',Table, - (t_string, - )) - - t_bad_assignment = ('assignment',Table, - (t_value, - )) - - # This is the line that starts the definition of a single tuple. - # For the moment, restrict what it gets assigned to to a simple identifier. - # Match, for example: - # Fred is: - t_tupleblock = ('tupleblock',Table, - (t_identifier, - t_whitespace, - (None,Word,"is:") - )) - - # This is the line that starts a new table or sub-table. - # For the moment, we only cope with full Tables. - # NOTE that this is used for the "outer" declaration of a tag table, - # and also for the "inner" declaration of an inner table or sub-table. - # The discrimination between these is done after initial parsing. - # Match, for example: - # 'keyword' = Table is: (inner) - # tagtable = Table is: (outer) - t_tableblock = ('tableblock',Table, - (t_assignment + (+2,+1), # left hand side is optional - t_opt_whitespace, - ('type',Word,"Table",+1,+2), # Either "Table" - ('type',Word,"SubTable"), # or "SubTable" is required - t_whitespace, # whitespace is required - (None,Word,"is:") # "is:" is required - )) - - # This is the line that starts an "if" block - # Match, for example: - # Is "Fred": - # controlsymbol: - t_ifblock = ('ifblock',Table, - (t_assignment + (+2,+1), # left hand side is optional - t_opt_whitespace, - t_operation + (+4,+1), - t_whitespace, - t_plus_arg, - (None,Is,":",MatchFail,MatchOk), - t_identifier, - (None,Is,":") - )) - - # Note that we don't allow spaces WITHIN our false and true thingies - - t_onfalse = ('onfalse',Table, - (t_whitespace, - (None,Word,"F:"), - t_target - )) - - t_ontrue = ('ontrue',Table, - (t_whitespace, - (None,Word,"T:"), - t_target - )) - - # Valid examples are things like: - # 'fred' = Is "xxx" F: T:MatchOk - # AllIn jim T: - # - # For the moment, we're not trying to recognise things in any detail - t_tuple = ('tuple',Table, - (t_assignment + (+2,+1), # left hand side is optional - t_opt_whitespace, - t_operation, # operation is required - t_whitespace, # for the moment, we always require space here - t_plus_arg, # argument is required - t_onfalse + (+1,+1), # F:target is optional - t_ontrue + (MatchOk,MatchOk) # T:target is also optional - )) - - # If the user has defined a "partial" tuple, they might use something - # of the form: - # match_fred F:MatchFalse T:MatchOk - t_tupleplus = ('tupleplus',Table, - (t_identifier, - t_onfalse + (+1,+1), # F:target is optional - t_ontrue + (MatchOk,MatchOk) # T:target is also optional - )) - - # Treat Jump To specially - for example: - # Jump To - # so that they don't have to do the less obvious "Jump To F: