- Mapdl.vsweep(vnum='', srca='', trga='', lsmo='', **kwargs)#
Fills an existing unmeshed volume with elements by sweeping the mesh
APDL Command: VSWEEP from an adjacent area through the volume.
Number identifying the volume that is to be meshed by VSWEEP. If VNUM = P, graphical picking is enabled, you will be prompted to choose the volume or volumes based on the setting of EXTOPT,VSWE,AUTO. This argument is required.
Number identifying the source area. This is the area whose mesh will provide the pattern for the volume elements. (If you do not mesh the source area prior to volume sweeping, ANSYS meshes it internally when you initiate volume sweeping.) ANSYS sweeps the pattern of the area elements through the volume to create the mesh of volume elements. You cannot substitute a component name for SRCA.
Number identifying the target area. This is the area that is opposite the source area specified by SRCA. You cannot substitute a component name for TRGA.
Value specifying whether ANSYS should perform line smoothing during volume sweeping. (The value of this argument controls line smoothing for the VSWEEP command only; it has no effect on the setting of the MOPT command’s LSMO option.) This argument is optional.
0 - Do not perform line smoothing. This is the default.
- 1 - Always perform line smoothing. This setting is not recommended for large
models due to speed considerations.
If the source mesh consists of quadrilateral elements, ANSYS fills the volume with hexahedral elements. If the source mesh consists of triangles, ANSYS fills the volume with wedges. If the source mesh consists of a combination of quadrilaterals and triangles, ANSYS fills the volume with a combination of hexahedral and wedge elements.
In the past, you may have used the VROTAT, VEXT, VOFFST, and/or VDRAG commands to extrude a meshed area into a meshed volume. However, those commands create the volume and the volume mesh simultaneously. In contrast, the VSWEEP command is intended for use in an existing unmeshed volume. This makes VSWEEP particularly useful when you have imported a solid model that was created in another program, and you want to mesh it in ANSYS.
For related information, see the description of the EXTOPT command (although EXTOPT sets volume sweeping options, it does not affect element spacing). Also see the detailed discussion of volume sweeping in Meshing Your Solid Model of the Modeling and Meshing Guide.