VishnuVP
Automotive
- May 22, 2017
- 5
def get_field(odb, step, frame, field, element):
index = 0
dict_data = {}
if field == 'E':
function = get_strain
elif field == 'S':
function = get_stress
for f in odb.steps[step].frames[frame].fieldOutputs[field].getSubset(region=element).values:
data = function(f.data)
dict_data[index] = data
index += 1
return dict_data
How can i include the section points
index = 0
dict_data = {}
if field == 'E':
function = get_strain
elif field == 'S':
function = get_stress
for f in odb.steps[step].frames[frame].fieldOutputs[field].getSubset(region=element).values:
data = function(f.data)
dict_data[index] = data
index += 1
return dict_data
How can i include the section points