FLUENT多孔介质仿真模拟案例与设置教程结果图
fluent中多孔介质设置问题和算例
经由【2 】苦楚的一段阅历,终于将局部问题本相大白,为了使保位同仁不再经由我之苦楚,如今将本人多孔介质经验颁布如下,愿望列位能加精:1.Gambit中划分网格之后,界说须要做为多孔介质的区域为fluid,与缺省的fluid分离开来,再界说其名称,我习惯将名称界说为porous;2.在fluent中界说边界前提define-boundary condition-porous(刚界说的名称),将其设置边界前提为fluid,点击set按钮即弹出与fluid边界前提一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即消失一个带有滚动条的界面;3.porous zone设置办法:1)界说矢量:二维界说一个矢量,第二个矢量偏向不用界说,是与第一个矢量偏向正交的;三维界说二个矢量,第三个矢量偏向不用界说,是与第一.二个矢量偏向正交的;(若何知道矢量的偏向:打开grid图,看看X,Y,Z的偏向,假如是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,假如所须要的偏向与坐标轴正向相反,则界说矢量为负)圆锥坐标与球坐标请参考fluent关心.2)界说粘性阻力1/a与内部阻力C2:请参看本人上一篇博文“终于搞清fluent中多孔粘性阻力与内部阻力的盘算办法”,此处不赘述;3)假如了界说粘性阻力1/a与内部阻力C2,就不用界说C1与C0,因为这是两种不同的界说办法,C1与C0只在幂率模子中消失,该处保持默认就行了;4)界说孔隙率porousity,默认值1表示全凋谢,此值按试验测值填写即可.完了,其他设置与通俗k-e或RSM雷同.总结一下,与君共享!Tutorial 7. Modeling Flow Through Porous MediaIntroductionMany industrial applications involve the modeling of flow through porous media, suchas filters, catalyst beds, and packing. This tutorial illustrates how to set up and solve aproblem involving gas flow through porous media.The industrial problem solved here involves gas flow through a catalytic converter. Catalyticconverters are commonly used to purify emissions from gasoline and diesel enginesby converting environmentally hazardous exhaust emissions to acceptable substances.Examples of such emissions include carbon monoxide (CO), nitrogen oxides (NOx), andunburned hydrocarbon fuels. These exhaust gas emissions are forced through a substrate,which is a ceramic structure coated with a metal catalyst such as platinum or palladium.The nature of the exhaust gas flow is a very important factor in determining the performanceof thecatalytic converter. Of particular importance is the pressure gradientand velocity distribution through the substrate. Hence CFD analysis is used to designefficient catalytic converters: by modeling the exhaust gas flow, the pressure drop andthe uniformity of flow through the substrate can be determined. In this tutorial, FLUENTis used to model the flow of nitrogen gas through a catalytic converter geometry, so thatthe flow field structure may be analyzed.This tutorial demonstrates how to do the following:_ Set up a porous zone for the substrate with appropriate resistances._ Calculate a solution for gas flow through the catalytic converter using the pressurebasedsolver. _ Plot pressure and velocity distribution on specified planes of the geometry._ Determine the pressure drop through the substrate and the degree of non-uniformityof flow through cross sections of the geometry using X-Y plots and numerical reports.Problem DescriptionThe catalytic converter modeled here is shown in Figure 7.1. The nitrogen flows inthrough the inlet with a uniform velocity of 22.6 m/s, passes through a ceramic monolithsubstrate with square shaped channels, and then exits through the outlet.While the flow in the inlet and outlet sections is turbulent, the flow through the substrateis laminar and is characterized by inertial and viscous loss coefficients in the flow (X)direction. The substrate is impermeable in other directions, which is modeled using losscoefficients whose valuesare three orders of magnitude higher than in the X direction.Setup and SolutionStep 1: Grid1. Read the mesh file (catalytic converter.msh).File /Read /Case...2. Check the grid.Grid /CheckFLUENT will perform various checks on the mesh and report the progress in theconsole. Make sure that the minimum volume reported is a positive number.3. Scale the grid.Grid!Scale...(a) Select mm from the Grid Was Created In drop-down list.(b) Click the Change Length Units button.All dimensions will now be shown in millimeters.(c) Click Scale and close the Scale Grid panel.4. Display the mesh.Display /Grid...(a) Make sure that inlet, outlet, substrate-wall, and wall are selected in the Surfacesselection list.(b) Click Display.(c) Rotate the view and zoom in to get the display shown in Figure 7.2.(d) Close the Grid Display panel.The hex mesh on the geometry contains a total of 34,580 cells.Step 2: Models1. Retain the default solver settings.Define /Models /Solver...2. Select the standard k-ε turbulence model.Define/ Models /Viscous...Step 3: Materials1. Add nitrogen to the list of fluid materials by copying it from the Fluent Databasefor materials.Define /Materials...(a) Click the Fluent Database... button to open the Fluent Database Materialspanel.i. Select nitrogen (n2) from the list of Fluent Fluid Materials.ii. Click Copy to copy the information for nitrogen to your list of fluid materials. iii. Close the Fluent Database Materials panel.(b) Close the Materials panel.Step 4: Boundary Conditions.Define /Boundary Conditions...1. Set the boundary conditions for the fluid (fluid).(a) Select nitrogen from the Material Name drop-down list.(b) Click OK to close the Fluid panel.2. Set the boundary conditions for the substrate (substrate).(a) Select nitrogen from the Material Name drop-down list.(b) Enable the Porous Zone option to activate the porous zone model.(c) Enable the Laminar Zone option to solve the flow in the porous zone withoutturbulence.(d) Click the Porous Zone tab.i. Make sure that the principal direction vectors are set as shown in e the scroll bar to access the fields that are not initially visible in thepanel.ii. Enter the values in Table 7.2 for the Viscous Resistance and Inertial Resistance.Scroll down to access the fields that are not initially visible in the panel.(e) Click OK to close the Fluid panel.3. Set the velocity and turbulence boundary conditions at the inlet (inlet).(a) Enter 22.6 m/s for the Velocity Magnitude.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Retain the default value of 10% for the Turbulent Intensity.(d) Enter 42 mm for the Hydraulic Diameter.(e) Click OK to close the Velocity Inlet panel.4. Set the boundary conditions at the outlet (outlet).(a) Retain the default setting of 0 for Gauge Pressure.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Enter 5% for the Backflow Turbulent Intensity.(d) Enter 42 mm for the Backflow Hydraulic Diameter.(e) Click OK to close the Pressure Outlet panel.5. Retain the default boundary conditions for the walls (substrate-wall and wall) andclose the Boundary Conditions panel.Step 5: Solution1. Set the solution parameters.Solve /Controls /Solution...(a) Retain the default settings for Under-Relaxation Factors.(b) Select Second Order Upwind from the Momentum drop-down list in the Discretizationgroup box.(c) Click OK to close the Solution Controls panel.2. Enable the plotting of residuals during the calculation.Solve/Monitors /Residual...(a) Enable Plot in the Options group box.(b) Click OK to close the Residual Monitors panel.3. Enable the plotting of the mass flow rate at the outlet.Solve / Monitors /Surface...(a) Set the Surface Monitors to 1.(b) Enable the Plot and Write options for monitor-1, and click the Define... buttonto open the Define Surface Monitor panel.i. Select Mass Flow Rate from the Report Type drop-down list. ii. Select outlet from the Surfaces selection list.iii. Click OK to close the Define Surface Monitors panel.(c) Click OK to close the Surface Monitors panel.4. Initialize the solution from the inlet.Solve /Initialize /Initialize...(a) Select inlet from the Compute From drop-down list.(b) Click Init and close the Solution Initialization panel.5. Save the case file (catalytic converter.cas).File /Write /Case...6. Run the calculation by requesting 100 iterations.Solve /Iterate...(a) Enter 100 for the Number of Iterations.(b) Click Iterate.The FLUENT calculation will converge in approximately 70 iterations. By thispoint the mass flow rate monitor has attended out, as seen in Figure 7.3.(c) Close the Iterate panel.7. Save the case and data files (catalytic converter.cas and catalytic converter.dat).File /Write /Case & Data...Note: If you choose a file name that already exists in the current folder, FLUENTwill prompt you for confirmation to overwrite the file.Step 6: Post-processing1. Create a surface passing through the centerline for post-processing purposes.Surface/Iso-Surface...(a) Select Grid... and Y-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Retain the default value of 0 for the Iso-Values.(d) Enter y=0 for the New Surface Name.(e) Click Create.2. Create cross-sectional surfaces at locations on either side of the substrate, as wellas at its center. Surface /Iso-Surface...(a) Select Grid... and X-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Enter 95 for Iso-Values.(d) Enter x=95 for the New Surface Name.(e) Click Create.(f) In a similar manner, create surfaces named x=130 and x=165 with Iso-Valuesof 130 and 165, respectively. Close the Iso-Surface panel after all the surfaceshave been created.3. Create a line surface for the centerline of the porous media.Surface /Line/Rake...(a) Enter the coordinates of the line under End Points, using the starting coordinateof (95, 0, 0) and an ending coordinate of (165, 0, 0), as shown.(b) Enter porous-cl for the New Surface Name.(c) Click Create to create the surface.(d) Close the Line/Rake Surface panel.4. Display the two wall zones (substrate-wall and wall).Display /Grid...(a) Disable the Edges option.(b) Enable the Faces option.(c) Deselect inlet and outlet in the list under Surfaces, and make sure that onlysubstrate-wall and wall are selected.(d) Click Display and close the Grid Display panel.(e) Rotate the view and zoom so that the display is similar to Figure 7.2.5. Set the lighting for the display.Display /Options...(a) Enable the Lights On option in the Lighting Attributes group box.(b) Retain the default selection of Gourand in the Lighting drop-down list.(c) Click Apply and close the Display Options panel.6. Set the transparency parameter for the wall zones (substrate-wall and wall).Display/Scene...(a) Select substrate-wall and wall in the Names selection list.(b) Click the Display... button under Geometry Attributes to open the DisplayProperties panel.i. Set the Transparency slider to 70.ii. Click Apply and close the Display Properties panel.(c) Click Apply and then close the Scene Description panel.7. Display velocity vectors on the y=0 surface.Display /Vectors...(a) Enable the Draw Grid option.The Grid Display panel will open.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(b) Enter 5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Vectors panel.The flow pattern shows that the flow enters the catalytic converter as a jet, withrecirculation on either side of the jet. As it passes through the porous substrate, itdecelerates and straightens out, and exhibits a more uniform velocity distribution.This allows the metal catalyst present in the substrate to be more effective.Figure 7.4: Velocity Vectors on the y=0 Plane8. Display filled contours of static pressure on the y=0 plane.Display /Contours...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Display Grid panel.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(c) Make sure that Pressure... and Static Pressure are selected from the Contoursof drop-down lists.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Contours panel.Figure 7.5: Contours of the Static Pressure on the y=0 planeThe pressure changes rapidly in the middle section, where the fluid velocity changesas it passes through the porous substrate. The pressure drop can be high, due to theinertial and viscous resistance of the porous media. Determining this pressure dropis a goal of CFD analysis. In the next step, you will learn how to plot the pressuredrop along the centerline of the substrate.9. Plot the static pressure across the line surface porous-cl.Plot /XY Plot...(a) Make sure that the Pressure... and Static Pressure are selected from the Y AxisFunction drop-down lists.(b) Select porous-cl from the Surfaces selection list.(c) Click Plot and close the Solution XY Plot panel.Figure 7.6: Plot of the Static Pressure on the porous-cl Line SurfaceIn Figure 7.6, the pressure drop across the porous substrate can be seen to beroughly 300 Pa. 10. Display filled contours of the velocity in the X direction on the x=95, x=130 andx=165 surfaces.Display /Contours...(a) Disable the Global Range option.(b) Select Velocity... and X Velocity from the Contours of drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfaces selection list, and deselecty=0.(d) Click Display and close the Contours panel.The velocity profile becomes more uniform as the fluid passes through the porousmedia. The velocity is very high at the center (the area in red) just before thenitrogen enters the substrate and then decreases as it passes through and exits thesubstrate. The area in green, which corresponds to a moderate velocity, increasesin extent.Figure 7.7: Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces11. Use numerical reports to determine the average, minimum, and maximum of thevelocity distribution before and after the porous substrate.Report /Surface Integrals...(a) Select Mass-Weighted Average from the Report Type drop-down list.(b) Select Velocity and X Velocity from the Field Variable drop-down lists.(c) Select x=165 and x=95 from the Surfaces selection list.(d) Click Compute.(e) Select Facet Minimum from the Report Type drop-down list and click Computeagain.(f) Select Facet Maximum from the Report Type drop-down list and click Computeagain.(g) Close the Surface Integrals panel.The numerical report of average, maximum and minimum velocity can be seen inthe main FLUENT console, as shown in the following example:The spread between the average, maximum, and minimum values for X velocitygives the degreeto which the velocity distribution is non-uniform. You can also usethese numbers to calculate the velocity ratio (i.e., the maximum velocity divided bythe mean velocity) and the space velocity (i.e.,the product of the mean velocity andthe substrate length).Custom field functions and UDFs can be also used to calculate more complex measuresof non-uniformity, such as the standard deviation and the gamma uniformityindex.SummaryIn this tutorial, you learned how to set up and solve a problem involving gas flow throughporous media in FLUENT. You also learned how to perform appropriate post-processingto investigate the flow field, determine the pressure drop across the porous media andnon-uniformity of the velocity distribution as the fluid goes through the porous media.Further ImprovementsThis tutorial guides you through the steps to reach an initial solution. You may be ableto obtain a more accurate solution by using an appropriate higher-order discretizationscheme and by adapting the grid. Grid adaption can also ensure that the solution isindependent of the grid. These steps are demonstrated in Tutorial 1.。
fluent中多孔介质设置问题和算例
经过痛苦的一段经历,终于将局部问题真相大白,为了使保位同仁不再经过我之痛苦,现在将本人多孔介质经验公布如下,希望各位能加精:1。
Gambit中划分网格之后,定义需要做为多孔介质的区域为fluid,与缺省的fluid分别开来,再定义其名称,我习惯将名称定义为porous;2。
在fluent中定义边界条件define-boundary condition-porous(刚定义的名称),将其设置边界条件为fluid,点击set按钮即弹出与fluid边界条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即出现一个带有滚动条的界面;3。
porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不用定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不用定义,是与第一、二个矢量方向正交的;(如何知道矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考fluent帮助。
2)定义粘性阻力1/a与内部阻力C2:请参看本人上一篇博文“终于搞清fluent中多孔粘性阻力与内部阻力的计算方法”,此处不赘述;3)如果了定义粘性阻力1/a与内部阻力C2,就不用定义C1与C0,因为这是两种不同的定义方法,C1与C0只在幂率模型中出现,该处保持默认就行了;4)定义孔隙率porousity,默认值1表示全开放,此值按实验测值填写即可。
完了,其他设置与普通k-e或RSM相同。
总结一下,与君共享!Tutorial 7. Modeling Flow Through Porous MediaIntroductionMany industrial applications involve the modeling of flow through porous media, such as filters, catalyst beds, and packing. This tutorial illustrates how to set up and solve a problem involving gas flow through porous media.The industrial problem solved here involves gas flow through a catalytic converter. Catalytic converters are commonly used to purify emissions from gasoline and diesel engines by converting environmentally hazardous exhaust emissions to acceptable substances.Examples of such emissions include carbon monoxide (CO), nitrogen oxides (NOx), and unburned hydrocarbon fuels. These exhaust gas emissions are forced through a substrate, which is a ceramic structure coated with a metal catalyst such as platinum or palladium.The nature of the exhaust gas flow is a very important factor in determining the performance of the catalytic converter. Of particular importance is the pressure gradient and velocity distribution through the substrate. Hence CFD analysis is used to design efficient catalytic converters: by modeling the exhaust gas flow, the pressure drop and the uniformity of flow through the substrate can be determined. In this tutorial, FLUENT is used to model the flow of nitrogen gas through a catalytic converter geometry, so that the flow field structure may be analyzed.This tutorial demonstrates how to do the following:_ Set up a porous zone for the substrate with appropriate resistances._ Calculate a solution for gas flow through the catalytic converter using the pressure based solver. _ Plot pressure and velocity distribution on specified planes of the geometry._ Determine the pressure drop through the substrate and the degree of non-uniformity of flow through cross sections of the geometry using X-Y plots and numerical reports.Problem DescriptionThe catalytic converter modeled here is shown in Figure 7.1. The nitrogen flows in through the inlet with a uniform velocity of 22.6 m/s, passes through a ceramic monolith substrate with square shaped channels, and then exits through the outlet.While the flow in the inlet and outlet sections is turbulent, the flow through the substrate is laminar and is characterized by inertial and viscous loss coefficients in the flow (X) direction. The substrate is impermeable in other directions, which is modeled using loss coefficients whose values are three orders of magnitude higher than in the X direction.Setup and SolutionStep 1: Grid1. Read the mesh file (catalytic converter.msh).File /Read /Case...2. Check the grid. Grid /CheckFLUENT will perform various checks on the mesh and report the progress in the console. Make sure that the minimum volume reported is a positive number.3. Scale the grid.Grid! Scale...(a) Select mm from the Grid Was Created In drop-down list.(b) Click the Change Length Units button. All dimensions will now be shown in millimeters.(c) Click Scale and close the Scale Grid panel.4. Display the mesh. Display /Grid...(a) Make sure that inlet, outlet, substrate-wall, and wall are selected in the Surfaces selection list.(b) Click Display.(c) Rotate the view and zoom in to get the display shown in Figure 7.2.(d) Close the Grid Display panel.The hex mesh on the geometry contains a total of 34,580 cells.Step 2: Models1. Retain the default solver settings. Define /Models /Solver...2. Select the standard k-ε turbulence model. Define/ Models /Viscous...Step 3: Materials1. Add nitrogen to the list of fluid materials by copying it from the Fluent Database for materials.Define /Materials...(a) Click the Fluent Database... button to open the Fluent Database Materials panel.i. Select nitrogen (n2) from the list of Fluent Fluid Materials.ii. Click Copy to copy the information for nitrogen to your list of fluid materials. iii. Close the Fluent Database Materials panel.(b) Close the Materials panel.Step 4: Boundary Conditions. Define /Boundary Conditions...1. Set the boundary conditions for the fluid (fluid).(a) Select nitrogen from the Material Name drop-down list.(b) Click OK to close the Fluid panel.2. Set the boundary conditions for the substrate (substrate).(a) Select nitrogen from the Material Name drop-down list.(b) Enable the Porous Zone option to activate the porous zone model.(c) Enable the Laminar Zone option to solve the flow in the porous zone without turbulence.(d) Click the Porous Zone tab.i. Make sure that the principal direction vectors are set as shown in Table7.1. Use the scroll bar to access the fields that are not initially visible in the panel.ii. Enter the values in Table 7.2 for the Viscous Resistance and Inertial Resistance. Scroll down to access the fields that are not initially visible in the panel.(e) Click OK to close the Fluid panel.3. Set the velocity and turbulence boundary conditions at the inlet (inlet).(a) Enter 22.6 m/s for the Velocity Magnitude.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdown list in the Turbulence group box.(c) Retain the default value of 10% for the Turbulent Intensity.(d) Enter 42 mm for the Hydraulic Diameter.(e) Click OK to close the Velocity Inlet panel.4. Set the boundary conditions at the outlet (outlet).(a) Retain the default setting of 0 for Gauge Pressure.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdown list in the Turbulence group box.(c) Enter 5% for the Backflow Turbulent Intensity.(d) Enter 42 mm for the Backflow Hydraulic Diameter.(e) Click OK to close the Pressure Outlet panel.5. Retain the default boundary conditions for the walls (substrate-wall and wall) and close the Boundary Conditions panel.Step 5: Solution1. Set the solution parameters. Solve /Controls /Solution...(a) Retain the default settings for Under-Relaxation Factors.(b) Select Second Order Upwind from the Momentum drop-down list in the Discretization group box.(c) Click OK to close the Solution Controls panel.2. Enable the plotting of residuals during the calculation. Solve/Monitors /Residual...(a) Enable Plot in the Options group box.(b) Click OK to close the Residual Monitors panel.3. Enable the plotting of the mass flow rate at the outlet.Solve / Monitors /Surface...(a) Set the Surface Monitors to 1.(b) Enable the Plot and Write options for monitor-1, and click the Define... button to open the Define Surface Monitor panel.i. Select Mass Flow Rate from the Report Type drop-down list.ii. Select outlet from the Surfaces selection list.iii. Click OK to close the Define Surface Monitors panel.(c) Click OK to close the Surface Monitors panel.4. Initialize the solution from the inlet. Solve /Initialize /Initialize...(a) Select inlet from the Compute From drop-down list.(b) Click Init and close the Solution Initialization panel.5. Save the case file (catalytic converter.cas). File /Write /Case...6. Run the calculation by requesting 100 iterations. Solve /Iterate...(a) Enter 100 for the Number of Iterations.(b) Click Iterate.The FLUENT calculation will converge in approximately 70 iterations. By this point the mass flow rate monitor has attended out, as seen in Figure 7.3.(c) Close the Iterate panel.7. Save the case and data files (catalytic converter.cas and catalytic converter.dat).File /Write /Case & Data...Note: If you choose a file name that already exists in the current folder, FLUENTwill prompt you for confirmation to overwrite the file.Step 6: Post-processing1. Create a surface passing through the centerline for post-processing purposes.Surface/Iso-Surface...(a) Select Grid... and Y-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Retain the default value of 0 for the Iso-Values.(d) Enter y=0 for the New Surface Name.(e) Click Create.2. Create cross-sectional surfaces at locations on either side of the substrate, as well as at its center.Surface /Iso-Surface...(a) Select Grid... and X-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Enter 95 for Iso-Values.(d) Enter x=95 for the New Surface Name.(e) Click Create.(f) In a similar manner, create surfaces named x=130 and x=165 with Iso-Values of 130 and 165, respectively. Close the Iso-Surface panel after all the surfaces have been created.3. Create a line surface for the centerline of the porous media.Surface /Line/Rake...(a) Enter the coordinates of the line under End Points, using the starting coordinate of (95, 0, 0) and an ending coordinate of (165, 0, 0), as shown.(b) Enter porous-cl for the New Surface Name.(c) Click Create to create the surface.(d) Close the Line/Rake Surface panel.4. Display the two wall zones (substrate-wall and wall). Display /Grid...(a) Disable the Edges option.(b) Enable the Faces option.(c) Deselect inlet and outlet in the list under Surfaces, and make sure that only substrate-wall and wall are selected.(d) Click Display and close the Grid Display panel.(e) Rotate the view and zoom so that the display is similar to Figure 7.2.5. Set the lighting for the display. Display /Options...(a) Enable the Lights On option in the Lighting Attributes group box.(b) Retain the default selection of Gourand in the Lighting drop-down list.(c) Click Apply and close the Display Options panel.6. Set the transparency parameter for the wall zones (substrate-wall and wall).Display/Scene...(a) Select substrate-wall and wall in the Names selection list.(b) Click the Display... button under Geometry Attributes to open the Display Properties panel.i. Set the Transparency slider to 70.ii. Click Apply and close the Display Properties panel.(c) Click Apply and then close the Scene Description panel.7. Display velocity vectors on the y=0 surface.Display /Vectors...(a) Enable the Draw Grid option. The Grid Display panel will open.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(b) Enter 5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Vectors panel.The flow pattern shows that the flow enters the catalytic converter as a jet, with recirculation on either side of the jet. As it passes through the porous substrate, it decelerates and straightens out, and exhibits a more uniform velocity distribution.This allows the metal catalyst present in the substrate to be more effective.Figure 7.4: Velocity Vectors on the y=0 Plane8. Display filled contours of static pressure on the y=0 plane.Display /Contours...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Display Grid panel.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(c) Make sure that Pressure... and Static Pressure are selected from the Contours of drop-down lists.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Contours panel.Figure 7.5: Contours of the Static Pressure on the y=0 planeThe pressure changes rapidly in the middle section, where the fluid velocity changes as it passes through the porous substrate. The pressure drop can be high, due to the inertial and viscous resistance of the porous media. Determining this pressure drop is a goal of CFD analysis. In the next step, you will learn how to plot the pressure drop along the centerline of the substrate.9. Plot the static pressure across the line surface porous-cl.Plot /XY Plot...(a) Make sure that the Pressure... and Static Pressure are selected from the Y Axis Function drop-down lists.(b) Select porous-cl from the Surfaces selection list.(c) Click Plot and close the Solution XY Plot panel.Figure 7.6: Plot of the Static Pressure on the porous-cl Line SurfaceIn Figure 7.6, the pressure drop across the porous substrate can be seen to be roughly 300 Pa.10. Display filled contours of the velocity in the X direction on the x=95, x=130 and x=165 surfaces.Display /Contours...(a) Disable the Global Range option.(b) Select Velocity... and X Velocity from the Contours of drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfaces selection list, and deselect y=0.(d) Click Display and close the Contours panel.The velocity profile becomes more uniform as the fluid passes through the porous media. The velocity is very high at the center (the area in red) just before the nitrogen enters the substrate and then decreases as it passes through and exits the substrate. The area in green, which corresponds to a moderate velocity, increases in extent.Figure 7.7: Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces11. Use numerical reports to determine the average, minimum, and maximum of the velocity distribution before and after the porous substrate.Report /Surface Integrals...(a) Select Mass-Weighted Average from the Report Type drop-down list.(b) Select Velocity and X Velocity from the Field Variable drop-down lists.(c) Select x=165 and x=95 from the Surfaces selection list.(d) Click Compute.(e) Select Facet Minimum from the Report Type drop-down list and click Compute again.(f) Select Facet Maximum from the Report Type drop-down list and click Compute again.(g) Close the Surface Integrals panel.The numerical report of average, maximum and minimum velocity can be seen in the main FLUENT console, as shown in the following example:The spread between the average, maximum, and minimum values for X velocity gives the degree to which the velocity distribution is non-uniform. You can also use these numbers to calculate the velocity ratio (i.e., the maximum velocity divided by the mean velocity) and the space velocity (i.e., the product of the mean velocity and the substrate length).Custom field functions and UDFs can be also used to calculate more complex measures ofnon-uniformity, such as the standard deviation and the gamma uniformity index.SummaryIn this tutorial, you learned how to set up and solve a problem involving gas flow through porous media in FLUENT. You also learned how to perform appropriate post-processing to investigate the flow field, determine the pressure drop across the porous media and non-uniformity of the velocity distribution as the fluid goes through the porous media.Further ImprovementsThis tutorial guides you through the steps to reach an initial solution. You may be able to obtain a more accurate solution by using an appropriate higher-order discretization scheme and by adapting the grid. Grid adaption can also ensure that the solution is independent of the grid. These steps aredemonstrated in Tutorial 1.。
fluent中多孔介质设置问题和算例
经过痛苦的一段经历,终究将局部成绩本相大白,为了使保位同仁不再经过我之痛苦,此刻将本人多孔介质经验公布如下,但愿各位能加精:之杨若古兰创作1.Gambit中划分网格以后,定义须要做为多孔介质的区域为fluid,与缺省的fluid分别开来,再定义其名称,我习气将名称定义为porous;2.在fluent中定义鸿沟条件define-boundary condition-porous(刚定义的名称),将其设置鸿沟条件为fluid,点击set 按钮即弹出与fluid鸿沟条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即出现一个带有滚动条的界面;3.porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不必定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不必定义,是与第一、二个矢量方向正交的;(如何晓得矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所须要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考fluent帮忙.2)定义粘性阻力1/a与内部阻力C2:请参看本人上一篇博文“终究搞清fluent中多孔粘性阻力与内部阻力的计算方法”,此处不赘述;3)如果了定义粘性阻力1/a与内部阻力C2,就不必定义C1与C0,由于这是两种分歧的定义方法,C1与C0只在幂率模型中出现,该处坚持默认就行了;4)定义孔隙率porousity,默认值1暗示全开放,此值按实验测值填写即可.完了,其他设置与普通k-e或RSM不异.总结一下,与君共享!Tutorial 7. Modeling Flow Through Porous Media IntroductionMany industrial applications involve the modeling of flow through porous media, suchas filters, catalyst beds, and packing. This tutorial illustrates how to set up and solve aproblem involving gas flow through porous media.The industrial problem solved here involves gas flow through acatalytic converter. Catalyticconverters are commonly used to purify emissions from gasoline and diesel enginesby converting environmentally hazardous exhaust emissions to acceptable substances.Examples of such emissions include carbon monoxide (CO), nitrogen oxides (NOx), andunburned hydrocarbon fuels. These exhaust gas emissions are forced through a substrate,which is a ceramic structure coated with a metal catalyst such as platinum or palladium.The nature of the exhaust gas flow is a very important factor in determining the performanceof the catalytic converter. Of particular importance is the pressure gradientand velocity distribution through the substrate. Hence CFD analysis is used to designefficient catalytic converters: by modeling the exhaust gas flow, the pressure drop andthe uniformity of flow through the substrate can be determined. In this tutorial, FLUENTis used to model the flow of nitrogen gas through a catalytic converter geometry, so thatthe flow field structure may be analyzed.This tutorial demonstrates how to do the following:_ Set up a porous zone for the substrate with appropriate resistances._ Calculate a solution for gas flow through the catalytic converterusing the pressurebasedsolver._ Plot pressure and velocity distribution on specified planes of the geometry._ Determine the pressure drop through the substrate and the degree of non-uniformityof flow through cross sections of the geometry using X-Y plots and numerical reports.Problem DescriptionThe catalytic converter modeled here is shown in Figure 7.1. The nitrogen flows inthrough the inlet with a uniform velocity of 22.6 m/s, passes through a ceramic monolithsubstrate with square shaped channels, and then exits through the outlet.While the flow in the inlet and outlet sections is turbulent, the flow through the substrateis laminar and is characterized by inertial and viscous loss coefficients in the flow (X)direction. The substrate is impermeable in other directions, which is modeled using losscoefficients whose values are three orders of magnitude higher than in the X direction.Setup and SolutionStep 1: Grid1. Read the mesh file (catalytic converter.msh).File /Read /Case...2. Check the grid.Grid /CheckFLUENT will perform various checks on the mesh and report the progress in theconsole. Make sure that the minimum volume reported is a positive number.3. Scale the grid.Grid!Scale...(a) Select mm from the Grid Was Created In drop-down list.(b) Click the Change Length Units button.All dimensions will now be shown in millimeters.(c) Click Scale and close the Scale Grid panel.4. Display the mesh.Display /Grid...(a) Make sure that inlet, outlet, substrate-wall, and wall are selected in the Surfacesselection list.(b) Click Display.(c) Rotate the view and zoom in to get the display shown in Figure7.2.(d) Close the Grid Display panel.The hex mesh on the geometry contains a total of 34,580 cells.Step 2: Modelsfine /Models /Solver...2. Select the standard k-εfine/ Models /Viscous...Step 3: Materials1. Add nitrogen to the list of flfine /Materials...(a) Click the Fluent Database... button to open the Fluent Database Materialspanel.i. Select nitrogen (n2) from the list of Fluent Fluid Materials.ii. Click Copy to copy the information for nitrogen to your list of fluid materials.iii. Close the Fluent Database Materials panel.(b) Close the Materials panel.Step 4: Boundary Conditions.Define /Boundary Conditions...1. Set the boundary conditions for the fluid (fluid).(a) Select nitrogen from the Material Name drop-down list.(b) Click OK to close the Fluid panel.2. Set the boundary conditions for the substrate (substrate).(a) Select nitrogen from the Material Name drop-down list.(b) Enable the Porous Zone option to activate the porous zone model.(c) Enable the Laminar Zone option to solve the flow in the porous zone withoutturbulence.(d) Click the Porous Zone tab.i. Make sure that the principal direction vectors are set as shown in e the scroll bar to access the fields that are not initially visible in thepanel.ii. Enter the values in Table 7.2 for the Viscous Resistance and Inertial Resistance.Scroll down to access the fields that are not initially visible in the panel.(e) Click OK to close the Fluid panel.3. Set the velocity and turbulence boundary conditions at the inlet (inlet).(a) Enter 22.6 m/s for the Velocity Magnitude.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Retain the default value of 10% for the Turbulent Intensity.(d) Enter 42 mm for the Hydraulic Diameter.(e) Click OK to close the Velocity Inlet panel.4. Set the boundary conditions at the outlet (outlet).(a) Retain the default setting of 0 for Gauge Pressure.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Enter 5% for the Backflow Turbulent Intensity.(d) Enter 42 mm for the Backflow Hydraulic Diameter.(e) Click OK to close the Pressure Outlet panel.5. Retain the default boundary conditions for the walls (substrate-wall and wall) andclose the Boundary Conditions panel.Step 5: Solution1. Set the solution parameters.Solve /Controls /Solution...(a) Retain the default settings for Under-Relaxation Factors.(b) Select Second Order Upwind from the Momentum drop-down list in the Discretizationgroup box.(c) Click OK to close the Solution Controls panel./Monitors /Residual...(a) Enable Plot in the Options group box.(b) Click OK to close the Residual Monitors panel.3. Enable the plotting of the mass flow rate at the outlet.Solve / Monitors /Surface...(a) Set the Surface Monitors to 1.(b) Enable the Plot and Write options for monitor-1, and click the Define... buttonto open the Define Surface Monitor panel.i. Select Mass Flow Rate from the Report Type drop-down list. ii. Select outlet from the Surfaces selection list.iii. Click OK to close the Define Surface Monitors panel.(c) Click OK to close the Surface Monitors panel.4. Initialize the solution from the inlet.Solve /Initialize /Initialize...(a) Select inlet from the Compute From drop-down list.(b) Click Init and close the Solution Initialization panel.5. Save the case file (catalytic converter.cas).File /Write /Case...6. Run the calculation by requesting 100 iterations.Solve /Iterate...(a) Enter 100 for the Number of Iterations.(b) Click Iterate.The FLUENT calculation will converge in approximately 70 iterations. By thispoint the mass flow rate monitor has attended out, as seen in Figure 7.3.(c) Close the Iterate panel.7. Save the case and data files (catalytic converter.cas and catalytic converter.dat).File /Write /Case & Data...Note: If you choose a file name that already exists in the current folder, FLUENTwill prompt you for confirmation to overwrite the file.Step 6: Post-processing1. Create a surface passing through the centerline for post-processing purposes.Surface/Iso-Surface...(a) Select Grid... and Y-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Retain the default value of 0 for the Iso-Values.(d) Enter y=0 for the New Surface Name.(e) Click Create.2. Create cross-sectional surfaces at locations on either side of the substrate, as wellas at its center.Surface /Iso-Surface...(a) Select Grid... and X-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Enter 95 for Iso-Values.(d) Enter x=95 for the New Surface Name.(e) Click Create.(f) In a similar manner, create surfaces named x=130 and x=165 with Iso-Valuesof 130 and 165, respectively. Close the Iso-Surface panel after all the surfaceshave been created.3. Create a line surface for the centerline of the porous media. Surface /Line/Rake...(a) Enter the coordinates of the line under End Points, using the starting coordinateof (95, 0, 0) and an ending coordinate of (165, 0,0), as shown.(b) Enter porous-cl for the New Surface Name.(c) Click Create to create the surface.(d) Close the Line/Rake Surface panel.4. Display the two wall zones (substrate-wall and wall).Display/Grid...(a) Disable the Edges option.(b) Enable the Faces option.(c) Deselect inlet and outlet in the list under Surfaces, and make sure that onlysubstrate-wall and wall are selected.(d) Click Display and close the Grid Display panel.(e) Rotate the view and zoom so that the display is similar to Figure 7.2.5. Set the lighting for the display.Display /Options...(a) Enable the Lights On option in the Lighting Attributes group box.(b) Retain the default selection of Gourand in the Lighting drop-down list.(c) Click Apply and close the Display Options panel.6. Set the transparency parameter for the wall zones (substrate-wall and wall).Display/Scene...(a) Select substrate-wall and wall in the Names selection list.(b) Click the Display... button under Geometry Attributes to openthe DisplayProperties panel.i. Set the Transparency slider to 70.ii. Click Apply and close the Display Properties panel.(c) Click Apply and then close the Scene Description panel.7. Display velocity vectors on the y=0 surface.Display /Vectors...(a) Enable the Draw Grid option.The Grid Display panel will open.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(b) Enter 5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Vectors panel.The flow pattern shows that the flow enters the catalytic converter as a jet, withrecirculation on either side of the jet. As it passes through the porous substrate, itdecelerates and straightens out, and exhibits a more uniform velocity distribution.This allows the metal catalyst present in the substrate to be more effective.Figure 7.4: Velocity Vectors on the y=0 Plane8. Display filled contours of static pressure on the y=0 plane. Display /Contours...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Display Grid panel.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(c) Make sure that Pressure... and Static Pressure are selected from the Contoursof drop-down lists.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Contours panel.Figure 7.5: Contours of the Static Pressure on the y=0 planeThe pressure changes rapidly in the middle section, where the fluid velocity changesas it passes through the porous substrate. The pressure drop can be high, due to theinertial and viscous resistance of the porous media. Determining this pressure dropis a goal of CFD analysis. In the next step, you will learn how to plot the pressuredrop along the centerline of the substrate.9. Plot the static pressure across the line surface porous-cl.Plot /XY Plot...(a) Make sure that the Pressure... and Static Pressure are selectedfrom the Y AxisFunction drop-down lists.(b) Select porous-cl from the Surfaces selection list.(c) Click Plot and close the Solution XY Plot panel.Figure 7.6: Plot of the Static Pressure on the porous-cl Line SurfaceIn Figure 7.6, the pressure drop across the porous substrate can be seen to beroughly 300 Pa.10. Display filled contours of the velocity in the X direction on the x=95, x=130 andx=165 surfaces.Display /Contours...(a) Disable the Global Range option.(b) Select Velocity... and X Velocity from the Contours of drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfaces selection list, and deselecty=0.(d) Click Display and close the Contours panel.The velocity profile becomes more uniform as the fluid passes through the porousmedia. The velocity is very high at the center (the area in red) just before thenitrogen enters the substrate and then decreases as it passes through and exits thesubstrate. The area in green, which corresponds to a moderate velocity, increasesin extent.Figure 7.7: Contours of the X Velocity on the x=95,x=130, and x=165 Surfaces11. Use numerical reports to determine the average, minimum, and maximum of thevelocity distribution before and after the porous substrate.Report /Surface Integrals...(a) Select Mass-Weighted Average from the Report Type drop-down list.(b) Select Velocity and X Velocity from the Field Variable drop-down lists.(c) Select x=165 and x=95 from the Surfaces selection list.(d) Click Compute.(e) Select Facet Minimum from the Report Type drop-down list and click Computeagain.(f) Select Facet Maximum from the Report Type drop-down list and click Computeagain.(g) Close the Surface Integrals panel.The numerical report of average, maximum and minimum velocity can be seen inthe main FLUENT console, as shown in the following example:The spread between the average, maximum, and minimum values for X velocitygives the degree to which the velocity distribution isnon-uniform. You can also usethese numbers to calculate the velocity ratio (i.e., the maximum velocity divided bythe mean velocity) and the space velocity (i.e., the product of the mean velocity andthe substrate length).Custom field functions and UDFs can be also used to calculate more complex measuresof non-uniformity, such as the standard deviation and the gamma uniformityindex.SummaryIn this tutorial, you learned how to set up and solve a problem involving gas flow throughporous media in FLUENT. You also learned how to perform appropriate post-processingto investigate the flow field, determine the pressure drop across the porous media andnon-uniformity of the velocity distribution as the fluid goes through the porous media.Further ImprovementsThis tutorial guides you through the steps to reach an initial solution. You may be ableto obtain a more accurate solution by using an appropriate higher-order discretizationscheme and by adapting the grid. Grid adaption can also ensure that the solution isindependent of the grid. These steps are demonstrated in Tutorial 1.。
fluent中多孔介质设置问题和算例
经过痛苦的一段经历,终于将局部问题真相大白,为了使保位同仁不再经过我之痛苦,现在将本人多孔介质经验公布如下,希望各位能加精:1。
Gambit中划分网格之后,定义需要做为多孔介质的区域为fl uid,与缺省的fl uid分别开来,再定义其名称,我习惯将名称定义为po rous;2。
在fluen t中定义边界条件de fine-bounda ry condit ion-porous(刚定义的名称),将其设置边界条件为fl uid,点击set按钮即弹出与f luid边界条件一样的对话框,选中poro us zone 与l a mina r复选框,再点击por ous zone标签即出现一个带有滚动条的界面;3。
porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不用定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不用定义,是与第一、二个矢量方向正交的;(如何知道矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考f luen t帮助。
2)定义粘性阻力1/a与内部阻力C2:请参看本人上一篇博文“终于搞清fl uent中多孔粘性阻力与内部阻力的计算方法”,此处不赘述;3)如果了定义粘性阻力1/a与内部阻力C2,就不用定义C1与C0,因为这是两种不同的定义方法,C1与C0只在幂率模型中出现,该处保持默认就行了;4)定义孔隙率p o rous ity,默认值1表示全开放,此值按实验测值填写即可。
完了,其他设置与普通k-e或RSM相同。
总结一下,与君共享!Tutori al 7. Modeli ng Flow Throug h Porous MediaIntrod uctio nMany indust rialapplic ation s involv e the modeli ng of flow throug h porous media, such as filters, cataly st beds, and packin g. This tutori al illust rates how to set up and solvea proble m involv ing gas flow throug h porous media.The indust rialproble m solved here involv es gas flow throug h a cataly tic conver ter. Cataly tic conver tersare common ly used to purify emissi ons from gasoli ne and diesel engine s by conver tingenviro nment allyhazard ous exhaus t emissi ons to accept ablesubsta nces.Exampl es of such emissi ons includ e carbon monoxi de (CO), nitrog en oxides (NOx), and unburn ed hydroc arbon fuels. Theseexhaus t gas emissi ons are forced throug h a substr ate, whichis a cerami c struct ure coated with a metalcataly st such as platin um or pallad ium.The nature of the exhaus t gas flow is a very import ant factor in determ ining the perfor mance of the cataly tic conver ter. Of partic ularimport anceis the pressu re gradie nt and veloci ty distri butio n throug h the substr ate. HenceCFD analys is is used to design effici ent cataly tic conver ters: by modeli ng the exhaus t gas flow, the pressu re drop and the unifor mityof flow throug h the substr ate can be determ ined. In this tutori al, FLUENT is used to modelthe flow of nitrog en gas throug h a cataly tic conver ter geomet ry, so that the flow field struct ure may be analyz ed.This tutori al demons trate s how to do the follow ing:_ Set up a porous zone for the substr ate with approp riate resist ances._ Calcul ate a soluti on for gas flow throug h the cataly tic conver ter usingthe pressu re basedsolver. _ Plot pressu re and veloci ty distri butio n on specif ied planes of the geomet ry._ Determ ine the pressu re drop throug h the substr ate and the degree of non-unifor mityof flow throug h crosssectio ns of the geomet ry usingX-Y plotsand numeri cal report s.Proble m Descri ptionThe cataly tic conver ter modele d here is shownin Figure 7.1. The nitrog en flowsin throug h the inletwith a unifor m veloci ty of 22.6 m/s, passes throug h a cerami c monoli th substr ate with square shaped channe ls, and then exitsthroug h the outlet.Whilethe flow in the inletand outlet sectio ns is turbul ent, the flow throug h the substr ate is lamina r and is charac teriz ed by inerti al and viscou s loss coeffi cient s in the flow (X) direct ion. The substr ate is imperm eable in otherdirect ions, whichis modele d usingloss coeffi cients whosevalues are threeorders of magnit ude higher than in the X direct ion.Setupand Soluti onStep 1: Grid1. Read the mesh file (cataly tic conver ter.msh).File /Read /Case...2. Checkthe grid. Grid /CheckFLUENT will perfor m variou s checks on the mesh and report the progre ss in the consol e. Make sure that the minimu m volume report ed is a positi ve number.3. Scalethe grid.Grid! Scale...(a) Select mm from the Grid Was Create d In drop-down list.(b) Clickthe Change Length Unitsbutton. All dimens ionswill now be shownin millim eters.(c) ClickScaleand closethe ScaleGrid panel.4. Displa y the mesh. Displa y /Grid...(a) Make sure that inlet, outlet, substr ate-wall, and wall are select ed in the Surfac es select ion list.(b) ClickDispla y.(c) Rotate the view and zoom in to get the displa y shownin Figure 7.2.(d) Closethe Grid Displa y panel.The hex mesh on the geomet ry contai ns a totalof 34,580 cells.Step 2: Models1. Retain the defaul t solver settin gs. Define /Models /Solver...2. Select the standa rd k-ε turbul encemodel.Define/ Models /Viscou s...Step 3: Materi als1. Add nitrog en to the list of fluid materi als by copyin g it from the Fluent Databa se for materi als. Define /Materi als...(a) Clickthe Fluent Databa se... button to open the Fluent Databa se Materi als panel.i. Select nitrog en (n2) from the list of Fluent FluidMateri als.ii. ClickCopy to copy the inform ation for nitrog en to your list of fluid materi als. iii. Closethe Fluent Databa se Materi als panel.(b) Closethe Materi als panel.Step 4: Bounda ry Condit ions.Define /Bounda ry Condit ions...1. Set the bounda ry condit ionsfor the fluid(fluid).(a) Select nitrog en from the Materi al Name drop-down list.(b) ClickOK to closethe Fluidpanel.2. Set the bounda ry condit ionsfor the substr ate (substr ate).(a) Select nitrog en from the Materi al Name drop-down list.(b) Enable the Porous Zone option to activa te the porous zone model.(c) Enable the Lamina r Zone option to solvethe flow in the porous zone withou t turbul ence.(d) Clickthe Porous Zone tab.i. Make sure that the princi pal direct ion vector s are set as shownin Table7.1. Use the scroll bar to access the fields that are not initia lly visibl e in the panel.ii. Enterthe values in Table7.2 for the Viscou s Resist anceand Inerti al Resist ance. Scroll down to access the fields that are not initia lly visibl e in the panel.(e) ClickOK to closethe Fluidpanel.3. Set the veloci ty and turbul encebounda ry condit ionsat the inlet(inlet).(a) Enter22.6 m/s for the Veloci ty Magnit ude.(b) Select Intens ity and Hydrau lic Diamet er from the Specif ication Method dropdo wn list in the Turbul encegroupbox.(c) Retain the defaul t valueof 10% for the Turbul ent Intens ity.(d) Enter42 mm for the Hydrau lic Diamet er.(e) ClickOK to closethe Veloci ty Inletpanel.4. Set the bounda ry condit ionsat the outlet (outlet).(a) Retain the defaul t settin g of 0 for GaugePressu re.(b) Select Intens ity and Hydrau lic Diamet er from the Specif ication Method dropdo wn list in the Turbul encegroupbox.(c) Enter5% for the Backfl ow Turbul ent Intens ity.(d) Enter42 mm for the Backfl ow Hydrau lic Diamet er.(e) ClickOK to closethe Pressu re Outlet panel.5. Retain the defaul t bounda ry condit ionsfor the walls(substr ate-wall and wall) and closethe Bounda ry Condit ionspanel.Step 5: Soluti on1. Set the soluti on parame ters.Solve/Contro ls /Soluti on...(a) Retain the defaul t settin gs for Under-Relaxa tionFactor s.(b) Select Second OrderUpwind from the Moment um drop-down list in the Discre tizat ion groupbox.(c) ClickOK to closethe Soluti on Contro ls panel.2. Enable the plotti ng of residu als during the calcul ation. Solve/Monito rs /Residu al...(a) Enable Plot in the Option s groupbox.(b) ClickOK to closethe Residu al Monito rs panel.3. Enable the plotti ng of the mass flow rate at the outlet.Solve/ Monito rs /Surfac e...(a) Set the Surfac e Monito rs to 1.(b) Enable the Plot and Writeoption s for monito r-1, and clickthe Define... button to open the Define Surfac e Monito r panel.i. Select Mass Flow Rate from the Report Type drop-down list.ii. Select outlet from the Surfac es select ion list.iii. ClickOK to closethe Define Surfac e Monito rs panel.(c) ClickOK to closethe Surfac e Monito rs panel.4. Initia lizethe soluti on from the inlet.Solve/Initia lize/Initia lize...(a) Select inletfrom the Comput e From drop-down list.(b) ClickInit and closethe Soluti on Initia lizat ion panel.5. Save the case file (cataly tic conver ter.cas). File /Write/Case...6. Run the calcul ation by reques ting100 iterat ions.Solve/Iterat e...(a) Enter100 for the Number of Iterat ions.(b) ClickIterat e.The FLUENT calcul ation will conver ge in approx imate ly 70 iterat ions. By this pointthe mass flow rate monito r has attend ed out, as seen in Figure 7.3.(c) Closethe Iterat e panel.7. Save the case and data files(cataly tic conver ter.cas and cataly tic conver ter.dat).File /Write/Case & Data...Note: If you choose a file name that alread y exists in the curren t folder, FLUENTwill prompt you for confir matio n to overwr ite the file.Step 6: Post-proces sing1. Create a surfac e passin g throug h the center linefor post-proces singpurpos es.Surfac e/Iso-Surfac e...(a) Select Grid... and Y-Coordi natefrom the Surfac e of Consta nt drop-down lists.(b) ClickComput e to calcul ate the Min and Max values.(c) Retain the defaul t valueof 0 for the Iso-Values.(d) Entery=0 for the New Surfac e Name.(e) ClickCreate.2. Create cross-sectio nal surfac es at locati ons on either side of the substr ate, as well as at its center.Surfac e /Iso-Surfac e...(a) Select Grid... and X-Coordi natefrom the Surfac e of Consta nt drop-down lists.(b) ClickComput e to calcul ate the Min and Max values.(c) Enter95 for Iso-Values.(d) Enterx=95 for the New Surfac e Name.(e) ClickCreate.(f) In a simila r manner, create surfac es namedx=130 and x=165 with Iso-Values of 130 and 165, respec tivel y. Closethe Iso-Surfac e panelafterall the surfac es have been create d.3. Create a line surfac e for the center lineof the porous media.Surfac e /Line/Rake...(a) Enterthe coordi nates of the line underEnd Points, usingthe starti ng coordi nateof (95, 0, 0) and an ending coordi nateof (165, 0, 0), as shown.(b) Enterporous-cl for the New Surfac e Name.(c) ClickCreate to create the surfac e.(d) Closethe Line/Rake Surfac e panel.4. Displa y the two wall zones(substr ate-wall and wall). Displa y /Grid...(a) Disabl e the Edgesoption.(b) Enable the Facesoption.(c) Desele ct inletand outlet in the list underSurfac es, and make sure that only substr ate-wall and wall are select ed.(d) ClickDispla y and closethe Grid Displa y panel.(e) Rotate the view and zoom so that the displa y is simila r to Figure 7.2.5. Set the lighti ng for the displa y. Displa y /Option s...(a) Enable the Lights On option in the Lighti ng Attrib utesgroupbox.(b) Retain the defaul t select ion of Gouran d in the Lighti ng drop-down list.(c) ClickApplyand closethe Displa y Option s panel.6. Set the transp arenc y parame ter for the wall zones(substr ate-wall and wall).Displa y/Scene...(a) Select substr ate-wall and wall in the Namesselect ion list.(b) Clickthe Displa y... button underGeomet ry Attrib utesto open the Displa y Proper tiespanel.i. Set the Transp arenc y slider to 70.ii. ClickApplyand closethe Displa y Proper tiespanel.(c) ClickApplyand then closethe SceneDescri ption panel.7. Displa y veloci ty vector s on the y=0 surfac e.Displa y /Vector s...(a) Enable the Draw Grid option. The Grid Displa y panelwill open.i. Make sure that substr ate-wall and wall are select ed in the list underSurfac es.ii. ClickDispla y and closethe Displa y Grid panel.(b) Enter5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfac es select ion list.(e) ClickDispla y and closethe Vector s panel.The flow patter n showsthat the flow enters the cataly tic conver ter as a jet, with recirc ulati on on either side of the jet. As it passes throug h the porous substr ate, it decele rates and straig htens out, and exhibi ts a more unifor m veloci ty distri butio n.This allows the metalcataly st presen t in the substr ate to be more effect ive.Figure 7.4: Veloci ty Vector s on the y=0 Plane8. Displa y filled contou rs of static pressu re on the y=0 plane.Displa y /Contou rs...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Displa y Grid panel.i. Make sure that substr ate-wall and wall are select ed in the list underSurfac es.ii. ClickDispla y and closethe Displa y Grid panel.(c) Make sure that Pressu re... and Static Pressu re are select ed from the Contou rs of drop-down lists.(d) Select y=0 from the Surfac es select ion list.(e) ClickDispla y and closethe Contou rs panel.Figure 7.5: Contou rs of the Static Pressu re on the y=0 planeThe pressu re change s rapidl y in the middle sectio n, wherethe fluid veloci ty change s as it passes throug h the porous substr ate. The pressu re drop can be high, due to the inerti al and viscou s resist anceof the porous media. Determ ining this pressu re drop is a goal of CFD analys is. In the next step, you will learnhow to plot the pressu re drop alongthe center lineof the substr ate.9. Plot the static pressu re across the line surfac e porous-cl.Plot /XY Plot...(a) Make sure that the Pressu re... and Static Pressu re are select ed from the Y Axis Functi on drop-down lists.(b) Select porous-cl from the Surfac es select ion list.(c) ClickPlot and closethe Soluti on XY Plot panel.Figure 7.6: Plot of the Static Pressu re on the porous-cl Line Surfac eIn Figure 7.6, the pressu re drop across the porous substr ate can be seen to be roughl y 300 Pa.10. Displa y filled contou rs of the veloci ty in the X direct ion on the x=95, x=130 and x=165 surfac es.Displa y /Contou rs...(a) Disabl e the Global Rangeoption.(b) Select Veloci ty... and X Veloci ty from the Contou rs of drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfac es select ion list, and desele ct y=0.(d) ClickDispla y and closethe Contou rs panel.The veloci ty profil e become s more unifor m as the fluid passes throug h the porous media. The veloci ty is very high at the center (the area in red) just before the nitrog en enters the substr ate and then decrea ses as it passes throug h and exitsthe substr ate. The area in green, whichcorres ponds to a modera te veloci ty, increa ses in extent.Figure 7.7: Contou rs of the X Veloci ty on the x=95, x=130, and x=165 Surfac es11. Use numeri cal report s to determ ine the averag e, minimu m, and maximu m of the veloci tydistri butio n before and afterthe porous substr ate.Report /Surfac e Integr als...(a) Select Mass-Weight ed Averag e from the Report Type drop-down list.(b) Select Veloci ty and X Veloci ty from the FieldVariab le drop-down lists.(c) Select x=165 and x=95 from the Surfac es select ion list.(d) ClickComput e.(e) Select FacetMinimu m from the Report Type drop-down list and clickComput e again.(f) Select FacetMaximu m from the Report Type drop-down list and clickComput e again.(g) Closethe Surfac e Integr als panel.The numeri cal report of averag e, maximu m and minimu m veloci ty can be seen in the main FLUENT consol e, as shownin the follow ing exampl e:The spread betwee n the averag e, maximu m, and minimu m values for X veloci ty givesthe degree to whichthe veloci ty distri butio n is non-unifor m. You can also use thesenumber s to calcul ate the veloci ty ratio(i.e., the maximu m veloci ty divide d by the mean veloci ty) and the spaceveloci ty (i.e., the produc t of the mean veloci ty and the substr ate length).Custom field functi ons and UDFs can be also used to calcul ate more comple x measur es ofnon-unifor mity, such as the standa rd deviat ion and the gammaunifor mityindex.Summar yIn this tutori al, you learne d how to set up and solvea proble m involv ing gas flow throug h porous mediain FLUENT. You also learne d how to perfor m approp riate post-proces singto invest igate the flow field, determ ine the pressu re drop across the porous mediaand non-unifor mityof the veloci ty distri butio n as the fluid goes throug h the porous media.Furthe r Improv ement sThis tutori al guides you throug h the stepsto reachan initia l soluti on. You may be able to obtain a more accura te soluti on by usingan approp riate higher-orderdiscre tizat ion scheme and by adapti ng the grid. Grid adapti on can also ensure that the soluti on is indepe ndent of the grid. Thesestepsare demons trate d in Tutori al 1.。
FLUENT多孔介质数值模拟设置
FLUENT多孔介质数值模拟设置多孔介质条件多孔介质模型可以应用于很多问题,如通过充满介质的流动、通过过滤纸、穿孔圆盘、流量分配器以及管道堆的流动。
当你使用这一模型时,你就定义了一个具有多孔介质的单元区域,而且流动的压力损失由多孔介质的动量方程中所输入的内容来决定。
通过介质的热传导问题也可以得到描述,它服从介质和流体流动之间的热平衡假设,具体内容可以参考多孔介质中能量方程的处理一节。
多孔介质的一维化简模型,被称为多孔跳跃,可用于模拟具有已知速度/压降特征的薄膜。
多孔跳跃模型应用于表面区域而不是单元区域,并且在尽可能的情况下被使用(而不是完全的多孔介质模型),这是因为它具有更好的鲁棒性,并具有更好的收敛性。
详细内容请参阅多孔跳跃边界条件。
多孔介质模型的限制如下面各节所述,多孔介质模型结合模型区域所具有的阻力的经验公式被定义为“多孔”。
事实上多孔介质不过是在动量方程中具有了附加的动量损失而已。
因此,下面模型的限制就可以很容易的理解了。
流体通过介质时不会加速,因为事实上出现的体积的阻塞并没有在模型中出现。
这对于过渡流是有很大的影响的,因为它意味着FLUENT不会正确的描述通过介质的过渡时间。
多孔介质对于湍流的影响只是近似的。
详细内容可以参阅湍流多孔介质的处理一节。
多孔介质的动量方程多孔介质的动量方程具有附加的动量源项。
源项由两部分组成,一部分是粘性损失项 (Darcy),另一个是内部损失项:其中S_i是i向(x, y, or z)动量源项,D和C是规定的矩阵。
在多孔介质单元中,动量损失对于压力梯度有贡献,压降和流体速度(或速度方阵)成比例。
对于简单的均匀多孔介质:其中a是渗透性,C_2时内部阻力因子,简单的指定D和C分别为对角阵1/a 和C_2其它项为零。
FLUENT还允许模拟的源项为速度的幂率:其中C_0和C_1为自定义经验系数。
注意:在幂律模型中,压降是各向同性的,C_0的单位为国际标准单位。
多孔介质的Darcy定律通过多孔介质的层流流动中,压降和速度成比例,常数C_2可以考虑为零。
fluent中多孔介质设置问题和算例
经过痛苦的一段经历,终于将局部问题真相大白,为了使保位同仁不再经过我之痛苦,现在将本人多孔介质经验公布如下,希望各位能加精:1。
Gambit中划分网格之后,定义需要做为多孔介质的区域为fluid,与缺省的fluid分别开来,再定义其名称,我习惯将名称定义为porous;2。
在fluent中定义边界条件define-boundary condition-porous(刚定义的名称),将其设置边界条件为fluid,点击set按钮即弹出与fluid边界条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即出现一个带有滚动条的界面;3。
porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不用定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不用定义,是与第一、二个矢量方向正交的;(如何知道矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考fluent帮助。
2)定义粘性阻力1/a与内部阻力C2:请参看本人上一篇博文“终于搞清fluent中多孔粘性阻力与内部阻力的计算方法”,此处不赘述;3)如果了定义粘性阻力1/a与内部阻力C2,就不用定义C1与C0,因为这是两种不同的定义方法,C1与C0只在幂率模型中出现,该处保持默认就行了;4)定义孔隙率porousity,默认值1表示全开放,此值按实验测值填写即可。
完了,其他设置与普通k-e或RSM相同。
总结一下,与君共享!Tutorial 7. Modeling Flow Through PorousMediaIntroductionMany industrial applications involve the modeling of flow through porous media, such as filters, catalyst beds, and packing. This tutorial illustrates how to set up and solve a problem involving gas flow through porous media.The industrial problem solved here involves gas flow through a catalytic converter. Catalytic converters are commonly used to purify emissions from gasoline and diesel engines by converting environmentally hazardous exhaust emissions to acceptable substances.Examples of such emissions include carbon monoxide (CO), nitrogen oxides (NOx), and unburned hydrocarbon fuels. These exhaust gas emissions are forced through a substrate, which is a ceramic structure coated with a metal catalyst such as platinum or palladium.The nature of the exhaust gas flow is a very important factor in determining the performance of the catalytic converter. Of particular importance is the pressure gradient and velocity distribution through the substrate. Hence CFD analysis is used to design efficient catalytic converters: by modeling the exhaust gas flow, the pressure drop and the uniformity of flow through the substrate can be determined. In this tutorial, FLUENT is used to model the flow of nitrogen gas through a catalytic converter geometry, so that the flow field structure may be analyzed.This tutorial demonstrates how to do the following:_ Set up a porous zone for the substrate with appropriate resistances._ Calculate a solution for gas flow through the catalytic converter using the pressure based solver._ Plot pressure and velocity distribution on specified planes of the geometry._ Determine the pressure drop through the substrate and the degree of non-uniformity of flow through cross sections of the geometry using X-Y plots and numerical reports.Problem DescriptionThe catalytic converter modeled here is shown in Figure . The nitrogen flows in through the inlet with a uniform velocity of m/s, passes through a ceramic monolith substrate with square shaped channels, and then exits through the outlet.While the flow in the inlet and outlet sections is turbulent, the flow through the substrate is laminar and is characterized by inertial and viscous loss coefficients in the flow (X) direction. The substrate is impermeable in other directions, which is modeled using loss coefficients whose values are three orders of magnitude higher than in the X direction.Setup and SolutionStep 1: Grid1. Read the mesh file (catalytic .File /Read /Case...2. Check the grid. Grid /CheckFLUENT will perform various checks on the mesh and report the progress in the console. Make sure that the minimum volume reported is a positive number.3. Scale the grid.Grid! Scale...(a) Select mm from the Grid Was Created In drop-down list.(b) Click the Change Length Units button. All dimensions will now be shown in millimeters.(c) Click Scale and close the Scale Grid panel.4. Display the mesh. Display /Grid...(a) Make sure that inlet, outlet, substrate-wall, and wall are selected in the Surfaces selection list.(b) Click Display.(c) Rotate the view and zoom in to get the display shown in Figure .(d) Close the Grid Display panel.The hex mesh on the geometry contains a total of 34,580 cells.Step 2: Models1. Retain the default solver settings. Define /Models /Solver...2. Select the standard k-ε turbulence model. Define/ Models /Viscous...Step 3: Materials1. Add nitrogen to the list of fluid materials by copying it from the Fluent Database for materials. Define /Materials...(a) Click the Fluent Database... button to open the Fluent Database Materials panel.i. Select nitrogen (n2) from the list of Fluent Fluid Materials.ii. Click Copy to copy the information for nitrogen to your list of fluid materials. iii. Close the Fluent Database Materials panel.(b) Close the Materials panel.Step 4: Boundary Conditions. Define /Boundary Conditions...1. Set the boundary conditions for the fluid (fluid).(a) Select nitrogen from the Material Name drop-down list.(b) Click OK to close the Fluid panel.2. Set the boundary conditions for the substrate (substrate).(a) Select nitrogen from the Material Name drop-down list.(b) Enable the Porous Zone option to activate the porous zone model.(c) Enable the Laminar Zone option to solve the flow in the porous zone without turbulence.(d) Click the Porous Zone tab.i. Make sure that the principal direction vectors are set as shown in . Use the scroll bar to access the fields that are not initially visible in the panel.ii. Enter the values in Table for the Viscous Resistance and Inertial Resistance. Scroll down to access the fields that are not initially visible in the panel.(e) Click OK to close the Fluid panel.3. Set the velocity and turbulence boundary conditions at the inlet (inlet).(a) Enter m/s for the Velocity Magnitude.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdown list in the Turbulence group box.(c) Retain the default value of 10% for the Turbulent Intensity.(d) Enter 42 mm for the Hydraulic Diameter.(e) Click OK to close the Velocity Inlet panel.4. Set the boundary conditions at the outlet (outlet).(a) Retain the default setting of 0 for Gauge Pressure.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdown list in the Turbulence group box.(c) Enter 5% for the Backflow Turbulent Intensity.(d) Enter 42 mm for the Backflow Hydraulic Diameter.(e) Click OK to close the Pressure Outlet panel.5. Retain the default boundary conditions for the walls (substrate-wall and wall) and close the Boundary Conditions panel.Step 5: Solution1. Set the solution parameters. Solve /Controls /Solution...(a) Retain the default settings for Under-Relaxation Factors.(b) Select Second Order Upwind from the Momentum drop-down list in the Discretization group box.(c) Click OK to close the Solution Controls panel.2. Enable the plotting of residuals during the calculation. Solve/Monitors /Residual...(a) Enable Plot in the Options group box.(b) Click OK to close the Residual Monitors panel.3. Enable the plotting of the mass flow rate at the outlet.Solve / Monitors /Surface...(a) Set the Surface Monitors to 1.(b) Enable the Plot and Write options for monitor-1, and click the Define... buttonto open the Define Surface Monitor panel.i. Select Mass Flow Rate from the Report Type drop-down list.ii. Select outlet from the Surfaces selection list.iii. Click OK to close the Define Surface Monitors panel.(c) Click OK to close the Surface Monitors panel.4. Initialize the solution from the inlet. Solve /Initialize /Initialize...(a) Select inlet from the Compute From drop-down list.(b) Click Init and close the Solution Initialization panel.5. Save the case file (catalytic . File /Write /Case...6. Run the calculation by requesting 100 iterations. Solve /Iterate...(a) Enter 100 for the Number of Iterations.(b) Click Iterate.The FLUENT calculation will converge in approximately 70 iterations. By this point the mass flow rate monitor has attended out, as seen in Figure .(c) Close the Iterate panel.7. Save the case and data files (catalytic and catalytic .File /Write /Case & Data...Note: If you choose a file name that already exists in the current folder, FLUENT will prompt you for confirmation to overwrite the file.Step 6: Post-processing1. Create a surface passing through the centerline for post-processing purposes. Surface/Iso-Surface...(a) Select Grid... and Y-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Retain the default value of 0 for the Iso-Values.(d) Enter y=0 for the New Surface Name.(e) Click Create.2. Create cross-sectional surfaces at locations on either side of the substrate, as well as at its center.Surface /Iso-Surface...(a) Select Grid... and X-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Enter 95 for Iso-Values.(d) Enter x=95 for the New Surface Name.(e) Click Create.(f) In a similar manner, create surfaces named x=130 and x=165 with Iso-Values of 130 and 165, respectively. Close the Iso-Surface panel after all the surfaces have been created.3. Create a line surface for the centerline of the porous media.Surface /Line/Rake...(a) Enter the coordinates of the line under End Points, using the starting coordinate of (95, 0, 0) and an ending coordinate of (165, 0, 0), as shown.(b) Enter porous-cl for the New Surface Name.(c) Click Create to create the surface.(d) Close the Line/Rake Surface panel.4. Display the two wall zones (substrate-wall and wall). Display /Grid...(a) Disable the Edges option.(b) Enable the Faces option.(c) Deselect inlet and outlet in the list under Surfaces, and make sure that only substrate-wall and wall are selected.(d) Click Display and close the Grid Display panel.(e) Rotate the view and zoom so that the display is similar to Figure .5. Set the lighting for the display. Display /Options...(a) Enable the Lights On option in the Lighting Attributes group box.(b) Retain the default selection of Gourand in the Lighting drop-down list.(c) Click Apply and close the Display Options panel.6. Set the transparency parameter for the wall zones (substrate-wall and wall). Display/Scene...(a) Select substrate-wall and wall in the Names selection list.(b) Click the Display... button under Geometry Attributes to open the Display Properties panel.i. Set the Transparency slider to 70.ii. Click Apply and close the Display Properties panel.(c) Click Apply and then close the Scene Description panel.7. Display velocity vectors on the y=0 surface.Display /Vectors...(a) Enable the Draw Grid option. The Grid Display panel will open.i. Make sure that substrate-wall and wall are selected in the list under Surfaces. ii. Click Display and close the Display Grid panel.(b) Enter 5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Vectors panel.The flow pattern shows that the flow enters the catalytic converter as a jet, with recirculation on either side of the jet. As it passes through the porous substrate, it decelerates and straightens out, and exhibits a more uniform velocity distribution.This allows the metal catalyst present in the substrate to be more effective.Figure : Velocity Vectors on the y=0 Plane8. Display filled contours of static pressure on the y=0 plane.Display /Contours...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Display Grid panel.i. Make sure that substrate-wall and wall are selected in the list under Surfaces. ii. Click Display and close the Display Grid panel.(c) Make sure that Pressure... and Static Pressure are selected from the Contours of drop-down lists.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Contours panel.Figure : Contours of the Static Pressure on the y=0 planeThe pressure changes rapidly in the middle section, where the fluid velocity changes as it passes through the porous substrate. The pressure drop can be high, due to the inertial and viscous resistance of the porous media. Determining this pressure drop is a goal of CFD analysis. In the next step, you will learn how to plot the pressure drop along the centerline of the substrate.9. Plot the static pressure across the line surface porous-cl.Plot /XY Plot...(a) Make sure that the Pressure... and Static Pressure are selected from the Y Axis Function drop-down lists.(b) Select porous-cl from the Surfaces selection list.(c) Click Plot and close the Solution XY Plot panel.Figure : Plot of the Static Pressure on the porous-cl Line Surface In Figure , the pressure drop across the porous substrate can be seen to be roughly 300 Pa.10. Display filled contours of the velocity in the X direction on the x=95, x=130 and x=165 surfaces.Display /Contours...(a) Disable the Global Range option.(b) Select Velocity... and X Velocity from the Contours of drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfaces selection list, and deselect y=0.(d) Click Display and close the Contours panel.The velocity profile becomes more uniform as the fluid passes through the porous media. The velocity is very high at the center (the area in red) just before the nitrogen enters the substrate and then decreases as it passes through and exits the substrate. The area in green, which corresponds to a moderate velocity, increases in extent.Figure : Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces 11. Use numerical reports to determine the average, minimum, and maximum of the velocity distribution before and after the porous substrate.Report /Surface Integrals...(a) Select Mass-Weighted Average from the Report Type drop-down list.(b) Select Velocity and X Velocity from the Field Variable drop-down lists.(c) Select x=165 and x=95 from the Surfaces selection list.(d) Click Compute.(e) Select Facet Minimum from the Report Type drop-down list and click Compute again.(f) Select Facet Maximum from the Report Type drop-down list and click Compute again.(g) Close the Surface Integrals panel.The numerical report of average, maximum and minimum velocity can be seen in the main FLUENT console, as shown in the following example:The spread between the average, maximum, and minimum values for X velocity gives the degree to which the velocity distribution is non-uniform. You can also use these numbers to calculate the velocity ratio ., the maximum velocity divided by the mean velocity) and the space velocity ., the product of the mean velocity and the substrate length).Custom field functions and UDFs can be also used to calculate more complex measures of non-uniformity, such as the standard deviation and the gamma uniformity index. SummaryIn this tutorial, you learned how to set up and solve a problem involving gas flow through porous media in FLUENT. You also learned how to perform appropriate post-processing to investigate the flow field, determine the pressure drop across the porous media and non-uniformity of the velocity distribution as the fluid goes through the porous media.Further ImprovementsThis tutorial guides you through the steps to reach an initial solution. You may be able to obtain a more accurate solution by using an appropriate higher-order discretization scheme and by adapting the grid. Grid adaption can also ensure that the solution is independent of the grid. These steps are demonstrated in Tutorial1.。
FLUENT多孔介质数值模拟设置
FLUENT多孔介质数值模拟设置C=对于不同D/t的不同雷诺数范围被列成不同的表的系数A_p=圆盘的面积(固体和洞)如果你选择在多孔介质中模拟热传导,你必须指定多孔介质中的材料以及多孔性。
要定义多孔介质的材料,向下拉流体面板中阻力输入底下的滚动条,然后在多孔热传导的固体材料下拉列表中选中适当的固体。
另一个处理收敛性差的要领是临时取消多孔介质模型(在流体面板中关闭多孔区域)然后获取一个不受多孔区域影响的初始流场。
取消多孔区域后,FLUENT会将多孔区域处理为流体区域并按响应的流体区域来计算。
一旦获取了初始解,或者计算很容易收敛,你就可以激活多孔模型继续计算包罗多孔区域的流场(对于大阻力多孔介质不保举使用该要领)。
这些变量会在后处理面板的变量选择下拉菜谱制定类别中出现。
然后在多孔热传导下设定多孔性。
多孔性f是多孔介质中流体的体积分数(即介质的开放体积分数)。
多孔性用于介质中的热传导预测,处理要领请参阅多孔介质能量方程的处理一节。
它还对介质中的反应源项和体力的计算有影响。
这个源项和介质中流体的体积成比例。
如果你想要模拟完全开放的介质(固体介质没有影响),你应该设定多孔性为1.0。
当多孔性为1.0时,介质的固体部门对于热传导和(或)热源项/反应源项没有影响。
注意:多孔性永远不会影响介质中的流体速率,这已经在多孔介质的动量方程一节中介绍了。
不管你将多孔性设定为何值,,FLUENT所预测的速率都是介质中的外貌速率。
对于多孔介质动量源项(多孔介质动量方程中的方程5),如果你使用幂律模型近似,你只要在流体面板的幂律模型中输入系数C_0和C_1就可以了。
如果C_0或C_1为非零值,解算器会忽略面板中除了多孔介质幂律模型之外的所有输入。
定义源项一般说来,在模拟多孔介质时,你可以使用标准的解算步骤以及解参数的设置。
然而你会发现如果多孔区域在流动方向上压降至关大(比如:渗透性a很低或者内部因数C_2很大)的话,解的收敛速率就会变慢。
多孔介质-Fluent模拟
7.19多孔介质边界条件多孔介质模型适用的范围非常广泛,包括填充床,过滤纸,多孔板,流量分配器,还有管群,管束系统。
当使用这个模型的时候,多孔介质将运用于网格区域,流场中的压降将由输入的条件有关,见Section 7.19.2.同样也可以计算热传导,基于介质和流场热量守恒的假设,见Section 7.19.3.通过一个薄膜后的已知速度/压力降低特性可以简化为一维多孔介质模型,简称为“多孔跳跃”。
多孔跳跃模型被运用于一个面区域而不是网格区域,而且也可以代替完全多孔介质模型在任何可能的时候,因为它更加稳定而且能够很好地收敛。
见Section 7.22.7.19.1 多孔介质模型的限制和假设多孔介质模型就是在定义为多孔介质的区域结合了一个根据经验假设为主的流动阻力。
本质上,多孔介质模型仅仅是在动量方程上叠加了一个动量源项。
这种情况下,以下模型方面的假设和限制就可以很容易得到:•因为没有表示多孔介质区域的实际存在的体,所以fluent默认是计算基于连续性方程的虚假速度。
做为一个做精确的选项,你可以适用fluent中的真是速度,见section7.19.7。
•多孔介质对湍流流场的影响,是近似的,见7.19.4。
•当在移动坐标系中使用多孔介质模型的时候,fluent既有相对坐标系也可以使用绝对坐标系,当激活相对速度阻力方程。
这将得到更精确的源项。
相关信息见section7.19.5和7.19.6。
•当需要定义比热容的时候,必须是常数。
7.19.2 多孔介质模型动量方程多孔介质模型的动量方程是在标准动量方程的后面加上动量方程源项。
源项包含两个部分:粘性损失项(达西公式项,方程7.19-1右边第一项),和惯性损失项(方程7.19-1右边第二项)(7.19-1)式中,si是i(x,y,z)动量方程的源项,是速度大小,D和C是矩阵。
动量源项对多孔介质区域的压力梯度有影响,生成一个与速度大小(速度平方)成正比的压降。
FLUENT操作过程及参数选择
振动流化床仿真操作过程及参数选择1创建流化床模型。
根据靳海波论文提供的试验机参数,创建流化床模型。
流化床直148mm,高1m,开孔率9%,孔径2mm。
在筛板上铺两层帆布保证气流均布。
因为实验机为一个圆形的流化床,所以可简化为仅二维模型。
而实际实验中流化高度远小于1m,甚至500mm,所以为提高计算时间,可将模型高度缩为500mm。
由于筛板上铺设两层帆布以达到气流均分的目的,所以认为沿整个筛板的进口风速为均匀的。
最终简化模型如下图所示:上图为流化后的流化床模型,可以看出流化床下端的网格相对上端较密,因为流化行为主要发生的流化床下端,为了加快计算时间,所以采用这种下密上疏的划分方式。
其中进口设置为velocity inlet;出口设置为outflow;左右两边分为设置为wall。
在GAMBIT中设置完毕后,输出二维模型vfb.msh。
outflow边界条件不需要给定任何入口的物理条件,但是应用也会有限制,大致为以下四点:1.只能用于不可压缩流动2.出口处流动充分发展3.不能与任何压力边界条件搭配使用(压力入口、压力出口)4.不能用于计算流量分配问题(比如有多个出口的问题)2打开FLUENT 6.3.26,导入模型vfb.msh点击GRID—CHECK,检查网格信息及模型中设置的信息,核对是否正确,尤其查看是否出现负体积和负面积,如出现马上修改。
核对完毕后,点击GRID-SCALE 弹出SCALE GRID窗口,设置单位为mm,并点击change length unit按钮。
具体设置如下:3设置求解器保持其他设置为默认,更改TIME为unsteady,因为实际流化的过程是随时间变化的。
(1)pressure based 求解方法在求解不可压流体时,如果我们联立求解从动量方程和连续性方程离散得到的代数方程组,可以直接得到各速度分量及相应的压力值,但是要占用大量的计算内存,这一方法已可以在Fluent6.3中实现,所需内存为分离算法的1.5-2倍。
fluent中多孔介质设置问题和算例
经过痛苦的一段经历,终于将局部问题真相年夜白,为了使保位同仁不再经过我之痛苦,现在将自己多孔介质经验公布如下,希望各位能加精:之阿布丰王创作1.Gambit中划分网格之后,界说需要做为多孔介质的区域为fluid,与缺省的fluid分别开来,再界说其名称,我习惯将名称界说为porous;2.在fluent中界说鸿沟条件define-boundary condition-porous(刚界说的名称),将其设置鸿沟条件为fluid,点击set按钮即弹出与fluid鸿沟条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即呈现一个带有滚动条的界面;3.porous zone设置方法:1)界说矢量:二维界说一个矢量,第二个矢量方向不肯界说,是与第一个矢量方向正交的;三维界说二个矢量,第三个矢量方向不肯界说,是与第一、二个矢量方向正交的;(如何知道矢量的方向:翻开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则界说矢量为负)圆锥坐标与球坐标请参考fluent帮手.2)界说粘性阻力1/a与内部阻力C2:请参看自己上一篇博文“终于搞清fluent中多孔粘性阻力与内部阻力的计算方法”,此处不赘述;3)如果了界说粘性阻力1/a与内部阻力C2,就不肯界说C1与C0,因为这是两种分歧的界说方法,C1与C0只在幂率模型中呈现,该处坚持默认就行了;4)界说孔隙率porousity,默认值1暗示全开放,此值按实验测值填写即可.完了,其他设置与普通k-e或RSM相同.总结一下,与君共享! Tutorial 7. Modeling Flow Through Porous Media IntroductionMany industrial applications involve the modeling of flow through porous media, suchas filters, catalyst beds, and packing. This tutorial illustrates how to set up and solve aproblem involving gas flow through porous media. The industrial problem solved here involves gas flowthrough a catalytic converter. Catalyticconverters are commonly used to purify emissions from gasoline and diesel enginesby converting environmentally hazardous exhaust emissions to acceptable substances.Examples of such emissions include carbon monoxide (CO), nitrogen oxides (NOx), andunburned hydrocarbon fuels. These exhaust gas emissions are forced through a substrate,which is a ceramic structure coated with a metal catalyst such as platinum or palladium.The nature of the exhaust gas flow is a very important factor in determining the performanceof the catalytic converter. Of particular importance is the pressure gradientand velocity distribution through the substrate. Hence CFD analysis is used to designefficient catalytic converters: by modeling the exhaust gas flow, the pressure drop andthe uniformity of flow through the substrate can be determined. In this tutorial, FLUENTis used to model the flow of nitrogen gas through acatalytic converter geometry, so thatthe flow field structure may be analyzed.This tutorial demonstrates how to do the following:_ Set up a porous zone for the substrate with appropriateresistances._ Calculate a solution for gas flow through the catalytic converter using the pressurebasedsolver._ Plot pressure and velocity distribution on specified planes of the geometry._ Determine the pressure drop through the substrate and the degree of non-uniformityof flow through cross sections of the geometry using X-Y plots and numerical reports.Problem DescriptionThe catalytic converter modeled here is shown in Figure 7.1. The nitrogen flows inthrough the inlet with a uniform velocity of 22.6 m/s, passes through a ceramic monolithsubstrate with square shaped channels, and then exits through the outlet.While the flow in the inlet and outlet sections is turbulent, the flow through the substrateis laminar andis characterized by inertial and viscous losscoefficients in the flow (X)direction. The substrate is impermeable in other directions, which is modeled using losscoefficients whose values are three orders of magnitude higher than in the X direction.Setup and SolutionStep 1: Grid1. Read the mesh file (catalytic converter.msh).File /Read /Case...2. Check the grid.Grid /CheckFLUENT will perform various checks on the mesh and report the progress in theconsole. Make sure that the minimum volume reported is a positive number.3. Scale the grid.Grid!Scale...(a) Select mm from the Grid Was Created In drop-down list.(b) Click the Change Length Units button.All dimensions will now be shown in millimeters.(c) Click Scale and close the Scale Grid panel.4. Display the mesh.Display /Grid...(a) Make sure that inlet, outlet, substrate-wall, andwall are selected in the Surfacesselection list.(b) Click Display.(c) Rotate the view and zoom in to get the display shown in Figure 7.2.(d) Close the Grid Display panel.The hex mesh on the geometry contains a total of 34,580 cells.Step 2: Models1. Retain the default solver settings.Define /Models/Solver...2. Select the standard k-ε turbulence model.De fine/ Models /Viscous...Step 3: Materials1. Add nitrogen to the list of fluid materials by copying it from the Fluent Databasefor materials.Define/Materials...(a) Click the Fluent Database... button to open the Fluent Database Materialspanel.i. Select nitrogen (n2) from the list of Fluent Fluid Materials.ii. Click Copy to copy the information for nitrogen to your list of fluid materials.iii. Close the Fluent Database Materials panel.(b) Close the Materials panel.Step 4: Boundary Conditions.Define /Boundary Conditions...1. Set the boundary conditions for the fluid (fluid).(a) Select nitrogen from the Material Name drop-down list.(b) Click OK to close the Fluid panel.2. Set the boundary conditions for the substrate (substrate).(a) Select nitrogen from the Material Name drop-down list.(b) Enable the Porous Zone option to activate the porous zone model.(c) Enable the Laminar Zone option to solve the flow in the porous zone withoutturbulence.(d) Click the Porous Zone tab.i. Make sure that the principal direction vectors are set as shown in e the scroll bar to access the fields that are not initially visible in thepanel.ii. Enter the values in Table 7.2 for the Viscous Resistance and Inertial Resistance.Scroll down to access the fields that are not initially visible in the panel.(e) Click OK to close the Fluid panel.3. Set the velocity and turbulence boundary conditions at the inlet (inlet).(a) Enter 22.6 m/s for the Velocity Magnitude.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Retain the default value of 10% for the Turbulent Intensity.(d) Enter 42 mm for the Hydraulic Diameter.(e) Click OK to close the Velocity Inlet panel.4. Set the boundary conditions at the outlet (outlet).(a) Retain the default setting of 0 for Gauge Pressure.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Enter 5% for the Backflow Turbulent Intensity.(d) Enter 42 mm for the Backflow Hydraulic Diameter.(e) Click OK to close the Pressure Outlet panel.5. Retain the default boundary conditions for the walls (substrate-wall and wall) andclose the Boundary Conditions panel.Step 5: Solution1. Set the solution parameters.Solve /Controls/Solution...(a) Retain the default settings for Under-RelaxationFactors.(b) Select Second Order Upwind from the Momentum drop-down list in the Discretizationgroup box.(c) Click OK to close the Solution Controls panel.2. Enable the plotting of residuals during the calculation.Solve/Monitors /Residual...(a) Enable Plot in the Options group box.(b) Click OK to close the Residual Monitors panel.3. Enable the plotting of the mass flow rate at the outlet.Solve / Monitors /Surface...(a) Set the Surface Monitors to 1.(b) Enable the Plot and Write options for monitor-1, and click the Define... buttonto open the Define Surface Monitor panel.i. Select Mass Flow Rate from the Report Type drop-down list.ii. Select outlet from the Surfaces selection list.iii. Click OK to close the Define Surface Monitors panel.(c) Click OK to close the Surface Monitors panel.4. Initialize the solution from the inlet.Solve/Initialize /Initialize...(a) Select inlet from the Compute From drop-down list.(b) Click Init and close the Solution Initialization panel.5. Save the case file (catalytic converter.cas).File/Write /Case...6. Run the calculation by requesting 100 iterations.Solve /Iterate...(a) Enter 100 for the Number of Iterations.(b) Click Iterate.The FLUENT calculation will converge in approximately 70 iterations. By thispoint the mass flow rate monitor has attended out, as seen in Figure 7.3.(c) Close the Iterate panel.7. Save the case and data files (catalytic converter.cas and catalytic converter.dat).File /Write /Case & Data...Note: If you choose a file name that already exists in the current folder, FLUENTwill prompt you for confirmation to overwrite the file. Step 6: Post-processing1. Create a surface passing through the centerline for post-processing purposes.(a) Select Grid... and Y-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Retain the default value of 0 for the Iso-Values.(d) Enter y=0 for the New Surface Name.(e) Click Create.2. Create cross-sectional surfaces at locations on either side of the substrate, as wellas at its center.Surface /Iso-Surface...(a) Select Grid... and X-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Enter 95 for Iso-Values.(d) Enter x=95 for the New Surface Name.(e) Click Create.(f) In a similar manner, create surfaces named x=130 and x=165 with Iso-Valuesof 130 and 165, respectively. Close the Iso-Surface panel after all the surfaceshave been created.3. Create a line surface for the centerline of the porous media.(a) Enter the coordinates of the line under End Points, using the starting coordinateof (95, 0, 0) and an ending coordinate of (165, 0, 0), as shown.(b) Enter porous-cl for the New Surface Name.(c) Click Create to create the surface.(d) Close the Line/Rake Surface panel.4. Display the two wall zones (substrate-wall andwall).Display /Grid...(a) Disable the Edges option.(b) Enable the Faces option.(c) Deselect inlet and outlet in the list under Surfaces, and make sure that onlysubstrate-wall and wall are selected.(d) Click Display and close the Grid Display panel.(e) Rotate the view and zoom so that the display is similar to Figure 7.2.5. Set the lighting for the display.Display /Options...(a) Enable the Lights On option in the LightingAttributes group box.(b) Retain the default selection of Gourand in the Lighting drop-down list.(c) Click Apply and close the Display Options panel.6. Set the transparency parameter for the wall zones (substrate-wall and wall).Display/Scene...(a) Select substrate-wall and wall in the Names selection list.(b) Click the Display... button under Geometry Attributes to open the DisplayProperties panel.i. Set the Transparency slider to 70.ii. Click Apply and close the Display Properties panel. (c) Click Apply and then close the Scene Description panel.7. Display velocity vectors on the y=0 surface.Display /Vectors...(a) Enable the Draw Grid option.The Grid Display panelwill open.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(b) Enter 5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfaces selection list.The flow pattern shows that the flow enters the catalytic converter as a jet, withrecirculation on either side of the jet. As it passes through the porous substrate, itdecelerates and straightens out, and exhibits a more uniform velocity distribution.This allows the metal catalyst present in the substrate to be more effective.Figure 7.4: Velocity Vectors on the y=0 Plane8. Display filled contours of static pressure on the y=0 plane.Display /Contours...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Display Grid panel.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(c) Make sure that Pressure... and Static Pressure are selected from the Contoursof drop-down lists.(d) Select y=0 from the Surfaces selection list.Figure 7.5: Contours of the Static Pressure on the y=0 planeThe pressure changes rapidly in the middle section, where the fluid velocity changesas it passes through the porous substrate. The pressure drop can be high, due to theinertial and viscous resistance of the porous media. Determining this pressure dropis a goal of CFD analysis. In the next step, you will learn how to plot the pressuredrop along the centerline of the substrate.9. Plot the static pressure across the line surface porous-cl.Plot /XY Plot...(a) Make sure that the Pressure... and Static Pressure are selected from the Y AxisFunction drop-down lists.(b) Select porous-cl from the Surfaces selection list.(c) Click Plot and close the Solution XY Plot panel.Figure 7.6: Plot of the Static Pressure on the porous-cl Line SurfaceIn Figure 7.6, the pressure drop across the porous substrate can be seen to beroughly 300 Pa.10. Display filled contours of the velocity in the Xdirection on the x=95, x=130 andx=165 surfaces.Display /Contours...(a) Disable the Global Range option.(b) Select Velocity... and X Velocity from the Contoursof drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfaces selection list, and deselecty=0.(d) Click Display and close the Contours panel.The velocity profile becomes more uniform as the fluid passes through the porousmedia. The velocity is very high at the center (the area in red) just before thenitrogen enters the substrate and then decreases as it passes through and exits thesubstrate. The area in green, which corresponds to a moderate velocity, increasesin extent.Figure 7.7: Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces11. Use numerical reports to determine the average, minimum, and maximum of thevelocity distribution before and after the porous substrate.Report /Surface Integrals...(a) Select Mass-Weighted Average from the Report Type drop-down list.(b) Select Velocity and X Velocity from the Field Variable drop-down lists.(c) Select x=165 and x=95 from the Surfaces selection list.(d) Click Compute.(e) Select Facet Minimum from the Report Type drop-down list and click Computeagain.(f) Select Facet Maximum from the Report Type drop-down list and click Computeagain.(g) Close the Surface Integrals panel.The numerical report of average, maximum and minimum velocity can be seen inthe main FLUENT console, as shown in the following example:The spread between the average, maximum, and minimum values for X velocitygives the degree to which the velocity distribution is non-uniform. You can also usethese numbers to calculate the velocity ratio (i.e., the maximum velocity divided bythe mean velocity) and the space velocity (i.e., the product of the mean velocity andthe substrate length).Custom field functions and UDFs can be also used to calculate more complex measuresof non-uniformity, such asthe standard deviation and the gamma uniformityindex. SummaryIn this tutorial, you learned how to set up and solve a problem involving gas flow throughporous media in FLUENT. You also learned how to perform appropriate post-processingto investigate the flow field, determine the pressure drop across the porous media andnon-uniformity of the velocity distribution as the fluid goes through the porous media.Further ImprovementsThis tutorial guides you through the steps to reach an initial solution. You may be ableto obtain a more accurate solution by using an appropriate higher-order discretizationscheme and by adapting the grid. Grid adaption can also ensure that the solution isindependent of the grid. These steps are demonstrated in Tutorial 1.。
fluent中多孔介质设置问题和算例
经过痛苦的一段经历,终于将局部问题真相大白,为了使保位同仁不再经过我之痛苦,现在将自己多孔介质经验公布如下,希望各位能加精:之马矢奏春创作1。
Gambit中划分网格之后,定义需要做为多孔介质的区域为fluid,与缺省的fluid分别开来,再定义其名称,我习惯将名称定义为porous;2。
在fluent中定义鸿沟条件define-boundary condition-porous(刚定义的名称),将其设置鸿沟条件为fluid,点击set按钮即弹出与fluid鸿沟条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即出现一个带有滚动条的界面;3。
porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不必定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不必定义,是与第一、二个矢量方向正交的;(如何知道矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考fluent帮忙。
2)定义粘性阻力1/a与内部阻力C2:请参看自己上一篇博文“终于搞清fluent中多孔粘性阻力与内部阻力的计算方法”,此处不赘述;3)如果了定义粘性阻力1/a与内部阻力C2,就不必定义C1与C0,因为这是两种分歧的定义方法,C1与C0只在幂率模型中出现,该处坚持默认就行了;4)定义孔隙率porousity,默认值1暗示全开放,此值按实验测值填写即可。
完了,其他设置与普通k-e或RSM相同。
总结一下,与君共享! Tutorial 7. Modeling Flow Through Porous MediaIntroductionMany industrial applications involve the modeling of flow through porous media, suchas filters, catalyst beds, and packing. This tutorial illustrates how to set up and solve aproblem involving gas flow through porous media. The industrial problem solved here involves gas flow through a catalytic converter. Catalyticconverters are commonly used to purify emissions from gasoline and diesel enginesby converting environmentally hazardousexhaust emissions to acceptable substances.Examples of such emissions include carbon monoxide (CO), nitrogen oxides (NOx), andunburned hydrocarbon fuels. These exhaust gas emissions are forced through a substrate,which is a ceramic structure coated with a metal catalyst such as platinum or palladium.The nature of the exhaust gas flow is a very important factor in determining the performanceof the catalytic converter. Of particular importance is the pressure gradientand velocity distribution through the substrate. Hence CFD analysis is used to designefficient catalytic converters: by modeling the exhaust gas flow, the pressure drop andthe uniformity of flow through the substrate can be determined. In this tutorial, FLUENTis used to model the flow of nitrogen gas through acatalytic converter geometry, so thatthe flow field structure may be analyzed.This tutorial demonstrates how to do the following:_ Set up a porous zone for the substrate with appropriate resistances._ Calculate a solution for gas flow through the catalytic converter using the pressurebasedsolver._ Plot pressure and velocity distribution on specified planes of the geometry._ Determine the pressure drop through the substrate and the degree of non-uniformityof flow through cross sections of the geometry using X-Y plots and numerical reports.Problem DescriptionThe catalytic converter modeled here is shown in Figure 7.1. The nitrogen flows inthrough the inlet with a uniform velocity of 22.6 m/s, passes through a ceramic monolithsubstrate with square shaped channels, and then exits through the outlet.While the flow in the inlet and outlet sections is turbulent, the flow through the substrateis laminar and is characterized by inertial and viscous loss coefficients in the flow (X)direction. The substrate is impermeable in other directions, which is modeled using losscoefficients whose values are three orders of magnitude higher than in the X direction.Setup and SolutionStep 1: Grid1. Read the mesh file (catalytic converter.msh).File /Read /Case...2. Check the grid.Grid /CheckFLUENT will perform various checks on the mesh and report the progress in theconsole. Make sure that the minimum volume reported is a positive number.3. Scale the grid.Grid!Scale...(a) Select mm from the Grid Was Created In drop-down list.(b) Click the Change Length Units button.All dimensions will now be shown in millimeters.(c) Click Scale and close the Scale Grid panel.4. Display the mesh.Display /Grid...(a) Make sure that inlet, outlet, substrate-wall, andwall are selected in the Surfacesselection list.(b) Click Display.(c) Rotate the view and zoom in to get the display shown in Figure 7.2.(d) Close the Grid Display panel.The hex mesh on the geometry contains a total of 34,580 cells.Step 2: Models1. Retain the default solver settings.Define /Models/Solver...Step 3: Materials1. Add nitrogen to the list of fluid materials by copying it from the Fluent Databasefor materials.Define/Materials...(a) Click the Fluent Database... button to open the Fluent Database Materialspanel.i. Select nitrogen (n2) from the list of Fluent Fluid Materials.ii. Click Copy to copy the information for nitrogen to your list of fluid materials.iii. Close the Fluent Database Materials panel.(b) Close the Materials panel.Step 4: Boundary Conditions.Define /Boundary Conditions...1. Set the boundary conditions for the fluid (fluid).(a) Select nitrogen from the Material Name drop-down list.(b) Click OK to close the Fluid panel.2. Set the boundary conditions for the substrate(substrate).(a) Select nitrogen from the Material Name drop-down list.(b) Enable the Porous Zone option to activate the porous zone model.(c) Enable the Laminar Zone option to solve the flow in the porous zone withoutturbulence.(d) Click the Porous Zone tab.i. Make sure that the principal direction vectors are set as shown in e the scroll bar to access the fields that are not initially visible in thepanel.ii. Enter the values in Table 7.2 for the Viscous Resistance and Inertial Resistance.Scroll down to access the fields that are not initially visible in the panel.(e) Click OK to close the Fluid panel.3. Set the velocity and turbulence boundary conditions at the inlet (inlet).(a) Enter 22.6 m/s for the Velocity Magnitude.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Retain the default value of 10% for the Turbulent Intensity.(d) Enter 42 mm for the Hydraulic Diameter.(e) Click OK to close the Velocity Inlet panel.4. Set the boundary conditions at the outlet (outlet).(a) Retain the default setting of 0 for Gauge Pressure.(b) Select Intensity and Hydraulic Diameter from the Specification Method dropdownlist in the Turbulence group box.(c) Enter 5% for the Backflow Turbulent Intensity.(d) Enter 42 mm for the Backflow Hydraulic Diameter.(e) Click OK to close the Pressure Outlet panel.5. Retain the default boundary conditions for the walls (substrate-wall and wall) andclose the Boundary Conditions panel.Step 5: Solution1. Set the solution parameters.Solve /Controls/Solution...(a) Retain the default settings for Under-Relaxation Factors.(b) Select Second Order Upwind from the Momentum drop-down list in the Discretizationgroup box.(c) Click OK to close the Solution Controls panel.(a) Enable Plot in the Options group box.(b) Click OK to close the Residual Monitors panel.3. Enable the plotting of the mass flow rate at the outlet.Solve / Monitors /Surface...(a) Set the Surface Monitors to 1.(b) Enable the Plot and Write options for monitor-1, and click the Define... buttonto open the Define Surface Monitor panel.i. Select Mass Flow Rate from the Report Type drop-down list.ii. Select outlet from the Surfaces selection list.iii. Click OK to close the Define Surface Monitors panel.(c) Click OK to close the Surface Monitors panel.4. Initialize the solution from the inlet.Solve/Initialize /Initialize...(a) Select inlet from the Compute From drop-down list.(b) Click Init and close the Solution Initialization panel.5. Save the case file (catalytic converter.cas).File/Write /Case...6. Run the calculation by requesting 100 iterations.Solve /Iterate...(a) Enter 100 for the Number of Iterations.(b) Click Iterate.The FLUENT calculation will converge in approximately 70 iterations. By thispoint the mass flow rate monitor has attended out, as seen in Figure 7.3.(c) Close the Iterate panel.7. Save the case and data files (catalytic converter.cas and catalytic converter.dat).File /Write /Case & Data...Note: If you choose a file name that already exists in the current folder, FLUENTwill prompt you for confirmation to overwrite the file. Step 6: Post-processing1. Create a surface passing through the centerline for post-processing purposes.Surface/Iso-Surface...(a) Select Grid... and Y-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Retain the default value of 0 for the Iso-Values.(d) Enter y=0 for the New Surface Name.(e) Click Create.2. Create cross-sectional surfaces at locations on either side of the substrate, as wellas at its center.Surface /Iso-Surface...(a) Select Grid... and X-Coordinate from the Surface of Constant drop-down lists.(b) Click Compute to calculate the Min and Max values.(c) Enter 95 for Iso-Values.(d) Enter x=95 for the New Surface Name.(e) Click Create.(f) In a similar manner, create surfaces named x=130 and x=165 with Iso-Valuesof 130 and 165, respectively. Close the Iso-Surface panel after all the surfaceshave been created.3. Create a line surface for the centerline of the porous media.Surface /Line/Rake...(a) Enter the coordinates of the line under End Points, using the starting coordinateof (95, 0, 0) and an ending coordinate of (165, 0, 0), as shown.(b) Enter porous-cl for the New Surface Name.(c) Click Create to create the surface.(d) Close the Line/Rake Surface panel.4. Display the two wall zones (substrate-wall andwall).Display /Grid...(a) Disable the Edges option.(b) Enable the Faces option.(c) Deselect inlet and outlet in the list under Surfaces, and make sure that onlysubstrate-wall and wall are selected.(d) Click Display and close the Grid Display panel.(e) Rotate the view and zoom so that the display is similar to Figure 7.2.5. Set the lighting for the display.Display /Options...(a) Enable the Lights On option in the LightingAttributes group box.(b) Retain the default selection of Gourand in the Lighting drop-down list.(c) Click Apply and close the Display Options panel.6. Set the transparency parameter for the wall zones (substrate-wall and wall).Display/Scene...(a) Select substrate-wall and wall in the Names selection list.(b) Click the Display... button under Geometry Attributesto open the DisplayProperties panel.i. Set the Transparency slider to 70.ii. Click Apply and close the Display Properties panel. (c) Click Apply and then close the Scene Description panel.7. Display velocity vectors on the y=0 surface.Display /Vectors...(a) Enable the Draw Grid option.The Grid Display panel will open.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(b) Enter 5 for the Scale.(c) Set Skip to 1.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Vectors panel.The flow pattern shows that the flow enters the catalytic converter as a jet, withrecirculation on either side of the jet. As it passes through the porous substrate, itdecelerates and straightens out, and exhibits a more uniform velocity distribution.This allows the metal catalyst present in the substrateto be more effective.Figure 7.4: Velocity Vectors on the y=0 Plane8. Display filled contours of static pressure on the y=0 plane.Display /Contours...(a) Enable the Filled option.(b) Enable the Draw Grid option to open the Display Grid panel.i. Make sure that substrate-wall and wall are selected in the list under Surfaces.ii. Click Display and close the Display Grid panel.(c) Make sure that Pressure... and Static Pressure are selected from the Contoursof drop-down lists.(d) Select y=0 from the Surfaces selection list.(e) Click Display and close the Contours panel.Figure 7.5: Contours of the Static Pressure on the y=0 planeThe pressure changes rapidly in the middle section, where the fluid velocity changesas it passes through the porous substrate. The pressure drop can be high, due to theinertial and viscous resistance of the porous media.Determining this pressure dropis a goal of CFD analysis. In the next step, you will learn how to plot the pressuredrop along the centerline of the substrate.9. Plot the static pressure across the line surface porous-cl.Plot /XY Plot...(a) Make sure that the Pressure... and Static Pressure are selected from the Y AxisFunction drop-down lists.(b) Select porous-cl from the Surfaces selection list.(c) Click Plot and close the Solution XY Plot panel.Figure 7.6: Plot of the Static Pressure on the porous-cl Line SurfaceIn Figure 7.6, the pressure drop across the porous substrate can be seen to beroughly 300 Pa.10. Display filled contours of the velocity in the X direction on the x=95, x=130 andx=165 surfaces.Display /Contours...(a) Disable the Global Range option.(b) Select Velocity... and X Velocity from the Contoursof drop-down lists.(c) Select x=130, x=165, and x=95 from the Surfaces selection list, and deselecty=0.(d) Click Display and close the Contours panel.The velocity profile becomes more uniform as the fluid passes through the porousmedia. The velocity is very high at the center (the area in red) just before thenitrogen enters the substrate and then decreases as it passes through and exits thesubstrate. The area in green, which corresponds to a moderate velocity, increasesin extent.Figure 7.7: Contours of the X Velocity on the x=95, x=130, and x=165 Surfaces11. Use numerical reports to determine the average, minimum, and maximum of thevelocity distribution before and after the porous substrate.Report /Surface Integrals...(a) Select Mass-Weighted Average from the Report Type drop-down list.(b) Select Velocity and X Velocity from the FieldVariable drop-down lists.(c) Select x=165 and x=95 from the Surfaces selectionlist.(d) Click Compute.(e) Select Facet Minimum from the Report Type drop-downlist and click Computeagain.(f) Select Facet Maximum from the Report Type drop-down list and click Computeagain.(g) Close the Surface Integrals panel.The numerical report of average, maximum and minimum velocity can be seen inthe main FLUENT console, as shown in the following example:The spread between the average, maximum, and minimum values for X velocitygives the degree to which the velocity distribution is non-uniform. You can also usethese numbers to calculate the velocity ratio (i.e., the maximum velocity divided bythe mean velocity) and the space velocity (i.e., the product of the mean velocity andthe substrate length).Custom field functions and UDFs can be also used to calculate more complex measuresof non-uniformity, such as the standard deviation and the gamma uniformityindex. SummaryIn this tutorial, you learned how to set up and solve a problem involving gas flow throughporous media in FLUENT. You also learned how to perform appropriate post-processingto investigate the flow field, determine the pressure drop across the porous media andnon-uniformityof the velocity distribution as the fluid goes through the porous media.Further ImprovementsThis tutorial guides you through the steps to reach an initial solution. You may be ableto obtain a more accurate solution by using an appropriate higher-order discretizationscheme and by adapting the grid. Grid adaption can also ensure that the solution isindependent of the grid. These steps are demonstrated in Tutorial 1.。
FLUENT多孔介质数值模拟设置
FLUENT多孔介质数值模拟设置多孔介质条件多孔介质模型可以应用于很多问题,如通过充满介质的流动、通过过滤纸、穿孔圆盘、流量分配器以及管道堆的流动。
当你使用这一模型时,你就定义了一个具有多孔介质的单元区域,而且流动的压力损失由多孔介质的动量方程中所输入的内容来决定。
通过介质的热传导问题也可以得到描述,它服从介质和流体流动之间的热平衡假设,具体内容可以参考多孔介质中能量方程的处理一节。
多孔介质的一维化简模型,被称为多孔跳跃,可用于模拟具有已知速度/压降特征的薄膜。
多孔跳跃模型应用于表面区域而不是单元区域,并且在尽可能的情况下被使用(而不是完全的多孔介质模型),这是因为它具有更好的鲁棒性,并具有更好的收敛性。
详细内容请参阅多孔跳跃边界条件。
多孔介质模型的限制如下面各节所述,多孔介质模型结合模型区域所具有的阻力的经验公式被定义为“多孔”。
事实上多孔介质不过是在动量方程中具有了附加的动量损失而已。
因此,下面模型的限制就可以很容易的理解了。
流体通过介质时不会加速,因为事实上出现的体积的阻塞并没有在模型中出现。
这对于过渡流是有很大的影响的,因为它意味着FLUENT不会正确的描述通过介质的过渡时间。
多孔介质对于湍流的影响只是近似的。
详细内容可以参阅湍流多孔介质的处理一节。
多孔介质的动量方程多孔介质的动量方程具有附加的动量源项。
源项由两部分组成,一部分是粘性损失项 (Darcy),另一个是内部损失项:其中S_i是i向(x, y, or z)动量源项,D和C是规定的矩阵。
在多孔介质单元中,动量损失对于压力梯度有贡献,压降和流体速度(或速度方阵)成比例。
对于简单的均匀多孔介质:其中a是渗透性,C_2时内部阻力因子,简单的指定D和C分别为对角阵1/a 和C_2其它项为零。
FLUENT还允许模拟的源项为速度的幂率:其中C_0和C_1为自定义经验系数。
注意:在幂律模型中,压降是各向同性的,C_0的单位为国际标准单位。
多孔介质的Darcy定律通过多孔介质的层流流动中,压降和速度成比例,常数C_2可以考虑为零。
多孔介质-Fluent模拟
多孔介质-Fluent模拟7.19多孔介质边界条件多孔介质模型适用的范围非常广泛,包括填充床,过滤纸,多孔板,流量分配器,还有管群,管束系统。
当使用这个模型的时候,多孔介质将运用于网格区域,流场中的压降将由输入的条件有关,见Section 7.19.2.同样也可以计算热传导,基于介质和流场热量守恒的假设,见Section 7.19.3.通过一个薄膜后的已知速度/压力降低特性可以简化为一维多孔介质模型,简称为“多孔跳跃”。
多孔跳跃模型被运用于一个面区域而不是网格区域,而且也可以代替完全多孔介质模型在任何可能的时候,因为它更加稳定而且能够很好地收敛。
见Section 7.22.7.19.1 多孔介质模型的限制和假设多孔介质模型就是在定义为多孔介质的区域结合了一个根据经验假设为主的流动阻力。
本质上,多孔介质模型仅仅是在动量方程上叠加了一个动量源项。
这种情况下,以下模型方面的假设和限制就可以很容易得到:, 因为没有表示多孔介质区域的实际存在的体,所以fluent默认是计算基于连续性方程的虚假速度。
做为一个做精确的选项,你可以适用fluent中的真是速度,见section7.19.7。
, 多孔介质对湍流流场的影响,是近似的,见7.19.4。
, 当在移动坐标系中使用多孔介质模型的时候,fluent既有相对坐标系也可以使用绝对坐标系,当激活相对速度阻力方程。
这将得到更精确的源项。
相关信息见section7.19.5和7.19.6。
, 当需要定义比热容的时候,必须是常数。
7.19.2 多孔介质模型动量方程多孔介质模型的动量方程是在标准动量方程的后面加上动量方程源项。
源项包含两个部分:粘性损失项(达西公式项,方程7.19-1右边第一项),和惯性损失项(方程7.19-1右边第二项)(7.19-1)式中,si是i(x,y,z)动量方程的源项,是速度大小,D和C是矩阵。
动量源项对多孔介质区域的压力梯度有影响,生成一个与速度大小(速度平方)成正比的压降。
FLUENT操作过程及参数选择
振动流化床仿真操作过程及参数选择1创建流化床模型。
根据靳海波论文提供的试验机参数,创建流化床模型。
流化床直148mm,高1m,开孔率9%,孔径2mm。
在筛板上铺两层帆布保证气流均布。
因为实验机为一个圆形的流化床,所以可简化为仅二维模型。
而实际实验中流化高度远小于1m,甚至500mm,所以为提高计算时间,可将模型高度缩为500mm。
由于筛板上铺设两层帆布以达到气流均分的目的,所以认为沿整个筛板的进口风速为均匀的。
最终简化模型如下图所示:上图为流化后的流化床模型,可以看出流化床下端的网格相对上端较密,因为流化行为主要发生的流化床下端,为了加快计算时间,所以采用这种下密上疏的划分方式。
其中进口设置为velocity inlet;出口设置为outflow;左右两边分为设置为wall。
在GAMBIT中设置完毕后,输出二维模型vfb.msh。
outflow边界条件不需要给定任何入口的物理条件,但是应用也会有限制,大致为以下四点:1.只能用于不可压缩流动2.出口处流动充分发展3.不能与任何压力边界条件搭配使用(压力入口、压力出口)4.不能用于计算流量分配问题(比如有多个出口的问题)2打开FLUENT 6.3.26,导入模型vfb.msh点击GRID—CHECK,检查网格信息及模型中设置的信息,核对是否正确,尤其查看是否出现负体积和负面积,如出现马上修改。
核对完毕后,点击GRID-SCALE 弹出SCALE GRID窗口,设置单位为mm,并点击change length unit按钮。
具体设置如下:3设置求解器保持其他设置为默认,更改TIME为unsteady,因为实际流化的过程是随时间变化的。
(1)pressure based 求解方法在求解不可压流体时,如果我们联立求解从动量方程和连续性方程离散得到的代数方程组,可以直接得到各速度分量及相应的压力值,但是要占用大量的计算内存,这一方法已可以在Fluent6.3中实现,所需内存为分离算法的1.5-2倍。
ANSYS Fluent多孔介质
ANSYS Fluent多孔介质模型简介
多孔介质是指内部含有众多空隙的固体材料,如土壤、煤炭、木材、过滤器、催化床等。
若采用详细的模型结构及网格划分处理,则会因为过多的网格数目而使计算量非常大,不能满足工程上的实际需求,而多孔介质模型实质上是将多孔介质区域结合了以经验假设为主的流动阻力,即动量源项。
图1、多孔介质模型的应用
ANSYS Fluent中可将所需区域设定为多孔介质模型(见图2),在cell zone conditions中勾选porous zone(通常认为在多孔介质模型内由于阻力原因,流动状况为层流,故而同时勾选laminar zone)。
在其界面中,可设置方向、粘性阻力系数、惯性阻力系数以及孔隙率等参数。
其中粘性阻力系数及惯性阻力系数可通过多种方式确定其具体数值,如试验法(风速及压降的曲线拟合)、Ergun方程法、经验方程法等等。
图2、ANSYS Fluent中多孔介质模型的设置界面通过一个简单的仿真案例进行描述:一个用于汽车尾气净化的催化剂装置,其中类似蜂窝结构的区域可认为是多孔区域模型(见图3)。
在ANSYS Fluent中设置求解器、材料、多孔区域、边界条件等,初始化后进行仿真计算(多孔介质问题的初始化应采用standard initialization,见图4)。
结构后处理中可得到结构内部的速度场、压力场结果(见图5)
图3、汽车尾气净化器流动仿真
图4、ANSYS Fluent初始化界面
图5、不同截面的速度场云图、压力场云图及压力曲线。
Fluent多孔介质设置
1。
Gambit中划分网格之后,定义需要做为多孔介质的区域为fluid,与缺省的fluid 分别开来,再定义其名称,我习惯将名称定义为porous;2。
在fluent中定义边界条件define-boundary condition-porous(刚定义的名称),将其设置边界条件为fluid,点击set按钮即弹出与fluid边界条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即出现一个带有滚动条的界面;3。
porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不用定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不用定义,是与第一、二个矢量方向正交的;(如何知道矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考fluent帮助。
2)定义粘性阻力1/a与内部阻力C2:下面是一个例子:通过实验测得速度和压降进行计算:假设实验所得速度和压降的数值如下:通过多孔介质的为空气,密度为1.225kg/m 3粘度为51.789410µ−=× 。
由上面速度与压降的关系可以绘出一个二次由线。
方程如下:20.28296 4.33539p v v ∇=−简化的动量方程所得二次由线与方程相比较,对应的系数相等,可得210.282962i c v v ρ=4.33539n µα∆=− 设厚度为1m,可以解出20.4621242282c α==−依据些方法计算自己所模拟的模型的粘性阻力和惯性阻力。
3)如果了定义粘性阻力1/a 与内部阻力C2,就不用定义C1与C0,因为这是两种不同的定义方法,C1与C0只在幂率模型中出现,该处保持默认就行了;4)定义孔隙率porousity ,默认值1表示全开放,此值按实验测值填写即可。
Fluent多孔介质设置
1。
Gambit中划分网格之后,定义需要做为多孔介质的区域为fluid,与缺省的fluid 分别开来,再定义其名称,我习惯将名称定义为porous;2。
在fluent中定义边界条件define-boundary condition-porous(刚定义的名称),将其设置边界条件为fluid,点击set按钮即弹出与fluid边界条件一样的对话框,选中porous zone与laminar复选框,再点击porous zone标签即出现一个带有滚动条的界面;3。
porous zone设置方法:1)定义矢量:二维定义一个矢量,第二个矢量方向不用定义,是与第一个矢量方向正交的;三维定义二个矢量,第三个矢量方向不用定义,是与第一、二个矢量方向正交的;(如何知道矢量的方向:打开grid图,看看X,Y,Z的方向,如果是X向,矢量为1,0,0,同理Y向为0,1,0,Z向为0,0,1,如果所需要的方向与坐标轴正向相反,则定义矢量为负)圆锥坐标与球坐标请参考fluent帮助。
2)定义粘性阻力1/a与内部阻力C2:下面是一个例子:通过实验测得速度和压降进行计算:假设实验所得速度和压降的数值如下:通过多孔介质的为空气,密度为1.225kg/m 3粘度为51.789410µ−=× 。
由上面速度与压降的关系可以绘出一个二次由线。
方程如下:20.28296 4.33539p v v ∇=−简化的动量方程所得二次由线与方程相比较,对应的系数相等,可得210.282962i c v v ρ=4.33539n µα∆=− 设厚度为1m,可以解出20.4621242282c α==−依据些方法计算自己所模拟的模型的粘性阻力和惯性阻力。
3)如果了定义粘性阻力1/a 与内部阻力C2,就不用定义C1与C0,因为这是两种不同的定义方法,C1与C0只在幂率模型中出现,该处保持默认就行了;4)定义孔隙率porousity ,默认值1表示全开放,此值按实验测值填写即可。