


{"id":38835,"date":"2019-11-08T05:56:08","date_gmt":"2019-11-08T05:56:08","guid":{"rendered":"\/forum\/forums\/topic\/get-domain-lookup-thread\/"},"modified":"2019-11-08T05:56:08","modified_gmt":"2019-11-08T05:56:08","slug":"get-domain-lookup-thread","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/get-domain-lookup-thread\/","title":{"rendered":"Get Domain &#038; Lookup Thread"},"content":{"rendered":"<p style=\"margin: 0px;\">Dear Sir,<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">attached is the UDF, where I am trying to get x and y coordinates of my&nbsp;<strong>2D<\/strong>&nbsp;domain boundary.<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">The Zone ID that I am looking in Boundary Condition panel is &#8220;<strong>4<\/strong>&#8221; for the boundary where I want to find the coordinates.<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">The UDF is compiled and loaded without any error but it is giving me following error when I run Execute of Demand<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<blockquote><p><\/p>\n<p style=\"margin: 0px;\"><strong>&nbsp;<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed: No such file or directory<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>.<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>.<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>.<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>.<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>.<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed: No such file or directory<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>==============================================================================<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed: Node 0: Process 17792: Received signal SIGSEGV.No such file or directory<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed:<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>No such file or directory<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>==============================================================================<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>: No such file or directory<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed: No such file or directory<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>999999: mpt_accept: error: accept failed: MPI Application rank 0 exited before MPI_Finalize() with status 2<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>Cannot merge similar NUMANode objects with different OS indexes 0 and 1<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong><span style=\"color: #ff0000;\">The fl process could not be started.<\/span><\/strong><\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p>\n<\/p><\/blockquote>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">I am confuse&nbsp;in&nbsp;these lines of code and sure that error is here. What I need to put&nbsp;<strong style=\"font-style: italic;\">Get_Domain(?)<\/strong>. My case is simple 2D&nbsp;fluid domain for incompressible flow and I want to find x &amp; y coordinates on boundary.<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>int ID=4;<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>Domain *d = Get_Domain(1);<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\"><strong>Thread *tf = Lookup_Thread(d, ID);<\/strong><\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">Kindly&nbsp;clear it. Thank you<\/p>\n<p><\/p>\n<p style=\"margin: 0px;\">&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-38835","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["11013"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0"],"_btv_view_count":["1497"],"_bbp_subscription":["239013"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["38835"],"_bbp_forum_id":["27792"],"_bbp_engagement":["22555","162942"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["98094"],"_bbp_last_active_id":["98094"],"_bbp_last_active_time":["2019-11-08 17:31:56"]},"test":"nida"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/38835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/38835\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=38835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}