21.6 MappedField object

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.

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


21.6.1 MappedField(...)

This method creates an MappedField object.

Path
mdb.models[name].MappedField

Required argument

name

A String specifying the repository key.

Optional arguments

regionType

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

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

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

gridPointPlane

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

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.

mappingAlgorithm

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

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

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

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

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

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

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

Return value

A MappedField object.

Exceptions

AbaqusException.


21.6.2 setValues(...)

This method modifies the MappedField object.

Required arguments

None.

Optional arguments

The optional arguments to setValues are the same as the arguments to the MappedField method, except for the name argument.

Return value

None

Exceptions


21.6.3  Members

The MappedField object can have the following members:

name

A String specifying the repository key.

regionType

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

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

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

gridPointPlane

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

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.

mappingAlgorithm

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

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

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

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

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

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

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 tuple of tuples of Floats specifying the point cloud source data of grid format. The default value is an empty sequence.

xyzPointData

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.

odbMeshRegionData

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

coordinateScalingFactors

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

localCsys

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.