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

Simple Serial to Parallel UDF conversion Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2015, 21:14
Default Simple Serial to Parallel UDF conversion Fluent
  #1
New Member
 
Amir
Join Date: Sep 2011
Posts: 10
Rep Power: 15
amir00251 is on a distinguished road
Hi everyone,

I am new to UDF and I need help on converting below simple UDF to parallel processing compatible.

#include "udf.h"

DEFINE_SDOF_PROPERTIES(box, prop, dt, time, dtime)
{
prop[SDOF_MASS] =20;
prop[SDOF_IXX] =200;
prop[SDOF_IYY] =300;
prop[SDOF_IZZ] =300;

}

thank you.
amir00251 is offline   Reply With Quote

Old   August 30, 2015, 07:48
Default
  #2
New Member
 
Engr. Shah Jahan
Join Date: Aug 2015
Posts: 11
Rep Power: 11
shahjehan13 is on a distinguished road
This code should also work in parallel. just ensure you are compiling ur udf.

For parallel case, care is taken while summing or global reduction operations.

Good luck.
shahjehan13 is offline   Reply With Quote

Old   September 1, 2015, 05:32
Default
  #3
New Member
 
Amir
Join Date: Sep 2011
Posts: 10
Rep Power: 15
amir00251 is on a distinguished road
Hi, thank you very much, as you said problem was about settings of UDF compilation not with parallel processing.
amir00251 is offline   Reply With Quote

Reply

Tags
fluent, udf


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
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 23:56
PROBLEM in UDF on parallel fluent mode rakadit Fluent UDF and Scheme Programming 0 July 13, 2012 07:51
Transient pressure UDF for parallel fluent droberts Fluent UDF and Scheme Programming 5 October 11, 2010 05:13
parallelization of serial Fluent UDF for surface reaction sri31049 FLUENT 0 September 8, 2010 15:15
Help for Fluent udf on parallel computing KAILI FLUENT 0 September 18, 2008 01:52


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