Tagged: #fluent-#cfd-#ansys
-
-
August 30, 2022 at 11:51 am
mardott
SubscriberHello 🙂
I want to assign a temperature dependent heat capacity to my DPM particles.
I've therefore been trying with the following UDF:
DEFINE_DPM_PROPERTY(DPMaterial_Cp, c, t, tp, T)
{
#if !RP_HOST
real Cp; /* Heat Capacity - Cp J/(kgK) */
if (NULLP(tp->pp) || NULLP(TP_CELL_THREAD(tp)))
Cp = 320; /* J/(kgK) initial value for T = 1100 */
else
Cp = 450.60 - 116.10*pow(10.,-3.)*T - 166.79*pow(10.,5.)*pow(T,-2.);
tp->enthalpy = Cp * (T - T_REF);
return Cp;
#endif
}
THe UDF compiles, and the DPM iterates for a few times, but then the simulation crashes (only when this UDF is implemented).
What am I doing wrong? -
August 30, 2022 at 3:55 pm
Rob
Ansys EmployeeCheck the value of cp that's being returned for the temperature range in your model. Plot cp with T using the above relationship, how does it look?
-
August 30, 2022 at 4:15 pm
mardott
SubscriberSo, what I've noticed is that, for some reason, my DPM temperature becomes unphysically low in few points:
This happens even if the flow temperature makes sense
Leading to what it probably is the cause of the crash: a negative Cp (but for the range of T that I should have it would surely be positve)
The question now is: how is it possible that my particles get such a low temperature in some sparse points?
-
August 31, 2022 at 2:34 pm
Rob
Ansys EmployeeDepending on the mass of the parcel and cell size if you evaporate quickly the DPM source terms can become high, and that can cause problems with the flow (cell) values. How many parcels are you releasing, and how does the mass (and volume) fraction look?
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2630
-
2104
-
1327
-
1110
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.