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.
import fields mdb.models[name].discreteFields[name]
This method creates a DiscreteField object.
mdb.models[name].DiscreteField
Required arguments
A String specifying the repository key.
A sequence of Floats specifying a sequence of floats specifying the default values.
A SymbolicConstant or an Int specifying the type of data represented by this discrete field. Possible values are SCALAR, ORIENTATION, and PRESCRIBEDCONDITION_DOF.
Optional arguments
A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.
An Int specifying the width of the supplied data. The default value is 1.
A DataTableArray object.
A String specifying the description of the field. The default value is an empty string.
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.
A Boolean specifying whether or not the orientations are described in terms of part level coordinates. The default value is OFF.
Return value
A DiscreteField object.
Exceptions
AbaqusException.
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.
mdb.models[name].rootAssembly.DiscreteFieldByVolumeFraction
Required arguments
A String specifying the repository key.
A PartInstance object specifying the elements for which volume fraction values will be computed.
A PartInstance object specifying the region that either contains material or is empty of material.
Optional arguments
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.
A Symbolic Constant indicating whether the material is inside or outside the referenceInstance. Possible values are INSIDE or OUTSIDE. The default value is INSIDE.
A String specifying the description of the field. The default value is an empty string.
A float specifying the fraction of the volume that is occupied by the referenceInstance. Valid values are between 0 and 1.
Return value
A DiscreteField object.
Exceptions
AbaqusException.
This method creates a DiscreteField object from a AnalyticalField object.
mdb.models[name].DiscreteFieldFromAnalytic
Required arguments
A String specifying the repository key.
A SymbolicConstant or an Int specifying the location of the domain data. Possible values are NODES and ELEMENTS. The default value is NODES.
A String specifying the name of the AnalyticalField containing the source data.
A Region object for the field.
Optional arguments
Return value
A DiscreteField object.
Exceptions
AbaqusException.
This method modifies the DiscreteField object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the DiscreteField method, except for the name argument.
Return value
Exceptions
The DiscreteField object has members with the same names and descriptions as the arguments to the DiscreteField method.