版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 銀行員工福利待遇制度
- 酒店餐飲服務(wù)規(guī)范制度
- 八年級(jí)英語(yǔ)Ontheradio課件
- 教師扎根鄉(xiāng)村奉獻(xiàn)青春演講稿(31篇)
- 《試模問題處理》課件
- 2025屆北京市第101中學(xué)高三第五次模擬考試數(shù)學(xué)試卷含解析
- 山西省靜樂縣第一中學(xué)2025屆高考英語(yǔ)考前最后一卷預(yù)測(cè)卷含解析
- 2025屆上海市6校高三下學(xué)期第五次調(diào)研考試語(yǔ)文試題含解析
- 2025屆安徽省六安市高三壓軸卷英語(yǔ)試卷含解析
- 10.1《勸學(xué)》課件 2024-2025學(xué)年統(tǒng)編版高中語(yǔ)文必修上冊(cè)-1
- 餐飲服務(wù)食品安全
- 【安井食品公司償債能力存在的問題及對(duì)策9000字】
- 2024年茶空間運(yùn)營(yíng)工作計(jì)劃
- 食品進(jìn)銷存臺(tái)賬【模板】
- 大額采購(gòu)監(jiān)督方案
- 提高感染性休克集束化治療達(dá)標(biāo)率
- 《外科護(hù)理》第二十章 第一節(jié) 骨折病人的護(hù)理課件
- 電氣設(shè)備安全操作培訓(xùn)
- 計(jì)算機(jī)專業(yè)大學(xué)生職業(yè)生涯發(fā)展展示
- 門診護(hù)士長(zhǎng)年終工作總結(jié)
- 變壓器油箱制造工藝
評(píng)論
0/150
提交評(píng)論