Difference between revisions of "Code development by Tobias Holzmann"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
* '''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''':  5.x
+
* '''OpenFOAM version''':  v7
 
* '''published under''': GPL v3 license  
 
* '''published under''': GPL v3 license  
  
Line 12: Line 12:
 
=Code Development=
 
=Code Development=
  
These screencasts will help you learn hot to develop a custom code in OpenFOAM.
+
These screencasts will help you learn how to develop a custom code in OpenFOAM. The training videos are
 +
pushed into the archived section, as the used OpenFOAM version was 5.x. The videos are listed here
 +
[https://holzmann-cfd.com/community/training-videos/openfoam-development/archived OpenFOAM development]
  
==[https://holzmann-cfd.de/training/openfoam-development-and-programming 5.1 Basic Information]==
+
==1 Basic Information==
  
 
* General information about compiling and the programming environment
 
* General information about compiling and the programming environment
  
==[https://holzmann-cfd.de/training/openfoam-development-and-programming 5.2 Preparing your System]==
+
==2 Preparing your System==
  
 
* General information about the new training video
 
* General information about the new training video
Line 24: Line 26:
 
* Building your own Doxygen project
 
* Building your own Doxygen project
  
==[https://holzmann-cfd.de/training/openfoam-development-and-programming 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
Line 32: Line 34:
 
* Analyze the particular files that has to be changed
 
* Analyze the particular files that has to be changed
  
==[https://holzmann-cfd.de/training/openfoam-development-and-programming 5.4 Analyzing the Code]==
+
==4 Analyzing the Code==
  
 
* Analyzing the source files
 
* Analyzing the source files
Line 39: Line 41:
 
* Using Doxygen the first time
 
* Using Doxygen the first time
  
==[https://holzmann-cfd.de/training/openfoam-development-and-programming 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 45: Line 47:
 
* Using Doxygen
 
* Using Doxygen
  
==[https://holzmann-cfd.de/training/openfoam-development-and-programming 5.6 Building the new Solver]==
+
==6 Building the new Solver==
  
 
* Creating new quantity fields
 
* Creating new quantity fields

Revision as of 05:45, 3 August 2020

  • 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 training videos are pushed into the archived section, as the used OpenFOAM version was 5.x. 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 has 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 saturation pressure
  • Doxygen