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

[ADAMS CAR, Chassis, Engine] 轮胎添加问题

[复制链接]
发表于 2013-7-12 15:02:51 | 显示全部楼层 |阅读模式 来自 天津
我是按照李军那本书建模,添加轮胎和地面时出现了问题,在网上找到下面一段话,但是找他说的做了,点确定时,出现了错误,希望哪位好心人指点迷津。
  
“Adams2005版的轮胎和路面的添加最容易出现问题,因为05版的添加界面和2003版有较大差异。首先将轮胎文件mdi_fiala01.tir(注意是.tir,而不是李军书中的.tpf,因为要添加的是fiala轮胎而不是UA轮胎,在安装路径:\MSC.Software\MSC.ADAMS\2005r2\achassis\examples\tir下)和路面文件mdi_2d_flat.rdf(在安装路径:\MSC.Software\MSC.ADAMS\2005r2\achassis\examples\rdf下)拷贝到你的工作目录下。然后在左边工具栏中点选力元“Special Force:Tire”,填入轮胎质量和转动惯量(同李军书),在“Tire Property File”中添加工作目录下轮胎文件的工作路径(注意路径中不能有汉字),然后在Location后输入添加轮胎所在悬架处的Maker点坐标,如(-1335.0, 375.0, 825.0),最后在Road空栏处点击右建,选择“vpg_road/create”进入路面添加界面。
  3.路面的添加。在此界面,“Part”选择Ground,“Property File”后添加工作目录中路面文件的路径(路径中不能有汉字),在“Location”中填写(0,0,0)坐标,但若没有修改轮胎文件中的轮胎半径,添加成功后,车轮和路面之间存在一定距离,因此我把此坐标改为(0.0, 85.0, 0.0),具体多少根据个人轮胎半径大小而异。最后Eular Angle为(0.0, 270.0, 0.0),如果改为(0.0,0.0,0.0)就是将路面反转,仿真时小车会掉下来(请在仿真时及时修改)。逐次点击OK后轮胎和路面就建立成功了。”

出现的错误:
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 30, character 23 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Reference_Frame was found because 'ground' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  relative_to=.aa.ground
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 37, character 25 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Reference_Frame was found because 'ground' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  relative_to = .aa.ground
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 40, character 45 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Marker was found because '_tmproad_ref' does not exist beneath '.MODEL_1.ground'.
ERROR:   The command was not executed.
ERROR:   &>  marker_name = .MODEL_1.ground._tmproad_ref &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 45, character 46 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Variable was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   >> variable set variable_name=.aa.lm.ref_marker &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 47, character 54 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Variable was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   >> variable set variable_name=.aa.lm.road_property_file &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 49, character 49 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Variable was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   >> variable set variable_name=.aa.lm.road_graphics &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 53, character 21 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No UDE_Instance was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  instance_name=.aa.lm
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 56, character 21 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No object was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  entity_name=.aa.lm &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 64, character 43 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Marker was found because '_tmproad_ref' does not exist beneath '.MODEL_1.ground'.
ERROR:   The command was not executed.
ERROR:   &>  marker_name=.MODEL_1.ground._tmproad_ref &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 30, character 23 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Reference_Frame was found because 'ground' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  relative_to=.aa.ground
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 37, character 25 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Reference_Frame was found because 'ground' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  relative_to = .aa.ground
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 40, character 45 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Marker was found because '_tmproad_ref' does not exist beneath '.MODEL_1.ground'.
ERROR:   The command was not executed.
ERROR:   &>  marker_name = .MODEL_1.ground._tmproad_ref &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 45, character 46 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Variable was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   >> variable set variable_name=.aa.lm.ref_marker &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 47, character 54 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Variable was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   >> variable set variable_name=.aa.lm.road_property_file &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 49, character 49 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Variable was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   >> variable set variable_name=.aa.lm.road_graphics &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 53, character 21 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No UDE_Instance was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  instance_name=.aa.lm
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 56, character 21 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No object was found because 'lm' does not exist beneath '.aa'.
ERROR:   The command was not executed.
ERROR:   &>  entity_name=.aa.lm &
ERROR:   ---------------------------------------------------------------------
ERROR:   ---------------------------------------------------------------------
ERROR:   Error detected on line number 64, character 43 of the macro '.MDI.Forces.vpg_road.road_create'.
ERROR:   No Marker was found because '_tmproad_ref' does not exist beneath '.MODEL_1.ground'.
ERROR:   The command was not executed.
ERROR:   &>  marker_name=.MODEL_1.ground._tmproad_ref &
ERROR:   ---------------------------------------------------------------------
 楼主| 发表于 2013-7-12 15:04:21 | 显示全部楼层 来自 天津
Simdroid开发平台
希望哪位做过的,给点建议,都快急疯了!!!
回复 不支持

使用道具 举报

发表于 2013-7-12 19:01:02 | 显示全部楼层 来自 湖南长沙
似乎是你的ground有什么问题?你检查一下你的路面的名字是不是叫“ground”,如果不是重新命名为ground

评分

1

查看全部评分

回复 不支持

使用道具 举报

 楼主| 发表于 2013-7-15 09:16:58 | 显示全部楼层 来自 天津
yygao56 发表于 2013-7-12 19:01
似乎是你的ground有什么问题?你检查一下你的路面的名字是不是叫“ground”,如果不是重新命名为ground ...

还请说一下路面名字重名命名的详细步骤,见谅,新手。
回复 不支持

使用道具 举报

发表于 2013-7-15 18:34:06 | 显示全部楼层 来自 河北邯郸
   请在论坛上查一下我以前发的《ADAMS2005r2-View 创建车辆轮胎路面》,可以参考。
现将其中部分内容-路面创建 用附件上传。供参考。参见附件(6幅截图)。

本帖子中包含更多资源

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

×

评分

1

查看全部评分

回复 不支持

使用道具 举报

 楼主| 发表于 2013-7-15 21:28:34 | 显示全部楼层 来自 天津
yqsh 发表于 2013-7-15 18:34
请在论坛上查一下我以前发的《ADAMS2005r2-View 创建车辆轮胎路面》,可以参考。
现将其中部分内容-路面 ...

非常感谢,这个问题已经解决了
回复 不支持

使用道具 举报

发表于 2013-7-15 23:29:23 | 显示全部楼层 来自 清华大学
天之澜 发表于 2013-7-15 21:28
非常感谢,这个问题已经解决了

既然别人帮你解决了 能否将你的帖子修改一下 把解决的方法告诉大家 ?
回复 不支持

使用道具 举报

 楼主| 发表于 2013-7-16 09:11:09 | 显示全部楼层 来自 天津
轮胎添加问题,按照网上的做法,一步步来没有问题。我的之所以出现问题,看错误提示,其实是创建地面时,在PART项中“地”的名称与模型里的不同,将模型中的地的名称可以改成“ground”,就没问题了。
回复 不支持

使用道具 举报

发表于 2013-7-16 17:33:11 | 显示全部楼层 来自 湖南长沙
天之澜 发表于 2013-7-16 09:11
轮胎添加问题,按照网上的做法,一步步来没有问题。我的之所以出现问题,看错误提示,其实是创建地面时,在 ...

果然不出我所料。。。我早期也遇到过这样的问题
回复 不支持

使用道具 举报

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

本版积分规则

Simapps系列直播

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

GMT+8, 2024-11-2 17:39 , Processed in 0.036533 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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