Face loop in a Parallel UDF
Hello Everybody, I need to mark every face (as a number) in a face loop to assign a function, but in a parallel computing the faces series is different... Do you have any suggest? Thank you very much
Dario |
Re: Face loop in a Parallel UDF
Hi Dario, I've had the same problem with vertex (node) loops. For vertices there's no way around the problem as far as I know, but for faces you should be able to allocate user-defined memory and put a unique number ID into memory for each face. Do this once, save the case file, and next time you read the case the ID should be saved. John
|
Re: Face loop in a Parallel UDF
Hello John, thank you for your answer, but when I use a parallel udf I can't identify the face position and so I could define an unique number ID for every face, but however I couldn't know the position... Alex
|
Re: Face loop in a Parallel UDF
How about if you open the case first in the serial solver, run through the face loop and save the face id to udm, save the case then open it up in the parallel solver, run through the face loop again and read the contents of the udm? I haven't tried it, but thought it might work. Cheers, John
|
Re: Face loop in a Parallel UDF
thank you again John, I agree with you about this possible solution, but unfortunately I can't open my case in the serial solver, because I need a very high quantity of memory... Alex
|
All times are GMT -4. The time now is 23:28. |