Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Detailed Chemistry Solver Settings

    • abtharpe42
      Subscriber

      I do a lot of combustion modeling in Fluent and often have had to fight with the Stiff Chemistry and Chemkin-CFD solvers to get a simulation to run stably, especially with the ammonia combustion mechanisms by Alessandro Stagni that I am using from the CRECK Modeling Group. Lately I've been trying to test his 2023 (https://doi.org/10.1016/j.cej.2023.144577) and 2025 (https://doi.org/10.1016/j.cej.2025.170737) mechanisms to see how wall they work for purely thermal ammonia cracking using the geometry below:

      The 9mm x 6mm inlet to the channel is pure ammonia at 800 K and 5 m/s. The operating pressure is 20 bar. The bottom surface (named "flame-wall") of the solid walls will be set to a high temperature to see at what point does each mechanism show considerable cracking. I have simulated flow with the no reactions enabled and no high temperature applied to the flame-wall to then turn on the chemistry models in an attempt at calcuation stability. The mesh is over 300,000 poly-hexcore cells with 5 smooth-transition inflation layers.

      The both mechanisms work okay when doing a combustion simulation, but this pure ammonia decomposition scenario is giving me major grief, especially with the 2025 mechanism. With the Stiff Chemistry solver, I get persistent DASAC failure warnings and then a SIGSEGV error a few iterations in, causing a crash. The Chemkin-CFD solver won't even get to iteration 1 without immediately throughing a floating-point error, but it won't crash Fluent. Change back-and-forth between Direct Integration, ISAT, Chemistry Agglomeration, and Dyamic Cell Clustering hasn't fixed the problem.

      For general reacting flow simulations, the DASAC failures are a big pain-point of the Stiff Chemistry solver. The Chemkin-CFD solver is much more consistently stable, but I've had issues with it every so often, too. My biggest hangup with the Chemkin-CFD solver is that it won't accept mechanisms where a hydrocarbon fuel is not listed in the conventional elemental format and is instead given a placeholder name. The Stiff Chemistry solver does not have the same restriction so there are times where I would prefer to use it.

      Is there any way to view and edit lower level chemistry solver settings that are not present under Integration Parameters in the Species Transport window to maybe improve the ODE integration stability of these reacting flow simulations? I've looked through the TUI in the command window and I haven't had much success there for either solver.

    • Ren
      Ansys Employee

      Fluent user guide has an appendix (Appendix C) for controlling the CHEMKIN-CFD solver using the text command. There are no documented additional controls for the Stiff Chemistry Solver.

      I suggest you run the Chemkin mechanism pre-processing utility using the Chemkin software to check if there are any issues with the chemical mechanisms. Some mechanisms contain very large numerical numbers in the kinetic data and these are often the cause for the failure of the chemistry solvers (ODE solvers).

    • abtharpe42
      Subscriber

      Sorry for the late response. I know for a fact that both mechanisms works for combustion. I'm also learning Cantera on the side and tried to replicate this scenario with a simple non-adiabatic ideal gas reactor to see if the pure ammonia cracking works with the 2025 mechanism, and that simulation ran without a hitch.

      And at least with the 2023 mechanism, I can realiably simulate a combustor where the the liner has solid walls that are surrounded by a sleeve of pure ammonia flow to absorb heat from the flame. The 2025 mechanism has general stability issues that I'm still trying to figure out that the 2023 mechanism doesn't have. In some designs, the sleeve of ammonia connects to the swirler and is then burned, and in other designs the sleeve ammonia flow is entirely isolated from the burning flow and instead flows through a separate outlet. But, if I have the scenario in the previous screenshot where there is only ammonia and nothing else, both chemistry solvers crash.

      I was hoping that maybe there were some backend settings that I could find that would help my situation. I tried messing around with the advance Chemkin-CFD settings mentioned in Appendix C, and nothing worked. When I use a mechanism that only includes ammonia and ammonia-adjacent species without oxygen ever being present, the simulation runs fine. I've never used the Chemkin pre-processor though, so I'll look into that.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]