<?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/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ashleymelvin</id>
		<title>Script | Spoken-Tutorial - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ashleymelvin"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/Special:Contributions/Ashleymelvin"/>
		<updated>2026-04-29T15:23:35Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English"/>
				<updated>2020-09-17T06:03:48Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Setting-up a test case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, lid driven cavity, pre-processing, blockMesh, controlDict, post-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Setting up a test case in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Set up a '''case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
You may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with basic '''Linux commands'''.&lt;br /&gt;
* If not, please go through the prerequisite '''Linux '''tutorials on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Lid Driven Cavity&lt;br /&gt;
|| In this tutorial, we will learn to set up the '''lid driven cavity case'''.&lt;br /&gt;
&lt;br /&gt;
'''Lid driven cavity''' is one of the most widely used '''2D test cases''' for the validation of a '''CFD '''code.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Diagram&lt;br /&gt;
|| This is the diagram of '''Lid Driven Cavity Flow'''.&lt;br /&gt;
&lt;br /&gt;
It consists of 3 fixed walls and a moving top wall.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing the '''Ctrl, Alt '''and''' T''' keys together.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
'''mkdir -p $FOAM_RUN'''&lt;br /&gt;
|| Now, let’s create a '''RUN directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the '''command''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight&lt;br /&gt;
&lt;br /&gt;
'''FOAM_RUN'''&lt;br /&gt;
|| '''Tutorial cases''' will later be copied into the '''RUN directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Go to the '''RUN directory''' using the '''cd command'''.&lt;br /&gt;
&lt;br /&gt;
Now our present working directory is the '''RUN directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| '''OpenFOAM''' installation comes with a set of '''test cases'''.&lt;br /&gt;
&lt;br /&gt;
The '''tutorials directory''' contains these '''test cases'''. &lt;br /&gt;
&lt;br /&gt;
The '''Lid driven cavity case''' already exists inside the '''tutorials directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .'''&lt;br /&gt;
|| We’ll now copy the '''Lid driven cavity case''' from the '''tutorials directory''' into the '''RUN directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: blockMesh&lt;br /&gt;
|| &lt;br /&gt;
* The '''mesh generator''' for '''OpenFOAM''' is a utility called '''blockMesh'''.&lt;br /&gt;
* The '''input dictionary''' for '''blockMesh''' utility is '''blockMeshDict'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit cavity/system/blockMeshDict'''&lt;br /&gt;
|| The '''blockMeshDict''' file is located in the '''system''' folder.&lt;br /&gt;
&lt;br /&gt;
Open the '''blockMeshDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
vertices, blocks, edges and boundary&lt;br /&gt;
|| Now let’s look at the contents of the file.&lt;br /&gt;
&lt;br /&gt;
The '''blockMeshDict''' contains details of the geometry like vertices, blocks, edges and boundaries.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Close the window&lt;br /&gt;
|| Close the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd cavity/0'''&lt;br /&gt;
|| The '''0''' folder contains the '''initial''' and '''boundary conditions''' for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to move into the '''0''' folder inside the '''cavity case directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' and press '''Enter''' to view the files in the '''0''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''p''' and '''U''' &lt;br /&gt;
|| The '''0''' folder contains the '''kinematic pressure file p''' and the '''velocity file U'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit p'''&lt;br /&gt;
|| Open the '''kinematic pressure file p''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''p''' file contains the '''initial''' and '''boundary conditions''' of '''kinematic pressure'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''dimensions [0 2 -2 0 0 0 0] '''&lt;br /&gt;
|| The '''dimensions''' of '''kinematic pressure''' is meter squared per second squared. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''internalField '''&lt;br /&gt;
|| The '''internalField''' defines the values in the interior of the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform 0'''&lt;br /&gt;
|| The initial field is set as '''0 kinematic pressure'''.&lt;br /&gt;
&lt;br /&gt;
This field is '''uniform''' across the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
Both the '''zeroGradient'''&lt;br /&gt;
|| You can see that all walls are imposed with a '''zero gradient pressure boundary condition'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Close the window&lt;br /&gt;
|| Let us close the '''p''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit U'''&lt;br /&gt;
|| Now open the '''velocity file U''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''U file''' contains the '''initial''' and '''boundary conditions''' of '''velocity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform (1 0 0);'''&lt;br /&gt;
|| You can see that the moving wall is imposed with a '''velocity''' of '''1 m/s''' in the x direction.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''noSlip '''&lt;br /&gt;
|| Also notice that the '''no-slip condition''' is imposed on the three fixed walls.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Close the window&lt;br /&gt;
|| Now let us close the '''U''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| We’ll go back to the '''cavity''' folder.&lt;br /&gt;
&lt;br /&gt;
Type '''cd (space)(dot)(dot)'''&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit constant/transportProperties'''&lt;br /&gt;
|| Next, we will view the '''transport properties file '''which is in the '''constant '''folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''nu '''&lt;br /&gt;
|| The '''transportProperties''' file contains the details of '''kinematic viscosity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''[0 2 -1 0 0 0 0] '''&lt;br /&gt;
|| The dimensions of '''kinematic viscosity''' is meter squared per second.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Kinematic Viscosity&lt;br /&gt;
|| &lt;br /&gt;
The '''kinematic viscosity''' is defined by:&lt;br /&gt;
'''''nu'' equals magnitude of ''U'' times ''d'' by ''Re'''''&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
*'''velocity''' is '''1 m per second'''&lt;br /&gt;
*characteristic length is '''0.1 meters'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''Reynolds number (Re)''' for the '''flow''' is taken as '''10'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''kinematic viscosity''' is therefore '''0.01 meter squared per second'''&lt;br /&gt;
|- &lt;br /&gt;
|| Narration Only&lt;br /&gt;
|| Now let me switch back to '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''0.01'''&lt;br /&gt;
|| The value of '''kinematic viscosity''' is indicated in the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Close the window&lt;br /&gt;
|| Close the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd system'''&lt;br /&gt;
|| To move into the '''system''' folder, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' to view the contents of the '''system''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict controlDict fvSchemes fvSolution''' &lt;br /&gt;
|| The '''system''' folder contains the following files:&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict, controlDict, fvSchemes''' and '''fvSolution'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSchemes'''&lt;br /&gt;
|| The '''fvSchemes dictionary''' contains the '''finite volume discretisation schemes'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSolution'''&lt;br /&gt;
|| The '''fvSolution dictionary''' contains the '''linear equation solvers''' and '''tolerances'''.&lt;br /&gt;
&lt;br /&gt;
It contains other '''algorithm controls''' as well.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''controlDict'''&lt;br /&gt;
|| The '''controlDict dictionary''' contains the '''simulation control parameters'''. &lt;br /&gt;
&lt;br /&gt;
The '''dictionary''' input includes the '''control''' of '''time''' and '''reading''' and '''writing''' of the '''solution data'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''gedit controlDict'''&lt;br /&gt;
|| Let’s open the '''controlDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startFrom '''and '''startTime'''&lt;br /&gt;
|| The '''start '''and''' stop times''' and the '''time step''' for the '''run''' must be set.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startTime''' '''0;'''&lt;br /&gt;
|| The '''start time''' is set at '''0''' seconds.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''stopAt''' '''endTime;'''&lt;br /&gt;
|| The time at which the '''simulation''' stops, is specified using the '''keyword stopAt'''.&lt;br /&gt;
&lt;br /&gt;
Here, '''stopAt''' is specified using the keyword '''endTime'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''endTime''' '''0.5;'''&lt;br /&gt;
|| The '''endTime''' is set at '''0.5 seconds'''.&lt;br /&gt;
&lt;br /&gt;
This means that '''simulation''' stops after '''0.5 seconds'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''deltaT 0.005;'''&lt;br /&gt;
|| The value of the '''keyword deltaT''' defines the '''time step''' for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
The '''time step''' for the current '''simulation''' is set as '''0.005 seconds'''.&lt;br /&gt;
&lt;br /&gt;
'''Temporal accuracy''' and '''numerical stability''' is essential while running the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To achieve this, a''' Courant number''' of less than 1 is required.&lt;br /&gt;
&lt;br /&gt;
Keeping this in mind, the '''time step''' is set to '''0.005 seconds'''.&lt;br /&gt;
&lt;br /&gt;
Please refer to the '''additional reading material''' on this tutorial page for details.&lt;br /&gt;
&lt;br /&gt;
It mentions the steps used to calculate the '''time-step'''. &lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''application''' '''icoFoam'''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|| '''icoFoam''' is the '''OpenFOAM solver''' used to '''simulate''' the '''lid driven cavity flow'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Close the window&lt;br /&gt;
|| Close the '''controlDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| Go back to the '''cavity''' folder using '''cd command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''blockMesh''' &amp;gt;&amp;gt; '''Enter'''&lt;br /&gt;
|| Type the '''command blockMesh''' and press '''Enter''' to '''mesh''' the geometry.&lt;br /&gt;
&lt;br /&gt;
The '''command''' takes input from the '''blockMeshDict dictionary''' and creates the geometry and '''meshes''' it.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''icoFoam'''&lt;br /&gt;
|| The '''lid driven cavity flow''' is an '''incompressible flow'''.&lt;br /&gt;
&lt;br /&gt;
It is solved using the''' OpenFOAM solver icoFoam.'''&lt;br /&gt;
&lt;br /&gt;
To start the '''simulation''', type '''icoFoam''' in the '''terminal.''' &lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The iterations are now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| Let us view the '''simulated''' results in '''ParaView'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, type '''paraFoam''' in the '''terminal.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Properties''' Tab&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| In the '''ParaView''' window, go to the '''Properties''' tab on the left.&lt;br /&gt;
&lt;br /&gt;
Then click on the green coloured '''Apply '''button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Click on '''vtkBlockColors''' &amp;gt;&amp;gt; Click on '''U'''&lt;br /&gt;
|| Go to the '''Active Variable Controls '''at the top. &lt;br /&gt;
&lt;br /&gt;
Click on the '''vtkBlockColors''' dropdown and select '''U'''.&lt;br /&gt;
&lt;br /&gt;
Ensure that you click on the '''U''' option with a '''point icon''' and not the '''box icon''', in the dropdown.&lt;br /&gt;
&lt;br /&gt;
The '''box icon''' would display '''contours''' without any grading.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity contour''' at the start of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Go to '''VCR Controls''' and click on the '''Play''' Button&lt;br /&gt;
|| Let us see how the '''velocity contours''' develop through the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To do so, go to the '''VCR Controls''' and click on the '''Play''' button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Final Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity contour''' at the end of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| To summarise, in this tutorial we have learnt to:&lt;br /&gt;
* Set up a''' case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&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;
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;
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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</id>
		<title>OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English"/>
				<updated>2020-09-08T21:07:35Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Overview of OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM version 7, ParaView, CFD, computational fluid dynamics, blockMesh, snappyHexMesh, solver, FOSSEE, spoken tutorial, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Overview of OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn about:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| To work with '''OpenFOAM''' you should have basic knowledge of''' computational fluid dynamics'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Throughout this series, we will be using:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM®&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| '''OpenFOAM®''' stands for&lt;br /&gt;
* '''Open source Field Operation And Manipulation'''&lt;br /&gt;
* It is licensed under '''GNU General Public Licence '''by '''OpenCFD Ltd'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Henceforth, in this series, whenever '''OpenFOAM''' is mentioned it indicates '''OpenFOAM®'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is an '''Open source Computational Fluid Dynamics''' software.&lt;br /&gt;
* It is a '''CFD toolbox''' written in '''C++'''.&lt;br /&gt;
* It has an '''Object Oriented Programming''' interface.&lt;br /&gt;
* '''OpenFOAM''' is available for '''Linux''', '''Mac''' and '''Windows''' operating systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: OpenFOAM Capabilities &lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is a '''Finite Volume '''based''' CFD''' software.&lt;br /&gt;
* It uses both &lt;br /&gt;
** '''Structured''', and &lt;br /&gt;
** '''Unstructured '''grid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Generation&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' has an '''in-built mesh''' '''generation tool''' called '''blockMesh'''.&lt;br /&gt;
* It is used for '''structured meshing''' of simple geometries.&lt;br /&gt;
* '''OpenFOAM''' also has an advanced '''meshing tool''' called '''snappyHexMesh'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Conversion&lt;br /&gt;
|| '''OpenFOAM''' allows importing '''mesh''' from other '''packages''' like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''ANSYS''',&lt;br /&gt;
* '''Fluent''',&lt;br /&gt;
* '''CFX''',&lt;br /&gt;
* '''Gmsh''', &lt;br /&gt;
* '''STAR-CD''' etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imported '''mesh''' can be converted to the format '''OpenFOAM''' uses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example, a '''fluent mesh''' is converted using the '''fluentMeshToFoam''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Solvers&lt;br /&gt;
|| Using '''OpenFOAM''' one can solve problems in:&lt;br /&gt;
* '''Incompressible flows'''&lt;br /&gt;
* '''Compressible flows'''&lt;br /&gt;
* '''Multiphase flows'''&lt;br /&gt;
* '''Heat transfer'''&lt;br /&gt;
* '''Combustion systems'''&lt;br /&gt;
* '''Molecular dynamics'''&lt;br /&gt;
* '''Magnetohydrodynamic flows'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and many other domains.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: ParaView&lt;br /&gt;
||&lt;br /&gt;
* Visualizing the simulated results comes under the '''post-processing''' stage.&lt;br /&gt;
* '''ParaView''' is the most commonly used software for '''post-processing OpenFOAM''' results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Now, let’s briefly go through various tutorials available in this series.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
(01: 50 - 01:55)&lt;br /&gt;
|| We first have the tutorial on installing '''OpenFOAM''' and '''ParaView''' in '''Ubuntu Linux OS'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Setting-up a Test Case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(04:20 - 04:25) &amp;gt;&amp;gt; (10:06 - 10:11)&lt;br /&gt;
|| After this, we’ll see how to set up and view the files of an '''OpenFOAM case'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''run''' the '''case''' and visualise the results in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating a 2D channel geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(05:40 - 05:45) &amp;gt;&amp;gt; (10:25 - 10:30)&lt;br /&gt;
|| In the next tutorial, we’ll see how to create a geometry and '''mesh''' using the '''blockMesh''' utility.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to view the '''mesh''' in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(03:17 - 03:22) &amp;gt;&amp;gt; (09:31 - 09:36)&lt;br /&gt;
|| This is followed by the tutorial on creating a geometry with multiple '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how to '''mesh''' each '''block''' separately and '''refine cells''' locally.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating 3D pipe geometry and mesh in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(02:05 - 02:10) &amp;gt;&amp;gt; (06:14 - 06:19)&lt;br /&gt;
|| Next, we’ll see how to create a '''mesh''' for a cylindrical pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how '''curved edges''' are defined using the '''blockMesh''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulating Hagen-Poiseuille flow through a Pipe&lt;br /&gt;
&lt;br /&gt;
(07:20 - 07:25) &amp;gt;&amp;gt; (12:04 - 12:09)&lt;br /&gt;
|| Then, we’ll simulate the '''flow''' through a pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also compare the results from '''simulation''' with the analytical solution.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Basic Post-processing using ParaView&lt;br /&gt;
&lt;br /&gt;
(04:23 - 04:26) &amp;gt;&amp;gt; (07:00 - 07:05)&lt;br /&gt;
|| The results from the '''pipe flow simulation''' are viewed in detail in '''ParaView''' in this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''plot''' the results in '''ParaView'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulation of Turbulent Flow in a 2D Channel in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:00 - 07:05)&lt;br /&gt;
|| In the next tutorial, we’ll learn how to use a '''turbulence model''' in a '''simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Turbulence Modelling in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(12:00 - 12:05)&lt;br /&gt;
|| We will then compare the results from a '''simulation''' using three different '''turbulence models'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Grid Resolution and Convergence in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:53 - 07:58)&lt;br /&gt;
|| We also have a tutorial detailing the steps to establish '''grid independence'''.&lt;br /&gt;
|- &lt;br /&gt;
|| OpenFOAM version 7 Spoken Tutorial Page&lt;br /&gt;
|| Later on, there will be more tutorials in this series. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please check the '''Spoken Tutorial website''' regularly for the latest topics.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt about:&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Forum to answer questions&lt;br /&gt;
||&lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Textbook Companion&lt;br /&gt;
||&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: Acknowledgment&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</id>
		<title>OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English"/>
				<updated>2020-09-08T20:32:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Overview of OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM version 7, ParaView, CFD, computational fluid dynamics, blockMesh, snappyHexMesh, solver, FOSSEE, spoken tutorial, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Overview of OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn about:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| To work with '''OpenFOAM''' you should have basic knowledge of''' computational fluid dynamics'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Throughout this series, we will be using:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM®&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| '''OpenFOAM®''' stands for&lt;br /&gt;
* '''Open source Field Operation And Manipulation'''&lt;br /&gt;
* It is licensed under '''GNU General Public Licence '''by '''OpenCFD Ltd'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Henceforth, in this series, whenever '''OpenFOAM''' is mentioned it indicates '''OpenFOAM®'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is an '''Open source Computational Fluid Dynamics''' software.&lt;br /&gt;
* It is a '''CFD toolbox''' written in '''C++'''.&lt;br /&gt;
* It has an '''Object Oriented Programming''' interface.&lt;br /&gt;
* '''OpenFOAM''' is available for '''Linux''', '''Mac''' and '''Windows''' operating systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: OpenFOAM Capabilities &lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is a '''Finite Volume '''based''' CFD''' software.&lt;br /&gt;
* It uses both &lt;br /&gt;
** '''Structured''', and &lt;br /&gt;
** '''Unstructured '''grid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Generation&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' has an '''in-built mesh''' '''generation tool''' called '''blockMesh'''.&lt;br /&gt;
* It is used for '''structured meshing''' of simple geometries.&lt;br /&gt;
* '''OpenFOAM''' also has an advanced '''meshing tool''' called '''snappyHexMesh'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Conversion&lt;br /&gt;
|| '''OpenFOAM''' allows importing '''mesh''' from other '''packages''' like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''ANSYS''',&lt;br /&gt;
* '''Fluent''',&lt;br /&gt;
* '''CFX''',&lt;br /&gt;
* '''Gmsh''', &lt;br /&gt;
* '''STAR-CD''' etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imported '''mesh''' can be converted to the format '''OpenFOAM''' uses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example, a '''fluent mesh''' is converted using the '''fluentMeshToFoam''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Solvers&lt;br /&gt;
|| Using '''OpenFOAM''' one can solve problems in:&lt;br /&gt;
* '''Incompressible flows'''&lt;br /&gt;
* '''Compressible flows'''&lt;br /&gt;
* '''Multiphase flows'''&lt;br /&gt;
* '''Heat transfer'''&lt;br /&gt;
* '''Combustion systems'''&lt;br /&gt;
* '''Molecular dynamics'''&lt;br /&gt;
* '''Magnetohydrodynamic flows'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and many other domains.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: ParaView&lt;br /&gt;
||&lt;br /&gt;
* Visualizing the simulated results comes under the '''post-processing''' stage.&lt;br /&gt;
* '''ParaView''' is the most commonly used software for '''post-processing OpenFOAM''' results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Now, let’s briefly go through various tutorials available in this series.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
(01: 50 - 01:55)&lt;br /&gt;
|| We first have the tutorial on installing '''OpenFOAM''' and '''ParaView''' in '''Ubuntu Linux OS'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Setting-up a Test Case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(04:20 - 04:25) &amp;gt;&amp;gt; (10:06 - 10:11)&lt;br /&gt;
|| After this, we’ll see how to set up and view the files of an '''OpenFOAM case'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''run''' the '''case''' and visualise the results in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating a 2D channel geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(05:40 - 05:45) &amp;gt;&amp;gt; (10:25 - 10:30)&lt;br /&gt;
|| In the next tutorial, we’ll see how to create a geometry and '''mesh''' using the '''blockMesh''' utility.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to view the '''mesh''' in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(03:17 - 03:22) &amp;gt;&amp;gt; (09:31 - 09:36)&lt;br /&gt;
|| This is followed by the tutorial on creating a geometry with multiple '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how to '''mesh''' each '''block''' separately and '''refine cells''' locally.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating 3D pipe geometry and mesh in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(02:05 - 02:10) &amp;gt;&amp;gt; (06:14 - 06:19)&lt;br /&gt;
|| Next, we’ll see how to create a '''mesh''' for a cylindrical pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how '''curved edges''' are defined using the '''blockMesh''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulating Hagen-Poiseuille flow through a Pipe&lt;br /&gt;
&lt;br /&gt;
(07:20 - 07:25) &amp;gt;&amp;gt; (12:04 - 12:09)&lt;br /&gt;
|| Then, we’ll simulate the '''flow''' through a pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also compare the results from '''simulation''' with the analytical solution.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Basic Post-processing using ParaView&lt;br /&gt;
&lt;br /&gt;
(04:23 - 04:26) &amp;gt;&amp;gt; (07:00 - 07:05)&lt;br /&gt;
|| The results from the '''pipe flow simulation''' are viewed in detail in '''ParaView''' in this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''plot''' the results in '''ParaView'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulation of Turbulent Flow in a 2D Channel in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:00 - 07:05)&lt;br /&gt;
|| In the next tutorial, we’ll learn how to use a '''turbulence model''' in a '''simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Turbulence Modelling in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(12:00 - 12:05)&lt;br /&gt;
|| We will then compare the results from a '''simulation''' using three different '''turbulence models'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Grid Resolution and Convergence in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:53 - 07:58)&lt;br /&gt;
|| We also have a tutorial detailing the steps to establish '''grid independence'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Later on, there will be more tutorials in this series. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please check the '''Spoken Tutorial website''' regularly for the latest topics.&lt;br /&gt;
|- &lt;br /&gt;
|| OpenFOAM version 7 Spoken Tutorial Page&lt;br /&gt;
|| With this we have come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt about:&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Forum to answer questions&lt;br /&gt;
||&lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Textbook Companion&lt;br /&gt;
||&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: Acknowledgment&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</id>
		<title>OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English"/>
				<updated>2020-09-08T20:29:57Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Overview of OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM version 7, ParaView, CFD, computational fluid dynamics, blockMesh, snappyHexMesh, solver, FOSSEE, spoken tutorial, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Overview of OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn about:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| To work with '''OpenFOAM''' you should have basic knowledge of''' computational fluid dynamics'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Throughout this series, we will be using:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM®&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| '''OpenFOAM®''' stands for * '''Open source Field Operation And Manipulation'''&lt;br /&gt;
* It is licensed under '''GNU General Public Licence '''by '''OpenCFD Ltd'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Henceforth, in this series, whenever '''OpenFOAM''' is mentioned it indicates '''OpenFOAM®'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is an '''Open source Computational Fluid Dynamics''' software.&lt;br /&gt;
* It is a '''CFD toolbox''' written in '''C++'''.&lt;br /&gt;
* It has an '''Object Oriented Programming''' interface.&lt;br /&gt;
* '''OpenFOAM''' is available for '''Linux''', '''Mac''' and '''Windows''' operating systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: OpenFOAM Capabilities &lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is a '''Finite Volume '''based''' CFD''' software.&lt;br /&gt;
* It uses both &lt;br /&gt;
** &amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;'''Structured''', and &lt;br /&gt;
** &amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;'''Unstructured '''grid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Generation&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' has an '''in-built mesh''' '''generation tool''' called '''blockMesh'''.&lt;br /&gt;
* It is used for '''structured meshing''' of simple geometries.&lt;br /&gt;
* '''OpenFOAM''' also has an advanced '''meshing tool''' called '''snappyHexMesh'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Conversion&lt;br /&gt;
|| '''OpenFOAM''' allows importing '''mesh''' from other '''packages''' like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''ANSYS''',&lt;br /&gt;
* '''Fluent''',&lt;br /&gt;
* '''CFX''',&lt;br /&gt;
* '''Gmsh''', &lt;br /&gt;
* '''STAR-CD''' etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imported '''mesh''' can be converted to the format '''OpenFOAM''' uses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example, a '''fluent mesh''' is converted using the '''fluentMeshToFoam''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Solvers&lt;br /&gt;
|| Using '''OpenFOAM''' one can solve problems in:&lt;br /&gt;
* '''Incompressible flows'''&lt;br /&gt;
* '''Compressible flows'''&lt;br /&gt;
* '''Multiphase flows'''&lt;br /&gt;
* '''Heat transfer'''&lt;br /&gt;
* '''Combustion systems'''&lt;br /&gt;
* '''Molecular dynamics'''&lt;br /&gt;
* '''Magnetohydrodynamic flows'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and many other domains.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: ParaView&lt;br /&gt;
||&lt;br /&gt;
* Visualizing the simulated results comes under the '''post-processing''' stage.&lt;br /&gt;
* '''ParaView''' is the most commonly used software for '''post-processing OpenFOAM''' results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Now, let’s briefly go through various tutorials available in this series.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
(01: 50 - 01:55)&lt;br /&gt;
|| We first have the tutorial on installing '''OpenFOAM''' and '''ParaView''' in '''Ubuntu Linux OS'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Setting-up a Test Case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(04:20 - 04:25) &amp;gt;&amp;gt; (10:06 - 10:11)&lt;br /&gt;
|| After this, we’ll see how to set up and view the files of an '''OpenFOAM case'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''run''' the '''case''' and visualise the results in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating a 2D channel geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(05:40 - 05:45) &amp;gt;&amp;gt; (10:25 - 10:30)&lt;br /&gt;
|| In the next tutorial, we’ll see how to create a geometry and '''mesh''' using the '''blockMesh''' utility.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to view the '''mesh''' in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(03:17 - 03:22) &amp;gt;&amp;gt; (09:31 - 09:36)&lt;br /&gt;
|| This is followed by the tutorial on creating a geometry with multiple '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how to '''mesh''' each '''block''' separately and '''refine cells''' locally.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating 3D pipe geometry and mesh in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(02:05 - 02:10) &amp;gt;&amp;gt; (06:14 - 06:19)&lt;br /&gt;
|| Next, we’ll see how to create a '''mesh''' for a cylindrical pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how '''curved edges''' are defined using the '''blockMesh''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulating Hagen-Poiseuille flow through a Pipe&lt;br /&gt;
&lt;br /&gt;
(07:20 - 07:25) &amp;gt;&amp;gt; (12:04 - 12:09)&lt;br /&gt;
|| Then, we’ll simulate the '''flow''' through a pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also compare the results from '''simulation''' with the analytical solution.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Basic Post-processing using ParaView&lt;br /&gt;
&lt;br /&gt;
(04:23 - 04:26) &amp;gt;&amp;gt; (07:00 - 07:05)&lt;br /&gt;
|| The results from the '''pipe flow simulation''' are viewed in detail in '''ParaView''' in this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''plot''' the results in '''ParaView'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulation of Turbulent Flow in a 2D Channel in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:00 - 07:05)&lt;br /&gt;
|| In the next tutorial, we’ll learn how to use a '''turbulence model''' in a '''simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Turbulence Modelling in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(12:00 - 12:05)&lt;br /&gt;
|| We will then compare the results from a '''simulation''' using three different '''turbulence models'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Grid Resolution and Convergence in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:53 - 07:58)&lt;br /&gt;
|| We also have a tutorial detailing the steps to establish '''grid independence'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Later on, there will be more tutorials in this series. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please check the '''Spoken Tutorial website''' regularly for the latest topics.&lt;br /&gt;
|- &lt;br /&gt;
|| OpenFOAM version 7 Spoken Tutorial Page&lt;br /&gt;
|| With this we have come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt about:&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Forum to answer questions&lt;br /&gt;
||&lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Textbook Companion&lt;br /&gt;
||&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: Acknowledgment&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</id>
		<title>OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Overiew-of-OpenFOAM-7/English"/>
				<updated>2020-09-08T20:14:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''Title of the script''': Overview of OpenFOAM  '''Author''': Ashley Melvin  '''Keywords''': OpenFOAM version 7, ParaView, CFD, computational fluid dynamics, blockMesh, snapp...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Overview of OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM version 7, ParaView, CFD, computational fluid dynamics, blockMesh, snappyHexMesh, solver, FOSSEE, spoken tutorial, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Overview of OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn about:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| To work with '''OpenFOAM''' you should have basic knowledge of''' computational fluid dynamics'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Throughout this series, we will be using:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM®&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| '''OpenFOAM®''' stands for * '''Open source Field Operation And Manipulation'''&lt;br /&gt;
* It is licensed under '''GNU General Public Licence '''by '''OpenCFD Ltd'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Henceforth, in this series, whenever '''OpenFOAM''' is mentioned it indicates '''OpenFOAM®'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: About OpenFOAM&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is an '''Open source Computational Fluid Dynamics''' software.&lt;br /&gt;
* It is a '''CFD toolbox''' written in '''C++'''.&lt;br /&gt;
* It has an '''Object Oriented Programming''' interface.&lt;br /&gt;
* '''OpenFOAM''' is available for '''Linux''', '''Mac''' and '''Windows''' operating systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: OpenFOAM Capabilities &lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' is a '''Finite Volume '''based''' CFD''' software.&lt;br /&gt;
* It uses both &lt;br /&gt;
** &amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;'''Structured''', and &lt;br /&gt;
** &amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;'''Unstructured '''grid&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Generation&lt;br /&gt;
|| &lt;br /&gt;
* '''OpenFOAM''' has an '''in-built mesh''' '''generation tool''' called '''blockMesh'''.&lt;br /&gt;
* It is used for '''structured meshing''' of simple geometries.&lt;br /&gt;
* '''OpenFOAM''' also has an advanced '''meshing tool''' called '''snappyHexMesh'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Conversion&lt;br /&gt;
|| '''OpenFOAM''' allows importing '''mesh''' from other '''packages''' like:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''ANSYS''',&lt;br /&gt;
* '''Fluent''',&lt;br /&gt;
* '''CFX''',&lt;br /&gt;
* '''Gmsh''', &lt;br /&gt;
* '''STAR-CD''' etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imported '''mesh''' can be converted to the format '''OpenFOAM''' uses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For example, a '''fluent mesh''' is converted using the '''fluentMeshToFoam''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Solvers&lt;br /&gt;
|| Using '''OpenFOAM''' one can solve problems in:&lt;br /&gt;
* '''Incompressible flows'''&lt;br /&gt;
* '''Compressible flows'''&lt;br /&gt;
* '''Multiphase flows'''&lt;br /&gt;
* '''Heat transfer'''&lt;br /&gt;
* '''Combustion systems'''&lt;br /&gt;
* '''Molecular dynamics'''&lt;br /&gt;
* '''Magnetohydrodynamic flows'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and many other domains.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: ParaView&lt;br /&gt;
||&lt;br /&gt;
* Visualizing the simulated results comes under the '''post-processing''' stage.&lt;br /&gt;
* '''ParaView''' is the most commonly used software for '''post-processing OpenFOAM''' results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Now, let’s briefly go through various tutorials available in this series.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
(01: 50 - 01:55)&lt;br /&gt;
|| We first have the tutorial on installing '''OpenFOAM''' and '''ParaView''' in '''Ubuntu Linux OS'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Setting-up a Test Case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(04:20 - 04:25) &amp;gt;&amp;gt; (10:06 - 10:11)&lt;br /&gt;
|| After this, we’ll see how to set up and view the files of an '''OpenFOAM case'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''run''' the '''case''' and visualise the results in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating a 2D channel geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(05:40 - 05:45) &amp;gt;&amp;gt; (10:25 - 10:30)&lt;br /&gt;
|| In the next tutorial, we’ll see how to create a geometry and '''mesh''' using the '''blockMesh''' utility.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to view the '''mesh''' in '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(03:17 - 03:22) &amp;gt;&amp;gt; (09:31 - 09:36)&lt;br /&gt;
|| This is followed by the tutorial on creating a geometry with multiple '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how to '''mesh''' each '''block''' separately and '''refine cells''' locally.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Creating 3D pipe geometry and mesh in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(02:05 - 02:10) &amp;gt;&amp;gt; (06:14 - 06:19)&lt;br /&gt;
|| Next, we’ll see how to create a '''mesh''' for a cylindrical pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll see how '''curved edges''' are defined using the '''blockMesh''' utility.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulating Hagen-Poiseuille flow through a Pipe&lt;br /&gt;
&lt;br /&gt;
(07:20 - 07:25) &amp;gt;&amp;gt; (12:04 - 12:09)&lt;br /&gt;
|| Then, we’ll simulate the '''flow''' through a pipe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also compare the results from '''simulation''' with the analytical solution.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Basic Post-processing using ParaView&lt;br /&gt;
&lt;br /&gt;
(04:23 - 04:26) &amp;gt;&amp;gt; (07:00 - 07:05)&lt;br /&gt;
|| The results from the '''pipe flow simulation''' are viewed in detail in '''ParaView''' in this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We’ll also see how to '''plot''' the results in '''ParaView'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Simulation of Turbulent Flow in a 2D Channel in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:00 - 07:05)&lt;br /&gt;
|| In the next tutorial, we’ll learn how to use a '''turbulence model''' in a '''simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Turbulence Modelling in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(12:00 - 12:05)&lt;br /&gt;
|| We will then compare the results from a '''simulation''' using three different '''turbulence models'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Glimpse of Grid Resolution and Convergence in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
(07:53 - 07:58)&lt;br /&gt;
|| We also have a tutorial detailing the steps to establish '''grid independence'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Later on, there will be more tutorials in this series. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please check the '''Spoken Tutorial website''' regularly for the latest topics.&lt;br /&gt;
|- &lt;br /&gt;
|| OpenFOAM version 7 Spoken Tutorial Page&lt;br /&gt;
|| With this we have come to the end of this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt about:&lt;br /&gt;
* '''OpenFOAM''' and its capabilities&lt;br /&gt;
* Basic '''OpenFOAM''' utilities, and &lt;br /&gt;
* The content available in various tutorials in this series&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Forum to answer questions&lt;br /&gt;
||&lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Textbook Companion&lt;br /&gt;
||&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: Acknowledgment&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7</id>
		<title>OpenFOAM version 7</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7"/>
				<updated>2020-09-05T09:52:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OpenFOAM®''' (Open Source Field Operation and Manipulation) is an open source CFD software package developed by the OpenFOAM team at ESI and distributed by the OpenFOAM Foundation. OpenFOAM is a CFD toolbox, written in C++ and these C++ libraries are used to create executables, known as applications. The OpenFOAM distribution contains numerous solvers and utilities covering a wide range of CFD problems. &lt;br /&gt;
