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

Wankel - Rotary Engine UDF Usage

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2015, 08:15
Default Wankel - Rotary Engine UDF Usage
  #1
New Member
 
Vermont
Join Date: Nov 2015
Posts: 2
Rep Power: 0
madboy19 is on a distinguished road
Hello . I am trying to apply this code to my project
Code:
#include "udf.h"
#define r -0.015 /*Eccentricity*/
#define k 57.2727 /*rad to degree*/
#define w 314.16 /*angular velocity in rad/sec*/

/* for grid motion */
DEFINE_CG_MOTION(rotor, dt, vel, omega,time, dtime)
{
real beta; 

NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);

omega[2] = 314.16; /*angular velocity in rad/sec*/
beta = 942.48; /*angular velocity of rotor in rad/sec*/

vel[0] = -beta*r*sin(beta*time);
vel[1] = beta*r*cos(beta*time);
vel[2]= 0;

}
But I think I am missing something am I need to configure in fluent for that because rotor is rotating so weird. After 1sec I cant even see rotor in my screen it goes somewhere else.
madboy19 is offline   Reply With Quote

Old   February 7, 2020, 08:41
Default
  #2
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
How did you go with this?

Possibly a bit cheeky but would you be able to share your workbench project?
Bdew8556 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
For Joe : CFD in a Wankel engine amcfd FLUENT 15 March 27, 2013 05:40
Need help to mesh Wankel engine Sam Main CFD Forum 3 October 4, 2007 21:33
rotary engine gaohongliang FLUENT 0 November 8, 2005 22:34
cfd analysis of flow in wankel engine raghuraman FLUENT 0 August 4, 2004 16:04
Couples usage in engine moving mesh Alfred Herman Siemens 0 May 15, 2003 05:12


All times are GMT -4. The time now is 19:32.