Skip to content

Commit

Permalink
FEM: ccx writer, fix in tie for splitted file writing
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Feb 29, 2020
1 parent 53999ea commit 6ec33d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/femsolver/calculix/writer.py
Expand Up @@ -238,7 +238,7 @@ def write_calculix_splitted_input_file(self):
if self.contact_objects:
inpfileContact = open(name + "_Surface_Contact.inp", "w")
if self.tie_objects:
inpfileContact = open(name + "_Surface_Tie.inp", "w")
inpfileTie = open(name + "_Surface_Tie.inp", "w")
if self.transform_objects:
inpfileTransform = open(name + "_Node_Transform.inp", "w")

Expand All @@ -253,7 +253,7 @@ def write_calculix_splitted_input_file(self):
if self.contact_objects:
self.write_surfaces_constraints_contact(inpfileContact)
if self.tie_objects:
self.write_surfaces_constraints_tie(inpfileContact)
self.write_surfaces_constraints_tie(inpfileTie)
if self.transform_objects:
self.write_node_sets_constraints_transform(inpfileTransform)

Expand Down

0 comments on commit 6ec33d5

Please sign in to comment.