Difference between revisions of "OpenFOAM/C2/Introduction-to-OpenFOAM/English"
From Script | Spoken-Tutorial
(Created page with " Tutorial: '''Introduction to OpenFOAM.''' '''Script : Rahul Joshi and Saurabh S. Sawant''' '''Narration : Rahul Joshi''' <div style="margin-left:0cm;margin-right:0cm;">''...") |
Nancyvarkey (Talk | contribs) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Tutorial: | + | Tutorial: Introduction to OpenFOAM. |
− | + | Script : Rahul Joshi and Saurabh S. Sawant | |
− | + | Narration : Rahul Joshi | |
− | + | Keywords: Video tutorial, CFD, About OpenFOAM, Solvers , Parallel Processing | |
− | + | {| style="border-spacing:0;width:17cm;" | |
− | + | ||
− | + | ||
− | + | ||
− | {| style="border-spacing:0;width: | + | |
|- | |- | ||
− | | align=center style="background-color:#ffffff;border-top: | + | | align=center style="background-color:#ffffff;border-top:1pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | '''Visual Cue''' |
− | | align=center style="background-color:#ffffff;border | + | | align=center style="background-color:#ffffff;border:1pt solid #000000;padding:0.18cm;" | '''Narration''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:none;border-bottom: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 1 |
− | | style="background-color:#ffffff;border-top:none;border-bottom: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | Hello and welcome to the spoken tutorial on '''Introduction to OpenFOAM'''. |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 2: About OpenFOAM |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | * '''OpenFOAM''' stands for '''Open source Field Operation and Manipulation'''. | ||
+ | * It is an '''Open Source Computational Fluid Dynamics''' software. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 3: About OpenFOAM |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | A '''CFD tool box''' written in '''C++''' and working on '''Linux''' operating systems. |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 4: About OpenFOAM |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | * '''OpenFOAM''' has an '''Object Oriented Programming''' interface. | ||
+ | * It is licensed under '''GNU General Public Licence'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 5: OpenFOAM capability |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | '''OpenFOAM''' is a '''Finite Volume''' based '''CFD''' software using both structured and unstructured '''grid'''. |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 6: Mesh Generation |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | *''' OpenFOAM''' has a '''mesh''' generation tool called as '''blockMesh'''. | ||
+ | * It is used for structured '''meshing''', small and easy '''grids'''. | ||
+ | * '''Mesh''' input is in the form of a '''script''' and no '''GUI'''. | ||
+ | * It also has an advanced '''meshing''' tool called as '''snappyHexMesh'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 7:Importing Mesh Files |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | * We can import '''mesh''' files from third party software like '''Fluent, cfx''' by using these '''commands'''. | ||
+ | * This is useful for large and complex '''grids'''. | ||
+ | * We can also use '''arbitrary polyhedral mesh'''. | ||
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 8: Boundary Conditions |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | * There are various default '''boundary conditions''' which are available. | ||
+ | * Users can modify the existing '''boundary conditions''' according to their '''case'''. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 9: Solvers |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | There are a wide range of '''solvers''' available for: |
+ | * '''Incompressible flows''' such as '''icoFoam''' | ||
+ | * '''Compressible flows''' such as '''sonicFoam''' | ||
+ | * '''Multiphase flows''' such as '''interFoam''' | ||
+ | * Combustion - '''chemFoam''' | ||
+ | * '''Particle-tracking flows - coalChemistryFoam, Molecular Dynamics - mdFoam''' and '''MHD flows''' and many more. | ||
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 10: Solvers |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | Users can create their own '''solvers''' or they can modify the existing '''solvers'''. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 11: Parallel Processing |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
− | + | * Parallel '''processing''' is easy in '''OpenFOAM''' and supports '''OpenMPI'''. | |
− | We can use 'n' number of processors. | + | * We can use 'n' number of '''processors'''. |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 12: Post-Processing |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
− | + | *''' OpenFOAM''' results can be visualized using '''ParaView'''. | |
− | OpenFOAM data can also be visulalised in | + | * '''OpenFOAM''' data can also be visulalised in software such as '''Tecplot, Ensight''', and etc. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 13: Equivalent to Commercial softwares |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | * Commercial software are costly. | ||
+ | * Source code is not available. | ||
+ | * '''Solver''' capabilities of '''OpenFOAM''' are as good as '''Fluent, CFX, Star CCM +''', etc. | ||
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 14: Modelling in OpenFOAM |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | '''Solver''' syntax in '''OpenFOAM''' is similar to that used in writing a partial differential equation. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 15: OpenFOAM code |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | For example, analytically '''Momentum equation''' is written as shown. |
− | Shown below is the OpenFOAM code equivalent for this equation | + | Shown below is the '''OpenFOAM''' code equivalent for this equation. |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 16-22: OpenFOAM Results |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | We will now see some '''OpenFOAM''' applications- |
+ | * Dam break simulation | ||
+ | * Moving Reference Frame simulation | ||
+ | * Arbitrary '''mesh''' interface | ||
+ | * Ship Propeller simulation | ||
+ | * 3D Bluff body simulation | ||
+ | * Particle-tracking simulation | ||
− | OpenFOAM spoken | + | '''OpenFOAM''' spoken tutorials are available on the '''Spoken Tutorial''' website. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Spoken tutorial clips |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | Let me show you some clips of spoken tutorials on '''OpenFOAM'''. |
− | + | Using these self-learning tutorials, users can learn | |
− | + | *Installing and running '''OpenFOAM''' and '''ParaView''' | |
− | + | *Creating a simple '''geometry''' | |
+ | *Simulating '''Lid-driven cavity''' | ||
+ | *and many other features of '''OpenFOAM''' | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:none;border-bottom: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 23: About the Spoken Tutorial Project |
− | | style="background-color:#ffffff;border-top:none;border-bottom: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
+ | * Watch the video available at this URL. | ||
+ | * It summarizes the Spoken Tutorial Project. | ||
+ | * If you do not have a good bandwidth you can download and watch it. | ||
+ | |- | ||
+ | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 24: About the Spoken Tutorial Project | ||
+ | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | The Spoken Tutorial Project Team | ||
-Conducts workshops using spoken tutorials | -Conducts workshops using spoken tutorials | ||
Line 90: | Line 121: | ||
-Gives certificates to those who pass an online test | -Gives certificates to those who pass an online test | ||
− | + | For more details, please write to contact@spoken-tutorial.org | |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 25: Spoken tutorial Workshops |
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
− | + | * Spoken Tutorials project is a part of Talk to a Teacher project. | |
− | More information on this mission is available at | + | * It is supported by the National Mission on Education through ICT, MHRD, Government of India. |
+ | * This project is coordinated by [http://spoken-tutorial/ http://spoken-tutorial] | ||
+ | * More information on this mission is available at this URL link http://spoken-tutorial.org/NMEICT-Intro al.org/NMEICT-Intro | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 26: Acknowledgement |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | References for the video and images have been taken from these websites. |
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.18cm;" | Slide 27: Disclaimer |
About the Author and Speaker | About the Author and Speaker | ||
− | | style="background-color:# | + | | style="background-color:#ffffff;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.18cm;" | |
− | + | * Please make a note that this effort is not approved or endorsed by '''ESI Group''', the producer of '''OpenFOAM''' software and the owner of the '''OpenFOAM''' trademark. | |
− | The script is written by Rahul Joshi and Saurabh Sawant and | + | * The script is written by Rahul Joshi and Saurabh Sawant and this is Rahul Joshi from IIT Bombay signing off. |
|- | |- | ||
|} | |} |
Latest revision as of 15:08, 27 August 2019
Tutorial: Introduction to OpenFOAM.
Script : Rahul Joshi and Saurabh S. Sawant
Narration : Rahul Joshi
Keywords: Video tutorial, CFD, About OpenFOAM, Solvers , Parallel Processing
Visual Cue | Narration |
Slide 1 | Hello and welcome to the spoken tutorial on Introduction to OpenFOAM. |
Slide 2: About OpenFOAM |
|
Slide 3: About OpenFOAM | A CFD tool box written in C++ and working on Linux operating systems. |
Slide 4: About OpenFOAM |
|
Slide 5: OpenFOAM capability | OpenFOAM is a Finite Volume based CFD software using both structured and unstructured grid. |
Slide 6: Mesh Generation |
|
Slide 7:Importing Mesh Files |
|
Slide 8: Boundary Conditions |
|
Slide 9: Solvers | There are a wide range of solvers available for:
|
Slide 10: Solvers | Users can create their own solvers or they can modify the existing solvers. |
Slide 11: Parallel Processing |
|
Slide 12: Post-Processing |
|
Slide 13: Equivalent to Commercial softwares |
|
Slide 14: Modelling in OpenFOAM | Solver syntax in OpenFOAM is similar to that used in writing a partial differential equation. |
Slide 15: OpenFOAM code | For example, analytically Momentum equation is written as shown.
Shown below is the OpenFOAM code equivalent for this equation. |
Slide 16-22: OpenFOAM Results | We will now see some OpenFOAM applications-
OpenFOAM spoken tutorials are available on the Spoken Tutorial website. |
Spoken tutorial clips | Let me show you some clips of spoken tutorials on OpenFOAM.
Using these self-learning tutorials, users can learn
|
Slide 23: About the Spoken Tutorial Project |
|
Slide 24: About the Spoken Tutorial Project | The Spoken Tutorial Project Team
-Conducts workshops using spoken tutorials -Gives certificates to those who pass an online test For more details, please write to contact@spoken-tutorial.org |
Slide 25: Spoken tutorial Workshops |
|
Slide 26: Acknowledgement | References for the video and images have been taken from these websites. |
Slide 27: Disclaimer
|
|