|
[Sponsors] |
August 4, 2011, 05:40 |
Update Loop = TRANS_LOOP
|
#1 |
Member
sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 16 |
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. |
|
October 25, 2015, 15:30 |
|
#2 |
Member
Pranjal Singh
Join Date: Sep 2015
Posts: 34
Rep Power: 11 |
Define CEL expression X=debi+massFlow()@inlet.
And then put debi=X. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
[CAD formats] my stl surface is seen as just a line | rcastilla | OpenFOAM Meshing & Mesh Conversion | 2 | January 6, 2010 02:30 |
for loop inside a cell_loop? | MHDWill | FLUENT | 0 | September 26, 2007 22:24 |
NACA0012 geometry/design software needed | Franny | Main CFD Forum | 13 | July 7, 2007 16:57 |
CFX TASCflow - while-endwhile loop ina macro | Deepak Ganga | CFX | 0 | September 6, 2003 23:21 |