From e86994f7b6288aa697aa60e9553d2146f6e31b33 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Tue, 1 Dec 2020 10:19:47 +0100 Subject: [PATCH] thermal --- Vimmp/cata_CSAndCPS_v5.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2