Difference between revisions of "Programming4"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Go back to [https://wiki.openfoam.com/index.php?title=Day_11 Day 11]. | Go back to [https://wiki.openfoam.com/index.php?title=Day_11 Day 11]. | ||
− | =[http://www.wolfdynamics.com/wiki/ | + | =[http://www.wolfdynamics.com/wiki/programming_mod_solver.pdf Programming in OpenFOAM - Adding a passive scalar to icoFoam]= |
[[File:joegi_f10.png|600px|right|my_icoFoam]] | [[File:joegi_f10.png|600px|right|my_icoFoam]] | ||
− | In the previous tutorial, we learned how to program a basic solver from scratch (the convection-diffusion equation). In these [http://www.wolfdynamics.com/wiki/ | + | In the previous tutorial, we learned how to program a basic solver from scratch (the convection-diffusion equation). In these [http://www.wolfdynamics.com/wiki/programming_mod_solver.pdf slides], we cover how to add a passive scalar (or the convection-diffusion equation) to the solver icoFoam. Additionally, we also add custom boundary conditions using codeStream. |
Revision as of 09:16, 7 August 2019
- contributor: Joel Guerrero
- affiliation: Universita degli Studi di Genova, Wolf Dynamics
- contact: click here for email address
- OpenFOAM version: 6
- published under: CC BY-SA license (creative commons licenses)
Go back to Day 11.
Programming in OpenFOAM - Adding a passive scalar to icoFoam
In the previous tutorial, we learned how to program a basic solver from scratch (the convection-diffusion equation). In these slides, we cover how to add a passive scalar (or the convection-diffusion equation) to the 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.