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

Error: received a fatal signal (Segmentation fault).

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By MayTheFlowBeWithYou

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 13, 2017, 05:43
Unhappy Error: received a fatal signal (Segmentation fault).
  #1
Member
 
MayTheFlowBeWithYou's Avatar
 
I have to remain anonymous, I'm sorry.
Join Date: Jun 2017
Location: The Netherlands, Delft University of Technology
Posts: 48
Rep Power: 8
MayTheFlowBeWithYou is on a distinguished road
Dear CFD Online people,

In trying to run a simulation for a membrane (in 2D) I run into a problem when I try to use UDF's. Through commenting stuff out I have boiled the problem down to the following script (I have left everything else out for simplicity). The problem arises in the "Get_Domain" part:


#include "udf.h"

DEFINE_ON_DEMAND(get_coords)
{
Domain *domain;
domain = Get_Domain(1);
}


Interpreting this works perfectly, however, when I run it I get the following:

"Error: received a fatal signal (Segmentation fault).
Error Object: #f"

I can't figure out why and how to fix this, the rest of the simulation as of now consists of two laminar flow going in counter-current through a 2D "tube", separated by a wall along the length of the "tube".

I think it could be the domain ID being incorrect somehow, but I have no idea why it would be wrong.

I use Fluent R17.1

Thank you very much for helping me.
MayTheFlowBeWithYou 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
fluentError: received a fatal signal (Segmentation fault). thomaszhangjing Fluent UDF and Scheme Programming 11 January 13, 2021 09:37
Fluent udf Error: received a fatal signal (Segmentation fault) Error Object: #f dikmeha Fluent UDF and Scheme Programming 20 April 13, 2018 04:06
a fatal signal (segmentation fault) Turbo_hrf Fluent UDF and Scheme Programming 4 September 14, 2017 09:35
Received a fatal signal (Segmentation fault) with UDF lisa_china Fluent UDF and Scheme Programming 2 June 30, 2017 03:07
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 06:41.