Reading contour integrals from Abaqus output database
I am trying to read J integrals and K Factors from an Abaqus history output database, but I'm however getting a KeyError for 'setname=_PickedSet24' which is the nodeset generated from abaqus cae for the cracktip node. The problem is symetric CCT model using abaqus V6.8.2. In addition, as the script aborts at this point, I'm not quite sure how it will respond to variables 'J' or 'K' for J-integral and stress intensity factors respectively.
I am quite new to script writing and hope someone could share their expertise. Find my attempt below.
Hope the information provided surfices? Many thanks.
Archie
####
from odbAccess import *
from sys import *
import os
odbname = 'abaqus_job.odb'
partnum = 'PART-1-1'
stepnum = 'Step-1'
setname = '_PickedSet24'
nodenum = 2
odb = openOdb(path=odbname)
cracktip = odb.rootAssembly.instances[partnum].nodeSets[setname]
Step = odb.steps[stepnum]
histPoint = historyPoint(node=cracktip.nodes[0])
region = Step.historyRegions(point=histPoint)
HistData = region.historyOutputs['J'].data
# Writes results to xcode.tmp
####

Recent comments
1 hour 7 min ago
7 hours 30 min ago
8 hours 10 min ago
9 hours 39 min ago
11 hours 13 min ago
11 hours 25 min ago
11 hours 43 min ago
14 hours 23 min ago
16 hours 52 min ago
20 hours 28 min ago