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

Defining deformable mesh UDF to set omega

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2006, 16:01
Default Defining deformable mesh UDF to set omega
  #1
Chris
Guest
 
Posts: n/a
I'm trying to do an analysis on a spur gear oil pump. I want to define a constant omega value for the gears about an axis, the UDF I tried to use is:

#include "udf.h"

DEFINE_CG_MOTION(speed, dt, vel, omega, time, dtime) { omega[0]=25; }

I can load the UDF but it will not induce rotation.

Am I right that the [0] defines the axis of rotation?, can anyone explain what I have done wrong?,

Any help would be much appreciated.

Chris

  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
UDF CG_MOTION rotation dynamic mesh Mads FLUENT 2 April 15, 2014 03:30
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Set a set of circular initial conditions on a mesh jinwon park Main CFD Forum 0 January 26, 2008 12:10
a problem about DEFINE_GEOM in dynamic mesh UDF speedcat FLUENT 1 May 16, 2005 03:09
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 09:38


All times are GMT -4. The time now is 21:58.