len(nip) = 0 in beam stress data extraction
errortraceback
Cannot cast array data from dtype('float64') to dtype('int64') according to the rule 'safe'
dynasaur\data\ls_dyna.py --> 475
quickfix
mat = []
ids = []
ipts = []
if ((elout_elem == "shell" or elout_elem == "beam") and what == "stress"):
# ok
nip = np.tile(self._binout.read(self._name, elout_elem, 'nip')[0], time.shape[0]).flatten()
if len(nip) != 0:
mat = np.repeat(np.tile(self._binout.read(self._name, elout_elem, 'mat')[0], time.shape[0]).flatten(),
nip).reshape((-1, 1))
ipts = self._concatenated_ranges(nip).reshape(-1, 1)
ids = np.repeat(np.tile(self._binout.read(self._name, elout_elem, 'ids')[0], time.shape[0]).flatten(),
nip).reshape((-1, 1))