-
-
September 29, 2023 at 9:56 amThodorisdmSubscriber
Dear,Â
I have a question regarding the data structure of TP_VEL0, which in the UDF manual is defined as the location where the particles data is saved at the beginning of the timestep or at the entrance of the cell.Â
Moreover, in the UDF example of a particle reflection at a boundary which uses the DEFINE_DPM_BC macro, after calculating the normal velocity of the particle and assigning it to the current particle velocity TP_VEL it also assigns it in TP_VEL0. My questions is why is the last assignment taking place?Â
I think this is because you need the TP_VEL and TP_VEL0 at every timestep to calculate particle's acceleration. Thus, it assigns the reflected velocity of the particle to TP_VEL0 as well because this value is going to be used as the initial velocity at the next flow timestep. Is it correct?
Last but no least, the particle time TP_TIME(tp) is the particle residence time?
Kind regards,Â
Thodoris
-
September 29, 2023 at 12:50 pmRobForum Moderator
Have a look in https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_udf/flu_udf_DPMDEFINE.html   DEFINE_DPM_BC Example 1. Â
https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_udf/flu_udf_DataAccessMacros.html%23flu_udf_ApplicationMacros
Â
-
- The topic ‘Further clarification on TP_VEL0 data structure’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- 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
- UDF, Fluent: Access count of iterations for “Steady Statistics”
- RIBBON WINDOW DISAPPEARED
-
1421
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.