CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   passive scalars (http://www.cfd-online.com/Forums/cd-adapco/53584-passive-scalars.html)

CMB December 10, 2003 07:14

passive scalars
 
Hi, when you define a passive scalar, how can you assign a value it. That is, if you calculate the value as a function of any variable in a any subroutine, how can you tell Star that this value correspond to that passive scalar. I tried doing it in a straight forward way, just by typing i.e. 'scalar(6)=f(x)' but it doesnt work, Star doesnt even let me run the program. I would appreciate any suggestions. Many thanks, CM


All times are GMT -4. The time now is 21:35.