Difference between revisions of "Programming by Hakan Nilsson"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[category:programming]]
 
* '''contributor''': Håkan Nilsson
 
* '''contributor''': Håkan Nilsson
 
* '''affiliation''': Department of Mechanics and Maritime Sciences, Chalmers University of Technology
 
* '''affiliation''': Department of Mechanics and Maritime Sciences, Chalmers University of Technology
 
* '''contact''': <mail address='hakan.nilsson@chalmers.se' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='hakan.nilsson@chalmers.se' description='author'>click here for email address</mail>
* '''OpenFOAM version''': v1706+
+
* '''OpenFOAM version''': v2006
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
* '''origin''': http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2017
+
* '''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_12 Day 12].
+
Go back to [https://wiki.openfoam.com/index.php?title=Day_14 Day 14].
  
=[https://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2017 Programming part of the course by Håkan Nilsson]=
+
Go back to [https://wiki.openfoam.com/Programming Programming].
  
On this [https://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2017 page] you will find a wide collection of pdfs and case files to further improve you knowledge of programming in OpenFOAM. This material was created for and during the PhD course in 2015 at Chalmers University of Technology. You will find information on:
+
Go back to [https://wiki.openfoam.com/Collection_by_authors Collection by authors].
  
Basics:
+
=Advanced programming in OpenFOAM=
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3914803 Basics of C++ and how it is used in OpenFOAM]
 
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3915048 Object orientation in C++ and OpenFOAM]
 
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3912666 Source code and binary file directory organization]
 
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3912668 High-level programming]
 
  
Solver implementation:
+
These pdfs will give you an introduction into the advanced programming of models in OpenFOAM.  
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3913956 Implement three applications - part 1]
 
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3912669 Implement three applications - part 2 (files)]
 
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3918771 A look inside icoFoam]
 
  
Model implementation:
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/10_thePISOalgorithmInIcoFoam.pdf PISO in icoFoam]
* [https://pingpong.chalmers.se/courseId/8331/content.do?id=3855253 Implement a boundary condition]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/11_componentsOfIcoFoam.pdf Components of icoFoam (using Doxygen)]
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3924267 Implement a functionObject]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/implementParabolicVelocityFixedValueBoundaryCondition.pdf Implement a parabolicVelocity fixedValue boundary condition]
* [https://pingpong.chalmers.se/courseId/8331/content.do?id=3855255 Implement turbulence model]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/implementNormalizedHelicityFunctionObject.pdf Implement a normalizedHelicity functionObject]
* [https://pingpong.chalmers.se/courseId/8331/node.do?id=3968104 Debugging]
+
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/implementTurbulenceModel.pdf Implementation of a turbulence model]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/19_debugging.pdf Debugging]
 +
* [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2020/lectureNotes/DebuggingLaplacianFoamFlangeTEqnSolve.pdf Debugging laplacianFoam/Flange TEqn.solve() function]

Latest revision as of 08:29, 29 January 2021

Go back to Day 14.

Go back to Programming.

Go back to Collection by authors.

Advanced programming in OpenFOAM

These pdfs will give you an introduction into the advanced programming of models in OpenFOAM.