# [Gmsh] Linear elasticity equation using the template project file

Zoltan zoltan.csati at centralelille.fr
Fri Feb 28 18:30:26 CET 2020

Greetings,

I want to solve a plane stress problem in linear elasticity on a
rectangular domain. To do this, I followed the instruction in the header
of the Interactive_Elasticity.pro
<https://gitlab.onelab.info/getdp/getdp/-/blob/master/templates/Interactive_Elasticity.pro>
file.
First, I created the domain and the default triangular mesh on it. Then
I defined two physical groups, one for the left and one for the right
side of the rectangle. After that, I clicked on File -> Merge and
selected the /Interactive_Elasticity.pro/ file. Here comes the problem.
The instruction writes: “You will be prompted to setup your material,
sources and the boundary conditions for each physical group,
interactively.”. You can see from the attached screenshot (using the
latest Linux x64 binary of ONELAB) that only the boundary conditions
appeared. The problem can still be solved but the displacement and
stress values are zeros, as you see from the opened result text files.

Questions:

1. How can I set the material parameters E and \nu?
2. Why is my solution a zero vector?
3. How can I visualize any component of the displacement vector and the
stress tensor?

Thank you

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200228/699f9a27/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2020-02-28 14-20-34.png
Type: image/png
Size: 160038 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200228/699f9a27/attachment-0001.png>