Sum of variables in final time step

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

nisa-chang
Newbie
Posts: 1
Joined: Thu Sep 15, 2016 1:50 pm
Location: Vancouver, Canada

Sum of variables in final time step

Postby nisa-chang » Thu Sep 15, 2016 2:01 pm

Hi All,
I am trying to calculate the sume of variable in the last time step, but the script below did not calculate the sum correctly.
Can anyone help me with this issue.
Thank you
Nisa

Below are the script ↓

7) intergrates the enthalpy over the duration of the model and ouputs a plot and the data to a text file.
#
$!EXTENDEDCOMMAND
COMMANDPROCESSORID = 'CFDAnalyzer4'
COMMAND = 'Integrate [1] VariableOption=\'Scalar\' XOrigin=0 YOrigin=0 ZOrigin=0 ScalarVar=14 Absolute=\'F\' ExcludeBlanked=\'F\' XVariable=1 YVariable=2 ZVariable=3 IntegrateOver=\'Cells\' IntegrateBy=\'TimeStrands\' IRange={MIN =1 MAX = 0 SKIP = 1} JRange={MIN =1 MAX = 0 SKIP = 1} KRange={MIN =1 MAX = 0 SKIP = 1} PlotResults=\'T\' PlotAs=\'Result\' TimeMin=0 TimeMax=1000'
#
# Output Data
#
$!EXTENDEDCOMMAND
COMMANDPROCESSORID = 'CFDAnalyzer4'
COMMAND = 'SaveIntegrationResults FileName=\'C:\\Users\\Nisa\\Desktop\\Out.txt\''
#
#############################################
#$!RemoveVar |MFBD|
#$!Quit

Return to “Analyzer”

Who is online

Users browsing this forum: No registered users and 1 guest

cron