Difference between revisions of "Programming boundary conditions by Gavin Tabor"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[category:programming]]
 
* '''contributor''': Gavin Tabor
 
* '''contributor''': Gavin Tabor
 
* '''affiliation''': College of Engineering, Mathematics and Physical Sciences, University of Exeter
 
* '''affiliation''': College of Engineering, Mathematics and Physical Sciences, University of Exeter
* '''contact''': G.R.Tabor@exeter.ac.uk
+
* '''contact''': <mail address='G.R.Tabor@exeter.ac.uk' description='author'>click here for email address</mail>
 
* '''OpenFOAM version''': 3.0.1
 
* '''OpenFOAM version''': 3.0.1
* '''Published under''': CC BY-NC-SA license ([https:// creativecommons.org/licenses creative commons licenses])
+
* '''Published under''': CC BY-NC-SA license ([https://creativecommons.org/licenses creative commons licenses])
  
 
Go back to [https://wiki.openfoam.com/index.php?title=Day_12 Day 12].
 
Go back to [https://wiki.openfoam.com/index.php?title=Day_12 Day 12].
  
=[https:// github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/GavinTabor/ProgrammingBCs/UKUsersGroup4.pdf Writing new boundary conditions in OpenFOAM]=
+
=[https://github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/GavinTabor/ProgrammingBCs/UKUsersGroup4.pdf Writing new boundary conditions in OpenFOAM]=
  
[https:// github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/GavinTabor/ProgrammingBCs/UKUsersGroup4.pdf This tutorial] gives you an extensive walkthough of the implementation of a custom boundary condition. You will see the main steps and compile the code in order to run a case, where you utilize the boundary condition. The topics covered are:
+
[https://github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/GavinTabor/ProgrammingBCs/UKUsersGroup4.pdf This tutorial] gives you an extensive walkthough of the implementation of a custom boundary condition. You will see the main steps and compile the code in order to run a case, where you utilize the boundary condition. The topics covered are:
  
 
* classes in OpenFOAM
 
* classes in OpenFOAM
Line 17: Line 18:
 
* testing
 
* testing
  
You can download the code and case files [https:// github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/GavinTabor/ProgrammingBCs/BCFiles.zip here].
+
You can download the code and case files [https://github.com/jnmlujnmlu/OpenFOAMTeaching/blob/master/GavinTabor/ProgrammingBCs/BCFiles.zip here].

Latest revision as of 05:10, 12 October 2017

Go back to Day 12.

Writing new boundary conditions in OpenFOAM

This tutorial gives you an extensive walkthough of the implementation of a custom boundary condition. You will see the main steps and compile the code in order to run a case, where you utilize the boundary condition. The topics covered are:

  • classes in OpenFOAM
  • polymorphism
  • runtime selection
  • boundary conditions
  • testing

You can download the code and case files here.