These represent chemical reactions that operate on any number of scalar fields. The reactions are defined by specifying the rate change of the scalar fields. The chemical reaction itself takes the form of a UDF which is evaluated on the fluid cells in a simulation.


Define the reaction UDF here. The output variables are the rate_* variables for each scalar field.

  • Euler

  • R-K 4