Isight4.0集成Patran2008和Nastran2007教程(原创)
Isight-FD与Patran/Nastran的集成困扰了我好长一段时间,最近在hhf_cas的帮助下终于取得了突破性性进展,为了帮助有同样困扰的朋友早日摆脱困扰,我抽了点时间写了个简单的教程。还是用的上次的那个甲板板架优化的例子,为了避免重复,没有包含前期准备的内容,需要了解相关内容的朋友请参考我的另一个帖子——iSIGHT集成Nastran实例教程(独家首发,版权所有) (http://forum.simwe.com/thread-973238-1-1.html)。请下载的朋友尊重作者的劳动成果,不要发布到其它论坛上,谢谢合作!
下面是教程用到的所有文件
支持原创,感谢hylovegj 非常感谢楼主的共享,特别是这样的原创值得鼓励。 楼主不错,呵呵。不知道你后来偏心量的问题解决了没有? hhf_cas 发表于 2011-9-12 10:02 static/image/common/back.gif
楼主不错,呵呵。不知道你后来偏心量的问题解决了没有?
暂时没有,正在解决,飞哥也帮忙弄弄?呵呵! hylovegj 发表于 2011-9-12 10:49 static/image/common/back.gif
暂时没有,正在解决,飞哥也帮忙弄弄?呵呵!
后续我关注一下,有消息告诉我哈 支持原创,谢谢 支持原创~ 谢谢分享,很有用的经验~~ hhf_cas 发表于 2011-9-12 10:02 static/image/common/back.gif
楼主不错,呵呵。不知道你后来偏心量的问题解决了没有?
偏心量 对后来的计算结果影响大吗? einvltq 发表于 2011-9-21 11:31 static/image/common/back.gif
偏心量 对后来的计算结果影响大吗?
应该会有较大影响的,跟板的厚度关系很大 能不能免费呀 一点儿仿真币都没有真可怜 支持原创
本帖最后由 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, float offset(String section)
{
int H,W,t;
float area,static_moment;
String[] size = section.split("[\\D]+");
H = Integer.parseInt(size);
W = Integer.parseInt(size);
t = Integer.parseInt(size);
area = (H-t)*t + W*t;
static_moment = (float) ((H-t)*t*(H-t)/2.0 + W*t*(H-t/2.0));
return static_moment/area;
}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. 顶一下楼主。 yuhu3641 发表于 2011-9-22 10:18 static/image/common/back.gif
能不能免费呀
值得啊,好好 感谢楼主,真是好东西啊 好东西,学习了