refactoring and code cleaning
This commit is contained in:
parent
4b7c536307
commit
2c018832a7
|
@ -69,8 +69,6 @@ class UsBasePhysicsParameters:
|
||||||
material.no_mass = 'no_mass' in material_lib
|
material.no_mass = 'no_mass' in material_lib
|
||||||
if 'thermal_resistance' in material_lib:
|
if 'thermal_resistance' in material_lib:
|
||||||
material.thermal_resistance_m2k_w = material_lib['thermal_resistance']['#text']
|
material.thermal_resistance_m2k_w = material_lib['thermal_resistance']['#text']
|
||||||
else:
|
|
||||||
material.thermal_resistance_m2k_w = None
|
|
||||||
layer.material = material
|
layer.material = material
|
||||||
thermal_boundary.layers.append(layer)
|
thermal_boundary.layers.append(layer)
|
||||||
for opening in thermal_boundary.thermal_openings:
|
for opening in thermal_boundary.thermal_openings:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user