anoop_1989
Mechanical
- Feb 11, 2019
- 59
Dear all,
I am trying to run a coefficient of thermal expansion subroutine using the UEXP subroutine. For this, like a first step I tried a simple thermal stress analysis on a 0.2*0.1steel bar giving a body heat flux. The calculated stress values are matching with the theoretical analysis. Now instead of giving the thermal expansion as a direct input, I would like to enter the same as a subroutine. The attached subroutine is given below. But the problem aborted due to compilation error. Can anyone help to solve the issue? For the next stage, I have to incorporate the change of volumetric strain and the thermal strain to analyze the phase transformation in welding.
subroutine uexpan(expan,dexpandt,temp,time,dtime,predef,dpred,
statev,cmname,nstatv,noel)
c
include 'aba_param.inc'
c
character*80 cmname
c
dimension expan(*),dexpandt(*),temp(2),time(2),predef(*),
dpred(*),statev(nstatv)
c
alpha = 1.1d-05
c
expan(1) = alpha*temp(2)
c
return
end
I am trying to run a coefficient of thermal expansion subroutine using the UEXP subroutine. For this, like a first step I tried a simple thermal stress analysis on a 0.2*0.1steel bar giving a body heat flux. The calculated stress values are matching with the theoretical analysis. Now instead of giving the thermal expansion as a direct input, I would like to enter the same as a subroutine. The attached subroutine is given below. But the problem aborted due to compilation error. Can anyone help to solve the issue? For the next stage, I have to incorporate the change of volumetric strain and the thermal strain to analyze the phase transformation in welding.
subroutine uexpan(expan,dexpandt,temp,time,dtime,predef,dpred,
statev,cmname,nstatv,noel)
c
include 'aba_param.inc'
c
character*80 cmname
c
dimension expan(*),dexpandt(*),temp(2),time(2),predef(*),
dpred(*),statev(nstatv)
c
alpha = 1.1d-05
c
expan(1) = alpha*temp(2)
c
return
end