Fluids

Fluids

how to loop over wall boundary

    • Achini
      Subscriber
      Hello!nnI want my udf to loop over the wall boundary and calculate particle ( particles will be introduced via dpm injections) to wall distance at each iteration.nHow can I do that?begin_f_loop(f, tf)n{tf = Lookup_Thread(d, zone_id); /*create a thread pointing to the wall*/nif Thread_ID(t)=3;n/*rest of the commands*/nnWill I be able to use the above code with an if condition to identify select the wall boundary via boundary zone ID.nPlease help!nThank you!nn
    • Rob
      Ansys Employee
      You can loop over the wall, but what use is it if the wall knows how close a particle is? n
    • DrAmine
      Ansys Employee
      Purpose? What do you want to do?n
Viewing 2 reply threads
  • You must be logged in to reply to this topic.