


{"id":372494,"date":"2024-07-18T08:27:11","date_gmt":"2024-07-18T08:27:11","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/"},"modified":"2024-07-18T08:27:11","modified_gmt":"2024-07-18T08:27:11","slug":"372494","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/","title":{"rendered":"Reply To: UDF loading error"},"content":{"rendered":"<p>&lt;p&gt;Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub:&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;#include &#8220;udf.h&#8221;&lt;\/p&gt;&lt;p&gt;#define T_max &nbsp; 4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/*Flow time in s when the morphing stops*\/&lt;br&gt;#define W_te &nbsp; &nbsp;0.001*0.2286 &nbsp; &nbsp; &nbsp; &nbsp; \/*Maximum flap deflection*\/&lt;br&gt;#define x_s &nbsp; &nbsp; 0.75*0.2286 &nbsp; &nbsp; &nbsp; &nbsp; \/*location where the morphing starts*\/&lt;br&gt;#define Thick &nbsp; 0.12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/*Airfoil thickness 12\/100 in NACA 0012*\/&lt;br&gt;#define freq &nbsp; &nbsp;100 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/*Morphing frequency*\/&lt;br&gt;#define FTT &nbsp; &nbsp; 0.004&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/*Time in s when the moprhing starts*\/&lt;br&gt;#define chord &nbsp; 0.2286 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/*Airfoil chord*\/&lt;\/p&gt;&lt;p&gt;DEFINE_GRID_MOTION(morphing_upper, domain, dt, time, dtime)&lt;br&gt;{&lt;br&gt;&nbsp; Thread *tf = DT_THREAD(dt);&lt;br&gt;&nbsp; face_t f;&lt;br&gt;&nbsp; Node *node_p;&lt;br&gt;&nbsp; real x, y, thickness, camber, theta, yupper, dy_c, slope, xupper;&lt;br&gt;&nbsp; int n;&lt;\/p&gt;&lt;p&gt;&nbsp; \/* Set\/activate the deforming flag on adjacent cell zone, which *\/&lt;br&gt;&nbsp; \/* means that the cells adjacent to the deforming wall will also be *\/&lt;br&gt;&nbsp; \/* deformed, in order to avoid skewness. *\/&lt;br&gt;&nbsp; SET_DEFORMING_THREAD_FLAG(THREAD_T0(tf));&lt;\/p&gt;&lt;p&gt;&nbsp; \/* Loop over the deforming boundary zone&#8217;s faces; *\/&lt;br&gt;&nbsp; \/* inner loop loops over all nodes of a given face; *\/&lt;br&gt;&nbsp; \/* Thus, since one node can belong to several faces, one must guard *\/&lt;br&gt;&nbsp; \/* against operating on a given node more than once: *\/&lt;\/p&gt;&lt;p&gt;&nbsp; begin_f_loop(f, tf)&lt;br&gt;&nbsp; {&lt;br&gt;&nbsp; &nbsp; f_node_loop(f, tf, n)&lt;br&gt;&nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; node_p = F_NODE(f, tf, n);&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; &nbsp; \/* Update the current node only if it has not been *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; \/* previously visited: *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; if (NODE_POS_NEED_UPDATE(node_p))&lt;br&gt;&nbsp; &nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; \/* Set flag to indicate that the current node&#8217;s *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; \/* position has been updated, so that it will not be *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; \/* updated during a future pass through the loop: *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; NODE_POS_UPDATED(node_p);&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp; x = NODE_X(node_p);&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; thickness = (chord * Thick \/ 0.2) * (0.2969 * sqrt(x \/ chord) &#8211; 0.1260 * x \/ chord &#8211; 0.3516 * pow((x \/ chord), 2) + 0.2843 * pow((x \/ chord), 3) &#8211; 0.1036 * pow((x \/ chord), 4));&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp; if (CURRENT_TIME &gt; FTT)&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (x &gt;= x_s)&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; camber = -(W_te * sin(2 * M_PI * (CURRENT_TIME &#8211; FTT) * freq) * pow((x &#8211; x_s), 3)) \/ (pow((chord &#8211; x_s), 3));&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dy_c = (-3 * W_te * sin(2 * M_PI * (CURRENT_TIME &#8211; FTT) * freq) * pow((x &#8211; x_s), 2)) \/ (pow((chord &#8211; x_s), 3));&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theta = atan((-3 * W_te * sin(2 * M_PI * (CURRENT_TIME &#8211; FTT) * freq)) * pow((x &#8211; x_s), 2) \/ (pow((chord &#8211; x_s), 3)));&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xupper = x &#8211; thickness * sin(theta);&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yupper = camber + thickness * cos(theta);&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NODE_Y(node_p) = yupper;&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; }&lt;br&gt;&nbsp; }&lt;br&gt;&nbsp; end_f_loop(f, tf);&lt;br&gt;}&lt;br&gt;DEFINE_GRID_MOTION(morphing_lower, domain, dt, time, dtime)&lt;br&gt;{&lt;br&gt;&nbsp; &nbsp; Thread* tf = DT_THREAD(dt);&lt;br&gt;&nbsp; &nbsp; face_t f;&lt;br&gt;&nbsp; &nbsp; Node* node_p;&lt;br&gt;&nbsp; &nbsp; real &nbsp;x, y, thickness, camber, theta, lower, dy_c, xlower, slope;&lt;br&gt;&nbsp; &nbsp; int n;&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; \/* Set\/activate the deforming flag on adjacent cell zone, which &nbsp; &nbsp; &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; \/* means that the cells adjacent to the deforming wall will also be &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; \/* deformed, in order to avoid skewness. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *\/&lt;br&gt;&nbsp; &nbsp; SET_DEFORMING_THREAD_FLAG(THREAD_T0(tf));&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; \/* Compute the angles: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *\/&lt;br&gt;&nbsp; &nbsp; \/* Loop over the deforming boundary zone&#8217;s faces; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; \/* inner loop loops over all nodes of a given face; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; \/* Thus, since one node can belong to several faces, one must guard &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; \/* against operating on a given node more than once: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *\/&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; begin_f_loop(f, tf)&lt;br&gt;&nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; f_node_loop(f, tf, n)&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; node_p = F_NODE(f, tf, n);&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Update the current node only if it has not been &nbsp; &nbsp; &nbsp; &nbsp; *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* previously visited: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (NODE_POS_NEED_UPDATE(node_p))&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* Set flag to indicate that the current node&#8217;s &nbsp; &nbsp; &nbsp; &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* position has been updated, so that it will not be &nbsp; *\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/* updated during a future pass through the loop: &nbsp; &nbsp; &nbsp;*\/&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NODE_POS_UPDATED(node_p);&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x = NODE_X(node_p);&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; thickness = (chord * Thick \/ 0.2) * (0.2969 * sqrt(x \/ chord) &#8211; 0.1260 * x \/ chord &#8211; 0.3516 * pow((x \/ chord), 2) + 0.2843 * pow((x \/ chord), 3) &#8211; 0.1036 * pow((x \/ chord), 4));&lt;\/p&gt;&lt;p&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (CURRENT_TIME &gt; FTT) {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (x &gt;= x_s) {&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; camber = -(W_te * sin(2 * M_PI * ((CURRENT_TIME &#8211; FTT) * freq)) * pow((x &#8211; x_s), 3)) \/ (pow((chord &#8211; x_s), 3));&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dy_c = (-3 * W_te * sin(2 * M_PI * (CURRENT_TIME &#8211; FTT) * freq)) * pow((x &#8211; x_s), 2) \/ (pow((chord &#8211; x_s), 3));&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theta = atan((-3 * W_te * sin(2 * M_PI * (CURRENT_TIME &#8211; FTT) * freq)) * pow((x &#8211; x_s), 2) \/ (pow((chord &#8211; x_s), 3)));&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; slope = sin(theta);&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xlower = x + thickness * slope;&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lower = camber &#8211; thickness * cos(theta);&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NODE_Y(node_p) = lower;&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; &nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; }&lt;br&gt;&nbsp; &nbsp; end_f_loop(f, tf);&lt;br&gt;}&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-372494","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include &quot;udf.h&quot;#define T_max 4 \/*Flow time in s when the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Reply To: UDF loading error | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include &quot;udf.h&quot;#define T_max 4 \/*Flow time in s when the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-07-18T08:27:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-07-18T08:27:11+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Reply To: UDF loading error | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include &quot;udf.h&quot;#define T_max 4 \/*Flow time in s when the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/372494\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/372494\\\/#listItem\",\"name\":\"Reply To: UDF loading error\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/372494\\\/#listItem\",\"position\":2,\"name\":\"Reply To: UDF loading error\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/372494\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/372494\\\/\",\"name\":\"Reply To: UDF loading error | Ansys Learning Forum\",\"description\":\"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include \\\"udf.h\\\"#define T_max 4 \\\/*Flow time in s when the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/reply\\\/372494\\\/#breadcrumblist\"},\"datePublished\":\"2024-07-18T08:27:11+00:00\",\"dateModified\":\"2024-07-18T08:27:11+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Reply To: UDF loading error | Ansys Learning Forum","description":"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include \"udf.h\"#define T_max 4 \/*Flow time in s when the","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/#listItem","name":"Reply To: UDF loading error"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/#listItem","position":2,"name":"Reply To: UDF loading error","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/","name":"Reply To: UDF loading error | Ansys Learning Forum","description":"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include \"udf.h\"#define T_max 4 \/*Flow time in s when the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/#breadcrumblist"},"datePublished":"2024-07-18T08:27:11+00:00","dateModified":"2024-07-18T08:27:11+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Reply To: UDF loading error | Ansys Learning Forum","og:description":"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include &quot;udf.h&quot;#define T_max 4 \/*Flow time in s when the","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/","article:published_time":"2024-07-18T08:27:11+00:00","article:modified_time":"2024-07-18T08:27:11+00:00","twitter:card":"summary_large_image","twitter:title":"Reply To: UDF loading error | Ansys Learning Forum","twitter:description":"Yes its a 2D case and I am lunching fluent in 2d. I have tried two code I know used to work (3 weeks ago) here is one of them taken from GitHub: #include &quot;udf.h&quot;#define T_max 4 \/*Flow time in s when the"},"aioseo_meta_data":{"post_id":"372494","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 16:37:02","updated":"2026-08-16 16:31:40","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tReply To: UDF loading error\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Reply To: UDF loading error","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/372494\/"}],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/372494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/372494\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=372494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}