|
[Sponsors] |
May 8, 2007, 05:09 |
Face loop in a Parallel UDF
|
#1 |
Guest
Posts: n/a
|
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 |
|
May 8, 2007, 07:34 |
Re: Face loop in a Parallel UDF
|
#2 |
Guest
Posts: n/a
|
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
|
|
May 10, 2007, 08:10 |
Re: Face loop in a Parallel UDF
|
#3 |
Guest
Posts: n/a
|
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
|
|
May 10, 2007, 09:19 |
Re: Face loop in a Parallel UDF
|
#4 |
Guest
Posts: n/a
|
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
|
|
May 10, 2007, 09:34 |
Re: Face loop in a Parallel UDF
|
#5 |
Guest
Posts: n/a
|
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
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
Problem in Parallel UDF | Giacomo de Renzi | FLUENT | 12 | June 18, 2008 13:19 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
UDF in parallel version. | yobee | FLUENT | 0 | August 17, 2004 05:12 |