top of page
Search

Two ways to access Abaqus nodeSets results using script

  • Writer: Philip Dai
    Philip Dai
  • Feb 14, 2023
  • 1 min read

To make the Odb commands available to your script, the first thing you need to do is to import the odbAccess module:


from odbAccess import *


To access the model data, we need to be familiar with the structure of the model data object, as shown below:


ree


As you can see, the "nodeSets" can be accessed either through part instances or through rootAssembly directly. Hence it will help make your script valid for general use if both scenarios are taken into account by your script.


It is relatively common to see scripts that access model data through part instances, with the following command statement:


odb.rootAssembly.instances[partName].nodeSets[nsetName].nodes


It is worth noting though, to do the same via rootAssembly directly, the following line is needed instead:


odb.rootAssembly.nodeSets[nsetName].nodes[0]


It has come to my attention that this may be a frequently asked question.






 
 
 

Recent Posts

See All
Rigid beam elements and connector element

The Abaqus element type RB3D2 is a two-node, three-dimensional rigid beam element used to model components that do not deform .  It is frequently used in Abaqus/Standard, particularly in the modeling

 
 
 

Comments


©2020 by TF Analysis. Proudly created with Wix.com

bottom of page