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

Face loop in a Parallel UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 8, 2007, 04: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, 06: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, 07: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, 08: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, 08: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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 18 April 22, 2015 08:43
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 12:19
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
UDF in parallel version. yobee FLUENT 0 August 17, 2004 04:12


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