APPENDIX C

ANSYS POST PROCESSING FILE

The following file contains the objective function variable. All the post-processing files meant for storing the objective function value, shall have the variable name 'obj_var'. Since the program writes out the current status of obj_var to another file, the variable name shall not be changed.


/post1
allsel
nsel,s,loc,y,0-spec,y6+spec
nsel,r,loc,x,x9-spec,x10+spec
esln,s,1
eplot
!*ask,xxx,any_key
etable,wflux,tf,x
ssum
*get,workflux,ssum,0,item,wflux
*status,workflux
!*ask,xxx,any_key
allsel
nsel,s,loc,y,0-spec,y6+spec
nsel,r,loc,x,x9-spec,x10+spec
esln,s,1
etable,wtemp,temp
ssum
*get,worktemp,ssum,0,item,wtemp

qwork=0.5*delta*aw*(workflux+rho*acw*v*(worktemp-b/(0.5*delta)*to))
obj_var = qwork
fini