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

UDF Help Parallelize

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 29, 2008, 02:39
Default UDF Help Parallelize
  #1
Awais Jaffery
Guest
 
Posts: n/a
Hi all! I have a UDF that i need to prallelize to able to run an unsteady problem on a 4 workstation cluster. I shall be grateful if anyone can help me parallelize the UDF given below.

............................. #include "udf.h"

DEFINE_PROFILE(unsteady_Mach, thread, position) {

float t, Mach; face_t f;

t = RP_Get_Real("flow-time");

Mach = 0.024*t*t*t+0.24*t*t+0.92*t-0.041;

begin_f_loop(f, thread) {

F_PROFILE(f, thread, position) = Mach; } end_f_loop(f, thread)

}

Thanks in Advance.

Regards,

Awais Jaffery.
  Reply With Quote

Old   April 29, 2008, 06:31
Default Re: UDF Help Parallelize
  #2
Awais Jaffery
Guest
 
Posts: n/a
Seems like people here, know very less about UDFs. Everyone seems to be reluctant to answer UDF related posts. Iam still looking forward for help.

  Reply With Quote

Old   April 29, 2008, 09:30
Default Re: UDF Help Parallelize
  #3
Salman Jaffery
Guest
 
Posts: n/a
Can download UDF Manual form net. It contains lots of useful stuff on your problem.

I m working on a cylindrical case with silicon oil in it. Upper surface of Si Oil is a free surface that is deforming in the z-direction only. I have the governing equation of motion. Can u please help me, which DEFINE MACRO to be referred and main arguments to be used.

Regards.
  Reply With Quote

Old   April 30, 2008, 01:39
Default Re: UDF Help Parallelize
  #4
Awais Jaffery
Guest
 
Posts: n/a
Thanks for ur suggestions Salamn. I have tried to parallelize the UDF myself. But it give error mesages which i cant understand. Is there anyone who can help me parallelize the UDF
  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
How to parallelize this fortran code by openmp ronac Main CFD Forum 0 January 18, 2008 22:36
Is it worth to parallelize 2D code? zonexo Main CFD Forum 7 February 16, 2007 01:47


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