Skip to content

Commit

Permalink
FEM: remove precheck for load since an static analyis could be valid …
Browse files Browse the repository at this point in the history
…without loads
  • Loading branch information
berndhahnebach authored and yorikvanhavre committed Jan 7, 2017
1 parent aa83257 commit 40aafe7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Mod/Fem/FemTools.py
Expand Up @@ -378,9 +378,7 @@ def check_prerequisites(self):
if self.analysis_type == "static":
if not (self.fixed_constraints or self.displacement_constraints):
message += "Static analysis: Neither constraint fixed nor constraint displacement defined.\n"
if self.analysis_type == "static":
if not (self.force_constraints or self.pressure_constraints or self.selfweight_constraints):
message += "Static analysis: Neither constraint force nor constraint pressure or a constraint selfweight defined.\n"
# no check in the regard of loads (constraint force, pressure, self weight) is done because an analysis without loads at all is an valid analysis too
if self.analysis_type == "thermomech":
if not self.initialtemperature_constraints:
message += "Thermomechanical analysis: No initial temperature defined.\n"
Expand Down

0 comments on commit 40aafe7

Please sign in to comment.