# LabView and Femlab for (Bio)Physicists – Overview

• Overview

Programming LabView and finite elements simulating in Comsol Multiphysics We offer a hands-on course on programming in Labview - typical for experiment setups - and finite element simulations of partial differential equations with Comsol Multiphysics (aka Femlab).

### Time and place

Thursday 14.15-16.00
HU123 (Schellingstr. 4, Basement)

Course is valued with 3CP and aimed as a "Schlüsselqualifikation" (Bachelor or Master). The lectures is part of the the Biophysics Program of the Physics Master

--------- Or come to our lab ahead of time in case this is impossible ---------

LabView

20.10. Introduction.
While installing the virtual box, overview over Labview and Comsol with a number of examples taken from our biophysics lab. Configure Useful Preferences in Labview. Basic concepts in Labview: autoIndexing, For-Loops, Array Operators. Clusters.

27.10. Buttons, Loops and Moonlanding! (Image Programm, Moonlanding & Examples is a tar inside a zip, Moonlanding as one .zip)

03.11. Random Image Example, Filenames, SubVIs, Saving VIs, Hierarchy Browser (Rocket game with subVIs).

10.11. Loading Image, Cursors, Extracting part of an image, Filenames, Select parts of an array (examples with buggy select routine)

17.11. Clusters, save ASCII file, load ASCII file. Controls. Fitting Introduction, 1D and 2D fit, Error calculation, ODE with Cash-Karp (2DFit)

24.11. Stripping down complex code, Complex ODE with Labview. (ODE)

Plotting
08.12. Introduction to Igor for plotting (Labview routines for import/export to igor)

Matlab
15.12. Matlab I: fast introduction to the matrix programming language (simple binding example)

22.12. Matlab II: Short intro to solve ODEs with Matlab (Chemical binding equilibrium) [Mathematica Example]

Femlab
12.01. Femlab, first steps: Wind channel, Stokes Drag of a sphere

19.01. Boat in water. Calculate Stokes drag of a sphere and compare with analytical results (Files)

26.01. Mechanical Problems. Approach 2D and 3D. Solution over Time. Insulation of a Window. Colinear microfluidic mixer: coupling Navier Stokes and Diffusion (Examples)

02.02. Electrical examples: Capacitor, Resistance in 2D and 3D. Quantum Mechanics, Hydrogen Atom.

09.02. Comsol in our Research: discussing real world simulations we published over the last years with using Comsol, including 3D trapping, Flow simulations and Poisson-Equations using a dedicated Comsol Server.
Scheine will be given out in the last lecture

Verantwortlich für den Inhalt: Dieter Braun