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

Parallel UDF for six DOF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2013, 13:45
Default Parallel UDF for six DOF
  #1
New Member
 
prash
Join Date: Oct 2013
Posts: 4
Rep Power: 13
prash_iaf is on a distinguished road
Dear friends

Please help me to convert this serial UDF to paralllel UDF computing

#include "udf.h"

DEFINE_SDOF_PROPERTIES(delta_missile, prop, dt, time, dtime)
{
prop[SDOF_MASS] = 907.185;
prop[SDOF_IXX] = 27.116;
prop[SDOF_IYY] = 488.094;
prop[SDOF_IZZ] = 488.094;

/* add injector forces, moments */
{
register real dfront = fabs (DT_CG (dt)[2] -
(0.179832*DT_THETA (dt)[1]));
register real dback = fabs (DT_CG (dt)[2] +
(0.329184*DT_THETA (dt)[1]));

if (dfront <= 0.100584)
{
prop[SDOF_LOAD_F_Z] = 10676.0;
prop[SDOF_LOAD_M_Y] = -1920.0;
}

if (dback <= 0.100584)
{
prop[SDOF_LOAD_F_Z] += 42703.0;
prop[SDOF_LOAD_M_Y] += 14057.0;
}
}

printf ("\ndelta_missile: updated 6DOF properties");
}
__________________
SHARE YOUR KNOWLEDGE TO GAIN MORE
prash_iaf is offline   Reply With Quote

Reply

Tags
parallel fluent launch, six dof udf, 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
Problem in using UDF in parallel computing Yogini Fluent UDF and Scheme Programming 0 January 22, 2013 09:23
UDF Error with Parallel affter several step trantoan2008 Fluent UDF and Scheme Programming 0 January 7, 2013 08:33
Help: how to realize UDF on parallel cluster? Haoyin FLUENT 1 August 6, 2007 14:53
UDF in parallel version. yobee FLUENT 0 August 17, 2004 05:12
UDF in parallel version of fluent yobee FLUENT 2 August 5, 2004 01:36


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