TAGGED: fluent, hypersonic, piece-wise-polynomials, udf-specificheat
-
-
August 19, 2020 at 7:10 am
CFDGer
SubscriberHello,I have trouble finding a solution to implement the NASA 9 coeffcient polynom which is applicable for temperature ranges of 200K-20000K. This polynom has the form:n cp/R = a1/T^2+a2/T+a3+a4*T+a5*T^2+a6*T^3+a7*T^4nnThe 7 coefficient polynom is of course easy to implement but it is only valid up to 6000K which is not n Do you have to write an UDF to be able to implement this kind of polynom or is there a different way in ANSYS FLUENT?.n Thanksn -
August 19, 2020 at 8:54 am
Rob
Forum ModeratorWhat are you modelling to need to go up to 20,000 K ? You can have several bands of polynomials which may be more accurate: very high order polynomials tend to have silly coefficients which rarely follow the real data curve when plotted as nothing can hold enough significant figures. n -
August 19, 2020 at 11:11 am
CFDGer
SubscriberThanks for your reply Rob.nI am modeling a flow at Ma=7.9 and an ambient temperature of 1113K. With the calorically perfect gas I should get values of ~15000K. With consideration of high temperature effects and chemical reactions I assume to get around 7000K-8000K. So I assume the cp(T) which is fitted for up to 20000K suits this case better. Further I would like to implement it for the academic standard. nThe coefficients I use are from the NASA 9 coefficient polynomials tables. I already plotted them with matlab and they seem to be valid (they calculate the same values in the range of 200K-6000K as the 7 coefficient polynomials).n -
August 19, 2020 at 3:46 pm
Rob
Forum ModeratorOK, as a process engineer anything over about 25m/s tends to have gone a bit wrong, over Mach 1 and it's gone badly wrong! Remember to check the limits in the solver, default is 5000K maximum.nMax for a polynomial looks to be 8 coefficients (so x^7) so you'll need a UDF. Have a look at DEFINE_PROPERTY in the UDF manual. n -
August 20, 2020 at 6:44 am
CFDGer
SubscriberYes I have already run plenty of simulations with this real gas setting with chemical reactions and without (so only species transport) and therefore I already adjusted the limiters and for example the positivity rate as it is recommended by Ansys User Guide for high speed flow.nThe species transport simulations converges very nice and the results are reasonable. As soon as I turn on the volumetric reactions, the solution diverges after a few hundred-thousand iterations. To be more precise: I set the temperature limit to 25000K to give the solver a little room to converge. But as I said after a few hundred iterations the Ma- number increases in a few cells to Ma=230 or even more unrealistic values (often directly upstream of the shock wave) and the temperature then decreases in these cells to 1K (limited) and in others to the max limited value. In these simulations I used the 7 coeff. cp(T) polynomials and I thought maybe that could be the reason for the divergence.nIs there any information I could forward you that would maybe give you a hint on why chemical reactions pose such a problem for my case?. -
August 20, 2020 at 8:45 am
Amine Ben Hadj Ali
Ansys EmployeeI recommend using Real Gas Property Table here ( if you have version 20R2) or sticking to Real CUEOS. For the latter you need to define your heat capacity via UDF DEFINE_SPECIFIC_HEAT. Another approach is to UDRGM Real Gas which is more general.nRegarding reactions you probably need to account for stiff chemistry solver and rely on well calibrated reaction mechanism.n
-
Viewing 5 reply threads
- The topic ‘How to implement a 9 coefficient cp(T) polynom in ANSYS FLUENT’ 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
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- 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
-
3862
-
1414
-
1220
-
1118
-
1015
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.