Difference between revisions of "Programming4"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
=[http://www.wolfdynamics.com/wiki/programming_OF_psicofoam.pdf Programming in OpenFOAM - Adding a passive scalar to icoFoam]= | =[http://www.wolfdynamics.com/wiki/programming_OF_psicofoam.pdf Programming in OpenFOAM - Adding a passive scalar to icoFoam]= | ||
− | We previously learned how to program a basic solver from scratch (convection-diffusion equation), in these [http://www.wolfdynamics.com/wiki/programming_OF_psicofoam.pdf slides], we cover how to add a passive scalar (or the convection-diffusion equation) to the basic solver icoFoam. | + | We previously learned how to program a basic solver from scratch (convection-diffusion equation), in these [http://www.wolfdynamics.com/wiki/programming_OF_psicofoam.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. |
− | + | * You can download the solver source code and case files in this [http://www.wolfdynamics.com/wiki/101programming1.tar.gz link]. | |
− | You can download the solver source code and case files in this [http://www.wolfdynamics.com/wiki/101programming1.tar.gz link]. | ||
Go back to the [https://wiki.openfoam.com/Collection_by_authors#Joel_Guerrero contributions page]. | Go back to the [https://wiki.openfoam.com/Collection_by_authors#Joel_Guerrero contributions page]. |
Revision as of 23:00, 21 July 2017
- contributor: Joel Guerrero
- affiliation: Universita degli Studi di Genova, Wolf Dynamics
- contact: click here for email address
- OpenFOAM version: 4.x
- published under: CC BY-SA license (creative commons licenses)
Go back to Day 11.
Programming in OpenFOAM - Adding a passive scalar to 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.