&lt;br /&gt;
In this tutorial series, all the three stages in a CFD simulation, namely pre-processing, running, and post-processing, are focused in-depth. The first two stages are demonstrated in this series using version 7 of OpenFOAM, while ParaView 5.6.0 is used for post-processing. In addition to software training, this tutorial series also strives to demonstrate the basic CFD concepts for better understanding of various OpenFOAM solvers and utilities. &lt;br /&gt;
&lt;br /&gt;
Being an open source software, OpenFOAM can be useful to technical institutes who cannot afford expensive licenses of commercial CFD software. The students and teachers trying to learn OpenFOAM through this series are expected to have some basic knowledge of CFD and Linux commands.&lt;br /&gt;
&lt;br /&gt;
The '''Spoken Tutorial''' for '''OpenFOAM version 7''' has being contributed by Divyesh Variya, Padmini Priyadarshini, Ashley Melvin and Swetha Sridhar from '''FOSSEE Project, IIT''' Bombay with domain reviews done by Prof. Janani S Murallidharan of Dept. of Mechanical Engineering, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
This series would be useful for Undergraduate and postgraduate students as well as faculty in the departments of Aerospace, Mechanical, Chemical and Civil Engineering.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Basic Level==&lt;br /&gt;
#Overview of OpenFOAM&lt;br /&gt;
#*About OpenFOAM&lt;br /&gt;
#*OpenFOAM Capabilities&lt;br /&gt;
#*Mesh Generation in OpenFOAM&lt;br /&gt;
#*Mesh Conversion in OpenFOAM&lt;br /&gt;
#*OpenFOAM Solvers&lt;br /&gt;
#*Post-processing&lt;br /&gt;
#*Spoken Tutorials available on OpenFOAM&lt;br /&gt;
#*Timed discussion forum of Spoken Tutorials&lt;br /&gt;
#*Discussion forum of FOSSEE&lt;br /&gt;
#*OpenFOAM Case Study Project&lt;br /&gt;
#Installing OpenFOAM in Ubuntu&lt;br /&gt;
#*Public key for package signature verification &lt;br /&gt;
#*Add OpenFOAM to package list&lt;br /&gt;
#*Install OpenFOAM&lt;br /&gt;
#*Install ParaView&lt;br /&gt;
#*Accessing .bashrc file&lt;br /&gt;
#*User configuration to access OpenFOAM from terminal&lt;br /&gt;
#*Verify OpenFOAM installation&lt;br /&gt;
#*Verify ParaView Installation&lt;br /&gt;
#Setting-up a Test Case in OpenFOAM:&lt;br /&gt;
#*Create Run directory&lt;br /&gt;
#*Copy a case from Tutorial directory to Run directory&lt;br /&gt;
#*Overview of blockMeshDict&lt;br /&gt;
#*Overview of 0 folder&lt;br /&gt;
#*Contents of p and U files&lt;br /&gt;
#*Overview of transportProperties file&lt;br /&gt;
#*Parameters in controlDict file&lt;br /&gt;
#*blockMesh command&lt;br /&gt;
#*icoFoam solver&lt;br /&gt;
#*paraFoam command&lt;br /&gt;
#*View contour plots in ParaView&lt;br /&gt;
#Creating 2D Channel Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Geometry of the channel&lt;br /&gt;
#*Boundaries of the channel&lt;br /&gt;
#*Dimensions of coordinates in blockMeshDict&lt;br /&gt;
#*Vertex numbering and coordinates&lt;br /&gt;
#*Defining a block&lt;br /&gt;
#*Meshing parameters&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Ordering the vertices of a face&lt;br /&gt;
#*Viewing mesh in ParaView&lt;br /&gt;
#Multi-block Meshing of a 2D Geometry in OpenFOAM:&lt;br /&gt;
#*Two-block geometry&lt;br /&gt;
#*Defining the vertices&lt;br /&gt;
#*Defining multiple blocks&lt;br /&gt;
#*Meshing parameters of each block&lt;br /&gt;
#*Cell Expansion Ratio&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Defining cyclic patches&lt;br /&gt;
#*Order of vertices of faces&lt;br /&gt;
#*neighbourPatch for cyclic boundaries&lt;br /&gt;
#*Viewing refined mesh in ParaView&lt;br /&gt;
#Creating 3D Pipe Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*Create a 3D Geometry using blockMeshDict&lt;br /&gt;
#*Create a Multi-block geometry and Mesh&lt;br /&gt;
#*Mesh a 3D geometry&lt;br /&gt;
#*Create arcs in blockMeshDict&lt;br /&gt;
#*Label the boundary patches&lt;br /&gt;
#*Check Mesh domain&lt;br /&gt;
#*Check Skewness&lt;br /&gt;
#*Check Aspect Ratio&lt;br /&gt;
#*Check number of cells&lt;br /&gt;
#*Check cell types&lt;br /&gt;
#*View the 3D geometry and mesh in ParaView&lt;br /&gt;
#Simulating Hagen Poiseuille flow through a pipe in OpenFOAM:&lt;br /&gt;
#*Set up the boundary conditions&lt;br /&gt;
#*Set up the initial conditions&lt;br /&gt;
#*Set up the physical properties&lt;br /&gt;
#*Set up the solve control parameter&lt;br /&gt;
#*Set up the write control parameter&lt;br /&gt;
#*Hagen Poiseuille Flow&lt;br /&gt;
#*3D flow in Pipe&lt;br /&gt;
#*Laminar flow&lt;br /&gt;
#*Viscous &amp;amp; Newtonian flow&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Basic Post Processing using ParaView:&lt;br /&gt;
#*Flow through pipe&lt;br /&gt;
#*Hagen Poiseuille flow&lt;br /&gt;
#*Streamline visualization&lt;br /&gt;
#*Glyph visualization&lt;br /&gt;
#*Clip the Mesh&lt;br /&gt;
#*View internal flow field&lt;br /&gt;
#*Plot graph in paraview&lt;br /&gt;
#*Analytical and OpenFOAM result comparison&lt;br /&gt;
#*Export the field data to .csv file&lt;br /&gt;
#*Plot a graph in LibreOffice Suite Calc&lt;br /&gt;
#*Save a screenshot of a view&lt;br /&gt;
#Simulation of a 2D Turbulent Flow in a Channel using OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Introduction to k-epsilon turbulence model&lt;br /&gt;
#*Calculation of yp for a given yplus&lt;br /&gt;
#*Boundary conditions for kappa&lt;br /&gt;
#*Boundary conditions for epsilon&lt;br /&gt;
#*Boundary conditions for kinematic eddy viscosity&lt;br /&gt;
#*Setting up k file&lt;br /&gt;
#*Setting up epsilon file&lt;br /&gt;
#*Setting up nut file&lt;br /&gt;
#*Running the simulation using simpleFoam&lt;br /&gt;
#*Outlet velocity profile&lt;br /&gt;
#Turbulence Modelling in OpenFOAM:&lt;br /&gt;
#*Create channel geometry with two blocks&lt;br /&gt;
#*Set up the blockMeshDict dictionary for a given YPlus value&lt;br /&gt;
#*Calculate expansion ratio&lt;br /&gt;
#*Implement k-epsilon turbulence model&lt;br /&gt;
#*Implement k-omega turbulence model&lt;br /&gt;
#*Implement k-omega SST turbulence model&lt;br /&gt;
#*Implement wall functions&lt;br /&gt;
#*Calculate kappa, epsilon and omega&lt;br /&gt;
#*Compare turbulence models&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Grid Resolution and Convergence in OpenFOAM:&lt;br /&gt;
#*Lid-driven Cavity Flow Problem Statement&lt;br /&gt;
#*Meshing parameters of Coarse mesh&lt;br /&gt;
#*Time-step for Coarse mesh&lt;br /&gt;
#*Simulation using icoFoam&lt;br /&gt;
#*Probe Location Filter&lt;br /&gt;
#*Pressure at the centre of the domain&lt;br /&gt;
#*Refining a Mesh&lt;br /&gt;
#*Time-step for Refined mesh&lt;br /&gt;
#*Tabulated Pressure at the centre&lt;br /&gt;
#*Grid Independence Study&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7</id>
		<title>OpenFOAM version 7</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7"/>
				<updated>2020-09-05T09:37:14Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OpenFOAM®''' (Open Source Field Operation and Manipulation) is an open source CFD software package developed by the OpenFOAM team at ESI and distributed by the OpenFOAM Foundation. OpenFOAM is a CFD toolbox, written in C++ and these C++ libraries are used to create executables, known as applications. The OpenFOAM distribution contains numerous solvers and utilities covering a wide range of CFD problems. &lt;br /&gt;
&lt;br /&gt;
In this tutorial series, all the three stages in a CFD simulation, namely pre-processing, running, and post-processing, are focused in-depth. The first two stages are demonstrated in this series using version 7 of OpenFOAM, while ParaView 5.6.0 is used for post-processing. In addition to software training, this tutorial series also strives to demonstrate the basic CFD concepts for better understanding of various OpenFOAM solvers and utilities. &lt;br /&gt;
&lt;br /&gt;
Being an open source software, OpenFOAM can be useful to technical institutes who cannot afford expensive licenses of commercial CFD software. The students and teachers trying to learn OpenFOAM through this series are expected to have some basic knowledge of CFD and Linux commands.&lt;br /&gt;
&lt;br /&gt;
The '''Spoken Tutorial''' for '''OpenFOAM version 7''' has being contributed by Divyesh Variya, Padmini Priyadarshini, Ashley Melvin and Swetha Sridhar from '''FOSSEE Project, IIT''' Bombay with domain reviews done by Prof. Janani S Murallidharan of Dept. of Mechanical Engineering, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
This series would be useful for Undergraduate and postgraduate students as well as faculty in the departments of Aerospace, Mechanical, Chemical and Civil Engineering.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Basic Level==&lt;br /&gt;
#Installing OpenFOAM in Ubuntu&lt;br /&gt;
#*Public key for package signature verification &lt;br /&gt;
#*Add OpenFOAM to package list&lt;br /&gt;
#*Install OpenFOAM&lt;br /&gt;
#*Install ParaView&lt;br /&gt;
#*Accessing .bashrc file&lt;br /&gt;
#*User configuration to access OpenFOAM from terminal&lt;br /&gt;
#*Verify OpenFOAM installation&lt;br /&gt;
#*Verify ParaView Installation&lt;br /&gt;
#Setting-up a Test Case in OpenFOAM:&lt;br /&gt;
#*Create Run directory&lt;br /&gt;
#*Copy a case from Tutorial directory to Run directory&lt;br /&gt;
#*Overview of blockMeshDict&lt;br /&gt;
#*Overview of 0 folder&lt;br /&gt;
#*Contents of p and U files&lt;br /&gt;
#*Overview of transportProperties file&lt;br /&gt;
#*Parameters in controlDict file&lt;br /&gt;
#*blockMesh command&lt;br /&gt;
#*icoFoam solver&lt;br /&gt;
#*paraFoam command&lt;br /&gt;
#*View contour plots in ParaView&lt;br /&gt;
#Creating 2D Channel Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Geometry of the channel&lt;br /&gt;
#*Boundaries of the channel&lt;br /&gt;
#*Dimensions of coordinates in blockMeshDict&lt;br /&gt;
#*Vertex numbering and coordinates&lt;br /&gt;
#*Defining a block&lt;br /&gt;
#*Meshing parameters&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Ordering the vertices of a face&lt;br /&gt;
#*Viewing mesh in ParaView&lt;br /&gt;
#Multi-block Meshing of a 2D Geometry in OpenFOAM:&lt;br /&gt;
#*Two-block geometry&lt;br /&gt;
#*Defining the vertices&lt;br /&gt;
#*Defining multiple blocks&lt;br /&gt;
#*Meshing parameters of each block&lt;br /&gt;
#*Cell Expansion Ratio&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Defining cyclic patches&lt;br /&gt;
#*Order of vertices of faces&lt;br /&gt;
#*neighbourPatch for cyclic boundaries&lt;br /&gt;
#*Viewing refined mesh in ParaView&lt;br /&gt;
#Creating 3D Pipe Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*Create a 3D Geometry using blockMeshDict&lt;br /&gt;
#*Create a Multi-block geometry and Mesh&lt;br /&gt;
#*Mesh a 3D geometry&lt;br /&gt;
#*Create arcs in blockMeshDict&lt;br /&gt;
#*Label the boundary patches&lt;br /&gt;
#*Check Mesh domain&lt;br /&gt;
#*Check Skewness&lt;br /&gt;
#*Check Aspect Ratio&lt;br /&gt;
#*Check number of cells&lt;br /&gt;
#*Check cell types&lt;br /&gt;
#*View the 3D geometry and mesh in ParaView&lt;br /&gt;
#Simulating Hagen Poiseuille flow through a pipe in OpenFOAM:&lt;br /&gt;
#*Set up the boundary conditions&lt;br /&gt;
#*Set up the initial conditions&lt;br /&gt;
#*Set up the physical properties&lt;br /&gt;
#*Set up the solve control parameter&lt;br /&gt;
#*Set up the write control parameter&lt;br /&gt;
#*Hagen Poiseuille Flow&lt;br /&gt;
#*3D flow in Pipe&lt;br /&gt;
#*Laminar flow&lt;br /&gt;
#*Viscous &amp;amp; Newtonian flow&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Basic Post Processing using ParaView:&lt;br /&gt;
#*Flow through pipe&lt;br /&gt;
#*Hagen Poiseuille flow&lt;br /&gt;
#*Streamline visualization&lt;br /&gt;
#*Glyph visualization&lt;br /&gt;
#*Clip the Mesh&lt;br /&gt;
#*View internal flow field&lt;br /&gt;
#*Plot graph in paraview&lt;br /&gt;
#*Analytical and OpenFOAM result comparison&lt;br /&gt;
#*Export the field data to .csv file&lt;br /&gt;
#*Plot a graph in LibreOffice Suite Calc&lt;br /&gt;
#*Save a screenshot of a view&lt;br /&gt;
#Simulation of a 2D Turbulent Flow in a Channel using OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Introduction to k-epsilon turbulence model&lt;br /&gt;
#*Calculation of yp for a given yplus&lt;br /&gt;
#*Boundary conditions for kappa&lt;br /&gt;
#*Boundary conditions for epsilon&lt;br /&gt;
#*Boundary conditions for kinematic eddy viscosity&lt;br /&gt;
#*Setting up k file&lt;br /&gt;
#*Setting up epsilon file&lt;br /&gt;
#*Setting up nut file&lt;br /&gt;
#*Running the simulation using simpleFoam&lt;br /&gt;
#*Outlet velocity profile&lt;br /&gt;
#Turbulence Modelling in OpenFOAM:&lt;br /&gt;
#*Create channel geometry with two blocks&lt;br /&gt;
#*Set up the blockMeshDict dictionary for a given YPlus value&lt;br /&gt;
#*Calculate expansion ratio&lt;br /&gt;
#*Implement k-epsilon turbulence model&lt;br /&gt;
#*Implement k-omega turbulence model&lt;br /&gt;
#*Implement k-omega SST turbulence model&lt;br /&gt;
#*Implement wall functions&lt;br /&gt;
#*Calculate kappa, epsilon and omega&lt;br /&gt;
#*Compare turbulence models&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Grid Resolution and Convergence in OpenFOAM:&lt;br /&gt;
#*Lid-driven Cavity Flow Problem Statement&lt;br /&gt;
#*Meshing parameters of Coarse mesh&lt;br /&gt;
#*Time-step for Coarse mesh&lt;br /&gt;
#*Simulation using icoFoam&lt;br /&gt;
#*Probe Location Filter&lt;br /&gt;
#*Pressure at the centre of the domain&lt;br /&gt;
#*Refining a Mesh&lt;br /&gt;
#*Time-step for Refined mesh&lt;br /&gt;
#*Tabulated Pressure at the centre&lt;br /&gt;
#*Grid Independence Study&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7</id>
		<title>OpenFOAM version 7</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7"/>
				<updated>2020-09-05T09:35:34Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OpenFOAM®''' (Open Source Field Operation and Manipulation) is an open source CFD software package developed by the OpenFOAM team at ESI and distributed by the OpenFOAM Foundation. OpenFOAM is a CFD toolbox, written in C++ and these C++ libraries are used to create executables, known as applications. The OpenFOAM distribution contains numerous solvers and utilities covering a wide range of CFD problems. &lt;br /&gt;
