CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Creating a UDF for heat generation given data points

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By luzikato
  • 1 Post By AlexanderZ

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 5, 2022, 06:09
Default Creating a UDF for heat generation given data points
  #1
New Member
 
Aman
Join Date: Dec 2022
Posts: 5
Rep Power: 3
amanv is on a distinguished road
Hi, I am currently trying to create a UDF for a source term to input into ANSYS FLUENT. I am modeling heat generation within a Li-ion cell and have the current charging profile. The heat generated within the cell is modeled with the equation q = I^2*R where I is current, R is internal resistance and q is the heat generation.

I have this current charging profile which varies over time. The internal resistance value is constant throughout the charging. I would like to know how to write a UDF such that the current changes with time according to this curve (attached image) .
Attached Images
File Type: jpg Screenshot_20221205_110515.jpg (103.5 KB, 23 views)
amanv is offline   Reply With Quote

 

Tags
ansys 2021 r2, fluent - udf, udf and programming


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF DPM_BC with F_UDMI not storing data balki Fluent UDF and Scheme Programming 3 June 6, 2016 22:10
[snappyHexMesh] crash sHM H25E OpenFOAM Meshing & Mesh Conversion 11 November 10, 2014 11:27
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
XYZ (ASCII format) data points into GAMBIT Neil FLUENT 1 August 7, 2007 09:24


All times are GMT -4. The time now is 12:53.