CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] funkySetFieldsDict problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 8, 2017, 19:55
Default funkySetFieldsDict problem
  #1
New Member
 
Join Date: Feb 2017
Posts: 3
Rep Power: 2
cyzhang is on a distinguished road
I tried to use following expressions, but got 'Floating point exception'.

"x=pos().x;" // x = 0 - 60
"y=x>30.?log(x-29.):1.;"

Is it a bug for the funkySetFields?
cyzhang is offline   Reply With Quote

Old   March 8, 2017, 20:23
Default
  #2
New Member
 
Join Date: Feb 2017
Posts: 3
Rep Power: 2
cyzhang is on a distinguished road
Quote:
Originally Posted by cyzhang View Post
I tried to use following expressions, but got 'Floating point exception'.

"x=pos().x;" // x = 0 - 60
"y=x>30.?log(x-29.):1.;"

Is it a bug for the funkySetFields?
I have known the problem.
cyzhang is offline   Reply With Quote

Reply

Tags
funkysetfieldsdict

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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 13:18.