-
-
August 5, 2025 at 9:39 am
Luis.Otavio.Cortes.Magalhaes
SubscriberHi everyone!
Â
I have set up an UDF for a transient simulation with a time dependant particle mass flow rate (PP_FLOW_RATE(p)) and temperature (PP_T(p)). But the ammount of parcels being injected into my simulation remains contant throughout the whole simulation and the function PP_N(p) has no effect whatsoever. i am only using the DEFINE_DPM_INJECTION_INIT macro so far.
Can anyone help me?
Â
-
August 5, 2025 at 10:07 am
Rob
Forum ModeratorWhy do you need to control the number of parcels?Â
-
August 5, 2025 at 10:46 am
Luis.Otavio.Cortes.Magalhaes
SubscriberBecause im running into divergence issues (that only happen with the dpm model turned on) and i think one of the reasons could be the excessive number of parcels in the simulation domain (around 50k parcels in a 200k element mesh)
-
August 5, 2025 at 10:48 am
Rob
Forum ModeratorIt's rare for too many parcels to cause a problem as the more parcels the more dispersed the source terms. However, have you looked at where the DPM mass is? That may be more helpful. Pictures will help too.Â
-
August 5, 2025 at 11:06 am
Luis.Otavio.Cortes.Magalhaes
SubscriberUsually the region with unphysical values of temperature and high values of particle accumulation is the bottom of the wall in the middle of the domain and sometimes the corners of the domain. (the particles are injected in the inlet surface)
Pictures below are the simulation domain, the dpm concentration shortly before the solution diverges and the massflow function for the particles respectively:
-
August 5, 2025 at 12:46 pm
Rob
Forum ModeratorYes, you'll have particle mass accumulating in regions and the DPM source terms may then cause you some problems. It's mass not parcel count related.Â
-
- You must be logged in to reply to this topic.
-
3597
-
1273
-
1107
-
1068
-
953
© 2025 Copyright ANSYS, Inc. All rights reserved.