how to output the temperature on the boundary?
Posted: Mon Mar 12, 2012 5:17 pm
Hello everyone
I have a small question here:
Now I'm working on the coupled problem between natural convection and radiation. I want to use the temperature in the domain and on the boundary. Here, I try to ouput the temperature on the hot wall, on which the temperature is constant. But the result got by the following code is variable.(The cordinates are correct)
!***************************************
open(21,file="chaud.dat")
do ilelt = 1, nlelt
ifac = lstelt(ilelt)
iel = ifabor(ifac) ! associated boundary cell
write(21,*)cdgfbo(1,ifac),cdgfbo(3,ifac),rtpa(iel,ivar)
enddo
close(21)
!***************************************
I guess I couldn't use "rtpa(iel,ivar)" to get teh temperature on the boundary face. If somebody knows how to deal with it?
Thank you!
I have a small question here:
Now I'm working on the coupled problem between natural convection and radiation. I want to use the temperature in the domain and on the boundary. Here, I try to ouput the temperature on the hot wall, on which the temperature is constant. But the result got by the following code is variable.(The cordinates are correct)
!***************************************
open(21,file="chaud.dat")
do ilelt = 1, nlelt
ifac = lstelt(ilelt)
iel = ifabor(ifac) ! associated boundary cell
write(21,*)cdgfbo(1,ifac),cdgfbo(3,ifac),rtpa(iel,ivar)
enddo
close(21)
!***************************************
I guess I couldn't use "rtpa(iel,ivar)" to get teh temperature on the boundary face. If somebody knows how to deal with it?
Thank you!