Mapdl.pbc(item='', key='', min_='', max_='', abs_='', **kwargs)

Shows boundary condition (BC) symbols and values on displays.

APDL Command: /PBC


Label identifying the item:

U - Applied translational constraints (UX, UY, UZ).

ROT - Applied rotational constraints (ROTX, ROTY, ROTZ).

TEMP - Applied temperatures (TEMP, TBOT, TE2, TE3, …, TTOP).

PRES - Applied fluid pressures.

V - Applied flow velocities (VX, VY, VZ).

VOLT - Applied voltages.

MAG - Applied scalar magnetic potentials.

A - Applied vector magnetic potentials.

CONC - Concentration.

CHRG - Applied electric charge.

F or FORC - Applied structural forces (FX, FY, FZ).

M or MOME - Applied structural moments (MX, MY, MZ).

HEAT - Applied heat flows (HEAT, HBOT, HE2, HE3, …, HTOP).

FLOW - Applied fluid flow.

AMPS - Applied current flow.

FLUX - Applied magnetic flux.

CSG - Applied magnetic current segments.

RATE - Diffusion flow rate.

MAST - Master degrees of freedom.

CP - Coupled nodes.

CE - Nodes in constraint equations.

NFOR - POST1 nodal forces.

NMOM - POST1 nodal moments

RFOR - POST1 reaction forces.

RMOM - POST1 reaction moments (MX, MY, MZ).

PATH - Path geometry (undistorted) associated with the PATH command after a PDEF or

PVECT command has been issued.

ACEL - Global acceleration (ACELX, ACELY, ACELZ vector).

OMEG - Global angular velocity (OMEGX, OMEGY, OMEGZ vector) and acceleration (DOMEGX,


WELD - Applied spotwelds (ANSYS LS-DYNA).

ALL - Represents all appropriate labels.


Symbol key:

0 - Do not show symbol.

1 - Show symbol.

2 - Plot value next to symbol.


Minimum value in a range of values plotted on screen.


Maximum value in a range of values plotted on screen.


Absolute number. If KEY = 2 and ABS = 0, a number falling between the MIN and MAX is displayed. If ABS is not specified, it defaults to 0. If KEY = 2 and ABS = 1, an absolute value falling between the MIN and MAX is displayed. ABS = 1 lets you eliminate the display of numbers whose absolute values are less than a desired tolerance. For example, if ABS = 1, MIN = 10 and MAX = 1e8, values such as .83646 and -5.59737 are not displayed.


The mapdl.pbc command adds degree of freedom constraint, force load, and other symbols to displays.

Symbols are applied to the selected nodes only. All arrow and arrowhead symbols are oriented in the nodal coordinate system and lie in two perpendicular planes. Force arrows are scaled proportional to their magnitude. (If KEY = 1, use /VSCALE to change arrow length.) For scalar quantities, the specific component direction (i.e., x, y, or z) of the symbol has no meaning, but the positive or negative sense (e.g., positive or negative x) represents a positive or negative scalar value, respectively.

The effects of the mapdl.pbc command are not cumulative (that is, the command does not modify an existing setting from a previously issued mapdl.pbc command). If you issue multiple mapdl.pbc commands during an analysis, only the setting specified by the most recent mapdl.pbc command applies.

Use mapdl.pstatus() or mapdl.pbc('STAT') to display settings. Use mapdl.pbc('DEFA') to reset all specifications back to default. See the mapdl.psf and mapdl.pbf commands for other display symbols.

In a cyclic symmetry analysis, the mapdl.pbc command is deactivated when cyclic expansion is active (/CYCEXPAND,,ON). To view boundary conditions on the basic sector, deactivate cyclic expansion (/CYCEXPAND,,OFF) and issue this command: mapdl.pbc('ALL', 1)

Issuing the command mapdl.pbc('PATH', 1) displays all defined paths.

The mapdl.pbc command is valid in any processor.


On all subsequent plots (after this command). Activate display of translational boundary condition symbols.

>>> mapdl.pbc('U', 1)

Display enforced nodal temperatures

>>> mapdl.pbc('TEMP', 1)