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

WordstripInvalid in twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 1, 2006, 19:13
Default Running twoPhaseEulerFoam reco
  #1
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Running twoPhaseEulerFoam recompiled with OpenFOAM 1.3 on a case which worked with 1.2, I get this error during the first time-step:

time step continuity errors : sum local = 2.39746e-15, global = 1.06432e-19, cumulative = 9.80563e-18
word::stripInvalid() called for string div(phi,Theta)
Abortito

What does it mean?

Thanks,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 1, 2006, 19:25
Default Sorry, I solved. There is a s
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Sorry, I solved.
There is a space in kineticTheory.C, between phi and Theta:

word scheme("div(phi, Theta)");

I replaced with:

word scheme("div(phi, Theta)");

and it works.

A.P.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   April 3, 2006, 09:02
Default stripInvalid is where it detec
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
stripInvalid is where it detects an invalid character in a word/string. It was switched off since it was found to take up non-insignificant amounts of time in OF 1.2. In 1.3 it prints an error message instead so one can fix the problem.

Please report any occurrences&fixes.

If you're desperate to run with your incorrect code there is a debug switch for string in the OpenFOAM-1.3/controlDict you can set to 0 to switch the checking off (but please report any occurrences otherwise they'll never get fixed)
mattijs is offline   Reply With Quote

Old   June 11, 2006, 04:42
Default Hi Mattijs, I have a proble
  #4
newbee
Guest
 
Posts: n/a
Hi Mattijs,

I have a problem that seems to bee simular to the one obove.

I have modified simple foam to do heat flux calculations with an application that works in v1.2 but gives the following error message in v1.3:

erik@compadre:~/OpenFOAM/erik-1.3/run/tutorials/fluxFoam$ paraFoam . PD112
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

fileName::stripInvalid() called for string T(kopia)~
/home/erik/OpenFOAM/OpenFOAM-1.3/bin/paraFoam: line 57: 8579 Aborted paraview paraFoam.pvs

I see in buoyantFoam that there is a T.org file (in 0 dictionary) needed but I have done my code without. I wonder if my problem could be related to what is mentioned above or with the excluded T.org file.

Many thanks
/Erik
  Reply With Quote

Old   October 26, 2009, 12:55
Default Another fileName::stripInvalid() error
  #5
New Member
 
Coen Wit
Join Date: Jul 2009
Posts: 5
Rep Power: 17
CoenW is on a distinguished road
sorry to kick this old post, but since you asked to post these errors this seems like the most relevant location.

I'm trying to get FOAM to run some simple testcases by scripting them in bash. I'm using the $FOAM_RUN directory environment variable and I think that plays a role in why it fails.

The output I get is:
Code:
Exec   : blockMesh -case /usr/scratch/cwit/OpenFOAM/cwit-1.5-dev/run/091026Try2/Cyl100Lo
Date   : Oct 26 2009
Time   : 17:47:19
Host   : node02
PID    : 26980
fileName::stripInvalid() called for invalid fileName /usr/scratch/cwit/OpenFOAM/cwit-1.5-dev/run/091026Try2/Cyl100Lo
    For debug level (= 2) > 1 this is considered fatal
runAll.bash: line 3: 26980 Aborted                 blockMesh -case "$FOAM_RUN/091026Try2/Cyl100Lo"
When running the exact same line blockMesh -case "$FOAM_RUN/091026Try2/Cyl100Lo" from the shell blockMesh just starts and doesn't complain:
Code:
Exec   : blockMesh -case /usr/scratch/cwit/OpenFOAM/cwit-1.5-dev/run/091026Try2/Cyl100Lo
Date   : Oct 26 2009
Time   : 17:45:58
Host   : node02
PID    : 26631
Case   : /usr/scratch/cwit/OpenFOAM/cwit-1.5-dev/run/091026Try2/Cyl100Lo
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time


Reading block mesh description dictionary
Any idea why this occurs? I'll try and find the debug switch to turn this message off.
CoenW is offline   Reply With Quote

Old   August 10, 2010, 15:16
Default stripInvalid( ) error to solve Lid-driven cavity flow
  #6
New Member
 
Carlos Alberto Flórez Arias
Join Date: Aug 2010
Posts: 8
Rep Power: 16
carlosfloar is on a distinguished road
hi, I try to do the first tutorial named lid-driven cavity flow, but when I try to run blockmesh a error message appears. I'm new user of openFOAM and I don't know what to do, please somebody know what happen??

the error is:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.0-113391ee57bd
Exec : blockMesh
Date : Aug 10 2010
Time : 12:35:12
Host : carlos-laptop
PID : 3220
Case : /home/carlos
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

fileName::stripInvalid() called for invalid fileName UbuntuOne
For debug level (= 2) > 1 this is considered fatal
Cancelado


please help me!!

Carlos
carlosfloar is offline   Reply With Quote

Old   December 20, 2011, 12:02
Default
  #7
Member
 
Aqua
Join Date: Oct 2011
Posts: 96
Rep Power: 15
aqua is on a distinguished road
Hi, did you solve the problem? i met the same one just now, and looking forward to an answer...
Thank you so much!
Quote:
Originally Posted by carlosfloar View Post
hi, I try to do the first tutorial named lid-driven cavity flow, but when I try to run blockmesh a error message appears. I'm new user of openFOAM and I don't know what to do, please somebody know what happen??

the error is:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.0-113391ee57bd
Exec : blockMesh
Date : Aug 10 2010
Time : 12:35:12
Host : carlos-laptop
PID : 3220
Case : /home/carlos
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

fileName::stripInvalid() called for invalid fileName UbuntuOne
For debug level (= 2) > 1 this is considered fatal
Cancelado


please help me!!

Carlos
aqua 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
TwoPhaseEulerFoam sara OpenFOAM Running, Solving & CFD 2 November 6, 2008 20:26
WordstripInvalid in snappyHexMesh nitsud OpenFOAM Bugs 3 August 6, 2008 23:30
Bug in twoPhaseEulerFoam alberto OpenFOAM Bugs 2 May 20, 2008 22:25
TwoPhaseEulerFoam Bug alondono OpenFOAM Bugs 1 February 19, 2008 21:01
TwoPhaseEulerFoam newbee OpenFOAM 0 March 27, 2006 09:41


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