Introduction
A key feature of OpenRadioss is the ability to run models in the LS-DYNA® input format, the .key files may be submitted directly in OpenRadioss and the input is interpreted by the Solver. In this example, a full vehicle impact model may be run.
Input Files
The input files used for this demonstration of OpenRadioss capability to run LS-DYNA®* input format models are publicly available from the CCSA at GMU website:
...
OpenRadioss Launch File (1 KB)
Instructions For Use
Download the input files from the CCSA at GMU site and the additional ‘Launch’ File (adding *CONTROL_UNITS card) and submit in OpenRadioss
see also: Running OpenRadioss
Note: This model is computationally demanding compared with most demo models, run time on a laptop or desktop machine with 4 cores will take around 60 hours.
Simplified running and post-processing with ParaView
The bash script below, takes a .key jobname and number of cpu as input, runs the job on the requested number of cpu (in mpi mode), converts Anim files to vtk and T01 to csv, then opens the results in paraview
...
Code Block |
---|
myjobname=$(echo "$1" | rev | cut -c5- | rev) echo $myjobname "running in OpenRadioss" ./starter_linux64_gf -i $myjobname".key" -np $2 -nt 4 mpiexec -n $2 ./engine_linux64_gf_ompi -i $myjobname"_0001.rad" -nt 1 BASEDIR=$(dirname "$0") cd $BASEDIR for file in $BASEDIR/*; do if [ -n "${file: -3}" ] && [ "${file: -3}" -eq "${file: -3}" ] 2>/dev/null && [[ "${file: -4:1}" == "A" ]]; then ./anim_to_vtk_linux64_gf $file > "$file.vtk" echo "$file is converted" elif [[ "${file: -3}" == "T01" ]] ;then ./th_to_csv_linux64_gf $file CSV="$file.csv" fi done paraview $BASEDIR/$myjobname"A..vtk" $CSV exit |
Results (in HyperView)
...
Acknowledgments
This model is created by CCSA at GMU and the FHWA
...