Você está na página 1de 14

Workshop 4

Flow Through Porous Media

Introduction to CFX

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-1

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Introduction
This workshop demonstrates how to model porous media in CFX. It models a catalytic converter. Nitrogen flows in through the inlet with a uniform velocity of 10 m/s, passes through a ceramic monolith substrate with square shaped channels, and then exits through the outlet. The substrate is impermeable in the X and Y direction, which is modeled by specifying loss coefficients 2 orders of magnitude higher than in the Z direction.

Workshop Supplement

Ceramic Monolith Substrate

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-2

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Starting CFX-Pre

Workshop Supplement

1. Start Workbench and save the Project as cat_converter.wbpj


2. Drag CFX into the Project Schematic from the Component Systems toolbox and name the system Porous 3. Start CFX-Pre by double clicking Setup 4. When CFX-Pre opens, right-click Mesh and select Import Mesh > ICEM CFD. Select the file catconv.cfx5 5. Keep the Mesh Units in m

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-3

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Material Import

Workshop Supplement

1. Right-click Materials and select Import Library Data


2. Select N2 Ideal Gas by expanding the Calorically Perfect Ideal Gases branch

3. Click OK

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-4

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Fluid Domain Setup


1. Double-click Default Domain 2. For Fluid 1, set the Material to N2 Ideal Gas (note: use the icon) 3. Switch to the Fluid Models tab 4. Set Heat Transfer to Isothermal

Workshop Supplement

5. Set Fluid Temperature to 450 [C]


6. Set Turbulence to k-epsilon 7. Click OK

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-5

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Setting Up Boundary conditions


1. Insert a boundary condition named Inlet 2. Set Boundary Type to Inlet 3. Set Location to INLET 4. Switch to the Boundary Details tab 5. Set Mass and Momentum to a Normal Speed of 10 [m s^-1] 6. Click OK 7. Insert a Boundary Condition named Outlet 8. Set Boundary Type to Outlet 9. Set Location to OUTLET 10. Switch to the Boundary Details tab 11. Enter a Relative Pressure of 0 [Pa] 12. Click OK
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Workshop Supplement

WS4-6

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Setting Up Porous Domain


1. Right-click on Flow Analysis 1 and insert a Domain named Substrate 2. Set the Location to SUBSTRATE 3. Set the Domain Type to Porous Domain 4. Switch to the Porosity Settings tab 5. Set Volume Porosity to 0.5 6. Set the Loss Model option to Directional Loss 7. For the Streamwise Direction, enter components of 0,0,1 8. Set Streamwise Loss to Linear and Quadratic Resistance Coefficients 9. Turn on Quadratic Resistance Coefficient and enter a value of 440 [kg m^-4] 10. Set the Streamwise Coefficient Multiplier to 100 and click OK
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Workshop Supplement

WS4-7

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Domain Interface
CFX automatically creates a Fluid-Porous interface between the Default Domain and Substrate. You can double-click Default FluidPorous Interface to view the setup, or highlight the Default Fluid Porous Interface Side 1 and Default Fluid Porous Interface Side 2 boundaries in the individual domains to see that that regions are correct.

Workshop Supplement

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-8

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Output Control
1. Edit Output Control from the Outline tree 2. Switch to the Monitor tab and turn on Monitor Options 3. Click to create a new monitor object, and call it Mass Flow at Outlet 4. Set the Option to Expression 5. Set the Expression Value to massFlow()@Outlet Right-click 6. Insert a new object in the same way called Pressure Drop, using the Expression:

Workshop Supplement

massFlowAve(Total Pressure)@REGION:INLETSUBSTRATEINTERFACE_1 massFlowAve(Total Pressure)@REGION:OUTLETSUBSTRATEINTERFACE_1

7. Click OK
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-9

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Starting Solver
1. Close CFX-Pre and save the project 2. Double-click Solution to start the Solver Manager 3. When the Solver Manager opens click Start Run

Workshop Supplement

4. At the end of the run, click the User Points tab and click the green line where it flattens out. It reports a pressure drop value of approx 285 Pa across the substrate

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-10

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Post-processing
1. When the solver finishes, close the Solver Manager 2. Double-click on Results in the Project page to start CFD-Post 3. Once CFD-Post is open, select Location > Plane from the toolbar 4. Set Method to ZX Plane 5. Set Y to 0 [m] 6. Click Apply 7. Turn off Visibility for Plane 1 by disabling the check-box next to its entry in the Outline tree 8. Select Insert > Vector 9. Select Locations to Plane 1 10. Click Apply
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Workshop Supplement

WS4-11

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Post-processing
1. 2. 3. 4. 5. Hide the Vector plot created in the last step Select Insert > Contour Set Locations to Plane 1 Set Variable to Pressure Click Apply

Workshop Supplement

ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-12

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Post-processing
1. Select Location > Line from the toolbar 2. Set Point 1 to 0,0,-0.07 3. Set Point 2 to 0,0,0.07 4. Click Apply 5. Select Insert > Chart 6. On the General tab enter Pressure in Porous Domain as the Title 7. On the Data Series tab, click to create Series 1 8. Set Location to Line 1 9. On the X Axis tab, set Variable to Z 10. On the Y Axis tab, set Variable to Pressure 11. Click Apply
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Workshop Supplement

WS4-13

April 28, 2009 Inventory #002599

WS4: Flow Through Porous Media

Post-processing
1. Switch to the Expressions tab 2. Right-click and select New 3. Enter the Name as deltaP and enter the Definition as:
massFlowAve(Total Pressure)@Inlet massFlowAve(Total Pressure)@Outlet

Workshop Supplement

4. Click Apply to evaluate the expression The value should come out to be approximately 300 Pa. Since we know from the solver monitor value that approx. 285 Pa or Total Pressure is lost across the substrate, we can determine that 15 Pa is lost through the rest of the device.
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

WS4-14

April 28, 2009 Inventory #002599

Você também pode gostar