FEM: prerequisite checks, extend for 1DFlow

This commit is contained in:
Bernd Hahnebach
2017-06-26 21:26:34 +01:00
committed by wmayer
parent 3fb053266b
commit 1fa7eaf39b

View File

@@ -389,7 +389,7 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
message += "Value of ThermalConductivity is set to 0.0.\n"
else:
message += "Thermomechanical analysis: No ThermalConductivity defined for at least one material.\n"
if 'ThermalExpansionCoefficient' not in mat_map:
if 'ThermalExpansionCoefficient' not in mat_map and mat_obj.Category == 'Solid':
message += "Thermomechanical analysis: No ThermalExpansionCoefficient defined for at least one material.\n" # allowed to be 0.0 (in ccx)
if 'SpecificHeat' not in mat_map:
message += "Thermomechanical analysis: No SpecificHeat defined for at least one material.\n" # allowed to be 0.0 (in ccx)