Difference between revisions of "Programming4"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
=[http://www.wolfdynamics.com/wiki/programming_OF_ps_icofoam.pdf Programming in OpenFOAM - Adding a passive scalar to icoFoam]=
 
=[http://www.wolfdynamics.com/wiki/programming_OF_ps_icofoam.pdf Programming in OpenFOAM - Adding a passive scalar to icoFoam]=
 +
 +
[[File:joegi_f10.png|450px|right|my_icoFoam]]
 +
  
 
We previously learned how to program a basic solver from scratch (convection-diffusion equation).  In these [http://www.wolfdynamics.com/wiki/programming_OF_ps_icofoam.pdf slides], we cover how to add a passive scalar (or the convection-diffusion equation) to the basic solver icoFoam. Additionally, we also add custom boundary conditions using codeStream.  
 
We previously learned how to program a basic solver from scratch (convection-diffusion equation).  In these [http://www.wolfdynamics.com/wiki/programming_OF_ps_icofoam.pdf slides], we cover how to add a passive scalar (or the convection-diffusion equation) to the basic solver icoFoam. Additionally, we also add custom boundary conditions using codeStream.  

Revision as of 21:55, 28 July 2017

Go back to Day 11.

Programming in OpenFOAM - Adding a passive scalar to icoFoam

my_icoFoam


We previously learned how to program a basic solver from scratch (convection-diffusion equation). In these slides, we cover how to add a passive scalar (or the convection-diffusion equation) to the basic solver icoFoam. Additionally, we also add custom boundary conditions using codeStream.

  • You can download the solver source code and case files in this link.


Go back to the contributions page.