Difference between revisions of "Programming"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
'''C++'''
 
'''C++'''
 +
 +
'''Complete model implementation'''
 +
* [https://wiki.openfoam.com/Coupling_a_membrane_with_pretension_to_point_displacement_Michael_Alletto Alletto] describes how to couple two different physical problems in OpenFoam. In this specific case you will use the equation of motion of a membrane with pretension to impose the movement of the mesh at a given boundary.
  
  

Revision as of 05:36, 5 May 2023

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

  • Alletto describes how to couple two different physical problems in OpenFoam. In this specific case you will use the equation of motion of a membrane with pretension to impose the movement of the mesh at a given boundary.


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.