This wiki contains simple tutorial models designed to get you acquainted step by step with the concepts and the syntax of ONELAB models.
The list below gives the main new concepts introduced by each tutorial. Explanations are given as comments directly in the models files, which you can browse directly from the list. Useful tips for using the graphical user interface are also available.
You can download all the tutorials on your computer with the command:
git clone http://gitlab.onelab.info/doc/tutorials.git
Additional examples highlighting various physical models and numerical techniques are available here.
ONELAB tutorial for Gmsh and GetDP
- Physical regions and Abstract regions
- Stiffness term of a Laplacian problem
- Browse model files
- Right-hand-side term of a Poisson problem
- Onelab variables
- Boundary conditions at infinity
- Browse model files
-
\nabla uGetDP specific formulation for linear elasticity
- First and second order elements
- Triangular and quadrangular elements
- Browse model files
- Global quantities and their special shape functions
- Computation of the energy dual, i.e. of the armature charge of the electrode
- More on ONELAB parameters (flags, model options, check boxes, menus, ...)
- Browse model files
- Contact thermal resistance (idealised thin region with hign thermal conductivity)
- Thermal electrode (floating temperature in a region of high thermal conductivity)
- Computation of heat flux through surfaces
- Import of a source field from a file
- Browse model files
- Potential flow, irrotational flow
- Multivalued scalar field
- Lift and Magnus effect, stagnation points
- Run-time variables
- Elementary algorithms in the Resolution section
- Non-linear iteration to achieve Kutta's condition
- Browse model files