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 : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Tel. : (31) 15 2786818
Fax. : (31) 15 2789475
www : http://www-tm.wbmt.tudelft.nl/~andrico
private : +31647376804
________________________________
From: [EMAIL PROTECTED] on behalf of Nico Galoppo
Sent: Ср 02/01/2008 18:55
To: [email protected]
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 <http://www.ngaloppo.org/>
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users