Abaqus常用命令

Abaqus 切换索引和坐标查找

1.将rpy以及rec恢复文件的格式以findAt()+坐标值的方式输出。

1
session.journalOptions.setValues(replayGeometry=COORDINATE,recoverGeometry= COORDINATE)

2.以元素的实际索引号作出对象的索引方式

1
session.journalOptions.setValues(replayGeometry=INDEX,recoverGeometry=INDEX)

自定义视角

1
2
3
4
5
6
7
8
9
10
session.viewports['Viewport: 1'].view.setValues(
nearPlane=200,
farPlane=400,
width=200,
height=200,
cameraPosition=(22.3476,55.09289,76),
cameraUpVector=(-1,0, 0),
cameraTarget=(22.3476,55.09289,-300),
viewOffsetX=0.738147,
viewOffsetY=-0.799152)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
nearPlane
A Float specifying the distance from the camera to the near clipping plane. Possible values are nearPlane>0.0.

farPlane
A Float specifying the distance from the camera to the far clipping plane when farPlaneMode =SPECIFY. Possible values are farPlane>nearPlane.

width
A Float specifying the width of the front clipping plane. Possible values are width>0.0.

height
A Float specifying the height of the front clipping plane. Possible values are height>0.0.

cameraPosition
A sequence of three Floats specifying the camera position.

cameraUpVector
A sequence of three Floats specifying the camera's up vector (the screen's positive Y-axis). The initial value is (0,0,0).

cameraTarget
A sequence of three Floats specifying the center of the scene.

viewOffsetX
A Float specifying the amount to pan the model in the screen X-direction as a fraction of the viewport width. A positive value pans the model to the right. A negative value pans the model to the left.
TheviewOffsetX and viewOffsetY arguments allow you to pan the view without changing the position of the camera or the target (cameraPosition and cameraTarget arguments to the View method). The resulting change in the view allows you to pan a perspective display without producing an apparent rotation of the model.

viewOffsetY
A Float specifying the amount to pan the model in the screen Y-direction as a fraction of the viewport height. A positive value pans the model upward. A negative value pans the model downward.