ansys.mapdl.core.Mapdl.fcomp#

Mapdl.fcomp(ident='', level='', **kwargs)#

Specifies file-compression options.

Mechanical APDL Command: /FCOMP

Parameters:
identstr

Mechanical APDL file identifier. There is no default. Valid labels are:

  • RST - Results file.

  • DB - Database file.

  • RNNN - Restart file.

  • OSAV - File created during a nonlinear analysis that contains a copy of ESAV file from the last converged substep.

levelint or str

Compression level:

  • SPARSE - Use a sparsification scheme for file compression (default).

  • 0 - No file compression occurs.

  • n - A zlib-based file compression occurs using level number n, which ranges from 1 to 5.

Notes

Specifies file compression options for results files ( .rst, .rstp, .rth, and .rmg files), database files ( .db and .rdb ), certain restart files ( .Rnnn ), and the .osav file created during a nonlinear analysis. (See Program- Generated Files Set displays command or the resume command).

For results files compressed using the sparsification scheme ( LEVEL = SPARSE, which is the default), use the *XPL command to uncompress the file. For third party tools that need to read the results file, use the method described in Accessing Mechanical APDL Binary Files

See in the Basic Analysis Guide for more details.

This command is valid only at the Begin Level.