&lt;br /&gt;
In this tutorial series, all the three stages in a CFD simulation, namely pre-processing, running, and post-processing, are focused in-depth. The first two stages are demonstrated in this series using version 7 of OpenFOAM, while ParaView 5.6.0 is used for post-processing. In addition to software training, this tutorial series also strives to demonstrate the basic CFD concepts for better understanding of various OpenFOAM solvers and utilities. &lt;br /&gt;
&lt;br /&gt;
Being an open source software, OpenFOAM can be useful to technical institutes who cannot afford expensive licenses of commercial CFD software. The students and teachers trying to learn OpenFOAM through this series are expected to have some basic knowledge of CFD and Linux commands.&lt;br /&gt;
&lt;br /&gt;
The '''Spoken Tutorial''' effort for OpenFOAM version 7 has being contributed by Divyesh Variya, Padmini Priyadarshini, Ashley Melvin and Swetha Sridhar from '''FOSSEE Project, IIT''' Bombay with domain reviews done by Prof. Janani S Murallidharan of Dept. of Mechanical Engineering, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
This series would be useful for Undergraduate and postgraduate students as well as faculty in the departments of Aerospace, Mechanical, Chemical and Civil Engineering.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Basic Level==&lt;br /&gt;
#Installing OpenFOAM in Ubuntu&lt;br /&gt;
#*Public key for package signature verification &lt;br /&gt;
#*Add OpenFOAM to package list&lt;br /&gt;
#*Install OpenFOAM&lt;br /&gt;
#*Install ParaView&lt;br /&gt;
#*Accessing .bashrc file&lt;br /&gt;
#*User configuration to access OpenFOAM from terminal&lt;br /&gt;
#*Verify OpenFOAM installation&lt;br /&gt;
#*Verify ParaView Installation&lt;br /&gt;
#Setting-up a Test Case in OpenFOAM:&lt;br /&gt;
#*Create Run directory&lt;br /&gt;
#*Copy a case from Tutorial directory to Run directory&lt;br /&gt;
#*Overview of blockMeshDict&lt;br /&gt;
#*Overview of 0 folder&lt;br /&gt;
#*Contents of p and U files&lt;br /&gt;
#*Overview of transportProperties file&lt;br /&gt;
#*Parameters in controlDict file&lt;br /&gt;
#*blockMesh command&lt;br /&gt;
#*icoFoam solver&lt;br /&gt;
#*paraFoam command&lt;br /&gt;
#*View contour plots in ParaView&lt;br /&gt;
#Creating 2D Channel Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Geometry of the channel&lt;br /&gt;
#*Boundaries of the channel&lt;br /&gt;
#*Dimensions of coordinates in blockMeshDict&lt;br /&gt;
#*Vertex numbering and coordinates&lt;br /&gt;
#*Defining a block&lt;br /&gt;
#*Meshing parameters&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Ordering the vertices of a face&lt;br /&gt;
#*Viewing mesh in ParaView&lt;br /&gt;
#Multi-block Meshing of a 2D Geometry in OpenFOAM:&lt;br /&gt;
#*Two-block geometry&lt;br /&gt;
#*Defining the vertices&lt;br /&gt;
#*Defining multiple blocks&lt;br /&gt;
#*Meshing parameters of each block&lt;br /&gt;
#*Cell Expansion Ratio&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Defining cyclic patches&lt;br /&gt;
#*Order of vertices of faces&lt;br /&gt;
#*neighbourPatch for cyclic boundaries&lt;br /&gt;
#*Viewing refined mesh in ParaView&lt;br /&gt;
#Creating 3D Pipe Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*Create a 3D Geometry using blockMeshDict&lt;br /&gt;
#*Create a Multi-block geometry and Mesh&lt;br /&gt;
#*Mesh a 3D geometry&lt;br /&gt;
#*Create arcs in blockMeshDict&lt;br /&gt;
#*Label the boundary patches&lt;br /&gt;
#*Check Mesh domain&lt;br /&gt;
#*Check Skewness&lt;br /&gt;
#*Check Aspect Ratio&lt;br /&gt;
#*Check number of cells&lt;br /&gt;
#*Check cell types&lt;br /&gt;
#*View the 3D geometry and mesh in ParaView&lt;br /&gt;
#Simulating Hagen Poiseuille flow through a pipe in OpenFOAM:&lt;br /&gt;
#*Set up the boundary conditions&lt;br /&gt;
#*Set up the initial conditions&lt;br /&gt;
#*Set up the physical properties&lt;br /&gt;
#*Set up the solve control parameter&lt;br /&gt;
#*Set up the write control parameter&lt;br /&gt;
#*Hagen Poiseuille Flow&lt;br /&gt;
#*3D flow in Pipe&lt;br /&gt;
#*Laminar flow&lt;br /&gt;
#*Viscous &amp;amp; Newtonian flow&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Basic Post Processing using ParaView:&lt;br /&gt;
#*Flow through pipe&lt;br /&gt;
#*Hagen Poiseuille flow&lt;br /&gt;
#*Streamline visualization&lt;br /&gt;
#*Glyph visualization&lt;br /&gt;
#*Clip the Mesh&lt;br /&gt;
#*View internal flow field&lt;br /&gt;
#*Plot graph in paraview&lt;br /&gt;
#*Analytical and OpenFOAM result comparison&lt;br /&gt;
#*Export the field data to .csv file&lt;br /&gt;
#*Plot a graph in LibreOffice Suite Calc&lt;br /&gt;
#*Save a screenshot of a view&lt;br /&gt;
#Simulation of a 2D Turbulent Flow in a Channel using OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Introduction to k-epsilon turbulence model&lt;br /&gt;
#*Calculation of yp for a given yplus&lt;br /&gt;
#*Boundary conditions for kappa&lt;br /&gt;
#*Boundary conditions for epsilon&lt;br /&gt;
#*Boundary conditions for kinematic eddy viscosity&lt;br /&gt;
#*Setting up k file&lt;br /&gt;
#*Setting up epsilon file&lt;br /&gt;
#*Setting up nut file&lt;br /&gt;
#*Running the simulation using simpleFoam&lt;br /&gt;
#*Outlet velocity profile&lt;br /&gt;
#Turbulence Modelling in OpenFOAM:&lt;br /&gt;
#*Create channel geometry with two blocks&lt;br /&gt;
#*Set up the blockMeshDict dictionary for a given YPlus value&lt;br /&gt;
#*Calculate expansion ratio&lt;br /&gt;
#*Implement k-epsilon turbulence model&lt;br /&gt;
#*Implement k-omega turbulence model&lt;br /&gt;
#*Implement k-omega SST turbulence model&lt;br /&gt;
#*Implement wall functions&lt;br /&gt;
#*Calculate kappa, epsilon and omega&lt;br /&gt;
#*Compare turbulence models&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Grid Resolution and Convergence in OpenFOAM:&lt;br /&gt;
#*Lid-driven Cavity Flow Problem Statement&lt;br /&gt;
#*Meshing parameters of Coarse mesh&lt;br /&gt;
#*Time-step for Coarse mesh&lt;br /&gt;
#*Simulation using icoFoam&lt;br /&gt;
#*Probe Location Filter&lt;br /&gt;
#*Pressure at the centre of the domain&lt;br /&gt;
#*Refining a Mesh&lt;br /&gt;
#*Time-step for Refined mesh&lt;br /&gt;
#*Tabulated Pressure at the centre&lt;br /&gt;
#*Grid Independence Study&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7</id>
		<title>OpenFOAM version 7</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7"/>
				<updated>2020-09-05T09:33:01Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OpenFOAM®''' (Open Source Field Operation and Manipulation) is an open source CFD software package developed by the OpenFOAM team at ESI and distributed by the OpenFOAM Foundation. OpenFOAM is a CFD toolbox, written in C++ and these C++ libraries are used to create executables, known as applications. The OpenFOAM distribution contains numerous solvers and utilities covering a wide range of CFD problems. &lt;br /&gt;
&lt;br /&gt;
In this tutorial series, all the three stages in a CFD simulation, namely pre-processing, running, and post-processing, are focused in-depth. The first two stages are demonstrated in this series using version 7 of OpenFOAM, while ParaView 5.6.0 is used for post-processing. In addition to software training, this tutorial series also strives to demonstrate the basic CFD concepts for better understanding of various OpenFOAM solvers and utilities. &lt;br /&gt;
&lt;br /&gt;
Being an open source software, OpenFOAM can be useful to technical institutes who cannot afford expensive licenses of commercial CFD software. The students and teachers trying to learn OpenFOAM through this series are expected to have some basic knowledge of CFD and Linux commands.&lt;br /&gt;
&lt;br /&gt;
The '''Spoken Tutorial''' effort for OpenFOAM version 7 has being contributed by Divyesh Variya, Padmini Priyadarshini, Ashley Melvin and Swetha Sridhar from '''FOSSEE Project, IIT''' Bombay with domain reviews done by Prof. Janani S Murallidharan of Dept. of Mechanical Engineering, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
This series would be useful for Undergraduate and postgraduate students as well as faculty in the departments of Aerospace, Mechanical, Chemical and Civil Engineering.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Basic Level==&lt;br /&gt;
#Installing OpenFOAM in Ubuntu&lt;br /&gt;
#*Public key for package signature verification &lt;br /&gt;
#*Add OpenFOAM to package list&lt;br /&gt;
#*Install OpenFOAM&lt;br /&gt;
#*Install ParaView&lt;br /&gt;
#*Accessing .bashrc file&lt;br /&gt;
#*User configuration to access OpenFOAM from terminal&lt;br /&gt;
#*Verify OpenFOAM installation&lt;br /&gt;
#*Verify ParaView Installation&lt;br /&gt;
#Setting-up a Test Case in OpenFOAM:&lt;br /&gt;
#*Create Run directory&lt;br /&gt;
#*Copy a case from Tutorial directory to Run directory&lt;br /&gt;
#*Overview of blockMeshDict&lt;br /&gt;
#*Overview of 0 folder&lt;br /&gt;
#*Contents of p and U files&lt;br /&gt;
#*Overview of transportProperties file&lt;br /&gt;
#*Parameters in controlDict file&lt;br /&gt;
#*blockMesh command&lt;br /&gt;
#*icoFoam solver&lt;br /&gt;
#*paraFoam command&lt;br /&gt;
#*View contour plots in ParaView&lt;br /&gt;
#Creating 2D Channel Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Geometry of the channel&lt;br /&gt;
#*Boundaries of the channel&lt;br /&gt;
#*Dimensions of coordinates in blockMeshDict&lt;br /&gt;
#*Vertex numbering and coordinates&lt;br /&gt;
#*Defining a block&lt;br /&gt;
#*Meshing parameters&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Ordering the vertices of a face&lt;br /&gt;
#*Viewing mesh in ParaView&lt;br /&gt;
#Multi-block Meshing of a 2D Geometry in OpenFOAM:&lt;br /&gt;
#*Two-block geometry&lt;br /&gt;
#*Defining the vertices&lt;br /&gt;
#*Defining multiple blocks&lt;br /&gt;
#*Meshing parameters of each block&lt;br /&gt;
#*Cell Expansion Ratio&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Defining cyclic patches&lt;br /&gt;
#*Order of vertices of faces&lt;br /&gt;
#*neighbourPatch for cyclic boundaries&lt;br /&gt;
#*Viewing refined mesh in ParaView&lt;br /&gt;
#Creating 3D Pipe Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*Create a 3D Geometry using blockMeshDict&lt;br /&gt;
#*Create a Multi-block geometry and Mesh&lt;br /&gt;
#*Mesh a 3D geometry&lt;br /&gt;
#*Create arcs in blockMeshDict&lt;br /&gt;
#*Label the boundary patches&lt;br /&gt;
#*Check Mesh domain&lt;br /&gt;
#*Check Skewness&lt;br /&gt;
#*Check Aspect Ratio&lt;br /&gt;
#*Check number of cells&lt;br /&gt;
#*Check cell types&lt;br /&gt;
#*View the 3D geometry and mesh in ParaView&lt;br /&gt;
#Simulating Hagen Poiseuille flow through a pipe in OpenFOAM:&lt;br /&gt;
#*Set up the boundary conditions&lt;br /&gt;
#*Set up the initial conditions&lt;br /&gt;
#*Set up the physical properties&lt;br /&gt;
#*Set up the solve control parameter&lt;br /&gt;
#*Set up the write control parameter&lt;br /&gt;
#*Hagen Poiseuille Flow&lt;br /&gt;
#*3D flow in Pipe&lt;br /&gt;
#*Laminar flow&lt;br /&gt;
#*Viscous &amp;amp; Newtonian flow&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Basic Post Processing using ParaView:&lt;br /&gt;
#*Flow through pipe&lt;br /&gt;
#*Hagen Poiseuille flow&lt;br /&gt;
#*Streamline visualization&lt;br /&gt;
#*Glyph visualization&lt;br /&gt;
#*Clip the Mesh&lt;br /&gt;
#*View internal flow field&lt;br /&gt;
#*Plot graph in paraview&lt;br /&gt;
#*Analytical and OpenFOAM result comparison&lt;br /&gt;
#*Export the field data to .csv file&lt;br /&gt;
#*Plot a graph in LibreOffice Suite Calc&lt;br /&gt;
#*Save a screenshot of a view&lt;br /&gt;
#Turbulence Modelling in OpenFOAM:&lt;br /&gt;
#*Create channel geometry with two blocks&lt;br /&gt;
#*Set up the blockMeshDict dictionary for a given YPlus value&lt;br /&gt;
#*Calculate expansion ratio&lt;br /&gt;
#*Implement k-epsilon turbulence model&lt;br /&gt;
#*Implement k-omega turbulence model&lt;br /&gt;
#*Implement k-omega SST turbulence model&lt;br /&gt;
#*Implement wall functions&lt;br /&gt;
#*Calculate kappa, epsilon and omega&lt;br /&gt;
#*Compare turbulence models&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Grid Resolution and Convergence in OpenFOAM:&lt;br /&gt;
#*Lid-driven Cavity Flow Problem Statement&lt;br /&gt;
#*Meshing parameters of Coarse mesh&lt;br /&gt;
#*Time-step for Coarse mesh&lt;br /&gt;
#*Simulation using icoFoam&lt;br /&gt;
#*Probe Location Filter&lt;br /&gt;
#*Pressure at the centre of the domain&lt;br /&gt;
#*Refining a Mesh&lt;br /&gt;
#*Time-step for Refined mesh&lt;br /&gt;
#*Tabulated Pressure at the centre&lt;br /&gt;
#*Grid Independence Study&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7</id>
		<title>OpenFOAM version 7</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM_version_7"/>
				<updated>2020-09-05T09:30:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''OpenFOAM®''' (Open Source Field Operation and Manipulation) is an open source CFD software package developed by the OpenFOAM team at ESI and distributed by the OpenFOAM Fo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''OpenFOAM®''' (Open Source Field Operation and Manipulation) is an open source CFD software package developed by the OpenFOAM team at ESI and distributed by the OpenFOAM Foundation. OpenFOAM is a CFD toolbox, written in C++ and these C++ libraries are used to create executables, known as applications. The OpenFOAM distribution contains numerous solvers and utilities covering a wide range of CFD problems. &lt;br /&gt;
&lt;br /&gt;
In this tutorial series, all the three stages in a CFD simulation, namely pre-processing, running, and post-processing, are focused in-depth. The first two stages are demonstrated in this series using version 7 of OpenFOAM, while ParaView 5.6.0 is used for post-processing. In addition to software training, this tutorial series also strives to demonstrate the basic CFD concepts for better understanding of various OpenFOAM solvers and utilities. &lt;br /&gt;
&lt;br /&gt;
Being an open source software, OpenFOAM can be useful to technical institutes who cannot afford expensive licenses of commercial CFD software. The students and teachers trying to learn OpenFOAM through this series are expected to have some basic knowledge of CFD and Linux commands.&lt;br /&gt;
&lt;br /&gt;
The '''Spoken Tutorial''' effort for OpenFOAM version 7 has being contributed by Divyesh Variya, Padmini Priyadarshini, Ashley Melvin and Swetha Sridhar from '''FOSSEE Project, IIT''' Bombay with domain reviews done by Prof. Janani S Murallidharan of Dept. of Mechanical Engineering, IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
This series would be useful for Undergraduate and postgraduate students as well as faculty in the departments of Aerospace, Mechanical, Chemical and Civil Engineering.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
==Basic Level==&lt;br /&gt;
#Installing OpenFOAM in Ubuntu&lt;br /&gt;
#*Public key for package signature verification &lt;br /&gt;
#*Add OpenFOAM to package list&lt;br /&gt;
#*Install OpenFOAM&lt;br /&gt;
#*Install ParaView&lt;br /&gt;
#*Accessing .bashrc file&lt;br /&gt;
#*User configuration to access OpenFOAM from terminal&lt;br /&gt;
#*Verify OpenFOAM installation&lt;br /&gt;
#*Verify ParaView Installation&lt;br /&gt;
#Setting-up a Test Case in OpenFOAM:&lt;br /&gt;
#*Create Run directory&lt;br /&gt;
#*Copy a case from Tutorial directory to Run directory&lt;br /&gt;
#*Overview of blockMeshDict&lt;br /&gt;
#*Overview of 0 folder&lt;br /&gt;
#*Contents of p and U files&lt;br /&gt;
#*Overview of transportProperties file&lt;br /&gt;
#*Parameters in controlDict file&lt;br /&gt;
#*blockMesh command&lt;br /&gt;
#*icoFoam solver&lt;br /&gt;
#*paraFoam command&lt;br /&gt;
#*View contour plots in ParaView&lt;br /&gt;
&lt;br /&gt;
#Creating 2D Channel Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*2D channel flow problem description&lt;br /&gt;
#*Geometry of the channel&lt;br /&gt;
#*Boundaries of the channel&lt;br /&gt;
#*Dimensions of coordinates in blockMeshDict&lt;br /&gt;
#*Vertex numbering and coordinates&lt;br /&gt;
#*Defining a block&lt;br /&gt;
#*Meshing parameters&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Ordering the vertices of a face&lt;br /&gt;
#*Viewing mesh in ParaView&lt;br /&gt;
#Multi-block Meshing of a 2D Geometry in OpenFOAM:&lt;br /&gt;
#*Two-block geometry&lt;br /&gt;
#*Defining the vertices&lt;br /&gt;
#*Defining multiple blocks&lt;br /&gt;
#*Meshing parameters of each block&lt;br /&gt;
#*Cell Expansion Ratio&lt;br /&gt;
#*Labelling boundaries&lt;br /&gt;
#*Defining cyclic patches&lt;br /&gt;
#*Order of vertices of faces&lt;br /&gt;
#*neighbourPatch for cyclic boundaries&lt;br /&gt;
#*Viewing refined mesh in ParaView&lt;br /&gt;
#Creating 3D Pipe Geometry and Mesh in OpenFOAM:&lt;br /&gt;
#*Create a 3D Geometry using blockMeshDict&lt;br /&gt;
#*Create a Multi-block geometry and Mesh&lt;br /&gt;
#*Mesh a 3D geometry&lt;br /&gt;
#*Create arcs in blockMeshDict&lt;br /&gt;
#*Label the boundary patches&lt;br /&gt;
#*Check Mesh domain&lt;br /&gt;
#*Check Skewness&lt;br /&gt;
#*Check Aspect Ratio&lt;br /&gt;
#*Check number of cells&lt;br /&gt;
#*Check cell types&lt;br /&gt;
#*View the 3D geometry and mesh in ParaView&lt;br /&gt;
#Simulating Hagen Poiseuille flow through a pipe in OpenFOAM:&lt;br /&gt;
#*Set up the boundary conditions&lt;br /&gt;
#*Set up the initial conditions&lt;br /&gt;
#*Set up the physical properties&lt;br /&gt;
#*Set up the solve control parameter&lt;br /&gt;
#*Set up the write control parameter&lt;br /&gt;
#*Hagen Poiseuille Flow&lt;br /&gt;
#*3D flow in Pipe&lt;br /&gt;
#*Laminar flow&lt;br /&gt;
#*Viscous &amp;amp; Newtonian flow&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Basic Post Processing using ParaView:&lt;br /&gt;
#*Flow through pipe&lt;br /&gt;
#*Hagen Poiseuille flow&lt;br /&gt;
#*Streamline visualization&lt;br /&gt;
#*Glyph visualization&lt;br /&gt;
#*Clip the Mesh&lt;br /&gt;
#*View internal flow field&lt;br /&gt;
#*Plot graph in paraview&lt;br /&gt;
#*Analytical and OpenFOAM result comparison&lt;br /&gt;
#*Export the field data to .csv file&lt;br /&gt;
#*Plot a graph in LibreOffice Suite Calc&lt;br /&gt;
#*Save a screenshot of a view&lt;br /&gt;
#Turbulence Modelling in OpenFOAM:&lt;br /&gt;
#*Create channel geometry with two blocks&lt;br /&gt;
#*Set up the blockMeshDict dictionary for a given YPlus value&lt;br /&gt;
#*Calculate expansion ratio&lt;br /&gt;
#*Implement k-epsilon turbulence model&lt;br /&gt;
#*Implement k-omega turbulence model&lt;br /&gt;
#*Implement k-omega SST turbulence model&lt;br /&gt;
#*Implement wall functions&lt;br /&gt;
#*Calculate kappa, epsilon and omega&lt;br /&gt;
#*Compare turbulence models&lt;br /&gt;
#*Run the simulation&lt;br /&gt;
#Grid Resolution and Convergence in OpenFOAM:&lt;br /&gt;
#*Lid-driven Cavity Flow Problem Statement&lt;br /&gt;
#*Meshing parameters of Coarse mesh&lt;br /&gt;
#*Time-step for Coarse mesh&lt;br /&gt;
#*Simulation using icoFoam&lt;br /&gt;
#*Probe Location Filter&lt;br /&gt;
#*Pressure at the centre of the domain&lt;br /&gt;
#*Refining a Mesh&lt;br /&gt;
#*Time-step for Refined mesh&lt;br /&gt;
#*Tabulated Pressure at the centre&lt;br /&gt;
#*Grid Independence Study&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Simulation-a-2D-Turbulent-Flow-in-a-Channel-using-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Simulation-a-2D-Turbulent-Flow-in-a-Channel-using-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Simulation-a-2D-Turbulent-Flow-in-a-Channel-using-OpenFOAM/English"/>
				<updated>2020-09-01T07:03:39Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script:''' Simulation of a Turbulent Flow in a 2D Channel using OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Padmini Priyadarshini&lt;br /&gt;
