ADAMS建模命令(可以通过命令建模,同时通过修改命令种参数可以对模型进行修改)

Adams/View MD Adams R3 (built Mar  6 2008)

Graphics:  OpenGL

Using software OpenGL overlay plane emulation

Enter a command, '?', or 'help'.

//*设置单位及其重力加速度方向*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  !  New Session - Set units, Create a model, and set gravity

default units len=mm mass=kg force=newton

model create model="model_1" fit_to_view=no

part attrib part_name=ground name_vis=off

part modify rigid_body mass_properties part_name=ground material=.materials.steel

force create body gravitational gravity=gravity &

          x_comp=0 y_comp=-9806.65 z_comp=0

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

//*设置坐标系统*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!  SELECT OBJECT

undo begin

default coordinate_system default_coordinate_system=.model_1

undo end

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

interface cmd_window display=toggle

//*创建点—加到ground上*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! CREATE POINT

undo begin

point create point = .model_1.ground.POINT_1 location=-500.0, 150.0, 0.0 

group modify group=SELECT_LIST object=.model_1.ground.POINT_1

undo end

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

//*创建点—加到part上*//

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! CREATE POINT

undo begin

point create point = .model_1.PART_2.POINT_3 location=-250.0, 300.0, 0.0 

group modify group=SELECT_LIST object=.model_1.PART_2.POINT_3

undo end

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

该付费内容为:adams常用命令

包含1个附件 0人购买
默认 最新
当前暂无评论,小编等你评论哦!
点赞 2 评论 收藏
关注