CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

field function in STAR-CCM+

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 9, 2008, 11:22
Default field function in STAR-CCM+
  #1
stu
Guest
 
Posts: n/a
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.

  Reply With Quote

Old   May 9, 2008, 12:11
Default Re: field function in STAR-CCM+: fixed
  #2
stu
Guest
 
Posts: n/a
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
  Reply With Quote

Reply

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
Field Function in Star-CCM+ mk_mat CD-adapco 0 June 24, 2008 17:51
field function Mac CD-adapco 1 October 17, 2007 23:27
custom field function Meenu FLUENT 1 November 30, 2006 20:23
Custom field function Rashad FLUENT 0 October 10, 2006 07:56
custom field function greg FLUENT 2 May 23, 2006 11:42


All times are GMT -4. The time now is 22:54.