ansys.mapdl.core.Mapdl.format#
- Mapdl.format(ndigit='', ftype='', nwidth='', dsignf='', line='', char_='', exptype='', **kwargs)#
Specifies format controls for tables.
Mechanical APDL Command: /FORMAT
- Parameters:
- ndigit
str
Number of digits (3 to 32) in first table column (usually the node or element number). Initially defaults to 7.
- ftype
str
FORTRAN format type:
G
- Gxx.yy
(default)F
- Fxx.yy
E
- Exx.yy
where
xx
andyy
are described below.- nwidth
str
Total width (9 to 32) of the field (
xx
inFtype
). Default = 13.- dsignf
str
Number of digits after the decimal point (
yy
in F or E format) or number of significant digits in G format. Range is 2 toxx
-7 forFtype
= G or E; and 0 toxx
-4 forFtype
= F. Default = 5.- line
str
Number of lines (11 minimum) per page. Default =
ILINE
orBLINE
( page ).- char_
str
Number of characters (41 to 240, system-dependent) per line before wraparound. Default =
ICHAR
orBCHAR
( page ).- exptype
str
Number of digits for the exponent (
Ftype
= G):3
- Three digits (default).2
- Two digits.
- ndigit
Notes
Specifies various format controls for tables printed with the POST1 prnsol, presol, pretab, prrsol, prpath, and cyccalc commands. A blank (or out-of-range) field on the command retains the current setting. Issue format,STAT to display the current settings. Issue format,DEFA to reestablish the initial default specifications.
For the POST26 prvar command, the
Ftype
,NWIDTH
, andDSIGNF
fields control the time output format.When viewing integer output quantities, the floating point format may lead to incorrect output values for large integers. You should verify large integer output values via the get command whenever possible.
This command is valid in any processor.