|July 24, 2013, 11:27||
Identifying cell in parallel UDF
Join Date: Jul 2013
Posts: 74Rep Power: 5
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.
|fluent, parallel, parallel processing, parallelize udf, udf|
|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|