Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Get Domain & Lookup Thread

    • Nida
      Subscriber

      Dear Sir,


       


      attached is the UDF, where I am trying to get x and y coordinates of my 2D domain boundary.


      The Zone ID that I am looking in Boundary Condition panel is "4" for the boundary where I want to find the coordinates.


       


       


      The UDF is compiled and loaded without any error but it is giving me following error when I run Execute of Demand


       



       


      999999: mpt_accept: error: accept failed: No such file or directory


      .


      .


      .


      .


      .


      999999: mpt_accept: error: accept failed: No such file or directory


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


       


       


      999999: mpt_accept: error: accept failed: Node 0: Process 17792: Received signal SIGSEGV.No such file or directory


       


       


      999999: mpt_accept: error: accept failed:


      No such file or directory


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


      999999: mpt_accept: error: accept failed


      : No such file or directory


       


      999999: mpt_accept: error: accept failed: No such file or directory


       


      999999: mpt_accept: error: accept failed: MPI Application rank 0 exited before MPI_Finalize() with status 2


      Cannot merge similar NUMANode objects with different OS indexes 0 and 1


      The fl process could not be started.


       



       


      I am confuse in these lines of code and sure that error is here. What I need to put Get_Domain(?). My case is simple 2D fluid domain for incompressible flow and I want to find x & y coordinates on boundary.


       


      int ID=4;


      Domain *d = Get_Domain(1);


      Thread *tf = Lookup_Thread(d, ID);


       


      Kindly clear it. Thank you


       

    • DrAmine
      Ansys Employee
      We do not debug UDF. Just share what you think is causing an issue. The three lines are ok
    • DrAmine
      Ansys Employee
      And we do not download attachments
Viewing 2 reply threads
  • The topic ‘Get Domain & Lookup Thread’ is closed to new replies.
[bingo_chatbox]