


{"id":168347,"date":"2022-04-11T08:11:14","date_gmt":"2022-04-11T08:11:14","guid":{"rendered":"\/forum\/forums\/topic\/defining-gravity-as-a-source-term\/"},"modified":"2022-04-15T21:33:14","modified_gmt":"2022-04-15T21:33:14","slug":"defining-gravity-as-a-source-term","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/defining-gravity-as-a-source-term\/","title":{"rendered":"Defining Gravity as a Source Term"},"content":{"rendered":"<div class=\"Item-Body\">\n<div class=\"Message userContent\">\n<p>Hello all, <\/p>\n<p>I am running a simulation in natural convection where I am adding momentum source terms. In order to check how these terms are added in the simulation, I ran a first case where I defined a gravity term &quot;-rho*9.81&quot; and assigned it to a X-momentum source term, where rho is a polynomial function of temperature. I noticed that I don&#039;t obtain the same solution as the case where gravity is assigned by enabling the &quot;Gravity&quot; in &quot;General&quot; and imposing -9.81 m s^-2 in X componant (I am running in 2D-Axisymmetric) <\/p>\n<p>I ran different cases where I defined the density differently, and each time, the only difference is between the cases with gravity as source terme and gravity in the &quot;Gravity&quot; box. <\/p>\n<p>Is the gravity term treated differently when assigned in &quot;General&quot;&#8211;&gt;&quot;Gravity&quot; and as a source term? any correction factors added or interpolations? <\/p>\n<p><\/p>\n<\/p>\n<p>Thank you<\/p>\n","protected":false},"template":"","class_list":["post-168347","topic","type-topic","status-closed","hentry","topic-tag-density","topic-tag-gravity-1","topic-tag-natural-convection","topic-tag-source-term"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_btv_view_count":["862"],"_bbp_likes_count":["0"],"_bbp_subscription":["253243"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["168347"],"_bbp_forum_id":["27792"],"_bbp_engagement":["25","167620","253243"],"_bbp_voice_count":["3"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["211418"],"_bbp_last_active_id":["211418"],"_bbp_last_active_time":["2022-04-15 21:33:14"]},"test":"zgour-hajargmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/168347","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\/168347\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=168347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}