如何在workbench中使用/config指令? 20
我需要通過APDL在workbench里殺死超出某一應力的單元。程序如下。
*get,myncmls,active,,solu,ncmls ! cumulative number of load steps
*if,myncmls,gt,0,then ! if this is after the first
cmsel,s,sec! ELEMENT component to be checked
nsle ! nodes on these elements
SELTOL,1.0e-12 ! stay within range below
nsel,r,s,eqv,230,2000000 ! re-select nodes with results above a value <<<
SELTOL ! selection tolerance back to default
*get,numnode,node,,count ! how many nodes with result above?
*if,numnode,gt,0,then
esln ! elements with any node selected
*get,numelem,elem,,count
*if,numelem,gt,0,then
ekill,all
*endif
*endif
allsel
*else
! if first load step, have result written to in-memory database
fini
/config,noeldb,0 ! write results into the database
/solu ! continue with solution
*endif
但是結果是它把所有單元都殺了
仔細一看Solution Information,里面顯示The requested S data is not available. The NSEL command is ignored.,后來再仔細一看之前又寫了一句The /CONFIG,NOELDB command is not valid in a Distributed ANSYS solution. Command is ignored.
請問如何使/config,noeldb指令有效呢??





















幫助文件里關于 /config 的內容中有一段話,是關于分布計算的:
Distributed ANSYS uses the default FSPLIT value, and sets NOELDB = 1 and NORSTGM = 1. The FSPLIT, NOELDB, and NORSTGM options cannot be changed when using Distributed ANSYS.
將 /config 改為 save, , , , all 試試,因為這一 save 命令也會把結果數據存盤的。