ANSYS WB nodal averages of surfaces
ANSYS WB nodal averages of surfaces
(OP)
Good Evening, wondering if any of you know how to script the averages of a result across a surface. Normally I'd be hesitant in stress/strain. We're working on simulating an oven and would really like to script average temperatures and fluxes across some surfaces, as min and max don't really help, probing the surface is not very accurate. Any help would be greatly appreciated, Thanks in advance,
Chad
Chad





RE: ANSYS WB nodal averages of surfaces
I did the same think in Ansys Classical using a short macro written in APDL. It works only for planar surfaces I think.
CODE
!
!!! predefine local coordinate system at the center of the surface
!
!!! Integral will be computed in the active coordinate system
!!! surface integral will be saved to variable SIGNAL
!
/nopr
/post1
wpcsys,-1,1000
sucr,sensor,cplane,3
supl,sensor
*get,actsys,active,,csys
rsys,actsys
sumap,bfeld,B,y
supl,sensor,bfeld
sueval,signal,bfeld,sum ! compute integral on surface
/go
Regards
Alex
RE: ANSYS WB nodal averages of surfaces
Thanks for the code, I owe you one. We're simulating curing different stent graft geometries, and this will be a huge help.
h
Chad