CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

an error in new groovyBC

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

LinkBack Thread Tools Display Modes
Old   December 6, 2012, 12:17
Default an error in new groovyBC
Senior Member
immortality's Avatar
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 18
immortality is on a distinguished road
Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package ePsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
--> FOAM Warning :
From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 262
Reading "/home/ehsan/Desktop/thesis_Central/0/p::boundaryField::left" from line 30 to line 64
expected keyword 'uniform' or 'nonuniform', assuming deprecated Field format from Foam version 2.0.

I just compiled new groovyBC 0.2.1 and this error is shown,whats the cause?
wrong token type - expected Scalar, found on line 59 the string "((0<=time()&&time()<=(y_max-pos().y)/vel_r)||(time_1<=time()&&time()<=time_2)||(time_2< =time()&&time()<=(y_max-pos().y)/vel_r+time_2)||(time_3<=time()&&time()<=time_final ))?0:1"

file: /home/ehsan/Desktop/thesis_Central/0/p::boundaryField::left::valueFraction at line 59.

From function operator>>(Istream&, Scalar&)
in file lnInclude/Scalar.C at line 91.

FOAM exiting
immortality is offline   Reply With Quote


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
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 164 January 13, 2015 03:52
Boundary Conditions with GroovyBC, Normal Gradient treima OpenFOAM Running, Solving & CFD 29 September 18, 2014 10:56
Boundary condition with a non-uniform gradient - groovyBC? STiss OpenFOAM Programming & Development 3 October 11, 2013 02:04
GroovyBC for 2D wave flume! Hisham OpenFOAM Running, Solving & CFD 13 January 20, 2012 06:04
groovyBC and Eqn.setReference() benk OpenFOAM 3 June 2, 2011 08:49

All times are GMT -4. The time now is 16:08.