{"id":160163,"date":"2022-09-26T10:00:43","date_gmt":"2022-09-26T10:00:43","guid":{"rendered":"\/knowledge\/forums\/topic\/discovery-aim-tutorial-3d-lid-driven-cavity\/"},"modified":"2023-08-16T06:33:37","modified_gmt":"2023-08-16T06:33:37","slug":"discovery-aim-tutorial-3d-lid-driven-cavity","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/discovery-aim-tutorial-3d-lid-driven-cavity\/","title":{"rendered":"Discovery AIM tutorial &#8211; 3D Lid-Driven Cavity"},"content":{"rendered":"<p><strong>This example is taken from\u00a0<u><a href=\"https:\/\/confluence.cornell.edu\/display\/SIMULATION\/ANSYS+AIM+-+3D+Lid-Driven+Cavity\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Cornell University&#8217;s ANSYS AIM Learning Modules<\/a><\/u><\/strong><\/p>\n<hr \/>\n<nav class=\"toc -selected\">Contents<\/p>\n<ol class=\"toc__section -lev0\">\n<li class=\"toc__item -lev0\">Problem Specification<\/li>\n<li class=\"toc__item -lev0\">Pre-Analysis<\/li>\n<li class=\"toc__item -lev0\">Geometry<\/li>\n<li class=\"toc__item -lev0\">Mesh<\/li>\n<li class=\"toc__item -lev0\">Physics Setup<\/li>\n<li class=\"toc__item -lev0\">Results Evaluation<\/li>\n<li class=\"toc__item -lev0\">Validation<\/li>\n<\/ol>\n<\/nav>\n<h4 content_id=\"problem-specification\" class=\"toc__permalink\" content_id=\"problem-specification\" class=\"toc__permalink\"  id=\"PROBLEM-SPECIFICATION\">Problem Specification<\/h4>\n<p>A cube shaped cavity filled with water, shown below, is subjected to a moving lid at a constant velocity which creates rotating recirculation areas in the fluid contained by the cavity.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157241\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/HM-37.png\" alt=\" width=\"479\" height=\"340\" \/><\/p>\n<p>Plot the velocity vectors, velocity and pressure contours of the cavity as it is subjected to a driving force by the lid.<\/p>\n<hr \/>\n<h4 content_id=\"pre-analysis\" class=\"toc__permalink\" content_id=\"pre-analysis\" class=\"toc__permalink\"  id=\"PRE-ANALYSIS\">Pre-Analysis<\/h4>\n<p><strong>Governing Equation<\/strong><\/p>\n<p>The following nondimensional equations govern conservation of mass and momentum.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157242\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/HM-38.png\" alt=\" width=\"505\" height=\"182\" \/><\/p>\n<p>These equations can be combined in order to create a governing equation that will dictate the flow in our lid-driven box. Below is the equation which was created\u00a0when combining the above.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157244\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/M-39.png\" alt=\" width=\"583\" height=\"57\" \/><\/p>\n<p>The terms on the left govern the net convection flow in the volume while the terms on the right govern net diffusion, with the exception of S which represents source generation of the flow.<\/p>\n<p><strong>Reynold\u2019s Number<\/strong><\/p>\n<p>Using the equation below, the Reynolds number can be calculated for the problem. This will allow us to predict how the flow will behave inside the box before running the simulation. It is specified in the problem that the inside length of the box is 0.1 m and the speed of the lid is 1 m\/s. Since the fluid inside of the box is water, the density is 997.05 kg\/m^3 and the viscosity is 0.00089002 N*s\/m^2. These values can be found online or later on in the Material properties section of the Physics template.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157243\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/HM-39.png\" alt=\" width=\"275\" height=\"59\" \/><\/p>\n<p>The resulting value from the Reynolds number calculation indicates that the flow will be turbulent and will produce multiple eddies.<\/p>\n<hr \/>\n<h4 content_id=\"geometry\" class=\"toc__permalink\" content_id=\"geometry\" class=\"toc__permalink\"  id=\"GEOMETRY\">Geometry<\/h4>\n<p>There are two ways of creating the flow volume which will be tested. The first is to make a cube and the second is to make a hollow box and extract the volume. The first option would be very straight forward, but the second is more realistic in the physical world. This tutorial will explore the latter option.<\/p>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/KdYQurBG15MbDzX7wT8Lyq.html?\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<hr \/>\n<h4 content_id=\"mesh\" class=\"toc__permalink\" content_id=\"mesh\" class=\"toc__permalink\"  id=\"\"><\/h4>\n<p>In this video, you will learn how to specify Boundary layers and generate a tetrahedral mesh.<\/p>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/Z7vjsssqDw6rZnbzfKTVVe.html?\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<hr \/>\n<h4 content_id=\"physics-setup\" class=\"toc__permalink\" content_id=\"physics-setup\" class=\"toc__permalink\"  id=\"PHYSICS-SETUP\">Physics Setup<\/h4>\n<p>In this video, you will learn how to specify a moving wall and symmetry boundary conditions.<\/p>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/nvWHoXu6YWj9BAbG4uxuCk.html?\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<hr \/>\n<h4 content_id=\"results-evaluation\" class=\"toc__permalink\" content_id=\"results-evaluation\" class=\"toc__permalink\"  id=\"RESULTS-EVALUATION\">Results Evaluation<\/h4>\n<p>In this video, you will learn how to view velocity vectors and total pressure within the flow volume.<\/p>\n<p><iframe loading=\"lazy\" class=\"vidyard_iframe\" src=\"\/\/play.vidyard.com\/ZtCQVhBryRLWeMxVyF7Mbj.html?\" width=\"700\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<hr \/>\n<h4 content_id=\"validation\" class=\"toc__permalink\" content_id=\"validation\" class=\"toc__permalink\"  id=\"VALIDATION\">Validation<\/h4>\n<p>One way to verify the AIM solution is to compare it with results from Fluent. Below is the velocity contour of a lid driven cavity done in Fluent in a study called \u201cThree Dimensional Lid Driven Cavity\u201d by Ashok Sivanandham, Boris Makarov and Laith Zori.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157245\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/HM-40.png\" alt=\" width=\"236\" height=\"305\" \/><\/p>\n<p>Below is the velocity contour created by Discovery AIM.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157246\" src=\"\/knowledge\/wp-content\/uploads\/sites\/4\/2022\/08\/HM-41.png\" alt=\" width=\"395\" height=\"396\" \/><\/p>\n<p>By comparing it to the velocity contours, we can see that they are similar. There is an area of high velocity at the top of the box where the wall is moving and a medium velocity at the right wall. Also, there is a spread of low velocity that sweeps the bottom left corner and goes up while there is an area of very low velocity in the center.<\/p>\n","protected":false},"template":"","class_list":["post-160163","topic","type-topic","status-publish","hentry","topic-tag-aim-tutorial","topic-tag-discovery-aim","topic-tag-fluids"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["09-13-2022  20:20:11"],"_bbp_forum_id":["159552"],"_btv_view_count":["2822"],"family":[""],"application_name":[""],"product_version":[""],"_bbp_likes_count":["1"]},"test":"watchlearnansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160163\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=160163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}