Hi, everyone
I am a beginner in programming, and i am learning to write user defined reaction in MFiX. In MFiX 19.3 user guide, 4.13.3.6. Example: Athermal, gas phase, reversible reaction with UDF, reaction equations, ‘A–>R’ and ‘R–>A’, are not written in the curly braces, and “1.0” is not assigned to the variable " fracDH(0) ". Based on these thought, i wrote the code again. Both of them are posted below. Am i right? Why can it be written separately?
Best regards.
wuming