Thanks, Robert.
It works now with the full path in "pb, state = solve_pde('examples/linear_elasticity/its2D_2.py') "
Let me dive into sfepy to see if I can apply it to evaluate:
- the displacement caused by mining excavation underground where the displacement field from gravity exist already;
- plasticity in surrounding rocks
- coupled liquid-solid fields in porous material to evaluate water flux into excavation from surrounding rocks and stresses etc.
....
OUyang
On Tuesday, June 17, 2014 6:10:14 PM UTC+8, Robert Cimrman wrote:
Hi,
Hi all, I am new in sfepy. I have installed sfepy in my window 8 with
2.7.6.0 successfully and tested all examples. Everything is fine with
On 06/17/2014 06:01 AM, Ouyang wrote: python(x,y) that.
But, as the subject indicated, I got errors when running solve_pde(’its2D_2.py’) of in interactive mode of ipython(sh).
I follow the instructions at http://sfepy.org/doc-devel/installation.html#using-ipython to customize ipython. When I followed the instruction from 4.5.1 Running Sfepy in interactive mode to run "pb, state = solve_pde(’its2D_2.py’)" , I got the error: "ImportError: no module named its2D_2" as shown in the figure below.
You need to use the full path:
pb, state = solve_pde('examples/linear_elasticity/its2D_2.py')
Does that work?
r.
Any ideas? Thanks very much in advance.
My system is window 8 and python(x,y) installed is 2.7.6.0 with
packages
of pyparsing-2.0.2.win32-py2.7,umfpackpy_0.2 and msysGit-netinstall-1.9.2.
I install sfepy at C:/sfepy/ using git bash:
git clone git://github.com/sfepy/sfepy.git
Ouyang