How Can I Make a Time-Derived Integral Equation

Tecplot's automation language

Python scripts were supported in the alpha version for Legacy 360 (2013). Python inquiries in 2017 should be directed to the PyTecplot Forum.

Moderators: davetaflin, salter, steve, jprenaud, straton, Chris Idso

Posts: 1
Joined: Mon Jun 17, 2013 1:45 pm
Location: New Mexico

How Can I Make a Time-Derived Integral Equation

Postby YouDownWithCFD » Fri Jun 28, 2013 11:52 am

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 :
ADDONID = 'CFDAnalyzer3'
COMMAND = 'INTEGRATE [<set>] [options]'


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

Return to “Tecplot Macro Language”

Who is online

Users browsing this forum: No registered users and 1 guest