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

Dynamic Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2007, 16: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, 17: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, 17: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, 21: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


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
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 08:27
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 2 May 7, 2020 10:42
Incylinder dynamic mesh with volumetric reaction mas FLUENT 4 May 3, 2012 10:22
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 01:25.