<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=OpenFOAM-version-9%2FC3%2FSimulating-Natural-Convection-in-a-Cavity%2FEnglish</id>
		<title>OpenFOAM-version-9/C3/Simulating-Natural-Convection-in-a-Cavity/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=OpenFOAM-version-9%2FC3%2FSimulating-Natural-Convection-in-a-Cavity%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenFOAM-version-9/C3/Simulating-Natural-Convection-in-a-Cavity/English&amp;action=history"/>
		<updated>2026-04-10T06:01:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=OpenFOAM-version-9/C3/Simulating-Natural-Convection-in-a-Cavity/English&amp;diff=56806&amp;oldid=prev</id>
		<title>Evan: Created page with &quot;'''Title of the script''': Simulating Natural Convection in a Cavity  '''Author''': Divyesh Variya  '''Keywords''': OpenFOAM, ParaView, CFD, computational fluid dynamics, bloc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=OpenFOAM-version-9/C3/Simulating-Natural-Convection-in-a-Cavity/English&amp;diff=56806&amp;oldid=prev"/>
				<updated>2025-01-28T04:28:18Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of the script&amp;#039;&amp;#039;&amp;#039;: Simulating Natural Convection in a Cavity  &amp;#039;&amp;#039;&amp;#039;Author&amp;#039;&amp;#039;&amp;#039;: Divyesh Variya  &amp;#039;&amp;#039;&amp;#039;Keywords&amp;#039;&amp;#039;&amp;#039;: OpenFOAM, ParaView, CFD, computational fluid dynamics, bloc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of the script''': Simulating Natural Convection in a Cavity&lt;br /&gt;
