Difference between revisions of "Programming by Stefan Radl"
Jump to navigation
Jump to search
Jozsef Nagy (talk | contribs) |
Stefan Radl (talk | contribs) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[category:programming]] | ||
+ | [[category:C++]] | ||
* '''contributor''': Stefan Radl | * '''contributor''': Stefan Radl | ||
* '''affiliation''': Technische Universität Graz, Austria | * '''affiliation''': Technische Universität Graz, Austria | ||
− | * '''contact''': radl@tugraz.at | + | * '''contact''': <mail address='radl@tugraz.at' description='author'>click here for email address</mail> |
− | * '''OpenFOAM version''': | + | * '''OpenFOAM version''': 5.x |
* '''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]. | ||
+ | |||
+ | Go back to [https://wiki.openfoam.com/Collection_by_authors#Stefan_Radl '''Stefan's collection'''] | ||
+ | |||
+ | Go back to [https://wiki.openfoam.com/Programming '''Programming'''] | ||
=[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 | + | * compilation & testing |
− | * code structure | + | * basic code structure (library and executable) |
− | + | ||
− | + | Also, an overview of available divergence schemes is provided. | |
+ | |||
+ | [[File:SessionC_header.png|500px|right|]] | ||
+ | |||
+ | [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. | ||
The videos can be found here: | The videos can be found here: | ||
− | * [ | + | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_1.mp4 '''C.1 Intro and basics C/C++'''] |
− | * [ | + | |
− | * [ | + | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_2.mp4 '''C.2 Copy case and linking'''] |
− | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/ | + | |
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_3.mp4 '''C.3 Inspect an application'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_4.mp4 '''C.4 Adding new functionality'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_5.mp4 '''C.5 Writing functionality & summary'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_6.mp4 '''C.6 STL vectors as alternative'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_7.mp4 '''C.7 The meshInspector'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_8.mp4 '''C.8 Modification of a library'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/Session_C_9.mp4 '''C.9 Divergence schemes'''] | ||
+ | |||
+ | * [https://www.tugraz.at/fileadmin/user_upload/Institute/IPPT/Area-PharmEng_Particles/SoftwareTraining/OpenFOAM/2_SessionC_Coding/16_OpenFOAM_coding_6_doxygenDocumentation.mp4 '''C.10: Doxygen docu'''] |
Latest revision as of 21:51, 15 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: