Difference between revisions of "Code development by Tobias Holzmann"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[category:programming]]
 
* '''contributor''': Tobias Holzmann
 
* '''contributor''': Tobias Holzmann
 
* '''affiliation''': Holzmann CFD
 
* '''affiliation''': Holzmann CFD
 
* '''contact''': <mail address='Tobias.Holzmann@Holzmann-cfd.de' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='Tobias.Holzmann@Holzmann-cfd.de' description='author'>click here for email address</mail>
* '''OpenFOAM version''':  4.x (all tutorials are updated to 4.x since 23.11.16)
+
* '''OpenFOAM version''':  v7
 
* '''published under''': GPL v3 license  
 
* '''published under''': GPL v3 license  
  
=[http://www.holzmann-cfd.de/index.php/en/5-programming Code Development]=
+
Go back to [https://wiki.openfoam.com/Programming Programming].
  
These screencasts will help you learn hot to develop a custom code in OpenFOAM.
+
Go back to [https://wiki.openfoam.com/Day_12 Day 12].
  
==[http://www.holzmann-cfd.de/index.php/en/5-programming/5-1-basic-information 5.1 Basic Information]==
+
=Code Development=
 +
 
 +
These screencasts will help you learn how to develop a custom code in OpenFOAM. The videos are listed here
 +
[https://holzmann-cfd.com/community/training-videos/openfoam-programming/introduction-and-new-solver OpenFOAM development]
 +
 
 +
==1 Basic Information==
  
 
* General information about compiling and the programming environment
 
* General information about compiling and the programming environment
  
==[http://www.holzmann-cfd.de/index.php/en/5-programming/5-2-system-preparation 5.2 Preparing your System]==
+
==2 Preparing your System==
  
* General information about the new screencasts itself
+
* General information about the new training video
* Compiling OpenFOAM in debug mode
+
* Compiling OpenFOAMin debug mode
 
* Building your own Doxygen project
 
* Building your own Doxygen project
  
==[http://www.holzmann-cfd.de/index.php/en/5-programming/5-2-preparing-the-new-solver 5.3 Preparing the new Solver]==
+
==3 Preparing the new Solver==
  
 
* Starting a new solver with an already existing one
 
* Starting a new solver with an already existing one
* Analyse the direction tree
+
* Analyze the direction tree
 
* The Make folder
 
* The Make folder
 
* Source and header files
 
* Source and header files
* Analyse the particular files that has to be changed
+
* Analyze the particular files that have to be changed
  
==[http://www.holzmann-cfd.de/index.php/en/5-programming/5-4-analyzing-the-code 5.4 Analyzing the Code]==
+
==4 Analyzing the Code==
  
 
* Analyzing the source files
 
* Analyzing the source files
Line 34: Line 40:
 
* Using Doxygen the first time
 
* Using Doxygen the first time
  
==[http://www.holzmann-cfd.de/index.php/en/5-programming/5-5-advanced-code-analyze 5.5 Advanced Code Analyze]==
+
==5 Advanced Code Analyze==
  
 
* Analyzing the code and what it is doing
 
* Analyzing the code and what it is doing
Line 40: Line 46:
 
* Using Doxygen
 
* Using Doxygen
  
==[http://www.holzmann-cfd.de/index.php/en/5-programming/5-6-developing-the-solver 5.6 Building the new Solver]==
+
==6 Building the new Solver==
  
 
* Creating new quantity fields
 
* Creating new quantity fields
Line 51: Line 57:
 
* Update libraries
 
* Update libraries
 
* The Roche-Magnus-Formulation
 
* The Roche-Magnus-Formulation
* Temperature depended saturation pressure
+
* Temperature depended on saturation pressure
 
* Doxygen
 
* Doxygen

Latest revision as of 09:33, 20 May 2021

  • contributor: Tobias Holzmann
  • affiliation: Holzmann CFD
  • contact: click here for email address
  • OpenFOAM version: v7
  • published under: GPL v3 license

Go back to Programming.

Go back to Day 12.

Code Development

These screencasts will help you learn how to develop a custom code in OpenFOAM. The videos are listed here OpenFOAM development

1 Basic Information

  • General information about compiling and the programming environment

2 Preparing your System

  • General information about the new training video
  • Compiling OpenFOAMin debug mode
  • Building your own Doxygen project

3 Preparing the new Solver

  • Starting a new solver with an already existing one
  • Analyze the direction tree
  • The Make folder
  • Source and header files
  • Analyze the particular files that have to be changed

4 Analyzing the Code

  • Analyzing the source files
  • Discussion about some special and common header files
  • Analyzing header files
  • Using Doxygen the first time

5 Advanced Code Analyze

  • Analyzing the code and what it is doing
  • Going into the code in more detail
  • Using Doxygen

6 Building the new Solver

  • Creating new quantity fields
  • Building matrix systems
  • Solving matrix systems
  • Relaxing matrix systems
  • Relaxing fields
  • Implementing new functions
  • Building new libraries
  • Update libraries
  • The Roche-Magnus-Formulation
  • Temperature depended on saturation pressure
  • Doxygen