ANSYS CFD-Post Tutorials
cfdpost q准则

cfdpost q准则CFDPost是ANSYS Fluent软件中的一个后处理工具,用于对计算流体动力学(CFD)模拟结果进行分析和可视化。
在使用CFDPost 进行后处理时,有一些准则需要遵循,以确保结果的准确性和可靠性。
我们需要确保模拟结果的收敛性。
收敛性是指模拟结果在迭代过程中趋于稳定的能力。
在使用CFDPost进行后处理之前,我们应该先检查模拟是否已经收敛。
可以通过观察残差曲线来判断模拟是否收敛。
如果残差曲线在一定迭代次数后趋于平稳,那么可以认为模拟已经收敛。
我们需要对模拟结果进行验证和验证。
验证是指将模拟结果与已知的实验数据进行比较,以确定模拟结果的准确性。
验证是指将模拟结果与其他模拟结果进行比较,以确定模拟的可靠性。
在使用CFDPost进行后处理时,我们应该对模拟结果进行验证和验证。
可以通过比较实验数据和模拟结果的图表来验证模拟结果的准确性,也可以通过比较不同网格、不同物理模型和不同边界条件下的模拟结果来验证模拟的可靠性。
第三,我们需要对模拟结果进行解释和分析。
在使用CFDPost进行后处理时,我们可以对模拟结果进行解释和分析,以获得对流场和传热现象的深入理解。
可以通过绘制流线图、压力分布图、温度分布图等来展示模拟结果。
此外,还可以通过绘制剖面图、曲线图等来分析模拟结果在不同位置和不同时间上的变化趋势。
通过解释和分析模拟结果,我们可以揭示流场和传热现象的规律和特点。
我们需要对模拟结果进行报告和展示。
在使用CFDPost进行后处理时,我们可以生成报告或展示文档,以便与他人共享模拟结果。
可以使用CFDPost提供的报告和展示功能,将模拟结果以图表、表格和文字的形式进行呈现。
报告和展示应该包括模拟的目的、方法、结果和结论,以及对模拟结果的解释和分析。
通过报告和展示,我们可以向他人清晰地传达模拟结果,促进交流和合作。
使用CFDPost进行后处理需要遵循一些准则,包括确保模拟结果的收敛性、对模拟结果进行验证和验证、对模拟结果进行解释和分析,以及对模拟结果进行报告和展示。
ANSYS教学算例集FL_烟囱排烟流场仿真分析

目录关键字:算例来源:ANSYS CFX Tutorials- Flow from a Circular Vent1. 案例描述 (1)2. 操作步骤 (1)2.1. 准备工作 (1)2.2. 稳态物理模型设置 (4)2.3. 瞬态物理模型设置 (9)2.4. 写出CFX-Solver求解输入文件(.def) (14)2.5. CFX-Solver求解设置 (14)2.6. CFD-POST后处理设置 (15)3. 本章小结 (17)1. 案例描述本例模拟烟囱释放烟气到环境中,烟囱外环境风速为1m/s。
烟速从0.01m/s变化至1m/s,湍流强度0.05,涡特征长度为0.25m。
计算为瞬态仿真,后处理中可以生成动画视频。
2. 操作步骤2.1. 准备工作2.1.1. 创建工作目录打开ANSYS CFX仿真软件,将网格文件CircVentMesh.gtm拷贝至英文文件目录下,更改Working Directory路径至网格文件目录下。
鼠标左键单击CFX-Pre 19.0,进入CFX-Pre界面。
2.1.2. 新项目创建进入CFX-Pre界面,鼠标左键单击【File】>【New Case】或菜单栏下,新建case,在弹出的对话框中选取【Simulation Type】>【General】,点击【OK】进入到case 设置界面中。
2.1.3. 导入网格文件在【File】>【Import】>【M esh…】,选择【Files of type】为【CFX Mesh(*gtm *cfx)】,在视图窗口选取网格文件CircVentMesh.gtm,单击【Open】导入网格。
此时,图形界面中可以查看到导入的网格形态。
2.1.4. 保存case文件选择【File】>【Save Case As】,在【File name】中写入CircVent,单击【Save】保存case文件。
2.2. 稳态物理模型设置2.2.1. 创建新变量2.2.1.1. 设置【Insert】>【Expressions,Functions and Variables】>Additional Variable 2.2.1.2. 输入名称为smoke2.2.1.3. 点击【OK】2.2.1.4. 设置【Variable Type】>【V olumetric】,【Units】>[kg m^-3]2.2.1.5. 点击【OK】2.2.2. 重命名分析类型在Outline下右键Flow Analysis 1,选择Rename,命名为Steady State Analysis2.2.3. 创建Domain2.2.3.1. 选择Outline下Default Domain,单击鼠标右键,选择Rename,输入CircVent。
6-1 Fluent——CFD-POST使用教程

Vector Contour Streamline Particle Track
能plot任何变量; 通常对速度进行plot 可以投影矢量,切线方向或垂直方向
Streamlines
从给定的location开始, 给出流线方向forwards 和/或backwards
面流线(surface Streamline)选项可以看出面上 的流动速度
化时的计算和更新
图表
沿着线/曲线显示出两个变量之间的 关系
首先需要创建线/曲线
多义线, 边界交线, 等高线等
Charts可以自动的添加到Report里 Chart Points图表点不需要在空间 上均匀分布
数据点常常指线/曲线与网格面
的交点
可以在一个图表里图示多个线
图表
1. Create Curves 2. Create Chart
Turbo variables
变量按钮
面板显示所选择变量的所有详细信息
User Defined variables有不同的显示内容
单位改变为显示单位 可以以表达式代替变量
表达式值保留在结果文件中
可以在Hybrid 和Conservative 两种变量
显示方式之间切换
仅用于CFX计算结果 也能对任何plot的变量在Hybrid和 Conservative之间进行切换
Coord Frame Legend
为plot创建Legend
Instance Transform
使用.ANSYS.进行.CFD.流体力学计算的一些技巧

