yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14565
Re: Fixing the examples FEMxDEM
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Sun, 27 Jan 2019 18:40:45 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<CANFfKpEeG1w4JA+eFSjcwgP19LiH4dy-Xe98uWGft3325ha-uw@mail.gmail.com>
I did read https://yade-dev.gitlab.io/trunk/FEMxDEM.html :) Wondering
what I could add there if I manage to make it work.
But no, it still doesn't work.
But I am getting closer. I see that the error is related to missing
file ./py/FEMxDEM/msFEM2D.py, I tried export PYTHONPATH=../../py/FEMxDEM
with this I have a more familiar error:
ImportError: No module named yadeimport
which means that I'm on the right track.
Bruno Chareyre said: (by the date of Sun, 27 Jan 2019 18:31:28 +0100)
> So it now works? If so congrats.
> I realize you may not be aware of doc pages about using fem*dem. There was
> maybe a solution there.
> Bruno
>
> Le dim. 27 janv. 2019 17:39, Janek Kozicki <janek_listy@xxxxx> a écrit :
>
> > I discovered that running this:
> >
> > run-escript yade ./biaxialSmooth.py
> >
> > produces a different error message:
> >
> > Traceback (most recent call last):
> > File "../yade", line 241, in runScript
> > execfile(script,globals())
> > File "./biaxialSmooth.py", line 9, in <module>
> > from msFEM2D import MultiScale
> > ImportError: No module named msFEM2D
> >
> > So finally importing esys.escript worked.
> >
> >
> > Janek Kozicki said: (by the date of Sun, 27 Jan 2019 15:54:17 +0100)
> >
> > > I have found out that if I run from shell /usr/bin/run-escript (which
> > > is a part of python-escript package) then a python shell is started
> > > inside which the command
> > >
> > > from esys.escript import *
> > >
> > > works. That is some progress. Now I don't know how to make it work
> > > inside yade python shell.
> > >
> > >
> > > Janek Kozicki said: (by the date of Sun, 27 Jan 2019 01:28:47 +0100)
> > >
> [...]
> > +0100)
> [...]
> [...]
> [...]
> > >
> > >
> > > --
> > > Janek Kozicki http://janek.kozicki.pl/ |
> > >
> > > _______________________________________________
> > > Mailing list: https://launchpad.net/~yade-dev
> > > Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> > > Unsubscribe : https://launchpad.net/~yade-dev
> > > More help : https://help.launchpad.net/ListHelp
> >
> >
> > --
> > Janek Kozicki http://janek.kozicki.pl/ |
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-dev
> > Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~yade-dev
> > More help : https://help.launchpad.net/ListHelp
> >
> >
--
Janek Kozicki http://janek.kozicki.pl/ |
Follow ups
References