CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Identifying cell in parallel UDF

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

LinkBack Thread Tools Display Modes
Old   July 24, 2013, 11:27
Default Identifying cell in parallel UDF
Join Date: Jul 2013
Posts: 74
Rep Power: 4
upeksa is on a distinguished road
I have an DEFINE_ON_DEMAND serial UDF which stores in a memory the cell index, like this:

if (/*certain condition*/)

The next step of my code is reopen the same case in PARALLEL Fluent and execute another UDF code which will store in another memory the pressure of the cell whose index has been previously stored, like the following:


The point is that my UDF works properly in serial process, but it doesn't work at all in parallel process.
In conclusion, I need to create an UDF which will be able to retrieve an index of some cell which had been previously stored in a memory and work IN PARALLEL as well.

Maybe I should do a loop of partitions, but I don't have actually any idea.

Could someone give me some advices or hints in order to parallelize UDFs?

Thanks in advance.

Best regards.
upeksa is offline   Reply With Quote


fluent, parallel, parallel processing, parallelize udf, udf

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
UDF Error with Parallel affter several step trantoan2008 Fluent UDF and Scheme Programming 0 January 7, 2013 08:33
UDF for linear temperature profile on horizontal parallel surfaces. Chirag2302 Fluent UDF and Scheme Programming 1 February 11, 2012 09:45
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 13:53
UDF in parallel version. yobee FLUENT 0 August 17, 2004 04:12
UDF in parallel version of fluent yobee FLUENT 2 August 5, 2004 00:36

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