iCAx开思网

标题: 优化设计的练习题 [打印本页]

作者: o-o    时间: 2002-12-25 16:00
标题: 优化设计的练习题
哪位将https://www.icax.org/viewthread. ... %3D1&page=#pid=&age=-1
的catia做法总结出来并说明清楚,给他加2分!::y::y8D
作者: ππ神醫    时间: 2002-12-25 20:15
這個很容易的,給個提示,要用到 "產品最佳化" 的模組,至於面積要怎麼出來應該不用我說了吧!
  
各位加油哦!
作者: ug18    时间: 2002-12-26 22:06
先建一个半径100mm的球
作者: ug18    时间: 2002-12-26 22:07
再复制一个,需要两个
作者: ug18    时间: 2002-12-26 22:11
将第二个球的半径参数化为第一个球的半径,使用Edit Formula
作者: ug18    时间: 2002-12-26 22:14
使用Mearsuren Item命令获得第一球的表面积,保留参数
作者: ug18    时间: 2002-12-26 22:18
在xy,yz,xz任意一个plane上建一个正五边行的sketch.
不要说你不会做!这个sketch的尺寸是关键值,我使用直径
作者: ug18    时间: 2002-12-26 22:20
拉伸五边型sketch
作者: ug18    时间: 2002-12-26 22:23
使用split命令,修建第二个球,的到球面上的正五边型
作者: ug18    时间: 2002-12-26 22:25
使用Mearsuren Item命令获得球面上的正五边型表面积,保留参数
作者: ug18    时间: 2002-12-26 22:31
设置tool->option->infrastructure...-&gtart inf...,后面看不见了,不知道是什么原因
选display,将Parameter和Relation打上钩
  
自己看吧
作者: ug18    时间: 2002-12-26 22:36
选择start->Knowledgeware-&gtroduct Knowledgeware Optimizer
选择Tool->Formula
建一个新参数 Area 1,类型为area
作者: ug18    时间: 2002-12-26 22:40
将新参数 Area 1公式化,将它设置为大球面积的1/22
作者: ug18    时间: 2002-12-26 22:44
点Optimize命令,弹出Optimization对话框
作者: ug18    时间: 2002-12-26 22:47
在Optimized Parameter中选择需要优化的参数,我们选择用Mearsuren Item命令获得球面上正五边型表面积.
作者: ug18    时间: 2002-12-26 22:49
Optimization type中选择Target Value,
Target Value的值设置为5711.987,就是1/22的球面积
作者: ug18    时间: 2002-12-26 22:55
选择edit list,就是设置变量,选择五边型sketch的Diameter
作者: ug18    时间: 2002-12-26 22:58
选择edit ranges and step..
设置变量范围(47到48之间)和每步的增量值(尽量取小),
作者: ug18    时间: 2002-12-26 23:03
在Save Optimization date,点Run optimization按钮,输入文件名保存.
出现运行界面
作者: ug18    时间: 2002-12-26 23:06
运行结束后,可以点Show curves,查看优化曲线
作者: ug18    时间: 2002-12-26 23:09
保存的数据文件*.xls,是excel文件,里面是每步的数据,
要获得精确的数值,在algorithm中选择slow,
以下来之online:
  
To perform an optimization, you can use one of the algorithms below:
  
Gradient based algorithm  
This algorithm should be used first to perform a local search. Based on the calculation of a local slope of the objective function this algorithm will use a parabolic approximation and jump to its minimum or use an iterated exponential step descent in the direction of the minimum.
If the properties of the objective function are known (continuous, differentiable at all point), then the gradient can be used straight on. It is usually faster than the Simulated Annealing algorithm.
  
Simulated Annealing based algorithm  
This algorithm is a global stochastic search algorithm hence two successive runs of this method might not lead to the same result. It performs a global search that evolves towards local searches as the time goes on.  
It is usually used to explore non-linear, multi-modal functions. These functions can also be discontinuous.
If the shape of the objective function is unknown, it is recommended to start with a Simulated Annealing then refine the results with a gradient descent. This approach is slow but works for a larger amount of functions.  
  
  A good way to quickly reach a solution when using the Simulated Annealing consists in specifying a low number of consecutive iterations without improvements (15 or 20).