使用ANSYS 进行CFD 流体力学计算的一些技巧关于计算流体力学主要有以下几个主要问题大家比较关心:(原稿:金泰木,四方机车车辆厂客车产品开发部)1.关于瞬态计算的问题2.关于建模的问题3.关于网格化的问题4.关于动画显示的问题5.关于交变载荷的问题一、关于第一个问题的解答:计算瞬态设置参数与稳态不同,主要设置的参数为:1.FLDATA1,SOLU,TRAN,1 设置为瞬态模式2.FLDATA4,TIME,STEP,0.02, 自定义时间步时间间隔0.02秒3.FLDATA4,TIME,TEND,0.1, 设置结束时间0。
1秒4.FLDATA4,TIME,GLOB,10, 设置每个时间步多少次运算5.fldata4a,time,appe,0.02 设置记录时间间隔6.SET,LIST,2 查看结果7.SET,LAST 设为最后一步8.ANDATA,0.5, ,2,1,6,1,0,1 动态显示结果以上为瞬态和稳态不同部分的设置和操作,特别是第五步。
为了动态显示开始到结束时间内气流组织的情况,还是花了我们很多时间来找到这条命令。
如果你是做房间空调送风计算的,这项对你来说非常好,可以观察到从开空调机到稳定状态的过程。
二.关于建模的问题大家主要关心的建模问题是模型的导入和导出,及存在的一些问题。
这些问题主要体现在:1.AUTOCAD建模导出后的格式与ANSYS兼容的只有SAT格式。
PROE可以是IGES格式或SAT格式。
当然还有其它格式,本人使用的限于正版软件,只有上述两种格式。
SAT格式可由PROE中导出为IGES格式。
ANSYS默认的导入模型为IGES格式的图形模型。
2.使用AUTOCAD一般绘制界面比较复杂的拉伸体非常方便。
如果是不规则体,用PROE和ANSYS都比较方便,当然本人推荐用ANSYS本身的建模功能。
对于PROE,因为它的功能强大,本人推荐建立很复杂的模型如变截面不规则曲线弯管(如血管)。
flcfd[1]
![flcfd[1]](https://img.taocdn.com/s3/m/6cdfa423aaea998fcc220e01.png)
Tutorial1.Introduction to Using CFD-Post:Fluid Flow andHeat Transfer in a Mixing ElbowIntroductionThis tutorial illustrates how to use ANSYS CFD-Post to visualize a three-dimensional turbulentfluidflow and heat transfer problem in a mixing elbow.The mixing elbow configuration is encountered in piping systems in power plants and process industries.It is often important to predict theflowfield and temperaturefield in the area of the mixing region in order to properly design the junction.This tutorial demonstrates how to do the following:•Create a Working Directory•Launch ANSYS CFD-Post•Display the Solution in ANSYS CFD-Post•Save Your Work•Generate a ReportProblem DescriptionThe problem to be considered is shown schematically in Figure1.1.A coldfluid at20◦C flows into the pipe through a large inlet and mixes with a warmerfluid at40◦C that enters through a smaller inlet located at the elbow.The pipe dimensions are in inches, but thefluid properties and boundary conditions are given in SI units.The Reynolds number for theflow at the larger inlet is50,800,so theflow has been modeled as being turbulent.Note:This tutorial is derived from an existing ANSYS FLUENT case.The combination of SI and Imperial units is not typical,but follows an ANSYS FLUENT example.Because the geometry of the mixing elbow is symmetric,only half of the elbow ismodeled.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing ElbowFigure1.1:Problem SpecificationIntroduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing ElbowSetupCreate a Working DirectoryCFD-Post uses a working directory as the default location for loading and savingfiles fora particular session or project.Before you run a tutorial,use your operating system’scommands to create a working directory where you can store your samplefiles and resultsfiles.By working in that new directory,you prevent accidental changes to any of the samplefiles.Copying the CAS and CDAT FilesSamplefiles are provided so that you can begin using CFD-Post immediately.You mayfind samplefiles in a variety of places,depending on which products you have:•If you have CFD-Post or ANSYS CFX,samplefiles are in<CFXROOT>\examples,where<CFXROOT>is the installation directory for ANSYS CFX.Copy the CASE andCDATfiles(elbow1.cas.gz,elbow1.cdat.gz,elbow3.cas.gz,and elbow3.cdat.gz)to your working directory.•If you have ANSYS FLUENT12:1.Download cfd-post-elbow.zip from the User Services Center(www.fl)to your working directory.Thisfile can be found by using the Documentationlink on the FLUENT product page.2.Extract the CASfiles and CDATfiles(elbow1.cas.gz,elbow1.dat.gz,elbow3.cas.gz,and elbow3.dat.gz)from cfd-post-elbow.zip to your work-ing directory.Note:–These tutorials are prepared on a Windows system.The screen shotsand graphic images in the tutorials may be slightly different than the ap-pearance on your system,depending on the operating system or graphicscard.–The case name is derived from the name of the resultsfile that you loadwith thefinal extension removed.Thus,if you load elbow1.cdat.gz thecase name will be elbow1.cdat;if you load elbow1.cdat,the case namewill be elbow1.The case names used in this tutorial are elbow1andelbow3.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing ElbowStep1:Launch ANSYS CFD-PostBefore you start CFD-Post,set the working directory.The procedure for setting the working directory and starting CFD-Post depends on whether you will launch CFD-Post standalone,from the ANSYS CFX Launcher,from ANSYS Workbench,or from ANSYS FLUENT:•To run CFD-Post standalone,from the Start menu,right-click All Programs/ANSYS12.0/Fluid Dynamics/CFD-Post and select Properties.Type the path to yourworking directory in the Start infield and click OK,then click All Programs/ANSYS12.0/Fluid Dynamics/CFD-Post to launch CFD-Post.•ANSYS CFX Launcher1.Start the ANSYS CFX Launcher.You can run the ANSYS CFX Launcher in any of the following ways:–On Windows:∗From the Start menu,go to All Programs/ANSYS12.0/Fluid Dy-namics/CFX.∗In a DOS window that has its path set up correctly to run ANSYS CFX,enter cfx5launch(otherwise,you will need to type the full pathnameof the cfx command,which will be something similar to C:\ProgramFiles\ANSYS Inc\v120\CFX\bin).–On UNIX,enter cfx5launch in a terminal window that has its path setup to run ANSYS CFX(the path will be something similar to/usr/ansys inc/v120/CFX/bin).2.Select the Working Directory(where you copied the samplefiles).3.Click the CFD-Post12.0button.•ANSYS Workbench1.Start ANSYS Workbench.2.From the menu bar,select File/Save As and save the projectfile to the directorythat you want to be the working directory.3.Open the Component Systems toolbox and double-click Results.A Resultssystem opens in the Project Schematic.4.Right click on the A2Results cell and select Edit.CFD-Post opens.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing Elbow•ANSYS FLUENT1.Click the ANSYS FLUENT icon()in the ANSYS program group to openFLUENT Launcher.FLUENT Launcher allows you to decide which version of ANSYS FLUENT you will use,based on your geometry and on your processing capabilities.2.Ensure that the proper options are enabled.FLUENT Launcher retains settings from the previous session.(a)Select3D from the Dimension list.(b)Select Serial from the Processing Options list.(c)Make sure that the Display Mesh After Reading and Embed Graphics Win-dows options are enabled.(d)Make sure that the Double-Precision option is disabled.You can also restore the default settings by clicking the Default button.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing Elbow3.Set the working path to the directory created when you unzipped cfd-post-elbow.zip.(a)Click Show More.(b)Enter the path to your working directory for Working Directory by double-clicking the text box and typing.Alternatively,you can click the browse button()next to the WorkingDirectory text box and browse to the directory,using the Browse For Folderdialog box.4.Click OK to launch FLUENT.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing Elbow5.Select File/Read/Case&Data and choose the elbow1.cas.gzfile.6.Select File/Export to CFD-Post.7.In the Select Quantities list that appears,highlight the following variables:–Static Pressure–Density–X Velocity–Y Velocity–Z Velocity–Static Temperature–Turbulent Kinetic Energy(k)8.Click Write.CFD-Post starts with the tutorialfile loaded.9.In the ANSYS FLUENT application,select File/Read/Case&Data andchoose the elbow3.cas.gzfile.10.On the Export to CFD-Post dialog,clear the Open CFD-Post option and clickWrite.Accept the default name and click OK to save thefiles.11.Close ANSYS FLUENT.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing ElbowStep2:Display the Solution in ANSYS CFD-PostIn the steps that follow,you will visualize various aspects of theflow for the solution using CFD-Post.You will:•Prepare the case and set the viewer options•View the mesh and check it by using the Mesh Calculator•View simulation values using the Function Calculator•Become familiar with the3D Viewer controls•Create an instance reflection•Showfluid velocity on the symmetry plane•Create a vector plot to show theflow distribution in the elbow•Create streamlines to show theflow distribution in the elbow•Show the vortex structure•Use multiple viewports to compare a contour plot to the display of a variable on aboundary•Chart the changes to temperature at two places along the pipe•Create a table to show mixing•Review and modify a report•Create a custom variable and cause the plane to move through the domain to showhow the values of a custom variable change at different locations in the geometry •Compare the results to those in a refined mesh•Save your work•Create an animation of a plane moving through the domain.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing ElbowStep3:Prepare the Case and Set the Viewer Options1.If you have launched CFD-Post from ANSYS FLUENT,proceed to the next step.For all other situations,load the simulation from the datafile(elbow1.cdat.gz)from the menu bar by selecting File/Load Results.In the Load Results File dialogbox,select elbow1.cdat.gz and click Open.2.If you see a pop-up that discusses Global Variables Ranges,it can be ignored.ClickOK.The mixing elbow appears in the3D Viewer in an isometric orientation.The wire-frame appears in the view and there is a check mark beside User Location and Plots/Wireframe in the Outline tree view;the check mark indicates that the wireframeis visible in the3D Viewer.3.Optionally,set the viewer background to white:(a)Right-click on the viewer and select Viewer Options.(b)In the Options dialog box,select CFD-Post/Viewer.(c)Set:•Background/Color Type to Solid.•Background/Color to white.To do this,click the bar beside the Colorlabel to cycle through10basic colors.(Click the right-mouse button tocycle backwards.)Alternatively,you can choose any color by clickingto the right of the Color option.•Text Color to black(as above).•Edge Color to black(as above).(d)Click OK to have the settings take effect.(e)Experiment with rotating the object by clicking on the arrows of the triad inthe3D Viewer.This is the triad:In the picture of the triad above,the cursor is hovering in the area oppositethe positive Y axis,which reveals the negative Y axis.Introduction to Using CFD-Post:Fluid Flow and Heat Transfer in a Mixing ElbowNote:The viewer must be in“viewing mode”for you to be able to click on the triad.You set viewing mode or select mode by clicking the icons inthe viewer toolbar:When you havefinished experimenting,click the cyan(ISO)sphere in thetriad to return to the isometric view of the object.4.Set CFD-Post to display objects in the units you want to see.These display unitsare not necessarily the same types as the units in the resultsfiles you load;however,for this tutorial you will set the display units to be the same as the solution unitsfor consistency.As mentioned in the Problem Description,the solution units areSI,except for the length,which is measured in inches.(a)Right-click on the viewer and select Viewer Options.The Options dialog box is where you set your preferences.(b)In the Options dialog box,select Common/Units.(c)Notice that System is set to SI.In order to be able to change an individualsetting(length,in this case)from SI to imperial,set System to Custom.Nowset Length to in(inches)and click OK.Note:•The display units you set are saved between sessions and projects.This means that you can load resultsfiles from diverse sources and always seefamiliar units displayed.•You have set only length to inches;volume will still be reported in meters.To change volume as well,in the Options dialog box,select Common/Units,then click More Units tofind the full list of settings.Step4:View and Check the MeshThere are two ways to view the mesh:you can use the wireframe for the entire simulation or you can view the mesh for a particular portion of the simulation.To view the mesh for the entire simulation:1.Right-click on the wireframe in the3D Viewer and select Show surface mesh todisplay the mesh.2.Click the“Z”axis of triad in the viewer to get a side view of the object.(Rememberthat the3D Viewer toolbar has to be in viewing mode for you to be able to selectthe triad elements.)Figure1.2:The Hexahedral Grid for the Mixing Elbow3.In the Outline tree view,double-click on User Locations and Plots/Wireframe todisplay the wireframe’s editor.Click on the Details of Wireframe editor and press F1to see help about the Wireframe object.4.On the Wireframe Details view,click Defaults and Apply to restore the originalsettings.To view the mesh for a particular portion of the simulation(in this case,the wall):1.In the Outline tree view,select the check box beside Cases/elbow1/fluid/wall,then double-click wall to edit its properties in its Details view.2.In the Details view:(a)On the Render tab,clear the Show Faces check box.(b)Select the Show Mesh Lines check box.(c)Ensure that Edge Angle is set to0[degree].(d)Click Apply.The mesh appears and is similar to the mesh shown by the previous procedure,except that the mesh is shown only on the wall.(e)Now,clear the display of the wall wireframe.In the Details view:i.Clear the Render/Show Mesh Lines check box.ii.Select the Show Faces check box.iii.Click Apply.The wall reappears.3.In the Outline tree view,clear the check box beside Cases/elbow1/fluid/wall. Note:The rest of the tutorial assumes that the wall is not visible or,if it is visible,that it is showing faces,not lines.To check the mesh:1.Select the Calculators tab at the top of the workspace area,then double-click MeshCalculator.The Mesh Calculator appears.ing the drop-down arrow beside the Functionfield,select a function such asMaximum Face Angle.3.Click Calculate.The results of the calculation appear.4.Repeat the previous steps for other functions,such as Mesh Information.Step5:View Simulation Values using the Function CalculatorYou can view values in the simulation by using the Function Calculator:1.In the Calculators view,double-click Function Calculator.The Function Calculatorappears.2.In the Functionfield,select a function to evaluate.This example uses minVal.3.In the Locationfield,select fluid.4.Beside the Variablefield,click the More Variables icon and select Volume inthe Variable Selector dialog box.Click OK.5.Click Calculate to see the result of the calculation of the minimum value of elementvolumes found in thefluid region.Note that even though the length of the elbowis measured in inches,the volume is returned in cubic meters.Step6:Become Familiar with the Viewer ControlsOptionally,take a few moments to become familiar with the viewer controls.These icons switch the mouse from selecting items in the viewer to controlling the orientation and display of the view.First,the sizing controls:1.Click the Zoom Box icon.2.Click and drag a rectangular box over the geometry.3.Release the mouse button to zoom in on the selection.The geometry zoom changes to display the selection at a greater resolution.4.Click the Fit View icon to re-center and re-scale the geometry.Now,the rotation functions:1.Click the Rotate icon on the viewer toolbar.2.Click and drag repeatedly within the viewer to test the rotation of the geometry.Notice how the mouse cursor changes depending on where you are in the viewer, particularly near the edges:Figure1.3:Orientation Control Cursor TypesThe geometry rotates based on the direction of movement.If the mouse cursor has an axis(which happens around the edges),the object rotates around the axis shown in the cursor.The axis of rotation is through the pivot point,which defaults to be in the center of the object.Now explore orientation options:1.Right-click a blank area in the viewer and select Predefined Camera/View Towards-X.2.Right-click a blank area in the viewer and select Predefined Camera/Isometric View(Z Up).3.Click the“Z”axis of triad in the viewer to get a side view of the object.4.Click the three axes in the triad in turn to see the vector objects in all three planes;when you are done,click the cyan(ISO)sphere.Now explore the differences between the orienting controls you just used and select mode.1.Click the icon to enter select mode.2.Hover over one of the wireframe lines and notice that the cursor turns into a box.3.Click a wireframe line and notice that the Details view for the wireframe appears.4.Right-click away from a wireframe line and then again on a wireframe line.Noticehow the menu changes:Figure1.4:Right-click Menus Vary by Cursor Position5.In the Outline tree view,select the elbow1/fluid/wall check box;the outer wall ofthe elbow becomes solid.Notice that as you hover over the colored area,the cursoragain becomes a box,indicating that you can perform operations on that region.When you right-click on the wall,a new menu appears.6.Click on the triad and notice that you cannot change the orientation of the viewerobject.(The triad is available only in viewing mode,not select mode.)7.In the Outline tree view,clear the elbow1/fluid/wall check box;the outer wall ofthe elbow disappears.Step7:Create an Instance ReflectionCreate an instance reflection on the symmetry plane so that you can see the complete case:1.With the3D Viewer toolbar in viewing mode,click on the cyan(ISO)sphere in thetriad.This will make it easy to see the instance reflection you are about to create.2.Right-click on one of the wireframe lines on the symmetry plane.(If you were inselect mode,the mouse cursor would have a“box”image added when you are ona valid line.As you are in viewing mode there is no change to the cursor to showthat you are on a wireframe line,so you may see the general right-click menu,asopposed to the right-click menu for the symmetry plane.)See Figure1.4.3.From the right-click menu,select Reflect/Mirror.If you see a dialog box promptingyou for the direction of the normal,choose the Z axis.The mirrored copy of thewireframe appears.If the reflection you create is on an incorrect axis,click the Undo toolbar icontwice.Step8:Show Velocity on the Symmetry PlaneCreate a contour plot of velocity on the symmetry plane:1.From the menu bar,select Insert/Contour.In the Insert Contour dialog box,acceptthe default name,and click OK.2.In the Details view for Contour1,set the following:Tab Setting ValueGeometry Locations symmetry∗Variable Velocity∗∗∗Notice how the available locations are highlighted in the viewer as you move themouse over the objects in the Locations drop-down list.You could also create a sliceplane at a location of your choice and define the contour to be at that location.∗∗Velocity is just an example of a variable you can use.3.Click Apply.The contour plot for velocity appears and a legend is automaticallygenerated.4.The coloring of the contour plot may not correspond to the colors on the legendbecause the viewer has a light source enabled by default.There are several waysto correct this:•You can change the orientation of the objects in the viewer.•You can experiment with changing the position of the light source by holdingdown the Ctrl key and dragging the cursor with the right mouse button.•You can disable lighting for the contour plot.To disable lighting,click on theRender tab and clear the check box beside Lighting,then click Apply.Disabling the lighting is the method that provides you with the mostflexibility,sochange that setting now.5.Click on the Z on the triad to better orient the geometry(the3D Viewer must bein viewing mode,not select mode,to do this).Figure1.5:Velocity on the Symmetry Plane6.Improve the contrast between the contour regions:(a)On the Render tab,select Show Contour Lines and click the plus sign to viewmore options.(b)Select Constant Coloring.(c)Set Color Mode to User Specified and set Line Color to black(if necessary,click on the bar beside Line Color until black appears).(d)Click Apply.Figure1.6:Velocity on the Symmetry Plane(Enhanced Contrast)7.Hide the contour plot by clearing the check box beside User Locations and Plots/Contour1in the Outline tree view.You can also hide an object by right-clicking on its name in the Outline tree viewand selecting Hide.Step9:Show Flow Distribution in the ElbowCreate a vector plot to show theflow distribution in the elbow:1.From the menu bar,select Insert/Vector.2.Click OK to accept the default name.The Details view for the vector appears.3.On the Geometry tab,set Domains to fluid and Locations to symmetry.4.Click Apply.5.On the Symbol tab,set Symbol Size to4.6.Click Apply and notice the changes to the vector plot.Figure1.7:Vector Plot of Velocity7.Change the vector plot so that the vectors are colored by temperature:(a)In the Details view for Vector1,click on the Color tab.(b)Set the Mode to Variable.The Variablefield becomes enabled.(c)Click on the down arrow beside the Variablefield to set it to Temperature.(d)Click Apply and notice the changes to the vector plot.8.Optionally,change the vector symbol.In the Details view for the vector,go to theSymbol tab and set Symbol to Arrow3D.Click Apply.9.Hide the vector plot by right-clicking on a vector symbol in the plot and selectingHide.CFD-Post uses the Variable setting on the Geometry tab to determine where to place objects to best illustrate changes in that variable.Once the object has been put in place, you can have CFD-Post measure other variables along those streamlines by using the Variable setting on the Color tab.In this example you will create streamlines to show theflow distribution by velocity,then recolor those streamlines to show turbulent kinetic energy:1.From the menu bar select Insert/Streamline.Accept the default name and click OK.2.In the Details view for Streamline1,choose the points from which to start thestreamlines.Click on the down arrow beside the Start From drop-down widget to see the potential starting points.Hover over each point and notice that the area is highlighted in the3D Viewer.It would be best to show how streamlines from both inlets interact,so,to make a multi-selection,click the Location editor icon.The Location Selector dialog box appears.3.In the Location Selector dialog box,hold down the Ctrl key and click velocityinlet5and velocity inlet6to highlight both locations,then click OK.4.Click Preview Seed Points to see the starting points for the streamlines.5.On the Geometry tab,ensure that Variable is set to Velocity.6.Click on the Color tab and make the following changes:(a)Set the Mode to Variable.The Variablefield becomes enabled.(b)Set the Variable to Turbulence Kinetic Energy.(c)Set Range to Local.7.Click Apply.The streamlines show theflow of massless particles through the entiredomain.Figure1.8:Streamlines of Turbulence Kinetic Energy8.Select the check box beside Vector1.The vectors appear,but are largely hidden bythe streamlines.To correct this,highlight Streamline1in the Outline tree view and press Delete.The vectors are now clearly visible,but the work you did to9.Hide the vector plot and the streamlines by clearing the check boxes beside Vector1and Streamline1in the Outline tree view.Step10:Show the Vortex StructureCFD-Post displays vortex core regions to enable you to better understand the processes in your simulation.In this example you will look at the helicity method for vortex cores,but in your own work you would use the vortex core method that youfind most instructive.1.In the Outline tree view:(a)Under User Locations and Plots,clear the check box for Wireframe.(b)Under Cases/elbow1/fluid,select the check box for wall.(c)Double-click on wall to edit its properties.On the Render tab,set Transparencyto0.75and click Apply.This makes the pipe easy to see while also making it possible to see objectsinside the pipe.2.From the menu bar,select Insert/Location/Vortex Core Region and click OK to acceptthe default name.3.In the Details view for Vortex Core Region1on the Geometry tab,set Method toAbsolute Helicity and Level to.01.On the Render tab,set Transparency to0.2.Click Apply.The absolute helicity vortex that is displayed is created by a mixture of effects fromthe walls,the curve in the main pipe,and the interaction of thefluids.If you hadchosen the vorticity method instead,wall effects would dominate.4.On the Color tab,click on the colored bar in the Colorfield until the bar is green.Click Apply.This improves the contrast between the vortex region and the blue walls.5.Right-click in the3D Viewer and select Predefined Camera/Isometric View(Y up).6.In the Outline tree view,select the check box beside Streamline1.This shows howthe streamlines are affected by the vortex regions.Figure1.9:Absolute Helicity Vortex7.Clear the check boxes beside wall,Streamline1,and Vortex Core Region1.Selectthe check box beside Wireframe.Step11:Compare a Contour Plot to the Display of a Variable on a BoundaryA contour plot with color bands has discrete colored regions while the display of a variableon a locator(such as a boundary)shows afiner range of color detail by default.The instructions that follow will illustrate a variable at the outlet and create a contour plot that displays the same variable at that same location.1.To do the comparison,split the3D Viewer into two viewports by using the ViewportLayout toolbar in the3D Viewer toolbar:2.Right-click in both viewports and select Predefined Camera/View Towards-Y.3.In the Outline tree view,double-click on pressure outlet7(which is under elbow1/fluid).The Details view of pressure outlet7appears.4.Click in the View1viewport.5.In the Details view for pressure outlet7on the Color tab:(a)Change Mode to Variable.(b)Ensure Variable is set to Pressure.(c)Ensure Range is set to Local.(d)Click Apply.The plot of pressure appears and the legend shows a smooth spec-trum that goes from blue to red.Notice that this happens in both viewports;this is because Synchronize visibility in displayed views icon is enabled.(e)Click the Synchronize visibility in displayed views icon to disable thisfeature.Now,add a contour plot at the same location:1.Click in View2to make it active,the title bar for that viewport becomes highlighted.2.In the Outline tree view,clear the check box besidefluid/pressure outlet7.3.From the menu bar,select Insert/Contour.4.Accept the default contour name and click OK.5.In the Details view for the contour,ensure that the Locations setting is pressureoutlet7and the Variable setting is Pressure.6.Set Range to Local.7.Click Apply.The contour plot for pressure appears and the legend shows a spectrumthat steps through10levels from blue to red.pare the two representations of pressure at the outlet.Pressure at the Outletis on the left and a Contour Plot of pressure at the Outlet is on the right:Figure1.10:Boundary Pressure vs.a Contour Plot of Pressure9.Enhance the contrast on the contour bands:(a)In the Outline tree view,right-click on User Locations and Plots/Contour2and select Edit.(b)In the Details view for the contour,click on the Render tab,expand the ShowContour Lines area,and select the Constant Coloring check box.Then set theColor Mode to User Specified.Click Apply.(c)Click on the Labels tab and select Show Numbers.Click Apply.10.Explore the viewer synchronization options:(a)In View1,click the cyan(ISO)sphere in the triad so that the two viewportsshow the elbow in different orientations.(b)In the3D Viewer toolbar,click the Synchronize camera in displayed views icon.Both viewports take the camera orientation of the active viewport.(c)Clear the Synchronize camera in displayed views icon and click on the Zarrow head of the triad in View1.The object again moves independently inthe two viewports.(d)In the3D Viewer toolbar,click the Synchronize visibility in displayed viewsicon.(e)In the Outline tree view,right-click onfluid/wall and select Show.The wallbecomes visible in both viewports.(Synchronization applies only to eventsthat take place after you enable the synchronize visibility function.)11.When you are done,use the viewport controller to return to a single viewport.Thesynchronization icons disappear.。
cfdpost算转矩 -回复

cfdpost算转矩-回复标题:理解与应用CFDPost中的转矩计算一、引言CFDPost是ANSYS Fluent的一款后处理工具,主要用于分析和展示流体动力学(CFD)模拟的结果。
在许多工程领域中,如汽车、航空航天、机械设计等,转矩是一个重要的参数,它反映了力对物体产生旋转效应的大小。
本文将详细解析如何在CFDPost中进行转矩的计算。
二、CFDPost基础在开始转矩计算之前,我们需要对CFDPost的基础操作有一定的了解。
CFDPost的主要功能包括数据查看、图形绘制、数据导出等。
其中,数据查看可以让我们查看模拟过程中的各种物理量,如速度、压力、温度等;图形绘制则可以帮助我们直观地理解流动现象和物理过程。
三、转矩的基本概念转矩,又称扭矩,是在力学系统中描述力对物体产生转动效应的物理量。
在三维空间中,转矩可以表示为一个矢量,其方向沿着力臂的方向,大小等于力与力臂的乘积。
在CFD模拟中,我们通常关注的是作用在物体上的总转矩,这需要对模拟域内的所有力和力臂进行积分。
四、在CFDPost中计算转矩的步骤以下是在CFDPost中计算转矩的详细步骤:1. 打开CFDPost并加载模拟结果文件:首先,我们需要启动CFDPost,并导入已经完成模拟的文件。
2. 定义力的表达式:在CFDPost中,我们可以使用内置的表达式语言来定义力的计算公式。
一般来说,力可以通过压力和面积的乘积来计算,即F=PA。
其中,P是压力,A是面积。
3. 计算力的分布:在定义了力的表达式后,我们可以使用CFDPost的“Evaluate”功能来计算每个网格单元上的力。
4. 定义力臂的表达式:力臂是从转动轴到力的作用线的距离。
在CFDPost 中,我们可以根据具体的几何形状和坐标系来定义力臂的计算公式。
5. 计算力臂的分布:与力的计算类似,我们也可以使用“Evaluate”功能来计算每个网格单元上的力臂。
6. 计算转矩:转矩T等于力F和力臂r的矢量积,即T=F×r。
cfdpost 变量体积分

cfdpost 变量体积分CFDPOST是ANSYS Fluent软件的后处理工具,用于查看和分析流体动力学模拟结果。
在进行CFD模拟时,我们经常需要计算某个变量的体积分,以了解该变量在整个流场中的分布和贡献。
在CFDPOST中,可以使用“Volume Integrals”功能来计算变量的体积分。
下面是一个简单的步骤指南:1.打开CFDPOST后处理工具。
2.在主界面上,选择“Volume Integrals”选项卡。
3.在左侧的变量列表中,选择你想要计算体积分的变量。
例如,如果你想计算速度矢量的体积分,可以选择“Velocity Magnitude”。
4.在右侧的“Integration Options”区域,选择合适的积分方法。
常用的积分方法有“Sum”和“Average”。
5.在“Volume”选项中,选择你想要积分的体积区域。
你可以选择整个流场、某个特定的区域或某个体的体积。
6.点击“Integrate”按钮,开始计算体积分。
7.计算完成后,你可以在结果窗口中查看体积分的值。
你还可以查看其他统计信息,如积分区域的平均值、最大值、最小值等。
8.如果你需要进一步操作或分析体积分的结果,可以使用CFDPOST的其他工具和功能。
例如,你可以将结果导出到Excel或其他数据分析软件中进行进一步分析。
需要注意的是,计算体积分的结果可能受到积分方法、积分区域和网格精度等因素的影响。
因此,在进行体积分计算时,建议仔细选择合适的积分方法和区域,并对结果进行适当的验证和校准。
总之,CFDPOST中的“Volume Integrals”功能是一个强大的工具,可以帮助你快速准确地计算变量的体积分。
通过合理使用这个功能,你可以更好地理解CFD模拟结果,并进行更深入的分析和研究。
CFDPOST使用教程ppt课件

– 旋转, 平移, 镜像, 缩放 – 选取不同的转换方式
A Pera Global Company © PERA China
其他图形对象
在工具栏中选择insert Vectors, Contour和Streamlines Vector Plot
能plot任何变量; 通常对速度进行plot 可以投影矢量,切线方向或垂直方向
也可以在 CFX-Solver Manager 或 CFX Launcher中启动
A Pera Global Company © PERA China
GUI 布局
Additional tabs (various tools) Outline tab (“model tree”)
Details view
位置类型
体(Volumes)
以 Surface构建 以选择的所有面构建而成 用于网格检查
等值体(Isovolume) 基于变量
A Pera Global Company © PERA China
位置类型
等值面
某指定变量的面
Isosurface of pressure behind a flap valv
Streamlines
从给定的location开始, 给出流线方向 forwards和/或backwards
面流线(surface Streamline)选项可以看出面 上的流动速度
Vector Contour Streamline Particle Track
A Pera Global Company © PERA China
自动甄别涡核心区
旋转面(Surface of
Revolution)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
ANSYS CFD-Post TutorialsRelease 15.0ANSYS, Inc.November 2013Southpointe275 Technology Drive Canonsburg, PA 15317ANSYS, Inc. is certified to ISO 9001:2008.ansysinfo@(T) 724-746-3304(F) 724-514-9494Copyright and Trademark Information© 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, serviceand feature names or trademarks are the property of their respective owners.Disclaimer NoticeTHIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS.The software productsand documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions.The software productsand documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions of that software license agreement.ANSYS, Inc. is certified to ISO 9001:2008.U.S. Government RightsFor U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD licenses).Third-Party SoftwareSee the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software and third-party software. If you are unable to access the Legal Notice, please contact ANSYS, Inc.Published in the U.S.A.Table of Contents1. Introduction to the Tutorials (1)2. Post-processing Fluid Flow and Heat Transfer in a Mixing Elbow (3)2.1. Create a Working Directory (4)2.2. Launch CFD-Post (5)2.3. Display the Solution in CFD-Post (9)2.3.1. Become Familiar with the Viewer Controls (12)2.3.2. Create an Instance Reflection (15)2.3.3. Show Velocity on the Symmetry Plane (15)2.3.4. Show Flow Distribution in the Elbow (17)2.3.5. Show the Vortex Structure (20)2.3.6. Show Volume Rendering (22)2.3.7. Compare a Contour Plot to the Display of a Variable on a Boundary (23)2.3.8. Review and Modify a Report (26)2.3.9. Create a Custom Variable and Animate the Display (26)2.3.10. Load and Compare the Results to Those in a Refined Mesh (28)2.3.11. Display Particle Tracks (32)2.4. Save Your Work (42)2.5. Generated Files (44)3.Turbo Post-processing (45)3.1. Problem Description (45)3.2. Create a Working Directory (46)3.3. Launch CFD-Post (47)3.4. Display the Solution in CFD-Post (51)3.5. Initialize the Turbomachinery Components (53)3.6. Compare the Blade-to-Blade, Meridional, and 3D Views (55)3.7. Display Contours on Meridional Isosurfaces (56)3.8. Display a 360-Degree View (58)3.9. Calculate and Display Values of Variables (58)3.10. Display the Inlet to Outlet Chart (61)3.11. Generate and View Turbo Reports (63)4. Quantitative Post-processing (65)4.1. Create a Working Directory (66)4.2. Launch CFD-Post (66)4.3. Prepare the Case and CFD-Post (67)4.4.View and Check the Mesh (68)4.5.View Simulation Values Using the Function Calculator (71)4.6. Create a Line (72)4.7. Create a Chart (73)4.8. Add a Second Line (75)4.9. Create a Chart (75)4.10. Create a Table to Show Heat Transfer (76)4.11. Publish a Report (80)iiiRelease 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information ivof ANSYS, Inc. and its subsidiaries and affiliates.Chapter 1: Introduction to the TutorialsThe tutorials are designed to introduce the capabilities of CFD-Post.The following tutorials are available:•Post-processing Fluid Flow and Heat Transfer in a Mixing Elbow (p.3) illustrates how to use CFD-Post to visualize a three-dimensional turbulent fluid flow and heat transfer problem in a mixing elbow.•Turbo Post-processing (p.45) demonstrates the turbomachinery post-processing capabilities of CFD-Post to visualize flow in a centrifugal compressor.•Quantitative Post-processing (p.65) demonstrates the quantitative post-processing capabilities of CFD-Post using a 3D model of a circuit board with a heat-generating electronic chip mounted on it.For information on the CFD-Post interface (menu bar, tool bar, workspaces, and viewers), see CFD-Post Graphical Interface .Using HelpTo open the help viewer, from the menu bar select Help > Contents .You may also use context-sensitive help, which is provided for many of the details views and other parts of the interface.To invoke the context-sensitive help for a particular details view or other feature,ensure that the feature is active, place the mouse pointer over it, then press F1. Not every area of the interface supports context-sensitive help.TipFor more information on the help system, see Accessing Help .1Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information 2of ANSYS, Inc. and its subsidiaries and affiliates.Chapter 2: Post-processing Fluid Flow and Heat Transfer in a Mixing ElbowThis tutorial illustrates how to use CFD-Post to visualize a three-dimensional turbulent fluid flow and heat transfer problem in a mixing elbow.The mixing elbow configuration is encountered in piping systems in power plants and process industries. It is often important to predict the flow field and tem-perature field in the area of the mixing region in order to properly design the junction.This tutorial demonstrates how to do the following:2.1. Create a Working Directory2.2. Launch CFD-Post2.3. Display the Solution in CFD-Post2.4. Save Your Work2.5. Generated FilesProblem DescriptionThe problem to be considered is shown schematically in Figure 2.1: Problem Specification (p.4). A cold fluid at 20° C flows into the pipe through a large inlet and mixes with a warmer fluid at 40° C that enters through a smaller inlet located at the elbow.The pipe dimensions are in inches, but the fluid properties and boundary conditions are given in SI units.The Reynolds number for the flow at the larger inlet is 50,800, so the flow has been modeled as being turbulent.NoteThis tutorial is derived from an existing Fluent case.The combination of SI and Imperial units is not typical, but follows a Fluent example.Because the geometry of the mixing elbow is symmetric, only half of the elbow is modeled.3Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.Post-processing Fluid Flow and Heat Transfer in a Mixing ElbowFigure 2.1: Problem Specification2.1. Create a Working DirectoryCFD-Post uses a working directory as the default location for loading and saving files for a particular session or project. Before you run a tutorial, use your operating system's commands to create a working directory where you can store your sample files and results files.By working in that new directory, you prevent accidental changes to any of the sample files.Copying the CAS and DAT/CDAT FilesSample files are provided so that you can begin using CFD-Post immediately.You may find sample filesin a variety of places, depending on which products you have:•If you have CFD-Post or ANSYS CFX, sample files are in <CFXROOT>\examples, where <CFXROOT> is the installation directory for ANSYS CFX or CFD-Post. Copy the .cas and .cdat files (elbow1.cas.gz, elbow1.cdat.gz,elbow3.cas.gz, and elbow3.cdat.gz) and the particle track file (el-bow_tracks.xml) to your working directory.•If you have Fluent 12 or later:1.Download cfd-post-elbow.zip (or a zip file that contains it) from the ANSYS Customer Portal.To access tutorials and their input files on the ANSYS Customer Portal, go to http://support.an-/training.Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.42.Extract the CAS files and DAT files (elbow1.cas.gz ,elbow1.dat.gz ,elbow3.cas.gz andelbow3.dat.gz ) and the particle track file (elbow_tracks.xml ) from cfd-post-elbow.zip to your working directory.2.2. Launch CFD-PostBefore you start CFD-Post, set the working directory.The procedure for setting the working directory and starting CFD-Post depends on whether you will launch CFD-Post stand-alone, from the ANSYS CFX Launcher, from ANSYS Workbench, or from Fluent:•To run CFD-Post stand-alone–On Windows:1.From the Start menu, right-click All Programs > ANSYS 15.0 > Fluid Dynamics > CFD-Post 15.0and select Properties .2.Type the path to your working directory in the Start in field and click OK .3.Click All Programs > ANSYS 15.0 > Fluid Dynamics > CFD-Post 15.0 to launch CFD-Post.–On Linux, enter cfdpost.exe in a terminal window that has its path set up to run CFD-Post (the path will be something similar to /usr/ansys_inc/v150/CFD-Post/cfdpost.exe).•To run ANSYS CFX Launcher1.Start the launcher.You can run the launcher in any of the following ways:–On Windows:¡From the Start menu, go to All Programs > ANSYS 15.0 > Fluid Dynamics > CFX 15.0.¡In a DOS window that has its path set up correctly to run ANSYS CFX, enter cfx5launch (oth-erwise, you will need to type the full pathname of the cfx5launch command, which will besomething similar to C:\Program Files\ANSYS Inc\v150\CFX\bin).–On Linux, enter cfx5launch in a terminal window that has its path set up to run ANSYS CFX (the path will be something similar to /usr/ansys_inc/v150/CFX/bin).2.Select the Working Directory (where you copied the sample files).3.Click the CFD-Post 15.0 button.•ANSYS Workbench1.Start ANSYS Workbench.2.From the menu bar, select File > Save As and save the project file to the directory that you want to be the working directory.5Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and unch CFD-Post3.Open the Component Systems toolbox and double-click Results. A Results system opens in theProject Schematic.4.Right-click the A2 Results cell and select Edit.CFD-Post opens.•Fluent1.Click the Fluent icon () in the ANSYS program group to open Fluent Launcher.Fluent Launcher allows you to decide which version of Fluent you will use, based on your geo-metry and on your processing capabilities.2.Ensure that the proper options are selected.Fluent Launcher retains settings from the previous session.a.Select 3D from the Dimension list.b.Select a Processing Option (for example Serial).c.Make sure that the Display Mesh After Reading and Embed Graphics Windows options areselected.d.Make sure that the Double-Precision option is disabled.TipYou can also restore the default settings by clicking the Default button.Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.6Post-processing Fluid Flow and Heat Transfer in a Mixing ElbowLaunch CFD-Post3.Set the working path to the directory created when you unzipped cfd-post-elbow.zip.a.Click Show More Options.b.Click in the Working Directory field and enter the path to your current working directory.box and browse to the directory, using the Browse For Folderdialog box.Post-processing Fluid Flow and Heat Transfer in a Mixing Elbow5.Select File > Read > Case & Data and choose the elbow1.cas.gz file.6.Select File > Export to CFD-Post.7.In the Select Quantities list that appears, highlight the following variables:–Static Pressure–Density–X Velocity–Y Velocity–Z Velocity–Static Temperature–Turbulent Kinetic Energy (k)8.Click Write.CFD-Post starts with the tutorial file loaded.9.In the Fluent application, select File > Read > Case & Data and choose the elbow3.cas.gz file.10.In the Export to CFD-Post dialog box, clear the Open CFD-Post option and click Write. Accept thedefault name and click OK to save the files.Display the Solution in CFD-Post 11.Close Fluent.2.3. Display the Solution in CFD-PostIn the steps that follow, you will visualize various aspects of the flow for the solution using CFD-Post.You will:•Prepare the case and set the viewer options•Become familiar with the 3D Viewer controls•Create an instance reflection•Show fluid velocity on the symmetry plane•Create a vector plot to show the flow distribution in the elbow•Create streamlines to show the flow distribution in the elbow•Show the vortex structure•Use multiple viewports to compare a contour plot to the display of a variable on a boundary•Review and modify a report•Create a custom variable and cause the plane to move through the domain to show how the values of a custom variable change at different locations in the geometry•Compare the results to those in a refined mesh•Load a particle track file, then animate the particles, create a chart of a particle's velocity, and create an expression to calculate lengthAve of Pressure on the particle track•Save your work•Create an animation of a plane moving through the domain.Prepare the Case and Set the Viewer Options1.If you have launched CFD-Post from Fluent, proceed to the next step. For all other situations, load thesimulation from the data file (elbow1.cdat.gz) from the menu bar by selecting File > Load Results.In the Load Results File dialog box, select elbow1.cdat.gz and click Open.2.If you see a message that discusses Global Variables Ranges, it can be ignored. Click OK.The mixing elbow appears in the 3D Viewer in an isometric orientation.The wireframe appears inthe view and there is a check mark beside User Location and Plots > Wireframe in the Outlinetree view; the check mark indicates that the wireframe is visible in the 3D Viewer.3.Optionally, set the viewer background to white:a.Right-click the viewer and select Viewer Options.b.In the Options dialog box, select CFD-Post > Viewer.Post-processing Fluid Flow and Heat Transfer in a Mixing Elbowc.Set:•Background > Color Type to Solid.•Background > Color to white.To do this, click the bar beside the Color label to cycle through10 basic colors. (Click the right-mouse button to cycle backwards.) Alternatively, you can chooseany color by clicking to the right of the Color option.•Edge Color to black (as above).d.Click OK to have the settings take effect.e.Experiment with rotating the object by clicking on the arrows of the triad in the 3D Viewer.Thisis the triad:In the picture of the triad above, the cursor is hovering in the area opposite the positive Yaxis, which reveals the negative Y axis.NoteThe viewer must be in “viewing mode” for you to be able to click the triad.You setviewing mode or select mode by clicking the icons in the viewer toolbar: ArrayWhen you have finished experimenting, click the cyan (ISO) sphere in the triad to return tothe isometric view of the object.4.Set CFD-Post to display objects in the units you want to see.These display units are not necessarily thesame types as the units in the results files you load; however, for this tutorial you will set the display units to be the same as the solution units for consistency. As mentioned in the Problem Descrip-tion (p.3), the solution units are SI, except for the length, which is measured in inches.Display the Solution in CFD-Post a.Right-click the viewer and select Viewer Options.TipThe Options dialog box is where you set your preferences; see Setting Preferenceswith the Options Dialog for details.b.In the Options dialog box, select Common > Units.c.Notice that System is set to SI. In order to be able to change an individual setting (length, in thiscase) from SI to imperial, set System to Custom. Now set Length to in (inches) and click OK.Note•The display units you set are saved between sessions and projects.This means that youcan load results files from diverse sources and always see familiar units displayed.•You have set only length to inches; volume will still be reported in meters.To changevolume as well, in the Options dialog box, select Common > Units, then click More Unitsto find the full list of settings.2.3.1. Become Familiar with the Viewer ControlsOptionally, take a few moments to become familiar with the viewer controls.These icons switch the mouse from selecting items in the viewer to controlling the orientation and display of the view. First,the sizing controls:1.ClickZoom Box 2.Click and drag a rectangular box over the geometry.3.Release the mouse button to zoom in on the selection.The geometry zoom changes to display the selection at a greater resolution.4.Click Fit View to re-center and re-scale the geometry.Now, the rotation functions:1.Click Rotate on the viewer toolbar.Post-processing Fluid Flow and Heat Transfer in a Mixing ElbowDisplay the Solution in CFD-Post 2.Click and drag repeatedly within the viewer to test the rotation of the geometry. Notice how the mousecursor changes depending on where you are in the viewer, particularly near the edges:Figure 2.2: Orientation Control Cursor TypesThe geometry rotates based on the direction of movement. If the mouse cursor has an axis (which happens around the edges), the object rotates around the axis shown in the cursor.The axis ofrotation is through the pivot point, which defaults to be in the center of the object.TipSee Mouse Button Mapping for details about other features that you can access with themouse.Now explore orientation options:1.Right-click a blank area in the viewer and select Predefined Camera > View From -X.2.Right-click a blank area in the viewer and select Predefined Camera > Isometric View (Z Up).3.Click the “Z” axis of triad in the viewer to get a side view of the object.Post-processing Fluid Flow and Heat Transfer in a Mixing Elbow4.Click the three axes in the triad in turn to see the vector objects in all three planes; when you are done,click the cyan (ISO) sphere.Now explore the differences between the orienting controls you just used and select mode.1.Click to enter select mode.2.Hover over one of the wireframe lines and notice that the cursor turns into a box.3.Click a wireframe line and notice that the details view for the wireframe appears.4.Right-click away from a wireframe line and then again on a wireframe line. Notice how the menuchanges:Figure 2.3: Right-click Menus Vary by Cursor Position5.In the Outline tree view, select the elbow1 > fluid > wall check box; the outer wall of the elbow be-comes solid. Notice that as you hover over the colored area, the cursor again becomes a box, indicating that you can perform operations on that region.When you right-click the wall, a new menu appears. 6.Click the triad and notice that you cannot change the orientation of the viewer object. (The triad isavailable only in viewing mode, not select mode.)7.In the Outline tree view, clear the elbow1 > fluid > wall check box; the outer wall of the elbow disap-pears.2.3.2. Create an Instance ReflectionCreate an instance reflection on the symmetry plane so that you can see the complete case:1.With the 3D Viewer toolbar in viewing mode, click the cyan (ISO) sphere in the triad.This will make it easy to see the instance reflection you are about to create.2.Right-click one of the wireframe lines on the symmetry plane. (If you were in select mode, the mousecursor would have a “box” image added when you are on a valid line. As you are in viewing mode there is no change to the cursor to show that you are on a wireframe line, so you may see the general shortcut menu, as opposed to the shortcut menu for the symmetry plane.) See Figure 2.3: Right-click Menus Vary by Cursor Position (p.14).3.From the shortcut menu, select Reflect/Mirror . If you see a dialog box prompting you for the direction of the normal, choose the Z axis.The mirrored copy of the wireframe appears.TipIf the reflection you create is on an incorrect axis, click theUndo toolbar icon twice.2.3.3. Show Velocity on the Symmetry PlaneCreate a contour plot of velocity on the symmetry plane:1.From the menu bar, select Insert > Contour . In the Insert Contour dialog box, accept the default name,and click OK .2.In the details view for Contour 1, set the following:Value Setting Tabsymmetry a LocationsGeometry Velocity b Variablea Notice how the available locations are highlighted in the viewer as you move the mouse over the objects in the Locations drop-down list.You could also create a slice plane at a location of your choice and define the contour to be at that location.bVelocity is just an example of a variable you can use. For a list of Fluent variables and their CFX equivalents, see Fluent Field Variables Listed by Category in the CFD-Post User's Guide .3.Click Apply .The contour plot for velocity appears and a legend is automatically generated.4.The coloring of the contour plot may not correspond to the colors on the legend because the viewerhas a light source enabled by default.There are several ways to correct this:•You can change the orientation of the objects in the viewer.•You can experiment with changing the position of the light source by holding down the Ctrl key and dragging the cursor with the right mouse button.•You can disable lighting for the contour plot.To disable lighting, click the Render tab and clear the check box beside Lighting , then click Apply .Display the Solution in CFD-PostPost-processing Fluid Flow and Heat Transfer in a Mixing ElbowDisabling the lighting is the method that provides you with the most flexibility, so change thatsetting now.5.Click the Z on the triad to better orient the geometry (the 3D Viewer must be in viewing mode, notselect mode, to do this).Velocity on the Symmetry PlaneFigure 2.4:6.Improve the contrast between the contour regions:a.On the Render tab, select Show Contour Lines and click the plus sign to view more options.b.Select Constant Coloring.c.Set Color Mode to User Specified and set Line Color to black (if necessary, click the bar besideLine Color until black appears).d.Click Apply.Figure 2.5:Velocity on the Symmetry Plane (Enhanced Contrast)7.Hide the contour plot by clearing the check box beside User Locations and Plots > Contour 1 in theOutline tree view.TipYou can also hide an object by right-clicking on its name in the Outline tree view andselecting Hide.2.3.4. Show Flow Distribution in the ElbowCreate a vector plot to show the flow distribution in the elbow:1.From the menu bar, select Insert > Vector.2.Click OK to accept the default name.The details view for the vector appears.3.On the Geometry tab, set Domains to fluid and Locations to symmetry.4.Click Apply.5.On the Symbol tab, set Symbol Size to 4.6.Click Apply and notice the changes to the vector plot.Figure 2.6:Vector Plot of Velocity7.Change the vector plot so that the vectors are colored by temperature:a.In the details view for Vector 1, click the Color tab.b.Set the Mode to Variable.The Variable field becomes enabled.c.Click the down arrow beside the Variable field to set it to Temperature.d.Click Apply and notice the changes to the vector plot.8.Optionally, change the vector symbol. In the details view for the vector, go to the Symbol tab and setSymbol to Arrow3D. Click Apply.9.Hide the vector plot by right-clicking on a vector symbol in the plot and selecting Hide.In this example you will create streamlines to show the flow distribution by velocity and color those streamlines to show turbulent kinetic energy. CFD-Post uses the Variable setting on the Geometry tabto determine how to calculate the streamlines (that is, location). In contrast, the Variable setting onthe Color tab determines the color used when plotting those streamlines.1.From the menu bar select Insert > Streamline. Accept the default name and click OK.2.In the details view for Streamline 1, choose the points from which to start the streamlines. Click thedown arrow beside the Start From drop-down widget to see the potential starting points. Hoverover each point and notice that the area is highlighted in the 3D Viewer. It would be best to show how streamlines from both inlets interact, so, to make a multi-selection, click the Location editor icon .The Location Selector dialog box appears.3.In the Location Selector dialog box, hold down the Ctrl key and click velocity inlet 5 and ve-locity inlet 6 to highlight both locations, then click OK.4.Click Preview Seed Points to see the starting points for the streamlines.5.On the Geometry tab, ensure that Variable is set to Velocity.6.Click the Color tab and make the following changes:a.Set the Mode to Variable.The Variable field becomes enabled.b.Set the Variable to Turbulence Kinetic Energy.c.Set Range to Local.7.Click Apply.The streamlines show the flow of massless particles through the entire domain.Figure 2.7: Streamlines of Turbulence Kinetic Energy8.Select the check box beside Vector 1.The vectors appear, but are largely hidden by the streamlines.Tocorrect this, highlight Streamline 1 in the Outline tree view and press Delete.The vectors are nowclearly visible, but the work you did to create the streamlines is gone. Click the Undo icon to restore Streamline 1.9.Hide the vector plot and the streamlines by clearing the check boxes beside Vector 1 and Streamline1 in the Outline tree view.2.3.5. Show the Vortex StructureCFD-Post displays vortex core regions to enable you to better understand the processes in your simula-tion. In this example you will look at helicity method for vortex cores, but in your own work you woulduse the vortex core method that you find most instructive.1.In the Outline tree view:a.Under User Locations and Plots, clear the check box for Wireframe.b.Under Cases > elbow1 > fluid, select the check box for wall.c.Double-click wall to edit its properties.。