LS Dyna

LS Dyna

Reducing the file sizes or options to make more space

    • shk1048
      Subscriber

      My simulations with MDO cases had a huge data in the folder. I have to perform it in my personal laptop are there any tips that I can clear all the d3plots and retain some of the lst files that are important?


      Thanks in advance

    • Ashish Khemka
      Ansys Employee
    • Imtiaz Gandikota
      Ansys Employee
      Couple of options,
      Try using a "clean" file. Place a file "clean.bat" in the working directory. This file is executed after a job is completed and results are extracted. This file can contain file deletion commands. For example, "del .\d3plot*" command for Windows to delete all d3plot files of the run. Please test this file using a simple example before using it in your MDO runs. Note that this file is not executed for first run (i.e. 0.1 run).
      Use d3part database option instead of d3plot. d3part is similar to d3plot but contains less data.
    • shk1048
      Subscriber
      Is there any clean.bat available as an example?
    • shk1048
      Subscriber
      How can i make the clean file such that it does not delete only for the first run and does this mean I only have to retain for 0.1 or also 1.1, 2.1 etc..?
      What is the reason to retain this file 0.1? I think this can also help me to understand the workflow of lstsac
    • Imtiaz Gandikota
      Ansys Employee
      Create a text file, name it clean and change the extension to .bat from .txt (on Linux, it could be a bash/sh script). Edit the file and enter below command to delete all d3plot files. This file is copied to each job directory and executed after results are extracted.
      Windows: del d3plot*
      Linux: rm d3plot*
      I just checked using a simple example. 0.1 is not retained. clean.bat is executed in all job directories. LS-TaSC job scheduler is similar to LS-OPT and "clean" option was originally implemented in LS-OPT where first (baseline) and last design (optimum) are skipped from cleaning. I assumed ls-tasc behaves the same but apparently not.


    • shk1048
      Subscriber
      I wrote a clean file which skips the 0.1 simulation results. But I didnot get a clarity if 1.1 and 2.1 will also be needed??
      rm -rf $SUBDIR/adptmp $SUBDIR/elout $SUBDIR/d3hsp
      rm -rf $SUBDIR/scr00* $SUBDIR/dyna.str
      rm -rf $SUBDIR/dbout.*
      rm -rf $SUBDIR/d3plot* $SUBDIR/scr00*

    • Imtiaz Gandikota
      Ansys Employee
      1.1, 2.1, etc are not skipped. Ideally, it is better to retain d3plot files of all iterations until your ls-tasc run is completed, just in case you need them for a restart, but if disk space is a concern, I would delete the files. There is not much difference in keeping 2.1 files vs. 2.2 files.
    • shk1048
      Subscriber
      Is it a good idea to reduce the d3plot step size, may be having just 4 d3plots..I have read that the IED informations is conveyed by d3plot. So, just wanted to be sure before I reduce the steps of animation
Viewing 8 reply threads
  • You must be logged in to reply to this topic.