CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   FOAM Warning on a submarine with simpleFoam (https://www.cfd-online.com/Forums/openfoam-solving/96265-foam-warning-submarine-simplefoam.html)

 thibautsimon1 January 17, 2012 22:00

FOAM Warning on a submarine with simpleFoam

Hi everyone,
I'm new with OpenFoam and I done a bit of CFD with CFX before.
I doing a quite simple study about a submarine (without appendages) in OF 2.0.
I'm using simpleFoam to solve it and I adapt a case from OF 1.7 to my OF 2.0.
And when I simpleFoam it, I have the same FOAM Warning which arrive all the time:

--> FOAM Warning :
From function linearUpwind(const fvMesh&, const surfaceScalarField& faceFlux, Istream&)
in file interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H at line 152
Only the name of the gradient scheme in the 'gradSchemes' dictionary should be specified.

And here is my fvSchemes file:

ddtSchemes
{
}

{
default Gauss linear;
// upwind 1st order , linear = second
}

divSchemes
{
default none;
div(phi,U) Gauss linearUpwindV cellMDLimited Gauss linear 1;
div(phi,k) Gauss linearUpwind cellMDLimited Gauss linear 1;
div(phi,omega) Gauss linearUpwind cellMDLimited Gauss linear 1;
div(phi,epsilon) Gauss upwind;
}

laplacianSchemes
{
default Gauss linear corrected;

}

interpolationSchemes
{
default linear;
interpolate(U) linear;
}

{
default corrected;
}

fluxRequired
{
default no;
p;
}

If someone have an idea on my problem, I would appreciate if you could help me.

Regards,
\
Thibaut

 daveatstyacht January 24, 2012 21:43

Thibaut,
The style for linearUpwind has changed since 1.7. From the LTSInterFoam wigleyhull tutorial:

{
default Gauss linear;
}

divSchemes
{