Difference between revisions of "Programming2"

From OpenFOAM Wiki
Jump to navigation Jump to search
(Created page with "* '''contributor''': Joel Guerrero * '''affiliation''': Universita degli Studi di Genova, Wolf Dynamics * '''contact''': <mail address='joel.guerrero@unige.it' description='au...")
 
 
(19 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''': 3.0.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/tbd Programming in OpenFOAM]=
+
=[http://www.wolfdynamics.com/wiki/prog_codestreamINIT.pdf Programming in OpenFOAM - Field initialization using codeStream]=
  
This [http://www.wolfdynamics.com/wiki/tbd pdf] gives you an extensive summary on programming in OpenFOAM. You will be taken through the basics of programming, boundary conditions as well as application. You will focus on:
+
[[File:joegi_f8.png|800px|right|Programming IC with codeStream]]
  
* building blocks
+
In these [http://www.wolfdynamics.com/wiki/prog_codestreamINIT.pdf slides], we cover how to do non-uniform field initialization using codeStream.  We also explain how to use an STL to do non-uniform initialization using setFields.
* implementation of boundary conditions
 
* testing the boundary conditions with two case setups
 
* modification of an existing solver
 
* testing of the solver
 
  
In order to download the examples, click:
 
  
[http://www.wolfdynamics.com/wiki/tbd tutorial files]
+
You can download the case files at this [http://www.wolfdynamics.com/wiki/codeStream_INIT.tar.gz link].
 +
 
 +
 
 +
Go back to the [https://wiki.openfoam.com/Collection_by_authors#Joel_Guerrero contributions page].

Latest revision as of 19:33, 18 August 2019

Go back to Day 11.

Programming in OpenFOAM - Field initialization using codeStream

Programming IC with codeStream

In these slides, we cover how to do non-uniform field initialization using codeStream. We also explain how to use an STL to do non-uniform initialization using setFields.


You can download the case files at this link.


Go back to the contributions page.