




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Chapter 2Introduction to Workbenchand CFX WorkflowIntroduction to CFX The Workbench Environment For most situations the Workbench GUI is divided into 2 primary sections (there are other optional sections well see in a moment):The ToolboxThe Project SchematicThe Toolbox The toolbox contains 4 subgrou
2、ps: Analysis systems: Predefined templates that can be placed in the schematic. Component systems: Various applications that can be accessed to build, or expand, analysis systems. Custom Systems: Predefined analysis systems for coupled applications (FSI, thermal-stress, etc.). Users can also create
3、their own predefined systems. Design Exploration: Parametric management and optimization tools.The Toolbox The systems and components displayed in the toolbox will depend on the installed products. Using the check boxes in the “View All / Customize” window, the items displayed in the toolbox can be
4、toggled on or off. The toolbox customization window is normally left closed when not in use.The Project Schematic The Workbench project schematic is a graphical representation of the workflow defining a system or group of systems. The workflow in the project schematic is always left to right. There
5、are currently several applications which are native to Workbench, meaning they run entirely in the Workbench window: Project Schematic, Engineering Data and Design Exploration Non-native applications (called data-integrated) run in their own window: Mechanical (formerly Simulation), Mechanical APDL
6、(formerly ANSYS), ANSYS Fluent, ANSYS CFX, Etc . . . Blocks of cells can be deleted by RMB menu selection.The Project Schematic In this example a Static Structural analysis type is selected for the project schematic. From the toolbox the selection can be dragged and dropped onto the schematic or sim
7、ply double clicked.The Project Schematic In the example shown a structural system is dragged and dropped onto a thermal system at the Model cell (A4). Before completing the operation notice there are a number of optional “drop” locations that will provide various types of linkage between systems (co
8、ntinued next page). By dropping applications and/or analyses into various locations in the schematic, an overall analysis project is defined. “Connectors” indicate the level of collaboration between systems.The Project Schematic By completing the operation from the previous page, notice the linkage
9、here is only at the Model level and above. In this case there would be no thermal/structural coupling. Notice too each system block is given an alphabetic designation (A, B, C, etc.).The Project Schematic By dropping the structural system at the “Solution” level we obtain a structural system that is
10、 coupled to the thermal solution.Notice, the candidate “drop” location indicates data will be shared from fields A2 to A4, and transferred from A6.The Project Schematic A schematic can also be constructed by RMB and choosing to “Transfer Data To New” or “Transfer Data From New”. In using the RMB tra
11、nsfer feature all transfer possibilities (upstream and downstream) are displayed. These selections will vary depending on which cell in a particular system you highlight.The Project Schematic Identifying cell states: Unfulfilled: missing upstream data. Attention required: may need to correct this or
12、 upstream cells. Refresh required: upstream data has changed. Need to refresh cell. An update will also refresh the cell and regenerate any output data (e.g. mesh, results). Update required: the data has changed and the output of the cell must be regenerated. Up to date. Input changes pending: cell
13、is locally up to date but may change when the next update is performed due to upstream changes. Interrupted: solver was manually stopped before it finished. Can use Resume or Update to continue to solving. Pending: a batch process is in progressOptional Workbench Windows The “View” menu (and RMB) al
14、lows additional information to be displayed in the Workbench environment. Below, the geometry is highlighted and the properties are displayed.Workbench File Management Workbench creates a project file and a series of subdirectories to manage all associated files. Users should allow Workbench to mana
15、ge the directories. Please do NOT manually modify the content or structure of the project directories. When a project is saved a project file is created (.wbpj), using the user specified file name (e.g. MyFile.wbpj). A project directory will be created using the project name. In the above example th
16、e directory would be MyFile_files. A number of subdirectories will be created in the project directory.Workbench File Management From the Workbench “View” menu activate the “Files” option to display a window containing file details and locations.Workbench File Management Archive: quickly generates a
17、 single compressed file containing all pertinent files. File is zip format and can be opened using the “Restore Archive . . . ” utility in WB2 or any unzip program. Several options are available when archiving systems as shown here.Starting CFX CFX can be launched from: The CFX 12.0 Launcher Start A
18、ll Programs ANSYS 12.0 CFX ANSYS CFX 12.0 Within ANSYS Workbench Drag Analysis Systems Fluid Flow (CFX) or Component Systems CFX onto the Project Schematic The command line More common under Linux/UnixTry It Yourself! Now launch Workbench on your training machine Start All Programs ANSYS 12.0 ANSYS
19、Workbench Expand the Component Systems toolbox and add a CFX system to the Project Schematic Drag a second CFX system onto the Project Schematic, dropping it onto the Solution cell of the first The first Solution is used as the starting point for the second Solution, e.g. a steady-state run followed
20、 by a transient run Right-click on the Setup cell in the first system and select Edit This will open CFX-Pre You can leave CFX-Pre open for nowRunning Standalone vs Workbench Running CFX inside the Workbench environment: Simplifies the workflow Geometry, Mesh, Setup, Solution and Results steps shown
21、 on the Project Schematic Easier to update a project when a change is made E.g. after a geometry change a single click updates the Mesh, Setup, Solution and Results Allows you to easily link to other Analysis Systems and Components Is necessary when performing DesignExploration (parametric studies)R
22、unning Standalone vs Workbench Running CFX standalone: Less computational overhead Produces a simpler directory / file structure on disk But no direct association between geometry, mesh, setup and results files Each component must be updated No built-in automation for parametric studies Less automat
23、ion E.g mesh needs to be manually imported into CFX-PreSetting the Working Directory Before starting a project you should set the working directory Avoids files getting saved to Documents and Settings From the CFX Launcher specify the Working Directory before starting Pre / Solver / Post In Workbenc
24、h Save the project before adding anything to the Project SchematicCFD-PostCFX-PreCFX-SolverSetup / CFX-Pre General mode is the general purpose mode for defining all types of CFD simulations When running in Workbench CFX-Pre will automatically start in this mode Turbomachinery mode simplifies the set
25、up for rotating machines Quick Setup mode greatly simplifies the physics setup for a simulation by assuming many default parameters and basic physics Library Template mode provides a predefined setup for complex physics Boiling, cavitation, coal & oil combustion, In WB Edit the Setup entry to start
26、CFX-Pre Four types of simulation are availableOutline TreeViewer WindowMain MenuMessage WindowViewer ToolbarCFX-Pre WorkspaceMain ToolbarCFD-PostCFX-PreCFX-Solver To define your simulation, generally follow the Outline tree from top to bottom Double-click entries in the Outline tree to edit Right-cl
27、ick on entries in the Outline tree to insert new items or perform operations Some items are optional, depending on your simulationCFX-Pre WorkflowMesh and region controlImport, delete, transform meshesView & edit mesh regionsLibrary objectsOptional. Referenced elsewhere in the setupImport Materials
28、& Reactions from libraries providedInsert Expressions, AVs, Fortran routinesSolver settingsConvergence controlsResults files controlsNumerical schemesMonitor pointsInitialisationStarting point for the solver in the absence of a previous solutionBoundary ConditionsDomainRight-click to insert boundary
29、 conditionsAnalysis TypeSteady State / TransientCFD-PostCFX-PreCFX-SolverUseful ShortcutsViewer ToolbarRotatePan+ CTRLZoom+ SHIFTBox ZoomRotate (on screen plane)+ CTRL(Hold while tracing a box)1. Load MeshRight-click on MeshCFX-Pre Workflow ExampleA Default Domain is automatically created when the m
30、esh is imported. It contains all 3D regions in the mesh.Every domain contains a default boundary condition. CFD-PostCFX-PreCFX-Solver2. Define Domain PropertiesRight-click on the domain and pick EditOr right-click on Flow Analysis 1 to insert a new domainCFX-Pre Workflow ExampleWhen editing an item
31、a new tab panel opens containing the properties. You can switch between open tabs.Sub-tabs contain various different propertiesComplete the required fields on each sub-tab to define the domainOptional fields are activated by enabling a check boxCFD-PostCFX-PreCFX-Solver3. Create Boundary Conditions
32、for a DomainRight-click on the domain to insert BCsCFX-Pre Workflow ExampleAfter completing the boundary condition, it appears in the Outline tree below its domainCFD-PostCFX-PreCFX-Solver4. Define Solver SettingsRight-click on Solver Control and pick EditCFX-Pre Workflow ExampleAll solver controls
33、have default valuesCFD-PostCFX-PreCFX-SolverCFX-Pre Workflow Example When running in Workbench: Just close CFX-Pre Files are automatically saved Check mark shown next to Setup Right-click on Solution and select Edit or Refresh Refresh runs the solver in the background with default settings Edit open
34、s the Solver Manager When running standalone: You should manually save the CFX-Pre database Right-click on Simulation and select Start Solver Define Run opens the Solver Manager Run Solver runs in the background with default settings Run Solver and Monitor run with default settings and monitors in t
35、he Solver Manager5. Start SolverRight-click to solveCFD-PostCFX-PreCFX-SolverDefining a RunCFX-Pre will have written a .def file and this is automatically selected as the Solver Input FileCan enable Initial Values check box if you have a previous solution to use as the starting pointParallel setting
36、s are defined hereAllows you to divide a large CFD problem so that it can run on more than one processor/machineStart Run!CFD-PostCFX-PreCFX-SolverCFX-Solver ManagerCFX-Solver ManagerSolution MonitorsMonitor the convergence of the solverPlot residuals, imbalances, monitor points, forces, fluxes Text
37、 output from the SolverLots of info in hereCan also view the .out file in a text editorWorkspaceCreate new monitorsCFD-PostCFX-PreCFX-SolverCFX-Solver ManagerWhen the Solver finishes, start CFD-Post: When running in Workbench: Just close the Solver Manager Check mark shown next to Solution Right-cli
38、ck on Results and select Edit to start CFD-Post When running standalone: Enable Post-Process Results on the solver finished notification window Or select the Post-Process Results icon from the toolbarRight-click to start CFD-PostCFD-PostCFX-PreCFX-SolverOutline TreeViewer WindowDetails PaneCFD-PostC
39、FX-PreCFX-SolverCFD-PostWorkspaceOutline tree displays all post-processing objects. Right-click or double-click to edit in the Details PaneEditor Tabs Outline Variables Expressions Calculators TurboGeneral Workflow1.Prepare locations where data will be extracted from or plots generatedE.g. Planes, I
40、sosurface2.Create variables/expressions which will be used to extract data (if necessary)E.g. drag, pressure ratio3.i) Generate qualitative data at locationsii) Generate quantitative data at locations4.Generate ReportsCFD-PostCFD-PostCFX-PreCFX-SolverCFD-PostCFD-PostCFX-PreCFX-Solver1. Create Locati
41、ons2. Variables / Expressions 3. Qualitative and Quantitative data4. ReportsUse the Location drop-down menu in the toolbar to create locations inside the domain2D & 3D domain, boundary and mesh regions are automatically availableDiscussed in the Post-processing lecture along with more details on cre
42、ating locationsSummary of Common File TypesCFX-SolverCFX-PreCFD-Post.def (Solver Input or Definition File).cfx (CFX-Pre Database).wbpj (Workbench Project File).out (Solver Output File).res (Results File).cst (CFD-Post State File).cse (CFD-Post Session File).def, .cmdb (Mesh Files)Import Mesh.cmdb, .
43、cfx5, .def, .res, Open.cfx, .def, .resSummary of Common File Types .cfx files contain mesh and physics data and can be opened by CFX-Pre .def files contain mesh and physics data and can be run in the Solver .res files contain mesh, physics and results data and can be opened in CFD-PostCFX-SolverCFX-
44、PreCFD-Post.def (Solver Input or Definition File).cfx(CFX-Pre Database).out(Solver Output File).res (Results File).cst.cse.def, .cmdb (Mesh Files)Import Mesh.cmdb, .cfx5, .def, .res, Open.cfx, .def, .res CFX-Pre can also open .def and .res files to recover the mesh and physics. Some unused data (e.g
45、. unused Materials) is not written to the .def / .res files and is therefore not recovered. The CFX-Solver can use .res files to continue a run or as an initial guess CFD-Post can also open .def and .cmdb files to view the mesh Solver Files and FoldersCFX-SolverC:Filename.defC:Filename_001.outC:File
46、name_001C:Filename_001100_full.bakC:Filename_0011.trnC:Filename_0012.trnC:Filename_001.resFirst Time Solving Filename.defCFX-SolverC:Filename.defC:Filename_002.outC:Filename_002C:Filename_002100_full.bakC:Filename_0021.trnC:Filename_0022.trnC:Filename_002.resSecond Time Solving Filename.defFile Structure in Workbench When running CFX standalone, files are saved to your current working directory As noted on the previous side, some solver files are saved to a solver run directory When running in W
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《团队新风采》课件
- 《肾上腺罕见病变的影像学诊断》课件
- 高等数学之导数与微分:课件精讲
- 《零售促销策略》课件
- 陕西高考英语高频词汇单选题100道及答案
- 《建筑智能化系统集成》课件
- 《试井解释原理》课件
- 西樵镇第一次模拟考试物理试卷
- 文档面试技巧
- 与商会合作协议
- 欧洲西部资料欧洲西部 详细版课件
- 流数据分析技术全套课件
- 3D打印图二评分标准
- GB∕T 12237-2021 石油、石化及相关工业用的钢制球阀
- 土壤分析技术规范(第二版)
- 全套电子课件:机械制造工艺基础(第六版)
- T∕CAME 1-2019 家庭式产房建设标准
- 《现代汉语语音》PPT课件(完整版)
- 善意的谎言辩论赛正反方观点
- QC新老7种工具表格
- 项目四:旅游电子商务支付与安全(教案)
评论
0/150
提交评论