bEakerPPK
Aerospace
- Dec 14, 2007
- 11
Hi friends!
I've got a quick question regarding the extraction of xy data from a path using a Python script. I've successfully done it for both invariant and component field output variables but my script breaks down for status type variables like damage initiation (HSNFCCRT for instance). I'm pulling the data from SC8R continuum shell elements but end up with some bizarre errors. Here's what I've got and I've tried a few things here:
nodalPath = session.paths['Glass_0_deg_1']
session.XYDataFromPath(name='Glass_0_deg_1_HSNFCCRT', path=nodalPath, includeIntersections=False, shape=DEFORMED, labelType=TRUE_DISTANCE_X, variable=(('HSNFCCRT', INTEGRATION_POINT),))
OK, that one won't work because I haven't specified the level of refinement, category selection label or the section point label. Fine. Here we go again:
nodalPath = session.paths['Glass_90_deg_1']
session.XYDataFromPath(name='Glass_90_deg_1_HSNFCCRT', path=nodalPath, includeIntersections=False, shape=DEFORMED, labelType=TRUE_DISTANCE_X, variable=(('HSNFCCRT', INTEGRATION_POINT, ((NONE, 'HSNFCCRT'),),{'shell < S2-GLASS > < 5 section points >':'SNEG, (fraction = -1.0)', }), ))
This gives me an error stating that it is expecting INVARIANT, COMPONENT OR NO_REFINEMENT for the refinement type. If I change it again to reflect the message:
session.XYDataFromPath(name='Glass_90_deg_1_HSNFCCRT', path=nodalPath, includeIntersections=False, shape=DEFORMED, labelType=TRUE_DISTANCE_X, variable=(('HSNFCCRT', INTEGRATION_POINT, ((NO_REFINEMENT, 'HSNFCCRT'),),{'shell < S2-GLASS > < 5 section points >':'SNEG, (fraction = -1.0)', }), ))
It fails again citing "OdpError: Unsupported refinement type: NO_REFINEMENT" This error is somewhat counterintuitive since that particular output variable is clearly not an invariant nor a component and thus no refinement is all that should be valid...yet it is not? What's going on here? I've screwed something up here but can't figure it out! Any insight would be very much appreciated, thanks in advance ABAQUS wizards!!!
I've got a quick question regarding the extraction of xy data from a path using a Python script. I've successfully done it for both invariant and component field output variables but my script breaks down for status type variables like damage initiation (HSNFCCRT for instance). I'm pulling the data from SC8R continuum shell elements but end up with some bizarre errors. Here's what I've got and I've tried a few things here:
nodalPath = session.paths['Glass_0_deg_1']
session.XYDataFromPath(name='Glass_0_deg_1_HSNFCCRT', path=nodalPath, includeIntersections=False, shape=DEFORMED, labelType=TRUE_DISTANCE_X, variable=(('HSNFCCRT', INTEGRATION_POINT),))
OK, that one won't work because I haven't specified the level of refinement, category selection label or the section point label. Fine. Here we go again:
nodalPath = session.paths['Glass_90_deg_1']
session.XYDataFromPath(name='Glass_90_deg_1_HSNFCCRT', path=nodalPath, includeIntersections=False, shape=DEFORMED, labelType=TRUE_DISTANCE_X, variable=(('HSNFCCRT', INTEGRATION_POINT, ((NONE, 'HSNFCCRT'),),{'shell < S2-GLASS > < 5 section points >':'SNEG, (fraction = -1.0)', }), ))
This gives me an error stating that it is expecting INVARIANT, COMPONENT OR NO_REFINEMENT for the refinement type. If I change it again to reflect the message:
session.XYDataFromPath(name='Glass_90_deg_1_HSNFCCRT', path=nodalPath, includeIntersections=False, shape=DEFORMED, labelType=TRUE_DISTANCE_X, variable=(('HSNFCCRT', INTEGRATION_POINT, ((NO_REFINEMENT, 'HSNFCCRT'),),{'shell < S2-GLASS > < 5 section points >':'SNEG, (fraction = -1.0)', }), ))
It fails again citing "OdpError: Unsupported refinement type: NO_REFINEMENT" This error is somewhat counterintuitive since that particular output variable is clearly not an invariant nor a component and thus no refinement is all that should be valid...yet it is not? What's going on here? I've screwed something up here but can't figure it out! Any insight would be very much appreciated, thanks in advance ABAQUS wizards!!!