


{"id":327546,"date":"2023-12-12T02:31:56","date_gmt":"2023-12-12T02:31:56","guid":{"rendered":"\/forum\/forums\/topic\/hydrostatic-boundary-condition-subsea-vof\/"},"modified":"2023-12-12T02:31:56","modified_gmt":"2023-12-12T02:31:56","slug":"hydrostatic-boundary-condition-subsea-vof","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/hydrostatic-boundary-condition-subsea-vof\/","title":{"rendered":"hydrostatic boundary condition: subsea VOF"},"content":{"rendered":"<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 overflow-x-auto\" data-message-author-role=\"assistant\" data-message-id=\"ce85e463-bb7f-4f83-9718-dc5d742c0f28\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>I am currently working on a Volume of Fluid (VOF) simulation. The setup comprises two inlets: a vertical oil pipe and a horizontal water jet inlet positioned 5 meters above the oil pipe orifice. The domain takes the form of a cylinder with a diameter of 20 meters and a height of 16 meters. The oil pipe has a height of 5 meters, with 1 meter extending into the domain. The water jet pipe is positioned 2 meters away from the center of the oil pipe and extends to the exterior of the domain.<\/p>\n<p>I have simulated this scenario by specifying velocity inlets for both the oil and water jet pipes, setting pressure outlet at the top, and defining the domain sides as walls. Currently, I am exploring the utilization of a hydrostatic boundary condition on the domain sides instead of using a wall. This involves setting say a height of 1000 meters from the base (at 4 meters) to the top (16 meters). The reason is I want to model it in a more realistic way and may include a third phase: gas in subsequent simulations. i have written a udf that would distribute the pressure with atmospheric pressure at the top and increasing linearing down to the bottom of the domain. What is the right approach to hook this to the domain considering the physics and all the other boundary conditions specified at the inlets and outlet?&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"template":"","class_list":["post-327546","topic","type-topic","status-closed","hentry","topic-tag-initial-conditions","topic-tag-transient","topic-tag-udf","topic-tag-vof"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["50079","199"],"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["553"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["327546"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","50079"],"_bbp_voice_count":["2"],"_bbp_reply_count":["11"],"_bbp_last_reply_id":["338716"],"_bbp_last_active_id":["338716"],"_bbp_last_active_time":["2023-12-15 10:07:53"]},"test":"mm2992njit-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/327546","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\/327546\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=327546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}