CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   passive scalars (https://www.cfd-online.com/Forums/siemens/53584-passive-scalars.html)

CMB December 10, 2003 06: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 12:52.