声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1088|回复: 0

[结构分析] [求助]关于拓扑优化的一个警告

[复制链接]
发表于 2008-8-30 20:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
从ANSYS的帮助文件里提取了如下命令流:
/TITLE, A 2-D, multiple compliance minimization problem subjected to volume constraint
                       
/PREP7  
BLC4,0,0,3,1          ! Create solid model (3 x 1 rectangle)  
ET,1,82               ! Use 2-D solids. Type 1 is optimized
ET,2,82               ! Type 2 is not optimized.
MP,EX,1,118E9         ! Linear isotropic, material
MP,NUXY,1,0.3
ESIZE,0.05            ! Use a relatively fine mesh density
TYPE,1
AMESH,ALL             ! Free, rectangular-element meshing
NSEL,S,LOC,X,0,0.4    ! Select region not to be optimized
ESLN
TYPE,2
EMODIF,ALL             ! Define type 2 elements
ALLSEL     
NSEL,S,LOC,X,0
D,ALL,ALL,0           ! Fixed at X = 0
NSEL,S,LOC,X,3
D,ALL,ALL,0           ! Fixed at X = 3
FORCE = 1000          ! Value for applied load
NSEL,S,LOC,X,1
NSEL,R,LOC,Y,1
F,ALL,FY,FORCE        ! Define first load case
ALLSEL
LSWRITE,1             ! Write first load case
FDEL,ALL
NSEL,S,LOC,X,2
NSEL,R,LOC,Y,0
F,ALL,FY,-FORCE       ! Define second load case
ALLSEL
LSWRITE,2             ! Write second load case
FDEL,ALL
TOCOMP,MCOMP,MULTIPLE,2  ! Define multiple compliance function
                         ! "MCOMP" for topological optimization
TOVAR,MCOMP,OBJ          ! Define "MCOMP" as topological objective
TOVAR,VOLUME,CON,,50     ! Define "VOLUME" as topological constraint; 50 percent
                           volume reduction
TOTYPE,OC                ! Specify solution approach
TODEF                    ! Initialize topological opt.
/SHOW,topo,grph          ! Put graphics in a file (remove if interactive)
/DSCALE,,OFF
/CONTOUR,,2
TOLOOP,12,1              ! Perform no more than 12 iterations
FINISH
TOGRAPH,OBJ              ! Graph final objective (compliance) history
TOGRAPH,CON              ! Graph final constraint (volume) history
TOPRINT,OBJ              ! Print final objective (compliance) history
TOPRINT,CON              ! Print final constraint (volume) history
*GET,TITER,TOPO,,ITER        ! Get iteration counter
*GET,OCMP,TOPO,TITER-1,TOHO  ! Get final compliance value

运行完后如何显示密度云图?

另:警告
Since RSYS,SOLU  is  in  effect,
the  PLNS command will result in a FULL graphics plot
是什么意思?

谢谢!

本帖被以下淘专辑推荐:

回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-4-29 04:35 , Processed in 0.068969 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表