yunlin
Structural
- Apr 26, 2012
- 10
I am writing a Dflux subroutine for heat transfer problem. I am only on the testing stage. Heat flux is assigned as simple as flux(1) = sol*10
However I want to use write command to debug. so I added
common xys(1)
xys(1) = 1/296
write(7,*)"the value of xys(1) is:", xys(1)
(I just want to see if the equations are functioning well)
Subroutine went through with abaqus no problem.
But it seems like if the value of xys is less than 1, it would be displayed as "0". Always 0. Why?
Maybe the output format is wrong?
However I want to use write command to debug. so I added
common xys(1)
xys(1) = 1/296
write(7,*)"the value of xys(1) is:", xys(1)
(I just want to see if the equations are functioning well)
Subroutine went through with abaqus no problem.
But it seems like if the value of xys is less than 1, it would be displayed as "0". Always 0. Why?
Maybe the output format is wrong?