GustavLund
Mechanical
- Jan 26, 2011
- 10
Hi.
In my model have have to apply boundary conditions in the input file directly on node numbers. I.e NOT on node sets.
I can only get this to work if I use "mdb.models['model name'].setValues(noPartsInputFile=ON)".
The problem is that I have to access the odb fíle with a script. I used to use a script looking like the one here below:
lastFrame1 = odb1.steps['Step-1'].frames[-1]
displacement1 = lastFrame1.fieldOutputs['U']
allNodes1 = odb1.rootAssembly.instances['PLATE-1'].nodeSets['NALL']
Disp1 = displacement1.getSubset(region=allNodes1)
But, with the noParts turn on, how will this scrips look then, if I need to access the displacements in the odb file?
Anyone knows how to solve this?
In my model have have to apply boundary conditions in the input file directly on node numbers. I.e NOT on node sets.
I can only get this to work if I use "mdb.models['model name'].setValues(noPartsInputFile=ON)".
The problem is that I have to access the odb fíle with a script. I used to use a script looking like the one here below:
lastFrame1 = odb1.steps['Step-1'].frames[-1]
displacement1 = lastFrame1.fieldOutputs['U']
allNodes1 = odb1.rootAssembly.instances['PLATE-1'].nodeSets['NALL']
Disp1 = displacement1.getSubset(region=allNodes1)
But, with the noParts turn on, how will this scrips look then, if I need to access the displacements in the odb file?
Anyone knows how to solve this?