|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 ![]() |
Hi to all,I have a problem with an upwind div scheme
I set this scheme: divSchemes { div(rho*phi,U) Gauss linearUpwindV cellLimited Gauss linear 1; div(phi,alpha) Gauss vanLeer; div(phirb,alpha) Gauss interfaceCompression; } the simulation is good but in my log file there is the following warming message: --> FOAM Warning : From function linearUpwindV(const fvMesh&, const surfaceScalarField& faceFlux, Istream&) in file interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H at line 153 Reading "/home/giacomo/Scrivania/20x20x500UP/processor0/../system/fvSchemes::divSchemes::div(rho*phi,U)" at line 30 unexpected additional entries in stream. Only the name of the gradient scheme in the 'gradSchemes' dictionary should be specified. It have influence on simulation? Another question: I would discretize all U terms with an upwind scheme. So i would choose an upwind scheme for the term grad(U) but I obtain an error message and the simulation don't start...How I can set an upwind scheme also for grad(U) thank to all |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings giack,
This isn't my field of expertise, but the following line is clearly wrong: Code:
div(rho*phi,U) Gauss linearUpwindV cellLimited Gauss linear 1; Code:
div(rho*phi,U) Gauss linearUpwind grad(U); You can find more examples, by running: Code:
find $FOAM_TUTORIALS -name "fvSchemes" | xargs grep "grad(U);" Code:
gradSchemes { default Gauss linear; grad(U) cellLimited Gauss linear 1; } Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 ![]() |
thank you for your relpy.
I already tried your last advice but I have another error and simulation don't start. This is a very strange case. Moreover I find that with the istruction div(rho*phi,U) Gauss linearUpwindV cellLimited Gauss linear 1; OF neglect the command and choose the default value for gradScheme required in the div term. So i use the following line: div(rho*phi,U) Gauss linearUpwindV default; I think that there aren't a lot of differences beetwen two gradSchene,it's true? |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
|
Quote:
Are you able to solve your problem? Try the scheme limitedLinear and do let us know about the results. ![]() |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Mar 2013
Posts: 98
Rep Power: 13 ![]() |
Hi,
at this time I'm simulating two case: one with limetedLinearV 1 and the other with linearUpwindV Gauss linear. Simulations are not over yet but when they end I post my results. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to determine face velocity for upwind scheme? | quarkz | Main CFD Forum | 13 | September 6, 2012 05:28 |
Accuracy problem of HO schemes on unstructured mesh, HO scheme gives 1st order result | gemini | Main CFD Forum | 12 | December 27, 2011 21:01 |
Use of upwind scheme for interpolation of u/v | quarkz | Main CFD Forum | 6 | August 30, 2011 04:10 |
Second order upwind is not UPwind!!! | Far | CFX | 9 | May 31, 2011 08:21 |
problem about numerical scheme in LES. | libin | Main CFD Forum | 4 | July 1, 2004 04:32 |