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.

Classes

Odb

class Odb(name, analysisTitle='', description='', path='')[源代码]

基类:AmplitudeOdb, FilterOdb, MaterialOdb, BeamSectionProfileOdb, Displayable

The Odb object is the in-memory representation of an output database (ODB) file.

备注

This object can be accessed by:

import odbAccess
session.odbs[name]

备注

Check Odb on help.3ds.com/2024.

Public Data Attributes:

Inherited from OdbBase

isReadOnly

A Boolean specifying whether the output database was opened with read-only access.

amplitudes

A repository of Amplitude objects.

filters

A repository of Filter objects.

rootAssembly

An OdbAssembly object.

jobData

A JobData object.

parts

A repository of OdbPart objects.

materials

A repository of Material objects.

steps

A repository of OdbStep objects.

sections

A repository of Section objects.

sectionCategories

A repository of SectionCategory objects.

sectorDefinition

A SectorDefinition object.

userData

A UserData object.

customData

A RepositorySupport object.

profiles

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 AmplitudeOdb

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 FilterOdb

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 MaterialOdb

Material(name[, description, materialIdentifier])

This method creates a Material object.

Inherited from BeamSectionProfileOdb

ArbitraryProfile(name, table)

This method creates a ArbitraryProfile object.

BoxProfile(name, a, b, uniformThickness, t1)

This method creates a BoxProfile object.

ChannelProfile(name, l, h, b1, b2, t1, t2, t3, o)

This method creates a ChannelProfile object.

CircularProfile(name, r)

This method creates a CircularProfile object.

GeneralizedProfile(name, area, i11, i12, ...)

This method creates a GeneralizedProfile object.

HatProfile(name, l, h, b, b1, b2, t1, t2, t3)

This method creates a HatProfile 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.


Member Details:

Part(name, embeddedSpace, type)[源代码]

This method creates an OdbPart object. Nodes and elements are added to this object at a later stage.

备注

This function can be accessed by:

session.odbs[name].Part
参数:
name

A String specifying the part name.

embeddedSpace

A SymbolicConstant specifying the dimensionality of the Part object. Possible values are THREE_D, TWO_D_PLANAR, and AXISYMMETRIC.

type

A SymbolicConstant specifying the type of the Part object. Possible values are DEFORMABLE_BODY and ANALYTIC_RIGID_SURFACE.

返回:

An OdbPart object.

返回类型:

OdbPart

SectionCategory(name, description)[源代码]

This method creates a SectionCategory object.

备注

This function can be accessed by:

session.odbs[name].SectionCategory
参数:
name

A String specifying the name of the category.

description

A String specifying the description of the category.

返回:

A SectionCategory object.

返回类型:

SectionCategory

Step(
name,
description,
domain,
timePeriod=0,
previousStepName='',
procedure='',
totalTime=-1.0,
)[源代码]

This method creates an OdbStep object.

备注

This function can be accessed by:

session.odbs[name].Step
参数:
name

A String specifying the repository key.

description

A String specifying the step description.

domain

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=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=''

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=''

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=-1.0

A Float specifying the analysis time spend in all the steps previous to this step. The default value is −1.0.

返回:

An OdbStep object.

返回类型:

OdbStep

抛出:

ValueError – previousStepName is invalid, If previousStepName is invalid.

Other Classes

class AnalyticSurface[源代码]

基类:object

The AnalyticSurface object is a geometric surface that can be described with straight and/or curved line segments.

备注

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

Member Details:

filletRadius : --is-rst--:py:class:`float` = 0[源代码]

A Float specifying radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

localCoordData : --is-rst--:py:class:`tuple`\ \[:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`], :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of tuples of Floats specifying the global coordinates of points representing the local coordinate system, if used.

name : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the name of the analytic surface.

segments : --is-rst--:py:class:`~abaqus.Odb.OdbSequenceAnalyticSurfaceSegment.OdbSequenceAnalyticSurfaceSegment` = <abaqus.Odb.OdbSequenceAnalyticSurfaceSegment.OdbSequenceAnalyticSurfaceSegment object>[源代码]

An OdbSequenceAnalyticSurfaceSegment object specifying the profile associated with the surface.

type : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the type of AnalyticSurface object. Possible values are SEGMENTS, CYLINDER, and REVOLUTION.

class OdbSequenceAnalyticSurfaceSegment[源代码]

基类:object

A sequence of AnalyticSurfaceSegment describing an analytic surface profile.

备注

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

Member Details:

Circle(center, endPoint)[源代码]

This method adds a AnalyticSurfaceSegment describing a circular segment of the surface profile.

参数:
center

A sequence of Floats specifying the coordinates of center of the circular segment.

endPoint

A sequence of Floats specifying the coordinates of end point of the circular segment.

Line(endPoint)[源代码]

This method adds a AnalyticSurfaceSegment describing the line segment of the surface profile.

参数:
endPoint

A sequence of Floats specifying the coordinates of end point.

Parabola(middlePoint, endPoint)[源代码]

This method adds a AnalyticSurfaceSegment describing a parabolic segment of the surface profile.

参数:
middlePoint

A sequence of Floats specifying the coordinates of middle point of the parabolic segment.

endPoint

A sequence of Floats specifying the coordinates of end point of the parabolic segment.

Start(origin)[源代码]

This method adds a AnalyticSurfaceSegment describing the first segment of the surface profile.

参数:
origin

A sequence of Floats specifying the coordinates of start point.

class AnalyticSurfaceSegment(type, data)[源代码]

基类:object

An individual segment of the analytic surface.

备注

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]

Member Details:

data : --is-rst--:py:class:`tuple`\ \[:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`], :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the type of AnalyticSurfaceSegment. Possible values are START, LINE, CIRCLE, and PARABOLA.

class BeamOrientation[源代码]

基类:object

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.

备注

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]

Member Details:

method : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the orientation assignment method. Possible values are N1_COSINES, CSYS, and VECT.

region : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying a region for which the beam orientation is defined.

vector : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying direction cosines of the n1-direction of the beam cross-section.

class OdbSet(name, nodes)[源代码]

基类:object

The set objects are used to identify regions of a model.

备注

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]

Member Details:

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).

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

elements

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])

返回:

An OdbSet object.

返回类型:

OdbSet

ElementSetFromElementLabels(name, elementLabels)[源代码]

This method creates an element set from a sequence of element labels.

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

elementLabels

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)))

返回:

An OdbSet object.

返回类型:

OdbSet

MeshSurface(name, meshSurfaces)[源代码]

This method creates a surface from the element and side identifiers for the assembly.

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

meshSurfaces

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))
)

返回:

An OdbSet object.

返回类型:

OdbSet

MeshSurfaceFromElsets(name, elementSetSeq)[源代码]

This method creates a mesh surface from a sequence of element sets.

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

elementSetSeq

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.

返回:

An OdbSet object.

返回类型:

OdbSet

MeshSurfaceFromLabels(name, surfaceLabels)[源代码]

This method creates a mesh surface from a sequence of surface labels.

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

surfaceLabels

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.

返回:

An OdbSet object.

返回类型:

OdbSet

NodeSetFromNodeLabels(name, nodeLabels)[源代码]

This method creates a node set from a sequence of node labels.

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

nodeLabels

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)))

返回:

An OdbSet object.

返回类型:

OdbSet

elements : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshElement.OdbMeshElement`] = [][源代码]

An OdbMeshElementArray object 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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`str` = ''[源代码]

A repository of an OdbInstance object.

Added in version 2020: The instances attribute was added.

isInternal : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] = 0[源代码]

A Boolean specifying whether the set is internal.

Added in version 2020: The isInternal attribute was added.

name : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the name of the set and the repository key.

nodes : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshNode.OdbMeshNode`] = [][源代码]

An OdbMeshNodeArray object 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.

class FieldBulkData[源代码]

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].frames[i].fieldOutputs[name].bulkDataBlocks[i]

Member Details:

componentLabels : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] = ()[源代码]

A sequence of Strings specifying the component labels.

conjugateData : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`int`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbInstance.OdbInstance` = <abaqus.Odb.OdbInstance.OdbInstance object>[源代码]

An OdbInstance object specifying the part to which the labels belong.

integrationPoints : --is-rst--:py:class:`tuple`\ \[:py:class:`int`, :py:data:`...<Ellipsis>`] = ()[源代码]

A sequence of Ints specifying the integration points in the elements in the block. integrationPoints is available only if position = INTEGRATION_POINT.

localCoordSystem : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`int`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.SectionPoint.SectionPoint` | :py:obj:`None` = None[源代码]

A SectionPoint object specifying the section point number of the current block of data.

type : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.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.

class OdbInstance(name, object, localCoordSystem=())[源代码]

基类:OdbInstanceBase

Member Details:

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).

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

nodes

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])

返回:

An OdbSet object.

返回类型:

OdbSet

class OdbPart(name, embeddedSpace, type)[源代码]

基类:OdbPartBase

Member Details:

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).

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

nodes

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])

返回:

An OdbSet object.

返回类型:

OdbSet

RigidBody(
referenceNode,
position=INPUT,
isothermal=0,
elset='',
pinNodes='',
tieNodes='',
analyticSurface='',
)[源代码]

This method defines an OdbRigidBody on the part object.

参数:
referenceNode

An OdbSet specifying the reference node assigned to the rigid body.

position=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=0

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=''

An OdbSet specifying an element set assigned to the rigid body.

pinNodes=''

An OdbSet specifying pin-type nodes assigned to the rigid body.

tieNodes=''

An OdbSet specifying tie-type nodes assigned to the rigid body.

analyticSurface=''

An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.

返回类型:

None.

抛出:

OdbError – Rigid body definition requires a node set, If referenceNode is not a node set.

class SectionPoint(number, description)[源代码]

基类:object

The SectionPoint object describes the location of a section point within a section category.

备注

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

Member Details:

description : --is-rst--:py:class:`str`[源代码]

A String specifying the description of the section point.

number : --is-rst--:py:class:`int`[源代码]

An Int specifying the number of the section point. See Beam elements and Shell elements for the numbering convention.

class FieldLocation[源代码]

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].frames[i].fieldOutputs[name].locations[i]

Member Details:

position : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.SectionPoint.SectionPoint`] = [][源代码]

A SectionPointArray object.

class FieldOutput(
name: str,
description: str,
type: SymbolicConstant,
componentLabels: tuple = (),
validInvariants: SymbolicConstant | None = None,
isEngineeringTensor: AbaqusBoolean | bool = OFF,
)[源代码]
class FieldOutput(
field: FieldOutput,
name: str = '',
description: str = '',
)

基类:object

A FieldOutput object contains field data for a specific output variable.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].frames[i].fieldOutputs[name]

Member Details:

addData(
position: SymbolicConstant,
instance: OdbInstance,
labels: tuple,
)[源代码]
addData(field: FieldOutput)
addData(
position: SymbolicConstant,
set: OdbSet,
data: tuple,
)
addData(*args, **kwargs)
componentLabels : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`str`[源代码]

) should not be used as a part of the field output description.

Type:

A String specifying the output variable. Colon (

dim : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the dimension of vector or the first dimension (number of rows) of matrix.

dim2 : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the second dimension (number of columns) of matrix.

getConnectorFieldXformedToNodeA(deformationField=None)[源代码]

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.

参数:
deformationField=None

A FieldOutput object specifying the nodal displacement vectors required by moving coordinate systems to determine instantaneous configurations.

返回:

A FieldOutput object.

返回类型:

FieldOutput

抛出:

odbException – The getConnectorFieldXformedToNodeA method throws an exception if the field requires a deformationField and the argument is not supplied.

getScalarField(
invariant: SymbolicConstant,
)[源代码]
getScalarField(componentLabel: str)
getScalarField(*args, **kwargs)
getSubset(
position: SymbolicConstant,
readOnly: AbaqusBoolean | bool = OFF,
)[源代码]
getSubset(region: OdbSet)
getSubset(localCoordSystem: Sequence[Sequence[float]])
getSubset(sectionPoint: SectionPoint)
getSubset(location: FieldLocation)
getSubset(region: OdbMeshElement)
getSubset(region: OdbMeshNode)
getSubset(region: FieldOutput)
getSubset(elementType: str)
getSubset(*args, **kwargs)
getTransformedField(
datumCsys: str,
projected22Axis: int | None = None,
projectionTol: str = '',
)[源代码]
getTransformedField(
datumCsys: str,
deformationField: FieldOutput | None = None,
projected22Axis: int | None = None,
)
getTransformedField(
datumCsys: str,
deformationField: FieldOutput | None = None,
rotationField: FieldOutput | None = None,
)
getTransformedField(*args, **kwargs)
isComplex : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] = 0[源代码]

A Boolean specifying whether the data are complex.

isEngineeringTensor : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] = 0[源代码]

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 : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.FieldLocation.FieldLocation`] = [][源代码]

A FieldLocationArray object.

name : --is-rst--:py:class:`str`[源代码]

A String specifying the output variable name.

setComponentLabels(componentLabels)[源代码]

This method sets the component labels for the FieldOutput object.

参数:
componentLabels

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)[源代码]

This method sets the data type of a FieldOutput object.

参数:
type

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)[源代码]

This method sets the invariants valid for the FieldOutput object.

参数:
validInvariants

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.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.

validInvariants : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.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:MAGNITUDEMISESTRESCAPRESSINV3MAX_PRINCIPALMID_PRINCIPALMIN_PRINCIPALMAX_INPLANE_PRINCIPALMIN_INPLANE_PRINCIPALOUTOFPLANE_PRINCIPALThe default value is an empty sequence.

values : --is-rst--:py:data:`~typing.Optional`\ \[:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.FieldValue.FieldValue`]] = None[源代码]

A FieldValueArray object 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.

class OdbMeshElement[源代码]

基类:object

OdbMeshElement objects are created with the part.addElements or rootAssembly.addElements methods.

备注

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]

Member Details:

connectivity : --is-rst--:py:class:`tuple`\ \[:py:class:`int`, :py:data:`...<Ellipsis>`] = ()[源代码]

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=CLOSEST)[源代码]

This method returns the normal direction for the element face.

Added in version 2017: The getNormal method was added.

参数:
faceIndex

The value of faceIndex is 0 for a shell element and can range from 0 to 5 for a solid element.

stepName=''

Name of the step.

frameValue=''

A Double specifying the value at which the frame is required. frameValue can be the total fime or frequency.

match=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.

返回:

A tuple of 3 floats representing the unit normal vector. If the element face is collapsed such that a normal cannot be computed, a zero-length vector is returned.

抛出:
  • OdbError – Frame not found, If the exact frame is not found.

  • OdbError – Step is not present in the ODB, If the step name is not found.

  • OdbError – If frameValue is not provided and stepName is empty.

instanceName : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the instance name.

instanceNames : --is-rst--:py:class:`tuple`\ \[:py:class:`str`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Strings specifying the instance names for nodes in the element connectivity.

label : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the element label.

sectionCategory : --is-rst--:py:class:`~abaqus.Odb.SectionCategory.SectionCategory` | :py:obj:`None` = None[源代码]

A SectionCategory object specifying the element section properties.

type : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the element type.

class OdbMeshNode[源代码]

基类:object

OdbMeshNode objects are created with the part.addNodes method.

备注

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]

Member Details:

coordinates : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the nodal coordinates in the global Cartesian coordinate system.

label : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the node label.

class FieldValue[源代码]

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i]

Member Details:

conjugateData : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the face of the element. face is available only if position = ELEMENT_FACE.

instance : --is-rst--:py:class:`~abaqus.Odb.OdbInstance.OdbInstance` = <abaqus.Odb.OdbInstance.OdbInstance object>[源代码]

An OdbInstance object specifying the part to which the labels belong.

integrationPoint : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the integration point in the element. integrationPoint is available only if position = INTEGRATION_POINT.

inv3 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`], :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of tuples of Floats specifying the 3 x 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 : --is-rst--:py:class:`tuple`\ \[:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`], :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of tuples of Floats specifying the 3 x 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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

A Float specifying the length or magnitude of the vector. magnitude is valid only when type = VECTOR.

maxInPlanePrincipal : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the node label of the node containing the location. nodelabel is available only if position = ELEMENT_NODAL or NODAL.

outOfPlanePrincipal : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.SectionPoint.SectionPoint` | :py:obj:`None` = None[源代码]

A SectionPoint object.

tresca : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.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.

class HistoryOutput(name, description, type, validInvariants=None)[源代码]

基类:object

The HistoryOutput object contains the history output at a point for the specified variable.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].historyRegions[name].historyOutputs[name]

Member Details:

addData(frame: str, value: str)[源代码]
addData(frame: tuple, value: tuple)
addData(data: tuple)
addData(*args, **kwargs)
conjugateData : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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.)

description : --is-rst--:py:class:`str`[源代码]

A String specifying the output variable.

name : --is-rst--:py:class:`str`[源代码]

A String specifying the output variable name.

type : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the output type. Only SCALAR is currently supported.

validInvariants : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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.

class HistoryPoint(node: OdbMeshNode)[源代码]
class HistoryPoint(
element: OdbMeshElement,
ipNumber: int = 0,
sectionPoint: SectionPoint | None = None,
face: SymbolicConstant = FACE_UNKNOWN,
node: OdbMeshNode | None = None,
)
class HistoryPoint(region: OdbSet)
class HistoryPoint(assembly: OdbAssembly)
class HistoryPoint(instance: OdbInstance)

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].historyRegions[name].point

Member Details:

assembly : --is-rst--:py:class:`~abaqus.Odb.OdbAssembly.OdbAssembly` = <abaqus.Odb.OdbAssembly.OdbAssembly object>[源代码]

An OdbAssembly object specifying the assembly for which the data are to be collected.

element : --is-rst--:py:class:`~abaqus.Odb.OdbMeshElement.OdbMeshElement` = <abaqus.Odb.OdbMeshElement.OdbMeshElement object>[源代码]

An OdbMeshElement object specifying the element for which the data are to be collected.

face : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` = 'FACE_UNKNOWN'[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbInstance.OdbInstance` = <abaqus.Odb.OdbInstance.OdbInstance object>[源代码]

An OdbInstance object specifying the instance for which the data are to be collected.

ipNumber : --is-rst--:py:class:`int` = 0[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbMeshNode.OdbMeshNode`[源代码]

An OdbMeshNode object specifying the node for which the data are to be collected.

position : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the region for which the data are to be collected.

sectionPoint : --is-rst--:py:class:`~abaqus.Odb.SectionPoint.SectionPoint`[源代码]

A SectionPoint object.

class OdbAssembly[源代码]

基类:OdbAssemblyBase

Member Details:

DatumCsys(name, datumCsys)[源代码]

This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsys
参数:
name

A String specifying the repository key.

datumCsys

An OdbDatumCsys object specifying the object to be copied.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysBy6dofNode(name, coordSysType, origin)[源代码]

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.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysBy6dofNode
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

origin

An OdbMeshNode object specifying the origin of the datum coordinate system.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysByThreeCircNodes(name, coordSysType, node1Arc, node2Arc, node3Arc)[源代码]

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.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreeCircNodes
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

node1Arc

An OdbMeshNode object that lies on the circular arc.

node2Arc

An OdbMeshNode object that lies on the circular arc.

node3Arc

An OdbMeshNode object that lies on the circular arc.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysByThreeNodes(name, coordSysType, origin, point1, point2)[源代码]

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.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreeNodes
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

origin

An OdbMeshNode object specifying a node at the origin of the datum coordinate system.

point1

An OdbMeshNode object specifying a node on the local 1- or rr-axis.

point2

An OdbMeshNode object specifying a node in the 1-2 or rr-θθ plane.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysByThreePoints(name, coordSysType, origin, point1, point2)[源代码]

This method creates an OdbDatumCsys object using three points. A datum coordinate system created with this method results in a fixed system.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreePoints
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

origin

A sequence of Floats specifying the coordinates of the origin of the datum coordinate system.

point1

A sequence of Floats specifying the coordinates of a point on the local 1- or rr-axis.

point2

A sequence of Floats specifying the coordinates of a point in the 1-2 or rr-θθ plane.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

Instance(name, object, localCoordSystem=())[源代码]

This method creates an OdbInstance object from an OdbPart object.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.Instance
参数:
name

A String specifying the instance name.

object

An OdbPart object.

localCoordSystem=()

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)

返回:

An OdbInstance object.

返回类型:

OdbInstance

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).

备注

This function can be accessed by:

session.odbs[name].parts[name].NodeSet
session.odbs[name].rootAssembly.instances[name].NodeSet
session.odbs[name].rootAssembly.NodeSet
参数:
name

A String specifying the name of the set and the repository key.

nodes

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])

返回:

An OdbSet object.

返回类型:

OdbSet

RigidBody(
referenceNode,
position=INPUT,
isothermal=1,
elements=<abaqus.Odb.OdbSet.OdbSet object>,
tieNodes=<abaqus.Odb.OdbSet.OdbSet object>,
pinNodes=<abaqus.Odb.OdbSet.OdbSet object>,
analyticSurface=None,
)[源代码]

This method creates a OdbRigidBody object.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.instances[name].RigidBody
session.odbs[name].rootAssembly.RigidBody
参数:
referenceNode

An OdbSet object specifying the reference node set associated with the rigid body.

position : Literal[INPUT, CENTER_OF_MASS], 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: 1

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 0x7fadcb05f650>

An OdbSet object 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 0x7fadcb0bf8d0>

An OdbSet object 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 0x7fadcb0bf310>

An OdbSet object specifying the node set which have only translational degrees of freedom associated with the rigid body.

analyticSurface : AnalyticSurface | None, default: None

An AnalyticSurface object specifying the analytic surface whose motion is governed by the motion of rigid body reference node.

返回:

An OdbRigidBody object.

返回类型:

OdbRigidBody

class HistoryRegion(name, description, point, loadCase=None)[源代码]

基类:object

The HistoryRegion object contains history data for a single location in the model.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].historyRegions[name]

Member Details:

HistoryOutput(name, description, type, validInvariants=None)[源代码]

This method creates a HistoryOutput object.

备注

This function can be accessed by:

session.odbs[name].steps[name].HistoryRegion
参数:
name

A String specifying the output variable name.

description

A String specifying the output variable.

type

A SymbolicConstant specifying the output type. Only SCALAR is currently supported.

validInvariants=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.

返回:

A HistoryOutput object.

返回类型:

HistoryOutput

description : --is-rst--:py:class:`str`[源代码]

A String specifying the description of the HistoryRegion object.

getSubset(variableName: str)[源代码]
getSubset(start: float)
getSubset(start: float, end: float)
getSubset(*args, **kwargs)
historyOutputs : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.HistoryOutput.HistoryOutput`] = {}[源代码]

A repository of HistoryOutput objects.

loadCase : --is-rst--:py:class:`str` | :py:obj:`None` = None[源代码]

None or an OdbLoadCase object specifying the load case associated with the HistoryRegion object. The default value is None.

name : --is-rst--:py:class:`str`[源代码]

A String specifying the name of the HistoryRegion object.

point : --is-rst--:py:class:`~abaqus.Odb.HistoryPoint.HistoryPoint`[源代码]

A HistoryPoint object specifying the point to which the history data refer.

position : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the position of the history output. Possible values are NODAL, INTEGRATION_POINT, WHOLE_ELEMENT, WHOLE_REGION, and WHOLE_MODEL.

class JobData[源代码]

基类:object

The JobData object describes the context in which the analysis was run.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].jobData

Member Details:

analysisCode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the analysis code. Possible values are ABAQUS_STANDARD, ABAQUS_EXPLICIT, and UNKNOWN_ANALYSIS_CODE.

creationTime : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the date and time at which the analysis was run.

machineName : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the name of the machine on which the analysis was run.

modificationTime : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the date and time at which the database was last modified.

name : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the name of the job.

precision : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the precision. Only SINGLE_PRECISION is currently supported. Possible values are DOUBLE_PRECISION and SINGLE_PRECISION.

productAddOns : --is-rst--:py:class:`str` = ''[源代码]

A String specifying an odb_Sequence of productAddOns. Possible values are AQUA, DESIGN, BIORID, CEL, SOLITER, and CAVPARALLEL.

version : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the release of the analysis code.

class OdbStep(
name,
description,
domain,
timePeriod=0,
previousStepName='',
procedure='',
totalTime=None,
)[源代码]

基类:OdbStepBase

Member Details:

Frame(incrementNumber: int, frameValue: float, description: str = '')[源代码]
Frame(mode: int, frequency: float, description: str = '')
Frame(
loadCase: OdbLoadCase,
description: str = '',
frequency: float = 0,
)
Frame(*args, **kwargs)
HistoryRegion(name, description, point, loadCase=None)[源代码]

This method creates a HistoryRegion object.

备注

This function can be accessed by:

session.odbs[name].steps[name].HistoryRegion
参数:
name

A String specifying the name of the HistoryRegion object.

description

A String specifying the description of the HistoryRegion object.

point

A HistoryPoint object specifying the point to which the history data refer.

loadCase=None

None or an OdbLoadCase object specifying the load case associated with the HistoryRegion object. The default value is None.

返回:

A HistoryRegion object.

返回类型:

HistoryRegion

LoadCase(name)[源代码]

This method creates an OdbLoadCase object.

备注

This function can be accessed by:

session.odbs[name].steps[name].LoadCase
参数:
name

A String specifying the name of the OdbLoadCase object.

返回:

An OdbLoadCase object.

返回类型:

OdbLoadCase

class SectionCategory(name, description)[源代码]

基类:object

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.

备注

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

Member Details:

SectionPoint(number, description)[源代码]

This method creates a SectionPoint object.

备注

This function can be accessed by:

session.odbs[name].SectionCategory
参数:
number

An Int specifying the number of the section point. See Beam elements and Shell elements for the numbering convention.

description

A String specifying the description of the section point.

返回:

A SectionPoint object.

返回类型:

SectionPoint

description : --is-rst--:py:class:`str`[源代码]

A String specifying the description of the category.

name : --is-rst--:py:class:`str`[源代码]

A String specifying the name of the category.

sectionPoints : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.SectionPoint.SectionPoint`] = [][源代码]

A SectionPointArray object.

class OdbAssemblyBase[源代码]

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].rootAssembly

Member Details:

ConnectorOrientation(
region,
localCsys1=None,
axis1=AXIS_1,
angle1=0,
orient2sameAs1=0,
localCsys2=None,
axis2=AXIS_1,
angle2=0,
)[源代码]

This method assigns a connector orientation to a connector region.

参数:
region

An OdbSet specifying a region.

localCsys1=None

An OdbDatumCsys object specifying the first connector node local coordinate system or None, indicating the global coordinate system.

axis1=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=0

A Float specifying the angle of the additional rotation about the first connector node axis. The default value is 0.0.

orient2sameAs1=0

A Boolean specifying whether the same orientation settings should be used for the second node of the connector. The default value is OFF.

localCsys2=None

An OdbDatumCsys object specifying the second connector node local coordinate system or None, indicating the global coordinate system.

axis2=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=0

A Float specifying the angle of the additional rotation about the second connector node axis. The default value is 0.0.

抛出:

OdbError – Connector orientation assignment requires element set, If region is not an element set.

RigidBody(
referenceNode,
position=INPUT,
isothermal=0,
elset='',
pinNodes='',
tieNodes='',
analyticSurface='',
)[源代码]

This method defines an OdbRigidBody on the assembly.

参数:
referenceNode

An OdbSet specifying the reference node assigned to the rigid body.

position=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=0

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=''

An OdbSet specifying an element set assigned to the rigid body.

pinNodes=''

An OdbSet specifying pin-type nodes assigned to the rigid body.

tieNodes=''

An OdbSet specifying tie-type nodes assigned to the rigid body.

analyticSurface=''

An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.

抛出:

OdbError – Rigid body definition requires a node set, If referenceNode is not a node set

SectionAssignment(region, section)[源代码]

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.

参数:
region

An OdbSet specifying a region.

section

A Section object.

抛出:

OdbError – Section assignment requires element set, If region is not an element set.

addElements(
labels,
connectivity,
instanceNames,
type,
elementSetName='',
sectionCategory=None,
)[源代码]

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.

参数:
labels

A sequence of Ints specifying the element labels.

connectivity

A sequence of sequences of Ints specifying the nodal connectivity.

instanceNames

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 string

type

A String specifying the element type.

elementSetName=''

A String specifying a name for this element set. The default value is the empty string.

sectionCategory=None

A SectionCategory object for this element set.

抛出:
  • OdbError – Addition of this element type is not permitted at the assembly level, Only certain element types are permitted at the assembly level. e.g., connector elements.

  • OdbError – Connectivity array must be provided for all element, If length of label array does not match connectivity data length.

addNodes(labels, coordinates, nodeSetName=None)[源代码]

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.

参数:
labels

A sequence of Ints specifying the node labels.

coordinates

A sequence of sequences of Floats specifying the nodal coordinates.

nodeSetName=None

A String specifying a name for this node set. The default value is None.

抛出:
  • OdbError – Number of node labels and coordinates does not match, If length of labels does not match length of coordinates.

  • OdbError – Node location specification does not correspond to part dimensions, If width of coordinate array does not match assembly dimension.

connectorOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Assembly.ConnectorOrientation.ConnectorOrientation`] = [][源代码]

A ConnectorOrientationArray object.

datumCsyses : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbDatumCsys.OdbDatumCsys`] = {}[源代码]

A repository of OdbDatumCsys objects.

elementSets : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying element sets.

elements : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshElement.OdbMeshElement`] = [][源代码]

An OdbMeshElementArray object.

instances : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbInstance.OdbInstance`] = {}[源代码]

A repository of OdbInstance objects.

nodeSets : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying node sets.

nodes : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshNode.OdbMeshNode`] = [][源代码]

An OdbMeshNodeArray object.

pretensionSections : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbPretensionSection.OdbPretensionSection`] = [][源代码]

An OdbPretensionSectionArray object.

rigidBodies : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbRigidBody.OdbRigidBody`] = [][源代码]

An OdbRigidBodyArray object.

sectionAssignments : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Property.SectionAssignment.SectionAssignment`] = [][源代码]

A SectionAssignmentArray object.

surfaces : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying surfaces.

class OdbDatumCsys[源代码]

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].rootAssembly.datumCsyses[name]

Member Details:

DatumCsys(name, datumCsys)[源代码]

This method copies oneOdbDatumCsys object to a new OdbDatumCsys object.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreePoints
参数:
name

A String specifying the repository key.

datumCsys

An OdbDatumCsys object specifying the object to be copied.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysBy6dofNode(name, coordSysType, origin)[源代码]

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.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreePoints
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

origin

An OdbMeshNode object specifying the origin of the datum coordinate system.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysByThreeCircNodes(name, coordSysType, node1Arc, node2Arc, node3Arc)[源代码]

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.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreePoints
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

node1Arc

An OdbMeshNode object that lies on the circular arc.

node2Arc

An OdbMeshNode object that lies on the circular arc.

node3Arc

An OdbMeshNode object that lies on the circular arc.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysByThreeNodes(name, coordSysType, origin, point1, point2)[源代码]

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.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreePoints
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

origin

An OdbMeshNode object specifying a node at the origin of the datum coordinate system.

point1

An OdbMeshNode object specifying a node on the local 1- or rr-axis.

point2

An OdbMeshNode object specifying a node in the 1-2 or rr-θθ plane.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

DatumCsysByThreePoints(name, coordSysType, origin, point1, point2)[源代码]

This method creates an OdbDatumCsys object using three points. A datum coordinate system created with this method results in a fixed system.

备注

This function can be accessed by:

session.odbs[name].rootAssembly.DatumCsysByThreePoints
参数:
name

A String specifying the repository key.

coordSysType

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

origin

A sequence of Floats specifying the coordinates of the origin of the datum coordinate system.

point1

A sequence of Floats specifying the coordinates of a point on the local 1- or rr-axis.

point2

A sequence of Floats specifying the coordinates of a point in the 1-2 or rr-θθ plane.

返回:

An OdbDatumCsys object.

返回类型:

OdbDatumCsys

coordSysType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the type of coordinate system. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL.

globalToLocal(coordinates)[源代码]

This method transforms specified coordinates in the global coordinate system into this local coordinate system.

Added in version 2022: The globalToLocal method was added.

参数:
coordinates

A tuple of three Floats representing the coordinates in the global coordinate system.

返回:

A tuple of three Floats representing the coordinates in this local coordinate system.

返回类型:

tuple[float, float, float]

localToGlobal(coordinates)[源代码]

This method transforms specified coordinates in this local coordinate system into the global coordinate system.

Added in version 2022: The localToGlobal method was added.

参数:
coordinates

A tuple of three Floats representing the coordinates in the local coordinate system.

返回:

A tuple of three Floats representing the coordinates in this global coordinate system.

返回类型:

tuple[float, float, float]

name : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the repository key.

origin : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the coordinates of the origin of the datum coordinate system.

xAxis : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying a point on the X axis.

yAxis : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying a point on the Y axis.

zAxis : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying a point on the Z axis.

class OdbRigidBody(
referenceNode,
position=INPUT,
isothermal=1,
elements=<abaqus.Odb.OdbSet.OdbSet object>,
tieNodes=<abaqus.Odb.OdbSet.OdbSet object>,
pinNodes=<abaqus.Odb.OdbSet.OdbSet object>,
analyticSurface=None,
)[源代码]

基类:object

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.

备注

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]

Member Details:

analyticSurface : --is-rst--:py:class:`~abaqus.Odb.AnalyticSurface.AnalyticSurface` | :py:obj:`None` = None[源代码]

An AnalyticSurface object specifying the analytic surface whose motion is governed by the motion of rigid body reference node.

elements : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the element set whose motion is governed by the motion of rigid body reference node.

isothermal : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] = 1[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the node set which have only translational degrees of freedom associated with the rigid body.

position : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` = '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.

referenceNode : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet`[源代码]

An OdbSet object specifying the reference node set associated with the rigid body.

tieNodes : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the node set which have both translational and rotational degrees of freedom associated with the rigid body.

class OdbBase(name, analysisTitle='', description='', path='')[源代码]

基类:object

The Odb object is the in-memory representation of an output database (ODB) file.

备注

This object can be accessed by:

import odbAccess
session.odbs[name]

Member Details:

amplitudes : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Amplitude.Amplitude.Amplitude`] = {}[源代码]

A repository of Amplitude objects.

close()[源代码]

This method closes an output database.

customData : --is-rst--:py:class:`~abaqus.CustomKernel.RepositorySupport.RepositorySupport` = <abaqus.CustomKernel.RepositorySupport.RepositorySupport object>[源代码]

A RepositorySupport object.

filters : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Filter.Filter.Filter`] = {}[源代码]

A repository of Filter objects.

getFrame(frameValue, match=CLOSEST)[源代码]

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.

参数:
frameValue

A Double specifying the value at which the frame is required. frameValue can be the total time or frequency.

match=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.

返回:

An OdbFrame object.

返回类型:

OdbFrame

抛出:

OdbError – Frame not found, If the exact frame is not found.

isReadOnly : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] = 0[源代码]

A Boolean specifying whether the output database was opened with read-only access.

jobData : --is-rst--:py:class:`~abaqus.Odb.JobData.JobData` = <abaqus.Odb.JobData.JobData object>[源代码]

A JobData object.

materials : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Material.Material.Material`] = {}[源代码]

A repository of Material objects.

parts : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbPart.OdbPart`] = {}[源代码]

A repository of OdbPart objects.

profiles : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.BeamSectionProfile.Profile.Profile`] = {}[源代码]

A repository of Profile objects.

rootAssembly : --is-rst--:py:class:`~abaqus.Odb.OdbAssembly.OdbAssembly` = <abaqus.Odb.OdbAssembly.OdbAssembly object>[源代码]

An OdbAssembly object.

save()[源代码]

This method saves output to an output database (.odb ) file.

抛出:

OdbError – Database save failed. The database was opened as read-only. Modification of data is not permitted.

sectionCategories : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.SectionCategory.SectionCategory`] = {}[源代码]

A repository of SectionCategory objects.

sections : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Section.Section.Section`] = {}[源代码]

A repository of Section objects.

sectorDefinition : --is-rst--:py:class:`~abaqus.Odb.SectorDefinition.SectorDefinition` = <abaqus.Odb.SectorDefinition.SectorDefinition object>[源代码]

A SectorDefinition object.

steps : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbStep.OdbStep`] = {}[源代码]

A repository of OdbStep objects.

update()[源代码]

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.

返回:

A Boolean specifying whether additional steps or frames were added to the Odb object.

返回类型:

Boolean

userData : --is-rst--:py:class:`~abaqus.Odb.UserData.UserData` = <abaqus.Odb.UserData.UserData object>[源代码]

A UserData object.

class SectorDefinition[源代码]

基类:object

The SectorDefinition object describes the number of symmetry sectors and axis of symmetry for a cyclic symmetry model.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].sectorDefinition

Member Details:

numSectors : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the number of sectors in the cyclic symmetry model.

symmetryAxis : --is-rst--:py:class:`tuple`\ \[:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`], :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of tuples of Floats specifying the coordinates of two points on the axis of symmetry.

class UserData[源代码]

基类:AnimationUserData

Member Details:

AnalyticSurfaceProfile()[源代码]

This method creates a OdbSequenceAnalyticSurfaceSegment object.

Path:

odbAccess.AnalyticSurfaceProfile()
返回:

An OdbSequenceAnalyticSurfaceSegment object.

返回类型:

OdbSequenceAnalyticSurfaceSegment

isUpgradeRequiredForOdb(upgradeRequiredOdbPath)[源代码]

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')
    
参数:
upgradeRequiredOdbPath

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.

返回:

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.

返回类型:

Boolean

maxEnvelope()[源代码]

Retrieve the maximum value of an output variable over a number of fields.

返回:

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.

返回类型:

Sequence[FieldOutput]

抛出:
  • OdbError

  • TypeError – This function takes no keyword arguments.

minEnvelope()[源代码]

Retrieve the minimum value of an output variable over a number of fields.

返回:

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.

返回类型:

Sequence[tuple[FieldOutput, FieldOutput]]

抛出:
  • OdbError

  • TypeError – This function takes no keyword arguments.

openOdb(path, readOnly=0, readInternalSets=0)[源代码]

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')
参数:
path

A String specifying the path to an existing output database (.odb) file.

readOnly=0

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=0

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.

返回:

An Odb object.

返回类型:

Odb

抛出:
  • 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)[源代码]

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')
    
参数:
existingOdbPath

An String specifying the path to the file containing the output database to be upgraded.

upgradedOdbPath

An String specifying the path to the file that will contain the upgraded output database.

抛出:

OdbError – If the output database upgrade fails.

class OdbFrame(incrementNumber: int, frameValue: float, description: str = '')[源代码]
class OdbFrame(mode: int, frequency: float, description: str = '')
class OdbFrame(
loadCase: OdbLoadCase,
description: str = '',
frequency: float = 0,
)

基类:object

The domain of the OdbFrame object is taken from the parent step.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name].frames[i]

Member Details:

FieldOutput(
name: str,
description: str,
type: SymbolicConstant,
)[源代码]
FieldOutput(
field: FieldOutput,
name: str = '',
description: str = '',
)
FieldOutput(*args, **kwargs)
Frame(*args, **kwargs)[源代码]
associatedFrame : --is-rst--:py:data:`~typing.Optional`\ \[:py:class:`~abaqus.Odb.OdbFrame.OdbFrame`] = None[源代码]

An OdbFrame object specifying the real or imaginary portion of the data corresponding to this cyclic symmetry mode.

cyclicModeNumber : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the contents of the frame. The default value is an empty string.

domain : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the domain of the step of which the frame is a member. Possible values are TIME, FREQUENCY, and MODAL.

fieldOutputs : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.FieldOutput.FieldOutput`] = {}[源代码]

A repository of FieldOutput objects specifying the key to the fieldOutputs repository is a String representing an output variable.

frameValue : --is-rst--:py:class:`float`[源代码]

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 : --is-rst--:py:class:`float` = 0[源代码]

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 : --is-rst--:py:class:`int`[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbLoadCase.OdbLoadCase` = <abaqus.Odb.OdbLoadCase.OdbLoadCase object>[源代码]

An OdbLoadCase object specifying the load case for the frame.

mode : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the eigenmode. This member is valid only if domain = MODAL.

class OdbLoadCase(name)[源代码]

基类:object

The OdbLoadCase object describes a load case.

备注

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]

Member Details:

name : --is-rst--:py:class:`str`[源代码]

A String specifying the name of the OdbLoadCase object.

class OdbInstanceBase(name, object, localCoordSystem=())[源代码]

基类:object

A part instance is the usage of a part within an assembly.

备注

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

Member Details:

AnalyticRigidSurf2DPlanar(name, profile, filletRadius=0)[源代码]

This method is used to define a two-dimensional AnalyticSurface object on the instance.

参数:
name

The name of the analytic surface.

profile

A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.

filletRadius=0

A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

抛出:

OdbError – 2D-Planar Analytic Rigid Surface can be defined only if the instance is of type TWO_D_PLANAR or AXISYMMETRIC. If OdbPart associated with the part instance is of type THREE_D.

AnalyticRigidSurfExtrude(name, profile, filletRadius=0, localCoordData=())[源代码]

This method is used to define a three-dimensional cylindrical AnalyticSurface on the instance.

参数:
name

The name of the analytic surface.

profile

A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.

filletRadius=0

A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

localCoordData=()

A sequence of sequences of Floats specifying the global coordinates of points used to define the local coordinate system.

抛出:

OdbError – Analytic Rigid Surface of type CYLINDER can be defined only if the instance is of type THREE_D, If OdbPart associated with the part instance is not of type THREE_D.

AnalyticRigidSurfRevolve(name, profile, filletRadius=0, localCoordData=())[源代码]

This method is used to define a three-dimensional AnalyticSurface of revolution on the instance.

参数:
name

The name of the analytic surface.

profile

A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.

filletRadius=0

A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

localCoordData=()

A sequence of sequences of Floats specifying the global coordinates of points used to define the local coordinate system.

抛出:

OdbError – Analytic Rigid Surface of type REVOLUTION can be defined only if the instance is of type THREE_D, If OdbPart associated with the part instance is not of type THREE_D.

RigidBody(
referenceNode,
position=INPUT,
isothermal=0,
elset='',
pinNodes='',
tieNodes='',
analyticSurface='',
)[源代码]

This method defines an OdbRigidBody on the instance.

参数:
referenceNode

An OdbSet specifying the reference node assigned to the rigid body.

position=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=0

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=''

An OdbSet specifying an element set assigned to the rigid body.

pinNodes=''

An OdbSet specifying pin-type nodes assigned to the rigid body.

tieNodes=''

An OdbSet specifying tie-type nodes assigned to the rigid body.

analyticSurface=''

An AnalyticSurface specifying the Analytic Rigid Surface assigned to the rigid body.

抛出:

OdbError – Rigid body definition requires a node set, If referenceNode is not a node set.

analyticSurface : --is-rst--:py:class:`~abaqus.Odb.AnalyticSurface.AnalyticSurface` = <abaqus.Odb.AnalyticSurface.AnalyticSurface object>[源代码]

An AnalyticSurface object specifying analytic Surface defined on the instance.

assignBeamOrientation(region, method, vector)[源代码]

This method assigns a beam section orientation to a region of a part instance.

参数:
region

An OdbSet specifying a region on an instance.

method

A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.

vector

A sequence of three Floats specifying the approximate local n1n1-direction of the beam cross-section.

assignMaterialOrientation(
region,
localCsys,
axis=AXIS_1,
angle=0,
stackDirection=STACK_3,
)[源代码]

This method assigns a material orientation to a region of a part instance.

参数:
region

An OdbSet specifying a region on an instance.

localCsys

An OdbDatumCsys object specifying the local coordinate system or None, indicating the global coordinate system.

axis=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=0

A Float specifying the angle of the additional rotation. The default value is 0.0.

stackDirection=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=AXIS_1, angle=0)[源代码]

This method assigns a rebar reference orientation to a region of a part instance.

参数:
region

An OdbSet specifying a region on an instance.

localCsys

An OdbDatumCsys object specifying the local coordinate system or None, indicating the global coordinate system.

axis=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=0

A Float specifying the angle of the additional rotation. The default value is 0.0.

assignSection(region, section)[源代码]

This method is used to assign a section to a region on an instance.

参数:
region

An OdbSet specifying a region on an instance.

section

A Section object.

抛出:
  • OdbError – Section assignment requires element set, If region is not an element set.

  • OdbError – Section assignment requires element set from this part instance, If the element set is not from the current instance.

beamOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.BeamOrientation.BeamOrientation`] = [][源代码]

A BeamOrientationArray object.

elementSets : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying element sets.

elements : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshElement.OdbMeshElement`] = [][源代码]

An OdbMeshElementArray object.

embeddedSpace : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the dimensionality of the Part object. Possible values are THREE_D, TWO_D_PLANAR, AXISYMMETRIC, and UNKNOWN_DIMENSION.

getElementFromLabel(label)[源代码]

This method is used to retrieved an element with a specific label from an instance object.

参数:
label

An Int specifying the element label.

返回:

An OdbMeshElement object.

返回类型:

OdbMeshElement

抛出:

OdbError – Invalid element label, If no element with the specified label exists.

getNodeFromLabel(label)[源代码]

This method is used to retrieved a node with a specific label from an instance object.

参数:
label

An Int specifying the node label.

返回:

An OdbMeshNode object.

返回类型:

OdbMeshNode

抛出:

OdbError – Invalid node label, If no node with the specified label exists.

materialOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Property.MaterialOrientation.MaterialOrientation`] = [][源代码]

A MaterialOrientationArray object.

name : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the instance name.

nodeSets : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying node sets.

nodes : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshNode.OdbMeshNode`] = [][源代码]

An OdbMeshNodeArray object.

rebarOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.RebarOrientation.RebarOrientation`] = [][源代码]

A RebarOrientationArray object.

resultState : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` = 'PROPAGATED'[源代码]

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 : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbRigidBody.OdbRigidBody`] = [][源代码]

An OdbRigidBodyArray object.

sectionAssignments : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Property.SectionAssignment.SectionAssignment`] = [][源代码]

A SectionAssignmentArray object.

surfaces : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying surfaces.

type : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

A SymbolicConstant specifying the type of the Part object. Only a value of DEFORMABLE_BODY is currently supported.

class OdbPartBase(name, embeddedSpace, type)[源代码]

基类:object

The OdbPart object is similar to the kernel Part object and contains nodes and elements, but not geometry.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].parts[name]

Member Details:

AnalyticRigidSurf2DPlanar(name, profile, filletRadius=0)[源代码]

This method is used to define a two-dimensional AnalyticSurface object on the part object.

参数:
name

The name of the analytic surface.

profile

A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.

filletRadius=0

A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

抛出:
  • OdbError

  • TWO_D_PLANAR – If OdbPart is of type THREE_D.

AnalyticRigidSurfExtrude(name, profile, filletRadius=0)[源代码]

This method is used to define a three-dimensional cylindrical AnalyticSurface on the part object.

参数:
name

The name of the analytic surface.

profile

A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.

filletRadius=0

A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

抛出:
  • OdbError

  • of type THREE_D – If OdbPart is not of type THREE_D.

AnalyticRigidSurfRevolve(name, profile, filletRadius=0)[源代码]

This method is used to define a three-dimensional AnalyticSurface of revolution on the part object.

参数:
name

The name of the analytic surface.

profile

A sequence of AnalyticSurfaceSegment objects or an OdbSequenceAnalyticSurfaceSegment object.

filletRadius=0

A Double specifying the radius of curvature to smooth discontinuities between adjoining segments. The default value is 0.0.

抛出:
  • OdbError

  • of type THREE_D – If OdbPart is not of type THREE_D.

addElements(labels: tuple, connectivity: tuple, type: str)[源代码]
addElements(elementData: tuple, type: str, elementSetName: str | None = None)
addElements(*args, **kwargs)
addNodes(labels: tuple, coordinates: tuple, nodeSetName: str | None = None)[源代码]
addNodes(nodeData: tuple, nodeSetName: str | None = None)
addNodes(*args, **kwargs)
analyticSurface : --is-rst--:py:class:`~abaqus.Odb.AnalyticSurface.AnalyticSurface` = <abaqus.Odb.AnalyticSurface.AnalyticSurface object>[源代码]

An AnalyticSurface object specifying analytic Surface defined on the instance.

assignBeamOrientation(region, method, vector)[源代码]

This method assigns a beam section orientation to a region of a part instance.

参数:
region

An OdbSet specifying a region on an instance.

method

A SymbolicConstant specifying the assignment method. Only a value of N1_COSINES is currently supported.

vector

A sequence of three Floats specifying the approximate local n1n1 -direction of the beam cross-section.

assignMaterialOrientation(
region,
localCSys,
axis=AXIS_1,
angle=0,
stackDirection=STACK_3,
)[源代码]

This method assigns a material orientation to a region of a part instance.

参数:
region

An OdbSet specifying a region on an instance.

localCSys

An OdbDatumCsys object specifying the local coordinate system or None, indicating the global coordinate system.

axis=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=0

A Float specifying the angle of the additional rotation. The default value is 0.0.

stackDirection=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=AXIS_1, angle=0)[源代码]

This method assigns a rebar reference orientation to a region of a part instance.

参数:
region

An OdbSet specifying a region on an instance.

localCsys

An OdbDatumCsys object specifying the local coordinate system or None, indicating the global coordinate system.

axis=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=0

A Float specifying the angle of the additional rotation. The default value is 0.0.

beamOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.BeamOrientation.BeamOrientation`] = [][源代码]

A BeamOrientationArray object.

elementSets : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying element sets.

elements : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshElement.OdbMeshElement`] = [][源代码]

An OdbMeshElementArray object.

getElementFromLabel(label)[源代码]

This method is used to retrieved an element with a specific label from a part object.

参数:
label

An Int specifying the element label.

返回:

An OdbMeshElement object.

返回类型:

OdbMeshElement

抛出:

OdbError – Invalid element label, If no element with the specified label exists.

getNodeFromLabel(label)[源代码]

This method is used to retrieved a node with a specific label from a part object.

参数:
label

An Int specifying the node label.

返回:

An OdbMeshNode object.

返回类型:

OdbMeshNode

抛出:

OdbError – Invalid node label, If no node with the specified label exists.

materialOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Property.MaterialOrientation.MaterialOrientation`] = [][源代码]

A MaterialOrientationArray object.

nodeSets : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying node sets.

nodes : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbMeshNode.OdbMeshNode`] = [][源代码]

An OdbMeshNodeArray object.

rebarOrientations : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.RebarOrientation.RebarOrientation`] = [][源代码]

A RebarOrientationArray object.

rigidBodies : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbRigidBody.OdbRigidBody`] = [][源代码]

An OdbRigidBodyArray object.

sectionAssignments : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Property.SectionAssignment.SectionAssignment`] = [][源代码]

A SectionAssignmentArray object.

surfaces : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbSet.OdbSet`] = {}[源代码]

A repository of OdbSet objects specifying surfaces.

class OdbPretensionSection[源代码]

基类:object

The pretension section object is used to define an assembly load. It associates a pretension node with a pretension section.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].rootAssembly.pretensionSections[i]

Member Details:

element : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the element set that defines the pretension section.

node : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the node set containing the pretension node.

normal : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the components of the normal to the pretension section.

surface : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying the surface set that defines the pretension section.

class OdbSession[源代码]

基类:SessionBase

Member Details:

ScratchOdb(odb)[源代码]

This method creates a new ScratchOdb object.

备注

This function can be accessed by:

session.ScratchOdb
参数:
odb

An Odb object specifying the output database with which to associate.

