Mesh๏ƒ

Mesh commands are used to mesh part instances and regions. Mesh commands are also used to assign element sizes, element types, and mesh control parameters.

Other Classes๏ƒ

class ElemType(elemCode, elemLibrary=abaqusConstants.STANDARD, hourglassStiffness=0, bendingHourglass=0, drillingHourglass=0, kinematicSplit=abaqusConstants.AVERAGE_STRAIN, distortionControl=0, lengthRatio=1, secondOrderAccuracy=0, hourglassControl=abaqusConstants.ENHANCED, weightFactor=0, displacementHourglass=1, rotationalHourglass=1, outOfPlaneDisplacementHourglass=1, elemDeletion=abaqusConstants.DEFAULT, particleConversion=abaqusConstants.DEFAULT, particleConversionThreshold=0, particleConversionPPD=1, particleConversionKernel=abaqusConstants.CUBIC, maxDegradation=None, viscosity=0, linearBulkViscosity=1, quadraticBulkViscosity=1, numFourierModes=1, nodeOffset=None, linearKinematicCtrl=None, initialGapOpening=None)[source]๏ƒ

Bases: object

The ElemType object is an argument object used as an argument in the setElementType command.

Note

This object can be accessed by:

import mesh

This method creates an ElemType object.

Note

This function can be accessed by:

