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

Dynamic Mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 12, 2007, 17:08
Default Dynamic Mesh
  #1
Mehdi
Guest
 
Posts: n/a
Hi Everyone. I am trying to model a cantilever beam which is fixed at one end and fluctuates at the other end. I want to write a UDF for the motion of the beam and also use dynamic mesh. Does anybody know how can I write the UDF? The beam does not deflect; just rigid body movement. I really appreciate if someone can help me.
  Reply With Quote

Old   November 12, 2007, 18:07
Default Re: Dynamic Mesh
  #2
Sham
Guest
 
Posts: n/a
What motion would you like? Is it just up and down oscillatory motion with constant amplitude and frequency?
  Reply With Quote

Old   November 12, 2007, 18:21
Default Re: Dynamic Mesh
  #3
Mehdi
Guest
 
Posts: n/a
thank you sham for quick reply. Yes, that is exactly what i need. One end of the beam is fixed and the other end just goes up and down with constant amplitude and frequency. Actually, I am beginner in writing UDF and don't know from where i should start writing UDF. thank you again.
  Reply With Quote

Old   November 12, 2007, 22:04
Default Re: Dynamic Mesh
  #4
Sham
Guest
 
Posts: n/a
Try to complie this.

#include "udf.h"

#define AA 1.0 //amplitude #define TT 2.0 //period #define OM (2.0*M_PI/TT) //angular frequency

DEFINE_CG_MOTION(updown,dt,vel,omega,time,dtime) {

vel[1] = AA*OM*cos(OM*time); // Y-velocity }

Hope it helps.

Sham.
  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
Incylinder dynamic mesh with volumetric reaction mas FLUENT 4 May 3, 2012 10:22
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 04:31
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 1 July 28, 2011 01:53
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 07:41
Dynamic mesh + grid adapt = Crash! (Files included BillH FLUENT 4 July 24, 2007 15:31


All times are GMT -4. The time now is 13:23.