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

Segmentation Violation

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 20, 2012, 11:56
Thumbs down Segmentation Violation
  #1
New Member
 
Peter
Join Date: Jan 2012
Posts: 29
Rep Power: 14
peatmac is on a distinguished road
Hello all,

I am currently trying to run a simple simulation on Fluent - a cylinder oscillating in constant velocity field. The udf I am using is -

#include"udf.h"
/* this function defines velocity of center of gravity for pure plunging motion*/
/* Plunging motion equation is z(t)=h*sin(2*pi*f*t) */
DEFINE_CG_MOTION(plung,dt,vel,omega,time,dtime)
{
Thread*t;
face_t*f;
/*reset velocities */
NV_S(vel,=,0.0);
NV_S(omega,=,0.0);
if(!Data_Valid_P())
return;
/* Get the thread pointer for which this motion is defined */
t=DT_THREAD(dt);
/* vel[1] is the vertical plunging velocity */
vel[1] = 0.5*sin(time);
}

The cylinder is of frontal area 1m.
The fluid medium is of density 150kg/m3
Viscosity 1kg/m-s

I have checked mesh, it runs with the cylinder oscillating and produces no errors.

When I run the code, with the cylinder in constant velocity I get the following error -

Updating solution at time level N... done.

Updating mesh at time level N... done.
iter continuity x-velocity y-velocity time/iter

No error handler available

Error: FLUENT received a fatal signal (SEGMENTATION VIOLATION).
Error Object: ()


If anyone can advise of a solution or something for me to try I would be extremely grateful.

Regards,

Peter
peatmac is offline   Reply With Quote

 


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
Segmentation violation louiza FLUENT 16 June 27, 2017 15:41
Segmentation Violation Corentin FLUENT 1 February 13, 2011 01:07
Defining Multiphase by text and by gui = different result and Segmentation Violation RPJones FLUENT 0 June 9, 2009 16:24
segmentation violation wasan FLUENT 0 December 23, 2008 11:37
C_UDMI - SEGMENTATION VIOLATION CC FLUENT 4 July 2, 2005 04:16


All times are GMT -4. The time now is 10:39.