欢迎来到天天文库
浏览记录
ID:37576498
大小:423.54 KB
页数:66页
时间:2019-05-25
《Adams_solver》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1AboutAdams/SolverAboutAdams/Solver2Adams/SolverConventionsThroughoutthehelp,thefollowingtypestylesareusedasvisualcues.Style:Indicates:NameAstringthatisalegalnameforuseininterfaceproducts.Thefollowingcriteriamustbemetinorderforalegalstringtobedefined:•Thenamemayonlycontainalphanumericcharacters
2、(upperandlowercase).•Nowhitespaceinthename.•Nospecialcharactersinthename(e.g.@#$%^&*).Theexceptiontothisruleistheunderscore'_'character.•Namesmustbeginwithanalphacharacteroranunderscore.(e.g.4barisnotlegal,while_4barislegal).xArgumentsinAdamssubroutinesandfunctionsiParametersthatfollowastatemen
3、t,command,orargument:i=Integerr=Realc=Characterstring(alphanumeric)e=Functionexpressionv=Varyingtype(integer,real,oralphanumeric)id=Identifierx,y,z=Cartesiancoordinate(real)a,b,c=Angularcoordinate(real)PARTMinimumabbreviationsofstatements,commands,andarguments{}Selectionyoucanmakefromaseriesofi
4、tems[]Optionalselectionyoucanmakefromaseriesofitems[[]]CombinedselectionyoucanmakefromaseriesofitemsATwo-dimensionalmatricesaOne-dimensionalmatricesRVectors1xˆUnitvectors3AboutAdams/SolverBestPracticesThissectioncontainsgeneraltipsonadvancedmodelingwithAdams/Solver.•Discontinuities•Units•DummyP
5、arts•Joints•Motions•Forces•Contacts•Subroutines•Simulation/Integrators•Debugging•MiscellaneousTipsDiscontinuities•Discontinuitiesaretherootcauseofmostsimulationproblems.Avoidthem.•Examplesofdiscontinuousfunctions:MIN,MAX,DIM,MOD,IF.•Discontinuousdisplacementsandvelocitiescausecorrectorandintegr
6、atorfailures.•Discontinuousaccelerationscauseintegrationfailures(requiresinfiniteforce).•Discontinuousforcescausecorrectorfailures.Units•Widelyseparatedmagnitudesinamatrixcancausenumericdifficulties(conditioningproblems).•Becarefulwhenusinginconsistentunits.•Chooseunitssothatmodelstates(displac
7、ementsandvelocities)arereasonablevalues.Forexample,choosing"mm"fordisplacementsofarocketwhichtravelsthousandsofkilometersisapoorchoice.•Chooseunitssothatstiffnessvaluesarenotverylarge.•Choosetimeunitsappropriatetothephenomenabeing
此文档下载收益归作者所有