fix chem/shrink command

Syntax

fix ID group-ID chem/shrink speciesA A_name molMassA A_value speciesC C_name molMassC C_value molMassB B_value k k_value rmin r_value
  • ID, group-ID are documented in fix command

  • chem/shrink = style name of this fix command

  • speciesA = obligatory keyword

  • A_name = name of species A (reacting gas)

  • molMassA = obligatory keyword

  • A_value = molar mass of species A in kg/mol

  • speciesC = obligatory keyword

  • C_name = name of species C (product gas)

  • molMassC = obligatory keyword

  • C_value = molar mass of species C in kg/mol

  • molMassB = obligatory keyword

  • B_value = molar mass of particle kg/mol

  • k = obligatory keyword

  • k_value = reaction rate constant

  • rmin = obligatory keyword

  • r_value = minimum radius value

Examples

fix cfd4 all chem/shrink speciesA O2 molMassA 31.99 speciesC CO2 molMassC 44.01 molMassB 12.01 k 2.5e3 rmin 0.005

LIGGGHTS vs. LAMMPS info:

This command is not available in LAMMPS.

Description

The mass flow rate for the reactant gas species can be calculated with the equation

dmA = -k*rho_gas*Y_a*Particle_surface_area*dt,

in which Y_a and rho_gas are the reactant gas species concentration and the density at the particle location. The mass flow rates of particle and product gas can then be calculated as

dmB = dmA*MolarMassB/MolarMassA,

dmC = -dmA*MolarMassC/MolarMassA.

The calculation of mass flow rate of the particle allows us to determine the new mass at each time step, and thus the new radius of particle. Since the particle reacts with gas, the radius will shrink.

With the help of the user defined rmin value, the minimum particle radius is defined. Particles that reach the rmin value are deleted from the domain in order to avoid numerical complications.

It must be kept in mind that the mass flow rates depend highly on the reaction rate coefficient. The higher the reaction rate constant, the faster the reduction of the particle will be.

Restart, fix_modify, run start/stop, minimize info:

No information about this fix is written to binary restart files. None of the fix_modify options are relevant to this fix.

No global or per-atom quantities are stores by this fix for access by various output commands.

No parameter of this fix can be used with the start/stop keywords of the run command. This fix is not invoked during energy minimization.

Restrictions

This fix needs a fix couple/cfd and couple/cfd/chemistry before it is defined.