&lt;br /&gt;
'''Keywords:''' OpenFOAM, Turbulence, k-epsilon, yplus, expansion ratio, blockMesh, wall function, channel flow, simpleFoam, ParaView, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Simulation of Turbulent Flow in a 2D Channel using OpenFOAM.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn how to:&lt;br /&gt;
* Implement '''k-epsilon model'''&lt;br /&gt;
* Set up '''turbulence''' '''parameters'''&lt;br /&gt;
* '''Run '''the '''simulation'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Linux Mint OS''' version 18.3&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0&lt;br /&gt;
* '''gedit Text Editor'''&lt;br /&gt;
&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
&lt;br /&gt;
The steps explained in this tutorial are identical in '''Ubuntu Linux OS'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should have basic knowledge of '''turbulent flows''' and '''fluid dynamics'''.&lt;br /&gt;
* You should also be familiar with '''simulating''' a '''flow''' through a '''pipe''' in '''OpenFOAM'''.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM''' tutorial on this website&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: 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;
|| Slide: Solver detail&lt;br /&gt;
|| We will use the '''simpleFoam solver''' to '''simulate''' this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleFoam''' is a '''steady-state solver''' for '''incompressible''', '''turbulent flow'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Problem statement&lt;br /&gt;
|| The diagram shows a''' 2D channel '''of length '''65 m '''and width '''1 m'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''kinematic viscosity''' is '''1e-05 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s  (1e to the power of minus 5 metre squared per second).'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''Inlet velocity '''is '''20 metres per second. '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Outlet pressure '''is set to '''0 atmosphere.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Flow Properties&lt;br /&gt;
|| '''Reynolds number''' is '''2 million'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And the '''flow''' is '''turbulent.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: K-Epsilon turbulence model&lt;br /&gt;
|| '''K-epsilon '''is a widely used '''RAS''' '''turbulence model.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is a '''two-equation model'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It solves:&lt;br /&gt;
* The '''turbulent kinetic energy''' '''transport equation''', and&lt;br /&gt;
* The '''turbulent dissipation rate transport''' '''equation'''&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us set up the '''case.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Download the '''kepsilon '''folder provided in the '''Code file''' and extract it.&lt;br /&gt;
|-&lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
Only Narration&lt;br /&gt;
|| From now onwards please remember to press the '''Enter''' key after typing each '''command '''in the''' Terminal.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Let us''' '''open the '''RUN directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cp -r ~/Downloads/kepsilon .'''&lt;br /&gt;
|| And copy the downloaded file into the '''RUN directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration &lt;br /&gt;
|| I have downloaded the file into my '''Downloads directory.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please change the '''path''' as per your machine.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd kepsilon'''&lt;br /&gt;
|| With this '''command''', we will navigate to the '''kepsilon directory'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Y plus&lt;br /&gt;
|| '''YPlus '''is the '''dimensionless wall distance.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For '''wall function''' '''approach,''' '''yplus''' value should be between '''30 '''and '''300.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Wall distance, yp&lt;br /&gt;
|| Let “'''yp'''” be the distance between the '''wall''' and the nearest '''cell centre.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For our '''case, yp''' is '''0.00155''' for a '''yplus''' value of '''100.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For '''channel flow, '''the''' skin friction coefficient, Cf''' is given by this formula.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''Additional Reading Material''' has more details on the''' wall function approach'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It mentions the steps used to calculate '''yp'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ls system'''&lt;br /&gt;
|| Type the following''' command''' to view the content of the '''system directory'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict'''&lt;br /&gt;
|| This '''directory''' contains the '''blockMeshDict''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| I have already set up the '''blockMesh''' file for a '''2D multi-block channel '''with this''' yp value'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us take a look at the''' initial''' and '''boundary conditions''' of the '''flow variables.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Inlet Boundary Condition - k&lt;br /&gt;
|| Let us take a look at the '''inlet boundary condition '''for '''kappa.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will use '''turbulentIntensityKineticEnergyInlet'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This calculates''' kappa '''using the user-specified '''turbulence intensity'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For our '''case, turbulent intensity''' is '''0.0261 '''and '''Turbulent kinetic energy''' is '''0.41 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s&amp;lt;sup&amp;gt;2'''&amp;lt;/sup&amp;gt; (metre squared per second squared)&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Inlet Boundary Condition - epsilon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Let us take a look at the '''inlet boundary condition '''for '''epsilon.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will use '''turbulentMixingLengthDissipationRateInlet '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This calculates '''epsilon''' using '''kappa '''and user-specified '''mixingLength'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''mixingLength '''refers to the''' turbulent length scale.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Kappa''' value is automatically put in by the '''solver'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, the''' turbulent length scale''' is '''0.07 m'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And, the value of the '''turbulent dissipation rate''' is '''0.61 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s&amp;lt;sup&amp;gt;3'''&amp;lt;/sup&amp;gt; (metre squared per seconds cubed)&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Wall Boundary Condition &lt;br /&gt;
|| Next, let us take a look at the '''wall boundary conditions '''to be used. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''turbulent kinetic energy '''is set to '''kqRWallFunction '''&lt;br /&gt;
* '''turbulent dissipation '''is set to '''epsilonWallFunction'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Outlet Boundary Condition &lt;br /&gt;
|| This slide shows the '''outlet boundary condition.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient boundary condition''' is imposed at the '''outlet '''for both '''parameters'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Kinematic eddy viscosity, nut&lt;br /&gt;
|| '''Kinematic eddy viscosity''' is a dependent '''variable'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, its value is calculated by the''' solver'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the '''wall, nutWallFunction''' is used.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''Additional Reading Material''' has more details on the '''boundary conditions'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us take a look at the '''boundary''' and '''initial conditions''' for '''turbulent kinetic energy'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/k'''&lt;br /&gt;
|| Open the '''k''' file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''internalField uniform 0.41;'''&lt;br /&gt;
|| The''' internalField''' is initialised as '''0.41'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type turbulentIntensityKineticEnergyInlet'''&lt;br /&gt;
|| The''' inlet boundary type''' is set to '''turbulentIntensityKineticEnergyInlet'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''intensity 0.0261;'''&lt;br /&gt;
|| The '''keyword intensity '''represents the '''turbulent intensity''', and is set to '''0.0261'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''value $internalField;'''&lt;br /&gt;
|| We have passed the '''internalField''' value to the '''patch field''' value.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient;'''&lt;br /&gt;
|| '''outlet''' is set to '''zeroGradient.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''kqRWallFunction'''&lt;br /&gt;
|| The '''patch type''' for both walls are set to '''kqRWallFunction'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''value $internalField; '''&lt;br /&gt;
|| The''' internalField''' value is passed to the '''patch field '''value.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type empty;'''&lt;br /&gt;
|| The '''frontAndBack patch '''is set as '''empty.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - '''k'''] Close Text Editor&lt;br /&gt;
|| Close the '''k''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s take a look at the '''epsilon''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/epsilon'''&lt;br /&gt;
|| Open the '''epsilon''' file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.61'''&lt;br /&gt;
|| The '''internalField '''value is initialized to '''0.61'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''turbulentMixingLengthDissipationRateInlet'''&lt;br /&gt;
|| The '''inlet type''' is defined as '''turbulentMixingLengthDissipationRateInlet'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.07'''&lt;br /&gt;
|| The field''' mixingLength''' is set to '''0.07'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''$internalField'''&lt;br /&gt;
|| The '''internalField''' value is passed to the '''patch field '''value.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient'''&lt;br /&gt;
|| The '''outlet patch''' is defined as '''zeroGradient.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''epsilonWallFunction'''&lt;br /&gt;
|| The '''wall patch type '''is set to '''epsilonWallFunction.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - e'''psilon'''] Close Text Editor&lt;br /&gt;
|| Close the '''epsilon''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/nut'''&lt;br /&gt;
|| Now, let’s open the '''nut '''file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''nut'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''calculated'''&lt;br /&gt;
|| The '''inlet''' and '''outlet patches''' are set to '''calculated.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''nut'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type nutkWallFunction;'''&lt;br /&gt;
|| The '''wall patch type '''is set as '''nutkWallFunction'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - '''nut'''] Close Text Editor&lt;br /&gt;
|| Close the '''nut''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/U'''&lt;br /&gt;
|| Next, open the '''velocity '''file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''U'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''(20 0 0)'''&lt;br /&gt;
|| The '''inlet patch''' is given a fixed value of '''20 '''along the axis.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''U'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient'''&lt;br /&gt;
|| The '''outlet patch''' is set to '''zeroGradient.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit -'''U]''' Close Text Editor&lt;br /&gt;
|| Close the '''U''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''case '''is ready to be '''run. '''&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh'''&lt;br /&gt;
|| Type '''blockMesh''' to '''mesh''' the geometry.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleFoam'''&lt;br /&gt;
|| Type '''simpleFoam''' in the '''terminal.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''simulation''' will take some time depending on your computer’s '''hardware'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''End'''&lt;br /&gt;
|| The word '''End''' indicates that the '''simulation''' has finished successfully.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Outlet Velocity Profile &lt;br /&gt;
|| The slide shows the '''velocity profile''' at the '''channel exit.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we learnt to,&lt;br /&gt;
* Implement '''k-epsilon turbulence model'''&lt;br /&gt;
* Set up the''' initial '''and '''boundary conditions''' for''' turbulence parameters'''&lt;br /&gt;
* '''Run''' the '''simulation'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Assignment&lt;br /&gt;
|| As an assignment:&lt;br /&gt;
* Change the '''inlet boundary condition''' for '''kappa '''and''' epsilon''' to''' fixedValue'''&lt;br /&gt;
* Repeat the '''simulation''' for a '''velocity '''value of '''40 m/s''', change '''kappa '''and '''epsilon''' accordingly&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;
|| &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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Padmini.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Simulation-a-2D-Turbulent-Flow-in-a-Channel-using-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Simulation-a-2D-Turbulent-Flow-in-a-Channel-using-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Simulation-a-2D-Turbulent-Flow-in-a-Channel-using-OpenFOAM/English"/>
				<updated>2020-07-27T11:38:38Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script:''' Simulation of a Turbulent Flow in a 2D Channel using OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Padmini Priyadarshini&lt;br /&gt;
&lt;br /&gt;
'''Keywords:''' OpenFOAM, Turbulence, k-epsilon, yplus, expansion ratio, blockMesh, wall function, channel flow, simpleFoam, ParaView, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Simulation of Turbulent Flow in a 2D Channel using OpenFOAM.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn how to:&lt;br /&gt;
* Implement '''k-epsilon model'''&lt;br /&gt;
* Set up '''turbulence''' '''parameters'''&lt;br /&gt;
* '''Run '''the '''simulation'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Linux Mint OS''' version 18.3&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0&lt;br /&gt;
* '''gedit Text Editor'''&lt;br /&gt;
&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
&lt;br /&gt;
The steps explained in this tutorial are identical in '''Ubuntu Linux OS'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should have basic knowledge of '''turbulent flows''' and '''fluid dynamics'''.&lt;br /&gt;
* You should also be familiar with '''simulating a flow through a pipe''' in '''OpenFOAM'''.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM''' tutorial on this website&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: 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;
|| Slide: Solver detail&lt;br /&gt;
|| We will use the '''simpleFoam solver''' to '''simulate''' this problem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleFoam''' is a '''steady-state solver''' for '''incompressible''', '''turbulent flow'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Problem statement&lt;br /&gt;
|| The diagram shows a''' 2D channel '''of '''length''' '''65 m '''and '''width 1 m'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''kinematic viscosity''' is '''1e-05 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''Inlet velocity '''is '''20 m/s. '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Outlet pressure '''is set to '''0 atmosphere.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Flow Properties&lt;br /&gt;
|| '''Reynolds number''' is '''2 million'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And the '''flow''' is '''turbulent.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: K-Epsilon turbulence model&lt;br /&gt;
|| '''K-epsilon '''is a widely used '''RAS''' '''turbulence model.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is a '''two-equation model'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It solves:&lt;br /&gt;
* The '''turbulent kinetic energy''' '''transport equation''', and&lt;br /&gt;
* The '''turbulent dissipation rate transport''' '''equation'''&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us set up the '''case.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Download the '''kepsilon '''folder provided in the '''Code file''' and extract it.&lt;br /&gt;
|-&lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
Only Narration&lt;br /&gt;
|| From now onwards please remember to press the '''Enter''' key after typing each '''command '''in the''' Terminal.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Let us''' '''open the '''Run directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cp -r ~/Downloads/kepsilon .'''&lt;br /&gt;
|| And copy the downloaded file into the run directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration &lt;br /&gt;
|| I have downloaded the file into my '''Downloads directory.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please change the '''path''' as per your machine.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd kepsilon'''&lt;br /&gt;
|| With this command, we will navigate to the '''kepsilon''' directory.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Y plus&lt;br /&gt;
|| '''YPlus '''is the '''dimensionless wall distance.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For '''wall function''' '''approach,''' '''yplus''' value should be between '''30 '''and '''300.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Wall distance, yp&lt;br /&gt;
|| Let “'''yp'''” be the distance between the '''wall''' and the nearest '''cell centre.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For our '''case''', '''yp''' is '''0.00155''' for a '''yplus''' value of '''100.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For '''channel flow, '''the''' skin friction coefficient, Cf''' is given by this formula.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''Additional Reading Material''' has more details on the''' wall function approach'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It mentions the steps used to calculate '''yp'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''ls system'''&lt;br /&gt;
|| Type''' '''the following''' command''' to view the content of the '''system''' directory.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict'''&lt;br /&gt;
|| This directory contains the '''blockMeshDict''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| I have already set up the '''blockMesh''' file for a '''2D multi-block channel '''with this''' yp value'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us take a look at the''' initial''' and '''boundary conditions''' of the '''flow variables.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Inlet Boundary Condition - k&lt;br /&gt;
|| Let us take a look at the '''inlet boundary condition '''for '''kappa.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will use '''turbulentIntensityKineticEnergyInlet'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This calculates''' kappa '''using the user-specified '''turbulence intensity'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For our '''case, turbulent intensity''' is '''0.0261 '''and '''Turbulent kinetic energy''' is '''0.41 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s&amp;lt;sup&amp;gt;2'''&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Inlet Boundary Condition - epsilon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| Let us take a look at the '''inlet boundary condition '''for '''epsilon.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We will use '''turbulentMixingLengthDissipationRateInlet '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This calculates '''epsilon''' using '''kappa '''and &lt;br /&gt;
&lt;br /&gt;
user-specified '''mixingLength'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''mixingLength '''refers to the''' turbulent length scale.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Kappa''' value is automatically put in by the '''solver'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here''', '''the''' turbulent length scale''' is '''0.07 m'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And, the value of the '''turbulent dissipation rate''' is '''0.61 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s&amp;lt;sup&amp;gt;3'''&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Wall Boundary Condition &lt;br /&gt;
|| Next, let us take a look at the wall '''boundary conditions '''to be''' '''used. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''turbulent kinetic energy '''is set to '''kqRWallFunction '''&lt;br /&gt;
* '''turbulent dissipation '''is set to '''epsilonWallFunction'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Outlet Boundary Condition &lt;br /&gt;
|| This slide shows the '''outlet boundary condition.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient boundary condition''' is imposed at the '''outlet '''for both parameters.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Kinematic eddy viscosity, nut&lt;br /&gt;
|| '''Kinematic eddy viscosity''' is a dependent '''variable'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, its value is calculated by the''' solver'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the '''wall, nutWallFunction''' is used.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''Additional Reading Material''' has more details on the boundary conditions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us take a look at the '''boundary''' and '''initial conditions''' for '''turbulent kinetic energy'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/k'''&lt;br /&gt;
|| Open the '''k''' file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''internalField uniform 0.41;'''&lt;br /&gt;
|| The''' internalField''' is initialised as '''0.41'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type turbulentIntensityKineticEnergyInlet'''&lt;br /&gt;
|| The''' inlet boundary type''' is set to '''turbulentIntensityKineticEnergyInlet'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''intensity 0.0261;'''&lt;br /&gt;
|| The keyword''' intensity '''represents the '''turbulent intensity''', and is set to '''0.0261'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''value $internalField;'''&lt;br /&gt;
|| We have passed the '''internalField''' value to the '''patch field''' value.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient;'''&lt;br /&gt;
|| '''outlet''' is set to '''zeroGradient.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''kqRWallFunction'''&lt;br /&gt;
|| The '''patch''' type for both walls are set to '''kqRWallFunction'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''value $internalField; '''&lt;br /&gt;
|| The''' internalField''' value is passed to the '''patch field '''value'''.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''k'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type empty;'''&lt;br /&gt;
|| The '''frontAndBack patch '''is set as '''empty.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - '''k'''] Close Text Editor&lt;br /&gt;
|| Close the '''k''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s take a look at the '''epsilon''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/epsilon'''&lt;br /&gt;
|| Open the '''epsilon''' file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.61'''&lt;br /&gt;
|| The '''internalField '''value is initialized to '''0.61'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''turbulentMixingLengthDissipationRateInlet'''&lt;br /&gt;
|| The '''inlet''' type is defined as '''turbulentMixingLengthDissipationRateInlet'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.07'''&lt;br /&gt;
|| The field''' mixingLength''' is set to '''0.07'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''$internalField'''&lt;br /&gt;
|| The '''internalField''' value is passed to the '''patch field '''value'''.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient'''&lt;br /&gt;
|| The '''outlet patch''' is defined as '''zeroGradient.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''epsilon'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''epsilonWallFunction'''&lt;br /&gt;
|| The '''wall patch type '''is set to '''epsilonWallFunction.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - e'''psilon'''] Close Text Editor&lt;br /&gt;
|| Close the '''epsilon''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/nut'''&lt;br /&gt;
|| Now, let’s open the '''nut '''file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''nut'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''calculated'''&lt;br /&gt;
|| The '''inlet''' and '''outlet patches''' are set to '''calculated.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''nut'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type nutkWallFunction;'''&lt;br /&gt;
|| The '''wall patch type '''is set as '''nutkWallFunction'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - '''nut'''] Close Text Editor&lt;br /&gt;
|| Close the '''nut''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit 0/U'''&lt;br /&gt;
|| Next, open the '''velocity '''file in a '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''U'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''(20 0 0)'''&lt;br /&gt;
|| The '''inlet patch''' is given a fixed value of '''20 '''along the axis.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit -'''U'''] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''zeroGradient'''&lt;br /&gt;
|| The '''outlet patch''' is set to '''zeroGradient.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit -'''U]''' Close Text Editor&lt;br /&gt;
|| Close the '''U''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''case '''is ready to be '''run. '''&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh'''&lt;br /&gt;
|| Type '''blockMesh''' to '''mesh''' the '''geometry'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleFoam'''&lt;br /&gt;
|| Type '''simpleFoam''' in the '''terminal.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''simulation''' will take some time depending on your computer’s '''hardware'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Highlight:''' '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''End'''&lt;br /&gt;
|| The word '''End''' indicates that the '''simulatio'''n has finished successfully.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Outlet Velocity Profile &lt;br /&gt;
|| The slide shows the '''velocity profile''' at the '''channel exit.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we learnt to,&lt;br /&gt;
* Implement '''k-epsilon turbulence model'''&lt;br /&gt;
* Set up the''' initial '''and '''boundary conditions''' for''' turbulence parameters'''&lt;br /&gt;
* '''Run''' the '''simulation'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Assignment&lt;br /&gt;
|| As an assignment:&lt;br /&gt;
* Change the '''inlet boundary condition''' for '''kappa '''and''' epsilon''' to''' fixedValue'''&lt;br /&gt;
* Repeat the '''simulation''' for a '''velocity '''value of '''40 m/s''', change '''kappa '''and '''epsilon''' accordingly&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;
|| &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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Padmini.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English"/>
				<updated>2020-07-23T11:48:27Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, blockMesh, meshing, multiple blocks, graded mesh, mesh refinement, inflation layer, pre-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Multi-block Meshing of 2D Geometry in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objectives&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Create a '''geometry''' with multiple '''blocks''' using '''blockMeshDict'''&lt;br /&gt;
