|
[Sponsors] |
February 12, 2003, 23:52 |
STAR-CD user-defined scalar
|
#1 |
Guest
Posts: n/a
|
Hello all
I am a newbie to STAR-CD. I have a question regarding user defined scalar. I have a temperature distribution in X,Y,Z. The flow is perpendicular to XY plane. I would like obtain the average temperature as a function of x,y. i.e I want to average all those cells in z dirextion at every point and hence obtain the Tbulk as a function of x,y alone. I tried to use a user defined scalar through POSDAT.F. What I did : (1) run the simulation (2) Obtain temperature profile (3) run the simulation only for the user-defined scalar and use POSDAT.F for assigning the value to the scalar. But I find that I am NOT able to set the value of scalar through POSDAT.F My question is: When I assign the value of a scalar in POSDAT.F, what is SCALFN.F doing ? I have NOTHING in SCALFN.F about the scalar I am using to calculate. Whatever manipulations I tried are only with POSDAT.F. So am I missing some point here regarding SCALFN.F ? Thx Murali |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with User Defined Scalar | Alberto Cuoci | FLUENT | 0 | June 26, 2007 15:55 |
User defined scalar | Tomik | FLUENT | 0 | February 8, 2007 20:23 |
user defined scalar | saghir | FLUENT | 1 | December 4, 2006 06:25 |
How to define a user-defined scalar? | Jen | FLUENT | 0 | January 5, 2006 15:33 |
User Defined Scalar | Sebeci | FLUENT | 0 | April 9, 2003 02:51 |