|
[Sponsors] |
June 27, 2012, 05:36 |
Dynamic mesh with DEFINE_CG_MOTION problem
|
#1 |
Member
|
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, 07:26 |
(Emergence) Dynamic mesh with DEFINE_CG_MOTION problem
|
#2 |
New Member
|
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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dynamic mesh for multi-region problem | alundilong | OpenFOAM Programming & Development | 6 | June 5, 2023 20: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 05:19 |