Mass-weighted average
Dear All,
Could you please tell me what's the easiest way to get the mass-weighted average of a variable (say, temperature) on a plane or along a line? I am a newbie with StarCD. Thanks a lot in advance, Ale |
Re: Mass-weighted average
I use the following set of commands (eg. in a PANEL, here for temperature on a section):
getc all dens oper copy 4 5 getc all t rela oper mult 1 5 1 oper mult 2 5 2 oper mult 3 5 3 oper pllo inte cset *get area tav *get val tavs *set av_val val / area |
Re: Mass-weighted average
Thanks a lot, Oliver.
Regards |
All times are GMT -4. The time now is 15:11. |