关于通用截面拟合的问题
llilongl
llilongl Lv.2
2012年04月12日 16:54:54
来自于桥梁博士
只看楼主

我采用通用截面拟合的时候,提示语法错误,看了好长时间,也没看出来错误在哪里,请问各位大侠,截面拟合的时候可能出现的错误,主要有哪些?谢谢

我采用通用截面拟合的时候,提示语法错误,看了好长时间,也没看出来错误在哪里,请问各位大侠,截面拟合的时候可能出现的错误,主要有哪些?谢谢
llilongl
2012年04月12日 16:56:23
2楼
不会传附件,模型传不上来,郁闷
回复
llilongl
2012年04月12日 16:59:36
3楼
我的截面坐标定义如下:(单箱双室的)提示第8行错误
Section 0. Region[1].Point[1].x=0;
Section 0. Region[1].Point[1].y=0;
Section 0. Region[1].Point[2].x=0;
Section 0. Region[1].Point[2].y=-H1;
Section 0. Region[1].Point[3].x=B1;
Section 0. Region[1].Point[3].y=-H2+a* B1;
Section 0. Region[1].Point[4].x=B2;
Section 0. Region[1].Point[4].y=a*B2-H3;
Section 0. Region[1].Point[5].x=B2;
Section 0. Region[1].Point[5].y=-H+a* B/2;
Section 0. Region[1].Point[6].x=B-B2;
Section 0. Region[1].Point[6].y=-H+a* B/2;
Section 0. Region[1].Point[7].x=B-B2;
Section 0. Region[1].Point[7].y=a* B-H3;
Section 0. Region[1].Point[8].x=B-B1;
Section 0. Region[1].Point[8].y=a* B-H2;
Section 0. Region[1].Point[9].x=B;
Section 0. Region[1].Point[9].y=a* B-H1;
Section 0. Region[1].Point[10].x=B;
Section 0. Region[1].Point[10].y=a* B;
Section 0. Region[1].fsolid=true;

Section 0. Region[2].Point[1].x=B2+B4;
Section 0. Region[2].Point[1].y=a*(B2+B4)-H4;
Section 0. Region[2].Point[2].x=B2+B4;
Section 0. Region[2].Point[2].y=-H+a* B/2+D2+V;
Section 0. Region[2].Point[3].x=B2+B4+U;
Section 0. Region[2].Point[3].y=-H+a* B/2+D2;
Section 0. Region[2].Point[4].x=B2+B3/2-B4/2-U;
Section 0. Region[2].Point[4].y=-H+a* B/2+D2;
Section 0. Region[2].Point[5].x=B2+B3/2-B4/2;
Section 0. Region[2].Point[5].y=-H+a* B/2+D2+V;
Section 0. Region[2].Point[6].x=B2+B3/2-B4/2;
Section 0. Region[2].Point[6].y=a*( B2+B3/2-B4/2)-H4;
Section 0. Region[2].Point[7].x=B2+B3/2-B4/2-X;
Section 0. Region[2].Point[7].y=a*( B2+B3/2-B4/2-X)-D1;
Section 0. Region[2].Point[8].x= B2+B4+X;
Section 0. Region[2].Point[8].y= a*(B2+B4+X)-D1;
Section 0. Region[2].fsolid=false;




Section 0. Region[3].Point[1].x=B2+B3+B4/2;
Section 0. Region[3].Point[1].y=a*(B2+B3+B4/2)-H4;
Section 0. Region[3].Point[2].x=B2+B3+B4/2;
Section 0. Region[3].Point[2].y=-H+a* B/2+D2+V;
Section 0. Region[3].Point[3].x=B2+B3+B4/2+U;
Section 0. Region[3].Point[3].y=-H+a* B/2+D2;
Section 0. Region[3].Point[4].x=B2+B3-B4-U;
Section 0. Region[3].Point[4].y=-H+a* B/2+D2;
Section 0. Region[3].Point[5].x=B2+B3-B4;
Section 0. Region[3].Point[5].y=-H+a* B/2+D2+V;
Section 0. Region[3].Point[6].x=B2+B3-B4;
Section 0. Region[3].Point[6].y=a*( B2+B3-B4)-H4;
Section 0. Region[3].Point[7].x=B2+B3-B4-X;
Section 0. Region[3].Point[7].y=a*( B2+B3-B4-X) -D1;
Section 0. Region[3].Point[8].x=B2+B3+B4/2+X;
Section 0. Region[3].Point[8].y=a*(B2+B3+B4/2+X)-D1;
Section 0. Region[3].fsolid=false;
回复

相关推荐

APP内打开