Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

DFLUX subrouthine

Status
Not open for further replies.

bozosprzoj

Aerospace
Joined
May 24, 2013
Messages
12
Location
SI
Hi all,

I am having trouble assigning a soubtouthine to the surface in my model. I have a simple cube, where I would like to assign different heatflux through the subrouthine. (shown on the picture)

Can you help me select the surface and assign the heatflux to it.

dflux1_tbifdm.png
[/b][/b][/b]


SUBROUTINE DFLUX(FLUX,SOL,JSTEP,JINC,TIME,NOEL,NPT,COORDS,JLTYP,
1 TEMP,PRESS,SNAME)
C
INCLUDE 'ABA_PARAM.INC'
C
DIMENSION COORDS(3),FLUX(2),TIME(2)
CHARACTER*80 SNAME

SNAME=' '
IF (SNAME .EQ. 'flux1')THEN
FLUX(1)=2000000
ELSE IF (SNAME .EQ. 'flux2')THEN
FLUX(1)=20000
ENDIF
return
end

Thenks in advanced,

Uroš
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top