是否可以通过使用 python 脚本提取历史输出数据来获得我在 Abaqus 中的结果的实值和虚值?

Is it possible to get the real and the imaginary value of my results in Abaqus by extracting the history output data using a python script?

我正在 Abaqus 中执行稳态动力学步骤,因此得到了复杂的结果。因为我需要几百个节点的值,所以我尝试使用 python 脚本获得这些结果。我从纪录片中提取了这个脚本并将其改编为我的模型,它有效,但我只得到了真正的价值。有没有办法提取实值和虚值?

from odbAccess import *

odb = openOdb(path='viewer_tutorial.odb')
step2 = odb.steps['Step-2']
region = step2.historyRegions['Node PART-1-1.1000']
u2Data = region.historyOutputs['U2'].data
dispFile = open('disp.dat','w')
for time, u2Disp in u2Data:
    dispFile.write('%10.4E   %10.4E\n' % (time, u2Disp))
dispFile.close()

如果有人知道我的问题的解决方案,我将不胜感激。

我认为,conjugateData 是您问题的答案。

u2Data_complex = region.historyOutputs['U2'].conjugateData