Injection of mass directly in the volume (based on mass source terms) can be defined for selected volume zones. The mass conservation equation is then modified as follows:
Γ is the mass source term expressed in kg.m-3.s-1.
The presence of a mass source term modifies the evolution equation of the other variables, too. Let
Mass source terms can be defined using the cs_equation_add_volume_mass_injection series of functions in cs_user_finalize_setup. The value assigned to the pressure variable is the mass injection rate.
For each other variable
For the variance, do not take into account the scalar
Examples of data settings for volume mass injection
Further details and examples in the linked example page above.