Difference between revisions of "OpenFOAM/C2/Introduction-to-OpenFOAM/English"
(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;">''...") |
|||
Line 17: | Line 17: | ||
{| style="border-spacing:0;width:16.99cm;" | {| style="border-spacing:0;width:16.99cm;" | ||
|- | |- | ||
− | | align=center style="background-color:#ffffff;border-top:0.25pt solid # | + | | align=center style="background-color:#ffffff;border-top:0.25pt solid #000000;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | '''Visual Cue''' |
− | | align=center style="background-color:#ffffff;border | + | | align=center style="background-color:#ffffff;border:0.25pt solid #000000;padding:0cm;" | '''Narration''' |
|- | |- | ||
− | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid # | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 1 |
− | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid # | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | Hello and welcome to the spoken tutorial on Introduction to OpenFOAM. |
|- | |- | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 2: About OpenFOAM |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 3: About OpenFOAM |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | A CFD tool box written in C++ and working on Linux operating systems. |
|- | |- | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 4: About OpenFOAM |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 5: OpenFOAM capability |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | OpenFOAM is a Finite Volume based CFD software using both structured and unstructured grid. |
|- | |- | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 6: Mesh Generation |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | OpenFOAM has a mesh generation tool called as blockMesh. It is used for structured meshing, small and easy grids. Mesh input is in 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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 7:Importing Mesh Files |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | We can import mesh files from third party softwares 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:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 8: Boundary Conditions |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 9: Solvers |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | There are 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:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 10: Solvers |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 11: Parallel Processing |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 12: Post-Processing |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | OpenFOAM results can be visualized using Paraview. |
− | OpenFOAM data can also be visulalised in softwares such as Tecplot, Ensight , | + | OpenFOAM data can also be visulalised in softwares such as Tecplot, Ensight , and etc. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 13: Equivalent to Commercial softwares |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | Commercial softwares are costly. Source code is not available. Solver capabilities of OpenFOAM are as good as Fluent, CFX, Star CCM +, etc. |
|- | |- | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 14: Modelling in OpenFOAM |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 15: OpenFOAM code |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 16-22: OpenFOAM Results |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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 tutorial are | + | OpenFOAM spoken tutorial are available on the spoken tutorial website. |
|- | |- | ||
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 23: About the Spoken Tutorial Project |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | Watch the video available at this URL. |
It summarizes the Spoken Tutorial Project. | It summarizes the Spoken Tutorial Project. | ||
Line 83: | Line 83: | ||
If you do not have a good bandwidth you can download and watch it. | If you do not have a good bandwidth you can download and watch it. | ||
|- | |- | ||
− | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid # | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 24: About the Spoken Tutorial Project |
− | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid # | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | The Spoken Tutorial Project Team |
-Conducts workshops using spoken tutorials | -Conducts workshops using spoken tutorials | ||
Line 92: | Line 92: | ||
-For more details, please write to [mailto:contact@spoken-tutorial.org contact@spoken-tutorial.org] | -For more details, please write to [mailto:contact@spoken-tutorial.org contact@spoken-tutorial.org] | ||
|- | |- | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 25: Spoken tutorial Workshops |
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | Spoken Tutorials project is a part of Talk to a Teacher project. 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 the following URL link [http://spoken-tutorial.org/NMEICT-Intro http://spoken-tutori][http://spoken-tutorial.org/NMEICT-Intro al.org/NMEICT-Intro] | More information on this mission is available at the following URL link [http://spoken-tutorial.org/NMEICT-Intro http://spoken-tutori][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:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 26: Acknowledgement |
− | | style="background-color:#ffffff;border-top: | + | | style="background-color:#ffffff;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | References for the Video and images have been taken from these website. |
|- | |- | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:none;padding:0cm;" | Slide 27: Disclaimer |
About the Author and Speaker | About the Author and Speaker | ||
− | | style="background-color:#eeeeee;border-top: | + | | style="background-color:#eeeeee;border-top:none;border-bottom:0.25pt solid #000000;border-left:0.25pt solid #000000;border-right:0.25pt solid #000000;padding:0cm;" | 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 This is Rahul Joshi from IIT Bombay signing off. | The script is written by Rahul Joshi and Saurabh Sawant and This is Rahul Joshi from IIT Bombay signing off. | ||
|- | |- | ||
|} | |} |
Revision as of 11:53, 1 August 2019
Tutorial: Introduction to OpenFOAM.
Script : Rahul Joshi and Saurabh S. Sawant
Narration : Rahul Joshi
Visual Cue | Narration |
Slide 1 | Hello and welcome to the spoken tutorial on Introduction to OpenFOAM. |
Slide 2: About OpenFOAM | OpenFOAM stands for Open source Field Operation And Manipulation. It is an Open Source Computational Fluid Dynamics Software. |
Slide 3: About OpenFOAM | A CFD tool box written in C++ and working on Linux operating systems. |
Slide 4: About OpenFOAM | OpenFOAM has an Object Oriented Programming Interface. It is licensed under GNU General Public Licence. |
Slide 5: OpenFOAM capability | OpenFOAM is a Finite Volume based CFD software using both structured and unstructured grid. |
Slide 6: Mesh Generation | OpenFOAM has a mesh generation tool called as blockMesh. It is used for structured meshing, small and easy grids. Mesh input is in form of a script and no GUI. It also has an Advanced Meshing tool called as snappyHexMesh. |
Slide 7:Importing Mesh Files | We can import mesh files from third party softwares like fluent, cfx by using these commands. This is useful for large and complex grids. We can also use arbitrary polyhedral mesh. |
Slide 8: Boundary Conditions | There are various default boundary conditions which are available. Users can modify the existing boundary conditions according to their case. |
Slide 9: Solvers | There are 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. |
Slide 10: Solvers | Users can create their own solvers or they can modify the existing solvers |
Slide 11: Parallel Processing | Parallel processing is easy in OpenFOAM and supports OpenMPI.
We can use 'n' number of processors. |
Slide 12: Post-Processing | OpenFOAM results can be visualized using Paraview.
OpenFOAM data can also be visulalised in softwares such as Tecplot, Ensight , and etc. |
Slide 13: Equivalent to Commercial softwares | Commercial softwares are costly. Source code is not available. Solver capabilities of OpenFOAM are as good as Fluent, CFX, Star CCM +, etc. |
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 - Dam break simulation, Moving Reference Frame simulation, Arbitrary Mesh Interface, Ship Propeller Simulation, 3D Bluff body simulation, Particle-tracking simulation.
OpenFOAM spoken tutorial are available on the spoken tutorial website. |
Slide 23: About the Spoken Tutorial Project | 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. |
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 | Spoken Tutorials project is a part of Talk to a Teacher project. It is supported by the National Mission on Education through ICT, MHRD, Government of India. This project is coordinated by http://spoken-tutorial
More information on this mission is available at the following URL link http://spoken-tutorial.org/NMEICT-Intro |
Slide 26: Acknowledgement | References for the Video and images have been taken from these website. |
Slide 27: Disclaimer
|
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 This is Rahul Joshi from IIT Bombay signing off. |