We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation General Mechanical Internal heat generation depending on temperature Reply To: Internal heat generation depending on temperature

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