FEM: calculix writer, move some comments

This commit is contained in:
Bernd Hahnebach
2019-06-07 09:51:52 +02:00
committed by GitHub
parent 5eb7145d97
commit 54c4b08e15

View File

@@ -1369,7 +1369,8 @@ class FemInputWriterCcx(writerbase.FemInputWriter):
beamsec_obj = self.beamsection_objects[0]['Object']
beamrot_data = self.beamrotation_objects[0]
for i, beamdirection in enumerate(beamrot_data['FEMRotations1D']):
elset_data = beamdirection['ids'] # ID's for this direction
# ID's for this direction
elset_data = beamdirection['ids']
names = [
{'short': 'M0'},
{'short': 'B0'},
@@ -1382,7 +1383,8 @@ class FemInputWriterCcx(writerbase.FemInputWriter):
ccx_elset['mat_obj_name'] = mat_obj.Name
ccx_elset['ccx_mat_name'] = mat_obj.Material['Name']
ccx_elset['beamsection_obj'] = beamsec_obj
ccx_elset['beam_normal'] = beamdirection['normal'] # normal for this direction
# normal for this direction
ccx_elset['beam_normal'] = beamdirection['normal']
self.ccx_elsets.append(ccx_elset)
def get_ccx_elsets_single_mat_multiple_beam(self):
@@ -1408,7 +1410,8 @@ class FemInputWriterCcx(writerbase.FemInputWriter):
ccx_elset['mat_obj_name'] = mat_obj.Name
ccx_elset['ccx_mat_name'] = mat_obj.Material['Name']
ccx_elset['beamsection_obj'] = beamsec_obj
ccx_elset['beam_normal'] = beamdirection['normal'] # normal for this direction
# normal for this direction
ccx_elset['beam_normal'] = beamdirection['normal']
self.ccx_elsets.append(ccx_elset)
def get_ccx_elsets_multiple_mat_single_beam(self):