Hi R,

On Tuesday, 9 July 2013 14:48:51 UTC+5:30, Robert Cimrman wrote:
Hi Hadi,

I do not know Abaqus, so I am not sure what you mean.
 
Abaqus has options like user material (UMAT - User subroutine to define a material's mechanical behavior) and user elements that user can define by writing it in fortran using specific variables which can be coupled to run with the solver.

Are you solving an
elasticity problem (small or large deformation?) with some material
nonlinearity?
As for obtaining the strain, see get_pars() function in [1] -
that might help.

Abaqus has a python interface so it might be possible, but I have no clue how to it can be done as UMAT and UEL are tightly coupled with the software and if there is a way then you have to make the entire abaqus communicate with sfepy. The support forum of Abaqus regarding subroutine is very bad so you may try posting in http://www.linkedin.com/groups/ABAQUS-User-Subroutine-Interface-3164622/about
to obtain a solution to calculate the strain tensor or the deformation gradient tensor in Abaqus itself.
See this example http://sfepy.org/doc-devel/examples/linear_elasticity/material_nonlinearity.html, it might help you if you want to rewrite it in sfepy.

Ankit

r.
[1]
http://sfepy.org/doc-devel/examples/linear_elasticity/material_nonlinearity.html

On 07/08/2013 07:03 PM, Hadi Seyed Hosseini wrote:
> Hi,
>
> I am quite new in the software and find it both useful and at the moment
> confusing.
> I have a user material (UMAT) written in Fortran for Abaqus and I would
> like to know if it is possible to wrap it into sfepy.
> As the software is highly object oriented, it is not easy to follow the
> existing examples, so that one can create a new
> problem and solve it using sfepy. All I need is to find out how to obtain
> the strain tensor or the deformation gradient tensor
> so that I can pass it to my material update routine to update the stresses
> and the material Jacobian tensors and at the
> end of the routine pass it to sfepy to calculate the force and the element
> Jacobian matrix.
>
> I will appreciate any hint on this issue.
>
> Thanks.
>
> Hadi
>