找回密码
 注册
Simdroid-非首页
查看: 2178|回复: 51

[iSIGHT] Isight4.0集成Patran2008和Nastran2007教程(原创)

[复制链接]
发表于 2011-9-12 02:09:28 | 显示全部楼层 |阅读模式 来自 浙江杭州
Isight-FD与Patran/Nastran的集成困扰了我好长一段时间,最近在hhf_cas的帮助下终于取得了突破性性进展,为了帮助有同样困扰的朋友早日摆脱困扰,我抽了点时间写了个简单的教程。还是用的上次的那个甲板板架优化的例子,为了避免重复,没有包含前期准备的内容,需要了解相关内容的朋友请参考我的另一个帖子——iSIGHT集成Nastran实例教程(独家首发,版权所有) (http://forum.simwe.com/thread-973238-1-1.html)。
请下载的朋友尊重作者的劳动成果,不要发布到其它论坛上,谢谢合作!


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×

评分

2

查看全部评分

 楼主| 发表于 2011-9-12 02:13:20 | 显示全部楼层 来自 浙江杭州
Simdroid开发平台
下面是教程用到的所有文件



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

发表于 2011-9-12 08:38:15 | 显示全部楼层 来自 江苏镇江
支持原创,感谢hylovegj
回复 不支持

使用道具 举报

发表于 2011-9-12 09:03:38 | 显示全部楼层 来自 湖南长沙
非常感谢楼主的共享,特别是这样的原创值得鼓励。
回复 不支持

使用道具 举报

发表于 2011-9-12 10:02:21 | 显示全部楼层 来自 吉林松原
楼主不错,呵呵。不知道你后来偏心量的问题解决了没有?
回复 不支持

使用道具 举报

 楼主| 发表于 2011-9-12 10:49:43 | 显示全部楼层 来自 浙江杭州
hhf_cas 发表于 2011-9-12 10:02
楼主不错,呵呵。不知道你后来偏心量的问题解决了没有?

暂时没有,正在解决,飞哥也帮忙弄弄?呵呵!
回复 不支持

使用道具 举报

发表于 2011-9-12 11:14:17 | 显示全部楼层 来自 吉林松原
hylovegj 发表于 2011-9-12 10:49
暂时没有,正在解决,飞哥也帮忙弄弄?呵呵!

后续我关注一下,有消息告诉我哈
回复 不支持

使用道具 举报

发表于 2011-9-13 13:36:51 | 显示全部楼层 来自 天津
支持原创,谢谢
回复 不支持

使用道具 举报

发表于 2011-9-20 16:54:54 | 显示全部楼层 来自 北京
支持原创~
回复 不支持

使用道具 举报

发表于 2011-9-21 00:07:45 | 显示全部楼层 来自 北京
谢谢分享,很有用的经验~~
回复 不支持

使用道具 举报

发表于 2011-9-21 11:31:04 | 显示全部楼层 来自 中国
hhf_cas 发表于 2011-9-12 10:02
楼主不错,呵呵。不知道你后来偏心量的问题解决了没有?

偏心量 对后来的计算结果影响大吗?
回复 不支持

使用道具 举报

发表于 2011-9-21 14:32:38 | 显示全部楼层 来自 吉林长春
einvltq 发表于 2011-9-21 11:31
偏心量 对后来的计算结果影响大吗?

应该会有较大影响的,跟板的厚度关系很大
回复 不支持

使用道具 举报

发表于 2011-9-22 10:18:33 | 显示全部楼层 来自 陕西西安
能不能免费呀
回复 不支持

使用道具 举报

发表于 2011-9-22 10:19:07 | 显示全部楼层 来自 陕西西安
一点儿仿真币都没有真可怜
回复 不支持

使用道具 举报

发表于 2011-9-22 11:24:45 | 显示全部楼层 来自 北京
支持原创
回复 不支持

使用道具 举报

 楼主| 发表于 2011-9-27 19:13:35 | 显示全部楼层 来自 浙江杭州
本帖最后由 hylovegj 于 2011-9-27 21:22 编辑

Guys,I think I have solved the problem of updating the offset of beam elements,all you need to do is to use the "Insert Java Statements"parsing tool to create a method(in other programming languages it is called function) to calculate the offset,and then use the "Insert Calculation"parsing tool to call the method.The source code of the method is as follows,
  1. float offset(String section)
  2.     {
  3.        int H,W,t;
  4.        float area,static_moment;

  5.        String[] size = section.split("[\\D]+");
  6.        H = Integer.parseInt(size[1]);
  7.        W = Integer.parseInt(size[2]);
  8.        t = Integer.parseInt(size[3]);
  9.        area = (H-t)*t + W*t;
  10.        static_moment = (float) ((H-t)*t*(H-t)/2.0 + W*t*(H-t/2.0));
  11.        return static_moment/area;
  12.     }
复制代码
In the method,I use the beam section specification,for example,"L125*80*8",as the input parameter.In the method body,first we extract the substrings standing for the sizes of the beam section,they are,as with the previous example,"125","80"and"8";then we transform the numerical substrings to their corresponding numerical values,that is,125,80 and 8;at last we calculate the offset and return it.
Please pay attension to the use of regular expresion and forced type conversion.
回复 不支持

使用道具 举报

发表于 2011-9-29 15:21:46 | 显示全部楼层 来自 湖北武汉
顶一下楼主。
回复 不支持

使用道具 举报

发表于 2011-12-7 16:09:45 | 显示全部楼层 来自 江苏镇江
yuhu3641 发表于 2011-9-22 10:18
能不能免费呀

值得啊,好好
回复 不支持

使用道具 举报

发表于 2011-12-30 18:59:57 | 显示全部楼层 来自 河南洛阳
感谢楼主,真是好东西啊
回复 不支持

使用道具 举报

发表于 2012-3-12 23:28:53 | 显示全部楼层 来自 浙江杭州
好东西,学习了
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-3-29 13:26 , Processed in 0.058852 second(s), 14 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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