CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   word::stripInvalid() called for word r (http://www.cfd-online.com/Forums/openfoam-programming-development/110122-word-stripinvalid-called-word-r.html)

 immortality December 4, 2012 07:16

word::stripInvalid() called for word r

whats the cause of this error?
Starting time loop

Mean and max Courant Numbers = 0.106808 0.225305
deltaT = 1.11111e-07
Time = 1.11111e-07

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0
swak4Foam: Allocating new repository for sampledGlobalVariables
smoothSolver: Solving for Ux, Initial residual = 0.00493778, Final residual = 1.54499e-17, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 9.94124e-17, No Iterations 3
diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
word::stripInvalid() called for word r
For debug level (= 2) > 1 this is considered fatal
Aborted

 joenick December 18, 2012 09:49

Hello,
a Foam::word may not contain spaces and a few other characters.
Use a debugger or add several printf statements to your solver to find the location which causes the error and make sure to use only valid characters.

 gschaider December 26, 2012 05:26

Quote:
 Originally Posted by immortality (Post 395669) whats the cause of this error? Starting time loop Mean and max Courant Numbers = 0.106808 0.225305 deltaT = 1.11111e-07 Time = 1.11111e-07 diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0 diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0 swak4Foam: Allocating new repository for sampledGlobalVariables smoothSolver: Solving for Ux, Initial residual = 0.00493778, Final residual = 1.54499e-17, No Iterations 3 smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 9.94124e-17, No Iterations 3 diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0 word::stripInvalid() called for word r For debug level (= 2) > 1 this is considered fatal Aborted
You're using groovyBC, tight? Older versions had the problem that if there is a space on the left side of the '=' in a variable definition that this error was thrown.

 All times are GMT -4. The time now is 03:10.