From c33409d3758887916140e12db49b37e727093727 Mon Sep 17 00:00:00 2001 From: Eric F Date: Mon, 21 Sep 2020 11:21:14 +0200 Subject: [PATCH] -- Quelques corrections --- Vimmp/cata_CSAndCPS.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Vimmp/cata_CSAndCPS.py b/Vimmp/cata_CSAndCPS.py index d658187a..b0eccea5 100755 --- a/Vimmp/cata_CSAndCPS.py +++ b/Vimmp/cata_CSAndCPS.py @@ -29,6 +29,7 @@ dictTypModNumModNum = { dictCodeModeleNumerique = { 'Code_Saturne' : ('Lagrangian one-fluid-particle pdf', 'FV', 'CFD_Discrete_Particles',), + 'Fluent' : ('FV',), 'Culgi Package': (), 'DEM_SD' : ('Lagrangian one-fluid-particle pdf', 'FV', 'CFD_Discrete_Particles',), 'DFTB+' : ('density functional tight binding method',), @@ -573,8 +574,8 @@ Interactions = PROC(nom='Interactions', termeLE = SIMP(typ='TXM', statut='o', into = dictTermeLE['Particles','Fields'],fenetreIhm='menuDeroulant'), ), monBloc_Saturne_Fluent = BLOC ( - condition = 'getEficasAttribut(origine,"Solver") == "Saturne" and getEficasAttribut(destination,"Solver") == "Fluent"' , - Format = SIMP(typ='TXM', statut='o', into = calculCommun( "Saturne", "Fluent",dictCodeFormat) ), + condition = 'getEficasAttribut(origine,"Solver") == "Code_Saturne" and getEficasAttribut(destination,"Solver") == "Fluent"' , + Format = SIMP(typ='TXM', statut='o', into = calculCommun( "Code_Saturne", "Fluent",dictCodeFormat) ), ), monBloc_Saturne_OpenFoam = BLOC ( condition = 'getEficasAttribut(origine,"Solver") == "Code_Saturne" and getEficasAttribut(destination,"Solver") == "OpenFOAM"' , @@ -585,6 +586,7 @@ Interactions = PROC(nom='Interactions', ), ), ) + dict_condition={'NumericalMethod' : ('Interactions', 'Component'), # 'TypeOfSolid' : ('Component',) } -- 2.39.2