CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   Generating table values in a loop (http://www.cfd-online.com/Forums/cd-adapco/53564-generating-table-values-loop.html)

Jarrod Sinclair November 26, 2003 02:58

Generating table values in a loop
 
Hi,

I am trying to append to a table within a "*define,execute" loop and am having problems. The resulting values are always zero. When I do not use the loop and enter the values manually, it works fine. Is this a limitation in Pro-Star?

I am using the following pro-star code:

*set,tim,dt,dt

*define,execute

*set,vel,tim * 0.1

*scopy,vel,svel

tbmodify,add,time,tim

{svel}

*end

*loop,1,10,1

Thanks.

Juliet November 26, 2003 20:26

about natural convection
 
hello,everybody

i am solving a problem involved the natural convection and eletro-chemical reaction, i make the sorsca.f,sorent.f,and fluinj.f for some layer, also the density is set to idea f(t) or isobaric. and Gy=9.81, PISO algorithm,steady state. in addition, i add about same length ambient air mesh as actual model. but when calluate it, always divergence and unstable, and enthalpy residuel is INF,or very large. why? i would appreciate if you can give me some explain or advice. if you anybody once have done some work like this or have some example about this, whoud you please sent me that? by the way, for natural convection, how much additional mesh should be? thanks a lot

Juliet


All times are GMT -4. The time now is 18:39.