|
[Sponsors] |
December 22, 2014, 10:18 |
Fatal Error signal in flapping wing analysis
|
#1 |
New Member
Gopala Krishnan
Join Date: Nov 2014
Posts: 3
Rep Power: 12 |
Hi everyone
I m trying to 3D flapping wing analysis in fluent. I am using the following UDF. I got segmentation fault while i preview mesh motion in dynamic mesh setting. My doubts are 1.What is boundary condition i have to give for wing wall. 2. what mesh zone settings? 3. what are dynamic mesh settings i have to assign? The following procedure i followed Read Mesh Define UDF Material and Boundary condition settings Dynamic mesh settings My UDF: #include "udf.h" #include "dynamesh_tools.h" #define degree 180 real w, pi, A_Flap, A_Feat,Phi, dPhi, Theta, dTheta, Psi, dPsi,force,T,Freq,deltat,a; real Amp,Feather; DEFINE_CG_MOTION(wing, dt, vel, omega, time, dtime) { Thread *t; face_t f; real NV_VEC (A); Freq=0.0; Freq=20; //dtime is the physical time step defined in the journal file. pi=3.141592654; /* define motion variable */ Amp= 50; //This amp variable will be defined in our journal file. Feather= 60; A_Flap = Amp*pi/180; A_Feat = Feather*pi/180; w=2*pi*Freq; //omega (radians) T=1.0/Freq; Phi = -A_Flap*sin(w*time); dPhi = -A_Flap*w*cos(w*time); dTheta = -A_Feat*w*sin(w*time)*exp(sin(2*w*time-pi/2)-1)/1.1963; omega[0] = dTheta*cos(Phi); omega[1] = dTheta*sin(Phi); omega[2] = dPhi; t = DT_THREAD ((Dynamic_Thread *)dt); force=0.0; begin_f_loop (f,t) { F_AREA (A, f, t); force += F_P (f, t) * A[1]; } end_f_loop(f, t) } My dynamic Mesh settings i attached here. I given the Time step size 0.001 and Number of Time step 500. Please people help me on this |
|
Tags |
dynamic meshing, fatalerror, flapping wing simulation, segmentation fault |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D Wing Analysis | Ed | FLUENT | 13 | July 26, 2014 06:12 |
flapping wing UDF code | yahya_azizi | Fluent UDF and Scheme Programming | 1 | July 24, 2012 07:24 |
Help on the flapping wing | Kearney | Main CFD Forum | 1 | May 28, 2003 10:50 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |
Ansys/Flotran 3D Wing Analysis | George | Main CFD Forum | 0 | January 29, 2002 10:44 |