CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Update Loop = TRANS_LOOP

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2011, 05:40
Default Update Loop = TRANS_LOOP
  #1
Member
 
sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 16
sajad_abasi is on a distinguished road
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.
sajad_abasi is offline   Reply With Quote

Old   October 25, 2015, 15:30
Default
  #2
Member
 
PranjalNewton's Avatar
 
Pranjal Singh
Join Date: Sep 2015
Posts: 34
Rep Power: 11
PranjalNewton is on a distinguished road
Define CEL expression X=debi+massFlow()@inlet.
And then put debi=X.
PranjalNewton is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 20:51.