FEM: calculix writer, move some comments
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user