--- /dev/null
+# 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'
+
+Interactions = PROC(nom='Interactions',
+ origine = SIMP(typ='I', statut='o'),
+ monBlocA1 = BLOC( condition = 'origine == 1' ,
+ termeLE = SIMP(typ='TXM', statut='o', into = ['Fields','Particles']),
+ ),
+ monBlocA2 = BLOC( condition = 'origine == 2' ,
+ termeLE = SIMP(typ='TXM', statut='o', into = ['Particles2','Fields2']),
+ ),
+ monBlocB1 = BLOC( condition = 'origine == 3' ,
+ Format = SIMP(typ='TXM', statut='o', into = ( "Saturne", "Fluent" ),),
+ ),
+ monBlocB2 = BLOC( condition = 'origine == 4' ,
+ Format = SIMP(typ='TXM', statut='o', into = ( "Saturne4", "Fluent4", "Use converter" ),),
+ blocConversion = BLOC (condition = 'Format == "Use converter"',
+ converter = SIMP(typ='TXM', statut='o', into = ['Saturne', 'OpenFOAM']),
+ ),
+ ),
+)
+
+Interactions2 = PROC(nom='Interactions2',
+ origine = SIMP(typ='I', statut='o'),
+ monBlocA1 = BLOC( condition = 'origine == 1' ,
+ termeLE = SIMP(typ='TXM', statut='o', into = ['Fields','Particles']),
+ ),
+ monBlocA2 = BLOC( condition = 'origine == 2' ,
+ termeLE = SIMP(typ='TXM', statut='o', into = ['Particles2','Fields2']),
+ ),
+ monBlocB1 = BLOC( condition = 'origine == 3' ,
+ Format = SIMP(typ='TXM', statut='o', into = ( "Saturne", "Fluent" ),),
+ ),
+ monBlocB2 = BLOC( condition = 'origine == 4' ,
+ Format = SIMP(typ='TXM', statut='o', into = ( "Saturne4", "Fluent4", "Use converter" ),),
+ blocConversion = BLOC (condition = 'Format == "Use converter"',
+ converter = SIMP(typ='TXM', statut='o', into = ['Saturne', 'OpenFOAM']),
+ ),
+ ),
+)