[Top][All Lists]

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

Re: [Getfem-users] Re2: python getfem++ is killed

From: logari81
Subject: Re: [Getfem-users] Re2: python getfem++ is killed
Date: Mon, 05 Mar 2012 08:47:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120129 Thunderbird/10.0

this is because in the current svn version I have replaced x[..] in the python interface with x,y,z so that it is consistent with the Matlab interface and the usual muparser expressions.



On 02/24/2012 08:30 PM, address@hidden wrote:

Dear Yves Renard,


that's strange. This part of the code runs at my system without any problems. If I use y instead of x[2] I get the error message "NameError: name 'y' is not defined".


I'm using ubuntu 11.10 with getfem++ 4.1.1.


Kind regards,



-----Ursprüngliche Nachricht-----
Von: "Yves Renard" [address@hidden]
Gesendet: Tue. 21.02.2012 16:01
An: address@hidden
Kopie: address@hidden
Betreff: Re: [Getfem-users] python getfem++ is killed

When I run your program, I have a problem with the eval methods :

 mfpt.eval("c*(x[1]-r) * I",{'c':c, 'r':r_tube, 'I':I})
p_o = mfpo.eval("p(x[2]) * I",{'p':p_atm , 'I':I})
p_i = mfpi.eval("p(x[2]) * I",{'p':p_tube, 'I':I})

Normally, x[1] and x[2] are not defined. The available coordinates are the scalar variables x, y and z.

But I have an error message ...


Le 20/02/2012 21:38, address@hidden a écrit :

Dear all,

my getfem++ model is killed with signal 9 and I've no idea why.

I try to use gmsh and getfem++ to calculate the deformation of a pressurized tube. I model the tube as a thin walled cylinder with top and bottom in gmsh. I use python as the interface to getfem++ to describe the high inside pressure, the lower outside pressure, the asymmetric top pressure and a diriclet bottom. When I run this programm it starts, but it crashes without any hint why.

I tried this with different length of the cylinder, with different thickness of the walls, and with meshes of different granularity. The result is always the same: the program is killed. Only with a very small flat cylinder it succeeded, but I'm interested in the behaviour of a long tube-like cylinder. I've suspected the main memory, but I've added plenty of virtual memory without an observable change.

Can you give me any hints how to overcome the problem or what I'm doing wrong?


Many thanks in advance.


Kind regards,

Nutzen Sie freenet Mail optimal angepasst für Ihr iPhone, Android oder Nokia Handy auch von unterwegs.
Alle Infos und Download unter freenetMail Apps
_______________________________________________ Getfem-users mailing list address@hidden

-- Yves Renard (address@hidden) tel : (33) Pole de Mathematiques, INSA-Lyon fax : (33) 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE ---------

-----Ursprüngliche Nachricht Ende-----

E-Mail ist da wo du bist! Jetzt mit freenetMail ganz bequem auch unterwegs E-Mails verschicken.
Am besten gleich informieren unter

Getfem-users mailing list

reply via email to

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