You can use the Injections tab to create, edit, copy or delete macroscopic particle injections. You can also save all particle injections that you have created to a file for later use or read injections from a previously generated file. The controls under the Injection tab are similar to those found in the Injections dialog box (see Injections Dialog Box in the Fluent User's Guide) with a few minor differences.
The procedures for creating, modifying and interacting with injections are also similar to those for the DPM injections. The differences related to the MPM injections will be further emphasized. For more information about using these controls, see the Fluent User’s Guide.
To create an MPM injection: click and set the injection properties using the Create/Modify Injection dialog box (see Defining MPM Injection Properties). After the injection is created, it will appear in the Injections selection list, in the Macroscopic Particle Model dialog box.
To edit an existing MPM injection: select it from the Injections selection list, click , and in the Create/Modify Injection dialog box that will open, modify the injection properties as necessary .
To copy an existing MPM injection to a new injection:
select it from the Injections selection list
and click . The name of the new copied
injection appended with _d will appear in
the Injections list.
To delete an existing MPM injection: select it from the Injections selection list and click .
To write information about all injections created in a case: click and in the Select File dialog box that will open, enter the name for the injection file.
Note: Write All Injections... is not supported for steady flows with cemented particles.
To read previously generated injection file into your
case: click and in the Select
File dialog box that will open, select the injection file
to read in. If the injection with the same name already exists in
your current case, then ANSYS Fluent will rename the imported injection
by appending _d to the name.
You can define the properties of an MPM injection using the Create/Modify Injection dialog box that can be accessed by clicking . The procedure for defining a particle injection is as follows:
(Optional) Change the default name of the injection
(injection-) by
entering a new name in the Injection Name entry
field.id
From the Injection Type drop-down list, select the injection type. In the ANSYS Fluent MPM model, you can create the following types of injections:
point: defines an injection released
from a single point.
plane: defines uniformly or randomly
distributed injections released from a plane.
packing: defines an injection
of particles packed in a box or cylinder.
from-file: allows you to read
a text file that defines an injection.
If you want to model fixed particles, enable Cemented Particle(s).
Important: For steady-state simulations, all particles must be cemented.
Specify the particle physical parameters (Diameter and Density).
Note: Note that a material defined in ANSYS Fluent cannot be assigned to a particle.
Specify the injection type-specific settings as described in the following sections:
point injections: Inputs for point Injections
plane injections: Inputs for plane Injections
packing injections: Inputs for packing Injections
from-file injections: Inputs for from-file Injections
(Optional) If you want to model a continuous generation of particle injections, select Enable Continuous Injection and in the Define Continuous Injection dialog box that opens when you click Set..., specify the relevant parameters.

You can specify the following settings:
Injection start, stop, and interval times
New macroscopic particle will be injected into the domain at regular time intervals specified in Injection Interval Time from the Injection Start Time to the Injection Stop Time.
(Optional) Moving and/or rotating injection release point parameters (available when Moving Injection is enabled):
The origin (X, Y, Z) and the direction of the axis (X, Y, or Z) about which the injection is rotating
The Angular Velocity of the injection location
The X, Y, Z components of the Translational Velocity of the injection location
At each time step, the MPM solver determines a new position of a particle injection based on the injection origin at the previous time step and the specified translational velocities.
Click .
The new injection that you have created appears under the Injections selection list.

For a point injection of a macroscopic particle, you need to define the following initial conditions in the Create/Modify Injection dialog box:
Particle diameter
Particle density
Specific heat of the particle material (only for heat transfer simulations)
Initial particle temperature (only for heat transfer simulations)
Initial particle release location:
Cartesian coordinates: X, Y, and Z
Cylindrical coordinates: Radius, Angle, and Axial
Particle initial velocity:
Cartesian coordinates: X, Y, and Z
Cylindrical coordinates: Radial, Tangential, and Axial
Particle initial angular velocity
By default, the global Cartesian coordinate system is used. If you want to specify injection parameters in a local cylindrical coordinate system, enable the Cylindrical Coordinates option, and then define the location of its origin (X, Y, Z) and Axis Direction.

To define macroscopic particle injections released from a plane:
Specify the particle initial conditions as described
in Inputs for point Injections, except for the
particle release location. Note that for plane injections, velocities
and initial position can be specified only in Cartesian coordinates.
Define the macroscopic particle injection plane.
Two options are available:
Rectangular
Macroscopic particles will be injected from a rectangular plane surface that is offset from a coordinate plane by a distance specified in X, Y, or Z Position in the selected X, Y, or Z axis direction.
The minimum and maximum limits of the rectangular surface are defined under the Extents of Rectangular Plane group box.
Circular
Macroscopic particles will be injected from a circular plane surface that is perpendicular to a selected coordinate direction (X, Y, or Z). The origin and radius of the circle are specified under the Center Location/Radius of Circular Plane group box.
Define the distribution of the particle release locations.
Two modeling options are available:
Random
The MPM model will inject particles into a flow domain from random locations on the injection plane. The total number of the released particles is specified in the Total # of Particles integer entry field.
Uniform
The particles
will be injected into a flow domain from points arranged in a rectangular
pattern. The number of the release points in two axial directions
is specified in the appropriate integer entry fields (for example, # of Particles in X-dir and # of Particles in Y-dir).

To define an injection of macroscopic particles packed in a box or cylinder:
Specify particle initial conditions as described in Inputs for point Injections, except for the particle
release location. Note that for plane injections, velocities and initial
position can be specified only in Cartesian coordinates.
Define the packing region.
For a Box-type packing, specify the minimum and maximum X, Y, and Z coordinates for the packing bounding box under the Box Extents group box.
For a Cylinder-type packing, specify the bounding cylinder axis, minimum and maximum coordinates for the cylinder height, cylinder origin and inner and out diameters.
Define the particle distribution in the packing.
Two modeling options are available:
Random
The initial volume fraction of particles in the packing is specified in the Particle VOF entry field.
Uniform
The distance between particles in the initial spatially uniform packing is specified in the Inter Particle Gap entry field.
If you want to allow a part of the particle to be outside of the domain (with the particle center being in the domain), enable Allow Partial Particles in the Domain.

For injections that you want to specify using the from-file option, the file format is:
number-of-particles diameter density x-pos y-pos z-pos x-vel y-vel z-vel x-rot y-rot z-rot pstart pstop pinterval cemented ...
where the first line specifies the number of particles (number-of-particles), followed by number-of-particles lines that define parameters for the injection particles. For each
particle, you must specify the diameter, density, initial position,
linear and angular velocities, start, end, and interval times, and
the integer flag (cemented in the above file
format specification) indicating whether or not the particle is moving.
Note that cemented=1 indicates a stationary
particle, while cemented=0 indicates a moving
particle. Values describing an injection should be separated by one
or more spaces and can be specified using scientific notation (e or
E) if needed.
All quantities are in SI units.
An example is shown below:
1 5e-2 5.08e-2 -1e-8 1e-7 2.4e-1 -2e-4 1e-5 1.1 0.0 0.0 0.0 0.0 1e-2 1e-4 0