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 in ansys fluent. 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. (Article Analysing the performance of liquid cooling designs in cylin...
), 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