Ansys Learning Forum › Forums › Discuss Simulation › General Mechanical › Internal heat generation depending on temperature › Reply To: Internal heat generation depending on temperature
July 29, 2021 at 4:51 pm
dlooman
Ansys Employee
Heat generation can be defined as a function of temperature using table input as shown below. It is possible to do it "by hand" by running the solution with many load steps and querying the temperature with a commands object at the end of each solve, but this is easier.
/prep7
et,1,70
mp,kxx,1,1
mp,dens,1,100
mp,c,1,1
block,,1,,1,,1
esize,.25
vmesh,1
fini
/solu
antyp,trans
*dim,hgenval,table,2,,,temp
hgenval(1,0)=0,100
hgenval(1,1)=100,200
bf,all,hgen,%hgenval%
time,10
nsub,10
outres,nsol,1
solve
fini
/post26
nsol,2,1,temp
prva,2
/prep7
et,1,70
mp,kxx,1,1
mp,dens,1,100
mp,c,1,1
block,,1,,1,,1
esize,.25
vmesh,1
fini
/solu
antyp,trans
*dim,hgenval,table,2,,,temp
hgenval(1,0)=0,100
hgenval(1,1)=100,200
bf,all,hgen,%hgenval%
time,10
nsub,10
outres,nsol,1
solve
fini
/post26
nsol,2,1,temp
prva,2