Abaqus Output Database#
The Python ODB API commands are used to read and write data from an output database (.odb) file. The path to the Odb object can be via the session.odbs repository or via a variable. In this chapter the Access and Path statements refer to a variable called odb that represents an existing Odb object.
Object features#
Odb#
- class Odb(name, analysisTitle='', description='', path='')[source]#
The Odb object is the in-memory representation of an output database (ODB) file.
Note
This object can be accessed by:
import odbAccess session.odbs[name]
Note
Check Odb on help.3ds.com/0.1..
Public Data Attributes:
Inherited from
OdbBaseA Boolean specifying whether the output database was opened with read-only access.
A repository of Amplitude objects.
A repository of Filter objects.
An
OdbAssemblyobject.A
JobDataobject.A repository of OdbPart objects.
A repository of Material objects.
A repository of OdbStep objects.
A repository of Section objects.
A repository of SectionCategory objects.
A
SectorDefinitionobject.A
UserDataobject.A
RepositorySupportobject.A repository of Profile objects.
Public Methods:
Part(name, embeddedSpace, type)This method creates an OdbPart object.
Step(name, description, domain[, ...])This method creates an OdbStep object.
SectionCategory(name, description)This method creates a SectionCategory object.
Inherited from
AmplitudeOdbActuatorAmplitude(name[, timeSpan])This method creates a ActuatorAmplitude object.
DecayAmplitude(name, initial, maximum, ...)This method creates a DecayAmplitude object.
EquallySpacedAmplitude(name, fixedInterval, data)This method creates an EquallySpacedAmplitude object.
ModulatedAmplitude(name, initial, magnitude, ...)This method creates a ModulatedAmplitude object.
PeriodicAmplitude(name, frequency, start, ...)This method creates a PeriodicAmplitude object.
PsdDefinition(name, data[, unitType, ...])This method creates a PsdDefinition object.
SmoothStepAmplitude(name, data[, timeSpan])This method creates a SmoothStepAmplitude object.
SolutionDependentAmplitude(name[, initial, ...])This method creates a SolutionDependentAmplitude object.
SpectrumAmplitude(name, method, data[, ...])This method creates a SpectrumAmplitude object.
TabularAmplitude(name, data[, smooth, timeSpan])This method creates a TabularAmplitude object.
Inherited from
FilterOdbButterworthFilter(name, cutoffFrequency[, ...])This method creates a ButterworthFilter object.
Chebyshev1Filter(name, cutoffFrequency[, ...])This method creates a Chebyshev1Filter object.
Chebyshev2Filter(name, cutoffFrequency[, ...])This method creates a Chebyshev2Filter object.
OperatorFilter(name, cutoffFrequency[, ...])This method creates an OperatorFilter object.
Inherited from
MaterialOdbMaterial(name[, description, materialIdentifier])This method creates a Material object.
Inherited from
BeamSectionProfileOdbArbitraryProfile(name, table)This method creates a ArbitraryProfile object.
BoxProfile(name, a, b, uniformThickness, t1)This method creates a BoxProfile object.
CircularProfile(name, r)This method creates a CircularProfile object.
GeneralizedProfile(name, area, i11, i12, ...)This method creates a GeneralizedProfile object.
HexagonalProfile(name, r, t)This method creates a HexagonalProfile object.
IProfile(name, l, h, b1, b2, t1, t2, t3)This method creates an IProfile object.
LProfile(name, a, b, t1, t2)This method creates a LProfile object.
PipeProfile(name, r, t)This method creates a PipeProfile object.
RectangularProfile(name, a, b)This method creates a RectangularProfile object.
TProfile(name, b, h, l, tf, tw)This method creates a TProfile object.
TrapezoidalProfile(name, a, b, c, d)This method creates a TrapezoidalProfile object.
Inherited from
OdbBase__init__(name[, analysisTitle, description, ...])This method creates a new Odb object.
close()This method closes an output database.
getFrame(frameValue[, match])This method returns the frame at the specified time, frequency, or mode.
save()This method saves output to an output database (.odb ) file.
update()This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database.
- ActuatorAmplitude(name, timeSpan=abaqusConstants.STEP)[source]#
This method creates a ActuatorAmplitude object.
Note
This function can be accessed by:
mdb.models[name].ActuatorAmplitude session.odbs[name].ActuatorAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
An
ActuatorAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- ArbitraryProfile(name, table)[source]#
This method creates a ArbitraryProfile object.
Note
This function can be accessed by:
mdb.models[name].ArbitraryProfile session.odbs[name].ArbitraryProfile
Note
- Parameters:
- Returns:
An
ArbitraryProfileobject.- Return type:
- Raises:
RangeError –
- BoxProfile(name, a, b, uniformThickness, t1, t2=0, t3=0, t4=0)[source]#
This method creates a BoxProfile object.
Note
This function can be accessed by:
mdb.models[name].BoxProfile session.odbs[name].BoxProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A Float specifying the a dimension of the box profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A Float specifying the b dimension of the box profile.uniformThickness (
Union[AbaqusBoolean,bool]) – A Boolean specifying whether the thickness is uniform.t1 (
float) – A Float specifying the uniform wall thickness if uniformThickness = ON, and the wall thickness of the first segment if uniformThickness = OFF.t2 (
float, default:0) – A Float specifying the wall thickness of the second segment. t2 is required only when uniformThickness = OFF. The default value is 0.0.t3 (
float, default:0) – A Float specifying the wall thickness of the third segment. t3 is required only when uniformThickness = OFF. The default value is 0.0.t4 (
float, default:0) – A Float specifying the wall thickness of the fourth segment. t4 is required only when uniformThickness = OFF. The default value is 0.0.
- Returns:
A
BoxProfileobject.- Return type:
- Raises:
RangeError –
- ButterworthFilter(name, cutoffFrequency, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]#
This method creates a ButterworthFilter object.
Note
This function can be accessed by:
mdb.models[name].ButterworthFilter session.odbs[name].ButterworthFilter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
A
ButterworthFilterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- Chebyshev1Filter(name, cutoffFrequency, rippleFactor=0, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]#
This method creates a Chebyshev1Filter object.
Note
This function can be accessed by:
mdb.models[name].Chebyshev1Filter session.odbs[name].Chebyshev1Filter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.rippleFactor (
float, default:0) – A Float specifying the amount of allowable ripple in the filter. Possible values are non-negative numbers. The default value is 0.225.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
A
Chebyshev1Filterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- Chebyshev2Filter(name, cutoffFrequency, rippleFactor=0, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]#
This method creates a Chebyshev2Filter object.
Note
This function can be accessed by:
mdb.models[name].Chebyshev2Filter session.odbs[name].Chebyshev2Filter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.rippleFactor (
float, default:0) – A Float specifying the amount of allowable ripple in the filter. Possible values are non-negative numbers less than 1. The default value is 0.025.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
A
Chebyshev2Filterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- CircularProfile(name, r)[source]#
This method creates a CircularProfile object.
Note
This function can be accessed by:
mdb.models[name].CircularProfile session.odbs[name].CircularProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.r (
float) – A positive Float specifying the r dimension (outer radius) of the circular profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).
- Returns:
A
CircularProfileobject.- Return type:
- Raises:
RangeError –
- DecayAmplitude(name, initial, maximum, start, decayTime, timeSpan=abaqusConstants.STEP)[source]#
This method creates a DecayAmplitude object.
Note
This function can be accessed by:
mdb.models[name].DecayAmplitude session.odbs[name].DecayAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.initial (
float) – A Float specifying the constant A0A0.maximum (
float) – A Float specifying the coefficient AA.start (
float) – A Float specifying the starting time t0t0. Possible values are non-negative numbers.decayTime (
float) – A Float specifying the decay time tdtd. Possible values are non-negative numbers.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
DecayAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- EquallySpacedAmplitude(name, fixedInterval, data, begin=0, smooth=abaqusConstants.SOLVER_DEFAULT, timeSpan=abaqusConstants.STEP)[source]#
This method creates an EquallySpacedAmplitude object.
Note
This function can be accessed by:
mdb.models[name].EquallySpacedAmplitude session.odbs[name].EquallySpacedAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.fixedInterval (
float) – A Float specifying the fixed time interval at which the amplitude data are given. Possible values are positive numbers.data (
tuple) – A sequence of Floats specifying the amplitude values.begin (
float, default:0) – A Float specifying the time at which the first amplitude data are given. Possible values are non-negative numbers. The default value is 0.0.smooth (
Union[SymbolicConstant,float], default:SOLVER_DEFAULT) – The SymbolicConstant SOLVER_DEFAULT or a Float specifying the degree of smoothing. Possible float values are 0 ≤ smoothing ≤ 0.5. If smooth = SOLVER_DEFAULT, the default degree of smoothing will be determined by the solver. The default value is SOLVER_DEFAULT.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
An
EquallySpacedAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- GeneralizedProfile(name, area, i11, i12, i22, j, gammaO, gammaW)[source]#
This method creates a GeneralizedProfile object.
Note
This function can be accessed by:
mdb.models[name].GeneralizedProfile session.odbs[name].GeneralizedProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.area (
float) – A Float specifying the cross-sectional area for the profile.i11 (
float) – A Float specifying the moment of inertia for bending about the 1-axis, I11I11.i12 (
float) – A Float specifying the moment of inertia for cross bending, I12I12.i22 (
float) – A Float specifying the moment of inertia for bending about the 2-axis, I22I22.j (
float) – A Float specifying the torsional constant, JJ.gammaO (
float) – A Float specifying the sectorial moment, Γ0Γ0.gammaW (
float) – A Float specifying the warping constant, ΓWΓW.
- Returns:
A
GeneralizedProfileobject.- Return type:
- Raises:
RangeError –
- HexagonalProfile(name, r, t)[source]#
This method creates a HexagonalProfile object.
Note
This function can be accessed by:
mdb.models[name].HexagonalProfile session.odbs[name].HexagonalProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.r (
float) – A positive Float specifying the r dimension (outer radius) of the hexagonal profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).t (
float) – A positive Float specifying the t dimension (wall thickness) of the hexagonal profile, t < (sqrt(3)/2)r.
- Returns:
A
HexagonalProfileobject.- Return type:
- Raises:
RangeError –
- IProfile(name, l, h, b1, b2, t1, t2, t3)[source]#
This method creates an IProfile object.
Note
This function can be accessed by:
mdb.models[name].IProfile session.odbs[name].IProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.l (
float) – A Float specifying the l dimension (offset of 1-axis from the bottom flange surface) of the I profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).h (
float) – A Float specifying the h dimension (height) of the I profile.b1 (
float) – A Float specifying the b1 dimension (bottom flange width) of the I profile.b2 (
float) – A Float specifying the b2 dimension (top flange width) of the I profile.t1 (
float) – A Float specifying the t1 dimension (bottom flange thickness) of the I profile.t2 (
float) – A Float specifying the t2 dimension (top flange thickness) of the I profile.t3 (
float) – A Float specifying the t3 dimension (web thickness) of the I profile.
- Returns:
An
IProfileobject.- Return type:
- Raises:
RangeError –
- LProfile(name, a, b, t1, t2)[source]#
This method creates a LProfile object.
Note
This function can be accessed by:
mdb.models[name].LProfile session.odbs[name].LProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A positive Float specifying the a dimension (flange length) of the L profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A positive Float specifying the b dimension (flange length) of the L profile.t1 (
float) – A positive Float specifying the t1 dimension (flange thickness) of the L profile (t1 < b).t2 (
float) – A positive Float specifying the t2 dimension (flange thickness) of the L profile (t2< a).
- Returns:
A
LProfileobject.- Return type:
- Raises:
RangeError –
- Material(name, description='', materialIdentifier='')[source]#
This method creates a Material object.
Note
This function can be accessed by:
session.odbs[name].Material
Note
- Parameters:
name (
str) – A String specifying the name of the new material.description (
str, default:'') – A String specifying user description of the material. The default value is an empty string.materialIdentifier (
str, default:'') – A String specifying material identifier for customer use. The default value is an empty string.
- Returns:
A
Materialobject.- Return type:
- ModulatedAmplitude(name, initial, magnitude, start, frequency1, frequency2, timeSpan=abaqusConstants.STEP)[source]#
This method creates a ModulatedAmplitude object.
Note
This function can be accessed by:
mdb.models[name].ModulatedAmplitude session.odbs[name].ModulatedAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.initial (
float) – A Float specifying the constant A0A0.magnitude (
float) – A Float specifying the coefficient AA.start (
float) – A Float specifying the starting time t0t0. Possible values are non-negative numbers.frequency1 (
float) – A Float specifying the circular frequency 1 (ω1ω1). Possible values are positive numbers.frequency2 (
float) – A Float specifying the circular frequency 2 (ω2ω2). Possible values are positive numbers.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
ModulatedAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- OperatorFilter(name, cutoffFrequency, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]#
This method creates an OperatorFilter object.
Note
This function can be accessed by:
mdb.models[name].OperatorFilter session.odbs[name].OperatorFilter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
An
OperatorFilterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- Part(name, embeddedSpace, type)[source]#
This method creates an OdbPart object. Nodes and elements are added to this object at a later stage.
Note
This function can be accessed by:
session.odbs[name].Part
Note
Check Part on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the part name.embeddedSpace (
Literal[THREE_D, TWO_D_PLANAR, AXISYMMETRIC]) – A SymbolicConstant specifying the dimensionality of the Part object. Possible values are THREE_D, TWO_D_PLANAR, and AXISYMMETRIC.type (
Literal[DEFORMABLE_BODY, ANALYTIC_RIGID_SURFACE]) – A SymbolicConstant specifying the type of the Part object. Possible values are DEFORMABLE_BODY and ANALYTIC_RIGID_SURFACE.
- Returns:
An
OdbPartobject.- Return type:
OdbPart
- PeriodicAmplitude(name, frequency, start, a_0, data, timeSpan=abaqusConstants.STEP)[source]#
This method creates a PeriodicAmplitude object.
Note
This function can be accessed by:
mdb.models[name].PeriodicAmplitude session.odbs[name].PeriodicAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.frequency (
float) – A Float specifying the circular frequency ωω. Possible values are positive numbers.start (
float) – A Float specifying the starting time t0t0. Possible values are positive numbers.a_0 (
float) – A Float specifying the constant A0A0.data (
tuple) – A sequence of pairs of Floats specifying AiAi and BiBi pairs.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
PeriodicAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- PipeProfile(name, r, t)[source]#
This method creates a PipeProfile object.
Note
This function can be accessed by:
mdb.models[name].PipeProfile session.odbs[name].PipeProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.r (
float) – A Float specifying the outer radius of the pipe. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).t (
float) – A Float specifying the wall thickness of the pipe.
- Returns:
A
PipeProfileobject.- Return type:
- Raises:
RangeError –
- PsdDefinition(name, data, unitType=abaqusConstants.FORCE, referenceGravityAcceleration=1, referenecePower=0, user=OFF, timeSpan=abaqusConstants.STEP, amplitude='')[source]#
This method creates a PsdDefinition object.
Note
This function can be accessed by:
mdb.models[name].PsdDefinition session.odbs[name].PsdDefinition
Note
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of sequences of Floats specifying the real part of the frequency function, the imaginary part of the frequency function, and the frequency or frequency band number values, depending on the value of unitType.unitType (
SymbolicConstant, default:FORCE) – A SymbolicConstant specifying the type of units for specifying the frequency function. FORCE implies power units. BASE implies gravity used to define base motion. DB implies decibel units. Possible values are FORCE, BASE, and DB. The default value is FORCE.referenceGravityAcceleration (
float, default:1) – A Float specifying the reference gravity acceleration. This argument applies when unitType = BASE. The default value is 1.0.referenecePower (
float, default:0) – A Float specifying the reference power value, in load units squared. This argument applies when unitType = DB. The default value is 0.0.user (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the frequency function is defined in user subroutine UPSD. If specified, then data is not applicable, and the unitType value must not be DB. The default value is OFF.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.amplitude (
str, default:'') – A String specifying the name of the amplitude that describes the dynamic event used to define the cross-spectral density frequency function. The default value is an empty string.
- Returns:
A
PsdDefinitionobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- RectangularProfile(name, a, b)[source]#
This method creates a RectangularProfile object.
Note
This function can be accessed by:
mdb.models[name].RectangularProfile session.odbs[name].RectangularProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A positive Float specifying the a dimension of the rectangular profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A positive Float specifying the b dimension of the rectangular profile.
- Returns:
A
RectangularProfileobject.- Return type:
- Raises:
RangeError –
- SectionCategory(name, description)[source]#
This method creates a SectionCategory object.
Note
This function can be accessed by:
session.odbs[name].SectionCategory
Note
- Parameters:
- Returns:
A
SectionCategoryobject.- Return type:
- SmoothStepAmplitude(name, data, timeSpan=abaqusConstants.STEP)[source]#
This method creates a SmoothStepAmplitude object.
Note
This function can be accessed by:
mdb.models[name].SmoothStepAmplitude session.odbs[name].SmoothStepAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of pairs of Floats specifying time/frequency and amplitude pairs. Possible values for time/frequency are positive numbers.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
SmoothStepAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- SolutionDependentAmplitude(name, initial=1, minimum=0, maximum=1000, timeSpan=abaqusConstants.STEP)[source]#
This method creates a SolutionDependentAmplitude object.
Note
This function can be accessed by:
mdb.models[name].SolutionDependentAmplitude session.odbs[name].SolutionDependentAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.initial (
float, default:1) – A Float specifying the initial amplitude value. Possible values are those between minimum and maximum. The default value is 1.0.minimum (
float, default:0) – A Float specifying the minimum amplitude value. Possible values are those smaller than maximum and initial. The default value is 0.1.maximum (
float, default:1000) – A Float specifying the maximum amplitude value. Possible values are those larger than minimum and initial. The default value is 1000.0.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
SolutionDependentAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- SpectrumAmplitude(name, method, data, specificationUnits=abaqusConstants.ACCELERATION, eventUnits=abaqusConstants.EVENT_ACCELERATION, solution=abaqusConstants.ABSOLUTE_VALUE, timeIncrement=0, gravity=1, criticalDamping=OFF, timeSpan=abaqusConstants.STEP, amplitude='')[source]#
This method creates a SpectrumAmplitude object.
Note
This function can be accessed by:
mdb.models[name].SpectrumAmplitude session.odbs[name].SpectrumAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.method (
SymbolicConstant) – A SymbolicConstant specifying the method for specifying the spectrum. Possible values are DEFINE and CALCULATE.data (
tuple) – A sequence of sequences of Floats specifying the magnitude, frequency, and damping values.specificationUnits (
SymbolicConstant, default:ACCELERATION) – A SymbolicConstant specifying the units used for specifying the spectrum. Possible values are DISPLACEMENT, VELOCITY, ACCELERATION, and GRAVITY. The default value is ACCELERATION.eventUnits (
SymbolicConstant, default:EVENT_ACCELERATION) – A SymbolicConstant specifying the units used to describe the dynamic event in the amplitude used for the calculation. Possible values are EVENT_DISPLACEMENT, EVENT_VELOCITY, EVENT_ACCELERATION, and EVENT_GRAVITY. The default value is EVENT_ACCELERATION.solution (
SymbolicConstant, default:ABSOLUTE_VALUE) – A SymbolicConstant specifying the solution method for the dynamic equations. Possible values are ABSOLUTE_VALUE and RELATIVE_VALUE. The default value is ABSOLUTE_VALUE.timeIncrement (
float, default:0) – A Float specifying the implicit time increment used to calculate the spectrum. This argument is required when the method = CALCULATE. The default value is 0.0.gravity (
float, default:1) – A Float specifying the acceleration due to gravity. This argument applies only when specificationUnits = GRAVITY or*eventUnits* = GRAVITY. The default value is 1.0.criticalDamping (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to calculate the spectrum for only the specified range of critical damping values or a list of values. If criticalDamping = ON, the spectrum is calculated only for the specified range of critical damping values. If criticalDamping = OFF, the spectrum is calculated for a list of damping values. The default value is OFF.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.amplitude (
str, default:'') – A String specifying the name of the amplitude that describes the dynamic event used to calculate the spectrum. The default value is an empty string.
- Returns:
A
SpectrumAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- Step(name, description, domain, timePeriod=0, previousStepName='', procedure='', totalTime=-1.0)[source]#
This method creates an OdbStep object.
Note
This function can be accessed by:
session.odbs[name].Step
Note
Check Step on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the repository key.description (
str) – A String specifying the step description.domain (
Literal[TIME, FREQUENCY, ARC_LENGTH, MODAL]) – A SymbolicConstant specifying the domain of the step. Possible values are TIME, FREQUENCY, ARC_LENGTH, and MODAL.The type of OdbFrame object that can be created for this step is based on the value of the domain argument.timePeriod (
float, default:0) – A Float specifying the time period of the step. timePeriod is required if domain = TIME; otherwise, this argument is not applicable. The default value is 0.0.previousStepName (
str, default:'') – A String specifying the preceding step. If previousStepName is the empty string, the last step in the repository is used. If previousStepName is not the last step, this will result in a change to the previousStepName member of the step that was in that position. A special value ‘Initial’ refers to the internal initial model step and may be used exclusively for inserting a new step at the first position before any other existing steps. The default value is an empty string.procedure (
str, default:'') –A String specifying the step procedure. The default value is an empty string. The following is the list of valid procedures:
*ANNEAL
*BUCKLE
*COMPLEX FREQUENCY
*COUPLED TEMPERATURE-DISPLACEMENT
*COUPLED TEMPERATURE-DISPLACEMENT, CETOL
*COUPLED TEMPERATURE-DISPLACEMENT, STEADY STATE
*COUPLED THERMAL-ELECTRICAL, STEADY STATE
*COUPLED THERMAL-ELECTRICAL
*COUPLED THERMAL-ELECTRICAL, DELTMX
*DYNAMIC
*DYNAMIC, DIRECT
*DYNAMIC, EXPLICIT
*DYNAMIC, SUBSPACE
*DYNAMIC TEMPERATURE-DISPLACEMENT, EXPLICT
*ELECTROMAGNETIC, HIGH FREQUENCY, TIME HARMONIC
*ELECTROMAGNETIC, LOW FREQUENCY, TIME DOMAIN
*ELECTROMAGNETIC, LOW FREQUENCY, TIME DOMAIN, DIRECT
*ELECTROMAGNETIC, LOW FREQUENCY, TIME HARMONIC
*FREQUENCY
*GEOSTATIC
*HEAT TRANSFER
*HEAT TRANSFER, DELTAMX=__
*HEAT TRANSFER, STEADY STATE
*MAGNETOSTATIC
*MAGNETOSTATIC, DIRECT
*MASS DIFFUSION
*MASS DIFFUSION, DCMAX=
*MASS DIFFUSION, STEADY STATE
*MODAL DYNAMIC
*RANDOM RESPONSE
*RESPONSE SPECTRUM
*SOILS
*SOILS, CETOL/UTOL
*SOILS, CONSOLIDATION
*SOILS, CONSOLIDATION, CETOL/UTOL
*STATIC
*STATIC, DIRECT
*STATIC, RIKS
*STEADY STATE DYNAMICS
*STEADY STATE TRANSPORT
*STEADY STATE TRANSPORT, DIRECT
*STEP PERTURBATION, *STATIC
*SUBSTRUCTURE GENERATE
*USA ADDDED MASS GENERATION
*VISCO
totalTime (
float, default:-1.0) – A Float specifying the analysis time spend in all the steps previous to this step. The default value is −1.0.
- Returns:
An
OdbStepobject.- Return type:
OdbStep- Raises:
ValueError – If previousStepName is invalid.
- TProfile(name, b, h, l, tf, tw)[source]#
This method creates a TProfile object.
Note
This function can be accessed by:
mdb.models[name].TProfile session.odbs[name].TProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.b (
float) – A positive Float specifying the b dimension (flange width) of the T profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).h (
float) – A positive Float specifying the h dimension (height) of the T profile.l (
float) – A positive Float specifying the l dimension (offset of 1-axis from the edge of web) of the T profile.tf (
float) – A positive Float specifying the tf dimension (flange thickness) of the T profile (tf < h).tw (
float) – A positive Float specifying the tw dimension (web thickness) of the T profile (tw< b).
- Returns:
A
TProfileobject.- Return type:
- Raises:
RangeError –
- TabularAmplitude(name, data, smooth=abaqusConstants.SOLVER_DEFAULT, timeSpan=abaqusConstants.STEP)[source]#
This method creates a TabularAmplitude object.
Note
This function can be accessed by:
mdb.models[name].TabularAmplitude session.odbs[name].TabularAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of pairs of Floats specifying time/frequency and amplitude pairs. Possible values for time/frequency are positive numbers.smooth (
Union[SymbolicConstant,float], default:SOLVER_DEFAULT) – The SymbolicConstant SOLVER_DEFAULT or a Float specifying the degree of smoothing. Possible float values are between 0 and 0.5. If smooth = SOLVER_DEFAULT, the default degree of smoothing will be determined by the solver. The default value is SOLVER_DEFAULT.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
TabularAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- TrapezoidalProfile(name, a, b, c, d)[source]#
This method creates a TrapezoidalProfile object.
Note
This function can be accessed by:
mdb.models[name].TrapezoidalProfile session.odbs[name].TrapezoidalProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A positive Float specifying the a dimension of the Trapezoidal profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A positive Float specifying the b dimension of the Trapezoidal profile.c (
float) – A positive Float specifying the c dimension of the Trapezoidal profile.d (
float) – A Float specifying the d dimension of the Trapezoidal profile.
- Returns:
A
TrapezoidalProfileobject.- Return type:
- Raises:
RangeError –
- customData: RepositorySupport = <abaqus.CustomKernel.RepositorySupport.RepositorySupport object>[source]#
A
RepositorySupportobject.
- getFrame(frameValue, match=abaqusConstants.CLOSEST)[source]#
This method returns the frame at the specified time, frequency, or mode. It will not interpolate values between frames. The method is not applicable to an Odb object containing steps with different domains or to an Odb object containing a step with load case specific data.
Note
- Parameters:
frameValue (
str) – A Double specifying the value at which the frame is required. frameValue can be the total time or frequency.match (
SymbolicConstant, default:CLOSEST) – A SymbolicConstant specifying which frame to return if there is no frame at the exact frame value. Possible values are CLOSEST, BEFORE, AFTER, and EXACT. The default value is CLOSEST.When match = CLOSEST, Abaqus returns the closest frame. If the frame value requested is exactly halfway between two frames, Abaqus returns the frame after the value.When match = EXACT, Abaqus raises an exception if the exact frame value does not exist.
- Returns:
An
OdbFrameobject.- Return type:
OdbFrame- Raises:
OdbError – If the exact frame is not found.
- isReadOnly: Boolean = OFF[source]#
A Boolean specifying whether the output database was opened with read-only access.
- rootAssembly: OdbAssembly = <abaqus.Odb.OdbAssembly.OdbAssembly object>[source]#
An
OdbAssemblyobject.
- save()[source]#
This method saves output to an output database (.odb ) file.
- Raises:
OdbError – Database save failed. The database was opened as read-only. Modification of data is not permitted.
- sectionCategories: Dict[str, SectionCategory] = {}[source]#
A repository of SectionCategory objects.
- sectorDefinition: SectorDefinition = <abaqus.Odb.SectorDefinition.SectorDefinition object>[source]#
A
SectorDefinitionobject.
- update()[source]#
This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database. update checks if additional steps have been written to the output database since it was opened or last updated. If additional steps have been written to the output database, update adds them to the Odb object.
- Returns:
A Boolean specifying whether additional steps or frames were added to the Odb object.
- Return type:
Boolean
OdbBase#
- class OdbBase(name, analysisTitle='', description='', path='')[source]#
The Odb object is the in-memory representation of an output database (ODB) file.
Note
This object can be accessed by:
import odbAccess session.odbs[name]
Note
Check OdbBase on help.3ds.com/0.1..
Public Data Attributes:
A Boolean specifying whether the output database was opened with read-only access.
A repository of Amplitude objects.
A repository of Filter objects.
An
OdbAssemblyobject.A
JobDataobject.A repository of OdbPart objects.
A repository of Material objects.
A repository of OdbStep objects.
A repository of Section objects.
A repository of SectionCategory objects.
A
SectorDefinitionobject.A
UserDataobject.A
RepositorySupportobject.A repository of Profile objects.
Public Methods:
__init__(name[, analysisTitle, description, ...])This method creates a new Odb object.
close()This method closes an output database.
getFrame(frameValue[, match])This method returns the frame at the specified time, frequency, or mode.
save()This method saves output to an output database (.odb ) file.
update()This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database.
- customData: RepositorySupport = <abaqus.CustomKernel.RepositorySupport.RepositorySupport object>[source]#
A
RepositorySupportobject.
- getFrame(frameValue, match=abaqusConstants.CLOSEST)[source]#
This method returns the frame at the specified time, frequency, or mode. It will not interpolate values between frames. The method is not applicable to an Odb object containing steps with different domains or to an Odb object containing a step with load case specific data.
Note
- Parameters:
frameValue (
str) – A Double specifying the value at which the frame is required. frameValue can be the total time or frequency.match (
SymbolicConstant, default:CLOSEST) – A SymbolicConstant specifying which frame to return if there is no frame at the exact frame value. Possible values are CLOSEST, BEFORE, AFTER, and EXACT. The default value is CLOSEST.When match = CLOSEST, Abaqus returns the closest frame. If the frame value requested is exactly halfway between two frames, Abaqus returns the frame after the value.When match = EXACT, Abaqus raises an exception if the exact frame value does not exist.
- Returns:
An
OdbFrameobject.- Return type:
OdbFrame- Raises:
OdbError – If the exact frame is not found.
- isReadOnly: Union[AbaqusBoolean, bool] = OFF[source]#
A Boolean specifying whether the output database was opened with read-only access.
- rootAssembly: OdbAssembly = <abaqus.Odb.OdbAssembly.OdbAssembly object>[source]#
An
OdbAssemblyobject.
- save()[source]#
This method saves output to an output database (.odb ) file.
- Raises:
OdbError – Database save failed. The database was opened as read-only. Modification of data is not permitted.
- sectionCategories: Dict[str, SectionCategory] = {}[source]#
A repository of SectionCategory objects.
- sectorDefinition: SectorDefinition = <abaqus.Odb.SectorDefinition.SectorDefinition object>[source]#
A
SectorDefinitionobject.
- update()[source]#
This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database. update checks if additional steps have been written to the output database since it was opened or last updated. If additional steps have been written to the output database, update adds them to the Odb object.
- Returns:
A Boolean specifying whether additional steps or frames were added to the Odb object.
- Return type:
Boolean
AmplitudeOdb#
- class AmplitudeOdb(name, analysisTitle='', description='', path='')[source]
The Odb object is the in-memory representation of an output database (ODB) file.
Note
This object can be accessed by:
import odbAccess session.odbs[name]
Note
Public Data Attributes:
Inherited from
OdbBaseisReadOnlyA Boolean specifying whether the output database was opened with read-only access.
amplitudesA repository of Amplitude objects.
filtersA repository of Filter objects.
rootAssemblyAn
OdbAssemblyobject.jobDataA
JobDataobject.partsA repository of OdbPart objects.
materialsA repository of Material objects.
stepsA repository of OdbStep objects.
sectionsA repository of Section objects.
sectionCategoriesA repository of SectionCategory objects.
sectorDefinitionA
SectorDefinitionobject.userDataA
UserDataobject.customDataA
RepositorySupportobject.profilesA repository of Profile objects.
Public Methods:
ActuatorAmplitude(name[, timeSpan])This method creates a ActuatorAmplitude object.
DecayAmplitude(name, initial, maximum, ...)This method creates a DecayAmplitude object.
EquallySpacedAmplitude(name, fixedInterval, data)This method creates an EquallySpacedAmplitude object.
ModulatedAmplitude(name, initial, magnitude, ...)This method creates a ModulatedAmplitude object.
PeriodicAmplitude(name, frequency, start, ...)This method creates a PeriodicAmplitude object.
PsdDefinition(name, data[, unitType, ...])This method creates a PsdDefinition object.
SmoothStepAmplitude(name, data[, timeSpan])This method creates a SmoothStepAmplitude object.
SolutionDependentAmplitude(name[, initial, ...])This method creates a SolutionDependentAmplitude object.
SpectrumAmplitude(name, method, data[, ...])This method creates a SpectrumAmplitude object.
TabularAmplitude(name, data[, smooth, timeSpan])This method creates a TabularAmplitude object.
Inherited from
OdbBase__init__(name[, analysisTitle, description, ...])This method creates a new Odb object.
close()This method closes an output database.
getFrame(frameValue[, match])This method returns the frame at the specified time, frequency, or mode.
save()This method saves output to an output database (.odb ) file.
update()This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database.
- ActuatorAmplitude(name, timeSpan=abaqusConstants.STEP)[source]
This method creates a ActuatorAmplitude object.
Note
This function can be accessed by:
mdb.models[name].ActuatorAmplitude session.odbs[name].ActuatorAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
An
ActuatorAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- DecayAmplitude(name, initial, maximum, start, decayTime, timeSpan=abaqusConstants.STEP)[source]
This method creates a DecayAmplitude object.
Note
This function can be accessed by:
mdb.models[name].DecayAmplitude session.odbs[name].DecayAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.initial (
float) – A Float specifying the constant A0A0.maximum (
float) – A Float specifying the coefficient AA.start (
float) – A Float specifying the starting time t0t0. Possible values are non-negative numbers.decayTime (
float) – A Float specifying the decay time tdtd. Possible values are non-negative numbers.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
DecayAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- EquallySpacedAmplitude(name, fixedInterval, data, begin=0, smooth=abaqusConstants.SOLVER_DEFAULT, timeSpan=abaqusConstants.STEP)[source]
This method creates an EquallySpacedAmplitude object.
Note
This function can be accessed by:
mdb.models[name].EquallySpacedAmplitude session.odbs[name].EquallySpacedAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.fixedInterval (
float) – A Float specifying the fixed time interval at which the amplitude data are given. Possible values are positive numbers.data (
tuple) – A sequence of Floats specifying the amplitude values.begin (
float, default:0) – A Float specifying the time at which the first amplitude data are given. Possible values are non-negative numbers. The default value is 0.0.smooth (
Union[SymbolicConstant,float], default:SOLVER_DEFAULT) – The SymbolicConstant SOLVER_DEFAULT or a Float specifying the degree of smoothing. Possible float values are 0 ≤ smoothing ≤ 0.5. If smooth = SOLVER_DEFAULT, the default degree of smoothing will be determined by the solver. The default value is SOLVER_DEFAULT.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
An
EquallySpacedAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- ModulatedAmplitude(name, initial, magnitude, start, frequency1, frequency2, timeSpan=abaqusConstants.STEP)[source]
This method creates a ModulatedAmplitude object.
Note
This function can be accessed by:
mdb.models[name].ModulatedAmplitude session.odbs[name].ModulatedAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.initial (
float) – A Float specifying the constant A0A0.magnitude (
float) – A Float specifying the coefficient AA.start (
float) – A Float specifying the starting time t0t0. Possible values are non-negative numbers.frequency1 (
float) – A Float specifying the circular frequency 1 (ω1ω1). Possible values are positive numbers.frequency2 (
float) – A Float specifying the circular frequency 2 (ω2ω2). Possible values are positive numbers.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
ModulatedAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- PeriodicAmplitude(name, frequency, start, a_0, data, timeSpan=abaqusConstants.STEP)[source]
This method creates a PeriodicAmplitude object.
Note
This function can be accessed by:
mdb.models[name].PeriodicAmplitude session.odbs[name].PeriodicAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.frequency (
float) – A Float specifying the circular frequency ωω. Possible values are positive numbers.start (
float) – A Float specifying the starting time t0t0. Possible values are positive numbers.a_0 (
float) – A Float specifying the constant A0A0.data (
tuple) – A sequence of pairs of Floats specifying AiAi and BiBi pairs.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
PeriodicAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- PsdDefinition(name, data, unitType=abaqusConstants.FORCE, referenceGravityAcceleration=1, referenecePower=0, user=OFF, timeSpan=abaqusConstants.STEP, amplitude='')[source]
This method creates a PsdDefinition object.
Note
This function can be accessed by:
mdb.models[name].PsdDefinition session.odbs[name].PsdDefinition
Note
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of sequences of Floats specifying the real part of the frequency function, the imaginary part of the frequency function, and the frequency or frequency band number values, depending on the value of unitType.unitType (
SymbolicConstant, default:FORCE) – A SymbolicConstant specifying the type of units for specifying the frequency function. FORCE implies power units. BASE implies gravity used to define base motion. DB implies decibel units. Possible values are FORCE, BASE, and DB. The default value is FORCE.referenceGravityAcceleration (
float, default:1) – A Float specifying the reference gravity acceleration. This argument applies when unitType = BASE. The default value is 1.0.referenecePower (
float, default:0) – A Float specifying the reference power value, in load units squared. This argument applies when unitType = DB. The default value is 0.0.user (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the frequency function is defined in user subroutine UPSD. If specified, then data is not applicable, and the unitType value must not be DB. The default value is OFF.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.amplitude (
str, default:'') – A String specifying the name of the amplitude that describes the dynamic event used to define the cross-spectral density frequency function. The default value is an empty string.
- Returns:
A
PsdDefinitionobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- SmoothStepAmplitude(name, data, timeSpan=abaqusConstants.STEP)[source]
This method creates a SmoothStepAmplitude object.
Note
This function can be accessed by:
mdb.models[name].SmoothStepAmplitude session.odbs[name].SmoothStepAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of pairs of Floats specifying time/frequency and amplitude pairs. Possible values for time/frequency are positive numbers.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
SmoothStepAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- SolutionDependentAmplitude(name, initial=1, minimum=0, maximum=1000, timeSpan=abaqusConstants.STEP)[source]
This method creates a SolutionDependentAmplitude object.
Note
This function can be accessed by:
mdb.models[name].SolutionDependentAmplitude session.odbs[name].SolutionDependentAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.initial (
float, default:1) – A Float specifying the initial amplitude value. Possible values are those between minimum and maximum. The default value is 1.0.minimum (
float, default:0) – A Float specifying the minimum amplitude value. Possible values are those smaller than maximum and initial. The default value is 0.1.maximum (
float, default:1000) – A Float specifying the maximum amplitude value. Possible values are those larger than minimum and initial. The default value is 1000.0.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
SolutionDependentAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- SpectrumAmplitude(name, method, data, specificationUnits=abaqusConstants.ACCELERATION, eventUnits=abaqusConstants.EVENT_ACCELERATION, solution=abaqusConstants.ABSOLUTE_VALUE, timeIncrement=0, gravity=1, criticalDamping=OFF, timeSpan=abaqusConstants.STEP, amplitude='')[source]
This method creates a SpectrumAmplitude object.
Note
This function can be accessed by:
mdb.models[name].SpectrumAmplitude session.odbs[name].SpectrumAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.method (
SymbolicConstant) – A SymbolicConstant specifying the method for specifying the spectrum. Possible values are DEFINE and CALCULATE.data (
tuple) – A sequence of sequences of Floats specifying the magnitude, frequency, and damping values.specificationUnits (
SymbolicConstant, default:ACCELERATION) – A SymbolicConstant specifying the units used for specifying the spectrum. Possible values are DISPLACEMENT, VELOCITY, ACCELERATION, and GRAVITY. The default value is ACCELERATION.eventUnits (
SymbolicConstant, default:EVENT_ACCELERATION) – A SymbolicConstant specifying the units used to describe the dynamic event in the amplitude used for the calculation. Possible values are EVENT_DISPLACEMENT, EVENT_VELOCITY, EVENT_ACCELERATION, and EVENT_GRAVITY. The default value is EVENT_ACCELERATION.solution (
SymbolicConstant, default:ABSOLUTE_VALUE) – A SymbolicConstant specifying the solution method for the dynamic equations. Possible values are ABSOLUTE_VALUE and RELATIVE_VALUE. The default value is ABSOLUTE_VALUE.timeIncrement (
float, default:0) – A Float specifying the implicit time increment used to calculate the spectrum. This argument is required when the method = CALCULATE. The default value is 0.0.gravity (
float, default:1) – A Float specifying the acceleration due to gravity. This argument applies only when specificationUnits = GRAVITY or*eventUnits* = GRAVITY. The default value is 1.0.criticalDamping (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to calculate the spectrum for only the specified range of critical damping values or a list of values. If criticalDamping = ON, the spectrum is calculated only for the specified range of critical damping values. If criticalDamping = OFF, the spectrum is calculated for a list of damping values. The default value is OFF.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.amplitude (
str, default:'') – A String specifying the name of the amplitude that describes the dynamic event used to calculate the spectrum. The default value is an empty string.
- Returns:
A
SpectrumAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- TabularAmplitude(name, data, smooth=abaqusConstants.SOLVER_DEFAULT, timeSpan=abaqusConstants.STEP)[source]
This method creates a TabularAmplitude object.
Note
This function can be accessed by:
mdb.models[name].TabularAmplitude session.odbs[name].TabularAmplitude
Note
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of pairs of Floats specifying time/frequency and amplitude pairs. Possible values for time/frequency are positive numbers.smooth (
Union[SymbolicConstant,float], default:SOLVER_DEFAULT) – The SymbolicConstant SOLVER_DEFAULT or a Float specifying the degree of smoothing. Possible float values are between 0 and 0.5. If smooth = SOLVER_DEFAULT, the default degree of smoothing will be determined by the solver. The default value is SOLVER_DEFAULT.timeSpan (
SymbolicConstant, default:STEP) – A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.
- Returns:
A
TabularAmplitudeobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
FilterOdb#
- class FilterOdb(name, analysisTitle='', description='', path='')[source]
The Odb object is the in-memory representation of an output database (ODB) file.
Note
This object can be accessed by:
import odbAccess session.odbs[name]
Note
Public Data Attributes:
Inherited from
OdbBaseisReadOnlyA Boolean specifying whether the output database was opened with read-only access.
amplitudesA repository of Amplitude objects.
filtersA repository of Filter objects.
rootAssemblyAn
OdbAssemblyobject.jobDataA
JobDataobject.partsA repository of OdbPart objects.
materialsA repository of Material objects.
stepsA repository of OdbStep objects.
sectionsA repository of Section objects.
sectionCategoriesA repository of SectionCategory objects.
sectorDefinitionA
SectorDefinitionobject.userDataA
UserDataobject.customDataA
RepositorySupportobject.profilesA repository of Profile objects.
Public Methods:
ButterworthFilter(name, cutoffFrequency[, ...])This method creates a ButterworthFilter object.
Chebyshev1Filter(name, cutoffFrequency[, ...])This method creates a Chebyshev1Filter object.
Chebyshev2Filter(name, cutoffFrequency[, ...])This method creates a Chebyshev2Filter object.
OperatorFilter(name, cutoffFrequency[, ...])This method creates an OperatorFilter object.
Inherited from
OdbBase__init__(name[, analysisTitle, description, ...])This method creates a new Odb object.
close()This method closes an output database.
getFrame(frameValue[, match])This method returns the frame at the specified time, frequency, or mode.
save()This method saves output to an output database (.odb ) file.
update()This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database.
- ButterworthFilter(name, cutoffFrequency, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]
This method creates a ButterworthFilter object.
Note
This function can be accessed by:
mdb.models[name].ButterworthFilter session.odbs[name].ButterworthFilter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
A
ButterworthFilterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- Chebyshev1Filter(name, cutoffFrequency, rippleFactor=0, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]
This method creates a Chebyshev1Filter object.
Note
This function can be accessed by:
mdb.models[name].Chebyshev1Filter session.odbs[name].Chebyshev1Filter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.rippleFactor (
float, default:0) – A Float specifying the amount of allowable ripple in the filter. Possible values are non-negative numbers. The default value is 0.225.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
A
Chebyshev1Filterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- Chebyshev2Filter(name, cutoffFrequency, rippleFactor=0, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]
This method creates a Chebyshev2Filter object.
Note
This function can be accessed by:
mdb.models[name].Chebyshev2Filter session.odbs[name].Chebyshev2Filter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.rippleFactor (
float, default:0) – A Float specifying the amount of allowable ripple in the filter. Possible values are non-negative numbers less than 1. The default value is 0.025.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
A
Chebyshev2Filterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
- OperatorFilter(name, cutoffFrequency, order=2, operation=abaqusConstants.NONE, halt=OFF, limit=None, invariant=abaqusConstants.NONE)[source]
This method creates an OperatorFilter object.
Note
This function can be accessed by:
mdb.models[name].OperatorFilter session.odbs[name].OperatorFilter
Note
- Parameters:
name (
str) – A String specifying the repository key. This name ANTIALIASING is reserved for filters generated internally by the program.cutoffFrequency (
float) – A Float specifying the attenuation point of the filter. Possible values are non-negative numbers. Order is not available for OperatorFilter.order (
int, default:2) – An Int specifying the highest power of the filter transfer function. Possible values are non-negative numbers less than or equal to 20. Order is not available for OperatorFilter. The default value is 2.operation (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the filter operator. Possible values are NONE, MIN, MAX, and ABS. The default value is NONE.halt (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether to stop the analysis if the specified limit is reached. The default value is OFF.limit (
Optional[float], default:None) – None or a Float specifying the threshold limit, an upper or lower bound for output values depending on the operation, or a bound for stopping the analysis when Halt is used. The default value is None.invariant (
SymbolicConstant, default:NONE) – A SymbolicConstant specifying the invariant to which filtering is applied. Possible values are NONE, FIRST, and SECOND. The default value is NONE.
- Returns:
An
OperatorFilterobject.- Return type:
- Raises:
InvalidNameError –
RangeError –
MaterialOdb#
- class MaterialOdb(name, analysisTitle='', description='', path='')[source]
The Odb object is the in-memory representation of an output database (ODB) file.
Note
This object can be accessed by:
import odbAccess session.odbs[name]
Note
Public Data Attributes:
Inherited from
OdbBaseisReadOnlyA Boolean specifying whether the output database was opened with read-only access.
amplitudesA repository of Amplitude objects.
filtersA repository of Filter objects.
rootAssemblyAn
OdbAssemblyobject.jobDataA
JobDataobject.partsA repository of OdbPart objects.
materialsA repository of Material objects.
stepsA repository of OdbStep objects.
sectionsA repository of Section objects.
sectionCategoriesA repository of SectionCategory objects.
sectorDefinitionA
SectorDefinitionobject.userDataA
UserDataobject.customDataA
RepositorySupportobject.profilesA repository of Profile objects.
Public Methods:
Material(name[, description, materialIdentifier])This method creates a Material object.
Inherited from
OdbBase__init__(name[, analysisTitle, description, ...])This method creates a new Odb object.
close()This method closes an output database.
getFrame(frameValue[, match])This method returns the frame at the specified time, frequency, or mode.
save()This method saves output to an output database (.odb ) file.
update()This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database.
- Material(name, description='', materialIdentifier='')[source]
This method creates a Material object.
Note
This function can be accessed by:
session.odbs[name].Material
Note
- Parameters:
name (
str) – A String specifying the name of the new material.description (
str, default:'') – A String specifying user description of the material. The default value is an empty string.materialIdentifier (
str, default:'') – A String specifying material identifier for customer use. The default value is an empty string.
- Returns:
A
Materialobject.- Return type:
BeamSectionProfileOdb#
- class BeamSectionProfileOdb(name, analysisTitle='', description='', path='')[source]
The Odb object is the in-memory representation of an output database (ODB) file.
Note
This object can be accessed by:
import odbAccess session.odbs[name]
Note
Public Data Attributes:
Inherited from
OdbBaseisReadOnlyA Boolean specifying whether the output database was opened with read-only access.
amplitudesA repository of Amplitude objects.
filtersA repository of Filter objects.
rootAssemblyAn
OdbAssemblyobject.jobDataA
JobDataobject.partsA repository of OdbPart objects.
materialsA repository of Material objects.
stepsA repository of OdbStep objects.
sectionsA repository of Section objects.
sectionCategoriesA repository of SectionCategory objects.
sectorDefinitionA
SectorDefinitionobject.userDataA
UserDataobject.customDataA
RepositorySupportobject.profilesA repository of Profile objects.
Public Methods:
ArbitraryProfile(name, table)This method creates a ArbitraryProfile object.
BoxProfile(name, a, b, uniformThickness, t1)This method creates a BoxProfile object.
CircularProfile(name, r)This method creates a CircularProfile object.
GeneralizedProfile(name, area, i11, i12, ...)This method creates a GeneralizedProfile object.
HexagonalProfile(name, r, t)This method creates a HexagonalProfile object.
IProfile(name, l, h, b1, b2, t1, t2, t3)This method creates an IProfile object.
LProfile(name, a, b, t1, t2)This method creates a LProfile object.
PipeProfile(name, r, t)This method creates a PipeProfile object.
RectangularProfile(name, a, b)This method creates a RectangularProfile object.
TProfile(name, b, h, l, tf, tw)This method creates a TProfile object.
TrapezoidalProfile(name, a, b, c, d)This method creates a TrapezoidalProfile object.
Inherited from
OdbBase__init__(name[, analysisTitle, description, ...])This method creates a new Odb object.
close()This method closes an output database.
getFrame(frameValue[, match])This method returns the frame at the specified time, frequency, or mode.
save()This method saves output to an output database (.odb ) file.
update()This method is used to update an Odb object in memory while an Abaqus analysis writes data to the associated output database.
- ArbitraryProfile(name, table)[source]
This method creates a ArbitraryProfile object.
Note
This function can be accessed by:
mdb.models[name].ArbitraryProfile session.odbs[name].ArbitraryProfile
Note
- Parameters:
- Returns:
An
ArbitraryProfileobject.- Return type:
- Raises:
RangeError –
- BoxProfile(name, a, b, uniformThickness, t1, t2=0, t3=0, t4=0)[source]
This method creates a BoxProfile object.
Note
This function can be accessed by:
mdb.models[name].BoxProfile session.odbs[name].BoxProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A Float specifying the a dimension of the box profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A Float specifying the b dimension of the box profile.uniformThickness (
Union[AbaqusBoolean,bool]) – A Boolean specifying whether the thickness is uniform.t1 (
float) – A Float specifying the uniform wall thickness if uniformThickness = ON, and the wall thickness of the first segment if uniformThickness = OFF.t2 (
float, default:0) – A Float specifying the wall thickness of the second segment. t2 is required only when uniformThickness = OFF. The default value is 0.0.t3 (
float, default:0) – A Float specifying the wall thickness of the third segment. t3 is required only when uniformThickness = OFF. The default value is 0.0.t4 (
float, default:0) – A Float specifying the wall thickness of the fourth segment. t4 is required only when uniformThickness = OFF. The default value is 0.0.
- Returns:
A
BoxProfileobject.- Return type:
- Raises:
RangeError –
- CircularProfile(name, r)[source]
This method creates a CircularProfile object.
Note
This function can be accessed by:
mdb.models[name].CircularProfile session.odbs[name].CircularProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.r (
float) – A positive Float specifying the r dimension (outer radius) of the circular profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).
- Returns:
A
CircularProfileobject.- Return type:
- Raises:
RangeError –
- GeneralizedProfile(name, area, i11, i12, i22, j, gammaO, gammaW)[source]
This method creates a GeneralizedProfile object.
Note
This function can be accessed by:
mdb.models[name].GeneralizedProfile session.odbs[name].GeneralizedProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.area (
float) – A Float specifying the cross-sectional area for the profile.i11 (
float) – A Float specifying the moment of inertia for bending about the 1-axis, I11I11.i12 (
float) – A Float specifying the moment of inertia for cross bending, I12I12.i22 (
float) – A Float specifying the moment of inertia for bending about the 2-axis, I22I22.j (
float) – A Float specifying the torsional constant, JJ.gammaO (
float) – A Float specifying the sectorial moment, Γ0Γ0.gammaW (
float) – A Float specifying the warping constant, ΓWΓW.
- Returns:
A
GeneralizedProfileobject.- Return type:
- Raises:
RangeError –
- HexagonalProfile(name, r, t)[source]
This method creates a HexagonalProfile object.
Note
This function can be accessed by:
mdb.models[name].HexagonalProfile session.odbs[name].HexagonalProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.r (
float) – A positive Float specifying the r dimension (outer radius) of the hexagonal profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).t (
float) – A positive Float specifying the t dimension (wall thickness) of the hexagonal profile, t < (sqrt(3)/2)r.
- Returns:
A
HexagonalProfileobject.- Return type:
- Raises:
RangeError –
- IProfile(name, l, h, b1, b2, t1, t2, t3)[source]
This method creates an IProfile object.
Note
This function can be accessed by:
mdb.models[name].IProfile session.odbs[name].IProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.l (
float) – A Float specifying the l dimension (offset of 1-axis from the bottom flange surface) of the I profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).h (
float) – A Float specifying the h dimension (height) of the I profile.b1 (
float) – A Float specifying the b1 dimension (bottom flange width) of the I profile.b2 (
float) – A Float specifying the b2 dimension (top flange width) of the I profile.t1 (
float) – A Float specifying the t1 dimension (bottom flange thickness) of the I profile.t2 (
float) – A Float specifying the t2 dimension (top flange thickness) of the I profile.t3 (
float) – A Float specifying the t3 dimension (web thickness) of the I profile.
- Returns:
An
IProfileobject.- Return type:
- Raises:
RangeError –
- LProfile(name, a, b, t1, t2)[source]
This method creates a LProfile object.
Note
This function can be accessed by:
mdb.models[name].LProfile session.odbs[name].LProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A positive Float specifying the a dimension (flange length) of the L profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A positive Float specifying the b dimension (flange length) of the L profile.t1 (
float) – A positive Float specifying the t1 dimension (flange thickness) of the L profile (t1 < b).t2 (
float) – A positive Float specifying the t2 dimension (flange thickness) of the L profile (t2< a).
- Returns:
A
LProfileobject.- Return type:
- Raises:
RangeError –
- PipeProfile(name, r, t)[source]
This method creates a PipeProfile object.
Note
This function can be accessed by:
mdb.models[name].PipeProfile session.odbs[name].PipeProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.r (
float) – A Float specifying the outer radius of the pipe. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).t (
float) – A Float specifying the wall thickness of the pipe.
- Returns:
A
PipeProfileobject.- Return type:
- Raises:
RangeError –
- RectangularProfile(name, a, b)[source]
This method creates a RectangularProfile object.
Note
This function can be accessed by:
mdb.models[name].RectangularProfile session.odbs[name].RectangularProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A positive Float specifying the a dimension of the rectangular profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A positive Float specifying the b dimension of the rectangular profile.
- Returns:
A
RectangularProfileobject.- Return type:
- Raises:
RangeError –
- TProfile(name, b, h, l, tf, tw)[source]
This method creates a TProfile object.
Note
This function can be accessed by:
mdb.models[name].TProfile session.odbs[name].TProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.b (
float) – A positive Float specifying the b dimension (flange width) of the T profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).h (
float) – A positive Float specifying the h dimension (height) of the T profile.l (
float) – A positive Float specifying the l dimension (offset of 1-axis from the edge of web) of the T profile.tf (
float) – A positive Float specifying the tf dimension (flange thickness) of the T profile (tf < h).tw (
float) – A positive Float specifying the tw dimension (web thickness) of the T profile (tw< b).
- Returns:
A
TProfileobject.- Return type:
- Raises:
RangeError –
- TrapezoidalProfile(name, a, b, c, d)[source]
This method creates a TrapezoidalProfile object.
Note
This function can be accessed by:
mdb.models[name].TrapezoidalProfile session.odbs[name].TrapezoidalProfile
Note
- Parameters:
name (
str) – A String specifying the repository key.a (
float) – A positive Float specifying the a dimension of the Trapezoidal profile. For more information, see [Beam cross-section library](https://help.3ds.com/2021/English/DSSIMULIA_Established/SIMACAEELMRefMap/simaelm-c-beamcrosssectlib.htm?ContextScope=all).b (
float) – A positive Float specifying the b dimension of the Trapezoidal profile.c (
float) – A positive Float specifying the c dimension of the Trapezoidal profile.d (
float) – A Float specifying the d dimension of the Trapezoidal profile.
- Returns:
A
TrapezoidalProfileobject.- Return type:
- Raises:
RangeError –
AnalyticSurface#
- class AnalyticSurface[source]#
The AnalyticSurface object is a geometric surface that can be described with straight and/or curved line segments.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].analyticSurface session.odbs[name].rootAssembly.instances[name].analyticSurface session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.analyticSurface
Note
Public Data Attributes:
A String specifying the name of the analytic surface.
A SymbolicConstant specifying the type of AnalyticSurface object.
A Float specifying radius of curvature to smooth discontinuities between adjoining segments.
An
OdbSequenceAnalyticSurfaceSegmentobject specifying the profile associated with the surface.A tuple of tuples of Floats specifying the global coordinates of points representing the local coordinate system, if used.
- filletRadius: float = 0[source]#
A Float specifying radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- localCoordData: Optional[float] = None[source]#
A tuple of tuples of Floats specifying the global coordinates of points representing the local coordinate system, if used.
- segments: OdbSequenceAnalyticSurfaceSegment = <abaqus.Odb.OdbSequenceAnalyticSurfaceSegment.OdbSequenceAnalyticSurfaceSegment object>[source]#
An
OdbSequenceAnalyticSurfaceSegmentobject specifying the profile associated with the surface.
- type: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the type of AnalyticSurface object. Possible values are SEGMENTS, CYLINDER, and REVOLUTION.
AnalyticSurfaceSegment#
- class AnalyticSurfaceSegment(type, data)[source]#
An individual segment of the analytic surface.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].analyticSurface.segments[i] session.odbs[name].rootAssembly.instances[name].analyticSurface.segments[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.analyticSurface.segments[i]
Note
Public Methods:
__init__(type, data)This method creates an AnalyticSurfaceSegment object.
- data: tuple[source]#
A sequence of sequences of Floats specifying the coordinates of point/s representing the segment of the AnalyticSurface object. If type = CIRCLE, the first row contains coordinates of the end point and the second row contains coordinates of the center point. If type = PARABOLA, the first row contains coordinates of the middle point and the second row contains coordinates of the end point. If type = START or type = LINE, a single row contains coordinates of the start/end point.
- type: SymbolicConstant[source]#
A SymbolicConstant specifying the type of AnalyticSurfaceSegment. Possible values are START, LINE, CIRCLE, and PARABOLA.
BeamOrientation#
- class BeamOrientation[source]#
The BeamOrientation object represents the direction of the first beam section axis n1n1. Specifying the beam orientation using an additional node in the element connectivity list is not supported.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].beamOrientations[i] session.odbs[name].rootAssembly.instances[name].beamOrientations[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.beamOrientations[i]
Note
Public Data Attributes:
A SymbolicConstant specifying the orientation assignment method.
An
OdbSetobject specifying a region for which the beam orientation is defined.A tuple of Floats specifying direction cosines of the n1-direction of the beam cross-section.
- method: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the orientation assignment method. Possible values are N1_COSINES, CSYS, and VECT.
BeamOrientationArray#
- BeamOrientationArray[source]#
alias of
List[BeamOrientation]
FieldBulkData#
- class FieldBulkData[source]#
The FieldBulkData object represents the entire field data for a class of elements or nodes. All elements in a class correspond to the same element type and material.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].frames[i].fieldOutputs[name].bulkDataBlocks[i]
Note
Public Data Attributes:
A SymbolicConstant specifying the position of the output in the element.
A SymbolicConstant specifying the output type.
An
OdbInstanceobject specifying the part to which the labels belong.A
SectionPointobject specifying the section point number of the current block of data.A sequence of Ints specifying the element labels of the elements in the block.
A sequence of Ints specifying the node labels of the nodes in the block.
A sequence of Strings specifying the component labels.
A sequence of Ints specifying the integration points in the elements in the block.
A tuple of Floats specifying data in the form described by type.
A tuple of Floats specifying data in the form described by type.
A sequence of Floats specifying the calculated von Mises stress at each output location in the block of element data, or NULL.
A pointer to an array of Floats specifying the quaternion representing the local coordinate system (the rotation from global to local) at each output location.
- conjugateData: tuple = ()[source]#
A tuple of Floats specifying data in the form described by type. If type = TENSOR or VECTOR, conjugateData is a sequence containing the imaginary part of the components for each element or node in the block. If the underlying data are in double precision, an exception will be thrown.
- data: tuple = ()[source]#
A tuple of Floats specifying data in the form described by type. If type = TENSOR or VECTOR, data is a sequence containing the components for each element or node in the block. If the underlying data are in double precision, an exception will be thrown.
- elementLabels: tuple = ()[source]#
A sequence of Ints specifying the element labels of the elements in the block. elementLabels is valid only if position = INTEGRATION_POINT, CENTROID, ELEMENT_NODAL, or ELEMENT_FACE.
- instance: OdbInstance = <abaqus.Odb.OdbInstance.OdbInstance object>[source]#
An
OdbInstanceobject specifying the part to which the labels belong.
- integrationPoints: tuple = ()[source]#
A sequence of Ints specifying the integration points in the elements in the block. integrationPoints is available only if position = INTEGRATION_POINT.
- localCoordSystem: Optional[float] = None[source]#
A pointer to an array of Floats specifying the quaternion representing the local coordinate system (the rotation from global to local) at each output location. The quaternion is returned in the form q=(q,q0), which is the reverse of that shown in [Rotation variables](https://help.3ds.com/2022/english/DSSIMULIA_Established/SIMACAETHERefMap/simathe-c-rotationvars.htm?ContextScope=all). localCoordSystem is available for TENSOR data written in a local coordinate system. It is also available for VECTOR data for connector element outputs. For connector element outputs the quaternion form is q=(q0,q)q=(q0,q), which represents the rotation from local to global. If the underlying data are in double precision, an exception will be thrown.
- mises: tuple = ()[source]#
A sequence of Floats specifying the calculated von Mises stress at each output location in the block of element data, or NULL. The value is valid only when the validInvariants member includes MISES; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- nodeLabels: tuple = ()[source]#
A sequence of Ints specifying the node labels of the nodes in the block. nodelabels is valid only if position = ELEMENT_NODAL or NODAL.
- position: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the position of the output in the element. Possible values are:
NODAL, specifying the values calculated at the nodes.
INTEGRATION_POINT, specifying the values calculated at the integration points.
ELEMENT_NODAL, specifying the values obtained by extrapolating results calculated at the integration points.
ELEMENT_FACE.
CENTROID, specifying the value at the centroid obtained by extrapolating results calculated at the integration points.
- sectionPoint: Optional[SectionPoint] = None[source]#
A
SectionPointobject specifying the section point number of the current block of data.
- type: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the output type. Possible values are SCALAR, VECTOR, TENSOR_3D_FULL, TENSOR_3D_PLANAR, TENSOR_3D_SURFACE, TENSOR_2D_PLANAR, and TENSOR_2D_SURFACE.
FieldLocation#
- class FieldLocation[source]#
The FieldLocation object specifies locations for which data are available in the field. For example, a displacement field will have a FieldLocation object with a position member value of NODAL. The FieldLocation object has no constructor; it is created automatically as an element of the location member of a FieldOutput object by the addData method of a FieldOutput object.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].frames[i].fieldOutputs[name].locations[i]
Note
Public Data Attributes:
A SymbolicConstant specifying the position of the output in the element.
A
SectionPointArrayobject.
- position: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the position of the output in the element. Possible values are:NODAL, specifying the values calculated at the nodes.INTEGRATION_POINT, specifying the values calculated at the integration points.ELEMENT_NODAL, specifying the values obtained by extrapolating results calculated at the integration points.ELEMENT_FACE.CENTROID, specifying the value at the centroid obtained by extrapolating results calculated at the integration points.
- sectionPoints: List[SectionPoint] = [][source]#
A
SectionPointArrayobject.
FieldLocationArray#
- FieldLocationArray[source]#
alias of
List[FieldLocation]
FieldOutput#
- class FieldOutput(*args, **kwargs)[source]#
A
FieldOutputobject contains field data for a specific output variable.Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].frames[i].fieldOutputs[name]
Note
Public Data Attributes:
An Int specifying the dimension of vector or the first dimension (number of rows) of matrix.
An Int specifying the second dimension (number of columns) of matrix.
A Boolean specifying whether the data are complex.
A
FieldLocationArrayobject.A
FieldValueArrayobject specifying the order of the objects in the array is determined by the Abaqus Scripting Interface; see the data argument to the addData method for a description of the order.A sequence of Strings specifying the labels for each component of the value.
A sequence of SymbolicConstants specifying which invariants should be calculated for this field.
A Boolean specifying whether the field is an engineering tensor or not.
Public Methods:
__init__(*args, **kwargs)addData())getSubset() ))This method generates a new vector field containing the transformed component values of the parent connector field to the node A coordinate system.
setComponentLabels(componentLabels)This method sets the component labels for the FieldOutput object.
setDataType(type)This method sets the data type of a FieldOutput object.
setValidInvariants(validInvariants)This method sets the invariants valid for the FieldOutput object.
- addData(position: SymbolicConstant, instance: OdbInstance, labels: tuple, data: tuple, sectionPoint: Optional[SectionPoint] = None, localCoordSystem: tuple = ())[source]#
- addData(field: FieldOutput)
- addData(position: SymbolicConstant, set: OdbSet, data: tuple, sectionPoint: Optional[SectionPoint] = None, conjugateData: Optional[float] = None)
- componentLabels: tuple = ()[source]#
A sequence of Strings specifying the labels for each component of the value. The length of the sequence must match the type. If type = TENSOR, the default value is name with the suffixes (‘11’, ‘22’, ‘33’, ‘12’, ‘13’, ‘23’). If type = VECTOR, the default value is name with the suffixes (‘1’, ‘2’, ‘3’). If type = SCALAR, the default value is an empty sequence.
- description: str[source]#
) should not be used as a part of the field output description.
- Type:
A String specifying the output variable. Colon (
- dim: Optional[int] = None[source]#
An Int specifying the dimension of vector or the first dimension (number of rows) of matrix.
- dim2: Optional[int] = None[source]#
An Int specifying the second dimension (number of columns) of matrix.
- getConnectorFieldXformedToNodeA(deformationField=None)[source]#
This method generates a new vector field containing the transformed component values of the parent connector field to the node A coordinate system. The new field will hold values for the same connector elements as the parent field. Some connection types such as Axial, Link, Slip Ring, and Radial Thrust require that the deformationField be specified.
- Parameters:
deformationField (
Optional[FieldOutput], default:None) – AFieldOutputobject specifying the nodal displacement vectors required by moving coordinate systems to determine instantaneous configurations.- Returns:
A
FieldOutputobject.- Return type:
- Raises:
odbException – The getConnectorFieldXformedToNodeA method throws an exception if the field requires a deformationField and the argument is not supplied.
- getScalarField(invariant: SymbolicConstant)[source]#
- getScalarField(componentLabel: str)
- getSubset(position: Optional[SymbolicConstant] = None, readOnly: Union[AbaqusBoolean, bool] = OFF)[source]#
- getSubset(region: str = '')
- getSubset(localCoordSystem: tuple = ())
- getSubset(sectionPoint: Optional[SectionPoint] = None)
- getSubset(location: FieldLocation = FieldLocation())
- getSubset(region: str = '')
- getSubset(region: str = '')
- getSubset(region: str = '')
- getSubset(elementType: str = '')
- getTransformedField(datumCsys: str, projected22Axis: Optional[int] = None, projectionTol: str = '')[source]#
- getTransformedField(datumCsys: str, deformationField: Optional[FieldOutput] = None, projected22Axis: Optional[int] = None, projectionTol: str = '')
- getTransformedField(datumCsys: str, deformationField: Optional[FieldOutput] = None, rotationField: Optional[FieldOutput] = None, projected22Axis: Optional[int] = None, projectionTol: str = '')
- isComplex: Union[AbaqusBoolean, bool] = OFF[source]#
A Boolean specifying whether the data are complex.
- isEngineeringTensor: Union[AbaqusBoolean, bool] = OFF[source]#
A Boolean specifying whether the field is an engineering tensor or not. Setting isEngineeringTensor to true makes a tensor field behave as a strain like quantity where the off-diagonal components of tensor are halved for invariants computation. This parameter applies only to tensor field outputs. The default value is OFF.
- locations: List[FieldLocation] = [][source]#
A
FieldLocationArrayobject.
- setComponentLabels(componentLabels)[source]#
This method sets the component labels for the FieldOutput object.
- Parameters:
componentLabels (
tuple) – A sequence of Strings specifying the labels for each component of the value. The length of the sequence must match the type. If type = TENSOR, the default value is name with the suffixes (‘11’, ‘22’, ‘33’, ‘12’, ‘13’, ‘23’). If type = VECTOR, the default value is name with the suffixes (‘1’, ‘2’, ‘3’). If type = SCALAR, the default value is an empty sequence.
- setDataType(type)[source]#
This method sets the data type of a FieldOutput object.
Note
- Parameters:
type (
SymbolicConstant) – A SymbolicConstant specifying the output type. Possible values are SCALAR, VECTOR, TENSOR_3D_FULL, TENSOR_3D_PLANAR, TENSOR_3D_SURFACE, TENSOR_2D_PLANAR, and TENSOR_2D_SURFACE.
- setValidInvariants(validInvariants)[source]#
This method sets the invariants valid for the FieldOutput object.
- Parameters:
validInvariants (
SymbolicConstant) –A sequence of SymbolicConstants specifying which invariants should be calculated for this field. An empty sequence indicates that no invariants are valid for this field. Possible values are:
MAGNITUDE
MISES
TRESCA
PRESS
INV3
MAX_PRINCIPAL
MID_PRINCIPAL
MIN_PRINCIPAL
MAX_INPLANE_PRINCIPAL
MIN_INPLANE_PRINCIPAL
OUTOFPLANE_PRINCIPAL
The default value is an empty sequence.
- type: SymbolicConstant[source]#
A SymbolicConstant specifying the output type. Possible values are SCALAR, VECTOR, TENSOR_3D_FULL, TENSOR_3D_PLANAR, TENSOR_3D_SURFACE, TENSOR_2D_PLANAR, and TENSOR_2D_SURFACE.
- validInvariants: Optional[SymbolicConstant] = None[source]#
A sequence of SymbolicConstants specifying which invariants should be calculated for this field. An empty sequence indicates that no invariants are valid for this field. Possible values are:MAGNITUDEMISESTRESCAPRESSINV3MAX_PRINCIPALMID_PRINCIPALMIN_PRINCIPALMAX_INPLANE_PRINCIPALMIN_INPLANE_PRINCIPALOUTOFPLANE_PRINCIPALThe default value is an empty sequence.
- values: Optional[List[FieldValue]] = None[source]#
A
FieldValueArrayobject specifying the order of the objects in the array is determined by the Abaqus Scripting Interface; see the data argument to the addData method for a description of the order.
FieldValue#
- class FieldValue[source]#
The FieldValue object represents the field data at a point. The FieldValue object has no constructor; it is created by the Odb object when data are added to the FieldOutput object using the addData method. For faster, bulk-data access, see Using bulk data access to an output database.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i]
Note
Public Data Attributes:
A SymbolicConstant specifying the position of the output in the element.
A SymbolicConstant specifying the precision of the output in the element.
An Int specifying the element label of the element containing the location.
An Int specifying the node label of the node containing the location.
An Int specifying the integration point in the element.
A SymbolicConstant specifying the face of the element.
A SymbolicConstant specifying the output type.
A Float specifying the length or magnitude of the vector.
A Float specifying the calculated von Mises stress.
A Float specifying the calculated Tresca stress.
A Float specifying the calculated pressure stress.
A Float specifying the calculated third stress invariant.
A Float specifying the calculated maximum principal stress.
A Float specifying the calculated intermediate principal stress.
A Float specifying the minimum principal stress.
A Float specifying the maximum principal in-plane stress.
A Float specifying the calculated minimum principal in-plane stress.
A Float specifying the calculated principal out-of-plane stress.
An
OdbInstanceobject specifying the part to which the labels belong.A
SectionPointobject.A tuple of tuples of Floats specifying the 3 × 3 matrix of Floats specifying the direction cosines of the local coordinate system (the rotation from global to local).
A tuple of tuples of Floats specifying the 3 × 3 matrix of Doubles specifying the direction cosines of the local coordinate system (the rotation from global to local).
A tuple of Floats specifying data in the form described by type.
A tuple of Floats specifying data in the form described by type.
A tuple of Floats specifying data in the form described by type.
A tuple of Floats specifying data in the form described by type.
- conjugateData: tuple = ()[source]#
A tuple of Floats specifying data in the form described by type. If type = TENSOR or VECTOR, conjugateData is a sequence containing the components. If the underlying data are in double precision, an exception will be thrown.
- conjugateDataDouble: tuple = ()[source]#
A tuple of Floats specifying data in the form described by type. If type = TENSOR or VECTOR, conjugateData is a sequence containing the components. If the underlying data are in single precision, an exception will be thrown.
- data: tuple = ()[source]#
A tuple of Floats specifying data in the form described by type. If type = TENSOR or VECTOR, data is a sequence containing the components. If the underlying data are in double precision an exception will be thrown.
- dataDouble: tuple = ()[source]#
A tuple of Floats specifying data in the form described by type. If type = TENSOR or VECTOR, data is a sequence containing the components. If the underlying data are in single precision, an exception will be thrown.
- elementLabel: Optional[int] = None[source]#
An Int specifying the element label of the element containing the location. elementLabel is available only if position = INTEGRATION_POINT, CENTROID, ELEMENT_NODAL, or ELEMENT_FACE.
- face: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the face of the element. face is available only if position = ELEMENT_FACE.
- instance: OdbInstance = <abaqus.Odb.OdbInstance.OdbInstance object>[source]#
An
OdbInstanceobject specifying the part to which the labels belong.
- integrationPoint: Optional[int] = None[source]#
An Int specifying the integration point in the element. integrationPoint is available only if position = INTEGRATION_POINT.
- inv3: Optional[float] = None[source]#
A Float specifying the calculated third stress invariant. The value is valid only when the validInvariants member includes INV3; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- localCoordSystem: tuple = ()[source]#
A tuple of tuples of Floats specifying the 3 × 3 matrix of Floats specifying the direction cosines of the local coordinate system (the rotation from global to local). Each sequence represents a row in the direction cosine matrix. localCoordSystem is available for TENSOR data written in a local coordinate system. It is also available for VECTOR data for connector element outputs. For connector element outputs the rotation is from local to global. If the underlying data are in double precision, an exception will be thrown.
- localCoordSystemDouble: tuple = ()[source]#
A tuple of tuples of Floats specifying the 3 × 3 matrix of Doubles specifying the direction cosines of the local coordinate system (the rotation from global to local). Each sequence represents a row in the direction cosine matrix. localCoordSystemDouble is available for TENSOR data written in a local coordinate system. It is also available for VECTOR data for connector element outputs. For connector element outputs the rotation is from local to global. If the underlying data are in single precision, an exception will be thrown.
- magnitude: Optional[float] = None[source]#
A Float specifying the length or magnitude of the vector. magnitude is valid only when type = VECTOR.
- maxInPlanePrincipal: Optional[float] = None[source]#
A Float specifying the maximum principal in-plane stress. The value is valid only when the validInvariants member includes MAX_INPLANE_PRINCIPAL; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- maxPrincipal: Optional[float] = None[source]#
A Float specifying the calculated maximum principal stress. The value is valid only when the validInvariants member includes MAX_PRINCIPAL; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- midPrincipal: Optional[float] = None[source]#
A Float specifying the calculated intermediate principal stress. The value is valid only when the validInvariants member includes MID_PRINCIPAL; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- minInPlanePrincipal: Optional[float] = None[source]#
A Float specifying the calculated minimum principal in-plane stress. The value is valid only when the validInvariants member includes MIN_INPLANE_PRINCIPAL; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- minPrincipal: Optional[float] = None[source]#
A Float specifying the minimum principal stress. The value is valid only when the validInvariants member includes MIN_PRINCIPAL; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- mises: Optional[float] = None[source]#
A Float specifying the calculated von Mises stress. The value is valid only when the validInvariants member includes MISES; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- nodeLabel: Optional[int] = None[source]#
An Int specifying the node label of the node containing the location. nodelabel is available only if position = ELEMENT_NODAL or NODAL.
- outOfPlanePrincipal: Optional[float] = None[source]#
A Float specifying the calculated principal out-of-plane stress. The value is valid only when the validInvariants member includes OUTOFPLANE_PRINCIPAL; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- position: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the position of the output in the element. Possible values are:
NODAL, specifying the values calculated at the nodes.
INTEGRATION_POINT, specifying the values calculated at the integration points.
ELEMENT_NODAL, specifying the values obtained by extrapolating results calculated at the integration points.
ELEMENT_FACE, specifying the results obtained for surface variables such as cavity radiation that are defined for the surface facets of an element.
CENTROID, specifying the value at the centroid obtained by extrapolating results calculated at the integration points.
- precision: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the precision of the output in the element. Possible values are:
SINGLE_PRECISION, specifying that the output values are in single precision.
DOUBLE_PRECISION, specifying that the output values are in double precision.
- press: Optional[float] = None[source]#
A Float specifying the calculated pressure stress. The value is valid only when the validInvariants member includes PRESS; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- sectionPoint: Optional[SectionPoint] = None[source]#
A
SectionPointobject.
- tresca: Optional[float] = None[source]#
A Float specifying the calculated Tresca stress. The value is valid only when the validInvariants member includes TRESCA; otherwise, the value is indeterminate. Conjugate data will be ignored in invariant calculation.
- type: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the output type. Possible values are SCALAR, VECTOR, TENSOR_3D_FULL, TENSOR_3D_PLANAR, TENSOR_3D_SURFACE, TENSOR_2D_PLANAR, and TENSOR_2D_SURFACE.
FieldValueArray#
- FieldValueArray[source]#
alias of
List[FieldValue]
HistoryOutput#
- class HistoryOutput(name, description, type, validInvariants=None)[source]#
The HistoryOutput object contains the history output at a point for the specified variable.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].historyRegions[name].historyOutputs[name]
Note
Public Data Attributes:
A tuple of pairs of Floats specifying the pairs (frameValue, value) where frameValue is either time, frequency, or mode and value is the value of the specified variable at frameValue.
A tuple of pairs of Floats specifying the imaginary portion of a specified complex variable at each frame value (time, frequency, or mode).
A sequence of SymbolicConstants specifying which invariants should be calculated for this field.
Public Methods:
__init__(name, description, type[, ...])This method creates a HistoryOutput object.
addData()
- addData(frame: str, value: str) None[source]#
- addData(frame: tuple, value: tuple) None
- addData(data: tuple) None
- conjugateData: Optional[float] = None[source]#
A tuple of pairs of Floats specifying the imaginary portion of a specified complex variable at each frame value (time, frequency, or mode). The pairs have the form (frameValue, value).
- data: Optional[float] = None[source]#
A tuple of pairs of Floats specifying the pairs (frameValue, value) where frameValue is either time, frequency, or mode and value is the value of the specified variable at frameValue. (This value depends on the type of the variable.)
- type: SymbolicConstant[source]#
A SymbolicConstant specifying the output type. Only SCALAR is currently supported.
- validInvariants: Optional[SymbolicConstant] = None[source]#
A sequence of SymbolicConstants specifying which invariants should be calculated for this field. Possible values are MAGNITUDE, MISES, TRESCA, PRESS, INV3, MAX_PRINCIPAL, MID_PRINCIPAL, and MIN_PRINCIPAL. The default value is an empty sequence.
HistoryPoint#
- class HistoryPoint(*args, **kwargs)[source]#
The HistoryPoint object specifies the point at which history data will be collected. The HistoryPoint object is a temporary object used as an argument to the HistoryRegion method.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].historyRegions[name].point
Note
Public Data Attributes:
An Int specifying the integration point.
A SymbolicConstant specifying the element face.
A SymbolicConstant specifying the result position of the history point.
An
OdbMeshElementobject specifying the element for which the data are to be collected.A
SectionPointobject.An
OdbSetobject specifying the region for which the data are to be collected.An
OdbAssemblyobject specifying the assembly for which the data are to be collected.An
OdbInstanceobject specifying the instance for which the data are to be collected.Public Methods:
__init__(*args, **kwargs)
- assembly: OdbAssembly = <abaqus.Odb.OdbAssembly.OdbAssembly object>[source]#
An
OdbAssemblyobject specifying the assembly for which the data are to be collected.
- element: OdbMeshElement = <abaqus.Odb.OdbMeshElement.OdbMeshElement object>[source]#
An
OdbMeshElementobject specifying the element for which the data are to be collected.
- face: SymbolicConstant = FACE_UNKNOWN[source]#
A SymbolicConstant specifying the element face. This argument is used to define a history output position of ELEMENT_FACE or ELEMENT_FACE_INTEGRATION_POINT. Possible values are:
FACE_UNKOWN, specifying this value indicates that no value has been specified.
FACE1, specifying this value indicates that element face 1 has been specified.
FACE2, specifying this value indicates that element face 2 has been specified.
FACE3, specifying this value indicates that element face 3 has been specified.
FACE4, specifying this value indicates that element face 4 has been specified.
FACE5, specifying this value indicates that element face 5 has been specified.
FACE6, specifying this value indicates that element face 6 has been specified.
SIDE1, specifying this value indicates that element side 1 has been specified.
SIDE2, specifying this value indicates element side 2 has been specified.
END1, specifying this value indicates that element end 1 has been specified.
END2, specifying this value indicates that element end 2 has been specified.
END3, specifying this value indicates that element end 3 has been specified.
The default value is FACE_UNKNOWN.
- instance: OdbInstance = <abaqus.Odb.OdbInstance.OdbInstance object>[source]#
An
OdbInstanceobject specifying the instance for which the data are to be collected.
- ipNumber: int = 0[source]#
An Int specifying the integration point. This argument is used to define a history output position of INTEGRATION_POINT or ELEMENT_FACE_INTEGRATION_POINT. The default value is 0.
- node: OdbMeshNode[source]#
An
OdbMeshNodeobject specifying the node for which the data are to be collected.
- position: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the result position of the history point. Possible values are:
NODAL, specifying the values calculated at the nodes.
ELEMENT_NODAL, specifying the values obtained by extrapolating results calculated at the integration points.
INTEGRATION_POINT, specifying the values calculated at the integration points.
ELEMENT_FACE, specifying the results obtained for surface variables such as cavity radiation that are defined for the surface facets of an element.
ELEMENT_FACE_INTEGRATION_POINT, specifying the results obtained for surface variables such as cavity radiation that are defined for the surface facets of an element when the surface facets have integration points.
WHOLE_ELEMENT, specifying the results obtained for whole element variables.
WHOLE_REGION, specifying the results for an entire region of the model.
WHOLE_PART_INSTANCE, specifying the results for an entire part instance of the model.
WHOLE_MODEL, specifying the results for the entire model.
- region: OdbSet = <abaqus.Odb.OdbSet.OdbSet object>[source]#
An
OdbSetobject specifying the region for which the data are to be collected.
- sectionPoint: Optional[SectionPoint] = None[source]#
A
SectionPointobject.
HistoryRegion#
- class HistoryRegion(name, description, point, loadCase=None)[source]#
The HistoryRegion object contains history data for a single location in the model.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].historyRegions[name]
Note
Public Data Attributes:
A SymbolicConstant specifying the position of the history output.
A repository of HistoryOutput objects.
None or an OdbLoadCase object specifying the load case associated with the HistoryRegion object.
Public Methods:
__init__(name, description, point[, loadCase])This method creates a HistoryRegion object.
HistoryOutput(name, description, type[, ...])This method creates a HistoryOutput object.
- HistoryOutput(name, description, type, validInvariants=None)[source]#
This method creates a HistoryOutput object.
Note
This function can be accessed by:
session.odbs[name].steps[name].HistoryRegion
- Parameters:
name (
str) – A String specifying the output variable name.description (
str) – A String specifying the output variable.type (
Literal[SCALAR]) – A SymbolicConstant specifying the output type. Only SCALAR is currently supported.validInvariants (
Optional[SymbolicConstant], default:None) – A sequence of SymbolicConstants specifying which invariants should be calculated for this field. Possible values are MAGNITUDE, MISES, TRESCA, PRESS, INV3, MAX_PRINCIPAL, MID_PRINCIPAL, and MIN_PRINCIPAL. The default value is an empty sequence.
- Returns:
A
HistoryOutputobject.- Return type:
- getSubset(variableName: str) HistoryRegion[source]#
- getSubset(start: float) HistoryRegion
- getSubset(start: float, end: float) HistoryRegion
- historyOutputs: Dict[str, HistoryOutput] = {}[source]#
A repository of HistoryOutput objects.
- loadCase: Optional[str] = None[source]#
None or an OdbLoadCase object specifying the load case associated with the HistoryRegion object. The default value is None.
- point: HistoryPoint[source]#
A
HistoryPointobject specifying the point to which the history data refer.
- position: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the position of the history output. Possible values are NODAL, INTEGRATION_POINT, WHOLE_ELEMENT, WHOLE_REGION, and WHOLE_MODEL.
JobData#
- class JobData[source]#
The JobData object describes the context in which the analysis was run.
Note
This object can be accessed by:
import odbAccess session.odbs[name].jobData
Note
Check JobData on help.3ds.com/0.1..
Public Data Attributes:
A String specifying the name of the job.
A SymbolicConstant specifying the analysis code.
A SymbolicConstant specifying the precision.
A String specifying the release of the analysis code.
A String specifying the date and time at which the analysis was run.
A String specifying the date and time at which the database was last modified.
A String specifying the name of the machine on which the analysis was run.
A String specifying an odb_Sequence of productAddOns.
- analysisCode: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the analysis code. Possible values are ABAQUS_STANDARD, ABAQUS_EXPLICIT, and UNKNOWN_ANALYSIS_CODE.
- creationTime: str = ''[source]#
A String specifying the date and time at which the analysis was run.
- machineName: str = ''[source]#
A String specifying the name of the machine on which the analysis was run.
- modificationTime: str = ''[source]#
A String specifying the date and time at which the database was last modified.
- precision: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the precision. Only SINGLE_PRECISION is currently supported. Possible values are DOUBLE_PRECISION and SINGLE_PRECISION.
OdbAssembly#
- class OdbAssembly[source]#
Public Data Attributes:
Inherited from
OdbAssemblyBaseA repository of OdbInstance objects.
A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
An
OdbMeshNodeArrayobject.An
OdbMeshElementArrayobject.A repository of OdbDatumCsys objects.
A
SectionAssignmentArrayobject.An
OdbRigidBodyArrayobject.An
OdbPretensionSectionArrayobject.A
ConnectorOrientationArrayobject.Public Methods:
DatumCsysByThreePoints(name, coordSysType, ...)This method creates an OdbDatumCsys object using three points.
DatumCsysByThreeNodes(name, coordSysType, ...)This method creates an OdbDatumCsys object using the coordinates of three OdbMeshNode objects.
DatumCsysByThreeCircNodes(name, ...)This method is convenient to use where there are no nodes along the axis of a hollow cylinder or at the center of a hollow sphere.
DatumCsysBy6dofNode(name, coordSysType, origin)A datum coordinate system created with this method results in a system that follows the position of a node.
DatumCsys(name, datumCsys)This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.
Instance(name, object[, localCoordSystem])This method creates an OdbInstance object from an OdbPart object.
RigidBody(referenceNode[, position, ...])This method creates a OdbRigidBody object.
NodeSet(name, nodes)This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
Inherited from
OdbAssemblyBaseConnectorOrientation(region[, localCsys1, ...])This method assigns a connector orientation to a connector region.
SectionAssignment(region, section)This method is used to assign a section on an assembly or part.
addElements(labels, connectivity, ...[, ...])This method is used to define elements using nodes defined at the OdbAssembly and/or OdbInstance level.
addNodes(labels, coordinates[, nodeSetName])This method adds nodes to the OdbAssembly object using node labels and coordinates.
RigidBody(referenceNode[, position, ...])This method creates a OdbRigidBody object.
- ConnectorOrientation(region, localCsys1=None, axis1=abaqusConstants.AXIS_1, angle1=0, orient2sameAs1=OFF, localCsys2=None, axis2=abaqusConstants.AXIS_1, angle2=0)[source]#
This method assigns a connector orientation to a connector region.
Note
- Parameters:
region (
str) – An OdbSet specifying a region.localCsys1 (
Optional[OdbDatumCsys], default:None) – AnOdbDatumCsysobject specifying the first connector node local coordinate system or None, indicating the global coordinate system.axis1 (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the first connector node is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle1 (
float, default:0) – A Float specifying the angle of the additional rotation about the first connector node axis. The default value is 0.0.orient2sameAs1 (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the same orientation settings should be used for the second node of the connector. The default value is OFF.localCsys2 (
Optional[OdbDatumCsys], default:None) – AnOdbDatumCsysobject specifying the second connector node local coordinate system or None, indicating the global coordinate system.axis2 (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the second connector node is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle2 (
float, default:0) – A Float specifying the angle of the additional rotation about the second connector node axis. The default value is 0.0.
- Raises:
OdbError – If region is not an element set.
- DatumCsys(name, datumCsys)[source]#
This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsys
Note
- Parameters:
name (
str) – A String specifying the repository key.datumCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the object to be copied.
- Returns:
An
OdbDatumCsysobject.- Return type:
OdbDatumCsys
- DatumCsysBy6dofNode(name, coordSysType, origin)[source]#
A datum coordinate system created with this method results in a system that follows the position of a node. The node location defines the origin of the datum coordinate system. The rotational displacement (UR1, UR2, UR3) of the node defines the orientation of the coordinate system axes. Results, such as those for displacement, are resolved into the orientation of the datum coordinate system without regard to the position of its origin. The last argument is given in the form of an OdbMeshNode object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysBy6dofNode
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.origin (
OdbMeshNode) – AnOdbMeshNodeobject specifying the origin of the datum coordinate system.
- Returns:
An
OdbDatumCsysobject.- Return type:
OdbDatumCsys
- DatumCsysByThreeCircNodes(name, coordSysType, node1Arc, node2Arc, node3Arc)[source]#
This method is convenient to use where there are no nodes along the axis of a hollow cylinder or at the center of a hollow sphere. The three nodes that you provide as arguments determine a circle in space. The center of the circle is the origin of the datum coordinate system. The normal to the circle is parallel to the zz-axis of a cylindrical coordinate system or to the ϕϕ-axis of a spherical coordinate system. The line from the origin to the first node defines the rr-axis.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreeCircNodes
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.node1Arc (
OdbMeshNode) – AnOdbMeshNodeobject that lies on the circular arc.node2Arc (
OdbMeshNode) – AnOdbMeshNodeobject that lies on the circular arc.node3Arc (
OdbMeshNode) – AnOdbMeshNodeobject that lies on the circular arc.
- Returns:
An
OdbDatumCsysobject.- Return type:
OdbDatumCsys
- DatumCsysByThreeNodes(name, coordSysType, origin, point1, point2)[source]#
This method creates an OdbDatumCsys object using the coordinates of three OdbMeshNode objects. A datum coordinate system created with this method results in a system that follows the position of the three nodes. Results, such as those for displacement, are resolved into the orientation of the datum coordinate system without regard to the position of its origin. The last three arguments are given in the form of an OdbMeshNode object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreeNodes
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.origin (
OdbMeshNode) – AnOdbMeshNodeobject specifying a node at the origin of the datum coordinate system.point1 (
OdbMeshNode) – AnOdbMeshNodeobject specifying a node on the local 1- or rr-axis.point2 (
OdbMeshNode) – AnOdbMeshNodeobject specifying a node in the 1-2 or rr-θθ plane.
- Returns:
An
OdbDatumCsysobject.- Return type:
OdbDatumCsys
- DatumCsysByThreePoints(name, coordSysType, origin, point1, point2)[source]#
This method creates an OdbDatumCsys object using three points. A datum coordinate system created with this method results in a fixed system.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.origin (
tuple) – A sequence of Floats specifying the coordinates of the origin of the datum coordinate system.point1 (
tuple) – A sequence of Floats specifying the coordinates of a point on the local 1- or rr-axis.point2 (
tuple) – A sequence of Floats specifying the coordinates of a point in the 1-2 or rr-θθ plane.
- Returns:
An
OdbDatumCsysobject.- Return type:
OdbDatumCsys
- Instance(name, object, localCoordSystem=())[source]#
This method creates an OdbInstance object from an OdbPart object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.Instance
Note
- Parameters:
name (
str) – A String specifying the instance name.localCoordSystem (
tuple, default:()) – A sequence of sequences of three Floats specifying the rotation and translation of the part instance in the global Cartesian coordinate system. The first three sequences specify the new local coordinate system with its center at the origin.The first sequence specifies a point on the 1-axis.The second sequence specifies a point on the 2-axis.The third sequence specifies a point on the 3-axis.The fourth sequence specifies the translation of the local coordinate system from the origin to its intended location.For example, the following sequence moves a part 10 units in the X-direction with no rotation:localCoordSystem = ((1, 0, 0), (0, 1, 0), (0, 0, 1), (10, 0, 0))`The following sequence moves a part 5 units in the **X**-direction with rotation: `localCoordSystem = ((0, 1, 0), (1, 0, 0), (0, 0, 1), (5, 0, 0))`transforms a part containing the two points`Pt1= (1,0,0) Pt2= (2,0,0) to Pt1 = (0, 6, 0) Pt2 = (0, 7, 0)
- Returns:
An
OdbInstanceobject.- Return type:
OdbInstance
- NodeSet(name, nodes)[source]#
This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
Check NodeSet on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.nodes (
Tuple[OdbMeshNode,...]) – A sequence of OdbMeshNode objects. For example, for a part:nodes=part1.nodes[1:5]`For an assembly:`nodes=(instance1.nodes[6:7], instance2.nodes[1:5])
- Returns:
An
OdbSetobject.- Return type:
OdbSet
- RigidBody(referenceNode, position=abaqusConstants.INPUT, isothermal=ON, elements=<abaqus.Odb.OdbSet.OdbSet object>, tieNodes=<abaqus.Odb.OdbSet.OdbSet object>, pinNodes=<abaqus.Odb.OdbSet.OdbSet object>, analyticSurface=None)[source]#
This method creates a OdbRigidBody object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.instances[name].RigidBody session.odbs[name].rootAssembly.RigidBody
Note
- Parameters:
referenceNode (
OdbSet) – AnOdbSetobject specifying the reference node set associated with the rigid body.position (
SymbolicConstant, default:INPUT) – A SymbolicConstant specifying the specific location of the OdbRigidBody reference node relative to the rest of the rigid body. Possible values are INPUT and CENTER_OF_MASS. The default value is INPUT.isothermal (
Union[AbaqusBoolean,bool], default:ON) – A Boolean specifying specify whether the OdbRigidBody can have temperature gradients or be isothermal. This is used only for fully coupled thermal-stress analysis The default value is ON.elements (
OdbSet, default:<abaqus.Odb.OdbSet.OdbSet object at 0x7f350e0fd4e0>) – AnOdbSetobject specifying the element set whose motion is governed by the motion of rigid body reference node.tieNodes (
OdbSet, default:<abaqus.Odb.OdbSet.OdbSet object at 0x7f350e0fd870>) – AnOdbSetobject specifying the node set which have both translational and rotational degrees of freedom associated with the rigid body.pinNodes (
OdbSet, default:<abaqus.Odb.OdbSet.OdbSet object at 0x7f350e0fd3f0>) – AnOdbSetobject specifying the node set which have only translational degrees of freedom associated with the rigid body.analyticSurface (
Optional[AnalyticSurface], default:None) – AnAnalyticSurfaceobject specifying the analytic surface whose motion is governed by the motion of rigid body reference node.
- Returns:
An
OdbRigidBodyobject.- Return type:
OdbRigidBody
- SectionAssignment(region, section)[source]#
This method is used to assign a section on an assembly or part. Section assignment on the assembly is limited to the connector elements only.
Note
- addElements(labels, connectivity, instanceNames, type, elementSetName='', sectionCategory=None)[source]#
This method is used to define elements using nodes defined at the OdbAssembly and/or OdbInstance level. For connector elements connected to ground, specify the lone node in the connectivity. The position of the ground node cannot be specified. This is a limitation. Warning:Adding elements not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Note
- Parameters:
labels (
tuple) – A sequence of Ints specifying the element labels.connectivity (
tuple) – A sequence of sequences of Ints specifying the nodal connectivity.instanceNames (
tuple) – A sequence of Strings specifying the instanceNames of each node in the nodal connectivity array. If the node is defined at the assembly level, the instance name should be an empty stringtype (
str) – A String specifying the element type.elementSetName (
str, default:'') – A String specifying a name for this element set. The default value is the empty string.sectionCategory (
Optional[SectionCategory], default:None) – ASectionCategoryobject for this element set.
- Raises:
OdbError – Only certain element types are permitted at the assembly level. e.g., connector elements.
OdbError – If length of label array does not match connectivity data length.
- addNodes(labels, coordinates, nodeSetName=None)[source]#
This method adds nodes to the OdbAssembly object using node labels and coordinates. Warning:Adding nodes not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Note
- Parameters:
- Raises:
OdbError – If length of labels does not match length of coordinates.
OdbError – If width of coordinate array does not match assembly dimension.
- connectorOrientations: ConnectorOrientationArray = [][source]#
A
ConnectorOrientationArrayobject.
- datumCsyses: Dict[str, OdbDatumCsys] = {}[source]#
A repository of OdbDatumCsys objects.
- elementSets: Dict[str, OdbSet] = {}[source]#
A repository of OdbSet objects specifying element sets.
- elements: OdbMeshElementArray = [][source]#
An
OdbMeshElementArrayobject.
- instances: Dict[str, OdbInstance] = {}[source]#
A repository of OdbInstance objects.
- nodes: OdbMeshNodeArray = [][source]#
An
OdbMeshNodeArrayobject.
- pretensionSections: OdbPretensionSectionArray = [][source]#
An
OdbPretensionSectionArrayobject.
- rigidBodies: OdbRigidBodyArray = [][source]#
An
OdbRigidBodyArrayobject.
- sectionAssignments: SectionAssignmentArray = [][source]#
A
SectionAssignmentArrayobject.
OdbAssemblyBase#
- class OdbAssemblyBase[source]#
The OdbAssembly object has no constructor; it is created automatically when an Odb object is created. Abaqus creates the rootAssembly member when an Odb object is created.
Note
This object can be accessed by:
import odbAccess session.odbs[name].rootAssembly
Note
Public Data Attributes:
A repository of OdbInstance objects.
A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
An
OdbMeshNodeArrayobject.An
OdbMeshElementArrayobject.A repository of OdbDatumCsys objects.
A
SectionAssignmentArrayobject.An
OdbRigidBodyArrayobject.An
OdbPretensionSectionArrayobject.A
ConnectorOrientationArrayobject.Public Methods:
ConnectorOrientation(region[, localCsys1, ...])This method assigns a connector orientation to a connector region.
SectionAssignment(region, section)This method is used to assign a section on an assembly or part.
addElements(labels, connectivity, ...[, ...])This method is used to define elements using nodes defined at the OdbAssembly and/or OdbInstance level.
addNodes(labels, coordinates[, nodeSetName])This method adds nodes to the OdbAssembly object using node labels and coordinates.
RigidBody(referenceNode[, position, ...])This method defines an OdbRigidBody on the assembly.
- ConnectorOrientation(region, localCsys1=None, axis1=abaqusConstants.AXIS_1, angle1=0, orient2sameAs1=OFF, localCsys2=None, axis2=abaqusConstants.AXIS_1, angle2=0)[source]#
This method assigns a connector orientation to a connector region.
Note
- Parameters:
region (
str) – An OdbSet specifying a region.localCsys1 (
Optional[OdbDatumCsys], default:None) – AnOdbDatumCsysobject specifying the first connector node local coordinate system or None, indicating the global coordinate system.axis1 (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the first connector node is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle1 (
float, default:0) – A Float specifying the angle of the additional rotation about the first connector node axis. The default value is 0.0.orient2sameAs1 (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the same orientation settings should be used for the second node of the connector. The default value is OFF.localCsys2 (
Optional[OdbDatumCsys], default:None) – AnOdbDatumCsysobject specifying the second connector node local coordinate system or None, indicating the global coordinate system.axis2 (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation of the second connector node is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle2 (
float, default:0) – A Float specifying the angle of the additional rotation about the second connector node axis. The default value is 0.0.
- Raises:
OdbError – If region is not an element set.
- RigidBody(referenceNode, position=abaqusConstants.INPUT, isothermal=OFF, elset='', pinNodes='', tieNodes='', analyticSurface='')[source]#
This method defines an OdbRigidBody on the assembly.
Note
- Parameters:
referenceNode (
str) – An OdbSet specifying the reference node assigned to the rigid body.position (
str, default:INPUT) – A symbolic constant specify if the location of the reference node is to be defined by the user. Possible values are INPUT and CENTER_OF_MASS. The default value is INPUT.isothermal (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying an isothermal rigid body. The default value is OFF. This parameter is used only for a fully coupled thermal stress analysis.elset (
str, default:'') – An OdbSet specifying an element set assigned to the rigid body.pinNodes (
str, default:'') – An OdbSet specifying pin-type nodes assigned to the rigid body.tieNodes (
str, default:'') – An OdbSet specifying tie-type nodes assigned to the rigid body.analyticSurface (
str, default:'') – An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.
- Raises:
OdbError – If referenceNode is not a node set
- SectionAssignment(region, section)[source]#
This method is used to assign a section on an assembly or part. Section assignment on the assembly is limited to the connector elements only.
Note
- addElements(labels, connectivity, instanceNames, type, elementSetName='', sectionCategory=None)[source]#
This method is used to define elements using nodes defined at the OdbAssembly and/or OdbInstance level. For connector elements connected to ground, specify the lone node in the connectivity. The position of the ground node cannot be specified. This is a limitation. Warning:Adding elements not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Note
- Parameters:
labels (
tuple) – A sequence of Ints specifying the element labels.connectivity (
tuple) – A sequence of sequences of Ints specifying the nodal connectivity.instanceNames (
tuple) – A sequence of Strings specifying the instanceNames of each node in the nodal connectivity array. If the node is defined at the assembly level, the instance name should be an empty stringtype (
str) – A String specifying the element type.elementSetName (
str, default:'') – A String specifying a name for this element set. The default value is the empty string.sectionCategory (
Optional[SectionCategory], default:None) – ASectionCategoryobject for this element set.
- Raises:
OdbError – Only certain element types are permitted at the assembly level. e.g., connector elements.
OdbError – If length of label array does not match connectivity data length.
- addNodes(labels, coordinates, nodeSetName=None)[source]#
This method adds nodes to the OdbAssembly object using node labels and coordinates. Warning:Adding nodes not in ascending order of their labels may cause Abaqus/Viewer to plot contours incorrectly.
Note
- Parameters:
- Raises:
OdbError – If length of labels does not match length of coordinates.
OdbError – If width of coordinate array does not match assembly dimension.
- connectorOrientations: List[ConnectorOrientation] = [][source]#
A
ConnectorOrientationArrayobject.
- datumCsyses: Dict[str, OdbDatumCsys] = {}[source]#
A repository of OdbDatumCsys objects.
- elementSets: Dict[str, OdbSet] = {}[source]#
A repository of OdbSet objects specifying element sets.
- elements: List[OdbMeshElement] = [][source]#
An
OdbMeshElementArrayobject.
- instances: Dict[str, OdbInstance] = {}[source]#
A repository of OdbInstance objects.
- nodes: List[OdbMeshNode] = [][source]#
An
OdbMeshNodeArrayobject.
- pretensionSections: List[OdbPretensionSection] = [][source]#
An
OdbPretensionSectionArrayobject.
- rigidBodies: List[OdbRigidBody] = [][source]#
An
OdbRigidBodyArrayobject.
- sectionAssignments: List[SectionAssignment] = [][source]#
A
SectionAssignmentArrayobject.
OdbCommands#
- AnalyticSurfaceProfile()[source]#
This method creates a OdbSequenceAnalyticSurfaceSegment object.
Path:
odbAccess.AnalyticSurfaceProfile()
- Returns:
An
OdbSequenceAnalyticSurfaceSegmentobject.- Return type:
OdbSequenceAnalyticSurfaceSegment
- isUpgradeRequiredForOdb(upgradeRequiredOdbPath)[source]#
This method determines if an output database file needs to be upgraded to the current release. You can access this method using either of the following techniques:
From a script running outside Abaqus/CAE. For example:
import odbAccess needsUpgrade = odbAccess.isUpgradeRequiredForOdb( upgradeRequiredOdbPath='myOdb.odb')
From the Visualization module in Abaqus/CAE. For example:
import visualization needsUpgrade = session.isUpgradeRequiredForOdb(upgradeRequiredOdbPath='myOdb.odb')
- Parameters:
upgradeRequiredOdbPath (
str) – An String specifying the path to an output database file to test. The test determines if the output database needs to be upgraded to the current release.- Returns:
A Boolean indicating the result of the test. A value of True indicates that the output database needs to be upgraded to the current release.
- Return type:
Boolean
- maxEnvelop()[source]#
Retrieve the maximum value of an output variable over a number of fields.
- Returns:
A sequence of two fieldOutput objects. The first fieldOutput object contains the maximum value. The second fieldOutput object contains the index of the field containing the maximum value. The index follows the order in which fields are positioned in the list of fieldOutput objects provided as the argument to the function.
- Return type:
Tuple[FieldOutput,FieldOutput]- Raises:
OdbError –
TypeError – This function takes no keyword arguments.
- minEnvelop()[source]#
Retrieve the minimum value of an output variable over a number of fields.
- Returns:
A sequence of two fieldOutput objects. The first fieldOutput object contains the minimum value. The second fieldOutput object contains the index of the field containing the minimum value. The index follows the order in which fields are positioned in the list of fieldOutput objects provided as the argument to the function.
- Return type:
Tuple[FieldOutput,FieldOutput]- Raises:
OdbError –
TypeError – This function takes no keyword arguments.
- openOdb(path, readOnly=OFF, readInternalSets=OFF)[source]#
This method opens an existing output database (.odb) file and creates a new Odb object. You typically execute this method outside of Abaqus/CAE when, in most cases, only one output database is open at any time. For example:
import odbAccess shockLoadOdb = odbAccess.openOdb(path='myOdb.odb')
Note
- Parameters:
path (
str) – A String specifying the path to an existing output database (.odb) file.readOnly (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the file will permit only read access or both read and write access. The initial value is False, indicating that both read and write access will be permitted.readInternalSets (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the file will permit access to sets specified as Internal on the database. The initial value is False, indicating that internal sets will not be read.
- Returns:
An
Odbobject.- Return type:
Odb- Raises:
OdbError – If the output database was generated by a previous release of Abaqus and needs upgrading. Run abaqus upgrade -job <newFilename> -odb <oldFileName> to upgrade it.
OdbError –
opened. – If the output database was generated by a newer release of Abaqus, and the installation of Abaqus needs upgrading.
- upgradeOdb(existingOdbPath, upgradedOdbPath)[source]#
This method upgrades an existing Odb object to the current release and writes the upgraded version of the Odb object to a file. In addition, Abaqus/CAE writes information about the status of the upgrade to a log (.log) file. You can access this method using either of the following techniques:
From a script running outside Abaqus/CAE. For example:
import odbAccess odbAccess.upgradeOdb(existingOdbPath='oldOdb', upgradedOdbPath='upgradedOdb')
From the session object in Abaqus/CAE. For example:
import visualization session.upgradeOdb(existingOdbPath='oldOdb', upgradedOdbPath='upgradedOdb')
Note
OdbDatumCsys#
- class OdbDatumCsys[source]#
The OdbDatumCsys object contains a coordinate system that can be stored in an output database. You can create the datum coordinate system in the Visualization module during an Abaqus/CAE session and save the datum coordinate system to the output database before you exit Abaqus/CAE. Alternatively, the analysis code can write the datum coordinate system to the output database.
Note
This object can be accessed by:
import odbAccess session.odbs[name].rootAssembly.datumCsyses[name]
Note
Public Data Attributes:
A String specifying the repository key.
A SymbolicConstant specifying the type of coordinate system.
A tuple of Floats specifying the coordinates of the origin of the datum coordinate system.
A tuple of Floats specifying a point on the X-axis.
A tuple of Floats specifying a point on the Y-axis.
A tuple of Floats specifying a point on the Z-axis.
Public Methods:
DatumCsysByThreePoints(name, coordSysType, ...)This method creates an OdbDatumCsys object using three points.
DatumCsysByThreeNodes(name, coordSysType, ...)This method creates an OdbDatumCsys object using the coordinates of three OdbMeshNode objects.
DatumCsysByThreeCircNodes(name, ...)This method is convenient to use where there are no nodes along the axis of a hollow cylinder or at the center of a hollow sphere.
DatumCsysBy6dofNode(name, coordSysType, origin)A datum coordinate system created with this method results in a system that follows the position of a node.
DatumCsys(name, datumCsys)This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.
globalToLocal(coordinates)This method transforms specified coordinates in the global coordinate system into this local coordinate system.
localToGlobal(coordinates)This method transforms specified coordinates in this local coordinate system into the global coordinate system.
- DatumCsys(name, datumCsys)[source]#
This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Note
- Parameters:
name (
str) – A String specifying the repository key.datumCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the object to be copied.
- Returns:
An
OdbDatumCsysobject.- Return type:
- DatumCsysBy6dofNode(name, coordSysType, origin)[source]#
A datum coordinate system created with this method results in a system that follows the position of a node. The node location defines the origin of the datum coordinate system. The rotational displacement (UR1, UR2, UR3) of the node defines the orientation of the coordinate system axes. Results, such as those for displacement, are resolved into the orientation of the datum coordinate system without regard to the position of its origin. The last argument is given in the form of an OdbMeshNode object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.origin (
OdbMeshNode) – AnOdbMeshNodeobject specifying the origin of the datum coordinate system.
- Returns:
An
OdbDatumCsysobject.- Return type:
- DatumCsysByThreeCircNodes(name, coordSysType, node1Arc, node2Arc, node3Arc)[source]#
This method is convenient to use where there are no nodes along the axis of a hollow cylinder or at the center of a hollow sphere. The three nodes that you provide as arguments determine a circle in space. The center of the circle is the origin of the datum coordinate system. The normal to the circle is parallel to the zz-axis of a cylindrical coordinate system or to the ϕϕ-axis of a spherical coordinate system. The line from the origin to the first node defines the rr-axis.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.node1Arc (
OdbMeshNode) – AnOdbMeshNodeobject that lies on the circular arc.node2Arc (
OdbMeshNode) – AnOdbMeshNodeobject that lies on the circular arc.node3Arc (
OdbMeshNode) – AnOdbMeshNodeobject that lies on the circular arc.
- Returns:
An
OdbDatumCsysobject.- Return type:
- DatumCsysByThreeNodes(name, coordSysType, origin, point1, point2)[source]#
This method creates an OdbDatumCsys object using the coordinates of three OdbMeshNode objects. A datum coordinate system created with this method results in a system that follows the position of the three nodes. Results, such as those for displacement, are resolved into the orientation of the datum coordinate system without regard to the position of its origin. The last three arguments are given in the form of an OdbMeshNode object.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.origin (
OdbMeshNode) – AnOdbMeshNodeobject specifying a node at the origin of the datum coordinate system.point1 (
OdbMeshNode) – AnOdbMeshNodeobject specifying a node on the local 1- or rr-axis.point2 (
OdbMeshNode) – AnOdbMeshNodeobject specifying a node in the 1-2 or rr-θθ plane.
- Returns:
An
OdbDatumCsysobject.- Return type:
- DatumCsysByThreePoints(name, coordSysType, origin, point1, point2)[source]#
This method creates an OdbDatumCsys object using three points. A datum coordinate system created with this method results in a fixed system.
Note
This function can be accessed by:
session.odbs[name].rootAssembly.DatumCsysByThreePoints
Note
- Parameters:
name (
str) – A String specifying the repository key.coordSysType (
SymbolicConstant) – A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.origin (
tuple) – A sequence of Floats specifying the coordinates of the origin of the datum coordinate system.point1 (
tuple) – A sequence of Floats specifying the coordinates of a point on the local 1- or rr-axis.point2 (
tuple) – A sequence of Floats specifying the coordinates of a point in the 1-2 or rr-θθ plane.
- Returns:
An
OdbDatumCsysobject.- Return type:
- coordSysType: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.
- globalToLocal(coordinates)[source]#
This method transforms specified coordinates in the global coordinate system into this local coordinate system.
New in version 2022: The globalToLocal method was added.
Note
- localToGlobal(coordinates)[source]#
This method transforms specified coordinates in this local coordinate system into the global coordinate system.
New in version 2022: The localToGlobal method was added.
Note
OdbFrame#
- class OdbFrame(incrementNumber: int, frameValue: float, description: str = '')[source]#
- class OdbFrame(mode: int, frequency: float, description: str = '')
- class OdbFrame(loadCase: OdbLoadCase, description: str = '', frequency: float = 0)
The domain of the OdbFrame object is taken from the parent step.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].frames[i]
Note
Public Data Attributes:
An Int specifying the cyclic mode number associated with the data stored on this frame.
A SymbolicConstant specifying the domain of the step of which the frame is a member.
A Float specifying the frequency.
An Int specifying the eigenmode.
An
OdbFrameobject specifying the real or imaginary portion of the data corresponding to this cyclic symmetry mode.A repository of FieldOutput objects specifying the key to the fieldOutputs repository is a String representing an output variable.
An
OdbLoadCaseobject specifying the load case for the frame.A String specifying the contents of the frame.
Public Methods:
__init__(**kwds)Helper for @overload to raise when called.
Frame(*args, **kwargs)FieldOutput([validInvariants, ...])
- FieldOutput(name: str, description: str, type: SymbolicConstant, componentLabels: tuple = (), validInvariants: Optional[SymbolicConstant] = None, isEngineeringTensor: Union[AbaqusBoolean, bool] = OFF)[source]#
- FieldOutput(field: FieldOutput, name: str = '', description: str = '')
- associatedFrame: Optional[OdbFrame] = None[source]#
An
OdbFrameobject specifying the real or imaginary portion of the data corresponding to this cyclic symmetry mode.
- cyclicModeNumber: Optional[int] = None[source]#
An Int specifying the cyclic mode number associated with the data stored on this frame. Only frequency analyses of cyclic symmetry models possess cyclic mode numbers.
- description: str = ''[source]#
A String specifying the contents of the frame. The default value is an empty string.
- domain: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the domain of the step of which the frame is a member. Possible values are TIME, FREQUENCY, and MODAL.
- fieldOutputs: Dict[str, FieldOutput] = {}[source]#
A repository of FieldOutput objects specifying the key to the fieldOutputs repository is a String representing an output variable.
- frameValue: float[source]#
A Float specifying the value in units determined by the domain member of the Step object. The equivalent in the time domain is stepTime; in the frequency domain the equivalent is frequency; and in the modal domain the equivalent is mode.
- frequency: float = 0[source]#
A Float specifying the frequency. This member is valid only if domain = FREQUENCY or if the procedureType member of the Step object=FREQUENCY. The default value is 0.0.
- incrementNumber: int[source]#
An Int specifying the frame increment number within the step. The base frame has normally increment number 0, and the results run from 1. In case of multiple load cases, the same increment number is duplicated for each loadcase.
- loadCase: OdbLoadCase = <abaqus.Odb.OdbLoadCase.OdbLoadCase object>[source]#
An
OdbLoadCaseobject specifying the load case for the frame.
OdbFrameArray#
OdbInstance#
- class OdbInstance(name, object, localCoordSystem=())[source]#
Public Data Attributes:
Inherited from
OdbInstanceBaseA String specifying the instance name.
A SymbolicConstant specifying the type of the Part object.
A SymbolicConstant specifying the dimensionality of the Part object.
A SymbolicConstant specifying the state of the Instance as modified by the analysis.
An
OdbMeshNodeArrayobject.An
OdbMeshElementArrayobject.A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
A
SectionAssignmentArrayobject.An
OdbRigidBodyArrayobject.A
BeamOrientationArrayobject.A
MaterialOrientationArrayobject.A
RebarOrientationArrayobject.An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.Public Methods:
NodeSet(name, nodes)This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
Inherited from
OdbInstanceBase__init__(name, object[, localCoordSystem])This method creates an OdbInstance object from an OdbPart object.
assignBeamOrientation(region, method, vector)This method assigns a beam section orientation to a region of a part instance.
assignMaterialOrientation(region, localCsys)This method assigns a material orientation to a region of a part instance.
assignRebarOrientation(region, localCsys[, ...])This method assigns a rebar reference orientation to a region of a part instance.
getElementFromLabel(label)This method is used to retrieved an element with a specific label from an instance object.
getNodeFromLabel(label)This method is used to retrieved a node with a specific label from an instance object.
assignSection(region, section)This method is used to assign a section to a region on an instance.
AnalyticRigidSurf2DPlanar(name, profile[, ...])This method is used to define a two-dimensional AnalyticSurface object on the instance.
AnalyticRigidSurfExtrude(name, profile[, ...])This method is used to define a three-dimensional cylindrical AnalyticSurface on the instance.
AnalyticRigidSurfRevolve(name, profile[, ...])This method is used to define a three-dimensional AnalyticSurface of revolution on the instance.
RigidBody(referenceNode[, position, ...])This method defines an OdbRigidBody on the instance.
- AnalyticRigidSurf2DPlanar(name, profile, filletRadius=0)[source]#
This method is used to define a two-dimensional AnalyticSurface object on the instance.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
:raises type TWO_D_PLANAR` or :class:`AXISYMMETRIC.: If OdbPart associated with the part instance is of type THREE_D.
- AnalyticRigidSurfExtrude(name, profile, filletRadius=0, localCoordData=())[source]#
This method is used to define a three-dimensional cylindrical AnalyticSurface on the instance.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.localCoordData (
tuple, default:()) – A sequence of sequences of Floats specifying the global coordinates of points used to define the local coordinate system.
- Raises:
OdbError –
of type THREE_D – If OdbPart associated with the part instance is not of type THREE_D.
- AnalyticRigidSurfRevolve(name, profile, filletRadius=0, localCoordData=())[source]#
This method is used to define a three-dimensional AnalyticSurface of revolution on the instance.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.localCoordData (
tuple, default:()) – A sequence of sequences of Floats specifying the global coordinates of points used to define the local coordinate system.
- Raises:
OdbError –
:raises instance is` of :class:`type THREE_D: If OdbPart associated with the part instance is not of type THREE_D.
- NodeSet(name, nodes)[source]#
This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
Check NodeSet on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.nodes (
Tuple[OdbMeshNode,...]) – A sequence of OdbMeshNode objects. For example, for a part:nodes=part1.nodes[1:5]`For an assembly:`nodes=(instance1.nodes[6:7], instance2.nodes[1:5])
- Returns:
An
OdbSetobject.- Return type:
OdbSet
- RigidBody(referenceNode, position=abaqusConstants.INPUT, isothermal=OFF, elset='', pinNodes='', tieNodes='', analyticSurface='')[source]#
This method defines an OdbRigidBody on the instance.
Note
- Parameters:
referenceNode (
str) – An OdbSet specifying the reference node assigned to the rigid body.position (
str, default:INPUT) – A symbolic constant specify if the location of the reference node is to be defined by the user. Possible values are INPUT, and CENTER_OF_MASS. The default value is INPUT.isothermal (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying an isothermal rigid body. The default value is OFF. This parameter is used only for a fully-coupled thermal stress analysis.elset (
str, default:'') – An OdbSet specifying an element set assigned to the rigid body.pinNodes (
str, default:'') – An OdbSet specifying pin-type nodes assigned to the rigid body.tieNodes (
str, default:'') – An OdbSet specifying tie-type nodes assigned to the rigid body.analyticSurface (
str, default:'') – An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.
- Raises:
OdbError – If referenceNode is not a node set.
- analyticSurface: AnalyticSurface = <abaqus.Odb.AnalyticSurface.AnalyticSurface object>[source]#
An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.
- assignBeamOrientation(region, method, vector)[source]#
This method assigns a beam section orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.method (
SymbolicConstant) – A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.vector (
tuple) – A sequence of three Floats specifying the approximate local n1n1-direction of the beam cross-section.
- assignMaterialOrientation(region, localCsys, axis=abaqusConstants.AXIS_1, angle=0, stackDirection=abaqusConstants.STACK_3)[source]#
This method assigns a material orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.stackDirection (
SymbolicConstant, default:STACK_3) – A SymbolicConstant specifying the stack or thickness direction of the material. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
- assignRebarOrientation(region, localCsys, axis=abaqusConstants.AXIS_1, angle=0)[source]#
This method assigns a rebar reference orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.
- assignSection(region, section)[source]#
This method is used to assign a section to a region on an instance.
- beamOrientations: BeamOrientationArray = [][source]#
A
BeamOrientationArrayobject.
- elementSets: Dict[str, OdbSet] = {}[source]#
A repository of OdbSet objects specifying element sets.
- elements: OdbMeshElementArray = [][source]#
An
OdbMeshElementArrayobject.
- embeddedSpace: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the dimensionality of the Part object. Possible values are THREE_D, TWO_D_PLANAR, AXISYMMETRIC, and UNKNOWN_DIMENSION.
- getElementFromLabel(label)[source]#
This method is used to retrieved an element with a specific label from an instance object.
- Parameters:
label (
int) – An Int specifying the element label.- Returns:
An
OdbMeshElementobject.- Return type:
OdbMeshElement- Raises:
OdbError – If no element with the specified label exists.
- getNodeFromLabel(label)[source]#
This method is used to retrieved a node with a specific label from an instance object.
- Parameters:
label (
int) – An Int specifying the node label.- Returns:
An OdbMeshNode object.
- Return type:
OdbMeshNode- Raises:
OdbError – If no node with the specified label exists.
- materialOrientations: MaterialOrientationArray = [][source]#
A
MaterialOrientationArrayobject.
- nodes: OdbMeshNodeArray = [][source]#
An
OdbMeshNodeArrayobject.
- rebarOrientations: RebarOrientationArray = [][source]#
A
RebarOrientationArrayobject.
- resultState: SymbolicConstant = PROPAGATED[source]#
A SymbolicConstant specifying the state of the Instance as modified by the analysis. This member is only present if the Instance is part of the RootAssemblyState tree. Possible values are:PROPAGATED, specifying that the value is the same as the previous frame or the original rootAssembly.MODIFIED, specifying that the geometry of the instance has been changed at this frame.The default value is PROPAGATED.
- rigidBodies: OdbRigidBodyArray = [][source]#
An
OdbRigidBodyArrayobject.
- sectionAssignments: SectionAssignmentArray = [][source]#
A
SectionAssignmentArrayobject.
- type: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the type of the Part object. Only a value of DEFORMABLE_BODY is currently supported.
OdbInstanceBase#
- class OdbInstanceBase(name, object, localCoordSystem=())[source]#
A part instance is the usage of a part within an assembly.
Note
This object can be accessed by:
import odbAccess session.odbs[name].rootAssembly.instances[name] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance
Note
Public Data Attributes:
A String specifying the instance name.
A SymbolicConstant specifying the type of the Part object.
A SymbolicConstant specifying the dimensionality of the Part object.
A SymbolicConstant specifying the state of the Instance as modified by the analysis.
An
OdbMeshNodeArrayobject.An
OdbMeshElementArrayobject.A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
A
SectionAssignmentArrayobject.An
OdbRigidBodyArrayobject.A
BeamOrientationArrayobject.A
MaterialOrientationArrayobject.A
RebarOrientationArrayobject.An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.Public Methods:
__init__(name, object[, localCoordSystem])This method creates an OdbInstance object from an OdbPart object.
assignBeamOrientation(region, method, vector)This method assigns a beam section orientation to a region of a part instance.
assignMaterialOrientation(region, localCsys)This method assigns a material orientation to a region of a part instance.
assignRebarOrientation(region, localCsys[, ...])This method assigns a rebar reference orientation to a region of a part instance.
getElementFromLabel(label)This method is used to retrieved an element with a specific label from an instance object.
getNodeFromLabel(label)This method is used to retrieved a node with a specific label from an instance object.
assignSection(region, section)This method is used to assign a section to a region on an instance.
AnalyticRigidSurf2DPlanar(name, profile[, ...])This method is used to define a two-dimensional AnalyticSurface object on the instance.
AnalyticRigidSurfExtrude(name, profile[, ...])This method is used to define a three-dimensional cylindrical AnalyticSurface on the instance.
AnalyticRigidSurfRevolve(name, profile[, ...])This method is used to define a three-dimensional AnalyticSurface of revolution on the instance.
RigidBody(referenceNode[, position, ...])This method defines an OdbRigidBody on the instance.
- AnalyticRigidSurf2DPlanar(name, profile, filletRadius=0)[source]#
This method is used to define a two-dimensional AnalyticSurface object on the instance.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
:raises type TWO_D_PLANAR` or :class:`AXISYMMETRIC.: If OdbPart associated with the part instance is of type THREE_D.
- AnalyticRigidSurfExtrude(name, profile, filletRadius=0, localCoordData=())[source]#
This method is used to define a three-dimensional cylindrical AnalyticSurface on the instance.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.localCoordData (
tuple, default:()) – A sequence of sequences of Floats specifying the global coordinates of points used to define the local coordinate system.
- Raises:
OdbError –
of type THREE_D – If OdbPart associated with the part instance is not of type THREE_D.
- AnalyticRigidSurfRevolve(name, profile, filletRadius=0, localCoordData=())[source]#
This method is used to define a three-dimensional AnalyticSurface of revolution on the instance.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.localCoordData (
tuple, default:()) – A sequence of sequences of Floats specifying the global coordinates of points used to define the local coordinate system.
- Raises:
OdbError –
:raises instance is` of :class:`type THREE_D: If OdbPart associated with the part instance is not of type THREE_D.
- RigidBody(referenceNode, position=abaqusConstants.INPUT, isothermal=OFF, elset='', pinNodes='', tieNodes='', analyticSurface='')[source]#
This method defines an OdbRigidBody on the instance.
Note
- Parameters:
referenceNode (
str) – An OdbSet specifying the reference node assigned to the rigid body.position (
str, default:INPUT) – A symbolic constant specify if the location of the reference node is to be defined by the user. Possible values are INPUT, and CENTER_OF_MASS. The default value is INPUT.isothermal (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying an isothermal rigid body. The default value is OFF. This parameter is used only for a fully-coupled thermal stress analysis.elset (
str, default:'') – An OdbSet specifying an element set assigned to the rigid body.pinNodes (
str, default:'') – An OdbSet specifying pin-type nodes assigned to the rigid body.tieNodes (
str, default:'') – An OdbSet specifying tie-type nodes assigned to the rigid body.analyticSurface (
str, default:'') – An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.
- Raises:
OdbError – If referenceNode is not a node set.
- analyticSurface: AnalyticSurface = <abaqus.Odb.AnalyticSurface.AnalyticSurface object>[source]#
An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.
- assignBeamOrientation(region, method, vector)[source]#
This method assigns a beam section orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.method (
SymbolicConstant) – A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.vector (
tuple) – A sequence of three Floats specifying the approximate local n1n1-direction of the beam cross-section.
- assignMaterialOrientation(region, localCsys, axis=abaqusConstants.AXIS_1, angle=0, stackDirection=abaqusConstants.STACK_3)[source]#
This method assigns a material orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.stackDirection (
SymbolicConstant, default:STACK_3) – A SymbolicConstant specifying the stack or thickness direction of the material. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
- assignRebarOrientation(region, localCsys, axis=abaqusConstants.AXIS_1, angle=0)[source]#
This method assigns a rebar reference orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.
- assignSection(region, section)[source]#
This method is used to assign a section to a region on an instance.
- beamOrientations: List[BeamOrientation] = [][source]#
A
BeamOrientationArrayobject.
- elementSets: Dict[str, OdbSet] = {}[source]#
A repository of OdbSet objects specifying element sets.
- elements: List[OdbMeshElement] = [][source]#
An
OdbMeshElementArrayobject.
- embeddedSpace: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the dimensionality of the Part object. Possible values are THREE_D, TWO_D_PLANAR, AXISYMMETRIC, and UNKNOWN_DIMENSION.
- getElementFromLabel(label)[source]#
This method is used to retrieved an element with a specific label from an instance object.
- Parameters:
label (
int) – An Int specifying the element label.- Returns:
An
OdbMeshElementobject.- Return type:
OdbMeshElement- Raises:
OdbError – If no element with the specified label exists.
- getNodeFromLabel(label)[source]#
This method is used to retrieved a node with a specific label from an instance object.
- Parameters:
label (
int) – An Int specifying the node label.- Returns:
An OdbMeshNode object.
- Return type:
OdbMeshNode- Raises:
OdbError – If no node with the specified label exists.
- materialOrientations: List[MaterialOrientation] = [][source]#
A
MaterialOrientationArrayobject.
- nodes: List[OdbMeshNode] = [][source]#
An
OdbMeshNodeArrayobject.
- rebarOrientations: List[RebarOrientation] = [][source]#
A
RebarOrientationArrayobject.
- resultState: SymbolicConstant = PROPAGATED[source]#
A SymbolicConstant specifying the state of the Instance as modified by the analysis. This member is only present if the Instance is part of the RootAssemblyState tree. Possible values are:PROPAGATED, specifying that the value is the same as the previous frame or the original rootAssembly.MODIFIED, specifying that the geometry of the instance has been changed at this frame.The default value is PROPAGATED.
- rigidBodies: List[OdbRigidBody] = [][source]#
An
OdbRigidBodyArrayobject.
- sectionAssignments: List[SectionAssignment] = [][source]#
A
SectionAssignmentArrayobject.
- type: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the type of the Part object. Only a value of DEFORMABLE_BODY is currently supported.
OdbLoadCase#
- class OdbLoadCase(name)[source]#
The OdbLoadCase object describes a load case.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name].frames[i].loadCase session.odbs[name].steps[name].historyRegions[name].loadCase session.odbs[name].steps[name].loadCases[name]
Note
Public Methods:
__init__(name)This method creates an OdbLoadCase object.
OdbMeshElement#
- class OdbMeshElement[source]#
OdbMeshElement objects are created with the part.addElements or rootAssembly.addElements methods.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].elements[i] session.odbs[name].parts[name].elementSets[name].elements[i] session.odbs[name].parts[name].nodeSets[name].elements[i] session.odbs[name].parts[name].surfaces[name].elements[i] session.odbs[name].rootAssembly.elements[i] session.odbs[name].rootAssembly.elementSets[name].elements[i] session.odbs[name].rootAssembly.instances[name].elements[i] session.odbs[name].rootAssembly.instances[name].elementSets[name].elements[i] session.odbs[name].rootAssembly.instances[name].nodeSets[name].elements[i] session.odbs[name].rootAssembly.instances[name].surfaces[name].elements[i] session.odbs[name].rootAssembly.nodeSets[name].elements[i] session.odbs[name].rootAssembly.surfaces[name].elements[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elements[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elementSets[name].elements[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodeSets[name].elements[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.surfaces[name].elements[i]
Note
Public Data Attributes:
An Int specifying the element label.
A String specifying the element type.
A
SectionCategoryobject specifying the element section properties.A tuple of Ints specifying the element connectivity.
A tuple of Strings specifying the instance names for nodes in the element connectivity.
A String specifying the instance name.
Public Methods:
getNormal(faceIndex[, stepName, frameValue, ...])This method returns the normal direction for the element face.
- connectivity: Optional[int] = None[source]#
A tuple of Ints specifying the element connectivity. For connector elements connected to ground, the other node is repeated in the connectivity data. The position of the ground node cannot be ascertained. This is a limitation. It is important to note the difference with MeshElement object of MDB where the connectivity is node indices instead of node labels.
- getNormal(faceIndex, stepName='', frameValue='', match=abaqusConstants.CLOSEST)[source]#
This method returns the normal direction for the element face.
New in version 2017: The getNormal method was added.
Note
- Parameters:
faceIndex (
str) – The value of faceIndex is 0 for a shell element and can range from 0 to 5 for a solid element.stepName (
str, default:'') – Name of the step.frameValue (
str, default:'') – A Double specifying the value at which the frame is required. frameValue can be the total fime or frequency.match (
SymbolicConstant, default:CLOSEST) – A SymbolicConstant specifying which frame to return if there is no frame at the exact frame value. Possible values are CLOSEST, BEFORE, AFTER, and EXACT. The default value is CLOSEST.When match = CLOSEST, Abaqus returns the closest frame. If the frame value requested is exactly halfway between two frames, Abaqus returns the frame after the value.When match = EXACT, Abaqus raises an exception if the exact frame value does not exist.
- Returns:
A tupleof3 floats representing the unit normal vector. If the element face iscollapsed such that a normal cannot be computed,a zero-length vector is returned.
- Raises:
OdbError – If the exact frame is not found.
OdbError – If the step name is not found.
OdbError – If frameValue is not provided and stepName is empty.
- instanceNames: tuple = ()[source]#
A tuple of Strings specifying the instance names for nodes in the element connectivity.
- sectionCategory: Optional[SectionCategory] = None[source]#
A
SectionCategoryobject specifying the element section properties.
OdbMeshElementArray#
- OdbMeshElementArray[source]#
alias of
List[OdbMeshElement]
OdbMeshNode#
- class OdbMeshNode[source]#
OdbMeshNode objects are created with the part.addNodes method.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].nodes[i] session.odbs[name].parts[name].nodeSets[name].nodes[i] session.odbs[name].parts[name].surfaces[name].nodes[i] session.odbs[name].rootAssembly.instances[name].nodes[i] session.odbs[name].rootAssembly.instances[name].nodeSets[name].nodes[i] session.odbs[name].rootAssembly.instances[name].surfaces[name].nodes[i] session.odbs[name].rootAssembly.nodes[i] session.odbs[name].rootAssembly.nodeSets[name].nodes[i] session.odbs[name].rootAssembly.surfaces[name].nodes[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodes[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodeSets[name].nodes[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.surfaces[name].nodes[i]
Note
Public Data Attributes:
An Int specifying the node label.
A tuple of Floats specifying the nodal coordinates in the global Cartesian coordinate system.
OdbMeshNodeArray#
- OdbMeshNodeArray[source]#
alias of
List[OdbMeshNode]
OdbPart#
- class OdbPart(name, embeddedSpace, type)[source]#
Public Data Attributes:
Inherited from
OdbPartBaseAn
OdbMeshNodeArrayobject.An
OdbMeshElementArrayobject.A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
A
SectionAssignmentArrayobject.A
BeamOrientationArrayobject.A
MaterialOrientationArrayobject.A
RebarOrientationArrayobject.An
OdbRigidBodyArrayobject.An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.Public Methods:
RigidBody(referenceNode[, position, ...])This method defines an OdbRigidBody on the part object.
NodeSet(name, nodes)This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
Inherited from
OdbPartBase__init__(name, embeddedSpace, type)This method creates an OdbPart object.
addElements(*args, **kwargs)addNodes(*args, **kwargs)assignBeamOrientation(region, method, vector)This method assigns a beam section orientation to a region of a part instance.
assignMaterialOrientation(region, localCSys)This method assigns a material orientation to a region of a part instance.
assignRebarOrientation(region, localCsys[, ...])This method assigns a rebar reference orientation to a region of a part instance.
getElementFromLabel(label)This method is used to retrieved an element with a specific label from a part object.
getNodeFromLabel(label)This method is used to retrieved a node with a specific label from a part object.
AnalyticRigidSurf2DPlanar(name, profile[, ...])This method is used to define a two-dimensional AnalyticSurface object on the part object.
AnalyticRigidSurfExtrude(name, profile[, ...])This method is used to define a three-dimensional cylindrical AnalyticSurface on the part object.
AnalyticRigidSurfRevolve(name, profile[, ...])This method is used to define a three-dimensional AnalyticSurface of revolution on the part object.
- AnalyticRigidSurf2DPlanar(name, profile, filletRadius=0)[source]#
This method is used to define a two-dimensional AnalyticSurface object on the part object.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
TWO_D_PLANAR – If OdbPart is of type THREE_D.
- AnalyticRigidSurfExtrude(name, profile, filletRadius=0)[source]#
This method is used to define a three-dimensional cylindrical AnalyticSurface on the part object.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
of type THREE_D – If OdbPart is not of type THREE_D.
- AnalyticRigidSurfRevolve(name, profile, filletRadius=0)[source]#
This method is used to define a three-dimensional AnalyticSurface of revolution on the part object.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
of type THREE_D – If OdbPart is not of type THREE_D.
- NodeSet(name, nodes)[source]#
This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
Check NodeSet on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.nodes (
Tuple[OdbMeshNode,...]) – A sequence of OdbMeshNode objects. For example, for a part:nodes=part1.nodes[1:5]`For an assembly:`nodes=(instance1.nodes[6:7], instance2.nodes[1:5])
- Returns:
An
OdbSetobject.- Return type:
OdbSet
- RigidBody(referenceNode, position=abaqusConstants.INPUT, isothermal=OFF, elset='', pinNodes='', tieNodes='', analyticSurface='')[source]#
This method defines an OdbRigidBody on the part object.
Note
- Parameters:
referenceNode (
str) – An OdbSet specifying the reference node assigned to the rigid body.position (
str, default:INPUT) – A symbolic constant specify if the location of the reference node is to be defined by the user. Possible values are INPUT and CENTER_OF_MASS. The default value is INPUT.isothermal (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying an isothermal rigid body. The default value is OFF. This parameter is used only for a fully-coupled thermal stress analysis.elset (
str, default:'') – An OdbSet specifying an element set assigned to the rigid body.pinNodes (
str, default:'') – An OdbSet specifying pin-type nodes assigned to the rigid body.tieNodes (
str, default:'') – An OdbSet specifying tie-type nodes assigned to the rigid body.analyticSurface (
str, default:'') – An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.
- Return type:
None.- Raises:
OdbError – If referenceNode is not a node set.
- analyticSurface: AnalyticSurface = <abaqus.Odb.AnalyticSurface.AnalyticSurface object>[source]#
An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.
- assignBeamOrientation(region, method, vector)[source]#
This method assigns a beam section orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.method (
SymbolicConstant) – A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.vector (
tuple) – A sequence of three Floats specifying the approximate local n1n1 -direction of the beam cross-section.
- assignMaterialOrientation(region, localCSys, axis=abaqusConstants.AXIS_1, angle=0, stackDirection=abaqusConstants.STACK_3)[source]#
This method assigns a material orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCSys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.stackDirection (
SymbolicConstant, default:STACK_3) – A SymbolicConstant specifying the stack or thickness direction of the material. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
- assignRebarOrientation(region, localCsys, axis=abaqusConstants.AXIS_1, angle=0)[source]#
This method assigns a rebar reference orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.
- beamOrientations: BeamOrientationArray = [][source]#
A
BeamOrientationArrayobject.
- elementSets: Dict[str, OdbSet] = {}[source]#
A repository of OdbSet objects specifying element sets.
- elements: OdbMeshElementArray = [][source]#
An
OdbMeshElementArrayobject.
- getElementFromLabel(label)[source]#
This method is used to retrieved an element with a specific label from a part object.
- Parameters:
label (
int) – An Int specifying the element label.- Returns:
An
OdbMeshElementobject.- Return type:
OdbMeshElement- Raises:
OdbError – If no element with the specified label exists.
- getNodeFromLabel(label)[source]#
This method is used to retrieved a node with a specific label from a part object.
- Parameters:
label (
int) – An Int specifying the node label.- Returns:
An
OdbMeshNodeobject.- Return type:
OdbMeshNode- Raises:
OdbError – If no node with the specified label exists.
- materialOrientations: MaterialOrientationArray = [][source]#
A
MaterialOrientationArrayobject.
- nodes: OdbMeshNodeArray = [][source]#
An
OdbMeshNodeArrayobject.
- rebarOrientations: RebarOrientationArray = [][source]#
A
RebarOrientationArrayobject.
- rigidBodies: OdbRigidBodyArray = [][source]#
An
OdbRigidBodyArrayobject.
- sectionAssignments: SectionAssignmentArray = [][source]#
A
SectionAssignmentArrayobject.
OdbPartBase#
- class OdbPartBase(name, embeddedSpace, type)[source]#
The OdbPart object is similar to the kernel Part object and contains nodes and elements, but not geometry.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name]
Note
Public Data Attributes:
An
OdbMeshNodeArrayobject.An
OdbMeshElementArrayobject.A repository of OdbSet objects specifying node sets.
A repository of OdbSet objects specifying element sets.
A repository of OdbSet objects specifying surfaces.
A
SectionAssignmentArrayobject.A
BeamOrientationArrayobject.A
MaterialOrientationArrayobject.A
RebarOrientationArrayobject.An
OdbRigidBodyArrayobject.An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.Public Methods:
__init__(name, embeddedSpace, type)This method creates an OdbPart object.
addNodes()assignBeamOrientation(region, method, vector)This method assigns a beam section orientation to a region of a part instance.
assignMaterialOrientation(region, localCSys)This method assigns a material orientation to a region of a part instance.
assignRebarOrientation(region, localCsys[, ...])This method assigns a rebar reference orientation to a region of a part instance.
getElementFromLabel(label)This method is used to retrieved an element with a specific label from a part object.
getNodeFromLabel(label)This method is used to retrieved a node with a specific label from a part object.
AnalyticRigidSurf2DPlanar(name, profile[, ...])This method is used to define a two-dimensional AnalyticSurface object on the part object.
AnalyticRigidSurfExtrude(name, profile[, ...])This method is used to define a three-dimensional cylindrical AnalyticSurface on the part object.
AnalyticRigidSurfRevolve(name, profile[, ...])This method is used to define a three-dimensional AnalyticSurface of revolution on the part object.
- AnalyticRigidSurf2DPlanar(name, profile, filletRadius=0)[source]#
This method is used to define a two-dimensional AnalyticSurface object on the part object.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
TWO_D_PLANAR – If OdbPart is of type THREE_D.
- AnalyticRigidSurfExtrude(name, profile, filletRadius=0)[source]#
This method is used to define a three-dimensional cylindrical AnalyticSurface on the part object.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
of type THREE_D – If OdbPart is not of type THREE_D.
- AnalyticRigidSurfRevolve(name, profile, filletRadius=0)[source]#
This method is used to define a three-dimensional AnalyticSurface of revolution on the part object.
Note
- Parameters:
name (
str) – The name of the analytic surface.profile (
Tuple[AnalyticSurfaceSegment,...]) – A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.filletRadius (
str, default:0) – A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.
- Raises:
OdbError –
of type THREE_D – If OdbPart is not of type THREE_D.
- addElements(labels: tuple, connectivity: tuple, type: str, elementSetName: str = '', sectionCategory: Optional[SectionCategory] = None)[source]#
- addElements(elementData: tuple, type: str, elementSetName: Optional[str] = None, sectionCategory: Optional[SectionCategory] = None)
- addNodes(labels: tuple, coordinates: tuple, nodeSetName: Optional[str] = None)[source]#
- addNodes(nodeData: tuple, nodeSetName: Optional[str] = None)
- analyticSurface: AnalyticSurface = <abaqus.Odb.AnalyticSurface.AnalyticSurface object>[source]#
An
AnalyticSurfaceobject specifying analytic Surface defined on the instance.
- assignBeamOrientation(region, method, vector)[source]#
This method assigns a beam section orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.method (
SymbolicConstant) – A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.vector (
tuple) – A sequence of three Floats specifying the approximate local n1n1 -direction of the beam cross-section.
- assignMaterialOrientation(region, localCSys, axis=abaqusConstants.AXIS_1, angle=0, stackDirection=abaqusConstants.STACK_3)[source]#
This method assigns a material orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCSys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.stackDirection (
SymbolicConstant, default:STACK_3) – A SymbolicConstant specifying the stack or thickness direction of the material. Possible values are STACK_1, STACK_2, STACK_3, and STACK_ORIENTATION. The default value is STACK_3.
- assignRebarOrientation(region, localCsys, axis=abaqusConstants.AXIS_1, angle=0)[source]#
This method assigns a rebar reference orientation to a region of a part instance.
- Parameters:
region (
str) – An OdbSet specifying a region on an instance.localCsys (
OdbDatumCsys) – AnOdbDatumCsysobject specifying the local coordinate system or None, indicating the global coordinate system.axis (
SymbolicConstant, default:AXIS_1) – A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. For shells this axis is also the shell normal. Possible values are AXIS_1, AXIS_2, and AXIS_3. The default value is AXIS_1.angle (
float, default:0) – A Float specifying the angle of the additional rotation. The default value is 0.0.
- beamOrientations: List[BeamOrientation] = [][source]#
A
BeamOrientationArrayobject.
- elementSets: Dict[str, OdbSet] = {}[source]#
A repository of OdbSet objects specifying element sets.
- elements: List[OdbMeshElement] = [][source]#
An
OdbMeshElementArrayobject.
- getElementFromLabel(label)[source]#
This method is used to retrieved an element with a specific label from a part object.
- Parameters:
label (
int) – An Int specifying the element label.- Returns:
An
OdbMeshElementobject.- Return type:
OdbMeshElement- Raises:
OdbError – If no element with the specified label exists.
- getNodeFromLabel(label)[source]#
This method is used to retrieved a node with a specific label from a part object.
- Parameters:
label (
int) – An Int specifying the node label.- Returns:
An
OdbMeshNodeobject.- Return type:
OdbMeshNode- Raises:
OdbError – If no node with the specified label exists.
- materialOrientations: List[MaterialOrientation] = [][source]#
A
MaterialOrientationArrayobject.
- nodes: List[OdbMeshNode] = [][source]#
An
OdbMeshNodeArrayobject.
- rebarOrientations: List[RebarOrientation] = [][source]#
A
RebarOrientationArrayobject.
- rigidBodies: List[OdbRigidBody] = [][source]#
An
OdbRigidBodyArrayobject.
- sectionAssignments: List[SectionAssignment] = [][source]#
A
SectionAssignmentArrayobject.
OdbPretensionSection#
- class OdbPretensionSection[source]#
The pretension section object is used to define an assembly load. It associates a pretension node with a pretension section.
Note
This object can be accessed by:
import odbAccess session.odbs[name].rootAssembly.pretensionSections[i]
Note
Public Data Attributes:
An
OdbSetobject specifying the node set containing the pretension node.An
OdbSetobject specifying the element set that defines the pretension section.An
OdbSetobject specifying the surface set that defines the pretension section.A tuple of Floats specifying the components of the normal to the pretension section.
- element: OdbSet = <abaqus.Odb.OdbSet.OdbSet object>[source]#
An
OdbSetobject specifying the element set that defines the pretension section.
- node: OdbSet = <abaqus.Odb.OdbSet.OdbSet object>[source]#
An
OdbSetobject specifying the node set containing the pretension node.
OdbPretensionSectionArray#
- OdbPretensionSectionArray[source]#
alias of
List[OdbPretensionSection]
OdbRigidBody#
- class OdbRigidBody(referenceNode, position=abaqusConstants.INPUT, isothermal=ON, elements=<abaqus.Odb.OdbSet.OdbSet object>, tieNodes=<abaqus.Odb.OdbSet.OdbSet object>, pinNodes=<abaqus.Odb.OdbSet.OdbSet object>, analyticSurface=None)[source]#
The Rigid body object is used to bind a set of elements and/or a set of nodes and/or an analytical surface with a reference node.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].rigidBodies[i] session.odbs[name].rootAssembly.instances[name].rigidBodies[i] session.odbs[name].rootAssembly.rigidBodies[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.rigidBodies[i]
Note
Public Data Attributes:
A SymbolicConstant specifying the specific location of the OdbRigidBody reference node relative to the rest of the rigid body.
A Boolean specifying specify whether the OdbRigidBody can have temperature gradients or be isothermal.
An
OdbSetobject specifying the element set whose motion is governed by the motion of rigid body reference node.An
OdbSetobject specifying the node set which have both translational and rotational degrees of freedom associated with the rigid body.An
OdbSetobject specifying the node set which have only translational degrees of freedom associated with the rigid body.An
AnalyticSurfaceobject specifying the analytic surface whose motion is governed by the motion of rigid body reference node.Public Methods:
__init__(referenceNode[, position, ...])This method creates a OdbRigidBody object.
- analyticSurface: Optional[AnalyticSurface] = None[source]#
An
AnalyticSurfaceobject specifying the analytic surface whose motion is governed by the motion of rigid body reference node.
- elements: OdbSet = <abaqus.Odb.OdbSet.OdbSet object>[source]#
An
OdbSetobject specifying the element set whose motion is governed by the motion of rigid body reference node.
- isothermal: Union[AbaqusBoolean, bool] = ON[source]#
A Boolean specifying specify whether the OdbRigidBody can have temperature gradients or be isothermal. This is used only for fully coupled thermal-stress analysis The default value is ON.
- pinNodes: OdbSet = <abaqus.Odb.OdbSet.OdbSet object>[source]#
An
OdbSetobject specifying the node set which have only translational degrees of freedom associated with the rigid body.
- position: SymbolicConstant = INPUT[source]#
A SymbolicConstant specifying the specific location of the OdbRigidBody reference node relative to the rest of the rigid body. Possible values are INPUT and CENTER_OF_MASS. The default value is INPUT.
OdbRigidBodyArray#
- OdbRigidBodyArray[source]#
alias of
List[OdbRigidBody]
OdbSequenceAnalyticSurfaceSegment#
- class OdbSequenceAnalyticSurfaceSegment[source]#
A sequence of AnalyticSurfaceSegment describing an analytic surface profile.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].analyticSurface.segments session.odbs[name].rootAssembly.instances[name].analyticSurface.segments session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.analyticSurface.segments
Public Methods:
__init__()This method creates a OdbSequenceAnalyticSurfaceSegment object.
Start(origin)This method adds a AnalyticSurfaceSegment describing the first segment of the surface profile.
Line(endPoint)This method adds a AnalyticSurfaceSegment describing the line segment of the surface profile.
Circle(center, endPoint)This method adds a AnalyticSurfaceSegment describing a circular segment of the surface profile.
Parabola(middlePoint, endPoint)This method adds a AnalyticSurfaceSegment describing a parabolic segment of the surface profile.
- Circle(center, endPoint)[source]#
This method adds a AnalyticSurfaceSegment describing a circular segment of the surface profile.
Note
Check Circle on help.3ds.com/0.1..
- Line(endPoint)[source]#
This method adds a AnalyticSurfaceSegment describing the line segment of the surface profile.
Note
Check Line on help.3ds.com/0.1..
- Parameters:
endPoint (
tuple) – A sequence of Floats specifying the coordinates of end point.
- Parabola(middlePoint, endPoint)[source]#
This method adds a AnalyticSurfaceSegment describing a parabolic segment of the surface profile.
Note
- Start(origin)[source]#
This method adds a AnalyticSurfaceSegment describing the first segment of the surface profile.
Note
Check Start on help.3ds.com/0.1..
- Parameters:
origin (
tuple) – A sequence of Floats specifying the coordinates of start point.
OdbSession#
- class OdbSession[source]#
Public Data Attributes:
Inherited from
SessionBaseattachedToGuiA Boolean specifying whether an Abaqus interactive session is running.
replayInProgressA Boolean specifying whether Abaqus is executing a replay file.
kernelMemoryFootprintA Float specifying the memory usage value for the Abaqus/CAE kernel process in megabytes.
kernelMemoryMaxFootprintA Float specifying the maximum value for the memory usage for the Abaqus/CAE kernel process in megabytes.
kernelMemoryLimitA Float specifying the limit for the memory use for the Abaqus/CAE kernel process in megabytes.
colorsA repository of Color objects.
journalOptionsA
JournalOptionsobject specifying how to record selection of geometry in the journal and replay files.memoryReductionOptionsA
MemoryReductionOptionsobject specifying options for running in reduced memory mode.nodeQueryA
NodeQueryobject specifying nodes and their coordinates in a path.sketcherOptionsA
ConstrainedSketcherOptionsobject specifying common options for all sketches.viewerOptionsA
ViewerOptionsobject.animationOptionsAn
AnimationOptionsobject.aviOptionsAn
AVIOptionsobject.imageAnimationOptionsAn
ImageAnimationOptionsobject.imageAnimationAn
ImageAnimationobject.quickTimeOptionsA
QuickTimeOptionsobject.viewportsA repository of Viewport objects.
customDataA
RepositorySupportobject.defaultFieldReportOptionsA
FieldReportOptionsobject.defaultFreeBodyReportOptionsA
FreeBodyReportOptionsobject.fieldReportOptionsA
FieldReportOptionsobject.freeBodyReportOptionsA
FreeBodyReportOptionsobject.odbsA repository of Odb objects.
scratchOdbsA repository of ScratchOdb objects.
defaultOdbDisplayA
DefaultOdbDisplayobject.defaultPlotA
DefaultPlotobject.defaultChartOptionsA
DefaultChartOptionsobject.odbDataA repository of OdbData objects.
mdbDataA repository of MdbData objects.
pathsA repository of Path objects.
freeBodiesA repository of FreeBody objects.
streamsA repository of Stream objects.
spectrumsA repository of Spectrum objects.
currentProbeValuesA
CurrentProbeValuesobject.defaultProbeOptionsA
ProbeOptionsobject.probeOptionsA
ProbeOptionsobject.probeReportA
ProbeReportobject.defaultProbeReportA
ProbeReportobject.selectedProbeValuesA
SelectedProbeValuesobject.printOptionsA
PrintOptionsobject.epsOptionsAn
EpsOptionsobject.pageSetupOptionsA
PageSetupOptionsobject.pngOptionsA
PngOptionsobject.psOptionsA
PsOptionsobject.svgOptionsA
SvgOptionsobject.tiffOptionsA
TiffOptionsobject.autoColorsAn
AutoColorsobject specifying the color palette to be used for color coding.xyColorsAn
AutoColorsobject specifying the color palette to be used forXYCurve objects.xyDataObjectsA repository of XYData objects.
curvesA repository of XYCurve objects.
xyPlotsA repository of XYPlot objects.
chartsA repository of Chart objects.
defaultXYReportOptionsAn
XYReportOptionsobject.xyReportOptionsAn
XYReportOptionsobject.viewsA repository of View objects.
networkDatabaseConnectorsA repository of NetworkDatabaseConnector objects.
displayGroupsA repository of DisplayGroup objects.
graphicsInfoA
GraphicsInfoobject.defaultGraphicsOptionsA
GraphicsOptionsobject.graphicsOptionsA
GraphicsOptionsobject.defaultViewportAnnotationOptionsA
ViewportAnnotationOptionsobject.queuesA repository of Queue objects.
currentViewportNameA String specifying the name of the current viewport.
sessionStateA Dictionary object specifying the viewports and their associated models.
imagesA repository of Image objects.
moviesA repository of Movie objects.
defaultLightOptionsA
LightOptionsobject.drawingAreaA
DrawingAreaobject.defaultMesherOptionsA
MesherOptionsobject specifying how to control default settings in the Mesh module.drawingsA repository of Drawing objects.
Public Methods:
ScratchOdb(odb)This method creates a new ScratchOdb object.
Inherited from
SessionBasesetValues([kernelMemoryLimit])This method modifies the Session object.
enableCADConnection(CADName[, portNum])This method enables the Abaqus/CAE listening port for the specified CAD system.
isCADConnectionEnabled()This method checks the status of CAD Connection.
disableCADConnection(CADName)This method disables an associative import CAD connection that was enabled.
enableParameterUpdate(CADName, CADVersion[, ...])This method enables parameter updates for ProE and NX by establishing a connection with the listening port previously setup by the CAD application.
setCADPortNumber(CADName, Port)This method enables parameter updates for CATIA V5 and CATIA V6 by establishing a connection with the listening port previously setup by the CAD application.
updateCADParameters(modelName, CADName, ...)This method updates the parameters for the specified model using the specified parameter file.
disableParameterUpdate(CADName)This method disables an associative CAD connection using parameters.
printToFile(fileName[, format, ...])This method prints canvas objects to a file using the attributes stored in the PrintOptions object and the appropriate format options object.
printToPrinter([printCommand, numCopies, ...])This method prints canvas objects to a Windows printer or to a PostScript printer.
saveOptions(directory)This method saves your customized display settings.
writeVrmlFile(fileName[, format, canvasObjects])This method exports the current viewport objects to a file.
write3DXMLFile(fileName[, format, canvasObjects])This method exports the current viewport objects to a file.
writeOBJFile(fileName[, canvasObjects])This method exports the current viewport objects to a file.
openOdb(name[, path, readOnly])This method opens an existing output database (.odb) file and creates a new Odb object. This method is accessed only via the session object inside Abaqus/CAE and adds the new Odb object to the session.odbs repository. This method allows you to open multiple output databases at the same time and to use the repository key to specify a particular output database. For example::.
- ScratchOdb(odb)[source]#
This method creates a new ScratchOdb object.
Note
This function can be accessed by:
session.ScratchOdb
Note
- Parameters:
odb (
Odb) – AnOdbobject specifying the output database with which to associate.- Returns:
A
ScratchOdbobject.- Return type:
OdbSet#
- class OdbSet(name, nodes)[source]#
The set objects are used to identify regions of a model.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].elementSets[name] session.odbs[name].parts[name].nodeSets[name] session.odbs[name].parts[name].surfaces[name] session.odbs[name].rootAssembly.elementSets[name] session.odbs[name].rootAssembly.instances[name].elementSets[name] session.odbs[name].rootAssembly.instances[name].nodeSets[name] session.odbs[name].rootAssembly.instances[name].surfaces[name] session.odbs[name].rootAssembly.nodeSets[name] session.odbs[name].rootAssembly.surfaces[name] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elementSets[name] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodeSets[name] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.surfaces[name]
Note
Check OdbSet on help.3ds.com/0.1..
Public Data Attributes:
A String specifying the name of the set and the repository key.
A tuple of Strings specifying the namespaces for the nodes, elements, and faces; None if the set is on a Part or an OdbInstance object.
An
OdbMeshNodeArrayobject specifying the nodes of an OdbSet.An
OdbMeshElementArrayobject specifying the elements of an OdbSet.A tuple of SymbolicConstants specifying the element face.
A repository of an OdbInstance object.
A Boolean specifying whether the set is internal.
Public Methods:
__init__(name, nodes)This method creates a node set from an array of OdbMeshNode objects (for part instance-level sets) or from a sequence of arrays of OdbMeshNode objects (for assembly-level sets).
NodeSetFromNodeLabels(name, nodeLabels)This method creates a node set from a sequence of node labels.
ElementSet(name, elements)This method creates an element set from an array of OdbMeshElement objects (for part instance-level sets) or from a sequence of arrays of OdbMeshElement objects (for assembly-level sets).
ElementSetFromElementLabels(name, elementLabels)This method creates an element set from a sequence of element labels.
MeshSurface(name, meshSurfaces)This method creates a surface from the element and side identifiers for the assembly.
MeshSurfaceFromElsets(name, elementSetSeq)This method creates a mesh surface from a sequence of element sets.
MeshSurfaceFromLabels(name, surfaceLabels)This method creates a mesh surface from a sequence of surface labels.
- ElementSet(name, elements)[source]#
This method creates an element set from an array of OdbMeshElement objects (for part instance-level sets) or from a sequence of arrays of OdbMeshElement objects (for assembly-level sets).
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.elements (
Tuple[OdbMeshElement,...]) – A sequence of OdbMeshElement objects. For example, for a part:elements=instance1.elements[1:5]`For an assembly:`elements=(instance1.elements[1:5], instance2.elements[1:5])
- Returns:
An
OdbSetobject.- Return type:
- ElementSetFromElementLabels(name, elementLabels)[source]#
This method creates an element set from a sequence of element labels.
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.elementLabels (
tuple) – A sequence of element labels. An element label is a sequence of Int element identifiers. For example, for a part:elementLabels=(2,3,5,7)`For an assembly:`elementLabels=((‘Instance-1’, (2,3,5,7)), (‘Instance-2’, (1,2,3)))
- Returns:
An
OdbSetobject.- Return type:
- MeshSurface(name, meshSurfaces)[source]#
This method creates a surface from the element and side identifiers for the assembly.
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.meshSurfaces (
tuple) –A sequence of sequences. Each sequence consists of an element sequence and a side identifier. The possible side identifiers depend on the type of element, as described in the following table:
Sequence of elements | Side identifiers |——————————– | —————————————- |Solid elements | FACE1, FACE2, FACE3, FACE4, FACE5, FACE6 |Three-dimensional shell elements | SIDE1, SIDE2 |Two-dimensional elements | FACE1, FACE2, FACE3, FACE4 |Wire elements | END, END2 |For example:
side1Elements=instance1.elements[217:218] side2Elements=instance2.elements[100:105] assembly.MeshSurface( name='Surf-1', meshSurfaces=((side1Elems,SIDE1), (side2Elems,SIDE2)) )
- Returns:
An
OdbSetobject.- Return type:
- MeshSurfaceFromElsets(name, elementSetSeq)[source]#
This method creates a mesh surface from a sequence of element sets.
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.elementSetSeq (
tuple) – A sequence of element sets. For example,`elementSetSeq=((elset1,SIDE1),(elset2,SIDE2))`where elset1=session.odbs[name].rootAssembly.elementSets[‘Clutch’] `and `SIDE1 and SIDE2 indicate the side of the element set.
- Returns:
An
OdbSetobject.- Return type:
- MeshSurfaceFromLabels(name, surfaceLabels)[source]#
This method creates a mesh surface from a sequence of surface labels.
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.surfaceLabels (
tuple) – A sequence of surface labels. For example,`surfaceLabels=((‘Instance-1’, ((10, FACE1), (11, FACE2))), (‘Instance-2’, ((10, FACE3), (12, FACE4))))`where 10 is an element number and FACE1 indicates the side of the element.
- Returns:
An
OdbSetobject.- Return type:
- NodeSetFromNodeLabels(name, nodeLabels)[source]#
This method creates a node set from a sequence of node labels.
Note
This function can be accessed by:
session.odbs[name].parts[name].NodeSet session.odbs[name].rootAssembly.instances[name].NodeSet session.odbs[name].rootAssembly.NodeSet
Note
- Parameters:
name (
str) – A String specifying the name of the set and the repository key.nodeLabels (
tuple) – A sequence of node labels. A node label is a sequence of Int node identifiers. For example, for a part:nodeLabels=(2,3,5,7)`For an assembly:`nodeLabels=((‘Instance-1’, (2,3,5,7)), (‘Instance-2’, (1,2,3)))
- Returns:
An
OdbSetobject.- Return type:
- elements: List[OdbMeshElement] = [][source]#
An
OdbMeshElementArrayobject specifying the elements of an OdbSet. If a set spans more than one part instance, this member is a sequence of sequences for each part instance.
- faces: Optional[SymbolicConstant] = None[source]#
A tuple of SymbolicConstants specifying the element face. If a set spans more than one part instance, this member is a sequence of sequences for each part instance.
- instanceNames: tuple = ()[source]#
A tuple of Strings specifying the namespaces for the nodes, elements, and faces; None if the set is on a Part or an OdbInstance object.
- instances: str = ''[source]#
A repository of an OdbInstance object.
New in version 2020: The instances attribute was added.
- isInternal: Union[AbaqusBoolean, bool] = OFF[source]#
A Boolean specifying whether the set is internal.
New in version 2020: The isInternal attribute was added.
- nodes: List[OdbMeshNode] = [][source]#
An
OdbMeshNodeArrayobject specifying the nodes of an OdbSet. If a set spans more than one part instance, this member is a sequence of sequences for each part instance.
OdbStep#
- class OdbStep(name, description, domain, timePeriod=0, previousStepName='', procedure='', totalTime=None)[source]#
Public Data Attributes:
Inherited from
OdbStepBaseAn Int specifying the step number.
A Boolean specifying whether geometric nonlinearity can occur in this step.
A Float specifying the current value of the mass of the model.
A Float specifying the current value of the mass of the acoustic media of the model.
An
OdbFrameArrayobject.A repository of HistoryRegion objects.
A repository of OdbLoadCase objects.
A tuple of Floats specifying the coordinates of the center of mass.
A tuple of Floats specifying the moments and products of inertia about the center of mass.
A tuple of Floats specifying the moments and products of inertia about the origin of the global coordinate system.
A tuple of Floats specifying the coordinates of the center of mass of the acoustic media.
Public Methods:
HistoryRegion(name, description, point[, ...])This method creates a HistoryRegion object.
Frame()LoadCase(name)This method creates an OdbLoadCase object.
Inherited from
OdbStepBase__init__(name, description, domain[, ...])This method creates an OdbStep object.
getFrame(*args, **kwargs)getHistoryRegion(point[, loadCase])This method retrieves a HistoryRegion object associated with a HistoryPoint in the model.
setDefaultDeformedField(field)This method sets the default deformed field variable in a step.
setDefaultField(field)This method sets the default field variable in a step.
- Frame(incrementNumber: int, frameValue: float, description: str = '') OdbFrame[source]#
- Frame(mode: int, frequency: float, description: str = '') OdbFrame
- Frame(loadCase: OdbLoadCase, description: str = '', frequency: float = 0) OdbFrame
- HistoryRegion(name, description, point, loadCase=None)[source]#
This method creates a HistoryRegion object.
Note
This function can be accessed by:
session.odbs[name].steps[name].HistoryRegion
Note
- Parameters:
name (
str) – A String specifying the name of the HistoryRegion object.description (
str) – A String specifying the description of the HistoryRegion object.point (
HistoryPoint) – AHistoryPointobject specifying the point to which the history data refer.loadCase (
Optional[str], default:None) – None or an OdbLoadCase object specifying the load case associated with the HistoryRegion object. The default value is None.
- Returns:
A
HistoryRegionobject.- Return type:
- LoadCase(name)[source]#
This method creates an OdbLoadCase object.
Note
This function can be accessed by:
session.odbs[name].steps[name].LoadCase
- Parameters:
name (
str) – A String specifying the name of the OdbLoadCase object.- Returns:
An
OdbLoadCaseobject.- Return type:
OdbLoadCase
- acousticMass: Optional[float] = None[source]#
A Float specifying the current value of the mass of the acoustic media of the model.
- acousticMassCenter: Optional[float] = None[source]#
A tuple of Floats specifying the coordinates of the center of mass of the acoustic media.
- frames: OdbFrameArray = [][source]#
An
OdbFrameArrayobject.
- getHistoryRegion(point, loadCase=<abaqus.Odb.OdbLoadCase.OdbLoadCase object>)[source]#
This method retrieves a HistoryRegion object associated with a HistoryPoint in the model.
- Parameters:
point (
HistoryPoint) – AHistoryPointobject specifying the point in the model.loadCase (
OdbLoadCase, default:<abaqus.Odb.OdbLoadCase.OdbLoadCase object at 0x7f350e08e7a0>) – AnOdbLoadCaseobject specifying a load case in the step.
- Returns:
A
HistoryRegionobject.- Return type:
- Raises:
OdbError – If a HistoryRegion object is not found.
- historyRegions: Dict[str, HistoryRegion] = {}[source]#
A repository of HistoryRegion objects.
- inertiaAboutCenter: Optional[float] = None[source]#
A tuple of Floats specifying the moments and products of inertia about the center of mass. For 3-D models inertia quantities are written in the following order: I(XX), I(YY), I(ZZ), I(XY), I(XZ), and I(YZ). For 2-D models only I(ZZ) and I(XY) are outputted.
- inertiaAboutOrigin: Optional[float] = None[source]#
A tuple of Floats specifying the moments and products of inertia about the origin of the global coordinate system. For 3-D models inertia quantities are written in the following order: I(XX), I(YY), I(ZZ), I(XY), I(XZ), and I(YZ). For 2-D models only I(ZZ) and I(XY) are outputted.
- loadCases: Dict[str, OdbLoadCase] = {}[source]#
A repository of OdbLoadCase objects.
- mass: Optional[float] = None[source]#
A Float specifying the current value of the mass of the model. This does not include the mass of the acoustic media if any present.
- massCenter: Optional[float] = None[source]#
A tuple of Floats specifying the coordinates of the center of mass.
- nlgeom: Boolean = OFF[source]#
A Boolean specifying whether geometric nonlinearity can occur in this step.
- setDefaultDeformedField(field)[source]#
This method sets the default deformed field variable in a step.
- Parameters:
field (
FieldOutput) – AFieldOutputobject specifying the default deformed field variable for visualization.
- setDefaultField(field)[source]#
This method sets the default field variable in a step.
Note
- Parameters:
field (
FieldOutput) – AFieldOutputobject specifying the default field variable for visualization.
OdbStepBase#
- class OdbStepBase(name, description, domain, timePeriod=0, previousStepName='', procedure='', totalTime=None)[source]#
An output database contains the same steps of the model database that originated it.
Note
This object can be accessed by:
import odbAccess session.odbs[name].steps[name]
Note
Public Data Attributes:
An Int specifying the step number.
A Boolean specifying whether geometric nonlinearity can occur in this step.
A Float specifying the current value of the mass of the model.
A Float specifying the current value of the mass of the acoustic media of the model.
An
OdbFrameArrayobject.A repository of HistoryRegion objects.
A repository of OdbLoadCase objects.
A tuple of Floats specifying the coordinates of the center of mass.
A tuple of Floats specifying the moments and products of inertia about the center of mass.
A tuple of Floats specifying the moments and products of inertia about the origin of the global coordinate system.
A tuple of Floats specifying the coordinates of the center of mass of the acoustic media.
Public Methods:
__init__(name, description, domain[, ...])This method creates an OdbStep object.
getFrame()getHistoryRegion(point[, loadCase])This method retrieves a HistoryRegion object associated with a HistoryPoint in the model.
setDefaultDeformedField(field)This method sets the default deformed field variable in a step.
setDefaultField(field)This method sets the default field variable in a step.
- acousticMass: Optional[float] = None[source]#
A Float specifying the current value of the mass of the acoustic media of the model.
- acousticMassCenter: Optional[float] = None[source]#
A tuple of Floats specifying the coordinates of the center of mass of the acoustic media.
- frames: List[OdbFrame] = [][source]#
An
OdbFrameArrayobject.
- getFrame(frameValue: str, match: Literal[CLOSEST, BEFORE, AFTER, EXACT] = CLOSEST) OdbFrame[source]#
- getFrame(loadCase: OdbLoadCase) OdbFrame
- getFrame(loadCase: OdbLoadCase, frameValue: str, match: Literal[CLOSEST, BEFORE, AFTER, EXACT] = CLOSEST) OdbFrame
- getHistoryRegion(point, loadCase=<abaqus.Odb.OdbLoadCase.OdbLoadCase object>)[source]#
This method retrieves a HistoryRegion object associated with a HistoryPoint in the model.
- Parameters:
point (
HistoryPoint) – AHistoryPointobject specifying the point in the model.loadCase (
OdbLoadCase, default:<abaqus.Odb.OdbLoadCase.OdbLoadCase object at 0x7f350e08e7a0>) – AnOdbLoadCaseobject specifying a load case in the step.
- Returns:
A
HistoryRegionobject.- Return type:
HistoryRegion- Raises:
OdbError – If a HistoryRegion object is not found.
- historyRegions: Dict[str, HistoryRegion] = {}[source]#
A repository of HistoryRegion objects.
- inertiaAboutCenter: Optional[float] = None[source]#
A tuple of Floats specifying the moments and products of inertia about the center of mass. For 3-D models inertia quantities are written in the following order: I(XX), I(YY), I(ZZ), I(XY), I(XZ), and I(YZ). For 2-D models only I(ZZ) and I(XY) are outputted.
- inertiaAboutOrigin: Optional[float] = None[source]#
A tuple of Floats specifying the moments and products of inertia about the origin of the global coordinate system. For 3-D models inertia quantities are written in the following order: I(XX), I(YY), I(ZZ), I(XY), I(XZ), and I(YZ). For 2-D models only I(ZZ) and I(XY) are outputted.
- loadCases: Dict[str, OdbLoadCase] = {}[source]#
A repository of OdbLoadCase objects.
- mass: Optional[float] = None[source]#
A Float specifying the current value of the mass of the model. This does not include the mass of the acoustic media if any present.
- massCenter: Optional[float] = None[source]#
A tuple of Floats specifying the coordinates of the center of mass.
- nlgeom: Union[AbaqusBoolean, bool] = OFF[source]#
A Boolean specifying whether geometric nonlinearity can occur in this step.
- setDefaultDeformedField(field)[source]#
This method sets the default deformed field variable in a step.
- Parameters:
field (
FieldOutput) – AFieldOutputobject specifying the default deformed field variable for visualization.
- setDefaultField(field)[source]#
This method sets the default field variable in a step.
Note
- Parameters:
field (
FieldOutput) – AFieldOutputobject specifying the default field variable for visualization.
RebarOrientation#
- class RebarOrientation[source]#
The RebarOrientation object represents the orientation of the rebar reference.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].rebarOrientations[i] session.odbs[name].rootAssembly.instances[name].rebarOrientations[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.rebarOrientations[i]
Note
Public Data Attributes:
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied.
A Float specifying the angle of the additional rotation.
An
OdbSetobject specifying a region for which the rebar orientation is defined.An
OdbDatumCsysobject specifying a datum coordinates system.
- axis: Optional[SymbolicConstant] = None[source]#
A SymbolicConstant specifying the axis of a cylindrical or spherical datum coordinate system about which an additional rotation is applied. Possible values are AXIS_1, AXIS_2, and AXIS_3.
- csys: OdbDatumCsys = <abaqus.Odb.OdbDatumCsys.OdbDatumCsys object>[source]#
An
OdbDatumCsysobject specifying a datum coordinates system.
RebarOrientationArray#
- RebarOrientationArray[source]#
alias of
List[RebarOrientation]
ScratchOdb#
- class ScratchOdb(odb)[source]#
A scratch output database is associated with an open output database and is used to store session-related, non-persistent objects, such as Step, Frame and FieldOutput objects. Abaqus creates a scratch output database when needed for these non-persistent objects during an Abaqus/CAE session. Abaqus deletes the scratch output database when the associated output database is closed.
Note
This object can be accessed by:
import odbAccess session.scratchOdbs[name]
Note
Public Methods:
__init__(odb)This method creates a new ScratchOdb object.
SectionCategory#
- class SectionCategory(name, description)[source]#
The SectionCategory object is used to group regions of the model with like sections. Section definitions that contain the same number of section points or integration points are grouped together. To access data for a particular section definition, use the individual Section objects in the output database. For more information, see Beam Section profile commands and Section commands.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].elements[i].sectionCategory session.odbs[name].parts[name].elementSets[name].elements[i].sectionCategory session.odbs[name].parts[name].nodeSets[name].elements[i].sectionCategory session.odbs[name].parts[name].surfaces[name].elements[i].sectionCategory session.odbs[name].rootAssembly.elements[i].sectionCategory session.odbs[name].rootAssembly.elementSets[name].elements[i].sectionCategory session.odbs[name].rootAssembly.instances[name].elements[i].sectionCategory session.odbs[name].rootAssembly.instances[name].elementSets[name].elements[i].sectionCategory session.odbs[name].rootAssembly.instances[name].nodeSets[name].elements[i].sectionCategory session.odbs[name].rootAssembly.instances[name].surfaces[name].elements[i].sectionCategory session.odbs[name].rootAssembly.nodeSets[name].elements[i].sectionCategory session.odbs[name].rootAssembly.surfaces[name].elements[i].sectionCategory session.odbs[name].sectionCategories[name] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elements[i].sectionCategory session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elementSets[name].elements[i].sectionCategory session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodeSets[name].elements[i].sectionCategory session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.surfaces[name].elements[i].sectionCategory
Note
Public Data Attributes:
A
SectionPointArrayobject.Public Methods:
__init__(name, description)This method creates a SectionCategory object.
SectionPoint(number, description)This method creates a SectionPoint object.
- SectionPoint(number, description)[source]#
This method creates a SectionPoint object.
Note
This function can be accessed by:
session.odbs[name].SectionCategory
Note
- Parameters:
- Returns:
A
SectionPointobject.- Return type:
- sectionPoints: List[SectionPoint] = [][source]#
A
SectionPointArrayobject.
SectionPoint#
- class SectionPoint(number, description)[source]#
The SectionPoint object describes the location of a section point within a section category.
Note
This object can be accessed by:
import odbAccess session.odbs[name].parts[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].parts[name].elementSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].parts[name].nodeSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].parts[name].surfaces[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.elementSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.instances[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.instances[name].elementSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.instances[name].nodeSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.instances[name].surfaces[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.nodeSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].rootAssembly.surfaces[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].sectionCategories[name].sectionPoints[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].locations[i].sectionPoints[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elements[i].sectionCategory.sectionPoints[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.elementSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.nodeSets[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.surfaces[name].elements[i].sectionCategory.sectionPoints[i] session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].sectionPoint
Note
Public Methods:
__init__(number, description)This method creates a SectionPoint object.
SectionPointArray#
- SectionPointArray[source]#
alias of
List[SectionPoint]
SectorDefinition#
- class SectorDefinition[source]#
The SectorDefinition object describes the number of symmetry sectors and axis of symmetry for a cyclic symmetry model.
Note
This object can be accessed by:
import odbAccess session.odbs[name].sectorDefinition
Note
Public Data Attributes:
An Int specifying the number of sectors in the cyclic symmetry model.
A tuple of tuples of Floats specifying the coordinates of two points on the axis of symmetry.
UserData#
- class UserData[source]#
Public Data Attributes:
Inherited from
UserDataBaseA String specifying the repository key.
A String specifying the source of the X - Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.).
A String specifying the content of the X - Y data (e.g., “field 1 vs.
A String specifying additional information about the X - Y data (e.g., “for whole model”).
A String specifying the label for the X-values.
A String specifying the label for the Y-values.
A
QuantityTypeobject specifying the QuantityType object associated to the X -axis1- values.A
QuantityTypeobject specifying the QuantityType object associated to the Y -axis2- values.A String specifying the label to be used in the legend.
A repository of XYData objects.
A repository of Annotation objects.
A tuple of pairs of Floats specifying the X - Y data pairs.
Public Methods:
Inherited from
AnimationUserDataArrow(name[, startPoint, endPoint, ...])This method creates an Arrow object.
Text(name[, text, offset, anchor, ...])This method creates a Text object.
Inherited from
UserDataBaseXYData(name, data[, sourceDescription, ...])This method creates an XYData object from a sequence of X - Y data pairs.
- Arrow(name, startPoint=(0.0, 0.0), endPoint=(0.0, 0.0), startAnchor=abaqusConstants.BOTTOM_LEFT, endAnchor=abaqusConstants.BOTTOM_LEFT, startHeadStyle=abaqusConstants.NONE, endHeadStyle=abaqusConstants.FILLED_ARROW, startGap=0.0, endGap=0.0, color='White', lineStyle=abaqusConstants.SOLID, lineThickness=abaqusConstants.VERY_THIN)[source]#
This method creates an Arrow object.
Note
This function can be accessed by:
mdb.Arrow session.odbs[name].userData.Arrow
Note
Check Arrow on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the annotation repository key.startPoint (
Tuple[float,...], default:(0.0, 0.0)) – A pair of Floats specifying the start point X- and Y-offsets in millimeters from startAnchor. The default value is (0, 0).endPoint (
Tuple[float,...], default:(0.0, 0.0)) – A pair of Floats specifying the end point X- and Y-offsets in millimeters from endAnchor. The default value is (0, 0).startAnchor (
Union[SymbolicConstant,float], default:BOTTOM_LEFT) –A SymbolicConstant or a sequence of Floats specifying a point. A sequence of two Floats specifies the X- and Y-coordinates as percentages of the viewport width and height. A sequence of three Floats specifies the X-, Y-, and Z-coordinates of a point in the model coordinate system. A SymbolicConstant indicates a relative position. Possible values are:
BOTTOM_LEFT,,
BOTTOM_CENTER
BOTTOM_RIGHT
CENTER_LEFT
CENTER
CENTER_RIGHT
TOP_LEFT
TOP_CENTER
TOP_RIGHT
The default value is BOTTOM_LEFT.
endAnchor (
Union[SymbolicConstant,float], default:BOTTOM_LEFT) –A SymbolicConstant or a sequence of Floats specifying a point. A sequence of two Floats specifies the X- and Y-coordinates as percentages of the viewport width and height. A Sequence of three Floats specifies the X-, Y-, and Z-coordinates of a point in the model coordinate system. A SymbolicConstant indicates a relative position. Possible values are:
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
CENTER_LEFT
CENTER
CENTER_RIGHT
TOP_LEFT
TOP_CENTER
TOP_RIGHT
The default value is BOTTOM_LEFT.
startHeadStyle (
SymbolicConstant, default:NONE) –A SymbolicConstant specifying the style of the start head. Possible values are:
ARROW
FILLED_ARROW
HOLLOW_CIRCLE
FILLED_CIRCLE
HOLLOW_DIAMOND
FILLED_DIAMOND
HOLLOW_SQUARE
FILLED_SQUARE
NONE
The default value is NONE.
endHeadStyle (
SymbolicConstant, default:FILLED_ARROW) –A SymbolicConstant specifying the style of the end head. Possible values are:
ARROW
FILLED_ARROW
HOLLOW_CIRCLE
FILLED_CIRCLE
HOLLOW_DIAMOND
FILLED_DIAMOND
HOLLOW_SQUARE
FILLED_SQUARE
NONE
The default value is FILLED_ARROW.
startGap (
float, default:0.0) – A Float specifying the distance in millimeters between the arrow start point and the arrow start head. The default value is 0.0.endGap (
float, default:0.0) – A Float specifying the distance in millimeters between the arrow end point and the arrow end head. The default value is 0.0.color (
str, default:'White') – A String specifying the color of the arrow. Possible string values are any valid color. The default value is “White”.lineStyle (
SymbolicConstant, default:SOLID) – A SymbolicConstant specifying the line style of the arrow. Possible values are SOLID, DASHED, DOTTED, and DOT_DASH. The default value is SOLID.lineThickness (
SymbolicConstant, default:VERY_THIN) – A SymbolicConstant specifying the line thickness of the arrow. Possible values are VERY_THIN, THIN, MEDIUM, and THICK. The default value is VERY_THIN.
- Returns:
An
Arrowobject.- Return type:
- Text(name, text='', offset=(), anchor=abaqusConstants.BOTTOM_LEFT, referencePoint=abaqusConstants.BOTTOM_LEFT, rotationAngle=0, color='White', font='-*-verdana-medium-r-normal--120-*', backgroundStyle=abaqusConstants.TRANSPARENT, backgroundColor='', box=OFF, justification=abaqusConstants.JUSTIFY_LEFT)[source]#
This method creates a Text object.
Note
This function can be accessed by:
mdb.Text session.odbs[name].userData.Text
Note
Check Text on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the annotation repository key.text (
str, default:'') – A String specifying the text of the Text object. The default value is an empty string.offset (
Tuple[float,...], default:()) – A pair of Floats specifying the X- and Y-offsets in millimeters of the Text object from anchor. The default value is (0, 0).anchor (
Union[SymbolicConstant,float], default:BOTTOM_LEFT) –A SymbolicConstant or a sequence of Floats specifying a point. A sequence of two Floats specifies the X- and Y coordinates as percentages of the viewport width and height. A Sequence of three Floats specifies the X-, Y-, and Z-coordinates of a point in the model coordinate system. A SymbolicConstant specifies a relative position. Possible values are:
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
CENTER_LEFT
CENTER
CENTER_RIGHT
TOP_LEFT
TOP_CENTER
TOP_RIGHT
The default value is BOTTOM_LEFT.
referencePoint (
Union[SymbolicConstant,float], default:BOTTOM_LEFT) –A SymbolicConstant or a sequence of Floats specifying a point. The sequence of two Floats specifies the X- and Y-coordinates of the reference point of the Text annotation given as percentages of its width and height. The SymbolicConstant indicates a relative position. Possible values are:
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
CENTER_LEFT
CENTER
CENTER_RIGHT
TOP_LEFT
TOP_CENTER
TOP_RIGHT
The default value is BOTTOM_LEFT.
rotationAngle (
float, default:0) – A Float specifying the amount of rotation in degrees about referencePoint. The default value is 0.0.color (
str, default:'White') – A String specifying the color of the Text object. Possible string values are any valid color. The default value is “White”.font (
str, default:'-*-verdana-medium-r-normal--120-*') – A String specifying the font of the Text object. Possible string values are any valid font specification. The default value is “--verdana-medium-r-normal–120-“.backgroundStyle (
SymbolicConstant, default:TRANSPARENT) – A SymbolicConstant specifying the Text object background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.backgroundColor (
str, default:'') – A String specifying the color of the Text object background. Possible string values are any valid color. The default value matches the viewport background.box (
Union[AbaqusBoolean,bool], default:OFF) – A Boolean specifying whether the box around the text is shown. The default value is OFF.justification (
SymbolicConstant, default:JUSTIFY_LEFT) – A SymbolicConstant specifying the Text object justification for multiline text. Possible values are JUSTIFY_LEFT, JUSTIFY_CENTER, and JUSTIFY_RIGHT. The default value is JUSTIFY_LEFT.
- Returns:
A
Textobject.- Return type:
- XYData(name, data, sourceDescription='', contentDescription='', positionDescription='', legendLabel='', xValuesLabel='', yValuesLabel='', axis1QuantityType=None, axis2QuantityType=None)[source]#
This method creates an XYData object from a sequence of X - Y data pairs.
Note
This function can be accessed by:
session.odbs[name].userData.XYData
Note
Check XYData on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of pairs of Floats specifying the X - Y data pairs.sourceDescription (
str, default:'') – A String specifying the source of the X - Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.). The default value is an empty string.contentDescription (
str, default:'') – A String specifying the content of the X - Y data (e.g., “field 1 vs. field 2”). The default value is an empty string.positionDescription (
str, default:'') – A String specifying additional information about the X - Y data (e.g., “for whole model”). The default value is an empty string.legendLabel (
str, default:'') – A String specifying the label to be used in the legend. The default value is the name of the XYData object.xValuesLabel (
str, default:'') – A String specifying the label for the X-values. This value may be overridden if the X - Y data are combined with other X - Y data. The default value is an empty string.yValuesLabel (
str, default:'') – A String specifying the label for the Y-values. This value may be overridden if the X - Y data are combined with other X - Y data. The default value is an empty string.axis1QuantityType (
Optional[QuantityType], default:None) – AQuantityTypeobject specifying the QuantityType object associated to the X -axis1- values.axis2QuantityType (
Optional[QuantityType], default:None) – AQuantityTypeobject specifying the QuantityType object associated to the Y -axis2- values.
- Returns:
An
XYDataobject.- Return type:
- annotations: Dict[str, Annotation] = {}[source]#
A repository of Annotation objects.
- axis1QuantityType: QuantityType = <abaqus.XY.QuantityType.QuantityType object>[source]#
A
QuantityTypeobject specifying the QuantityType object associated to the X -axis1- values.
- axis2QuantityType: QuantityType = <abaqus.XY.QuantityType.QuantityType object>[source]#
A
QuantityTypeobject specifying the QuantityType object associated to the Y -axis2- values.
- contentDescription: str = ''[source]#
A String specifying the content of the X - Y data (e.g., “field 1 vs. field 2”). The default value is an empty string.
- legendLabel: str = ''[source]#
A String specifying the label to be used in the legend. The default value is the name of the XYData object.
- positionDescription: str = ''[source]#
A String specifying additional information about the X - Y data (e.g., “for whole model”). The default value is an empty string.
- sourceDescription: str = ''[source]#
A String specifying the source of the X - Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.). The default value is an empty string.
UserDataBase#
- class UserDataBase[source]#
The UserData object contains user-defined XY data. The UserData object has no constructor; it is created automatically when an Odb object is created.
Note
This object can be accessed by:
import odbAccess session.odbs[name].userData
Note
Public Data Attributes:
A String specifying the repository key.
A String specifying the source of the X - Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.).
A String specifying the content of the X - Y data (e.g., “field 1 vs.
A String specifying additional information about the X - Y data (e.g., “for whole model”).
A String specifying the label for the X-values.
A String specifying the label for the Y-values.
A
QuantityTypeobject specifying the QuantityType object associated to the X -axis1- values.A
QuantityTypeobject specifying the QuantityType object associated to the Y -axis2- values.A String specifying the label to be used in the legend.
A repository of XYData objects.
A repository of Annotation objects.
A tuple of pairs of Floats specifying the X - Y data pairs.
Public Methods:
XYData(name, data[, sourceDescription, ...])This method creates an XYData object from a sequence of X - Y data pairs.
- XYData(name, data, sourceDescription='', contentDescription='', positionDescription='', legendLabel='', xValuesLabel='', yValuesLabel='', axis1QuantityType=None, axis2QuantityType=None)[source]#
This method creates an XYData object from a sequence of X - Y data pairs.
Note
This function can be accessed by:
session.odbs[name].userData.XYData
Note
Check XYData on help.3ds.com/0.1..
- Parameters:
name (
str) – A String specifying the repository key.data (
tuple) – A sequence of pairs of Floats specifying the X - Y data pairs.sourceDescription (
str, default:'') – A String specifying the source of the X - Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.). The default value is an empty string.contentDescription (
str, default:'') – A String specifying the content of the X - Y data (e.g., “field 1 vs. field 2”). The default value is an empty string.positionDescription (
str, default:'') – A String specifying additional information about the X - Y data (e.g., “for whole model”). The default value is an empty string.legendLabel (
str, default:'') – A String specifying the label to be used in the legend. The default value is the name of the XYData object.xValuesLabel (
str, default:'') – A String specifying the label for the X-values. This value may be overridden if the X - Y data are combined with other X - Y data. The default value is an empty string.yValuesLabel (
str, default:'') – A String specifying the label for the Y-values. This value may be overridden if the X - Y data are combined with other X - Y data. The default value is an empty string.axis1QuantityType (
Optional[QuantityType], default:None) – AQuantityTypeobject specifying the QuantityType object associated to the X -axis1- values.axis2QuantityType (
Optional[QuantityType], default:None) – AQuantityTypeobject specifying the QuantityType object associated to the Y -axis2- values.
- Returns:
An
XYDataobject.- Return type:
- annotations: Dict[str, Annotation] = {}[source]#
A repository of Annotation objects.
- axis1QuantityType: QuantityType = <abaqus.XY.QuantityType.QuantityType object>[source]#
A
QuantityTypeobject specifying the QuantityType object associated to the X -axis1- values.
- axis2QuantityType: QuantityType = <abaqus.XY.QuantityType.QuantityType object>[source]#
A
QuantityTypeobject specifying the QuantityType object associated to the Y -axis2- values.
- contentDescription: str = ''[source]#
A String specifying the content of the X - Y data (e.g., “field 1 vs. field 2”). The default value is an empty string.
- legendLabel: str = ''[source]#
A String specifying the label to be used in the legend. The default value is the name of the XYData object.
- positionDescription: str = ''[source]#
A String specifying additional information about the X - Y data (e.g., “for whole model”). The default value is an empty string.
- sourceDescription: str = ''[source]#
A String specifying the source of the X - Y data (e.g., “Entered from keyboard”, “Taken from ASCII file”, “Read from an ODB”, etc.). The default value is an empty string.