getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] manually set deformation beforecompute_tangent_matrix


From: Andreykiv, A.
Subject: Re: [Getfem-users] manually set deformation beforecompute_tangent_matrix
Date: Thu, 3 Jan 2008 10:33:18 +0100

Hi Nico,
 
    It is possible. You will have to set the displacement vector in the model state object, that you're using with your bricks.
But, you're using Python, right? I use C++, but it must be the same in Python.
For the details, please see the documentation on the model state class.
If you're having problems, I could send you my C++ code that does it.
 
Regards,
                  Andriy
______________________________________________
Andriy Andreykiv
Delft University of Technology
Faculty of Mechanical Engineering
Fundamentals of Microsystems
Mekelweg 2
2628 CD  Delft
The Netherlands
 
E-mail  :  address@hidden
Tel.      :   (31) 15 2786818
Fax.     :   (31) 15 2789475
www     :   http://www-tm.wbmt.tudelft.nl/~andrico
private  :  +31647376804


From: address@hidden on behalf of Nico Galoppo
Sent: óÒ 02/01/2008 18:55
To: address@hidden
Subject: [Getfem-users] manually set deformation beforecompute_tangent_matrix

Hi,

Is it possible to set a field on a fem explicitly, such that the
correct state is used when recomputing the tangent matrix?

For example, I would like to set the deformation of the mesh_fem mfu
that was linked to a brick as below:

gf_mesh_fem_set(mfu, 'fem', gf_fem('FEM_PK(3,1)'));
b0 = gfMdBrick('nonlinear elasticity', mim, mfu, 'SaintVenant Kirchhoff');

... setting some constraints in brick b3 ...

Here, I would like to set the deformation of mfu explicitly, to
extract the tangent matrix. Is this possible?

gf_mdstate_set(mds,'compute_tangent_matrix',b3);
gf_mdstate_get(mds,'tangent_matrix')

Thanks!

--nico

--
Nico Galoppo :: http://www.ngaloppo.org

_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]