Ansys-二次开发手册

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ANSYSProgrammer'sManualTableofContentsANSYSAPDLProgrammer'sGuide1WhatisAPDL?2AddingCommandstotheToolbar3UsingParameters4APDLasaMacroLanguage5InterfacingWiththeGUI6EncryptingMacrosGuidetoInterfacingwithANSYS1FormatofBinaryDataFiles2AccessingBinaryDataFiles3UsingCDREADandCDWRITE4ANSYSGraphicsFileFormatANSYSUIDLProgrammer'sGuide1WhatisUIDL?2ModifyingMenuBlocks3ModifyingFunctionBlocks4CreatingHelpBlocks5AdvancedTopics科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛6ProgrammingExampleAppendixAUIDLCommandDictionaryAppendixBANSYSKeywordsAppendixCANSYSProductCodesAppendixDTestingandTroubleshootingAppendixEAdditionalHelpToolsGuidetoANSYSUserProgrammableFeatures1UsingUserProgrammableFeatures(UPFs)2AccessingtheANSYSDatabase3SubroutinesforUsers'ConvenienceAppendixAExternalCommands科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛ANSYSAPDLProgrammer'sGuideTableofContentsPrefaceConventionsUsedinThisGuideAbouttheProgrammer'sGuideSet1WhatisAPDL?2AddingCommandstotheToolbar2.1ModifyingtheToolbar2.2NestingToolbarAbbreviations3UsingParameters3.1Parameters3.2GuidelinesforParameterNames3.3DefiningParameters3.3.1AssigningParameterValuesDuringExecution3.3.2AssigningParameterValuesAtStartup3.3.3AssigningANSYS-SuppliedValuestoParameters3.3.3.1Usingthe*GETCommand3.3.3.2UsingInlineGetFunctions科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛3.3.4ListingParameters3.4DeletingParameters3.5UsingCharacterParameters3.6SubstitutionofNumericParametricValues3.6.1PreventingSubstitution3.6.2SubstitutionofCharacterParametricValues3.6.2.1ForcedSubstitution3.6.2.2OtherPlacesWhereCharacterParametersAreValid3.6.2.3CharacterParameterRestrictions3.7DynamicSubstitutionofNumericorCharacterParameters3.8ParametricExpressions3.9ParametricFunctions3.10Saving,Resuming,andWritingParameters3.11ArrayParameters3.11.1ArrayParameterBasics3.11.2ArrayParameterExamples3.11.2TABLETypeArrayParameters3.11.3DefiningandListingArrayParameters3.11.4SpecifyingArrayElementValues3.11.4.1SpecifyingIndividualArrayValues科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛3.11.4.2FillingArrayVectors3.11.4.3InteractivelyEditingArrays3.11.4.4FillinganArrayFromaDataFileUsing*VREAD3.11.4.4FillingaTABLEArrayFromaDataFileUsing*TREAD3.11.2InterpolatingValues3.11.4.5RetrievingValuesintoorRestoringArrayParameterValues3.11.4.6ListingArrayParameters3.11.5WritingDataFiles3.11.5.1FormatDataDescriptors3.11.6OperationsAmongArrayParameters3.11.6.1VectorOperations3.11.6.2MatrixOperations3.11.6.3SpecificationCommandsforVectorandMatrixOperations3.11.7PlottingArrayParameterVectors4APDLasaMacroLanguage4.1WhatisanAPDLMacro?4.2CreatingaMacro4.2.1MacroFileNamingConventions4.2.2MacroSearchPath科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛4.2.3CreatingaMacroWithinANSYS4.2.3.1Using*CREATE4.2.3.2Using*CFWRITE4.2.3.3UsingUtilityMenuMacroCreateMacro4.2.4CreatingMacroswithaTextEditor4.2.5UsingMacroLibraryFiles4.3ExecutingMacrosandMacroLibraries4.4LocalVariables4.4.1PassingArgumentstoaMacro4.4.2LocalVariablesWithinMacros4.4.3LocalVariablesOutsideofMacros4.5ControllingProgramFlowinAPDL4.5.1NestedMacros:CallingSubroutinesWithinaMacro4.5.2UnconditionalBranching:Goto4.5.3ConditionalBranching:The*IFCommand4.5.4RepeatingaCommand4.5.5Looping:Do-Loops4.6ControlFunctionsQuickReference4.7Usingthe_STATUSand_RETURNParametersinMacros4.8UsingMacroswithComponentsandAssemblies科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛4.9ReviewingExampleMacros5InterfacingWiththeGUI5.1PromptingUsersForaSingleParameterValue5.2PromptingUsersWithaDialogBox5.3UsingMacrostoDisplayYourOwnMessages5.4CreatingandMaintainingaStatusBarfromaMacro5.5PickingwithinMacros5.6CallingDialogBoxesFromaMacro6EncryptingMacros6.1PreparingaMacroforEncryption6.2CreatinganEncryptedMacro6.3RunninganEncryptedMacroAPDLProgrammer'sGuideIndex科研中国提供下载版权归作者所有科研中国:科研新闻,科研文章,科研资讯,科研会议,科研图片,科研下载,科研搜索,科研网址,科研博客,科研论坛PrefaceConventionsUsedinThisGuideThisguideusesthefollowingtypographicconventionstoindicatevarioustypesofinformation:ConventionIndicatesCOMMANDANSYScommands.Theseareshownasuppercase,boldtext(forexample,K,DDELE,etc.).Intheonlinedocumentation,theseprovidehyperlinkstotheappropriatecommandreferenceinformation.MenuItemMenupaths(sometimesreferredtoasGUIpaths).Theseareshownasboldtextwithmixed-case,separatedbyanglebrackets.Ananglebracketindicatesabranchtoanewmenuitem.path/filename.extFilenames,whichmayormaynotincludedirectorypaths.Theseareshownaslower-case,boldtext,unlesscaseissignificant.ExamplesareshownwiththeUNIXdirectoryseparatorcharacter/(slash);ifyouareusingaMicrosoftWindowssystem,use\(backslash)asyourdirectoryseparatorcharacter.ARGUMENTArgumentsfornumericvalues(suchasVALUE,INC,TIME)incommandsyntax.Theseareshownasupper-caseitalictext.Onsomecommands,non-numericconveniencelabels(forexample,ALLandP)canalsobeentere

1 / 579
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功