TAGGED: #fluent-#ansys
-
-
March 17, 2024 at 9:54 pmnahian.masudSubscriber
Hi there,Â
I am using a ansys to simulate pitching NACA0012 airfoil. I made a rectangular background mesh as in figure 1. then made a O shape mesh to overset on the rectangular background mesh (fig 2). I defined all the cell zones and boundary conditions (velocity inlet and pressure outlet).
Then I created a compiled udf. given below,Â
#include "udf.h"#define AMPLITUDE 30.0  /* Amplitude of pitching motion in degrees */#define FREQUENCY 2.97 /* Frequency of pitching motion in Hz */#define PI 3.14159265359ÂDEFINE_CG_MOTION(pitching_airfoil, dt, vel, omega, time, dtime){  Thread *t;face_t f;  NV_S(vel, =, 0.0); /*No translational velocity */  NV_S(omega, =, 0.0);  /*Initially no rotational velocity */  vel[0] = 0.0; // X-direction  vel[1] = 0.0; // Y-direction  vel[2] = 0.0; // Z-direction  Â  omega[0] = 0.0; // Rotation about X-axis  omega[1] = 0.0; // Rotation about Y-axis  omega[2] = 0.0; // Rotation about Z-axis  /* Set the rotational velocity about the z-axis */  omega[2] = 0.2618 * 18.66 * cos(2.0 * 180 * 2.97 * time); Â}
now In the dynamic mesh section I did the following.
1. turned off smoothing, remeshing and layering
2. enabled six DOF and enabled motion history (Didnt turn on OneDOF)3. finally hooked UDF into the fluid-circle (passive enabled), hydrofoil(passive disabled).
then used time step of 10^-4. The problem is, the airfoil is not moving and showing same result as steady state case.Â
Can anyone please help me about this and thell me where I am making the problem? Is it about hooking the UDF or something else?
-
March 18, 2024 at 1:21 pmFedericoAnsys Employee
Hello,Â
Since you are using Overset, I believe you need to set the motion to the entire moving fluid cell zone. You can use Display Zone Motion in the Dynamic Mesh task page to check if the movement is set up correctly before running the case.
-
March 18, 2024 at 10:15 pmnahian.masudSubscriber
Hi,
Thanks for responding. I tried hooking the same sine function in a TRANSIENT_profile in the cell zone. If i do that, the airfoil moves as per my prediction. But the cl value is super high (40000 to -40000). I cannot figure out what is the problem. I am attaching that udf as well.Â
#include "udf.h"#define PI 3.14159ÂDEFINE_TRANSIENT_PROFILE(speed, time){real ampl = 0.2618;/*real freq = 2.*PI;*/real omega;Âomega = 0.2618 * 18.66 * cos(2.0 * 180 * 2.97 * time);Âreturn omega;Â}any idea on how to get rid of this?
thanks
-
March 19, 2024 at 7:05 pmFedericoAnsys Employee
Did you set the Reference values for Cl?
-
-
-
October 2, 2024 at 8:32 amnahian.masudSubscriber
hi, I tried using multiple things. Actuallly it is a hydrofoil and fluid is water. IÂ used transient profile fucntion as udf. for the moving fluid zone, I defined 1 udf for pitching and another udf for heaving. for the heaving udf, I used the lift.out file to get the lift force, which is used to get the transitional velocity.Â
The problem I am facing is that, the system is diverging even after IÂ start the simulation after the flow field is stabelized. The lift goes high positive and in the next timestep it goes very high negetive value. and keeps going on and it gives a divergence error.Â
I set the reference values for water and velocity inlet. Do you have any idea how I can fix this?
note that i did check the mesh and did all the modifications possible for the overset interface.
-
- The topic ‘Pitching airfoil using overset and dynamic mesh.’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Cyclone (Stairmand) simulation using RSM
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Fluent fails with Intel MPI protocol on 2 nodes
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script error Code: 800a000d
- Encountering Error in Heterogeneous Surface Reaction
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.