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)
After feedback from OpenRadioss Community users, some combinations of compiler and CPU architecture have been found to be unstable for this model with it failing to reach termination time. If you find this for your setup, then it may be beneficial to try reducing the running timestep slightly, you may use the following alternate launch file (an additional timestep control is added to the launch file)
OpenRadioss Launch File With Additional Timestep Control (1 KB)
...
Code Block |
---|
*CONTROL_TIMESTEP $# dtinit tssfac isdo tslimt dt2ms lctm erode ms1st 0.9 -0.750e-06 |
Instructions For Use
Download the input files from the CCSA at GMU site and the additional ‘Launch’ File (adding *CONTROL_UNITS card) or alternate launch file (modifying timestep) 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
...