Fluids

Fluids

Creating a UDF to model the heat generation of a Li-ion battery

    • rl517
      Subscriber

      I am working on a project involving analysing liquid cooling structures of electric vehicle battery packs, and am currently trying to roughly model the heat generation of an 18650 cylindrical Li-ion battery. I have come across a method proposed in a paper that I wish to replicate in some way, the only problem being the UDF is not directly covered. The methodology is described in section 3.1 of "Analysing the performance of liquid cooling designs in cylindrical lithium-ion batteries"- Matthew Yates et al. (https://www.sciencedirect.com/science/article/pii/S2352152X1930461X), where it describes how the power generation per unit volume is 190,000W/m3, is run over a period of 720s, and also how the power generation is set as a function of the height of the cell aswell. 

      The geometry I have is simple, it is just a cylinder with diameter 18mm and height 65mm, I wish to just have a user defined function to model the heat generation described above, so I can finally move on to modelling the cooling. I have never created a UDF before, and have no experience in programming, if this involves writing something in C. I would really appreciate any help in how to create this UDF.

      Many thanks

    • Robert Woolhouse
      Ansys Employee

      Have a look in the documentation. You're looking for DEFINE_SOURCE, and take it from there. 

Viewing 1 reply thread
  • You must be logged in to reply to this topic.