-
-
September 29, 2023 at 9:56 am
Thodorisdm
SubscriberDear,Â
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 pm
Rob
Forum ModeratorHave 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.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
-
1987
-
896
-
599
-
591
-
408
© 2025 Copyright ANSYS, Inc. All rights reserved.