Matterhorn
Mechanical
- Apr 19, 2015
- 14
Hi all,
I defined a new set on my aerofoil called setPiezo. Now when I run the script I get the error: "Unknown key setPiezo".
What am I doing wrong?
Thanks!
Best Matterhorn
code:
aeroAssembly.Set(
name='setPiezo',
nodes=
aeroInstance.nodes.getByBoundingBox(
-150, 0-dtol, 30.01,
-303.06, depthProfile+dtol, 22.56
))
# assign piezo section
partAerofoil.SectionAssignment(offset=0.0,
offsetField='', offsetType=MIDDLE_SURFACE,
region=partAerofoil.sets['setPiezo'],
sectionName='aerofoilPiezoSection', thicknessAssignment=FROM_SECTION)
I defined a new set on my aerofoil called setPiezo. Now when I run the script I get the error: "Unknown key setPiezo".
What am I doing wrong?
Thanks!
Best Matterhorn
code:
aeroAssembly.Set(
name='setPiezo',
nodes=
aeroInstance.nodes.getByBoundingBox(
-150, 0-dtol, 30.01,
-303.06, depthProfile+dtol, 22.56
))
# assign piezo section
partAerofoil.SectionAssignment(offset=0.0,
offsetField='', offsetType=MIDDLE_SURFACE,
region=partAerofoil.sets['setPiezo'],
sectionName='aerofoilPiezoSection', thicknessAssignment=FROM_SECTION)