Recently, a student asked Jack whether there is a method in ANSYS to batch export several clean finite element model deformation plots needed for a thesis.
The answer is of course yes. For example, the modal deformation contour plot below is very clean, looks refreshing, and won’t lose color when printed in black and white.
Next, I’ll briefly describe the interface operation method.
Our initial state looks like this:

Step 1: Switch Background Color
Click the menu bar: PlotCtrls>Style>Colors>Reverse Video

It becomes like this:

Step 2: Change Legend Color
Click PlotCtrls>Style>Colors>Contour Colors

Switch all colors to black, it becomes as follows:

Step 3: Turn off all legend displays on the interface, such as date, plot type, logo, legend, etc. Just uncheck the items at the corresponding locations.

The final effect is as follows:

Step 4: Adjust the angle and batch export. As shown below, each one is a high-definition clean deformation plot, no additional Photoshop needed!

Manual operation is inevitably cumbersome. Here is the code for you, making it easy!
eplot!改变背景颜色
/RGB,INDEX,100,100,100,0
/RGB,INDEX,80,80,80,13
/RGB,INDEX,60,60,60,14
/RGB,INDEX,0,0,0,15
/REPLOT!改变云图颜色
/REPLOT,RESIZE
/COLOR,SMIN,WHIT
/COLOR,CNTR,WHIT,1
/COLOR,CNTR,WHIT,2
/COLOR,CNTR,WHIT,3
/COLOR,CNTR,WHIT,4
/COLOR,CNTR,WHIT,5
/COLOR,CNTR,WHIT,6
/COLOR,CNTR,WHIT,7
/COLOR,CNTR,WHIT,8
/COLOR,CNTR,WHIT,9
/COLOR,SMAX,WHIT,1
/REPLOT!去掉图例
eplot
/REPLOT,RESIZE
/PLOPTS,INFO,0
/PLOPTS,LEG1,0
/PLOPTS,LEG2,0
/PLOPTS,LEG3,0
/PLOPTS,FRAME,0
/PLOPTS,TITLE,0
/PLOPTS,MINM,0
/PLOPTS,FILE,0
/PLOPTS,SPNO,0
/PLOPTS,LOGO,0
/PLOPTS,WINS,0
/PLOPTS,WP,0
/PLOPTS,DATE,0
/TRIAD,OFF
/REPLOT!*
/REPLOT,RESIZE!手动调整角度,在软件界面操作!批量输出
/post1
*do,i,1,10
/SHOW,JPEG,,0
JPEG,QUAL,100,JPEG,ORIENT,HORIZ
JPEG,COLOR,2
JPEG,TMOD,1
/GFILE,800,!
*set,1,i
plnsol,u,sum
/CMAP,_TEMPCMAP_,CMP,,SAVE
/RGB,INDEX,100,100,100,0
/RGB,INDEX,0,0,0,15
/REPLOT
/CMAP,_TEMPCMAP_,CMP
/DELETE,_TEMPCMAP_,CMP
/SHOW,CLOSE
/DEVICE,VECTOR,0!**
enddo








No comments yet