Dear Cristian,

You have several possibilities to define a coefficient whose value is
different from a mesh region to another. If it is piecewise constant you
can describe it on a P0 finite element method then you can obtain the
degrees of freedom of a particular region with mf.basic_dof_on_region(rg).
With the high level generic assembly, you can define a non-constant
coefficient in a more general way by it expression with respect to X,
the current position on the mesh (for instance sin(X[1]) + cos(X[2]) is
valid).

I hope it could help you.

Yves.




Le 03/02/2015 21:26, Cristian Alejandro Torres Valencia a écrit :
> Hi
>
> i'm new using the getfem library in python and i have a question about
> the definition of different values of conductivity in different
> regions of the mesh. I had tried using the
> md.add_isotropic_linearized_elasticity_brick() but i didn't succed.
>
> Which one is the best way of defining material constraints in some
> regions of the mesh?. I also have studied the demos but i can't find
> any help. Could anybody give me some advice?
>
> Thanks
>
> Cristian Alejandro Torres
>
>
> _______________________________________________
> 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