ansys.mapdl.core.Mapdl.psmesh#
- Mapdl.psmesh(secid='', name='', p0='', egroup='', num='', kcn='', kdir='', value='', ndplane='', pstol='', pstype='', ecomp='', ncomp='', **kwargs)#
Creates and meshes a pretension section (
PRETS179) or a preload section (MPC184).Mechanical APDL Command: PSMESH
- Parameters:
- secid
str Unique section number. This number must not already be assigned to a section.
- name
str Unique eight character descriptive name, if desired.
- p0
str Pretension node number (for a pretension section using
PRETS179) or joint element number (for a preload section usingMPC184).For a pretension element, the node is defined if it doesn’t exist, and the number defaults to the highest node number plus one.
For a joint element, a unique element number is assigned by default.
- egroup
str Element group on which psmesh will operate. If
Egroup= P, graphical picking is enabled andNUMis ignored (valid only in the GUI).L (or LINE)- psmesh operates on all elements in the line specified byNUM. New pretension nodes are associated withNUMor entities below it. Any subsequent lclear operation ofNUMdeletes the pretension elements and nodes created by psmesh. (MPC184joint elements and associated contact pairs of a preload section are not deleted by lclear.)A (or AREA)- psmesh operates on all elements in the area specified byNUM. New pretension nodes are associated withNUMor entities below it. Any subsequent aclear ofNUMdeletes the pretension elements and nodes created by psmesh. (MPC184joint elements and associated contact pairs of a preload section are not deleted by aclear.)V (or VOLU)- psmesh operates on all elements in the volume specified byNUM. New pretension nodes are associated withNUMor entities below it. Any subsequent vclear ofNUMdeletes the pretension elements and nodes created by psmesh. (MPC184joint elements and associated contact pairs of a preload section are not deleted by vclear.)P- psmesh operates on elements selected through the subsequent picking operations, andNUMis ignoredALL- The command operates on all selected elements, andNUMis ignored.
- num
str Element group on which psmesh will operate. If
Egroup= P, graphical picking is enabled andNUMis ignored (valid only in the GUI).L (or LINE)- psmesh operates on all elements in the line specified byNUM. New pretension nodes are associated withNUMor entities below it. Any subsequent lclear operation ofNUMdeletes the pretension elements and nodes created by psmesh. (MPC184joint elements and associated contact pairs of a preload section are not deleted by lclear.)A (or AREA)- psmesh operates on all elements in the area specified byNUM. New pretension nodes are associated withNUMor entities below it. Any subsequent aclear ofNUMdeletes the pretension elements and nodes created by psmesh. (MPC184joint elements and associated contact pairs of a preload section are not deleted by aclear.)V (or VOLU)- psmesh operates on all elements in the volume specified byNUM. New pretension nodes are associated withNUMor entities below it. Any subsequent vclear ofNUMdeletes the pretension elements and nodes created by psmesh. (MPC184joint elements and associated contact pairs of a preload section are not deleted by vclear.)P- psmesh operates on elements selected through the subsequent picking operations, andNUMis ignoredALL- The command operates on all selected elements, andNUMis ignored.
- kcn
str Coordinate system number for the separation surface and normal direction.
- kdir
str Direction (x, y, or z) normal to separation surface in the
KCNcoordinate system.If
KCNis Cartesian, the pretension section normal will be parallel to theKDIRaxis regardless of the position of the pretension node.If
KCNis non-Cartesian, the pretension section normal will be aligned with theKDIRdirection of systemKCNat the position of the pretension node.For an
MPC184joint element defined as part of a preload section,KDIRis used to define the normal of the separation surface and does not affect the axis direction of the joint element.- value
str Point along the
KDIRaxis at which to locate the separation surface. Ignored ifNDPLANEis supplied.- ndplane
str Existing node that psmesh will use to locate the separation surface. If
NDPLANEis supplied, the location of the separation surface is defined by theKDIRcoordinate ofNDPLANE.- pstol
str Optional tolerance below
VALUE. Allows nodes occurring precisely at or slightly below the separation to be identified properly as above the plane. Has the effect of shifting the plane down byPSTOL. The following expression represents the default value:\[equation not available of the locally selected region of the model based on nodal locations\](that is, ΔX = X
max- Xmin).- pstype
str Type of pretension or preload section to be generated.
If a positive value is specified (or if this argument is left blank), a pretension section that includes
PRETS179elements is generated. The value entered is the element type number forPRETS179. If no number is specified, the program defines the element type number.If TORQUE is specified, a preload section that includes a cylindrical joint element (
MPC184) is generated as follows:For a 2D model : An x-axis cylindrical joint element is generated along with two force- distributed surface-based constraints. A local Cartesian coordinate system is created at the first node of the joint element such that the local x- axis is the axis of that element (KEYOPT(4) = 0 for the
MPC184element).For a 3D model : A z-axis cylindrical joint element is generated along with two force- distributed surface-based constraints. A local Cartesian coordinate system is created at the first node of the joint element such that the local z- axis is the axis of that element (KEYOPT(4) = 1 for the
MPC184element).For a 3D model that contains beam elements : A z-axis cylindrical joint element is generated between the endpoints of two beam elements. (No force-distributed surface-based constraints are needed.) A local Cartesian coordinate system is created at the first node of the joint element such that the local z- axis is the axis of that element (KEYOPT(4) = 1 for the
MPC184element).
If a negative value is specified, a preload section that includes a screw joint element (
MPC184) is created with the absolute value ofPSTYPEused as the pitch value for the joint. This option is only valid for 3D models. Two force-distributed surface-based constraints are generated at the cutting surfaces, except for the case of a beam model which does not need the force-distributed constraints. A local Cartesian coordinate system is created at the first node of the joint element such that the local z- axis is the axis of that element.- ecomp
str If specified, the name of a component to be composed of new pretension elements and existing elements modified by the psmesh command. This argument is not used with the
MPC184joint element.- ncomp
str Name of a component to be composed of nodes on new pretension elements. This argument is not used with the
MPC184joint element.
- secid
Notes
psmesh generates a pretension section (
PRETS179) or a preload section (MPC184) for modeling bolt fastener preloads. The type of section is specified by thePSTYPEargument.The psmesh command is valid for structural analyses only.
Pretension Section (
PRETS179)#When
PSTYPEis a positive value or blank, the psmesh command creates a pretension section normal to the pretension load direction by cutting the mesh along existing element boundaries at the point defined byVALUEorNDPLANEand insertingPRETS179elements. The psmesh command verifies thatPSTYPEis aPRETS179element type; if it is not, the command finds the lowest availableITYPE( et ) that isPRETS179, or it creates a new one if necessary.When it is necessary to define the pretension node, the program uses node
NDPLANE. If theNDPLANEvalue is not specified, the program defines the pretension node at:The centroid of geometric entity
NUM, ifEgroup= LINE, AREA, or VOLU; orThe centroid location of all selected elements, if
Egroup= ALL or if graphical picking is used.
If the elements to which the pretension load is to be applied have already been meshed in two groups, psmesh cannot be used to insert the pretension elements. The eintf command must be used to insert the
PRETS179elements between the two meshed groups.The psmesh operation copies any nodal temperatures you have defined on the split surface of the original mesh from the original nodes to the newly created coincident duplicate nodes. However, displacements, forces, and other boundary conditions are not copied.
By mathematical definition, the pretension surface must always be a flat plane. In a non-Cartesian coordinate system, the psmesh command creates that plane at the indicated position, oriented with respect to the specified direction of the active system (in the same manner that the nrotat command orients a nodal system with respect to a curved system). For example, assuming X = 1 and Y = 45 in a cylindrical coordinate system with Z as the axis of rotation (
KCN= 1), a pretension surface normal to X tilts 45 degrees away from the global X axis.A pretension section can be defined for fastener models made up of any 2D or 3D structural solid, beam, shell, pipe, or link element type. The elements can be low- or high-order.
The pretension section is also supported for general axisymmetric elements (
SOLID272andSOLID273). psmesh cuts the model and generatesPRETS179elements between all Fourier nodes in the circumferential direction.For more information, see Defining Pretension in a Joint Fastener
Preload Section (
MPC184)#When
PSTYPEis a negative value or set to TORQUE, the psmesh command defines anMPC184joint element for applying a preload to a bolt undergoing large rotation or large deformation. psmesh cuts the mesh in two parts along existing element boundaries at the point defined byVALUEorNDPLANE. It generates force-distributed surface-based constraints (remote points) on the cutting surfaces, inserts anMPC184joint element that connects the two pilot nodes, and creates a local Cartesian coordinate system at the first node of the joint element to define the normal direction. If the joint is between beam elements, no force-distributed constraints are generated. For more information, see Defining Preload in a Joint Fastener Undergoing Large RotationThe preload section based on
MPC184is not supported for general axisymmetric elements (SOLID272andSOLID273).