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

angular motion udf request

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 21, 2007, 14:23
Default angular motion udf request
  #1
sonia
Guest
 
Posts: n/a
i'm having a rotating cylinder problem which is rotating along x -direction, which is dynamic mesh.i'm getting an error with CG motion,the error is"incorrect cg motion udf unsteady velocity. i'm attaching the program plz tell the necessaryu modifications in it. pls help me.... #include "udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) {

face_t f;

real t = CURRENT_TIME;

real w;

if (t<=0.1)

{

w = 52.3 * t;

begin_f_loop(f, thread)

{

F_PROFILE(f, thread, position) = w * t;

}

end_f_loop(f, thread)

}

else

{

w = 5.23;

begin_f_loop(f, thread)

{

F_PROFILE(f, thread, position)= w* t;

}

end_f_loop(f, thread)

} }

  Reply With Quote

Old   December 21, 2007, 14:24
Default Re: angular motion udf request *NM*
  #2
sonia
Guest
 
Posts: n/a
  Reply With Quote

Old   December 21, 2007, 23:55
Default Re: angular motion udf request
  #3
Ramesh. K
Guest
 
Posts: n/a
Hi, Can u please explain clearly a) the purpose of ur udf b) what ur are expecting from ur udf c) what is the logic behind this current udf

i did not understand the 52.3 value in ur udf this may help me in looking up through ur code.

can u please explain what exactly u what to do in ur problem

regards
  Reply With Quote

Old   December 22, 2007, 00:16
Default Re: angular motion udf request
  #4
Ramesh. K
Guest
 
Posts: n/a
Hi, or even u can look at this udf DEFINE_CG_MOTION this seems to be appropriate udf for ur problem.

This is what I understood from ur request. May this help u.

Regards
  Reply With Quote

Old   December 22, 2007, 10:04
Default Re: angular motion udf request
  #5
sonia
Guest
 
Posts: n/a
a cylinder is rotating in a rectagular tunnel with an angular velocity of 5 rad/sec (in steady case). In Unsteady case consider rotation of the cylinder for time =0.1 sec, theta=30 degees with linear profile.

  Reply With Quote

Old   December 22, 2007, 12:18
Default Re: angular motion udf request
  #6
rajesh
Guest
 
Posts: n/a
hi, i have a problem.. on a plate...

plate will be in the tunnel.. at 15 degrees to x axis.

i need the UDF for steady state and also for un steady state where the plate moves for every 5 degrees ..

can i get the UDF program for steady and unsteady state.. please.. can anybody help me out...
  Reply With Quote

Old   December 24, 2007, 00:43
Default Re: angular motion udf request
  #7
Ramesh. K
Guest
 
Posts: n/a
Hi, Do you think that the plate is going to move by 5 degrees for every time step or each 5 degree is a saperate case

bye Ramesh
  Reply With Quote

Old   December 24, 2007, 00:52
Default Re: angular motion udf request
  #8
Ramesh. K
Guest
 
Posts: n/a
or u can also use outflow boundary conditions # Pressure far-field boundary conditions are used to model a free-stream compressible flow at infinity, with free-stream Mach number and static conditions specified. This boundary type is available only for compressible flows.

# Outflow boundary conditions are used to model flow exits where the details of the flow velocity and pressure are not known prior to solution of the flow problem. They are appropriate where the exit flow is close to a fully developed condition, as the outflow boundary condition assumes a zero normal gradient for all flow variables except pressure. They are not appropriate for compressible flow calculations.
  Reply With Quote

Old   December 24, 2007, 00:54
Default Re: angular motion udf request
  #9
Ramesh. K
Guest
 
Posts: n/a
sorry this is not for u i wrote in a wrong place
  Reply With Quote

Old   December 24, 2007, 08:45
Default Re: angular motion udf request
  #10
rajesh
Guest
 
Posts: n/a
5 degrees for every time step....
  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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Fluent UDF Discontinuous Motion lequi7 Fluent UDF and Scheme Programming 2 November 4, 2011 00:18
Grid motion with UDF fivos Fluent UDF and Scheme Programming 2 February 27, 2011 04:51
UDF problem: incorrect grid motion Fil FLUENT 3 January 7, 2011 17:30
UDF error CG Motion Alex FLUENT 0 March 22, 2006 17:40


All times are GMT -4. The time now is 00:27.