


{"id":291035,"date":"2023-06-30T03:59:23","date_gmt":"2023-06-30T03:59:23","guid":{"rendered":"\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/"},"modified":"2023-06-30T03:59:23","modified_gmt":"2023-06-30T03:59:23","slug":"error-structure-reference-not-implemented-while-compiling-or-interpreting-udf","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/","title":{"rendered":"Error &#8220;structure reference not implemented&#8221; while compiling or interpreting UDF"},"content":{"rendered":"<p>Hello Ansys Innovation Forum,<\/p>\n<p>I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:<\/p>\n<p>&#8220;Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented&#8221;<\/p>\n<p>To provide more context, I am including the full code of the UDF which obtained from (\/forum\/forums\/topic\/saturation-temperature-udf\/) below:<\/p>\n<p>#include &#8220;udf.h&#8221;<\/p>\n<p>#define MOLAR_MASS_WATER 18.01534 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ g\/mol<br \/>#define MOLAR_MASS_AIR 28.97 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ g\/mol<br \/>#define RHO_WV 0.5542 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ kg\/m3<br \/>#define RHO_AIR 1.225 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ kg\/m3<br \/>DEFINE_PROPERTY(saturation_temp, c, t) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ t: mixture thread, c: cell variable, Cell volume<br \/>{<br \/>real vol = C_VOLUME(c, t);<br \/>Thread *pt = THREAD_SUB_THREAD(t, 0); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Primary phase thread<br \/>Thread *st = THREAD_SUB_THREAD(t, 1); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Secondary phase thread<br \/>real vf_s = C_VOF(c, st); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Get the volume fraction of secondary phases<br \/>real vf_p = 1 &#8211; vf_s; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Get the volume fraction of primary phases<br \/>real p_mix = C_P(c, t); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Get the pressure of the mixture&nbsp;<br \/>real p_op = RP_Get_Real(&#8220;operating-pressure&#8221;); &nbsp; &nbsp; \/\/ Get the operating pressure<br \/>real rho_p = C_R(c, pt); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Primary phase density<\/p>\n<p>\/\/ Get mass fractions in primary phase<br \/>real mf[2]; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ to store mass fractions<br \/>Material *m = THREAD_MATERIAL(pt);<br \/>Material *sp = NULL;<br \/>int i; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Species index &#8211; 0 for water vapor and 1 for air<br \/>mixture_species_loop(m, sp, i)<br \/>{<br \/>mf[i] = C_YI(c, pt, i);<br \/>}<br \/>real p_w; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ Water vapor pressure for the cell<br \/>if (vf_s == 1) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ If secondary phase only<br \/>{<br \/>p_w = p_mix + p_op;<br \/>}<br \/>else &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ If primary phase or mixture of phases<br \/>{<br \/>\/\/ Find the partial pressure of water vapour, partial pressure = cell pressure * water mole fraction<br \/>real m_prim = rho_p * vol * vf_p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ mass of primary phase in cell<br \/>real m_wv = mf[0] * m_prim; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ mass of water vapour in cell<br \/>real m_air = m_prim &#8211; m_wv; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ mass of air in cell<br \/>real N_wv = m_wv \/ MOLAR_MASS_WATER; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ No of moles in water vapour<br \/>real N_air = m_air \/ MOLAR_MASS_AIR; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ No of moles in &nbsp;air<br \/>real N_total = N_wv + N_air; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ total moles<br \/>p_w = (C_P(c, t)+ p_op)* (N_wv \/ N_total); &nbsp; &nbsp; &nbsp; &nbsp;\/\/ water vapour partial pressure<br \/>}<br \/>real t_sat;<br \/>t_sat = (1730.63 \/ (10.196 &#8211; log10(p_w))) + 39.724; \/\/ Calculate saturation temperature<br \/>return t_sat;<br \/>}<\/p>\n<p>&nbsp;<\/p>\n<p>Additionally, during the compilation process, the following error was obtained:<\/p>\n<p>&nbsp;<\/p>\n<p>Copyright 1987-2023 ANSYS, Inc. All Rights Reserved.<br \/>Compiler and linker: Clang (builtin)<br \/>Compiler path: &#8220;C:\\PROGRA~1\\ANSYSI~1\\v231\\fluent&#8221;\\ntbin\\clang\\bin\\clang-cl<br \/>Linker &nbsp; path: &#8220;C:\\PROGRA~1\\ANSYSI~1\\v231\\fluent&#8221;\\ntbin\\clang\\bin\\lld-link<br \/>C sources: [&#8216;evapoartion_UDF.c&#8217;]<br \/>udf_names.c(6,46): error: expected &#8216;;&#8217; after top level declarator<br \/>extern DEFINE_PROPERTY(saturation_temp, c, t) \/\/ t: mixture thread, c: cell variable, Cell volume;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br \/>1 error generated.<br \/>scons: *** [udf_names.obj] Error 1<\/p>\n<p>Done.<\/p>\n<p>&nbsp;<\/p>\n<p>I would appreciate any insights or suggestions regarding the reasons for these errors and how to resolve them. Thank you in advance for your valuable assistance.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-291035","topic","type-topic","status-closed","hentry","topic-tag-condensation-evaporation-1","topic-tag-udf"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:&quot;Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented&quot;To provide more\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/\" \/>\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=\"Error \u201cstructure reference not implemented\u201d while compiling or interpreting UDF | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:&quot;Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented&quot;To provide more\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-06-30T03:59:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-06-30T03:59:23+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Error \u201cstructure reference not implemented\u201d while compiling or interpreting UDF | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:&quot;Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented&quot;To provide more\" \/>\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\\\/topic\\\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\\\/#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\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/udf\\\/#listItem\",\"name\":\"udf\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/udf\\\/#listItem\",\"position\":3,\"name\":\"udf\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/udf\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\\\/#listItem\",\"name\":\"Error &#8220;structure reference not implemented&#8221; while compiling or interpreting UDF\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\\\/#listItem\",\"position\":4,\"name\":\"Error &#8220;structure reference not implemented&#8221; while compiling or interpreting UDF\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/udf\\\/#listItem\",\"name\":\"udf\"}}]},{\"@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\\\/topic\\\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\\\/\",\"name\":\"Error \\u201cstructure reference not implemented\\u201d while compiling or interpreting UDF | Ansys Learning Forum\",\"description\":\"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:\\\"Error: C:\\\/Users\\\/271557I\\\/AppData\\\/Local\\\/Temp\\\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented\\\"To provide more\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\\\/#breadcrumblist\"},\"datePublished\":\"2023-06-30T03:59:23+00:00\",\"dateModified\":\"2023-06-30T03:59:23+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":"Error \u201cstructure reference not implemented\u201d while compiling or interpreting UDF | Ansys Learning Forum","description":"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:\"Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented\"To provide more","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/#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\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/udf\/#listItem","name":"udf"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/udf\/#listItem","position":3,"name":"udf","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/udf\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/#listItem","name":"Error &#8220;structure reference not implemented&#8221; while compiling or interpreting UDF"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/#listItem","position":4,"name":"Error &#8220;structure reference not implemented&#8221; while compiling or interpreting UDF","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/udf\/#listItem","name":"udf"}}]},{"@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\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/","name":"Error \u201cstructure reference not implemented\u201d while compiling or interpreting UDF | Ansys Learning Forum","description":"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:\"Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented\"To provide more","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/#breadcrumblist"},"datePublished":"2023-06-30T03:59:23+00:00","dateModified":"2023-06-30T03:59:23+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":"Error \u201cstructure reference not implemented\u201d while compiling or interpreting UDF | Ansys Learning Forum","og:description":"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:&quot;Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented&quot;To provide more","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/","article:published_time":"2023-06-30T03:59:23+00:00","article:modified_time":"2023-06-30T03:59:23+00:00","twitter:card":"summary_large_image","twitter:title":"Error \u201cstructure reference not implemented\u201d while compiling or interpreting UDF | Ansys Learning Forum","twitter:description":"Hello Ansys Innovation Forum,I am encountering an error while trying to compile or interpret a User-Defined Function (UDF) in Ansys Fluent. I would like to understand the reason behind this error and find a solution to resolve it. The error message I receive is as follows:&quot;Error: C:\/Users\/271557I\/AppData\/Local\/Temp\/evapoartion_UDF.c.24848.3.c: line 22: structure reference not implemented&quot;To provide more"},"aioseo_meta_data":{"post_id":"291035","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 18:01:24","updated":"2024-10-28 18:01:24","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\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/udf\/\" title=\"udf\">udf<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tError \u201cstructure reference not implemented\u201d while compiling or interpreting UDF\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"udf","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/udf\/"},{"label":"Error &#8220;structure reference not implemented&#8221; while compiling or interpreting UDF","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/error-structure-reference-not-implemented-while-compiling-or-interpreting-udf\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["276444","199"],"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["865"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["291035"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","276444"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["291253"],"_bbp_last_active_id":["291253"],"_bbp_last_active_time":["2023-07-03 11:14:30"]},"test":"arun-mathewcurtin-edu-au"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/291035","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\/291035\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=291035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}