'LsmMpi' object has no attribute 'getWallPosition'

Asked by Diego Peinado Martín

Hello. I'm trying to simulate the movement of particles when a vibrating wall is placed as the floor of a 2D box. I do not understand quite well how to place the wall, and how to move it, so I'm trying to use the getWallPosition, but I get the error 'LsmMpi' object has no attribute 'getWallPosition'. I use the following sentence.
print self.lsm.getWallPosition("bottomWall")

Am I doing something wrong? Is this method implemented in the LsmMpi class?

Thanks in advance and best regards.

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Dion Weatherley
Solved:
Last query:
Last reply:
Revision history for this message
Best Dion Weatherley (d-weatherley) said :
#1

Hi Diego,

Chapter 5 of the ESyS-Particle Tutorial covers how to create walls (section 5.1.3) and move them around (section 5.1.6). The LsmMpi.getWallPosition("wallName") is not implemented for the v.2.0.0beta version of ESyS-Particle but is implemented in the 2.0-rc1 version and the soon to be released v2.0 stable. If you would like to try the latest development version of ESyS-Particle v2.0, it can be obtained from our svn repository:

svn checkout https://svn.esscc.uq.edu.au/svn/esys3/lsm/trunk esys-particle-2.0

Unfortunately the Tutorial was written for 2.0.0beta and we are still working on revising both the tutorial and improving backwards compatibility of v2.0 so some of the tutorial examples may not work with v2.0 or v2.0-rc1 (which is available from the Downloads tab on the Overview page).

Information about which functions are available can be obtained from our online python API documentation. Both the v2.0.0beta and v2.0 documentation is available at present.

Version 2.0.0beta: http://esys.esscc.uq.edu.au/esys-particle_python_doc/esys-particle-1.x.x/pythonapi/html/index.html

Version 2.0 stable: http://esys.esscc.uq.edu.au/esys-particle_python_doc/current/pythonapi/html/index.html

Cheers,

Dion.

Revision history for this message
Diego Peinado Martín (diego-peinado) said :
#2

Thanks Dion Weatherley, that solved my question.