* Vary '''meshing parameters''' for each '''block'''&lt;br /&gt;
* Label the '''boundary patches''', and''' '''&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with the creation of a basic '''geometry '''using the '''blockMesh''' utility.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: 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, and&lt;br /&gt;
* Make a copy and then use them while practising&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Geometry&lt;br /&gt;
|| This is the '''geometry''' we will be creating and '''meshing '''later on.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Faces&lt;br /&gt;
|| &lt;br /&gt;
* The left and right faces are the '''inlet''' and '''outlet''' respectively.&lt;br /&gt;
* The top and bottom faces are the two '''walls'''.&lt;br /&gt;
* The front and back faces are empty faces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The faces are empty as we are creating a '''geometry''' for a '''2D simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Now, open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| At the '''prompt''', type the following '''command''' to go to the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/pimpleFoam/LES/channel395 .'''&lt;br /&gt;
|| Now, let us copy the '''case''' from the '''tutorials directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to do so.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''rm -r channel395/0'''&lt;br /&gt;
|| We will only be creating and '''meshing''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, we do not need the '''boundary conditions''' folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to delete the '''boundary conditions''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit channel395/system/blockMeshDict'''&lt;br /&gt;
|| Now open the '''blockMeshDict''' file in a '''text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am opening it in the '''gedit text editor.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Delete'''&lt;br /&gt;
|| Select the contents of the file from '''vertices''' to the end of the document as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then delete the selected section as we will be entering the '''input parameters'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''multiBlock''']&lt;br /&gt;
|| Next open the '''multiBlock.txt''' file that you have downloaded in the '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''multiBlock'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Copy'''&lt;br /&gt;
|| Copy the entire content of the text file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Paste'''&lt;br /&gt;
|| Paste the copied content into the '''blockMeshDict '''file as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Ctrl + S&lt;br /&gt;
|| And save the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Blocks&lt;br /&gt;
|| The '''geometry''' is divided into 2 '''blocks''' as shown in the figure.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Vertices&lt;br /&gt;
|| There are 12 '''vertices''' and they are numbered as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the '''vertex''' numbering starts from 0.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me switch back to the '''blockMeshDict '''file.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us enter the '''coordinates''' of '''vertices''' in ascending order of their '''vertex''' numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''vertices''' are defined using the list '''vertices'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vertices list&lt;br /&gt;
|| The '''coordinates''' of the 12 '''vertices''' are entered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blocks '''&lt;br /&gt;
|| Now, let us see how the '''blocks''' for this '''geometry''' are defined.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Blocks&lt;br /&gt;
|| The '''geometry''' is divided into 2 '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This division enables us to '''mesh''' the top and bottom sections of the '''geometry''' differently.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''blocks''' are numbered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Block 1 definition''' '''&lt;br /&gt;
|| '''Block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''hex'''&lt;br /&gt;
|| We use '''hexahedral blocks''' for '''meshing'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will enter the '''vertices''' that define '''block 1'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We first enter the '''vertices''' of the lower xy-plane.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Block 1&lt;br /&gt;
|| To define '''block 1''', &lt;br /&gt;
* We first enter the '''vertices''' of the '''back face''' and then that of the '''front face'''&lt;br /&gt;
* When viewed along the '''negative z-direction''', the '''vertices''' should be ordered '''counterclockwise'''&lt;br /&gt;
* Following this convention, the '''vertices''' of the back face are 0, 1, 3 and 2&lt;br /&gt;
* The corresponding order of the front face is 6, 7, 9 and 8&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0 1 3 2 6 7 9 8'''&lt;br /&gt;
|| The '''vertices''' of '''block 1''' are therefore entered in the order as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''40 25 1'''&lt;br /&gt;
|| The number of '''cells''' in each '''direction''' is defined as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is only 1 '''cell''' in the '''z direction''' as this is a '''mesh''' for '''2D simulation''' in '''xy-plane'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleGrading'''&lt;br /&gt;
|| We use '''simpleGrading''' as the cells have uniform expansion in all directions.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 10 1'''&lt;br /&gt;
|| The ratio of width of the '''end cell''' to that of the '''start cell''' in a '''direction''' is its '''expansion ratio'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''expansion ratio''' in each '''direction''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''in x direction&lt;br /&gt;
|| This means that all '''cells''' have uniform width along '''x''' '''direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''in z direction&lt;br /&gt;
|| The same is the case for '''z direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''10 '''in y direction &lt;br /&gt;
|| However, along the '''y direction''', the '''end cell''' is 10 times as wide as the '''start cell'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Block 2 definition&lt;br /&gt;
|| '''Block 2''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.1 '''in y direction&lt;br /&gt;
|| The '''expansion ratio''' in '''y direction''' is the only '''parameter''' different in '''block 2''' from that of '''1.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Along '''y direction''', the '''end cell''' is now only 0.1 times as wide as the '''start cell'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edges list &lt;br /&gt;
|| Since all the edges of the '''channel geometry''' are straight lines, we leave the '''edges''' field empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''boundary'''&lt;br /&gt;
|| Let us label the '''boundary patches '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| The bottom and top face is as shown in the figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We shall name them '''wallBottom''' and '''wallTop''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Each face resembles the characteristics of a '''solid wall'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, the face is of the '''type wall'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''wallBottom '''and '''wallTop '''definitions&lt;br /&gt;
|| The two faces are defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We need to impose '''cyclic boundary conditions''' on the '''inlet''' and '''outlet''' faces of '''block 1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Cyclic Patch&lt;br /&gt;
|| &lt;br /&gt;
* The '''face''' '''type''' for a '''cyclic patch''' is defined using the keyword''' cyclic.'''&lt;br /&gt;
* The pair of '''faces''' are linked to each other through the keyword''' neighbourPatch.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces of '''block 1''' are named '''in1''' and '''out1''' respectively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The same for '''block 2''' are named '''in2''' and '''out2''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''in1 '''definition&lt;br /&gt;
|| The '''inlet''' face of '''block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cyclic'''&lt;br /&gt;
|| The '''boundary face type''' is '''cyclic'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''neighbourPatch out1'''&lt;br /&gt;
|| The '''outlet''' face is linked to the '''inlet''' face using the keyword''' neighbourPatch'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''((0 6 8 2))'''&lt;br /&gt;
|| The '''vertices''' of the '''inlet''' face are ordered in '''clockwise direction''' when viewed from inside of '''block 1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''out1''' definition&lt;br /&gt;
|| The '''outlet''' face of '''block 1''' is defined as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''in2''' and '''out2''' definitions&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces of '''block 2''' are defined as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| &lt;br /&gt;
* The back and front faces of '''block 1''' are named '''sides1_half0''' and '''sides1_half1''' respectively.&lt;br /&gt;
* The back and front faces of '''block 2''' are named '''sides2_half0''' and '''sides2_half1''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We are creating a '''geometry''' for a '''2D simulation''' in the '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the faces normal to '''z-direction''' are kept empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sides1_half0''' definition&lt;br /&gt;
|| The back face of '''block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''empty'''&lt;br /&gt;
|| Note that we have kept the face''' empty'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sides1_half1''', '''sides2_half0''' and '''sides2_half1''' definition&lt;br /&gt;
|| Similarly, we define the other 3 faces.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We have now finished labelling all the '''boundary patches'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mergePatchPairs list&lt;br /&gt;
|| Since we do not have any '''patches''' to merge, we leave the '''mergePatchPairs''' field empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on Save &amp;gt;&amp;gt; Close Text Editor&lt;br /&gt;
|| We have now entered all the necessary '''fields'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]''' '''Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd channel395'''&lt;br /&gt;
|| Come to the '''terminal''', and type '''cd (space) channel395'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh '''&amp;gt;&amp;gt;''' Enter'''&lt;br /&gt;
|| To '''mesh''' the '''geometry''', type '''blockMesh''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| To view the '''mesh''' in '''ParaView''', type '''paraFoam'''.&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 '''Apply''' in the '''Properties''' tab.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Active Variable Controls'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Surface''' &amp;gt;&amp;gt; Click on '''Surface with Edges'''&lt;br /&gt;
|| Click on '''Surface''' available in the '''Active Variable Controls''' and change it to '''Surface with Edges'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can now see the '''mesh''' structure in the '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice the '''mesh refinement''' near the top and bottom faces of the '''geometry'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| And now, close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Create a '''geometry''' with multiple '''blocks''' using '''blockMeshDict'''&lt;br /&gt;
* Vary '''meshing parameters''' for each '''block'''&lt;br /&gt;
* Label the '''boundary patches''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Assignment&lt;br /&gt;
|| As an assignment:&lt;br /&gt;
* Create a '''geometry''' having dimensions '''5 m''', '''4 m''' and '''3 m''' along '''x''', '''y''' and '''z axis'''&lt;br /&gt;
* Divide the '''geometry''' into 2 equal''' blocks '''along the''' x axis'''&lt;br /&gt;
* Mesh the '''geometry''' such that it has '''25''', '''20''' and '''1 cell''' along '''x''', '''y''' and '''z axis''' for each '''block'''&lt;br /&gt;
* Set expansion ratio as '''10''', '''1''' and '''1''' along the '''x''', '''y''' and '''z axis '''for both the '''blocks''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English"/>
				<updated>2020-07-23T11:46:09Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Setting-up a test case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, lid driven cavity, pre-processing, blockMesh, controlDict, post-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Setting up a test case in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Set up a '''case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
You may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with basic '''Linux commands'''.&lt;br /&gt;
* If not, please go through the prerequisite '''Linux '''tutorials on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Lid Driven Cavity&lt;br /&gt;
|| In this tutorial, we will learn to set up the '''lid driven cavity case'''.&lt;br /&gt;
&lt;br /&gt;
'''Lid driven cavity''' is one of the most widely used '''2D test cases''' for the validation of a '''CFD '''code.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Diagram&lt;br /&gt;
|| This is the diagram of '''Lid Driven Cavity Flow'''.&lt;br /&gt;
&lt;br /&gt;
It consists of 3 fixed walls and a moving top wall.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing the '''Ctrl, Alt '''and''' T''' keys together.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
'''mkdir -p $FOAM_RUN'''&lt;br /&gt;
|| Now, let’s create a '''RUN directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the '''command''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight&lt;br /&gt;
&lt;br /&gt;
'''FOAM_RUN'''&lt;br /&gt;
|| '''Tutorial cases''' will later be copied into the '''RUN directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Go to the '''RUN directory''' using the '''cd command'''.&lt;br /&gt;
&lt;br /&gt;
Now our present working directory is the '''RUN directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| '''OpenFOAM''' installation comes with a set of '''test cases'''.&lt;br /&gt;
&lt;br /&gt;
The '''tutorials directory''' contains these '''test cases'''. &lt;br /&gt;
&lt;br /&gt;
The '''Lid driven cavity case''' already exists inside the '''tutorials directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .'''&lt;br /&gt;
|| We’ll now copy the '''Lid driven cavity case''' from the '''tutorials directory''' into the '''RUN directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: blockMesh&lt;br /&gt;
|| &lt;br /&gt;
* The '''mesh generator''' for '''OpenFOAM''' is a utility called '''blockMesh'''.&lt;br /&gt;
* The '''input dictionary''' for '''blockMesh''' utility is '''blockMeshDict'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit cavity/system/blockMeshDict'''&lt;br /&gt;
|| The '''blockMeshDict''' file is located in the '''system''' folder.&lt;br /&gt;
&lt;br /&gt;
Open the '''blockMeshDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
vertices, blocks, edges and boundary&lt;br /&gt;
|| Now let’s look at the contents of the file.&lt;br /&gt;
&lt;br /&gt;
The '''blockMeshDict''' contains details of the geometry like vertices, blocks, edges and boundaries.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Close the window&lt;br /&gt;
|| Close the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd cavity/0'''&lt;br /&gt;
|| The '''0''' folder contains the '''initial''' and '''boundary conditions''' for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to move into the '''0''' folder inside the '''cavity case directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' and press '''Enter''' to view the files in the '''0''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''p''' and '''U''' &lt;br /&gt;
|| The '''0''' folder contains the '''kinematic pressure file p''' and the '''velocity file U'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit p'''&lt;br /&gt;
|| Open the '''kinematic pressure file p''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''p''' file contains the '''initial''' and '''boundary conditions''' of '''kinematic pressure'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''dimensions [0 2 -2 0 0 0 0] '''&lt;br /&gt;
|| The '''dimensions''' of '''kinematic pressure''' is meter squared per second squared. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''internalField '''&lt;br /&gt;
|| The '''internalField''' defines the values in the interior of the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform 0'''&lt;br /&gt;
|| The initial field is set as '''0 kinematic pressure'''.&lt;br /&gt;
&lt;br /&gt;
This field is '''uniform''' across the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
Both the '''zeroGradient'''&lt;br /&gt;
|| You can see that all walls are imposed with a '''zero gradient pressure boundary condition'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Close the window&lt;br /&gt;
|| Let us close the '''p''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit U'''&lt;br /&gt;
|| Now open the '''velocity file U''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''U file''' contains the '''initial''' and '''boundary conditions''' of '''velocity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform (1 0 0);'''&lt;br /&gt;
|| You can see that the moving wall is imposed with a '''velocity''' of '''1 m/s''' in the x direction.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''noSlip '''&lt;br /&gt;
|| Also notice that the '''no-slip condition''' is imposed on the three fixed walls.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Close the window&lt;br /&gt;
|| Now let us close the '''U''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| We’ll go back to the '''cavity''' folder.&lt;br /&gt;
&lt;br /&gt;
Type '''cd (space)(dot)(dot)'''&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit constant/transportProperties'''&lt;br /&gt;
|| Next, we will view the '''transport properties file '''which is in the '''constant '''folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''nu '''&lt;br /&gt;
|| The '''transportProperties''' file contains the details of '''kinematic viscosity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''[0 2 -1 0 0 0 0] '''&lt;br /&gt;
|| The dimensions of '''kinematic viscosity''' is meter squared per second.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Kinematic Viscosity&lt;br /&gt;
|| &lt;br /&gt;
The '''kinematic viscosity''' is defined by:&lt;br /&gt;
'''''nu'' equals magnitude of ''U'' times ''d'' by ''Re'''''&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
*'''velocity''' is '''1 m per second'''&lt;br /&gt;
*characteristic length is '''0.1 meters'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''Reynolds number (Re)''' for the '''flow''' is taken as '''10'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''kinematic viscosity''' is therefore '''0.01 meter squared per second'''&lt;br /&gt;
|- &lt;br /&gt;
|| Narration Only&lt;br /&gt;
|| Now let me switch back to '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''0.01'''&lt;br /&gt;
|| The value of '''kinematic viscosity''' is indicated in the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Close the window&lt;br /&gt;
|| Close the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd system'''&lt;br /&gt;
|| To move into the '''system''' folder, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' to view the contents of the '''system''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict controlDict fvSchemes fvSolution''' &lt;br /&gt;
|| The '''system''' folder contains the following files:&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict, controlDict, fvSchemes''' and '''fvSolution'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSchemes'''&lt;br /&gt;
|| The '''fvSchemes dictionary''' contains the '''finite volume discretisation schemes'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSolution'''&lt;br /&gt;
|| The '''fvSolution dictionary''' contains the '''linear equation solvers''' and '''tolerances'''.&lt;br /&gt;
&lt;br /&gt;
It contains other '''algorithm controls''' as well.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''controlDict'''&lt;br /&gt;
|| The '''controlDict dictionary''' contains the '''simulation control parameters'''. &lt;br /&gt;
&lt;br /&gt;
The '''dictionary''' input includes the '''control''' of '''time''' and '''reading''' and '''writing''' of the '''solution data'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''gedit controlDict'''&lt;br /&gt;
|| Let’s open the '''controlDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startFrom '''and '''startTime'''&lt;br /&gt;
|| The '''start '''and''' stop times''' and the '''time step''' for the '''run''' must be set.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startTime''' '''0;'''&lt;br /&gt;
|| The '''start time''' is set at '''0''' seconds.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''stopAt''' '''endTime;'''&lt;br /&gt;
|| The time at which the '''simulation''' stops, is specified using the '''keyword stopAt'''.&lt;br /&gt;
&lt;br /&gt;
Here, '''stopAt''' is specified using the keyword '''endTime'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''endTime''' '''0.5;'''&lt;br /&gt;
|| The '''endTime''' is set at '''0.5 seconds'''.&lt;br /&gt;
&lt;br /&gt;
This means that '''simulation''' stops after '''0.5 seconds'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''deltaT 0.005;'''&lt;br /&gt;
|| The value of the '''keyword deltaT''' defines the '''time step''' for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
The '''time step''' for the current '''simulation''' is set as '''0.005 seconds'''.&lt;br /&gt;
&lt;br /&gt;
'''Temporal accuracy''' and '''numerical stability''' is essential while running the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To achieve this, a''' Courant number''' of less than 1 is required.&lt;br /&gt;
&lt;br /&gt;
Keeping this in mind, the '''time step''' is set to '''0.005 seconds'''.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''application''' '''icoFoam'''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|| '''icoFoam''' is the '''OpenFOAM solver''' used to '''simulate''' the '''lid driven cavity flow'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Close the window&lt;br /&gt;
|| Close the '''controlDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| Go back to the '''cavity''' folder using '''cd command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''blockMesh''' &amp;gt;&amp;gt; '''Enter'''&lt;br /&gt;
|| Type the '''command blockMesh''' and press '''Enter''' to '''mesh''' the geometry.&lt;br /&gt;
&lt;br /&gt;
The '''command''' takes input from the '''blockMeshDict dictionary''' and creates the geometry and '''meshes''' it.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''icoFoam'''&lt;br /&gt;
|| The '''lid driven cavity flow''' is an '''incompressible flow'''.&lt;br /&gt;
&lt;br /&gt;
It is solved using the''' OpenFOAM solver icoFoam.'''&lt;br /&gt;
&lt;br /&gt;
To start the '''simulation''', type '''icoFoam''' in the '''terminal.''' &lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The iterations are now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| Let us view the '''simulated''' results in '''ParaView'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, type '''paraFoam''' in the '''terminal.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Properties''' Tab&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| In the '''ParaView''' window, go to the '''Properties''' tab on the left.&lt;br /&gt;
&lt;br /&gt;
Then click on the green coloured '''Apply '''button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Click on '''vtkBlockColors''' &amp;gt;&amp;gt; Click on '''U'''&lt;br /&gt;
|| Go to the '''Active Variable Controls '''at the top. &lt;br /&gt;
&lt;br /&gt;
Click on the '''vtkBlockColors''' dropdown and select '''U'''.&lt;br /&gt;
&lt;br /&gt;
Ensure that you click on the '''U''' option with a '''point icon''' and not the '''box icon''', in the dropdown.&lt;br /&gt;
&lt;br /&gt;
The '''box icon''' would display '''contours''' without any grading.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity contour''' at the start of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Go to '''VCR Controls''' and click on the '''Play''' Button&lt;br /&gt;
|| Let us see how the '''velocity contours''' develop through the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To do so, go to the '''VCR Controls''' and click on the '''Play''' button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Final Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity contour''' at the end of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| To summarise, in this tutorial we have learnt to:&lt;br /&gt;
* Set up a''' case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&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;
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;
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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Grid-Resolution-and-Convergence-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Grid-Resolution-and-Convergence-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Grid-Resolution-and-Convergence-in-OpenFOAM/English"/>
				<updated>2020-07-22T10:45:33Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''Title of the script''': Grid Resolution and Convergence in OpenFOAM  '''Author''': Ashley Melvin  '''Keywords''': OpenFOAM, ParaView, blockMesh, meshing, mesh refinement, c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Grid Resolution and Convergence in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, blockMesh, meshing, mesh refinement, coarse mesh, medium mesh, fine mesh, grid independence study, Courant number, lid-driven cavity, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Grid Resolution and Convergence in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objectives&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* '''Refine''' a '''mesh''' using '''blockMeshDict'''&lt;br /&gt;
* Change the '''time step''' to achieve '''numerical stability''', and&lt;br /&gt;
* Perform a '''grid independence''' '''study'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&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 '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with '''setting up a case''' and '''creating a mesh''' in '''OpenFOAM'''.&lt;br /&gt;
* You should also be familiar with '''basic post-processing''' using '''ParaView'''.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorials on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Lid Driven Cavity&lt;br /&gt;
|| We will use the '''lid driven cavity case''' in this tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the diagram of '''Lid Driven Cavity Flow'''.&lt;br /&gt;
|- &lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|-&lt;br /&gt;
|  | Only Narration&lt;br /&gt;
|  | Here onwards please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type: '''cd $FOAM_RUN'''&lt;br /&gt;
|| Type the following '''command''' to move into the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .'''&lt;br /&gt;
|| Let us copy the '''Lid driven cavity case''' from the '''tutorial directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to do so.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type: '''cd cavity'''&lt;br /&gt;
|| Now let us go into the '''lid driven cavity case''' folder using the '''cd command'''. &lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type: '''gedit system/blockMeshDict'''&lt;br /&gt;
|| Let’s open the '''blockMeshDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Highlight '''(20 20 1)'''&lt;br /&gt;
|| This is a '''2 dimensional mesh''' having '''20 cells''' along both '''x''' and '''y directions'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close Text Editor&lt;br /&gt;
|| Close the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type: '''gedit system/controlDict'''&lt;br /&gt;
|| Now, let’s open the '''controlDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''deltaT'''&lt;br /&gt;
|| The '''time step''' for the '''simulation''' is specified using the '''keyword deltaT'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When '''running''' the '''simulation, temporal accuracy''' and '''numerical stability''' needs to be achieved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''Courant number''' is required to be less than '''1''' to achieve this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to the '''Additional Reading Material''' on this tutorial page for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It mentions the steps used to calculate the '''time-step'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Highlight: '''0.005 '''&lt;br /&gt;
|| We have calculated the '''time step''' for this '''simulation''' to be '''0.005 s'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, this will be the value of '''deltaT'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Close Text Editor&lt;br /&gt;
|| Close the '''controlDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh'''&lt;br /&gt;
|| Let us '''mesh''' the '''geometry''' now using the '''blockMesh command''' on the '''terminal.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''icoFoam'''&lt;br /&gt;
|| We will be using the '''icoFoam solver''' to '''simulate''' the '''case'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' on the '''terminal''' to start the '''simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''End'''&lt;br /&gt;
|| The iterations are now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| Let us view the '''simulated''' results in '''ParaView''' using the '''paraFoam command'''.&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 in the '''Properties''' tab 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 '''p'''&lt;br /&gt;
|| Next, let’s view the '''pressure 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 '''p'''.&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;
|| Now, let us 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] '''Data Analysis'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Probe Location'''&lt;br /&gt;
|| Next, let’s see the values of '''pressure''' and '''velocity''' at the centre of the '''domain'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, click on the '''Probe Location''' button in the '''Data Analysis''' section.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Probe Location&lt;br /&gt;
|| &lt;br /&gt;
* '''Probe Location filter''' shows the details of the points within an arbitrary '''sphere'''.&lt;br /&gt;
* By default, this '''sphere''' is centered at the '''center '''of the''' domain''' and has '''0''' radius.&lt;br /&gt;
* Changing these parameters will change the '''probe location''' or the '''range''' of the '''probe'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Properties Tab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| We need the values at the '''centre '''of the''' domain'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, we stick with the default '''Sphere Parameters''' in the '''Properties''' Tab.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on the '''Apply''' button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''SpreadSheetView'''&lt;br /&gt;
|| We can now see the velocity and pressure values in the '''SpreadSheetView'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note down the value of '''pressure''' as we will be using this later.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| Then close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Now, let us increase the '''number of cells''' in the '''x''' and '''y direction''' to '''40 cells'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Mesh Refinement&lt;br /&gt;
|| &lt;br /&gt;
* This process of dividing the existing cells is called '''mesh refinement'''.&lt;br /&gt;
* '''Mesh refinement''' changes a '''coarse mesh''' into a '''finer mesh'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit system/blockMeshDict'''&lt;br /&gt;
|| Let us open the '''blockMeshDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''40 40'''&lt;br /&gt;
|| Change the '''number of cells''' in '''x''' and '''y direction''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save &amp;gt;&amp;gt; Close the window&lt;br /&gt;
|| Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Since we have changed the number of cells, we need to update the '''time step'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is to ensure that the '''Courant number''' is less than '''1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit system/controlDict'''&lt;br /&gt;
|| Let’s open the '''controlDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Highlight: '''0.0025'''&lt;br /&gt;
|| For the refined '''mesh''', the calculated '''time-step''' is '''0.0025 s'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Update '''deltaT''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save &amp;gt;&amp;gt; Close the window&lt;br /&gt;
|| Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type: '''blockMesh'''&lt;br /&gt;
|| Since we have changed the '''meshing parameters''', we need to '''mesh''' the '''geometry''' again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the '''terminal''', type the '''command''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Let us view the contents of the '''cavity''' folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type '''ls''' in the '''terminal.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.1 0.2 0.3 0.4 0.5'''&lt;br /&gt;
|| We can see that the files from the '''previous run''' exist in the '''cavity''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''foamListTimes -rm'''&lt;br /&gt;
|| Let’s remove these files by typing this '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''icoFoam'''&lt;br /&gt;
|| Let’s run the '''icoFoam solver'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| And view the results in '''ParaView '''by typing '''paraFoam.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click '''Apply''' &amp;gt;&amp;gt; Click on '''vtkBlockColors''' &amp;gt;&amp;gt; Click on '''p '''&amp;gt;&amp;gt; Click on '''Last Frame '''&amp;gt;&amp;gt; Click on '''Probe Location '''&amp;gt;&amp;gt; Click '''Apply'''&lt;br /&gt;
|| Let us find the value of the '''pressure field''' at the '''centre '''of the''' domain''' at the '''final time step'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As explained earlier, we use the '''Last Frame''' option to move to the '''final time step'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And, we use the '''Probe Location filter''' to find the '''data''' at the '''centre of the domain'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''SpreadSheetView'''&lt;br /&gt;
|| We can see the value of the '''pressure field''' at the '''centre '''of the''' domain'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Similarly, we can find the pressure at the '''centre''' for more number of cells.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the '''time step''' is changed for each '''run''' depending on the '''cell size'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Pressure at the Centre&lt;br /&gt;
|| The following table shows the '''pressure values''' for various '''numbers of cells'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Pressure at the Centre&lt;br /&gt;
|| This is the '''Pressure versus number of cells''' plot based on the '''data'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s consider that values within the order of '''10&amp;lt;sup&amp;gt;-3'''&amp;lt;/sup&amp;gt; are acceptable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can see that the pressure values at '''6400''' and '''25600 cells''' differ only by an order of '''10&amp;lt;sup&amp;gt;-4'''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any more '''refinement''' than '''6400 cells,''' will only give us results that differ by less than '''10&amp;lt;sup&amp;gt;-3'''&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the results from a '''mesh''' having '''6400 cells''' or more, surely gives acceptable results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In other words, the results become independent of the '''mesh,''' if it has more than '''6400 cells'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What we have just performed is called a '''grid independence study'''. &lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''Additional Reading Material''' has more details on '''grid independence study'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please refer to it.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this 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: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* '''Refine''' a '''mesh''' using '''blockMeshDict'''&lt;br /&gt;
* Change the '''time step''' to achieve '''numerical stability''', and&lt;br /&gt;
* Perform a '''grid independence''' '''study'''&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;
|| &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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English"/>
				<updated>2020-07-22T09:31:25Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, blockMesh, meshing, multiple blocks, graded mesh, mesh refinement, inflation layer, pre-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Multi-block Meshing of 2D Geometry in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objectives&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Create a '''geometry''' with multiple '''blocks''' using '''blockMeshDict'''&lt;br /&gt;
* Vary '''meshing parameters''' for each '''block'''&lt;br /&gt;
* Label the '''boundary patches''', and''' '''&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with the creation of a basic '''geometry '''using the '''blockMesh''' utility.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: 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, and&lt;br /&gt;
* Make a copy and then use them while practising&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Geometry&lt;br /&gt;
|| This is the '''geometry''' we will be creating and '''meshing '''later on.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Faces&lt;br /&gt;
|| &lt;br /&gt;
* The left and right faces are the '''inlet''' and '''outlet''' respectively.&lt;br /&gt;
* The top and bottom faces are the two '''walls'''.&lt;br /&gt;
* The front and back faces are empty faces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The faces are empty as we are creating a '''geometry''' for a '''2D simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Now, open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| At the '''prompt''', type the following '''command''' to go to the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/pimpleFoam/LES/channel395 .'''&lt;br /&gt;
|| Now, let us copy the '''case''' from the '''tutorial directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to do so.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''rm -r channel395/0'''&lt;br /&gt;
|| We will only be creating and '''meshing''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, we do not need the '''boundary conditions''' folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to delete the '''boundary conditions''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit channel395/system/blockMeshDict'''&lt;br /&gt;
|| Now open the '''blockMeshDict''' file in a '''text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am opening it in the '''gedit text editor.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Delete'''&lt;br /&gt;
|| Select the contents of the file from '''vertices''' to the end of the document as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then delete the selected section as we will be entering the '''input parameters'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''multiBlock''']&lt;br /&gt;
|| Next open the '''multiBlock.txt''' file that you have downloaded in the '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''multiBlock'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Copy'''&lt;br /&gt;
|| Copy the entire content of the text file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Paste'''&lt;br /&gt;
|| Paste the copied content into the '''blockMeshDict '''file as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Ctrl + S&lt;br /&gt;
|| And save the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Blocks&lt;br /&gt;
|| The '''geometry''' is divided into 2 '''blocks''' as shown in the figure.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Vertices&lt;br /&gt;
|| There are 12 '''vertices''' and they are numbered as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the '''vertex''' numbering starts from 0.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me switch back to the '''blockMeshDict '''file.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us enter the '''coordinates''' of '''vertices''' in ascending order of their '''vertex''' numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''vertices''' are defined using the list '''vertices'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vertices list&lt;br /&gt;
|| The '''coordinates''' of the 12 '''vertices''' are entered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blocks '''&lt;br /&gt;
|| Now, let us see how the '''blocks''' for this '''geometry''' are defined.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Blocks&lt;br /&gt;
|| The '''geometry''' is divided into 2 '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This division enables us to '''mesh''' the top and bottom sections of the '''geometry''' differently.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''blocks''' are numbered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Block 1 definition''' '''&lt;br /&gt;
|| '''Block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''hex'''&lt;br /&gt;
|| We use '''hexahedral blocks''' for '''meshing'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will enter the '''vertices''' that define '''block 1'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We first enter the '''vertices''' of the lower xy-plane.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Block 1&lt;br /&gt;
|| To define '''block 1''', &lt;br /&gt;
* We first enter the '''vertices''' of the '''back face''' and then that of the '''front face'''&lt;br /&gt;
* When viewed along the '''negative z-direction''', the '''vertices''' should be ordered '''counterclockwise'''&lt;br /&gt;
* Following this convention, the '''vertices''' of the back face are 0, 1, 3 and 2&lt;br /&gt;
* The corresponding order of the front face is 6, 7, 9 and 8&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0 1 3 2 6 7 9 8'''&lt;br /&gt;
|| The '''vertices''' of '''block 1''' are therefore entered in the order as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''40 25 1'''&lt;br /&gt;
|| The number of '''cells''' in each '''direction''' is defined as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is only 1 '''cell''' in the '''z direction''' as this is a '''mesh''' for '''2D simulation''' in '''xy-plane'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleGrading'''&lt;br /&gt;
|| We use '''simpleGrading''' as the cells have uniform expansion in all directions.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 10 1'''&lt;br /&gt;
|| The ratio of width of the '''end cell''' to that of the '''start cell''' in a '''direction''' is its '''expansion ratio'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''expansion ratio''' in each '''direction''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''in x direction&lt;br /&gt;
|| This means that all '''cells''' have uniform width along '''x''' '''direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''in z direction&lt;br /&gt;
|| The same is the case for '''z direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''10 '''in y direction &lt;br /&gt;
|| However, along the '''y direction''', the '''end cell''' is 10 times as wide as the '''start cell'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Block 2 definition&lt;br /&gt;
|| '''Block 2''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.1 '''in y direction&lt;br /&gt;
|| The '''expansion ratio''' in '''y direction''' is the only '''parameter''' different in '''block 2''' from that of '''1.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Along '''y direction''', the '''end cell''' is now only 0.1 times as wide as the '''start cell'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edges list &lt;br /&gt;
|| Since all the edges of the '''channel geometry''' are straight lines, we leave the '''edges''' field empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''boundary'''&lt;br /&gt;
|| Let us label the '''boundary patches '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| The bottom and top face is as shown in the figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We shall name them '''wallBottom''' and '''wallTop''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Each face resembles the characteristics of a '''solid wall'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, the face is of the '''type wall'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''wallBottom '''and '''wallTop '''definitions&lt;br /&gt;
|| The two faces are defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We need to impose '''cyclic boundary conditions''' on the '''inlet''' and '''outlet''' faces of '''block 1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Cyclic Patch&lt;br /&gt;
|| &lt;br /&gt;
* The '''face''' '''type''' for a '''cyclic patch''' is defined using the keyword''' cyclic.'''&lt;br /&gt;
* The pair of '''faces''' are linked to each other through the keyword''' neighbourPatch.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces of '''block 1''' are named '''in1''' and '''out1''' respectively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The same for '''block 2''' are named '''in2''' and '''out2''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''in1 '''definition&lt;br /&gt;
|| The '''inlet''' face of '''block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cyclic'''&lt;br /&gt;
|| The '''boundary face type''' is '''cyclic'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''neighbourPatch out1'''&lt;br /&gt;
|| The '''outlet''' face is linked to the '''inlet''' face using the keyword''' neighbourPatch'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''((0 6 8 2))'''&lt;br /&gt;
|| The '''vertices''' of the '''inlet''' face are ordered in '''clockwise direction''' when viewed from inside of '''block 1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''out1''' definition&lt;br /&gt;
|| The '''outlet''' face of '''block 1''' is defined as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''in2''' and '''out2''' definitions&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces of '''block 2''' are defined as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| &lt;br /&gt;
* The back and front faces of '''block 1''' are named '''sides1_half0''' and '''sides1_half1''' respectively.&lt;br /&gt;
* The back and front faces of '''block 2''' are named '''sides2_half0''' and '''sides2_half1''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We are creating a '''geometry''' for a '''2D simulation''' in the '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the faces normal to '''z-direction''' are kept empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sides1_half0''' definition&lt;br /&gt;
|| The back face of '''block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''empty'''&lt;br /&gt;
|| Note that we have kept the face''' empty'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sides1_half1''', '''sides2_half0''' and '''sides2_half1''' definition&lt;br /&gt;
|| Similarly, we define the other 3 faces.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We have now finished labelling all the '''boundary patches'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mergePatchPairs list&lt;br /&gt;
|| Since we do not have any '''patches''' to merge, we leave the '''mergePatchPairs''' field empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on Save &amp;gt;&amp;gt; Close Text Editor&lt;br /&gt;
|| We have now entered all the necessary '''fields'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]''' '''Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd channel395'''&lt;br /&gt;
|| Come to the '''terminal''', and type '''cd (space) channel395'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh '''&amp;gt;&amp;gt;''' Enter'''&lt;br /&gt;
|| To '''mesh''' the '''geometry''', type '''blockMesh''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| To view the '''mesh''' in '''ParaView''', type '''paraFoam'''.&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 '''Apply''' in the '''Properties''' tab.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Active Variable Controls'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Surface''' &amp;gt;&amp;gt; Click on '''Surface with Edges'''&lt;br /&gt;
|| Click on '''Surface''' available in the '''Active Variable Controls''' and change it to '''Surface with Edges'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can now see the '''mesh''' structure in the '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice the '''mesh refinement''' near the top and bottom faces of the '''geometry'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| And now, close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Create a '''geometry''' with multiple '''blocks''' using '''blockMeshDict'''&lt;br /&gt;
* Vary '''meshing parameters''' for each '''block'''&lt;br /&gt;
* Label the '''boundary patches''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Assignment&lt;br /&gt;
|| As an assignment:&lt;br /&gt;
* Create a '''geometry''' having dimensions '''5 m''', '''4 m''' and '''3 m''' along '''x''', '''y''' and '''z axis'''&lt;br /&gt;
* Divide the '''geometry''' into 2 equal''' blocks '''along the''' x axis'''&lt;br /&gt;
* Mesh the '''geometry''' such that it has '''25''', '''20''' and '''1 cell''' along '''x''', '''y''' and '''z axis''' for each '''block'''&lt;br /&gt;
* Set expansion ratio as '''10''', '''1''' and '''1''' along the '''x''', '''y''' and '''z axis '''for both the '''blocks''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Multi-block-Meshing-of-a-2D-Geometry-in-OpenFOAM/English"/>
				<updated>2020-07-21T15:27:22Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''Title of the script''': Multi-block Meshing of 2D Geometry in OpenFOAM  '''Author''': Ashley Melvin  '''Keywords''': OpenFOAM, ParaView, blockMesh, meshing, multiple blocks...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Multi-block Meshing of 2D Geometry in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, blockMesh, meshing, multiple blocks, graded mesh, mesh refinement, inflation layer, pre-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Multi-block Meshing of 2D Geometry in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objectives&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Create a '''geometry''' with multiple '''blocks''' using '''blockMeshDict'''&lt;br /&gt;
