|
[Sponsors] |
January 17, 2012, 21:00 |
FOAM Warning on a submarine with simpleFoam
|
#1 |
New Member
Thibaut SIMON
Join Date: Jan 2012
Posts: 5
Rep Power: 14 |
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 Reading "/home/newuser/OpenFOAM/newuser-2.0.1/run/AlexCases/DeepSubA1/system/fvSchemes::divSchemes::div(phi,k)" at line 34 unexpected additional entries in stream. Only the name of the gradient scheme in the 'gradSchemes' dictionary should be specified. And here is my fvSchemes file: ddtSchemes { default steadyState; } gradSchemes { default Gauss linear; grad(p) Gauss linear; grad(U) 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; div((nuEff*dev(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; interpolate(U) linear; } snGradSchemes { default corrected; } fluxRequired { default no; p; } If someone have an idea on my problem, I would appreciate if you could help me. Regards, \ Thibaut |
|
January 24, 2012, 20:43 |
|
#2 |
Senior Member
Dave
Join Date: Jul 2010
Posts: 100
Rep Power: 15 |
Thibaut,
The style for linearUpwind has changed since 1.7. From the LTSInterFoam wigleyhull tutorial: gradSchemes { default Gauss linear; } divSchemes { div(rho*phi,U) Gauss linearUpwind grad(U); //other schemes here... } Note: you can then go on to specify the way grad(U) is calculated as you have done above in gradSchemes. Essentially "grad(U) cellMDLimited Gauss linear 1;" would be what you want in the gradScheme to replicate the use of MD cell limiting. Hope this helps, Dave |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |