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=
NOT_SET
, - modelType=
STANDARD_EXPLICIT
, - universalGas=
None
, - copyConstraints=
1
, - copyConnectors=
1
, - copyInteractions=
1
, 基类:
ModelBase
Public Data Attributes:
Inherited from
ModelBase
A String specifying the repository key.
None or a Float specifying the Stefan-Boltzmann constant.
None or a Float specifying the absolute zero constant.
A SymbolicConstant specifying the type of incident wave formulation to be used in acoustic problems.
None or a Float specifying the universal gas constant.
A Boolean specifying whether an input file should be written without parts and assemblies.
A Boolean specifying that the step specified by restartStep should be terminated at the increment specified by restartIncrement.
A Boolean specifying that a shell global model drives a solid submodel.
A Float specifying the time stamp that indicates when the model was last changed.
A String specifying the purpose and contents of the Model object.
A String specifying the name of the job that generated the restart data.
A String specifying the name of the step where the restart analysis will start.
A String specifying the name of the job that generated the results for the global model.
A boolean specifying the status of constraints created in a model, in the model which instances this model.
A boolean specifying the status of connectors created in a model, in the model which instances this model.
A boolean specifying the status of interactions created in a model, in the model which instances this model.
A KeywordBlock object.
A repository of Amplitude objects.
A repository of Profile objects.
A repository of BoundaryCondition objects.
A repository of ConstrainedSketchConstraint objects.
A repository of AnalyticalField objects.
A repository of DiscreteField objects.
A repository of PredefinedField objects.
A repository of Interaction objects.
A repository of InteractionProperty objects.
A repository of ContactControl objects.
A repository of ContactInitialization objects.
A repository of ContactStabilization objects.
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.
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.
A repository of Load objects.
A repository of Material objects.
A repository of Calibration objects.
A repository of Section objects.
A repository of RemeshingRule objects.
A repository of ConstrainedSketch objects.
A repository of Part objects.
A repository of Step objects.
A FeatureOptions object.
A repository of AdaptiveMeshConstraint objects.
A repository of AdaptiveMeshControl objects.
A repository of TimePoint objects.
A repository of Filter objects.
A repository of IntegratedOutputSection objects.
A repository of FieldOutputRequest objects.
A repository of HistoryOutputRequest objects.
A repository of OptimizationTask objects.
A repository of TableCollection objects.
A repository of EventSeriesType objects.
A repository of EventSeriesData objects.
An Int specifying the increment, interval, iteration or cycle where the restart analysis will start.
An Assembly object.
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=
NODES
, - dataWidth=
1
, - data=
None
, - description=
''
, - orientationType=
CARTESIAN
, - partLevelOrientation=
0
, This method creates a DiscreteField object.
备注
This function can be accessed by:
mdb.models[name].DiscreteField
备注
- 参数:¶
- name¶
A String specifying the repository key.
- defaultValues¶
A sequence of Floats specifying a sequence of floats specifying the default values.
- fieldType¶
A SymbolicConstant or an Int specifying the type of data represented by this discrete field. Possible values are SCALAR, ORIENTATION, and PRESCRIBEDCONDITION_DOF.
- location=
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=
1
¶ An Int specifying the width of the supplied data. The default value is 1.
- data=
None
¶ A DataTableArray object.
- description=
''
¶ A String specifying the description of the field. The default value is an empty string.
- orientationType=
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=
0
¶ A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.
- 返回:¶
A DiscreteField object.
- 返回类型:¶
- 抛出:¶
-
ExpressionField(name, expression, localCsys=
None
, description=''
)[源代码]¶ This method creates an ExpressionField object.
备注
This function can be accessed by:
mdb.models[name].ExpressionField
备注
- 参数:¶
- name¶
A String specifying the repository key.
- expression¶
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=
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=
''
¶ A String specifying the description of the field. The default value is an empty string.
- 返回:¶
An ExpressionField object.
- 返回类型:¶
- 抛出:¶
TextException --
- MappedField(
- name,
- regionType=
POINT
, - partLevelData=
0
, - pointDataFormat=
XYZ
, - gridPointPlane=
XYPLANE
, - defaultUnMappedValue=
0
, - mappingAlgorithm=
SURFACE
, - searchTolType=
RELATIVE
, - boundarySearchTol=
0
, - neighborhoodSearchTol=
1000000
, - negativeNormalSearchTol=
0
, - positiveNormalSearchTol=
0
, - scaleCoordinates=
0
, - gridPointData=
()
, - xyzPointData=
()
, - coordinateScalingFactors=
()
, - localCsys=
None
, - description=
''
, This method creates an MappedField object.
备注
This function can be accessed by:
mdb.models[name].MappedField
备注
- 参数:¶
- name¶
A String specifying the repository key.
- regionType=
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=
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=
XYZ
¶ A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.
- gridPointPlane=
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=
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=
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=
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=
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=
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=
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=
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=
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=
()
¶ A sequence of sequences of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.
- xyzPointData=
()
¶ 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=
()
¶ 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=
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=
''
¶ A String specifying the description of the field. The default value is an empty string.
- 返回:¶
A MappedField object.
- 返回类型:¶
- 抛出:¶
Other Classes¶
- class AnalyticalField[源代码]¶
基类:
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.
备注
This object can be accessed by:
import fields mdb.models[name].analyticalFields[name]
备注
Member Details:
- OdbMeshRegionData(
- odbFileName,
- variableLabel,
- stepIndex=
0
, - frameIndex=
0
, - outputPosition=
UNDEFINED_POSITION
, - dataType=
SCALAR
, - storageType=
FLOAT
, - quantityToPlot=
FIELD_OUTPUT
, - averageElementOutput=
0
, - useRegionBoundaries=
0
, - regionBoundaries=
NONE
, - includeFeatureBoundaries=
1
, - featureAngle=
20
, - averageOnlyDisplayed=
0
, - averagingThreshold=
75
, - computeOrder=
EXTRAPOLATE_COMPUTE_AVERAGE
, - numericForm=
REAL
, - complexAngle=
0
, - sectionPoint=
''
, - refinementType=
None
, - refinementLabel=
''
, - displayOutputPosition=
None
, This method creates an OdbMeshRegionData object.
备注
This function can be accessed by:
mdb.models[name].analyticalFields[name].OdbMeshRegionData
备注
- 参数:¶
- odbFileName¶
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¶
A String specifying the field output variable.
- stepIndex=
0
¶ An Int specifying the step index. Possible values are 0 ≤ stepIndex ≤ (numSteps − 1). The default value is 0.
- frameIndex=
0
¶ An Int specifying the frame in the specified step. Valid values are 0 ≤ frameIndex ≤ (numFramesInStep − 1). The default value is 0.
- outputPosition=
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=
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=
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=
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=
0
¶ A Boolean specifying whether to average the element output. The default value is OFF.
- useRegionBoundaries=
0
¶ A Boolean specifying whether to use region boundaries when averaging. The default value is OFF.
- regionBoundaries=
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=
1
¶ A Boolean specifying whether to include additional averaging boundaries for shells and membranes based on feature edges. The default value is ON.
- featureAngle=
20
¶ A Float specifying the feature angle to be used when includeFeatureBoundaries = ON. The default value is 20.0.
- averageOnlyDisplayed=
0
¶ A Boolean specifying whether to average only values on displayed elements. The default value is OFF.
- averagingThreshold=
75
¶ A Float specifying the nodal averaging threshold percentage. 0 ≤ averagingThreshold ≤ 100. The default value is 75.0.
- computeOrder=
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=
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=
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=
''
¶ 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=
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=
''
¶ A String specifying the Label of FieldOutput object. This is required only if the refinementType is INVARIANT or COMPONENT.
- displayOutputPosition=
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.
- 返回:¶
An OdbMeshRegionData object.
- 返回类型:¶
- 抛出:¶
TextException --
-
description : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the description of the field. The default value is an empty string.
-
localCsys : --is-rst--:py:class:`~abaqus.Datum.DatumCsys.DatumCsys` | :py:obj:`None` =
<abaqus.Datum.DatumCsys.DatumCsys object>
[源代码]¶ 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.
- class Field[源代码]¶
基类:
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.
备注
This object can be accessed by:
import fields
备注
Check Field on help.3ds.com/2020.
Member Details:
- class OdbMeshRegionData(
- odbFileName,
- variableLabel,
- stepIndex=
0
, - frameIndex=
0
, - outputPosition=
UNDEFINED_POSITION
, - dataType=
SCALAR
, - storageType=
FLOAT
, - quantityToPlot=
FIELD_OUTPUT
, - averageElementOutput=
0
, - useRegionBoundaries=
0
, - regionBoundaries=
NONE
, - includeFeatureBoundaries=
1
, - featureAngle=
20
, - averageOnlyDisplayed=
0
, - averagingThreshold=
75
, - computeOrder=
EXTRAPOLATE_COMPUTE_AVERAGE
, - numericForm=
REAL
, - complexAngle=
0
, - sectionPoint=
''
, - refinementType=
None
, - refinementLabel=
''
, - displayOutputPosition=
None
, 基类:
object
The OdbMeshRegionData object defines the external source data of MappedField from an ODB file.
备注
This object can be accessed by:
import field mdb.models[name].analyticalFields[name].odbMeshRegionData
在 2017 版本发生变更: The
transformationType
attribute was moved.备注
Member Details:
-
averageElementOutput : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to average the element output. The default value is OFF.
-
averageOnlyDisplayed : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to average only values on displayed elements. The default value is OFF.
-
averagingThreshold : --is-rst--:py:class:`float` =
75
[源代码]¶ A Float specifying the nodal averaging threshold percentage. 0 ≤ averagingThreshold ≤100. The default value is 75.0.
-
complexAngle : --is-rst--:py:class:`float` =
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.
-
computeOrder : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
dataType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
displayOutputPosition : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'UNDEFINED_POSITION'
[源代码]¶ 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 : --is-rst--:py:class:`float` =
20
[源代码]¶ A Float specifying the feature angle to be used when includeFeatureBoundaries = ON. The default value is 20.0.
-
frameIndex : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the frame in the specified step. Valid values are 0 ≤ frameIndex ≤ (numFramesInStep − 1). The default value is 0.
-
includeFeatureBoundaries : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether to include additional averaging boundaries for shells and membranes based on feature edges. The default value is ON.
-
numericForm : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
odbFileName : --is-rst--:py:class:`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.
-
outputPosition : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'UNDEFINED_POSITION'
[源代码]¶ 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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
regionBoundaries : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
stepIndex : --is-rst--:py:class:`int` =
0
[源代码]¶ An Int specifying the step index. Possible values are 0 ≤ stepIndex ≤ (numSteps − 1). The default value is 0.
-
storageType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
averageElementOutput : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class DataTable[源代码]¶
基类:
object
A DataTable is an object used to define the domain and data for a DiscreteField.
备注
This object can be accessed by:
import field mdb.models[name].discreteFields[name].data[i]
备注
Member Details:
-
dataWidth : --is-rst--:py:class:`int` | :py:obj:`None` =
None
[源代码]¶ An Int specifying the width of the data. Valid widths are 1, 6, 21, corresponding to scalar data, orientations and 4D tensors.
-
dataWidth : --is-rst--:py:class:`int` | :py:obj:`None` =
- class DiscreteField(
- name,
- defaultValues,
- fieldType,
- location=
NODES
, - dataWidth=
1
, - data=
None
, - description=
''
, - orientationType=
CARTESIAN
, - partLevelOrientation=
0
, 基类:
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.
备注
This object can be accessed by:
import fields mdb.models[name].discreteFields[name]
备注
Member Details:
- DiscreteFieldByVolumeFraction(
- name,
- eulerianInstance,
- referenceInstance,
- accuracy=
MEDIUM
, - materialLocation=
INSIDE
, - description=
''
, - scaleFactor=
''
, 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.
备注
This function can be accessed by:
mdb.models[name].DiscreteField
- 参数:¶
- name¶
A String specifying the repository key.
- eulerianInstance¶
A PartInstance object specifying the elements for which volume fraction values will be computed.
- referenceInstance¶
A PartInstance object specifying the region that either contains material or is empty of material.
- accuracy=
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=
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=
''
¶ A String specifying the description of the field. The default value is an empty string.
- scaleFactor=
''
¶ A float specifying the fraction of the volume that is occupied by the referenceInstance. Valid values are between 0 and 1.
- 返回:¶
A DiscreteField object.
- 返回类型:¶
- 抛出:¶
- DiscreteFieldFromAnalytic(name, location, analyticFieldName, region)[源代码]¶
This method creates a DiscreteField object from a AnalyticalField object.
备注
This function can be accessed by:
mdb.models[name].DiscreteField
- 参数:¶
- name¶
A String specifying the repository key.
- location¶
A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.
- analyticFieldName¶
A String specifying the name of the AnalyticalField containing the source data.
- region¶
A Region object for the field.
- 返回:¶
A DiscreteField object.
- 返回类型:¶
- 抛出:¶
-
data : --is-rst--:py:data:`~typing.Optional`\ \[:py:class:`~typing.List`\ \[:py:class:`~abaqus.Field.DataTable.DataTable`]] =
None
[源代码]¶ A DataTableArray object.
-
dataWidth : --is-rst--:py:class:`int` =
1
[源代码]¶ An Int specifying the width of the supplied data. The default value is 1.
-
defaultValues : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:data:`...<Ellipsis>`] =
()
[源代码]¶ A sequence of Floats specifying a sequence of floats specifying the default values.
-
description : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the description of the field. The default value is an empty string.
- fieldType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A SymbolicConstant or an Int specifying the type of data represented by this discrete field. Possible values are SCALAR, ORIENTATION, and PRESCRIBEDCONDITION_DOF.
-
location : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'NODES'
[源代码]¶ A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.
-
orientationType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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 : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.
- setValues(
- location=
NODES
, - dataWidth=
1
, - data=
None
, - description=
''
, - orientationType=
CARTESIAN
, - partLevelOrientation=
0
, This method modifies the DiscreteField object.
- 参数:¶
- location=
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=
1
¶ An Int specifying the width of the supplied data. The default value is 1.
- data=
None
¶ A DataTableArray object.
- description=
''
¶ A String specifying the description of the field. The default value is an empty string.
- orientationType=
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=
0
¶ A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.
- location=
-
class ExpressionField(name, expression, localCsys=
None
, description=''
)[源代码]¶ -
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.
备注
This object can be accessed by:
import fields mdb.models[name].analyticalFields[name]
备注
Member Details:
-
description : --is-rst--str =
''
[源代码]¶ A String specifying the description of the field. The default value is an empty string.
- expression : --is-rst--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 : --is-rst--DatumCsys | None =
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.
-
setValues(localCsys=
None
, description=''
)[源代码]¶ This method modifies the ExpressionField object.
- 参数:¶
-
description : --is-rst--str =
- class MappedField(
- name,
- regionType=
POINT
, - partLevelData=
0
, - pointDataFormat=
XYZ
, - gridPointPlane=
XYPLANE
, - defaultUnMappedValue=
0
, - mappingAlgorithm=
SURFACE
, - searchTolType=
RELATIVE
, - boundarySearchTol=
0
, - neighborhoodSearchTol=
1000000
, - negativeNormalSearchTol=
0
, - positiveNormalSearchTol=
0
, - scaleCoordinates=
0
, - gridPointData=
()
, - xyzPointData=
()
, - coordinateScalingFactors=
()
, - localCsys=
None
, - description=
''
, -
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.
备注
This object can be accessed by:
import fields mdb.models[name].analyticalFields[name]
备注
Member Details:
-
boundarySearchTol : --is-rst--:py:class:`float` =
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.
-
coordinateScalingFactors : --is-rst--:py:class:`tuple`\ \[:py:class:`float`, :py:class:`float`, :py:class:`float`] =
(1.0, 1.0, 1.0)
[源代码]¶ 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 : --is-rst--:py:class:`float` =
0
[源代码]¶ 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 : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the description of the field. The default value is an empty string.
-
gridPointData : --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 point cloud source data of grid format. The default value is an empty sequence.
-
gridPointPlane : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
localCsys : --is-rst--:py:class:`~abaqus.Datum.DatumCsys.DatumCsys` | :py:obj:`None` =
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.
-
mappingAlgorithm : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
negativeNormalSearchTol : --is-rst--:py:class:`float` =
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.
-
neighborhoodSearchTol : --is-rst--:py:class:`float` =
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.
-
odbMeshRegionData : --is-rst--:py:class:`~abaqus.Field.OdbMeshRegionData.OdbMeshRegionData` =
<abaqus.Field.OdbMeshRegionData.OdbMeshRegionData object>
[源代码]¶ An OdbMeshRegionData object specifying the external source data from ODB mesh region.
-
partLevelData : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
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 : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'XYZ'
[源代码]¶ A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.
-
positiveNormalSearchTol : --is-rst--:py:class:`float` =
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.
-
regionType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
-
scaleCoordinates : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
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.
-
searchTolType : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'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.
- setValues(
- regionType=
POINT
, - partLevelData=
0
, - pointDataFormat=
XYZ
, - gridPointPlane=
XYPLANE
, - defaultUnMappedValue=
0
, - mappingAlgorithm=
SURFACE
, - searchTolType=
RELATIVE
, - boundarySearchTol=
0
, - neighborhoodSearchTol=
1000000
, - negativeNormalSearchTol=
0
, - positiveNormalSearchTol=
0
, - scaleCoordinates=
0
, - gridPointData=
()
, - xyzPointData=
()
, - coordinateScalingFactors=
()
, - localCsys=
None
, - description=
''
, This method modifies the MappedField object.
- 参数:¶
- regionType=
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=
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=
XYZ
¶ A SymbolicConstant specifying point cloud source data format. Possible values are GRID and XYZ. The default value is XYZ.
- gridPointPlane=
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=
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=
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=
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=
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=
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=
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=
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=
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=
()
¶ A sequence of sequences of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.
- xyzPointData=
()
¶ 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=
()
¶ 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=
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=
''
¶ A String specifying the description of the field. The default value is an empty string.
- regionType=
-
xyzPointData : --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 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.
-
boundarySearchTol : --is-rst--:py:class:`float` =
-
class FieldOdb(name, analysisTitle=
''
, description=''
, path=''
)[源代码]¶ 基类:
OdbBase
Member Details: