Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Abaqus scripting: user defined node sets 2

Status
Not open for further replies.

ThijsMas

Mechanical
Dec 2, 2020
6
0
0
NL
Hi all,

I have a model that I want to automatically run multiple times, with slightly different settings. By removing a node from my Tie constraint I can increase the length of a crack in my model. This will give me info on all crack lengths a want!

I want to do this automatically using Abaqus scripting. I want to modify the Set that represent my bonded nodes. As of now this Set is defined like this:

mdb.models['SSD_PEEK'].rootAssembly.Set(name='Bonded_Nodes', nodes=
mdb.models['SSD_PEEK'].rootAssembly.instances['Cutply2-1'].nodes.getSequenceFromMask(
mask=('[#109 #0:8 #ffc00000 #ffffffff:9 #0:18 #fff00000 #ffffffff:5',' #7f ]', ), ))

Is there a convenient method for defining a set of nodes? So some other way then using getSequenceFromMask(). Or can someone explain how the getSequenceFromMask() function works?

Hope you guys can help!!

Thijs
 
Replies continue below

Recommended for you

Run those both command in the Python interpreter in A/CAE.
Afterwards define the set again and then check what is written into the .rpy.

Code:
session.journalOptions.replayGeometry
session.journalOptions.setValues(replayGeometry=INDEX)
 
Status
Not open for further replies.
Back
Top