Average of a UDMI in UDF
I am using an UDF to calculate the source term (which is stored as UDMI_1) in each cell in my transient problem. Now I want to calculate the volume average of the source term at the end of each time step. I know I will have to use define_execute_at_end macro, but any ideas as to how do I calculate the volume average of source.
|All times are GMT -4. The time now is 05:18.|