Original structural variables printing
@@ -206,14 +206,6 @@ class WriteVariablesTime(BaseSolver):
continue
var = getattr(self.data.structure.timestep_info[-1], self.settings['structure_variables'][ivariable])
num_indices = len(var.shape)
- if num_indices == 1:
- # Beam global variables (i.e. not node dependant)
- filename = self.dir + "struct_" + self.settings['structure_variables'][ivariable] + ".dat"
- fid = open(filename, "a")
- self.write_nparray_to_file(fid, self.data.ts, var, self.settings['delimiter'])
- fid.close()
-
- else: # These variables have nodal values (i.e the number of indices is either 2 or 3)
for inode in range(len(self.settings['structure_nodes'])):
node = self.settings['structure_nodes'][inode]
filename = self.dir + "struct_" + self.settings['structure_variables'][ivariable] + "_node" + str(node) + ".dat"
