ReactionΒΆ

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.

Code

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

Integration
  • Euler

  • R-K 4