教你如何设定ANSYS路径.docx
- 文档编号:10065650
- 上传时间:2023-02-08
- 格式:DOCX
- 页数:12
- 大小:1.09MB
教你如何设定ANSYS路径.docx
《教你如何设定ANSYS路径.docx》由会员分享,可在线阅读,更多相关《教你如何设定ANSYS路径.docx(12页珍藏版)》请在冰豆网上搜索。
教你如何设定ANSYS路径
关于ANSYS路径
一、看一下GUI,有个感性认识
注意:
下表给出的是路径的基本要素。
路径是通过point来定义的,这些points可以通过拾取节点或pionts在工作面上的坐标或points在总体直角坐标系中的坐标来定义。
在建立模型的时候,不同节点可能属于不同的坐标系。
通过pionts在工作面上的坐标来指定points(这些points可以不在模型上)
通过points在总体直角坐标系中的坐标来定义points
二、例子――使用路径
PathName:
Eightcharacter(maximum)nameassignedbytheuser.
DefiningPoints:
Thesearepointsinspaceornodes.Thepathexistsaslinesegmentsbetweenthesepoints.Youcanhaveupto1000ofthese.
InterpolationPoints:
ANSYScreatesinternalpointsevenlyspacedalongeachlinesegmentinthepath.Itinterpolatesthedatayouaskforatthesepoints.
PathItems:
Thesearethevaluesinterpolatedfromthemodelthatarestoredalongthepath.Eachpatheswithfourdefaultitems:
XG,YG,ZG,andS.ThefirstthreearetheX,Y,Zpositionofeachinterpolationpointandthedistanceofthepointalongthepath,S.Theuserdefinesupto
1.PATH,路径的名字,用于定义路径的point的个数(默认为2个),数据集数dataset(默认为4个,x,y,z坐标,距离S)默认是30个,相邻两个用于定义路径的point之间划分分段数,默认分为20份,没有上限。
path,exmp1,2,8,20
2.PPATH,P(鼠标拾取)/路径点号(pointnumber),节点号(如果节点号指定的话,后面的通过point坐标将被忽略,总体直角坐标系下point的x坐标,point的y坐标,point的z坐标,在前后points之间生成internalpoints时要用的坐标系(如果这个地方什么也不填,将会用当前活动坐标系;如果前后两点的坐标系不同,将会用后面一点的坐标系)
ppath,1,,0,0,.251号point在总体直角坐标系下的坐标;
ppath,2,,0,0,1.252号point在总体直角坐标系下的坐标;1、2point间的InterpolationPoints生成用的是默认的当前活动坐标系
3.PDEF,最多8个字符的PathItemslabel,Items,p,对单元结果是否进行单元间的平均处理(默认要作平均处理)
pdef,ux,u,x
pdef,uy,u,y
pdef,uz,u,z
pdef,usum,u,sum
4./yrange,-4,12
5.plpath,ux,uy,uz,usum
三、其他的一些常用的有关路径的命令
PATH
Thisisthebigmandthatsetsupapath.AlsouseitasPATH,nametochangetheactivepath.
PPATH
Definesthepointsforthepath.
PMAP
Usedtodefinehowtheinterpolationpointsaredistributed.Bydefaulttheyareeven,butwiththismandyoucanputrefinementattheendsofeachlinesegmentorforceapointatadiscontinuity.(Accuratedivisns)
PDEF
Doestheinterpolationfromthemodelofsolutionvalues.
PVECT
Doestheinterpolationfromthemodelofgeometryvaluessuchasthetangent,normal,andradiusfromtheoriginalongthepath.Usedtochangetheactivepath.
PVECT,Oper,LabXR,LabYR,LabZR
Interpolatesasetofitemsontoapath.
Oper
Validoperationsforgeometryoperationsalongapathare:
NORM
—
DefinesaunitnormalvectorateachinterpolationpointinthedirectionofthecrossproductofthetangenttothepathandtheactiveZaxis.Resultingvectorponentsareintheactivecoordinatesystem(whichmustbeCartesian).
TANG
—
Definesaunitvectortangenttothepathateachinterpolationpoint.Vectorponentsareintheactivecoordinatesystem(whichmustbeCartesian).
RADI
—
Definesthepositionvectorofeachinterpolationpointofthepathfromthecenteroftheactivecoordinatesystem(whichmustbeCartesian).
LabXR
Label(8charactersmaximum)assignedtoX-ponentoftheresultingvector.
LabYR
Label(8charactersmaximum)assignedtoY-ponentoftheresultingvector.
LabZR
Label(8charactersmaximum)assignedtoZ-ponentoftheresultingvector.
PADELE
Usedtodeletepaths.PADELEdeletesthecurrentpath,PADELE,ALLdeletesallofthemandPADELE,namedeletesthepath搉ame?
PRANGE
Usedtospecifywhatisactuallyplottedorlisted.
PAGET
PAPUT
(PathArray)
Usedtowriteandreadpathinformationfromarrayvariables.ThisishowyougetyourpathinfointoAPDL.
PASAVE
PARESUPSEL
(pathselect)
Pathinformationdoesnotgetstoredinthe*.dbor*.rst.Ifyouwanttosaveyourdefinitions,thenusethemandstowriteandreadthem.UsePSELtodeterminewhatpathsgetwrittenbeforeyouissuethePASAVEmand.
PCALC
Youcanusethismandtocreatenewpathitemsbydoingmathoperationsonexistingitems.Thisnotonlyincludesyourstandardadd/sub/mult/div/exp/sin/cos/asin/acos/log,butalsotheabilitytofindthederivativesandintegrals!
PLPATH
PlotspathitemsonanANSYSgraph.
PLAGM
Displayspathitemsasaribbonplot.
PRPATH
Printspathitems.
PCROSS
PDOT
Vectoroperations.
PLSECT
PRSECT
Thisisusedtolinearizestressesanddisplaytheresultingvalues.Structuraltypeslovethismand.
/PBC,PATH,1
Usethisvariationofthe/PBCmandtoviewyourpathsinyourplotsofnodes,elementsandresults.
四、路径的其他一些妙用和注意
∙利用路径来得到空间任一点的应力值
opath,pp,2,5,1
oppath,1,,0,0,.35
oppath,2,,0,0,.35!
注意这两点是重合的,呵呵(0,0,0.35)
opdef,sig1,s,1
o*get,s_z_p35,path,,last,sig1
o*msg,,s_z_p35!
输出一个message
oStressatZ(0.35)=%g
∙1)PCALC命令对路径进行各种数学操作(包括积分和微分)
∙2)PAPUT,PAGET命令和数组参数联合
-------------------------------------------------------------------------------------------------------------------------------------------------------
∙ANSYS默认绘制和列表路径(PRPATHandPLPATH)时,以路径曲线上的曲线距离S作为X轴变量或列表的第一列;你可以通过PRANGE命令来指定X轴变量和第1列。
∙只有当你用命令PDEF完成数据的映射后,你才可以对路径进行绘制,保存,等操作。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 如何 设定 ANSYS 路径