I am pleased to announce release 2009.4 of SfePy.
Description
SfePy (simple finite elements in Python) is a software, distributed under the BSD license, for solving systems of coupled partial differential equations by the finite element method. The code is based on NumPy and SciPy packages.
Mailing lists, issue tracking, git repository: http://sfepy.org Home page: http://sfepy.kme.zcu.cz
New documentation site: http://docs.sfepy.org/doc
Many thanks to Logan Sorenson for the new documentation contents, and Vladimir Lukes for setting up the server.
Highlights of this release
- unified handling of user-defined functions (for defining subdomains, heterogeneous material properties, boundary conditions etc.)
- greatly improved postprocessing and visualization capabilities, namely:
- support for file sequences (evolutionary simulations)
- animations (using ffmpeg)
- automatic scalar bars
- sfepy_gui.py: Mayavi2-based GUI to launch simulations
Major improvements
Apart from many bug-fixes, let us mention:
- quasistatic time stepping
- graphical logging:
- dynamic adding of data groups (new axes) to Log and ProcessPlotter
- linear algebra:
- reversed Cuthill-McKee permutation algorithm, graph in-place permutation
- setting of parameter variables by a user-defined function
- new tests and terms
For more information on this release, see http://sfepy.googlecode.com/svn/web/releases/2009.4_RELEASE_NOTES.txt (full release notes, rather long).
Best regards, Robert Cimrman
On Tue, 2009-11-24 at 13:10 +0100, Robert Cimrman wrote:
I am pleased to announce release 2009.4 of SfePy.
Hi Robert, Thanks for the new version. I put it on my 32 bit ubuntu jaunty. All tests ran fine without any errors. Then I tried isfepy. I am getting an error: In [1]: pb, vec, data = pde_solve('input/poisson.py') sfepy: left over: ['__builtins__', '__file__', '__name__', '_filename', '__doc__', '__package__'] sfepy: reading mesh (database/simple.mesh)... sfepy: ...done in 0.04 s sfepy: setting up domain edges... sfepy: ...done in 0.01 s sfepy: setting up domain faces... sfepy: ...done in 0.01 s sfepy: creating regions... sfepy: Gamma_Right sfepy: Omega sfepy: Gamma_Left sfepy: ...done in 0.04 s sfepy: equation "Temperature": sfepy: dw_laplace.i1.Omega( coef.val, s, t ) = 0 sfepy: setting up dof connectivities... sfepy: ...done in 0.00 s sfepy: describing geometries... sfepy: ...done in 0.00 s sfepy: using solvers: nls: newton ls: ls sfepy: matrix shape: (300, 300) sfepy: assembling matrix graph... sfepy: ...done in 0.00 s sfepy: matrix structural nonzeros: 3538 (3.93e-02% fill) sfepy: updating materials... sfepy: coef sfepy: ...done in 0.01 s sfepy: updating variables... sfepy: ...done /usr/lib/python2.6/dist-packages/scipy/linsolve/__init__.py:4: DeprecationWarning: scipy.linsolve has moved to scipy.sparse.linalg.dsolve warn('scipy.linsolve has moved to scipy.sparse.linalg.dsolve', DeprecationWarning) sfepy: nls: iter: 0, residual: 1.176265e-01 (rel: 1.000000e+00) /usr/lib/python2.6/dist-packages/scipy/sparse/linalg/dsolve/linsolve.py:78: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead ' install scikits.umfpack instead', DeprecationWarning ) sfepy: rezidual: 0.00 [s] sfepy: solve: 0.01 [s] sfepy: matrix: 0.00 [s] sfepy: nls: iter: 1, residual: 9.957055e-17 (rel: 8.464973e-16)
In [2]: view = Viewer(pb.get_output_name())
In [3]: view()
AttributeError Traceback (most recent call last)
/home/osman/sfepy-release-2009.4/sfepy/interactive/__init__.py in <module>() ----> 1 2 3 4 5
/home/osman/sfepy-release-2009.4/sfepy/postprocess/viewer.py in call_mlab(self, scene, show, is_3d, view, roll, layout, scalar_mode, vector_mode, rel_scaling, clamping, ranges, is_scalar_bar, rel_text_width, fig_filename, resolution, filter_names, only_names, step, anti_aliasing) 555 else: 556 gui = ViewerGUI(viewer=self) --> 557 scene = gui.scene.mayavi_scene 558 559 if scene is not self.scene:
AttributeError: 'MlabSceneModel' object has no attribute 'mayavi_scene'
2009.3 release has no problem with isfepy.
Best, Osman
Hi Osman,
thanks for trying out the new version! As isfepy works for me, I assume it must be a version issue with mayavi (tested with 3.3.0). What is your mayavi version?
If you cannot try 3.3.0, or use it already, could you send me the output of 'gui.scene.print_traits()'? Just put it prior to the offending line...
cheers, r.
osman wrote:
On Tue, 2009-11-24 at 13:10 +0100, Robert Cimrman wrote:
I am pleased to announce release 2009.4 of SfePy.
Hi Robert, Thanks for the new version. I put it on my 32 bit ubuntu jaunty. All tests ran fine without any errors. Then I tried isfepy. I am getting an error: In [1]: pb, vec, data = pde_solve('input/poisson.py') sfepy: left over: ['__builtins__', '__file__', '__name__', '_filename', '__doc__', '__package__'] sfepy: reading mesh (database/simple.mesh)... sfepy: ...done in 0.04 s sfepy: setting up domain edges... sfepy: ...done in 0.01 s sfepy: setting up domain faces... sfepy: ...done in 0.01 s sfepy: creating regions... sfepy: Gamma_Right sfepy: Omega sfepy: Gamma_Left sfepy: ...done in 0.04 s sfepy: equation "Temperature": sfepy: dw_laplace.i1.Omega( coef.val, s, t ) = 0 sfepy: setting up dof connectivities... sfepy: ...done in 0.00 s sfepy: describing geometries... sfepy: ...done in 0.00 s sfepy: using solvers: nls: newton ls: ls sfepy: matrix shape: (300, 300) sfepy: assembling matrix graph... sfepy: ...done in 0.00 s sfepy: matrix structural nonzeros: 3538 (3.93e-02% fill) sfepy: updating materials... sfepy: coef sfepy: ...done in 0.01 s sfepy: updating variables... sfepy: ...done /usr/lib/python2.6/dist-packages/scipy/linsolve/__init__.py:4: DeprecationWarning: scipy.linsolve has moved to scipy.sparse.linalg.dsolve warn('scipy.linsolve has moved to scipy.sparse.linalg.dsolve', DeprecationWarning) sfepy: nls: iter: 0, residual: 1.176265e-01 (rel: 1.000000e+00) /usr/lib/python2.6/dist-packages/scipy/sparse/linalg/dsolve/linsolve.py:78: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead ' install scikits.umfpack instead', DeprecationWarning ) sfepy: rezidual: 0.00 [s] sfepy: solve: 0.01 [s] sfepy: matrix: 0.00 [s] sfepy: nls: iter: 1, residual: 9.957055e-17 (rel: 8.464973e-16)
In [2]: view = Viewer(pb.get_output_name())
In [3]: view()
AttributeError Traceback (most recent call last)
/home/osman/sfepy-release-2009.4/sfepy/interactive/__init__.py in <module>() ----> 1 2 3 4 5
/home/osman/sfepy-release-2009.4/sfepy/postprocess/viewer.py in call_mlab(self, scene, show, is_3d, view, roll, layout, scalar_mode, vector_mode, rel_scaling, clamping, ranges, is_scalar_bar, rel_text_width, fig_filename, resolution, filter_names, only_names, step, anti_aliasing) 555 else: 556 gui = ViewerGUI(viewer=self) --> 557 scene = gui.scene.mayavi_scene 558 559 if scene is not self.scene:
AttributeError: 'MlabSceneModel' object has no attribute 'mayavi_scene'
2009.3 release has no problem with isfepy.
Best, Osman
On Wed, 2009-11-25 at 11:54 +0100, Robert Cimrman wrote:
Hi Osman,
thanks for trying out the new version! As isfepy works for me, I assume it must be a version issue with mayavi (tested with 3.3.0). What is your mayavi version?
If you cannot try 3.3.0, or use it already, could you send me the output of 'gui.scene.print_traits()'? Just put it prior to the offending line...
cheers, r.
It is 3.1.0 (mayavi2). I'll try to update , but don't want to break my ubuntu :-)
Here is the output:
_busy_count: 0
_camera: None
_camera_observer_id: 0
_interactor: None
_last_camera_state: None
_renderer: None
_renwin: None
_script_id: ''
actor_list: []
actor_map: {}
anti_aliasing_frames: 8
background: (1.0, 1.0, 1.0)
busy: False
camera: <undefined>
control: None
disable_render: False
enabled_info: {}
engine:
foreground: (0.0, 0.0, 0.0)
interactor: None
jpeg_progressive: True
jpeg_quality: 95
light_manager: None
line_smoothing: False
magnification: 1
mlab:
off_screen_rendering: False
parallel_projection: False
picker: None
point_smoothing: False
polygon_smoothing: False
recorder: None
render_window: None
renderer: None
scene:
scene_editor: None
stereo: False
I'll get back to it when I'm home.
Cheers, Osman
osman wrote:
On Wed, 2009-11-25 at 11:54 +0100, Robert Cimrman wrote:
Hi Osman,
thanks for trying out the new version! As isfepy works for me, I assume it must be a version issue with mayavi (tested with 3.3.0). What is your mayavi version?
If you cannot try 3.3.0, or use it already, could you send me the output of 'gui.scene.print_traits()'? Just put it prior to the offending line...
cheers, r.
It is 3.1.0 (mayavi2). I'll try to update , but don't want to break my ubuntu :-)
Here is the output: _busy_count: 0 _camera: None _camera_observer_id: 0 _interactor: None _last_camera_state: None _renderer: None _renwin: None _script_id: '' actor_list: [] actor_map: {} anti_aliasing_frames: 8 background: (1.0, 1.0, 1.0) busy: False camera: <undefined> control: None disable_render: False enabled_info: {} engine:
foreground: (0.0, 0.0, 0.0) interactor: None jpeg_progressive: True jpeg_quality: 95 light_manager: None line_smoothing: False magnification: 1 mlab: off_screen_rendering: False parallel_projection: False picker: None point_smoothing: False polygon_smoothing: False recorder: None render_window: None renderer: None scene: scene_editor: None stereo: False I'll get back to it when I'm home.
I see. Well, in fact I do not see right now how to get to the required scene instance.
But I have asked Gael if there is a workaround, in case you cannot upgrade.
Cheers, r.
participants (2)
-
osman
-
Robert Cimrman