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

[swak4Foam] problem with funkySetFields

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 6, 2011, 00:11
Default problem with funkySetFields
  #1
Member
 
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 14
lg88 is on a distinguished road
hi everyone
I need to set an initial field.but when i run the funkysetFields, i met the problem:

Create mesh for time = 0

Time = 0
Using funkySetFieldsDict

Part: a1
Putting "0" into field alpha1 at t = "0" if condition "sqrt(sqr(pos().x-4*(10,-2))+sqr(pos().y-16*(10,-3))+(sqr(pos().z-5*(10,-3))) <= 0.005" is true



--> FOAM FATAL ERROR:
Parser Error at "1.23" :"syntax error, unexpected ','"
"sqrt(sqr(pos().x-4*(10,-2))+sqr(pos().y-16*(10,-3))+(sqr(pos().z-5*(10,-3))) <= 0.005"
" ^ "

From function parsingValue
in file lnInclude/CommonValueExpressionDriverI.H at line 718.


I don't kown how to deal with it?
Thank you for your help


Best regards.

lg88
lg88 is offline   Reply With Quote

 

Tags
funkysetfields


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 Off
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 09:42.