-
-
April 11, 2019 at 8:16 am
Max4
SubscriberHello,
I have a question about the UDF for the specific heat in FLUENT.
The unit of the Temperature is Kelvin?
Moreover the value of Tref should be set in the Materials Panel?
I wrote this UDF for calculating the specific heat ( in J/kg.K):
#include "udf.h"
DEFINE_SPECIFIC_HEAT(my_user_cp, T, Tref, h, yi)
{
   real cp;
   cp = 5.661*T + 551,21;
   *h = cp*(T-Tref);
   return cp;
}
Â
Regards,
Maxime
-
April 11, 2019 at 8:51 am
Amine Ben Hadj Ali
Ansys EmployeeYes it is in Kelvin. Yes Tref is set in the material panel.
For a simple formulation that you have it is enough to use polynomial function.
-
April 11, 2019 at 9:00 am
Max4
SubscriberThank you for your answer.
Maxime
-
Viewing 2 reply threads
- The topic ‘Specific Heat Capacity – UDF’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors
-
3977
-
1461
-
1272
-
1124
-
1021
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.