Difference between revisions of "Programming"

From OpenFOAM Wiki
Jump to navigation Jump to search
(Created page with "Small introduction Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic]. =Programming= Links to tutorial pages =Further reading=")
 
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Small introduction
+
One of the most relevant capabilities of OpenFOAM the possibility of creating new solvers and features, required for specific needs, which are done with Programming. You can find below a list of tutorials that covers Programming in OpenFOAM.
  
 
Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic].
 
Go back to [https://wiki.openfoam.com/Collection_by_topic Collection by topic].
Line 5: Line 5:
 
=Programming=
 
=Programming=
  
Links to tutorial pages
+
'''Complete Programming Courses'''
 +
 
 +
 
 +
'''C++'''
 +
 
 +
 
 +
'''Complete model implementation'''
 +
 
 +
 
 +
 
 +
'''Intro: Compilation and Testing'''
 +
* [https://wiki.openfoam.com/Programming_by_Ferras,_Fernandes_and_Nobrega Ferras et al.] describe solver implementation, compilation, and testing.
 +
 
 +
'''Implementation of Initial and Boundary Conditions'''
 +
 
 +
 
 +
'''Customizing solvers'''
 +
* [https://wiki.openfoam.com/Programming_by_Henrik_Rusche Rusche's introduction to programming] details on version control with git, the build system and customizing solvers.
 +
 
 +
'''Debugging'''
 +
* See the list of tools by [https://wiki.openfoam.com/Debugging_by_Stefan_Radl Stefan Radl] to get an overview of debugging tools.
 +
 
 +
Check the [https://wiki.openfoam.com/Programming_archive '''Archive'''] section for more (however not fully up to date) programming tutorials.
 +
 
  
 
=Further reading=
 
=Further reading=
 +
* Håkan Nilsson's collection [http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/] comprises several reports that cover programming topics.

Latest revision as of 09:09, 20 March 2024

One of the most relevant capabilities of OpenFOAM the possibility of creating new solvers and features, required for specific needs, which are done with Programming. You can find below a list of tutorials that covers Programming in OpenFOAM.

Go back to Collection by topic.

Programming

Complete Programming Courses


C++


Complete model implementation


Intro: Compilation and Testing

  • Ferras et al. describe solver implementation, compilation, and testing.

Implementation of Initial and Boundary Conditions


Customizing solvers

Debugging

  • See the list of tools by Stefan Radl to get an overview of debugging tools.

Check the Archive section for more (however not fully up to date) programming tutorials.


Further reading

  • Håkan Nilsson's collection [1] comprises several reports that cover programming topics.