cclcjp228
Aerospace
- May 30, 2016
- 5
Hi all,
I am trying to extract nodal stress (shear stress) from odb file using a python script.
I first defined a field request in CAE with a domain of a set of nodes, which in INP file is shown as "*Output, field *Node Output, nset=Set-1, variable=PRESELECT". and i select stress to be the requested varible.
the part of my script is:
Nodeset = odb.rootAssembly.nodeSets['SET-1']
ReactionForce = frame.fieldOutputs['S'] # this certain frame has been previously defined.
ReactionForceInterest = ReactionForce.getSubset(region=Nodeset).values
however, i get zero values from above script.
Can someone suggest? thanks in advance.
Hoping to hear from some one soon.
Cheers
I am trying to extract nodal stress (shear stress) from odb file using a python script.
I first defined a field request in CAE with a domain of a set of nodes, which in INP file is shown as "*Output, field *Node Output, nset=Set-1, variable=PRESELECT". and i select stress to be the requested varible.
the part of my script is:
Nodeset = odb.rootAssembly.nodeSets['SET-1']
ReactionForce = frame.fieldOutputs['S'] # this certain frame has been previously defined.
ReactionForceInterest = ReactionForce.getSubset(region=Nodeset).values
however, i get zero values from above script.
Can someone suggest? thanks in advance.
Hoping to hear from some one soon.
Cheers