TA的每日心情 | 奋斗 2019-5-21 09:06 |
---|
签到天数: 35 天 [LV.5]常住居民I
版主
- 积分
- 0
|
本帖最后由 opticsV 于 2019-5-20 09:11 编辑
打算设计一个复杂的变焦镜头,于是我参考Don的书《Lens Design Automatic and quasi-autonomous computational methods andtechniques》取其中第四十二章:A zoom lens from scratch
http://www.optzmx.com/thread-10710-1-1.html
打开例子文件(我一般喜欢用online tutorial的代码或者书中代码修改,进行修改为:
然后开始运行SYNOPSYS开始查找初始结构,发现速度并不快。优化了半小时后,觉得有问题,但是又找不出毛病,于是发邮件给Don请求帮助。
半小时后得到回复(晚上十点发的,正好美国的上班时间),原文如下:
The user is making a big mistake.He is asking for 14 elements, and that means 2**14 cases, or 16384 in all. Each additional element doubles the running time.
I recommend asking for groups of two instead of three elements to start with,which makes only 1024 cases. Then, when you optimize the best one, use AEI to see where you need more elements. This will run 16x faster. A typical run on ZSEARCH takes 20 minutes,and then the AEI runs improve the lens in a deterministic way. The whole job can usually be done in about two hours.
That's the smart way to use the code.(经典)
The example you sent has other errors. It only asks for four zooms, which is not enough. And it puts the stop on surface 17, which is appropriate for 10 elements but not 14. You want the stop at the last group.
I ran this job with 10 elements, and ZSEARCH took only 12.3minutes. With 10 zooms it will take longer, but probably less than 1/2 hour.
Please study the ZSEARCH examples in the online tutorial. Chapters 38 and 47. This is a superb feature -- but it has to be usedintelligently.
根据邮件回复,重新使用online tutorial的案例,进行初始结构查找,然后使用AEI的功能,大约在2个小时后得到想要的答案。
总结:软件是一个工具,怎样高效的使用软件,始终是一门艺术,需要有设计的经验,也需要合理且正确地使用软件。
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|