* Vary '''meshing parameters''' for each '''block'''&lt;br /&gt;
* Label the '''boundary patches''', and''' '''&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text editor'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with the creation of a basic '''geometry '''using the '''blockMesh''' utility.&lt;br /&gt;
* If not, please go through the prerequisite '''OpenFOAM '''tutorial on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: 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, and&lt;br /&gt;
* Make a copy and then use them while practising&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Geometry&lt;br /&gt;
|| This is the '''geometry''' we will be creating and '''meshing '''later on.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Faces&lt;br /&gt;
|| &lt;br /&gt;
* The left and right faces are the '''inlet''' and '''outlet''' respectively.&lt;br /&gt;
* The top and bottom faces are the two '''walls'''.&lt;br /&gt;
* The front and back faces are empty faces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The faces are empty as we are creating a '''geometry''' for a '''2D simulation'''.&lt;br /&gt;
|- &lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Now, open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| At the '''prompt''', type the following '''command''' to go to the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/pimpleFoam/LES/channel395 .'''&lt;br /&gt;
|| Now, let us copy the '''case''' from the '''tutorial directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to do so.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''rm -r channel395/0'''&lt;br /&gt;
|| We will only be creating and '''meshing''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, we do not need the '''boundary conditions''' folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to delete the '''boundary conditions''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit channel395/system/blockMeshDict'''&lt;br /&gt;
|| Now open the '''blockMeshDict''' file in a '''text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am opening it in the '''gedit text editor.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Delete'''&lt;br /&gt;
|| Select the contents of the file from '''vertices''' to the end of the document as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then delete the selected section as we will be entering the '''input parameters'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''multiBlock''']&lt;br /&gt;
|| Next open the '''multiBlock.txt''' file that you have downloaded in the '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''multiBlock'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Copy'''&lt;br /&gt;
|| Copy the entire content of the text file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Paste'''&lt;br /&gt;
|| Paste the copied content into the '''blockMeshDict '''file as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Ctrl + S&lt;br /&gt;
|| And save the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Blocks&lt;br /&gt;
|| The '''geometry''' is divided into 2 '''blocks''' as shown in the figure.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Vertices&lt;br /&gt;
|| There are 12 '''vertices''' and they are numbered as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the '''vertex''' numbering starts from 0.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me switch back to the '''blockMeshDict '''file.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us enter the '''coordinates''' of '''vertices''' in ascending order of their '''vertex''' numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''vertices''' are defined using the list '''vertices'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vertices list&lt;br /&gt;
|| The '''coordinates''' of the 12 '''vertices''' are entered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blocks '''&lt;br /&gt;
|| Now, let us see how the '''blocks''' for this '''geometry''' are defined.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Blocks&lt;br /&gt;
|| The '''geometry''' is divided into 2 '''blocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This division enables us to '''mesh''' the top and bottom sections of the '''geometry''' differently.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''blocks''' are numbered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Block 1 definition''' '''&lt;br /&gt;
|| '''Block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''hex'''&lt;br /&gt;
|| We use '''hexahedral blocks''' for '''meshing'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will enter the '''vertices''' that define '''block 1'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We first enter the '''vertices''' of the lower xy-plane.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Block 1&lt;br /&gt;
|| To define '''block 1''', &lt;br /&gt;
* We first enter the '''vertices''' of the '''back face''' and then that of the '''front face'''&lt;br /&gt;
* When viewed along the '''negative z-direction''', the '''vertices''' should be ordered '''counterclockwise'''&lt;br /&gt;
* Following this convention, the '''vertices''' of the back face are 0, 1, 3 and 2&lt;br /&gt;
* The corresponding order of the front face is 6, 7, 9 and 8&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0 1 3 2 6 7 9 8'''&lt;br /&gt;
|| The '''vertices''' of '''block 1''' are therefore entered in the order as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''40 25 1'''&lt;br /&gt;
|| The number of '''cells''' in each '''direction''' is defined as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is only 1 '''cell''' in the '''z direction''' as this is a '''mesh''' for '''2D simulation''' in '''xy-plane'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleGrading'''&lt;br /&gt;
|| We use '''simpleGrading''' as the cells have uniform expansion in all directions.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 10 1'''&lt;br /&gt;
|| The ratio of width of the '''end cell''' to that of the '''start cell''' in a '''direction''' is its '''expansion ratio'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''expansion ratio''' in each '''direction''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''in x direction&lt;br /&gt;
|| This means that all '''cells''' have uniform width along '''x''' '''direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''in z direction&lt;br /&gt;
|| The same is the case for '''z direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''10 '''in y direction &lt;br /&gt;
|| However, along the '''y direction''', the '''end cell''' is 10 times as wide as the '''start cell'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Block 2 definition&lt;br /&gt;
|| '''Block 2''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0.1 '''in y direction&lt;br /&gt;
|| The '''expansion ratio''' in '''y direction''' is the only '''parameter''' different in '''block 2''' from that of '''1.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Along '''y direction''', the '''end cell''' is now only 0.1 times as wide as the '''start cell'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edges list &lt;br /&gt;
|| Since all the edges of the '''channel geometry''' are straight lines, we leave '''edges''' field empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''boundary'''&lt;br /&gt;
|| Let us label the '''boundary patches '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| The bottom and top face is as shown in the figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We shall name them '''wallBottom''' and '''wallTop''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Each face resembles the characteristics of a '''solid wall'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, the face is of the '''type wall'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''wallBottom '''and '''wallTop '''definitions&lt;br /&gt;
|| The two faces are defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We need to impose '''cyclic boundary conditions''' on the '''inlet''' and '''outlet''' faces of '''block 1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Cyclic Patch&lt;br /&gt;
|| &lt;br /&gt;
* The '''face''' '''type''' for a '''cyclic patch''' is defined using the keyword''' cyclic.'''&lt;br /&gt;
* The pair of '''faces''' are linked to each other through the keyword''' neighbourPatch.'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces of '''block 1''' are named '''in1''' and '''out1''' respectively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The same for '''block 2''' are named '''in2''' and '''out2''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''in1 '''definition&lt;br /&gt;
|| The '''inlet''' face of '''block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cyclic'''&lt;br /&gt;
|| The '''boundary face type''' is '''cyclic'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''neighbourPatch out1'''&lt;br /&gt;
|| The '''outlet''' face is linked to the '''inlet''' face using the keyword''' neighbourPatch'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''((0 6 8 2))'''&lt;br /&gt;
|| The '''vertices''' of the '''inlet''' face are ordered in '''clockwise direction''' when viewed from inside of '''block 1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''out1''' definition&lt;br /&gt;
|| The '''outlet''' face of '''block 1''' is defined as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''in2''' and '''out2''' definitions&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces of '''block 2''' are defined as shown here.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Boundary&lt;br /&gt;
|| &lt;br /&gt;
* The back and front faces of '''block 1''' are named '''sides1_half0''' and '''sides1_half1''' respectively.&lt;br /&gt;
* The back and front faces of '''block 2''' are named '''sides2_half0''' and '''sides2_half1''' respectively.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We are creating a '''geometry''' for a '''2D simulation''' in the '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the faces normal to '''z-direction''' are kept empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sides1_half0''' definition&lt;br /&gt;
|| The back face of '''block 1''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''empty'''&lt;br /&gt;
|| Note that we have kept the face''' empty'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''sides1_half1''', '''sides2_half0''' and '''sides2_half1''' definition&lt;br /&gt;
|| Similarly, we define the other 3 faces.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We have now finished labelling all the '''boundary patches'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mergePatchPairs list&lt;br /&gt;
|| Since we do not have any '''patches''' to merge, we leave the '''mergePatchPairs''' field empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on Save &amp;gt;&amp;gt; Close Text Editor&lt;br /&gt;
|| We have now entered all the necessary '''fields'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]''' '''Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd channel395'''&lt;br /&gt;
|| Come to the '''terminal''', and type '''cd (space) channel395'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh '''&amp;gt;&amp;gt;''' Enter'''&lt;br /&gt;
|| To '''mesh''' the '''geometry''', type '''blockMesh''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| To view the '''mesh''' in '''ParaView''', type '''paraFoam'''.&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 '''Apply''' in the '''Properties''' tab.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Active Variable Controls'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Surface''' &amp;gt;&amp;gt; Click on '''Surface with Edges'''&lt;br /&gt;
|| Click on '''Surface''' available in the '''Active Variable Controls''' and change it to '''Surface with Edges'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can now see the '''mesh''' structure in the '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice the '''mesh refinement''' near the top and bottom faces of the '''geometry'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| And now, close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Create a '''geometry''' with multiple '''blocks''' using '''blockMeshDict'''&lt;br /&gt;
* Vary '''meshing parameters''' for each '''block'''&lt;br /&gt;
* Label the '''boundary patches''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Assignment&lt;br /&gt;
|| As an assignment:&lt;br /&gt;
* Create a '''geometry''' having dimensions '''5 m''', '''4 m''' and '''3 m''' along '''x''', '''y''' and '''z axis'''&lt;br /&gt;
* Divide the '''geometry''' into 2 equal''' blocks '''along the''' x axis'''&lt;br /&gt;
* Mesh the '''geometry''' such that it has '''25''', '''20''' and '''1 cell''' along '''x''', '''y''' and '''z axis''' for each '''block'''&lt;br /&gt;
* Set expansion ratio as '''10''', '''1''' and '''1''' along the '''x''', '''y''' and '''z axis '''for both the '''blocks''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Creating-2D-Channel-Geometry-and-Mesh-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Creating-2D-Channel-Geometry-and-Mesh-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Creating-2D-Channel-Geometry-and-Mesh-in-OpenFOAM/English"/>
				<updated>2020-07-21T08:39:20Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''Title of the script''': Creating 2D Channel Geometry and Mesh in OpenFOAM  '''Author''': Ashley Melvin  '''Keywords''': OpenFOAM, ParaView, channel flow, blockMesh, meshing...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Creating 2D Channel Geometry and Mesh in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, channel flow, blockMesh, meshing, structured mesh, graded mesh, pre-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Creating 2D Channel Geometry and Mesh in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Create a '''2D channel''' '''geometry''' using '''blockMeshDict'''&lt;br /&gt;
