-
1
- #1
PeterP1
Materials
- Mar 27, 2009
- 9
Hi!
Currently I'm building a parameterized and automated model in Abaqus. Therefor I modify the journal-file of a CAE model using Python Commands. My aim is to be able to change the dimensions of a component stepwise in a loop and to create a corresponding input file in each loop.
It works perfectly well but now I've come across a problem. For a Constraint (Equation) I need to define all nodes along an edge in a node set. Because the geometry of my component changes all the time also the mesh and the node labels change. Because of this I need a Python Command that finds the nodes on a specific edge. The label the edge itself I can find with the command
edges.findAt(x,y,z)
but how can I find the nodes?
In Abaqus 6.8. there is a Python Command for faces
faces.getNodes
I'd need an equal command to find all nodes on an edge.
Does anyone know such a command or another way how to solve this issue?
Kind regards!
Peter
Currently I'm building a parameterized and automated model in Abaqus. Therefor I modify the journal-file of a CAE model using Python Commands. My aim is to be able to change the dimensions of a component stepwise in a loop and to create a corresponding input file in each loop.
It works perfectly well but now I've come across a problem. For a Constraint (Equation) I need to define all nodes along an edge in a node set. Because the geometry of my component changes all the time also the mesh and the node labels change. Because of this I need a Python Command that finds the nodes on a specific edge. The label the edge itself I can find with the command
edges.findAt(x,y,z)
but how can I find the nodes?
In Abaqus 6.8. there is a Python Command for faces
faces.getNodes
I'd need an equal command to find all nodes on an edge.
Does anyone know such a command or another way how to solve this issue?
Kind regards!
Peter