--- title: LS-DYNA published: true taxonomy: category: - docs --- [toc] ## Environment Settings{#enviroment} ### Software Version and System Requirements{#version} The Modules software package can dynamically switch and set the environment settings required to use the application by executing the module command. And you can change the environment settings easily when you switch to the different version of the application. Please refer to [Modules](/config/modules) for details. You can check a list of available module files with the module avail command. Version | Module File Name | System A |System B/C/G | Cloud System ------------------------ | ----- | ----- | ----- | --- R14.1.0 (default) | ls-dyna/R14.1.0 | - | AU | - R13.1.1 | ls-dyna/R13.1.1 | - | AU | - \+ : Available for all users AU : Available for academic users only \- : Not available ### Number of licenses available at the same time per user {#license_limitation} The number of processes available at the same time is 8 licenses. We may limit the number of licenses available at the same time per user depending on the situation. <!-- そのため、一人で同時に5CPU以上の並列実行ができませんのでご注意ください。 バッチジョブを複数投入する場合も、利用するCPUの合計が同時に4を超えることはできません。 --> ### Pre and Post-Software{#prepost} LS-PrePost is a pre and post-software that processes the input/output data of LS-DYNA. #### Software Version and System Requirements Version | Module File Name | System B/C/G | Cloud System ---------------------------- | ----- | --------- | ----- ls-prepost 4.10.5 (default) | ls-prepost/4.10.5 | AU | - ls-prepost 4.9.10 | ls-prepost/4.9.10 | AU | - \+ : Available for all users AU : Available for academic users only \-: Not available #### How to Use Execute the module command to set up the environment. (Load the version of the module file you want to use). Please refer to [Modules](/config/modules) for details on the module command. ```nohighlight $ module load ls-prepost ``` It will start by executing the following command after logging in to an environment where the X Window System is available, such as [FastX](/login/fastx) or [NiceDCV](/login/nice-dcv). Please refer to [Interactive Processing](/run/interactive) for details on the tssrun command. ```nohighlight $ tssrun --x11 lspp49 ``` We provide paper-based materials for the programming seminar on how to use LS-DYNA and LS-PREPOST for your reference at the counter of the Media Center North Building on a first-come, first-served basis. (Please note that the number of materials are limited.) ## Software Overview{#overview} LS-DYNA, nonlinear dynamic structural analysis software, performs explicit-method-based time-history simulation of large deformation, elasto-plasticity, and dynamic contact and behavior of structural objects. LS-DYNA is an improvement of DYNA3D developed by Lawrence Livermore National Laboratory (LLNL) of the United States, and from Ver.950 on, it supports as its standard function implicit-method-based structural analysis, fluid analysis, and thermal analysis. With its explicit and implicit methods, this software supports normal linear analysis and frequency responses, and can be used as a high-end universal structural analysis tool. ### Software Features{#functions} * Phenomenon analysis : The following phenomena can be analyzed * Collision / shock(e.g., car collision) * Plastic forming(e.g., press forming) * Falling (e.g., falling of portable products) * Crack / burst((e.g., chap) * Mechanism analysis involving distortion(e.g., conveyance by a rubber roller) * Contact     LS-DYNA provides over 20 options for contact analysis. For contact surfaces, conditions including adherence, abrasion, contact, slip, and friction can be specified.  * Material model     LS-DYNA provides over 100 metallic and nonmetallic material models, each of which has various elements such as spring, damper, rigid body, and weld. * Interface      Interfaces are provided for CAD data, other structural analysis software and simulation software. ### Areas of Application{#app_area} * Automobile * Aerospace * Defense * Electric devices * Construction and civil engineering * Nuclear power, etc. ## How to Use{#usage} ### Setting Up Environment(Executing the module Command){#env_set} Execute the module command to set up the environment. (Load the version of the module file you want to use). ```nohighlight $ module load ls-dyna ## When using the MPP version $ module load intelmpi/2018.4 ``` ### Available commands{#command} | Command name | Type |Notes| |:----------: | :----------------:|:--:| | lsdyna_sp | SMP version、 single precision | | | lsdyna_dp | SMP version、double precision |The following usage is explained using this command | | lsdyna_sp_mpp | MPP version、single precision |Module load of intelmpi/2018.4 is required| | lsdyna_dp_mpp | MPP version、double precision | Module load of intelmpi/2018.4 is required| ### Running in Interactive Mode{#tss} #### Format ```nohighlight $ tssrun ls971_d i=[executable file] ncpu=[Number of parallel CPUs("1" is set if not specified.)] ``` You can specify the options in addition to the executable file and number of parallel. Please refer to the manual [Manual](#references) (LS-DYNA KEYWORD MANUAL) for details. #### Example: Running on two CPUs in parallel ```nohighlight $ tssrun ls971_d i=sample.dyn ncpu=2 **tssrun** Please refer to [Interactive Processing](/run/interactive) for details on the **tssrun** command. ``` #### Output files ```nohighlight 「d3hsp」…Analysis history output file 「messag」…Calculation execution message, error message output file 「status.out」…Analysis result output file 「d3plot」…File for outputting the 3D form of the model 「d3dump」…Data file required for restart ``` ### Running in Batch Job{#batch_job} You need to prepare a Batch file to run LS-DYNA by Batch job. Write a script of the same commands as you execute on the command line and submit the job by the **qsub** command. ```nohighlight #!/bin/bash #============ Slurm Options ============ #SBATCH -p gr19999b #SBATCH -t 1:00:00 #SBATCH --rsc p=1:t=2:c=2:m=2G #============ Shell Script ============ module load ls-dyna ls971_d i=sample.dyn ncpu=$SLURM_DPC_CPUS ``` ## Reference{#references} * [LSDYNA Manuals (Ansys)](https://lsdyna.ansys.com/manuals/) * LSDYNA Relase Note R13.0.0 * [English](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/Release_Notes_LS-DYNA_R13_0_0_rev1_E.pdf) * [Japanese](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/Release_Notes_LS-DYNA_R13_0_0_rev1_J.pdf) * LSDYNA Relase Note R13.1.0 * [English](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/Release_Notes_LS-DYNA_R13_1_0_rev1_E.pdf) * [Japanese](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/Release_Notes_LS-DYNA_R13_1_0_rev1_J.pdf) * LSDYNA Relase Note R13.1.1 * [English](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/Release_Notes_LS-DYNA_R13_1_1_rev1_E.pdf) * [Japanese](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/Release_Notes_LS-DYNA_R13_1_1_rev1_J.pdf) * [Bugs and Specification Changes Information](https://web.kudpc.kyoto-u.ac.jp/auth/manual/LS-DYNA/R13.1.1/bug_specification_notes_R1311.pdf) ## Links{#link} ### External Links{#ex_link} * [Ansys LS-DYNA (JSOL Corporation)](https://www.jsol-cae.com/product/struct/lsdyna/)