CFD Online Logo CFD Online URL
Home > Forums > CD-adapco

STAR-CD user-defined scalar

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 12, 2003, 23:52
Default STAR-CD user-defined scalar
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 ?


  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with User Defined Scalar Alberto Cuoci FLUENT 0 June 26, 2007 14: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 01:51

All times are GMT -4. The time now is 07:42.