一、看一下GUI,有个感性认识
注意:下表给出的是路径的基本要素。路径是通过point来定义的,这些points可以通过拾取节点或pionts在工作面上的坐标或points在总体直角坐标系中的坐标来定义。在建立模型的时候,不同节点可能属于不同的坐标系。
通过pionts在工作面上的坐标来指定points(这些points可以不在模型上)
通过points在总体直角坐标系中的坐标来定义points
二、例子――使用路径
Path Name: Defining Points: Eight character (maximum) name assigned by the user. These are points in space or nodes. The path exists as line segments between these points. You can have up to 1000 of these. Interpolation Points: ANSYS creates internal points evenly spaced along each line segment in the path. It interpolates the data you ask for at these points. Path Items: These are the values interpolated from the model that are stored along the path. Each path comes with four default items: XG, YG, ZG, and S. The first three are the X, Y, Z position of each interpolation point and the distance of the point along the path, S. The user defines up to 1.
PATH, 路径的名字, 用于定义路径的point的个数(默认为2个), 数据集数data set(默认为4个,x,y,z坐标,距离S)默认是30个, 相邻两个用于定义路径的point之间划分分段数,默认分为20份,没有上限。
path,exmp1,2,8,20 2.
PPATH, P(鼠标拾取)/路径点号(point number),节点号(如果节点号指定的话,后面的通过point坐标将被忽略,总体直角坐标系下point的x坐标, point的y坐标, point的z坐标,在前后points之间生成internal points时要用的坐标系(如果这个地方什么也不填,将会用当前活动坐标系;如果前后两点的坐标系不同,将会用后面一点的坐标系)
ppath,1,,0,0,.25 1号point在总体直角坐标系下的坐标;
ppath,2,,0,0,1.25 2号point在总体直角坐标系下的坐标;1、2point间的Interpolation Points生成用的是默认的当前活动坐标系
3. PDEF,最多8个字符的Path Items label , Items , Comp, 对单元结果是否进行单元间的平均处理(默认要作平均处理)
pdef,ux,u,x pdef,uy,u,y pdef,uz,u,z pdef,usum,u,sum
4. 5.
/yrange,-4,12 plpath,ux,uy,uz,usum
三、其他的一些常用的有关路径的命令
PATH PPATH PMAP This is the big command that sets up a path. Also use it as PATH, name to change the active path. Defines the points for the path. Used to define how the interpolation points are distributed. By default they are even, but with this command you can put refinement at the ends of each line segment or force a point at a discontinuity.(Accurate divisns) PDEF PVECT Does the interpolation from the model of solution values. Does the interpolation from the model of geometry values such as the tangent, normal, and radius from the origin along the path. Used to change the active path. PVECT, Oper, LabXR, LabYR, LabZR Interpolates a set of items onto a path. Oper Valid operations for geometry operations along a path are: Defines a unit normal vector at each interpolation point in the direction of the cross product of the tangent to the path and the NORM — active Z axis. Resulting vector components are in the active coordinate system (which must be Cartesian). Defines a unit vector tangent to the path at each interpolation point. Vector components are in TANG — the active coordinate system (which must be Cartesian). Defines the position vector of each interpolation point of the path from the center RADI — of the active coordinate system (which must be Cartesian). LabXR Label (8 characters maximum) assigned to X-component of the resulting vector. LabYR Label (8 characters maximum) assigned to Y-component of the resulting vector. LabZR Label (8 characters maximum) assigned to Z-component of the resulting vector. PADELE Used to delete paths. PADELE deletes the current path, PADELE, ALL deletes all of them and PADELE,name deletes the path 搉ame? PRANGE PAGET PAPUT (Path Array) PASAVE PARESU PSEL (path select) PCALC You can use this command to create new path items by doing math operations on existing items. This not only includes your standard add / sub / mult / div / exp / sin / cos / asin / acos / log, but also the ability to find the derivatives and integrals! PLPATH PLAGM PRPATH PCROSS PDOT PLSECT PRSECT /PBC,PATH,1 Use this variation of the /PBC command to view your paths in your plots of nodes, elements and results. This is used to linearize stresses and display the resulting values. Structural types love this command. Plots path items on an ANSYS graph. Displays path items as a ribbon plot. Prints path items. Vector operations. Path information does not get stored in the *.db or *.rst. If you want to save your definitions, then use the commands to write and read them. Use PSEL to determine what paths get written before you issue the PASAVE command. Used to specify what is actually plotted or listed. Used to write and read path information from array variables. This is how you get your path info into APDL.
四、路径的其他一些妙用和注意
•
利用路径来得到空间任一点的应力值
o o o o o o o
path,pp,2,5,1 ppath,1,,0,0,.35
ppath,2,,0,0,.35 !注意这两点是重合的,呵呵(0,0,0.35) pdef,sig1,s,1
*get,s_z_p35,path,,last,sig1 *msg,,s_z_p35 !输出一个message Stress at Z(0.35) = %g
•
1) PCALC命令 对路径进行各种数学操作(包括积分和微分)
•
2) PAPUT,PAGET命令 和数组参数联合
-------------------------------------------------------------------------------------------------------------------------------------------------------
•
ANSYS默认绘制和列表路径(PRPATH and PLPATH)时, 以路径曲线上的曲线距离S作为X轴变量或列表的第一列;你可以通过PRANGE命令来指定X轴变量和第1列。
•
只有当你用命令PDEF完成数据的映射后,你才可以对路径进行绘制,保存,等操作。
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- haog.cn 版权所有 赣ICP备2024042798号-2
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务