Fluent_Meshing_R16_Module09_Scripting_in_Fluent_Meshing
- 刘*阳
-
1 次阅读
-
0 次下载
-
2020-11-07 22:39:19
文档简介:
©2015ANSYS,Inc.November7,2020116ReleaseModule9:ScriptinginFluentMeshingIntroductiontoANSYSFluentMeshing©2015ANSYS,Inc.November7,20202ScriptinginFluentMeshingWhatyouwilllearnfromthispresentation•CreatejournalswithTUIcommands•Schemetips•Queryfunctions©2015ANSYS,Inc.November7,20203FluentMeshingTUI•FormostGUIoperationsinFluentMeshingthereisanassociatedTUIcommand•TherearemanyoperationsandparameterswhichareintheTUIonly•TonavigatetheTUItheusermustpress“Enter”toseetheoptionsandthenchooseanoptionbytypingthefullcommandorsubmenustringorasubsetofthatstringE.g.FromtheTUItheusercantype“fileread-journal”or“frj”or“filer-j”or“/file/read-journal”etc...=©2015ANSYS,Inc.November7,20204•“q”isusedtogoupalevelintheTUItree,seeexample•TUIcommandsareverypowerfulastheycanbeplacedintoJournalfilesforeasyparametricandautomatedmeshing•FileWriteJournalcanbeusedtorecordjournalsfromtheGUIorTUIcommandsgiveninteractivelyFluentMeshingTUI©2015ANSYS,Inc.November7,20205RecordingTUIJournals•Recordingjournalsisaneasywaytoavoidtypinglengthytextfiles!•ThisexampleshowswhatoutputyougetfromthesameoperationofreadingameshdependingonwhetheryoudoitviatheGUIortheTUIGUIGeneratedJournal(cx-gui-docx-activate-itemMenuBar*ReadSubMenu*BoundaryMesh...)(cx-gui-docx-add-list-itemsSelectFile*List'(“mymesh.msh)#f)(cx-gui-docx-set-text-entrySelectFile*FilterTextmymesh.msh\*)(cx-gui-docx-activate-itemSelectFile*Apply)(cx-gui-docx-activate-itemSelectFile*OK)ClearlythejournalgeneratedviaTUIcommandsiseasiertoreadandmoreconcisebutitisalsonotcontextsensitive,whichisashortcomingoftheGUIgeneratedjournalTUIGeneratedJournal/file/read-mesh“mymesh.msh
评论
发表评论