


{"id":41535,"date":"2020-03-05T19:27:31","date_gmt":"2020-03-05T19:27:31","guid":{"rendered":"\/forum\/forums\/topic\/how-to-add-time-dependent-velocity-expression-for-magnitude-of-an-inlet\/"},"modified":"2020-03-05T19:27:31","modified_gmt":"2020-03-05T19:27:31","slug":"how-to-add-time-dependent-velocity-expression-for-magnitude-of-an-inlet","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/how-to-add-time-dependent-velocity-expression-for-magnitude-of-an-inlet\/","title":{"rendered":"How to add time dependent velocity expression for magnitude of an inlet?"},"content":{"rendered":"<p>Hi friends,<br \/>so I have a fairly simple setup: I have 3 bottom inlets that let hot water (370 Kelvin) flow into colder water (280 Kelvin).<\/p>\n<p><\/p>\n<p>Currently I have the velocity magnitude set to 0.3 m\/s but now I would like to make it time dependent.&nbsp;&nbsp;<br \/>As a first step I simply want to set the velocity magnitude of the inlets to equal the time in s.&nbsp;&nbsp;<br \/>How would I go on about doing that. I already looked in the users guide but honestly couldn&#8217;t really find anything and google was of no help either.&nbsp;&nbsp;<br \/>How do I reference t (in seconds) in the simulation?&nbsp;&nbsp;<br \/>The expression should basically look like this:&nbsp; &#8220;t [m s^-1]&#8221; but that results in an error.&nbsp;&nbsp;<br \/>Can anyone help me out?<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/f8f67298-b4a5-441d-be70-ab5e010805c4\/8bfdf397-fb02-4294-ac51-ab75014111e2_screenshot-2.jpg?width=690&amp;upscale=false\" alt=\"\"><\/p>\n<p><\/p>\n<p>Edit. So in the end I would like to make a velocity magnitude that appears somewhat random. So that the inlet always keeps changing its velocity every time step; maybe between 0 &#8211; 1 m\/s<\/p>\n","protected":false},"template":"","class_list":["post-41535","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["13715"],"_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":["2753"],"_bbp_subscription":["247412"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["41535"],"_bbp_forum_id":["27792"],"_bbp_engagement":["25","173151"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["107058"],"_bbp_last_active_id":["107058"],"_bbp_last_active_time":["2020-03-05 20:46:36"]},"test":"kasambila"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/41535","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\/41535\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=41535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}