CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Face loop in a Parallel UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2007, 05:09
Default Face loop in a Parallel UDF
  #1
Dario
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
  Reply With Quote

Old   May 8, 2007, 07:34
Default Re: Face loop in a Parallel UDF
  #2
John Young
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
  Reply With Quote

Old   May 10, 2007, 08:10
Default Re: Face loop in a Parallel UDF
  #3
Dario
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
  Reply With Quote

Old   May 10, 2007, 09:19
Default Re: Face loop in a Parallel UDF
  #4
John Young
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
  Reply With Quote

Old   May 10, 2007, 09:34
Default Re: Face loop in a Parallel UDF
  #5
dario
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:13.