CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   negative scalars ! (https://www.cfd-online.com/Forums/siemens/52560-negative-scalars.html)

Ossi Kaario March 2, 2001 13:49

negative scalars !
 
Hi,

I observe very often in transient engine runs that I have negative scalar values for the injected fuel, CO2, and H2O ! This, of course, does not stabilize the runs...

I use the switch 78 to eliminate them but I think it does not help.

Any comments or suggestions ?


allan March 5, 2001 07:45

Re: negative scalars !
 
are you using mars or ud to solve the scalers? I've had problems with scalers > 1 using mars, ud appeared to clear it. Also what are your inlet boundary conditions? If they are fixed mass try fixed velocity.

stefan March 5, 2001 09:09

Re: negative scalars !
 
Try using constant 64: 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.)

Ossi Kaario March 8, 2001 14:36

Re: negative scalars !
 
Thanks for your suggestions.

I do not have an inlet or outlet. To change from MARS to UD is maybe not so good because then you also decrease the accuracy of your solution.

Stefan, do you mean that the rcon 64 2 clips active scalars that are transported ? I.e. scalars defined as 'off' are not clipped ?

Regards,

Ossi

stefan March 9, 2001 01:14

Re: negative scalars !
 
I had a passive scalar and it was not clipped. I switched to active, and then it worked.

Ossi Kaario March 13, 2001 13:51

Re: negative scalars !
 
I currently use the rcon 64 2 but it still give me warnings all the time in the *.info file that some of the scalars have values less than zero !?? (WARNING #009 ***THE VALUE OF SCALAR SC4 IN CELL 30609 ( -3.2635E-05) IS BELOW THE MINIMUM ( 0.0000E+00) )

I wonder why is it not working ?

Regards,

Ossi

Ossi Kaario March 13, 2001 14:33

Re: negative scalars !
 
I just figured out that it might be that only the Transported scalars are limited between zero and one. The scalar I mentioned in the earlier mail was Active but not Transported (it was Internal).

Consequently, I wonder how could I limit the Internal scalars (which are Active) ?

Regards,

Ossi

stefan March 14, 2001 01:26

Re: negative scalars !
 
Sorry, I don't know. You should call the CD hotline.


All times are GMT -4. The time now is 17:59.