作者: ug18    时间: 2002-12-26 23:10
catiaV5R10文件
作者: ug18    时间: 2002-12-26 23:14
用个问题,excel文件里的best value是5711.99,
而计算是显示的best value是5711.989
还有用不通的算法,获得的best value也有微小的区别,
另外还有其它参数,大家可以看online,有助于加快分析速度,减少时间.
  
累死我了,还是做做快,说明慢!!!!!!!!!!!!!!!!!!!!!!!!!!1111
作者: o-o    时间: 2002-12-27 08:50
很好!
作者: ππ神醫    时间: 2002-12-27 08:52
做的很好哦!
值有微小差異,很正常,因為是用不同的迫近方式計算的!
作者: junejune    时间: 2002-12-27 11:28
我做了一个,但无法优化出结果。劳烦各位看看。
作者: ug18    时间: 2002-12-27 11:47
有没有加分呀?
  
加了2分啊
作者: junejune    时间: 2002-12-27 15:07
研究很久,还是找不出原因,?????
今天没空看了,下次来时看看
作者: ug18    时间: 2002-12-27 19:34
junejune wrote:
研究很久,还是找不出原因,?????  
  今天没空看了,下次来时看看

  
你把要被优化的参数搞错了,Area.1已经是1/22的球面,还要求它干吗?
应该选MeasureSurface4\Area
作者: icdrs    时间: 2002-12-29 14:43
我的V5R7可以打开V5R10的文件吗?如不能,请大哥发个R7的文件研究,谢谢!
作者: ug18    时间: 2002-12-29 18:34
我试了一下转换成V5R7什么也没有
作者: pp868    时间: 2003-4-26 22:49
顶,很好!
作者: michaelan    时间: 2003-4-29 07:57
ug18 wrote:
我试了一下转换成V5R7什么也没有

老兄,我照你的教程做了,又学会了一招,不胜感激!不过我搞不明白那个constraints(图中红色部分)是干什么的?如何用?还望你和各位班竹指点!
作者: michaelan    时间: 2003-4-29 07:58
michaelan wrote:
   
  老兄,我照你的教程做了,又学会了一招,不胜感激!不过我搞不明白那个constraints(图中红色部分)是干什么的?如何用?还望你和各位班竹指点!

就是这部分!
作者: ug18    时间: 2003-4-29 11:55
我也不知道,正在研究中
作者: michaelan    时间: 2003-4-29 13:33
ug18 wrote:
我也不知道,正在研究中

晕!前面一个知道怎么用的,后一个就不知道了!!
作者: yingda    时间: 2003-4-30 10:43
ug18 wrote:
在xy,yz,xz任意一个plane上建一个正五边行的sketch.  
  不要说你不会做!这个sketch的尺寸是关键值,我使用直径

,我就是不会画五边形啊,帮个忙讲解下如何画多边形好吗?
作者: ππ神醫    时间: 2003-4-30 11:14
Constrain 是限制 在最佳化時指定某些特定的尺寸不滿足某些特定的要求,用法與 chesk 的用法相同,在最佳化的過程中會以這些限制為优先變化的尺寸!
作者: ππ神醫    时间: 2003-4-30 11:18
yingda wrote:
   
  ,我就是不会画五边形啊,帮个忙讲解下如何画多边形好吗?

  
多邊形要在草圖中完成比較快哦!加上相關的限制就可以了,若是要在 GSD 中就只能在內接多邊形,方法如下!
1.建立圖
2.等份點,內定的第一點它的向量為 x=1,y=2,z=3 修改到自已想要的方向上即可!
3.以多邊形指令接起來就可以了
作者: wxysunll    时间: 2008-7-23 08:31
看看看!!
作者: yangzhenkun    时间: 2010-3-29 22:39
看看 学习下




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3