# Dynamic mesh with DEFINE_CG_MOTION problem

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 27, 2012, 04:36 Dynamic mesh with DEFINE_CG_MOTION problem #1 Member   ThanhToan Join Date: Sep 2010 Posts: 47 Rep Power: 8 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; rad=pi/180.0; 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); }

 June 19, 2015, 06:26 (Emergence) Dynamic mesh with DEFINE_CG_MOTION problem #2 New Member   Mubashir Ali Join Date: Apr 2013 Location: India Posts: 10 Rep Power: 5 Hi, 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 ??

 Tags dynamic mesh, udf

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post alundilong OpenFOAM Programming & Development 4 October 22, 2015 19:43 gtg258f OpenFOAM Programming & Development 9 January 18, 2014 11:08 erkan FLUENT 2 January 8, 2009 17:01 Sar_mech FLUENT 1 November 27, 2008 22:17 Hila FLUENT 0 August 19, 2006 04:19

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

 Contact Us - CFD Online - Top