linearUpwind scheme in OpenFOAM 2.0.1 ???
Hello FOAMers,
i just wanted to set up a new simulation an user the following schemes: Quote:
Quote:
Greeting,s André |
Does nobody have the same Problem?
|
Hello there,
i played around with the fvSchemes for a while and ended up with the following settings, that are working for me. Quote:
as mentioned before, the calculation is running fine and the results look good too. Greetings, André |
In OF-2 I use linearUpwind(V) in this way:
div(phi,U) Gauss linearUpwindV grad(U); dib(phi,k) Gauss linearUpwind grad(k); and so on. Cheers |
Hello,
could someome tell me what the meaning of this grad(U) in the div(phi,U) discretization is? Thanks rupert |
Quote:
gradSchemes { blahblahblah Gauss linear; } divSchemes { div(phi,U) Gauss linearUpwindV blahblahblah; } should work just fine. In all cases things like "div(phi,U)" and "grad(U)" are just identifiers, thy have no special structure or significance outside this. |
Thanks for the answer eugene.
now arise two questions: 1.so it should be the same as the gradient in the implicit field in the div-term? 2. what happens then if i dont specify this: just like div(phi,U) Gauss linear? thanks a lot |
1. As far as I know there is no fixed rule about the nature of the gradient portion of a LUD scheme. Its not like pressure and velocity flux interpolation that has to be consistent.
2. If you don't specify anything at all, the code should crash (or maybe not, I haven't checked). If you specify something with no match in the gradScemes section, it should use the "default" gradScheme entry without complaint. If no default entry is present, it should exit with an error. |
thank you eugene
|
All times are GMT -4. The time now is 02:21. |