Difference between revisions of "Programming by Stefan Radl"
Jump to navigation
Jump to search
Stefan Radl (talk | contribs) |
Stefan Radl (talk | contribs) |
||
Line 15: | Line 15: | ||
=[http://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/11_OpenFOAM_coding_1.mp4 Programming - introduction]= | =[http://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/11_OpenFOAM_coding_1.mp4 Programming - introduction]= | ||
− | These video will give you a step by step walk through of programming your own | + | These video will give you a step by step walk through of programming your own application or library that can be loaded into an existing OpenFOAM application. It will guide you through the steps in C++ to write the code and compile it. You will test the code with a simple case. The focus is on: |
* C++ basics | * C++ basics | ||
* compilation & testing | * compilation & testing | ||
* basic code structure (library and executable) | * basic code structure (library and executable) | ||
− | + | ||
+ | Also, an overview of available divergence schemes is provided. | ||
[https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/C_addOn-Material.zip '''This FILE'''] contains the slides, source code, as well as the case. | [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/C_addOn-Material.zip '''This FILE'''] contains the slides, source code, as well as the case. |
Revision as of 08:24, 14 February 2019
- contributor: Stefan Radl
- affiliation: Technische Universität Graz, Austria
- contact: click here for email address
- OpenFOAM version: 5.x
- Published under: CC BY-NC-SA license (creative commons licenses)
Go back to Day 12.
Go back to Stefan's collection
Go back to Programming
Programming - introduction
These video will give you a step by step walk through of programming your own application or library that can be loaded into an existing OpenFOAM application. It will guide you through the steps in C++ to write the code and compile it. You will test the code with a simple case. The focus is on:
- C++ basics
- compilation & testing
- basic code structure (library and executable)
Also, an overview of available divergence schemes is provided.
This FILE contains the slides, source code, as well as the case.
The videos can be found here: