CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   field function in STAR-CCM+ (https://www.cfd-online.com/Forums/siemens/56612-field-function-star-ccm.html)

stu May 9, 2008 10:22

field function in STAR-CCM+
 
Hi all,

I have solved a passive scalar as part of my calculations in ccm+, and from the solution I want to calculate another variable,using a field function, which is a power function of the passive scalar, i.e.

y=a*$PassiveScalar^b

But because my b coefficient contains a decimel point I get this error when I use a*pow($PassiveScalar,b).

Annotation: Server Error: floating point exception [Invalid operation] {In=[Machine::main], Command=SetProperties, Synchronized=true} Server Error: floating point exception [Invalid operation]

Is there a way around this? I would appreciate if any could help me on this.


stu May 9, 2008 11:11

Re: field function in STAR-CCM+: fixed
 
It seems that there is very very small negetive values of the PassiveScalar close to the domain boundaries, and once they were removed it worked fine.

Sorry for wasting ure time reading this post


All times are GMT -4. The time now is 09:02.