* '''Mesh''' a '''geometry'''&lt;br /&gt;
* Label the '''boundary patches''', and''' '''&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| To record this tutorial, I am using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit Text Editor'''&lt;br /&gt;
&lt;br /&gt;
You may use any other '''editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: 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;
|| Slide: 2D Channel Flow&lt;br /&gt;
|| The problem description of '''2D flow in a channel '''is as shown in the diagram.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Channel Geometry&lt;br /&gt;
|| This is the '''geometry''' for''' 2D flow in a channel'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Faces&lt;br /&gt;
|| The '''faces''' of the geometry are:&lt;br /&gt;
* '''Inlet''' and '''outlet'''&lt;br /&gt;
* Bottom and top walls&lt;br /&gt;
* Back face, and&lt;br /&gt;
* Front face&lt;br /&gt;
|- &lt;br /&gt;
|| CTRL + ALT + T&lt;br /&gt;
|| Open the '''terminal''' by pressing '''Ctrl''', '''Alt''' &amp;amp; '''T''' keys.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| At the '''prompt''', type the following '''command''' to go to the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/pimpleFoam/LES/channel395 .'''&lt;br /&gt;
|| Let us now copy the '''case''' of '''flow in a channel''' from the '''tutorial directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to do so.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''rm -r channel395/0'''&lt;br /&gt;
|| We will only be creating and '''meshing''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, we do not need the '''boundary conditions''' folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to delete the '''boundary conditions''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''gedit channel395/system/blockMeshDict'''&lt;br /&gt;
|| The '''blockMeshDict''' file is located in the '''system''' folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us open it in any '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am doing it in '''gedit Text Editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
|| We can now see the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Delete'''&lt;br /&gt;
|| Select the contents of the file from '''vertices''' to the end of the document, as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We don’t need the selected content as we will be entering the '''input parameters'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, '''delete''' the selected section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The remaining content is common for all '''blockMeshDict''' files.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''convertToMeters 1'''&lt;br /&gt;
|| The unit of the coordinates entered in the '''blockMesh dictionary''' needs to be specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is defined using the '''keyword convertToMeters.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value '''1''' indicates that the values of all the '''coordinates''' are in meters.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''channel''']&lt;br /&gt;
|| Open the '''channel.txt''' file, that you had downloaded, in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''channel'''] Highlight&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selection in the Text Editor &amp;gt;&amp;gt; Copy '''&lt;br /&gt;
|| Copy the entire content of the text file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
|| Let me switch back to the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict''']&lt;br /&gt;
&lt;br /&gt;
'''Paste'''&lt;br /&gt;
|| Paste the copied contents into the '''blockMeshDict '''file as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Vertices&lt;br /&gt;
|| The vertices of the '''channel geometry''' are numbered as indicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The vertex numbering starts from 0.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Vertices List&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| The coordinates of the vertices are entered as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the vertices are entered in the ascending order of their vertex numbers. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''(0 0 0)'''&lt;br /&gt;
|| '''Vertex''' '''0''' is located at the '''origin'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its coordinates are entered as shown. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''(4 0 0) '''&lt;br /&gt;
|| The''' x, y '''and''' z '''coordinates''' '''of vertex''' 1 '''are '''4''', '''0''' and '''0''' respectively.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its coordinates are entered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''(0 2 0) '''and''' (4 2 0)''' &lt;br /&gt;
|| Similarly, the coordinates of vertex''' 2 '''and''' 3''' are entered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''z '''coordinate of all the points on the front face is 2.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''(0 0 2) to (4 2 2)'''&lt;br /&gt;
|| The coordinates of front face vertices''' 4, 5, 6 '''and''' 7''' are entered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| For '''meshing''', '''OpenFOAM''' requires '''3-dimensional blocks''' to be defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''blocks''' are specified using the vertices that define them.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks List &lt;br /&gt;
|| We use a single '''block''' in our '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''block''' is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''hex'''&lt;br /&gt;
|| We use '''hexahedral blocks''' for '''meshing'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The order in which the vertices are specified define the '''block'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We first enter the vertices of the lower xy-plane, in this case, the back face.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We start from the '''origin''' and enter the vertices of the face.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When viewed along the '''negative z-direction''', the vertices should be ordered counterclockwise.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0 1 3 2 '''&lt;br /&gt;
|| The vertices of the back face are defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''4 5 7 6'''&lt;br /&gt;
|| The vertices of the front face are entered in the same order as that of the back face.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us start defining the '''meshing parameters''' of the '''block'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We first define the number of '''cells''' in each direction of the '''block'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''40 25 1'''&lt;br /&gt;
|| The number of '''cells''' in each '''direction''' is defined as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This indicates that there are 40 cells in '''x direction''' and 25 cells in '''y direction'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 '''&lt;br /&gt;
|| There is only one '''cell''' along '''z direction''' indicating that the '''simulation''' is '''2D''' in '''xy-plane'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''simpleGrading'''&lt;br /&gt;
|| Next, let us define how the '''mesh''' is '''graded'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We use '''simpleGrading''' as the cells have '''uniform expansion''' in all '''directions'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1 1 1'''&lt;br /&gt;
|| Let us now define the '''expansion ratios''' in each '''direction'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Expansion ratio''' along a '''direction''' is the ratio of width of the '''end cell''' to that of the '''start cell''' in that '''direction'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the '''cell''' width is uniform in all '''directions''', the '''expansion ratio''' is '''1'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Now, let us define the '''edges'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edges''' are used to define '''arc''' or '''spline edges'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edges List&lt;br /&gt;
|| Since all the '''edges''' of '''channel geometry''' are straight lines, we leave it empty. &lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us label the '''boundary patches'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The labels are used to impose '''boundary conditions''' on the respective faces.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''boundary'''&lt;br /&gt;
|| '''Boundary '''labels are defined using the '''boundary''' list.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''bottomWall''' &lt;br /&gt;
|| The bottom face of the '''geometry''' is named '''bottomWall'''. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''type''' &lt;br /&gt;
|| The '''patch type''' of the '''boundary''' is defined using the '''keyword type'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''wall'''&lt;br /&gt;
|| The bottom face resembles the characteristics of a '''solid wall'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, the face is of the '''type wall'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''faces'''&lt;br /&gt;
|| Vertices define a face.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The vertices and their order for a face is defined using the '''keyword faces'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Bottom Wall&lt;br /&gt;
|| Since the '''block '''face is a quadrilateral, it is defined by 4 vertices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When viewed from inside the '''block''', the vertices of the face should be ordered clockwise.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''0 1 5 4'''&lt;br /&gt;
|| Keeping this in mind, the vertices of the bottom wall are ordered as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''topWall '''definition&lt;br /&gt;
|| Following the same convention, the top face is named '''topWall''' and is defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We are creating the '''geometry''' for a '''2D simulation''' in '''xy-plane'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We do not need to solve in the '''z-direction'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hence, we keep the front and back faces empty.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Back '''and''' front '''planes definitions &lt;br /&gt;
|| The back and front faces are defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces need the application of '''boundary condition'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since they do not contain any '''geometric''' or '''topological''' information, a '''generic''' label would suffice.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''patch'''&lt;br /&gt;
|| Such '''generic boundaries''' are labelled using the '''keyword patch'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Inlet '''and''' outlet '''planes definitions&lt;br /&gt;
|| The '''inlet''' and '''outlet''' faces are defined as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We have finished labelling all the '''boundary patches'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''mergePatchPairs'''&lt;br /&gt;
|| Next, we merge faces using the '''mergePatchPairs '''field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We merge faces when a '''patch '''face from one '''block''' is connected to a '''patch '''face of another '''block'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''mergePatchPairs '''List&lt;br /&gt;
|| Our '''geometry''' has only one '''block''' and there are no '''patches''' to merge. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, we leave the '''mergePatchPairs field''' empty. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save &amp;gt;&amp;gt; Close the window&lt;br /&gt;
|| We have entered all the necessary '''fields'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''cd channel395'''&lt;br /&gt;
|| In the '''terminal''', type '''cd(space)channel395'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMesh '''&amp;gt;&amp;gt;''' Enter'''&lt;br /&gt;
|| Let us '''mesh''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type '''blockMesh''' and press '''Enter''' to do so.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight: '''End'''&lt;br /&gt;
|| The '''meshing''' is complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''paraFoam '''&amp;gt;&amp;gt;''' Enter'''&lt;br /&gt;
|| To view the '''mesh''' in '''ParaView''', type '''paraFoam''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| Click on the green coloured '''Apply''' on the left side of your window in the '''Properties''' tab.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on '''Surface''' &amp;gt;&amp;gt; Click on '''Surface with Edges'''&lt;br /&gt;
|| Click on '''Surface''' available in the '''Representation Toolbar''' and change it to '''Surface with Edges'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can now see the '''mesh''' structure of the '''front''' face.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the window&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Create a '''2D channel geometry''' using '''blockMeshDict'''&lt;br /&gt;
* '''Mesh''' a '''geometry'''&lt;br /&gt;
* Label the '''boundary patches''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Assignment&lt;br /&gt;
|| As an assignment:&lt;br /&gt;
* Create a '''geometry''' having dimensions '''5 m''', '''4 m''' and '''3 m''' along '''x''', '''y''' and '''z axis'''&lt;br /&gt;
* Mesh the '''geometry''' such that it has '''50''', '''40''' and '''1 cell''' along '''x''', '''y''' and '''z axis''', and&lt;br /&gt;
* View the '''mesh''' in '''ParaView'''&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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English"/>
				<updated>2020-07-20T19:52:40Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Setting-up a test case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, lid driven cavity, pre-processing, blockMesh, controlDict, post-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Setting up a test case in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Set up a '''case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit''' Text editor&lt;br /&gt;
You may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''Linux '''tutorials on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with basic '''Linux commands'''.&lt;br /&gt;
* If not, please go through the prerequisite '''Linux '''tutorials on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Lid Driven Cavity&lt;br /&gt;
|| In this tutorial, we will learn to set up the '''lid driven cavity case'''.&lt;br /&gt;
&lt;br /&gt;
'''Lid driven cavity''' is one of the most widely used '''2D test cases''' for the validation of a '''CFD '''code.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Diagram&lt;br /&gt;
|| This is the diagram of '''Lid Driven Cavity Flow'''.&lt;br /&gt;
&lt;br /&gt;
It consists of 3 fixed walls and a moving top wall.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing the '''Ctrl, Alt '''and''' T''' keys together.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
'''mkdir -p $FOAM_RUN'''&lt;br /&gt;
|| Now, let’s create a '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the '''command''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight&lt;br /&gt;
&lt;br /&gt;
'''FOAM_RUN'''&lt;br /&gt;
|| '''Tutorial cases''' will later be copied into the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Go to the '''run directory''' using the '''cd command'''.&lt;br /&gt;
&lt;br /&gt;
Now our '''present working directory''' is the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| '''OpenFOAM''' installation comes with a set of '''test cases'''.&lt;br /&gt;
&lt;br /&gt;
The '''tutorial directory''' contains these '''test cases'''. &lt;br /&gt;
&lt;br /&gt;
The '''Lid driven cavity case''' already exists inside the '''tutorial directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .'''&lt;br /&gt;
|| We’ll now copy the '''Lid driven cavity case''' from the '''tutorial directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: blockMesh&lt;br /&gt;
|| &lt;br /&gt;
* The '''mesh generator''' for '''OpenFOAM''' is a utility called '''blockMesh'''.&lt;br /&gt;
* The '''input dictionary''' for '''blockMesh''' utility is '''blockMeshDict'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit cavity/system/blockMeshDict'''&lt;br /&gt;
|| The '''blockMeshDict''' file is located in the '''system''' folder.&lt;br /&gt;
&lt;br /&gt;
Open the '''blockMeshDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
vertices, blocks, edges and boundary&lt;br /&gt;
|| Now let’s look at the contents of the file.&lt;br /&gt;
&lt;br /&gt;
The '''blockMeshDict''' contains details of the geometry like vertices, blocks, edges and boundaries.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Close the window&lt;br /&gt;
|| Close the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd cavity/0'''&lt;br /&gt;
|| The '''0''' folder contains the initial and boundary conditions for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to move into the '''0''' folder inside the '''cavity case directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' and press '''Enter''' to view the files in the '''0''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''p''' and '''U''' &lt;br /&gt;
|| The '''0''' folder contains the '''kinematic pressure file p''' and the '''velocity file U'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit p'''&lt;br /&gt;
|| Open the '''kinematic pressure file p''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''p''' file contains the '''initial''' and '''boundary''' conditions of '''kinematic''' pressure.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''dimensions [0 2 -2 0 0 0 0] '''&lt;br /&gt;
|| The '''dimensions''' of '''kinematic pressure''' is meter squared per second squared. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''internalField '''&lt;br /&gt;
|| The '''internalField''' defines the values in the interior of the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform 0'''&lt;br /&gt;
|| The initial field is set as '''0 kinematic pressure'''.&lt;br /&gt;
&lt;br /&gt;
This field is '''uniform''' across the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
Both the '''zeroGradient'''&lt;br /&gt;
|| You can see that all walls are imposed with a '''zero gradient''' pressure boundary condition.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Close the window&lt;br /&gt;
|| Let us close the '''p''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit U'''&lt;br /&gt;
|| Now open the '''velocity file U''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''U file''' contains the initial and boundary conditions of '''velocity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform (1 0 0);'''&lt;br /&gt;
|| You can see that the '''moving wall''' is imposed with a '''velocity''' of '''1 m/s''' in the x direction.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''noSlip '''&lt;br /&gt;
|| Also notice that the '''no-slip''' condition is imposed on the three '''fixed walls'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Close the window&lt;br /&gt;
|| Now let us close the '''U''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| We’ll go back to the '''cavity''' folder.&lt;br /&gt;
&lt;br /&gt;
Type '''cd (space)(dot)(dot)'''&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit constant/transportProperties'''&lt;br /&gt;
|| Next, we will view the '''transport properties file '''which is in the '''constant '''folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''nu '''&lt;br /&gt;
|| The '''transportProperties''' file contains the details of '''kinematic''' '''viscosity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''[0 2 -1 0 0 0 0] '''&lt;br /&gt;
|| The dimensions of '''kinematic viscosity''' is meter squared per second.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Kinematic Viscosity&lt;br /&gt;
|| &lt;br /&gt;
* The '''kinematic viscosity''' is defined by:&lt;br /&gt;
𝜈 = |U|𝑑 / 𝑅𝑒&lt;br /&gt;
where '''velocity''' (|U|) = '''1 m/s'''&lt;br /&gt;
characteristic length (d) = '''0.1 m'''&lt;br /&gt;
* The '''Reynolds number (Re)''' for the '''flow''' is taken as '''10'''&lt;br /&gt;
* The '''kinematic viscosity (𝜈) '''is therefore '''0.01 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s'''&lt;br /&gt;
|- &lt;br /&gt;
|| Narration Only&lt;br /&gt;
|| Now let me switch back to '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''0.01'''&lt;br /&gt;
|| The value of '''kinematic''' '''viscosity''' is indicated in the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Close the window&lt;br /&gt;
|| Close the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd system'''&lt;br /&gt;
|| To move into the '''system''' folder, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' to view the contents of the '''system''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict controlDict fvSchemes fvSolution''' &lt;br /&gt;
|| The '''system''' folder contains the following files:&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict''', '''controlDict''', '''fvSchemes''' and '''fvSolution'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSchemes'''&lt;br /&gt;
|| The '''fvSchemes dictionary''' contains the '''finite''' '''volume''' '''discretisation''' '''schemes'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSolution'''&lt;br /&gt;
|| The '''fvSolution dictionary''' contains the '''linear''' '''equation''' '''solvers''' and '''tolerances'''.&lt;br /&gt;
&lt;br /&gt;
It contains other '''algorithm controls''' as well.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''controlDict'''&lt;br /&gt;
|| The '''controlDict dictionary''' contains the '''simulation''' '''control''' '''parameters'''. &lt;br /&gt;
&lt;br /&gt;
The '''dictionary''' input includes the '''control''' '''of time''' and '''reading''' and '''writing''' of the '''solution''' '''data'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''gedit controlDict'''&lt;br /&gt;
|| Let’s now open the '''controlDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startFrom '''and '''startTime'''&lt;br /&gt;
|| The '''start '''and''' stop times''' and the '''time step''' for the '''run''' must be set.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startTime''' '''0;'''&lt;br /&gt;
|| The '''start time''' is set at '''0''' seconds.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''stopAt''' '''endTime;'''&lt;br /&gt;
|| The time at which the '''simulation''' stops is specified using the '''keyword stopAt'''.&lt;br /&gt;
&lt;br /&gt;
Here, '''stopAt''' is specified using the keyword '''endTime'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''endTime''' '''0.5;'''&lt;br /&gt;
|| The '''endTime''' is set at '''0.5''' seconds.&lt;br /&gt;
&lt;br /&gt;
This means that '''simulation''' stops after '''0.5''' seconds.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''deltaT 0.005;'''&lt;br /&gt;
|| The value of the '''keyword deltaT''' defines the '''time step''' for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
The '''time step''' for the current '''simulation''' is set as '''0.005''' seconds.&lt;br /&gt;
&lt;br /&gt;
'''Temporal accuracy''' and '''numerical stability''' is essential while running the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To achieve this, a''' Courant number''' of less than 1 is required.&lt;br /&gt;
&lt;br /&gt;
Keeping this in mind, the '''time step''' is set to '''0.005''' seconds.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''application''' '''icoFoam'''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|| '''icoFoam''' is the '''OpenFOAM solver''' used to '''simulate''' the '''lid driven cavity''' '''flow'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Close the window&lt;br /&gt;
|| Close the '''controlDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| Go back to the '''cavity''' folder using '''cd command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''blockMesh''' &amp;gt;&amp;gt; '''Enter'''&lt;br /&gt;
|| Type the '''command blockMesh''' and press '''Enter''' to '''mesh''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
The '''command''' takes input from the '''blockMeshDict dictionary''' and creates the '''geometry''' and '''meshes''' it.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''icoFoam'''&lt;br /&gt;
|| The '''lid driven cavity flow''' is an '''incompressible flow'''.&lt;br /&gt;
&lt;br /&gt;
It is solved using the''' OpenFOAM solver icoFoam.'''&lt;br /&gt;
&lt;br /&gt;
To start the '''simulation''', type '''icoFoam''' in the '''terminal.''' &lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The iterations are now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| Let us view the '''simulated''' results in '''ParaView'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, type '''paraFoam''' in the '''terminal.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Properties''' Tab&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| In the '''ParaView''' window, go to the '''Properties''' tab on the left.&lt;br /&gt;
&lt;br /&gt;
Then click on the green coloured '''Apply '''button'''.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Click on '''vtkBlockColors''' &amp;gt;&amp;gt; Click on '''U'''&lt;br /&gt;
|| Go to the '''Active Variable Controls '''at the top. &lt;br /&gt;
&lt;br /&gt;
Click on the '''vtkBlockColors''' dropdown and select '''U'''.&lt;br /&gt;
&lt;br /&gt;
Ensure that you click on the '''U''' option with a '''point icon''' and not the '''box icon''', in the dropdown.&lt;br /&gt;
&lt;br /&gt;
The '''box icon''' would display '''contours''' without any grading.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity''' '''contour''' at the start of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Go to '''VCR Controls''' and click on the '''Play''' Button&lt;br /&gt;
|| Let us see how the '''velocity contours''' develop through the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To do so, go to the '''VCR Controls''' and click on the '''Play''' button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Final Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity contour''' at the end of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
To summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Set up a''' case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&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;
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;
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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</id>
		<title>OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English"/>
				<updated>2020-07-20T19:38:12Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, Linux, Ubuntu 18.04, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Installing OpenFOAM in Ubuntu Linux OS'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn how to install:&lt;br /&gt;
* '''OpenFOAM''' version 7 and&lt;br /&gt;
* '''ParaView''' version 5.6.0&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using:&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* A working '''Internet''' connection and&lt;br /&gt;
* A '''text editor'''&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will install '''OpenFOAM''' using the '''terminal'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that you are connected to the '''Internet'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo sh -c &amp;quot;wget -O - http://dl.openfoam.org/gpg.key | apt-key add -&amp;quot;&lt;br /&gt;
|| A public key needs to be added to the '''repository'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This key enables the '''repository''' to verify '''OpenFOAM package signatures.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do this, in the '''Terminal''', carefully type the following '''command''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the password &amp;gt;&amp;gt; Press Enter.&lt;br /&gt;
|| The machine will ask for the '''system password'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the '''password''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo add-apt-repository http://dl.openfoam.org/ubuntu&lt;br /&gt;
|| Now type the following '''command''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable '''apt''' to search for '''dl.openfoam.org''' in the list of '''software repositories'''. &lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
&lt;br /&gt;
Let me clear the screen. &lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
|| Now type the following '''command''' to update the '''apt package''' list.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get -y install openfoam7&lt;br /&gt;
|| The '''repository''' is updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next let us install '''OpenFOAM '''version 7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation process&lt;br /&gt;
|| The installation may take some time depending upon your internet speed.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation complete message&lt;br /&gt;
|| The installation is done now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s now configure the system to use the installed '''OpenFOAM package'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gedit ~/.bashrc&lt;br /&gt;
|| Open the '''.bashrc''' file located in the '''Home''' directory in a '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I will be using the '''gedit text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source /opt/openfoam7/etc/bashrc&lt;br /&gt;
|| Scroll down to the end of the document.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the following line of '''code''' as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable us to execute the '''OpenFOAM commands''' via '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl + S and close the window&lt;br /&gt;
|| Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight new Terminal on the machine&lt;br /&gt;
|| Since the changes to '''.bashrc''' file is yet to be registered, we need to open a new '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To open a '''new terminal''', press '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
simpleFoam -help&lt;br /&gt;
|| In the new '''terminal''', type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘Usage’ message&lt;br /&gt;
|| A message with the list of options is displayed on the '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''OpenFOAM 7''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration &lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us now check the installation of '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
paraview&lt;br /&gt;
|| Type '''paraview''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''ParaView '''window&lt;br /&gt;
|| The '''ParaView''' interface opens in a new window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close the start-up screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''ParaView''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on close&lt;br /&gt;
|| '''Close''' this window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The installation of '''OpenFOAM 7''' is now complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can access '''OpenFOAM''' '''commands''' from the '''terminal '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this 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: Summary&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
* Install '''OpenFOAM''' version 7&lt;br /&gt;
* Install '''ParaView''' version 5.6.0 and&lt;br /&gt;
* Verify the installation&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;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Forum&lt;br /&gt;
||&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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley.&lt;br /&gt;
&lt;br /&gt;
And this is Padmini from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</id>
		<title>OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Setting-up-a-Test-Case-in-OpenFOAM/English"/>
				<updated>2020-07-20T15:18:35Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''Title of the script''': Setting-up a test case in OpenFOAM  '''Author''': Ashley Melvin  '''Keywords''': OpenFOAM, ParaView, lid driven cavity, pre-processing, blockMesh, c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Setting-up a test case in OpenFOAM&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, lid driven cavity, pre-processing, blockMesh, controlDict, post-processing, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Hello and welcome to this tutorial on '''Setting up a test case in OpenFOAM'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