mesh.ElemType
Parameters:
  • elemCode (Union[Literal[AC1D2, AC1D3, AC2D3, AC2D4, AC2D6, AC2D8, AC3D4, AC3D6, AC3D8, AC3D10, AC3D15, AC3D20, ACAX3, ACAX4, ACAX6, ACAX8, ACIN2D2, ACIN2D3, ACIN3D3, ACIN3D4, ACIN3D6, ACIN3D8, ACINAX2, ACINAX3, ASI2D2, ASI2D3, ASI3D3, ASI3D4, ASI3D6, ASI3D8, ASIAX2, ASIAX3, B21, B21H, B22, B22H, B23, B23H, B31, B31H, B31OS, B31OSH, B32, B32H, B32OS, B32OSH, B33, B33H, C3D4, C3D4E, C3D4H, C3D4P, C3D4T, C3D6, C3D6E, C3D6H, C3D6P, C3D6T, C3D8, C3D8E, C3D8H, C3D8HT, C3D8I, C3D8IH, C3D8P, C3D8PH, C3D8PHT, C3D8PT, C3D8R, C3D8RH, C3D8RHT, C3D8RP, C3D8RPH, C3D8RPHT, C3D8RPT, C3D8RT, C3D8T, C3D10, C3D10E, C3D10H, C3D10M, C3D10MH, C3D10MHT, C3D10MP, C3D10MPH, C3D10MPT, C3D10MT, C3D15, C3D15E, C3D15H, C3D20, C3D20E, C3D20H, C3D20HT, C3D20P, C3D20PH, C3D20R, C3D20RE, C3D20RH, C3D20RHT, C3D20RP, C3D20RPH, C3D20RT, C3D20T, CAX3, CAX3E, CAX3H, CAX3T, CAX4, CAX4E, CAX4H, CAX4HT, CAX4I, CAX4IH, CAX4P, CAX4PH, CAX4R, CAX4RH, CAX4RHT, CAX4RP, CAX4RPH, CAX4RT, CAX4T, CAX6, CAX6E, CAX6H, CAX6M, CAX6MH, CAX6MHT, CAX6MP, CAX6MPH, CAX6MT, CAX8, CAX8E, CAX8H, CAX8HT, CAX8P, CAX8PH, CAX8R, CAX8RE, CAX8RH, CAX8RHT, CAX8RP, CAX8RPH, CAX8RT, CAX8T, CCL9, CCL9H, CCL12, CCL12H, CCL18, CCL18H, CCL24, CCL24H, CCL24R, CCL24RH, CGAX3, CGAX3H, CGAX3HT, CGAX3T, CGAX4, CGAX4H, CGAX4HT, CGAX4R, CGAX4RH, CGAX4RHT, CGAX4RT, CGAX4T, CGAX6, CGAX6H, CGAX6M, CGAX6MH, CGAX6MHT, CGAX6MT, CGAX8, CGAX8H, CGAX8HT, CGAX8R, CGAX8RH, CGAX8RHT, CGAX8RT, CGAX8T, CINAX4, CINAX5R, CINPE4, CINPE5R, CINPS4, CINPS5R, COH2D4, COH2D4P, COH3D6, COH3D6P, COH3D8, COH3D8P, COHAX4, COHAX4P, CONN2D2, CONN3D2, CPE3, CPE3E, CPE3H, CPE3T, CPE4, CPE4E, CPE4H, CPE4HT, CPE4I, CPE4IH, CPE4P, CPE4PH, CPE4R, CPE4RH, CPE4RHT, CPE4RP, CPE4RPH, CPE4RT, CPE4T, CPE6, CPE6E, CPE6H, CPE6M, CPE6MH, CPE6MHT, CPE6MP, CPE6MPH, CPE6MT, CPE8, CPE8E, CPE8H, CPE8HT, CPE8P, CPE8PH, CPE8R, CPE8RE, CPE8RH, CPE8RHT, CPE8RP, CPE8RPH, CPE8RT, CPE8T, CPEG3, CPEG3H, CPEG3HT, CPEG3T, CPEG4, CPEG4H, CPEG4HT, CPEG4I, CPEG4IH, CPEG4R, CPEG4RH, CPEG4RHT, CPEG4RT, CPEG4T, CPEG6, CPEG6H, CPEG6M, CPEG6MH, CPEG6MHT, CPEG6MT, CPEG8, CPEG8H, CPEG8HT, CPEG8R, CPEG8RH, CPEG8RHT, CPEG8T, CPS3, CPS3E, CPS3T, CPS4, CPS4E, CPS4I, CPS4R, CPS4RT, CPS4T, CPS6, CPS6E, CPS6M, CPS6MT, CPS8, CPS8E, CPS8R, CPS8RE, CPS8RT, CPS8T, DASHPOT1, DASHPOT2, DASHPOTA, DC1D2, DC1D2E, DC1D3, DC1D3E, DC2D3, DC2D3E, DC2D4, DC2D4E, DC2D6, DC2D6E, DC2D8, DC2D8E, DC3D4, DC3D4E, DC3D6, DC3D6E, DC3D8, DC3D8E, DC3D10, DC3D10E, DC3D15, DC3D15E, DC3D20, DC3D20E, DCAX3, DCAX3E, DCAX4, DCAX4E, DCAX6, DCAX6E, DCAX8, DCAX8E, DCC1D2, DCC1D2D, DCC2D4, DCC2D4D, DCC3D8, DCC3D8D, DCCAX2, DCCAX2D, DCCAX4, DCCAX4D, DCOUP2D, DCOUP3D, DGAP, DRAG2D, DRAG3D, DS3, DS4, DS6, DS8, DSAX1, DSAX2, ELBOW31, ELBOW31B, ELBOW31C, ELBOW32, EMC2D3, EMC2D4, EMC3D4, EMC3D6, EMC3D8, FRAME2D, FRAME3D, GAPCYL, GAPSPHER, GAPUNI, GAPUNIT, GK2D2, GK2D2N, GK3D2, GK3D2N, GK3D4L, GK3D4LN, GK3D6L, GK3D6LN, GK3D6, GK3D6N, GK3D8, GK3D8N, GK3D12M, GK3D12MN, GK3D18, GK3D18N, GKAX2, GKAX2N, GKAX4, GKAX4N, GKAX6, GKAX6N, GKPE4, GKPE6, GKPS4, GKPS4N, GKPS6, GKPS6N, HEATCAP, ISL21A, ISL22A, ITSCYL, ITSUNI, ITT21, ITT31, JOINT2D, JOINT3D, JOINTC, LS3S, LS6, M3D3, M3D4, M3D4R, M3D6, M3D8, M3D8R, MASS, MAX1, MAX2, MCL6, MCL9, MGAX1, MGAX2, PIPE21, PIPE21H, PIPE22, PIPE22H, PIPE31, PIPE31H, PIPE32, PIPE32H, PSI24, PSI26, PSI34, PSI36, Q3D4, Q3D6, Q3D8, Q3D8H, Q3D8R, Q3D8RH, Q3D10M, Q3D10MH, Q3D20, Q3D20H, Q3D20R, Q3D20RH, R2D2, R3D3, R3D4, RAX2, RB2D2, RB3D2, ROTARYI, S3, S3T, S3R, S3RT, S4, S4T, S4R, S4RT, S4R5, S8R, S8R5, S8RT, SAX1, SAX2, SAX2T, SC6R, SC8R, SC6RT, SC8RT, SFM3D3, SFM3D4, SFM3D4R, SFM3D6, SFM3D8, SFM3D8R, SFMAX1, SFMAX2, SFMCL6, SFMCL9, SFMGAX1, SFMGAX2, SPRING1, SPRING2, SPRINGA, STRI3, STRI65, T2D2, T2D2E, T2D2H, T2D2T, T2D3, T2D3E, T2D3H, T2D3T, T3D2, T3D2E, T3D2H, T3D2T, T3D3, T3D3E, T3D3H, T3D3T, WARP2D3, WARP2D4, AC2D4R, AC3D8R, ACAX4R, EC3D8R, EC3D8RT, S3RS, S4RS, S4RSW], Literal[C3D8R, UNKNOWN_HEX, UNKNOWN_TET, UNKNOWN_TRI, UNKNOWN_WEDGE, UNKNOWN_QUAD]]) โ€“

    A SymbolicConstant specifying the Abaqus element code or just the element shape. Possible values are:

    • C3D8R, specifying a 8-node linear brick, reduced integration with hourglass control.

    • CODE, specifying add more codes.

    • UNKNOWN_TRI, specifying an unknown element type associated with a triangular shape.

    • UNKNOWN_QUAD, specifying an unknown element type associated with a quadrilateral shape.

    • UNKNOWN_HEX, specifying an unknown element type associated with a hexahedral shape.

    • UNKNOWN_WEDGE, specifying an unknown element type associated with a wedge shape.

    • UNKNOWN_TET, specifying an unknown element type associated with a tetrahedral shape.

  • elemLibrary (Literal[EXPLICIT, STANDARD], default: STANDARD) โ€“ A SymbolicConstant specifying the Abaqus element library to use. Possible values are STANDARD and EXPLICIT. The default value is STANDARD.

  • hourglassStiffness (float, default: 0) โ€“ A Float specifying the hourglass stiffness. (For shell elements this is the membrane hourglass stiffness.) A value of zero indicates the default value should be used. The default value will be used where appropriate. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

  • bendingHourglass (float, default: 0) โ€“ A Float specifying the bending hourglass stiffness. A value of zero indicates the default value should be used. The default value will be used where appropriate. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

  • drillingHourglass (float, default: 0) โ€“ A Float specifying the drilling hourglass scaling factor. A value of zero indicates the default value should be used. The default value will be used where appropriate. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

  • kinematicSplit (Literal[ORTHOGONAL, AVERAGE_STRAIN, CENTROID], default: AVERAGE_STRAIN) โ€“ A SymbolicConstant specifying the kinematic split control. Possible values are AVERAGE_STRAIN, ORTHOGONAL, and CENTROID. The default value is AVERAGE_STRAIN.This argument is applicable only to some Abaqus/Explicit elements.

  • distortionControl (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether to prevent negative element volumes or other excessive distortions in crushable materials. The default value is OFF.This argument is applicable only to some Abaqus/Explicit elements.

  • lengthRatio (float, default: 1) โ€“ A Float specifying the length ratio for distortion control in crushable materials. Possible values are 0.0 โ‰ค lengthRatio โ‰ค 1.0. The default value is lengthRatio = 0.10.1This argument is applicable only when distortionControl is ON.

  • secondOrderAccuracy (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying the second-order accuracy option. The default value is OFF.This argument is applicable only to some Abaqus/Explicit elements.

  • hourglassControl (Literal[RELAX_STIFFNESS, COMBINED, VISCOUS, STIFFNESS, ENHANCED], default: ENHANCED) โ€“ A SymbolicConstant specifying the hourglass control. Possible values are RELAX_STIFFNESS, STIFFNESS, VISCOUS, ENHANCED, and COMBINED. The default value is ENHANCED.This argument is applicable only to some Abaqus/Explicit elements.

  • weightFactor (float, default: 0) โ€“ A Float specifying a weight factor when hourglassControl = COMBINED. The default value is 0.5.This argument is applicable only to some Abaqus/Explicit elements.

  • displacementHourglass (float, default: 1) โ€“ A Float specifying the displacement hourglass scaling factor. The default value will be used where appropriate. The default value is 1.0.This argument is applicable only to some Abaqus/Explicit elements.

  • rotationalHourglass (float, default: 1) โ€“ A Float specifying the rotational hourglass scaling factor. The default value will be used where appropriate. The default value is 1.0.This argument is applicable only to some Abaqus/Explicit elements.

  • outOfPlaneDisplacementHourglass (float, default: 1) โ€“ A Float specifying the out-of-plane displacement hourglass scaling factor. The default value will be used where appropriate. The default value is 1.0.This argument is applicable only to some Abaqus/Explicit elements.

  • elemDeletion (Literal[DEFAULT], default: DEFAULT) โ€“ A SymbolicConstant specifying the element deletion option. Possible values are DEFAULT, ON, and OFF. The default value is DEFAULT.

  • particleConversion (Literal[TIME, STRESS, DEFAULT, STRAIN], default: DEFAULT) โ€“ A SymbolicConstant specifying the particle conversion option for smoothed particle hydrodynamics. When not OFF or DEFAULT this argument refers to the criterion used for conversion of elements to particles. Possible values are DEFAULT, OFF, TIME, STRAIN, and STRESS. The default value is DEFAULT.This argument is applicable only to some Abaqus/Explicit elements.

  • particleConversionThreshold (float, default: 0) โ€“ A Float specifying the threshold value for the particle conversion criterion specified by particleConversion. The default value is 0.0.This argument is applicable only to some Abaqus/Explicit elements.

  • particleConversionPPD (int, default: 1) โ€“ An Int specifying the number of particles per direction for element conversion when particleConversion is specified. The default value is 1.This argument is applicable only to some Abaqus/Explicit elements.

  • particleConversionKernel (Literal[QUADRATIC, CUBIC, QUINTIC], default: CUBIC) โ€“ A SymbolicConstant specifying the interpolation function for particle conversion when particleConversion is specified. Possible values are CUBIC, QUADRATIC, and QUINTIC. The default value is CUBIC.This argument is applicable only to some Abaqus/Explicit elements.

  • maxDegradation (Optional[float], default: None) โ€“ A Float specifying the maximum degradation option for damage control. The default value is โˆ’1.0.

  • viscosity (float, default: 0) โ€“ A Float specifying the viscosity option. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

  • linearBulkViscosity (float, default: 1) โ€“ A Float specifying the linear bulk viscosity scaling factor option for Abaqus/Explicit. The default value is 1.0.

  • quadraticBulkViscosity (float, default: 1) โ€“ A Float specifying the quadratic bulk viscosity scaling factor option for Abaqus/Explicit. The default value is 1.0.

  • numFourierModes (int, default: 1) โ€“

    An Int specifying the number of Fourier modes. Possible values are 1, 2, 3, and 4. The default value is 1.This argument is applicable only for axisymmetric elements with nonlinear asymmetric deformation.

    New in version 2019: The numFourierModes argument was added.

  • nodeOffset (Optional[int], default: None) โ€“

    An Int specifying the positive offset number for specifying the additional nodes needed in the connectivity.This argument is applicable only for axisymmetric elements with nonlinear asymmetric deformation.

    New in version 2019: The nodeOffset argument was added.

  • linearKinematicCtrl (Optional[float], default: None) โ€“

    A Float specifying the linear kinematic conversion value.This argument is applicable only to some Abaqus/Explicit elements.

    New in version 2022: The linearKinematicCtrl argument was added.

  • initialGapOpening (Optional[float], default: None) โ€“

    A Float specifying the initial gap opening.This parameter is applicable only to some Abaqus/Standard elements.

    New in version 2022: The initialGapOpening argument was added.

Returns:

elemType โ€“ An ElemType object

Return type:

ElemType

Member Details:

bendingHourglass: float = 0[source]๏ƒ

A Float specifying the bending hourglass stiffness. A value of zero indicates the default value should be used. The default value will be used where appropriate. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

displacementHourglass: float = 1[source]๏ƒ

A Float specifying the displacement hourglass scaling factor. The default value will be used where appropriate. The default value is 1.0.This argument is applicable only to some Abaqus/Explicit elements.

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

A Boolean specifying whether to prevent negative element volumes or other excessive distortions in crushable materials. The default value is OFF.This argument is applicable only to some Abaqus/Explicit elements.

drillingHourglass: float = 0[source]๏ƒ

A Float specifying the drilling hourglass scaling factor. A value of zero indicates the default value should be used. The default value will be used where appropriate. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

elemCode: SymbolicConstant[source]๏ƒ

A SymbolicConstant specifying the Abaqus element code or just the element shape. Possible values are:

  • C3D8R, specifying a 8-node linear brick, reduced integration with hourglass control.

  • CODE, specifying add more codes.

  • UNKNOWN_TRI, specifying an unknown element type associated with a triangular shape.

  • UNKNOWN_QUAD, specifying an unknown element type associated with a quadrilateral shape.

  • UNKNOWN_HEX, specifying an unknown element type associated with a hexahedral shape.

  • UNKNOWN_WEDGE, specifying an unknown element type associated with a wedge shape.

  • UNKNOWN_TET, specifying an unknown element type associated with a tetrahedral shape.

elemDeletion: SymbolicConstant = 'DEFAULT'[source]๏ƒ

A SymbolicConstant specifying the element deletion option. Possible values are DEFAULT, ON, and OFF. The default value is DEFAULT.

elemLibrary: SymbolicConstant = 'STANDARD'[source]๏ƒ

A SymbolicConstant specifying the Abaqus element library to use. Possible values are STANDARD and EXPLICIT. The default value is STANDARD.

hourglassControl: SymbolicConstant = 'ENHANCED'[source]๏ƒ

A SymbolicConstant specifying the hourglass control. Possible values are RELAX_STIFFNESS, STIFFNESS, VISCOUS, ENHANCED, and COMBINED. The default value is ENHANCED.This argument is applicable only to some Abaqus/Explicit elements.

hourglassStiffness: float = 0[source]๏ƒ

A Float specifying the hourglass stiffness. (For shell elements this is the membrane hourglass stiffness.) A value of zero indicates the default value should be used. The default value will be used where appropriate. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

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

A Float specifying the initial gap opening.This parameter is applicable only to some Abaqus/Standard elements.

New in version 2022: The initialGapOpening attribute was added.

kinematicSplit: SymbolicConstant = 'AVERAGE_STRAIN'[source]๏ƒ

A SymbolicConstant specifying the kinematic split control. Possible values are AVERAGE_STRAIN, ORTHOGONAL, and CENTROID. The default value is AVERAGE_STRAIN.This argument is applicable only to some Abaqus/Explicit elements.

lengthRatio: float = 1[source]๏ƒ

A Float specifying the length ratio for distortion control in crushable materials. Possible values are 0.0 โ‰ค lengthRatio โ‰ค 1.0. The default value is lengthRatio = 0.10.1This argument is applicable only when distortionControl is ON.

linearBulkViscosity: float = 1[source]๏ƒ

A Float specifying the linear bulk viscosity scaling factor option for Abaqus/Explicit. The default value is 1.0.

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

A Float specifying the linear kinematic conversion value.This argument is applicable only to some Abaqus/Explicit elements.

New in version 2022: The linearKinematicCtrl attribute was added.

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

A Float specifying the maximum degradation option for damage control. The default value is โˆ’1.0.

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

An Int specifying the positive offset number for specifying the additional nodes needed in the connectivity.This argument is applicable only for axisymmetric elements with nonlinear asymmetric deformation.

New in version 2019: The nodeOffset attribute was added.

numFourierModes: int = 1[source]๏ƒ

An Int specifying the number of Fourier modes. Possible values are 1, 2, 3, and 4. The default value is 1.This argument is applicable only for axisymmetric elements with nonlinear asymmetric deformation.

New in version 2019: The numFourierModes attribute was added.

outOfPlaneDisplacementHourglass: float = 1[source]๏ƒ

A Float specifying the out-of-plane displacement hourglass scaling factor. The default value will be used where appropriate. The default value is 1.0.This argument is applicable only to some Abaqus/Explicit elements.

particleConversion: SymbolicConstant = 'DEFAULT'[source]๏ƒ

A SymbolicConstant specifying the particle conversion option for smoothed particle hydrodynamics. When not OFF or DEFAULT this argument refers to the criterion used for conversion of elements to particles. Possible values are DEFAULT, OFF, TIME, STRAIN, and STRESS. The default value is DEFAULT.This argument is applicable only to some Abaqus/Explicit elements.

particleConversionKernel: SymbolicConstant = 'CUBIC'[source]๏ƒ

A SymbolicConstant specifying the interpolation function for particle conversion when particleConversion is specified. Possible values are CUBIC, QUADRATIC, and QUINTIC. The default value is CUBIC.This argument is applicable only to some Abaqus/Explicit elements.

particleConversionPPD: int = 1[source]๏ƒ

An Int specifying the number of particles per direction for element conversion when particleConversion is specified. The default value is 1.This argument is applicable only to some Abaqus/Explicit elements.

particleConversionThreshold: float = 0[source]๏ƒ

A Float specifying the threshold value for the particle conversion criterion specified by particleConversion. The default value is 0.0.This argument is applicable only to some Abaqus/Explicit elements.

quadraticBulkViscosity: float = 1[source]๏ƒ

A Float specifying the quadratic bulk viscosity scaling factor option for Abaqus/Explicit. The default value is 1.0.

rotationalHourglass: float = 1[source]๏ƒ

A Float specifying the rotational hourglass scaling factor. The default value will be used where appropriate. The default value is 1.0.This argument is applicable only to some Abaqus/Explicit elements.

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

A Boolean specifying the second-order accuracy option. The default value is OFF.This argument is applicable only to some Abaqus/Explicit elements.

viscosity: float = 0[source]๏ƒ

A Float specifying the viscosity option. The default value is 0.0.This argument is applicable only to some Abaqus/Standard elements.

weightFactor: float = 0[source]๏ƒ

A Float specifying a weight factor when hourglassControl = COMBINED. The default value is 0.5.This argument is applicable only to some Abaqus/Explicit elements.

class MeshAssembly[source]๏ƒ

Bases: AssemblyBase

An Assembly object is a container for instances of parts. The Assembly object has no constructor command. Abaqus creates the rootAssembly member when a Model object is created.

Note

This object can be accessed by:

import assembly
mdb.models[name].rootAssembly

Member Details:

assignStackDirection(cells, referenceRegion)[source]๏ƒ

This method assigns a stack direction to geometric cells. The stack direction will be used to orient the elements during mesh generation.

Parameters:
  • cells (Sequence[Cell]) โ€“ A sequence of Cell objects specifying regions where to assign the stack direction.

  • referenceRegion (Face) โ€“ A Face object specifying the top side of the stack direction.

associateMeshWithGeometry(geometricEntity, elements=(), elemFaces=(), elemEdges=(), node=<abaqus.Mesh.MeshNode.MeshNode object>)[source]๏ƒ

This method associates a geometric entity with mesh entities that are either orphan elements, bounds orphan elements, or were created using the bottom-up meshing technique.

Parameters:
  • geometricEntity (str) โ€“ A Cell , a Face, an Edge, or a ConstrainedSketchVertex object specifying geometric entity to be associated with one or more mesh entities.If the geometric entity is a Cell object then the argument elements must be specified.If the geometric entity is a Face object then the argument elemFaces must be specified.If the geometric entity is an Edge object then the argument elemEdges must be specified.If the geometric entity is a ConstrainedSketchVertex object then the argument node must be specified.

  • elements (Sequence[MeshElement], default: ()) โ€“ A sequence of MeshElement objects specifying the elements to be associated with the geometric cell.

  • elemFaces (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the element faces to be associated with the geometric face.

  • elemEdges (Sequence[MeshEdge], default: ()) โ€“ A sequence of MeshEdge objects specifying the element edges to be associated with the geometric edge.

  • node (MeshNode, default: <abaqus.Mesh.MeshNode.MeshNode object at 0x7f5b3e9f87d0>) โ€“ A MeshNode object specifying the mesh node to be associated with the geometric vertex.

createVirtualTopology(regions, mergeShortEdges=False, shortEdgeThreshold=None, mergeSmallFaces=False, smallFaceAreaThreshold=None, mergeSliverFaces=False, faceAspectRatioThreshold=None, mergeSmallAngleFaces=False, smallFaceCornerAngleThreshold=None, mergeThinStairFaces=False, thinStairFaceThreshold=None, ignoreRedundantEntities=False, cornerAngleTolerance=30, applyBlendControls=False, blendSubtendedAngleTolerance=None, blendRadiusTolerance=None)[source]๏ƒ

This method creates a virtual topology feature by automatically merging faces and edges based on a set of geometric parameters. The edges and vertices that are being merged will be ignored during mesh generation.

Parameters:
  • regions (Sequence[Face]) โ€“ A sequence of Face objects or PartInstance objects specifying the domain to search for geometric entities that need to be merged. Entities identified as candidates to be merged may be merged with entities from outside the specified region.

  • mergeShortEdges (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge short edges. The default value is False.

  • shortEdgeThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which edges are considered to be short. These edges are the candidate entities to be merged. This argument is a required argument if the argument mergeShortEdges equals True and it is ignored if the argument mergeShortEdges equals False.

  • mergeSmallFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces with small area. The default value is False.

  • smallFaceAreaThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which faces are considered to have a small area. These faces are the candidate entities to be merged. This argument is a required argument if the argument mergeSmallFaces equals True and it is ignored if the argument mergeSmallFaces equals False.

  • mergeSliverFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces with high aspect ratio. The default value is False.

  • faceAspectRatioThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which faces are considered to have high aspect ratio. These faces are candidate entities to be merged. This argument is a required argument if the argument mergeSliverFaces equals True and it is ignored if the argument mergeSliverFaces equals False.

  • mergeSmallAngleFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces that have a sharp corner angle. The default value is False.

  • smallFaceCornerAngleThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which face corner angles are considered to be small. These faces will be candidate entities to be merged. This argument is a required argument if the argument mergeSmallAngleFaces equals True and it is ignored if the argument mergeSmallAngleFaces equals False.

  • mergeThinStairFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces that represent a thin stair-like feature. The default value is False.

  • thinStairFaceThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which faces representing small stair-like features are considered thin. These faces will be candidate entities to be merged. This argument is required if the argument mergeThinStairFaces is True and it is ignored if mergeThinStairFaces is False.

  • ignoreRedundantEntities (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to abstract away redundant edges and vertices. The default value is False.

  • cornerAngleTolerance (float, default: 30) โ€“ A Float specifying the angle deviation from 180 degrees at a vertex or at an edge such that the two edges radiating from the vertex or the two faces bounded by the edge can be merged. The default value is 30.0 degrees.

  • applyBlendControls (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to verify that blend faces can be merged with neighboring faces. If applyBlendControls is True then all faces that have angle larger than blendSubtendedAngleTolerance and a radius smaller than blendRadiusTolerance will not be merged with neighboring faces unless the neighboring faces are also blend faces with similar geometric characteristics. The default value is False.

  • blendSubtendedAngleTolerance (Optional[float], default: None) โ€“ A Float specifying the largest subtended angle of blend faces that can be merged with neighboring faces. This argument is a required argument if the argument applyBlendControls equals True and it is ignored if the argument applyBlendControls equals False.

  • blendRadiusTolerance (Optional[float], default: None) โ€“ A Float specifying the smallest radius of curvature of blend faces that can be merged with neighboring faces. This argument is a required argument if the argument applyBlendControls equals True and it is ignored if the argument applyBlendControls equals False.

Returns:

feature โ€“ A Feature object

Return type:

Feature

deleteBoundaryLayerControls(regions)[source]๏ƒ

This method deletes the control parameters for boundary layer mesh for all the specified regions.

Parameters:

regions (Sequence[Cell]) โ€“ A sequence of Cell objects specifying the regions for which to set the boundary layer mesh control parameters.

deleteMesh(regions)[source]๏ƒ

This method deletes a subset of the mesh that contains the native elements from the given part instances or regions.

Parameters:

regions (Sequence[PartInstance]) โ€“ A sequence of PartInstance objects or Region objects specifying the part instances or regions from where the native mesh is to be deleted.

deleteMeshAssociationWithGeometry(geometricEntities, addBoundingEntities=False)[source]๏ƒ

This method deletes the association of geometric entities with mesh entities.

Parameters:
  • geometricEntities (Sequence[Cell]) โ€“ A sequence of Cell objects, Face objects, Edge objects, or ConstrainedSketchVertex objects specifying the geometric entities that will be disassociated from the mesh.

  • addBoundingEntities (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether the mesh will also be disassociated from the geometric entities that bounds the given geometricEntities. For example, if the argument geometricEntities contains a face, this boolean indicates whether the edges and vertices that bound the face will also be disassociated from the mesh. The default value is False.

deletePreviewMesh()[source]๏ƒ

This method deletes all boundary meshes in the assembly.

See the boundaryPreview argument of generateMesh for information about generating boundary meshes.

deleteSeeds(regions)[source]๏ƒ

This method deletes the global edge seeds from the given part instances or deletes the local edge seeds from the given edges.

Parameters:

regions (Sequence[PartInstance]) โ€“ A sequence of PartInstance objects or Edge objects specifying the part instances or edges from which the seeds are to be deleted.

generateBottomUpExtrudedMesh(cell, numberOfLayers, extrudeVector, geometrySourceSide='', elemFacesSourceSide=(), elemSourceSide=(), depth=None, targetSide='', biasRatio=1, extendElementSets=False)[source]๏ƒ

This method generates solid elements by extruding a 2D mesh along a vector, either on an orphan mesh or within a cell region using a bottom-up technique.

Parameters:
  • cell (Cell) โ€“ A Cell object specifying the geometric region where the mesh is to be generated. This argument is valid only for native part instances.

  • numberOfLayers (int) โ€“ An Int specifying the number of layers to be generated along the extrusion vector.

  • extrudeVector (tuple) โ€“ A sequence of sequences of Floats specifying the start point and end point of a vector. Each point is defined by a tuple of three coordinates indicating its position. The direction of the mesh extrusion operation is from the first point to the second point.

  • geometrySourceSide (str, default: '') โ€“ A Region of Face objects specifying the geometric domain to be used as the source for the extrude meshing operation.

  • elemFacesSourceSide (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the faces of 3D elements to be used as the source for the extrude meshing operation.

  • elemSourceSide (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying the elements to be used as the source for the extrude meshing operation.

  • depth (Optional[float], default: None) โ€“ A Float specifying the distance of the mesh extrusion. If unspecified, the vector length of the extrudeVector argument is assumed.

  • targetSide (str, default: '') โ€“ A datum plane, a sequence of Face objects, a sequence of MeshFace objects, or a sequence of 2D MeshElement objects specifying the target of the extrude meshing operation. If specified, this argument overrides the depth argument, and all points on the source will be extruded in the direction of the extrusion vector until meeting the target.

  • biasRatio (float, default: 1) โ€“ A Float specifying a ratio of the element size in the extrusion direction between the source and the target sides of the extrusion. The default is 1.0, meaning no bias.

  • extendElementSets (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether existing element sets that include source elements will be extended to also include extruded elements. This argument is ignored for native part instances. The default value is False.

generateBottomUpRevolvedMesh(cell, numberOfLayers, axisOfRevolution, angleOfRevolution, geometrySourceSide='', elemFacesSourceSide=(), elemSourceSide=(), extendElementSets=False)[source]๏ƒ

This method generates solid elements by revolving a 2D mesh around an axis, either on an orphan mesh or within a cell region using a bottom-up technique.

Parameters:
  • cell (Cell) โ€“ A Cell object specifying the geometric region where the mesh is to be generated. This argument is valid only for native part instances.

  • numberOfLayers (int) โ€“ An Int specifying the number of layers of elements to be generated around the axis of revolution.

  • axisOfRevolution (tuple) โ€“ A sequence of sequences of Floats specifying the two points of the vector that describes the axis of revolution. Each point is defined by a tuple of three coordinates indicating its position. The direction of the axis of revolution is from the first point to the second point. The orientation of the revolution operation follows the right-hand-rule about the axis of revolution.

  • angleOfRevolution (float) โ€“ A Float specifying the angle of revolution.

  • geometrySourceSide (str, default: '') โ€“ A Region of Face objects specifying the geometric domain to be used as the source for the revolve meshing operation.

  • elemFacesSourceSide (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the faces of 3D elements to be used as the source for the revolve meshing operation.

  • elemSourceSide (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying the elements to be used as the source for the revolve meshing operation.

  • extendElementSets (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether existing element sets that include source elements will be extended to also include extruded elements. This argument is ignored for native part instances. The default value is False.

generateBottomUpSweptMesh(cell, geometrySourceSide='', elemFacesSourceSide=(), elemSourceSide=(), geometryConnectingSides='', elemFacesConnectingSides=(), elemConnectingSides=(), targetSide=None, numberOfLayers=None, extendElementSets=False)[source]๏ƒ

This method generates solid elements by sweeping a 2D mesh, either on an orphan mesh or within a cell region using a bottom-up technique.

Parameters:
  • cell (Cell) โ€“ A Cell object specifying the geometric region where the mesh is to be generated. This argument is valid only for native part instances.

  • geometrySourceSide (str, default: '') โ€“ A Region of Face objects specifying the geometric domain to be used as the source for the sweep meshing operation.

  • elemFacesSourceSide (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the faces of 3D elements to be used as the source for the sweep meshing operation.

  • elemSourceSide (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying the elements to be used as the source for the sweep meshing operation.

  • geometryConnectingSides (str, default: '') โ€“ A Region of Face objects specifying the connecting sides of the sweep meshing operation.

  • elemFacesConnectingSides (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying connecting sides of the sweep meshing operation.

  • elemConnectingSides (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying connecting sides of the sweep meshing operation.

  • targetSide (Optional[Face], default: None) โ€“ A Face object specifying the target side of the sweep meshing operation.

  • numberOfLayers (Optional[int], default: None) โ€“ An Int specifying the number of layers to be generated along the sweep direction.

  • extendElementSets (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether existing element sets that include source elements will be extended to also include swept elements. This argument is ignored for native part instances. The default value is False.

generateMesh(regions=(), seedConstraintOverride=0, meshTechniqueOverride=0, boundaryPreview=0, boundaryMeshOverride=0)[source]๏ƒ

This method generates a mesh in the given part instances or regions.

Parameters:
  • regions (Sequence[PartInstance], default: ()) โ€“ A sequence of PartInstance objects or Region objects specifying the part instances or regions where the mesh is to be generated.

  • seedConstraintOverride (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether mesh generation is allowed to modify seed constraints. The default value is OFF.

  • meshTechniqueOverride (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether mesh generation is allowed to modify the existing mesh techniques so that a compatible mesh can be generated. The default value is OFF.

  • boundaryPreview (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether the generated mesh should be a boundary mesh. This option will only have an effect if any of the specified regions are to be meshed with tetrahedral elements or using the bottom-up technique with hexahedral or wedge elements. The default value is OFF.

  • boundaryMeshOverride (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether mesh generation is allowed to modify an existing boundary preview mesh. This option will only have an effect if any of the specified regions are to be meshed with tetrahedral elements and a boundary preview mesh already exists. The default value is OFF.

getEdgeSeeds(edge, attribute)[source]๏ƒ

This method returns an edge seed parameter for a specified edge of an assembly.

Parameters:
  • edge (Edge) โ€“ An Edge object specifying the edge to be queried.

  • attribute (Union[Literal[SMALLEST_ELEM_LOCATION, BIAS_RATIO, MIN_SIZE_FACTOR, DEVIATION_FACTOR, CONSTRAINT, NUMBER, EDGE_SEEDING_METHOD, VERTEX_ADJ_TO_SMALLEST_ELEM, BIAS_MAX_SIZE, BIAS_MIN_SIZE, AVERAGE_SIZE, BIAS_METHOD], float]) โ€“

    A SymbolicConstant specifying the type of edge seed attribute to return. Possible values are:

    • EDGE_SEEDING_METHOD

    • BIAS_METHOD

    • NUMBER

    • AVERAGE_SIZE

    • DEVIATION_FACTOR

    • MIN_SIZE_FACTOR

    • BIAS_RATIO

    • BIAS_MIN_SIZE

    • BIAS_MAX_SIZE

    • VERTEX_ADJ_TO_SMALLEST_ELEM

    • SMALLEST_ELEM_LOCATION

    • CONSTRAINT

Returns:

The return value is a Float, an Int, or a SymbolicConstant depending on the value of the attribute argument.

The return value is dependent on the attribute argument.

  • If attribute = EDGE_SEEDING_METHOD, the return value is a SymbolicConstant specifying the edge seeding method used to create the seeds along the edge. Possible values are: UNIFORM_BY_NUMBER, UNIFORM_BY_SIZE, CURVATURE_BASED_BY_SIZE, BIASED, NONE

  • If attribute = BIAS_METHOD, the return value is a SymbolicConstant specifying the bias type used to create the seeds along the edge. Possible values are: SINGLE, DOUBLE, NONE

  • If attribute = NUMBER, the return value is an Int specifying the number of element seeds along the edge.

  • If attribute = AVERAGE_SIZE, the return value is a Float specifying the average element size along the edge.

  • If attribute = DEVIATION_FACTOR, the return value is a Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length. If edge seeds are not defined, the return value is zero.

  • If attribute = MIN_SIZE_FACTOR, the return value is a Float specifying the size of the smallest allowable element as a fraction of the specified global element size. If edge seeds are not defined, the return value is zero.

  • If attribute = BIAS_RATIO, the return value is a Float specifying the length ratio of the largest element to the smallest element.

  • If attribute = BIAS_MIN_SIZE, the return value is a Float specifying the length of the largest element; only applicable if the EDGE_SEEDING_METHOD is BIASED and seeds were specified by minimum and maximum sizes.

  • If attribute = BIAS_MAX_SIZE, the return value is a Float specifying the length of the largest element; only applicable if the EDGE_SEEDING_METHOD is BIASED and seeds were specified by minimum and maximum sizes.

  • If attribute = VERTEX_ADJ_TO_SMALLEST_ELEM, the return value is an Int specifying the ID of the vertex next to the smallest element; only applicable if the EDGE_SEEDING_METHOD is BIASED.

  • If attribute = SMALLEST_ELEM_LOCATION, the return value is a SymbolicConstant specifying the location of smallest elements for double bias seeds; only applicable if the EDGE_SEEDING_METHOD is BIASED and BIAS_METHOD is DOUBLE. Possible values are: SMALLEST_ELEM_AT_CENTER, SMALLEST_ELEM_AT_ENDS, NONE

  • If attribute = CONSTRAINT, the return value is a SymbolicConstant specifying how close the seeds must be matched by the mesh. Possible values are: FREE, FINER, FIXED, NONE

A value of NONE indicates that the edge is not seeded.

Return type:

Union[float, int, SymbolicConstant]

getElementType(region, elemShape)[source]๏ƒ

This method returns the ElemType object of a given element shape assigned to a region of the assembly.

Parameters:
  • region (str) โ€“ A Cell, a Face, or an Edge object specifying the region to be queried.

  • elemShape (SymbolicConstant) โ€“ A SymbolicConstant specifying the shape of the element for which to return the element type. Possible values are:LINEQUADTRIHEXWEDGETET

Returns:

An ElemType object.

Return type:

ElementType

Raises:

TypeError โ€“ If the region cannot be associated with element types or if the elemShape is not consistent with the dimension of the region.

getIncompatibleMeshInterfaces(cells=())[source]๏ƒ

This method returns a sequence of face objects that are meshed with incompatible elements.

Parameters:

cells (Sequence[Cell], default: ()) โ€“ A sequence of Cell objects which will be used to search the incompatible faces.

Returns:

A sequence of Face objects.

Return type:

Sequence[Face]

getMeshControl(region, attribute)[source]๏ƒ

This method returns a mesh control parameter for the specified region of the assembly.

Parameters:
  • region (str) โ€“ A Cell, a Face, or an Edge object specifying the region to be queried.

  • attribute (Literal[HEX_DOMINATED, ELEM_SHAPE, FREE, QUAD, TRI, LINE, QUAD_DOMINATED, HEX, SWEEP, UNMESHABLE, NON_DEFAULT, TET, ALGORITHM, DEFAULT, NONE, MEDIAL_AXIS, ADVANCING_FRONT, WEDGE, MIN_TRANSITION, STRUCTURED, TECHNIQUE]) โ€“

    A SymbolicConstant specifying the mesh control attribute to return. Possible values are:

    • ELEM_SHAPE

    • TECHNIQUE

    • ALGORITHM

    • MIN_TRANSITION

    The return value is dependent on the attribute argument.

    • If attribute = ELEM_SHAPE, the return value is a SymbolicConstant specifying the element shape used during meshing. Possible values are: LINE, QUAD, TRI, QUAD_DOMINATED, HEX, TET, WEDGE, HEX_DOMINATED

    • If attribute = TECHNIQUE, the return value is a SymbolicConstant specifying the meshing technique to be used during meshing. Possible values are: FREE, STRUCTURED, SWEEP, UNMESHABLE, Where UNMESHABLE indicates that no meshing technique is applicable with the currently assigned element shape.

    • If attribute = ALGORITHM, the return value is a SymbolicConstant specifying the meshing algorithm to be used during meshing. Possible values are: MEDIAL_AXIS, ADVANCING_FRONT, DEFAULT, NON_DEFAULT, NONE, Where NONE indicates that no algorithm is applicable.

    • If attribute = MIN_TRANSITION, the return value is a Boolean indicating whether minimum transition will be used during meshing. This option is applicable only to the following: Free quadrilateral meshing or sweep hexahedral meshing with algorithm = MEDIAL_AXIS, Structured quadrilateral meshing.

Returns:

The return value is a SymbolicConstant or a Boolean depending on the value of the attribute argument.

Return type:

Union[bool, SymbolicConstant]

Raises:

TypeError โ€“ The region cannot carry mesh controls.

getMeshStats(regions)[source]๏ƒ

This method returns the mesh statistics for the given part instances or regions.

Parameters:

regions (tuple) โ€“ A sequence or tuple of PartInstance objects or ConstrainedSketchGeometry regions for which mesh statistics should be returned.

Returns:

A MeshStats object.

Return type:

MeshStats

getPartSeeds(region, attribute)[source]๏ƒ

This method returns a part seed parameter for the specified instance.

Parameters:
  • region (PartInstance) โ€“ A PartInstance object specifying the part instance to be queried.

  • attribute (Union[Literal[DEFAULT_SIZE, MIN_SIZE_FACTOR, DEVIATION_FACTOR, SIZE], float]) โ€“

    A SymbolicConstant specifying the type of part seed attribute to return. Possible values are:

    • SIZE

    • DEFAULT_SIZE

    • DEVIATION_FACTOR

    • MIN_SIZE_FACTOR

    The return value is dependent on the value of the attribute argument.

    • If attribute = SIZE, the return value is a Float specifying the assigned global element size. If part seeds are not defined, the return value is zero.

    • If attribute = DEFAULT_SIZE, the return value is a Float specifying a suggested default global element size based upon the part geometry.

    • If attribute = DEVIATION_FACTOR, the return value is a Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length. If part seeds are not defined, the return value is zero.

    • If attribute = MIN_SIZE_FACTOR, the return value is a Float specifying the size of the smallest allowable element as a fraction of the specified global element size. If part seeds are not defined, the return value is zero.

Returns:

The return value is a Float, and its value is dependent on the attribute argument.

Return type:

float

Raises:

Error โ€“ Part instance does not contain native geometry, An exception occurs if the part instance does not contain native geometry.

getUnmeshedRegions()[source]๏ƒ

This method returns all geometric regions in the assembly that require a mesh for submitting an analysis but are either unmeshed or are meshed incompletely.

Returns:

A Region object, or None.

Return type:

Region

ignoreEntity(entities)[source]๏ƒ

This method creates a virtual topology feature. Virtual topology allows unimportant entities to be ignored during mesh generation. You can combine two adjacent faces by specifying a common edge to ignore. Similarly, you can combine two adjacent edges by specifying a common vertex to ignore.

Parameters:

entities (tuple) โ€“ A sequence of vertices and edges specifying the entities to be ignored during meshing.

Returns:

feature โ€“ A Feature object

Return type:

Feature

restoreIgnoredEntity(entities)[source]๏ƒ

This method restores vertices and edges that have been merged using a virtual topology feature.

Parameters:

entities (Sequence[IgnoredVertex]) โ€“ A sequence of IgnoredVertex objects and IgnoredEdge objects specifying the entities to be restored.

Returns:

feature โ€“ A Feature object

Return type:

Feature

seedEdgeByBias(biasMethod, end1Edges, end2Edges, centerEdges, endEdges, ratio, number, minSize, maxSize, constraint=abaqusConstants.FREE)[source]๏ƒ

This method seeds the given edges nonuniformly using the specified number of elements and bias ratio or the specified minimum and maximum element sizes.

Parameters:
  • biasMethod (Literal[DOUBLE, SINGLE]) โ€“

    A SymbolicConstant specifying whether single- or double-biased seed distribution will be applied. If unspecified, single-biased seed distribution will be applied. Possible values are:

    • SINGLE: Single-biased seed distribution will be applied.

    • DOUBLE: Double-biased seed distribution will be applied.

  • end1Edges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near the end where the normalized curve parameter=0.0. You must provide either the end1Edges or the end2Edges argument or both when biasMethod = SINGLE and omit both of them when biasMethod = DOUBLE. Note: You can determine which end is which by the order of the vertex indices returned by getVertices().

  • end2Edges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near the end where the normalized curve parameter=1.0.

  • centerEdges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near edge center. You must provide either the centerEdges or the endEdges argument or both when biasMethod = DOUBLE and omit both of them when biasMethod = SINGLE.

  • endEdges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near edge ends.

  • ratio (float) โ€“ A Float specifying the ratio of the largest element to the smallest element. Possible values are 1.0 โ‰ค ratio โ‰ค 10โถ.

  • number (int) โ€“ An Int specifying the number of elements along each edge. Possible values are 1 โ‰ค number โ‰ค 10โด.

  • minSize (float) โ€“ A Float specifying the desired smallest element size.

  • maxSize (float) โ€“ A Float specifying the desired largest element size. Note: You must specify either the ratio and number or minSize and maxSize pair of arguments.

  • constraint (Literal[FINER, FREE, FIXED], default: FREE) โ€“

    A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:

    • FREE: The resulting mesh can be finer or coarser than the specified seeds.

    • FINER: The resulting mesh can be finer than the specified seeds.

    • FIXED: The seeds must be exactly matched by the mesh (only with respect to the number of elements, not to the nodal positioning).

seedEdgeByNumber(edges, number, constraint=abaqusConstants.FREE)[source]๏ƒ

This method seeds the given edges uniformly based on the number of elements along the edges.

Parameters:
  • edges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed.

  • number (int) โ€“ An Int specifying the number of elements along each edge. Possible values are 1 โ‰ค number โ‰ค 10โด.

  • constraint (Literal[FREE], default: FREE) โ€“ A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:FREE: The resulting mesh can be finer or coarser than the specified seeds.FINER: The resulting mesh can be finer than the specified seeds.FIXED: The seeds must be exactly matched by the mesh (only with respect to the number of elements, not to the nodal positioning).

seedEdgeBySize(edges, size, deviationFactor=None, minSizeFactor=None, constraint=abaqusConstants.FREE)[source]๏ƒ

This method seeds the given edges either uniformly or following edge curvature distribution, based on the desired element size.

Parameters:
  • edges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed.

  • size (float) โ€“ A Float specifying the desired element size.

  • deviationFactor (Optional[float], default: None) โ€“ A Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length.

  • minSizeFactor (Optional[float], default: None) โ€“ A Float specifying the size of the smallest allowable element as a fraction of the specified global element size.

  • constraint (Literal[FREE], default: FREE) โ€“ A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:FREE: The resulting mesh can be finer or coarser than the specified seeds.FINER: The resulting mesh can be finer than the specified seeds.FIXED: The seeds must be exactly matched by the mesh (only with respect to the number of elements, not to the nodal positioning).

seedPartInstance(regions, size, deviationFactor=None, minSizeFactor=None, constraint=abaqusConstants.FREE)[source]๏ƒ

This method assigns global edge seeds to the given part instances.

Parameters:
  • regions (Sequence[PartInstance]) โ€“ A sequence of PartInstance objects specifying the part instances to seed.

  • size (float) โ€“ A Float specifying the desired global element size for the edges.

  • deviationFactor (Optional[float], default: None) โ€“ A Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length.

  • minSizeFactor (Optional[float], default: None) โ€“ A Float specifying the size of the smallest allowable element as a fraction of the specified global element size.

  • constraint (Literal[FREE], default: FREE) โ€“ A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:FREE: The resulting mesh can be finer or coarser than the specified seeds.FINER: The resulting mesh can be finer than the specified seeds.

setBoundaryLayerControls(regions, firstElemSize, growthFactor, numLayers, inactiveFaces=(), setName='')[source]๏ƒ

This method sets the control parameters for boundary layer mesh for the specified regions.

Parameters:
  • regions (Sequence[Cell]) โ€“ A sequence of Cell objects specifying the regions for which to set the boundary layer mesh control parameters.

  • firstElemSize (float) โ€“ A Float specifying the height of the first element layer off boundary. Possible values are 0.0 < firstElemSize โ‰ค 10โถ.

  • growthFactor (float) โ€“ A Float specifying the ratio of heights of any two consecutive element layers. Possible values are 1.0 โ‰ค growthFactor โ‰ค 10.0.

  • numLayers (int) โ€“ An Int specifying the number of element layers to be generated. Possible values are 1 โ‰ค numLayers โ‰ค 10โด.

  • inactiveFaces (Sequence[Face], default: ()) โ€“ A sequence of Face objects specifying the faces where boundary layer should not be generated. By default, boundary layer mesh will be generated on all faces of the selected regions.

  • setName (str, default: '') โ€“ A String specifying a unique name for a set that will contain boundary layer elements.

setElementType(regions, elemTypes)[source]๏ƒ

This method assigns element types to the specified regions.

Parameters:
  • regions (tuple) โ€“ A sequence of ConstrainedSketchGeometry regions or MeshElement objects, or a Set object containing either geometry regions or elements, specifying the regions to which element types are to be assigned.

  • elemTypes (Sequence[ElemType]) โ€“ A sequence of ElemType objects, one for each element shape applicable to the regions. Note: If an ElemType object has an UNKNOWN_*xxx* value for elemCode, its order will be deduced from the order of other valid ElemType objects within the same setElementType command. If no valid ElemType objects can be found, the order will remain unchanged.

Raises:

Exception โ€“ As a result of the element assignment, a region must have the same library, family, and order for all its assigned element types. Otherwise, an exception will be thrown. For example, suppose the Hex, Wedge, and Tet elements previously assigned to a cell are all linear. The user now constructs an ElemType object with a quadratic Hex element and includes only this object in the setElementType command. An exception will be thrown because the Wedge and Tet elements will remain linear (i.e., As Is) and become incompatible with the newly assigned quadratic Hex element.

setLogicalCorners(region, corners)[source]๏ƒ

This method sets the logical corners for a mappable face region.

Parameters:
  • region (str) โ€“ A Face region.

  • corners (str) โ€“ Three, four, or five ConstrainedSketchVertex objects defining the logical corners for a given mappable face region.

setMeshControls(regions, elemShape=None, technique=None, algorithm=None, minTransition=1, sizeGrowth=None, allowMapped=0)[source]๏ƒ

This method sets the mesh control parameters for the specified regions.

Parameters:
  • regions (tuple) โ€“ A sequence of Face or Cell regions specifying the regions for which to set the mesh control parameters.

  • elemShape (Optional[Literal[HEX_DOMINATED, WEDGE, TET, QUAD_DOMINATED, HEX, QUAD, TRI]], default: None) โ€“

    A SymbolicConstant specifying the element shape to be used for meshing. The default value is QUAD for Face regions and HEX for Cell regions. If unspecified, the existing element shape will remain unchanged. Possible values are:

    • QUAD: Quadrilateral mesh.

    • QUAD_DOMINATED: Quadrilateral-dominated mesh.

    • TRI: Triangular mesh.

    • HEX: Hexahedral mesh.

    • HEX_DOMINATED: Hex-dominated mesh.

    • TET: Tetrahedral mesh.

    • WEDGE: Wedge mesh.

  • technique (Optional[Literal[BOTTOM_UP, STRUCTURED, FREE, SWEEP, SYSTEM_ASSIGN]], default: None) โ€“

    A SymbolicConstant specifying the mesh technique to be used. The default value is FREE for Face regions. For Cell regions the initial value depends on the geometry of the regions and can be STRUCTURED, SWEEP, or unmeshable. If unspecified, the existing mesh technique(s) will remain unchanged. Possible values are:

    • FREE: Free mesh technique.

    • STRUCTURED: Structured mesh technique.

    • SWEEP: Sweep mesh technique.

    • BOTTOM_UP: Bottom-up mesh technique. Only applicable for cell regions.

    • SYSTEM_ASSIGN: Allow the system to assign a suitable technique. The actual technique assigned can be STRUCTURED, SWEEP, or โ€œunmeshableโ€.

  • algorithm (Optional[Literal[NON_DEFAULT, MEDIAL_AXIS, ADVANCING_FRONT]], default: None) โ€“

    A SymbolicConstant specifying the algorithm used to generate the mesh for the specified regions. Possible values are MEDIAL_AXIS, ADVANCING_FRONT, and NON_DEFAULT. If unspecified, the existing value will remain unchanged. This option is applicable only to the following:

    • Free quadrilateral or quadrilateral-dominated meshing. In this case the possible values are MEDIAL_AXIS and ADVANCING_FRONT.

    • Sweep hexahedral or hexahedral-dominated meshing. In this case the possible values are MEDIAL_AXIS and ADVANCING_FRONT.

    • Free tetrahedral meshing. In this case the only possible value is NON_DEFAULT, and it indicates that the free tetrahedral-meshing technique available in Abaqus 6.4 or earlier will be used. If algorithm is not specified, the default tetrahedral-meshing technique will be used.

  • minTransition (Union[AbaqusBoolean, bool], default: 1) โ€“

    A Boolean specifying whether minimum transition is to be applied. The default value is ON. If unspecified, the existing value will remain unchanged. This option is applicable only in the following cases:

    • Free quadrilateral meshing or hexahedral sweep meshing with algorithm = MEDIAL_AXIS.

    • Structured quadrilateral meshing.

  • sizeGrowth (Optional[Literal[MODERATE, MAXIMUM]], default: None) โ€“ A SymbolicConstant specifying element size growth to be applied when generating the interior of a tetrahedral mesh. Possible values are MODERATE and MAXIMUM. If unspecified, the existing value will remain unchanged. This option only applies to the default tetrahedral mesher.

  • allowMapped (Union[AbaqusBoolean, bool], default: 0) โ€“

    A Boolean specifying whether mapped meshing can be used to replace the selected mesh technique. The allowMapped argument is applicable only in the following cases:

    • Free triangular meshing.

    • Free quadrilateral or quadrilateral-dominated meshing with algorithm = ADVANCING_FRONT.

    • Hexahedral or hexahedral-dominated sweep meshing with algorithm = ADVANCING_FRONT.

    • Free tetrahedral meshing. allowMapped = True implies that mapped triangular meshing can be used on faces that bound three-dimensional regions.

setSweepPath(region, edge, sense)[source]๏ƒ

This method sets the sweep path for a sweepable region or the revolve path for a revolvable region.

Parameters:
  • region (str) โ€“ A sweepable region.

  • edge (Edge) โ€“ An Edge object specifying the sweep or revolve path.

  • sense (Literal[FORWARD]) โ€“ A SymbolicConstant specifying the sweep sense. The sense will affect only how gasket elements will be created; it will have no effect if gasket elements are not used. Possible values are FORWARD or REVERSE.If sense = FORWARD, the sense of the given edgeโ€™s underlying curve will be used.

verifyMeshQuality(criterion, threshold=None, elemShape=None, regions=())[source]๏ƒ

This method tests the quality of part instance meshes and returns poor-quality elements.

Parameters:
  • criterion (Literal[ANALYSIS_CHECKS, ANGULAR_DEVIATION, GEOM_DEVIATION_FACTOR, MAX_FREQUENCY, LONGEST_EDGE, LARGE_ANGLE, SHORTEST_EDGE, STABLE_TIME_INCREMENT, SHAPE_FACTOR, ASPECT_RATIO, SMALL_ANGLE]) โ€“

    A SymbolicConstant specifying the criterion used for the quality check. Possible values are:

    • ANALYSIS_CHECKS When this criterion is specified Abaqus/CAE will invoke the element quality checks included with the input file processor for Abaqus/Standard and Abaqus/Explicit.

    • ANGULAR_DEVIATION The maximum amount (in degrees) that an elementโ€™s face corner angles deviate from the ideal angle. The ideal angle is 90ยฐ for quadrilateral element faces and 60ยฐ for triangular element faces. Elements with an angular deviation larger than the specified threshold will fail this test.

    • ASPECT_RATIO The ratio between the lengths of the longest and shortest edges of an element. Elements with an aspect ratio larger than the specified threshold will fail this test.

    • GEOM_DEVIATION_FACTOR The largest geometric deviation factor evaluated along any of the element edges associated with geometric edges or faces. The geometric deviation factor along an element edge is calculated by dividing the maximum gap between the element edge and its associated geometry by the length of the element edge. Elements with a geometric deviation factor larger than the specified threshold will fail this test.

    • LARGE_ANGLE The largest corner angle on any of an elementโ€™s faces. Elements with face angles larger than the specified threshold (in degrees) will fail this test.

    • LONGEST_EDGE The length of an elementโ€™s longest edge. Elements with an edge longer than the specified threshold will fail this test.

    • MAX_FREQUENCY An estimate of an elementโ€™s contribution to the initial maximum allowable frequency for Abaqus/Standard analyses. This calculation requires appropriate section assignments and material definitions. Elements whose maximum allowable frequency is smaller than the given value will fail this test.

    • SHAPE_FACTOR The shape factor for triangular and tetrahedral elements. This is the ratio between the element area or volume and the optimal element area or volume. Elements with a shape factor smaller than the specified threshold will fail this test.

    • SHORTEST_EDGE The length of an elementโ€™s shortest edge. Elements with an edge shorter than the specified threshold will fail this test.

    • SMALL_ANGLE The smallest corner angle on any of an elementโ€™s faces. Elements with face angles smaller than the given value (in degrees) will fail this test.

    • STABLE_TIME_INCREMENT An estimate of an elementโ€™s contribution to the initial maximum stable time increment for Abaqus/Explicit analyses. This calculation requires appropriate section assignments and material definitions. Elements that require a time increment smaller than the given value will fail this test.

  • threshold (Optional[float], default: None) โ€“ A Float value used to determine low quality elements according to the specified criterion. This argument is ignored when the ANALYSIS_CHECKS criterion is used. For other criterion, if this argument is unspecified then no list of failed elements will be returned.

  • elemShape (Optional[Literal[LINE, WEDGE, TET, HEX, QUAD, TRI]], default: None) โ€“ A SymbolicConstant specifying an element shape for limiting the query. Possible values are LINE, QUAD, TRI, HEX, WEDGE, and TET.

  • regions (tuple, default: ()) โ€“ A sequence of Region or MeshElement objects. If you do not specify the regions argument, all meshes in the assembly are considered.

Returns:

A Dictionary object containing values for some number of the following keys: failedElements, warningElements, naElements (sequences of MeshElement objects); numElements (Int); average, worst (Float); worstElement (MeshElement object) .

Return type:

dict[str, int | float | MeshElement]

class MeshEdge[source]๏ƒ

Bases: object

The MeshEdge object refers to an element edge. It has no constructor or members. A MeshEdge object can be accessed via a MeshEdgeArray or a repository on a part or part instance.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].elemEdges[i]
mdb.models[name].parts[name].elementEdges[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].elemEdges[i]
mdb.models[name].rootAssembly.allInstances[name].elementEdges[i]
mdb.models[name].rootAssembly.instances[name].elemEdges[i]
mdb.models[name].rootAssembly.instances[name].elementEdges[i]

Member Details:

getElemFaces()[source]๏ƒ

This method returns a tuple of unique MeshFace objects that share the element edge.

Returns:

A tuple of MeshFace objects.

Return type:

Sequence[MeshFace]

getElements()[source]๏ƒ

This method returns a tuple of elements that share the element edge.

Returns:

A tuple of MeshElement objects.

Return type:

Sequence[MeshElement]

getElementsViaTopology(domain=[])[source]๏ƒ

This method returns an array of MeshElement objects that are obtained by recursively finding adjacent elements via topology.

Parameters:

domain (MeshElementArray, default: []) โ€“ A MeshElementArray object specifying the domain to include in the search. By default, all elements in the mesh are included.

Returns:

A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getNodes()[source]๏ƒ

This method returns a tuple of nodes on the element edge.

Returns:

A tuple of MeshNode objects.

Return type:

Sequence[MeshNode]

getNodesViaTopology(domain=[])[source]๏ƒ

This method returns an array of MeshNode objects that lie along element edges topologically in line with the element edge.

Parameters:

domain (MeshElementArray, default: []) โ€“ A MeshElementArray object specifying the domain to include in the search. By default, all elements in the mesh are included.

Returns:

A MeshNodeArray object, which is a sequence of MeshNode objects.

Return type:

MeshNodeArray

class MeshElement[source]๏ƒ

Bases: object

The MeshElement object refers to an element of a native mesh or an orphan mesh. A MeshElement object can be accessed via a part or part instance using an index that refers to the internal numbering of the element repository. The index does not refer to the element label.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].allInternalSets[name].elements[i]
mdb.models[name].parts[name].allInternalSurfaces[name].elements[i]
mdb.models[name].parts[name].allSets[name].elements[i]
mdb.models[name].parts[name].allSurfaces[name].elements[i]
mdb.models[name].parts[name].elements[i]
mdb.models[name].parts[name].sets[name].elements[i]
mdb.models[name].parts[name].surfaces[name].elements[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].elements[i]
mdb.models[name].rootAssembly.allInstances[name].sets[name].elements[i]
mdb.models[name].rootAssembly.allInstances[name].surfaces[name].elements[i]
mdb.models[name].rootAssembly.allInternalSets[name].elements[i]
mdb.models[name].rootAssembly.allInternalSurfaces[name].elements[i]
mdb.models[name].rootAssembly.allSets[name].elements[i]
mdb.models[name].rootAssembly.allSurfaces[name].elements[i]
mdb.models[name].rootAssembly.elements[i]
mdb.models[name].rootAssembly.instances[name].elements[i]
mdb.models[name].rootAssembly.instances[name].sets[name].elements[i]
mdb.models[name].rootAssembly.instances[name].surfaces[name].elements[i]
mdb.models[name].rootAssembly.modelInstances[i].elements[i]
mdb.models[name].rootAssembly.modelInstances[i].sets[name].elements[i]
mdb.models[name].rootAssembly.modelInstances[i].surfaces[name].elements[i]
mdb.models[name].rootAssembly.sets[name].elements[i]
mdb.models[name].rootAssembly.surfaces[name].elements[i]

Member Details:

Element(nodes, elemShape, label=0)[source]๏ƒ

This method creates an element on an orphan mesh part from a sequence of nodes.

Note

This function can be accessed by:

mdb.models[name].parts[name].Element
Parameters:
  • nodes (Sequence[MeshNode]) โ€“ A sequence of MeshNode objects.

  • elemShape (Literal[LINE2, LINE3, TRI3, TRI6, QUAD4, QUAD8, TET4, TET10, WEDGE6, WEDGE15, HEX8, HEX20]) โ€“ A SymbolicConstant specifying the shape of the new element. Possible values are LINE2, LINE3, TRI3, TRI6, QUAD4, QUAD8, TET4, TET10, WEDGE6, WEDGE15, HEX8, and HEX20.

  • label (int, default: 0) โ€“ An Int specifying the element label.

Returns:

element โ€“ A MeshElement object.

Return type:

MeshElement

connectivity: tuple[int, ...] = ()[source]๏ƒ

A tuple of Ints specifying the internal node indices that define the nodal connectivity. It is important to note the difference with OdbMeshElement object of ODB where the connectivity is node labels instead of node indices.

getAdjacentElements()[source]๏ƒ

This method returns an array of element objects adjacent to the mesh element.

Returns:

A MeshElementArray object which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getElemEdges()[source]๏ƒ

This method returns a tuple of unique element edge objects on the element.

Returns:

A tuple of MeshEdge objects.

Return type:

tuple[MeshEdge]

getElemFaces()[source]๏ƒ

This method returns a tuple of unique element face objects on the element.

Returns:

A tuple of MeshFace objects.

Return type:

tuple[MeshFace]

getElementsByFeatureEdge(angle)[source]๏ƒ

This method returns an array of mesh element objects that are obtained by recursively finding adjacent elements along a feature edge with a face angle of less than or equal to the specified angle.

Parameters:

angle (float) โ€“ A float specifying the value of the face angle in degrees.

Returns:

A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getNodes()[source]๏ƒ

This method returns a tuple of node objects of the element.

Returns:

A tuple of MeshNode objects.

Return type:

tuple[MeshNode]

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

A String specifying the name of the part instance that owns this element.

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

An Int specifying the element label.

setValues(label=None)[source]๏ƒ

This method modifies the MeshElement object.

Parameters:

label (Optional[int], default: None) โ€“ An Int specifying the element label. This member may only be edited if the element belongs to an orphan mesh part. The specified label must be non-negative and must not be in use by any other element of the same part.

type: SymbolicConstant[source]๏ƒ

A SymbolicConstant specifying the Abaqus element code.

class MeshFace[source]๏ƒ

Bases: object

The MeshFace object refers to an element face. It has no constructor or members. A MeshFace object can be accessed via a MeshFaceArray or a repository on a part or part instance.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].elementFaces[i]
mdb.models[name].parts[name].elemFaces[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].elementFaces[i]
mdb.models[name].rootAssembly.allInstances[name].elemFaces[i]
mdb.models[name].rootAssembly.instances[name].elementFaces[i]
mdb.models[name].rootAssembly.instances[name].elemFaces[i]

Member Details:

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

An Int specifying a symbolic constant specifying the side of the element.

getElemEdges()[source]๏ƒ

This method returns a tuple of unique element edges on the element face.

Returns:

edges โ€“ A tuple of MeshEdge objects

Return type:

Sequence[MeshEdge]

getElemEdgesByFaceAngle(angle)[source]๏ƒ

This method returns an array of element edge objects that are obtained by recursively finding adjacent element edges that are at an angle of less than or equal to the specified face angle.

Parameters:

angle (str) โ€“ A float specifying the value of the face angle in degrees.

Returns:

edges โ€“ A MeshEdgeArray object, which is a sequence of MeshEdge objects.

Return type:

MeshEdgeArray

getElemFacesByFaceAngle(angle)[source]๏ƒ

This method returns an array of element face objects that are obtained by recursively finding adjacent element faces that are at an angle of less than or equal to the specified angle.

Parameters:

angle (str) โ€“ A float specifying the value of the face angle.

Returns:

faces โ€“ A MeshFaceArray object, which is a sequence of MeshFace objects.

Return type:

MeshFaceArray

getElemFacesByLayer(numLayers)[source]๏ƒ

This method returns an array of element face objects, obtained by traversing shell elements or the exterior of a solid mesh, and recursively finding adjacent element faces by layer.

Parameters:

numLayers (str) โ€“ A int specifying the value of the number of layers.

Returns:

faces โ€“ A MeshFaceArray object, which is a sequence of MeshFace objects.

Return type:

MeshFaceArray

getElemFacesByLimitingAngle(angle)[source]๏ƒ

This method returns an array of element edge objects that are obtained by recursively finding adjacent element faces that are at an angle of less than or equal to the specified face angle with the seed face.

Parameters:

angle (str) โ€“ A float specifying the value of the face angle in degrees.

Returns:

faces โ€“ A MeshFaceArray object, which is a sequence of MeshFace objects.

Return type:

MeshFaceArray

getElements()[source]๏ƒ

This method returns a tuple of elements that share the element face.

Returns:

elements โ€“ A tuple of MeshElement objects

Return type:

Sequence[MeshElement]

getElementsByFaceAngle(angle)[source]๏ƒ

This method returns an array of mesh Element objects that are obtained by recursively finding adjacent element faces that are at an angle of less than or equal to the specified angle.

Parameters:

angle (str) โ€“ A float specifying the value of the face angle.

Returns:

elements โ€“ A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getElementsViaTopology()[source]๏ƒ

This method returns an array of mesh Element objects that are obtained by recursively finding adjacent elements via topology.

Returns:

elements โ€“ A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getNodes()[source]๏ƒ

This method returns a tuple of nodes on the element face.

Returns:

nodes โ€“ A tuple of MeshNode objects

Return type:

Sequence[MeshNode]

getNodesByFaceAngle(angle)[source]๏ƒ

This method returns an array of mesh node objects that are obtained by recursively finding adjacent element faces that are at an angle of less than or equal to the specified angle.

Parameters:

angle (str) โ€“ A float specifying the value of the face angle.

Returns:

nodes โ€“ A MeshNodeArray object, which is a sequence of MeshNode objects

Return type:

MeshNodeArray

getNormal()[source]๏ƒ

This method returns the normal direction for the element face.

Returns:

normal โ€“ A tuple of 3 floats representing the unit normal vector. If the element face is collapsed such that a normal cannot be computed, a zero-length vector is returned.

Return type:

Sequence[float]

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

An Int specifying an Int specifying the element label.

class MeshNode(coordinates, localCsys=None, label=None)[source]๏ƒ

Bases: object

The MeshNode object refers to a node of a native mesh or an orphan mesh. A MeshNode object can be accessed via a part or part instance using an index that refers to the internal numbering of the node repository. The index does not refer to the node label.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].allInternalSets[name].nodes[i]
mdb.models[name].parts[name].allInternalSurfaces[name].nodes[i]
mdb.models[name].parts[name].allSets[name].nodes[i]
mdb.models[name].parts[name].allSurfaces[name].nodes[i]
mdb.models[name].parts[name].nodes[i]
mdb.models[name].parts[name].retainedNodes[i]
mdb.models[name].parts[name].sets[name].nodes[i]
mdb.models[name].parts[name].surfaces[name].nodes[i]
import assembly
mdb.models[name].rootAssembly.allInstances[name].nodes[i]
mdb.models[name].rootAssembly.allInstances[name].sets[name].nodes[i]
mdb.models[name].rootAssembly.allInstances[name].surfaces[name].nodes[i]
mdb.models[name].rootAssembly.allInternalSets[name].nodes[i]
mdb.models[name].rootAssembly.allInternalSurfaces[name].nodes[i]
mdb.models[name].rootAssembly.allSets[name].nodes[i]
mdb.models[name].rootAssembly.allSurfaces[name].nodes[i]
mdb.models[name].rootAssembly.instances[name].nodes[i]
mdb.models[name].rootAssembly.instances[name].sets[name].nodes[i]
mdb.models[name].rootAssembly.instances[name].surfaces[name].nodes[i]
mdb.models[name].rootAssembly.modelInstances[i].nodes[i]
mdb.models[name].rootAssembly.modelInstances[i].sets[name].nodes[i]
mdb.models[name].rootAssembly.modelInstances[i].surfaces[name].nodes[i]
mdb.models[name].rootAssembly.nodes[i]
mdb.models[name].rootAssembly.sets[name].nodes[i]
mdb.models[name].rootAssembly.surfaces[name].nodes[i]

This method creates a node on an orphan mesh part.

Note

This function can be accessed by:

mdb.models[name].parts[name].Node
Parameters:
  • coordinates (tuple[float, float, float]) โ€“ A sequence of three Floats specifying the coordinates of the new node.

  • localCsys (Optional[DatumCsys], default: None) โ€“ A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

  • label (Optional[int], default: None) โ€“ An Int specifying the node label.

Returns:

node โ€“ A MeshNode object

Return type:

MeshNode

Member Details:

coordinates: tuple[float, float, float][source]๏ƒ

A tuple of three Floats specifying the coordinates of the new node.

getElemEdges()[source]๏ƒ

This method returns a tuple of element edge objects that share the node.

Returns:

edges โ€“ A tuple of MeshEdge objects

Return type:

Sequence[MeshEdge]

getElemFaces()[source]๏ƒ

This method returns a tuple of element face objects that share the node.

Returns:

faces โ€“ A tuple of MeshFace objects

Return type:

Sequence[MeshFace]

getElements()[source]๏ƒ

This method returns a tuple of element objects that share the node.

Returns:

elements โ€“ A tuple of MeshElement objects

Return type:

Sequence[MeshElement]

getNodesByFeatureEdge(angle)[source]๏ƒ

This method returns an array of mesh node objects that are obtained by recursively finding adjacent nodes along a feature edge that are at an angle of less than or equal to the specified face angle.

Parameters:

angle (float) โ€“ A float specifying the value of the face angle in degrees.

Returns:

nodes โ€“ A MeshNodeArray object, which is a sequence of MeshNode objects

Return type:

MeshNodeArray

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

A String specifying the name of the part instance that owns this node.

label: int[source]๏ƒ

An Int specifying the node label.

setValues(label=None)[source]๏ƒ

This method modifies the MeshNode object.

Parameters:

label (Optional[int], default: None) โ€“ An Int specifying the node label. This member may only be edited if the node belongs to an orphan mesh part. The specified label must be non-negative and must not be in use by any other node of the same part.

Returns:

None

class MeshElementArray(elements)[source]๏ƒ

Bases: List[MeshElement]

The MeshElementArray is a sequence of MeshElement objects.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].allInternalSets[name].elements
mdb.models[name].parts[name].allInternalSurfaces[name].elements
mdb.models[name].parts[name].allSets[name].elements
mdb.models[name].parts[name].allSurfaces[name].elements
mdb.models[name].parts[name].elements
mdb.models[name].parts[name].sets[name].elements
mdb.models[name].parts[name].surfaces[name].elements
import assembly
mdb.models[name].rootAssembly.allInstances[name].elements
mdb.models[name].rootAssembly.allInstances[name].sets[name].elements
mdb.models[name].rootAssembly.allInstances[name].surfaces[name].elements
mdb.models[name].rootAssembly.allInternalSets[name].elements
mdb.models[name].rootAssembly.allInternalSurfaces[name].elements
mdb.models[name].rootAssembly.allSets[name].elements
mdb.models[name].rootAssembly.allSurfaces[name].elements
mdb.models[name].rootAssembly.elements
mdb.models[name].rootAssembly.instances[name].elements
mdb.models[name].rootAssembly.instances[name].sets[name].elements
mdb.models[name].rootAssembly.instances[name].surfaces[name].elements
mdb.models[name].rootAssembly.modelInstances[i].elements
mdb.models[name].rootAssembly.modelInstances[i].sets[name].elements
mdb.models[name].rootAssembly.modelInstances[i].surfaces[name].elements
mdb.models[name].rootAssembly.sets[name].elements
mdb.models[name].rootAssembly.surfaces[name].elements

This method creates a MeshElementArray object.

Note

This function can be accessed by:

mesh.MeshElementArray
Parameters:

elements (list[MeshElement]) โ€“ A list of MeshElement objects.

Returns:

A MeshElementArray object.

Return type:

MeshElementArray

Member Details:

getBoundingBox()[source]๏ƒ

This method returns a dictionary of two tuples representing minimum and maximum boundary values of the bounding box of the minimum size containing the element sequence.

Returns:

A Dictionary object with the following items:

  • low: a tuple of three floats representing the minimum x, y, and z boundary values of the bounding box.

  • high: a tuple of three floats representing the maximum x, y, and z boundary values of the bounding box.

Return type:

dict[str, tuple[float, float, float]]

getByBoundingBox(xMin=0, yMin=0, zMin=0, xMax=0, yMax=0, zMax=0)[source]๏ƒ

This method returns an array of element objects that lie within the specified bounding box.

Parameters:
  • xMin (float, default: 0) โ€“ A float specifying the minimum X boundary of the bounding box.

  • yMin (float, default: 0) โ€“ A float specifying the minimum Y boundary of the bounding box.

  • zMin (float, default: 0) โ€“ A float specifying the minimum Z boundary of the bounding box.

  • xMax (float, default: 0) โ€“ A float specifying the maximum X boundary of the bounding box.

  • yMax (float, default: 0) โ€“ A float specifying the maximum Y boundary of the bounding box.

  • zMax (float, default: 0) โ€“ A float specifying the maximum Z boundary of the bounding box.

Returns:

A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getByBoundingCylinder(center1, center2, radius)[source]๏ƒ

This method returns an array of element objects that lie within the specified bounding cylinder.

Parameters:
  • center1 (tuple) โ€“ A tuple of the X-, Y-, and Z-coordinates of the center of the first end of the cylinder.

  • center2 (tuple) โ€“ A tuple of the X-, Y-, and Z-coordinates of the center of the second end of the cylinder.

  • radius (str) โ€“ A float specifying the radius of the cylinder.

Returns:

A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getByBoundingSphere(center, radius)[source]๏ƒ

This method returns an array of element objects that lie within the specified bounding sphere.

Parameters:
  • center (tuple[float, float, float]) โ€“ A tuple of the X-, Y-, and Z-coordinates of the center of the sphere.

  • radius (float) โ€“ A float specifying the radius of the sphere.

Returns:

A MeshElementArray object, which is a sequence of MeshElement objects.

Return type:

MeshElementArray

getExteriorEdges()[source]๏ƒ

This method returns the edges on the exterior of the faces in the FaceArray. That is, it returns the edges that are referenced by exactly one of the faces in the sequence.

New in version 2018: The getExteriorEdges method was added.

Returns:

An EdgeArray object specifying the exterior edges.

Return type:

EdgeArray

getExteriorFaces()[source]๏ƒ

This method returns the cell faces on the exterior of the CellArray. That is, it returns the faces that are referenced by exactly one of the cells in the sequence.

New in version 2018: The getExteriorFaces method was added.

Returns:

A FaceArray object representing the faces on the exterior of the cells.

Return type:

FaceArray

getFromLabel(label)[source]๏ƒ

This method returns the object in the MeshElementArray with the given label.

Parameters:

label (int) โ€“ An Int specifying the label of the object.

Returns:

A MeshElement object.

Return type:

MeshElement

getMask()[source]๏ƒ

This method returns a string specifying the object or objects.

Returns:

A String specifying the object or objects.

Return type:

str

getSequenceFromMask(mask)[source]๏ƒ

This method returns the objects in the MeshElementArray identified using the specified mask. This command is generated when the JournalOptions are set to COMPRESSEDINDEX. When a large number of objects are involved, this method is highly efficient.

Parameters:

mask (Union[str, Sequence[str]]) โ€“ A String specifying the object or objects.

Returns:

A MeshElementArray object.

Return type:

MeshElementArray

sequenceFromLabels(labels)[source]๏ƒ

This method returns the objects in the MeshElementArray identified using the specified labels.

Parameters:

labels (Sequence[int]) โ€“ A sequence of Ints specifying the labels.

Returns:

A MeshElementArray object.

Return type:

MeshElementArray

Raises:

Error โ€“ The mask results in an empty sequence, An exception occurs if the resulting sequence is empty.

class MeshEdgeArray(elemEdges)[source]๏ƒ

Bases: List[MeshEdge]

The MeshEdgeArray is a sequence of MeshEdge objects.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].elementEdges
import assembly
mdb.models[name].rootAssembly.allInstances[name].elementEdges
mdb.models[name].rootAssembly.instances[name].elementEdges

This method creates a MeshEdgeArray object.

Note

This function can be accessed by:

mesh.MeshEdgeArray
Parameters:

elemEdges (list[MeshEdge]) โ€“

A list of MeshEdge objects.

Changed in version 2022: The argument edges was renamed to elemEdges.

Returns:

A MeshEdgeArray object.

Return type:

MeshEdgeArray

Member Details:

getMask()[source]๏ƒ

This method returns a string specifying the object or objects.

Returns:

A String specifying the object or objects.

Return type:

str

getSequenceFromMask(mask)[source]๏ƒ

This method returns the objects in the MeshEdgeArray identified using the specified mask. When large number of objects are involved, this method is highly efficient.

Parameters:

mask (Union[str, Sequence[str]]) โ€“ A String specifying the object or objects.

Returns:

A MeshEdgeArray object.

Return type:

MeshEdgeArray

Raises:

Error โ€“ The mask results in an empty sequence, An exception occurs if the resulting sequence is empty.

class MeshFaceArray(elemFaces)[source]๏ƒ

Bases: List[MeshFace]

The MeshFaceArray is a sequence of MeshFace objects.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].elementFaces
import assembly
mdb.models[name].rootAssembly.allInstances[name].elementFaces
mdb.models[name].rootAssembly.instances[name].elementFaces

This method creates a MeshFaceArray object.

Note

This function can be accessed by:

mesh.MeshFaceArray
Parameters:

elemFaces (list[MeshFace]) โ€“

A list of MeshFace objects.

Changed in version 2022: The argument faces was renamed to elemFaces.

Returns:

A MeshFaceArray object.

Return type:

MeshFaceArray

Member Details:

getMask()[source]๏ƒ

This method returns a string specifying the object or objects.

Returns:

A String specifying the object or objects.

Return type:

str

getSequenceFromMask(mask)[source]๏ƒ

This method returns the objects in the MeshFaceArray identified using the specified mask. When large number of objects are involved, this method is highly efficient.

Parameters:

mask (Union[str, Sequence[str]]) โ€“ A String specifying the object or objects.

Returns:

A MeshFaceArray object.

Return type:

MeshFaceArray

Raises:

Error โ€“ The mask results in an empty sequence, An exception occurs if the resulting sequence is empty.

class MeshNodeArray(nodes)[source]๏ƒ

Bases: List[MeshNode]

The MeshNodeArray is a sequence of MeshNode objects.

Note

This object can be accessed by:

import part
mdb.models[name].parts[name].allInternalSets[name].nodes
mdb.models[name].parts[name].allInternalSurfaces[name].nodes
mdb.models[name].parts[name].allSets[name].nodes
mdb.models[name].parts[name].allSurfaces[name].nodes
mdb.models[name].parts[name].nodes
mdb.models[name].parts[name].retainedNodes
mdb.models[name].parts[name].sets[name].nodes
mdb.models[name].parts[name].surfaces[name].nodes
import assembly
mdb.models[name].rootAssembly.allInstances[name].nodes
mdb.models[name].rootAssembly.allInstances[name].sets[name].nodes
mdb.models[name].rootAssembly.allInstances[name].surfaces[name].nodes
mdb.models[name].rootAssembly.allInternalSets[name].nodes
mdb.models[name].rootAssembly.allInternalSurfaces[name].nodes
mdb.models[name].rootAssembly.allSets[name].nodes
mdb.models[name].rootAssembly.allSurfaces[name].nodes
mdb.models[name].rootAssembly.instances[name].nodes
mdb.models[name].rootAssembly.instances[name].sets[name].nodes
mdb.models[name].rootAssembly.instances[name].surfaces[name].nodes
mdb.models[name].rootAssembly.modelInstances[i].nodes
mdb.models[name].rootAssembly.modelInstances[i].sets[name].nodes
mdb.models[name].rootAssembly.modelInstances[i].surfaces[name].nodes
mdb.models[name].rootAssembly.nodes
mdb.models[name].rootAssembly.sets[name].nodes
mdb.models[name].rootAssembly.surfaces[name].nodes

This method creates a MeshNodeArray object.

Note

This function can be accessed by:

mesh.MeshNodeArray
Parameters:

nodes (list[MeshNode]) โ€“ A list of MeshNode objects.

Returns:

A MeshNodeArray object.

Return type:

MeshNodeArray

Member Details:

getBoundingBox()[source]๏ƒ

This method returns a dictionary of two tuples representing minimum and maximum boundary values of the bounding box of the minimum size containing the node sequence.

Returns:

A Dictionary object with the following items:

  • low: a tuple of three floats representing the minimum x, y and z boundary values of the bounding box.

  • high: a tuple of three floats representing the maximum x, y and z boundary values of the bounding box.

Return type:

dict[str, tuple[float, float, float]]

getByBoundingBox(xMin=0, yMin=0, zMin=0, xMax=0, yMax=0, zMax=0)[source]๏ƒ

This method returns an array of nodes that lie within the specified bounding box.

Parameters:
  • xMin (float, default: 0) โ€“ A float specifying the minimum X boundary of the bounding box.

  • yMin (float, default: 0) โ€“ A float specifying the minimum Y boundary of the bounding box.

  • zMin (float, default: 0) โ€“ A float specifying the minimum Z boundary of the bounding box.

  • xMax (float, default: 0) โ€“ A float specifying the maximum X boundary of the bounding box.

  • yMax (float, default: 0) โ€“ A float specifying the maximum Y boundary of the bounding box.

  • zMax (float, default: 0) โ€“ A float specifying the maximum Z boundary of the bounding box.

Returns:

A MeshNodeArray object, which is a sequence of MeshNode objects.

Return type:

MeshNodeArray

getByBoundingCylinder(center1, center2, radius)[source]๏ƒ

This method returns an array of node objects that lie within the specified bounding cylinder.

Parameters:
  • center1 (tuple[float, float, float]) โ€“ A tuple of the X-, Y-, and Z-coordinates of the center of the first end of the cylinder.

  • center2 (tuple[float, float, float]) โ€“ A tuple of the X-, Y-, and Z-coordinates of the center of the second end of the cylinder.

  • radius (float) โ€“ A float specifying the radius of the cylinder.

Returns:

A MeshNodeArray object, which is a sequence of MeshNode objects.

Return type:

MeshNodeArray

getByBoundingSphere(center, radius)[source]๏ƒ

This method returns an array of node objects that lie within the specified bounding sphere.

Parameters:
  • center (tuple) โ€“ A tuple of the X-, Y-, and Z-coordinates of the center of the sphere.

  • radius (str) โ€“ A float specifying the radius of the sphere.

Returns:

A MeshNodeArray object, which is a sequence of MeshNode objects.

Return type:

MeshNodeArray

getClosest(coordinates, numToFind=1, searchTolerance=0.0)[source]๏ƒ

This method returns the node or nodes closest to the given point or set of points.

Parameters:
  • coordinates (tuple) โ€“ A point defined by x, y, and z values or a list of such points.

  • numToFind (int, default: 1) โ€“ The number of nodes to find for each given point. For example, if numToFind is 2, then the 2 closest points, if available and within searchTolerance, will be returned in order of proximity for each input point. The default is 1.

  • searchTolerance (float, default: 0.0) โ€“ A float specifying a search radius for each point. By default, no search radius is defined, and all nodes in the sequence will be searched.

Returns:

A MeshNode, or a list of MeshNode objects, or a list of lists of MeshNode objects, depending on the number of points given and the number of nodes requested.

Return type:

MeshNode | list[MeshNode]

getFromLabel(label)[source]๏ƒ

This method returns the object in the MeshNodeArray with the given label.

Parameters:

label (int) โ€“ An Int specifying the label of the object.

Returns:

A MeshNode object.

Return type:

MeshNode

getMask()[source]๏ƒ

This method returns a string specifying the object or objects.

Returns:

A String specifying the object or objects.

Return type:

str

getSequenceFromMask(mask)[source]๏ƒ

This method returns the objects in the MeshNodeArray identified using the specified mask. This command is generated when the JournalOptions are set to COMPRESSEDINDEX. When a large number of objects are involved, this method is highly efficient.

Parameters:

mask (Union[str, Sequence[str]]) โ€“ A String specifying the object or objects.

Returns:

A MeshNodeArray object.

Return type:

MeshNodeArray

sequenceFromLabels(labels)[source]๏ƒ

This method returns the objects in the MeshNodeArray identified using the specified labels.

Parameters:

labels (Sequence[int]) โ€“ A sequence of Ints specifying the labels.

Returns:

A MeshNodeArray object.

Return type:

MeshNodeArray

Raises:

Error โ€“ The mask results in an empty sequence, An exception occurs if the resulting sequence is empty.

class MeshPart(name: str, dimensionality: SymbolicConstant, type: SymbolicConstant, twist: AbaqusBoolean | bool = OFF)[source]๏ƒ
class MeshPart(name: str, objectToCopy: str, scale: float = 1, mirrorPlane: SymbolicConstant = NONE, compressFeatureList: AbaqusBoolean | bool = OFF, separate: AbaqusBoolean | bool = OFF)

Bases: PartBase

The following commands operate on Part objects. For more information about the Part object, see Part object.

Note

This object can be accessed by:

import mesh

Member Details:

Node(coordinates, localCsys=None, label=None)[source]๏ƒ

This method creates a node on an orphan mesh part.

Note

This function can be accessed by:

mdb.models[name].parts[name].Node
Parameters:
  • coordinates (tuple) โ€“ A sequence of three Floats specifying the coordinates of the new node.

  • localCsys (Optional[DatumCsys], default: None) โ€“ A DatumCsys object specifying the local coordinate system. If unspecified, the global coordinate system will be used.

  • label (Optional[int], default: None) โ€“ An Int specifying the node label.

Returns:

A MeshNode object.

Return type:

MeshNode

assignStackDirection(cells, referenceRegion)[source]๏ƒ

This method assigns a stack direction to geometric cells. The stack direction will be used to orient the elements during mesh generation.

Parameters:
  • cells (Sequence[Cell]) โ€“ A sequence of Cell objects specifying regions where to assign the stack direction.

  • referenceRegion (Face) โ€“ A Face object specifying the top side of the stack direction.

associateMeshWithGeometry(geometricEntity, elements=(), elemFaces=(), elemEdges=(), node=<abaqus.Mesh.MeshNode.MeshNode object>)[source]๏ƒ

This method associates a geometric entity with mesh entities that are either orphan elements, bounds orphan elements, or were created using the bottom-up meshing technique.

Parameters:
  • geometricEntity (str) โ€“ A Cell, a Face, an Edge, or a ConstrainedSketchVertex object specifying geometric entity to be associated with one or more mesh entities.If the geometric entity is a Cell object then the argument elements must be specified.If the geometric entity is a Face object then the argument elemFaces must be specified.If the geometric entity is an Edge object then the argument elemEdges must be specified.If the geometric entity is a ConstrainedSketchVertex object then the argument node must be specified.

  • elements (Sequence[MeshElement], default: ()) โ€“ A sequence of MeshElement objects specifying the elements to be associated with the geometric cell.

  • elemFaces (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the element faces to be associated with the geometric face.

  • elemEdges (Sequence[MeshEdge], default: ()) โ€“ A sequence of MeshEdge objects specifying the element edges to be associated with the geometric edge.

  • node (MeshNode, default: <abaqus.Mesh.MeshNode.MeshNode object at 0x7f5b3e8c01d0>) โ€“ A MeshNode object specifying the mesh node to be associated with the geometric vertex.

createVirtualTopology(regions=(), mergeShortEdges=False, shortEdgeThreshold=None, mergeSmallFaces=False, smallFaceAreaThreshold=None, mergeSliverFaces=False, faceAspectRatioThreshold=None, mergeSmallAngleFaces=False, smallFaceCornerAngleThreshold=None, mergeThinStairFaces=False, thinStairFaceThreshold=None, ignoreRedundantEntities=False, cornerAngleTolerance=30, applyBlendControls=False, blendSubtendedAngleTolerance=None, blendRadiusTolerance=None)[source]๏ƒ

This method creates a virtual topology feature by automatically merging faces and edges based on a set of geometric parameters. The edges and vertices that are being merged will be ignored during mesh generation.

Parameters:
  • regions (Sequence[Face], default: ()) โ€“ A sequence of Face objects specifying the domain to search for geometric entities that need to be merged. Entities identified as candidates to be merged may be merged with entities from outside the specified region. If regions is not specified then the entire part is the domain for searching geometric entities that need to be merged.

  • mergeShortEdges (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge short edges. The default value is False.

  • shortEdgeThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which edges are considered to be short. These edges are the candidate entities to be merged. This argument is a required argument if the argument*mergeShortEdges* equals True and it is ignored if the argument mergeShortEdges equals False.

  • mergeSmallFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces with small area. The default value is False.

  • smallFaceAreaThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which faces are considered to have a small area. These faces are the candidate entities to be merged. This argument is a required argument if the argument*mergeSmallFaces* equals True and it is ignored if the argument mergeSmallFaces equals False.

  • mergeSliverFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces with high aspect ratio. The default value is False.

  • faceAspectRatioThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which faces are considered to have high aspect ratio. These faces are the candidate entities to be merged. This argument is a required argument if the argument*mergeSliverFaces* equals True and it is ignored if the argument mergeSliverFaces equals False.

  • mergeSmallAngleFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces that have a sharp corner angle. The default value is False.

  • smallFaceCornerAngleThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which face corner angles are considered to be small. These faces will be candidate entities to be merged. This argument is a required argument if the argument*mergeSmallAngleFaces* equals True and it is ignored if the argument mergeSmallAngleFaces equals False.

  • mergeThinStairFaces (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to merge faces that represent a thin stair-like feature. The default value is False.

  • thinStairFaceThreshold (Optional[float], default: None) โ€“ A Float specifying a threshold that determines which faces representing small stair-like features are considered thin. These faces will be candidate entities to be merged. This argument is required if the argument mergeThinStairFaces is True and it is ignored if mergeThinStairFaces is False.

  • ignoreRedundantEntities (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to abstract away redundant edges and vertices. The default value is False.

  • cornerAngleTolerance (float, default: 30) โ€“ A Float specifying the angle deviation from 180 degrees at a vertex or at an edge such that the two edges radiating from the vertex or the two faces bounded by the edge can be merged. The default value is 30.0 degrees.

  • applyBlendControls (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether to verify that blend faces can be merged with neighboring faces. If applyBlendControls is true then all faces that have angle larger than blendSubtendedAngleTolerance and a radius smaller than blendRadiusTolerance will not be merged with neighboring faces unless the neighboring faces are also blend faces with similar geometric characteristics. The default value is False.

  • blendSubtendedAngleTolerance (Optional[float], default: None) โ€“ A Float specifying the largest subtended angle of blend faces that can be merged with neighboring faces. This argument is a required argument if the argument applyBlendControls equals True and it is ignored if the argument applyBlendControls equals False.

  • blendRadiusTolerance (Optional[float], default: None) โ€“ A Float specifying the smallest radius of curvature of blend faces that can be merged with neighboring faces. This argument is a required argument if the argument applyBlendControls equals True and it is ignored if the argument applyBlendControls equals False.

Returns:

feature โ€“ A Feature object

Return type:

Feature

deleteBoundaryLayerControls(regions)[source]๏ƒ

This method deletes the control parameters for boundary layer mesh for all the specified regions.

Parameters:

regions (Sequence[Cell]) โ€“ A sequence of Cell objects specifying the regions for which to set the boundary layer mesh control parameters.

deleteMesh(regions)[source]๏ƒ

This method deletes a subset of the mesh that contains the native elements from the given parts or regions.

Parameters:

regions (Sequence[MeshPart]) โ€“ A sequence of Part objects or Region objects specifying the parts or regions from which the native mesh is to be deleted.

deleteMeshAssociationWithGeometry(geometricEntities, addBoundingEntities=False)[source]๏ƒ

This method deletes the association of geometric entities with mesh entities.

Parameters:
  • geometricEntities (Sequence[Cell]) โ€“ A sequence of Cell objects, Face objects, Edge objects, or ConstrainedSketchVertex objects specifying the geometric entities that will be disassociated from the mesh.

  • addBoundingEntities (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether the mesh will also be disassociated from the geometric entities that bounds the given geometricEntities. For example, if the argument geometricEntities contains a face, this boolean indicates whether the edges and vertices that bound the face will also be disassociated from the mesh. The default value is False.

deletePreviewMesh()[source]๏ƒ

This method deletes all boundary meshes in the parts.

See the boundaryPreview argument of generateMesh for information about generating boundary meshes.

deleteSeeds(regions)[source]๏ƒ

This method deletes the global edge seeds from the given parts or deletes the local edge seeds from the given edges.

Parameters:

regions (Sequence[MeshPart]) โ€“ A sequence of Part objects or Edge objects specifying the parts or edges from which the seeds are to be deleted.

generateBottomUpExtrudedMesh(cell, numberOfLayers, extrudeVector, geometrySourceSide='', elemFacesSourceSide=(), elemSourceSide=(), depth=None, targetSide='', biasRatio=1, extendElementSets=False)[source]๏ƒ

This method generates solid elements by extruding a 2D mesh along a vector, either on an orphan mesh or within a cell region using a bottom-up technique.

Parameters:
  • cell (Cell) โ€“ A Cell object specifying the geometric region where the mesh is to be generated. This argument is valid only for native parts.

  • numberOfLayers (int) โ€“ An Int specifying the number of layers to be generated along the extrusion vector.

  • extrudeVector (tuple) โ€“ A sequence of sequences of Floats specifying the start point and end point of a vector. Each point is defined by a tuple of three coordinates indicating its position. The direction of the mesh extrusion operation is from the first point to the second point.

  • geometrySourceSide (str, default: '') โ€“ A Region of Face objects specifying the geometric domain to be used as the source for the extrude meshing operation.

  • elemFacesSourceSide (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the faces of 3D elements to be used as the source for the extrude meshing operation.

  • elemSourceSide (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying the elements to be used as the source for the extrude meshing operation.

  • depth (Optional[float], default: None) โ€“ A Float specifying the distance of the mesh extrusion. If unspecified, the vector length of the extrudeVector argument is assumed.

  • targetSide (str, default: '') โ€“ A datum plane, a sequence of Face objects, a sequence of MeshFace objects, or a sequence of 2D MeshElement objects specifying the target of the extrude meshing operation. If specified, this argument overrides the depth argument, and all points on the source will be extruded in the direction of the extrusion vector until meeting the target.

  • biasRatio (float, default: 1) โ€“ A Float specifying a ratio of the element size in the extrusion direction between the source and the target sides of the extrusion. The default is 1.0, meaning no bias.

  • extendElementSets (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether existing element sets that include source elements will be extended to also include extruded elements. This argument is ignored for native parts. The default value is False.

generateBottomUpRevolvedMesh(cell, numberOfLayers, axisOfRevolution, angleOfRevolution, geometrySourceSide='', elemFacesSourceSide=(), elemSourceSide=(), extendElementSets=False)[source]๏ƒ

This method generates solid elements by revolving a 2D mesh around an axis, either on an orphan mesh or within a cell region using a bottom-up technique.

Parameters:
  • cell (Cell) โ€“ A Cell object specifying the geometric region where the mesh is to be generated. This argument is valid only for native parts.

  • numberOfLayers (int) โ€“ An Int specifying the number of layers of elements to be generated around the axis of revolution.

  • axisOfRevolution (tuple) โ€“ A sequence of sequences of Floats specifying the two points of the vector that describes the axis of revolution. Each point is defined by a tuple of three coordinates indicating its position. The direction of the axis of revolution is from the first point to the second point. The orientation of the revolution operation follows the right-hand-rule about the axis of revolution.

  • angleOfRevolution (float) โ€“ A Float specifying the angle of revolution.

  • geometrySourceSide (str, default: '') โ€“ A Region of Face objects specifying the geometric domain to be used as the source for the revolve meshing operation.

  • elemFacesSourceSide (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the faces of 3D elements to be used as the source for the revolve meshing operation.

  • elemSourceSide (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying the elements to be used as the source for the revolve meshing operation.

  • extendElementSets (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether existing element sets that include source elements will be extended to also include extruded elements. This argument is ignored for native parts. The default value is False.

generateBottomUpSweptMesh(cell, geometrySourceSide='', elemFacesSourceSide=(), elemSourceSide=(), geometryConnectingSides='', elemFacesConnectingSides=(), elemConnectingSides=(), targetSide=None, numberOfLayers=None, extendElementSets=False)[source]๏ƒ

This method generates solid elements by sweeping a 2D mesh, either on an orphan mesh or within a cell region using a bottom-up technique.

Parameters:
  • cell (Cell) โ€“ A Cell object specifying the geometric region where the mesh is to be generated. This argument is valid only for native parts.

  • geometrySourceSide (str, default: '') โ€“ A Region of Face objects specifying the geometric domain to be used as the source for the sweep meshing operation.

  • elemFacesSourceSide (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying the faces of 3D elements to be used as the source for the sweep meshing operation.

  • elemSourceSide (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying the elements to be used as the source for the sweep meshing operation.

  • geometryConnectingSides (str, default: '') โ€“ A Region of Face objects specifying connecting sides of the sweep meshing operation.

  • elemFacesConnectingSides (Sequence[MeshFace], default: ()) โ€“ A sequence of MeshFace objects specifying connecting sides of the sweep meshing operation.

  • elemConnectingSides (tuple, default: ()) โ€“ A sequence of 2D MeshElement objects specifying connecting sides of the sweep meshing operation.

  • targetSide (Optional[Face], default: None) โ€“ A Face object specifying the target side of the sweep meshing operation.

  • numberOfLayers (Optional[int], default: None) โ€“ An Int specifying the number of layers to be generated along the sweep direction.

  • extendElementSets (Union[AbaqusBoolean, bool], default: False) โ€“ A Boolean specifying whether existing element sets that include source elements will be extended to also include swept elements. This argument is ignored for native parts. The default value is False.

generateMesh(regions=(), seedConstraintOverride=0, meshTechniqueOverride=0, boundaryPreview=0, boundaryMeshOverride=0)[source]๏ƒ

This method generates a mesh in the given parts or regions.

Parameters:
  • regions (Sequence[MeshPart], default: ()) โ€“ A sequence of Part objects or Region objects specifying the parts or regions where the mesh is to be generated.

  • seedConstraintOverride (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether mesh generation is allowed to modify seed constraints. The default value is OFF.

  • meshTechniqueOverride (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether mesh generation is allowed to modify the existing mesh techniques so that a compatible mesh can be generated. The default value is OFF.

  • boundaryPreview (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether the generated mesh should be a boundary preview mesh. This option will only have an effect if any of the specified regions are to be meshed with tetrahedral elements or using the bottom-up technique with hexahedral or wedge elements. The default value is OFF.

  • boundaryMeshOverride (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether mesh generation is allowed to modify an existing boundary preview mesh. This option will only have an effect if any of the specified regions are to be meshed with tetrahedral elements and a boundary preview mesh already exists. The default value is OFF.

getEdgeSeeds(edge, attribute)[source]๏ƒ

This method returns an edge seed parameter for a specified edge of a part.

Parameters:
  • edge (Edge) โ€“ An Edge object specifying the edge to be queried.

  • attribute (Literal[EDGE_SEEDING_METHOD, BIAS_METHOD, NUMBER, AVERAGE_SIZE, DEVIATION_FACTOR, MIN_SIZE_FACTOR, BIAS_RATIO, BIAS_MIN_SIZE, BIAS_MAX_SIZE, VERTEX_ADJ_TO_SMALLEST_ELEM, SMALLEST_ELEM_LOCATION, CONSTRAINT]) โ€“

    A SymbolicConstant specifying the type of edge seed attribute to return. Possible values are:

    • EDGE_SEEDING_METHOD

    • BIAS_METHOD

    • NUMBER

    • AVERAGE_SIZE

    • DEVIATION_FACTOR

    • MIN_SIZE_FACTOR

    • BIAS_RATIO

    • BIAS_MIN_SIZE

    • BIAS_MAX_SIZE

    • VERTEX_ADJ_TO_SMALLEST_ELEM

    • SMALLEST_ELEM_LOCATION

    • CONSTRAINT

Returns:

The return value is a Float, an Int, or a SymbolicConstant depending on the value of the attribute argument.

The return value is dependent on the attribute argument.

  • If attribute = EDGE_SEEDING_METHOD, the return value is a SymbolicConstant specifying the edge seeding method used to create the seeds along the edge. Possible values are: UNIFORM_BY_NUMBER, UNIFORM_BY_SIZE, CURVATURE_BASED_BY_SIZE, BIASED, NONE

  • If attribute = BIAS_METHOD, the return value is a SymbolicConstant specifying the bias type used to create the seeds along the edge. Possible values are: SINGLE, DOUBLE, NONE

  • If attribute = NUMBER, the return value is an Int specifying the number of element seeds along the edge.

  • If attribute = AVERAGE_SIZE, the return value is a Float specifying the average element size along the edge.

  • If attribute = DEVIATION_FACTOR, the return value is a Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length. If edge seeds are not defined, the return value is zero.

  • If attribute = MIN_SIZE_FACTOR, the return value is a Float specifying the size of the smallest allowable element as a fraction of the specified global element size. If edge seeds are not defined, the return value is zero.

  • If attribute = BIAS_RATIO, the return value is a Float specifying the length ratio of the largest element to the smallest element.

  • If attribute = BIAS_MIN_SIZE, the return value is a Float specifying the length of the largest element; only applicable if the EDGE_SEEDING_METHOD is BIASED and seeds were specified by minimum and maximum sizes.

  • If attribute = BIAS_MAX_SIZE, the return value is a Float specifying the length of the largest element; only applicable if the EDGE_SEEDING_METHOD is BIASED and seeds were specified by minimum and maximum sizes.

  • If attribute = VERTEX_ADJ_TO_SMALLEST_ELEM, the return value is an Int specifying the ID of the vertex next to the smallest element; only applicable if the EDGE_SEEDING_METHOD is BIASED.

  • If attribute = SMALLEST_ELEM_LOCATION, the return value is a SymbolicConstant specifying the location of smallest elements for double bias seeds; only applicable if the EDGE_SEEDING_METHOD is BIASED and BIAS_METHOD is DOUBLE. Possible values are: SMALLEST_ELEM_AT_CENTER, SMALLEST_ELEM_AT_ENDS, NONE

  • If attribute = CONSTRAINT, the return value is a SymbolicConstant specifying how close the seeds must be matched by the mesh. Possible values are: FREE, FINER, FIXED, NONE

A value of NONE indicates that the edge is not seeded.

Return type:

Union[float, int, SymbolicConstant]

getElementType(region, elemShape)[source]๏ƒ

This method returns the ElemType object of a given element shape assigned to a region of a part.

Parameters:
  • region (str) โ€“ A Cell, a Face, or an Edge object specifying the region to be queried.

  • elemShape (Literal[LINE, QUAD, TRI, HEX, WEDGE, TET]) โ€“

    A SymbolicConstant specifying the shape of the element for which to return the element type. Possible values are:

    • LINE

    • QUAD

    • TRI

    • HEX

    • WEDGE

    • TET

Returns:

An ElemType object.

Return type:

ElementType

Raises:

TypeError โ€“ The region cannot be associated with element types or the elemShape is not consistent with the dimension of the region.

getIncompatibleMeshInterfaces(cells=())[source]๏ƒ

This method returns a sequence of Face objects that are meshed with incompatible elements.

Parameters:

cells (Sequence[Cell], default: ()) โ€“ A sequence of cell objects which will be used to search the incompatible faces.

Returns:

A sequence of Face objects.

Return type:

Sequence[Face]

getMeshControl(region, attribute)[source]๏ƒ

This method returns a mesh control parameter for the specified region of a part.

Parameters:
  • region (str) โ€“ A Cell, a Face, or an Edge object specifying the region to be queried.

  • attribute (Literal[HEX_DOMINATED, ELEM_SHAPE, FREE, QUAD, TRI, LINE, QUAD_DOMINATED, HEX, SWEEP, UNMESHABLE, NON_DEFAULT, TET, ALGORITHM, DEFAULT, NONE, MEDIAL_AXIS, ADVANCING_FRONT, WEDGE, MIN_TRANSITION, STRUCTURED, TECHNIQUE]) โ€“

    A SymbolicConstant specifying the mesh control attribute to return. Possible values are:

    • ELEM_SHAPE

    • TECHNIQUE

    • ALGORITHM

    • MIN_TRANSITION

    The return value is dependent on the attribute argument.

    • If attribute = ELEM_SHAPE, the return value is a SymbolicConstant specifying the element shape used during meshing. Possible values are: LINE, QUAD, TRI, QUAD_DOMINATED, HEX, TET, WEDGE, HEX_DOMINATED

    • If attribute = TECHNIQUE, the return value is a SymbolicConstant specifying the meshing technique to be used during meshing. Possible values are: FREE, STRUCTURED, SWEEP, UNMESHABLE, Where UNMESHABLE indicates that no meshing technique is applicable with the currently assigned element shape.

    • If attribute = ALGORITHM, the return value is a SymbolicConstant specifying the meshing algorithm to be used during meshing. Possible values are: MEDIAL_AXIS, ADVANCING_FRONT, DEFAULT, NON_DEFAULT, NONE, Where NONE indicates that no algorithm is applicable.

    • If attribute = MIN_TRANSITION, the return value is a Boolean indicating whether minimum transition will be used during meshing. This option is applicable only to the following: Free quadrilateral meshing or sweep hexahedral meshing with algorithm = MEDIAL_AXIS, Structured quadrilateral meshing.

Returns:

The return value is a SymbolicConstant or a Boolean depending on the value of the attribute argument.

Return type:

Union[bool, SymbolicConstant]

Raises:

TypeError โ€“ The region cannot carry mesh controls.

getMeshStats(regions)[source]๏ƒ

This method returns the mesh statistics for the given regions.

Parameters:

regions (Sequence[ConstrainedSketchGeometry]) โ€“ A sequence or tuple of ConstrainedSketchGeometry regions for which mesh statistics should be returned.

Returns:

A MeshStats object.

Return type:

MeshStats

getPartSeeds(attribute)[source]๏ƒ

This method returns a part seed parameter for the part.

Parameters:

attribute (Literal[SIZE, DEFAULT_SIZE, DEVIATION_FACTOR, MIN_SIZE_FACTOR]) โ€“

A SymbolicConstant specifying the type of part seed attribute to return. Possible values are:

  • SIZE

  • DEFAULT_SIZE

  • DEVIATION_FACTOR

  • MIN_SIZE_FACTOR

The return value depends on the value of the attribute argument.

  • If attribute = SIZE, the return value is a Float specifying the assigned global element size. If part seeds are not defined, the return value is zero.

  • If attribute = DEFAULT_SIZE, the return value is a Float specifying a suggested default global element size based upon the part geometry.

  • If attribute = DEVIATION_FACTOR, the return value is a Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length. If part seeds are not defined, the return value is zero.

  • If attribute = MIN_SIZE_FACTOR, the return value is a Float specifying the size of the smallest allowable element as a fraction of the specified global element size. If part seeds are not defined, the return value is zero.

Returns:

The return value is a Float that depends on the value of the attribute argument.

Return type:

float

Raises:

Error โ€“ Part does not contain native geometry, An exception occurs if the part does not contain native geometry.

getUnmeshedRegions()[source]๏ƒ

This method returns all geometric regions in the part that require a mesh for submitting an analysis but are either unmeshed or are meshed incompletely.

Returns:

A Region object, or None.

Return type:

Region

ignoreEntity(entities)[source]๏ƒ

This method creates a virtual topology feature. Virtual topology allows unimportant entities to be ignored during mesh generation. You can combine two adjacent faces by specifying a common edge to ignore. Similarly, you can combine two adjacent edges by specifying a common vertex to ignore.

Parameters:

entities (tuple) โ€“ A sequence of vertices and edges specifying the entities to be ignored during meshing.

Returns:

feature โ€“ A Feature object

Return type:

Feature

restoreIgnoredEntity(entities)[source]๏ƒ

This method restores vertices and edges that have been merged using a virtual topology feature.

Parameters:

entities (Sequence[IgnoredVertex]) โ€“ A sequence of IgnoredVertex objects and IgnoredEdge objects specifying the entities to be restored.

Returns:

feature โ€“ A Feature object

Return type:

Feature

seedEdgeByBias(biasMethod=abaqusConstants.SINGLE, end1Edges=Ellipsis, end2Edges=Ellipsis, centerEdges=Ellipsis, endEdges=Ellipsis, ratio=0, number=Ellipsis, minSize=0, maxSize=0, constraint=Ellipsis)[source]๏ƒ

This method seeds the given edges nonuniformly using the specified number of elements and bias ratio or the specified minimum and maximum element sizes.

Parameters:
  • biasMethod (Literal[SINGLE, DOUBLE], default: SINGLE) โ€“

    A SymbolicConstant specifying whether single- or double-biased seed distribution will be applied. If unspecified, single-biased seed distribution will be applied. Possible values are:

    • SINGLE: Single-biased seed distribution will be applied.

    • DOUBLE: Double-biased seed distribution will be applied.

  • end1Edges (Sequence[Edge], default: Ellipsis) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near the end where the normalized curve parameter=0.0. You must provide either the end1Edges or the end2Edges argument or both when biasMethod = SINGLE and omit both of them when biasMethod = DOUBLE. Note: You can determine which end is which by the order of the vertex indices returned by getVertices().

  • end2Edges (Sequence[Edge], default: Ellipsis) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near the end where the normalized curve parameter=1.0.

  • centerEdges (Sequence[Edge], default: Ellipsis) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near edge center. You must provide either the centerEdges or the endEdges argument or both when biasMethod = DOUBLE and omit both of them when biasMethod = SINGLE.

  • endEdges (Sequence[Edge], default: Ellipsis) โ€“ A sequence of Edge objects specifying the edges to seed. The smallest elements will be positioned near edge ends.

  • ratio (float, default: 0) โ€“ A Float specifying the ratio of the largest element to the smallest element. Possible values are 1.0 โ‰ค ratio โ‰ค 10โถ.

  • number (int, default: Ellipsis) โ€“ An Int specifying the number of elements along each edge. Possible values are 1 โ‰ค number โ‰ค 10โด.

  • minSize (float, default: 0) โ€“ A Float specifying the desired smallest element size.

  • maxSize (float, default: 0) โ€“ A Float specifying the desired largest element size. Note: You must specify either the ratio and number or minSize and maxSize pair of arguments.

  • constraint (Literal[FREE, FINER, FIXED], default: Ellipsis) โ€“

    A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:

    • FREE: The resulting mesh can be finer or coarser than the specified seeds.

    • FINER: The resulting mesh can be finer than the specified seeds.

    • FIXED: The seeds must be exactly matched by the mesh (only with respect to the number of elements, not to the nodal positioning).

seedEdgeByNumber(edges, number, constraint=Ellipsis)[source]๏ƒ

This method seeds the given edges uniformly based on the number of elements along the edges.

Parameters:
  • edges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed.

  • number (int) โ€“ An Int specifying the number of elements along each edge. Possible values are 1 โ‰ค number โ‰ค 10โด.

  • constraint (Literal[FREE, FINER, FIXED], default: Ellipsis) โ€“

    A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:

    • FREE: The resulting mesh can be finer or coarser than the specified seeds.

    • FINER: The resulting mesh can be finer than the specified seeds.

    • FIXED: The seeds must be exactly matched by the mesh (only with respect to the number of elements, not to the nodal positioning).

seedEdgeBySize(edges, size, deviationFactor=None, minSizeFactor=None, constraint=Ellipsis)[source]๏ƒ

This method seeds the given edges either uniformly or following edge curvature distribution, based on the desired element size.

Parameters:
  • edges (Sequence[Edge]) โ€“ A sequence of Edge objects specifying the edges to seed.

  • size (float) โ€“ A Float specifying the desired element size.

  • deviationFactor (Optional[float], default: None) โ€“ A Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length.

  • minSizeFactor (Optional[float], default: None) โ€“ A Float specifying the size of the smallest allowable element as a fraction of the specified global element size.

  • constraint (Literal[FREE, FINER, FIXED], default: Ellipsis) โ€“

    A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:

    • FREE: The resulting mesh can be finer or coarser than the specified seeds.

    • FINER: The resulting mesh can be finer than the specified seeds.

    • FIXED: The seeds must be exactly matched by the mesh (only with respect to the number of elements, not to the nodal positioning).

seedPart(size, deviationFactor=None, minSizeFactor=None, constraint=Ellipsis)[source]๏ƒ

This method assigns global edge seeds to the given parts.

Parameters:
  • size (float) โ€“ A Float specifying the desired global element size for the edges.

  • deviationFactor (Optional[float], default: None) โ€“ A Float specifying the deviation factor h/Lh/L, where hh is the chordal deviation and LL is the element length.

  • minSizeFactor (Optional[float], default: None) โ€“ A Float specifying the size of the smallest allowable element as a fraction of the specified global element size.

  • constraint (Literal[FREE, FINER], default: Ellipsis) โ€“

    A SymbolicConstant specifying how closely the seeds must be matched by the mesh. The default value is FREE. If unspecified, the existing constraint will remain unchanged. Possible values are:

    • FREE: The resulting mesh can be finer or coarser than the specified seeds.

    • FINER: The resulting mesh can be finer than the specified seeds.

setBoundaryLayerControls(regions, firstElemSize, growthFactor, numLayers, inactiveFaces=(), setName='')[source]๏ƒ

This method sets the control parameters for boundary layer mesh for the specified regions.

Parameters:
  • regions (Sequence[Cell]) โ€“ A sequence of Cell objects specifying the regions for which to set the boundary layer mesh control parameters.

  • firstElemSize (float) โ€“ A Float specifying the height of the first element layer off boundary. Possible values are 0.0 < firstElemSize โ‰ค 10โถ.

  • growthFactor (float) โ€“ A Float specifying the ratio of heights of any two consecutive element layers. Possible values are 1.0 โ‰ค growthFactor โ‰ค 10.0.

  • numLayers (int) โ€“ An Int specifying the number of element layers to be generated. Possible values are 1 โ‰ค numLayers โ‰ค 10โด.

  • inactiveFaces (Sequence[Face], default: ()) โ€“ A sequence of Face objects specifying the faces where boundary layer should not be generated. By default, boundary layer mesh will be generated on all faces of the selected regions.

  • setName (str, default: '') โ€“ A String specifying a unique name for a set that will contain boundary layer elements.

setElementType(regions, elemTypes)[source]๏ƒ

This method assigns element types to the specified regions.

Parameters:
  • regions (Union[Sequence[Union[ConstrainedSketchGeometry, Sequence[MeshElement], Sequence[Cell]]], Set]) โ€“ A sequence of ConstrainedSketchGeometry regions or MeshElement objects, or a Set object containing either geometry regions or elements, specifying the regions to which element types are to be assigned.

  • elemTypes (Sequence[ElemType]) โ€“ A sequence of ElemType objects, one for each element shape applicable to the regions. Note: If an ElemType object has an UNKNOWN_*xxx* value for elemCode, its order will be deduced from the order of other valid ElemType objects within the same setElementType command. If no valid ElemType objects can be found, the order will remain unchanged.

Raises:

Exception โ€“ As a result of the element assignment, a region must have the same library, family, and order for all its assigned element types. Otherwise, an exception will be thrown. For example, suppose the Hex, Wedge, and Tet elements previously assigned to a cell are all linear. The user now constructs an ElemType object with a quadratic Hex element and includes only this object in the setElementType command. An exception will be thrown because the Wedge and Tet elements will remain linear (i.e., As Is) and become incompatible with the newly assigned quadratic Hex element.

setLogicalCorners(region, corners)[source]๏ƒ

This method sets the logical corners for a mappable face region.

Parameters:
  • region (str) โ€“ A Face region.

  • corners (str) โ€“ Three, four, or five ConstrainedSketchVertex objects defining the logical corners for a given mappable face region.

setMeshControls(regions, elemShape=None, technique=None, algorithm=None, minTransition=1, sizeGrowth=None, allowMapped=0)[source]๏ƒ

This method sets the mesh control parameters for the specified regions.

Parameters:
  • regions (tuple) โ€“ A sequence of Face or Cell regions specifying the regions for which to set the mesh control parameters.

  • elemShape (Optional[Literal[HEX_DOMINATED, WEDGE, TET, QUAD_DOMINATED, HEX, QUAD, TRI]], default: None) โ€“

    A SymbolicConstant specifying the element shape to be used for meshing. The default value is QUAD for Face regions and HEX for Cell regions. If unspecified, the existing element shape will remain unchanged. Possible values are:

    • QUAD: Quadrilateral mesh.

    • QUAD_DOMINATED: Quadrilateral-dominated mesh.

    • TRI: Triangular mesh.

    • HEX: Hexahedral mesh.

    • HEX_DOMINATED: Hex-dominated mesh.

    • TET: Tetrahedral mesh.

    • WEDGE: Wedge mesh.

  • technique (Optional[Literal[BOTTOM_UP, STRUCTURED, FREE, SWEEP, SYSTEM_ASSIGN]], default: None) โ€“

    A SymbolicConstant specifying the mesh technique to be used. The default value is FREE for Face regions. For Cell regions the initial value depends on the geometry of the regions and can be STRUCTURED, SWEEP, or unmeshable. If unspecified, the existing mesh technique(s) will remain unchanged. Possible values are:

    • FREE: Free mesh technique.

    • STRUCTURED: Structured mesh technique.

    • SWEEP: Sweep mesh technique.

    • BOTTOM_UP: Bottom-up mesh technique. Only applicable for cell regions.

    • SYSTEM_ASSIGN: Allow the system to assign a suitable technique. The actual technique assigned can be STRUCTURED, SWEEP, or unmeshable.

  • algorithm (Optional[Literal[NON_DEFAULT, MEDIAL_AXIS, ADVANCING_FRONT]], default: None) โ€“

    A SymbolicConstant specifying the algorithm used to generate the mesh for the specified regions. Possible values are MEDIAL_AXIS, ADVANCING_FRONT, and NON_DEFAULT. If unspecified, the existing value will remain unchanged. This option is applicable only to the following:

    • Free quadrilateral or quadrilateral-dominated meshing. In this case the possible values are MEDIAL_AXIS and ADVANCING_FRONT.

    • Sweep hexahedral or hexahedral-dominated meshing. In this case the possible values are MEDIAL_AXIS and ADVANCING_FRONT.

    • Free tetrahedral meshing. In this case the only possible value is NON_DEFAULT, and it indicates that the free tetrahedral-meshing technique available in Abaqus 6.4 or earlier will be used. If algorithm is not specified, the default

  • minTransition (Union[AbaqusBoolean, bool], default: 1) โ€“

    A Boolean specifying whether minimum transition is to be applied. The default value is ON. If unspecified, the existing value will remain unchanged. This option is applicable only in the following cases:

    • Free quadrilateral meshing or hexahedral sweep meshing with algorithm = MEDIAL_AXIS.

    • Structured quadrilateral meshing.

  • sizeGrowth (Optional[Literal[MODERATE, MAXIMUM]], default: None) โ€“ A SymbolicConstant specifying element size growth to be applied when generating the interior of a tetrahedral mesh. Possible values are MODERATE and MAXIMUM. If unspecified, the existing value will remain unchanged. This option only applies to the default tetrahedral mesher.

  • allowMapped (Union[AbaqusBoolean, bool], default: 0) โ€“

    A Boolean specifying whether mapped meshing can be used to replace the selected mesh technique. The allowMapped argument is applicable only in the following cases:

    • Free triangular meshing.

    • Free quadrilateral or quadrilateral-dominated meshing with algorithm = ADVANCING_FRONT.

    • Hexahedral or hexahedral-dominated sweep meshing with algorithm = ADVANCING_FRONT.

    • Free tetrahedral meshing. allowMapped = True implies that mapped triangular meshing can be used on faces that bound three-dimensional regions.

setSweepPath(region, edge, sense)[source]๏ƒ

This method sets the sweep path for a sweepable region or the revolve path for a revolvable region.

Parameters:
  • region (str) โ€“ A sweepable region.

  • edge (Edge) โ€“ An Edge object specifying the sweep or revolve path.

  • sense (Literal[FORWARD]) โ€“ A SymbolicConstant specifying the sweep sense. The sense will affect only how gasket elements will be created; it will have no effect if gasket elements are not used. Possible values are FORWARD or REVERSE.If sense = FORWARD, the sense of the given edgeโ€™s underlying curve will be used.

verifyMeshQuality(criterion, threshold=None, elemShape=None, regions=())[source]๏ƒ

This method tests the mesh quality of a part and returns poor-quality elements.

Parameters:
  • criterion (Literal[ANALYSIS_CHECKS, ANGULAR_DEVIATION, GEOM_DEVIATION_FACTOR, MAX_FREQUENCY, LONGEST_EDGE, LARGE_ANGLE, SHORTEST_EDGE, STABLE_TIME_INCREMENT, SHAPE_FACTOR, ASPECT_RATIO, SMALL_ANGLE]) โ€“

    A SymbolicConstant specifying the criterion used for the quality check. Possible values are:

    • ANALYSIS_CHECKS When this criterion is specified Abaqus/CAE will invoke the element quality checks included with the input file processor for Abaqus/Standard and Abaqus/Explicit.

    • ANGULAR_DEVIATION The maximum amount (in degrees) that an elementโ€™s face corner angles deviate from the ideal angle. The ideal angle is 90ยฐ for quadrilateral element faces and 60ยฐ for triangular element faces. Elements with an angular deviation larger than the specified threshold will fail this test.

    • ASPECT_RATIO The ratio between the lengths of the longest and shortest edges of an element. Elements with an aspect ratio larger than the specified threshold will fail this test.

    • GEOM_DEVIATION_FACTOR The largest geometric deviation factor evaluated along any of the element edges associated with geometric edges or faces. The geometric deviation factor along an element edge is calculated by dividing the maximum gap between the element edge and its associated geometry by the length of the element edge. Elements with a geometric deviation factor larger than the specified threshold will fail this test.

    • LARGE_ANGLE The largest corner angle on any of an elementโ€™s faces. Elements with face angles larger than the specified threshold (in degrees) will fail this test.

    • LONGEST_EDGE The length of an elementโ€™s longest edge. Elements with an edge longer than the specified threshold will fail this test.

    • MAX_FREQUENCY An estimate of an elementโ€™s contribution to the initial maximum allowable frequency for Abaqus/Standard analyses. This calculation requires appropriate section assignments and material definitions. Elements whose maximum allowable frequency is smaller than the given value will fail this test.

    • SHAPE_FACTOR The shape factor for triangular and tetrahedral elements. This is the ratio between the element area or volume and the optimal element area or volume. Elements with a shape factor smaller than the specified threshold will fail this test.

    • SHORTEST_EDGE The length of an elementโ€™s shortest edge. Elements with an edge shorter than the specified threshold will fail this test.

    • SMALL_ANGLE The smallest corner angle on any of an elementโ€™s faces. Elements with face angles smaller than the given value (in degrees) will fail this test.

    • STABLE_TIME_INCREMENT An estimate of an elementโ€™s contribution to the initial maximum stable time increment for Abaqus/Explicit analyses. This calculation requires appropriate section assignments and material definitions. Elements that require a time increment smaller than the given value will fail this test.

  • threshold (Optional[float], default: None) โ€“ A Float value used to determine low quality elements according to the specified criterion. This argument is ignored when the ANALYSIS_CHECKS criterion is used. For other criterion, if this argument is unspecified then no list of failed elements will be returned.

  • elemShape (Optional[Literal[LINE, WEDGE, TET, HEX, QUAD, TRI]], default: None) โ€“ A SymbolicConstant specifying an element shape for limiting the query. Possible values are LINE, QUAD, TRI, HEX, WEDGE, and TET.

  • regions (tuple, default: ()) โ€“ A sequence of Region or MeshElement objects. If you do not specify the regions argument, the entire part mesh is considered.

Returns:

A Dictionary object containing values for some number of the following keys: failedElements, warningElements, naElements (sequences of MeshElement objects); numElements (Int); average, worst (Float); worstElement (MeshElement object) .

Return type:

dict[str, int | float, MeshElement]

class MeshStats[source]๏ƒ

Bases: object

The MeshStats object is a query object for holding mesh statistics and is returned by the getMeshStats command. The object does not have any methods.

Note

This object can be accessed by:

import mesh

Member Details:

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

An Int specifying the number of hexahedral elements.

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

An Int specifying the number of line elements.

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

An Int specifying the number of regions that contain a mesh.

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

An Int specifying the number of nodes.

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

An Int specifying the number of point elements.

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

An Int specifying the number of pyramid elements.

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

An Int specifying the number of quadrilateral elements.

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

An Int specifying the number of tetrahedral elements.

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

An Int specifying the number of triangular elements.

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

An Int specifying the number of wedge elements.

class MesherOptions[source]๏ƒ

Bases: object

The MesherOptions object controls the default settings that Abaqus uses for all meshing methods. The MesherOptions object has no constructor. Abaqus creates the MesherOptions member when a session is started. MesherOptions commands are intended for use at the beginning of scripts and in the abaqus_v6.env file only; they should not be used during an Abaqus/CAE session.

Note

This object can be accessed by:

session.defaultMesherOptions

Member Details:

setValues(elemShape2D=abaqusConstants.QUAD_DOMINATED, elemShape3D=abaqusConstants.HEX, quadAlgorithm=abaqusConstants.ADVANCING_FRONT, allowMapped=0, minTransition=1, guiPreferredElements=None)[source]๏ƒ

This method modifies the MesherOptions object.

Parameters:
  • elemShape2D (Literal[TRI, QUAD, QUAD_DOMINATED], default: QUAD_DOMINATED) โ€“ A SymbolicConstant specifying the default element shape for meshing two-dimensional objects. Possible values are QUAD, QUAD_DOMINATED, and TRI. The default value is QUAD_DOMINATED.

  • elemShape3D (Literal[TET, HEX_DOMINATED, HEX, WEDGE], default: HEX) โ€“ A SymbolicConstant specifying the default element shape for meshing three-dimensional objects. Possible values are HEX, HEX_DOMINATED, WEDGE, and TET. The default value is HEX.

  • quadAlgorithm (Literal[MEDIAL_AXIS, ADVANCING_FRONT], default: ADVANCING_FRONT) โ€“ A SymbolicConstant specifying the default algorithm for meshing an object with quad- or quad-dominated elements. Possible values are ADVANCING_FRONT and MEDIAL_AXIS. The default value is ADVANCING_FRONT.

  • allowMapped (Union[AbaqusBoolean, bool], default: 0) โ€“ A Boolean specifying whether Abaqus/CAE should allow mapped meshing, where appropriate. The default value is OFF.

  • minTransition (Union[AbaqusBoolean, bool], default: 1) โ€“ A Boolean specifying whether Abaqus/CAE should attempt to minimize the mesh transition when it moves from a coarse mesh to a fine mesh. The default value is ON.

  • guiPreferredElements (Optional[SymbolicConstant], default: None) โ€“

    A list of SymbolicConstants specifying preferred Abaqus element types. This setting is relevant only when Abaqus/CAE is run interactively. When a part or part instance that has never been assigned an element type is meshed, this list is consulted. If an element type appropriate to the geometry is found in the list, it is assigned to the geometry. Multiple element types representing different shapes (for example, triangles and quadrilaterals) can be assigned in combination, but only element types that are compatible with each other are used. When more than one appropriate element type is found in the list, the first element type encountered takes precedence. This list is also consulted when populating the element type dialog; preferred types are selected by default for a region not previously assigned any element types. The default value is an empty list.

    New in version 2018: The guiPreferredElements argument was added.