Update: March 16, 2018

$FOAM_TUTORIALS/lagrangian/MPPICFoam/injectionChannel

Air flows in from the 2 inlets, "lowerInlet" and "upperInlet", with velocities of (18.7939, 6.8404, 0) m/s and (18.7939, -6.8404, 0) m/s, respectively, and collides in the flow path. After the collision, the flow flows out of the calculation domain through the outlet. The total calculation time is 0.1 second.

Model geometry

The physical properties of discrete particles are defined in the file "kinematicCloudProperties" in the directory "constant". The position of particle inflow, inflow start time, inflow duration, velocity, size distribution, etc. are defined in "injectionModels" of "subModels" as model1 and model2, respectively, as shown below.

injectionModels { model1 { type patchInjection; parcelBasisType fixed; patchName lowerInlet; U0 (18.7939 6.8404 0); nParticle 1; parcelsPerSecond 1390885; sizeDistribution { type normal; normalDistribution { expectation 650e-6; variance 25e-6; minValue 500e-6; maxValue 800e-6; } } flowRateProfile constant 1; massTotal 0; SOI 0; duration 60; } model2 { type patchInjection; parcelBasisType fixed; patchName upperInlet; U0 (18.7939 -6.8404 0); nParticle 1; parcelsPerSecond 1390885; sizeDistribution { type normal; normalDistribution { expectation 650e-6; variance 25e-6; minValue 500e-6; maxValue 800e-6; } } flowRateProfile constant 1; massTotal 0; SOI 0; duration 60; } }

The meshes are as follows, and the number of mesh is 9776.

Meshes

The calculation result is as follows.

Discrete particles's motion (After the start of particle inflow, the color represents velocity)

Discrete particles at 0.001 sec

Discrete particles at 0.005 sec

Discrete particles at 0.01 sec

Discrete particles at 0.02 sec

Discrete particles at 0.1 sec

The flow field at the final time is as follows.

Flow velocity at 0.1 sec (U)

Pressure at 0.1 sec (p)

cp -r $FOAM_TUTORIALS/lagrangian/MPPICFoam/injectionChannel injectionChannel

cd injectionChannel

blockMesh

MPPICFoam

paraFoam

cd injectionChannel

blockMesh

MPPICFoam

paraFoam

13 minutes 27.9 seconds *Single, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz