Field๏ƒ

A Field object stores the non-propagating data of a field as well as a number of instances of the corresponding FieldState object. The FieldState object stores the propagating data of the field in a single step. A specific type of Field object and a specific type of FieldState object are designed for each type of predefined field. Instances of the FieldState object are created and deleted internally by its corresponding Field object.

Create fields๏ƒ

class FieldModel(name, description='', stefanBoltzmann=None, absoluteZero=None, waveFormulation=abaqusConstants.NOT_SET, modelType=abaqusConstants.STANDARD_EXPLICIT, universalGas=None, copyConstraints=1, copyConnectors=1, copyInteractions=1)[source]๏ƒ

Bases: ModelBase

This method creates a Model object.

Note

This function can be accessed by:

mdb.Model
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • description (str, default: '') โ€“ A String specifying the purpose and contents of the Model object. The default value is an empty string.

  • stefanBoltzmann (Optional[float], default: None) โ€“ None or a Float specifying the Stefan-Boltzmann constant. The default value is None.

  • absoluteZero (Optional[float], default: None) โ€“ None or a Float specifying the absolute zero constant. The default value is None.

  • waveFormulation (Literal[SCATTERED, NOT_SET, TOTAL], default: NOT_SET) โ€“ A SymbolicConstant specifying the type of incident wave formulation to be used in acoustic problems. Possible values are NOT_SET, SCATTERED, and TOTAL. The default value is NOT_SET.

  • modelType (Literal[STANDARD_EXPLICIT, ELECTROMAGNETIC], default: STANDARD_EXPLICIT) โ€“ A SymbolicConstant specifying the analysis model type. Possible values are STANDARD_EXPLICIT and ELECTROMAGNETIC. The default is STANDARD_EXPLICIT.

  • universalGas (Optional[float], default: None) โ€“ None or a Float specifying the universal gas constant. The default value is None.

  • copyConstraints (Union[AbaqusBoolean, bool], default: 1) โ€“ A boolean specifying whether to copy the constraints created in the model to the model that instances this model. The default value is ON.

  • copyConnectors (Union[AbaqusBoolean, bool], default: 1) โ€“ A boolean specifying whether to copy the connectors created in the model to the model that instances this model. The default value is ON.

  • copyInteractions (Union[AbaqusBoolean, bool], default: 1) โ€“ A boolean specifying whether to copy the interactions created in the model to the model that instances this model. The default value is ON.

Returns:

A Model object.

Return type:

Model

Public Data Attributes:

Inherited from ModelBase

name

A String specifying the repository key.

stefanBoltzmann

None or a Float specifying the Stefan-Boltzmann constant.

absoluteZero

None or a Float specifying the absolute zero constant.

waveFormulation

A SymbolicConstant specifying the type of incident wave formulation to be used in acoustic problems.

universalGas

None or a Float specifying the universal gas constant.

noPartsInputFile

A Boolean specifying whether an input file should be written without parts and assemblies.

endRestartStep

A Boolean specifying that the step specified by restartStep should be terminated at the increment specified by restartIncrement.

shellToSolid

A Boolean specifying that a shell global model drives a solid submodel.

lastChangedCount

A Float specifying the time stamp that indicates when the model was last changed.

description

A String specifying the purpose and contents of the Model object.

restartJob

A String specifying the name of the job that generated the restart data.

restartStep

A String specifying the name of the step where the restart analysis will start.

globalJob

A String specifying the name of the job that generated the results for the global model.

copyConstraints

A boolean specifying the status of constraints created in a model, in the model which instances this model.

copyConnectors

A boolean specifying the status of connectors created in a model, in the model which instances this model.

copyInteractions

A boolean specifying the status of interactions created in a model, in the model which instances this model.

keywordBlock

A KeywordBlock object.

rootAssembly

An Assembly object.

amplitudes

A repository of Amplitude objects.

profiles

A repository of Profile objects.

boundaryConditions

A repository of BoundaryCondition objects.

constraints

A repository of ConstrainedSketchConstraint objects.

analyticalFields

A repository of AnalyticalField objects.

discreteFields

A repository of DiscreteField objects.

predefinedFields

A repository of PredefinedField objects.

interactions

A repository of Interaction objects.

interactionProperties

A repository of InteractionProperty objects.

contactControls

A repository of ContactControl objects.

contactInitializations

A repository of ContactInitialization objects.

contactStabilizations

A repository of ContactStabilization objects.

linkedInstances

A tuple of tuples of Strings specifying the linked child PartInstance name in the current model to the corresponding parent PartInstance name in a different model.

linkedParts

A tuple of tuples of Strings specifying the linked child Part name in the current model to the corresponding parent Part name in a different model.

loads

A repository of Load objects.

materials

A repository of Material objects.

calibrations

A repository of Calibration objects.

sections

A repository of Section objects.

remeshingRules

A repository of RemeshingRule objects.

sketches

A repository of ConstrainedSketch objects.

parts

A repository of Part objects.

steps

A repository of Step objects.

featureOptions

A FeatureOptions object.

adaptiveMeshConstraints

A repository of AdaptiveMeshConstraint objects.

adaptiveMeshControls

A repository of AdaptiveMeshControl objects.

timePoints

A repository of TimePoint objects.

filters

A repository of Filter objects.

integratedOutputSections

A repository of IntegratedOutputSection objects.

fieldOutputRequests

A repository of FieldOutputRequest objects.

historyOutputRequests

A repository of HistoryOutputRequest objects.

optimizationTasks

A repository of OptimizationTask objects.

tableCollections

A repository of TableCollection objects.

eventSeriesTypes

A repository of EventSeriesType objects.

eventSeriesDatas

A repository of EventSeriesData objects.

restartIncrement

An Int specifying the increment, interval, iteration or cycle where the restart analysis will start.

Public Methods:

DiscreteField(name,ย defaultValues,ย fieldType)

This method creates a DiscreteField object.

ExpressionField(name,ย expression[,ย ...])

This method creates an ExpressionField object.

MappedField(name[,ย regionType,ย ...])

This method creates an MappedField object.

Inherited from ModelBase

__init__(name[,ย description,ย ...])

This method creates a Model object.

ModelFromInputFile(name,ย inputFileName)

This method creates a Model object by reading the keywords in an input file and creating the corresponding Abaqus/CAE objects.

ModelFromOdbFile(name,ย odbFileName)

This method creates a Model object by reading an output database and creating any corresponding Abaqus/CAE objects.

ModelFromNastranFile(modelName,ย inputFileName)

This method creates a Model object by reading the keywords in a Nastran bulk data file or Nastran input file and creating any corresponding Abaqus/CAE objects.

setValues([description,ย noPartsInputFile,ย ...])

This method modifies the Model object.


Member Details:

DiscreteField(name, defaultValues, fieldType, location=abaqusConstants.NODES, dataWidth=1, data=None, description='', orientationType=abaqusConstants.CARTESIAN, partLevelOrientation=0)[source]๏ƒ

This method creates a DiscreteField object.

Note

This function can be accessed by:

mdb.models[name].DiscreteField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • defaultValues (tuple) โ€“ A sequence of Floats specifying a sequence of floats specifying the default values.

  • fieldType (Literal[PRESCRIBEDCONDITION_DOF, SCALAR, ORIENTATION]) โ€“ A SymbolicConstant or an Int specifying the type of data represented by this discrete field. Possible values are SCALAR, ORIENTATION, and PRESCRIBEDCONDITION_DOF.

  • location (Literal[NODES, ELEMENTS], default: NODES) โ€“ A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.

  • dataWidth (int, default: 1) โ€“ An Int specifying the width of the supplied data. The default value is 1.

  • data (Optional[List[DataTable]], default: None) โ€“ A DataTableArray object.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

  • orientationType (Literal[CYLINDRICAL, CARTESIAN, SPHERICAL], default: CARTESIAN) โ€“ A SymbolicConstant specifying the type of the system being described by a discrete field used for an orientation. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL. The default value is CARTESIAN.

  • partLevelOrientation (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.

Returns:

A DiscreteField object.

Return type:

DiscreteField

Raises:

AbaqusException โ€“

ExpressionField(name, expression, localCsys=None, description='')[source]๏ƒ

This method creates an ExpressionField object.

Note

This function can be accessed by:

mdb.models[name].ExpressionField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • expression (str) โ€“ A String specifying the Python expression to evaluate in space. Variables are X, Y, and Z; R, Th, and Z; or R, Th, and P based on the selected coordinate system.

  • localCsys (Optional[str], default: None) โ€“ None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

Returns:

An ExpressionField object.

Return type:

ExpressionField

Raises:

TextException โ€“

MappedField(name, regionType=abaqusConstants.POINT, partLevelData=0, pointDataFormat=abaqusConstants.XYZ, gridPointPlane=abaqusConstants.XYPLANE, defaultUnMappedValue=0, mappingAlgorithm=abaqusConstants.SURFACE, searchTolType=abaqusConstants.RELATIVE, boundarySearchTol=0, neighborhoodSearchTol=1000000, negativeNormalSearchTol=0, positiveNormalSearchTol=0, scaleCoordinates=0, gridPointData=(), xyzPointData=(), coordinateScalingFactors=(), localCsys=None, description='')[source]๏ƒ

This method creates an MappedField object.

Note

This function can be accessed by:

mdb.models[name].MappedField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • regionType (Literal[MESH, POINT, ODB], default: POINT) โ€“ A SymbolicConstant specifying the data source region type. It can be either an ODB mesh or a cloud of points. Possible values are MESH and POINT. The default value is POINT.

  • partLevelData (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not the point cloud source data are described in terms of part level coordinates. If part level coordinates is employed, the local coordinate system defined in localCsys will be ignored. The default value is OFF.

  • pointDataFormat (Literal[XYZ, GRID], default: XYZ) โ€“ A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.

  • gridPointPlane (Literal[XYPLANE, YZPLANE, XZPLANE], default: XYPLANE) โ€“ A SymbolicConstant specifying the plane on which the point cloud source data of grid format are described. Possible values are XYPLANE, YZPLANE, and XZPLANE. The default value is XYPLANE.

  • defaultUnMappedValue (float, default: 0) โ€“ A Float specifying the parameter (field) value reported when a value cannot be calculated from the data source. The default value is 0.0.

  • mappingAlgorithm (Literal[SURFACE, VOLUMETRIC], default: SURFACE) โ€“ A SymbolicConstant specifying the mapping algorithm for target surface, or on mesh target model when the parameter value are located at nodes, for example nodal temperatures. Possible values are SURFACE and VOLUMETRIC. The default value is SURFACE.

  • searchTolType (Literal[RELATIVE, ABSOLUTE], default: RELATIVE) โ€“ A SymbolicConstant specifying searching tolerance type in terms of absolute value or a fraction of the average of all element characteristic length in target model region. Possible values are ABSOLUTE and RELATIVE. The default value is RELATIVE.

  • boundarySearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value on the exterior boundary of target model region. Source points within this distance will be included in computing the parameter value of target region. This tolerance applies to both surface and volumetric mapping. The default value is 0.01.

  • neighborhoodSearchTol (float, default: 1000000) โ€“ A Float specifying the search distance tolerance value used for distance weighting algorithm. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 1000000.0.

  • negativeNormalSearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value in the negative normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.15.

  • positiveNormalSearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value in the positive normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.05.

  • scaleCoordinates (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not to scale the user-supplied coordinate values from the point cloud or indicated ODB. The default value is OFF.

  • gridPointData (tuple, default: ()) โ€“ A sequence of sequences of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.

  • xyzPointData (tuple, default: ()) โ€“ A sequence of sequences of Floats specifying the point cloud source data of XYZ format. Each data item is defining the XYZ coordinates of a point and its field value. The default value is an empty sequence.

  • coordinateScalingFactors (tuple, default: ()) โ€“ A sequence of Floats specifying the scaling factors for the global 1, 2 and 3 directions. The default value is (1.0, 1.0, 1.0).

  • localCsys (Optional[str], default: None) โ€“ None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

Returns:

A MappedField object.

Return type:

MappedField

Raises:

AbaqusException โ€“

Other Classes๏ƒ

class AnalyticalField[source]๏ƒ

Bases: Field

The AnalyticalField object is the abstract base type for other AnalyticalField objects. The AnalyticalField object has no explicit constructor. The methods and members of the AnalyticalField object are common to all objects derived from the AnalyticalField. The AnalyticalField object is derived from the Field object.

Note

This object can be accessed by:

import fields
mdb.models[name].analyticalFields[name]

Member Details:

OdbMeshRegionData(odbFileName, variableLabel, stepIndex=0, frameIndex=0, outputPosition=abaqusConstants.UNDEFINED_POSITION, dataType=abaqusConstants.SCALAR, storageType=abaqusConstants.FLOAT, quantityToPlot=abaqusConstants.FIELD_OUTPUT, averageElementOutput=0, useRegionBoundaries=0, regionBoundaries=abaqusConstants.NONE, includeFeatureBoundaries=1, featureAngle=20, averageOnlyDisplayed=0, averagingThreshold=75, computeOrder=abaqusConstants.EXTRAPOLATE_COMPUTE_AVERAGE, numericForm=abaqusConstants.REAL, complexAngle=0, sectionPoint='', refinementType=None, refinementLabel='', displayOutputPosition=None)[source]๏ƒ

This method creates an OdbMeshRegionData object.

Note

This function can be accessed by:

mdb.models[name].analyticalFields[name].OdbMeshRegionData
Parameters:
  • odbFileName (str) โ€“ A String specifying the name of the output database file (including the .odb extension) to be read into as the source data. This String can also be the full path to the output database file if it is located in another directory.

  • variableLabel (str) โ€“ A String specifying the field output variable.

  • stepIndex (int, default: 0) โ€“ An Int specifying the step index. Possible values are 0 โ‰ค stepIndex โ‰ค (numSteps โˆ’ 1). The default value is 0.

  • frameIndex (int, default: 0) โ€“ An Int specifying the frame in the specified step. Valid values are 0 โ‰ค frameIndex โ‰ค (numFramesInStep โˆ’ 1). The default value is 0.

  • outputPosition (Literal[ELEMENT_NODAL, ELEMENT_FACE, WHOLE_ELEMENT, NODAL, UNDEFINED_POSITION, INTEGRATION_POINT, ELEMENT_CENTROID, WHOLE_MODEL, GENERAL_PARTICLE, WHOLE_PART_INSTANCE, WHOLE_REGION], default: UNDEFINED_POSITION) โ€“

    A SymbolicConstant specifying the position where the data is written in the output database. Data can be obtained only from the position at which it was written to the output database during the analysis. This position should be aligned with the field output variable. Possible values are:

    • UNDEFINED_POSITION

    • NODAL

    • INTEGRATION_POINT

    • ELEMENT_FACE

    • ELEMENT_NODAL

    • ELEMENT_CENTROID

    • WHOLE_ELEMENT

    • WHOLE_REGION

    • WHOLE_PART_INSTANCE

    • WHOLE_MODEL

    • GENERAL_PARTICLE

    The default value is UNDEFINED_POSITION.

  • dataType (Literal[QUATERNION_3D, BOOLEAN, QUATERNION_2D, TENSOR_2D_SURFACE, VECTOR, INTEGER, TENSOR, SCALAR, TENSOR_3D_FULL, TENSOR_3D_SURFACE, ENUMERATION, TENSOR_2D_PLANAR, TENSOR_3D_PLANAR], default: SCALAR) โ€“

    A SymbolicConstant specifying the data type of the field output variable which should be aligned with the variable. Currently only SCALAR is supported. Possible values are:

    • ENUMERATION

    • BOOLEAN

    • INTEGER

    • SCALAR

    • VECTOR

    • QUATERNION_2D

    • QUATERNION_3D

    • TENSOR

    • TENSOR_3D_FULL

    • TENSOR_3D_PLANAR

    • TENSOR_3D_SURFACE

    • TENSOR_2D_PLANAR

    • TENSOR_2D_SURFACE

    The default value is SCALAR.

  • storageType (Literal[INTEGER, DOUBLE, FLOAT, BOOLEAN], default: FLOAT) โ€“ A SymbolicConstant specifying the storage type of the field output variable which should be aligned with the variable. Possible values are FLOAT, DOUBLE, INTEGER, and BOOLEAN. The default value is FLOAT.

  • quantityToPlot (Literal[DISCONTINUITIES, FIELD_OUTPUT], default: FIELD_OUTPUT) โ€“ A SymbolicConstant specifying the quantity to plot. Currently only FIELD_OUTPUT is supported. Possible values are FIELD_OUTPUT and DISCONTINUITIES. The default value is FIELD_OUTPUT.

  • averageElementOutput (str, default: 0) โ€“ A Boolean specifying whether to average the element output. The default value is OFF.

  • useRegionBoundaries (str, default: 0) โ€“ A Boolean specifying whether to use region boundaries when averaging. The default value is OFF.

  • regionBoundaries (Literal[DISPLAY_GROUPS, ODB_REGIONS, NONE, ELEMENT_SET], default: NONE) โ€“ A SymbolicConstant specifying the type of averaging region boundaries. Currently only NONE and ODB_REGIONS are supported. Possible values are NONE, ODB_REGIONS, ELEMENT_SET, and DISPLAY_GROUPS. The default value is NONE.

  • includeFeatureBoundaries (str, default: 1) โ€“ A Boolean specifying whether to include additional averaging boundaries for shells and membranes based on feature edges. The default value is ON.

  • featureAngle (float, default: 20) โ€“ A Float specifying the feature angle to be used when includeFeatureBoundaries = ON. The default value is 20.0.

  • averageOnlyDisplayed (str, default: 0) โ€“ A Boolean specifying whether to average only values on displayed elements. The default value is OFF.

  • averagingThreshold (float, default: 75) โ€“ A Float specifying the nodal averaging threshold percentage. 0 โ‰ค averagingThreshold โ‰ค 100. The default value is 75.0.

  • computeOrder (Literal[EXTRAPOLATE_COMPUTE, RAW_DATA, EXTRAPOLATE_COMPUTE_DISCONTINUITIES, EXTRAPOLATE_COMPUTE_AVERAGE, EXTRAPOLATE_AVERAGE_COMPUTE], default: EXTRAPOLATE_COMPUTE_AVERAGE) โ€“ A SymbolicConstant specifying the order or the computations to be performed on the interested field output variable. Possible values are EXTRAPOLATE_AVERAGE_COMPUTE, EXTRAPOLATE_COMPUTE_AVERAGE, EXTRAPOLATE_COMPUTE, EXTRAPOLATE_COMPUTE_DISCONTINUITIES, and RAW_DATA. The default value is EXTRAPOLATE_COMPUTE_AVERAGE.

  • numericForm (Literal[COMPLEX_PHASE, COMPLEX_MAG_AT_ANGLE, REAL, IMAGINARY, COMPLEX_MAGNITUDE], default: REAL) โ€“ A SymbolicConstant specifying the numeric form in which to display results that contain complex numbers. Possible values are COMPLEX_MAGNITUDE, COMPLEX_PHASE, REAL, IMAGINARY, and COMPLEX_MAG_AT_ANGLE. The default value is REAL.

  • complexAngle (float, default: 0) โ€“ A Float specifying the angle (in degrees) at which to display results that contain complex numbers when numericForm = COMPLEX_MAG_AT_ANGLE = COMPLEX_MAG_AT_ANGLE. The default value is 0.0.

  • sectionPoint (str, default: '') โ€“

    A Dictionary with String keys and String values. Each key specifies a region in the model; the corresponding value specifies a section point within that region. For example:

    sectionPoint = {
        'shell < MAT > < 7 section points >': 'SPOS, (fraction = 1.0)',
        'shell < MAT > < 5 section points >': 'SPOS, (fraction = 1.0)',
    }
    

  • refinementType (Optional[Literal[COMPONENT, NO_REFINEMENT, INVARIANT]], default: None) โ€“ A SymbolicConstant specifying the type of the FieldOutput object. Possible values for the SymbolicConstant are NO_REFINEMENT, INVARIANT and COMPONENT. Default argument is NO_REFINEMENT. refinementType is mandetory if variableLabel has an INVARIANT or a COMPONENT.

  • refinementLabel (str, default: '') โ€“ A String specifying the Label of FieldOutput object. This is required only if the refinementType is INVARIANT or COMPONENT.

  • displayOutputPosition (Optional[Literal[ELEMENT_NODAL, ELEMENT_FACE, WHOLE_ELEMENT, NODAL, INTEGRATION_POINT, ELEMENT_CENTROID, WHOLE_MODEL, GENERAL_PARTICLE, WHOLE_PART_INSTANCE, WHOLE_REGION]], default: None) โ€“ A SymbolicConstant specifying the position from which to obtain the data. Possible values are NODAL, INTEGRATION_POINT, ELEMENT_FACE, ELEMENT_NODAL, ELEMENT_CENTROID, WHOLE_ELEMENT, WHOLE_REGION, WHOLE_PART_INSTANCE, WHOLE_MODEL, and GENERAL_PARTICLE.

Returns:

An OdbMeshRegionData object.

Return type:

OdbMeshRegionData

Raises:

TextException โ€“

description: str = ''[source]๏ƒ

A String specifying the description of the field. The default value is an empty string.

localCsys: Optional[DatumCsys] = <abaqus.Datum.DatumCsys.DatumCsys object>[source]๏ƒ

None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

name: str = ''[source]๏ƒ

A String specifying the repository key.

odbMeshRegionData: OdbMeshRegionData = <abaqus.Field.OdbMeshRegionData.OdbMeshRegionData object>[source]๏ƒ

An OdbMeshRegionData object.

class Field[source]๏ƒ

Bases: object

The Field object is the abstract base type for other Field objects. The Field object has no explicit constructor. The methods and members of the Field object are common to all objects derived from the Field.

Note

This object can be accessed by:

import fields

Member Details:

description: str = ''[source]๏ƒ

A String specifying the description of the field. The default value is an empty string.

name: str = ''[source]๏ƒ

A String specifying the repository key.

class OdbMeshRegionData(odbFileName, variableLabel, stepIndex=0, frameIndex=0, outputPosition=abaqusConstants.UNDEFINED_POSITION, dataType=abaqusConstants.SCALAR, storageType=abaqusConstants.FLOAT, quantityToPlot=abaqusConstants.FIELD_OUTPUT, averageElementOutput=0, useRegionBoundaries=0, regionBoundaries=abaqusConstants.NONE, includeFeatureBoundaries=1, featureAngle=20, averageOnlyDisplayed=0, averagingThreshold=75, computeOrder=abaqusConstants.EXTRAPOLATE_COMPUTE_AVERAGE, numericForm=abaqusConstants.REAL, complexAngle=0, sectionPoint='', refinementType=None, refinementLabel='', displayOutputPosition=None)[source]๏ƒ

Bases: object

The OdbMeshRegionData object defines the external source data of MappedField from an ODB file.

Note

This object can be accessed by:

import field
mdb.models[name].analyticalFields[name].odbMeshRegionData

Changed in version 2017: The transformationType attribute was moved.

This method creates an OdbMeshRegionData object.

Note

This function can be accessed by:

mdb.models[name].analyticalFields[name].OdbMeshRegionData

Changed in version 2017: The transformationType argument was moved.

Parameters:
  • odbFileName (str) โ€“ A String specifying the name of the output database file (including the .odb extension) to be read into as the source data. This String can also be the full path to the output database file if it is located in another directory.

  • variableLabel (str) โ€“ A String specifying the field output variable.

  • stepIndex (int, default: 0) โ€“ An Int specifying the step index. Possible values are 0 โ‰ค stepIndex โ‰ค (numSteps โˆ’ 1). The default value is 0.

  • frameIndex (int, default: 0) โ€“ An Int specifying the frame in the specified step. Valid values are 0 โ‰ค frameIndex โ‰ค (numFramesInStep โˆ’ 1). The default value is 0.

  • outputPosition (Literal[ELEMENT_NODAL, ELEMENT_FACE, WHOLE_ELEMENT, NODAL, UNDEFINED_POSITION, INTEGRATION_POINT, ELEMENT_CENTROID, WHOLE_MODEL, GENERAL_PARTICLE, WHOLE_PART_INSTANCE, WHOLE_REGION], default: UNDEFINED_POSITION) โ€“

    A SymbolicConstant specifying the position where the data is written in the output database. Data can be obtained only from the position at which it was written to the output database during the analysis. This position should be aligned with the field output variable. Possible values are:

    • UNDEFINED_POSITION

    • NODAL

    • INTEGRATION_POINT

    • ELEMENT_FACE

    • ELEMENT_NODAL

    • ELEMENT_CENTROID

    • WHOLE_ELEMENT

    • WHOLE_REGION

    • WHOLE_PART_INSTANCE

    • WHOLE_MODEL

    • GENERAL_PARTICLE

    The default value is UNDEFINED_POSITION.

  • dataType (Literal[QUATERNION_3D, BOOLEAN, QUATERNION_2D, TENSOR_2D_SURFACE, VECTOR, INTEGER, TENSOR, SCALAR, TENSOR_3D_FULL, TENSOR_3D_SURFACE, ENUMERATION, TENSOR_2D_PLANAR, TENSOR_3D_PLANAR], default: SCALAR) โ€“

    A SymbolicConstant specifying the data type of the field output variable which should be aligned with the variable. Currently only SCALAR is supported. Possible values are:

    • ENUMERATION

    • BOOLEAN

    • INTEGER

    • SCALAR

    • VECTOR

    • QUATERNION_2D

    • QUATERNION_3D

    • TENSOR

    • TENSOR_3D_FULL

    • TENSOR_3D_PLANAR

    • TENSOR_3D_SURFACE

    • TENSOR_2D_PLANAR

    • TENSOR_2D_SURFACE

    The default value is SCALAR.

  • storageType (Literal[INTEGER, DOUBLE, FLOAT, BOOLEAN], default: FLOAT) โ€“ A SymbolicConstant specifying the storage type of the field output variable which should be aligned with the variable. Possible values are FLOAT, DOUBLE, INTEGER, and BOOLEAN. The default value is FLOAT.

  • quantityToPlot (Literal[DISCONTINUITIES, FIELD_OUTPUT], default: FIELD_OUTPUT) โ€“ A SymbolicConstant specifying the quantity to plot. Currently only FIELD_OUTPUT is supported. Possible values are FIELD_OUTPUT and DISCONTINUITIES. The default value is FIELD_OUTPUT.

  • averageElementOutput (str, default: 0) โ€“ A Boolean specifying whether to average the element output. The default value is OFF.

  • useRegionBoundaries (str, default: 0) โ€“ A Boolean specifying whether to use region boundaries when averaging. The default value is OFF.

  • regionBoundaries (Literal[DISPLAY_GROUPS, ODB_REGIONS, NONE, ELEMENT_SET], default: NONE) โ€“ A SymbolicConstant specifying the type of averaging region boundaries. Currently only NONE and ODB_REGIONS are supported. Possible values are NONE, ODB_REGIONS, ELEMENT_SET, and DISPLAY_GROUPS. The default value is NONE.

  • includeFeatureBoundaries (str, default: 1) โ€“ A Boolean specifying whether to include additional averaging boundaries for shells and membranes based on feature edges. The default value is ON.

  • featureAngle (float, default: 20) โ€“ A Float specifying the feature angle to be used when includeFeatureBoundaries = ON. The default value is 20.0.

  • averageOnlyDisplayed (str, default: 0) โ€“ A Boolean specifying whether to average only values on displayed elements. The default value is OFF.

  • averagingThreshold (float, default: 75) โ€“ A Float specifying the nodal averaging threshold percentage. 0 โ‰ค averagingThreshold โ‰ค 100. The default value is 75.0.

  • computeOrder (Literal[EXTRAPOLATE_COMPUTE, RAW_DATA, EXTRAPOLATE_COMPUTE_DISCONTINUITIES, EXTRAPOLATE_COMPUTE_AVERAGE, EXTRAPOLATE_AVERAGE_COMPUTE], default: EXTRAPOLATE_COMPUTE_AVERAGE) โ€“ A SymbolicConstant specifying the order or the computations to be performed on the interested field output variable. Possible values are EXTRAPOLATE_AVERAGE_COMPUTE, EXTRAPOLATE_COMPUTE_AVERAGE, EXTRAPOLATE_COMPUTE, EXTRAPOLATE_COMPUTE_DISCONTINUITIES, and RAW_DATA. The default value is EXTRAPOLATE_COMPUTE_AVERAGE.

  • numericForm (Literal[COMPLEX_PHASE, COMPLEX_MAG_AT_ANGLE, REAL, IMAGINARY, COMPLEX_MAGNITUDE], default: REAL) โ€“ A SymbolicConstant specifying the numeric form in which to display results that contain complex numbers. Possible values are COMPLEX_MAGNITUDE, COMPLEX_PHASE, REAL, IMAGINARY, and COMPLEX_MAG_AT_ANGLE. The default value is REAL.

  • complexAngle (float, default: 0) โ€“ A Float specifying the angle (in degrees) at which to display results that contain complex numbers when numericForm=COMPLEX_MAG_AT_ANGLE = COMPLEX_MAG_AT_ANGLE. The default value is 0.0.

  • sectionPoint (str, default: '') โ€“

    A Dictionary with String keys and String values. Each key specifies a region in the model; the corresponding value specifies a section point within that region. For example:

    sectionPoint = {
        'shell < MAT > < 7 section points >': 'SPOS, (fraction = 1.0)',
        'shell < MAT > < 5 section points >': 'SPOS, (fraction = 1.0)',
    }
    

  • refinementType (Optional[Literal[COMPONENT, NO_REFINEMENT, INVARIANT]], default: None) โ€“ A SymbolicConstant specifying the type of the FieldOutput object. Possible values for the SymbolicConstant are NO_REFINEMENT, INVARIANT and COMPONENT. Default argument is NO_REFINEMENT. refinementType is mandetory if variableLabel has an INVARIANT or a COMPONENT.

  • refinementLabel (str, default: '') โ€“ A String specifying the Label of FieldOutput object. This is required only if the refinementType is INVARIANT or COMPONENT.

  • displayOutputPosition (Optional[Literal[ELEMENT_NODAL, ELEMENT_FACE, WHOLE_ELEMENT, NODAL, INTEGRATION_POINT, ELEMENT_CENTROID, WHOLE_MODEL, GENERAL_PARTICLE, WHOLE_PART_INSTANCE, WHOLE_REGION]], default: None) โ€“ A SymbolicConstant specifying the position from which to obtain the data. Possible values are NODAL, INTEGRATION_POINT, ELEMENT_FACE, ELEMENT_NODAL, ELEMENT_CENTROID, WHOLE_ELEMENT, WHOLE_REGION, WHOLE_PART_INSTANCE, WHOLE_MODEL, and GENERAL_PARTICLE.

Returns:

An OdbMeshRegionData object.

Return type:

OdbMeshRegionData

Raises:

TextException โ€“

Member Details:

averageElementOutput: Union[AbaqusBoolean, bool] = 0[source]๏ƒ

A Boolean specifying whether to average the element output. The default value is OFF.

averageOnlyDisplayed: Union[AbaqusBoolean, bool] = 0[source]๏ƒ

A Boolean specifying whether to average only values on displayed elements. The default value is OFF.

averagingThreshold: float = 75[source]๏ƒ

A Float specifying the nodal averaging threshold percentage. 0 โ‰ค averagingThreshold โ‰ค100. The default value is 75.0.

complexAngle: float = 0[source]๏ƒ

A Float specifying the angle (in degrees) at which to display results that contain complex numbers when numericForm=COMPLEX_MAG_AT_ANGLE = COMPLEX_MAG_AT_ANGLE. The default value is 0.0.

computeOrder: SymbolicConstant = 'EXTRAPOLATE_COMPUTE_AVERAGE'[source]๏ƒ

A SymbolicConstant specifying the order or the computations to be performed on the interested field output variable. Possible values are EXTRAPOLATE_AVERAGE_COMPUTE, EXTRAPOLATE_COMPUTE_AVERAGE, EXTRAPOLATE_COMPUTE, EXTRAPOLATE_COMPUTE_DISCONTINUITIES, and RAW_DATA. The default value is EXTRAPOLATE_COMPUTE_AVERAGE.

dataType: SymbolicConstant = 'SCALAR'[source]๏ƒ

A SymbolicConstant specifying the data type of the field output variable which should be aligned with the variable. Currently only SCALAR is supported. Possible values are:

  • ENUMERATION

  • BOOLEAN

  • INTEGER

  • SCALAR

  • VECTOR

  • QUATERNION_2D

  • QUATERNION_3D

  • TENSOR

  • TENSOR_3D_FULL

  • TENSOR_3D_PLANAR

  • TENSOR_3D_SURFACE

  • TENSOR_2D_PLANAR

  • TENSOR_2D_SURFACE

The default value is SCALAR.

displayOutputPosition: SymbolicConstant = 'UNDEFINED_POSITION'[source]๏ƒ

A SymbolicConstant specifying the position where the output is displayed in the viewport. Possible values are:

  • UNDEFINED_POSITION

  • NODAL

  • INTEGRATION_POINT

  • ELEMENT_FACE

  • ELEMENT_NODAL

  • ELEMENT_CENTROID

  • WHOLE_ELEMENT

  • WHOLE_REGION

  • WHOLE_PART_INSTANCE

  • WHOLE_MODEL

  • GENERAL_PARTICLE

The default value is UNDEFINED_POSITION.

featureAngle: float = 20[source]๏ƒ

A Float specifying the feature angle to be used when includeFeatureBoundaries = ON. The default value is 20.0.

frameIndex: int = 0[source]๏ƒ

An Int specifying the frame in the specified step. Valid values are 0 โ‰ค frameIndex โ‰ค (numFramesInStep โˆ’ 1). The default value is 0.

includeFeatureBoundaries: Union[AbaqusBoolean, bool] = 1[source]๏ƒ

A Boolean specifying whether to include additional averaging boundaries for shells and membranes based on feature edges. The default value is ON.

numericForm: SymbolicConstant = 'REAL'[source]๏ƒ

A SymbolicConstant specifying the numeric form in which to display results that contain complex numbers. Possible values are COMPLEX_MAGNITUDE, COMPLEX_PHASE, REAL, IMAGINARY, and COMPLEX_MAG_AT_ANGLE. The default value is REAL.

odbFileName: str = ''[source]๏ƒ

A String specifying the name of the output database file (including the .odb extension) to be read into as the source data. This String can also be the full path to the output database file if it is located in another directory.

outputPosition: SymbolicConstant = 'UNDEFINED_POSITION'[source]๏ƒ

A SymbolicConstant specifying the position from which to obtain data. Data can be obtained only from the position at which they were written to the output database during the analysis. This position should be aligned with the field output variable. Possible values are:

  • UNDEFINED_POSITION

  • NODAL

  • INTEGRATION_POINT

  • ELEMENT_FACE

  • ELEMENT_NODAL

  • ELEMENT_CENTROID

  • WHOLE_ELEMENT

  • WHOLE_REGION

  • WHOLE_PART_INSTANCE

  • WHOLE_MODEL

  • GENERAL_PARTICLE

The default value is UNDEFINED_POSITION.

quantityToPlot: SymbolicConstant = 'FIELD_OUTPUT'[source]๏ƒ

A SymbolicConstant specifying the quantity to plot. Currently only FIELD_OUTPUT is supported. Possible values are FIELD_OUTPUT and DISCONTINUITIES. The default value is FIELD_OUTPUT.

regionBoundaries: SymbolicConstant = 'NONE'[source]๏ƒ

A SymbolicConstant specifying the type of averaging region boundaries. Currently only NONE and ODB_REGIONS are supported. Possible values are NONE, ODB_REGIONS, ELEMENT_SET, and DISPLAY_GROUPS. The default value is NONE.

setValues(*args, **kwargs)[source]๏ƒ

This method modifies the OdbMeshRegionData object.

stepIndex: int = 0[source]๏ƒ

An Int specifying the step index. Possible values are 0 โ‰ค stepIndex โ‰ค (numSteps โˆ’ 1). The default value is 0.

storageType: SymbolicConstant = 'FLOAT'[source]๏ƒ

A SymbolicConstant specifying the storage type of the field output variable which should be aligned with the variable. Possible values are FLOAT, DOUBLE, INTEGER, and BOOLEAN. The default value is FLOAT.

useRegionBoundaries: Union[AbaqusBoolean, bool] = 0[source]๏ƒ

A Boolean specifying whether to use region boundaries when averaging. The default value is OFF.

variableLabel: str = ''[source]๏ƒ

A String specifying the field output variable.

class DataTable[source]๏ƒ

Bases: object

A DataTable is an object used to define the domain and data for a DiscreteField.

Note

This object can be accessed by:

import field
mdb.models[name].discreteFields[name].data[i]

Member Details:

dataWidth: Optional[int] = None[source]๏ƒ

An Int specifying the width of the data. Valid widths are 1, 6, 21, corresponding to scalar data, orientations and 4D tensors.

domain: Optional[int] = None[source]๏ƒ

A tuple of Ints specifying the domain node, element or integration point identifiers.

instanceName: str = ''[source]๏ƒ

A String specifying the instance name.

name: str = ''[source]๏ƒ

A String specifying the index.

table: Optional[float] = None[source]๏ƒ

A tuple of Floats specifying the data within the domain.

class DiscreteField(name, defaultValues, fieldType, location=abaqusConstants.NODES, dataWidth=1, data=None, description='', orientationType=abaqusConstants.CARTESIAN, partLevelOrientation=0)[source]๏ƒ

Bases: Field

The DiscreteField object defines a varying field whose values correspond to distinct points within a domain. The DiscreteField object is derived from the Field object.

Note

This object can be accessed by:

import fields
mdb.models[name].discreteFields[name]

This method creates a DiscreteField object.

Note

This function can be accessed by:

mdb.models[name].DiscreteField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • defaultValues (tuple) โ€“ A sequence of Floats specifying a sequence of floats specifying the default values.

  • fieldType (Literal[PRESCRIBEDCONDITION_DOF, SCALAR, ORIENTATION]) โ€“ A SymbolicConstant or an Int specifying the type of data represented by this discrete field. Possible values are SCALAR, ORIENTATION, and PRESCRIBEDCONDITION_DOF.

  • location (Literal[NODES, ELEMENTS], default: NODES) โ€“ A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.

  • dataWidth (int, default: 1) โ€“ An Int specifying the width of the supplied data. The default value is 1.

  • data (Optional[List[DataTable]], default: None) โ€“ A DataTableArray object.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

  • orientationType (Literal[CYLINDRICAL, CARTESIAN, SPHERICAL], default: CARTESIAN) โ€“ A SymbolicConstant specifying the type of the system being described by a discrete field used for an orientation. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL. The default value is CARTESIAN.

  • partLevelOrientation (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.

Returns:

A DiscreteField object.

Return type:

DiscreteField

Raises:

AbaqusException โ€“

Member Details:

DiscreteFieldByVolumeFraction(name, eulerianInstance, referenceInstance, accuracy=abaqusConstants.MEDIUM, materialLocation=abaqusConstants.INSIDE, description='', scaleFactor='')[source]๏ƒ

This method creates a DiscreteField object that represents the volume fraction of each element of an Eulerian Instance that is occupied by a reference instance.

Note

This function can be accessed by:

mdb.models[name].DiscreteField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • eulerianInstance (PartInstance) โ€“ A PartInstance object specifying the elements for which volume fraction values will be computed.

  • referenceInstance (PartInstance) โ€“ A PartInstance object specifying the region that either contains material or is empty of material.

  • accuracy (str, default: MEDIUM) โ€“ A Symbolic Constant specifying the level of accuracy that will be used in computing volume fractions. Possible values are LOW, MEDIUM, or HIGH. The default value is MEDIUM.

  • materialLocation (str, default: INSIDE) โ€“ A Symbolic Constant indicating whether the material is inside or outside the referenceInstance. Possible values are INSIDE or OUTSIDE. The default value is INSIDE.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

  • scaleFactor (str, default: '') โ€“ A float specifying the fraction of the volume that is occupied by the referenceInstance. Valid values are between 0 and 1.

Returns:

A DiscreteField object.

Return type:

DiscreteField

Raises:

AbaqusException โ€“

DiscreteFieldFromAnalytic(name, location, analyticFieldName, region)[source]๏ƒ

This method creates a DiscreteField object from a AnalyticalField object.

Note

This function can be accessed by:

mdb.models[name].DiscreteField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • location (Literal[NODES, ELEMENTS]) โ€“ A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.

  • analyticFieldName (str) โ€“ A String specifying the name of the AnalyticalField containing the source data.

  • region (Region) โ€“ A Region object for the field.

Returns:

A DiscreteField object.

Return type:

DiscreteField

Raises:

AbaqusException โ€“

data: Optional[List[DataTable]] = None[source]๏ƒ

A DataTableArray object.

dataWidth: int = 1[source]๏ƒ

An Int specifying the width of the supplied data. The default value is 1.

defaultValues: tuple[source]๏ƒ

A sequence of Floats specifying a sequence of floats specifying the default values.

description: str = ''[source]๏ƒ

A String specifying the description of the field. The default value is an empty string.

fieldType: SymbolicConstant[source]๏ƒ

A SymbolicConstant or an Int specifying the type of data represented by this discrete field. Possible values are SCALAR, ORIENTATION, and PRESCRIBEDCONDITION_DOF.

location: SymbolicConstant = 'NODES'[source]๏ƒ

A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.

orientationType: SymbolicConstant = 'CARTESIAN'[source]๏ƒ

A SymbolicConstant specifying the type of the system being described by a discrete field used for an orientation. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL. The default value is CARTESIAN.

partLevelOrientation: Union[AbaqusBoolean, bool] = 0[source]๏ƒ

A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.

setValues(location=abaqusConstants.NODES, dataWidth=1, data=None, description='', orientationType=abaqusConstants.CARTESIAN, partLevelOrientation=0)[source]๏ƒ

This method modifies the DiscreteField object.

Parameters:
  • location (Literal[NODES, ELEMENTS], default: NODES) โ€“ A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.

  • dataWidth (int, default: 1) โ€“ An Int specifying the width of the supplied data. The default value is 1.

  • data (Optional[List[DataTable]], default: None) โ€“ A DataTableArray object.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

  • orientationType (Literal[CYLINDRICAL, CARTESIAN, SPHERICAL], default: CARTESIAN) โ€“ A SymbolicConstant specifying the type of the system being described by a discrete field used for an orientation. Possible values are CARTESIAN, CYLINDRICAL, and SPHERICAL. The default value is CARTESIAN.

  • partLevelOrientation (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.

class ExpressionField(name, expression, localCsys=None, description='')[source]๏ƒ

Bases: AnalyticalField

The ExpressionField object defines a spatially varying field whose value is calculated from a user- supplied mathematical expression. The ExpressionField object is derived from the AnalyticalField object.

Note

This object can be accessed by:

import fields
mdb.models[name].analyticalFields[name]

This method creates an ExpressionField object.

Note

This function can be accessed by:

mdb.models[name].ExpressionField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • expression (str) โ€“ A String specifying the Python expression to evaluate in space. Variables are X, Y, and Z; R, Th, and Z; or R, Th, and P based on the selected coordinate system.

  • localCsys (Optional[str], default: None) โ€“ None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

Returns:

An ExpressionField object.

Return type:

ExpressionField

Raises:

TextException โ€“

Member Details:

description: str = ''[source]๏ƒ

A String specifying the description of the field. The default value is an empty string.

expression: str[source]๏ƒ

A String specifying the Python expression to evaluate in space. Variables are X, Y, and Z; R, Th, and Z; or R, Th, and P based on the selected coordinate system.

localCsys: DatumCsys | None = None[source]๏ƒ

None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

setValues(localCsys=None, description='')[source]๏ƒ

This method modifies the ExpressionField object.

Parameters:
  • localCsys (Optional[str], default: None) โ€“ None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

class MappedField(name, regionType=abaqusConstants.POINT, partLevelData=0, pointDataFormat=abaqusConstants.XYZ, gridPointPlane=abaqusConstants.XYPLANE, defaultUnMappedValue=0, mappingAlgorithm=abaqusConstants.SURFACE, searchTolType=abaqusConstants.RELATIVE, boundarySearchTol=0, neighborhoodSearchTol=1000000, negativeNormalSearchTol=0, positiveNormalSearchTol=0, scaleCoordinates=0, gridPointData=(), xyzPointData=(), coordinateScalingFactors=(), localCsys=None, description='')[source]๏ƒ

Bases: AnalyticalField

The MappedField object defines a spatially varying field whose value is calculated from an external source data. The MappedField object is derived from the AnalyticalField object.

Note

This object can be accessed by:

import fields
mdb.models[name].analyticalFields[name]

This method creates an MappedField object.

Note

This function can be accessed by:

mdb.models[name].MappedField
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • regionType (Literal[MESH, POINT, ODB], default: POINT) โ€“ A SymbolicConstant specifying the data source region type. It can be either an ODB mesh or a cloud of points. Possible values are MESH and POINT. The default value is POINT.

  • partLevelData (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not the point cloud source data are described in terms of part level coordinates. If part level coordinates is employed, the local coordinate system defined in localCsys will be ignored. The default value is OFF.

  • pointDataFormat (Literal[XYZ, GRID], default: XYZ) โ€“ A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.

  • gridPointPlane (Literal[XYPLANE, YZPLANE, XZPLANE], default: XYPLANE) โ€“ A SymbolicConstant specifying the plane on which the point cloud source data of grid format are described. Possible values are XYPLANE, YZPLANE, and XZPLANE. The default value is XYPLANE.

  • defaultUnMappedValue (float, default: 0) โ€“ A Float specifying the parameter (field) value reported when a value cannot be calculated from the data source. The default value is 0.0.

  • mappingAlgorithm (Literal[SURFACE, VOLUMETRIC], default: SURFACE) โ€“ A SymbolicConstant specifying the mapping algorithm for target surface, or on mesh target model when the parameter value are located at nodes, for example nodal temperatures. Possible values are SURFACE and VOLUMETRIC. The default value is SURFACE.

  • searchTolType (Literal[RELATIVE, ABSOLUTE], default: RELATIVE) โ€“ A SymbolicConstant specifying searching tolerance type in terms of absolute value or a fraction of the average of all element characteristic length in target model region. Possible values are ABSOLUTE and RELATIVE. The default value is RELATIVE.

  • boundarySearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value on the exterior boundary of target model region. Source points within this distance will be included in computing the parameter value of target region. This tolerance applies to both surface and volumetric mapping. The default value is 0.01.

  • neighborhoodSearchTol (float, default: 1000000) โ€“ A Float specifying the search distance tolerance value used for distance weighting algorithm. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 1000000.0.

  • negativeNormalSearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value in the negative normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.15.

  • positiveNormalSearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value in the positive normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.05.

  • scaleCoordinates (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not to scale the user-supplied coordinate values from the point cloud or indicated ODB. The default value is OFF.

  • gridPointData (tuple, default: ()) โ€“ A sequence of sequences of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.

  • xyzPointData (tuple, default: ()) โ€“ A sequence of sequences of Floats specifying the point cloud source data of XYZ format. Each data item is defining the XYZ coordinates of a point and its field value. The default value is an empty sequence.

  • coordinateScalingFactors (tuple, default: ()) โ€“ A sequence of Floats specifying the scaling factors for the global 1, 2 and 3 directions. The default value is (1.0, 1.0, 1.0).

  • localCsys (Optional[str], default: None) โ€“ None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

Returns:

A MappedField object.

Return type:

MappedField

Raises:

AbaqusException โ€“

Member Details:

boundarySearchTol: float = 0[source]๏ƒ

A Float specifying the search distance tolerance value on the exterior boundary of target model region. Source points within this distance will be included in computing the parameter value of target region. This tolerance applies to both surface and volumetric mapping. The default value is 0.01.

coordinateScalingFactors: tuple[float, float, float] = (1.0, 1.0, 1.0)[source]๏ƒ

A tuple of Floats specifying the scaling factors for the global 1, 2 and 3 directions. The default value is (1.0, 1.0, 1.0).

defaultUnMappedValue: float = 0[source]๏ƒ

A Float specifying default parameter (field) value of target model region while its value cannot be calculated from the data source. The default value is 0.0.

description: str = ''[source]๏ƒ

A String specifying the description of the field. The default value is an empty string.

gridPointData: tuple = ()[source]๏ƒ

A tuple of tuples of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.

gridPointPlane: SymbolicConstant = 'XYPLANE'[source]๏ƒ

A SymbolicConstant specifying the plane on which the point cloud source data of grid format are described. Possible values are XYPLANE, YZPLANE, and XZPLANE. The default value is XYPLANE.

localCsys: Optional[DatumCsys] = None[source]๏ƒ

None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

mappingAlgorithm: SymbolicConstant = 'SURFACE'[source]๏ƒ

A SymbolicConstant specifying the mapping algorithm for target surface, or on mesh target model when the parameter value are located at nodes, for example nodal temperatures. Possible values are SURFACE and VOLUMETRIC. The default value is SURFACE.

name: str = ''[source]๏ƒ

A String specifying the repository key.

negativeNormalSearchTol: float = 0[source]๏ƒ

A Float specifying the search distance tolerance value in the negative normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.15.

neighborhoodSearchTol: float = 1000000[source]๏ƒ

A Float specifying the search distance tolerance value used for distance weighting algorithm. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 1000000.0.

odbMeshRegionData: OdbMeshRegionData = <abaqus.Field.OdbMeshRegionData.OdbMeshRegionData object>[source]๏ƒ

An OdbMeshRegionData object specifying the external source data from ODB mesh region.

partLevelData: Union[AbaqusBoolean, bool] = 0[source]๏ƒ

A Boolean specifying whether or not the point cloud source data are described in terms of part level coordinates. If part level coordinates is employed, the local coordinate system defined in localCsys will be ignored. The default value is OFF.

pointDataFormat: SymbolicConstant = 'XYZ'[source]๏ƒ

A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.

positiveNormalSearchTol: float = 0[source]๏ƒ

A Float specifying the search distance tolerance value in the positive normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.05.

regionType: SymbolicConstant = 'POINT'[source]๏ƒ

A SymbolicConstant specifying the data source region type. It can be either an ODB mesh or a cloud of points. Possible values are MESH and POINT. The default value is POINT.

scaleCoordinates: Union[AbaqusBoolean, bool] = 0[source]๏ƒ

A Boolean specifying whether or not to scale the user-supplied coordinate values from the point cloud or indicated ODB. The default value is OFF.

searchTolType: SymbolicConstant = 'RELATIVE'[source]๏ƒ

A SymbolicConstant specifying searching tolerance type in terms of absolute value or a fraction of the average of all element characteristic length in target model region. Possible values are ABSOLUTE and RELATIVE. The default value is RELATIVE.

setValues(regionType=abaqusConstants.POINT, partLevelData=0, pointDataFormat=abaqusConstants.XYZ, gridPointPlane=abaqusConstants.XYPLANE, defaultUnMappedValue=0, mappingAlgorithm=abaqusConstants.SURFACE, searchTolType=abaqusConstants.RELATIVE, boundarySearchTol=0, neighborhoodSearchTol=1000000, negativeNormalSearchTol=0, positiveNormalSearchTol=0, scaleCoordinates=0, gridPointData=(), xyzPointData=(), coordinateScalingFactors=(), localCsys=None, description='')[source]๏ƒ

This method modifies the MappedField object.

Parameters:
  • regionType (Literal[MESH, POINT, ODB], default: POINT) โ€“ A SymbolicConstant specifying the data source region type. It can be either an ODB mesh or a cloud of points. Possible values are MESH and POINT. The default value is POINT.

  • partLevelData (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not the point cloud source data are described in terms of part level coordinates. If part level coordinates is employed, the local coordinate system defined in localCsys will be ignored. The default value is OFF.

  • pointDataFormat (Literal[XYZ, GRID], default: XYZ) โ€“ A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.

  • gridPointPlane (Literal[XYPLANE, YZPLANE, XZPLANE], default: XYPLANE) โ€“ A SymbolicConstant specifying the plane on which the point cloud source data of grid format are described. Possible values are XYPLANE, YZPLANE, and XZPLANE. The default value is XYPLANE.

  • defaultUnMappedValue (float, default: 0) โ€“ A Float specifying the parameter (field) value reported when a value cannot be calculated from the data source. The default value is 0.0.

  • mappingAlgorithm (Literal[SURFACE, VOLUMETRIC], default: SURFACE) โ€“ A SymbolicConstant specifying the mapping algorithm for target surface, or on mesh target model when the parameter value are located at nodes, for example nodal temperatures. Possible values are SURFACE and VOLUMETRIC. The default value is SURFACE.

  • searchTolType (Literal[RELATIVE, ABSOLUTE], default: RELATIVE) โ€“ A SymbolicConstant specifying searching tolerance type in terms of absolute value or a fraction of the average of all element characteristic length in target model region. Possible values are ABSOLUTE and RELATIVE. The default value is RELATIVE.

  • boundarySearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value on the exterior boundary of target model region. Source points within this distance will be included in computing the parameter value of target region. This tolerance applies to both surface and volumetric mapping. The default value is 0.01.

  • neighborhoodSearchTol (float, default: 1000000) โ€“ A Float specifying the search distance tolerance value used for distance weighting algorithm. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 1000000.0.

  • negativeNormalSearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value in the negative normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.15.

  • positiveNormalSearchTol (float, default: 0) โ€“ A Float specifying the search distance tolerance value in the positive normal of target surface region. Source points within this distance will be included in computing the parameter value of target region. This tolerance only applies to surface mapping. The default value is 0.05.

  • scaleCoordinates (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether or not to scale the user-supplied coordinate values from the point cloud or indicated ODB. The default value is OFF.

  • gridPointData (tuple, default: ()) โ€“ A sequence of sequences of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.

  • xyzPointData (tuple, default: ()) โ€“ A sequence of sequences of Floats specifying the point cloud source data of XYZ format. Each data item is defining the XYZ coordinates of a point and its field value. The default value is an empty sequence.

  • coordinateScalingFactors (tuple, default: ()) โ€“ A sequence of Floats specifying the scaling factors for the global 1, 2 and 3 directions. The default value is (1.0, 1.0, 1.0).

  • localCsys (Optional[str], default: None) โ€“ None or a DatumCsys object specifying the local coordinate system of the field. If localCsys = None, the field is defined in the global coordinate system. The default value is None.

  • description (str, default: '') โ€“ A String specifying the description of the field. The default value is an empty string.

xyzPointData: tuple = ()[source]๏ƒ

A tuple of tuples of Floats specifying the point cloud source data of XYZ format. Each data item is defining the XYZ coordinates of a point and its field value. The default value is an empty sequence.

class FieldOdb(name, analysisTitle='', description='', path='')[source]๏ƒ

Bases: OdbBase

This method creates a new Odb object.

Note

This function can be accessed by:

session.Odb
Parameters:
  • name (str) โ€“ A String specifying the repository key.

  • analysisTitle (str, default: '') โ€“ A String specifying the title of the output database. The default value is an empty string.

  • description (str, default: '') โ€“ A String specifying the description of the output database. The default value is an empty string.

  • path (str, default: '') โ€“ A String specifying the path to the file where the new output database (.odb ) file will be written. The default value is an empty string.

Returns:

An Odb object.

Return type:

Odb

Member Details: