ANSYS软件APDL命令流建模的体会Word文档下载推荐.docx
《ANSYS软件APDL命令流建模的体会Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《ANSYS软件APDL命令流建模的体会Word文档下载推荐.docx(17页珍藏版)》请在冰豆网上搜索。
![ANSYS软件APDL命令流建模的体会Word文档下载推荐.docx](https://file1.bdocx.com/fileroot1/2022-12/1/998550ea-b9fe-4388-9b4d-933a27600324/998550ea-b9fe-4388-9b4d-933a276003241.gif)
va--由面建立体
lsel---在很多很多线中选择你需要的目标线,数量可以无限多……
asel---在很多很多面中选择你需要的目标面,数量也可以无限多……
vsel---在很多很多体中选择你需要的目标体,数量也可以无限多……
latt----给选中的线按材料编号赋属性(前提是首先已定义好材料)
aatt---给选中的面按材料编号赋属性
vatt-----给选中的体按材料编号赋属性
acel---按坐标轴赋体积力,
lmesh,amesh,vmesh---对线、面、体进行剖分
d---在节点上加约束边界
dl---在线上加载约束边界
da----在面上加载约束边界
2、以上只是列出了常见的几个命令,但是ansys提供的命令是很多的,我们不可能都记得,计算记得
,也不知道其有关参数是如何定义的,那不要紧,我们可以与界面操作结合起来学习。
我们先利用界面操
作实现,然后在保存路径里面找到文件“file.log”,在该文件里有该操作等价的apdl命令,那以后我们
就可以使用了。
3、复合命令,很多命令是复合命令,通过几个命令的组合以实现一定的目标,如FITEM、FLST等。
这
里不予以详述,大家可在学习中慢慢体会。
4、ansys提供的apdl语言可像fortain、c语言一样,可以编程,有条件语句、逻辑语句、文件读写等
,但是这些语句语法有个特点,就是在相应的语句前要加“*”,以示其与以上apdl命令的区别。
以上只是一点小小的总结,希望对大家有帮助。
K,NPT,X,Y,Z
Definesakeypoint.
Npt:
Referencenumberforkeypoint.Ifzero,thelowestavailablenumberisassigned
X,y,z:
Keypointlocationintheactivecoordinatesystem(maybeR,θ,ZorR,θ,Φ).IfX=P,graphicalpickingisenabledandallotherfields(includingNPT)areignored(validonlyintheGUI).
A,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,P18
Definesanareabyconnectingkeypoints.
P1,P2,P3,...,P18Listofkeypointsdefiningthearea(18maximumifusingkeyboardentry).Atleast3keypointsmustbeentered.IfP1=P,graphicalpickingisenabledandallremainingargumentsareignored(validonlyintheGUI).
L,P1,P2,NDIV,SPACE,XV1,YV1,ZV1,XV2,YV2,ZV2
Definesalinebetweentwokeypoints.
NDIV:
Numberofelementdivisionswithinthisline.Normallythisfieldisnotused;
specifyingdivisionswithLESIZE,etc.isrecommended.
SPACE:
Spacingratio.Normallythisfieldisnotused,asspecifyingspacingratioswiththeLESIZEcommandisrecommended.Ifpositive,SPACEisthenominalratioofthelastdivisionsize(atP2)tothefirstdivisionsize(atP1).Iftheratioisgreaterthan1,thedivisionsizesincreasefromP1toP2,andiflessthan1,theydecrease.IfSPACEisnegative,then|SPACE|isthenominalratioofthecenterdivisionsizetothoseattheends.
XV1,YV1,ZV1:
Location(intheactivecoordinatesystem)oftheheadofthe"
slopevector"
correspondingtotheslopeattheP1endoftheline.Thetailofthevectorisattheoriginofthecoordinatesystem.
XV2,YV2,ZV2:
Locationoftheheadofthe"
correspondingtotheslopeattheP2endoftheline.
AL,L1,L2,L3,L4,L5,L6,L7,L8,L9,L10
Generatesanareaboundedbypreviouslydefinedlines.
N,NODE,X,Y,Z,THXY,THYZ,THZX
Definesanode.
NODE:
Nodenumbertobeassigned.Apreviouslydefinednodeofthesamenumberwillberedefined.Defaultstothemaximumnodenumberused+1.
FILL,NODE1,NODE2,NFILL,NSTRT,NINC,ITIME,INC,SPACE
Generatesalineofnodesbetweentwoexistingnodes.
ITIME,INC:
Dofill-inoperationatotalofITIMEs,incrementingNODE1,NODE2andNSTRTbyINCeachtimeafterthefirst.ITIMEandINCbothdefaultto1.
NGEN,ITIME,INC,NODE1,NODE2,NINC,DX,DY,DZ,SPACE
(类似:
Agen)
Generatesadditionalnodesfromapatternofnodes.
DothisgenerationoperationatotalofITIMEtimes(包含现有的自身),incrementingallnodesinthegivenpatternbyINCeachtimeafterthefirst.ITIMEmustbe>
1forgenerationtooccur.
NODE1,NODE2,NINC:
GeneratenodesfromthepatternofnodesbeginningwithNODE1toNODE2(defaultstoNODE1)instepsofNINC(defaultsto1).IfNODE1=ALL,NODE2andNINCareignoredandthepatternisallselectednodes[NSEL].IfNODE1=P,graphicalpickingisenabledandallremainingcommandfieldsareignored(validonlyintheGUI).AcomponentnamemayalsobesubstitutedforNODE1(NODE2andNINCareignored).
DX,DY,DZ:
Nodelocationincrementsintheactivecoordinatesystem(DR,Dθ,DZforcylindrical,DR,Dθ,DΦforsphericalortoroidal).
E,I,J,K,L,M,N,O,P
Definesanelementbynodeconnectivity.
I:
Numberofnodeassignedtofirstnodalposition(nodeI).IfI=P,graphicalpickingisenabledandallremainingcommandfieldsareignored(validonlyintheGUI).
J,K,L,M,N,O,P:
Numberassignedtosecond(nodeJ)througheighth(nodeP)nodalposition,ifany.
EGEN,ITIME,NINC,IEL1,IEL2,IEINC,MINC,TINC,RINC,CINC,SINC,DX,DY,DZ
Generateselementsfromanexistingpattern.
ITIME,NINC:
DothisgenerationoperationatotalofITIMEs,incrementingallnodesinthegivenpatternbyNINCeachtimeafterthefirst.ITIMEmustbe>
1ifgenerationistooccur.NINCmaybepositive,zero,ornegative.IfDX,DY,and/orDZisspecified,NINCshouldbesetsoanyexistingnodes(asonNGEN)arenotoverwritten.
IEL1,IEL2,IEINC:
GenerateelementsfromselectedpatternbeginningwithIEL1toIEL2(defaultstoIEL1)instepsofIEINC(defaultsto1).IfIEL1isnegative,IEL2andIEINCareignoredandthelast|IEL1|elements(insequencebackwardfromthemaximumelementnumber)areusedasthepatterntoberepeated.IfIEL1=ALL,IEL2andIEINCareignoredanduseallselectedelements[ESEL]aspatterntoberepeated.IfP1=P,graphicalpickingisenabledandallremainingcommandfieldsareignored(validonlyintheGUI).AcomponentnamemayalsobesubstitutedforIEL1(IEL2andINCareignored).
MINC:
IncrementmaterialnumberofallelementsinthegivenpatternbyMINCeachtimeafterthefirst.
TINC:
IncrementtypenumberbyTINC.
RINC:
IncrementrealconstanttablenumberbyRINC.
CINC:
IncrementelementcoordinatesystemnumberbyCINC.
SINC:
IncrementsectionIDnumberbySINC.
DX,DY,DZ:
Definenodesthatdonotalreadyexistbutareneededbygeneratedelements(asthoughtheNGEN,ITIME,INC,NODE1,,,DX,DY,DZwereissuedbeforeEGEN).Zeroisavalidvalue.Ifblank,DX,DY,andDZareignored.
Note:
Apatternmayconsistofanynumberofpreviouslydefinedelements.TheMAT,TYPE,REAL,ESYS,andSECNUMnumbersofthenewelementsarebasedupontheelementsinthepatternandnotuponthecurrentspecificationsettings.
EDELE,IEL1,IEL2,INC
Deletesselectedelementsfromthemodel.
IEL1,IEL2,INC:
DeleteelementsfromIEL1toIEL2(defaultstoIEL1)instepsofINC(defaultsto1).IfIEL1=ALL,IEL2andINCareignoredandallselectedelements[ESEL]aredeleted.IfIEL1=P,graphicalpickingisenabledandallremainingcommandfieldsareignored(validonlyintheGUI).AcomponentnamemayalsobesubstitutedforIEL1(IEL2andINCareignored).
/ESHAPE,SCALE,KEY
(
显示由实常数或截面定义所确定的线或面(壳体)单元)
Displayselementswithshapesdeterminedfromtherealconstantsorsectiondefinition.
SCALEScalingfactor:
0
—
Usesimpledisplayoflineandareaelements.Thisvalueisthedefault.
1
Userealconstantsorsectiondefinitiontoformasolidshapedisplayoftheapplicableelements.
FAC
Multiplycertainrealconstants,suchasthickness,byFAC(whereFAC>
0.01)andusethemtoformasolidshapedisplayofelements.
KEYCurrentshellthicknesskey:
Usecurrentthicknessinthedisplacedsolidshapedisplayofshellelements(validforSHELL181,SHELL208,SHELL209,andSHELL281).Thisvalueisthedefault.
Useinitialthicknessinthedisplacedsolidshapedisplayofshellelements.
ET,ITYPE,Ename,KOP1,KOP2,KOP3,KOP4,KOP5,KOP6,INOPR
Definesalocalelementtypefromtheelementlibrary.
ITYPE:
Arbitrarylocalelementtypenumber.Defaultsto1+currentmaximum.
Ename:
Elementname(ornumber)asgivenintheelementlibraryinChapter4oftheElementReference.Thenameconsistsofacategoryprefixandauniquenumber,suchasBEAM3.Thecategoryprefixofthename(BEAMfortheexample)maybeomittedbutisdisplayeduponoutputforclarity.IfEname=0,theelementisdefinedasanullelement.
KOP1,...,KOP6:
KEYOPTvalues(1through6)forthiselement,asdescribedintheElementReference.
INOPR:
If1,suppressallelementsolutionprintoutforthiselementtype.
R,NSET,R1,R2,R3,R4,R5,R6
Definestheelementrealconstants.
NSET:
Setidentificationnumber(arbitrary).Ifsameasaprevioussetnumber,setisredefined.Setnumberrelatestothatdefinedwiththeelement[REAL].NotethattheGUIautomaticallysetsthisvalue.
R1,R2,R3,...,R6:
Realconstantvalues(interpretedasarea,momentofinertia,thickness,etc.,asrequiredfortheparticularelementtypeusingthisset),ortablenamesfortabularinputofboundaryconditions.UseRMOREcommandifmorethansixrealconstantspersetaretobeinput.
MP,Lab,MAT,C0,C1,C2,C3,C4
Definesalinearmaterialpropertyasaconstantorafunctionoftemperature.
Lab:
Validmaterialpropertylabel.Applicablelabelsarelistedunder"
MaterialProperties"
intheinputtableforeachelementtypeintheElementReference.SeeLinearMaterialPropertiesoftheElementReferenceformorecompletepropertylabeldefinitions:
EX
Elasticmoduli(alsoEY,EZ).
ALPX
Secantcoefficientsofthermalexpansion(alsoALPY,ALPZ).
CTEX
Instantaneouscoefficientsofthermalexpansion(alsoCTEY,CTEZ).
THSX
Thermalstrain(alsoTHSY,THSZ).
REFT
Referencetemperature.Mustbedefinedasaconstant;
C1throughC4areignored.
PRXY
MajorPoisson'
sratios(alsoPRYZ,PRXZ).
NUXY
MinorPoisson'
sratios(alsoNUYZ,NUXZ).
GXY
Shearmoduli(alsoGYZ,GXZ).
DAMP
Kmatrixmultiplierfordamping.
Ifusedinanexplicitdynamicanalysis