|
[Sponsors] |
Using UDF to read a table and change heat souce value at every time step. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 12, 2024, 12:22 |
Using UDF to read a table and change heat souce value at every time step.
|
#1 |
New Member
Duccio
Join Date: May 2023
Posts: 1
Rep Power: 0 |
Hi all,
I'm trying to simulate a battery charging cycle, and I want the battery internal volume to be a heat source with the value of qvol changing at every time step, according to the surface temperature. I have a table with 5 columns: time temperature = 20°C qvol@20°C temperature = 25°C qvol@25°C I can import the table into fluent correctly. I want to write an UDF that reads the surface temperature of the cell (and takes the average of the whole surface), then approximates it with 20 or 25 and reads the corresponding qvol value and uses it as the qvol of the source term for the next time step. Is it possible to do so? |
|
Tags |
heat source, table data, transient, udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conjugate Heat Transfer: Solid Time Step in Transient Simulation, DO Model | Dingens | FLUENT | 0 | July 9, 2021 07:19 |
Effect of heat loss ratio dimension on FGM table | twb2k8 | Main CFD Forum | 0 | May 15, 2020 14:14 |
interFoam VOF is loosing fluid | wersoe | OpenFOAM Running, Solving & CFD | 12 | June 26, 2013 09:13 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 04:32 |