CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   the problem of the application(icoFoam) (https://www.cfd-online.com/Forums/openfoam-solving/160950-problem-application-icofoam.html)

touff00 October 16, 2015 00:35

the problem of the application(icoFoam)
 
dear foamers

hello, this is yong from Korea. i have researching for the project in out lab.
Do you mind if i show my problem in OpenFOAM?

Time = 1
Courant Number mean: 0.623268 max: 1285.63
smoothSolver: Solving for Ux, Initial residual = 0.466629, Final residual = 3.79711e+272, No Iterations 1000
smoothSolver: Solving for Uy, Initial residual = 0.470126, Final residual = 1.67436e+272, No Iterations 1000
smoothSolver: Solving for Uz, Initial residual = 0.0704463, Final residual = 2.15532e+270, No Iterations 1000
DICPCG: Solving for p, Initial residual = 1, Final residual = nan, No Iterations 1001
time step continuity errors : sum local = nan, global = nan, cumulative = nan
DICPCG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 1001
--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'
file: C:/OpenFOAM/cygwin64/home/experiment9/system/data.solverPerformance.p at line 0.
From function operator>>(Istream&, Scalar&)
in file lnInclude/Scalar.C at line 93.
FOAM exiting

this is the message in Cygwin terminal. i couldn't find how to solve this problem. here is p file as below, for reference.

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 1;
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
walls
{
type zeroGradient;
}
}
// ************************************************** *********************** //

please help me to reinforce in my project.

thanks.

nimasam October 18, 2015 06:12

numerical computation is diverged, look the result:
Quote:

Courant Number mean: 0.623268 max: 1285.63
you may want to reduce time step or change problem's BCs


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