|
[Sponsors] |
June 10, 2024, 13:03 |
UDF for a enthalpy source term
|
#1 |
New Member
Girish
Join Date: Jun 2024
Posts: 2
Rep Power: 0 |
I am trying to add enthalpy source term to the Energy equation. I have discretized the term and tried to bring it in the form Sp*T+Sc.
The enthalpy term is -ρAL⋅(𝜕𝑇/𝜕t) where ρ = density and AL=constant and T = Temperature I have written the UDF ,it's getting compiled but not giving proper results. I am new to UDF . Can someone tell me whether it's correct or not. I have attached the file below. EnThalpy_Source.c |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |