Dear Samyak,

There is no specific function for that, but you can use the
interpolation facilities of the model object. You can see an example of
use for instance in the demo_thermo_elasticity_electrical_coupling
example which has a  python, Matlab, Scilab and C++ version. You can
interpolate any expression. Be aware that the stress being discontinuous
across the element edges/faces, the value will be averaged.

Regards,

Yves


Le 25/01/2017 à 06:08, samyak jain a écrit :
> Dear getfem-users,
>
> I have started using getfem recently to work on few contact problems
> between elastic bodies. 
>
> I am able to solve few simple cases and I am able to compute
> displacement (u) and Von-Mises/Tresca values on my mesh nodes.
>
> The problem I am facing is that I have to calculate pressure at the
> mesh points and for that I believe I need the stress tensor values at
> these discrete mesh points. Could someone please guide me or tell me
> how to get the value of these variables. I went through the
> documentation and checked everywhere but I couldn't find a way to
> calculate stress tensor/pressure.
>
> Thanks a lot.
>
> Samyak
>
>
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users


-- 

  Yves Renard ([email protected])       tel : (33) 04.72.43.87.08
  Pole de Mathematiques, INSA-Lyon             fax : (33) 04.72.43.85.29
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard

---------

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to