CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Update Loop = TRANS_LOOP (http://www.cfd-online.com/Forums/cfx/91232-update-loop-trans_loop.html)

sajad_abasi August 4, 2011 04:40

Update Loop = TRANS_LOOP
 
hello to all.
i want to calculate an integral that depends on time.i need to sum
flowrate in all passed time.i defined an additional variabe as follow:
LIBRARY:
&replace ADDITIONAL VARIABLE: debi
Option = Definition
Tensor Type = SCALAR
Units = [kg/s ]
Update Loop = TRANS_LOOP
Variable Type = Specific
END
END

and then i run for 1 iterate to initailize debi=0
then i define debi to be equal to "debi+massFlow()@inlet" in the var.value
and i use the .res file of the first run as initial condition.when i start run it gives me error but when i edit "debi+massFlow()@inlet" to bo "massFlow()@inlet" it works good.so i think debi is unknown for ansys..........

what should i do?
pls guide me in detail.

best regards.


All times are GMT -4. The time now is 19:33.