Skip to content
Advertisement

AbaqusPython script – edges.findAt with predefined global coordinates

I am a quite new to Abaqus-Python scripting. My goal is to script loft operation between circular sections. Circular sections are predefined based on the engineering problem.

According to .jnl file from manual using of Abaqus interface (for selecting two circular sections), the syntax is as follow;

JavaScript

I understand that it can be formed as;

JavaScript

where mytupple1 is;

JavaScript

where mytuple2 is;

JavaScript

I am not sure how to implement global coordinate values (mytuple2) by using loop operations.

So far I have tried to create mytupple1 data as below;

JavaScript

This loop operation results in as follow;

JavaScript

It creates only one tupple data for the last coordinates. I want to pass the coordinates compatible to syntax but I can not manage it. I would be really appreciate if you help me to solve this automated lofting process in Abaqus.

Advertisement

Answer

Actually, the argument for the findAt(...) command is a sequence of sequence. This means that you provide tuple of tuple as a argument. Here, each tuple represents a single set of coordinates to select an edge (or any related entity – here edge).
So, following way you implement your problem:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement