From: pascale.noyret Date: Tue, 1 Dec 2020 09:19:47 +0000 (+0100) Subject: thermal X-Git-Tag: V210224_osthus~77^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e86994f7b6288aa697aa60e9553d2146f6e31b33;p=tools%2Feficas.git thermal --- diff --git a/Vimmp/cata_CSAndCPS_v5.py b/Vimmp/cata_CSAndCPS_v5.py index e8b0cfdc..7f643952 100644 --- a/Vimmp/cata_CSAndCPS_v5.py +++ b/Vimmp/cata_CSAndCPS_v5.py @@ -490,8 +490,11 @@ def bloc_FluideMacro(): InitialDensity = SIMP(typ='R', statut='o',), ), # fin bloc_DensityNonThermal bloc_DensityAndThermalActive = BLOC(condition = ' ThermalEffects == "Active on flow dynamics"', - OriginOfThermalEffects = SIMP( statut='o', into =['Given', ], typ ='TXM', defaut ='Given'), + OriginOfThermalEffects = SIMP( statut='o', into =['Given', 'Constant density'], typ ='TXM', defaut ='Given'), BlocGiven =creeBlocPourLesFichiers (' OriginOfThermalEffects == "Given"', None, ('Med', 'cgns' ), FieldName=1), + BlocConstant = BLOC(condition = 'OriginOfThermalEffects == "Constant density"', + InitialDensity = SIMP(typ='R', statut='o',), + ), ), ), # fin DensityInitialisation