&lt;br /&gt;
'''Author''': Divyesh Variya&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, CFD, computational fluid dynamics, blockMesh, buoyancy driven flow, heat transfer, natural convection, buoyantSimpleFoam, thermophysical properties, FOSSEE, spoken tutorial, video tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Opening Slide'''&lt;br /&gt;
|| Welcome to the spoken tutorial on '''Simulating Natural Convection in a Cavity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Learning Objective'''&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Set up a case of '''heat transfer''' in '''OpenFOAM'''&lt;br /&gt;
* Simulate a '''buoyancy-driven flow''', and&lt;br /&gt;
* Set up '''thermophysical properties''' in '''OpenFOAM'''&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''System Specifications'''&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 22.04&lt;br /&gt;
* '''OpenFOAM''' version 9&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit''' Text editor&lt;br /&gt;
&lt;br /&gt;
However, you may use any other editor of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Prerequisites'''&lt;br /&gt;
&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorials on https://spoken-tutorial.org&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should have basic knowledge of '''convective heat transfer'''.&lt;br /&gt;
* You should be familiar with '''setting up a case''' in '''OpenFOAM'''.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on this website.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Code Files'''&lt;br /&gt;
|| &lt;br /&gt;
* The files used in this tutorial are available in the '''Code''' '''Files''' link on this tutorial page &lt;br /&gt;
* Please download and extract them&lt;br /&gt;
* Make a copy and then use them while practising&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Natural Convection in a Cavity'''&lt;br /&gt;
|| We will be solving a '''2D flow''' in a square '''cavity'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All '''4 walls''' of the '''cavity''' are '''fixed'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Natural Convection in a Cavity'''&lt;br /&gt;
|| &lt;br /&gt;
* The '''bottom wall''' is maintained at a higher '''temperature''' compared to the '''top wall'''.&lt;br /&gt;
* The '''side walls''' are '''adiabatic'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Natural Convection in a Cavity'''&lt;br /&gt;
|| &lt;br /&gt;
* The '''gravity''' is acting '''downwards''', in the '''negative y-direction'''.&lt;br /&gt;
&lt;br /&gt;
* Inside the '''cavity''', the fluid close to the '''hot wall''' at the '''bottom''' is lighter.&lt;br /&gt;
&lt;br /&gt;
* The fluid close to the '''cold wall''' on '''top''' is heavier.&lt;br /&gt;
&lt;br /&gt;
* This difference in density causes a continuous circulation in the '''cavity'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s '''simulate''' this problem in '''OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Open the '''terminal''' by pressing '''Ctrl''', '''Alt''' and '''T''' keys.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Type the following '''command''' and press '''Enter''' to move into the '''run directory'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Please remember to press the '''Enter''' key after typing each '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''cp -r ~/Downloads/cavityConvection .'''&lt;br /&gt;
|| Let’s copy the case folder that is downloaded and extracted into the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''cd cavityConvection'''&lt;br /&gt;
|| Let’s change the directory to '''cavityConvection''' using the '''cd''' '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Geometry'''&lt;br /&gt;
|| In this '''simulation''', we consider a '''square cavity''' with an edge '''length''' of '''1 m'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Boundaries'''&lt;br /&gt;
|| The '''computational domain''' has 4''' boundaries''', namely '''top''', '''bottom''', '''left''', and '''right'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All 4 '''boundaries''' are '''fixed walls'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''gedit system/blockMeshDict'''&lt;br /&gt;
|| Type the following command to open the '''blockMeshDict''' file in a text editor.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit blockMeshDict]:&lt;br /&gt;
&lt;br /&gt;
Only Narration&lt;br /&gt;
|| We have a '''cubical''' geometry with a single '''block''' and four '''walls'''.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''Ctrl + Q'''&lt;br /&gt;
|| Close this file by pressing '''Ctrl + Q'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: '''Boundary Conditions'''&lt;br /&gt;
|| Let’s look at the '''boundary conditions''' in this simulation.&lt;br /&gt;
&lt;br /&gt;
* The '''bottom hot wall''' is maintained at '''1 K'''.&lt;br /&gt;
* The '''top cold wall''' is maintained at '''0 K'''.&lt;br /&gt;
* The '''left''' and the '''right''' '''walls''' are '''adiabatic'''.&lt;br /&gt;
* Therefore, they have '''zero gradient temperature boundary conditions'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Boundary Conditions'''&lt;br /&gt;
|| The '''boundary conditions '''used in the '''simulation''' are as shown in the table.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''ls 0'''&lt;br /&gt;
|| The '''boundary conditions''' are defined in the '''0 folder'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s view its contents.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''p p_rgh T U'''&lt;br /&gt;
|| You will see two '''pressure files''' along with the '''temperature''' and the '''velocity files'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One is the '''pressure file''', '''p''' and the other is the '''modified pressure file''', '''p_rgh'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''p_rgh'''&lt;br /&gt;
&lt;br /&gt;
* In solvers involving external forces, such as gravity, a modified pressure is used.&lt;br /&gt;
* In this case, a pressure without the hydrostatic pressure is used.&lt;br /&gt;
&lt;br /&gt;
'''Highlight &amp;gt;&amp;gt; p_rgh = p – rho*g*h'''&lt;br /&gt;
&lt;br /&gt;
* It is numerically convenient to solve for this modified pressure term, p_rgh&lt;br /&gt;
* The pressure, p is calculated from the p_rgh pressure&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| &lt;br /&gt;
* In '''solvers''' involving '''body forces''', such as '''gravity''', a '''modified pressure''' is used.&lt;br /&gt;
* In this case, a '''pressure''' without '''hydrostatic pressure''' is used.&lt;br /&gt;
* This '''modified pressure''', '''p_rgh''' is defined as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''p_rgh = p - rho*g*h'''&lt;br /&gt;
* It is numerically convenient to solve for this '''modified pressure''' term, '''p_rgh'''&lt;br /&gt;
* The '''pressure''', '''p''' is calculated from the '''p_rgh pressure'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''gedit 0/T'''&lt;br /&gt;
|| Let’s first open the '''temperature file''', '''T'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''T'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''internalField uniform 1 '''&lt;br /&gt;
|| The '''domain''' is initialized with '''1 K'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''T'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''bottom '''boundary condition&lt;br /&gt;
|| The '''bottom wall''' is maintained at a '''constant temperature''' of '''1 K'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''T'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''top '''boundary condition&lt;br /&gt;
|| The '''top wall''' is maintained at a '''temperature''' of '''0 K'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''T'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
'''left '''&amp;amp;''' right '''boundary condition&lt;br /&gt;
|| The '''left''' and '''right walls''' have '''zero gradient temperature boundary condition'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''T'''] Close the window&lt;br /&gt;
|| Close the '''temperature''' '''file'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''gedit 0/p_rgh'''&lt;br /&gt;
|| Let’s open the '''p_rgh file'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p_rgh'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
all''' walls '''boundary condition&lt;br /&gt;
|| All '''4 walls''' have been assigned the '''fixedFluxPressure''' '''boundary condition'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''fixedFluxPressure'''&lt;br /&gt;
|| The '''fixedFluxPressure boundary condition''' is:&lt;br /&gt;
&lt;br /&gt;
* Analogous to the '''zeroGradient''' '''pressure boundary condition'''&lt;br /&gt;
* Used when '''body forces''' such as '''gravity''' and '''surface tension''' are present&lt;br /&gt;
* It adjusts the '''pressure gradient''' at the '''wall''' based on the '''body forces'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p_rgh'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
all''' walls '''boundary condition&lt;br /&gt;
|| Our '''simulation''' takes '''gravitational''' '''force''' into consideration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, we will use the '''fixedFluxPressure''' condition at the '''walls'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p_rgh'''] Close the window&lt;br /&gt;
|| Close the '''p_rgh''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''gedit 0/p'''&lt;br /&gt;
|| Let’s open the '''pressure '''file,''' p'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
all''' walls '''boundary condition&lt;br /&gt;
|| The '''pressure''' values at the '''boundaries''' are calculated from the '''p_rgh''' values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, all '''4 walls''' have been assigned the '''calculated''' '''boundary condition'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
'''value $internalField;'''&lt;br /&gt;
|| The '''value''' has been specified to be the same as the '''internalField'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Close the window&lt;br /&gt;
|| Close the '''p''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''ls constant'''&lt;br /&gt;
|| Let’s now see the contents of the '''constant''' folder using the '''ls command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''g momentumTransport thermophysicalProperties'''&lt;br /&gt;
|| We see that there are 3 files in the '''constant''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''gedit constant/g'''&lt;br /&gt;
|| Let’s open the '''g '''file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''g'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''dimensions [0 1 -2 0 0 0 0] '''&lt;br /&gt;
|| The '''dimension''' of '''g''' is '''m/s&amp;lt;sup&amp;gt;2'''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''g'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''value (0 -10 0) '''&lt;br /&gt;
|| The '''magnitude''' of '''g''' is '''10''' '''m/s&amp;lt;sup&amp;gt;2'''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''g'''] Close the window&lt;br /&gt;
|| Close the '''g''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''gedit constant/momentumTransport'''&lt;br /&gt;
|| Let’s open the '''momentumTransport '''file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''momentumTransport'''] Highlight: '''simulationType laminar'''&lt;br /&gt;
|| Our '''simulation''' will be a '''laminar''' one.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''momentumTransport'''] Close the window&lt;br /&gt;
|| Close the '''momentumTransport''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''gedit constant/thermophysicalProperties'''&lt;br /&gt;
|| Next, let’s open the '''thermophysicalProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties''']:&lt;br /&gt;
&lt;br /&gt;
Only Narration&lt;br /&gt;
|| In this file, the '''properties''' of the '''fluid''' used in our '''simulation''' are specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll be '''simulating''' the '''flow''' inside the '''cavity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''thermoType''' field &lt;br /&gt;
|| '''OpenFOAM''' contains various '''thermophysical''' modelling packages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''thermoType''' assembles the various '''thermophysical''' modelling packages.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''additional reading material''' has more details on the '''thermophysical''' modelling packages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to it.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Fluid Properties'''&lt;br /&gt;
|| The various properties used in this '''simulation''' are shown in the table.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''equationOfState Boussinesq''' &lt;br /&gt;
|| We’ll be using the '''Boussinesq approximation''' for the '''equation of state'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: '''Boussinesq Approximation'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Higlight: '''equation from slide in 3rd point&lt;br /&gt;
|| The '''Boussinesq approximation''' is: &lt;br /&gt;
* Used in '''buoyancy-driven flows'''.&lt;br /&gt;
* It acts as an '''equation of state''' while solving the '''governing equations'''&lt;br /&gt;
* Mathematically, it defines the '''density field''' as shown in the equation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Boussinesq Approximation'''&lt;br /&gt;
|| '''Where, the reference density''' and '''coefficient of volumetric expansion''' are properties of fluid.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Reference Temperature'''&lt;br /&gt;
|| The '''reference temperature''' is taken to be the '''average''' of '''hot''' and '''cold''' '''wall temperatures'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the '''reference temperature''' for our '''simulation''' is '''0.5 K'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''additional reading material''' has more details on the '''Boussinesq approximation'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to it.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''molWeight 28.9 '''&lt;br /&gt;
|| The '''molecular weight''' of the''' '''fluid is specified as '''28.9 g/mol'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''rho0 1;'''&lt;br /&gt;
&lt;br /&gt;
'''T0 0.5; '''&lt;br /&gt;
|| For the fluid in our '''simulation''', the '''reference density''' is specified to be '''1 kg/m&amp;lt;sup&amp;gt;3'''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the '''reference density''' at a '''reference temperature''' of '''0.5 K'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''beta 3.4e-02 '''&lt;br /&gt;
|| The '''coefficient of volumetric expansion''' is '''3.4X10&amp;lt;sup&amp;gt;-2&amp;lt;/sup&amp;gt; K&amp;lt;sup&amp;gt;-1'''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''Cp 1000 '''&lt;br /&gt;
|| The '''specific heat at constant pressure''' is taken to be '''1000 kJ/kg-K'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''Hf 0 '''&lt;br /&gt;
|| Since no '''phase change''' is considered in this '''simulation''', the '''heat of fusion''' is '''0'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Highlight: '''transport'''&lt;br /&gt;
&lt;br /&gt;
'''{'''&lt;br /&gt;
&lt;br /&gt;
'''mu 4.91e-03;'''&lt;br /&gt;
&lt;br /&gt;
'''Pr 0.71;'''&lt;br /&gt;
&lt;br /&gt;
'''} '''&lt;br /&gt;
|| For '''transport properties''', '''dynamic viscosity''' and '''Prandtl number''' are to be specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are specified as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''thermophysicalProperties'''] Close the window&lt;br /&gt;
|| Close the '''thermophysicalProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''Ctrl + L'''&lt;br /&gt;
|| Clear the screen by pressing '''Ctrl''' and '''L''' keys together.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''blockMesh'''&lt;br /&gt;
|| Let’s '''mesh''' the geometry using the '''blockMesh''' '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''buoyantSimpleFoam'''&lt;br /&gt;
|| We will be using the '''buoyantSimpleFoam''' solver in this simulation.&lt;br /&gt;
&lt;br /&gt;
* It is a '''steady-state''' '''compressible flow '''solver for '''buoyant''' and '''turbulent flows'''.&lt;br /&gt;
* It solves the '''mass''', '''momentum''' and '''energy equations''' along with an '''equation of state'''.&lt;br /&gt;
* The '''equation of state''' we have considered is based on the '''Boussinesq approximation'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''buoyantSimpleFoam'''&lt;br /&gt;
|| Let’s start the '''simulation''' using the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''simulation''' may take some time to complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: '''End'''&lt;br /&gt;
|| The '''simulation''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: '''paraFoam'''&lt;br /&gt;
|| Let’s view the simulated results in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Properties''' '''Tab'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| Click on the '''Apply''' button to view the geometry.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Active Variable Controls'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''vtkBlockColors''' &amp;gt;&amp;gt; Click on '''U '''&lt;br /&gt;
|| Let’s view the '''velocity contours''' for the simulation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''vtkBlockColors''' dropdown in the '''Active Variable Controls''' and select '''U'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''VCR Controls'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Last Frame '''&lt;br /&gt;
|| Let’s view the '''contours''' at the end of the simulation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Last Frame''' button in the '''VCR Controls'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Rescale to Visible Data Range '''&lt;br /&gt;
|| Click on the '''Rescale to Visible Data Range.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Layout Window'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to Circulation&lt;br /&gt;
|| We can see the '''steady-state circulation''' in the cavity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is an example of the '''Rayleigh-Benard convection'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Close ParaView'''&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: &lt;br /&gt;
&lt;br /&gt;
'''Summary'''&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Set up a case of '''heat transfer''' in '''OpenFOAM'''&lt;br /&gt;
* Simulate a '''buoyancy-driven flow''', and&lt;br /&gt;
* Set up '''thermophysical properties''' in '''OpenFOAM'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: '''Assignment'''&lt;br /&gt;
|| As an assignment:* Increase the '''length''' of the '''cavity''' in the '''x-direction''' to '''2 m'''&lt;br /&gt;
* Keep all the other parameters unaltered in your '''simulation'''&lt;br /&gt;
* '''Simulate''' the '''flow '''in this '''rectangular cavity'''&lt;br /&gt;
* View the '''steady-state velocity contours'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: '''About the Spoken Tutorial Project'''&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: '''Spoken Tutorial Workshops'''&lt;br /&gt;
|| We conduct workshops using Spoken Tutorials and give certificates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please contact us.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: '''Spoken Tutorial Forum'''&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: '''FOSSEE Forum'''&lt;br /&gt;
|| * Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in the link.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: '''FOSSEE Case Study Project'''&lt;br /&gt;
|| * The FOSSEE team coordinates solving feasible CFD problems of reasonable complexity using OpenFOAM.&lt;br /&gt;
* We give honorarium and certificates to those who do this.&lt;br /&gt;
* For more details, please visit these sites.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: '''Acknowledgements'''&lt;br /&gt;
|| The Spoken Tutorial project was established by the Ministry of Education, Govt. of India.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| This tutorial is contributed by Diveysh variya, Aabhushan Regmi, Biraj Khadka, and Payel Mukharjee.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Evan</name></author>	</entry>

	</feed>