Ansys Mechanical Result Data Request Bounding and Pagination: Default Compression Decision
0 reputation · 07 Jul 2022, 16:45 UTC
0 reputation · 07 Jul 2022, 16:45 UTC
Retrieve a large result set from Ansys Mechanical while keeping memory usage and I/O times within acceptable limits. The user wants to limit the amount of data loaded by bounding the query (element sets, time steps, or component filters) and to paginate the retrieval so that each chunk can be processed independently.
The current toolset provides selective result requests and manual chunking via ACT or APDL, but lacks a built‑in pagination token or automatic compression toggle. Solver memory limits, licensing restrictions, and the need to preserve full result fidelity create uncertainty around whether automatic compression should be enabled by default or left to user‑defined bounding constraints.
Ansys Mechanical does not provide a built-in pagination token or an automatic in-memory compression toggle for result extraction. Keep full fidelity by using explicit user-defined bounding and manual chunking, not by relying on automatic result data reduction or compression.
Automatic result data reduction and compression for in-memory extraction is not a default toggle in Mechanical. File-level result storage compression is separate from API retrieval and is generally lossless. Fidelity loss occurs only when user-enabled result reduction, saving filters or decimation options are applied.
Measurable impact on post-processing accuracy and reproducibility is expected only with lossy reduction or explicit data discarding. Lossless file compression does not change numerical values, so reproducibility is preserved under confirmed settings.
Behavior is version-sensitive. Result file options, ACT API surface and APDL commands change between Mechanical releases, so verify the steps in your installed release.
One missing diagnostic detail that changes the recommendation: which access interface are you using for extraction — Mechanical UI, ACT Python scripting, or APDL scripting? Override steps differ by interface.
Use comments to ask for clarification. Post a solution as an answer.
34,275 reputation · 07 Jul 2022, 22:46 UTC
In a fresh installation Ansys Mechanical writes full‑fidelity .rst and .rth files; automatic result compression is off unless the user explicitly activates it via the Analysis Settings dialog or the /COMPRESS command in APDL.
When enabled, the solver applies zlib‑based lossless compression to the result database. Disk I/O and file size shrink, but the binary data can be fully reconstructed on read, so post‑processing accuracy and reproducibility are unchanged.
Large result extraction is typically handled by scripting:
CMSEL or ESEL.SET or TIME..rst).To keep full fidelity while paging, simply disable Compress Results and let the script manage memory usage.
If you require absolute numerical equivalence to a baseline run, leave compression disabled. Lossy options (e.g., tolerance‑based mode truncation) are separate and must be enabled explicitly; they are not part of the default compression toggle.