Hi

I'm trying to extract specific energy equations for a compressor cooler system.

I want

(1/tau)*integral (Cp*(T(t)-To)-R*ln(T(t)/To)*M(t))dt

take the integral from 0 to tau. Where Cp is specific heat, R is the gas law constant, T(t) is temperature, and M(t) is mass flow rate

my system is axi-symmetric, can I equate mass flow rate to mass flux?

and also I want to calculate pressure energy at

(RTo/tau)*integral(ln(P(t)/Pa)*M(t)dt from zero to tau

so, from my undestanding, the format equations is :

$!ADDONCOMMAND

ADDONID = 'CFDAnalyzer3'

COMMAND = 'INTEGRATE [<set>] [options]'

$!VARSET |RESULT|=|INTEGRATION_TOTAL|

so would I define each piece that is within the integrals as an equation, or something else?

I started with

COMMAND=INTEGRATE[(Cp({Temperature}-To)-R*ln({Temperature}/To))]