-
-
September 20, 2024 at 2:29 amz5489721Subscriber
I am calculating the particle reaction rate and using C_UDMI to get a contour plot of it. but I am just making C_UDMI equal to reaction rate *rr. Is it correct? or do I need to loop like this: if yes, which define macro do I need to use, or can I loop it inside DEFINE_PR_RATE? why am I using um? because in udf I am calculating *rr in kg/s, but in contour plot unit is different kmol/m3 s
thread_loop_c (t,domain)
{
begin_c_loop (c,t)
{
C_UDMI(c,t,0) = *rr;
}
end_c_loop (c,t)
} -
September 20, 2024 at 10:14 amRobForum Moderator
You also need to be careful as you need to account for multiple parcels in a cell.Â
-
September 23, 2024 at 1:51 amz5489721Subscriber
Can you explain more? I didn't get it. Do I need to use a loop and inside loop I need to consider the following C_UDMI(c, t, 0) += *rr?
-
September 23, 2024 at 10:13 amRobForum Moderator
You may have many particles in a cell. Do you want the sum of all reaction rates, the average or something else? As the particle reaction rate is tracked on the particles which then interact with the cells, what does the UDM do?Â
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Fluent fails with Intel MPI protocol on 2 nodes
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
-
1602
-
602
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.