Fluids

Fluids

UDF Looping from Cell Zone

    • joshua.wong1196
      Subscriber
      Hi, I am hooking my DEFINE_PROFIL(c,thread,n) UDF to a phase cell zone in my case. What I have in my code is a loop over all cells, and within will be a loop over all faces in each cell, so something like this: begin_c_loop(c,thread) { c_face_loop(c,thread,n) { . . . .. . . } }   Compiling the code gives me no error but when I try to initalize it, the c_face_loop macro causes an error "Received signal SIGSEGV". May I know what is causing this? Thanks.
    • Rahul Mule
      Ansys Employee

      the complete code is not given here, but may be solver is looking for something which is not defined.(memory locations, or some properties such as C_T(c,t) if energy is not activated.)

Viewing 1 reply thread
  • You must be logged in to reply to this topic.