CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

word::stripInvalid() called for word r

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By joenick

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2012, 07:16
Default word::stripInvalid() called for word r
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
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
immortality is offline   Reply With Quote

Old   December 18, 2012, 09:49
Default
  #2
New Member
 
Joe Nick
Join Date: Dec 2012
Posts: 3
Rep Power: 13
joenick is on a distinguished road
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.
Kummi likes this.
joenick is offline   Reply With Quote

Old   December 26, 2012, 05:26
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
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.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


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
How is the turbulence model called in openfoam? hz283 OpenFOAM 3 May 4, 2017 22:20
word::stripInvalid() called for word r error immortality OpenFOAM Running, Solving & CFD 4 May 12, 2013 07:03
whats the error? word::stripInvalid() called for word r immortality OpenFOAM Running, Solving & CFD 0 December 3, 2012 18:55
understanding how turbulence models are called romant OpenFOAM Programming & Development 0 March 21, 2012 10:22
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 06:49


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