class meshIdentifier(spatialRegion):pass
class systemGeometry(UserASSD):pass
class simulatedTime(UserASSD):pass
+class constitutiveRelation(UserASSD):pass
class scalar(UserASSD):pass
def bloc_FluideMacro():
return BLOC(condition = 'SystemType == "Continuum system"',
FluidComplexe = SIMP(typ=bool, statut='o', defaut = False,),
-
FlowNature = SIMP(typ='TXM', statut='o', into =['Laminar', 'Turbulent'], position='global'),
bloc_FlowNature_Turbulent = BLOC(condition = ' FlowNature == "Turbulent"',
TurbulenceForFlowDynamics = FactTurbulence('o'),
), #------ fin bloc_FlowNature_Turbulent
+ ConstitutiveRelation = FACT(statut ='o',max='**',
+ Name = SIMP(statut='o', typ=(constitutiveRelation,'createObject'),),
+ Nature = SIMP( statut='o', into =['EOS', 'FFR'], typ ='TXM'),
+ bloc_NonThermalEffectsAndNoEffect = BLOC(condition = ' ThermalEffects == "Non thermal" or ThermalEffects == "Passive on flow dynamics"',
+ DensityEquationOfState = SIMP(typ='TXM', statut='o', into =['Constant density'], defaut = 'Constant density'),
+ ), # fin bloc_NonThermalEffectsAndNoEffect
+
+ ),
# ---------------------- Effets thermiques
Thermal = FACT (statut ='o',
ThermalEffects = SIMP(typ='TXM', statut='o', into =['Non thermal',
- 'Passive on flow dynamics', 'Active on flow dynamics'], defaut='Non thermal'),
+ 'Passive on flow dynamics', 'Active on flow dynamics'], defaut='Non thermal', position='global'),
bloc_NonThermalEffects = BLOC(condition = ' ThermalEffects == "Non thermal"',
InitialTemperature = SIMP(typ='R', statut='o', val_min=-273.15 ),
), # fin bloc_ThermalEffects_Passive
bloc_ThermalEffects_Active = BLOC(condition = ' ThermalEffects == "Active on flow dynamics"',
+ ActiveOnFlowEffect = FACT(statut = 'o',
+ onConstitutiveRelation = SIMP(statut='o', typ=constitutiveRelation, max='**',),
+ ),
), # fin bloc_ThermalEffects_Active
- bloc_NonThermalEffectsAndNoEffect = BLOC(condition = ' ThermalEffects == "Non thermal" or ThermalEffects == "Passive on flow dynamics"',
- DensityEquationOfState = SIMP(typ='TXM', statut='o', into =['Constant density'], defaut = 'Constant density'),
- ), # fin bloc_NonThermalEffectsAndNoEffect
-
),# fin Fact Thermal