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

Node 999999: Process 28016: Received signal SIGSEGV

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2022, 03:53
Default Node 999999: Process 28016: Received signal SIGSEGV
  #1
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Hi everyone,
I am simulating two phase flow, and I use UDF for boundary condition. The UDF contains "Define profile" and "Define execute at end" macros. There are two versions of Fluent on my computer, 19.2 and 2022, and their directory(installation drive) are the same. The UDF worked well for 19.2 version, but when I ran it on 2022 version, the following error occurred:


Node 999999: Process 28016: Received signal SIGSEGV.

================================================== ============================
The fl process could not be started.
----------------------------------------------------
In documentation is said if you don't delete previous version, the directory of src/udf would not create, which is the case for me. For newer version, the directory didn't create. Could be this the cause? If yes, Should I delete previous version, and then reinstall new one?
Also, I couldn't run the UDF in parallel in either version. I compiled it as interpreted.
What is the cause? How Can I solve it? If I use compiled option, could it be helpful?

Last edited by maba; August 28, 2022 at 15:01.
maba is offline   Reply With Quote

Old   August 28, 2022, 10:32
Default
  #2
New Member
 
Ying Feng
Join Date: May 2022
Location: China
Posts: 6
Rep Power: 3
Marmalade is on a distinguished road
Quote:
Originally Posted by maba View Post
Hi everyone,
I am simulating two phase flow, and I use UDF for boundary condition. The UDF contains "Define profile" and "Define execute at end" macros. There are two versions of Fluent on my computer, 19.2 and 2022, and their directory(installation drive) are the same. The UDF worked well for 19.2 version, but when I ran it on 2022 version, the following error occurred:


Node 999999: Process 28016: Received signal SIGSEGV.

================================================== ============================
The fl process could not be started.
----------------------------------------------------
Also, I couldn't run the UDF in parallel in either version.
What is the cause? How Can I solve it?
Hi, maba:
i had the problem when i began to learn UDF. The problem disappeared until i checked the UDF and modified something wrong. I suggest that you may check whether the UDF is right.
Marmalade is offline   Reply With Quote

Old   August 28, 2022, 14:59
Default
  #3
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Quote:
Originally Posted by Marmalade View Post
Hi, maba:
i had the problem when i began to learn UDF. The problem disappeared until i checked the UDF and modified something wrong. I suggest that you may check whether the UDF is right.
Did you have the same problem? I don't think the udf has a problem. Because it works well in old version.
maba is offline   Reply With Quote

Old   August 29, 2022, 03:53
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
compile udf, show log
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   September 1, 2022, 15:23
Default
  #5
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
compile udf, show log
There's no error, when I compile the udf. The error occurs, when I run the simulation.

What do you mean by log? you mean text in console tab in fluent? Or another file?

cpp -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/main" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/addon-wrapper" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/io" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/species" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/pbns" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/numerics" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/sphysics" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/storage" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/mphase" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/bc" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/models" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/material" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/amg" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/util" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/mesh" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/udf" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/ht" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/dx" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/turbulence" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/acoustics" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/parallel" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/etc" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/ue" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/dpm" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/src/dbns" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/tgrid/src" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/cortex/src" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/client/src" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/multiport/src" -I"D:\Program Files\ANSYS Inc\v221\fluent\fluent22.1.0/../include" -I. -DUDFCONFIG_H="<C:/Users/mab12/AppData/Local/Temp/udfconfig-5256-node0.h>" "C:/Users/mab12/AppData/Local/Temp/FlowrateAdjusttwo.c.5256.0.c"
maba is offline   Reply With Quote

Old   September 4, 2022, 05:36
Default
  #6
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
compile udf, show log
Do you mean this file?

Node 999999 Fatal signal raised sig = Segmentation fault
44648430 CX_Primitive_Error
fe350cc0 seh_filter_exe
446e8150 logical_right_shift
eb9bec30 _C_specific_handler
c92180 _chkstk
c41020 RtlRaiseException
c90da0 KiUserExceptionDispatcher
43b40130 init_cell_vector
446e8150 logical_right_shift
429aaa90 fluent_fprintf
446d3610 eval
446d3610 eval
446d3610 eval
446d3610 eval
446d4c70 set_cc
446d5420 eval_errprotect
446d3610 eval
446d3610 eval
446d3610 eval
446d3610 eval
446d4c70 set_cc
446d5420 eval_errprotect
44649390 CX_Interpret_String
42a20820 rpgetvar_errprotect
446e8150 logical_right_shift
ff2f7020 BaseThreadInitThunk
c42630 RtlUserThreadStart

Error [node 999999] [time 9/4/22 14:2:24] Abnormal Exit!
maba is offline   Reply With Quote

Old   September 6, 2022, 02:41
Default
  #7
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
once you click build in FLUENT GUI you have some text in console, I need that text.

information you've showewd is not full, doesn't show anything, actually

Quote:
I compiled it as interpreted.
compile it, not interpret

check if you allocated uaser define memomy locations.
next time show your code, to save time of people who a re trying to gess, whats wong with your case
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
fluent, two phase problem, udf


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
Using TUI to create velocity report definitions RobR_CFD FLUENT 18 August 12, 2022 19:19
Parallelization of a self-compiled boundary condition dalasrevo OpenFOAM Programming & Development 4 August 2, 2022 14:16
How do I change the serial udf to parallel? dhdh89 Fluent UDF and Scheme Programming 14 June 4, 2020 09:04
Process xxxx: received signal SIGSEGV; The fl process could not be started Someeee FLUENT 1 October 31, 2018 04:32
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 UDS_rambler FLUENT 2 November 22, 2011 09:46


All times are GMT -4. The time now is 17:59.