December 20, 2022 at 10:31 pmPedro AlvesSubscriber
I'm using the DPM model and want my particles to reflect one radius away from the wall of the domain. To achieve this an udf is called to calculate the particle velocity after collision (following the example in the UDF manual). The issue is that the particle tracking will proceed to the next iteration and override the velocity value calculated in the udf. Is it possible to hold the particle velocity constant for the next timestep and make the particle tracking only update the particle position?
Thaks in advance
December 21, 2022 at 7:40 amDrAmineAnsys Employee
You might try setting the particle velocity whatever velocity you calculate in DEFINE_DPM_SCALAR_UPDATE.
December 21, 2022 at 2:18 pmPedro AlvesSubscriber
Thanks for the reply, DrAmine!
I use DEFINE_DPM_SCALAR_UPDATE to set the particle velocity that i calculate, but then the particle tracking "solver" will override that, i.e., the velocity value that I calculated is not used to update the particle position, instead, a new velocity is calculated by the particle tracking and used to update the position. So I was wondering if there's a way to make the particle tracking only update the particle position but not its velocity.
- 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.
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
© 2023 Copyright ANSYS, Inc. All rights reserved.