UserMaterial(...)
This method creates a UserMaterial object.
Path
materialApi.materials()[name].UserMaterial
Prototype
odb_UserMaterial& UserMaterial(const odb_String& type, bool unsymm, const odb_SequenceDouble& mechanicalConstants, const odb_SequenceDouble& thermalConstants);
Required arguments
None.
Optional arguments
- type
An odb_String specifying the type of material behavior defined by the command. Possible values are "MECHANICAL", "THERMAL", and "THERMOMECHANICAL". The default value is "MECHANICAL".
- unsymm
A Boolean specifying if the material stiffness matrix, , is not symmetric or, when a thermal constitutive model is used, if is not symmetric. The default value is false.
This argument is valid only in an Abaqus/Standard analysis.
- mechanicalConstants
An odb_SequenceDouble specifying the mechanical constants of the material. This argument is valid only when type="MECHANICAL" or "THERMOMECHANICAL". The default value is an empty sequence.
- thermalConstants
An odb_SequenceDouble specifying the thermal constants of the material. This argument is valid only when type="THERMAL" or "THERMOMECHANICAL". The default value is an empty sequence.
Return value
A UserMaterial object.
Exceptions
RangeError.