Difference between revisions of "Programming4"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[category:programming]]
 
* '''contributor''': Joel Guerrero
 
* '''contributor''': Joel Guerrero
 
* '''affiliation''': Universita degli Studi di Genova, Wolf Dynamics
 
* '''affiliation''': Universita degli Studi di Genova, Wolf Dynamics
 
* '''contact''': <mail address='joel.guerrero@unige.it' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='joel.guerrero@unige.it' description='author'>click here for email address</mail>
* '''OpenFOAM version''': 4.x
+
* '''OpenFOAM version''': 7
 
* '''published under''': CC BY-SA license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''published under''': CC BY-SA license ([https://creativecommons.org/licenses creative commons licenses])
  
 
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/programming_OF_ps_icofoam.pdf Programming in OpenFOAM - Adding a passive scalar to icoFoam]=
+
=[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|800px|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.  
+
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.
 +
  
* 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 at this [http://www.wolfdynamics.com/wiki/prog_my_icoFoam.tar.gz link].
 +
 
 +
* You can download the meshes and geometries at this [http://www.wolfdynamics.com/wiki/prog_meshes/meshes_and_geometries.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].

Latest revision as of 20:01, 18 August 2019

Go back to Day 11.

Programming in OpenFOAM - Adding a passive scalar to icoFoam

my_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 at this link.
  • You can download the meshes and geometries at this link.


Go back to the contributions page.