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

Fluent Error: fatal signal received (Segmentation fault)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2014, 01:37
Smile Fluent Error: fatal signal received (Segmentation fault)
  #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
Attached Images
File Type: png 1.PNG (13.4 KB, 9 views)
File Type: png 2.PNG (25.2 KB, 9 views)
File Type: png 3.PNG (20.2 KB, 6 views)
File Type: png 4.PNG (15.9 KB, 6 views)
File Type: png 5.PNG (23.2 KB, 8 views)
gopalkrishnan is offline   Reply With Quote

Reply

Tags
dynamic mesh zones, fluent, segmentation fault

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
FLUENT received fatal signal (ACCESS_VIOLATION) sirpolar Fluent UDF and Scheme Programming 2 December 23, 2014 07:24
Parallel FLUENT received fatal signal ramrocket FLUENT 3 April 30, 2012 03:19
FLUENT received fatal signal (ACCESS_VIOLATION) vaibhavraikhare FLUENT 0 August 4, 2011 01:51
FLUENT received fatal signal (ACCESS_VIOLATION) jwt FLUENT 2 July 1, 2010 08:35
Fluent parallel: segmentation fault? hp FLUENT 2 September 6, 2001 14:18


All times are GMT -4. The time now is 02:01.