Personal tools
You are here: Home Forum Extension of the platform Connect Move Node with Vertex Data

Connect Move Node with Vertex Data

Up to Extension of the platform

Connect Move Node with Vertex Data

Posted by Claes Fredö at September 13. 2011

Dear All

I have been working on a parametric Geometry->FE model. This request is based on a show stopper I came across in this work.

In my first approach, I meshed everything and was planning simply to connect some spring elements with other mesh parts by moving the node to  a specific position that is controlled by the geometry. By hand this is easily accomplished with a few clicks. In automated mode, I simply did not manage to do it.

This Move Node command is controlled by specific input of XYZ position coordinates and does not associate with geometry. For me this was a show stopper. I had to reengineer the whole geometry approach to control the mesh to be at specific places which in turn exploded the groups I had to control. 

I am not very used to working with TUI but manage to adopt the code that Salome dumps. I did make some tries to grab the actual coordinates and input these into the TUI function but had to give up in the end. Perhaps there is a way to do it for those more into TUI?

Snapping together 0D/1D with 2D/3D meshes at specific locations is quite convenient with this command.

Suggestions for enhancements:

A) It would enhance application and use if the XYZ positions could be alternated with data from a Vertex entity.

B) Mesh modification could be given the option locally to improve mesh quality N elements out from the nodes that are snapped together.

C) This command could operate on groups. It would then resemble the Equivalence Nodes command with the important distinction that one set of nodes would be Masters, i.e. remain with fixed positions. 

Sincerely

Claes

Re: Connect Move Node with Vertex Data

Posted by Claes Fredö at September 13. 2011

Sorry, typo - Equivalence Nodes command should be Merge Nodes (I'm damaged by past Patran exposure).

/Claes

Re: Connect Move Node with Vertex Data

Posted by Claes Fredö at September 13. 2011

Again, my mistake. It should really say Mesh to Pass Through a Point, though some of the comments apply also for Move Node.

Re: Connect Move Node with Vertex Data

Posted by Claes Fredö at September 13. 2011

Again, my mistake. It should really say Mesh to Pass Through a Point, though some of the comments apply also for Move Node.

Re: Connect Move Node with Vertex Data

Posted by Saint Michael at September 14. 2011

Hi Claes

I'm not sure to understand right your problem. Maybe the following will be a kind of answer.

was planning simply to connect some spring elements with other mesh parts by moving the node to  a specific position that is controlled by the geometry


xyz = geompy.PointCoordinates( vertex )
mesh.MoveNode( node, xyz[0], xyz[1], xyz[2] )

Regards,
St. Michael

Powered by Ploneboard
Document Actions