CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Generating table values in a loop (https://www.cfd-online.com/Forums/siemens/53564-generating-table-values-loop.html)

Jarrod Sinclair November 26, 2003 01: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 19: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 08:34.