minamir
Materials
- Jun 17, 2015
- 6
Hi Guys,
I've got a question regarding welding simulation. I'm modeling a plate of size 180*120*17mm and a moving heat source using Abaqus and DFLUX subroutine.
Therefore, I wrote the input file, define the properties, loads, convection and radiation, etc. I also wrote a FORTRAN code -DFLUX- for moving heat source.
Heat transfer is problematic. The heat transfers all the way to the plate surface at the the same time so basically it doesn't simulate a moving heat source. Do you have any idea what could have caused this?
Here is the core of my Fortran code (also attached an image of this code for better formatting):
pointy = COORDS(2)
pointz = COORDS(3)
! try 1
ytop = wstart(2) + hcyl
ybottom = wstart(2)
DO i = 1,n
IF (t.GE.Tstart.AND.t.LE.Tend) then
IF(pointy.GE.ybottom.AND.pointy.LE.ytop) then
r = (((pointx - wx)**2 + (pointz - wz)**2)**0.5)
IF (r.LE.rcyl) then
Flux(1) = Power/Vol
WRITE (6,*) t, Flux(1), r, Vol
EXIT
END IF
END IF
Flux(1)=0
ELSE
Flux(1)=0
END IF
END DO
Flux(2)=0.
Thank you in advance
I've got a question regarding welding simulation. I'm modeling a plate of size 180*120*17mm and a moving heat source using Abaqus and DFLUX subroutine.
Therefore, I wrote the input file, define the properties, loads, convection and radiation, etc. I also wrote a FORTRAN code -DFLUX- for moving heat source.
Heat transfer is problematic. The heat transfers all the way to the plate surface at the the same time so basically it doesn't simulate a moving heat source. Do you have any idea what could have caused this?
Here is the core of my Fortran code (also attached an image of this code for better formatting):
pointy = COORDS(2)
pointz = COORDS(3)
! try 1
ytop = wstart(2) + hcyl
ybottom = wstart(2)
DO i = 1,n
IF (t.GE.Tstart.AND.t.LE.Tend) then
IF(pointy.GE.ybottom.AND.pointy.LE.ytop) then
r = (((pointx - wx)**2 + (pointz - wz)**2)**0.5)
IF (r.LE.rcyl) then
Flux(1) = Power/Vol
WRITE (6,*) t, Flux(1), r, Vol
EXIT
END IF
END IF
Flux(1)=0
ELSE
Flux(1)=0
END IF
END DO
Flux(2)=0.
Thank you in advance