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/)
-   -   Nozzle: Error (https://www.cfd-online.com/Forums/openfoam-solving/98217-nozzle-error.html)

Technoyoungman March 6, 2012 06:04

Nozzle: Error
 
1 Attachment(s)
Dear Foamers,
I'm running 2D planar nozzle. Here is the files http://www.mediafire.com/?7a3j9j9jkmhc91l.

And I got this error message.
Quote:

Mean and max Courant Numbers = 0.000410443 0.00943641
deltaT = 1.19976e-05
Time = 1.19976e-05

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
smoothSolver: Solving for Ux, Initial residual = 1.46172e-09, Final residual = 3.91925e-27, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.99998, Final residual = 1.69748e-17, No Iterations 2
diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0


--> FOAM FATAL IO ERROR:
keyword e is undefined in dictionary "/home/minthaw/OpenFOAM/minthaw-1.6-ext/run/thesis/Nozzle/nozzle1/system/fvSolution::solvers"

file: /home/minthaw/OpenFOAM/minthaw-1.6-ext/run/thesis/Nozzle/nozzle1/system/fvSolution::solvers from line 22 to line 49.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 457.
Could you give me some suggestion? I can't find which error!!! :(. If someone knows appropriate BC, guide me please!!!
Solver is rhoCentralFoam. Version: 1.6-ext

BC for p
Quote:

boundaryField
{
empty
{
type empty;
}
inlet
{
type fixedValue;
value uniform 296900;
}
wall
{
type zeroGradient;
}
free
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
velocity
{
type fixedValue;
value uniform 101300;
}
}
BC for U
Quote:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
empty
{
type empty;
}
inlet
{
type fixedValue;
value uniform (265 0 0);
}
wall
{
type fixedValue;
value uniform (0 0 0);
}
free
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
velocity
{
type fixedValue;
value uniform (0 0 0);
}
}
BC for T

Quote:

dimensions [0 0 0 1 0 0 0];

internalField uniform 288;

boundaryField
{
empty
{
type empty;
}
inlet
{
type fixedValue;
value uniform 1036;
}
wall
{
type zeroGradient;
}
free
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
velocity
{
type fixedValue;
value uniform 288;

Chris Lucas March 7, 2012 03:30

Hi

the solver wants to solve the field "e" (not sure if rhoCentralFoam normally does this) and you haven't defined a linear solver for this field.

Best Regards,
Christian

Technoyoungman March 12, 2012 10:32

Quote:

Originally Posted by Chris Lucas (Post 348062)
Hi

the solver wants to solve the field "e" (not sure if rhoCentralFoam normally does this) and you haven't defined a linear solver for this field.

Best Regards,
Christian

It is not like that. I set the value for mu in thermophysical properties. Only "0" is accepted for rhoCentralFoam. I don't know the reason so far....


All times are GMT -4. The time now is 07:57.