The Ansys Innovation Space website recently experienced a database corruption issue. While service has been restored there appears to have been some data loss from November 13. We are still investigating and apologize for any issues our users may have as a result.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES error

    • DexterQiu
      Subscriber

      Hi,

      I'm new to Fluent. I'm using ANSYS 2021 R2 Fluent to simulate a moving wall within a fluid domain using a UDF. When I preview the remeshed region in the next time step, I always receive an error message saying BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES. 

      In some rare cases, this problem can be solved by meshing with a different mesh density. However, it will lead to a negative volume error, and it is hard to tell which part in the mesh went wrong. The refined initial mesh can make the error happens more frequently.

      What could be the potential causes of the BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES error? 

      Is there any way to avoid this type of error?


      The error message is shown as follows.

      ===================================================================================

      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES

      = RANK 0 PID 17876 RUNNING AT DQ-A

      = EXIT STATUS: -1 (ffffffff)

      ===================================================================================


      ===================================================================================

      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES

      = RANK 1 PID 45524 RUNNING AT DQ-A

      = EXIT STATUS: -1 (ffffffff)

      ===================================================================================

      The same error happens at every thread.


      The dynamic mesh setting is shown as below:

      blob:/forum/87f07059-f185-457e-a80f-5c4121a379c5 There was an error displaying this embed.


      blob:/forum/8c9e94bf-207e-4dba-9509-30dcc18df694 There was an error displaying this embed. blob:/forum/ff34f16f-465f-40b9-a16e-e3a828b42658 There was an error displaying this embed.


      Thank you,

      Dong Qiu

    • Karthik Remella
      Administrator
      Hello This might be because of the UDF or how you set up your dynamic meshing. You need to provide us with additional details so we are able to understand the issue better.
      What is the UDF doing? Please also share screenshots of your starting mesh. What is this mesh quality at the beginning? Also, how did you set up your dynamic meshing?
      Karthik
    • DexterQiu
      Subscriber
      Hi Karthik Thank you so much. I checked my UDF and noticed there was an incorrect parameter in my code. I have revised the code and it is working now.
      Thank you Dong Qiu
    • Karthik Remella
      Administrator
      Excellent! Glad it worked.
      Karthik
    • pratheeba.chandanagarajan
      Subscriber
      Hi
      I have the same problem.

      My UDF is below:

      begin_f_loop(f, thread)
      {
      if (t < 20.0)
      {
      F_PROFILE(f, thread, position) = 11.8325;
      }
      else if (t < 50.0)
      {
      F_PROFILE(f, thread, position) = 22.0135;
      }

      }
      end_f_loop(f, thread)
      }

      /**********************************************************************
      unsteady.c
      UDF for specifying a transient temperature profile boundary condition
      ***********************************************************************/

      DEFINE_PROFILE(unsteady_temperature, thread, position)
      {
      face_t f;
      real t = CURRENT_TIME;

      begin_f_loop(f, thread)
      {
      if (t < 20.0)
      {
      F_PROFILE(f, thread, position) = 373.15;
      }
      else if (t < 50.0)
      {
      F_PROFILE(f, thread, position) = 366.15;
      }

      }
      end_f_loop(f, thread)
      }
      /**********************************************************************
      unsteady.c
      UDF for specifying a h-value based on time
      ***********************************************************************/

      DEFINE_PROFILE(htc, thread, position)
      {
      face_t f;
      real time = CURRENT_TIME;

      begin_f_loop(f, thread)
      {
      if (time < 20.0)
      {
      F_PROFILE(f, thread, position) = 50.0;
      }
      else
      {
      F_PROFILE(f, thread, position) = 100.0;
      }
      }
      end_f_loop(f, thread)
      }

      Below is the message displayed on FLUENT
      The fl process could not be started.

      ===================================================================================
      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      = RANK 0 PID 8148 RUNNING AT C19FTAI
      = EXIT STATUS: -1 (ffffffff)
      ===================================================================================

      ===================================================================================
      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      = RANK 1 PID 22144 RUNNING AT C19FTAI
      = EXIT STATUS: -1 (ffffffff)
      ===================================================================================

      ===================================================================================
      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      = RANK 2 PID 12564 RUNNING AT C19FTAI
      = EXIT STATUS: -1 (ffffffff)
      ===================================================================================

      ===================================================================================
      = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      = RANK 3 PID 26620 RUNNING AT C19FTAI
      = EXIT STATUS: -1 (ffffffff)

      The same simulation was running few days back. i did not change any parameter.

      Can you please help, ?

      Thank You
      Pratheeba
    • pratheeba.chandanagarajan
      Subscriber
      Just to add details I am running a transient simulation, flow through a pipe and a porous media section. There is change in velocity and temperature as a step change. I am using the viscous resistance for the porous media model and shell conduction with three layers for heat loss through a heat transfer coeffient.

      Thank You
      Pratheeba
    • Rob
      Forum Moderator
      Have a look at the DEFINE_PROFILE example in the manual - you're missing some fairly important bits at the top. I'd also review the IF statements, as 20 is less than 50 the latter value will always be used until time exceeds 50s in which case I have no idea what will happen.
    • pratheeba.chandanagarajan
      Subscriber
      Hi Rob
      Thank You.

      Sorry! The first header file etc was not pasted while I copied.

      /**********************************************************************
      unsteady.c
      UDF for specifying a transient velocity profile boundary condition
      ***********************************************************************/

      #include "udf.h"


      DEFINE_PROFILE(unsteady_velocity, thread, position)
      {
      face_t f;
      real t = CURRENT_TIME;

      begin_f_loop(f, thread)
      {
      if (t < 20.0)
      {
      F_PROFILE(f, thread, position) = 11.8325;
      }
      else if (t < 50.0)
      {
      F_PROFILE(f, thread, position) = 22.0135;
      }

      }
      end_f_loop(f, thread)
      }

      /**********************************************************************
      unsteady.c
      UDF for specifying a transient temperature profile boundary condition
      ***********************************************************************/

      DEFINE_PROFILE(unsteady_temperature, thread, position)
      {
      face_t f;
      real t = CURRENT_TIME;

      begin_f_loop(f, thread)
      {
      if (t < 20.0)
      {
      F_PROFILE(f, thread, position) = 373.15;
      }
      else if (t < 50.0)
      {
      F_PROFILE(f, thread, position) = 366.15;
      }

      }
      end_f_loop(f, thread)
      }
      /**********************************************************************
      unsteady.c
      UDF for specifying a h-value based on time
      ***********************************************************************/

      DEFINE_PROFILE(htc, thread, position)
      {
      face_t f;
      real time = CURRENT_TIME;

      begin_f_loop(f, thread)
      {
      if (time < 20.0)
      {
      F_PROFILE(f, thread, position) = 50.0;
      }
      else
      {
      F_PROFILE(f, thread, position) = 100.0;
      }
      }
      end_f_loop(f, thread)
      }
      This is my full UDF. Thank you for your suggestion about the IF statement. I will rewrite the IF.
      Thank You
      Pratheeba
    • Pratik
      Subscriber

       

      Hi

      I am simulating battery in ansys fluent but once i switch on battery model it shows some error and fluent automatically switch off. I always receive an error message saying BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES.  earlier i did some simulation but at that it didn’t shows error.

      Is there any way to avoid this type of error?

      ==============================================================================
       
      Node 5: Process 14796: Received signal SIGSEGV.
       
      ==============================================================================
       
      ==============================================================================
       
      Node 4: Process 18444: Received signal SIGSEGV.
       
      ==============================================================================
       
      ==============================================================================
       
      Node 1: Process 14760: Received signal SIGSEGV.
       
      ==============================================================================
       
      ==============================================================================
       
      Node 6: Process 9132: Received signal SIGSEGV.
       
      ==============================================================================
       
      ==============================================================================
       
      Node 2: Process 2764: Received signal SIGSEGV.
       
      ==============================================================================
       
      ==============================================================================
       
      Node 0: Process 11324: Received signal SIGSEGV.
       
      ==============================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 0 PID 11324 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 1 PID 14760 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 2 PID 2764 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 3 PID 8732 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 6 PID 9132 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 7 PID 15048 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       
      ===================================================================================
      =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
      =   RANK 8 PID 3508 RUNNING AT Pratik27
      =   EXIT STATUS: -1 (ffffffff)
      ===================================================================================
       The fl process could not be started.

      Thank You

      Pratik

       

       

       

    • Yiqing zhang
      Subscriber

      I am calculating a two-phase water vapor flow problem in an open channel, using the VOF model. The error "BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES" is accompanied by "The fl process could not be. This error occurred after I had calculated many steps. After it appeared, all the buttons on the fluent interface could not be used. After I restarted the calculation, the same error was displayed again. How to solve it? I used 2022R1BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES

       

    • Rob
      Forum Moderator

      That looks to be a node failure or similar, so not directly linked to the solver convergence. Can you check you're not triggering any autosave or image generation, and if so switch it off. If the model then runs OK check disc access as that can cause problems if you can't write to disc. 

Viewing 10 reply threads
  • The topic ‘BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES error’ is closed to new replies.