Difference between revisions of "Basic programming by Hakan Nilsson"

From OpenFOAM Wiki
Jump to navigation Jump to search
(Created page with "* '''author''': Håkan Nilsson * '''affiliation''': Department of Applied Mechanics, Chalmers University * '''contact''': hakan.nilsson@chalmers.se * '''OpenFOAM version''': ?...")
 
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* '''author''': Håkan Nilsson
+
[[category:programming]]
* '''affiliation''': Department of Applied Mechanics, Chalmers University
+
* '''contributor''': Håkan Nilsson
* '''contact''': hakan.nilsson@chalmers.se
+
* '''affiliation''': Department of Mechanics and Maritime Sciences, Chalmers University of Technology
* '''OpenFOAM version''': ???
+
* '''contact''': <mail address='hakan.nilsson@chalmers.se' description='author'>click here for email address</mail>
* '''published under''': CC BY-NC-ND license ([https:// creativecommons.org/licenses creative commons licenses])
+
* '''OpenFOAM version''': v2006
* '''origin''': http:// www.tfd.chalmers.se/~hani/kurser/OS_CFD_2015
+
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 +
* '''origin''': http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/#YEAR_2020
 +
* '''lecture notes''': http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/#YEAR_2020
  
Go back to [https://wiki.openfoam.com/index.php?title=Day_7 Day 7].
+
Go back to [https://wiki.openfoam.com/index.php?title=Day_13 Day 13].
  
=[http:// www.tfd.chalmers.se/~hani/kurser/OS_CFD_2015/aLookInsideIcoFoam.pdf icoFoam and pisoFoam by Håkan Nilsson]=
+
Go back to [https://wiki.openfoam.com/Programming Programming].
  
This [http:// www.tfd.chalmers.se/~hani/kurser/OS_CFD_2015/aLookInsideIcoFoam.pdf pdf] gives you a compact explanation on the difference between a laminar and a turbulent solver in OpenFOAM. This is important to know, if you want to decide, which solver in OpenFOAM you would like to use for your specific application. You will learn about
+
Go back to [https://wiki.openfoam.com/Collection_by_authors Collection by authors].
  
* icoFoam
+
=Basic programming in OpenFOAM=
* pisoFoam
+
 
* the PISO algorithm
+
These pdfs will give you an excellent insight into the first steps of programming in OpenFOAM.
* write statements
+
 
* inclusion of turbulence modeling
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/07_directoryOrganization.pdf Source code and binary file directory organization, browsing, name conventions, and compilation of installation]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/08_userDirectoryOrganizationAndCompilation.pdf User directory organization, and compilation as a user]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/09_highLevelProgramming.pdf High level programming]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/12_implementElectromagneticSolver.pdf Implement a simple electromagnetic solver - pdf]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/rodFoamCase.tgz Implement a simple electromagnetic solver - files]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/13_implementPassiveScalarTransportSolver.pdf Implement a passive scalar transport solver]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/14_implementSolidParticlesInVOF.pdf Implement solid particles in a VOF solver]

Latest revision as of 08:29, 29 January 2021

Go back to Day 13.

Go back to Programming.

Go back to Collection by authors.

Basic programming in OpenFOAM

These pdfs will give you an excellent insight into the first steps of programming in OpenFOAM.