Day 15

From OpenFOAM Wiki
Jump to navigation Jump to search

On Day 15 we will finalize our "3 weeks" tutorial series by doing a fun programming simulation and going through a couple of pages of pdf.

Go back to "3 weeks" series.

Tips by Gerhard Holzinger

Star on page 231 with the programming section. The pdf might not be always 100% up to date with the current releases, but still you will learn a lot.

Modeling chocolate

This tutorial is an excellent summary of all the information you will need to implement your own custom solvers or libraries in OpenFOAM by taking you through the implementation amongst others on the Casson model, which describes the flow of molten chocolate. The focus is on:

  • header files
  • base types
  • fvMesh
  • GeometricField
  • IOobject and objectRegistry
  • Higher-level programming
  • fvc::, fvm:: operators
  • compilation
  • Boussinesq approximation
  • Casson model