cbPVme
Mechanical
- Sep 21, 2015
- 73
Is there a way of creating a field output that is only applied to a specific part instance in the assembly?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DOME = odb.rootAssembly.instances['DOME-1']
SHELL = odb.rootAssembly.instances['SHELL-1']
S = odb.steps[LocalLimitStepName].frames[-1].fieldOutputs['S'].getSubset(region=RING, position=CENTROID)
LocalLimitField1 = S.getScalarField(invariant=MIN_PRINCIPAL)+S.getScalarField(invariant=MID_PRINCIPAL)+S.getScalarField(invariant=MAX_PRINCIPAL)
S1 = odb.steps[LocalLimitStepName].frames[-1].fieldOutputs['S'].getSubset(region=DOME, position=CENTROID)
LocalLimitField2 = S1.getScalarField(invariant=MIN_PRINCIPAL)+S1.getScalarField(invariant=MID_PRINCIPAL)+S1.getScalarField(invariant=MAX_PRINCIPAL)
LocalLimitField1.addData(LocalLimitField2)
61.7.7 addData(...)
This method adds the data from a field created using the getSubset method and mathematical operators to the database. The user must create a field to contain the new data and then use the addData method to assign the data from the fields.
Prototype
void
addData(const odb_FieldOutput& field);
Required argument
field
A FieldOutput object specifying the data to add.
Optional arguments
None.
Return value
None