|| In this tutorial, we will learn to:&lt;br /&gt;
* Set up a '''case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using,&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* '''OpenFOAM''' version 7&lt;br /&gt;
* '''ParaView''' version 5.6.0, and&lt;br /&gt;
* '''gedit''' Text editor&lt;br /&gt;
However, you may use any other '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Prerequisites&lt;br /&gt;
* If not, please go through the prerequisite '''Linux '''tutorials on https://spoken-tutorial.org&lt;br /&gt;
|| As a prerequisite:&lt;br /&gt;
* You should be familiar with basic '''Linux commands'''.&lt;br /&gt;
* If not, please go through the prerequisite '''Linux '''tutorials on this website.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Lid Driven Cavity&lt;br /&gt;
|| In this tutorial, we will learn to set up the '''lid driven cavity case'''.&lt;br /&gt;
&lt;br /&gt;
'''Lid driven cavity''' is one of the most widely used '''2D test cases''' for the validation of a '''CFD '''code.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Diagram&lt;br /&gt;
|| This is the diagram of '''Lid Driven Cavity Flow'''.&lt;br /&gt;
&lt;br /&gt;
It consists of 3 fixed walls and a moving top wall.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing the '''Ctrl, Alt '''and''' T''' keys together.&lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
'''mkdir -p $FOAM_RUN'''&lt;br /&gt;
|| Now, let’s create a '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the '''command''' as shown.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight&lt;br /&gt;
&lt;br /&gt;
'''FOAM_RUN'''&lt;br /&gt;
|| '''Tutorial cases''' will later be copied into the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd $FOAM_RUN'''&lt;br /&gt;
|| Go to the '''run directory''' using the '''cd command'''.&lt;br /&gt;
&lt;br /&gt;
Now our '''present working directory''' is the '''run directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| '''OpenFOAM''' installation comes with a set of '''test cases'''.&lt;br /&gt;
&lt;br /&gt;
The '''tutorial directory''' contains these '''test cases'''. &lt;br /&gt;
&lt;br /&gt;
The '''Lid driven cavity case''' already exists inside the '''tutorial directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .'''&lt;br /&gt;
|| We’ll now copy the '''Lid driven cavity case''' from the '''tutorial directory''' into the '''run directory'''.&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: blockMesh&lt;br /&gt;
|| &lt;br /&gt;
* The '''mesh generator''' for '''OpenFOAM''' is a utility called '''blockMesh'''.&lt;br /&gt;
* The '''input dictionary''' for '''blockMesh''' utility is '''blockMeshDict'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit cavity/system/blockMeshDict'''&lt;br /&gt;
|| The '''blockMeshDict''' file is located in the '''system''' folder.&lt;br /&gt;
&lt;br /&gt;
Open the '''blockMeshDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
vertices, blocks, edges and boundary&lt;br /&gt;
|| Now let’s look at the contents of the file.&lt;br /&gt;
&lt;br /&gt;
The '''blockMeshDict''' contains details of the geometry like vertices, blocks, edges and boundaries.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''blockMeshDict'''] Close the window&lt;br /&gt;
|| Close the '''blockMeshDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd cavity/0'''&lt;br /&gt;
|| The '''0''' folder contains the initial and boundary conditions for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
Type the following '''command''' to move into the '''0''' folder inside the '''cavity case directory'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' and press '''Enter''' to view the files in the '''0''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''p''' and '''U''' &lt;br /&gt;
|| The '''0''' folder contains the '''kinematic pressure file p''' and the '''velocity file U'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit p'''&lt;br /&gt;
|| Open the '''kinematic pressure file p''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''p''' file contains the '''initial''' and '''boundary''' conditions of '''kinematic''' pressure.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''dimensions [0 2 -2 0 0 0 0] '''&lt;br /&gt;
|| The '''dimensions''' of '''kinematic pressure''' is meter squared per second squared. &lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''internalField '''&lt;br /&gt;
|| The '''internalField''' defines the values in the interior of the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform 0'''&lt;br /&gt;
|| The initial field is set as '''0 kinematic pressure'''.&lt;br /&gt;
&lt;br /&gt;
This field is '''uniform''' across the domain.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Highlight&lt;br /&gt;
&lt;br /&gt;
Both the '''zeroGradient'''&lt;br /&gt;
|| You can see that all walls are imposed with a '''zero gradient''' pressure boundary condition.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''p'''] Close the window&lt;br /&gt;
|| Let us close the '''p''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit U'''&lt;br /&gt;
|| Now open the '''velocity file U''' in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The '''U file''' contains the initial and boundary conditions of '''velocity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''uniform (1 0 0);'''&lt;br /&gt;
|| You can see that the '''moving wall''' is imposed with a '''velocity''' of '''1 m/s''' in the x direction.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''noSlip '''&lt;br /&gt;
|| Also notice that the '''no-slip''' condition is imposed on the three '''fixed walls'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''U'''] Close the window&lt;br /&gt;
|| Now let us close the '''U''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| We’ll go back to the '''cavity''' folder.&lt;br /&gt;
&lt;br /&gt;
Type '''cd (space)(dot)(dot)'''&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''gedit constant/transportProperties'''&lt;br /&gt;
|| Next, we will view the '''transport properties file '''which is in the '''constant '''folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''nu '''&lt;br /&gt;
|| The '''transportProperties''' file contains the details of '''kinematic''' '''viscosity'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''[0 2 -1 0 0 0 0] '''&lt;br /&gt;
|| The dimensions of '''kinematic viscosity''' is meter squared per second.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Kinematic Viscosity&lt;br /&gt;
|| &lt;br /&gt;
* The '''kinematic viscosity''' is defined by:&lt;br /&gt;
𝜈 = |U|𝑑 / 𝑅𝑒&lt;br /&gt;
where '''velocity''' (|U|) = '''1 m/s'''&lt;br /&gt;
characteristic length (d) = '''0.1 m'''&lt;br /&gt;
* The '''Reynolds number (Re)''' for the '''flow''' is taken as '''10'''&lt;br /&gt;
* The '''kinematic viscosity (𝜈) '''is therefore '''0.01 m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;/s'''&lt;br /&gt;
|- &lt;br /&gt;
|| Narration Only&lt;br /&gt;
|| Let me switch back to '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] &lt;br /&gt;
&lt;br /&gt;
Highlight '''0.01'''&lt;br /&gt;
|| The value of '''kinematic''' '''viscosity''' is indicated in the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''transportProperties'''] Close the window&lt;br /&gt;
|| Close the '''transportProperties''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd system'''&lt;br /&gt;
|| To move into the '''system''' folder, type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''ls'''&lt;br /&gt;
|| Type '''ls''' to view the contents of the '''system''' folder.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict controlDict fvSchemes fvSolution''' &lt;br /&gt;
|| The '''system''' folder contains the following files:&lt;br /&gt;
&lt;br /&gt;
'''blockMeshDict''', '''controlDict''', '''fvSchemes''' and '''fvSolution'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSchemes'''&lt;br /&gt;
|| The '''fvSchemes dictionary''' contains the '''finite''' '''volume''' '''discretisation''' '''schemes'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''fvSolution'''&lt;br /&gt;
|| The '''fvSolution dictionary''' contains the '''linear''' '''equation''' '''solvers''' and '''tolerances'''.&lt;br /&gt;
&lt;br /&gt;
It contains other '''algorithm controls''' as well.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''controlDict'''&lt;br /&gt;
|| The '''controlDict dictionary''' contains the '''simulation''' '''control''' '''parameters'''. &lt;br /&gt;
&lt;br /&gt;
The '''dictionary''' input includes the '''control''' '''of time''' and '''reading''' and '''writing''' of the '''solution''' '''data'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type: &lt;br /&gt;
&lt;br /&gt;
'''gedit controlDict'''&lt;br /&gt;
|| Let’s now open the '''controlDict''' file in a '''text editor'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startFrom '''and '''startTime'''&lt;br /&gt;
|| The '''start '''and''' stop times''' and the '''time step''' for the '''run''' must be set.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''startTime''' '''0;'''&lt;br /&gt;
|| The '''start time''' is set at '''0''' seconds.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight &lt;br /&gt;
&lt;br /&gt;
'''stopAt''' '''endTime;'''&lt;br /&gt;
|| The time at which the '''simulation''' stops is specified using the '''keyword stopAt'''.&lt;br /&gt;
&lt;br /&gt;
Here, '''stopAt''' is specified using the keyword '''endTime'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''endTime''' '''0.5;'''&lt;br /&gt;
|| The '''endTime''' is set at '''0.5''' seconds.&lt;br /&gt;
&lt;br /&gt;
This means that '''simulation''' stops after '''0.5''' seconds.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''deltaT 0.005;'''&lt;br /&gt;
|| The value of the '''keyword deltaT''' defines the '''time step''' for the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
The '''time step''' for the current '''simulation''' is set as '''0.005''' seconds.&lt;br /&gt;
&lt;br /&gt;
'''Temporal accuracy''' and '''numerical stability''' is essential while running the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To achieve this, a''' Courant number''' of less than 1 is required.&lt;br /&gt;
&lt;br /&gt;
Keeping this in mind, the '''time step''' is set to '''0.005''' seconds.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''application''' '''icoFoam'''&amp;lt;nowiki&amp;gt;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|| '''icoFoam''' is the '''OpenFOAM solver''' used to '''simulate''' the '''lid driven cavity''' '''flow'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [gedit - '''controlDict'''] Close the window&lt;br /&gt;
|| Close the '''controlDict''' file.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''cd ..'''&lt;br /&gt;
|| Go back to the '''cavity''' folder using '''cd command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''blockMesh''' &amp;gt;&amp;gt; '''Enter'''&lt;br /&gt;
|| Type the '''command blockMesh''' and press '''Enter''' to '''mesh''' the '''geometry'''.&lt;br /&gt;
&lt;br /&gt;
The '''command''' takes input from the '''blockMeshDict dictionary''' and creates the '''geometry''' and '''meshes''' it.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The '''meshing''' is now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''icoFoam'''&lt;br /&gt;
|| The '''lid driven cavity flow''' is an '''incompressible flow'''.&lt;br /&gt;
&lt;br /&gt;
It is solved using the''' OpenFOAM solver icoFoam.'''&lt;br /&gt;
&lt;br /&gt;
To start the '''simulation''', type '''icoFoam''' in the '''terminal.''' &lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Highlight '''End'''&lt;br /&gt;
|| The iterations are now complete.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] Type:&lt;br /&gt;
&lt;br /&gt;
'''paraFoam'''&lt;br /&gt;
|| Let us view the '''simulated''' results in '''ParaView'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, type '''paraFoam''' in the '''terminal.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] '''Properties''' Tab&lt;br /&gt;
&lt;br /&gt;
Click on '''Apply'''&lt;br /&gt;
|| In the '''ParaView''' window, go to the '''Properties''' tab on the left.&lt;br /&gt;
&lt;br /&gt;
Then click on the green coloured '''Apply '''button'''.'''&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Click on '''vtkBlockColors''' &amp;gt;&amp;gt; Click on '''U'''&lt;br /&gt;
|| Go to the '''Active Variable Controls '''at the top. &lt;br /&gt;
&lt;br /&gt;
Click on the '''vtkBlockColors''' dropdown and select '''U'''.&lt;br /&gt;
&lt;br /&gt;
Ensure that you click on the '''U''' option with a '''point icon''' and not the '''box icon''', in the dropdown.&lt;br /&gt;
&lt;br /&gt;
The '''box icon''' would display '''contours''' without any grading.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity''' '''contour''' at the start of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView]&lt;br /&gt;
&lt;br /&gt;
Go to '''VCR Controls''' and click on the '''Play''' Button&lt;br /&gt;
|| Let us see how the '''velocity contours''' develop through the '''simulation'''.&lt;br /&gt;
&lt;br /&gt;
To do so, go to the '''VCR Controls''' and click on the '''Play''' button.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
Final Velocity Contours in the Layout&lt;br /&gt;
|| The '''velocity contour''' at the end of the '''simulation''' is now displayed in the''' layout'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] Close the Window&lt;br /&gt;
|| Close the '''ParaView''' window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this we have come to the end of the tutorial.&lt;br /&gt;
&lt;br /&gt;
To summarize.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Summary&lt;br /&gt;
|| In this tutorial, we have learnt to:&lt;br /&gt;
* Set up a''' case''' in '''OpenFOAM'''&lt;br /&gt;
* Access the '''case files''' using '''terminal'''&lt;br /&gt;
* '''Pre-process''' a '''case'''&lt;br /&gt;
* '''Run''' a '''case''', and&lt;br /&gt;
* '''Post-process''' a '''case'''&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;
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;
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;
|| &lt;br /&gt;
* Do you have any general/technical questions?&lt;br /&gt;
* Please visit the forum given in this link.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial &lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley Melvin.&lt;br /&gt;
&lt;br /&gt;
And this is Swetha Sridhar from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for joining.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</id>
		<title>OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English"/>
				<updated>2020-07-20T13:32:09Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, Linux, Ubuntu 18.04, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Installing OpenFOAM in Ubuntu Linux OS'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn how to install:&lt;br /&gt;
* '''OpenFOAM''' version 7 and&lt;br /&gt;
* '''ParaView''' version 5.6.0&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using:&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* A working '''Internet''' connection and&lt;br /&gt;
* A '''text editor'''&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will install '''OpenFOAM''' using the '''terminal'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that you are connected to the '''Internet'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo sh -c &amp;quot;wget -O - http://dl.openfoam.org/gpg.key | apt-key add -&amp;quot;&lt;br /&gt;
|| A public key needs to be added to the '''repository'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This key enables the '''repository''' to verify '''OpenFOAM package signatures.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do this, in the '''Terminal''', carefully type the following '''command''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the password &amp;gt;&amp;gt; Press Enter.&lt;br /&gt;
|| The machine will ask for the '''system password'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the '''password''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo add-apt-repository http://dl.openfoam.org/ubuntu&lt;br /&gt;
|| Now type the following '''command''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable '''apt''' to search for '''dl.openfoam.org''' in the list of '''software repositories'''. &lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
|| Now type the following '''command''' to update the '''apt package''' list.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get -y install openfoam7&lt;br /&gt;
|| The '''repository''' is updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next let us install '''OpenFOAM '''version 7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation process&lt;br /&gt;
|| The installation may take some time depending upon your internet speed.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation complete message&lt;br /&gt;
|| The installation is done now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s now configure the system to use the installed '''OpenFOAM package'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gedit ~/.bashrc&lt;br /&gt;
|| Open the '''.bashrc''' file located in the '''Home''' directory in a '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I will be using the '''gedit text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source /opt/openfoam7/etc/bashrc&lt;br /&gt;
|| Scroll down to the end of the document.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the following line of '''code''' as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable us to execute the '''OpenFOAM commands''' via '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl + S and close the window&lt;br /&gt;
|| Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight new Terminal on the machine&lt;br /&gt;
|| Since the changes to '''.bashrc''' file is yet to be registered, we need to open a new '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To open a '''new terminal''', press '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
simpleFoam -help&lt;br /&gt;
|| In the new '''terminal''', type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘Usage’ message&lt;br /&gt;
|| A message with the list of options is displayed on the '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''OpenFOAM 7''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration &lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us now check the installation of '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
paraview&lt;br /&gt;
|| Type '''paraview''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''ParaView '''window&lt;br /&gt;
|| The '''ParaView''' interface opens in a new window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close the start-up screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''ParaView''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on close&lt;br /&gt;
|| '''Close''' this window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| The installation of '''OpenFOAM 7''' is now complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can access '''OpenFOAM''' '''commands''' from the '''terminal '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| With this 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: Summary&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
* Install '''OpenFOAM''' version 7&lt;br /&gt;
* Install '''ParaView''' version 5.6.0 and&lt;br /&gt;
* Verify the installation&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;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Forum&lt;br /&gt;
||&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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley.&lt;br /&gt;
&lt;br /&gt;
And this is Padmini from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</id>
		<title>OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English"/>
				<updated>2020-07-20T13:30:35Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, Linux, Ubuntu 18.04, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Installing OpenFOAM in Ubuntu Linux OS'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn how to install:&lt;br /&gt;
* '''OpenFOAM''' version 7 and&lt;br /&gt;
* '''ParaView''' version 5.6.0&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using:&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* A working '''Internet''' connection and&lt;br /&gt;
* A '''text editor'''&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will install '''OpenFOAM''' using the '''terminal'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that you are connected to the '''Internet'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo sh -c &amp;quot;wget -O - http://dl.openfoam.org/gpg.key | apt-key add -&amp;quot;&lt;br /&gt;
|| A public key needs to be added to the '''repository'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This key enables the '''repository''' to verify '''OpenFOAM package signatures.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do this, in the '''Terminal''', carefully type the following '''command''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the password &amp;gt;&amp;gt; Press Enter.&lt;br /&gt;
|| The machine will ask for the '''system password'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the '''password''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo add-apt-repository http://dl.openfoam.org/ubuntu&lt;br /&gt;
|| Now type the following '''command''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable '''apt''' to search for '''dl.openfoam.org''' in the list of '''software repositories'''. &lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
|| Now type the following '''command''' to update the '''apt package''' list.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get -y install openfoam7&lt;br /&gt;
|| The '''repository''' is updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next let us install '''OpenFOAM '''version 7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation process&lt;br /&gt;
|| The installation may take some time depending upon your internet speed.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation complete message&lt;br /&gt;
|| The installation is done now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s now configure the system to use the installed '''OpenFOAM package'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gedit ~/.bashrc&lt;br /&gt;
|| Open the '''.bashrc''' file located in the '''Home''' directory in a '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I will be using the '''gedit text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source /opt/openfoam7/etc/bashrc&lt;br /&gt;
|| Scroll down to the end of the document.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the following line of '''code''' as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable us to execute the '''OpenFOAM commands''' via '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl + S and close the window&lt;br /&gt;
|| Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight new Terminal on the machine&lt;br /&gt;
|| Since the changes to '''.bashrc''' file is yet to be registered, we need to open a new '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To open a '''new terminal''', press '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
simpleFoam -help&lt;br /&gt;
|| In the new '''terminal''', type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘Usage’ message&lt;br /&gt;
|| A message with the list of options is displayed on the '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''OpenFOAM 7''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration &lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us now check the installation of '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
paraview&lt;br /&gt;
|| Type '''paraview''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''ParaView '''window&lt;br /&gt;
|| The '''ParaView''' interface opens in a new window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close the start-up screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''ParaView''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on close&lt;br /&gt;
|| '''Close''' this window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
|| The installation of '''OpenFOAM 7''' is now complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can access '''OpenFOAM''' '''commands''' from the '''terminal '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
|| With this 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: Summary&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
* Install '''OpenFOAM''' version 7&lt;br /&gt;
* Install '''ParaView''' version 5.6.0 and&lt;br /&gt;
* Verify the installation&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;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Forum&lt;br /&gt;
||&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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley.&lt;br /&gt;
&lt;br /&gt;
And this is Padmini from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</id>
		<title>OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php/OpenFOAM-version-7/C2/Installing-OpenFOAM-in-Ubuntu-Linux/English"/>
				<updated>2020-07-20T12:52:05Z</updated>
		
		<summary type="html">&lt;p&gt;Ashleymelvin: Created page with &amp;quot;'''Title of the script''': Installing OpenFOAM in Ubuntu  '''Author''': Ashley Melvin  '''Keywords''': OpenFOAM, ParaView, Linux, Ubuntu 18.04, video tutorial    {| border = &amp;quot;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Title of the script''': Installing OpenFOAM in Ubuntu&lt;br /&gt;
&lt;br /&gt;
'''Author''': Ashley Melvin&lt;br /&gt;
&lt;br /&gt;
'''Keywords''': OpenFOAM, ParaView, Linux, Ubuntu 18.04, video tutorial&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border = &amp;quot;1&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
|| '''Visual Cue'''&lt;br /&gt;
|| '''Narration'''&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Opening Slide&lt;br /&gt;
|| Welcome to this tutorial on '''Installing OpenFOAM in Ubuntu Linux OS'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: Learning Objective&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will learn how to install:&lt;br /&gt;
* '''OpenFOAM''' version 7 and&lt;br /&gt;
* '''ParaView''' version 5.6.0&lt;br /&gt;
|- &lt;br /&gt;
|| Slide: System Specifications&lt;br /&gt;
|| This tutorial is recorded using:&lt;br /&gt;
* '''Ubuntu Linux''' OS version 18.04&lt;br /&gt;
* A working '''Internet''' connection and&lt;br /&gt;
* A '''text editor'''&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| We will install '''OpenFOAM''' using the '''terminal'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight '''Terminal''' on the machine&lt;br /&gt;
|| Open a '''terminal''' by pressing '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure that you are connected to the '''Internet'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo sh -c &amp;quot;wget -O - http://dl.openfoam.org/gpg.key | apt-key add -&amp;quot;&lt;br /&gt;
|| A public key needs to be added to the '''repository'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This key enables the '''repository''' to verify '''OpenFOAM package signatures.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do this, in the '''Terminal''', carefully type the following '''command''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the password &amp;gt;&amp;gt; Press Enter.&lt;br /&gt;
|| The machine will ask for the '''system password'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type the '''password''' and press '''Enter'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo add-apt-repository http://dl.openfoam.org/ubuntu&lt;br /&gt;
|| Now type the following '''command''' and press '''Enter'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable '''apt''' to search for '''dl.openfoam.org''' in the list of '''software repositories'''. &lt;br /&gt;
|-&lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Here onwards, please remember to press the '''Enter''' key after typing each '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
|| Now type the following '''command''' to update the '''apt package''' list.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo apt-get -y install openfoam7&lt;br /&gt;
|| The '''repository''' is updated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next let us install '''OpenFOAM '''version 7.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation process&lt;br /&gt;
|| The installation may take some time depending upon your internet speed.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Point to the installation complete message&lt;br /&gt;
|| The installation is done now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let’s now configure the system to use the installed '''OpenFOAM package'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
gedit ~/.bashrc&lt;br /&gt;
|| Open the '''.bashrc''' file located in the '''Home''' directory in a '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To do so, type the following '''command'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I will be using the '''gedit text editor'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may use any '''text editor''' of your choice.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source /opt/openfoam7/etc/bashrc&lt;br /&gt;
|| Scroll down to the end of the document.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the following line of '''code''' as shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will enable us to execute the '''OpenFOAM commands''' via '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Text Editor] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ctrl + S and close the window&lt;br /&gt;
|| Save and close the file.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight new Terminal on the machine&lt;br /&gt;
|| Since the changes to '''.bashrc''' file is yet to be registered, we need to open a new '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To open a '''new terminal''', press '''Ctrl, Alt and T''' keys together.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
simpleFoam -help&lt;br /&gt;
|| In the new '''terminal''', type the following '''command'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘Usage’ message&lt;br /&gt;
|| A message with the list of options is displayed on the '''terminal'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''OpenFOAM 7''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration &lt;br /&gt;
|| Let me clear the screen.&lt;br /&gt;
|- &lt;br /&gt;
|| Only Narration&lt;br /&gt;
|| Let us now check the installation of '''ParaView'''.&lt;br /&gt;
|- &lt;br /&gt;
|| [Terminal] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
paraview&lt;br /&gt;
|| Type '''paraview''' in the '''terminal'''.&lt;br /&gt;
|- &lt;br /&gt;
|| Highlight '''ParaView '''window&lt;br /&gt;
|| The '''ParaView''' interface opens in a new window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close the start-up screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This confirms that '''ParaView''' is properly installed.&lt;br /&gt;
|- &lt;br /&gt;
|| [ParaView] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on close&lt;br /&gt;
|| '''Close''' this window.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
|| The installation of '''OpenFOAM 7''' is now complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can access '''OpenFOAM''' '''commands''' from the '''terminal '''now.&lt;br /&gt;
|- &lt;br /&gt;
|| Only narration&lt;br /&gt;
|| With this 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: Summary&lt;br /&gt;
|| In this tutorial, we have learnt how to:&lt;br /&gt;
&lt;br /&gt;
* Install '''OpenFOAM''' version 7&lt;br /&gt;
* Install '''ParaView''' version 5.6.0 and&lt;br /&gt;
* Verify the installation&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;
|| &lt;br /&gt;
* Do you have questions in THIS Spoken Tutorial? &lt;br /&gt;
* Please visit this site.&lt;br /&gt;
* Choose the minute and second where you have the question&lt;br /&gt;
* Explain your question briefly &lt;br /&gt;
* Someone from our team will answer them &lt;br /&gt;
* You will have to register on this website to ask questions.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: FOSSEE Forum&lt;br /&gt;
||&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;
|| Slide: FOSSEE Case Study Project&lt;br /&gt;
|| &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;
|| Slide: Spoken Tutorial&lt;br /&gt;
|| The Spoken Tutorial project is supported by MHRD, Govt. of India.&lt;br /&gt;
&lt;br /&gt;
The script for this tutorial is contributed by Ashley.&lt;br /&gt;
&lt;br /&gt;
And this is Padmini from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for joining.&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ashleymelvin</name></author>	</entry>

	</feed>