CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Dynamic mesh with DEFINE_CG_MOTION problem

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

LinkBack Thread Tools Display Modes
Old   June 27, 2012, 04:36
Default Dynamic mesh with DEFINE_CG_MOTION problem
Join Date: Sep 2010
Posts: 47
Rep Power: 9
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Hi all user!

I trying to simulate pitching of airfoil using UDF code as below. While I running simulation, I tried to check pitching angle at every time step that can be written in Fluent window. Additional, I accessed pitching angle of airfoil by using GUI like:
Define---Dynamic Mesh-->Zones
In Dynamic mesh zones form, I checked Center of Gravitation Orientation, and I found that there are slightly different pitch angle between this value and output value in Fluent window.
Anybody have experience in this case, please tell me. Thanks in advanced

#include "udf.h"
#include "stdio.h"

float pitch_angle,pi,rad;

DEFINE_CG_MOTION(trans1, dt, vel, omega, time, dtime)
pi = 3.1415926536;
vel[0] = 0.0 ;
vel[1] = 0.0 ;
vel[2] = 0.0 ;

omega[0] = 0.0 ;
omega[1] = 0.0 ;
omega[2] = 0.34906585*(pi/2)*cos((pi/2)*time);
pitch_angle = 0.34906585*sin((pi/2)*time)*(1/rad);
Message0("\n Time = %g\n",time);
Message0("\n Omega = %g\n",omega[2]);
Message0("\n Pitch = %g\n",pitch_angle);
trantoan2008 is offline   Reply With Quote

Old   June 19, 2015, 06:26
Default (Emergence) Dynamic mesh with DEFINE_CG_MOTION problem
New Member
Mubashir Ali
Join Date: Apr 2013
Location: India
Posts: 10
Rep Power: 6
mooby is on a distinguished road
Send a message via Skype™ to mooby

I have exactly the same problem that calculated AOA does not correspond to orientation of angle in the simulation. how did you solve this problem ??
mooby is offline   Reply With Quote


dynamic mesh, udf

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
dynamic mesh for multi-region problem alundilong OpenFOAM Programming & Development 5 August 25, 2017 13:13
Update of the variables after dynamic mesh motion. gtg258f OpenFOAM Programming & Development 9 January 18, 2014 11:08
problem on dynamic mesh zone erkan FLUENT 2 January 8, 2009 17:01
CFD-3D flow problem using Dynamic mesh method. Sar_mech FLUENT 1 November 27, 2008 22:17
Dynamic Mesh Problem - please help! Hila FLUENT 0 August 19, 2006 04:19

All times are GMT -4. The time now is 14:28.