You are on page 1of 1

____________________________________________________________________________________

UDF for Mass Weighted Average


Problem/Description:
How can I compute mass weighted average of a variable on a post-processing surface through a UDF?

Solution:
Please find attached a sample udf which calculated mass weighted average of temperature on the
surface SID. Please update SID before compiling the udf.

Attachments:
1. Solution_1628.c

You might also like