TAGGED: fluent, sigsegv-error
-
-
November 12, 2021 at 2:32 am
FaizanYounas
SubscriberHello there,
I'm running a case of condensation. For this case, I have run the simulations without any UDF (default lee model), it works fine. Secondly, I run the simulation with UDF containing DEFINE_MASS_TRANSFER and DEFINE_SOURCE macros. The fluent successfully compile the UDF. There is 1 warning though but the simulations run perfectly fine with the expected results. The warning was"
"
C:PROGRA~1ANSYSI~1v211fluent tbinclang10Include10.0.18362.0sharedasetsd.h(322,12): warning: cast to 'void * __ptr32' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast]
return((void * POINTER_32) (unsigned long) (ULONG_PTR) p);
^
1 warning was generated.
"
The third time, I use another UDF (completely different from the first one) containing three macros: DEFINE_ADJUST, DEFINE_MASS_TRANSFER, and DEFINE_SOURCE. The UDF compiles successfully with one warning. The warning is:
"
C:PROGRA~1ANSYSI~1v211fluent tbinclang10Include10.0.18362.0sharedasetsd.h(322,12): warning: cast to 'void * __ptr32' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast]
return((void * POINTER_32) (unsigned long) (ULONG_PTR) p);
^
1 warning generated.
"
The warning is the same as with the first UDF so I thought it'll also work fine. But upon initialization, the fluent gives the following error:
"
==============================================================================
Node 0: Process 17764: Received signal SIGSEGV.
==============================================================================
The fl process could not be started.
"
I'm running with 1 core only and also hooking the adjust function as well. The UDF is grammatically correct. Still, I don't what is causing this error. Please let me know if anyone knows about it. I'm running fluent 2021R1. Also, the UI of fluent becomes like this after the initialization:
November 12, 2021 at 8:07 amSurya Prakash
Ansys Employee
SIGSEV means there is data missing somewhere, i.e. you may be making a call in the UDF before the data exists. Would you mind checking whether you are making any mistakes in the UDF? There is a similar thread that might help you - Resolving 999999: mpt_accept: error ÔÇö Ansys Learning Forum
Regards Surya
November 12, 2021 at 11:01 amFaizanYounas
SubscriberThank you for the reply. So far, I haven't found anything wrong with the UDF. I'm still looking into it. However, while making some tweaks in the UDF I got another error alongside the SIGSEGV that is:
"Warning! Steady-State Option Widgets are not loaded correctly!"
Any idea what this particular error means?
November 12, 2021 at 11:44 amRob
Forum ModeratorWidgets tend to be GUI panels, and usually means you've changed a change that altered a panel layout. During that process something got scrambled in the back end of Fluent - looking at that panel it's the steady/transient option that's got messed up.
April 14, 2022 at 7:32 amDaShuai_Chen
Subscriberhello´╝ü have you solved this problem? it also troubles me
August 10, 2023 at 10:53 amIvan Ehsan
SubscriberHave you solved this please reply facing the same issue here.
Viewing 5 reply threads- The topic ‘Error :”Received signal SIGSEGV.”’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3427
-
1057
-
1051
-
896
-
887
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-