Visualisation TriMeshes

Asked by njana

Hi:

In the new version of ESYS,

             is there any way to move the Mesh?.
      and is there any way to view the moving Mesh?.

(The internal links of this question "Visualisation of Walls and TriMeshes" are inactive.
https://answers.launchpad.net/esys-particle/+question/53118.)

thanks a lot.

Natalia

Question information

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

Hi Natalia,

Thanks for your question. Firstly, I've added updated links to the new documentation in the related question #53118:
https://answers.launchpad.net/esys-particle/+question/53118

In ESyS-Particle-2.0, triangle meshes can be moved or deformed using the LsmMpi.moveSingleMeshNodeBy(..) subroutine. As the name suggests, this subroutine will allow you to move individual mesh nodes. The best way to implement movement or deformation of triangle meshes would be via a Runnable. I suggest you refer to the ESyS-Particle Tutorial for more information about Runnables.

The Python API documentation for the moveSingleMeshNodeBy(..) subroutine is available here:
http://esys.esscc.uq.edu.au/esys-particle_python_doc/current/pythonapi/html/esys.lsm.LsmPy.LsmMpi-class.html#moveSingleMeshNodeBy

I must admit that I have not yet used this feature in simulations so am not the best person to help with this issue. Having said that, I plan to write a tutorial next month on deforming meshes so keep an eye open for an announcement of an updated version of the ESyS-Particle Tutorial.

Unfortunately we are still working on a reliable method for visualising triangle meshes. We plan to add support for this in the v2.1 release of ESyS-Particle but as yet we have not set a release date for that. The advice offered in question #53118 is still the best way to determine the location of a triangle mesh at a given timestep.

I hope this helps and have fun with ESyS-Particle!

Cheers,

Dion.

Revision history for this message
Carlos Ríos (crosvera-gmail) said :
#2

Hello people,

How I suppossed tu get the nodes/nodesId when I load a mesh file? because to use the moveSingleMeshNodeBy(..) method I have to parse the nodeId.

cheers and thanks.

Carlos

Revision history for this message
Will (will-hancock) said :
#3

Hi Carlos,

The nodeID is a unique integer variable used as an identifier for the node point in space. If you are using mesh files and the readMesh() function, the format for the node list is as follows:

"ID Dummy Tag X Y Z"

The ID field corresponds to the ID that you can use with the moveSingleMeshNodeBy() function.

Hope this helps you. Regards,
Will

Revision history for this message
Carlos Ríos (crosvera-gmail) said :
#4

Thank you very much Will.. =)

Can you help with this problem?

Provide an answer of your own, or ask njana for more information if necessary.

To post a message you must log in.