grokkingstuff Home Blog Projects Wiki Calculators About

DPM Setup and Activation in ANSYS Fluent 2024 R1

#+CATEGORY: cfd

#+TAGS: DPM Fluent setup activation

#+MATURITY: growing

DPM Setup Activation :: Step-by-Step for ANSYS Fluent 2024 R1

This page walks through the complete DPM activation procedure in ANSYS Fluent 2024 R1. It covers model activation, interaction settings, injection creation, boundary conditions, and the numerical knobs that determine convergence. Target application: shisha PM2.5 simulation (3D, steady-state, inert particles).

When to Activate DPM

Activate DPM when your problem involves:

Do not activate DPM when:

Activation Procedure

Step 1 -- Enable the DPM model: 1. Open the Model tree: Models > Discrete Phase 2. Set Discrete Phase Model to On 3. Click Edit... to open the DPM dialog

Step 2 -- Choose tracking mode:

ModeUse CaseSetting
SteadyContinuous injection (draw)Interaction unchecked (or checked for coupling)
TransientPuff injection, time-varyingUnsteady Particle Tracking checked

For shisha continuous draw: select Steady.

Step 3 -- Set interaction options: 1. In the DPM dialog, set:

2. If coupling is on:

Step 4 -- Enable optional physics in the Physical Models tab:

Step 5 -- Create injection(s): See DPM Injection Types.

Step 6 -- Set DPM boundary conditions: See DPM Boundary Conditions.

Step 7 -- Solve: 1. Initialize the continuous phase (hybrid initialization recommended) 2. Run continuous phase to convergence (500+ iterations for steady) 3. If coupled: Calculate > Iterate with DPM iterations interleaved 4. If uncoupled: run DPM once after flow converges via Report > Discrete Phase > Iterate

Continuous Phase Prerequisites

Before enabling DPM, the continuous phase must be set up:

ItemRecommendation for Shisha PM2.5
SolverPressure-based, steady
Turbulencek-omega SST (best for near-wall; or k-epsilon RNG)
Near-wall treatmentEnhanced wall treatment; $y^+ < 1$ for deposition
Material (air)Incompressible ideal gas or constant density
Material (particle)Create custom solid material: $\rho_p = 1200$ kg/m^3, $c_p = 1000$ J/(kg.K)
Operating pressure1 atm (or ambient lab pressure)
TemperatureEnable energy equation if bowl is heated

DPM Material Setup

PM2.5 smoke particles need a custom material:

1. Open Materials > Solid > Create/Edit... 2. Name: pm25-smoke 3. Density: 1200 kg/m^3 (typical carbonaceous aerosol) 4. Specific heat: 1000 J/(kg.K) 5. Thermal conductivity: 0.1 W/(m.K) (not critical for inert)

Assign this material in the injection panel.

Injection Setup -- Quick Reference

For shisha PM2.5 (smoke entering from hose tip or bowl):

1. Models > Discrete Phase > Injections... > Create 2. Type: surface (inject from a zone boundary) 3. Material: pm25-smoke (the custom solid) 4. Particle Type: inert 5. Injection properties:

PropertyValueNotes
Diameter$d_{\text{mean}} = 1.0$ \mu mLog-normal distribution
Spread parameter1.5Log-normal width
Number of parcels10 000Statistical convergence
Total flow rate5 mg/min (typical)Match your experimental draw rate
Temperature50 degrees C (cool smoke)Adjust to bowl outlet temp
Velocity0.5 m/s (typical draw velocity)Or set mass flow rate

6. Select the injection surface(s) in the Boundary Zones list 7. Click OK

TIP: Use surface injection for a known physical inlet. Use file injection to read particle data from a previous simulation or measurement.

Boundary Conditions for DPM Particles

For each boundary zone, set the DPM behavior in Cell Zone Conditions > Boundary Conditions > [zone] > DPM tab:

BoundaryDPM BehaviorUse Case
Inlet (air)escapeAir enters; particle tracks from it
Outlet (exhaust)escapeParticles leave domain at exhaust
Walls (glass/body)trap or reflectTrap = particle sticks; Reflect = bounce
Bowl surfacetrapSmoke deposits on bowl inner walls

For trap: particle is removed at the wall. Use this for deposition analysis. For reflect: particle bounces. Specify normal and tangential restitution coefficients.

Numerical Settings -- Max Steps and Tolerance

SettingRecommended ValueNotes
Max Steps50 000 (3D domain)Larger if particles stay in domain long
Tolerance$1 \times 10^{-5}$Tighter tolerance --> more accurate trajectory
Length ScaleMesh-based (default)Use Refine Path for highly curved paths
Timescale ControlVariable time-stepDefault; adjusts step per trajectory region
Accuracy ControlOnRefines trajectory near boundaries

TUI commands for DPM numerics: ``` solve/set/dpm-iterations <n> solve/set/dpm-under-relaxation <factor> define/models/dpm/interaction> max-steps <n> ```

See DPM Numerics -- Solver Settings and Convergence for details.

Steady vs Transient DPM -- Quick Decision

ModeWhen to UseFluent Setting
SteadyContinuous draw, constant injectionInteraction with Continuous Phase
TransientPuff-by-puff, time-varying injectionUnsteady Particle Tracking

For shisha steady draw: use Steady DPM tracking. The injection is constant. The flow field is steady-state. Particles reach terminal trajectories.

For later transient study (puff): switch to Transient. Enable Unsteady Particle Tracking and set a time-step for the particle integration.

Workflow Summary

``` 1. Solve continuous phase to convergence

-- Pressure-based, steady, k-omega SST
-- 500+ iterations until residuals drop below 1e-4

2. Enable DPM

-- Models > Discrete Phase > On
-- Steady tracking
-- Stochastic tracking: 10 tries
-- Physical models: Brownian (UDF), thermophoretic

3. Create injection

-- Surface injection at smoke source
-- Material: pm25-smoke (inert, rho=1200, d_mean=1.0 um)
-- Log-normal distribution, spread=1.5
-- 10 000 parcels

4. Set boundary conditions

-- Walls: trap or reflect
-- Outlets: escape

5. Run DPM

-- Uncoupled: Report > Discrete Phase > Iterate
-- Coupled: Calculate > Iterate with DPM iterations

6. Post-process

-- Particle tracks
-- DPM concentration contours
-- Sample files on planes
-- Statistics (escape/trap counts)

```

See Also