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

writing a dynamic mesh udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2005, 09:36
Default writing a dynamic mesh udf
  #1
ALPER ALBAYRAQ
Guest
 
Posts: n/a
Hi I want to research the particular motion of a solid body in a moving fluid using Fluent dynamic mesh capability. At first i want to give a solid square a constant velocity in (minus x) direction (counterwise of fluid velocity) in a duct (2d) and solve the flow field .I think that i must right a udf to define the constant velocity of square.it is worthful to remember that the case is unsteady. How can i write it and do you have any other suggestion? . I would appreciate any help.

Regards, Alper

  Reply With Quote

Old   October 24, 2005, 09:43
Default excuse me
  #2
ALPER ALBAYRAQ
Guest
 
Posts: n/a
excuse me for sending this message twice.

regards,Alper
  Reply With Quote

Old   October 27, 2005, 15:18
Default Re: excuse me
  #3
shiva
Guest
 
Posts: n/a
hi,

hope this helps. this is a sample udf which might help u in giving a constant velocity in the x-direction.

/*UDF starts*/

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

DEFINE_CG_MOTION(test_motion, dt, vel, omega, time, dtime) { /* This will reset the velocity */ NV_S (vel, =, 0.0);

/* Translation along x */

vel[0] = 0.5;

}

/* UDF ends*/

  Reply With Quote

Old   October 29, 2005, 10:34
Default Re: thank you shiva
  #4
ALPER ALBAYRAQ
Guest
 
Posts: n/a
hi

Thank you for your help. I will meet you in other question

regards.
  Reply With Quote

Reply


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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Dynamic Mesh UDF Parallelization sy_aloy FLUENT 0 February 13, 2006 12:14
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 09:29
UDF problem for dynamic mesh??? lyf FLUENT 1 April 19, 2004 06:43
UDF & Dynamic Mesh Tutorail Problem Qureshi FLUENT 6 February 6, 2004 03:52


All times are GMT -4. The time now is 03:34.