Ansys Learning Forum Forums Discuss Simulation General Mechanical How to apply a heat flux which depends on the Z axis ? Reply To: How to apply a heat flux which depends on the Z axis ?

Erik Kostson
Ansys Employee


So it should work in general - the below x dependent feat flux works:

*dim,hftab,table,5,,,X
hftab(1,0)=0.0,0.25,0.5,0.75,1 ! x-pos.
hftab(1,1)=-100.0,-200.00,-300.0,-400.00,-500 ! - heat flux
CMSEL,S,HFBC,NODE
SF,ALL,HFLUX,%hftab%
ALLSEL,ALL

So define the table manually as done above, or if you do it via reading in a file, then see/search posts on how to do this:

There are many posts about this

Thank you

Erik