We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Error :”Received signal SIGSEGV.”

    • FaizanYounas
      Subscriber

      Hello 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:

    • Surya 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
    • FaizanYounas
      Subscriber
      Thank 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?

    • Rob
      Forum Moderator
      Widgets 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.
    • DaShuai_Chen
      Subscriber
      hello´╝ü have you solved this problem? it also troubles me
    • Ivan Ehsan
      Subscriber

      Have 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.