Termine
| wöchentlich | Mittwoch | 14:15 - 15:45 | 12.10.2026 - 29.01.2027 | C 16.223 Seminarraum |
Studienplankontext
C++ programme with a report (50%)
Wiederholungstermin: Zu dieser Prüfung wird kein Wiederholungstermin angeboten, da sie didaktisch untrennbar mit einer der zugeordneten Lehrveranstaltungen verbunden ist. Die Wiederholung der Prüfungsleistung ist somit erst bei erneutem Modulangebot möglich.
Organisatorisches
Anmeldung
Die Anmeldung endete am 12.10.2026 um 23:59 Uhr.
Personen
Inhaltliches
This course introduces students to C++ programming and its application to numerical simulations in mechanical engineering. The course aims to equip students with the programming skills required to develop computational models, solve basic mechanical engineering problems, and visualize simulation results.
The course follows a progressive learning approach, beginning with the fundamentals of C++ programming, followed by scientific visualization using ParaView, and culminating in the implementation of numerical solvers for mechanical applications. Throughout the course, theoretical concepts are reinforced through hands-on programming exercises and practical engineering projects.
Course Modules
Module 1: C++ Programming Fundamentals
Students learn the fundamental concepts of C++ programming, including variables, data types, operators, conditional statements, loops, functions, arrays, standard containers, and file input/output. The module also introduces object-oriented programming (OOP), including classes, objects, constructors, member variables, member functions, and encapsulation.
Students apply these concepts through practical programming exercises focused on mathematical calculations, data processing, and basic engineering applications.
Module 2: Scientific Visualization Using ParaView
This module introduces students to scientific visualization and its importance in computational engineering. Students learn how to use ParaView to analyze and interpret numerical simulation results, including scalar and vector fields, particle distributions, and time-dependent data.
The module covers importing datasets, applying visualization filters, using color maps, creating animations, and interpreting physical quantities such as temperature, displacement, and velocity.
Students also learn how to export numerical data from C++ programs in VTK format, establishing a connection between their programming implementations and scientific visualization.
Module 3: Fundamentals of Numerical Solvers
Students are introduced to the basic principles of numerical modeling and computational mechanics. The module explains how physical problems can be expressed through mathematical equations and solved numerically using C++.
Topics include time integration, spatial discretization, iterative calculations, and the implementation of basic numerical algorithms. Students learn how to translate governing physical equations into computational procedures and organize their numerical solvers using C++.
Module 4: Numerical Simulation of Mechanical Applications
In the final module, students apply their programming, visualization, and numerical modeling knowledge to solve mechanical engineering problems.
Two main applications are investigated:
Heat Transfer Simulation: Students develop a numerical solver to simulate transient heat conduction. They implement the governing heat equation, define initial and boundary conditions, calculate temperature evolution, and visualize the resulting temperature distributions using ParaView.
Particle Motion and Collision Simulation: Students develop a particle-based numerical model to simulate particle motion and interactions. They implement equations of motion, calculate particle positions and velocities, detect particle collisions, and model collision responses. The simulation results are exported and visualized in ParaView.
These applications allow students to connect physical principles, numerical algorithms, C++ programming, and scientific visualization within a complete computational workflow.
This course is designed to teach you the C++ programming language and enable you to apply the knowledge directly to solve mechanical real-life problems.
Evaluation
Weitere Informationen zur Lehrevaluation: https://www.leuphana.de/lehre/qualitaetsmanagement/evaluation/lehrveranstaltungsevaluation.html