va#
- Volumes.va(a1='', a2='', a3='', a4='', a5='', a6='', a7='', a8='', a9='', a10='', **kwargs)#
Generates a volume bounded by existing areas.
Mechanical APDL Command: VA
- Parameters:
- a1
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a2
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a3
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a4
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a5
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a6
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a7
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a8
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a9
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.- a10
str List of areas defining volume. The minimum number of areas is 4. If
A1= ALL, use all selected ( asel ) areas and ignoreA2toA10. IfA1= P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted forA1.
- a1
- Returns:
intVolume 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