define find_point_id
;---------------#1号洞k1+670断面左边墙测点---------------
pnt_id_1=gp_near(37.24677,-13.5,238.97220) ;0m处
pnt_id_2=gp_near(33.74677,-13.5,238.97220) ;3.5m处
pnt_id_3=gp_near(30.74677,-13.5,238.97220) ;6.5m处
;---------------#2号洞k1+630断面左拱座测点---------------
pnt_id_4=gp_near(-12.75323,-19.67,278.97220) ;0m处
pnt_id_5=gp_near(-16.25323,-19.67,278.97220) ;3.5m处
pnt_id_6=gp_near(-19.25323,-19.67,278.97220) ;6.5m处
;---------------#2号洞k1+630断面左边墙测点---------------
pnt_id_7=gp_near(-12.75323,-13.5,278.97220) ;0m处
pnt_id_8=gp_near(-16.25323,-13.5,278.97220) ;3.5m处
pnt_id_9=gp_near(-19.25323,-13.5,278.97220) ;6.5m处
end
@find_point_id
hist add unbal
hist add crtime ;监测蠕变时间
hist add gp xdisp id @pnt_id_1 ;#1号洞k1+670断面左边墙测点0m处,监测编号3
hist add gp xdisp id @pnt_id_2 ;#1号洞k1+670断面左边墙测点3.5m处,监测编号4
hist add gp xdisp id @pnt_id_3 ;#1号洞k1+670断面左边墙测点6.5m处,监测编号5
hist add gp xdisp id @pnt_id_4 ;#2号洞k1+630断面左拱座测点0m处,监测编号6
hist add gp xdisp id @pnt_id_5 ;#2号洞k1+630断面左拱座测点3.5m处,监测编号7
hist add gp xdisp id @pnt_id_6 ;#2号洞k1+630断面左拱座测点6.5m处,监测编号8
hist add gp xdisp id @pnt_id_7 ;#2号洞k1+630断面左边墙测点0m处,监测编号9
hist add gp xdisp id @pnt_id_8 ;#2号洞k1+630断面左边墙测点3.5m处,监测编号10
hist add gp xdisp id @pnt_id_9 ;#2号洞k1+630断面左边墙测点6.5m处,监测编号11
以上是我在FLAC3D V5.00中写的一段程序怎末运行都提示 @pnt_id_1这一系列参数有问题
若将其改为
define find_point_id
;---------------#1号洞k1+670断面左边墙测点---------------
pnt_id_1=gp_near(37.24677,-13.5,238.97220) ;0m处
pnt_id_2=gp_near(33.74677,-13.5,238.97220) ;3.5m处
pnt_id_3=gp_near(30.74677,-13.5,238.97220) ;6.5m处
;---------------#2号洞k1+630断面左拱座测点---------------
pnt_id_4=gp_near(-12.75323,-19.67,278.97220) ;0m处
pnt_id_5=gp_near(-16.25323,-19.67,278.97220) ;3.5m处
pnt_id_6=gp_near(-19.25323,-19.67,278.97220) ;6.5m处
;---------------#2号洞k1+630断面左边墙测点---------------
pnt_id_7=gp_near(-12.75323,-13.5,278.97220) ;0m处
pnt_id_8=gp_near(-16.25323,-13.5,278.97220) ;3.5m处
pnt_id_9=gp_near(-19.25323,-13.5,278.97220) ;6.5m处
end
@find_point_id
hist add unbal
hist add crtime ;监测蠕变时间
hist add gp xdisp id 251158 ;#1号洞k1+670断面左边墙测点0m处,监测编号3
hist add gp xdisp id 263575 ;#1号洞k1+670断面左边墙测点3.5m处,监测编号4
hist add gp xdisp id 263579 ;#1号洞k1+670断面左边墙测点6.5m处,监测编号5
hist add gp xdisp id 108027 ;#2号洞k1+630断面左拱座测点0m处,监测编号6
hist add gp xdisp id 150165 ;#2号洞k1+630断面左拱座测点3.5m处,监测编号7
hist add gp xdisp id 151926 ;#2号洞k1+630断面左拱座测点6.5m处,监测编号8
hist add gp xdisp id 248273 ;#2号洞k1+630断面左边墙测点0m处,监测编号9
hist add gp xdisp id 259312 ;#2号洞k1+630断面左边墙测点3.5m处,监测编号10
hist add gp xdisp id 259316 ;#2号洞k1+630断面左边墙测点6.5m处,监测编号11
其中的
pnt_id_1=251158
pnt_id_2=263575
pnt_id_3=263579
pnt_id_4=108027
pnt_id_5=150165
pnt_id_6=151926
pnt_id_7=248273
pnt_id_8=259312
pnt_id_9=259316
就能够正确的运行出结果,请问是什么原因?难道是 hist add gp xdis id .... ,后面只能是准确的数字,而不能是一个数值变量吗?