ansys.mapdl.core.Mapdl.va#

Mapdl.va(a1='', a2='', a3='', a4='', a5='', a6='', a7='', a8='', a9='', a10='', **kwargs)#

Generates a volume bounded by existing areas.

Mechanical APDL Command: VA

Parameters:
a1str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a2str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a3str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a4str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a5str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a6str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a7str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a8str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a9str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

a10str

List of areas defining volume. The minimum number of areas is 4. If A1 = ALL, use all selected ( asel ) areas and ignore A2 to A10. If A1 = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for A1.

Returns:
int

Volume number of the volume.

Notes

This command conveniently allows generating volumes from regions having more than eight keypoints (which is not allowed with the v command). Areas may be input in any order. The exterior surface of a va volume must be continuous, but holes may pass completely through it.

Examples

Create a simple tetrahedral bounded by 4 areas.

>>> k0 = mapdl.k('', -1, 0, 0)
>>> k1 = mapdl.k('', 1, 0,  0)
>>> k2 = mapdl.k('', 1, 1, 0)
>>> k3 = mapdl.k('', 1, 0.5, 1)
>>> a0 = mapdl.a(k0, k1, k2)
>>> a1 = mapdl.a(k0, k1, k3)
>>> a2 = mapdl.a(k1, k2, k3)
>>> a3 = mapdl.a(k0, k2, k3)
>>> vnum = mapdl.va(a0, a1, a2, a3)
>>> vnum
1