CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Fatal Error signal in flapping wing analysis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2014, 09:18
Default Fatal Error signal in flapping wing analysis
  #1
New Member
 
Gopala Krishnan
Join Date: Nov 2014
Posts: 3
Rep Power: 11
gopalkrishnan is on a distinguished road
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
gopalkrishnan is offline   Reply With Quote

Reply

Tags
dynamic meshing, fatalerror, flapping wing simulation, segmentation fault


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D Wing Analysis Ed FLUENT 13 July 26, 2014 05:12
flapping wing UDF code yahya_azizi Fluent UDF and Scheme Programming 1 July 24, 2012 06:24
Help on the flapping wing Kearney Main CFD Forum 1 May 28, 2003 09:50
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16
Ansys/Flotran 3D Wing Analysis George Main CFD Forum 0 January 29, 2002 09:44


All times are GMT -4. The time now is 23:33.