-
-
December 17, 2021 at 3:12 am
musaero19
SubscriberHello everyone,
I am studying an oscillating airfoil and I have started using a UDF;
#define pi 3.1415926535897932384626433832795
#define ff 0.87898
DEFINE_CG_MOTION(move_body, dt, vel,omega, time, dtime)
{Â
real alphabar,ome;
/* reset velocities */
NV_S(vel,=,0.0);
NV_S(omega,=,0.0);
/* motion */
    alphabar=20*pi/180; /* amplitude, pi/180 used for have rad instead of deg */
    ome=alphabar * ff*2*pi*cos(ff*2*pi*time);
 vel[0] = 0.0;
 vel[1] = 0.0;
 vel[2] = 0.0;
 omega[0] = 0.0;
 omega[1] = 0.0;
 omega[2] = ome;
}
I am using airfoil as a rigid body and FLUID as a rigid body. so the whole domain is rotating. Is this the correct approach, since there is no dynamic mesh motion?
Thank you.
December 17, 2021 at 2:38 pmRob
Forum ModeratorI'd probably use sliding mesh and recode the above to rotate the sliding zone surrounding the aerofoil. As to whether the model is correct, it's not wrong but I don't know if it's doing what you want it to as opposed to what you're telling it to do.
December 18, 2021 at 1:15 ammusaero19
SubscriberHi Rob, thank you for your answer. Yes, there are 3 different approaches as I read from the literature, moving whole domain, hybrid domain (inner and outer with interface), and dynamic mesh approach. I thought the first approach I am using might have some cons. I am studying the dynamic stall of airfoils at high RE. I am going for a hybrid approach now. Thank you.
December 18, 2021 at 6:41 pmRob
Forum ModeratorThat's how I'd do it. :)
December 18, 2021 at 6:50 pmmusaero19
SubscriberThank you Rob for your valuable insights.
One question, if I want to oscillate a 3D wing using the same hybrid domain, inside for 3d wing and outside domain..using the same UDF. Does it work for 3D geometry? Or do we have to go for a different approach?
Thank you in advance.
December 21, 2021 at 3:09 pmRob
Forum ModeratorThe UDF you gave is for 3d. C (C++ etc) define x=0, y=1 and z=2 for the coordinates: so vel[1] above is the y component.
Viewing 5 reply threads- The topic ‘Unsteady oscillating airfoil with whole domain motion’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3622
-
1303
-
1122
-
1068
-
1008
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.