Professional Documents
Culture Documents
Introduction to CFX
WS4-1
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
WS4-2
Starting CFX-Pre
Workshop Supplement
WS4-3
Material Import
Workshop Supplement
3. Click OK
WS4-4
Workshop Supplement
WS4-5
Workshop Supplement
WS4-6
Workshop Supplement
WS4-7
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
WS4-8
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
7. Click OK
ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.
WS4-9
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
WS4-10
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
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
WS4-12
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
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