CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   WordstripInvalid in twoPhaseEulerFoam (http://www.cfd-online.com/Forums/openfoam-solving/60173-wordstripinvalid-twophaseeulerfoam.html)

alberto April 1, 2006 18:13

Running twoPhaseEulerFoam reco
 
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 April 1, 2006 18:25

Sorry, I solved. There is a s
 
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.

mattijs April 3, 2006 08:02

stripInvalid is where it detec
 
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)

newbee June 11, 2006 03:42

Hi Mattijs, I have a proble
 
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

CoenW October 26, 2009 12:55

Another fileName::stripInvalid() error
 
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.

carlosfloar August 10, 2010 14:16

stripInvalid( ) error to solve Lid-driven cavity flow
 
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?? :confused::confused::confused::confused:

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 December 20, 2011 12:02

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 (Post 271020)
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?? :confused::confused::confused::confused:

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



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