Ansys Learning Forum Forums Discuss Simulation LS Dyna Autodyn subroutine issue – ideal gas EOS Reply To: Autodyn subroutine issue – ideal gas EOS

Chris Quan
Ansys Employee

The error message indicates that there was a problem with the calculation of the PP due to the use of an array. 

Please check the definition of the PP in your user subroutine.

PP in the default Autodyn user subroutine is not an array. The user subroutines in the mdeos_user_1.f90 is called by every element at every time step. All the variables, PP, EE, P0, E0, etc are not an array.

How is the gamma defined? If it is defined by user-defined variable from Autodyn GUI, it is an array. Make sure the gamma is a constant, not an array.