|
[Sponsors] |
January 24, 2005, 22:53 |
How to confine scalar to positive values
|
#1 |
Guest
Posts: n/a
|
Hi everyone,
I am writing the k-w SST model in STAR as 2 scalars. I know that the model already exists in STAR but for my work I need to model them as separete quantities. At the moment one of te problems I am having is that the minimum value of my k is always a very small negative value rather than zero. Any idea on what I can do to make sure the minimum is zero? Thanks in advance for your help. Sheila |
|
January 25, 2005, 14:57 |
Re: How to confine scalar to positive values
|
#2 |
Guest
Posts: n/a
|
RCONS 64 2
|
|
January 25, 2005, 16:04 |
Re: How to confine scalar to positive values
|
#3 |
Guest
Posts: n/a
|
Thank you!
|
|
January 27, 2005, 18:32 |
its not working...?!
|
#4 |
Guest
Posts: n/a
|
Hi 4xF,
its not wroking... I am still getting a negative number as the minimum. Sheila |
|
January 28, 2005, 04:15 |
Re: its not working...?!
|
#5 |
Guest
Posts: n/a
|
Hi,
Unfortunatelly - I cannot tell you, where I got this info, whether it was adapco-online.com, or support, but still: the 64 switch works like this: Setting rcon 64 to 1 clips the scalars between 0 and 1 for density calculation only, rcon 64 2 additionally clips the scalar values. (This seems to work only for active scalars.) So it need not work for you. Can you limit the scalar with min-max in your user routine? If it goes negative too much, It might be better to find the problem(source goes wild, or something)- where it originates and not to cure the effect )) good luck matej |
|
February 1, 2005, 15:06 |
Re: its not working...?!
|
#6 |
Guest
Posts: n/a
|
Thank you
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculated Values in scalar field | arkangel | OpenFOAM Running, Solving & CFD | 0 | June 28, 2007 08:53 |
UDS for positive scalar | Jun | FLUENT | 3 | August 26, 2003 18:26 |
CO Scalar Values | Ted | Siemens | 0 | February 4, 2003 21:48 |
NEAGTIVE SCALAR VALUES | Mario | Siemens | 1 | November 18, 2002 03:01 |
How to enforce positive values | Ning | Main CFD Forum | 10 | August 20, 2000 01:10 |