|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Thibaut SIMON
Join Date: Jan 2012
Posts: 5
Rep Power: 3 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Dave Gross
Join Date: Jul 2010
Posts: 94
Rep Power: 4 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 12 | December 12, 2011 04:16 |
| BlockMesh FOAM warning | gaottino | OpenFOAM Native Meshers: blockMesh | 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 | 120 | December 2, 2009 10:23 |
| Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Native Meshers: blockMesh | 10 | April 2, 2007 14:00 |