Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Macro for Random Walk Model

    • sreekesh
      Subscriber

      Hello, I'm trying to write a UDF for a modified Random Walk Model for particle tracking, which I plan to compare to the standard Random Walk model available in FLUENT. Could you please tell me which macro files I need to use to change the Random Walk model? Thank you in advance.

    • Rob
      Forum Moderator
      At a guess you'd turn the stochastic tries off and need to code up a DPM_SOURCE UDF to mimic the effect. Just remember to release a lot more parcels to replicate the effect of the tries.
    • sreekesh
      Subscriber
      Thank you Rob. Let me check DPM_SOURCE. The particle number flow rate is passing as an argument. I am looking, is there any separate macro for calculating the stochastic tracking variables
    • Rob
      Forum Moderator
      Pass, the header files might have something, but as you're writing your own you may need to refer to the turbulence values.
Viewing 3 reply threads
  • The topic ‘Macro for Random Walk Model’ is closed to new replies.
[bingo_chatbox]