LS-DYNA
LS-DYNA*
LS-DYNA [1] is a licensed general-purpose finite element program capable of simulating complex real world problems. It is used by the automobile, aerospace, construction, military, manufacturing, and bioengineering industries. LS-DYNA is optimized for shared and distributed memory Unix, Linux, and Windows based, platforms, and it is fully QA'd by LSTC. The code's origins lie in highly nonlinear, transient dynamic finite element analysis using explicit time integration.
Important Notes
This licensed Software is currently available for Civil Engineering Department ONLY.
For visualizing the simulation, it is recommended to use NX Client (HPC Visual Access).
If you did not get the desired GUI performance using HPC, transfer your simulation files to your PC (refer to Transferring Files @HPC)
Running LS-DYNA in HPC
Interactive GUI Job
Request a compute node with X-forwarding. For better visual experience, it is recommended to use NX Client (HPC Visual Access).
srun --x11 --time=1:00:00 --pty /bin/bash
Load the LS-DYNA Module
module load ls-dyna
Open the GUI by issuing prepost command
lsprepost &
Batch Job
Copy the examle "ls-dyna_example.tgz" and SLURM job script "ls-dyna.slurm" from /usr/local/doc/LSDYNA in your home directory.
cp /usr/local/doc/LSDYNA/ls-dyna* .
Untar the tgz file
tar xzvf ls-dyna_example.tgz
Submit the SLURM script. In the script, note that currently 4 cores are requested with (#SBATCH -n 4) which can be changed according to the need. Also, if you have more than one input file, copy all of them to $PFSDIR (e.g. cp -r file1 file2 file3 $PFSDIR).
sbatch ls-dyna.slurm
See the output in slurm-<jobid>.out
output:
...
output:
T o t a l s 2.7829E+00 100.00 4.0352E+00 100.00
Problem time = 3.0105E+00
Problem cycle = 1823
Total CPU time = 3 seconds ( 0 hours 0 minutes 3 seconds)
CPU time per zone cycle = 53223 nanoseconds
Clock time per zone cycle= 31155 nanoseconds
Parallel execution with 4 MPP proc
NLQ used/max 72/ 72
C P U T i m i n g i n f o r m a t i o n
Processor Hostname CPU/Avg_CPU CPU(seconds)
---------------------------------------------------------------------------
# 0 comp172t 0.46809 1.4300E+00
# 1 comp172t 1.17840 3.6000E+00
# 2 comp172t 1.19149 3.6400E+00
# 3 comp172t 1.16203 3.5500E+00
---------------------------------------------------------------------------
T o t a l s 1.2220E+01
Start time 03/29/2016 17:04:29
End time 03/29/2016 17:04:32
Elapsed time 3 seconds for 1823 cycles using 4 MPP procs
( 0 hour 0 minute 3 seconds)
N o r m a l t e r m i n a t i o n 03/29/16 17:04:32
Running Simulation
You will see the simulation file such as d3plot generated. Open the GUI following the "Interactive GUI Job" section above.
File -> LS_DYNA Binary Plot -> select d3plot -> Animate
You will see the screenshot as showed below:
License Management
You may want to minimize your license usage based on its usage;
/usr/local/ls-dyna/license/lstc_qrun -s cse-softrep.case.edu -a
output:
Using user specified server 0@cse-softrep.case.edu
Running Programs
User Host Program Started # procs
-----------------------------------------------------------------------------
yxh549 8947@comp181t MPPDYNA Fri Apr 22 11:47 16
No programs queued
See the overall license view:
/usr/local/ls-dyna/license/lstc_qrun -s cse-softrep.case.edu -r
output:
Using user specified server 0@cse-softrep.case.edu
LICENSE INFORMATION
PROGRAM EXPIRATION CPUS USED FREE MAX | QUEUE
---------------- ---------- ----- ------ ------ | -----
LS-DYNA 12/31/2016 0 84 100 | 0
MPPDYNA 12/31/2016 16 84 100 | 0
LS-DYNA_971 12/31/2016 0 84 100 | 0
MPPDYNA_971 12/31/2016 0 84 100 | 0
LICENSE GROUP 16 84 100 | 0
PROGRAM EXPIRATION CPUS USED FREE MAX | QUEUE
---------------- ---------- ----- ------ ------ | -----
LS-OPT 12/31/2016 0 100 100 | 0
LICENSE GROUP 0 100 100 | 0
Benchmarking
To benchmark ls-dyna, follow the guide at [2].
Troubleshooting
Refer [3] for LS-DYNA support.
References:
[1] LS-DYNA Home
[3] LS-DYNA Support