如何在 Abaqus 中更改振型的颜色

How to change the coloring of the mode shapes in Abaqus

我如何更改 Abaqus 中的着色,使其与我已经从 matlab 获得的着色相媲美。非常感谢您的帮助。

这里是 abaqus cae 的自定义颜色示例 table。保存在 .py 文件中并在等高线图模块中执行 "run script"。

session.Spectrum(name="custom",colors=(\
'#000004','#010107','#02020C','#030312','#050417','#07051D','#0A0722',\
'#0D0828','#100A2E','#130B34','#170B3B','#1B0C41','#1F0C47','#230C4D',\
'#270B52','#2C0B57','#300A5C','#350A60','#390963','#3E0965','#420A68',\
'#460B69','#4A0C6B','#4E0D6C','#530E6D','#57106D','#5B116E','#5F136E',\
'#63146E','#67166E','#6B176E','#6F196E','#731A6E','#771C6D','#7B1D6D',\
'#7F1F6C','#83206B','#87216A','#8B2369','#8F2468','#932667','#982766',\
'#9C2964','#A02A63','#A42C61','#A82D5F','#AB2F5D','#AF315B','#B33359',\
'#B73557','#BB3755','#BF3952','#C23B50','#C63D4D','#C9404B','#CD4248',\
'#D04545','#D34842','#D74B3F','#DA4E3D','#DD513A','#DF5437','#E25734',\
'#E55B31','#E75F2D','#E9622A','#EC6627','#EE6A24','#F06E21','#F1721D',\
'#F3771A','#F57B17','#F67F13','#F78410','#F8880D','#F98D0A','#FA9207',\
'#FB9606','#FB9B06','#FCA007','#FCA50A','#FCA90E','#FCAE13','#FCB318',\
'#FBB81D','#FBBD23','#FAC229','#F9C72F','#F8CC36','#F7D13D','#F6D644',\
'#F5DB4C','#F4E055','#F3E55E','#F2E968','#F1EE72','#F2F27C','#F3F587',\
'#F5F991','#F8FC9B','#FCFFA4'))
session.viewports['Viewport: 1'].odbDisplay.contourOptions.setValues(spectrum='custom')

我会把它留给 matlab 专家来计算如何获取其轮廓颜色方案的十六进制代码。