Topics relate to Fluent, CFX, Turbogrid and more

How do we know if begin_f_loop works on all compute nodes

    • ch15d410

      How to make sure if the begin_f_loop computes on all compute nodes in parallel processing. 

      for instance, if i have 200 faces on a boundary and i want to write a UDF that loops over 200 faces, and if i give a temporary looping variable to count how many times the the loop is executed, I get 100 in parallel processing, but 200 in serial processing. I get 100 in parallel window in spite of beginning my code with # if !RP_HOST.

      In order to loop over all the faces in all compute nodes, what should be done?

      Please suggest few examples

Viewing 0 reply threads
  • You must be logged in to reply to this topic.