返回:

A ScratchOdb object.

返回类型:

ScratchOdb

openOdb(name, path='', readOnly=0)[源代码]

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:

import visualization
session.openOdb(name='myOdb', path='stress.odb', readOnly=True)
参数:
name

A String specifying the repository key. If the name is not the same as the path to the output database (.odb) file, the path must be specified as well. Additionally, to support backwards compatibility of the interface, if the name parameter is omitted, the path and name will be presumed to be the same.

path=''

A String specifying the path to an existing output database (.odb) file.

readOnly=0

A Boolean specifying whether the file will permit only read access or both read and write access. The initial value is TRUE when the output database file is opened from Abaqus/CAE, indicating that only read access will be permitted.

返回:

An Odb object.

返回类型:

Odb

抛出:
  • OdbError – The database is from a previous release of Abaqus, 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 – Abaqus installation must be upgraded before this output database can be opened, If the output database was generated by a newer release of Abaqus, and the installation of Abaqus needs upgrading.

  • AbaqusError – If the file is not a valid database.

upgradeOdb(existingOdbPath, upgradedOdbPath)[源代码]

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')
    
参数:
existingOdbPath

An String specifying the path to the file containing the output database to be upgraded.

upgradedOdbPath

An String specifying the path to the file that will contain the upgraded output database.

抛出:

OdbError – If the output database upgrade fails.

class ScratchOdb(odb)[源代码]

基类:object

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.

备注

This object can be accessed by:

import odbAccess
session.scratchOdbs[name]

Member Details:

class OdbStepBase(
name,
description,
domain,
timePeriod=0,
previousStepName='',
procedure='',
totalTime=None,
)[源代码]

基类:object

An output database contains the same steps of the model database that originated it.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].steps[name]

Member Details:

acousticMass : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

A Float specifying the current value of the mass of the acoustic media of the model.

acousticMassCenter : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the coordinates of the center of mass of the acoustic media.

frames : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.Odb.OdbFrame.OdbFrame`] = [][源代码]

An OdbFrameArray object.

getFrame(
frameValue: str,
match: Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.CLOSEST] | Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.BEFORE] | Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.AFTER] | Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.EXACT] = CLOSEST,
)[源代码]
getFrame(loadCase: OdbLoadCase)
getFrame(
loadCase: OdbLoadCase,
frameValue: str,
match: Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.CLOSEST] | Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.BEFORE] | Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.AFTER] | Literal[abaqus.UtilityAndView.SymbolicConstant.abaqusConstants.EXACT] = CLOSEST,
)
getFrame(*args, **kwargs)
getHistoryRegion(point, loadCase=<abaqus.Odb.OdbLoadCase.OdbLoadCase object>)[源代码]

This method retrieves a HistoryRegion object associated with a HistoryPoint in the model.

参数:
point

A HistoryPoint object specifying the point in the model.

loadCase : OdbLoadCase, default: <abaqus.Odb.OdbLoadCase.OdbLoadCase object at 0x7fadcb382710>

An OdbLoadCase object specifying a load case in the step.

返回:

A HistoryRegion object.

返回类型:

HistoryRegion

抛出:

OdbError – HistoryRegion not found, If a HistoryRegion object is not found.

historyRegions : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.HistoryRegion.HistoryRegion`] = {}[源代码]

A repository of HistoryRegion objects.

inertiaAboutCenter : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

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 : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Odb.OdbLoadCase.OdbLoadCase`] = {}[源代码]

A repository of OdbLoadCase objects.

mass : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

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 : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] = ()[源代码]

A tuple of Floats specifying the coordinates of the center of mass.

nlgeom : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] = 0[源代码]

A Boolean specifying whether geometric nonlinearity can occur in this step.

number : --is-rst--:py:class:`int` | :py:obj:`None` = None[源代码]

An Int specifying the step number.

setDefaultDeformedField(field)[源代码]

This method sets the default deformed field variable in a step.

参数:
field

A FieldOutput object specifying the default deformed field variable for visualization.

setDefaultField(field)[源代码]

This method sets the default field variable in a step.

参数:
field

A FieldOutput object specifying the default field variable for visualization.

class RebarOrientation[源代码]

基类:object

The RebarOrientation object represents the orientation of the rebar reference.

备注

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]

Member Details:

angle : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

A Float specifying the angle of the additional rotation.

axis : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]

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 : --is-rst--:py:class:`~abaqus.Odb.OdbDatumCsys.OdbDatumCsys` = <abaqus.Odb.OdbDatumCsys.OdbDatumCsys object>[源代码]

An OdbDatumCsys object specifying a datum coordinates system.

region : --is-rst--:py:class:`~abaqus.Odb.OdbSet.OdbSet` = <abaqus.Odb.OdbSet.OdbSet object>[源代码]

An OdbSet object specifying a region for which the rebar orientation is defined.

class UserDataBase[源代码]

基类:object

The UserData object contains user-defined XY data. The UserData object has no constructor; it is created automatically when an Odb object is created.

备注

This object can be accessed by:

import odbAccess
session.odbs[name].userData

Member Details:

XYData(
name,
data,
sourceDescription='',
contentDescription='',
positionDescription='',
legendLabel='',
xValuesLabel='',
yValuesLabel='',
axis1QuantityType=None,
axis2QuantityType=None,
)[源代码]

This method creates an XYData object from a sequence of X - Y data pairs.

备注

This function can be accessed by:

session.odbs[name].userData.XYData
参数:
name

A String specifying the repository key.

data

A sequence of pairs of Floats specifying the X - Y data pairs.

sourceDescription=''

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=''

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=''

A String specifying additional information about the X - Y data (e.g., “for whole model”). The default value is an empty string.

legendLabel=''

A String specifying the label to be used in the legend. The default value is the name of the XYData object.

xValuesLabel=''

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=''

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=None

A QuantityType object specifying the QuantityType object associated to the X -axis1- values.

axis2QuantityType=None

A QuantityType object specifying the QuantityType object associated to the Y -axis2- values.

返回:

An XYData object.

返回类型:

XYData

annotations : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.Annotation.Annotation.Annotation`] = {}[源代码]

A repository of Annotation objects.

axis1QuantityType : --is-rst--:py:class:`~abaqus.XY.QuantityType.QuantityType` = <abaqus.XY.QuantityType.QuantityType object>[源代码]

A QuantityType object specifying the QuantityType object associated to the X -axis1- values.

axis2QuantityType : --is-rst--:py:class:`~abaqus.XY.QuantityType.QuantityType` = <abaqus.XY.QuantityType.QuantityType object>[源代码]

A QuantityType object specifying the QuantityType object associated to the Y -axis2- values.

contentDescription : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the content of the X - Y data (e.g., “field 1 vs. field 2”). The default value is an empty string.

data : --is-rst--:py:class:`float` | :py:obj:`None` = None[源代码]

A tuple of pairs of Floats specifying the X - Y data pairs.

legendLabel : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the label to be used in the legend. The default value is the name of the XYData object.

name : --is-rst--:py:class:`str` = ''[源代码]

A String specifying the repository key.

positionDescription : --is-rst--:py:class:`str` = ''[源代码]

A String specifying additional information about the X - Y data (e.g., “for whole model”). The default value is an empty string.

sourceDescription : --is-rst--:py:class:`str` = ''[源代码]

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.

xValuesLabel : --is-rst--:py:class:`str` = ''[源代码]

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.

xyDataObjects : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.XY.XYData.XYData`] = {}[源代码]

A repository of XYData objects.

yValuesLabel : --is-rst--:py:class:`str` = ''[源代码]

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.