|
This wiki contains simple tutorial models designed
|
|
This wiki contains simple tutorial models designed to get you acquainted step by
|
|
to get you acquainted step by step
|
|
step with the concepts and the syntax of ONELAB models.
|
|
with the concepts and the syntax of ONELAB models.
|
|
|
|
|
|
|
|
The list below gives the main new concepts
|
|
The list below gives the main new concepts introduced by each tutorial.
|
|
introduced by each tutorial.
|
|
Explanations are given as comments directly in the models files, which you can
|
|
Explanations are given as comments directly in the models files,
|
|
browse directly from the list. [Useful tips for using the graphical user
|
|
which you can browse directly from the list. [Useful tips for using the graphical user interface](Onelab-graphical-user-interface-tips-and-tricks) are also available.
|
|
interface](Onelab-graphical-user-interface-tips-and-tricks) are also available.
|
|
|
|
|
|
You can download all the tutorials on your computer with the command:
|
|
You can download all the tutorials on your computer with the command:
|
|
|
|
|
... | @@ -13,37 +12,40 @@ You can download all the tutorials on your computer with the command: |
... | @@ -13,37 +12,40 @@ You can download all the tutorials on your computer with the command: |
|
git clone http://gitlab.onelab.info/doc/tutorials.git
|
|
git clone http://gitlab.onelab.info/doc/tutorials.git
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Additional examples highlighting various physical models and numerical
|
|
|
|
techniques are available [here](https://gitlab.onelab.info/doc/moodels/wikis/home).
|
|
|
|
|
|
## ONELAB tutorial for Gmsh and GetDP
|
|
## ONELAB tutorial for Gmsh and GetDP
|
|
|
|
|
|
1. [Electrostatic __microstrip__](Electrostatics)
|
|
1. [Electrostatic __microstrip__](Electrostatics)
|
|
* Physical regions and Abstract regions
|
|
* Physical regions and Abstract regions
|
|
* Stiffness term of a Laplacian problem
|
|
* Stiffness term of a Laplacian problem
|
|
* Browse <a href="http://gitlab.onelab.info/doc/tutorials/tree/master/Electrostatics/">model files</a>
|
|
* Browse [model files](http://gitlab.onelab.info/doc/tutorials/tree/master/Electrostatics)
|
|
|
|
|
|
2. [Magnetostatic __electromagnet__](Magnetostatics)
|
|
2. [Magnetostatic __electromagnet__](Magnetostatics)
|
|
* Right-hand-side term of a Poisson problem
|
|
* Right-hand-side term of a Poisson problem
|
|
* Onelab variables
|
|
* Onelab variables
|
|
* Boundary conditions at infinity
|
|
* Boundary conditions at infinity
|
|
* Browse <a href="http://gitlab.onelab.info/doc/tutorials/tree/master/Magnetostatics">model files</a>
|
|
* Browse [model files](http://gitlab.onelab.info/doc/tutorials/tree/master/Magnetostatics)
|
|
|
|
|
|
3. [Linear elasticity - __wrench2D__](Elasticity)
|
|
3. [Linear elasticity - __wrench2D__](Elasticity)
|
|
* $`\nabla u`$ GetDP specific formulation for linear elasticity
|
|
* $`\nabla u`$ GetDP specific formulation for linear elasticity
|
|
* First and second order elements
|
|
* First and second order elements
|
|
* Triangular and quadrangular elements
|
|
* Triangular and quadrangular elements
|
|
* Browse <a href="http://gitlab.onelab.info/doc/tutorials/tree/master/Elasticity">model files</a>
|
|
* Browse [model files](http://gitlab.onelab.info/doc/tutorials/tree/master/Elasticity)
|
|
|
|
|
|
4. [Electrostatic microstrip with __floating__ potentials](Electrostatics-with-floating-potentials)
|
|
4. [Electrostatic microstrip with __floating__ potentials](Electrostatics-with-floating-potentials)
|
|
* Global quantities and their special shape functions
|
|
* Global quantities and their special shape functions
|
|
* Computation of the energy dual, i.e. of the armature charge of the electrode
|
|
* Computation of the energy dual, i.e. of the armature charge of the electrode
|
|
* More on ONELAB parameters (flags, model options, check boxes, menus, ...)
|
|
* More on ONELAB parameters (flags, model options, check boxes, menus, ...)
|
|
* Browse <a href="http://gitlab.onelab.info/doc/tutorials/tree/master/ElectrostaticsFloating">model files</a>
|
|
* Browse [model files](http://gitlab.onelab.info/doc/tutorials/tree/master/ElectrostaticsFloating)
|
|
|
|
|
|
5. [Thermal __contact resistance__ and __floating temperature__](Thermics)
|
|
5. [Thermal __contact resistance__ and __floating temperature__](Thermics)
|
|
* Contact thermal resistance (idealised thin region with hign thermal conductivity)
|
|
* Contact thermal resistance (idealised thin region with hign thermal conductivity)
|
|
* Thermal electrode (floating temperature in a region of high thermal conductivity)
|
|
* Thermal electrode (floating temperature in a region of high thermal conductivity)
|
|
* Computation of heat flux through surfaces
|
|
* Computation of heat flux through surfaces
|
|
* Import of a source field from a file
|
|
* Import of a source field from a file
|
|
* Browse <a href="http://gitlab.onelab.info/doc/tutorials/tree/master/Thermics">model files</a>
|
|
* Browse [model files](http://gitlab.onelab.info/doc/tutorials/tree/master/Thermics)
|
|
|
|
|
|
6. [2D __potential flow__ with computation of the __lift force__](Potential-flow)
|
|
6. [2D __potential flow__ with computation of the __lift force__](Potential-flow)
|
|
* Potential flow, irrotational flow
|
|
* Potential flow, irrotational flow
|
... | @@ -52,7 +54,7 @@ git clone http://gitlab.onelab.info/doc/tutorials.git |
... | @@ -52,7 +54,7 @@ git clone http://gitlab.onelab.info/doc/tutorials.git |
|
* Run-time variables
|
|
* Run-time variables
|
|
* Elementary algorithms in the Resolution section
|
|
* Elementary algorithms in the Resolution section
|
|
* Non-linear iteration to achieve Kutta's condition
|
|
* Non-linear iteration to achieve Kutta's condition
|
|
* Browse <a href="http://gitlab.onelab.info/doc/tutorials/tree/master/PotentialFlow">model files</a>
|
|
* Browse [model files](http://gitlab.onelab.info/doc/tutorials/tree/master/PotentialFlow)
|
|
|
|
|
|
## ONELAB tutorial for Python
|
|
## ONELAB tutorial for Python
|
|
|
|
|
... | | ... | |