TAGGED: pitching, udf, unsteady-simulation
-
-
April 30, 2023 at 6:06 pm
qamar
SubscriberHi Everyone,
I have a 3D airfoil with symmetry on both sides. I am trying to use this UDF for pitching motion, but I don't see any pitching motion. I have used this UDF for 2D cases successfully. Can you please update what to add to this to use it for the 3D case?
Thank you.
include
#include
#include "udf.h"
#include "dynamesh_tools.h"
/******************************************************************/
/*User-defined function for dynamic mesh */
/*****************************************************************/
#define pi 3.1415926535897932384626433832795
#define ff 1.317803
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;
}Kindly update soon as it is needed for my urgent project. Thank you in advance.
-
May 1, 2023 at 6:44 pm
Federico Alzamora Previtali
SubscriberHello,
how are you assigning this motion in Fluent? Can you share a screenshot of the Dynamic Mesh zones settings?
-
May 2, 2023 at 9:31 pm
-
May 3, 2023 at 1:09 pm
Federico Alzamora Previtali
SubscriberCan you tell me what internalfluid and externalfluid zones are? Can you show a screenshot of the domain?
Also, what are the Motion Attributes for the airfoil?
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5162
-
3255
-
2443
-
1308
-
956
© 2023 Copyright ANSYS, Inc. All rights reserved.