Share
 
 

Compressing and extracting existing Local Simulation results

Using the command-line tool to compress and extract results of a simulation run previously

This example goes through the full round trip process of running a simulation, compressing, and the extracting those results.

To run the model, from a command line run:

run-round.cmd

The contents of run-round.cmd are:

REM Perform a round-trip run by solving with case file export,
REM compressing case files to a panzip archive, and extracting the
REM panzip archive back to case files

REM Run the solver with case file export
pan2 -s 24 round thermal > 24 round thermal.out
pan2 -s 24 round mechanical > 24 round mechanical.out

REM Compress case files to a panzip archive. Add as many case files as
REM you want to a single archive
panzip c 24 round.panzip 24 round thermal c.case 24 round mechanical.case 24 round mechanical f.c

REM Extract results
panzip x 24 round.panzip

REM Extracted results are here. Import case files in Local sim
dir unzip

The output will be analogous to the previous method.

Was this information helpful?