We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

UDF for Gas generation of Li-ion battery

    • eng_m_m.abd89
      Subscriber

      Hello,

      I am writing a UDF to reflect a gas generation model of battery components. I have 10 chemical reactions, and I can define the reaction rate of reactants using the Arrhenius equation. But how to model the total number of moles of gases generated from these chemical reactions?

      attached is the table of the reaction rates. I assume I can calculate the generated number of moles for specific species such as (CO2) for example using the below equation

      Generation rate = sum of (stoichiometric coefficient x reaction rate)

      amount of species = accumulated generation rate x volume

      Any suggestions or recommendations will be very helpful.

    • Rob
      Forum Moderator

      If all reactions are Arrhenius rate based why not just use the Fluent species models without UDFs? 

    • eng_m_m.abd89
      Subscriber

      Hey Rob, 

      Thanks for answering. I thought about it; I am validating a paper, and they did UDF. I think they used the UDF, because this gas generation model links two other models, which are heat generation within the battery, and then the gas vent.

      Regards,

      Mahmoud

    • Rob
      Forum Moderator

      Then you may need to review the source term macros for the gas generation. 

Viewing 3 reply threads
  • You must be logged in to reply to this topic.