


{"id":284150,"date":"2023-05-16T07:19:53","date_gmt":"2023-05-16T07:19:53","guid":{"rendered":"\/forum\/forums\/topic\/wind-profiles\/"},"modified":"2023-05-16T07:19:53","modified_gmt":"2023-05-16T07:19:53","slug":"wind-profiles","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/","title":{"rendered":"Wind profiles"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding.&nbsp; Below is my script for the UDF.<\/p>\n<p>Looking forward for your suggestions.<\/p>\n<p>Thanks a lot<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot 2023-05-16 151424.jpg\" alt=\"\"><\/p>\n<div>\n<div>#include &#8220;udf.h&#8221;<\/div>\n<p><\/p>\n<div>DEFINE_PROFILE(velocity,t,i)<\/div>\n<div>{<\/div>\n<p><\/p>\n<div>&nbsp; face_t f;<\/div>\n<div>&nbsp; real flow_time;<\/div>\n<div>&nbsp; flow_time=RP_Get_Real(&#8220;flow-time&#8221;);<\/div>\n<div>&nbsp; real x[ND_ND];<\/div>\n<div>&nbsp; real z;<\/div>\n<p><\/p>\n<div>&nbsp; if(flow_time &gt;=0 &amp;&amp; flow_time &lt; 3600){<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; &nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1-1)*flow_time\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;=3600 &amp;&amp; flow_time &lt; 7200){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1-1)*(flow_time-3600)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 7200 &amp;&amp; flow_time &lt; 10800){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1-1)*(flow_time-7200)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 10800 &amp;&amp; flow_time &lt; 14400){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1.6-1)*(flow_time-10800)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 14400 &amp;&amp; flow_time &lt; 18000){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1.6+(1.9-1)*(flow_time-14400)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 18000 &amp;&amp; flow_time &lt; 21600){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1.9+(1-1.9)*(flow_time-18000)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 21600 &amp;&amp; flow_time &lt; 25200){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(2.5-1)*(flow_time-21600)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 25200 &amp;&amp; flow_time &lt; 28800){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (2.5+(4.1-2.5)*(flow_time-25200)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.14);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 28800 &amp;&amp; flow_time &lt; 32400){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (4.1+(3.1-4.1)*(flow_time-28800)\/3600)*pow(270\/10,0.22)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 32400 &amp;&amp; flow_time &lt; 36000){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (3.1+(1.8-3.1)*(flow_time-32400)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 36000 &amp;&amp; flow_time &lt; 39600){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1.8+(1-1.8)*(flow_time-36000)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 39600 &amp;&amp; flow_time &lt; 43200){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1.6-1)*(flow_time-39600)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.14);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 43200 &amp;&amp; flow_time &lt; 46800){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1.6+(1-1)*(flow_time-43200)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 46800 &amp;&amp; flow_time &lt; 50400){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1-1)*(flow_time-46800)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; if(flow_time &gt;= 50400 &amp;&amp; flow_time &lt; 54000){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = (1+(1-1)*(flow_time-50400)\/3600)*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp; &nbsp;if(flow_time == 54000){ &nbsp; &nbsp;<\/div>\n<div>&nbsp; &nbsp; begin_f_loop(f,t)<\/div>\n<div>&nbsp; &nbsp; {<\/div>\n<div>&nbsp; F_CENTROID(x,f,t);<\/div>\n<div>&nbsp; &nbsp; z=x[2];<\/div>\n<div>&nbsp; &nbsp; F_PROFILE(f,t,i) = 1*pow(270\/10,0.14)*pow(z\/370,0.22);<\/div>\n<div>&nbsp; &nbsp; }<\/div>\n<div>&nbsp; &nbsp; end_f_loop(f,t)<\/div>\n<div>&nbsp; }<\/div>\n<div>&nbsp;<\/div>\n<p><\/p>\n<div>}<\/div>\n<\/div>\n","protected":false},"template":"","class_list":["post-284150","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include &quot;udf.h&quot;DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(&quot;flow-time&quot;); real x[ND_ND]; real\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/\" \/>\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=\"Wind profiles | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include &quot;udf.h&quot;DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(&quot;flow-time&quot;); real x[ND_ND]; real\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot%202023-05-16%20151424.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot%202023-05-16%20151424.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-05-16T07:19:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-05-16T07:19:53+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Wind profiles | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include &quot;udf.h&quot;DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(&quot;flow-time&quot;); real x[ND_ND]; real\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot 2023-05-16 151424.jpg\" \/>\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\\\/wind-profiles\\\/#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\\\/wind-profiles\\\/#listItem\",\"name\":\"Wind profiles\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/wind-profiles\\\/#listItem\",\"position\":3,\"name\":\"Wind profiles\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}}]},{\"@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\\\/wind-profiles\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/wind-profiles\\\/\",\"name\":\"Wind profiles | Ansys Learning Forum\",\"description\":\"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include \\\"udf.h\\\"DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(\\\"flow-time\\\"); real x[ND_ND]; real\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/wind-profiles\\\/#breadcrumblist\"},\"datePublished\":\"2023-05-16T07:19:53+00:00\",\"dateModified\":\"2023-05-16T07:19:53+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":"Wind profiles | Ansys Learning Forum","description":"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include \"udf.h\"DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(\"flow-time\"); real x[ND_ND]; real","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/#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\/wind-profiles\/#listItem","name":"Wind profiles"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/#listItem","position":3,"name":"Wind profiles","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}}]},{"@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\/wind-profiles\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/","name":"Wind profiles | Ansys Learning Forum","description":"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include \"udf.h\"DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(\"flow-time\"); real x[ND_ND]; real","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/#breadcrumblist"},"datePublished":"2023-05-16T07:19:53+00:00","dateModified":"2023-05-16T07:19:53+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":"Wind profiles | Ansys Learning Forum","og:description":"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include &quot;udf.h&quot;DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(&quot;flow-time&quot;); real x[ND_ND]; real","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/","og:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot%202023-05-16%20151424.jpg","og:image:secure_url":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot%202023-05-16%20151424.jpg","article:published_time":"2023-05-16T07:19:53+00:00","article:modified_time":"2023-05-16T07:19:53+00:00","twitter:card":"summary_large_image","twitter:title":"Wind profiles | Ansys Learning Forum","twitter:description":"Hi everyone,I used the UDF file for the Wind direction and speed in transient mode. But the result looks not true while the upper wind speed is much slower than the building surrounding. Below is my script for the UDF.Looking forward for your suggestions.Thanks a lot#include &quot;udf.h&quot;DEFINE_PROFILE(velocity,t,i){ face_t f; real flow_time; flow_time=RP_Get_Real(&quot;flow-time&quot;); real x[ND_ND]; real","twitter:image":"https:\/\/innovationspace.ansys.com\/forum\/forum\/wp-content\/uploads\/sites\/2\/2023\/05\/16-05-2023-1684221313-Screenshot 2023-05-16 151424.jpg"},"aioseo_meta_data":{"post_id":"284150","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:08:49","updated":"2024-10-28 18:08:49","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\tWind profiles\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":"Wind profiles","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/wind-profiles\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["284591","199"],"_bbp_author_ip":["23.39.172.22"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["594"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["284150"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","284591"],"_bbp_voice_count":["2"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["284454"],"_bbp_last_active_id":["284454"],"_bbp_last_active_time":["2023-05-17 13:07:56"]},"test":"anhvukdgmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/284150","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\/284150\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=284150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}